From a3c90b029308eb46b7fd83a0cf7b502ecbd79d55 Mon Sep 17 00:00:00 2001
From: alexholly <alexander.holland@live.de>
Date: Sun, 4 Jun 2017 00:25:13 +0200
Subject: renamed all Rect2.pos to Rect2.position

---
 core/variant_parser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core/variant_parser.cpp')

diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp
index 55e2bb42e3..0553ba4319 100644
--- a/core/variant_parser.cpp
+++ b/core/variant_parser.cpp
@@ -1616,7 +1616,7 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
 		case Variant::RECT2: {
 
 			Rect2 aabb = p_variant;
-			p_store_string_func(p_store_string_ud, "Rect2( " + rtosfix(aabb.pos.x) + ", " + rtosfix(aabb.pos.y) + ", " + rtosfix(aabb.size.x) + ", " + rtosfix(aabb.size.y) + " )");
+			p_store_string_func(p_store_string_ud, "Rect2( " + rtosfix(aabb.position.x) + ", " + rtosfix(aabb.position.y) + ", " + rtosfix(aabb.size.x) + ", " + rtosfix(aabb.size.y) + " )");
 
 		} break;
 		case Variant::VECTOR3: {
-- 
cgit v1.2.3