Commit graph

3660 commits

Author SHA1 Message Date
marxin 7ae160f661 Fix 2 more UBSAN issues (#25217). 2019-02-14 20:47:35 +01:00
Rémi Verschelde c6c788581e Drop unused AnimationTrackKeyEdit::track_editor
Added by mistake in 4a24ba6e77.
2019-02-14 16:16:45 +01:00
Juan Linietsky 4a24ba6e77 -Fixes to undo redo to avoid crash, closes #24251
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Juan Linietsky f981e9fe91 Avoid case where editors are deleted while moved, fixes #25508, fixes #24829 2019-02-14 08:03:32 -03:00
Juan Linietsky 419fb45a3e Disallow polygon2D editing if internal vertices exists, as suggested in #24853 2019-02-13 13:11:39 -03:00
Juan Linietsky 7f69da488e Change some editing display options to make it clearer, as requested in #24853 2019-02-13 11:42:05 -03:00
Rémi Verschelde d2765cd04a
Merge pull request #25814 from allkhor/hide_warning_panel
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
allkhor 0137ec3468 Hide the warnings panel when no warnings presents. 2019-02-13 17:01:21 +06:00
Rémi Verschelde 5fc86026ca Fix typos with codespell
Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
Rémi Verschelde 55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
samHFIT 5e28fa53c4 Fixes issue #25822 2019-02-12 12:30:56 -05:00
Rémi Verschelde 8b77dac56e
Merge pull request #25827 from merumelu/audio-bus-tooltip
EditorAudioBuses: Fix wrong tooltip for "Add Bus"
2019-02-12 17:25:20 +01:00
Rémi Verschelde c5dcbeb160 Scene: Ensure classes match their header filename
Also drop some unused files.

Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`

Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
merumelu 5634f627da EditorAudioBuses: Fix wrong tooltip for "Add Bus" 2019-02-12 17:13:02 +01:00
merumelu 32b9aedd88 PluginConfigDialog: Slight usability changes
- Set focus to the first LineEdit instead of the confirm button.
- Default to GDScript rather than whatever language was first
registered with the ScriptServer.
2019-02-12 16:18:31 +01:00
Rémi Verschelde b7cc2bb1e2 Core: Ensure classes match their header filename
Also drop some unused files.

Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`

Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde c95308e70f
Merge pull request #25819 from YeldhamDev/project_manager_cleanup
Minor cleanup in the Project Manager
2019-02-12 12:21:26 +01:00
Michael Alexsander Silva Dias da45f1bf85 Minor cleanup in the Project Manager 2019-02-12 08:25:09 -02:00
Rémi Verschelde c5a526840e
Merge pull request #25778 from YeldhamDev/add_disabled_tab_style
Add disabled tab style
2019-02-12 11:25:01 +01:00
Michael Alexsander Silva Dias 3a70020c98 Cleanup editor's top bar of old nodes 2019-02-11 02:18:54 -02:00
Michael Alexsander Silva Dias e322fd140e Add disabled tab style 2019-02-10 18:12:17 -02:00
Michael Alexsander Silva Dias 4fd7115e13 General cleanup of script and doc search bars 2019-02-10 14:18:08 -02:00
Rémi Verschelde f614f15506 doc: Misc formatting fixes 2019-02-10 13:30:48 +01:00
Rémi Verschelde ba0a4a942e i18n: Sync translation template with current source 2019-02-10 13:19:03 +01:00
Rémi Verschelde dc239b47b3 i18n: Sync translations with Weblate 2019-02-10 13:03:59 +01:00
Rémi Verschelde 33b64ec3fd
Merge pull request #25739 from qarmin/fix_scan_folders_after_deleting
Fix rescan files and folders after deleting them
2019-02-09 20:37:59 +01:00
Rémi Verschelde 5fa5678eb7
Merge pull request #25736 from qarmin/fix_sprie_frames_editor
Fix latest regression error in SpriteFramesEditor
2019-02-09 18:27:40 +01:00
Rémi Verschelde ae1ac55409
Merge pull request #25712 from QbieShay/issue_25609
Root node of a scene is now selected when the scene is opened.
2019-02-09 18:22:28 +01:00
Rémi Verschelde 7d5c6f4c7a
Merge pull request #25710 from Calinou/add-hint-output-font-size
Add a setting hint for the Output panel font size
2019-02-09 17:46:39 +01:00
qarmin 5b9662a2c5 Rescan files and folders deleting them 2019-02-09 14:36:16 +01:00
qarmin c8f084b0d5 Fix latest regression error in SpriteFramesEditor 2019-02-09 12:50:19 +01:00
QbieShay fe046de216 Root node of a scene is now selected when the scene is opened. 2019-02-08 22:50:39 +01:00
Rémi Verschelde 8253cdbda3
Merge pull request #25692 from YeldhamDev/spriteframes_editor_changes
Small changes to the SpriteFrames editor
2019-02-08 19:52:20 +01:00
Rémi Verschelde 865d7983e0
Merge pull request #25701 from Chaosus/fix_particles_gizmo
Fix undo for Particles 3D gizmo
2019-02-08 19:51:40 +01:00
Hugo Locurcio 07e87f6ec0
Add a setting hint for the Output panel font size
This closes #21237.
2019-02-08 19:34:43 +01:00
Rémi Verschelde 5e837b3f13
Merge pull request #25552 from groud/better_error_message
Displays errors and warnings in a better way in the script editor
2019-02-08 17:03:55 +01:00
Chaosus 43a3db4c00 Fix undo for Particles 3D gizmo 2019-02-08 14:26:52 +03:00
Rémi Verschelde da18307a53
Merge pull request #25562 from IronicallySerious/fix-empty-project
Fix prompt for empty project files when loaded
2019-02-08 12:16:01 +01:00
Rémi Verschelde 39bc758bb5
Merge pull request #25549 from Zylann/fix_game_font_size_forced_to_13
Don't modify font which could potentially not be the editor one yet
2019-02-08 12:13:05 +01:00
Rémi Verschelde 15a5c97591
Merge pull request #25546 from Zylann/fix_garbage_log_pointer
Fixed uninitialized pointer access due to THEME_CHANGED notification
2019-02-08 12:11:16 +01:00
Rémi Verschelde 6958953ffa
Merge pull request #25515 from Zylann/search_bar_bottom
Moved script editor search bar to the bottom
2019-02-08 11:36:16 +01:00
Rémi Verschelde 4ddefe9142
Merge pull request #25467 from fire/folding_spam
Add check in folding to see if the nodepath exists to avoid message spam and expose get_node_or_null
2019-02-08 10:13:36 +01:00
Michael Alexsander Silva Dias d3082c99b5 Small changes to the SpriteFrames editor 2019-02-07 22:54:59 -02:00
Twarit 56f4d59962 Fix prompt for empty project files when loaded
Fixes #25541
2019-02-06 17:21:19 +05:30
Gilles Roudière 5f981d7fef Displays errors and warnings in a better way in the script editor 2019-02-01 17:20:59 +01:00
Marc Gilleron 81a5eb4d18 Don't modify font which could potentially not be the editor one yet 2019-02-01 16:59:55 +01:00
Marc Gilleron fb2eb66e40 Fixed uninitialized log member due to THEME_CHANGED notification 2019-02-01 15:30:44 +01:00
Rémi Verschelde 58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS 2232d3336e Fix gizmo errors on "Align with view" 2019-02-01 12:16:05 +01:00
Marc Gilleron ae9a23e36c Moved script editor search bar to the bottom, so it doesn't shift everything down 2019-01-31 16:44:40 +01:00