Skip to content

Commit a4339fa

Browse files
committed
fix merge issues
1 parent 9826f47 commit a4339fa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Assets/FbxExporters/Editor/ConvertToModel.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,6 @@ public static void CopyComponents(GameObject to, GameObject from){
343343
var originalComponents = new List<Component>(to.GetComponents<Component> ());
344344
// copy over meshes, materials, and nothing else
345345
foreach (var component in from.GetComponents<Component>()) {
346-
continue;
347-
}
348-
349346
var json = EditorJsonUtility.ToJson(component);
350347
if (string.IsNullOrEmpty (json)) {
351348
// this happens for missing scripts
@@ -380,8 +377,6 @@ public static void CopyComponents(GameObject to, GameObject from){
380377
if (toRenderer && fromRenderer) {
381378
EditorJsonUtility.FromJsonOverwrite (EditorJsonUtility.ToJson(fromRenderer), toRenderer);
382379
}
383-
}
384-
385380
Object.DestroyImmediate (skinnedMesh);
386381
}
387382
}

0 commit comments

Comments
 (0)