gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-plot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/lua-plot.cpp')
-rw-r--r--agg-plot/lua-plot.cpp 5
1 files changed, 4 insertions, 1 deletions
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp
index 9afa4f28..6019551e 100644
--- a/agg-plot/lua-plot.cpp
+++ b/agg-plot/lua-plot.cpp
@@ -499,10 +499,13 @@ int plot_xaxis_hol_set (lua_State *L)
break;
}
+ AGG_LOCK();
hol->add(fl);
-
if (create_hol)
p->set_xaxis_hol(hol);
+ AGG_UNLOCK();
+
+ plot_update_raw (L, p, 1);
return 0;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月14日 20:29:15 +0000

AltStyle によって変換されたページ (->オリジナル) /