Another vote for ‘dubious / do not want’ (and removed from local source)
My use case where this is not acceptable is trying to use ExpandEnumAsExecs on the output param of the const function - the BlueprintPure hides all exec pins, including the enum execs.
The function is also used from c++, where the const is required. (I could add a duplicate function, but, no.)
modified UHT:HeaderParser.cpp
- FuncInfo.FunctionFlags |= FUNC_BlueprintPure;
+ // @ : override if any ExpandEnumAsExecs are specifically set
+ if (!MetaData.Contains("ExpandEnumAsExecs"))
+ {
+ FuncInfo.FunctionFlags |= FUNC_BlueprintPure;
+ }
(note that just removing the feature entirely will completely break a lot of built in nodes that are assumed pure due to this)