File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -3121,7 +3121,6 @@ def handle_event(self, evt): ## events and scene info updates
31213121 self .mouse .setpick ( evt )
31223122 self ._waitfor = True # what pick is looking for
31233123 elif ev == '_compound' : # compound, text, extrusion
3124- print ('compound event return' )
31253124 obj = self ._compound
31263125 p = evt ['pos' ]
31273126 if obj ._objName == 'text' :
@@ -3132,6 +3131,7 @@ def handle_event(self, evt): ## events and scene info updates
31323131 # Set attribute_vector.value, which avoids nullifying the
31333132 # on_change functions that detect changes in e.g. obj.pos.y
31343133 obj ._pos .value = list_to_vec (p )
3134+ obj ._origin = obj ._pos
31353135 s = evt ['size' ]
31363136 obj ._size .value = obj ._size0 = list_to_vec (s )
31373137 obj ._axis .value = obj ._size ._x * norm (obj ._axis )
You can’t perform that action at this time.
0 commit comments