[Bf-blender-cvs] [fab8f9b] alembic_basic_io: Fix RNA property lookup failure.
Kévin Dietrich
noreply at git.blender.org
Sat Jul 23 18:15:40 CEST 2016
Commit: fab8f9b8fabe4e05e0547aa0e1ae0ae09de2f211
Author: Kévin Dietrich
Date: Sat Jul 23 17:55:22 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBfab8f9b8fabe4e05e0547aa0e1ae0ae09de2f211
Fix RNA property lookup failure.
===================================================================
M source/blender/editors/io/io_alembic.c
===================================================================
diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c
index 42d1ced..ba178b0 100644
--- a/source/blender/editors/io/io_alembic.c
+++ b/source/blender/editors/io/io_alembic.c
@@ -140,7 +140,7 @@ static void ui_alembic_export_settings(uiLayout *layout, PointerRNA *imfptr)
uiItemL(row, IFACE_("Manual Transform:"), ICON_NONE);
row = uiLayoutRow(box, false);
- uiItemR(row, imfptr, "scale", 0, NULL, ICON_NONE);
+ uiItemR(row, imfptr, "global_scale", 0, NULL, ICON_NONE);
/* Scene Options */
box = uiLayoutBox(layout);
@@ -280,7 +280,7 @@ void WM_OT_alembic_export(wmOperatorType *ot)
RNA_def_enum(ot->srna, "compression_type", rna_enum_abc_compression_items,
ABC_ARCHIVE_OGAWA, "Compression", "");
- RNA_def_float(ot->srna, "scale", 1.0f, 0.0001f, 1000.0f, "Scale",
+ RNA_def_float(ot->srna, "global_scale", 1.0f, 0.0001f, 1000.0f, "Scale",
"Value by which to enlarge or shrink the objects with respect to the world's origin",
0.0001f, 1000.0f);
}
More information about the Bf-blender-cvs
mailing list