aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/portal.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-11 00:52:51 -0300
committerJuan Linietsky2017-01-11 00:52:51 -0300
commitbc26f905817945300d397696330d1ab04a1af33c (patch)
treed06338399c8ea410042f6631fb3db3efcc100b05 /scene/3d/portal.cpp
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
downloadgodot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz
godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst
godot-bc26f905817945300d397696330d1ab04a1af33c.zip
Diffstat (limited to 'scene/3d/portal.cpp')
-rw-r--r--scene/3d/portal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/portal.cpp b/scene/3d/portal.cpp
index e4c03a78e..054b61a4e 100644
--- a/scene/3d/portal.cpp
+++ b/scene/3d/portal.cpp
@@ -88,7 +88,7 @@ bool Portal::_get(const StringName& p_name,Variant &r_ret) const {
void Portal::_get_property_list( List<PropertyInfo> *p_list) const {
- p_list->push_back( PropertyInfo( Variant::REAL_ARRAY, "shape" ) );
+ p_list->push_back( PropertyInfo( Variant::POOL_REAL_ARRAY, "shape" ) );
p_list->push_back( PropertyInfo( Variant::BOOL, "enabled" ) );
p_list->push_back( PropertyInfo( Variant::REAL, "disable_distance",PROPERTY_HINT_RANGE,"0,4096,0.01" ) );
p_list->push_back( PropertyInfo( Variant::COLOR, "disabled_color") );
@@ -98,7 +98,7 @@ void Portal::_get_property_list( List<PropertyInfo> *p_list) const {
-AABB Portal::get_aabb() const {
+Rect3 Portal::get_aabb() const {
return aabb;
}