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:
authorCampbell Barton <ideasman42@gmail.com>2013-07-28 21:06:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-28 21:06:31 +0400
commitfc4a7775112045c604bef0eacbe1dc3cc609d0f3 (patch)
tree33558d967b181b8b89f00fe4e55f3c35e2033d44 /source/blender/editors/space_view3d/view3d_buttons.c
parentb8e06518c9626fcf3791a00fecb88cb6b3902947 (diff)
use '_exec' suffix for operator execute callbacks, also picky change to sizeof() use in BLI_array.h
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_buttons.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_buttons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_buttons.c b/source/blender/editors/space_view3d/view3d_buttons.c
index dab20651537..75e7605df6b 100644
--- a/source/blender/editors/space_view3d/view3d_buttons.c
+++ b/source/blender/editors/space_view3d/view3d_buttons.c
@@ -1171,7 +1171,7 @@ void view3d_buttons_register(ARegionType *art)
BLI_addtail(&art->paneltypes, pt);
}
-static int view3d_properties(bContext *C, wmOperator *UNUSED(op))
+static int view3d_properties_toggle_exec(bContext *C, wmOperator *UNUSED(op))
{
ScrArea *sa = CTX_wm_area(C);
ARegion *ar = view3d_has_buttons_region(sa);
@@ -1188,7 +1188,7 @@ void VIEW3D_OT_properties(wmOperatorType *ot)
ot->description = "Toggles the properties panel display";
ot->idname = "VIEW3D_OT_properties";
- ot->exec = view3d_properties;
+ ot->exec = view3d_properties_toggle_exec;
ot->poll = ED_operator_view3d_active;
/* flags */