File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Source/HoudiniEngineRuntime/Private Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -278,15 +278,14 @@ UHoudiniAssetComponent::UHoudiniAssetComponent(const FObjectInitializer & Object
278
278
279
279
UHoudiniAssetComponent::~UHoudiniAssetComponent ()
280
280
{
281
- // Unregister ourself so our houdini node can be delete.
282
-
281
+ // BeginDestroy has already unregistered ourself - no need to do it again here
282
+
283
283
// This gets called in UnRegisterHoudiniComponent, with appropriate checks. Don't call it here.
284
284
// FHoudiniEngineRuntime::Get().MarkNodeIdAsPendingDelete(AssetId, true);
285
-
286
- FHoudiniEngineRuntime::Get ().UnRegisterHoudiniComponent (this );
287
285
}
288
286
289
- void UHoudiniAssetComponent::PostInitProperties ()
287
+ void
288
+ UHoudiniAssetComponent::PostInitProperties ()
290
289
{
291
290
Super::PostInitProperties ();
292
291
You can’t perform that action at this time.
0 commit comments