Facepunch / sbox-issues

175 stars 12 forks source link

Selecting a set of textures and pressing create material doesn't work multiple times in a row. #3632

Open TheNameIsMatt opened 1 year ago

TheNameIsMatt commented 1 year ago

Describe the bug

Whenever you shift select materials and press create material it works the first time. But if you do it again in the same instance without closing down s&box then it will not auto populate the new set of textures you've selected and will re-use the original selection. image image

Here I have selected ice_bag materials and it is automatically putting the info into the vmat.

Now if I save this and try it with the ice_cube textures it will still use the ice_bag textures (because I did that first) image image

As you can see, even though I selected ice_cube textures, the vmat still only uses the original textures I selected when I did it the first time.

To Reproduce

  1. Have two sets of vmat textures ready to turn into materials
  2. shift select one set of textures and right click create material and save
  3. Shift select second set of textures and click create material
  4. It will automatically re-use the original selection instead of the new selection

Expected behavior

Vmat should automatically populate the selected materials

Media/Files

No response

Additional context

No response

TheNameIsMatt commented 1 year ago

This only occurs when they share the same folder.