Skip to content

Commit 8f2407a

Browse files
committed
Fix: address valgrind conditional on uninitialed variable in Entity
1 parent bcca3bc commit 8f2407a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/flamegpu/visualiser/Entity.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Entity::Entity(
146146
, materialBuffer(std::make_shared<UniformBuffer>(sizeof(MaterialProperties) * MAX_OBJ_MATERIALS))
147147
, location(0.0f)
148148
, rotation(0.0f, 0.0f, 1.0f, 0.0f)
149+
, needsExport(false)
149150
, cullFace(true) {
150151
GL_CHECK();
151152
loadModelFromFile();

0 commit comments

Comments
 (0)