From 0c3f55d6eff89c84b8cc2eabd42800b4635b9882 Mon Sep 17 00:00:00 2001 From: sabrina-shanman Date: Fri, 28 Sep 2018 15:39:37 -0700 Subject: [PATCH] Code style for floating point literal --- interface/src/raypick/PathPointer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/raypick/PathPointer.cpp b/interface/src/raypick/PathPointer.cpp index 6cc3dfba56..00ab32bde4 100644 --- a/interface/src/raypick/PathPointer.cpp +++ b/interface/src/raypick/PathPointer.cpp @@ -146,7 +146,7 @@ void PathPointer::updateVisuals(const PickResultPointer& pickResult) { IntersectionType type = getPickedObjectType(pickResult); auto renderState = _renderStates.find(_currentRenderState); auto defaultRenderState = _defaultRenderStates.find(_currentRenderState); - float parentScale = 1; + float parentScale = 1.0f; if (_enabled && _scaleWithParent) { glm::vec3 dimensions = DependencyManager::get()->getParentTransform(_pickUID).getScale(); parentScale = glm::max(glm::max(dimensions.x, dimensions.y), dimensions.z);