Rémi Verschelde
7343ec13d9
Merge pull request #38047 from akien-mga/mono-docdata-hack
...
DocData: Keep Mono properties on non-Mono builds
2020-04-21 09:55:36 +02:00
Juan Linietsky
ae09b55a19
Exposed RenderingDevice to script API
...
Also added an easier way to load native GLSL shaders.
Extras:
Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.
Note:
The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde
6d8e1aea89
Merge pull request #37989 from Calinou/add-freelook-navigation-scheme-settings
...
Add editor freelook navigation scheme settings
2020-04-20 23:57:34 +02:00
Rémi Verschelde
b30014f93f
DocData: Keep Mono properties on non-Mono builds
...
This doesn't make much sense API-wise, but it's important for the documentation
workflow that the Mono and non-Mono builds produce the same output, otherwise
we keep having non-Mono builds removing Mono properties and losing their
descriptions.
This is a terrible hack but it's ad hoc, and should be OK for the time being.
2020-04-20 17:59:07 +02:00
Rémi Verschelde
2cd952bd84
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
...
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde
0ef8bcac4d
DocData: Skip unexposed classes
...
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Juan Linietsky
49d0c6a5c9
Ability to create local RenderingDevice instances.
2020-04-18 21:47:17 -03:00
Hugo Locurcio
8a48fb3517
Add editor freelook navigation scheme settings
...
Depending on what one is trying to achieve, a different freelook mode
may be more desirable.
This closes #34034 .
2020-04-18 16:24:12 +02:00
Rémi Verschelde
17304f1aae
Merge pull request #37949 from reduz/implement-global-shader-uniforms
...
Implement global and per instance shader uniforms.
2020-04-17 18:36:06 +02:00
Juan Linietsky
0e1c66d9fc
Implement global and per instance shader uniforms.
...
Adds two keywords to shader language for uniforms:
-'global'
-'instance'
This allows them to reference values outside the material.
2020-04-17 12:35:41 -03:00
Rémi Verschelde
3c3795279f
i18n: Sync translations with Weblate
...
(cherry picked from commit 471a5abbf3
)
2020-04-17 13:41:23 +02:00
Rémi Verschelde
45a036feec
Merge pull request #37012 from Calinou/reverse-builtin-script-naming
...
Tweak the built-in script naming for resources with custom names
2020-04-16 12:38:54 +02:00
Eric M
7f5fb73146
Added selection outline to locked nodes.
2020-04-15 22:03:12 +10:00
Rémi Verschelde
5e5103f460
Merge pull request #37861 from reduz/implement-decals
...
Implement decals
2020-04-14 17:13:20 +02:00
Juan Linietsky
5944eb6e7f
Implement decals
...
Also implemented decal atlas, so projectors and other stuff can be added.
Sidenote: Had to make RID hashable, so some unrelated includes changed
in order to include it in hashfuncs.h
2020-04-14 11:13:34 -03:00
Rémi Verschelde
644bc87240
Merge pull request #37843 from qarmin/unitialized_crash
...
Fixed crash caused by uninitialised variable
2020-04-13 13:53:44 +02:00
qarmin
c937fe5237
Fixed crash caused by unitialized variable
2020-04-13 12:11:55 +02:00
Rémi Verschelde
1888ab594b
Merge pull request #37823 from MCrafterzz/relativeSnap
...
Relative scale snapping 2D
2020-04-13 12:10:25 +02:00
Marcus Elg
795cba2d73
Relative scale snapping 2D
2020-04-13 10:16:54 +02:00
Nico Mitchell
7211ad73bc
Remove separators from particles menus
2020-04-12 22:15:20 -04:00
Rémi Verschelde
06748a2b5f
Merge pull request #37749 from clayjohn/Vulkan-improved-ss
...
Add vogel filter and settings to soft shadows
2020-04-13 00:39:37 +02:00
Juan Linietsky
a57dc398db
Implement MSAA
2020-04-12 15:33:57 -03:00
Juan Linietsky
16ae2cc1bf
Add screen space AA option, with FXAA implementation.
2020-04-12 10:57:18 -03:00
clayjohn
621f6f09a8
Add proper quality settings to soft shadows
2020-04-10 23:09:17 -07:00
Juan Linietsky
d06f8ef75a
Shows proper scene render time in editor info
...
Also fixed GPU profiler, which was not working on nvidia hardware.
2020-04-10 14:19:30 -03:00
Kiri Jolly
cc27b4560f
Othographic camera in-editor now uses Z near/far settings instead of a hardcoded value
...
Fixes #18809 .
The in-editor ortho camera used a far clipping plane of 8192 units, and was
placed 4096 units away from the camera cursor.
This was far enough to cause culling issues from floating point precision loss
on objects smaller than one unit.
This change modifies the near/far clipping planes of the ortho camera to use
those specified in the editor (and currently used by the perspective camera).
The frustum is still centered around the camera cursor location, as it was
before.
(cherry picked from commit 26912c15e6
)
2020-04-10 17:19:49 +02:00
Rémi Verschelde
e383798327
Merge pull request #37344 from YeldhamDev/dialog_node_icons
...
Updade dialog node's icons
2020-04-10 13:13:24 +02:00
Rémi Verschelde
60f77fa059
Merge pull request #37509 from wazzy47/issue_36228
...
Add "preview_on_sphere" setting of material editor plugin
2020-04-10 12:08:51 +02:00
Rémi Verschelde
5566c5eb8d
Merge pull request #37517 from nekomatata/slider-grab-area-highlight
...
Add style for highlighted Slider grab area
2020-04-10 12:08:02 +02:00
Rémi Verschelde
29651de583
Merge pull request #37565 from Calinou/builtin-script-warn-limitations
...
Warn about built-in script limitations in the script creation dialog
2020-04-10 12:02:57 +02:00
Rémi Verschelde
8d02dadaaa
Merge pull request #37602 from Janglee123/reversed-zoom-scale-animtion-player
...
Reversed timeline zoom slider of AnimationPlayer
2020-04-10 11:55:33 +02:00
Thakee Nathees
1532eefd4e
ARVR -> XR rename icon missing fixed
...
Fix : #37716
2020-04-10 02:11:21 +05:30
Juan Linietsky
26ecd924cc
Merge pull request #37678 from reduz/refactor-shadowmapping
...
Refactored shadowmapping.
2020-04-08 13:59:10 -03:00
Juan Linietsky
4ffc0d6b3f
Refactored shadowmapping.
...
- Made shadow bias size independent, so it will remain when changing light or camera size.
- Implemented normal offset bias, which greatly enhances quality.
- Added transmission to subsurface scattering
- Reimplemented shadow filter modes
Closes #17260
2020-04-08 11:19:43 -03:00
Rémi Verschelde
d89dc5794a
Merge pull request #37644 from JFonS/gizmos_rename
...
Rename all gizmo classes, using the 4.0 node names.
2020-04-08 10:54:42 +02:00
unknown
db78ad6f2a
Fix signal disconnection soon after connection in EditorQuickOpen
2020-04-08 14:08:50 +05:30
janglee
3f23e1d600
Reversed timeline zoom slider
...
Fixes #37409
2020-04-07 16:14:23 +05:30
jfons
3841a64703
Rename all gizmo classes, using the 4.0 node names.
2020-04-07 10:02:18 +02:00
Rémi Verschelde
5433188f76
Merge pull request #37592 from Anutrix/dissolving_class
...
Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings.
2020-04-07 09:15:21 +02:00
Rémi Verschelde
fedf9c5c94
Merge pull request #37643 from YeldhamDev/help_tooltip_paneless
...
Remove unnecessary panel in EditorHelpBit
2020-04-07 08:48:37 +02:00
Michael Alexsander
446ca21efa
Remove unnecessary panel in EditorHelpBit
2020-04-06 18:40:06 -03:00
Rémi Verschelde
0d4d96d4b0
Merge pull request #37639 from qarmin/no_more_leaks
...
Fixes leaks when running editor
2020-04-06 21:25:36 +02:00
qarmin
5cbab81564
Fixes leaks when running editor
2020-04-06 20:07:08 +02:00
Yuri Roubinsky
e0a9879ce4
Merge pull request #37623 from Chaosus/vs_fix_keyword_name
...
Adds warning to the uniform name in visual shader if its equal to keyword
2020-04-06 14:15:20 +03:00
Yuri Roubinsky
8dfe6716ec
Adds warning to the uniform name in visual shader if its equal to keyword
2020-04-06 12:29:50 +03:00
Rémi Verschelde
e14464caeb
Merge pull request #37447 from ThakeeNathees/text-replace-empty-string-fix
...
replace selected text with empty string bug fixed
2020-04-06 11:28:42 +02:00
Rémi Verschelde
32d9d6e7ff
Merge pull request #37621 from dankan1890/autoslice_fix
...
Fixed TextureRegion autoslice issue.
2020-04-06 11:28:18 +02:00
dankan1890
671e97d254
TextureRegion: fixed Autoslice not created/updated properly.
2020-04-06 10:36:59 +02:00
Rémi Verschelde
6b07c72d76
Merge pull request #37556 from KoBeWi/kill_get_index
...
Remove Node.get_position_in_parent()
2020-04-06 09:44:38 +02:00
Rémi Verschelde
11f31a7329
Merge pull request #37613 from pycbouh/linkbutton-missing-colors
...
Add missing LinkButton colors in Editor Theme
2020-04-06 09:17:50 +02:00