Skip to content

Commit

Permalink
EasySDF; skip color items when generating intersection SDF
Browse files Browse the repository at this point in the history
  • Loading branch information
RodZill4 committed Feb 7, 2025
1 parent a267cfd commit e3e7063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/material_maker/sdf_builder/sdf3d/intersection.gd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func shape_and_children_code(scene : Dictionary, data : Dictionary, uv : String
var first : bool = true
for s in scene.children:
var data2 = mm_sdf_builder.scene_to_shader_model(s, "%s_p" % output_name, editor)
if not data2.is_empty():
if data2.has("code"):
data.parameters.append_array(data2.parameters)
data.code += data2.code
if first:
Expand Down

0 comments on commit e3e7063

Please sign in to comment.