Rémi Verschelde
3ceefab232
Merge pull request #8020 from karroffel/class-db-inconsistency
...
fixed ClassDB inconsistencies
2017-03-15 19:09:43 +01:00
Karroffel
6ab3213a55
fixed ClassDB inconsistencies
...
fixes #7960
2017-03-13 21:17:31 +01:00
Rémi Verschelde
bde0c2e03e
Merge pull request #8019 from Hinsbart/dim_fix
...
WindowDialog: Fix crash when running as ProjectManager
2017-03-13 16:14:04 +01:00
Andreas Haas
a2776af672
WindowDialog: Fix crash when running as ProjectManager
...
Fixes a bug introduced in #7970
2017-03-13 16:05:18 +01:00
Rémi Verschelde
26c12ded24
Merge pull request #8011 from neikeq/pr-issue-6602-1
...
Fix connection errors when replacing node
2017-03-13 11:05:32 +01:00
Rémi Verschelde
e8ce94b092
Merge pull request #7988 from RandomShaper/fix-touch-button
...
Several fixes for TouchScreenButton
2017-03-13 11:02:47 +01:00
Rémi Verschelde
a45e6f67d5
Merge pull request #7981 from RandomShaper/position-for-2d-shaders
...
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-13 11:01:14 +01:00
Rémi Verschelde
0f429f8f9e
Merge pull request #7979 from RandomShaper/fix-sub-inheritance
...
Fix node duplication in scene sub-inheritance
2017-03-13 11:00:58 +01:00
Ignacio Etcheverry
d210ac66ef
Fix connection errors when replacing node
...
- Avoid connecting the signals to nonexistent methods
- Preserve only persistent connections
2017-03-11 20:21:04 +01:00
Pedro J. Estébanez
a0ecbb5ac0
Fixes for TouchScreenButton
...
- getting stuck on pause
- handling input when not visible
2017-03-10 14:10:29 +01:00
Pedro J. Estébanez
383dea5796
Fix node duplication in scene sub-inheritance
2017-03-09 01:19:40 +01:00
Pedro J. Estébanez
5ff0924a93
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-08 02:07:59 +01:00
Andreas Haas
9080232f17
Editor: Dim UI when a WindowDialog is shown.
...
Darkens the editor on WindowDialog popup.
This adds the following new Editor settings:
- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.
Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Rémi Verschelde
49c065d29c
Refactoring: rename tools/editor/ to editor/
...
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Rémi Verschelde
532f6d4b43
Merge pull request #7954 from Hinsbart/tilemap_self_modulate
...
TileMap: Respect self_modulate property
2017-03-05 12:05:16 +01:00
Rémi Verschelde
630158c992
Merge pull request #7916 from RebelliousX/tab_container
...
TabContainer's signal changes (v3)
2017-03-05 12:03:09 +01:00
Andreas Haas
962243f931
TileMap: Respect self_modulate property
...
Now `TileMap`s make use of the `self_modulate` property.
There's still a bug: The Editor doesn't re-draw with the new color when you change the TileMaps `self_modulate`
in the inspector. You'll have to make it update manually (by placing a tile, changing the transform, etc..)
I'll open an issue for that after this is merged (If I don't fix it in the meantime ^^).
2017-03-05 11:42:01 +01:00
Thaer Razeq
c9bda06dfd
- tab_changed
signal emits only by selecting a different tab.
...
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 02:47:09 -06:00
Rémi Verschelde
81a393a2b4
Merge pull request #7508 from lonesurvivor/area2d-fix
...
Fix two problems with Area2D and remove_child()
2017-03-04 17:19:04 +01:00
Rémi Verschelde
723f74c851
Merge pull request #7929 from RayKoopa/editor_resizable_dialogs
...
Resizable editor / project settings dialogs & save their bounds
2017-03-04 17:04:27 +01:00
Rémi Verschelde
51f1a56d20
Merge pull request #7927 from volzhs/wrong-ref-treeitem
...
Fix wrong TreeItem reference after reconstructing
2017-03-04 16:48:02 +01:00
Karol Walasek
29908d32ba
Added a SceneTree.has_network_peer, closes #7922
2017-03-04 11:35:44 +01:00
Ray Koopa
7623fd10bf
Make Editor, Export and Project settings dialogs resizable and store their bounds
2017-03-03 18:45:53 +01:00
volzhs
66b7586fb0
Fix wrong TreeItem reference after reconstructing
2017-03-03 04:01:04 +09:00
Ray Koopa
e07aa5deb8
Added functionality for resizable dialogs.
2017-03-01 23:40:10 +01:00
Rémi Verschelde
a1cbe8e22b
Merge pull request #7878 from RebelliousX/else
...
Bunch of missing `else` statements and general logic
2017-02-28 23:03:10 +01:00
Saracen
5e938f0001
Inf and NaN support added to GDScript.
2017-02-28 21:52:33 +00:00
Thaer Razeq
f50488a361
Various fixes detected using PVS-Studio static analyzer.
...
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
2017-02-28 07:52:02 -06:00
Rémi Verschelde
0f8c6dd382
Merge pull request #7904 from tagcup/use_math_prng
...
Use the common PRNG in 2D particles code.
2017-02-28 08:17:02 +01:00
Ferenc Arn
67ef529113
Use the common PRNG in 2D particles code.
...
Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
2017-02-27 15:36:17 -06:00
Ray Koopa
5cf063ca9d
Add disabled tabs
2017-02-27 19:07:50 +01:00
Ray Koopa
fc9077a213
Fix several drawing and logic issues in TabContainer
2017-02-27 15:47:47 +01:00
Rémi Verschelde
df365fdc3c
Merge pull request #6462 from RandomShaper/fix-improve-anim-blend
...
Fix/improve AnimationPlayer blending logic
2017-02-27 14:39:54 +01:00
Rémi Verschelde
5f31b3ce58
Merge pull request #7897 from RandomShaper/particles2d-process-mode
...
Add process mode option to Particles2D
2017-02-27 14:03:44 +01:00
Pedro J. Estébanez
5d094602b8
Add process mode option to Particles2D
2017-02-27 10:47:28 +01:00
Rémi Verschelde
3de1415b6a
Merge pull request #7653 from Dumbeldor/RichTextLabel_remove_line
...
RichTextLabel add function remove_line
2017-02-26 21:16:30 +01:00
Rémi Verschelde
7a9b08f785
Merge pull request #7889 from Hinsbart/fix_autoenable_input
...
Fix auto-enable of _input processing when _input() method is set.
2017-02-26 20:51:53 +01:00
Rémi Verschelde
c68f0c7961
Merge pull request #7887 from bojidar-bg/particles-emission-ended
...
Add emission_finished signal to Particles2D
2017-02-26 20:50:41 +01:00
Rémi Verschelde
4d6a3cf7fc
Merge pull request #7874 from volzhs/issue-7820-master
...
Fix crash when click icon while editing node name
2017-02-26 20:28:00 +01:00
Rémi Verschelde
3abd4c906d
Merge pull request #7869 from RandomShaper/fix-touchbutton-crash
...
Fix crash if TouchScreenButton is pressed while exiting the tree
2017-02-26 20:27:43 +01:00
Rémi Verschelde
e5cf1fe350
Merge pull request #7866 from Hinsbart/tween_fix
...
Fix undefined behavior found by static code analyzer.
2017-02-26 20:27:20 +01:00
Rémi Verschelde
8e0dbd1b8e
Merge pull request #7858 from bojidar-bg/tilemap-get-size
...
Add Rect2 TileMap::get_used_rect()
2017-02-26 20:24:56 +01:00
Rémi Verschelde
539b9e09e4
Merge pull request #7856 from RandomShaper/add-duplicate-flags
...
Add more options to Node.duplicate()
2017-02-26 20:24:17 +01:00
Rémi Verschelde
caa74b70e7
Merge pull request #7831 from volzhs/tr-buttonarray-3
...
Translate ButtonArray text
2017-02-26 20:15:33 +01:00
Andreas Haas
373e0099cf
Fix auto-enable of _input processing when _input() method is set.
...
Since f3f4a11c
processing of callbacks such as `_process`, `_fixed_process`, etc will be
automatically enabled when the corresponding method is found in the script.
However, for _input() this wasn't working.
That's simply because `_input` wasn't initialized in `SceneStringNames` ^^
2017-02-25 21:12:26 +01:00
Bojidar Marinov
0d6485d919
Add emission_finished signal to Particles2D
...
(Also remove some Particles2D::testee method, which was unused)
Resolves #3963
2017-02-25 16:06:00 +02:00
Bojidar Marinov
53921faa91
Complete the globals.h -> global_config.h conversion
2017-02-23 17:47:25 +02:00
volzhs
3ae0ffa182
Fix crash when click icon while editing node name
2017-02-23 02:20:46 +09:00