fix [#31661] Custom properties do no respect min/max values
[blender.git] / source / blender / render / intern / source / external_engine.c
index 9647b100d2dd69e41ba76b55a10ffebceea5ba3d..94146467145c61e10b5b0a46023cc659c50483b8 100644 (file)
@@ -138,7 +138,7 @@ void RE_engine_free(RenderEngine *engine)
 {
 #ifdef WITH_PYTHON
        if (engine->py_instance) {
-               BPY_RNA_DECREF_INVALIDATE(engine->py_instance);
+               BPY_DECREF_RNA_INVALIDATE(engine->py_instance);
        }
 #endif