fix uninitialized read

This commit is contained in:
Seth Alves 2019-06-04 12:55:04 -07:00
parent 426f97fb35
commit 50e99cc1fd
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@ private:
virtual void doRenderUpdateAsynchronousTyped(const TypedEntityPointer& entity) override;
virtual void doRender(RenderArgs* args) override;
GizmoType _gizmoType;
GizmoType _gizmoType { UNSET_GIZMO_TYPE };
RingGizmoPropertyGroup _ringProperties;
PrimitiveMode _prevPrimitiveMode;

View file

@ -26,6 +26,7 @@
enum GizmoType {
RING = 0,
UNSET_GIZMO_TYPE
};
class GizmoTypeHelpers {