diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-28 14:32:36 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-28 14:32:36 +0400 |
commit | ff37a1d7fc47b41b3c144d1a2fcf5d1107ea0b39 (patch) | |
tree | a319e45ea0bb1d9de5614d97ff360ffd6df3d588 /source/blender/blenkernel | |
parent | 5bfbe64a21bea22e442bafee3f5720d5d5d28bdf (diff) |
Fix T41221: 3d view rendered mode crashes on new scene
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 717477c5e48..18a408167e2 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -510,6 +510,8 @@ Scene *BKE_scene_add(Main *bmain, const char *name) sce->r.border.ymin = 0.0f; sce->r.border.xmax = 1.0f; sce->r.border.ymax = 1.0f; + + sce->r.preview_start_resolution = 64; sce->toolsettings = MEM_callocN(sizeof(struct ToolSettings), "Tool Settings Struct"); sce->toolsettings->doublimit = 0.001; |