forked from bartvdbraak/blender
Navigation Mesh Modifier:
* Fix scons define for operator append * Don't use abbreviations in the UI.
This commit is contained in:
parent
571f7db529
commit
8ed1c07a7b
@ -380,9 +380,8 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
|
|||||||
col.prop(md, "mirror_object", text="")
|
col.prop(md, "mirror_object", text="")
|
||||||
|
|
||||||
def NAVMESH(self, layout, ob, md):
|
def NAVMESH(self, layout, ob, md):
|
||||||
row = layout.row()
|
layout.operator("object.assign_navpolygon")
|
||||||
row.operator("object.assign_navpolygon", text="Assign poly idx")
|
layout.operator("object.assign_new_navpolygon")
|
||||||
row.operator("object.assign_new_navpolygon", text="Assign new poly idx")
|
|
||||||
|
|
||||||
def MULTIRES(self, layout, ob, md):
|
def MULTIRES(self, layout, ob, md):
|
||||||
layout.row().prop(md, "subdivision_type", expand=True)
|
layout.row().prop(md, "subdivision_type", expand=True)
|
||||||
|
@ -20,5 +20,8 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
|||||||
|
|
||||||
if env['WITH_BF_PYTHON']:
|
if env['WITH_BF_PYTHON']:
|
||||||
defs.append('WITH_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] )
|
env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] )
|
||||||
|
@ -537,7 +537,7 @@ static int assign_navpolygon_exec(bContext *C, wmOperator *op)
|
|||||||
void OBJECT_OT_assign_navpolygon(struct wmOperatorType *ot)
|
void OBJECT_OT_assign_navpolygon(struct wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name= "Assign polygon index ";
|
ot->name= "Assign polygon index";
|
||||||
ot->description= "Assign polygon index to face by active face";
|
ot->description= "Assign polygon index to face by active face";
|
||||||
ot->idname= "OBJECT_OT_assign_navpolygon";
|
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)
|
void OBJECT_OT_assign_new_navpolygon(struct wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name= "Assign new polygon index ";
|
ot->name= "Assign new polygon index";
|
||||||
ot->description= "Assign new polygon index to face";
|
ot->description= "Assign new polygon index to face";
|
||||||
ot->idname= "OBJECT_OT_assign_new_navpolygon";
|
ot->idname= "OBJECT_OT_assign_new_navpolygon";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user