rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / release / scripts / ui / space_text.py
index 163fa07e1d6096e161040880318303d701a38687..58f12ba51e40eec1f57dd9de2e0769e2864a9623 100644 (file)
@@ -174,7 +174,7 @@ class TEXT_MT_text(bpy.types.Menu):
             layout.column()
             layout.operator("text.run_script")
 
-            #ifndef DISABLE_PYTHON
+            #ifdef WITH_PYTHON
             # XXX if(BPY_is_pyconstraint(text))
             # XXX   uiMenuItemO(head, 0, "text.refresh_pyconstraints");
             #endif