Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crash
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 29 Sep 2013 13:25:42 +0000 (13:25 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 29 Sep 2013 13:25:42 +0000 (13:25 +0000)
commit4829cf9cd008d6c14b0f3cd5ef816064f404ed25
tree64693b9a678663f00348c75ffbe5de003a7cde5b
parent3407a2e14522151ffcfa0f776323df4516d67af7
Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crash

Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
source/blender/blenkernel/intern/screen.c
source/blender/editors/screen/area.c
source/blender/makesrna/intern/rna_screen.c