void UMaterialInstanceConstant::SetParentEditorOnly(UMaterialInterface* NewParent) { check(GIsEditor); SetParentInternal(NewParent, true); }
void AstNode::SetParent(AstNode::WeakPtr _parent) { ASSERT(parent.expired()); parent = _parent; SetParentInternal(); }