Ray Koopa
faa13adad3
Fix editor method calls to is_visible for Spatial and CanvasItem and is_visible itself for Spatial
2017-01-18 22:00:00 +01:00
Daniel J. Ramirez
26d8ee0308
Added some missing icons and modified others
2017-01-16 23:09:16 -06:00
Daniel J. Ramirez
949d4208ed
icon fixes
2017-01-16 20:08:38 -06:00
Rémi Verschelde
23eb355ebb
Merge pull request #7562 from RandomShaper/ordered-image-group-files
...
Make image-groups map in export.cfg ordered
2017-01-16 21:05:16 +01:00
Pedro J. Estébanez
7576476705
Make image-groups map in export.cfg ordered
...
This improves the VCS experience because otherwise they change their order everytime producing spurious changes.
2017-01-16 20:22:35 +01:00
Rémi Verschelde
3000c2d967
Merge pull request #7540 from volzhs/default-rot
...
Change camera default rotation
2017-01-16 20:08:37 +01:00
Rémi Verschelde
af871d22e2
Merge pull request #7536 from GodotExplorer/pr-copy-node-path
...
Add 'Copy Node Path' action to right mouse menu
2017-01-16 20:07:03 +01:00
volzhs
0ecf7f7ca0
Change camera default rotation
2017-01-17 02:23:23 +09:00
Rémi Verschelde
2a0ddc1e89
Style: Various fixes to play nice with clang-format
2017-01-16 08:49:52 +01:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01:00
Rémi Verschelde
40323407df
Style: No break before list brace
...
clang-format does not handle that well *at all*.
For the reference, found the relevant pieces of code with:
`ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-16 08:48:24 +01:00
Rémi Verschelde
3890256fc5
Style: Cleanups, added headers, renamed files
...
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.
Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Juan Linietsky
b400c69cd4
Oops! Audio engine has vanished :D
2017-01-15 16:07:51 -03:00
Franklin Sobrinho
b24b52d56b
Add a API to add/remove items to the "Tools" menu
2017-01-15 16:42:24 +01:00
Juan Linietsky
a7854d3ae6
2D and 3D viewport are working again :D
2017-01-15 09:50:27 -03:00
Geequlim
65db43d5ae
Add 'Copy Node Path' action to right mouse menu
2017-01-15 18:56:37 +08:00
Juan Linietsky
5dde810aa5
no more errors related to missing GlobalConfig::Get (or so I hope)
2017-01-14 21:57:22 -03:00
Wilhem Barbier
a1d07fd6d6
Allow closing a script tab without saving
2017-01-15 00:35:52 +01:00
Rémi Verschelde
fe8459ac3b
Merge pull request #7515 from kbake/issue7433
...
Use Animation's Name as Filename When Saving
2017-01-15 00:29:04 +01:00
Daniel Ramirez
1d7d8e1674
Added missing icons ( #7514 )
2017-01-15 00:28:12 +01:00
Juan Linietsky
94609305a0
Merge pull request #6519 from RandomShaper/enhance-tileset
...
Add modulate (color) to TileSet tiles
2017-01-14 16:52:16 -03:00
kbake
a533402695
Will now try to use the existing animation's name for filename, defaults to previous value in case there's no name
2017-01-14 14:45:42 -05:00
Juan Linietsky
dcb95ec147
removed duplicated functions in class hierarchy that were bound more than once
...
added a check to detect this case in the future
2017-01-14 11:10:42 -03:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Rémi Verschelde
7b9f2d9929
Finish renaming *Frame GUI classes to *Rect
...
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Juan Linietsky
d9d77291bc
rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
2017-01-14 00:51:09 -03:00
Juan Linietsky
6e88b1096a
Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method naming
2017-01-13 20:00:43 -03:00
Juan Linietsky
00ec16e3f3
renamed tween animationplayer scale functions to speed_scale
2017-01-13 19:36:04 -03:00
Rémi Verschelde
f19fd7a4c1
Reenable node name case setting + code cleanups
...
The method _generate_serial_child_name is indeed called relatively often
in editor mode, but that commented out code chunk hardly adds to its
slowness (and with the default setting, not at all).
Also did various related code cleanups and simplifications.
2017-01-13 22:38:43 +01:00
Juan Linietsky
e53c247cb1
Created new Engine singleton, and moved engine related OS functions to it.
2017-01-13 12:51:14 -03:00
Juan Linietsky
04c749a1f0
New API for visibility in both CanvasItem and Spatial
...
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky
da477b76a9
some class renames
...
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00
Rémi Verschelde
942a9d9a20
Merge pull request #7505 from Paulb23/theme_color_fix
...
Colour theme fixes
2017-01-12 12:54:55 +01:00
Paulb23
e6a44fea05
Fix current script background color
2017-01-12 11:45:37 +00:00
Paulb23
d0ceefb1d7
Fix text editor theme saving and loading
2017-01-12 11:40:04 +00:00
Juan Linietsky
35b404ba08
Unify naming of blendshape / morphtarget into just "Blend Shape"
2017-01-12 08:34:00 -03:00
Juan Linietsky
83cb84753f
Renamed most signals so they refer to:
...
-An action being requested to the user in present tense: (ie, draw, gui_input, etc)
-A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-12 00:51:08 -03:00
Rémi Verschelde
a23ffb82bb
Dehardcode version major in editor settings
...
Follow-up on 7474fc133a
.
2017-01-11 22:40:51 +01:00
Juan Linietsky
a29f942c6b
removed stray hash
2017-01-11 16:54:44 -03:00
Juan Linietsky
7474fc133a
Editor settings file is now versioned
2017-01-11 16:52:21 -03:00
Rémi Verschelde
42802ab9dc
Merge pull request #6930 from bojidar-bg/gdscript-export-array-hint
...
Allow typing hints for Array class (in GDScript and Inspector)
2017-01-11 14:46:38 +01:00
Juan Linietsky
e6583117df
Both Array and Dictionary are always in shared mode (removed copy on write).
2017-01-11 08:54:17 -03:00
Juan Linietsky
bc26f90581
Type renames:
...
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky
6671670e81
Merge pull request #7445 from tagcup/2d_math_fixes
...
Various corrections in 2D math.
2017-01-10 22:25:45 -03:00
Juan Linietsky
0acd4fccd5
Merge pull request #7438 from tagcup/matrix3_rotate_fix
...
Fix the order in which additional transformations are applied
2017-01-10 22:22:56 -03:00
Juan Linietsky
4338c90163
It is now possible to name layers of different kinds!
2017-01-10 22:20:57 -03:00
Ferenc Arn
f271591ac2
Various corrections in 2D math.
...
This is the follow up for the 2D changes mentioned in PR #6865 . It fixes various mistakes regarding the order of matrix indices, order of transformation operations, usage of atan2 function and ensures that the sense of rotation is compatible with a left-handed coordinate system with Y-axis pointing down (which flips the sense of rotations along the z-axis). Also replaced float with real_t, and tried to make use of Matrix32 methods rather than accessing its elements directly.
Affected code in the Godot code base is also fixed in this commit.
The user code using functions involving angles such as atan2, angle_to, get_rotation, set_rotation will need to be updated to conform with the new behavior. Furthermore, the sign of the rotation angles in existing 2D scene files need to be flipped as well.
2017-01-10 10:14:20 -06:00
lonesurvivor
8fbd47c377
FileSystemDock: Collapse folders by default, add context menu with "Expand all" / "Collapse all" option.
2017-01-10 15:37:38 +01:00
Juan Linietsky
48097f6df3
Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
2017-01-10 01:49:55 -03:00
Juan Linietsky
a503f8aadc
Groundbreaking!! Godot resources can now be flagged to be local to the scene being edited!
...
This means that each time this scene is instanced, the resource will be unique!
As such, thanks to this, the following features were implemented:
-ButtonGroup is no longer a control, it's now a resource local to the scene
-ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-10 01:07:03 -03:00