mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Update make_rst.py to match the master version
This does not include master-specific concepts, like
constructors, operators, annotations, and bitfields.
(cherry picked from commit 0f24d6ecf7
)
This commit is contained in:
parent
08f4e2b835
commit
e21c8fdd35
@ -1053,7 +1053,7 @@
|
||||
The minimum size of the window in pixels (without counting window manager decorations). Does not affect fullscreen mode. Set to [code](0, 0)[/code] to reset to the system's default value.
|
||||
[b]Note:[/b] By default, the project window has a minimum size of [code]Vector2(64, 64)[/code]. This prevents issues that can arise when the window is resized to a near-zero size.
|
||||
</member>
|
||||
<member name="screen_orientation" type="int" setter="set_screen_orientation" getter="get_screen_orientation" enum="_OS.ScreenOrientation" default="0">
|
||||
<member name="screen_orientation" type="int" setter="set_screen_orientation" getter="get_screen_orientation" enum="OS.ScreenOrientation" default="0">
|
||||
The current screen orientation.
|
||||
</member>
|
||||
<member name="tablet_driver" type="String" setter="set_current_tablet_driver" getter="get_current_tablet_driver" default="""">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -369,6 +369,9 @@ void DocData::generate(bool p_basic_types) {
|
||||
found_type = true;
|
||||
if (retinfo.type == Variant::INT && retinfo.usage & PROPERTY_USAGE_CLASS_IS_ENUM) {
|
||||
prop.enumeration = retinfo.class_name;
|
||||
if (prop.enumeration.begins_with("_")) { //proxy class
|
||||
prop.enumeration = prop.enumeration.substr(1, prop.enumeration.length());
|
||||
}
|
||||
prop.type = "int";
|
||||
} else if (retinfo.class_name != StringName()) {
|
||||
prop.type = retinfo.class_name;
|
||||
|
Loading…
Reference in New Issue
Block a user