Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-09-08 16:06:40 +0400
committerJoshua Leung <aligorith@gmail.com>2008-09-08 16:06:40 +0400
commite3172d8f4d2eb0a5388ddf923142b2d0d53af278 (patch)
tree190a84ad5de6d3c2e929077a5f7d431d6e392f24 /source/blender
parentda474210de8871ea2a6dfcd2bfa37a71f9f6aed8 (diff)
Bugfix:
Grease Pencil panel now updates correctly in Sequencer
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/drawgpencil.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/src/drawgpencil.c b/source/blender/src/drawgpencil.c
index 6e897052218..fb21d94f39a 100644
--- a/source/blender/src/drawgpencil.c
+++ b/source/blender/src/drawgpencil.c
@@ -98,6 +98,8 @@
void gp_ui_activelayer_cb (void *gpd, void *gpl)
{
gpencil_layer_setactive(gpd, gpl);
+
+ scrarea_queue_winredraw(curarea);
allqueue(REDRAWACTION, 0);
}
@@ -109,6 +111,8 @@ void gp_ui_renamelayer_cb (void *gpd_arg, void *gpl_arg)
BLI_uniquename(&gpd->layers, gpl, "GP_Layer", offsetof(bGPDlayer, info[0]), 128);
gpencil_layer_setactive(gpd, gpl);
+
+ scrarea_queue_winredraw(curarea);
allqueue(REDRAWACTION, 0);
}
@@ -116,6 +120,8 @@ void gp_ui_renamelayer_cb (void *gpd_arg, void *gpl_arg)
void gp_ui_addlayer_cb (void *gpd, void *dummy)
{
gpencil_layer_addnew(gpd);
+
+ scrarea_queue_winredraw(curarea);
allqueue(REDRAWACTION, 0);
}
@@ -123,6 +129,8 @@ void gp_ui_addlayer_cb (void *gpd, void *dummy)
void gp_ui_dellayer_cb (void *gpd, void *dummy)
{
gpencil_layer_delactive(gpd);
+
+ scrarea_queue_winredraw(curarea);
allqueue(REDRAWACTION, 0);
}
@@ -133,6 +141,8 @@ void gp_ui_delstroke_cb (void *gpd, void *gpl)
gpencil_layer_setactive(gpd, gpl);
gpencil_frame_delete_laststroke(gpf);
+
+ scrarea_queue_winredraw(curarea);
}
/* delete active frame of active layer */
@@ -143,6 +153,7 @@ void gp_ui_delframe_cb (void *gpd, void *gpl)
gpencil_layer_setactive(gpd, gpl);
gpencil_layer_delframe(gpl, gpf);
+ scrarea_queue_winredraw(curarea);
allqueue(REDRAWACTION, 0);
}
@@ -151,6 +162,8 @@ void gp_ui_convertlayer_cb (void *gpd, void *gpl)
{
gpencil_layer_setactive(gpd, gpl);
gpencil_convert_menu();
+
+ scrarea_queue_winredraw(curarea);
}
/* ------- Drawing Code ------- */