feat: add light support in exporting virtools file.
Some checks failed
Publish docs via GitHub Pages / Deploy docs (push) Has been cancelled
Some checks failed
Publish docs via GitHub Pages / Deploy docs (push) Has been cancelled
- support light type when exporting virtools. - both import and export virtools file now support light type. however there is a slight bug about light direction need to be resolved. - fix bug that exporter throw exception if exported collection contain non-mesh object or exported object is not mesh object. - fix the usage of BMMeshTrans according to upstream changes.
This commit is contained in:
@ -104,7 +104,11 @@ def _nest_custom_split_normal(nml_array: array.array) -> typing.Iterator[UTIL_vi
|
||||
|
||||
class TemporaryMesh():
|
||||
"""
|
||||
|
||||
Create a temporary mesh for convenient exporting.
|
||||
When exporting mesh, we need triangulate it first.
|
||||
We create a temporary mesh to hold the triangulated mesh result.
|
||||
So that original object will not be affected and keep its original geometry.
|
||||
Please note passed bpy.types.Object must be Mesh Object.
|
||||
"""
|
||||
|
||||
__mBindingObject: bpy.types.Object
|
||||
|
Reference in New Issue
Block a user