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:
authorTon Roosendaal <ton@blender.org>2003-12-31 16:48:45 +0300
committerTon Roosendaal <ton@blender.org>2003-12-31 16:48:45 +0300
commit10c0f4ae9fe3249cbbe9fe83887fcb040a8a4b3b (patch)
treea71184b0299cba7dbb239f777f97878d23e9e56d /source/blender/makesdna/DNA_view3d_types.h
parent9bc012f97cf6085735413a19d1c46ef7bccba75a (diff)
- bug fix #828
Blender crashed when assigning background image to 3d window, when no buttons window was visible. This caused by copying code from old location with still using some variables of the 'button space' struct. Solved by creating these variables in View3d 'space' as well, and using these instead. Could also remove old coder /* comment */ that there was a unknown bug in the code there. :)
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index fbba5d674dd..2acfdac7103 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -104,8 +104,7 @@ typedef struct View3D {
short mxo, myo;
short gridlines, viewbut;
- short modeselect, pad4, pad5, pad6;
- int pad2, pad3;
+ short modeselect, menunr, texnr, pad1;
} View3D;
/* View3D->flag */