Commit Graph

19129 Commits

Author SHA1 Message Date
Rémi Verschelde 4912f578d1 clang-format: Set standard for ObjC++ 2019-02-09 12:20:24 +01:00
Rémi Verschelde 6d98ce281f
Merge pull request #25671 from vnen/physics-material-2d
Include PhysicsMaterial when 3D is disabled
2019-02-09 12:10:12 +01:00
clayjohn 20ff01b8e4 added ability to set instance_transform_2d in multimesh 2019-02-08 20:59:09 -08:00
Ignacio Etcheverry 9df44c2d2c Use script instance binding for objects constructed from C#
Only possible if the object class is a "native type". If the object class is a user class (that derives a "native type") then a script is needed.
Since CSharpLanguage does cleanup of script instance bindings when finished, cases like #25621 will no longer cause problems.

Fixed ~Object() trying to free script instance bindings after the language has already been removed, which would result in a NULL dereference.
2019-02-09 00:32:18 +01:00
Ignacio Etcheverry 4fd579b271
Merge pull request #25716 from neikeq/vv
Mono: Create player script metadata when building manually
2019-02-08 23:56:18 +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
Ignacio Etcheverry 5f8c30fbca Mono: Create player script metadata when building manually
Previously this was only done when building the script for running the game. This was a problem because the user could want to build the project manually with the "Build project" button, to then run the game from the command line or similar.
2019-02-08 22:49:27 +01:00
Hein-Pieter van Braam e937e74b69 Add a maximum recusion depth to _guess_expression_type
When a recursive declaration ends up in a GDScript file the
_guess_expression_type function would start looping and eventually run
out of stack space.

We now cap recusion for this function to 100 frames.

This fixes #25598
2019-02-08 22:39:08 +01:00
Rémi Verschelde e190589f3d
Merge pull request #25627 from clayjohn/visual_shader_texture_bug
Change hint_color to hint_albedo for sampler2ds
2019-02-08 20:19:28 +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
Rémi Verschelde d16b6a2dac
Merge pull request #25706 from akien-mga/fix-etc2-decompress
Image: Fix decompressing ETC2
2019-02-08 19:51:20 +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
Karroffel 682bc07035 Fix generating GDNative API struct for 1.1
Fixes #25425.
2019-02-08 19:28:40 +01:00
George Marques 874cbefa26 Get Git commit hash when Godot is a submodule
Submodules don't have a .git folder in the same place, but a .git file
that points to the actual folder. This change take this into account.
2019-02-08 16:17:07 -02:00
Paul Trojahn 163cdb8954 Fix look_at with non uniform scaling
The angle function doesn't consider the scaling of the local coordinates,
so it needs to be removed first. Fixes #23247
2019-02-08 18:00:54 +01:00
Rémi Verschelde 1772d6fa23 Image: Fix decompressing ETC2
Thanks to @Rriik for finding the bug and its cause.

Fixes #25595.
2019-02-08 17:26:47 +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
Rémi Verschelde b867ef0eec
Merge pull request #25570 from Kanabenki/windows-relative-icon
Use relative path property hint for windows export icon
2019-02-08 16:50:14 +01:00
Chaosus 43a3db4c00 Fix undo for Particles 3D gizmo 2019-02-08 14:26:52 +03:00
Rémi Verschelde 17d92c2b09
Merge pull request #25551 from JFonS/fix_rogue_cpu_particles
Fix local_delta when resetting CPUParticles
2019-02-08 12:17:16 +01: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 9dcbf961e5
Merge pull request #25500 from daniel-abbott/BT_Debug_disable
Disable BT_DEBUG, works around #25476 and #25431
2019-02-08 12:02:09 +01:00
Rémi Verschelde 0e377f348c
Merge pull request #25517 from Zylann/doc_expression
Explain how to use Expression inputs
2019-02-08 11:55:06 +01:00
Rémi Verschelde 3dd00e77b4
Merge pull request #25524 from Calinou/fix-font-oversampling-warning
Fix a font oversampling warning being printed when it shouldn't
2019-02-08 11:52:45 +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 39d6dbbb9f
Merge pull request #25506 from homer666/docs-update-cast-motion
[DOCS] Update PhysicsDirectSpaceState.cast_motion
2019-02-08 11:19:35 +01:00
Rémi Verschelde 7fcdadadf4
Merge pull request #25518 from bojidar-bg/25505-wrong-type-error-message
Fix wrong error messages for invalid arguments when calling functions through call
2019-02-08 11:18:30 +01:00
Rémi Verschelde 9523403192
Merge pull request #25509 from bojidar-bg/25504-update-bitmask-crash
Fix crashes when calling update_bitmask_area
2019-02-08 11:16:38 +01:00
Daniel Abbott b3c0cb08b0 Disable BT_DEBUG, works around #25476 and #25431 2019-02-08 11:11:01 +01:00
Rémi Verschelde aa9ec210b9
Merge pull request #25521 from bruvzg/disabled_hidpi_retina_fix
[macOS] Fix rendering on retina displays with HiDPI support disabled.
2019-02-08 11:06:48 +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
Hugo Locurcio 4b51e8a975
Improve the ResourcePreloader documentation 2019-02-07 17:00:16 +01:00
JFonS 5186d4f3ad Fix canvas light shaders on GLES2 2019-02-07 15:58:36 +01:00
Rémi Verschelde 3736a65f24 Update DONORS list
[ci skip]
2019-02-07 10:00:27 +01:00
Will Nations c4ff433b17 Fix script class icon filepath lookups at runtime. 2019-02-06 16:17:56 -06:00
George Marques 5743c7910a Include PhysicsMaterial when 3D is disabled
It's still needed by 2D physics.
2019-02-06 19:23:44 -02:00
Rémi Verschelde 4b6327fb30
Merge pull request #25659 from JFonS/fix_25567
Fix particles animation on GLES2
2019-02-06 18:40:35 +01:00
JFonS a7a21bd9fe Fix particles animation on GLES2 2019-02-06 16:00:22 +01:00
Twarit 56f4d59962 Fix prompt for empty project files when loaded
Fixes #25541
2019-02-06 17:21:19 +05:30
Tom McLean 8159ee93a7 Prefer a viewport's listener over a camera where available
Fix clang formatting issue
2019-02-06 21:43:57 +11:00
Bastiaan Olij edc5628541 Hide new sky properties if we don't have sky as a background 2019-02-06 21:27:31 +11:00
Rémi Verschelde 25027d60f7
Merge pull request #25606 from Paulb23/fix_textedit_scroll_selection
Fixed selection being activated when using scroll lines.
2019-02-06 11:27:16 +01:00
Rémi Verschelde 6afc024078
Merge pull request #25618 from YeldhamDev/sprite3d_region_frames
Add frame support for Sprite3D with region enabled
2019-02-06 11:21:44 +01:00
Ignacio Etcheverry c19840dad7
Merge pull request #25636 from neikeq/uwu
Mono: Workaround to fix 'flushing' errors when building at editor startup
2019-02-05 19:13:53 +01:00
Ignacio Etcheverry 4aa4916b11 Mono: Workaround to fix 'flushing' errors when building at editor startup 2019-02-05 18:51:24 +01:00
clayjohn b78a384921 change hint_color to hint_albedo for sampler2ds 2019-02-04 22:12:25 -08:00