Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-03-26 07:36:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-03-26 07:36:46 +0400
commit48d6c9f3cec8c48eac539bee5c87de030a68fc2f (patch)
tree89a82dded47bca5388222e1723f7951ffd8ed769
parent7fd8ba99bb536ae7927fe53de7f283207f193680 (diff)
check curarea isnt NULL, blender would crash switching scenes in the outliner while fullscreen, then going into un-fullscree view.
-rw-r--r--source/blender/src/space.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index b33b0524bbf..1db3b23541b 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -340,7 +340,13 @@ void handle_view3d_around()
void handle_view3d_lock()
{
- if (G.vd != NULL) {
+
+ //if (G.vd) printf("1\n");
+ //if (G.vd->scenelock) printf("2\n");
+ //if (curarea->spacetype) printf("3\n");
+ //if (curarea->spacetype) printf("4\n");
+
+ if (G.vd != NULL && curarea != NULL ) {
if(G.vd->localview==0 && G.vd->scenelock && curarea->spacetype==SPACE_VIEW3D) {
/* copy to scene */