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:
authorBrecht Van Lommel <brecht@blender.org>2022-05-23 23:26:27 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-05-23 23:26:27 +0300
commit770510915c7bb059e5103993850a86074af68275 (patch)
tree32efbd0aeeda8d1c905c034d2a37636943166687 /source/blender/draw
parent2655f47ca35472931fbbeb2769d06c47f236c6c6 (diff)
parentbdab538b3019406cfbd53d99bc40c4dbae27393c (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_fluid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_fluid.c b/source/blender/draw/intern/draw_fluid.c
index d3d4bbf505e..c34025ebe52 100644
--- a/source/blender/draw/intern/draw_fluid.c
+++ b/source/blender/draw/intern/draw_fluid.c
@@ -20,6 +20,8 @@
#include "BKE_colorband.h"
+#include "IMB_colormanagement.h"
+
#include "GPU_texture.h"
#include "draw_manager.h"
@@ -52,7 +54,7 @@ static void create_flame_spectrum_texture(float *data)
float *spec_pixels = (float *)MEM_mallocN(TFUNC_WIDTH * 4 * 16 * 16 * sizeof(float),
"spec_pixels");
- blackbody_temperature_to_rgb_table(data, TFUNC_WIDTH, 1500, 3000);
+ IMB_colormanagement_blackbody_temperature_to_rgb_table(data, TFUNC_WIDTH, 1500, 3000);
for (int i = 0; i < 16; i++) {
for (int j = 0; j < 16; j++) {