mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
added per-face filtering for caulk shader
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@84 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
2a1870f6d6
commit
1fd4f5bda7
2 changed files with 5 additions and 2 deletions
|
@ -959,6 +959,7 @@ public:
|
|||
};
|
||||
|
||||
bool face_filtered(Face& face);
|
||||
void add_face_filter(FaceFilter& filter, int mask, bool invert = false);
|
||||
|
||||
void Brush_addTextureChangedCallback(const SignalHandler& callback);
|
||||
void Brush_textureChanged();
|
||||
|
|
|
@ -963,10 +963,10 @@ filter_brush_all_faces g_filter_brush_weapclip(&g_filter_face_weapclip);
|
|||
filter_face_shader g_filter_face_botclip("textures/common/botclip");
|
||||
filter_brush_all_faces g_filter_brush_botclip(&g_filter_face_botclip);
|
||||
|
||||
filter_face_shader g_filter_face_caulk("textures/common/caulk");
|
||||
filter_face_shader_prefix g_filter_face_caulk("textures/common/caulk");
|
||||
filter_brush_all_faces g_filter_brush_caulk(&g_filter_face_caulk);
|
||||
|
||||
filter_face_shader g_filter_face_caulk_ja("textures/system/caulk");
|
||||
filter_face_shader_prefix g_filter_face_caulk_ja("textures/system/caulk");
|
||||
filter_brush_all_faces g_filter_brush_caulk_ja(&g_filter_face_caulk_ja);
|
||||
|
||||
filter_face_shader_prefix g_filter_face_liquids("textures/liquids/");
|
||||
|
@ -1008,6 +1008,8 @@ void BrushFilters_construct()
|
|||
add_brush_filter(g_filter_brush_botclip, EXCLUDE_BOTCLIP);
|
||||
add_brush_filter(g_filter_brush_caulk, EXCLUDE_CAULK);
|
||||
add_brush_filter(g_filter_brush_caulk_ja, EXCLUDE_CAULK);
|
||||
add_face_filter(g_filter_face_caulk, EXCLUDE_CAULK);
|
||||
add_face_filter(g_filter_face_caulk_ja, EXCLUDE_CAULK);
|
||||
add_brush_filter(g_filter_brush_liquids, EXCLUDE_LIQUIDS);
|
||||
add_brush_filter(g_filter_brush_hint, EXCLUDE_HINTSSKIPS);
|
||||
add_brush_filter(g_filter_brush_hint_q2, EXCLUDE_HINTSSKIPS);
|
||||
|
|
Loading…
Reference in a new issue