Blender Git Loki
Git Commits  -> Revision b76471c
		
			
			
		
| Revision b76471c by Sybren A. Stüvel (master) March 14, 2018, 10:31 (GMT) | 
| Fix T54286: bpy.props operator example misses property access The old example had two downsides: - It promoted a blocking UI design, where the user is shown a popup before actually executing the operator. - It didn't show how to actually use the property values. The new code avoids these mistakes. The properties are also shown in the redo panel in the 3D view. Note that I also changed the bl_idname, as this is an example about properties, not about dialogue boxes, and changed the class name to use the standard operator naming convention. I also extended the example to include a panel that sets multiple properties of the operator, since I see questions about this relatively frequently. | 
Commit Details:
Full Hash: b76471c1f9f42fda7187194e857b01549c0131d5
Parent Commit: 8803c5c
Lines Changed:  +39,  -13
1 Modified Path:
/doc/python_api/examples/bpy.props.1.py (+39, -13) (Diff)


 Master Commits
 Master Commits MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021