Commit graph

23383 commits

Author SHA1 Message Date
PouleyKetchoupp
01c9ad1cdf Fixed UI navigation using joy axis inputs
Fixes #31879
2019-09-02 04:36:58 +02:00
Bhupendra Aole
0b5a600564 Initialize TileMap Custom Transform
Initialize TileMap Custom Transform to same as Cell Size (64).
Fixes #30948.
2019-09-01 19:33:45 -04:00
Hugo Locurcio
7e01986ce1
Make JSONRPC constants uppercase for consistency with other classes 2019-09-01 23:48:38 +02:00
Rémi Verschelde
aa06f515e0
Merge pull request #31867 from KoBeWi/rogue_scrollbars
Ignore size of hidden scrollbars in ScrollContainer
2019-09-01 22:16:51 +02:00
Rémi Verschelde
7dceba3afc
Merge pull request #31587 from RevoluPowered/feature/fbx-importer
FBX Importer
2019-09-01 22:14:17 +02:00
Gordon MacPherson
ad214c0356 Assimp FBX Import support
Issues fixed:
- Updated assimp to latest and backported fixes into godot.
- Fixed file scale being ignored from FBX file.
- Fixed bone removal
- Implemented proper armature binding
- Fixed recursion not always going through the entire path
- Implemented assimp global scaling system
- Fixed assimp global scale process to support unit conversion
- Implemented proper fbx scaling
- Fixed asserts caused by missing faces in some models which could crash
- Fixed valid bone removal
- Fixed root node being overwriten by assimp which caused data loss
- Fixed armature construction so that it works with multiple roots
- Implemented basic support for FBX standard materials
- Refactoring to improve code quality and improve function reuse.
- Simplified node creation from assimp scene into subsections: create_light, create_mesh, create_bone.
- Creating meshes is now done after hierarchy is created so that the skeleton is always available.
- Added support to assimp to support file scale in all formats which call SetFileScale.
- Many other fixes provided into assimp.

Known issues:
- FBX pivots from Maya do not currently work. (workaround: for now use blender import and export to remove pivot tracks)
- Hierarchy creates an extra node for each mesh - this was done intentionally but we intended to do a pass to remove these as they're a required node.
- When an animated mesh has not executed any animation the rest pose is wrong.

Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2019-09-01 19:08:34 +01:00
Aaron Franke
f8b4cf0fc4
Check for exact equality before approximate equality 2019-09-01 14:02:14 -04:00
Rémi Verschelde
62c0185cb3
Merge pull request #31865 from Xrayez/geometry-remove-transform
Remove redundant transform method in Geometry singleton
2019-09-01 19:23:02 +02:00
Tomasz Chabora
05e5faa876 Add 2D ruler tool 2019-09-01 18:36:41 +02:00
Tomasz Chabora
aa444453b8 Ignore size of hidden scrollbars in ScrollContainer 2019-09-01 18:31:32 +02:00
Rémi Verschelde
4611977d49
Merge pull request #31832 from Xrayez/save-png-err-msgs
Provide error messages when PNG save fails
2019-09-01 17:56:01 +02:00
Rémi Verschelde
152495bac3
Merge pull request #31656 from Cykyrios/master
Rename and relocate Draw Minimap editor property
2019-09-01 17:55:51 +02:00
Rémi Verschelde
75272881d9
Merge pull request #31862 from Chaosus/vs_custom_tutorial
Added link to tutorial for VisualShaderNodeCustom
2019-09-01 15:29:51 +02:00
Yuri Roubinsky
ff65489ddc
Fix semicolon parsing in visual shader expression (#31857)
Fix semicolon parsing in visual shader expression
2019-09-01 14:45:22 +03:00
Andrii Doroshenko (Xrayez)
08272585e9 Remove redundant transform method in Geometry singleton
Transform2D's xform method can be used instead which handles
`PoolVector2Array` now (as well as 3D version).
2019-09-01 14:34:51 +03:00
Cykyrios
ed00313a0b Reorganize & rename text editor settings categories
Add Navigation category for scroll and minimap settings.
Rename Line Numbers category to Appearance.
Rename Open Scripts category to Script List.
Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings).

Reorder settings by category in code_editor.cpp to match settings list
2019-09-01 13:33:37 +02:00
Andrii Doroshenko (Xrayez)
cd99157e2e Provide error messages when PNG save fails 2019-09-01 14:16:17 +03:00
Rémi Verschelde
a758175da8 Bump version to 3.2-alpha
IMPORTANT: This means that the master branch is now considered feature-complete
for the upcoming 3.2 release, and thus in *feature freeze*.

Unless explicitly allowed by project maintainers, no new feature PRs will be
considered for merge until Godot 3.2-stable is released. Current PRs made
before the feature freeze will still be reviewed and potentially merged before
the beta stage, if deemed satisfactory.
2019-09-01 13:14:39 +02:00
Rémi Verschelde
c693b5a5bd
Merge pull request #31761 from Xrayez/trans2d-vector2array
Add transform methods for PoolVector*Array
2019-09-01 13:07:25 +02:00
Rémi Verschelde
69de1eca01
Merge pull request #31667 from YeldhamDev/geometry_point_circle_cleanup
Add 'is_point_in_circle()' to Geometry class, and general file cleanup
2019-09-01 12:59:49 +02:00
Chaosus89
040a75b826 Added link to tutorial for VisualShaderNodeCustom 2019-09-01 13:52:02 +03:00
Rémi Verschelde
815055a29b
Merge pull request #31835 from Calinou/increase-editor-sectioned-inspector-min-width
Increase the minimum width of the editor sectioned inspector
2019-09-01 12:46:58 +02:00
Rémi Verschelde
e5b7eb61b7
Merge pull request #31833 from Calinou/doc-improve-audiostream
Improve AudioStreamSample and AudioStreamGenerator documentation
2019-09-01 12:39:43 +02:00
Rémi Verschelde
4e8ce420f1
Merge pull request #31850 from aole/script-callback-enable-disable-EditorPlugin
Script callback for enabling/disabling EditorPlugin
2019-09-01 12:35:51 +02:00
Rémi Verschelde
a02d2fdb84
Merge pull request #31848 from Chaosus/fix_graph_resizer_style
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 12:30:52 +02:00
Rémi Verschelde
adb85fc8ae
Merge pull request #31858 from godotengine/revert-31321-master
Revert "Add __atomic_* operators support for atomic operations"
2019-09-01 12:23:42 +02:00
Rémi Verschelde
c8ae8f2fb1
Revert "Add __atomic_* operators support for atomic operations" 2019-09-01 12:19:44 +02:00
Chaosus89
a68ea5721f Fix semicolon parsing in visual shader expression 2019-09-01 13:12:33 +03:00
Yuri Roubinsky
5dd51a5b3b
Fix visual shader expression parsing (#31853)
Fix visual shader expression parsing
2019-09-01 12:29:22 +03:00
Chaosus89
466a9ffdc6 Fix visual shader expression parsing 2019-09-01 12:14:20 +03:00
Rémi Verschelde
979e772947
Merge pull request #31839 from Calinou/canvasitem-update-only-if-needed
Call some CanvasItem property setters only if needed
2019-09-01 10:11:28 +02:00
Bhupendra Aole
f6952cb944 Script callback for enabling/disabling EditorPlugin
Parameter p_config_changes should be passed as true to enable callback to user scripts
for enabling or disabling of the EditorPlugin.
Fixes #30654
2019-09-01 03:03:47 -04:00
Chaosus89
8fd8589547 Fix resizer icon visiblity on light theme in GraphNode 2019-09-01 09:12:26 +03:00
Bhupendra Aole
3518e7a6c7 Expose current path to EditorPlugin
get_selected_path returns only the resource directory.
get_current_path fulfils the need to get the full path.
This does not break backward compatibility and the function (get_current_path)
is already available in FileSystemDock just like get_selected_path.
Fixes 30652.
2019-09-01 01:51:33 -04:00
Rémi Verschelde
00aabec8bb
Merge pull request #31828 from Paulb23/minimap_drag_less_then_control
Fix minimap drag when height is less then control size
2019-08-31 22:09:53 +02:00
Rémi Verschelde
3fdf85cd9b
Merge pull request #31794 from Calinou/editor-increase-line-spacing
Increase line spacing in the editor help and asset library descriptions
2019-08-31 22:09:15 +02:00
Rémi Verschelde
61eeace972
Merge pull request #31810 from merumelu/plugin-config-warnings
Warn about all missing keys in plugin.cfg
2019-08-31 22:08:57 +02:00
Rémi Verschelde
7cf58a7f66
Merge pull request #31808 from qarmin/crash_audioogg
Fix crash when AudioStreamOGGVorbis is empty
2019-08-31 22:08:37 +02:00
Hugo Locurcio
8c8dc6f026
Call some CanvasItem property setters only if needed
The CanvasItem property setters `set_modulate`, `set_self_modulate`
and `set_light_mask` have some side effects that don't need to be run
if the value hasn't changed.

This closes #31777.
2019-08-31 21:53:02 +02:00
Hugo Locurcio
e19f7b3c38
Increase the minimum width of the editor sectioned inspector
This makes sure section names such as "Window Placement" or
"Vram Compression" aren't being cut off due to the panel width
being too low.
2019-08-31 20:39:52 +02:00
Hugo Locurcio
b0c8d12a63
Improve AudioStreamSample and AudioStreamGenerator documentation
- Add a link to the audio generator demo in AudioStreamGenerator
  and AudioStreamGeneratorPlayback.
- Mention that signed PCM8 data is expected in AudioStreamSample
  (and how to convert unsigned PCM8 to signed PCM8).
2019-08-31 20:16:04 +02:00
Rémi Verschelde
b17b51d970
Merge pull request #31825 from fstiewitz/viewport-container-input
Fix object picking inside ViewportContainers
2019-08-31 17:25:11 +02:00
Rémi Verschelde
c28b9af210
Merge pull request #31827 from merumelu/httprequest-errors
HTTPRequest: include faulty URLs in error texts
2019-08-31 17:24:55 +02:00
merumelu
5c7c7dbcb5 HTTPRequest: include faulty URLs in error texts 2019-08-31 16:57:46 +02:00
Paulb23
b1aaeb07ea Fix minimap drag when height is less then control size 2019-08-31 15:43:19 +01:00
Fabian Stiewitz
21b6be28ea process unhandled input in ViewportContainer 2019-08-31 14:51:16 +02:00
Bhupendra Aole
1de3ec911f Default ColorPicker color mode setting
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing.
Fixes #30755 and #30754
2019-08-31 00:34:33 -04:00
merumelu
dd2035d6e9 Warn about all missing keys in plugin.cfg 2019-08-30 21:41:00 +02:00
Rémi Verschelde
4f6eb3610f
Merge pull request #31805 from YeldhamDev/collision_object_unneeded_checks
Remove some unneeded checks in CollisionObject(2D)
2019-08-30 20:08:33 +02:00
Rémi Verschelde
9fc359411f
Merge pull request #31803 from KoBeWi/minicursor
Don't change cursor when minimap is disabled
2019-08-30 20:08:21 +02:00