Skip to content

Commit

Permalink
FEAT: Improve skip matching rules to use any texture starting with skip
Browse files Browse the repository at this point in the history
  • Loading branch information
magicaldave committed Oct 16, 2024
1 parent c1a29e2 commit c946f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brush_ni_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl BrushNiNode {
let texture_id = map_data.geomap.face_textures.get(face_id).unwrap();
let texture_name = map_data.geomap.textures.get(texture_id).unwrap();

if texture_name == "skip" || texture_name.contains("skip") {
if texture_name == "skip" || texture_name.starts_with("skip_") {
continue;
};

Expand Down

0 comments on commit c946f69

Please sign in to comment.