SP3-16 Quaternions #112
|
@ -312,6 +312,11 @@ namespace SHADE
|
||||||
if (parentNode == nullptr)
|
if (parentNode == nullptr)
|
||||||
{
|
{
|
||||||
SHLOG_WARNING("Removing Entity {}'s parent", entityID)
|
SHLOG_WARNING("Removing Entity {}'s parent", entityID)
|
||||||
|
|
||||||
|
if (parent)
|
||||||
|
parent->RemoveChild(this);
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle self assignment
|
// Handle self assignment
|
||||||
|
|
Loading…
Reference in New Issue