blurstudio / Simplex

The Simplex Blendshape UI from Blur Studio
GNU Lesser General Public License v3.0
120 stars 41 forks source link

[Bug]: #135

Open cemccabe77 opened 4 months ago

cemccabe77 commented 4 months ago

Summary

Receiving different array size when running Tools > Import Obj Folder

#   File "MeshCrawler\commands\mayaCommands.py", line 182, in setAllVerts
#     out[:, :3] = newVerts
# ValueError: could not broadcast input array from shape (24049,2,3) into shape (24049,3)

Expected Behavior

Expected same size array from: simplex.DCC.getNumpyShape() & simplex.DCC.extractShape()

Steps to Reproduce Behavior

From the Simplex UI run Tools > Import Obj Folder

Solution

I have no concrete solution. My apologies. I am currently skipping the reorder steps as a work around.

Environment

SimplexUI: 3.0 OS: Windows 10 Python: 3.7.7 Numpy: 1.21.6

Additional Context

N/A

tbttfox commented 4 months ago

It's definitely a bug, but I probably won't get to this any time soon. The Meshcrawler library isn't its own library internally, so it's a real pain to update the public repo. We're working on fixing that, but it's low prio.

I'd suggest editing importObjs.py and changing part of the last line from reoder=reorder to reorder=False

Also, in your script editor, make sure that History -> Show Stack Trace is checked. The fact that Maya even includes the option to hide error information is a TERRIBLE design decision, IMO.