From 8ed1c07a7b21d916f149dfa00649579165c45979 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sat, 10 Sep 2011 09:21:46 +0000 Subject: Navigation Mesh Modifier: * Fix scons define for operator append * Don't use abbreviations in the UI. --- source/blender/editors/object/SConscript | 3 +++ source/blender/editors/object/object_navmesh.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/object/SConscript b/source/blender/editors/object/SConscript index 900c96044a5..cdda16582ef 100644 --- a/source/blender/editors/object/SConscript +++ b/source/blender/editors/object/SConscript @@ -20,5 +20,8 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): if env['WITH_BF_PYTHON']: defs.append('WITH_PYTHON') + +if env['WITH_BF_GAMEENGINE']: + defs.append('WITH_GAMEENGINE') env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] ) diff --git a/source/blender/editors/object/object_navmesh.cpp b/source/blender/editors/object/object_navmesh.cpp index 8ee63296c70..155ffd37627 100644 --- a/source/blender/editors/object/object_navmesh.cpp +++ b/source/blender/editors/object/object_navmesh.cpp @@ -537,7 +537,7 @@ static int assign_navpolygon_exec(bContext *C, wmOperator *op) void OBJECT_OT_assign_navpolygon(struct wmOperatorType *ot) { /* identifiers */ - ot->name= "Assign polygon index "; + ot->name= "Assign polygon index"; ot->description= "Assign polygon index to face by active face"; ot->idname= "OBJECT_OT_assign_navpolygon"; @@ -615,7 +615,7 @@ static int assign_new_navpolygon_exec(bContext *C, wmOperator *op) void OBJECT_OT_assign_new_navpolygon(struct wmOperatorType *ot) { /* identifiers */ - ot->name= "Assign new polygon index "; + ot->name= "Assign new polygon index"; ot->description= "Assign new polygon index to face"; ot->idname= "OBJECT_OT_assign_new_navpolygon"; -- cgit v1.2.3