Blender Git Commit Log

Git Commits -> Revision 47ca7a5

Revision 47ca7a5 by Campbell Barton (master)
December 4, 2010, 06:25 (GMT)
disallow setting RNA attributes while drawing, this is bad practice so enforcing here has the benifit of making sure people are not manipulating blender scene data in a drawing panel for eg.

This is ifdef'd and may be disabled later on, or only enabled in debug mode.

This applies to setting any RNA value that has an ID and is not a screen or window-manager datablock.

Some addons break this rule and need fixing but from my tests blender UI scripts are ok.

Commit Details:

Full Hash: 47ca7a5f393036e774581b7ac709bd1e4b538ca5
SVN Revision: 33462
Parent Commit: 627e56b
Lines Changed: +80, -3

1 Modified Path:

/source/blender/python/intern/bpy_rna.c (+80, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021