Calling NoesisNotifyPropertyChanged outside of the scope of the object does not work
Posted: 14 Jun 2023, 03:44
If I have a parent actor MyActor: AActor that owns some kind of object MyObject: UObject which in turn has a UPROPERTY SomeProperty that is modified like the following:
Noesis does not pick up these changes.
I can work around it by doing
But I would expect both to work.
Code: Select all
MyObject->SomeProperty = true;
NoesisNotifyPropertyChanged(MyObject, "SomeProperty");
I can work around it by doing
Code: Select all
...
MyObject->SetSomeProperty(true);
...
void MyObjectClass::SetSomeProperty(bool NewValue)
{
SomeProperty = NewValue;
NoesisNotifyPropertyChanged(this, "SomeProperty");
}