operators were copying the properties from the rna operator into the class instance.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 19 Nov 2009 17:12:08 +0000 (17:12 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 19 Nov 2009 17:12:08 +0000 (17:12 +0000)
commite61c90e4162040f564e154da055995e2ed280fdf
tree70cfb3cde5608c03839acb460ddb6b53b57f39f9
parentac8ff25b2d6465e3ad2b79c359d74b4bab4985e4
operators were copying the properties from the rna operator into the class instance.
however this meant the invoke function could not modify properties for exec to use (unless it called exec directly after)
since the popup for eg would re-instance the python class each time.

now use the operator properties directly through rna without an automatic copy.

now an operator attribute is accessed like this...
self.path --> self.properties.path
19 files changed:
release/scripts/io/export_3ds.py
release/scripts/io/export_fbx.py
release/scripts/io/export_mdd.py
release/scripts/io/export_obj.py
release/scripts/io/export_ply.py
release/scripts/io/export_x3d.py
release/scripts/io/import_anim_bvh.py
release/scripts/io/import_scene_3ds.py
release/scripts/io/import_scene_obj.py
release/scripts/modules/rna_prop_ui.py
release/scripts/op/add_mesh_torus.py
release/scripts/op/uvcalc_smart_project.py
release/scripts/op/vertexpaint_dirt.py
release/scripts/op/wm.py
release/scripts/templates/operator.py
release/scripts/ui/space_console.py
release/scripts/ui/space_userpref.py
release/scripts/ui/space_view3d.py
source/blender/python/intern/bpy_operator_wrap.c