blender/release
Bastien Montagne a80c1e50bc Fix T44822: python enums' itemf callback did not handle 'NULL' context case.
Enum's itemf callback can be called without context in some cases (UI, doc generation...).
Python's enum properties did not handle this at all - it's kind of odd this did not cause
more trouble and wasn't notice earlier... Probably dynamic enums using context are not
much used in py code.

Note about nodes: those are heavy users of dynamic enum with context. Now,
we expect `NodeCategory.poll()` and `NodeItem.poll()` to always be called with
a valid context (since when there is no context available, we can assume `poll()`
is always True). `NodeCategory.items()`, however, must accept NULL context, so if
you use custom `items` callable for your custom node categories, you may need
to update it (as was done here for builtin `node_group_items()`).
2015-05-25 14:24:49 +02:00
..
bin Code cleanup: style/warnings 2014-02-28 11:04:15 +11:00
darwin Revert "OSX/cpack: add a dummy bg and ds_store for dmg" 2014-11-18 11:40:16 +01:00
datafiles Fix T44586: Viet language problem for Blender Interface 2015-05-02 17:02:08 +02:00
freedesktop patch to our desktop file from debian, German translation. 2012-04-16 09:56:12 +00:00
scripts Fix T44822: python enums' itemf callback did not handle 'NULL' context case. 2015-05-25 14:24:49 +02:00
text Readme: tweaks to make it less hassle to edit 2015-03-13 00:34:27 +11:00
windows Fix T27642: Add version in .exe installer properties 2015-05-07 10:31:21 +02:00
environment-macosx
environment-mswindows set svn end of lines to native 2011-05-09 08:15:38 +00:00
environment-unix