Buildables: textures only converted for first model after clean when multiple models #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
unforeseen-consequences/tools#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This probably due to the textures being converted as a prerequisite of
compile-model-dependencies:codeberg.org/unforeseen-consequences/tools@4f00402d23/mk/buildable/presets/model.mk (L71)This unfortunately means it'll get run right before the first model is compiled, but that's before the next model has a chance to process its textures before conversion.
I worked around this in the crowbar by hooking into
before-build:codeberg.org/unforeseen-consequences/models-weapons-crowbar@d76e922120/source/mk/10_w_crowbar.mk (L54)This should be ported over to tools and standardised.