Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_script/space_script.c
| Show All 29 Lines | |||||
| #endif | #endif | ||||
| #include "script_intern.h" /* own include */ | #include "script_intern.h" /* own include */ | ||||
| // static script_run_python(char *funcname, ) | // static script_run_python(char *funcname, ) | ||||
| /* ******************** default callbacks for script space ***************** */ | /* ******************** default callbacks for script space ***************** */ | ||||
| static SpaceLink *script_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) | static SpaceLink *script_create(const wmWindow *UNUSED(win), const ScrArea *UNUSED(area)) | ||||
| { | { | ||||
| ARegion *region; | ARegion *region; | ||||
| SpaceScript *sscript; | SpaceScript *sscript; | ||||
| sscript = MEM_callocN(sizeof(SpaceScript), "initscript"); | sscript = MEM_callocN(sizeof(SpaceScript), "initscript"); | ||||
| sscript->spacetype = SPACE_SCRIPT; | sscript->spacetype = SPACE_SCRIPT; | ||||
| /* header */ | /* header */ | ||||
| ▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines | |||||