mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
added Node_getBrush function as requested by mattn (UFO:AI team)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@129 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
995104ef44
commit
e1a4c59897
1 changed files with 5 additions and 0 deletions
|
@ -124,4 +124,9 @@ inline BrushCreator& GlobalBrushCreator()
|
|||
return GlobalBrushModule::getTable();
|
||||
}
|
||||
|
||||
inline Brush* Node_getBrush(scene::Node& node)
|
||||
{
|
||||
return NodeTypeCast<Brush>::cast(node);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue