summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-16 04:20:07 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-16 04:20:07 (GMT)
commit81876a93a30ad71018009a60aed9ede0b43533ab (patch)
treeadd327177f1ce77a6f2752d34a13f312062e8962 /src/cat/LuaScriptInterface.cpp
parent5ad819efbd4dd745d315d6a238fd0aa11af7be31 (diff)
downloadpowder-81876a93a30ad71018009a60aed9ede0b43533ab.zip
powder-81876a93a30ad71018009a60aed9ede0b43533ab.tar.gz
redo some brush drawing stuff to remove useless checks, and to allow for replace mode in the future
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index 3d93071..f9991a0 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -976,6 +976,7 @@ int LuaScriptInterface::simulation_createLine(lua_State * l)
brushList[brush]->SetRadius(ui::Point(rx, ry));
luacon_sim->CreateLine(x1, y1, x2, y2, c, brushList[brush]);
+ brushList[brush]->SetRadius(tempRadius);
return 0;
}