Use exact component value equality checks in equality comparisons
(cherry picked from commit 2cddf3de97943844512b2d84aa6be122c6f0d409)
This commit is contained in:
@@ -52,7 +52,7 @@ API_STRUCT(NoPod) struct FLAXENGINE_API FoliageInstance
|
||||
public:
|
||||
bool operator==(const FoliageInstance& v) const
|
||||
{
|
||||
return Type == v.Type && Math::NearEqual(Random, v.Random) && Transform == v.Transform;
|
||||
return Type == v.Type && Random == v.Random && Transform == v.Transform;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user