BGE: Fix T45817 Convert curve object in group instance.
Now group instance conversion allow unconverted object like curve, meta ball ect…
This commit is contained in:
parent
cb7f7b9abd
commit
ad43262fdb
Notes:
blender-bot
2023-02-14 08:45:15 +01:00
Referenced by issue #45817, BGE Crash with group instanced curve objects
|
@ -2055,14 +2055,13 @@ void BL_ConvertBlenderObjects(struct Main* maggie,
|
|||
converter,
|
||||
libloading);
|
||||
|
||||
/* Insert object to the constraint game object list
|
||||
* so we can check later if there is a instance in the scene or
|
||||
* an instance and its actual group definition. */
|
||||
convertedlist.insert((KX_GameObject*)gameobj->AddRef());
|
||||
|
||||
bool isInActiveLayer = false;
|
||||
if (gameobj)
|
||||
{
|
||||
if (gameobj) {
|
||||
/* Insert object to the constraint game object list
|
||||
* so we can check later if there is a instance in the scene or
|
||||
* an instance and its actual group definition. */
|
||||
convertedlist.insert((KX_GameObject*)gameobj->AddRef());
|
||||
|
||||
/* macro calls object conversion funcs */
|
||||
BL_CONVERTBLENDEROBJECT_SINGLE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue