rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Converter / KX_ConvertProperties.cpp
index 44c0ad38909d79aca3beaff5c1ec8c669a7f2c42..6c850008e5e3c9ac8030e845518b0014582009f4 100644 (file)
@@ -126,7 +126,7 @@ void BL_ConvertProperties(Object* object,KX_GameObject* gameobj,SCA_TimeEventMan
                        propval->Release();
                }
                
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
                /* Warn if we double up on attributes, this isnt quite right since it wont find inherited attributes however there arnt many */
                for(PyAttributeDef *attrdef = KX_GameObject::Attributes; attrdef->m_name; attrdef++) {
                        if(strcmp(prop->name, attrdef->m_name)==0) {
@@ -141,7 +141,7 @@ void BL_ConvertProperties(Object* object,KX_GameObject* gameobj,SCA_TimeEventMan
                        }
                }
                /* end warning check */
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
                prop = prop->next;
        }