Navigation Mesh Modifier:
[blender.git] / release / scripts / startup / bl_ui / properties_data_modifier.py
index d8860d986543d07aef8525645813ea1d6d20687a..8e90dc3216eeba2ffd02463b818edb14b0d63bba 100644 (file)
@@ -380,9 +380,8 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
         col.prop(md, "mirror_object", text="")
 
     def NAVMESH(self, layout, ob, md):
         col.prop(md, "mirror_object", text="")
 
     def NAVMESH(self, layout, ob, md):
-        row = layout.row()
-        row.operator("object.assign_navpolygon", text="Assign poly idx")
-        row.operator("object.assign_new_navpolygon", text="Assign new poly idx")
+        layout.operator("object.assign_navpolygon")
+        layout.operator("object.assign_new_navpolygon")
 
     def MULTIRES(self, layout, ob, md):
         layout.row().prop(md, "subdivision_type", expand=True)
 
     def MULTIRES(self, layout, ob, md):
         layout.row().prop(md, "subdivision_type", expand=True)