forked from bartvdbraak/blender
Compile fix.
Variable was in wrong place, caused errors in msvc. Fix by Lguillaume in IRC.
This commit is contained in:
parent
712b67743b
commit
13c3bdbf8b
@ -3042,10 +3042,11 @@ static void bpy_class_free(void *pyob_ptr)
|
||||
void pyrna_alloc_types(void)
|
||||
{
|
||||
PyGILState_STATE gilstate;
|
||||
gilstate = PyGILState_Ensure();
|
||||
|
||||
PointerRNA ptr;
|
||||
PropertyRNA *prop;
|
||||
|
||||
gilstate = PyGILState_Ensure();
|
||||
|
||||
/* avoid doing this lookup for every getattr */
|
||||
RNA_blender_rna_pointer_create(&ptr);
|
||||
|
Loading…
Reference in New Issue
Block a user