- made sure that the Offset fields in the Properties Tab are updated on object: move, origin change, transformations

This commit is contained in:
Marius Stanciu
2021-01-22 15:07:41 +02:00
committed by Marius
parent 92eee438a2
commit 5b0ec590f3
7 changed files with 105 additions and 11 deletions

View File

@@ -189,6 +189,12 @@ class ToolMove(AppTool):
sel_obj.options['xmax'] = c
sel_obj.options['ymax'] = d
try:
sel_obj.set_offset_values()
except AttributeError:
# not all objects have this method
pass
# update the source_file with the new positions
for sel_obj in obj_list:
out_name = sel_obj.options["name"]