Cucumber left over: new scene needs a default ESC key
authorDalai Felinto <dfelinto@gmail.com>
Wed, 25 Jan 2012 01:39:38 +0000 (01:39 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 25 Jan 2012 01:39:38 +0000 (01:39 +0000)
source/blender/blenkernel/intern/scene.c

index 281631168cde57c13f4e952f5216f9b2138a488e..c8ec71d512fc0508600fbcfa5f6705d66db9ee24 100644 (file)
@@ -531,6 +531,8 @@ Scene *add_scene(const char *name)
        sce->gm.recastData.detailsampledist = 6.0f;
        sce->gm.recastData.detailsamplemaxerror = 1.0f;
 
+       sce->gm.exitkey = 218; // Blender key code for ESC
+
        sound_create_scene(sce);
 
        return sce;