blender_addon_dynamic_slideshow icon indicating copy to clipboard operation
blender_addon_dynamic_slideshow copied to clipboard

Use the given context parameter, not bpy.context

Open hapit opened this issue 10 years ago • 0 comments

Note Rather than using bpy.context.scene, we use the context.scene argument passed to execute(). In most cases these will be the same however in some cases operators will be passed a custom context so script authors should prefer the context argument passed to operators. (from http://www.blender.org/api/blender_python_api_2_73a_release/info_tutorial_addon.html)

hapit avatar Feb 15 '15 20:02 hapit