From a4661ec3b58c1745e2ca11ccf84bd882f1de3cc1 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Thu, 4 Jan 2007 16:10:21 +0000 Subject: [PATCH] added Node_getBrush function as requested by mattn (UFO:AI team) git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@129 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- include/ibrush.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ibrush.h b/include/ibrush.h index ddc82559..22f7f562 100644 --- a/include/ibrush.h +++ b/include/ibrush.h @@ -124,4 +124,9 @@ inline BrushCreator& GlobalBrushCreator() return GlobalBrushModule::getTable(); } +inline Brush* Node_getBrush(scene::Node& node) +{ + return NodeTypeCast::cast(node); +} + #endif -- 2.39.2