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
3121
3121
self .mouse .setpick ( evt )
3122
3122
self ._waitfor = True # what pick is looking for
3123
3123
elif ev == '_compound' : # compound, text, extrusion
3124
- print ('compound event return' )
3125
3124
obj = self ._compound
3126
3125
p = evt ['pos' ]
3127
3126
if obj ._objName == 'text' :
@@ -3132,6 +3131,7 @@ def handle_event(self, evt): ## events and scene info updates
3132
3131
# Set attribute_vector.value, which avoids nullifying the
3133
3132
# on_change functions that detect changes in e.g. obj.pos.y
3134
3133
obj ._pos .value = list_to_vec (p )
3134
+ obj ._origin = obj ._pos
3135
3135
s = evt ['size' ]
3136
3136
obj ._size .value = obj ._size0 = list_to_vec (s )
3137
3137
obj ._axis .value = obj ._size ._x * norm (obj ._axis )
You can’t perform that action at this time.
0 commit comments