diff options
author | Ton Roosendaal <ton@blender.org> | 2003-12-31 16:48:45 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-12-31 16:48:45 +0300 |
commit | 10c0f4ae9fe3249cbbe9fe83887fcb040a8a4b3b (patch) | |
tree | a71184b0299cba7dbb239f777f97878d23e9e56d /source/blender/makesdna | |
parent | 9bc012f97cf6085735413a19d1c46ef7bccba75a (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')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 3 |
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 */ |