Commit graph

2571 commits

Author SHA1 Message Date
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
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
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
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