Grease Pencil Bugfixes:
* Fix for #17808: Can't compile using SunCC - gpencil.c uses DOS line endings. Added some svn-properties on gpencil files and also keyframing ones that I added, so that this shouldn't be a problem anymore. * In Node Editor, it is now possible to close an open Grease Pencil panel when there is no node-tree being shown (i.e. after switching between node editing modes)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id: drawgpencil.c 14881 2008-05-18 10:41:42Z aligorith $
|
||||
* $Id$
|
||||
*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id: editaction_gpencil.c 14881 2008-05-18 10:41:42Z aligorith $
|
||||
* $Id$
|
||||
*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
|
||||
@@ -2395,7 +2395,12 @@ void winqreadnodespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
short val= evt->val, doredraw=0, fromlib= 0;
|
||||
|
||||
if(sa->win==0) return;
|
||||
if(snode->nodetree==NULL) return;
|
||||
|
||||
if(snode->nodetree==NULL) {
|
||||
/* no other events should be handled, but floating panels still should get handled */
|
||||
uiDoBlocks(&curarea->uiblocks, event, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
if(val) {
|
||||
if( node_uiDoBlocks(sa, event)!=UI_NOTHING ) event= 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id: gpencil.c 14881 2008-05-18 10:41:42Z aligorith $
|
||||
* $Id$
|
||||
*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id: keyframing.c 14881 2008-05-18 10:41:42Z aligorith $
|
||||
* $Id$
|
||||
*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user