Blender Git Loki
Git Commits -> Revision e61c90e
Revision e61c90e by Campbell Barton (master) November 19, 2009, 17:12 (GMT) |
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 |
Commit Details:
Full Hash: e61c90e4162040f564e154da055995e2ed280fdf
SVN Revision: 24685
Parent Commit: ac8ff25
Lines Changed: +230, -174
19 Modified Paths:
/release/scripts/io/export_3ds.py (+1, -1) (Diff)
/release/scripts/io/export_fbx.py (+23, -23) (Diff)
/release/scripts/io/export_mdd.py (+3, -3) (Diff)
/release/scripts/io/export_obj.py (+18, -18) (Diff)
/release/scripts/io/export_ply.py (+6, -6) (Diff)
/release/scripts/io/export_x3d.py (+1, -1) (Diff)
/release/scripts/io/import_anim_bvh.py (+1, -1) (Diff)
/release/scripts/io/import_scene_3ds.py (+1, -1) (Diff)
/release/scripts/io/import_scene_obj.py (+11, -11) (Diff)
/release/scripts/modules/rna_prop_ui.py (+119, -43) (Diff)
/release/scripts/op/add_mesh_torus.py (+4, -4) (Diff)
/release/scripts/op/uvcalc_smart_project.py (+1, -1) (Diff)
/release/scripts/op/vertexpaint_dirt.py (+2, -2) (Diff)
/release/scripts/op/wm.py (+31, -32) (Diff)
/release/scripts/templates/operator.py (+1, -1) (Diff)
/release/scripts/ui/space_console.py (+1, -1) (Diff)
/release/scripts/ui/space_userpref.py (+3, -3) (Diff)
/release/scripts/ui/space_view3d.py (+3, -3) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+0, -19) (Diff)
/release/scripts/io/export_fbx.py (+23, -23) (Diff)
/release/scripts/io/export_mdd.py (+3, -3) (Diff)
/release/scripts/io/export_obj.py (+18, -18) (Diff)
/release/scripts/io/export_ply.py (+6, -6) (Diff)
/release/scripts/io/export_x3d.py (+1, -1) (Diff)
/release/scripts/io/import_anim_bvh.py (+1, -1) (Diff)
/release/scripts/io/import_scene_3ds.py (+1, -1) (Diff)
/release/scripts/io/import_scene_obj.py (+11, -11) (Diff)
/release/scripts/modules/rna_prop_ui.py (+119, -43) (Diff)
/release/scripts/op/add_mesh_torus.py (+4, -4) (Diff)
/release/scripts/op/uvcalc_smart_project.py (+1, -1) (Diff)
/release/scripts/op/vertexpaint_dirt.py (+2, -2) (Diff)
/release/scripts/op/wm.py (+31, -32) (Diff)
/release/scripts/templates/operator.py (+1, -1) (Diff)
/release/scripts/ui/space_console.py (+1, -1) (Diff)
/release/scripts/ui/space_userpref.py (+3, -3) (Diff)
/release/scripts/ui/space_view3d.py (+3, -3) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+0, -19) (Diff)