Cleanup: move MOD_nodes.h to C++
All files that use it are in C++ now.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "BKE_node_tree_anonymous_attributes.hh"
|
||||
#include "BKE_node_tree_update.h"
|
||||
|
||||
#include "MOD_nodes.h"
|
||||
#include "MOD_nodes.hh"
|
||||
|
||||
#include "NOD_node_declaration.hh"
|
||||
#include "NOD_socket.hh"
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
#include "ED_screen.h"
|
||||
#include "ED_view3d.h"
|
||||
|
||||
#include "MOD_nodes.h"
|
||||
#include "MOD_nodes.hh"
|
||||
|
||||
#include "object_intern.h"
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "WM_api.h"
|
||||
#include "WM_types.h"
|
||||
|
||||
#include "MOD_nodes.h"
|
||||
#include "MOD_nodes.hh"
|
||||
|
||||
const EnumPropertyItem rna_enum_object_modifier_type_items[] = {
|
||||
RNA_ENUM_ITEM_HEADING(N_("Modify"), nullptr),
|
||||
|
||||
@@ -103,7 +103,7 @@ set(SRC
|
||||
intern/MOD_wireframe.cc
|
||||
|
||||
MOD_modifiertypes.hh
|
||||
MOD_nodes.h
|
||||
MOD_nodes.hh
|
||||
intern/MOD_meshcache_util.hh
|
||||
intern/MOD_solidify_util.hh
|
||||
intern/MOD_ui_common.hh
|
||||
|
||||
@@ -7,17 +7,9 @@
|
||||
struct NodesModifierData;
|
||||
struct Object;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Rebuild the list of properties based on the sockets exposed as the modifier's node group
|
||||
* inputs. If any properties correspond to the old properties by name and type, carry over
|
||||
* the values.
|
||||
*/
|
||||
void MOD_nodes_update_interface(struct Object *object, struct NodesModifierData *nmd);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
void MOD_nodes_update_interface(Object *object, NodesModifierData *nmd);
|
||||
@@ -78,7 +78,7 @@
|
||||
#include "DEG_depsgraph_query.h"
|
||||
|
||||
#include "MOD_modifiertypes.hh"
|
||||
#include "MOD_nodes.h"
|
||||
#include "MOD_nodes.hh"
|
||||
#include "MOD_ui_common.hh"
|
||||
|
||||
#include "ED_object.h"
|
||||
|
||||
Reference in New Issue
Block a user