Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-31 19:01:43 +0000
committerStijn Buys <ingar@osirion.org>2011-07-31 19:01:43 +0000
commit5feb96ea3e0616d108a68c14a9a77d0217a686cd (patch)
treeacd8919371b950e5c40880b4e561c98baa7da107 /src/render/draw.cc
parent45054b224d8f0f8b6d7db4bcd0b0abf6763a60ab (diff)
Added power state to the material context.
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r--src/render/draw.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index 64ac4c1..2236d8c 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -647,6 +647,7 @@ void draw_model_fragments(model::Model *model,
State::set_color(color_primary);
State::set_color_second(color_secondary);
State::set_color_engine(model->enginecolor() * thrust);
+ State::set_power(power);
for (model::Model::Groups::const_iterator git = model->groups().begin(); git != model->groups().end(); git++) {