Moved more includes to cpp files.

This commit is contained in:
Relintai 2022-03-17 10:39:38 +01:00
parent 5997c7dc4d
commit 84d139213d
4 changed files with 12 additions and 3 deletions

View File

@ -38,6 +38,8 @@
#include "scene/gui/menu_button.h"
#include "scene/gui/panel.h"
#include "scene/main/viewport.h"
#include "scene/animation/animation_player.h"
#include "scene/3d/skeleton.h"
void AnimationTreePlayerEditor::edit(AnimationTreePlayer *p_anim_tree) {
anim_tree = p_anim_tree;

View File

@ -35,6 +35,7 @@
class World;
class Camera;
class VisibilityNotifier : public CullInstance {
GDCLASS(VisibilityNotifier, CullInstance);

View File

@ -34,6 +34,10 @@
#include "core/os/os.h"
#include "scene/scene_string_names.h"
#include "scene/3d/skeleton.h"
#include "scene/3d/spatial.h"
#include "scene/resources/animation.h"
void AnimationTreePlayer::set_animation_process_mode(AnimationProcessMode p_mode) {
if (animation_process_mode == p_mode) {
return;

View File

@ -31,11 +31,13 @@
#ifndef ANIMATION_TREE_PLAYER_H
#define ANIMATION_TREE_PLAYER_H
#include "animation_player.h"
#include "scene/3d/skeleton.h"
#include "scene/3d/spatial.h"
#include "scene/main/node.h"
#include "scene/resources/animation.h"
class Spatial;
class Skeleton;
class Animation;
class AnimationTreePlayer : public Node {
GDCLASS(AnimationTreePlayer, Node);
OBJ_CATEGORY("Animation Nodes");