Commit Graph

13 Commits

Author SHA1 Message Date
Campbell Barton
9454015289 style cleanup: remove '.' from docstring endings and use quotes for descriptions. 2012-07-01 07:55:44 +00:00
Campbell Barton
90d19ad883 py style change only - make property definitions consistent 2011-08-19 19:25:20 +00:00
Campbell Barton
22d2764d50 use static sets rather then tuples, python optimizes this case.
minor change to lightmap unpack collecting unique meshes.
2011-08-08 05:21:37 +00:00
Campbell Barton
9bd57cd302 update templates for registration changes 2011-02-12 08:04:32 +00:00
Campbell Barton
1f5cec709c update to background_job template to use --factory-startup option.
make all templates pep8 compliant.
2011-01-26 07:54:27 +00:00
Campbell Barton
1622385445 pedantic word ordering change.
- wm.add_modal_handler -> modal_handler_add
- wm.add_fileselect -> fileselect_add
- ob.add_shape_key -> shape_key_add
- VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove)

Also made 2 internal cmake vars hidden.
2010-12-08 11:42:11 +00:00
Campbell Barton
491aebbf67 py/rna access to setting the header text - can be used in modal operators.
eg: context.area.header_text_set("Some Text")
 included example in the view3d modal operator template.
2010-10-02 21:02:40 +00:00
Campbell Barton
111965478a replace self.properties.foo --> self.foo 2010-09-09 18:03:57 +00:00
Campbell Barton
ddbfb05c84 rna context rename
* context.main & bpy.types.Main --> context.blend_data & bpy.types.BlendData
* context.manager --> context.window_manager
2010-09-02 04:53:05 +00:00
Campbell Barton
a08648ab53 remove register/unregister from templates 2010-08-02 03:30:07 +00:00
Campbell Barton
aff6b6885f added imports to templates 2010-07-08 16:24:24 +00:00
Campbell Barton
b5afa606bc replace context.areas.spaces[0] with context.space_data 2010-05-23 05:34:45 +00:00
Campbell Barton
79a45e75d3 view3d modal operator template 2010-05-20 07:49:41 +00:00