Fix old api usage for #4185
This commit is contained in:
@@ -63,7 +63,7 @@ UICanvas::UICanvas(const SpawnParams& params)
|
||||
|
||||
#if USE_EDITOR
|
||||
|
||||
BoundingBox UICanvas::GetEditorBox() const
|
||||
BoundingBox UICanvas::GetEditorBoundingBox() const
|
||||
{
|
||||
const Vector3 size(50);
|
||||
return BoundingBox(_transform.Translation - size, _transform.Translation + size);
|
||||
|
||||
@@ -14,7 +14,7 @@ class FLAXENGINE_API UICanvas : public Actor
|
||||
public:
|
||||
// [Actor]
|
||||
#if USE_EDITOR
|
||||
BoundingBox GetEditorBox() const override;
|
||||
BoundingBox GetEditorBoundingBox() const override;
|
||||
#endif
|
||||
void Serialize(SerializeStream& stream, const void* otherObj) override;
|
||||
void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override;
|
||||
|
||||
@@ -60,7 +60,7 @@ UIControl::UIControl(const SpawnParams& params)
|
||||
|
||||
#if USE_EDITOR
|
||||
|
||||
BoundingBox UIControl::GetEditorBox() const
|
||||
BoundingBox UIControl::GetEditorBoundingBox() const
|
||||
{
|
||||
const Vector3 size(50);
|
||||
return BoundingBox(_transform.Translation - size, _transform.Translation + size);
|
||||
|
||||
@@ -18,7 +18,7 @@ private:
|
||||
public:
|
||||
// [Actor]
|
||||
#if USE_EDITOR
|
||||
BoundingBox GetEditorBox() const override;
|
||||
BoundingBox GetEditorBoundingBox() const override;
|
||||
#endif
|
||||
void Serialize(SerializeStream& stream, const void* otherObj) override;
|
||||
void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override;
|
||||
|
||||
Reference in New Issue
Block a user