- fixed a bug in Transform Tool when calculating the point reference

- working in Film Tool to add the reference for all adjustments
This commit is contained in:
Marius Stanciu
2021-02-14 01:33:21 +02:00
committed by Marius
parent a68dc429e3
commit 9962469663
6 changed files with 91 additions and 75 deletions

View File

@@ -160,7 +160,7 @@ class ToolTransform(AppTool):
self.app.inform.emit('[ERROR_NOTCL] %s' % _("No object is selected."))
return "fail"
elif ref_val == 2: # "Point" reference
point_val = self.uipoint_entry.get_value()
point_val = self.ui.point_entry.get_value()
try:
px, py = eval('{}'.format(point_val))
return px, py