Commit graph

2754 commits

Author SHA1 Message Date
Juan Linietsky
7010ee3cb9 -Ability to choose operator for emission, closes #10441
-Ability to use proper operator for GI Probe, closes #10534
-Closes #12938 as it's no longer needed (thanks for the work though)
2017-11-15 12:39:24 -03:00
Vito
5515d28107 Fixing tilemap rotation for non top-left tiles. 2017-11-15 09:22:07 +00:00
Juan Linietsky
6277e6d40a Ability to update parts of an array, and set arrays as dynamic draw 2017-11-14 17:26:35 -03:00
Juan Linietsky
04edfc090b Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242 2017-11-14 15:45:30 -03:00
Rémi Verschelde
bd775aa0bd
Merge pull request #12898 from RandomShaper/improve-anim-loop
Change AnimationPlayer looping logic
2017-11-14 12:29:02 +01:00
Rémi Verschelde
4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Robert Morse
3372413037 Modified code completion for better tabbing, and removal of need to backspace and re-enter '(' to get code completion hints. 2017-11-13 18:19:11 -06:00
Ian
12b4e232b2 fix signals disconnecting on changing target node type 2017-11-13 17:44:58 -05:00
Rémi Verschelde
f3d812e3a0
Merge pull request #12811 from Chaosus/quadsize
Add size to QuadMesh
2017-11-13 22:42:32 +01:00
Rémi Verschelde
3c64635003
Merge pull request #12903 from YeldhamDev/scrollcontainer_arrangement
Small arrangement in ScrollContainer
2017-11-13 21:28:32 +01:00
Rémi Verschelde
03a080547d
Merge pull request #12014 from hi-ogawa/fix-video-playback
Fix video playback
2017-11-13 19:57:18 +01:00
Rémi Verschelde
390e957ba4
Merge pull request #12893 from Chaosus/dupsignals
Duplicate signals fixes
2017-11-13 17:13:11 +01:00
Chaosus
6496b53549 Duplicate signals fixes 2017-11-13 18:42:07 +03:00
Michael Alexsander Silva Dias
f2f18261c3 Small arrangement in ScrollContainer. 2017-11-13 12:15:48 -02:00
volzhs
710c87ec99 Fit stylebox on ItemList 2017-11-13 22:24:58 +09:00
Chaosus
06ce2e339e Added size to QuadMesh 2017-11-13 16:19:50 +03:00
Pedro J. Estébanez
e477fa2bd2 Change AnimationPlayer looping logic
So now it can seek to the actual values at time=length when instructed to seek to time=N*length.

That is, formerly in the editor you had no way of seeing the actual state at time=length other than temporarily disabling looping. Now you can preview both endpoints.

As a side effect, the values at anim time 0 will only be applied when actually seeking to 0, instead of at every time=N*length, as formerly. No issue.
2017-11-13 12:49:31 +01:00
Rémi Verschelde
47e5b43160
Merge pull request #12852 from djrm/pr_import_fixes
Update meshes when reimporting,
2017-11-12 21:17:58 +01:00
Rémi Verschelde
81fb6e474f
Merge pull request #12862 from YeldhamDev/text_property
Made text in TextEdit a property
2017-11-12 21:15:29 +01:00
Rémi Verschelde
e9392dd876
Merge pull request #12858 from dfleury2/master
fix: Updates dynamic_font_stb to use get_extension, and memnew
2017-11-12 21:06:03 +01:00
Daniel J. Ramirez
2932cc79ee Update meshes when reimporting,
Save scene preview even when not doing save and play.
2017-11-12 13:41:44 -06:00
Michael Alexsander Silva Dias
2a26931246 Made text in TextEdit a property. 2017-11-12 13:10:26 -02:00
Juan Linietsky
48d57e4a30 -Added ramp fadeout in AudioStreamPlayer, removes clips on audio restart
-Fixed bug in AudioStreamPlayerSampler not completely writing the target buffer if sample ends, fixes #12307
2017-11-12 11:11:45 -03:00
Juan Linietsky
09e6ce693d Set ambient contribution by default to 1, fixes #11850 2017-11-12 08:26:45 -03:00
D. Fleury
f75028a34c fix: Updates dynamic_font_stb to use get_extension, and memnew 2017-11-12 11:45:29 +01:00
Michael Alexsander Silva Dias
920f3f6546 Added "is_readonly()" to TextEdit and made it a property. 2017-11-11 22:14:14 -02:00
Ian
94b3e786cd shader editor context menu and line operations and style fix 2017-11-11 14:46:59 -05:00
Ian
fc299b4f37 add context menu enable getters, setters, and properties in LineEdit and TextEdit 2017-11-11 03:30:59 -05:00
Poommetee Ketson
045bf23207
Merge pull request #12825 from mrcdk/particles_fix_tangent_random
Fix particles' tangential acceleration randomness
2017-11-11 13:30:00 +07:00
Poommetee Ketson
aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Daniel J. Ramirez
8cf0d6ceb4 Some fixes and improvements.
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
MrCdK
7d517d4a71 Fix particles' tangential acceleration randomness 2017-11-10 23:19:08 +01:00
Juan Linietsky
19b1ff0fc5 Disabled filter clip by default and made it optional, fixes #12368, likely others too 2017-11-10 09:22:25 -03:00
letheed
482e07af7e Unify degree members and properties 2017-11-10 12:52:07 +01:00
letheed
ab2647a0d0 Remove deprecated rotation methods 2017-11-10 09:09:30 +01:00
Juan Linietsky
192a4d7de5 Reworked how servers preallocate RIDs, should fix #10970 2017-11-09 23:35:34 -03:00
Rémi Verschelde
ed57f0a0d4 Remove get_default_video_mode definition on OSX/iOS
It had been missed in d09160a8b6 and broke compilation
for those platforms.

Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
2017-11-09 23:36:08 +01:00
Juan Linietsky
9e6f9742f4 adjust min stop to horizontal velocity 2017-11-09 17:58:32 -03:00
Juan Linietsky
0416ca2fd2 Add slope min stop velocity on 3D physics body, closes #10981 2017-11-09 17:32:50 -03:00
Juan Linietsky
50a9bd4e23
Merge pull request #12713 from AndreaCatania/master
Rewritten kinematic system
2017-11-09 16:08:58 -03:00
AndreaCatania
10f879bf88 Rewritten kinematic system 2017-11-07 15:22:09 +01:00
MillionOstrich
eaa8c461c3 Fix randomisation of initial particle velocity 2017-11-06 16:39:10 +00:00
Rémi Verschelde
faf21d895e
Merge pull request #12684 from mrcdk/atlastextures_fix
Added filter_clip to AtlasTexture
2017-11-06 13:36:33 +01:00
Rémi Verschelde
386ec5d954
Merge pull request #12653 from poke1024/fixdocsclick
Fix selection and clicks on text in tables in RichTextLabel
2017-11-06 09:44:31 +01:00
MrCdK
fec243ed56 Added filter_clip to AtlasTexture 2017-11-05 22:27:05 +01:00
Paulb23
6f6afde0c5 Changed line and word mouse selection 2017-11-05 15:54:00 +00:00
Bernhard Liebl
a7304b0c54 Fix selection and clicks on text in tables in RichTextLabel 2017-11-05 11:38:14 +01:00
Bernhard Liebl
8f204d78fd In Create New Node, always select and show best (shortest) match 2017-11-04 20:21:41 +01:00
Bastiaan Olij
25c38c7542
Merge pull request #12557 from BastiaanOlij/arvr_add_rumble_support
Adding rumble support to ARVR controllers
2017-11-04 08:57:25 +11:00
Rasmus Ketelsen
02382c4fd8 Fixed AnimationPlayer.get_autoplay() returning empty string 2017-11-02 08:42:43 +01:00
Rémi Verschelde
4b477263a7
Merge pull request #12575 from leezh/richtext_newline_fix
Fixed RichTextLabel::add_newline() Fixes #12564
2017-11-02 07:56:41 +01:00
Juan Linietsky
79f81b77e2 -Modules can now add custom version info (added it for Mono)
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
2017-11-01 23:13:27 -03:00
Zher Huei Lee
6ba94cb924 Fixed RichTextLabel::add_newline() #12564 2017-11-02 08:46:28 +08:00
Bastiaan Olij
167b7b5533 Adding rumble support to ARVR controllers (if implemented on the ARVR interface) 2017-11-01 23:59:14 +11:00
Rémi Verschelde
29ea79e065
Merge pull request #12542 from Paulb23/enter_remove_text_issue_12494
Remove text on enter, issue 12494
2017-10-31 23:37:30 +01:00
Rémi Verschelde
24b3733f3b
Merge pull request #10770 from RandomShaper/fix-joints
Fix joints collision exceptions, plus a bit more
2017-10-31 23:02:37 +01:00
Paulb23
e03a054714 Remove text on enter, issue 12494 2017-10-31 20:42:53 +00:00
Juan Linietsky
a4ea63737c Ability to shrink 3D viewport by half 2017-10-31 14:23:47 -03:00
Rémi Verschelde
a1ffadb953
Revert "Fixes the selection rect in item_list drawn not clipped" 2017-10-31 10:58:53 +01:00
Rémi Verschelde
5bbc9a7e66
Merge pull request #12268 from AlexHolly/fix-lineedit-selection
Fix LineEdit drag selection to the left
2017-10-30 23:31:37 +01:00
Rémi Verschelde
4e753971c3
Merge pull request #12351 from groud/fix_item_list_selection_clipping
Fixes the selection rect in item_list drawn not clipped
2017-10-30 23:09:49 +01:00
Rémi Verschelde
4889b80698
Merge pull request #12471 from mhilbrunner/autocomplete
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 22:22:46 +01:00
Unknown
7683ff3e42 Fix get_node() and $ autocompletion when using single quotes 2017-10-30 21:58:32 +01:00
Juan Linietsky
495bcd7301 Clean up GI Probe baking, proper button and progress bar. 2017-10-30 16:33:37 -03:00
Rémi Verschelde
60df8db401
Merge pull request #12511 from sanikoyes/pr-fix-tabs-crash
Fix crash when click an empty tabs container
2017-10-30 17:44:23 +01:00
sanikoyes
b3f5d119aa Fix crash when click an empty tabs container 2017-10-30 20:20:51 +08:00
sanikoyes
62347e0129 Add missing StyleBoxLine binding 2017-10-30 20:01:29 +08:00
Paulb23
9dddce75d0 Added multi level undo redo to line edit 2017-10-29 23:21:06 +00:00
Poommetee Ketson
83f5d7e40a Refactor bufer to buffer 2017-10-28 19:15:51 +07:00
Rémi Verschelde
89cec177a2 Merge pull request #12308 from GiantBlargg/revert-11587-directional_light_init
Revert "In editor, instance DirectionalLight with an initial orientation"
2017-10-26 22:33:27 +02:00
Sofox
43cbef219b Overhauled the ParallaxBackground system so that it works properly regardless of the zoom of the camera. 2017-10-26 20:42:51 +01:00
Cédric Fuchs
c42bbe1073 Fixes infinite loop in NavPolygonInstance warnings 2017-10-26 13:02:04 +02:00
Jakub Grzesik
5a83fc50ec fix a 'proximity_fade_distacne' typo in material 2017-10-25 20:27:52 +02:00
Jakob Sinclair
708982bee1 Fix margin with tree drawing
Fixes @akien-mga point brought up in #12352

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-24 21:06:27 +02:00
Gilles Roudiere
37d2b17f88 Fixes the selection rect in item_list drawn not clipped 2017-10-24 10:09:39 +02:00
Indah Sylvia
79dda1350d Finished transition of Patch9Rect to NinePatchRect 2017-10-24 13:01:45 +07:00
Rémi Verschelde
ad5613ec40 Merge pull request #12310 from Paulb23/toggle_highlight_current_line
Added setting to toggle current line highlighting
2017-10-23 23:25:11 +02:00
Rémi Verschelde
c529fa6987 Merge pull request #12316 from mrezai/fix-disable-3d
Fix disable_3d=yes compile errors
2017-10-23 23:19:21 +02:00
Jakub Grzesik
8f054d519f missing set/get_collision_mask_bit() for RayCast
in the same fastion how it's implemented in Area or Bodies
2017-10-23 14:31:58 +02:00
Bastiaan Olij
e72a6644dc Missing binds for SSAOBlur enum caused issues compiling GDNative cpp_bindings 2017-10-23 21:27:12 +11:00
Rémi Verschelde
abea816e54 Revert "Rename Schlick GGX to GGX." 2017-10-23 07:42:36 +02:00
mrezai
8f48eeaa88 Fix disable_3d=yes compile errors 2017-10-22 21:24:20 +03:30
Juan Linietsky
b4f0f59d9f Many fixes to SSAO, should be good now. 2017-10-22 13:52:48 -03:00
Paulb23
45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
Giantblargg
0c5eba826c Revert "In editor, instance DirectionalLight with an initial orientation" 2017-10-22 04:13:46 -06:00
Rémi Verschelde
6dd25b5a5b Merge pull request #11882 from Noshyaar/pr-filedialog
FileDialog: enlarge the file list a bit
2017-10-22 10:35:30 +02:00
Rémi Verschelde
1054c6edee Merge pull request #12296 from tagcup/ggx_rename
Rename Schlick GGX to GGX.
2017-10-22 10:30:11 +02:00
Poommetee Ketson
bbab451dde CubeMap: fix duplicate flags property 2017-10-22 10:28:02 +07:00
Poommetee Ketson
3a71471edd FileDialog: enlarge the file list a bit 2017-10-22 09:14:11 +07:00
Ferenc Arn
cb0bf1edea Rename Schlick GGX to GGX.
Schlick's approximation and GGX are orthogonal concepts.

Furthermore, it's usage so far has been inconsistent: we don't even use it with anisotropic SchlickGGX, and Burley (Disney) diffuse does use it while its name doesn't indicate it.

The use of Schlick's approximation in Burley and GGX is an implementation detail and doesn't need to be reflected to the namig.
2017-10-21 19:35:54 -04:00
Rémi Verschelde
01a5a8b86c Merge pull request #12291 from RandomShaper/fix-raycast-naming
Rename RayCasts collision_layer to collision_mask
2017-10-21 23:44:46 +02:00
Rémi Verschelde
e0c14e6306 Merge pull request #12286 from NathanWarden/add_cubemap_properties
Added properties for CubeMap.
2017-10-21 23:44:06 +02:00
Rémi Verschelde
d39348151e Merge pull request #12293 from Paulb23/line_highlighting_fix
Fixed current line highlighting, issue 12166

[ci skip]
2017-10-21 23:41:53 +02:00
Paulb23
c594c8001b Fixed current line highlighting and visual indication of empty selected lines 2017-10-21 21:35:50 +01:00
Pedro J. Estébanez
7b12ae39f2 Rename RayCasts collision_layer to collision_mask
The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`.

Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property.

Fixes #7589, where it's also discussed.
2017-10-21 22:17:47 +02:00
Poommetee Ketson
9cadb9e5f3 Bind unbound enums, rearrange some by value 2017-10-22 01:58:02 +07:00
Nathan Warden
5f7478e196 Added properties for CubeMap. 2017-10-21 13:23:32 -05:00
Ferenc Arn
0b89b90b36 Fix PathFollow rotations.
Replaced the lookahead (which is problematic) with exact delta in offset. Also made some other minor fixes and improvements.

Fixes #12258.
2017-10-21 12:51:49 -04:00
Poommetee Ketson
9b634180aa Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00
Poommetee Ketson
ec12e3b4f9 Merge pull request #12042 from MillionOstrich/treeitem-move-to-bottom
Stop move_to_bottom losing references to treeitems
2017-10-21 04:58:11 +07:00