You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
instance_image in collada 1.5 files exported from c4d #234
it seems cinema exporter was using this attribute to export textures, instead of (as done in version 1.4). This error was showing when trying to load this kind of files:
Expected start of element.
I'm attaching a patch with some changes, avoiding this behaviour when format 1.5 is detected.
Best regards,
Sergio
patch:
diff -r 038eda279259 code/ColladaParser.cpp
--- a/code/ColladaParser.cpp Wed Feb 05 16:57:34 2014 +0100
+++ b/code/ColladaParser.cpp Fri Feb 07 18:00:59 2014 +0100
@@ -1446,7 +1446,7 @@
// don't care for remaining stuff
SkipElement( "surface");
}
else if( IsElement( "sampler2D"))
else if( IsElement( "sampler2D") && FV_1_4_n == mFormat )
{
// surface ID is given inside <source> tags
TestOpening( "source");
@@ -1457,6 +1457,17 @@
// don't care for remaining stuff
SkipElement( "sampler2D");
Activity