Commit graph

17920 commits

Author SHA1 Message Date
Rémi Verschelde
9eb4b6d91a
Merge pull request #23748 from groud/fix_drag_and_drop_canvas_items
Fixes drag and drog of image files on scaled nodes
2018-11-17 17:20:50 +01:00
Rémi Verschelde
3c62a584eb
Merge pull request #23767 from marcelofg55/fix_is_playing
Fix AudioStreamPlayer2D/3D::is_playing right after a play()
2018-11-17 17:19:21 +01:00
Rémi Verschelde
563356109b Fixup to previous commit, missed one occurrence 2018-11-17 16:24:34 +01:00
Rémi Verschelde
efd4228892 EditorSettings: Rename invert_y-axis to invert_y_axis for consistency
No other option uses a dash in its identifier.
2018-11-17 16:19:02 +01:00
Rémi Verschelde
5075e372f3
Merge pull request #23668 from sdfgeoff/fix_angular_constraints
Exposing more of bullets 6DOF spring constraints
2018-11-17 16:15:33 +01:00
Marcelo Fernandez
016f7bd8f8 Fix AudioStreamPlayer2D/3D::is_playing right after a play() 2018-11-17 11:47:11 -03:00
Juan Linietsky
0afdc5c559 Avoid duplicate visility changed notification, fixes #18160 2018-11-16 19:47:13 -03:00
Juan Linietsky
6ed1be9637
Merge pull request #23743 from BastiaanOlij/csg_mikkt_tangent
Adding mikkt tangent support to CSG objects
2018-11-16 23:24:52 +01:00
Juan Linietsky
f141f747de Fix Squish decompression, closes #18109 2018-11-16 19:12:00 -03:00
Juan Linietsky
9e85d17241 Clearing history increments version, else it does not generate an asterisk on modification if the scene was just saved. Fixes #18027.
Still I feel this line was commented for a reason. If you bisect a bug and find
this commit, let me know.
2018-11-16 16:20:10 -03:00
Juan Linietsky
8aa38c9ad8 Fix shader bug likely introduced recently. 2018-11-16 14:30:34 -03:00
Juan Linietsky
3331ececc4 Do not allow controls in ignore mouse to get focus via their children, fixes #17955 2018-11-16 13:47:21 -03:00
Rémi Verschelde
0807e4f348
Merge pull request #23746 from DrNochi/bug/issue-#23332
Prevent "Property not found: ..." warning when creating/importing a project
2018-11-16 17:26:55 +01:00
Rémi Verschelde
3863faf05b
Merge pull request #23745 from ibrahn/fix-bullet-mainshape-ub
Fix some undefined behaviour in Bullet module.
2018-11-16 17:22:55 +01:00
groud
60f2e94c08 Fixes drag and drog of image files on scaled nodes 2018-11-16 16:55:28 +01:00
Juan Linietsky
e77afb8507 Ensure environment radiance is not used on refprobe interiors, fixes #17868 2018-11-16 11:46:21 -03:00
DrNochi
911d3a4586 Check if setting exists to prevent warning
Fixes #23332
2018-11-16 15:26:55 +01:00
Rémi Verschelde
5d00407388
Merge pull request #23685 from Kanabenki/add-store-csv-line
Add store_csv_line method for File
2018-11-16 15:21:57 +01:00
Ibrahn Sahir
d1550215b0 Fix some undefined behaviour in Bullet module.
Nulling mainShape when it's deleted to avoid double free.
Initialising vector in inertia calculation to work around bug in bullet.
2018-11-16 14:20:09 +00:00
Rémi Verschelde
193324f354
Merge pull request #23734 from RandomShaper/fix-canvas-layer-out-of-tree
Fix CanvasLayer trying to re-stack while out of tree
2018-11-16 15:15:48 +01:00
Rémi Verschelde
2d7fe9b298
Merge pull request #23735 from pshe94/master
Use VScrollBar when calculating horiz. offset in ScrollContainer
2018-11-16 15:15:23 +01:00
Juan Linietsky
bb9127a78b Removed unnecesary normal multiplication (only culling was really needed), fixes #17776 2018-11-16 10:52:31 -03:00
Juan Linietsky
256bbd3561 Corrected some points discussed in #17491 2018-11-16 10:07:26 -03:00
Bastiaan Olij
caf14e77db Adding mikkt tangent support to CSG objects 2018-11-17 00:07:18 +11:00
Juan Linietsky
40e4f5bef4 Proxies were being mishandled, leading to the now fixed #17651 2018-11-16 09:33:33 -03:00
Juan Linietsky
8306d60e85 Get rid of gridmap error due to not yet valid cursor instance, fixes #17546 2018-11-16 09:10:44 -03:00
Juan Linietsky
0b1e93ccd4 -Make sure monitorable cant be flipped while flushing queries, fixes #17330
-Also added set_deferred, this was missing.
2018-11-16 08:49:26 -03:00
JFonS
fb92c7b0fa Use hint_color when getting shader default params 2018-11-16 12:20:23 +01:00
Kanabenki
48166a9f3c Add store_csv_line method for File 2018-11-16 11:09:05 +01:00
Thomas ten Cate
4a530433d4 Prevent unused_argument warning when passing arg to parent constructor
This requires creating the FunctionNode object a bit sooner, and setting
it as the current_function while parsing the parent constructor call
arguments.

Note that the return type has not yet been parsed at this point, but
that doesn't seem to be a problem.

Fixes #22139
2018-11-16 10:46:05 +01:00
pshe94
554b3f77c7
Use VScrollBar when calculating horiz. offset in ScrollContainer
Someone forgot to change `h_scroll` to `v_scroll` when copy-pasting the code ;)
2018-11-16 02:47:43 +01:00
Pedro J. Estébanez
5dac6ef486 Fix CanvasLayer trying to re-stack while out of tree
Fixes #23718.
2018-11-16 01:01:17 +01:00
Juan Linietsky
26d33d1c6e ViewportContainer was not passing unhandled input. Pass it, fixes #17326 2018-11-15 17:29:55 -03:00
Juan Linietsky
80a90ca824 -Send mouse motion events again to CollisionObjects (Area/Body) if they move, even if mouse does not. Fixes #16536 (likely many others should check)
-Add ability for viewports to set input events as handled locally
2018-11-15 13:56:57 -03:00
groud
a982531368 Keep the SplitContainer offset value when it is shrinked 2018-11-15 16:47:28 +01:00
Juan Linietsky
89a8f930d4
Merge pull request #23716 from JFonS/fix_2d_particles_scale
Fix Particles2D animation regression from #23702
2018-11-15 16:29:58 +01:00
Rémi Verschelde
14cf450b0d
Merge pull request #23726 from ibrahn/fix-regex-double-free
Assign pointer null in RegEx::clear to avoid double free on destruction.
2018-11-15 15:17:11 +01:00
Ibrahn Sahir
f8a1c77fcf Assign pointer null in RegEx::clear to avoid double free on destruction. 2018-11-15 13:36:40 +00:00
Rémi Verschelde
35aa3301d7
Merge pull request #23724 from ttencate/get_total_character_count_23720
Fix return value of get_total_character_count
2018-11-15 13:08:15 +01:00
Thomas ten Cate
922f2d613f Fix return value of get_total_character_count
Also document that it only counts visible characters.

Fixes #23720
2018-11-15 12:34:08 +01:00
JFonS
1267f92740 Fix Particles2D animation regression from #23702 2018-11-15 09:22:11 +01:00
Juan Linietsky
397b12727c No one seems to like the error icon, so I made it invisible. Fixes #16344 2018-11-14 21:34:39 -03:00
Juan Linietsky
66c6dfb3fd Ensure that even at slow speed, you will always get collision using kinematic motion. Fixes #16250 2018-11-14 21:21:51 -03:00
Juan Linietsky
5f4485d4ff Always use default theme for overrides, closes #13071 2018-11-14 21:21:51 -03:00
Juan Linietsky
d2e642b2dc Proper validation of out arguments in built-in shader functions, closes #16244 2018-11-14 18:56:19 -03:00
Juan Linietsky
c5656b7468
Merge pull request #23564 from endragor/fix-remove-child-ordering
Notify node's moved children after sibling removed
2018-11-14 20:30:41 +01:00
Juan Linietsky
16022da187 Ensure that array passed to physics is always counter clockwise, fixes #15361. 2018-11-14 15:55:50 -03:00
Juan Linietsky
88bfb27abf Show theme values from default theme always, fixes #16011, fixes #13071 2018-11-14 18:02:21 +01:00
Juan Linietsky
7c00f0599e Add proper warnings when attempting to create a ViewporTexture in a resource that is not fit for it. Closes #16006. 2018-11-14 11:33:39 -03:00
Juan Linietsky
4d88721e62 Do not error on empty shader, just treat it as invalid by default. Fixes #15998. 2018-11-14 10:58:16 -03:00