forked from bartvdbraak/blender
remove some more pynode references in the code
This commit is contained in:
parent
d8d3a6455f
commit
0c7fa76e59
@ -29,13 +29,6 @@
|
||||
* \ingroup bke
|
||||
*/
|
||||
|
||||
|
||||
#if 0 /* pynodes commented for now */
|
||||
# ifdef WITH_PYTHON
|
||||
# include <Python.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user