mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
terrain mask work
adds an isValid(gridinfo tile) command to prefilter out grid elements of a specified nature applies that to SetEmptyAction::process also corrects sliderbar positions for terrain painting elements, as ell as adds a min/max slope for removal potential TODOs: apply it more places pending feedback. add a min/max hieght filter as well
This commit is contained in:
parent
43501127ec
commit
85955479c8
5 changed files with 230 additions and 8 deletions
|
|
@ -54,7 +54,7 @@ class TerrainAction
|
|||
End,
|
||||
Process
|
||||
};
|
||||
|
||||
bool isValid(GridInfo tile);
|
||||
//
|
||||
virtual void process(Selection * sel, const Gui3DMouseEvent & event, bool selChanged, Type type) = 0;
|
||||
virtual bool useMouseBrush() { return(true); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue