[Bf-blender-cvs] [c20098e6ec6] master: Cleanup: Add missing include

Aaron Carlisle noreply at git.blender.org
Sun Dec 5 19:33:22 CET 2021


Commit: c20098e6ec6adee874a12e510aa4a56d89f92838
Author: Aaron Carlisle
Date:   Sun Dec 5 13:33:15 2021 -0500
Branches: master
https://developer.blender.org/rBc20098e6ec6adee874a12e510aa4a56d89f92838

Cleanup: Add missing include

Fixes compilation errors after rBd5efda72f501
Re sorted some includes.

===================================================================

M	source/blender/nodes/shader/nodes/node_shader_particle_info.cc
M	source/blender/render/RE_texture.h

===================================================================

diff --git a/source/blender/nodes/shader/nodes/node_shader_particle_info.cc b/source/blender/nodes/shader/nodes/node_shader_particle_info.cc
index b739997a37d..8f8ff077e74 100644
--- a/source/blender/nodes/shader/nodes/node_shader_particle_info.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_particle_info.cc
@@ -18,6 +18,7 @@
  */
 
 #include "RE_texture.h"
+
 #include "node_shader_util.hh"
 
 static bNodeSocketTemplate outputs[] = {
diff --git a/source/blender/render/RE_texture.h b/source/blender/render/RE_texture.h
index 39d773777ab..6b499c9d230 100644
--- a/source/blender/render/RE_texture.h
+++ b/source/blender/render/RE_texture.h
@@ -22,6 +22,8 @@
 
 #pragma once
 
+#include "BLI_compiler_attrs.h"
+
 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
 /* this include is for non-render pipeline exports (still old cruft here) */
 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */



More information about the Bf-blender-cvs mailing list