Commit 880f3790 authored by SilentMike's avatar SilentMike

Merge pull request #407 from eightyeight/terrain-update-trigger

Trigger a terrain signal when its transform is changed
parents dd8730c8 e63e5d69
......@@ -1070,6 +1070,9 @@ void TerrainBlock::setTransform(const MatrixF & mat)
setRenderTransform( mat );
setMaskBits( TransformMask );
if(isClientObject())
smUpdateSignal.trigger( HeightmapUpdate, this, Point2I::Zero, Point2I::Max );
}
void TerrainBlock::setScale( const VectorF &scale )
......
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