diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-12-31 15:53:48 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-12-31 15:53:48 +0300 |
commit | 7ed83e0bee3899a74d14eafeb30cd4c0e7f08a83 (patch) | |
tree | 11f31f59cfeec56eda8915849ca1171e38342ca8 /source/blender/simulations/bparticles | |
parent | 06e7d91f55322e476aa297217377bc1cbc4e97e6 (diff) |
Move inlined node tree to functions folder
Diffstat (limited to 'source/blender/simulations/bparticles')
-rw-r--r-- | source/blender/simulations/bparticles/c_wrapper.cpp | 2 | ||||
-rw-r--r-- | source/blender/simulations/bparticles/node_frontend.cpp | 16 | ||||
-rw-r--r-- | source/blender/simulations/bparticles/node_frontend.hpp | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/simulations/bparticles/c_wrapper.cpp b/source/blender/simulations/bparticles/c_wrapper.cpp index 364aab2cc7f..139d62cea10 100644 --- a/source/blender/simulations/bparticles/c_wrapper.cpp +++ b/source/blender/simulations/bparticles/c_wrapper.cpp @@ -9,7 +9,7 @@ #include "BKE_mesh.h" #include "BKE_customdata.h" -#include "BKE_inlined_node_tree.h" +#include "FN_node_tree.h" #include "DEG_depsgraph_query.h" diff --git a/source/blender/simulations/bparticles/node_frontend.cpp b/source/blender/simulations/bparticles/node_frontend.cpp index 76936637054..71c3761e700 100644 --- a/source/blender/simulations/bparticles/node_frontend.cpp +++ b/source/blender/simulations/bparticles/node_frontend.cpp @@ -1,4 +1,3 @@ -#include "BKE_inlined_node_tree.h" #include "BKE_deform.h" #include "BKE_surface_hook.h" #include "BKE_id_data_cache.h" @@ -11,6 +10,7 @@ #include "BLI_set.h" #include "BLI_lazy_init_cxx.h" +#include "FN_node_tree.h" #include "FN_multi_functions.h" #include "FN_generic_tuple.h" #include "FN_inlined_tree_multi_function_network_generation.h" @@ -29,11 +29,6 @@ namespace BParticles { using BKE::IDDataCache; using BKE::IDHandleLookup; using BKE::ObjectIDHandle; -using BKE::XGroupInput; -using BKE::XInputSocket; -using BKE::XNode; -using BKE::XOutputSocket; -using BKE::XSocket; using BLI::destruct_ptr; using BLI::MultiMap; using BLI::ResourceCollector; @@ -47,6 +42,11 @@ using FN::MFInputSocket; using FN::MFOutputSocket; using FN::MultiFunction; using FN::NamedGenericTupleRef; +using FN::XGroupInput; +using FN::XInputSocket; +using FN::XNode; +using FN::XOutputSocket; +using FN::XSocket; static StringRef particle_system_idname = "fn_ParticleSystemNode"; static StringRef combine_influences_idname = "fn_CombineInfluencesNode"; @@ -706,7 +706,7 @@ class XNodeInfluencesBuilder { { std::stringstream ss; ss << "private/node"; - for (const BKE::XParentNode *parent = m_xnode.parent(); parent; parent = parent->parent()) { + for (const FN::XParentNode *parent = m_xnode.parent(); parent; parent = parent->parent()) { ss << "/" << parent->vnode().name(); } ss << "/" << m_xnode.name(); @@ -1104,7 +1104,7 @@ static void collect_influences(InlinedTreeData &inlined_tree_data, class NodeTreeStepSimulator : public StepSimulator { private: - BKE::BTreeVTreeMap m_inlined_trees; + FN::BTreeVTreeMap m_inlined_trees; InlinedNodeTree m_inlined_tree; public: diff --git a/source/blender/simulations/bparticles/node_frontend.hpp b/source/blender/simulations/bparticles/node_frontend.hpp index c7b7d702329..b126ba68ab9 100644 --- a/source/blender/simulations/bparticles/node_frontend.hpp +++ b/source/blender/simulations/bparticles/node_frontend.hpp @@ -1,13 +1,13 @@ #pragma once -#include "BKE_inlined_node_tree.h" +#include "FN_node_tree.h" #include "world_state.hpp" #include "step_simulator.hpp" namespace BParticles { -using BKE::InlinedNodeTree; +using FN::InlinedNodeTree; std::unique_ptr<StepSimulator> simulator_from_node_tree(bNodeTree *btree); |