[Bf-blender-cvs] [bad0ace6a0a] blender2.8: Fix COLLADA build warning.

Brecht Van Lommel noreply at git.blender.org
Wed Nov 28 20:07:08 CET 2018


Commit: bad0ace6a0abd0c9aac809f2a43e5e2ef67bf1aa
Author: Brecht Van Lommel
Date:   Wed Nov 28 20:03:20 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBbad0ace6a0abd0c9aac809f2a43e5e2ef67bf1aa

Fix COLLADA build warning.

This properties does not appear to be used anymore.

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

M	source/blender/editors/io/io_collada.c

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

diff --git a/source/blender/editors/io/io_collada.c b/source/blender/editors/io/io_collada.c
index 47cf2780ac2..1b4298171fe 100644
--- a/source/blender/editors/io/io_collada.c
+++ b/source/blender/editors/io/io_collada.c
@@ -99,7 +99,6 @@ static int wm_collada_export_exec(bContext *C, wmOperator *op)
 	int keep_smooth_curves;
 	int keep_keyframes;
 
-	int include_material_textures;
 	int export_animation_type;
 	int use_texture_copies;
 	int active_uv_only;
@@ -161,7 +160,6 @@ static int wm_collada_export_exec(bContext *C, wmOperator *op)
 
 	deform_bones_only        = RNA_boolean_get(op->ptr, "deform_bones_only");
 
-	include_material_textures = RNA_boolean_get(op->ptr, "include_material_textures");
 	use_texture_copies       = RNA_boolean_get(op->ptr, "use_texture_copies");
 	active_uv_only           = RNA_boolean_get(op->ptr, "active_uv_only");
 
@@ -508,9 +506,6 @@ void WM_OT_collada_export(wmOperatorType *ot)
 	RNA_def_boolean(func, "active_uv_only", 0, "Only Selected UV Map",
 	                "Export only the selected UV Map");
 
-	RNA_def_boolean(func, "include_material_textures", 0, "Include Material Textures",
-	                "Export textures assigned to the object Materials");
-
 	RNA_def_boolean(func, "use_texture_copies", 1, "Copy",
 	                "Copy textures to same folder where the .dae file is exported");



More information about the Bf-blender-cvs mailing list