Luctaris / blender-import-glr

Addon which adds glr import support to Blender, the free 3D modelling suite.
12 stars 2 forks source link

Add gitignore, simplify tmp_ vert processing #8

Closed scurest closed 1 month ago

scurest commented 7 months ago

Two simple changes as groundwork for another (forthcoming) PR.

First, adds a .gitignore file, so I can add git add without accidentally adding __pycache__.

Second, rewrites the tmp_shade_cols, etc. code to read the three tri verts (as binary data) and only process them into the attribute arrays after filtering, instead of processing them into temp arrays before filtering. This removes the need to have temp arrays for every single attribute we can create.