Adding deleting old version of textures files when a material is changed
This commit is contained in:
parent
69488b37c9
commit
ac063d1c82
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -55,6 +55,10 @@ $(SBSAR_DIR)/%.sbsar: $(SBS_DIR)/%.sbs
|
||||||
pngfiles="";\
|
pngfiles="";\
|
||||||
material=$$(basename $@ ".sbsar");\
|
material=$$(basename $@ ".sbsar");\
|
||||||
echo "material :"$$material;\
|
echo "material :"$$material;\
|
||||||
|
echo "Cleaning old entries from the material :"$$material;\
|
||||||
|
rm -Rf $(PNG1024_DIR)/$${material}*;\
|
||||||
|
rm -Rf $(PNG512_DIR)/$${material}*;\
|
||||||
|
rm -Rf $(PNG256_DIR)/$${material}*;\
|
||||||
for preset in $(PRESETLIST) ; do \
|
for preset in $(PRESETLIST) ; do \
|
||||||
echo "- Preset" $$preset; \
|
echo "- Preset" $$preset; \
|
||||||
listitem="";\
|
listitem="";\
|
||||||
|
|
Loading…
Reference in a new issue