[Bf-blender-cvs] [d1a761c4d4c] master: Cycles: Fix compilation error of standalone application

Sergey Sharybin noreply at git.blender.org
Mon Nov 13 10:50:09 CET 2017


Commit: d1a761c4d4c0d31eb7688a5892aaa67bf73fddb6
Author: Sergey Sharybin
Date:   Mon Nov 13 10:49:05 2017 +0100
Branches: master
https://developer.blender.org/rBd1a761c4d4c0d31eb7688a5892aaa67bf73fddb6

Cycles: Fix compilation error of standalone application

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

M	intern/cycles/app/cycles_xml.cpp
M	intern/cycles/util/util_xml.h

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

diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index 3a1c7205c34..f2db9271a89 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -358,7 +358,7 @@ static void xml_read_shader(XMLReadState& state, xml_node node)
 
 /* Background */
 
-static void xml_read_background(XMLReadState& state, pugi::xml_node node)
+static void xml_read_background(XMLReadState& state, xml_node node)
 {
 	/* Background Settings */
 	xml_read_node(state, state.scene->background, node);
diff --git a/intern/cycles/util/util_xml.h b/intern/cycles/util/util_xml.h
index c9c1ea47e96..6f06f17937b 100644
--- a/intern/cycles/util/util_xml.h
+++ b/intern/cycles/util/util_xml.h
@@ -31,8 +31,10 @@ OIIO_NAMESPACE_USING
 #  define PUGIXML_NAMESPACE OIIO_NAMESPACE::pugi
 #endif
 
-using PUGIXML_NAMESPACE::xml_node;
 using PUGIXML_NAMESPACE::xml_attribute;
+using PUGIXML_NAMESPACE::xml_document;
+using PUGIXML_NAMESPACE::xml_node;
+using PUGIXML_NAMESPACE::xml_parse_result;
 
 CCL_NAMESPACE_END



More information about the Bf-blender-cvs mailing list