Prototype objects for operations and the ability to create them through the regular proxy instantiation.

This commit is contained in:
Markus Lampert
2018-09-02 00:32:22 -07:00
parent 070d17e4e4
commit ee49b9874d
6 changed files with 141 additions and 8 deletions
+3 -2
View File
@@ -162,8 +162,9 @@ class ObjectOp(object):
self.initOperation(obj)
if self.setDefaultValues(obj):
obj.Proxy = self
if not hasattr(obj, 'DoNotSetDefaultValues') or not obj.DoNotSetDefaultValues:
if self.setDefaultValues(obj):
obj.Proxy = self
def setEditorModes(self, obj, features):
'''Editor modes are not preserved during document store/restore, set editor modes for all properties'''