Commit graph

23306 commits

Author SHA1 Message Date
Rémi Verschelde
00258684d3
Merge pull request #31915 from KoBeWi/xformers
Don't transform global position of mouse input
2019-09-03 12:05:27 +02:00
Rémi Verschelde
a1fe20a57e
Merge pull request #31880 from nekomatata/joystick-ui-navigation
Fixed UI navigation using joy axis inputs
2019-09-03 12:02:18 +02:00
Rémi Verschelde
40a9cc66a9
Merge pull request #31871 from aaronfranke/equal-approx-inf
Check for exact equality before approximate equality
2019-09-03 12:00:56 +02:00
Rémi Verschelde
4c169352a6
Merge pull request #31913 from Calinou/improve-animation-autokey-icon
Improve the animation autokey editor icon
2019-09-03 08:18:10 +02:00
Tomasz Chabora
e21cc3cc8d Don't transform global position of mouse input 2019-09-03 00:58:10 +02:00
Hugo Locurcio
61d7427289
Improve the animation autokey editor icon
The icon was redrawn to snap to a 16x16 grid, with a lower number
of SVG nodes in the process.
2019-09-03 00:11:34 +02:00
Rémi Verschelde
037237f518
Merge pull request #31898 from Calinou/animation-editor-add-precise-snapping
Implement precise snapping in the animation editor
2019-09-02 22:12:41 +02:00
Rémi Verschelde
e206050380
Merge pull request #31890 from Calinou/curve-editor-add-snapping
Implement snapping in the Curve editor
2019-09-02 22:12:25 +02:00
Rémi Verschelde
413db5d8ff
Merge pull request #31889 from Calinou/gradient-editor-add-snapping
Implement snapping in the Gradient editor
2019-09-02 22:12:04 +02:00
Rémi Verschelde
169c1dc9ef
Merge pull request #31906 from Calinou/assetlib-refresh-once
Refresh the asset library only once on startup
2019-09-02 22:05:29 +02:00
Rémi Verschelde
244088c76d
Merge pull request #26812 from KoBeWi/auto-complete-the-scenes
Add autocomplete support for change_scene()
2019-09-02 20:26:09 +02:00
Rémi Verschelde
10b040ab20
Merge pull request #31893 from bojidar-bg/25081-gdscript-index-self
Re-allow indexing on objects and other non-builtin types
2019-09-02 20:25:14 +02:00
Hugo Locurcio
6f915d386a
Refresh the asset library only once on startup
This avoids unnecessary calls to the API when switching between tabs
in the editor or project manager.
2019-09-02 20:08:55 +02:00
Rémi Verschelde
d03ce5c227
Merge pull request #31902 from YeldhamDev/ruler_icon
Add icon for the ruler tool
2019-09-02 19:58:50 +02:00
Rémi Verschelde
85955c5f25
Merge pull request #31843 from 2shady4u/parserCtrlClick
Solves ctrl+click on functions by ignoring the cursor
2019-09-02 19:56:35 +02:00
Bojidar Marinov
e3d05fa42d
Re-allow indexing on "self" and object types in GDScript
Fixes #25081
2019-09-02 20:18:15 +03:00
Tomasz Chabora
892318f5c7 Add autocomplete support for change_scene() 2019-09-02 19:07:02 +02:00
Rémi Verschelde
2beea262be
Merge pull request #31571 from NeoSpark314/tonemapping_none_option
Don't clamp color to [0, 1] in Linear tonemapping
2019-09-02 18:41:53 +02:00
Rémi Verschelde
aa0ed47122
Merge pull request #31892 from alexey-makarenko/fix/editor_search_back_infinitely
Fix editor infinite loop in search_prev issue #31328
2019-09-02 18:30:20 +02:00
Rémi Verschelde
97d48e04f9
Merge pull request #31901 from akien-mga/completion-option-fix-build
gdscript: Fix build after #24925
2019-09-02 16:50:14 +02:00
Michael Alexsander Silva Dias
ab6daed467 Add icon for the ruler tool 2019-09-02 11:45:03 -03:00
Rémi Verschelde
eb38bc6c0a gdscript: Fix build after #24925
The PR did not use the ScriptCodeCompletionOption system introduced
later on, and somehow this did not generate a merge conflict even
though neighboring code was changed.
2019-09-02 16:31:43 +02:00
Rémi Verschelde
877912b23c
Merge pull request #24925 from Mr-Slurpy/typed-autoload
Added autoloads as a potential type.
2019-09-02 16:05:05 +02:00
Hugo Locurcio
55b9c6804c
Implement precise snapping in the animation editor
Holding Shift while snapping is enabled will now make snapping
4 times as precise.
2019-09-02 15:55:44 +02:00
Rémi Verschelde
d767edb9b3
Merge pull request #21443 from deepmax/ord_function
Add ord() function to return Unicode code point of a string of length one
2019-09-02 15:28:15 +02:00
amakarenko
544c39d1e7 Fix editor infinit loop in search_prev
Fixes godotengine#31328
2019-09-02 15:15:55 +03:00
Hugo Locurcio
f07fc5b434
Implement snapping in the Curve editor
Holding Ctrl will snap the selected point/tangent by increments
of 10% of the curve's width/height. Holding Shift as well will snap
by increments of 2.5% instead.
2019-09-02 14:00:22 +02:00
shaderbeast
dbd253d7a2 Solves ctrl+click on functions by ignoring the cursor
Obeyed CLANG format rules


Obeying CLANG format rules attempt 2


Obeying CLANG format rules attempt 3


Clean up


Fixed runaway while loop


Removed int initialization
2019-09-02 13:46:38 +02:00
Hugo Locurcio
98a0c2b20f
Implement snapping in the Gradient editor
Holding Ctrl will snap the selected point's position
by increments of 0.1. Holding Ctrl + Shift will snap by increments
of 0.025 instead.

The previous behavior is preserved when holding just Shift (snapping
to other gradient points).
2019-09-02 13:37:27 +02:00
Rémi Verschelde
7e731bbce2
Merge pull request #31878 from aole/Initialize-TileMap-Custom-Transform
Initialize TileMap Custom Transform
2019-09-02 10:35:56 +02:00
Rémi Verschelde
220ff5baf2
Merge pull request #31829 from KoBeWi/one_tool_to_ruler_2d
Add 2D ruler tool
2019-09-02 10:34:09 +02:00
Rémi Verschelde
7e908c957b
Merge pull request #31875 from Calinou/jsonrpc-uppercase-constants
Make JSONRPC constants uppercase for consistency with other classes
2019-09-02 07:28:18 +02:00
Rémi Verschelde
8b15ac770c
Merge pull request #31884 from YeldhamDev/multiline_text_update_fix
Fix multiline texts not updating its contents correctly in the inspector
2019-09-02 07:24:02 +02:00
Michael Alexsander Silva Dias
5f28a2f978 Fix multiline texts not updating its contents correctly in the inspector 2019-09-02 01:17:11 -03:00
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