[Bf-blender-cvs] [c66e81e] alembic_basic_io: Avoid using a filepath property for Alembic object paths properties.

Kévin Dietrich noreply at git.blender.org
Fri Apr 29 18:44:41 CEST 2016


Commit: c66e81ebc8a9bbfb1ba75c6312363d548a8eb85a
Author: Kévin Dietrich
Date:   Fri Apr 29 17:37:30 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBc66e81ebc8a9bbfb1ba75c6312363d548a8eb85a

Avoid using a filepath property for Alembic object paths properties.

===================================================================

M	source/blender/makesrna/intern/rna_modifier.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 47d2faf..5c4c502 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -4159,8 +4159,8 @@ static void rna_def_modifier_meshcache(BlenderRNA *brna)
 	RNA_def_property_ui_text(prop, "File Path", "Path to external displacements file");
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
-	prop = RNA_def_property(srna, "sub_object", PROP_STRING, PROP_FILEPATH);
-	RNA_def_property_ui_text(prop, "Object", "Name of the object in the file");
+	prop = RNA_def_property(srna, "sub_object", PROP_STRING, PROP_NONE);
+	RNA_def_property_ui_text(prop, "Object", "Path to the object in the Alembic archive");
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
 	prop = RNA_def_property(srna, "factor", PROP_FLOAT, PROP_NONE);




More information about the Bf-blender-cvs mailing list