Commit: 2964f431117198c34d94cd52ebed0904c6fbfa81
Author: Hans Goudey
Date: Sat Jan 8 18:17:19 2022 -0600
Branches: temp-geometry-nodes-extrude-mesh
https://developer.blender.org/rB2964f431117198c34d94cd52ebed0904c6fbfa81
Revert change to `BLI_color.h` and make color a trivial type again
===================================================================
M source/blender/blenlib/BLI_color.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_color.hh
b/source/blender/blenlib/BLI_color.hh
index dd2faec8455..dce625777b9 100644
--- a/source/blender/blenlib/BLI_color.hh
+++ b/source/blender/blenlib/BLI_color.hh
@@ -96,7 +96,7 @@ std::ostream &operator<<(std::ostream &stream, const eSpace
&space);
/** Template class to store RGBA values with different precision, space and
alpha association. */
template<typename ChannelStorageType, eSpace Space, eAlpha Alpha> class
ColorRGBA {
public:
- ChannelStorageType r = 0, g = 0, b = 0, a = 1;
+ ChannelStorageType r, g, b, a;
constexpr ColorRGBA() = default;
constexpr ColorRGBA(const ChannelStorageType rgba[4])
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs