From 2abfcebb0eb7989e3d1e7d03f37ecf5c088210af Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 10 Oct 2020 18:19:55 +1100 Subject: Cleanup: use C comments for descriptive text Follow our code style guide by using C-comments for text descriptions. --- source/blender/editors/space_script/script_edit.c | 2 +- source/blender/editors/space_script/space_script.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/editors/space_script') diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c index 56f99d31cf1..bde7bdb77f1 100644 --- a/source/blender/editors/space_script/script_edit.c +++ b/source/blender/editors/space_script/script_edit.c @@ -39,7 +39,7 @@ #include "ED_screen.h" -#include "script_intern.h" // own include +#include "script_intern.h" /* own include */ #ifdef WITH_PYTHON # include "BPY_extern_run.h" diff --git a/source/blender/editors/space_script/space_script.c b/source/blender/editors/space_script/space_script.c index 3c3f7dc1e8e..3330ba14530 100644 --- a/source/blender/editors/space_script/space_script.c +++ b/source/blender/editors/space_script/space_script.c @@ -45,7 +45,7 @@ #endif #include "GPU_framebuffer.h" -#include "script_intern.h" // own include +#include "script_intern.h" /* own include */ // static script_run_python(char *funcname, ) @@ -85,8 +85,6 @@ static void script_free(SpaceLink *sl) #ifdef WITH_PYTHON /*free buttons references*/ if (sscript->but_refs) { - // XXX BPy_Set_DrawButtonsList(sscript->but_refs); - // BPy_Free_DrawButtonsList(); sscript->but_refs = NULL; } #endif @@ -164,9 +162,11 @@ static void script_main_region_listener(wmWindow *UNUSED(win), wmNotifier *UNUSED(wmn), const Scene *UNUSED(scene)) { - /* context changes */ - // XXX - Todo, need the ScriptSpace accessible to get the python script to run. - // BPY_run_script_space_listener() +/* context changes */ +/* XXX - Todo, need the ScriptSpace accessible to get the python script to run. */ +#if 0 + BPY_run_script_space_listener() +#endif } /* only called once, from space/spacetypes.c */ -- cgit v1.2.3