Calling NoesisNotifyPropertyChanged outside of the scope of the object does not work
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");
}
Re: Calling NoesisNotifyPropertyChanged outside of the scope of the object does not work
That's weird, they are used from outside when used from Blueprint (from the set with Notify nodes, for example). Let me run some tests and I'll get back to you.
Who is online
Users browsing this forum: Bing [Bot] and 6 guests