You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Exposed a new property bIsEditable on UDynamicMeshComponent to allow them to block any modifications done through EditMesh/SetMesh. Additionally, when this flag is set to false, the UDynamicMeshToolTarget is blocked from being created for the dynamic mesh component so modeling tools can't edit the mesh either.
#rb Ryan.Schmidt [CL 29959323 by roey borsteinas in ue5-main branch]
This commit is contained in:
+1
@@ -230,6 +230,7 @@ bool UDynamicMeshComponentToolTargetFactory::CanBuildTarget(UObject* SourceObjec
|
||||
&& !Component->IsUnreachable()
|
||||
&& Component->IsValidLowLevel()
|
||||
&& Component->GetDynamicMesh()
|
||||
&& Component->IsEditable()
|
||||
&& Requirements.AreSatisfiedBy(UDynamicMeshComponentToolTarget::StaticClass());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user