partial fix for [#23532]
authorCampbell Barton <ideasman42@gmail.com>
Tue, 23 Nov 2010 12:05:35 +0000 (12:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 23 Nov 2010 12:05:35 +0000 (12:05 +0000)
commitee1d2adc1685b4aea3a02155379bc02b9298acc9
tree53205d0a4b643b706b353290ff804fe043bded22
parent855b83caece3bf95443852ce5e73a8e759273a7d
partial fix for [#23532]
- Python calling operators didn't run WM_operator_properties_sanitize() so enum functions called from python were given a NULL context.
- PROP_ENUM_NO_CONTEXT and PROP_NEVER_NULL used the same value in the enum (possible conflict).
source/blender/makesrna/RNA_types.h
source/blender/python/intern/bpy_operator.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_operators.c
source/blenderplayer/bad_level_call_stubs/stubs.c