Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_buttons/space_buttons.c
| Show All 39 Lines | |||||
| #include "BLO_read_write.h" | #include "BLO_read_write.h" | ||||
| #include "buttons_intern.h" /* own include */ | #include "buttons_intern.h" /* own include */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Default Callbacks for Properties Space | /** \name Default Callbacks for Properties Space | ||||
| * \{ */ | * \{ */ | ||||
| static SpaceLink *buttons_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) | static SpaceLink *buttons_create(const wmWindow *UNUSED(win), const ScrArea *UNUSED(area)) | ||||
| { | { | ||||
| ARegion *region; | ARegion *region; | ||||
| SpaceProperties *sbuts; | SpaceProperties *sbuts; | ||||
| sbuts = MEM_callocN(sizeof(SpaceProperties), "initbuts"); | sbuts = MEM_callocN(sizeof(SpaceProperties), "initbuts"); | ||||
| sbuts->spacetype = SPACE_PROPERTIES; | sbuts->spacetype = SPACE_PROPERTIES; | ||||
| sbuts->mainb = sbuts->mainbuser = BCONTEXT_OBJECT; | sbuts->mainb = sbuts->mainbuser = BCONTEXT_OBJECT; | ||||
| ▲ Show 20 Lines • Show All 965 Lines • Show Last 20 Lines | |||||