soopercool101 / BrawlCrate

BrawlBox/BrawlTools Fork, Wii File Editor
https://discord.gg/s7c8763
GNU Lesser General Public License v3.0
148 stars 38 forks source link

Added SMD to CHR0 Importing #19

Open RedStoneMatt opened 3 years ago

RedStoneMatt commented 3 years ago

It's not perfect, but from what i tested, it works. Note that SMD Animation files don't support scale editing. If you make your tests with Blender-exported SMD Animation files, keep it mind blender breaks these sometimes.

soopercool101 commented 3 years ago

Codacy Here is an overview of what got changed by this pull request:


Issues
======
- Added 5

Complexity increasing per file
==============================
- BrawlLib/Wii/Animations/CHR0SMDImporter.cs  13

See the complete overview on Codacy

soopercool101 commented 3 years ago

You should be using Equals() (likely with StringComparison.OrdinalIgnoreCase) rather than CompareTo(). Fix this and I'll merge.