OSX compilation fix.

This commit is contained in:
brunoherbelin
2020-05-19 12:44:33 +02:00
parent becddf0b5f
commit 1cdc363194
6 changed files with 18 additions and 14 deletions

View File

@@ -10,6 +10,7 @@
#include <glm/gtc/matrix_transform.hpp>
#include "RenderingManager.h"
#include "Primitives.h"
#include "Resource.h"
#include "ImageShader.h"
@@ -472,7 +473,7 @@ Handles::Handles(Type type) : Node(), type_(type)
handle_ = new Mesh("mesh/border_handles_rotation.ply");
}
else {
handle_ = new LineSquare(color, 2);
handle_ = new LineSquare(color, int ( 8.1f /** Rendering::manager().DPIScale()*/) );
handle_->scale_ = glm::vec3( 0.05f, 0.05f, 1.f);
}