OpenNaja / cobra-tools

A suite of GUI tools for extracting and modifying OVL and OVS archives, as well as editing the associated in-house file formats. Also includes a model plugin for Blender. For downloads, guides, and FAQs visit:
https://opennaja.github.io/cobra-tools/
GNU General Public License v3.0
98 stars 28 forks source link

Blender: material rename causes false extra UV #261

Closed harlequinzeg0 closed 1 year ago

harlequinzeg0 commented 1 year ago

This issue was noticed on the triceratopsJWE.ovl model

Steps to reproduce:

  1. Rename triceratops material to a longer name
  2. Attempt to export file
  3. Log will complain that triceratops_lod0_ob0 has 3 UVs but expected 2 despite only having 2 UVs

results in not being able to export the ms2.

HENDRIX-ZT2 commented 1 year ago

Can't reproduce on my end. Renamed material to TriceratopsTest1234, exports fine.

hexabits commented 1 year ago

For posterity, it's specifically the addition of _fur

harlequinzeg0 commented 1 year ago

is due to JWE trike having 2 UV's and _Fur material expects 1 + a fur UV so it ends up with 3,