Merge branch 'master' into blender2.8
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
|
||||
#include "BLI_compiler_attrs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct BLI_Stack BLI_Stack;
|
||||
|
||||
BLI_Stack *BLI_stack_new_ex(
|
||||
@@ -55,4 +59,8 @@ size_t BLI_stack_count(const BLI_Stack *stack) ATTR_WARN_UNUSED_RESULT ATTR_NONN
|
||||
|
||||
bool BLI_stack_is_empty(const BLI_Stack *stack) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __BLI_STACK_H__ */
|
||||
|
||||
@@ -36,10 +36,7 @@
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_stack.h"
|
||||
}
|
||||
|
||||
#include "intern/depsgraph.h"
|
||||
#include "intern/depsgraph_types.h"
|
||||
|
||||
@@ -33,10 +33,8 @@
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_stack.h"
|
||||
}
|
||||
|
||||
#include "util/deg_util_foreach.h"
|
||||
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_action_types.h"
|
||||
#include "DNA_anim_types.h"
|
||||
#include "DNA_armature_types.h"
|
||||
@@ -93,13 +93,13 @@ extern "C" {
|
||||
#include "BKE_tracking.h"
|
||||
#include "BKE_world.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_types.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/nodes/deg_node.h"
|
||||
#include "intern/nodes/deg_node_component.h"
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_anim_types.h"
|
||||
#include "DNA_armature_types.h"
|
||||
#include "DNA_constraint_types.h"
|
||||
@@ -49,10 +49,10 @@ extern "C" {
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_armature.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/nodes/deg_node.h"
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_node_types.h"
|
||||
#include "DNA_layer_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
@@ -50,10 +50,10 @@ extern "C" {
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_node.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/nodes/deg_node.h"
|
||||
|
||||
@@ -33,10 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
}
|
||||
|
||||
namespace DEG {
|
||||
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_action_types.h"
|
||||
#include "DNA_anim_types.h"
|
||||
#include "DNA_armature_types.h"
|
||||
@@ -92,13 +92,13 @@ extern "C" {
|
||||
#include "BKE_tracking.h"
|
||||
#include "BKE_world.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_types.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/builder/deg_builder_pchanmap.h"
|
||||
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_action_types.h"
|
||||
#include "DNA_anim_types.h"
|
||||
#include "DNA_armature_types.h"
|
||||
@@ -51,10 +51,10 @@ extern "C" {
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_armature.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/builder/deg_builder_pchanmap.h"
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_node_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
@@ -49,10 +49,10 @@ extern "C" {
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_node.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/builder/deg_builder_pchanmap.h"
|
||||
|
||||
@@ -30,9 +30,7 @@
|
||||
|
||||
#include "intern/builder/deg_builder_transitive.h"
|
||||
|
||||
extern "C" {
|
||||
#include "MEM_guardedalloc.h"
|
||||
}
|
||||
|
||||
#include "intern/nodes/deg_node.h"
|
||||
#include "intern/nodes/deg_node_component.h"
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_listBase.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_debug.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/depsgraph_intern.h"
|
||||
#include "util/deg_util_foreach.h"
|
||||
|
||||
@@ -34,12 +34,6 @@
|
||||
|
||||
// #define DEBUG_TIME
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_cachefile_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_object_force.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
@@ -48,17 +42,22 @@ extern "C" {
|
||||
# include "PIL_time_utildefines.h"
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_cachefile_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_object_force.h"
|
||||
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_collision.h"
|
||||
#include "BKE_effect.h"
|
||||
#include "BKE_modifier.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_debug.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
|
||||
} /* extern "C" */
|
||||
|
||||
#include "builder/deg_builder.h"
|
||||
#include "builder/deg_builder_cycle.h"
|
||||
#include "builder/deg_builder_nodes.h"
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_scene_types.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_debug.h"
|
||||
#include "DEG_depsgraph_build.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/eval/deg_eval_debug.h"
|
||||
#include "intern/depsgraph_intern.h"
|
||||
|
||||
@@ -32,16 +32,14 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BKE_scene.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/eval/deg_eval.h"
|
||||
#include "intern/eval/deg_eval_flush.h"
|
||||
|
||||
@@ -38,13 +38,13 @@ extern "C" {
|
||||
#include "BKE_idcode.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_main.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
#include "DEG_depsgraph_query.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/depsgraph_intern.h"
|
||||
#include "util/deg_util_foreach.h"
|
||||
|
||||
@@ -34,16 +34,16 @@
|
||||
#include <cstring> /* required for memset */
|
||||
#include <queue>
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_task.h"
|
||||
#include "BLI_listbase.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_particle_types.h"
|
||||
#include "DNA_screen_types.h"
|
||||
#include "DNA_windowmanager_types.h"
|
||||
|
||||
#include "BLI_task.h"
|
||||
#include "BLI_listbase.h"
|
||||
|
||||
#include "BKE_idcode.h"
|
||||
#include "BKE_library.h"
|
||||
@@ -54,9 +54,9 @@ extern "C" {
|
||||
#define new new_
|
||||
#include "BKE_screen.h"
|
||||
#undef new
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/builder/deg_builder.h"
|
||||
#include "intern/eval/deg_eval_flush.h"
|
||||
|
||||
@@ -32,12 +32,11 @@
|
||||
|
||||
#include <cstdlib> // for BLI_assert()
|
||||
|
||||
extern "C" {
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "intern/nodes/deg_node.h"
|
||||
#include "intern/nodes/deg_node_component.h"
|
||||
|
||||
@@ -34,15 +34,11 @@
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_task.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "BKE_global.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "atomic_ops.h"
|
||||
|
||||
|
||||
@@ -34,16 +34,16 @@
|
||||
|
||||
#include <cstring> /* required for STREQ later on. */
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "DEG_depsgraph_debug.h"
|
||||
|
||||
extern "C" {
|
||||
#include "WM_api.h"
|
||||
#include "WM_types.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph_debug.h"
|
||||
|
||||
#include "intern/nodes/deg_node.h"
|
||||
#include "intern/nodes/deg_node_component.h"
|
||||
#include "intern/nodes/deg_node_operation.h"
|
||||
|
||||
@@ -35,16 +35,16 @@
|
||||
// TODO(sergey): Use some sort of wrapper.
|
||||
#include <deque>
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_task.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
extern "C" {
|
||||
#include "DNA_object_types.h"
|
||||
} /* extern "C" */
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
#include "intern/nodes/deg_node.h"
|
||||
#include "intern/nodes/deg_node_component.h"
|
||||
#include "intern/nodes/deg_node_operation.h"
|
||||
|
||||
@@ -41,9 +41,9 @@ extern "C" {
|
||||
#include "DNA_anim_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
}
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
}
|
||||
|
||||
#include "intern/nodes/deg_node_component.h"
|
||||
#include "intern/nodes/deg_node_operation.h"
|
||||
|
||||
@@ -33,10 +33,10 @@
|
||||
#include <stdio.h>
|
||||
#include <cstring> /* required for STREQ later on. */
|
||||
|
||||
extern "C" {
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
extern "C" {
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
|
||||
Reference in New Issue
Block a user