Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-06-07 11:52:38 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-06-07 11:52:38 +0300
commit4637f3e83c3427ee76aed19656f7d4efb1169463 (patch)
tree1f107a072ebb3e6cbd0ce2ff8acdcc7e8397354e /source/blender/gpu/intern/gpu_material.c
parentdcbbdc89ead67a1436d565d22f07335881162730 (diff)
parent58d350b4892dcaabfcd730fbc0d8d90b90b55ccc (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r--source/blender/gpu/intern/gpu_material.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 23028f58059..808a8ccd955 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -750,6 +750,9 @@ void GPU_material_compile(GPUMaterial *mat)
mat->status = GPU_MAT_SUCCESS;
gpu_node_graph_free_nodes(&mat->graph);
}
+ else {
+ mat->status = GPU_MAT_FAILED;
+ }
}
else {
mat->status = GPU_MAT_FAILED;