Commit 147a070b authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Glow ctx fix to avoid recursive call of nav_zoom

parent 7ca31c3d
...@@ -909,13 +909,14 @@ void GlowCtx::paste_execute() ...@@ -909,13 +909,14 @@ void GlowCtx::paste_execute()
void GlowCtx::nav_zoom() void GlowCtx::nav_zoom()
{ {
if (nodraw)
return;
if (ctx_type == glow_eCtxType_Curve) { if (ctx_type == glow_eCtxType_Curve) {
((CurveCtx*)this)->nav_zoom(); ((CurveCtx*)this)->nav_zoom();
return; return;
} }
if (nodraw)
return;
if (a.size() > 0) { if (a.size() > 0) {
double x_nav_left, x_nav_right, y_nav_low, y_nav_high; double x_nav_left, x_nav_right, y_nav_low, y_nav_high;
......
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