diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-23 23:36:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-23 23:36:47 +0300 |
commit | c86579b11e6fe140f07029469e3644d7dbe0640e (patch) | |
tree | d27544e7f183f016be96c0c7d391ec9823b8c391 /source/blender/python/intern | |
parent | 4531e8e6a731af71936d09bb79a15297685ff0dc (diff) |
2.5: multiple small fixes
- wm draw method is now initialized correct when reading older
files, but the SDNA bug causing the problem is still unsolved.
is due to // char pad[8]; not being recognized as commented.
- triple buffer proxy texture test follows spec better now,
was disabling triple buffer unnecessarily on some drivers.
- some cmake compile fixes related to sequencer pthread usage
and removed bad level calls lib for player.
- show outliner header buttons in oops mode as well until that
can be switched in the UI.
- fix region data free issue for tooltips
- warning fixes
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 7ad40d3dcd3..5ecab0ddbb5 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -455,7 +455,7 @@ static PyObject *pyrna_prop_subscript( BPy_PropertyRNA * self, PyObject *key ) { PyObject *ret; PointerRNA newptr; - int keynum; + int keynum = 0; char *keyname = NULL; if (PyUnicode_Check(key)) { @@ -505,7 +505,7 @@ static PyObject *pyrna_prop_subscript( BPy_PropertyRNA * self, PyObject *key ) static int pyrna_prop_assign_subscript( BPy_PropertyRNA * self, PyObject *key, PyObject *value ) { int ret = 0; - int keynum; + int keynum = 0; char *keyname = NULL; if (!RNA_property_editable(&self->ptr, self->prop)) { |