Commit graph

22720 commits

Author SHA1 Message Date
Rémi Verschelde
be3b2f3ff9
Merge pull request #31041 from 2shady4u/master
Mark class_name line as safe in editor
2019-08-05 08:05:49 +02:00
Rémi Verschelde
818704a421
Merge pull request #31028 from creikey/fix-theme-update-richtextlabl
Same method when redrawing as when theme changed
2019-08-05 08:05:02 +02:00
Aaron Franke
a9c10450bd
[Core] [Mono] Optimize Wrap functions
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
2019-08-04 20:38:38 -07:00
Hugo Locurcio
1e4398c345
Improve light theme colors in the editor for better readability
This tweaks existing color conversions and adds new conversions
for animation track icon colors.
2019-08-05 01:53:45 +02:00
Emmanuel Barroga
6c83550dfc Fix Redundant Navigation Polygons
When adjusting the vertices of a navigation polygon, the tile editor would create a duplicate navigation polygon.  So each time you made an adjustment, another copy of the polygon would be created.
2019-08-04 16:09:57 -07:00
Emmanuel Barroga
625b87633e Fix Wrong Shape Offsets in Tileset
Closes #30994

When modifying the properties of a tileset in the editor, some properties only apply to the first tile (such as the shape offset).

This change resolves that issue by traversing the changes to all of the shapes in the tileset instead of the first one.
2019-08-04 12:05:23 -07:00
Hugo Locurcio
6e2c27f84f
Make keyframes easier to select in the animation easier
Keyframe SVG icons are now 10×10 instead of 8×8 (except for
Bezier-related icons). This makes them easier to select
since the empty space is part of the clickable area.

Selected keyframes are now also visually larger to make them
easier to distinguish from unselected keyframes.

This closes #27276.
2019-08-04 20:19:51 +02:00
Tomasz Chabora
b65f6f7944 Accept also right-click event in LineEdit 2019-08-04 15:35:50 +02:00
Ignacio Roldán Etcheverry
7126654eaf
Merge pull request #31068 from neikeq/issue-31065
C#: Fix Color.ToHtml()
2019-08-04 08:53:52 +02:00
Ignacio Etcheverry
57fe284fe6 C#: Fix Color.ToHtml() 2019-08-04 05:04:39 +02:00
rzllmr
653039151a Fix row-column-swap in TileMap palette
Due to the TileSet coordinates using x for columns and y for rows, the
columns are assigned to the rows in the TileMap palette and distort the
order. Thus the default sorting algorithm prioritizing x is replaced
with a custom one prioritizing y.

Fixes #24751
2019-08-03 21:32:13 +02:00
Yuri Roubinsky
e14e08cfc5
Merge pull request #31062 from Chaosus/fix_gles2_rendering
Fix GLES2 "black" rendering
2019-08-03 21:32:30 +03:00
Yuri Roubinski
393f142495 Fix GLES2 rendering 2019-08-03 21:21:29 +03:00
Yuri Roubinsky
20556e3fd8
Return back spacer for non-expression nodes in visual shader (#31058)
Return back spacer for non-expression nodes in visual shader
2019-08-03 19:10:12 +03:00
Yuri Roubinski
8a0767d883 Return back spacer for non-expression nodes in visual shader 2019-08-03 18:54:04 +03:00
Aaron Franke
1a06496f45
Some Vector2i usage cleanup
Replace casting Vector2 -> Vector2i -> Vector2 with a simple call to .floor(), and some minor fixes.
2019-08-03 01:11:05 -07:00
Hugo Locurcio
20154d3b2a
Fix 3D manipulator the gizmo growing too large on small viewports
This closes #27112. This closes #19116.
2019-08-03 03:01:32 +02:00
Rémi Verschelde
4d08f72b76
Merge pull request #31022 from Calinou/doc-mention-poolintarray-limits
Mention 32-bit integer limit in the PoolIntArray documentation
2019-08-03 00:05:33 +02:00
shaderbeast
1e6a52b215 Mark class_name line as safe in editor 2019-08-02 20:07:54 +02:00
Rémi Verschelde
045ab51ae5
Merge pull request #31033 from Chaosus/shader_button
Added link to docs for shader editor
2019-08-02 16:30:43 +02:00
Yuri Roubinski
770ce20ea3 Added link to docs for shader editor 2019-08-02 17:09:04 +03:00
Rémi Verschelde
b14f12b571
Merge pull request #31032 from KoBeWi/searchlect
Select found text in Script Editor
2019-08-02 16:05:57 +02:00
Tomasz Chabora
b1af799b16 Select found text in Script Editor 2019-08-02 15:00:26 +02:00
Hugo Locurcio
cb3676726b
Mention 32-bit integer limit in the PoolIntArray documentation 2019-08-02 14:44:41 +02:00
Rémi Verschelde
e088358ca1
Merge pull request #31018 from follower/fix-thirdparty-assimp-compile-fail
Fix error when building assimp on older Mac OS X version
2019-08-02 11:25:10 +02:00
Rémi Verschelde
69e6dc9164
Merge pull request #31015 from Calinou/improve-gizmo-axis-colors
Improve the gizmo axis colors and increase the manipulator opacity
2019-08-02 11:22:27 +02:00
Rémi Verschelde
46986321c1
Merge pull request #31001 from KoBeWi/come_back_script
Add Reopen Closed Script option in Script Editor
2019-08-02 11:18:21 +02:00
Rémi Verschelde
6d6b9ccc9a Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@Anutrix, @hbina, @santouits

Thanks to all contributors and donors for making Godot possible!
2019-08-02 09:43:42 +02:00
Cameron Reikes
c123a8c4f5 Same method when redrawing as when theme changed 2019-08-01 19:50:14 -07:00
follower
84698dfa3d Fix error when building assimp on older Mac OS X version.
Prevents this error when building with Mac OS X 10.9 SDK:

    error: no member named 'atoi' in namespace 'std'; did you mean simply 'atoi'?
2019-08-02 04:19:51 +12:00
Rémi Verschelde
77e8947687
Merge pull request #30905 from clayjohn/set-cpuparticles2d-visible
Toggle CPUParticles2D visibility when redrawing
2019-08-01 18:13:28 +02:00
Hugo Locurcio
d57680cf34
Improve the gizmo axis colors and increase the manipulator opacity
The new colors should make it easier to see the manipulator gizmo.
Highlighted gizmos are now fully opaque (instead of being white),
keeping the color information while a gizmo is highlighted.

This also adds a setting hint for the manipulator gizmo opacity
editor setting.

Axis colors were taken from Blender 2.80.

This partially addresses #16154.
2019-08-01 14:30:35 +02:00
Tomasz Chabora
5718599bd2 Add Reopen Closed Script option in Script Editor 2019-08-01 13:32:30 +02:00
Rémi Verschelde
3a6102a6f7
Merge pull request #31010 from Chaosus/vs_fix_expression
Some visual fixes for Expression node in visual shaders
2019-08-01 10:50:33 +02:00
Chaosus
82e2efe591 Some visual fixes for Expression node 2019-08-01 11:03:23 +03:00
Rémi Verschelde
a967ece4c7
Merge pull request #31009 from Chaosus/vs_fix_outer_product
Fix outerProduct function in visual shaders
2019-08-01 08:48:44 +02:00
Rémi Verschelde
10b3f7925b
Merge pull request #31007 from sparkart/vs_descriptive_tooltips
Add descriptive tooltips in VS editor
2019-08-01 08:46:49 +02:00
Rémi Verschelde
b755cf1a2d
Merge pull request #31004 from Kanabenki/fix-undo-close-scene
Don't add unsaved scene to previous scenes list when closing a tab
2019-08-01 08:45:36 +02:00
Rémi Verschelde
8743da90d9
Merge pull request #30993 from Chaosus/gles2_funcs
Expose several GLES3 built-ins to GLES2
2019-08-01 08:28:35 +02:00
Rémi Verschelde
3256fbfd10
Merge pull request #30992 from Calinou/tweak-damping-setting-hints
Tweak Area and PhysicsBody damping setting hints for consistency
2019-08-01 08:26:59 +02:00
Chaosus
c34d75b678 Fix outerProduct function in visual shaders 2019-08-01 08:29:05 +03:00
Emmanuel Barroga
5c447cecd2 Add descriptive tooltips in VS editor
In the Visual Script editor, the override icon is not very clear what it's intended purpose is for. Currently, its tooltip just says: "Function:" which is the same tooltip as the "add new function" icon.

To resolve this issue, this PR adds descriptive tooltips to the following icons in the Visual Script editor: 
-Override Function
-Add Function
-Add Variable
-Add Signal
2019-07-31 20:10:19 -07:00
Kanabenki
648313ab8a Don't add unsaved scene to previous scenes list 2019-07-31 23:49:16 +02:00
Rémi Verschelde
507e41e698
Merge pull request #30999 from nekomatata/fix-regression-godot-physics
Fixed regression in Godot Physics
2019-07-31 19:47:33 +02:00
Chaosus
8b4c538ab2 Expose several GLES3 built-ins to GLES2 2019-07-31 19:00:10 +03:00
PouleyKetchoupp
53ac260d19 Reverted fix that makes sense for collision_solver_2d_sat but not for the 3d version
(original commit: aab8da25ad)

Fixes #30886
2019-07-31 17:36:09 +02:00
Hugo Locurcio
47c615caf3
Cap the number of warnings/errors per second rather than per frame
This reproduces the behavior used for printing when using the remote
debugger. The default limit is 100 errors and 100 warnings per second,
which makes it possible to display much more GDScript warnings
before overflowing.

This also adds a "Too many warnings" message, so that warnings
don't look like errors when overflowing anymore.

This closes #21896.
2019-07-31 17:29:26 +02:00
Hugo Locurcio
0243dc53b8
Tweak Area and PhysicsBody damping setting hints for consistency
This partially addresses #19182.
2019-07-31 13:57:13 +02:00
Rémi Verschelde
d66461e85a
Merge pull request #30972 from Chaosus/vs_copy_paste
Implement copy/paste in visual shaders
2019-07-31 11:56:01 +02:00
Chaosus
f704506807 Implement copy/paste in visual shaders 2019-07-31 12:43:29 +03:00