PJB3005
cea5078ebe
Fixes TileMap occluder offsets.
...
This is NOT related to #14388 !
This fixes a graphical bug where the light occluders used by tilemaps weren't getting offset anymore, this they'd be positioned incorrectly.
I tried on all 3 tilemap positioning modes and it seemed to work on every one.
2017-12-08 20:14:06 +01:00
MattUV
e669ca2576
Modify shortcuts and menus to fold/unfold code
...
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).
The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Rémi Verschelde
b3b4727dff
Merge pull request #14014 from kosz78/scroll-container-fix
...
Fix scroll enabled in case of content fit in scroll container
2017-12-08 08:28:29 +01:00
Rémi Verschelde
bb49357ed7
Merge pull request #13981 from Paulb23/line_highlight_and_code_folding_color
...
Changed current line draw order and added code folding colour
2017-12-08 07:56:49 +01:00
Juan Linietsky
dcab01618a
Fixed is_playing funtion (was reporting wrong), closes #13928
...
Made error reporting to opcode_set in gdscript a bit clearer
2017-12-07 18:14:39 -03:00
Paulb23
48ad133cf9
Changed current line draw order and added code folding color
2017-12-07 19:17:43 +00:00
Will Nations
2d07fe2920
[DOCS] AnimationPlayer prop API fixed
2017-12-07 11:19:21 -06:00
Juan Linietsky
6527f2e684
Implement orbit velocity in particles (this is for 2D only, like in 2.1), closes #12764
...
Fixed tangential velocity (was broken)
2017-12-07 13:18:22 -03:00
Juan Linietsky
dd892a327d
Added some clean up in camera/viewport management. Fixes #12279 , Fixes #12774
2017-12-07 12:13:20 -03:00
Juan Linietsky
5614902611
ability to keep user tracks when importing animations, closes #12801
2017-12-07 10:19:35 -03:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
Rémi Verschelde
8a07cb0b69
Merge pull request #14352 from ianb96/get_hidden_width
...
Fixes horizontal scrolling over hidden lines
2017-12-07 07:52:01 +01:00
Rémi Verschelde
f13bea768d
Merge pull request #14353 from TheAspiringHacker/fix-lineedit-eat
...
Check for icon in LineEdit::set_cursor_position
2017-12-07 07:38:26 +01:00
Rémi Verschelde
46ac939a74
Merge pull request #13362 from groud/fix_folding
...
Fixes folding of blank lines
2017-12-07 07:20:41 +01:00
TheAspiringHacker
de03966a65
Check for icon in LineEdit::set_cursor_position
...
Fixes #14340
2017-12-06 19:13:34 -05:00
Ian
1c1a6723d0
fixes horizontal scrolling over hidden lines
2017-12-06 19:04:47 -05:00
Rémi Verschelde
ca439056a6
Merge pull request #14328 from YeldhamDev/popupmenu_submenu_fix
...
Fixed PopupMenu's submenus not showing up in certain situations
2017-12-07 00:19:22 +01:00
Juan Linietsky
7b7ba58493
-Fix particles with size==0, closes #13931
...
-Fixed material previews (dont show sphere unless for spatial)
2017-12-06 19:51:13 -03:00
Rémi Verschelde
e334b0c4b2
Merge pull request #13491 from RaXaR/master
...
Added get_popup() method to ColorPickerButton...
2017-12-06 23:47:43 +01:00
Rémi Verschelde
7b557a4e1f
Merge pull request #13409 from YeldhamDev/textedit_disabled
...
Add disabled theme to TextEdit
2017-12-06 23:42:54 +01:00
Rémi Verschelde
f1598f14dd
Merge pull request #13993 from willnationsdev/animationplayer-docs
...
[DOCS] AnimationPlayer new props, members/methods
[ci skip]
2017-12-06 23:21:43 +01:00
Juan Linietsky
86fcc39fa9
Fix and rewrite folding logic, closes #14005 , closes #13421
2017-12-06 19:07:17 -03:00
Andreas Haas
820cdb46fd
Merge pull request #14329 from waldson/fix-missing-stylebox-on-linkbutton
...
Fix missing stylebox for LinkButton's hover states
2017-12-06 21:57:13 +00:00
Andreas Haas
4c222c2835
Particles2D: Fix normal map rid.
...
Looks like a Copy & Paste error, fixes #14334 .
2017-12-06 22:44:12 +01:00
Waldson Patrício
62b0799ba0
Fix missing stylebox for LinkButton's hover states
2017-12-06 16:36:44 -03:00
Michael Alexsander Silva Dias
6629cc7a85
Fixed PopupMenu's submenus not showing up in certain situations.
2017-12-06 17:27:21 -02:00
Ibrahn Sahir
abef939b09
Reworked PathFollow2D behaviour, based on such in version 2.1.
...
When rotation is enabled, the follower's rotation will be set to that of
the tangent to the path at it's current offset.
For closed looping paths the lookahead will now wrap around at the end of
the path.
fixes #13434
2017-12-06 15:55:54 +00:00
Konstantin Zaitsev
0485fb4df3
Fix scroll enabled in case of content fit in scroll container
2017-12-06 11:00:46 +07:00
Unknown
fd1b94e307
Improve slang, especially in user-visible parts
2017-12-05 15:41:38 +01:00
Rémi Verschelde
7c0de08d38
Merge pull request #13964 from Krakean/richtextlabel_fix_deselection_bug
...
Rich Text Label: fixed deselection issue
2017-12-05 09:23:40 +01:00
Will Nations
e79456519d
[DOCS] AnimationPlayer new props, members/methods
2017-12-04 23:59:12 -06:00
Juan Linietsky
7459ade298
Do not cancel event if no need to cancel it. Fixes problem with GUI in 3D.
2017-12-04 17:36:28 -03:00
Juan Linietsky
5868754b01
Added a higher level wrapper for proxy texture
2017-12-04 16:54:17 -03:00
Juan Linietsky
d438ac0aed
-Implemented Proxy Textures (needed to solve the problem with ViewportTexture)
...
-Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
2017-12-04 15:56:17 -03:00
Dmitry Koteroff
0a1a5396ec
Rich Text Label: fixed deselection issue
2017-12-04 18:46:20 +03:00
Rémi Verschelde
055c5600c8
Merge pull request #13775 from YeldhamDev/filedialog_icon
...
Fixed FileDialog's "parent folder" button not having a texture
2017-12-04 10:49:11 +01:00
Michael Alexsander Silva Dias
075edbc5ed
Added "mode_overrides_title" property to FileDialog.
2017-12-03 00:04:47 -02:00
Mariano Suligoy
af719a90a7
TileMap Fixes
2017-12-02 20:49:01 -03:00
Michael Alexsander Silva Dias
6b07e8c624
Fixed FileDialog's "parent folder" button not having a texture.
2017-12-02 04:30:20 -02:00
RaXaR
d6d0df4ba6
Added get_popup() method to ColorPickerButton. This allows to check if the picker is open or not using Popup signals.
...
Ammend: Added docs for the method.
2017-12-01 23:18:01 +02:00
Konstantin Zaitsev
1f0e9c13a4
Fixed crash on duplicate instanced nodes ( #13432 )
2017-12-01 17:57:47 +07:00
Poommetee Ketson
e89309b931
Merge pull request #13216 from hoelzl/pr-fix-tile-origin-center
...
Fix displacement for centered tilemaps
2017-12-01 11:46:34 +07:00
Michael Alexsander Silva Dias
2773c12156
Add disabled theme to TextEdit.
2017-12-01 01:32:26 -02:00
Marco Masselli
4bd4d13570
Ported 'Exclude Parent' from Raycast2D to Raycast
2017-11-30 20:01:19 +01:00
Ferenc Arn
40a7b7e391
Fix PathFollow2D motion.
...
Fixes #13361 .
2017-11-30 08:06:58 +01:00
Rémi Verschelde
9725f33ac6
Merge pull request #13392 from cbscribe/kcc_raycast_fix
...
Fix RayCast2D 'Exclude Parent' to include Area2D
2017-11-29 16:12:51 +01:00
Rémi Verschelde
0f55d3767d
Merge pull request #13379 from ianb96/lastline_scroll_fix
...
Scroll to Last Line fix
2017-11-29 09:06:00 +01:00
Chris Bradfield
ee14b17201
Change RayCast2D 'Exclude Parent' to include Area2D
2017-11-28 22:06:49 -08:00
Rhody Lugo
a65c0939fd
disable caching for targets using helper functions
2017-11-28 23:24:12 -04:00
Ian
d1c7ed4117
last line scroll fix when scroll_past_last_line is disabled
2017-11-28 16:52:52 -05:00
Gilles Roudiere
e13ff74c09
Fixes folding of blank lines
2017-11-28 20:03:46 +09:00
Rhody Lugo
a4a222d62d
use the same cache for all branches for appveyor
2017-11-28 03:23:33 -04:00
Dmitry Koteroff
ad351a29db
Some improvements to file/dir open/save dialogs:
...
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons.
2. Added "go to parent folder" (^) button to Save a File dialog.
3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308 , wasn't optimal in context of performance)
4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export".
5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-27 22:39:36 +01:00
Juan Linietsky
ed0af05111
Switch to textureLod for parallax offset, avoids errors on UWP.
2017-11-27 17:47:33 -03:00
Matthias Hoelzl
2beadf7ac0
Fix displacement for centered tilemaps
...
- Fixes tile and collision placement for tilemaps with
`tile_origin` set to `TILE_ORIGIN_CENTER`.
- Also fixes a bug in the offset computation for collision shapes
with `flip_v` flag set to true if `tile_origin` is
`TILE_ORIGIN_BOTTOM_LEFT`.
2017-11-27 15:12:30 +01:00
Rémi Verschelde
17b4f43e0e
Merge pull request #13308 from Krakean/scenetreedock_additemsdeselect
...
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-27 13:04:20 +01:00
Rémi Verschelde
b620b3d697
Merge pull request #13318 from Paulb23/adjust_viewport_to_cursor_issue_13190
...
Fixes adjust viewport to cursor when line is to long, issue 13190
2017-11-27 00:53:17 +01:00
Rémi Verschelde
2755eeb2f0
Merge pull request #13252 from Krakean/file_dialogs_small_tweaks
...
A few adjustments to file/dir open dialogs
2017-11-27 00:23:15 +01:00
Rémi Verschelde
7e4cfe4b94
Merge pull request #13245 from Krakean/itemlist_add_some_signals
...
Added some new API functionality to Item List component
2017-11-26 21:05:41 +01:00
Dmitry Koteroff
80a2ede0d1
Item List small enhancements
...
Item list: added new signal - nothing_selected (when mouse clicked on empty space), and two new functions - unselect_all() and is_any_selected()
2017-11-26 22:56:42 +03:00
Paulb23
565809e736
Fixes adjust viewport to cursor when line is to long, issue 13190
2017-11-26 19:10:05 +00:00
Juan Linietsky
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
...
Onion skinning
2017-11-26 15:13:35 -03:00
Marcin Zawiejski
86ed07c41c
initialize bus_index to 0
...
fixes #13305
2017-11-26 18:16:31 +01:00
Dmitry Koteroff
b8b5bb6577
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-26 18:30:48 +03:00
Poommetee Ketson
f2c1fd2e8f
Merge pull request #13295 from Calinou/tweak-camera-node-defaults
...
Tweak the default camera node settings
2017-11-26 20:53:28 +07:00
Hugo Locurcio
541df26184
Tweak the default camera node settings
...
- Increase FOV to 70
- Put the Z-near plane at 0.05 meters
2017-11-25 23:48:30 +01:00
Pedro J. Estébanez
922cf9fbb0
Fix crash on node duplication
...
That happened when an instanced scene was being duplicated while it also contained nodes added to it in the scene holding the instance.
Plus:
- Add comments about the logic behind all this.
- Move the null guard to where it can protect the most, but consider it a runtime error rather that a situation we expect.
Fixes #13282 .
2017-11-25 21:14:35 +01:00
Pedro J. Estébanez
d0e09d84f0
Implement onion skinning for the animation editor
2017-11-25 13:25:14 +01:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez
ff03a0bc7b
Implement backup/restore for animated values
2017-11-25 02:18:28 +01:00
Dmitry Koteroff
e3b0214f40
A few small adjustments to file dialogs:
...
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-24 21:21:55 +03:00
geequlim
f3588b6b65
Fix style error with MenuButton in default theme
2017-11-24 19:31:20 +08:00
Ruslan Mustakov
e967dbca6f
Fix TileMap and TileSet ClassDB bindings
2017-11-24 11:43:15 +07:00
Paulb23
f6f475e6ba
Fixed not be able to unfold the last line
2017-11-23 20:37:08 +00:00
Sofox
3551fc6af0
Fixed #13167 . Restored ParallaxLayer mirroring that was broken by pull request #12421
2017-11-23 01:52:34 +00:00
Juan Linietsky
81213917d1
change default propagation value
2017-11-22 14:41:45 -03:00
Rémi Verschelde
2ea5ac17e8
Merge pull request #13159 from AndreaCatania/ray
...
Removed type_mask and fixed some variable name
2017-11-22 16:40:20 +01:00
Rémi Verschelde
09153f1143
Merge pull request #12129 from willnationsdev/duplicate-fix
...
Node.duplicate(): instanced node's descendants' props = original's runtime values.
2017-11-22 15:42:31 +01:00
Rémi Verschelde
e38efe22c7
Merge pull request #12301 from MarianoGnu/master
...
Implement auto-tiling
2017-11-22 15:31:46 +01:00
Will Nations
e1c907ec73
Node.duplicate(): instanced node's descendants' properties now update
...
w/ original's runtime values.
2017-11-21 23:04:40 -06:00
ianb96
19c92c69c3
code folding scrolling fixes
2017-11-21 17:09:04 -05:00
AndreaCatania
d6e413bb9c
Removed type_mask and fixed some variable name
2017-11-21 22:56:40 +01:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
...
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
...
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
George Marques
20b07a1fb5
Merge pull request #13121 from Krakean/change_filedialog_removedot
...
Remove the "." and "/" (at the end of folders name) from file manage dialog (open scene, open file, ...)
2017-11-21 12:30:20 -02:00
Rémi Verschelde
25b860ee2a
Merge pull request #13132 from Chaosus/preserve_dupsignals_flags
...
Preserve duplicate signal flags
2017-11-21 14:25:50 +01:00
Rémi Verschelde
fee2f367af
Merge pull request #13134 from Chaosus/fixinvalidscroll
...
Fix invalid scroll
2017-11-21 14:25:15 +01:00
Chaosus
9240b7f2d1
Fix invalid scroll
2017-11-21 12:52:46 +03:00
Chaosus
fc74dbabd5
Preserve duplicate signal flags
2017-11-21 11:46:19 +03:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Dmitry Koteroff
20bda9a2ba
Remove the "." from file manage dialog (open scene, open file, ...)
...
Also removed the "." from game control's FileDialog component.
Also remove the "/" at the end of folders name.
2017-11-21 05:32:44 +03:00
Rémi Verschelde
ddc7793bba
Merge pull request #13105 from Krakean/master
...
Files list: Add "New Folder.." popup when nothing under mouse cursor
2017-11-20 22:44:23 +01:00
Daniel J. Ramirez
e5de5b4908
Visual fixes
...
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Dmitry Koteroff
d67b602f2f
Add "New Folder.." to right mouse button click on project fileslist panel _WHEN_ no any file/folder is under mouse cursor.
2017-11-20 21:25:13 +03:00
Rémi Verschelde
00be297b84
Merge pull request #12421 from TheSofox/parallax-overhaul
...
Overhauled the ParallaxBackground system
2017-11-20 15:36:03 +01:00
Poommetee Ketson
44986081f2
Merge pull request #13082 from groud/fix_err_class_registration
...
Fixes a double class registration error
2017-11-20 17:40:56 +07:00
Gilles Roudiere
f1ec8ff6e8
Fixes a double class registering error
2017-11-20 11:20:38 +01:00
Rémi Verschelde
341bf71dc1
Merge pull request #13023 from tom95/particles-align-y-12865
...
Make particles with DISABLE_Z active respect ALIGN_Y. Fixes #12865
2017-11-20 10:59:34 +01:00
Mariano Suligoy
bcfb0a09f8
Implement auto-tiling
2017-11-20 06:27:47 -03:00
Rémi Verschelde
7b5c447301
Merge pull request #12952 from bojidar-bg/12392-export-enums
...
Allow exporting enums from GDScript
2017-11-20 09:11:46 +01:00
Rémi Verschelde
6d105aba9a
Merge pull request #12983 from ianb96/scene_add_tab
...
Add Scene button and tab scrolling
2017-11-20 09:11:31 +01:00
Rémi Verschelde
d6dc909ebe
Merge pull request #12984 from willnationsdev/richtextlabel-hover-signal
...
RichTextLabel: Adding ability for single meta hovering
2017-11-20 09:10:52 +01:00
Rémi Verschelde
49a73182d3
Merge pull request #13041 from RandomShaper/unify-node-duplicate
...
Let SceneTreeDock duplicate nodes via Node::duplicate()
2017-11-20 08:59:40 +01:00
Rémi Verschelde
b1f037eeb9
Merge pull request #13049 from tagcup/pathfollow2d_parallel_transport
...
Use parallel transport in PathFollow2D.
2017-11-20 08:59:33 +01:00
Rémi Verschelde
414b388499
Fix TextEdit::cursor_set_line bindings
...
As spotted by @neikeq - fixes #13068 .
2017-11-20 08:11:31 +01:00
Rémi Verschelde
360343fb5a
Merge pull request #13065 from DoctorAlpaca/master
...
Fix the prevention for sliding on slopes in the 2d version of move_and_slide
2017-11-20 07:58:44 +01:00
Juan Linietsky
98cb49283d
Ability to change indirect light energy.
2017-11-19 21:46:00 -03:00
Eric Wiltfang
7dd9e5c57c
Fix the prevention for sliding on slopes in the 2d version of move_and_slide
...
Done by using the same method the 3d counterpart uses.
Fixes #13063 .
2017-11-20 01:42:44 +01:00
Rémi Verschelde
d826b043ad
Merge pull request #12950 from ianb96/code_folding
...
Code Folding
2017-11-20 00:15:10 +01:00
Rémi Verschelde
d2bc961388
Merge pull request #13000 from djrm/pr_import_fixes
...
import fixes
2017-11-19 21:59:11 +01:00
Tom Beckmann
93be4982d0
Make particles with DISABLE_Z active respect ALIGN_Y. Fixes #12865
2017-11-19 21:32:25 +01:00
Pedro J. Estébanez
5a0be858f4
Let SceneTreeDock duplicate nodes via Node::duplicate()
...
Helps with #11182 .
2017-11-19 21:30:17 +01:00
Pedro J. Estébanez
7286966971
Remove out-of-logic assignment of instance's original scene
2017-11-19 21:30:17 +01:00
Ferenc Arn
4e87f471d7
Use parallel transport in PathFollow2D.
...
Fixes #12995 .
2017-11-19 14:38:53 -05:00
Rémi Verschelde
618450caec
Merge pull request #13040 from RandomShaper/fix-signals-dup
...
Fix duplication of signals
2017-11-19 20:14:29 +01:00
Pedro J. Estébanez
803b3934d6
Fix duplication of signals
...
- Partially revert 6496b53549
, adding a comment about why duplications of signals must happen as a second phase.
- Add fallback logic for connections to nodes not in the duplicated hierarchy.
- Remove redundant call to `Node::_duplicate_signals()`.
Fixes #12951 .
2017-11-19 15:07:05 +01:00
Gilles Roudiere
8d1f2b1857
Rework the canvas_item API for further improves to the canvas item editor
2017-11-19 13:36:31 +01:00
Ian
f8e8b7d1a2
add scene button and tab scrolling
2017-11-18 20:31:51 -05:00
Ian
1e59169d2d
scrolling fixes
2017-11-18 20:07:53 -05:00
kbake
a5973f4071
change expand_to_len property to add on nonzero...also rename to
...
expand_to_text_length and shift window on expand to see all text
2017-11-18 18:57:48 -05:00
Ian
d350f506a0
TextEdit code folding
2017-11-17 21:49:43 -05:00
Daniel J. Ramirez
62eda56e67
Fixed mesh importing when multiple materials are present
2017-11-17 18:50:19 -06:00
Rémi Verschelde
0968c8d2f6
Merge pull request #12982 from tagcup/aabb_rename
...
Rename Rect3 to AABB.
2017-11-17 20:04:29 +01:00
Juan Linietsky
0e04316214
Merge pull request #12962 from SaracenOne/gui_focus_next_prev
...
Add manual overrides for focus_next and focus_previous
2017-11-17 15:03:05 -03:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Will Nations
eaea646648
Adding ability for single meta hovering
2017-11-17 09:37:41 -06:00
Bojidar Marinov
e4a36d0eda
Allow exporting enums from GDScript
...
Use as `export(E) ...`
Closes #12392
2017-11-17 14:33:36 +02:00
Rémi Verschelde
139a957802
Merge pull request #12763 from remorse107/Code-Complete
...
Modified code completion for better tabbing with immediate hints.
2017-11-17 00:33:27 +01:00
Rémi Verschelde
49cea443a9
Merge pull request #12870 from Nibodhika/master
...
Fixing tilemap rotation for non top-left tiles.
2017-11-17 00:05:23 +01:00
Juan Linietsky
5fa7cf35b2
Merge pull request #12960 from tagcup/fix_gi_emission_energy
...
Fix energy not affecting emissive texture in GI baker.
2017-11-16 08:41:59 -03:00
Saracen
e4201734df
Add manual overrides for focus_next and focus_previous on controls similar to what can already be done with focus neighbours.
2017-11-16 09:45:52 +00:00
Rémi Verschelde
3002130a6d
Merge pull request #12957 from bojidar-bg/12928-numeric-underscores
...
Allow underscores in GDScript numeric literals
2017-11-16 09:04:31 +01:00
Ferenc Arn
1980a54dbb
Fix energy not affecting emissive texture in GI baker.
...
Also fix emission_tex being invalid always due to wrong reference type.
Fixes #10534 .
2017-11-15 20:01:53 -05:00
Rémi Verschelde
15a20f9746
Remove obsolete ButtonArray theming
...
ButtonArrays have been removed in 3.0.
[ci skip]
2017-11-15 22:53:38 +01:00
Bojidar Marinov
443ce6fef2
Allow underscores in GDScript numeric literals
...
Closes #12928
2017-11-15 22:53:08 +02:00
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
Bojidar Marinov
7bbde636e8
Make Tween::interpolate_property's able to get() the initial value
...
To use this behavior, pass `null` in place of the initial_value parameter.
2017-11-13 11:23:46 +02: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
Eric Rybicki
bd5df84199
Allow double-axis lock in RigidBody and KinematicBody
2017-11-10 22:33:54 +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
Rémi Verschelde
8cb76888ae
Merge pull request #12228 from hi-ogawa/fix-spatial-shader-conversion-with-texture
...
Fix spatial shader conversion with texture
2017-10-20 23:55:58 +02:00
Rémi Verschelde
7969565de7
Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
...
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
Rémi Verschelde
08ebbc90a8
Merge pull request #12107 from RandomShaper/fix-anim-before-first-key
...
Fix animation before first key
2017-10-20 23:08:02 +02:00
Rémi Verschelde
f2f75d1f11
Merge pull request #12149 from endragor/check-input-handled
...
Check if input is handled before handling it
2017-10-20 22:47:31 +02:00
AlexHolly
d46093b974
fix LineEdit drag selection to the left
2017-10-20 22:25:12 +02:00
Rémi Verschelde
067fc88488
Merge pull request #12224 from NathanWarden/scene_tree_added_signal
...
Added a node_added signal to the SceneTree
2017-10-20 22:10:47 +02:00
Rémi Verschelde
fd4c907a35
Merge pull request #12260 from bojidar-bg/11975-navpoly-freeze
...
Fix adding a NavigationPolygonInstance to a Node2D freezing the editor
[ci skip]
2017-10-20 16:40:39 +02:00
Bojidar Marinov
a6472d0344
Fix adding a NavigationPolygonInstance to a Node2D freezing the editor
...
Fixes #11975
2017-10-20 16:55:47 +03:00
Rémi Verschelde
0e8db63009
Merge pull request #12084 from santouits/tab_container_bug
...
tab container arrows don't work when a popup was set
[ci skip]
2017-10-20 13:04:25 +02:00
Rémi Verschelde
7f477dae26
Merge pull request #12132 from TheSofox/parallax-fixes
...
Tweaks ParallaxBackground to work better with zoom.
[ci skip]
2017-10-20 13:03:23 +02:00
geequlim
eeacae563c
Fix window display shrink can't set to float numbers
2017-10-20 12:52:18 +02:00
Gilles Roudiere
5e348e72c1
Merge pull request #12159 from RandomShaper/fix-sticky-slider
...
Reset slider mouse state on hiding/removing
2017-10-20 11:48:57 +02:00
Nathan Warden
999ad9c0a8
Added a node_added signal to the SceneTree
2017-10-19 10:46:00 -05:00
Rémi Verschelde
6a363ad470
Merge pull request #12230 from BastiaanOlij/arvr_fix_binand
...
Fix button signals on ARVRController
[ci skip]
2017-10-19 16:19:24 +02:00
Rémi Verschelde
f2a31aeefb
Merge pull request #12229 from Noshyaar/pr-v
...
Fix Viewport clear mode is bool instead of int, fixes #12202
[ci skip]
2017-10-19 16:11:11 +02:00
Bastiaan Olij
914c4d3066
Always mixing up binary and and boolean and...
2017-10-20 00:28:17 +11:00
Poommetee Ketson
f9f3829bd2
Fix Viewport clear mode is bool instead of int, fixes #12202
2017-10-19 18:17:11 +07:00
Hiroshi Ogawa
3bd2a4c421
Fix spatial shader conversion with texture
2017-10-19 16:10:24 +09:00
AlexHolly
776fbe749c
Itemlist rmb now provides the same pos as Tree rmb
2017-10-18 14:56:38 +02:00
Sofox
aaf6e77198
Tweaks ParallaxBackground to work better with zoom. Ensures a Parallax Layer with a (1,1) motion scale synchs perfectly with a regular stationary sprite that is outside the ParallaxBackground, regardless of the zoom level and movement of the camera.
2017-10-18 11:17:42 +01:00
Pedro J. Estébanez
807a84f7c9
Reset slider mouse state on hiding/removing
...
Resetting `grab.active`, but also `mouse_inside` so that after reappearing it must be hovered again -even if the mouse is still over it- in order to get a highlight. That is consistent to the way other controls in the engine, e.g. buttons, work.
Fixes #12130 .
2017-10-16 20:59:25 +02:00
Ruslan Mustakov
5da02a0d9c
Check if input is handled before handling it
2017-10-16 19:13:33 +07:00
Rémi Verschelde
0c9d201044
Merge pull request #11407 from toger5/selection_override_color
...
added option to keep font color on selection + use consistent selection color in help (fixes : #11501 )
2017-10-15 20:49:38 +02:00
Pedro J. Estébanez
f4959ee32b
Fix animation before first key
...
Prior to this, the value assumed for the interval between the start of the track and the first frame would be the one of the first key if
- *seeking/playing a continuous track*;
- *seeking a discrete track*.
And the first key would be ignored until reached -thus not modifying the target property/transform- in the remaining case; namely, *playing a discrete track*.
In other words, the inner workings of the animation system considered the unreached first key for interpolation but not for a query of every key inside a time range.
With this changes, the first key is only considered is the animation is looped and ignored otherwise. That way, in order to have a start value, you'll need an explicit key at the very beginning of the track, while having the flexibility of the animation player not touching the target value until the first key is reached.
This corresponds to the point 1) of #10752 .
2017-10-15 01:28:08 +02:00
Pedro J. Estébanez
2d2467c0ff
Fix animation not stopping after seeking to the end
2017-10-14 22:21:20 +02:00
Matt Hughes
3edd3cd377
Fix video playback
...
This adds support to
- VideoPlayer
- VideoStreamWebm
- VideoStreamTheora
2017-10-14 23:20:39 +09:00
Andreas Haas
4c716f3623
[DOCS] Fix a few typos.
2017-10-14 12:45:49 +02:00
santouits
c91c22b1f3
tab container arrows don't work when a popup was set
2017-10-14 11:03:27 +03:00
Daniel J. Ramirez
9001ba26aa
Added and improved some missing icons, plus some other visual fixes.
2017-10-13 16:39:17 -05:00
Ruslan Mustakov
6106fd88d4
Remove junk output
...
Remove several prints that were added for engine debugging, but are
of no use to the end user, and only pollute the editor and game logs.
2017-10-13 12:40:19 +07:00
Hiroshi Ogawa
d777681882
Create ParticlesMaterialConversionPlugin and format generated shader code
2017-10-12 21:30:19 +09:00
Rémi Verschelde
3b76eea233
Merge pull request #12032 from Grosskopf/seperation-bugfix
...
Turned around minimum size scaling for seperator. Fixes #12020
2017-10-12 14:01:32 +02:00
Grosskopf
5194c03992
turned arround minimum Size for Seperator in reaction to issue #12020
2017-10-12 00:25:56 +02:00
Rémi Verschelde
d6fe668cef
Merge pull request #12026 from hickop/default-theme-sliders
...
Added grabber_area to default_theme sliders. Fixes #11261
2017-10-11 22:45:34 +02:00
MillionOstrich
8d8a90daef
Stop move_to_bottom losing references to treeitems
2017-10-11 21:35:56 +01:00
Rémi Verschelde
98718ecd63
Merge pull request #11951 from hungrymonkey/fix_issue11873
...
fix issue 11873. AudioStreamSample get_data() seems to be misaligned.
2017-10-11 22:30:13 +02:00
hickop
57d8ff636c
Added grabber_area to default_theme sliders. Fixes #11261
2017-10-11 16:33:17 +02:00
Gilles Roudiere
409e58e67a
Merge pull request #12018 from hi-ogawa/fix-animated-sprite-frame-property-slider
...
Fix AnimatedSprite frame property slider in editor
2017-10-11 16:28:28 +02:00
Ignacio Etcheverry
740ef3dc97
Merge pull request #11954 from neikeq/d
...
Added 'exposed' field to ClassInfo for registered classes
2017-10-11 13:54:34 +02:00
Hiroshi Ogawa
130ad806f8
Fix AnimatedSprite frame property slider in editor
2017-10-11 17:49:39 +09:00
Ignacio Etcheverry
0c2e882210
Adds 'exposed' field to ClassInfo
...
This field represents if the class is exposed to the scripting API.
The value is 'true' if the class was registered manually ('ClassDB::register_*class()'), otherwise it's false (registered on '_post_initialize').
- Added missing registration of classes that are meant to be exposed.
2017-10-09 23:49:17 +02:00
hungrymonkey
5080a9cf21
Fix data alignment issues in get_data() in AudioStreamSample
...
I am fixing the issue by adding DATA_PAD to the return pointer as
suggested by hi-ogawa
When using set_data in AudioStreamSample in PoolByteArray, the data is set
using a DATA_PAD to pad the pointer to the correct place as such
uint8_t *dataptr = (uint8_t *)data;
copymem(dataptr + DATA_PAD, r.ptr(), datalen);
data_bytes = datalen;
godot/scene/resources/audio_stream_sample.cpp#L473
All I am doing is adding a DATA_PAD to the return pointer to
get_data() in AudioStreamSample to change
godot/scene/resources/audio_stream_sample.cpp#L48
PoolVector<uint8_t>::Write w = pv.write();
copymem(w.ptr(), data, data_bytes);
to
PoolVector<uint8_t>::Write w = pv.write();
uint8_t *dataptr = (uint8_t *)data;
copymem(w.ptr(), dataptr + DATA_PAD, data_bytes);
Please review whether or not set or get is correct.
Because this issue seems to be fixable by removing DATA_PAD in set_data()
instead of adding DATA_PAD to get_data(). I have not tested the latter
fix
Fixes #issue, 11873
2017-10-09 11:34:28 -07:00
Rémi Verschelde
438e32d652
Merge pull request #11941 from Paulb23/members_selected_scroll_issue_11648
...
Consistant scroll when using members overview, issue 11648
2017-10-09 15:19:15 +02:00
Rémi Verschelde
e515a69916
Merge pull request #11915 from marcelofg55/desc_animation_errors
...
Added a name/path description when there is an error in the Animation Track
2017-10-09 14:53:39 +02:00
Rémi Verschelde
d989479744
Merge pull request #11884 from Noshyaar/pr-fd2
...
FileDialog: fix select index out of range
[ci skip]
2017-10-09 12:45:00 +02:00
Paulb23
b07dfd75ea
Consistant scroll when using members overview, issue 11648
2017-10-08 14:29:27 +01:00
Marcelo Fernandez
ac2879d189
Added a name/path description when there is an error in the Animation Track
2017-10-07 11:51:24 -03:00
Poommetee Ketson
5e67a3bca7
FileDialog: fix select index out of range
2017-10-06 22:03:12 +07:00
Bartłomiej T. Listwon
7430bbdac1
Fix LINK/UNLINK console spam with navmeshes
...
Removed unnecessary debug messages. Fixes #10804
2017-10-06 13:36:15 +02:00
Andreas Haas
701c77ba29
Merge pull request #11859 from marcelofg55/invalid_customtheme_crashfix
...
Fix crash when a custom theme can't be loaded
2017-10-06 13:11:52 +02:00
Andreas Haas
ec2a4da6d6
Merge pull request #11854 from endragor/fix-few-classdb-defs
...
Add NIL_IS_VARIANT usage to few definitions
2017-10-06 13:09:53 +02:00
BastiaanOlij
ce74efacbb
Made a few tweaks to the interface
2017-10-06 20:35:55 +11:00
Marcelo Fernandez
9aa20986f0
Fix crash when a custom theme can't be loaded
2017-10-05 15:52:57 -03:00
Ruslan Mustakov
61ddf52983
Add NIL_IS_VARIANT usage to few definitions
...
The missing usage flag led to GDNative API descriptions containting
arguments with "void" type.
2017-10-05 18:51:22 +07:00
Gilles Roudiere
b759d1416f
Merge pull request #11840 from djrm/pr_fix_drive_selection
...
Match file dialog drive with the current folder.
2017-10-05 12:09:35 +02:00
Daniel J. Ramirez
670564f98e
Match file dialog drive with the current folder.
2017-10-04 14:46:58 -05:00
Hein-Pieter van Braam
7c2cda72b8
Merge pull request #11816 from terahxluna/video_player_set_stream_position
...
Add function set_stream_position to VideoPlayer. Closes #8727
2017-10-04 18:03:13 +02:00
Juan Linietsky
ef08228db7
Restored normal bias as default bias in GIProbe
2017-10-04 09:32:16 -03:00
Terah
43410ca363
Add function set_stream_position to VideoPlayer
...
Also add docucmentation for set_stream_position in VideoPlayer
2017-10-04 07:46:08 +02:00
Andreas Haas
3c1dab7be7
Merge pull request #11770 from Noshyaar/pr-๓
...
CurveEditor: fix can't edit right tangent
2017-10-03 00:26:12 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Poommetee Ketson
0ce4d82bbf
CurveEditor: fix can't edit right tangent
2017-10-03 03:48:11 +07:00
Andreas Haas
cb71a6d6fa
Merge pull request #11754 from magyar123/master
...
Fixed center align in LineEdit
2017-10-02 22:26:42 +02:00
Poommetee Ketson
34ea271380
Merge pull request #11646 from djrm/pr_visual_improvements
...
Several visual improvements.
2017-10-02 23:49:44 +07:00
Poommetee Ketson
c96fc380e5
Merge pull request #11650 from kitsune/fix-range-unshare-crash
...
Fix crash when unsharing a range that is not shared
2017-10-02 23:48:59 +07:00
Poommetee Ketson
fcc2095909
Merge pull request #11713 from dracc/master
...
Added VehicleWheel::get_skidinfo()
2017-10-02 23:37:23 +07:00
Juan Linietsky
c9a925c4e0
Switched Burley/Lambert, and restored diffuse term to 0-1 range for compatibility.
2017-10-01 19:08:49 -03:00
balint magyar
b6b2ec7b77
Fixed center align in LineEdit
2017-10-01 20:11:46 +02:00
jagt
86bcbd5b15
Fix GraphEdit mouse scroll axis.
...
maps BUTTON_WHEEL_UP/DOWN to vscroll of GraphEdit.
maps KEY_SHIFT + BUTTON_WHEER_UP/DOWN to hscroll of GraphEdit.
2017-10-01 20:14:42 +08:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Gilles Roudiere
670e443046
Merge pull request #11684 from toger5/tab_container_menu_button_center
...
Vertical alignement (TabContainer menu button)
2017-09-30 12:43:49 +02:00
Gilles Roudiere
cc846fdf0a
Merge pull request #11701 from toger5/coustom_script_bg_fix
...
fixed custom background weird offset for code editor
2017-09-30 12:40:24 +02:00
Lucas Eriksson
4c712b9db5
Added VehicleWheel::get_skidinfo().
2017-09-30 03:02:16 +02:00
Juan Linietsky
d4e20555e8
Ability to set a custom FOV makes it possible to use sky on orthogonal view. Closes #9186
2017-09-29 18:56:52 -03:00
toger5
8c087e046d
fixed coustom bg weired offset for code editor
2017-09-29 17:00:17 +02:00
toger5
814c50106b
Vertical alignement (TabContainer menu button)
2017-09-29 13:23:11 +02:00
Indah Sylvia
392a94686c
Fixed typo: 'texure' to 'texture'
2017-09-29 04:40:01 +07:00
Daniel J. Ramirez
15986ea343
Several visual improvements.
...
Added proper label sizing
Improved text editor status bar
Fixed some issues with ItemList and also some style fixes
Added background to color picker samples (the mrcdk fix)
Fixed slider ticks.
Added VS breakpoint and error styleboxes.
2017-09-28 15:00:43 -05:00
toger5
e49ac08c24
do not overlap current line with selection color
2017-09-28 16:12:12 +02:00
toger5
d58a159e38
keep font color on selection as default
2017-09-28 14:17:14 +02:00
Dylan Enloe
45a322b6ae
Fix crash when unsharing a range that is not shared
...
Added a guard to Range::_unref_shared to prevent it from doing anything
in the event that shared is null.
Fixes Issue: #11521
2017-09-28 00:45:05 -07:00
Rémi Verschelde
da144fed4c
Merge pull request #11617 from groud/fix_bad_display
...
Fixes bad display
2017-09-27 22:15:00 +02:00
Rémi Verschelde
78423320d7
Merge pull request #11618 from tagcup/button_toggle
...
Fix toggle mode of BaseButton.
[ci skip]
2017-09-27 15:47:59 +02:00
Marcelo Fernandez
f12b4e5fa3
Fixed bug with clearing the stream in AudioPlayerStream
2017-09-27 10:30:08 -03:00
Ferenc Arn
9c516d8383
Fix toggle mode of BaseButton.
...
..which got broken with #11480 .
2017-09-26 20:10:44 -04:00
Gilles Roudiere
bd8a5fba30
Fixes set_anchors_and_margins_preset()
2017-09-27 00:38:41 +02:00
Gilles Roudiere
6f185cc9f7
Remove unecessary anchors&margins set causing bad display (sons of containers)
2017-09-27 00:38:28 +02:00
volzhs
c5f0717053
Fix crash when scene has LineEdit and run from editor
2017-09-26 16:19:02 +09:00
Rémi Verschelde
59c3f61d57
Merge pull request #11587 from Zylann/directional_light_init
...
In editor, instance DirectionalLight with an initial orientation
[ci skip]
2017-09-26 08:11:57 +02:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Marc Gilleron
2ac8c2fa91
In editor, instance DirectionalLight with an initial sun-like orientation
2017-09-25 23:17:23 +02:00
Rémi Verschelde
938681724f
Merge pull request #11541 from Paulb23/tree_arrow_goto_parent
...
Goto to parent on left arrow in tree with single column
[ci skip]
2017-09-25 23:16:06 +02:00
Rémi Verschelde
5567cbe6ae
Merge pull request #11545 from Paulb23/line_edit_caret_blink_resetting_issue_10764
...
Fixed caret blink and speed resetting in scenes, issue 10764
[ci skip]
2017-09-25 23:10:32 +02:00
Rémi Verschelde
7bb9a26de3
Merge pull request #11546 from Paulb23/scrollbar_jitter
...
Fixed scrollbar Jitter when clicking
[ci skip]
2017-09-25 23:08:48 +02:00
Elliott Sales de Andrade
ffab67b8da
Use BoolVariable in target/component/advanced options.
2017-09-25 14:36:02 -04:00
Poommetee Ketson
0761efaf36
Merge pull request #11552 from Tetane/master
...
Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
2017-09-25 19:20:52 +07:00
Tetane
b3f3a91e15
Add a missing constant binding in SceenTree
...
Add missing constant binding "STRETCH_ASPECT_EXPAND"
(I cannot test it because godot does not compile anymore on my pc (windows10))
2017-09-24 20:29:18 +02:00
Paulb23
8b80e97338
Fixed caret blink and speed resetting in scenes, issue 10764
2017-09-24 17:22:47 +01:00
Paulb23
5815aaa035
Fixed scrollbar jitter when clicking
2017-09-24 16:19:52 +01:00
Paulb23
35c5422dc2
Goto to parent on left arrow in tree with single column
2017-09-24 13:33:03 +01:00
damarindra
b786e7877b
Fix: CollisionObject shape owner indexing is inconsistent
2017-09-24 15:55:45 +07:00
Juan Linietsky
81c9cfdc1b
Added light affect parameter to baked AO
2017-09-23 23:10:34 -03:00
Marcelo Fernandez
46af050e93
Rename get_position => get_playback_position and seek_pos => seek on audio classes
2017-09-23 16:55:00 +02:00
Juan Linietsky
fbabef6da3
Fixes to rim parameter in shader
2017-09-23 08:27:48 -03:00
Marcelo Paez
5e50fde3d9
Changed get_audio_bus and set functions to get_audio_bus_name and set
...
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
2017-09-22 15:05:09 -03:00
Juan Linietsky
3237e05c36
Ability to convert from SpatialMaterial to ShaderMaterial
2017-09-22 09:20:52 -03:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
Rémi Verschelde
15042128a6
Merge pull request #11480 from tagcup/button_unpress_fix
...
Ensure pressed is set to false in BaseButton::_unpress_group.
[ci skip]
2017-09-22 09:25:08 +02:00
Gilles Roudiere
92f062696a
Implements set_margins_preset(...)
2017-09-22 09:23:07 +02:00
Ferenc Arn
b4417161f5
RichTextLabel: Added get_visible_line_count method.
...
Also exposed get_line_count to GDScript.
2017-09-21 21:43:33 -04:00
Ferenc Arn
ca3061d9c2
Ensure pressed is set to false in BaseButton::_unpress_group.
2017-09-21 20:58:32 -04:00
Juan Linietsky
bf371dcb32
Added proximity and distance fade to SpatialMaterial
2017-09-21 15:20:28 -03:00
Rémi Verschelde
a1779c9044
Merge pull request #11013 from MednauN/master
...
Fix duplication of node with script
2017-09-21 10:53:58 +02:00