Michael Alexsander Silva Dias
a02f02b9ed
Add example to Animation doc
2018-10-03 13:17:49 -03:00
florian
c14e034f06
Document find_node()'s owner argument behaviour
2018-10-03 18:16:27 +02:00
florian
65d182a939
ItemList signals additional documentation
...
Signals:
* item_selected
* item_rmb_select
2018-10-03 18:13:59 +02:00
Rémi Verschelde
f7cb23f9e3
Merge pull request #22675 from DualMatrix/duplicate_err
...
Fixed error when duplicating node with signal from editor.
2018-10-03 18:07:13 +02:00
Rémi Verschelde
dec20a987b
Fix some warnings raised by MSVC 2017
...
Disabled signed/unsigned warnings like for GCC/Clang
(warning C4018: '>=': signed/unsigned mismatch).
Fixes the following MSVC 2017 warnings:
```
core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation
core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation
```
2018-10-03 17:34:56 +02:00
Rémi Verschelde
95131e6f23
Fix warnings on release builds (not DEBUG_ENABLED)
...
Fixes the following Clang 5 warnings:
```
modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]
core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable]
core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable]
core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable]
core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function]
modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable]
modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function]
scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function]
```
2018-10-03 17:34:55 +02:00
Akeru
81fa121909
Fix fallback font oversampling.
2018-10-03 17:25:28 +02:00
qonnop
a93edeb307
Fixed DDS loader according to issue #22530
...
width and height attributes have to be switched according to the
official DDS header docs:
https://docs.microsoft.com/en-us/windows/desktop/direct3ddds/dds-header
2018-10-03 17:11:14 +02:00
Rémi Verschelde
874e3b4a37
Merge pull request #22676 from akien-mga/fix-warnings
...
Fix warnings in Android platform
2018-10-03 15:34:29 +02:00
Rémi Verschelde
d952126caf
Fix warnings in Android platform
...
Fixes the following Clang 7 warnings:
```
platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual]
platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual]
platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable]
platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable]
platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable]
platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable]
platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable]
platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable]
modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable]
drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings]
```
2018-10-03 15:17:00 +02:00
Rémi Verschelde
f8484bb77d
Merge pull request #22672 from akien-mga/fix-warnings
...
Fix various warnings reported by CI in #22620
2018-10-03 15:09:00 +02:00
DualMatrix
cb9559350f
Fixed error when duplicating node from editor.
...
Fixed error when duplicating node from editor.
2018-10-03 14:59:16 +02:00
Rémi Verschelde
60688c3fe7
Fix GDNative build warning on Android [-Wignored-attributes]
...
Fixes the following kind of warning spam:
```
modules/gdnative/include/gdnative/color.h:61:6: warning: calling convention 'sysv_abi' ignored for this target [-Wignored-attributes]
void GDAPI godot_color_new_rgba(godot_color *r_dest, const godot_real p_r, const godot_real p_g, const godot_real p_b, const godot_real p_a);
^
modules/gdnative/include/gdnative/gdnative.h:52:15: note: expanded from macro 'GDAPI'
^
modules/gdnative/include/gdnative/gdnative.h:51:38: note: expanded from macro 'GDCALLINGCONV'
^
```
2018-10-03 14:23:04 +02:00
Rémi Verschelde
6ab78d9ffb
Fix some more warnings reported by CI
...
Fixes the following Clang 7 warnings:
```
core/io/marshalls.cpp:872:10: warning: unused variable 'f' [-Wunused-variable]
core/ustring.cpp:1831:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
core/ustring.cpp:1832:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
drivers/gles3/rasterizer_gles3.cpp:82:24: warning: unused function '_gl_debug_print' [-Wunused-function,34]
main/main.cpp:118:13: warning: unused variable 'auto_build_solutions' [-Wunused-variable]
modules/csg/csg_gizmos.cpp:225:46: warning: 'current' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-03 14:13:42 +02:00
Rémi Verschelde
c1cee80829
Merge pull request #22668 from groud/add_open_docs
...
Add a shortcut to the documentation in the scene tree RMB menu
2018-10-03 13:28:14 +02:00
Rémi Verschelde
93513ba818
Merge pull request #22598 from DualMatrix/animation_frame_next
...
Fixed animation editor not moving to next frame of sprites when editing.
2018-10-03 11:40:10 +02:00
Rémi Verschelde
bb1503c3b7
Merge pull request #22666 from JFonS/noisetexture_remove_size
...
Remove redundant size property from NoiseTexture
2018-10-03 11:36:10 +02:00
groud
980aa276e3
Add a shortcut to the documentation in the scene tree RMB menu
2018-10-03 11:25:18 +02:00
JFonS
e14ead32dd
Remove redundant size property from NoiseTexture
2018-10-03 10:27:24 +02:00
Rémi Verschelde
0bc0baff82
Merge pull request #22657 from YeldhamDev/remove_doc_path
...
Remove "Doc Path" setting
2018-10-03 09:44:41 +02:00
Rémi Verschelde
64962fe605
Merge pull request #22653 from neikeq/mono-mod-fix-gcc-warnings
...
Fix GCC compiler warning in mono module
2018-10-03 08:43:43 +02:00
Rémi Verschelde
9941c5a132
Merge pull request #22651 from cbscribe/kcc_docs_color_rigidbody
...
[DOCS] Classref updates: Color, RigidBody*
2018-10-03 08:19:38 +02:00
Michael Alexsander Silva Dias
1316595c96
Remove "Doc Path" setting
2018-10-02 22:17:31 -03:00
Ignacio Etcheverry
2c8980f44c
Fix GCC compiler warning in mono module
...
- thread_local.h: 'delegating constructors only available with -std=c++11 or -std=gnu++11'
- mono_reg_utils.cpp: 'extra tokens at end of #endif directive'
- mono_bottom_panel.cpp: '<fieldB> will be initialized after <fieldA> when initialized here'
- bindings_generator.cpp: 'name lookup of 'i' changed (...) matches this 'i' under ISO standard rules (...) matches this 'i' under old rules (...)'
2018-10-03 00:56:28 +02:00
Chris Bradfield
7bc11505b1
[DOCS] Classref updates: Color, RigidBody*
2018-10-02 15:47:10 -07:00
Rémi Verschelde
d675d04f09
Merge pull request #22645 from merumelu/plugin-ready-path
...
PluginConfigDialog: pass subfolder name instead of plugin name on creation
2018-10-03 00:35:08 +02:00
Rémi Verschelde
f511fa35e5
Merge pull request #22647 from YeldhamDev/parallaxlayer_doc_note
...
Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene
2018-10-03 00:18:11 +02:00
Rémi Verschelde
2da6d510bc
Merge pull request #22646 from LikeLakers2/docs-fix-enum-newlines
...
Add extra newline after enum members and constants, to ensure they'll…
2018-10-03 00:09:54 +02:00
Juan Linietsky
286b70839e
vertex lit optimization for fog.
2018-10-02 19:08:33 -03:00
Juan Linietsky
11f088279d
Implemented FOG support in GLES2.
2018-10-02 18:53:16 -03:00
LikeLakers2
0d6546ed44
Add extra newline after enum members and constants, to ensure they'll format properly after a multi-line description
2018-10-02 16:48:40 -04:00
Michael Alexsander Silva Dias
07e0f796af
Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene
2018-10-02 17:48:01 -03:00
merumelu
9f76b6a5a5
PluginConfigDialog: pass subfolder name instead of plugin name on creation
...
Also add `_exit_tree` to the script template
2018-10-02 22:15:13 +02:00
Rémi Verschelde
723e2e9654
Merge pull request #22638 from Dragoncraft89/master
...
Add critical info to TreeItem.set_custom_draw documentation
2018-10-02 20:12:44 +02:00
florian
612193b77f
Add critical info to TreeItem.set_custom_draw documentation
...
Indicates that the method needs 2 arguments to be called
2018-10-02 19:42:58 +02:00
Rémi Verschelde
45842c0ea9
Merge pull request #22627 from akien-mga/gles2-pixel-snap
...
GLES2: Implement pixel snap 2D option
2018-10-02 19:09:34 +02:00
Rémi Verschelde
051b8837b0
Merge pull request #22636 from tagcup/comment
...
Bring accidentally commented out lines.
2018-10-02 19:00:09 +02:00
Juan Linietsky
75c29879b0
Disable forced inline when building in debug.
2018-10-02 13:54:15 -03:00
Ferenc Arn
658c2b6eee
Bring accidentally commented out lines back.
...
Oversight by me in #22483 . GLES2 doesn't seem to be supporting anisotropy at the moment anyway ---in case it gets revived.
2018-10-02 12:44:31 -04:00
Rémi Verschelde
ff1794a7a0
Merge pull request #22621 from groud/limit_window_size
...
Avoid the window size to go below 0
2018-10-02 18:42:56 +02:00
Rémi Verschelde
470602699d
Merge pull request #22626 from akien-mga/travis-android-ndk
...
Travis: Update Android NDK to r18
2018-10-02 18:42:28 +02:00
Rémi Verschelde
b05efd98ff
Merge pull request #22628 from akien-mga/gles2-fix-ios
...
Disable GLES2 debugging on iOS, fixes build
2018-10-02 16:55:22 +02:00
Rémi Verschelde
540db0a0e7
Merge pull request #22329 from DualMatrix/no_select
...
Made children of Containers not selectable.
2018-10-02 16:39:00 +02:00
Rémi Verschelde
63e1c6dce3
Disable GLES2 debugging on iOS, fixes build
...
Could be readded by someone who knows how to access an API
similar to EGL on iOS.
2018-10-02 16:34:31 +02:00
Rémi Verschelde
3c62aa778d
Style: Fix clang-format pre-commit hook for java and glsl
2018-10-02 16:10:50 +02:00
Rémi Verschelde
ac2a4771d5
GLES2: Implement pixel snap 2D option
2018-10-02 15:53:24 +02:00
Rémi Verschelde
8c9c1d6882
Merge pull request #21436 from CptPotato/tonemap-fixes
...
tonemapping fixes
2018-10-02 15:42:15 +02:00
Rémi Verschelde
4d693fc3f0
Merge pull request #22455 from Calinou/reverse-cull-face-update-light
...
Update lights when their reverse cull face mode is toggled
2018-10-02 15:23:24 +02:00
Rémi Verschelde
9c93a401b9
Merge pull request #22483 from tagcup/fresnel
...
Restore the Fresnel term in the BRDF.
2018-10-02 15:18:31 +02:00
Rémi Verschelde
7be2152d2a
Travis: Update Android NDK to r18
2018-10-02 15:17:17 +02:00