|
@@ -320,6 +320,11 @@ namespace Max2Babylon
|
|
case Autodesk.Max.IGameObject.ObjectTypes.Light:
|
|
case Autodesk.Max.IGameObject.ObjectTypes.Light:
|
|
babylonNode = ExportLight(maxGameScene, maxGameNode, babylonScene);
|
|
babylonNode = ExportLight(maxGameScene, maxGameNode, babylonScene);
|
|
break;
|
|
break;
|
|
|
|
+ case Autodesk.Max.IGameObject.ObjectTypes.Unknown:
|
|
|
|
+ // Create a dummy (empty mesh) when type is unknown
|
|
|
|
+ // An example of unknown type object is the target of target light or camera
|
|
|
|
+ babylonNode = ExportDummy(maxGameScene, maxGameNode, babylonScene);
|
|
|
|
+ break;
|
|
default:
|
|
default:
|
|
// The type of node is not exportable (helper, spline, xref...)
|
|
// The type of node is not exportable (helper, spline, xref...)
|
|
hasExporter = false;
|
|
hasExporter = false;
|