Page MenuHome

Fix Edit Voxel Size label rotation and scale in rotated objects
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Thu, Jun 18, 6:25 PM.

Details

Summary

Previously, the text rotation was always calculated in object space, so
the text rotation always had the object rotation applied. Now the
rotation is calculated in world space, so it always aligns correctly to
the view. Same applies to text scale not taking into account the object
position.

Diff Detail

Repository
rB Blender

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.Thu, Jun 18, 6:25 PM
Pablo Dobarro (pablodp606) created this revision.

Does this work correct if the object has negative scale on one of the axis (which happens when you mirror in object mode) ?

I've just tested it and it seems to work fine. It already has code that handles the text orientation in screen space.

Allright then :)

This revision is now accepted and ready to land.Mon, Jun 22, 11:44 AM