Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
87917e76
Commit
87917e76
authored
Aug 27, 2017
by
Poommetee Ketson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Viewport: fix 'size' binding from Rect2 to Vector2
parent
a6e37ae2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
viewport.cpp
scene/main/viewport.cpp
+1
-1
No files found.
scene/main/viewport.cpp
View file @
87917e76
...
...
@@ -2735,7 +2735,7 @@ void Viewport::_bind_methods() {
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
BOOL
,
"arvr"
),
"set_use_arvr"
,
"use_arvr"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
RECT
2
,
"size"
),
"set_size"
,
"get_size"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
VECTOR
2
,
"size"
),
"set_size"
,
"get_size"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
BOOL
,
"own_world"
),
"set_use_own_world"
,
"is_using_own_world"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
OBJECT
,
"world"
,
PROPERTY_HINT_RESOURCE_TYPE
,
"World"
),
"set_world"
,
"get_world"
);
//ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"world_2d",PROPERTY_HINT_RESOURCE_TYPE,"World2D"), "set_world_2d", "get_world_2d") ;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment