diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-06 10:03:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-06 10:03:48 +0400 |
commit | a7507e945d1c314b9bf7f8298a8beea58e047d37 (patch) | |
tree | ae5ae0422e5eea00d1b2ae032ebcddaaf6058583 /source/blender/editors/gpencil/gpencil_buttons.c | |
parent | 5c7bed92d4a124a92c596f2dbe212cc59335925f (diff) |
fix [#26803] Libs paths are case sensitive in windows
use case insensitive path comparison on windows: BLI_path_cmp
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_buttons.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_buttons.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/editors/gpencil/gpencil_buttons.c b/source/blender/editors/gpencil/gpencil_buttons.c index 67b732ffa5e..79fcbb0e49d 100644 --- a/source/blender/editors/gpencil/gpencil_buttons.c +++ b/source/blender/editors/gpencil/gpencil_buttons.c @@ -73,8 +73,9 @@ /* make layer active one after being clicked on */ static void gp_ui_activelayer_cb (bContext *C, void *gpd, void *gpl) { + /* make sure the layer we want to remove is the active one */ gpencil_layer_setactive(gpd, gpl); - + WM_event_add_notifier(C, NC_SCREEN|ND_GPENCIL|NA_EDITED, NULL); // XXX please work! } @@ -88,13 +89,7 @@ static void gp_ui_dellayer_cb (bContext *C, void *gpd, void *gpl) WM_event_add_notifier(C, NC_SCREEN|ND_GPENCIL|NA_EDITED, NULL); // XXX please work! } -static void gp_ui_actlayer_cb (bContext *C, void *gpd, void *gpl) -{ - /* make sure the layer we want to remove is the active one */ - gpencil_layer_setactive(gpd, gpl); - WM_event_add_notifier(C, NC_SCREEN|ND_GPENCIL|NA_EDITED, NULL); // XXX please work! -} /* ------- Drawing Code ------- */ |