Błażej Szczygieł
f4f5855168
Don't crach when OpenGL version is unsupported
...
(cherry picked from commit ca3b8deb78
)
2016-10-09 17:21:48 +02:00
Błażej Szczygieł
f4da1e9ed2
Add compatibility with old OpenGL 2.1 drivers
...
If ARB_framebuffer_object is not supported, try to fall-back to
EXT_framebuffer_object if present.
In current version of godot, the way framebuffers are used is backward
compatible with the older EXT_framebuffer_object extension.
Fixes #6591
Done with SuperUserNameMan
(cherry picked from commit a27fafb273
)
2016-10-09 17:21:41 +02:00
Emmanuel Leblond
a5fe7ffbcd
Add CC parameter to allow use of custom C compiler
...
(cherry picked from commit cfd17de230
)
2016-10-09 17:21:33 +02:00
Andreas Haas
02487a4be1
AnimationEditor: zoom using ctrl+wheel
...
closes #6585
(cherry picked from commit 3cce39c2d3
)
2016-10-09 17:21:26 +02:00
romeojulietthotel
228ee4363e
Use pkgconfig to locate ALSA libs ( #6119 )
...
* This allows building when ALSA libs are in a non-standard location. PKG_CONFIG_PATH alone is not enough as the final link fails. Adding this makes the final link succeed.
* The extra LIBS flag for alsa is not needed so removing.
(cherry picked from commit 94d6757a0d
)
2016-10-09 17:21:17 +02:00
yg2f
36b1521cdc
expose GeometryInstance.get_aabb() etc fixes #6587
...
expose ``GeometryInstance.get_aabb();`` to gdscript
expose ``VisualInstance.get_transformed_aabb();`` to gdscript
and debug ``ImmediateGeometry::add_vertex()``;
(cherry picked from commit c1e2358914
)
2016-10-09 17:21:07 +02:00
Andreas Haas
d1ad94acf0
x11: Fix event.is_action() for release of modifier keys
...
The bug was that the release events for these also had the modifier state set, so the event comparison
failed.
Fixes #5901
(cherry picked from commit 6fcf2b2bd8
)
2016-10-09 17:20:57 +02:00
George Marques
63b5a80088
Fix crash when disabling main screen plugin
...
(cherry picked from commit 0ec2b7baea
)
2016-10-09 17:20:38 +02:00
Pedro J. Estébanez
45a5769162
Fix manifest generation bug in Android export
...
(cherry picked from commit 2c9d98bb48
)
2016-10-09 17:20:27 +02:00
knd
b9399e93ad
removed redundant assign operation in mesh_add_surface: elem_count is reassigned a value before the old one has been used.
...
(cherry picked from commit 708a028ce8
)
2016-10-09 17:20:20 +02:00
Andreas Haas
33223e7a8a
Add function to get readable names for joystick events
...
Closes #6476
(cherry picked from commit e0fcd9331a
)
2016-10-09 17:19:57 +02:00
anneomcl
12edde80f2
Fix for #6158 . Converting Vector2 to Size2 for scaling functions.
...
(cherry picked from commit aa5ade834c
)
2016-10-09 17:18:54 +02:00
Pawel Kowal
c8299249e4
Show True/False tooltip in property editor for bool values
...
(cherry picked from commit 623c483eba
)
2016-10-09 17:18:43 +02:00
George Marques
1d175be921
Add docs for XMLparser, VideoPlayer and most of Tree
...
(cherry picked from commit 7cd64c3c8d
)
2016-10-09 17:18:36 +02:00
Andreas Haas
94e5c48004
Expose Vector2::clamped() to scripts
...
Needed this and wondered that there's no built-in function for it.
So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
(cherry picked from commit c21412fa7e
)
2016-10-09 17:18:29 +02:00
Andreas Haas
4084ec4869
Make the choosable default editor layout the same as the actual default one.
...
Fixes #6266
(cherry picked from commit a2bff72eee
)
2016-10-09 17:18:02 +02:00
Andreas Haas
d3b549f2a3
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
...
Fixes #6466
(cherry picked from commit 9c71e5a9df
)
2016-10-09 17:17:54 +02:00
Pawel Kowal
4ca83c635f
Add scrolling to Tree control in Drag and Drop mode
...
(cherry picked from commit 9e5aaa27bc
)
2016-10-09 17:17:04 +02:00
Andreas Haas
e788ffff65
Fix input action pressed state not changing for quick joystick movements.
...
fixes #6488
Also removes a bunch of dead code related to checking if a joystick axis is pressed.
(cherry picked from commit 84783fe77b
)
2016-10-09 17:16:19 +02:00
George Marques
6a0d47f34c
Add a function to plugin get the main screen parent
...
- Fix a bug where the main screen button did not disappear when the plugin
was deactivated.
(cherry picked from commit 98e7c1edba
)
2016-10-09 17:12:15 +02:00
Brickcaster
e6d49fb54c
Fix for issue #6496
...
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
(cherry picked from commit cc7bc07e33
)
2016-10-09 17:11:54 +02:00
Rémi Verschelde
eed5d878e8
classref: Sync with current source
2016-09-19 09:08:12 +02:00
Andreas Haas
521b5bd90f
Update documentation on joystick vibration.
...
Added a note that long vibration durations are not recommended because of hardware limitations.
For example, my ps4 controller can only vibrate for ~3s on linux.
(cherry picked from commit cef70a5f8b
)
2016-09-18 23:22:14 +02:00
Paulb23
8dca3f3f42
Fix highlight current script when script temputure is disabled
...
(cherry picked from commit fbd0b6f995
)
2016-09-18 23:21:48 +02:00
Błażej Szczygieł
d2aa006ddb
Vorbis: Don't compile unnecessary encoder files
...
(cherry picked from commit 222bc07874
)
2016-09-18 23:21:36 +02:00
sanikoyes
ec32c33799
fix ScrollContainer cannot scroll when scroll bar is hidden
...
(cherry picked from commit b548ef0009
)
2016-09-18 23:20:37 +02:00
Paulb23
9b9870ed9f
Update current script color on change
...
(cherry picked from commit a0136838b3
)
2016-09-18 23:19:58 +02:00
Juan Linietsky
a72945f4e3
Added constants from types in code completion, somehow this was never added.
...
Stuff like Label.ALIGN_CENTER or Mesh.PRIMITIVE_TRIANGLES did not complete..
(cherry picked from commit b83350f4b2
)
2016-09-18 23:19:04 +02:00
Juan Linietsky
3ff8dea5f9
Fix Viewport.get_mouse_pos() for specific situations, closes #1885
...
(cherry picked from commit b16f41a10a
)
2016-09-18 23:17:07 +02:00
Pawel Kowal
2b43d0a028
ScrollContainer expand children bug fix
...
(cherry picked from commit 853161a000
)
2016-09-18 23:16:33 +02:00
George Marques
ee23649813
Fix the Windows environment in SCons spawn function
...
Properly fix #2974 as discussed there.
(cherry picked from commit aad87ab1b6
)
2016-09-18 23:15:56 +02:00
sanikoyes
75f51aece9
Tween: fix non-repeat interpolate_callback does not delete after call triggered
...
(cherry picked from commit cccea7e0b4
)
2016-09-18 23:15:43 +02:00
Ovnuniarchos
5653ac41f9
Mouse hotspot is not honored.
...
(cherry picked from commit 8fcd92c38a
)
2016-09-18 23:15:32 +02:00
Ralf Hölzemer
6c22cab856
Move hardcoded theme colors from editor_node into editor_themes
...
(cherry picked from commit 991a433cb3
)
2016-09-18 23:13:46 +02:00
Paulb23
71dc733ad2
Added ItemList get_v_scroll to docs
...
(cherry picked from commit 7d455fca71
)
2016-09-18 23:13:40 +02:00
Paulb23
04ade4d639
Added get_v_scroll to item list, issue 5343
...
(cherry picked from commit 63fd8f863b
)
2016-09-18 23:13:34 +02:00
Paulb23
20c3b35dd5
Added customisable grid color, issue 3781
...
(cherry picked from commit a82ecf6d80
)
2016-09-18 23:13:13 +02:00
Andreas Haas
323dec7dd5
x11: fix x360 wireless gamepad mapping.
...
Uses hat values instead of buttons for the dpad now.
Fixes #6419
(cherry picked from commit 20bad652ef
)
2016-09-18 23:13:06 +02:00
Gastronok
3b691907e9
Change the documentation to reflect that Directory.list_dir_begin()
...
returns true (not false) when a stream could not be initialized. (See, for
example,
https://github.com/godotengine/godot/blob/master/drivers/windows/dir_access_windows.cpp#L76
)
(cherry picked from commit cd82fafd58
)
2016-09-18 23:12:55 +02:00
MarianoGNU
85eca7bc93
Explicitly initialize TextureProgress's initial angle value.
...
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344
(cherry picked from commit ae4f7cbc2c
)
2016-09-18 23:12:48 +02:00
bebae
2e6ce4b362
fixed wrong placement of AcceptDialog Buttons issue-6143
...
(cherry picked from commit dd9189aac4
)
2016-09-18 23:12:39 +02:00
Paulb23
a1df4f138c
Document itemlist disable tooltip
...
(cherry picked from commit 607d602493
)
2016-09-18 23:12:30 +02:00
Paulb23
0aad82e921
Ability to disable item list tooltip, issue 6240
...
(cherry picked from commit 62a968b1c6
)
2016-09-18 23:12:23 +02:00
Paulb23
aae720e488
Added setting to change current script background color, issue 5450
...
(cherry picked from commit 9e92fcaef9
)
2016-09-18 23:12:15 +02:00
Geequlim
772a590261
Fix dialogs in ProjectManage don't with editor theme issue
...
(cherry picked from commit c1f23bb6af
)
2016-09-18 23:11:50 +02:00
Pedro J. Estébanez
f90370886f
Fix (potentially) Android libs packaging issue ( #5645 )
...
(cherry picked from commit e9065632c6
)
2016-09-18 23:11:18 +02:00
Pedro J. Estébanez
c44757c2b7
Expose light shadow color to canvas item shaders
...
(cherry picked from commit 0960887625
)
2016-09-18 23:11:08 +02:00
Pedro J. Estébanez
ffe5ecd67d
Rename misleading define
...
The macro USE_LIGHT_SHADOW_COLOR actually was being defined when the shader used SHADOW (the output shadow color), not the shadow color set for the light so it's better named USE_OUTPUT_SHADOW_COLOR. In 3D there's not that difference but renaming as well for consistency.
(cherry picked from commit b69e422af9
)
2016-09-18 23:10:26 +02:00
Juan Linietsky
e0ddef3164
Do not expose resource/ properties in sectioned property editor, closes #6396
...
(cherry picked from commit 0094c30938
)
2016-09-18 23:10:14 +02:00
Juan Linietsky
7178399548
Added option for UVs (and tangents) in adding sphere for ImmediateGeometry, closes #6398
...
(cherry picked from commit f31400c04d
)
2016-09-18 23:09:41 +02:00