Revisiting the trueSpace Horse character using Rosetta
Both FBX Import (DAE) and Collada Import give errors
Code: Select all
ERR Source object: /Scripts/CustomCommands/colladagroup/callplugin Error: Unspecified script error Line: 13, Char: 1 Script text: Clintons3dDAE.ImportDAE();
ERR Source object: /Scripts/CustomCommands/fbxgroup2/callimport2 Error: Unspecified script error Line: 46, Char: 1 Script text: ClintonsFBX2019Plugin.FBXimport();
On another note, with regards to the
callimport script:
fbxgroup2/callimport
Code: Select all
try {
var mode = Node.Value("Preferences/Desktop","BridgeSync");
Node.Value("Preferences/Desktop","BridgeSync") = "Off";
tSBridge.SetBridgeSyncStatus(0);//0 = off
params.ConValue("bridgemode") = mode;
}
catch (err) {
System.Trace("bridge ignored for Rosetta version.");
}
Rosetta does not have the Project/
TSScene node
.
Code: Select all
util = System.CreateDO("Clintons3D Package/Utility functions")
if(Node.Exists('Project/TSScene')) {
var mode = Node.Value('Preferences/Desktop','BridgeSync')
if(Node.ConExists(mode))
util.SetNodeValueString('Preferences/Desktop','BridgeSync', 'Off')
//Not Necessary:The above command sets this -> util.SetNodeValueInt('/Project/TSScene', 'Scene sync', 0); //(0 = Off) (1 = On) (2 = Auto)
params.ConValue("bridgemode") = mode
}
// try {
// var mode = Node.Value("Preferences/Desktop","BridgeSync");
// Node.Value("Preferences/Desktop","BridgeSync") = "Off";
// tSBridge.SetBridgeSyncStatus(0);//0 = off
// params.ConValue("bridgemode") = mode;
// }
// catch (err) {
// System.Trace("bridge ignored for Rosetta version.");
// }
EDIT:
It also looks like you are not restoring the Matarial Editor's
Material instancing
Node.Value("/Material Editor/Material Editor", "Material instancing")