Kode / khamake

Kha's build tool.
http://kha.tech
15 stars 45 forks source link

--parallelAssetConversion: fix value parsing #262

Closed MoritzBrueckner closed 1 year ago

MoritzBrueckner commented 1 year ago

The value of the --parallelAssetConversion option was treated as a string, which did not work for the === -1 comparison that enables the automatic processes amount.

I'm not sure why it worked for positive values before since they were strings as well. Perhaps Throttle.all() (called by the assets and shader conversion code) can convert strings, but we shouldn't rely on that.