Commit 5b9679f0 authored by Stéphane Albert's avatar Stéphane Albert

BUGFIX: MANTIS-1157: Fixed missing instantiation of otb::GlRoiActor transforms.

parent 2549defd
......@@ -166,7 +166,9 @@ void GlROIActor::UpdateTransforms()
if( settings->GetUseProjection() )
{
if( settings->GetGeometryChanged() )
if( settings->GetGeometryChanged() ||
m_ImageToViewportTransform.IsNull() ||
m_ViewportToImageTransform.IsNull() )
{
// std::cout
// << "otb::GlROIActor@" << std::hex << this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment