remove some more pynode references in the code
authorCampbell Barton <ideasman42@gmail.com>
Tue, 29 May 2012 09:42:11 +0000 (09:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 29 May 2012 09:42:11 +0000 (09:42 +0000)
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/text.c
source/blender/editors/space_node/space_node.c
source/creator/creator.c

index f457cf9b9c25859689c74733ff70aed47dcd58e7..02d0ef5ea6a73ad8302a09abc868588d5940786d 100644 (file)
  *  \ingroup bke
  */
 
-
-#if 0 /* pynodes commented for now */
-#  ifdef WITH_PYTHON
-#    include <Python.h>
-#  endif
-#endif
-
 #include "MEM_guardedalloc.h"
 
 #include <stdlib.h>
index eefdb31c001f50e2b3b276d9218d7add250ab4a5..7de5f97588b093cba2926056c196b7fff388b978 100644 (file)
@@ -570,9 +570,6 @@ void BKE_text_unlink(Main *bmain, Text *text)
                if (update)
                        DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
        }
-
-       /* pynodes */
-       // XXX nodeDynamicUnlinkText(&text->id);
        
        /* text space */
        for (scr = bmain->screen.first; scr; scr = scr->id.next) {
index 4d5964c72e545d3b25a97544e9da648cc5c459d9..520a9f1cd226079d78a75b129ec8dd5181a9d8fd 100644 (file)
@@ -226,11 +226,6 @@ static void node_area_listener(ScrArea *sa, wmNotifier *wmn)
                                        ED_area_tag_refresh(sa);
                        }
                        break;
-               case NC_TEXT:
-                       /* pynodes */
-                       if (wmn->data==ND_SHADING)
-                               ED_area_tag_refresh(sa);
-                       break;
                case NC_SPACE:
                        if (wmn->data==ND_SPACE_NODE)
                                ED_area_tag_refresh(sa);
index a21497b82fa0ed5fd25ef22dcc942ace5dfebc58..320cb31b7092d4d5c6965ccf4d617554d4458430 100644 (file)
@@ -1107,7 +1107,7 @@ static void setupArguments(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle)
 #endif
 
        BLI_argsAdd(ba, 1, "-y", "--enable-autoexec", "\n\tEnable automatic python script execution" PY_ENABLE_AUTO, enable_python, NULL);
-       BLI_argsAdd(ba, 1, "-Y", "--disable-autoexec", "\n\tDisable automatic python script execution (pydrivers, pyconstraints, pynodes)" PY_DISABLE_AUTO, disable_python, NULL);
+       BLI_argsAdd(ba, 1, "-Y", "--disable-autoexec", "\n\tDisable automatic python script execution (pydrivers & startup scripts)" PY_DISABLE_AUTO, disable_python, NULL);
 
 #undef PY_ENABLE_AUTO
 #undef PY_DISABLE_AUTO