From 9a98fad2e02af95774ae9ed83ad60c8b41c2a03c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 Oct 2014 15:37:09 +0100 Subject: Fix assert's, remove uiEndBlock calls --- source/blender/editors/interface/interface_templates.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index b0bea42e3bc..6e67fecf915 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -1900,7 +1900,6 @@ static uiBlock *curvemap_clipping_func(bContext *C, ARegion *ar, void *cumap_v) uiBlockSetDirection(block, UI_RIGHT); - uiEndBlock(C, block); return block; } @@ -1975,7 +1974,6 @@ static uiBlock *curvemap_tools_posslope_func(bContext *C, ARegion *ar, void *cum uiBlockSetDirection(block, UI_RIGHT); uiTextBoundsBlock(block, 50); - uiEndBlock(C, block); return block; } @@ -2003,7 +2001,6 @@ static uiBlock *curvemap_tools_negslope_func(bContext *C, ARegion *ar, void *cum uiBlockSetDirection(block, UI_RIGHT); uiTextBoundsBlock(block, 50); - uiEndBlock(C, block); return block; } @@ -2027,7 +2024,6 @@ static uiBlock *curvemap_brush_tools_func(bContext *C, ARegion *ar, void *cumap_ uiBlockSetDirection(block, UI_RIGHT); uiTextBoundsBlock(block, 50); - uiEndBlock(C, block); return block; } -- cgit v1.2.3