Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/scene.c
| Context not available. | |||||
| #include "IMB_colormanagement.h" | #include "IMB_colormanagement.h" | ||||
| #include "IMB_imbuf.h" | #include "IMB_imbuf.h" | ||||
| #include "wm_event_types.h" | |||||
| #include "bmesh.h" | #include "bmesh.h" | ||||
| const char *RE_engine_id_BLENDER_RENDER = "BLENDER_RENDER"; | const char *RE_engine_id_BLENDER_RENDER = "BLENDER_RENDER"; | ||||
| Context not available. | |||||
| id_us_plus((ID *)scen->world); | id_us_plus((ID *)scen->world); | ||||
| id_us_plus((ID *)scen->set); | id_us_plus((ID *)scen->set); | ||||
| /* id_us_plus((ID *)scen->gm.dome.warptext); */ /* XXX Not refcounted? see readfile.c */ | |||||
| scen->ed = NULL; | scen->ed = NULL; | ||||
| scen->theDag = NULL; | scen->theDag = NULL; | ||||
| Context not available. | |||||
| sce->gm.stereomode = STEREO_ANAGLYPH; | sce->gm.stereomode = STEREO_ANAGLYPH; | ||||
| sce->gm.eyeseparation = 0.10; | sce->gm.eyeseparation = 0.10; | ||||
| sce->gm.dome.angle = 180; | |||||
| sce->gm.dome.mode = DOME_FISHEYE; | |||||
| sce->gm.dome.res = 4; | |||||
| sce->gm.dome.resbuf = 1.0f; | |||||
| sce->gm.dome.tilt = 0; | |||||
| sce->gm.xplay = 640; | sce->gm.xplay = 640; | ||||
| sce->gm.yplay = 480; | sce->gm.yplay = 480; | ||||
| sce->gm.freqplay = 60; | sce->gm.freqplay = 60; | ||||
| Context not available. | |||||
| sce->gm.angulardeactthreshold = 1.0f; | sce->gm.angulardeactthreshold = 1.0f; | ||||
| sce->gm.deactivationtime = 0.0f; | sce->gm.deactivationtime = 0.0f; | ||||
| sce->gm.flag = GAME_DISPLAY_LISTS; | |||||
| sce->gm.matmode = GAME_MAT_MULTITEX; | |||||
| sce->gm.obstacleSimulation = OBSTSIMULATION_NONE; | sce->gm.obstacleSimulation = OBSTSIMULATION_NONE; | ||||
| sce->gm.levelHeight = 2.f; | sce->gm.levelHeight = 2.f; | ||||
| Context not available. | |||||
| sce->gm.exitkey = 218; // Blender key code for ESC | sce->gm.exitkey = 218; // Blender key code for ESC | ||||
| sce->gm.pythonkeys[0] = LEFTCTRLKEY; | |||||
| sce->gm.pythonkeys[1] = LEFTSHIFTKEY; | |||||
| sce->gm.pythonkeys[2] = LEFTALTKEY; | |||||
| sce->gm.pythonkeys[3] = TKEY; | |||||
| BKE_sound_create_scene(sce); | BKE_sound_create_scene(sce); | ||||
| /* color management */ | /* color management */ | ||||
| Context not available. | |||||