[Bf-blender-cvs] [ab77363619b] blender2.8: Fix silly crash on Collada

Dalai Felinto noreply at git.blender.org
Fri Jan 26 11:45:57 CET 2018


Commit: ab77363619b1d2aee933e3cd59fe2a464bafd01c
Author: Dalai Felinto
Date:   Fri Jan 26 08:42:55 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBab77363619b1d2aee933e3cd59fe2a464bafd01c

Fix silly crash on Collada

Note: This was originally wrongly committed together with an outliner tooltip
fix, re-committing separately now. See bd7060a87fd9.

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

M	source/blender/collada/EffectExporter.cpp

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

diff --git a/source/blender/collada/EffectExporter.cpp b/source/blender/collada/EffectExporter.cpp
index 87392352a48..5e7f92047d3 100644
--- a/source/blender/collada/EffectExporter.cpp
+++ b/source/blender/collada/EffectExporter.cpp
@@ -67,7 +67,7 @@ EffectsExporter::EffectsExporter(COLLADASW::StreamWriter *sw, const ExportSettin
 
 bool EffectsExporter::hasEffects(Scene *sce)
 {
-	FOREACH_SCENE_OBJECT(scene, ob)
+	FOREACH_SCENE_OBJECT(sce, ob)
 	{
 		int a;
 		for (a = 0; a < ob->totcol; a++) {



More information about the Bf-blender-cvs mailing list