forked from cgvr/DeltaVR
fixed bug with shape scanner destroying not whole scannable object, deleted Parent-GeneratedModel objects from scene
This commit is contained in:
@@ -51,7 +51,7 @@ public class Printer3D : MonoBehaviour
|
||||
|
||||
private void InitializeSpawnedObject(GameObject spawnedObject)
|
||||
{
|
||||
GameObject spawnedObjectParent = new GameObject("SpawnedModelParent");
|
||||
GameObject spawnedObjectParent = new("SpawnedModelParent");
|
||||
spawnedObjectParent.transform.parent = spawnPoint;
|
||||
spawnedObjectParent.transform.position = spawnPoint.transform.position;
|
||||
spawnedObjectParent.layer = ignorePlayerCollisionLayer;
|
||||
|
||||
Reference in New Issue
Block a user