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 - "local variable "bump" referenced before assigment" #272

Closed MrTroodonTheOG closed 1 year ago

MrTroodonTheOG commented 1 year ago

Okay so whenever I try to import a dinosaur material layer into blender I get the "local variable "bump" referenced before assigment" error. Although it creates a new material in Blender it isn't how it should be like for an imported materials layer, instead is more like a copy of the default material thats created when importing the mesh.

To Reproduce Pretty simple, just unpack the "SwatchLibrary.ovl" and the species ovl in question on the same folder. After this import the mesh and then the "dinosaurmateriallayers"

Expected behavior Well was expecting it to create the usual material required for "matcol" baking as always.

Version Info: