From d9e61ce1953b5d1edc6f12ee832584e7a582beda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 29 Nov 2019 14:15:07 +0100 Subject: Alembic: changed "Visible Layers" to "Visible Objects" in export options There are no more 'layers' in Blender. I chose 'Visible Objects' rather than 'Visible Collections' to be consistent with the other '{Renderable,Selected} Objects Only' options. No functional changes. --- source/blender/editors/io/io_alembic.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/io') diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c index 573dfcde88a..809210a58b5 100644 --- a/source/blender/editors/io/io_alembic.c +++ b/source/blender/editors/io/io_alembic.c @@ -127,7 +127,7 @@ static int wm_alembic_export_exec(bContext *C, wmOperator *op) .apply_subdiv = RNA_boolean_get(op->ptr, "apply_subdiv"), .curves_as_mesh = RNA_boolean_get(op->ptr, "curves_as_mesh"), .flatten_hierarchy = RNA_boolean_get(op->ptr, "flatten"), - .visible_layers_only = RNA_boolean_get(op->ptr, "visible_layers_only"), + .visible_objects_only = RNA_boolean_get(op->ptr, "visible_objects_only"), .renderable_only = RNA_boolean_get(op->ptr, "renderable_only"), .face_sets = RNA_boolean_get(op->ptr, "face_sets"), .use_subdiv_schema = RNA_boolean_get(op->ptr, "subdiv_schema"), @@ -209,7 +209,7 @@ static void ui_alembic_export_settings(uiLayout *layout, PointerRNA *imfptr) uiItemR(row, imfptr, "renderable_only", 0, NULL, ICON_NONE); row = uiLayoutRow(box, false); - uiItemR(row, imfptr, "visible_layers_only", 0, NULL, ICON_NONE); + uiItemR(row, imfptr, "visible_objects_only", 0, NULL, ICON_NONE); row = uiLayoutRow(box, false); uiItemR(row, imfptr, "flatten", 0, NULL, ICON_NONE); @@ -392,10 +392,10 @@ void WM_OT_alembic_export(wmOperatorType *ot) "Export only objects marked renderable in the outliner"); RNA_def_boolean(ot->srna, - "visible_layers_only", + "visible_objects_only", 0, - "Visible Layers Only", - "Export only objects in visible layers"); + "Visible Objects Only", + "Export only objects in visible collections"); RNA_def_boolean(ot->srna, "flatten", -- cgit v1.2.3