From 43647086fb168e8476507dd9c33c2ae243b3a867 Mon Sep 17 00:00:00 2001 From: Vulpovile Date: Mon, 3 Oct 2022 07:48:28 -0700 Subject: [PATCH] Fix duplication crash --- src/source/DataModelV2/PartInstance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/source/DataModelV2/PartInstance.cpp b/src/source/DataModelV2/PartInstance.cpp index 20b619f..f9a8210 100644 --- a/src/source/DataModelV2/PartInstance.cpp +++ b/src/source/DataModelV2/PartInstance.cpp @@ -144,6 +144,7 @@ void PartInstance::setParent(Instance* prnt) PartInstance::PartInstance(const PartInstance &oinst) { PVInstance::PVInstance(oinst); + physBody = NULL; glList = glGenLists(1); //name = oinst.name; //className = "Part";