Rémi Verschelde
8ffc56c3ca
Merge pull request #29579 from mrcdk/fix_29575
...
Drop the physics mouseover whenever a input has been handled.
2019-11-11 09:37:27 +01:00
Rémi Verschelde
2143f46df2
Merge pull request #33516 from qarmin/small_fixes
...
Memory leaks and crash fixes
2019-11-10 10:17:19 +01:00
Rémi Verschelde
2fdeed1b4f
Merge pull request #33501 from akien-mga/camera-project_position-defval
...
Camera: Don't set default value for project_position
2019-11-10 10:11:16 +01:00
Rémi Verschelde
e711534c46
Merge pull request #33452 from Chaosus/fix_tilemap
...
Fix incorrect offset for old-format tilemaps
2019-11-10 10:10:29 +01:00
Rafał Mikrut
7dda9309f9
Memory leak and crash fixes
2019-11-10 09:49:13 +01:00
Rémi Verschelde
6c557b8bdf
Camera: Don't set default value for project_position
...
A z_depth of 0 returns the camera position, which is not really useful.
This also makes the API breakage from 3.1 clearer as 3.1 code will now
fail to compile, so users will have to adapt and use the new parameter.
For the reference, in 3.1, the z_depth was hardcoded to the near plane.
Closes #33493 .
2019-11-10 00:17:26 +01:00
PouleyKetchoupp
0fc0f0fc98
Fixed crash when using icon override in button
...
Missing change for PR #33495
2019-11-09 23:06:46 +01:00
PouleyKetchoupp
0c79bbeea3
Fixed crash when using icon override in button
...
Fixes #33457
2019-11-09 20:14:52 +01:00
Rémi Verschelde
7afa1a64ec
Merge pull request #33478 from nekomatata/particles-restart-glitch
...
Fixed Particles restart after visibility has been set to off and on again
2019-11-09 18:53:34 +01:00
Rémi Verschelde
52de63afc8
Merge pull request #33492 from Paulb23/issue_32229_fix_single_line_wrap
...
Fixed not being able to scroll ending wrapped line
2019-11-09 18:52:45 +01:00
Rémi Verschelde
0bfd06a911
Merge pull request #33465 from rxlecky/list-theme-resources-fix
...
Fix functions listing all theme resources
2019-11-09 18:23:49 +01:00
Paulb23
25cba699f0
Fixed not being able to scroll ending wrapped line
2019-11-09 16:45:44 +00:00
rxlecky
80b9c8e950
Fix functions listing all theme resources
...
Fix functions get_<resource>_list in Theme currently returning vector
of double-the-necessary size with the first half completely empty.
2019-11-09 11:56:55 +00:00
PouleyKetchoupp
530665197f
Fixed Particles restart after visibility has been set to off and on again
...
Make sure particles are processed during the same frame when visibility is set to on, in case they are still active from before and need to be restarted.
Fixed #33476
2019-11-09 09:51:17 +01:00
Rémi Verschelde
60d4909048
Merge pull request #33431 from Kaonnull/bugParticles2D_2
...
Fixed the particles2D prematurely animation ending
2019-11-09 07:40:07 +01:00
Simon Hardt
7e4ae4c503
Fixed prematurely ending animation of particles.
2019-11-08 21:28:19 +01:00
Yuri Roubinsky
26b933dc21
Fix incorrect offset for old-format tilemaps
2019-11-08 20:07:41 +03:00
Rémi Verschelde
3c0c8f26f9
Revert "Fixed TouchScreenButton::shape_centered having no effect"
...
This reverts commit 127c2d75ad
.
This was a misunderstanding as #32725 is not a bug but expected
behavior.
Reverts #32927 .
Supersedes and closes #33436 .
2019-11-08 10:54:36 +01:00
Rémi Verschelde
621dc7022f
Merge pull request #27742 from rxlecky/camera-replication
...
Game camera override
2019-11-08 10:02:18 +01:00
Rémi Verschelde
31f327a4a9
Merge pull request #33052 from KoBeWi/naughty_sliders
...
Fix analog input in sliders
2019-11-08 09:55:11 +01:00
Rémi Verschelde
2d3fcd0ff0
Merge pull request #30721 from NilsIrl/tab_key
...
Allow tab key to be used for shortcuts
2019-11-07 18:32:54 +01:00
Tomasz Chabora
a7b202ef18
Fix analog input in sliders
2019-11-07 16:39:14 +01:00
Rémi Verschelde
d596e169dc
Merge pull request #30588 from Demiu/patch-1
...
Fix 3D move_and_slide with stop_on_slope
2019-11-07 15:11:53 +01:00
Rémi Verschelde
77816fea8b
Merge pull request #32477 from aaronfranke/equal-approx-separate
...
Make is_equal_approx separate and make == exact again
2019-11-07 14:54:15 +01:00
codecustard
71e79af1f1
Fixes ItemList max column update
...
When setting the max column of an ItemList, the layout does not update until it is resized.
2019-11-06 12:26:51 -08:00
Yuri Roubinsky
213ecd65cd
Merge pull request #33341 from Chaosus/vs_fix_samplers
...
Fix invalid casting on visual shader sampler
2019-11-04 19:08:43 +03:00
Rémi Verschelde
6dca64140c
Merge pull request #33330 from nekomatata/fix-label-autowrap-size
...
Fixed cases where labels with autowrap can overflow the editor ui
2019-11-04 16:57:53 +01:00
Yuri Roubinsky
f5ffc1aedc
Fix invalid casting on visual shader sampler
2019-11-04 18:50:33 +03:00
Rémi Verschelde
83409bac0e
Merge pull request #33282 from Chaosus/vs_texture_inputs
...
Added sampler inputs for visual shaders
2019-11-04 11:32:04 +01:00
PouleyKetchoupp
13c88878c4
Fixed cases where labels with autowrap can overflow the editor ui
...
Fixes #33155
2019-11-04 10:12:36 +01:00
Rémi Verschelde
e684df08fc
Merge pull request #33286 from groud/fix_tree_edit_rect
...
Fixes the edit rect in TreeItems
2019-11-03 17:35:01 +01:00
Gilles Roudiere
8eb2eeae0f
Fixes the edit rect in TreeItems
2019-11-03 16:08:07 +01:00
Yuri Roubinsky
8243afb0e9
Added sampler inputs for visual shaders
2019-11-03 17:59:15 +03:00
Rémi Verschelde
9381a80b24
Merge pull request #33277 from clayjohn/update_material
...
Force update SpatialMaterial when texture set and always use ALBEDO
2019-11-03 07:51:22 +01:00
clayjohn
21e1f1df0f
Force update SpatialMaterial when texture set and always use ALBEDO
2019-11-02 17:42:36 -07:00
Michael Alexsander
6348dfa948
Make the editor dimming even more smarter
2019-11-02 20:25:26 -03:00
Paulb23
362d38ea67
Update connection info on script validation rather then saved copy
2019-11-02 14:41:59 +00:00
Rémi Verschelde
af4fd9de9c
Merge pull request #33238 from qarmin/other_fixes
...
Fix some crashes, overflows and using variables without values
2019-11-01 22:12:47 +01:00
Rémi Verschelde
5160d4f5ba
Merge pull request #33233 from hilfazer/dollar-quoted-autocomplete
...
$ autocompletion keeps quotation
2019-11-01 16:52:13 +01:00
Rafał Mikrut
9ddb3265e1
Fix some crashes, overflows and using variables without values
2019-11-01 16:16:31 +01:00
hilfazer
c394ef7410
$ autocompletion keeps quotation
2019-11-01 14:52:13 +01:00
Rémi Verschelde
a49c8d4a2b
Merge pull request #33202 from nekomatata/text-edit-search-usability
...
Improved TextEdit search usability & documentation
2019-11-01 14:10:00 +01:00
Rémi Verschelde
83d393a71a
Merge pull request #33209 from Jummit/soft-body-tutorial
...
Link SoftBody tutorial in docs
2019-11-01 14:04:50 +01:00
Jummit
ce61bff759
link SoftBody tutorial in docs and add ray_pickable property
2019-11-01 08:51:25 +01:00
Michael Alexsander
36c4fd8935
Make the editor dimming smarter
2019-10-31 16:58:53 -03:00
PouleyKetchoupp
d29c8ab81b
Improved TextEdit search usability & documentation
2019-10-31 12:35:23 +01:00
Rémi Verschelde
9e1be8f8aa
Merge pull request #32934 from ajweeks/fix-scale-origin
...
Fix 2D scale gizmo placement
2019-10-30 12:04:10 +01:00
Rémi Verschelde
948a2a03d2
Merge pull request #33091 from MCrafterzz/fix10567
...
Improved project creation UX
2019-10-29 13:27:41 +01:00
Rémi Verschelde
0641acc576
Merge pull request #33147 from mikkac/33135
...
Fixed disconnecting not connected signal
2019-10-29 12:01:01 +01:00
MCrafterzz
336e61b36a
Improved UX of selecting directories in (Editor)FileDialog by hiding unused gui elements and moving the drive selection
2019-10-29 11:36:09 +01:00
Yuri Roubinsky
9086e7330f
Removes translations from generated visual shader code
2019-10-29 09:26:05 +03:00
Mikolaj Kaczmarek
a245bab78d
Fixed disconnecting not connected signal
2019-10-29 00:53:48 +01:00
Rémi Verschelde
aaa9751de3
Merge pull request #33120 from YeldhamDev/popup_dialog_panel_style
...
Add "panel" style to PopupDialog
2019-10-28 12:54:03 +01:00
Rémi Verschelde
63c5cd7eb8
Merge pull request #33104 from qarmin/fix_some_crashes
...
Fix some crashes and using null pointers
2019-10-28 08:37:59 +01:00
Rémi Verschelde
826ffc26c9
Merge pull request #33097 from clayjohn/GLES2-HTML-sampler_limit
...
Fixed using compressed textures and add work around for firefox webgl mesa sampler limit
2019-10-28 08:19:37 +01:00
Rémi Verschelde
0cae264d79
Merge pull request #33119 from creikey/fix-quote-malfunction
...
Remove duplicate quote in displayed quote type
2019-10-28 08:08:38 +01:00
Rafał Mikrut
e53e1c566a
Fix some crashes and using null pointers
2019-10-28 08:07:29 +01:00
clayjohn
7b3d098b2b
Fixed using compressed textures and add work around for firefox webgl mesa sampler limit
2019-10-27 23:53:52 -07:00
Michael Alexsander
d92123ed97
Add "panel" style to PopupDialog
2019-10-27 19:45:03 -03:00
Cameron Reikes
67ab03e245
Remove duplicate quote in displayed quote type
...
- fixes #32688
- fixes #32593
2019-10-27 15:21:25 -07:00
Rémi Verschelde
2751cea0d4
Merge pull request #33066 from Tabas32/fix_indentation
...
Fixed indenting issue with comment at end of line
2019-10-27 13:42:53 +01:00
Paulb23
2e2a049d3c
Improve performance of connection info in the script editor
2019-10-27 11:07:19 +00:00
Rémi Verschelde
9e572b5bac
Merge pull request #33032 from Calinou/filedialog-scroll-to-top
...
Scroll back to the top after opening a directory in FileDialog
2019-10-27 10:06:34 +01:00
Rémi Verschelde
2416fbb4e2
Merge pull request #31943 from codecustard/Fixes_invalid_frames_on_reverse_anim
...
Fixes Reverse Animation Starting on First Frame
2019-10-27 09:55:44 +01:00
Rémi Verschelde
3eb8bd08ec
Merge pull request #32657 from ptrojahn/lines
...
Fix draw_rect
2019-10-26 23:09:24 +02:00
Paulb23
df0c8386a9
Fix text minimap crash when last line is folded
2019-10-26 13:37:25 +01:00
Rémi Verschelde
c39238c7d2
Merge pull request #32870 from bergmannf/27850_rtl_bold_italic
...
Add push_* methods for fonts in rich_text_label
2019-10-25 23:17:59 +02:00
Rémi Verschelde
6ce35e176f
Merge pull request #33065 from Calinou/textedit-fix-background-color
...
Fix the default TextEdit background color
2019-10-25 16:35:42 +02:00
Marian
3322d19cb3
Just initialization, needed by compiler
2019-10-25 16:14:24 +02:00
Marian
616f02e905
Fixed indenting issue with comment at end of line
2019-10-25 15:01:43 +02:00
Hugo Locurcio
c5279432fd
Fix the default TextEdit background color
...
This closes #32724 .
2019-10-25 14:51:59 +02:00
Rémi Verschelde
96f92e5bfa
Merge pull request #32951 from Klowner/tween-follow-null-bug
...
fix Tween follow_property finishing with null
2019-10-25 13:40:55 +02:00
Rémi Verschelde
2869c13ba2
Merge pull request #33046 from zatherz/master
...
Don't terminate search if begin_key doesn't fit (Fixes #33034 )
2019-10-25 08:37:41 +02:00
Rémi Verschelde
66ccdebbb3
Merge pull request #33045 from nekomatata/cpu-particle-uninitialized-member
...
Fixed emitting not initialized correctly in cpu particles 2d/3d
2019-10-25 07:24:36 +02:00
Zatherz
72d2248276
Don't terminate search if begin_key doesn't fit
...
Previously this code would continue onto the next iteration of the loop if the line was smaller in size than begin_key, meaning that a situation where begin_key.length() > end_key.length() would cause weird behavior with newlines. Now both the checks for begin_key and end_key are in their own condition and do not skip the entire iteration if they can't be found.
2019-10-24 21:59:02 +02:00
PouleyKetchoupp
1e0f37a70f
Fixed emitting not initialized correctly in cpu particles 2d/3d
...
Fixes uninitialized variable caused by PR #32921
2019-10-24 21:38:01 +02:00
volzhs
63e6b1ecce
Fix rendering tooltip
2019-10-24 22:48:20 +09:00
Hugo Locurcio
c3b9319d78
Scroll back to the top after opening a directory in FileDialog
...
This also changes the behavior in EditorFileDialog.
This closes #26041 .
2019-10-24 15:40:47 +02:00
SeleckyErik
61bda112bd
Refactor VideoPlayer and VideoStream
...
VideoStream:
- Fix const correctenss
VideoPlayer:
- Remove unused member variable last_frame
- Move _mix_audios function definition to source file
- Fix function parameter naming to match p_ convention
- Fix const correctness
- Add null checking
2019-10-24 01:35:47 +01:00
Mark Riedesel
d0b528e4a8
Fix Tween follow_property finishing with null
2019-10-23 16:38:43 -04:00
Rémi Verschelde
2408e214a7
Merge pull request #33006 from Chaosus/fix_billboard_bug
...
Allows change Sprite3D scale if Billboard mode is enabled
2019-10-23 21:41:19 +02:00
Yuri Roubinsky
fa9148f343
Allows change Sprite3D scale if Billboard mode is enabled
2019-10-23 14:32:59 +03:00
Rémi Verschelde
8c3a5057c5
Merge pull request #32998 from rxlecky/theme-refactor
...
Theme code refactoring
2019-10-23 10:12:56 +02:00
Rémi Verschelde
b1c6ba9b24
Merge pull request #32972 from codecustard/fix_spinbox_not_releasingfocus
...
Fixes spinbox not releasing focus on value change
2019-10-23 07:43:47 +02:00
Rémi Verschelde
19fa163d9a
Merge pull request #32992 from KoBeWi/AUTOVECTORZ
...
Auto-increment frame_coords when keying
2019-10-23 07:42:52 +02:00
Eoin O'Neill
601b216605
Shadows Now Properly Translate by RichTextEffect offset.
...
Bugfix 32981.
2019-10-22 22:15:36 -07:00
SeleckyErik
fa59defb53
Theme code refactoring
...
- Move GDScript-exposed function definitions from header to source file
- Add null check to functions taking list pointers as parameters
- Call clear() in copy_theme() if null is passed
2019-10-23 03:08:40 +01:00
Erik
8b0546d93b
Implement game camera override
...
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
2019-10-23 02:51:32 +01:00
Rémi Verschelde
72dfa67dd3
Merge pull request #32924 from ajweeks/add-ruler-arcs
...
Draw arcs to indicate angles being measured by ruler
2019-10-22 22:44:50 +02:00
Rémi Verschelde
78848bbfea
Merge pull request #32796 from Paulb23/set_text_caret
...
Changed `set_text` to place caret at start of the text.
2019-10-22 22:44:12 +02:00
Rémi Verschelde
9f28803927
Merge pull request #32940 from nekomatata/text-edit-clear-colors
...
TextEdit syntax highlighting fixes
2019-10-22 20:40:20 +02:00
Rémi Verschelde
b365dc3441
Merge pull request #32965 from volzhs/richtextlabel-scroll-active
...
Fix scrolling RichTextLabel with scroll_active=false
2019-10-22 20:39:12 +02:00
Tomasz Chabora
6c0ef9f729
Auto-increment frame_coords when keying
2019-10-22 20:12:55 +02:00
Rémi Verschelde
aafd5dd5c1
Merge pull request #32989 from nekomatata/fix-crash-rename-state
...
Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
2019-10-22 19:43:36 +02:00
AJ Weeks
fb7a4ce63e
Fix canvas scale gizmo placement
2019-10-22 18:17:54 +01:00
PouleyKetchoupp
e3d4b96ba7
Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
...
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.
It happens in the state machine case by hiding a line edit control when it loses focus.
Fixes #23808
2019-10-22 16:28:11 +02:00
Rémi Verschelde
4ecc30cc5e
Merge pull request #32927 from Muller-Castro/ShapeCenteredFix
...
Fixed TouchScreenButton::shape_centered having no effect
2019-10-22 15:53:29 +02:00
Rémi Verschelde
1be39232b4
Merge pull request #32842 from LikeLakers2/animation-idx-to-track-idx
...
Changes the name of all parameters referring to track indices within Animation, to `track_idx`
2019-10-22 14:55:21 +02:00
Rémi Verschelde
97a4fe79fb
Merge pull request #32902 from nekomatata/auto-indent-bracket-fix
...
Auto-indent after opening bracket and parenthesis in the script editor
2019-10-22 14:30:16 +02:00
Rémi Verschelde
17a7da3b85
Merge pull request #32921 from nekomatata/fix-cpu-particle-delay
...
Fixed delay when CPUParticles & CPUParticles2D start being emitted
2019-10-22 14:28:04 +02:00
Rémi Verschelde
2906cef290
Merge pull request #32922 from nekomatata/fix-scene-timer-yield-leak
...
Fixed leak on exit when using yield with SceneTreeTimer
2019-10-22 14:17:58 +02:00
Rémi Verschelde
b67537b14b
Merge pull request #32864 from nekomatata/rich-text-image-size
...
Support for resized images in RichTextLabel
2019-10-22 13:46:11 +02:00
Rémi Verschelde
bd23cce055
Merge pull request #32896 from nekomatata/joint-reset-collision
...
Properly reset collision exception when releasing Joint2D
2019-10-22 12:52:12 +02:00
Rémi Verschelde
3aa5b54330
Merge pull request #32889 from nekomatata/node-update-config-warning
...
Expose Node::update_configuration_warning() to scripts
2019-10-22 12:42:09 +02:00
Rémi Verschelde
1e0fb0dc14
Merge pull request #32833 from nekomatata/label-autowrap-fix
...
Allow Label autowrap to cut words when they exceed line width
2019-10-22 12:29:49 +02:00
Emmanuel Barroga
53d6d37fcf
Fixes spinbox not releasing focus on value change
...
Trying to release focus of the spinbox's lineedit would not work when done in the "value_changed" callback. The reason is because the "value_change" signal is called first, then the "get_focus" method is called next. This causes the spinbox to get_focus after you try to release focus within the "value_changed" callback.
To resolve this, spinbox should get focus first and then emit "value_changed".
2019-10-21 16:42:17 -07:00
volzhs
3e738b1798
Fix scrolling RichTextLabel with scroll_active=false
2019-10-22 06:05:10 +09:00
Rémi Verschelde
4a726998bd
Merge pull request #32865 from rodolforg/fix_32711-lookat-scaling-again
...
Spatial::look_at wrong re-scaling
2019-10-21 16:05:21 +02:00
Rémi Verschelde
f5dd4d574f
Merge pull request #32863 from JFonS/navmesh_from_group
...
Add option to create navmesh from objects in group
2019-10-21 16:02:38 +02:00
Rémi Verschelde
b6865f2f79
Merge pull request #32857 from madmiraal/fix-072e403
...
Correct change made to joints_2d.cpp by 072e403
.
2019-10-21 15:53:47 +02:00
PouleyKetchoupp
4247c21cb0
TextEdit syntax highlighting fixes
...
- Fixed visual update when using add_keyword_color(), add_color_region(), clear_colors() in scripts
- More accurate description for clear_colors() in TextEdit documentation
2019-10-20 17:40:09 +02:00
Paulb23
ee94081b4a
Fixed -1 minimap index when smooth scrolling is enabled
2019-10-20 13:27:53 +01:00
PouleyKetchoupp
5bf516a062
Fixed delay when CPUParticles & CPUParticles2D start being emitted
...
Particles were processed only on the next frame after the emission started, causing a one frame delay in rendering. Now the first process cycle is started during the same frame, which makes them consistent with Particles & Particles2D.
Fixes #32890
2019-10-20 09:50:00 +02:00
Muller-Castro
127c2d75ad
Fixed TouchScreenButton::shape_centered having no effect
...
The problem was that the shape_centered depended on TouchScreenButton::texture having a Texture
2019-10-19 18:16:47 -03:00
AJ Weeks
59d2c71227
Add arcs to indicate angle being measured by ruler
2019-10-19 19:45:56 +01:00
PouleyKetchoupp
1a9801f700
Fixed leak on exit when using yield with SceneTreeTimer
...
Use case:
yield(get_tree().create_timer(2), "timeout")
Some resources were never released because the SceneTreeTimer was keeping a reference to GDScriptFunctionState in its signal connections, while GDScriptFunctionState was holding a reference to the SceneTreeTimer object. Cleaning all signal connections on game exit fixes the issue.
Fixes #29946
2019-10-19 18:45:17 +02:00
PouleyKetchoupp
74d7cbf920
Auto-indent after opening bracket and parenthesis in the script editor
...
This change makes auto-indent work the same way as for curly brackets, so '[', '(', '{' all act the same.
Fixes #32897
2019-10-18 11:02:05 +02:00
PouleyKetchoupp
0de76cc647
Properly reset collision exception when releasing Joint2D
...
Now using joint_disable_collisions_between_bodies() to reset the exception, because body_remove_collision_exception() was doing only a part of the work.
Fixes #32733
2019-10-17 19:22:59 +02:00
PouleyKetchoupp
139c0a4afe
Expose Node::update_configuration_warning() to scripts
...
This method can be used to generate custom node warnings by script.
Node::_get_configuration_warning was already exposed to generate custom warnings, but it wasn't fully usable without being able to notify the scene tree when the warning needs to appear or change.
2019-10-17 12:20:35 +02:00
Florian Bergmann
47000f8860
Add push_* methods for fonts in rich_text_label
...
Provides method to push different font styles.
If no fonts are set nothing will happen, when the methods are used.
Fixes #27850
2019-10-16 15:22:56 +02:00
Emmanuel Barroga
94a00cd9c7
Fixes Reverse Animation Starting on First Frame
...
When playing an animation in reverse, the animation initially starts on frame 0. If it loops, it'll play normally by going to the last frame of the animation, but if it does not... it prematurely stops, since it is already on the last frame (for reversed animation) by starting on frame 0.
2019-10-16 04:26:26 -07:00
jfons
298bd3f88a
Add option to create navmesh from objects in group
...
Adds a new NavigationMesh property to select which objects will be taken
into account for the generation.
By default it will use all the NavigationMeshInstance children to keep
compatibility. The new modes allow to build the NavigationMesh from
all the nodes belonging to a specific group, and optionally include
their children too.
2019-10-16 12:01:10 +02:00
PouleyKetchoupp
9f8ffd4146
Support for resized images in RichTextLabel
...
BBCode Tag:
[img=<width>x<height>]{path}[/img]
2019-10-16 12:00:15 +02:00
PouleyKetchoupp
8df330bacd
Allow Label autowrap to cut words when they exceed line width
...
Fixes #30832
2019-10-16 09:57:44 +02:00
Marcel Admiraal
f34deabd10
Correct change made to joints_2d.cpp by 072e403
.
2019-10-15 17:55:35 +02:00
Rémi Verschelde
44293db446
Merge pull request #32820 from qarmin/small_fixes_static_analyzer
...
Small fixes to redundand code, copy paste bugs
2019-10-15 09:54:58 +02:00
LikeLakers2
68552d9a4b
Changes the name of all parameters referring to track indices within Animation, to "track_idx"
2019-10-14 18:08:41 -04:00
Aaron Franke
aeb7075628
Replace vector == and is_zero_approx(distance) with is_equal_approx
...
Internal changes only
2019-10-14 16:47:42 -04:00
Yuri Roubinsky
0a0c3f7fe0
Fix color of FileDialog icons
2019-10-14 16:23:56 +03:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Paulb23
d579d2bf1d
Fix undo / redo scrollbar calulations
2019-10-13 15:34:28 +01:00
Paulb23
aea0761b25
Place caret at 0,0 when setting text not at the end
2019-10-13 15:29:20 +01:00
Gilles Roudiere
b27ec4aea7
Fixes Sprite frame_coords
2019-10-13 08:44:44 +02:00
Hugo Locurcio
c8a8be6dd1
Optimize images losslessly using oxipng -o6 --strip all --zopfli
2019-10-12 23:23:33 +02:00
Rémi Verschelde
062650860a
Merge pull request #32731 from codecustard/fix_concaveshape_not_selecting
...
Fixes concaveshape not selecting in viewport
2019-10-11 14:55:47 +02:00
Emmanuel Barroga
29690f6aec
Fixes concaveshape not selecting in viewport
...
This PR resolves the issue of ConcaveShapes not being selectable in the Viewport.
2019-10-11 03:42:36 -07:00
Rémi Verschelde
aad4d8648b
Merge pull request #32742 from Chaosus/fix_samplers
...
Added sampler port to CubeMap, fixed parsing in expresssions
2019-10-11 11:25:00 +02:00
Paul Trojahn
bdaedb601c
Fix draw_rect
...
OpenGL uses the diamond exit rule to rasterize lines. If we don't shift
the points down and to the right by 0.5, the line can sometimes miss a
pixel when it shouldn't. The final fragment of a line isn't drawn. By
drawing the lines clockwise, we can avoid a missing pixel in the rectangle.
See section 3.4.1 in the OpenGL 1.5 specification.
Fixes #32279
2019-10-11 10:26:53 +02:00
Yuri Roubinsky
b217babca2
[VShaders] Added sampler port to CubeMap, fixed parsing in expresssion s
2019-10-11 10:36:04 +03:00
Rémi Verschelde
be0da31f7a
Merge pull request #32628 from Paulb23/issue_32609_set_text_scrollbar
...
Fixed inserting text at caret not updating scrollbar size
2019-10-11 08:24:13 +02:00
Rodolfo Ribeiro Gomes
58e5c650d7
fix #32711 : Spatial::look_at wrong re-scaling
2019-10-11 02:22:02 -03:00
Rémi Verschelde
2c84a9651f
Merge pull request #32707 from Chaosus/vs_lod_textures
...
Uses LoD even if UV slot is not used in visual shader textures
2019-10-10 12:37:12 +02:00
Rémi Verschelde
cfc26f53d6
Merge pull request #32705 from qarmin/validate_array_index_stylebox
...
Validate array indexes in StyleBox
2019-10-10 12:14:09 +02:00
Yuri Roubinsky
d2fd2f32fc
Uses LoD even if UV slot is not used in visual shader textures
2019-10-10 13:11:04 +03:00
qarmin
00b86b29f1
Validate array indexes in StyleBox
2019-10-10 11:48:58 +02:00
Yuri Roubinsky
0ec352213d
Removed "rebuild" function from public interface of VisualShader
2019-10-10 12:15:55 +03:00
Rémi Verschelde
220ee9281f
Merge pull request #32674 from Chaosus/vs_fix_cubemaps
...
Makes cubemaps to be works in visual shaders
2019-10-10 10:16:50 +02:00
Marcel Admiraal
a8836ba28d
Remove dependency on the editor directory being in the build's include path.
...
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Yuri Roubinsky
fec8da3c5e
Makes cube maps to be works in visual shaders
2019-10-09 12:13:53 +03:00
Rémi Verschelde
2d6b9f5034
Merge pull request #32649 from qarmin/another_crash_fix_for_tile_map
...
Fix crash in TileMap::update_cell_bitmask
2019-10-08 22:52:29 +02:00