summaryrefslogtreecommitdiff
path: root/src/simulation/elements/GEL.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/simulation/elements/GEL.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/simulation/elements/GEL.cpp')
-rw-r--r--src/simulation/elements/GEL.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/elements/GEL.cpp b/src/simulation/elements/GEL.cpp
index 8ea7f0f..462fe83 100644
--- a/src/simulation/elements/GEL.cpp
+++ b/src/simulation/elements/GEL.cpp
@@ -158,6 +158,7 @@ int Element_GEL::graphics(GRAPHICS_FUNC_ARGS)
*colr = q*(32-255)/120+255;
*colg = q*(48-186)/120+186;
*colb = q*208/120;
+ *pixel_mode |= PMODE_BLUR;
return 0;
}