Fix for hard-coded #include file paths.

This commit is contained in:
Tamito Kajiyama 2014-06-27 16:00:22 +09:00
parent db6d2a6fe1
commit ea1f54d8f3
1 changed files with 3 additions and 4 deletions

View File

@ -30,6 +30,8 @@
extern "C" {
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "DNA_camera_types.h"
#include "DNA_listBase.h"
#include "DNA_material_types.h"
@ -53,9 +55,6 @@ extern "C" {
#include "RE_pipeline.h"
#include "C:\bf-blender\blender.git\source\blender\nodes\NOD_shader.h"
#include "C:\bf-blender\blender.git\source\blender\makesrna\RNA_access.h"
#include "render_types.h"
}
@ -269,7 +268,7 @@ void BlenderStrokeRenderer::RenderStrokeRep(StrokeRep *iStrokeRep) const
BLI_assert(BKE_scene_use_new_shading_nodes(freestyle_scene));
ntree = ntreeAddTree(NULL, "Shader Nodetree", ntreeType_Shader->idname);
ntree = ntreeAddTree(NULL, "stroke_material", "ShaderNodeTree");
ma->nodetree = ntree;
ma->use_nodes = 1;