Skip to content

Commit

Permalink
- Fixed the material update in AutoUV when an image is dragged and dr…
Browse files Browse the repository at this point in the history
…opped

  in Outline from Images to Materials.
  • Loading branch information
Micheus committed Nov 20, 2024
1 parent 2894d6e commit b95f8e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wings_outliner.erl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ command({assign_texture,Type,Id,Name0, Format}, #st{mat=Mtab}=St) ->
occlusion when Format =/= g8 -> wings_u:message(ConvertWarning);
_ -> ignore
end,
wings_wm:psend(geom, {drop,#{type=>image,id=>Id}}), %% ensure AutoUV is updated if active
wings_wm:send(geom, {action,{material,{update,Name,Mat}}});
false ->
keep
Expand Down

0 comments on commit b95f8e7

Please sign in to comment.