diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-06-15 13:56:06 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-06-15 13:56:06 +0400 |
commit | 3264db37972877184ead9785181722e5cf65f164 (patch) | |
tree | e1fd7f440c4530c15a061e21d3362115a826069d | |
parent | e95e2419f848116c0b74dc9cb30b410bbd682551 (diff) |
Collada (Exporter) improved export panel layout minor code cleanup
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 458ed43d489..f39b8f267a5 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2241,21 +2241,18 @@ void uiCollada_exportSettings(uiLayout *layout, PointerRNA *imfptr) row = uiLayoutRow(box, 0); uiItemR(row, imfptr, "use_object_instantiation", 0, NULL, ICON_NONE); row = uiLayoutRow(box, 0); - uiItemR(row, imfptr, "sort_by_name", 0, IFACE_("Sort by Object name"), ICON_NONE); + uiItemR(row, imfptr, "sort_by_name", 0, NULL, ICON_NONE); row = uiLayoutRow(box, 0); - uiItemR(row, imfptr, "second_life", 0, IFACE_("Export for Second Life"), ICON_NONE); + uiItemR(row, imfptr, "second_life", 0, NULL, ICON_NONE); } static void wm_collada_export_draw(bContext *C, wmOperator *op) { - uiLayout *layout = op->layout; PointerRNA ptr; - /* image template */ RNA_pointer_create(NULL, op->type->srna, op->properties, &ptr); - uiCollada_exportSettings(layout, &ptr); - + uiCollada_exportSettings(op->layout, &ptr); } static void WM_OT_collada_export(wmOperatorType *ot) |