forked from blender/blender
Fix linux build #33
@ -430,8 +430,7 @@ NodeItem NodeItem::atan() const
|
||||
|
||||
NodeItem NodeItem::atan2(const NodeItem &other) const
|
||||
{
|
||||
return to_vector().arithmetic(
|
||||
other, "atan2", [](float a, float b) { return std::atan2(a, b); });
|
||||
return to_vector().arithmetic(other, "atan2", [](float a, float b) { return std::atan2(a, b); });
|
||||
}
|
||||
|
||||
NodeItem NodeItem::sinh() const
|
||||
|
@ -18,7 +18,7 @@ extern struct CLG_LogRef *LOG_MATERIALX_SHADER;
|
||||
|
||||
class GroupNodeParser;
|
||||
|
||||
using ExportImageFunction = std::function<std::string(Main *,Scene *, Image *, ImageUser *)>;
|
||||
using ExportImageFunction = std::function<std::string(Main *, Scene *, Image *, ImageUser *)>;
|
||||
|
||||
/**
|
||||
* This is base abstraction class for parsing Blender nodes into MaterialX nodes.
|
||||
@ -123,8 +123,7 @@ struct NodeParserData {
|
||||
void node_shader_materialx(void *data, struct bNode *node, struct bNodeSocket *out) \
|
||||
{ \
|
||||
materialx::NodeParserData *d = reinterpret_cast<materialx::NodeParserData *>(data); \
|
||||
d->result = MaterialXNodeParser( \
|
||||
d->graph, \
|
||||
d->result = MaterialXNodeParser(d->graph, \
|
||||
d->depsgraph, \
|
||||
d->material, \
|
||||
node, \
|
||||
|
Loading…
Reference in New Issue
Block a user