Commit graph

1834 commits

Author SHA1 Message Date
Rémi Verschelde
ae258e2679 Merge pull request #7640 from volzhs/fix-scrollbar-2d-editor-3.0
Fix weird scrollbar appearance on 2D editor (3.0 master)
2017-01-25 20:39:31 +01:00
Rémi Verschelde
266fbd8c76 Merge pull request #7642 from guilhermefelipecgs/add_category
Add run/output category
[ci skip]
2017-01-25 20:17:03 +01:00
Rémi Verschelde
4b9ec15124 Merge pull request #7542 from volzhs/modulate-transparency
Show transparency and accurate color for modulate
2017-01-25 19:58:41 +01:00
Juan Linietsky
7e1afeafd4 Audio bus editing is COMPLETE! 2017-01-25 14:31:52 -03:00
Guilherme Felipe
d59d899103 Add run/output category 2017-01-25 15:13:07 -02:00
volzhs
f3d2036046 Fix weird scrollbar appearance on 2D editor (3.0 master) 2017-01-25 23:41:19 +09:00
Pedro J. Estébanez
35b7295a71 Include filesystem dock split offset in editor layouts
Cherry-picked from 2ac89f6540
2017-01-25 02:48:30 +01:00
Juan Linietsky
e8d3436508 delete bus effects is now possible 2017-01-24 20:12:23 -03:00
volzhs
92363a2afe Show transparency and accurate color for modulate 2017-01-24 21:51:08 +09:00
Juan Linietsky
87bb6cdc6f Ability to drag and drop around audio effects! 2017-01-24 00:19:31 -03:00
Juan Linietsky
3b019bf644 Ability to delete, drag and drop audio buses! 2017-01-23 23:12:41 -03:00
Juan Linietsky
0aa7242624 WIP new AudioServer, with buses, effects, etc. 2017-01-21 19:01:00 -03:00
Rémi Verschelde
c4d6e54e93 Remove Quick Filter Files and fix FS search hotkey
The new Quick Filter Files behaviour since 8b47e26 had not been implemented,
so this implements it and makes it an editor hotkey instead of a menu entry.
Fixes #7582.
2017-01-21 13:07:32 +01:00
Juan Linietsky
ee0f53df52 Merge pull request #7528 from tagcup/real_t_float_fixes
Use real_t rather than float or double in generic functions (core/mat…
2017-01-20 19:24:49 -03:00
Andreas Haas
a043ce7304
2D Editor: Don't show lock icons for hidden nodes.
Now we only draw those icons for visible Nodes.
Fixes #7518
2017-01-19 17:11:00 +01:00
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
Ferenc Arn
6f4f9aa6de Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
Also inlined some more math functions.
2017-01-16 13:36:33 -06: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