[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17066] trunk/blender/source/blender/src/ editaction.c: Action Editor - Grease Pencil Bugfix:
Joshua Leung
aligorith at gmail.com
Tue Oct 14 12:11:02 CEST 2008
Revision: 17066
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17066
Author: aligorith
Date: 2008-10-14 12:11:01 +0200 (Tue, 14 Oct 2008)
Log Message:
-----------
Action Editor - Grease Pencil Bugfix:
When Action Editor was maximised, Grease Pencil data disappeared. This was due to the screen-swapping that went on. Now, it uses the old-screen that was stored in the maximised Action Editor's screen (should be safe...)
Modified Paths:
--------------
trunk/blender/source/blender/src/editaction.c
Modified: trunk/blender/source/blender/src/editaction.c
===================================================================
--- trunk/blender/source/blender/src/editaction.c 2008-10-14 09:36:08 UTC (rev 17065)
+++ trunk/blender/source/blender/src/editaction.c 2008-10-14 10:11:01 UTC (rev 17066)
@@ -529,6 +529,13 @@
/* check if filtering types are appropriate */
if ( !(filter_mode & (ACTFILTER_IPOKEYS|ACTFILTER_ONLYICU|ACTFILTER_ACTGROUPED)) )
{
+ /* special hack for fullscreen area (which must be this one then),
+ * so we use the curarea->full as screen to get spaces from, since the
+ * old (pre-fullscreen) screen was stored there...
+ */
+ if ((curarea->full) && (curarea->spacetype==SPACE_ACTION))
+ sc= curarea->full;
+
/* loop over spaces in current screen, finding gpd blocks (could be slow!) */
for (sa= sc->areabase.first; sa; sa= sa->next) {
/* try to get gp data */
More information about the Bf-blender-cvs
mailing list