Bugfix #26651
authorTon Roosendaal <ton@blender.org>
Thu, 31 Mar 2011 15:26:51 +0000 (15:26 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 31 Mar 2011 15:26:51 +0000 (15:26 +0000)
commit6e14661ad06835a70c7457de50b87da333690f40
treeb525de42316719e49b9ddbbf99382892246448fb
parent76d7a3562c448d431def367e2e444696efb6c97e
Bugfix #26651

If greasepencil became active, making Blender area full or restore
screen from full, the greasepencil handler was still running, using
outdated area pointer. This crashed Blender.

Now greasepencil modal() ends on the case its own stored area does
not exist anymore.
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/screen/screen_edit.c