update quick panel popup for left handed option

This commit is contained in:
2019-03-18 16:06:28 +01:00
parent 6f9f2aef72
commit 4bb1eb28a3
5 changed files with 78 additions and 41 deletions

View File

@@ -100,7 +100,7 @@ void NodeImage::draw()
ShaderManager::use(kShader::Texture);
}
ShaderManager::u_int(kShaderUniform::Tex, 0);
ShaderManager::u_mat4(kShaderUniform::MVP, m_mvp);
ShaderManager::u_mat4(kShaderUniform::MVP, m_mvp * glm::scale(glm::vec3(m_scale, 1.f)));
m_plane.draw_fill();
sampler.unbind();
TextureManager::get(m_tex_id).unbind();