Sending Blender logs to /dev/null - Typo corrected
This commit is contained in:
parent
b11e4557c5
commit
156037b2b7
1 changed files with 7 additions and 7 deletions
|
@ -3,11 +3,11 @@ BLENDFILES := $(foreach file, $(BLENDFILES_FOLDER), $(basename $(notdir $(wildca
|
||||||
BLENDFILES_SUFFIX := $(foreach file, $(BLENDFILES), $(addsuffix $(file), _))
|
BLENDFILES_SUFFIX := $(foreach file, $(BLENDFILES), $(addsuffix $(file), _))
|
||||||
TARGET := $(foreach file, $(TEXTURESETS), $(addprefix $(file), $(BLENDFILES_SUFFIX)))
|
TARGET := $(foreach file, $(TEXTURESETS), $(addprefix $(file), $(BLENDFILES_SUFFIX)))
|
||||||
TARGET := $(foreach file, $(TARGET), $(addsuffix .png, $(file)))
|
TARGET := $(foreach file, $(TARGET), $(addsuffix .png, $(file)))
|
||||||
TARGET := $(foreach file, $(TARGET), $(addprefix $(BUILD_FOLDER)/, $(file)))
|
TARGET := $(foreach file, $(TARGET), $(addprefix $(PREVIEW_FOLDER)/, $(file)))
|
||||||
|
|
||||||
RENDERS := $(foreach file, $(BLENDFILES_SUFFIX), $(addprefix %, $(file)))
|
RENDERS := $(foreach file, $(BLENDFILES_SUFFIX), $(addprefix %, $(file)))
|
||||||
RENDERS := $(foreach file, $(RENDERS), $(addsuffix .png, $(file)))
|
RENDERS := $(foreach file, $(RENDERS), $(addsuffix .png, $(file)))
|
||||||
RENDERS := $(foreach file, $(RENDERS), $(addprefix $(BUILD_FOLDER)/, $(file)))
|
RENDERS := $(foreach file, $(RENDERS), $(addprefix $(PREVIEW_FOLDER)/, $(file)))
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
@ -33,14 +33,14 @@ $(RENDERS): $(TEXTURESET_FOLDER)/%
|
||||||
for blendname in $$blender_render_files;\
|
for blendname in $$blender_render_files;\
|
||||||
do echo "blendname :" $$blendname;\
|
do echo "blendname :" $$blendname;\
|
||||||
destination=$$(echo $$presetname"_"$$blendname.png);\
|
destination=$$(echo $$presetname"_"$$blendname.png);\
|
||||||
echo "destination :"$(BUILD_FOLDER)"/"$$destination;\
|
echo "destination :"$(PREVIEW_FOLDER)"/"$$destination;\
|
||||||
blendfile=$$(echo "blenderfiles/"$$rendertype"/"$$blendname".blend");\
|
blendfile=$$(echo "blenderfiles/"$$rendertype"/"$$blendname".blend");\
|
||||||
echo "blendfile :" $$blendfile;\
|
echo "blendfile :" $$blendfile;\
|
||||||
mkdir --parents render;\
|
mkdir --parents render;\
|
||||||
echo "Rendering "$(BUILD_FOLDER)/$$destination;\
|
echo "Rendering "$(PREVIEW_FOLDER)/$$destination;\
|
||||||
$(BLENDEREXEC) -b $$blendfile --render-output //../../render/render##.png -f 1 --addons > nul 2>&1;\
|
$(BLENDEREXEC) -b $$blendfile --render-output //../../render/render##.png -f 1 --addons > /dev/null 2>&1;\
|
||||||
mkdir --parents $(BUILD_FOLDER);\
|
mkdir --parents $(PREVIEW_FOLDER);\
|
||||||
composite -compose atop -gravity southeast -dissolve 90% $(LOGO) render/render01.png $(BUILD_FOLDER)/$$destination;\
|
composite -compose atop -gravity southeast -dissolve 90% $(LOGO) render/render01.png $(PREVIEW_FOLDER)/$$destination;\
|
||||||
done
|
done
|
||||||
# Clean the subfolder with temp textures
|
# Clean the subfolder with temp textures
|
||||||
@ rm -Rf blenderfiles/textures
|
@ rm -Rf blenderfiles/textures
|
||||||
|
|
Loading…
Reference in a new issue