matc: initialize CustomVariable (#8076)
The default values were not provided via default construction. Caused matc to crash on Linux.
This commit is contained in:
@@ -713,8 +713,8 @@ public:
|
||||
|
||||
struct CustomVariable {
|
||||
utils::CString name;
|
||||
Precision precision;
|
||||
bool hasPrecision;
|
||||
Precision precision = Precision::DEFAULT;
|
||||
bool hasPrecision = false;
|
||||
};
|
||||
|
||||
static constexpr size_t MATERIAL_PROPERTIES_COUNT = filament::MATERIAL_PROPERTIES_COUNT;
|
||||
|
||||
Reference in New Issue
Block a user