summaryrefslogtreecommitdiff
path: root/scene/3d/sprite_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/sprite_3d.cpp')
-rw-r--r--scene/3d/sprite_3d.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp
index 576f085120..52ae8fc5ab 100644
--- a/scene/3d/sprite_3d.cpp
+++ b/scene/3d/sprite_3d.cpp
@@ -211,9 +211,9 @@ AABB SpriteBase3D::get_aabb() const {
return aabb;
}
-DVector<Face3> SpriteBase3D::get_faces(uint32_t p_usage_flags) const {
+PoolVector<Face3> SpriteBase3D::get_faces(uint32_t p_usage_flags) const {
- return DVector<Face3>();
+ return PoolVector<Face3>();
}
@@ -1036,7 +1036,7 @@ void AnimatedSprite3D::_validate_property(PropertyInfo& property) const {
void AnimatedSprite3D::_notification(int p_what) {
switch(p_what) {
- case NOTIFICATION_PROCESS: {
+ case NOTIFICATION_INTERNAL_PROCESS: {
if (frames.is_null())
return;
@@ -1239,7 +1239,7 @@ void AnimatedSprite3D::_set_playing(bool p_playing) {
return;
playing=p_playing;
_reset_timeout();
- set_process(playing);
+ set_process_internal(playing);
}
bool AnimatedSprite3D::_is_playing() const {