PouleyKetchoupp
9418f6a557
Fixed undefined setting values when loading dynamic fonts
2019-02-12 23:21:48 +01:00
Rémi Verschelde
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
Rémi Verschelde
13c50e8aa5
Merge pull request #25481 from hpvb/fix-ubsan-asan-reports
...
Fix many asan and ubsan reported issues
2019-02-12 12:21:01 +01:00
Rémi Verschelde
f60e5efadd
Merge pull request #25725 from clayjohn/multimesh_transform_2d
...
Added ability to set_instance_transform_2d in multimesh
2019-02-12 11:35:42 +01:00
Rémi Verschelde
9c6f19117c
Merge pull request #25754 from JFonS/fix_25567
...
Fix canvas particle material for old GLSL versions
2019-02-12 11:25:32 +01:00
JFonS
4d933b1530
Fix canvas particle material for old GLSL versions
2019-02-11 14:56:23 +01:00
Michael Alexsander Silva Dias
e322fd140e
Add disabled tab style
2019-02-10 18:12:17 -02:00
Rémi Verschelde
1aa7fc09eb
TSCN: Remove extra newline after [resource]/[ext_resource]
...
Some cases had been handled in #17602 , but those two were missed.
Fixes #24677 .
2019-02-10 16:58:45 +01:00
Rémi Verschelde
8908bdc7f2
Merge pull request #25653 from BastiaanOlij/fix_hide_skyrotation
...
Hide new sky properties if we don't have sky as a background
2019-02-09 13:09:39 +01:00
clayjohn
20ff01b8e4
added ability to set instance_transform_2d in multimesh
2019-02-08 20:59:09 -08:00
Rémi Verschelde
e190589f3d
Merge pull request #25627 from clayjohn/visual_shader_texture_bug
...
Change hint_color to hint_albedo for sampler2ds
2019-02-08 20:19:28 +01:00
Rémi Verschelde
9523403192
Merge pull request #25509 from bojidar-bg/25504-update-bitmask-crash
...
Fix crashes when calling update_bitmask_area
2019-02-08 11:16:38 +01:00
Bastiaan Olij
edc5628541
Hide new sky properties if we don't have sky as a background
2019-02-06 21:27:31 +11:00
clayjohn
b78a384921
change hint_color to hint_albedo for sampler2ds
2019-02-04 22:12:25 -08:00
Bojidar Marinov
abfeba8d12
Fix crashes when calling update_bitmask_area
...
Fixes #25504
2019-01-31 11:48:37 +02:00
K. S. Ernest (iFire) Lee
b83c3827f3
Add check in folding to see if the nodepath exists to avoid message spam.
2019-01-30 20:19:44 -08:00
Hein-Pieter van Braam
d308eb091a
Fix many asan and ubsan reported issues
...
This allows most demos to run without any ubsan or asan errors. There
are still some things in thirdpart/ and some things in AudioServer that
needs a look but this fixes a lot of issues. This should help debug less
obvious issues, hopefully.
This fixes #25217 and fixes #25218
2019-01-30 06:43:56 +01:00
Rémi Verschelde
402cfa983d
Fix recursive assignment of Textures and BitMapFont
...
Fixes #24213 .
2019-01-28 15:10:34 +01:00
Rémi Verschelde
7e99ac22ae
Merge pull request #25366 from clayjohn/visual_shader_builtins
...
Updated visual shader builtins
2019-01-27 22:23:32 +01:00
Rémi Verschelde
17b2b17471
Document AnimatedTexture and bind MAX_FRAMES constant
...
Closes #24935 .
2019-01-27 13:11:57 +01:00
clayjohn
c4db6ce2b2
updated visual shader builtins
2019-01-27 01:27:09 -08:00
Rémi Verschelde
433b8ee526
doc: Sync classref with current source
2019-01-26 22:21:53 +01:00
Daniel Rakos
5fcb03f6b6
Changed ImageTexture image cache type to the correct one, fixes #24971
...
The original attempt to fix the issue was accidentally using the wrong
type for the image cache. This change fixes that.
2019-01-26 09:12:38 +01:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Fabian
01170c911c
Added copy_theme and fixed bugs in copy theme introduced by #2e0a94e
2019-01-25 13:14:06 +10:30
Juan Linietsky
a280bd0c85
Removed dangerous and useless function, closes #22884
2019-01-24 17:56:19 -03:00
Juan Linietsky
d0b736f7e5
Ability to get the current canvas item being drawn from stylebox.
2019-01-24 10:22:41 -03:00
groud
0577f93cf6
Fixing textures not triggering _change_notify
2019-01-23 21:48:58 +01:00
Marcin Zawiejski
bbc9e91043
Fix warning when setting out of range outline_size
...
Fixes the warning mentioned in #25046
2019-01-23 14:44:16 +01:00
Juan Linietsky
e081cec69f
Fix collision margin being wrongly read by default, fixes #25181
2019-01-22 10:15:18 -03:00
Juan Linietsky
3eb0757552
Modified code generation to be more friendly to previews, fixes #25094
2019-01-21 16:10:23 -03:00
Juan Linietsky
0c54e6344b
Fix capture interpolation mode in Animation, closes #24015
2019-01-18 17:07:45 -03:00
Juan Linietsky
d8b702b566
-Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860
...
-Fixed potential bug in OWC (i dont think anyone had it but..)
2019-01-18 14:15:05 -03:00
Juan Linietsky
5e709baba1
Fix keying resource properties, closes #24690
2019-01-17 12:30:34 -03:00
Juan Linietsky
56d4b9b1ae
Fix functions to get direct contacts from shapes, closes #19618
2019-01-17 12:01:09 -03:00
Michael Alexsander Silva Dias
9c69d7f339
Appease some CppCheck warns for files in the "scene" directory
2019-01-16 12:59:18 -02:00
Stanislav
3beca92d61
Fixed typo in ImageTexture:: & StreamTexture::is_pixel_opaque
...
Fixes #24946
2019-01-15 12:28:50 +03:00
Juan Linietsky
81180b266a
Hide worldenvironment settings not relevant in GLES2. Fixes #23281
2019-01-14 12:59:31 -03:00
Rémi Verschelde
11c09a17c2
Fix showing AnimatedTexture frame_* properties in editor
...
Regression from cd0b82fd56
, it must be hidden from docs
(PROPERTY_USAGE_INTERNAL) but not from the editor.
Supersedes and fixes #24880 .
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2019-01-10 14:12:14 +01:00
volzhs
a9b7843dca
Fix font kerning
2019-01-05 09:44:47 +09:00
Rémi Verschelde
bc9899fb9f
Merge pull request #24504 from harrisyu/AtlasCheckPixelOpaque
...
Fix #24470 Atlas Texture with margin setting cause error in editor.
2019-01-04 16:11:37 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture
2019-01-03 13:09:25 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias
4a91f94c13
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 10:54:03 -02:00
Rémi Verschelde
2e39e38c10
doc: Sync classref with current source
...
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
harrisyu
9d6f16e864
Fix #24470 Atlas Texture with margin setting cause error in editor.
2018-12-20 21:40:40 +08:00
Shinryuuji
e24379e61f
Fix TextureLayered::create not retaining format
2018-12-20 12:35:22 +01:00
volzhs
e577093965
Fix colored font rendered in wrong size
...
Fix #24456
The character->rect.size is properly update at DynamicFontAtSize::_bitmap_to_character
so no need to multiply scale again.
It was changed with 5cd12f6649
2018-12-19 03:54:51 +09:00
Michael Alexsander Silva Dias
b86b497cec
General fixes for the AnimationTree editor
2018-12-17 21:03:58 -02:00
Rémi Verschelde
cf0716952d
Merge pull request #24422 from guilhermefelipecgs/fix_z_index_atlas
...
Add z-index to ATLAS_TILE
2018-12-17 13:57:23 +01:00
Guilherme Felipe
d840262739
Add z-index to ATLAS_TILE
2018-12-17 10:03:50 -02:00
Rémi Verschelde
4d546164e7
Fix maybe-uninitialized warnings from GCC 4.8.x
...
Fixes the following warnings in `p=server target=release_debug` builds
on Travis CI:
```
./core/os/memory.h: In function 'MainLoop* TestOAHashMap::test()':
./core/os/memory.h:108:111: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define memnew_placement(m_placement, m_class) _post_initialize(new (m_placement, sizeof(m_class), "") m_class)
^
main/tests/test_oa_hash_map.cpp:98:7: note: 'dummy' was declared here
int dummy;
^
scene/resources/bit_mask.cpp:447:3: warning: 'next_i' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/resources/bit_mask.cpp:448:4: warning: 'next_j' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-12-17 12:42:26 +01:00
Rémi Verschelde
20379119c3
Merge pull request #24366 from BastiaanOlij/adjust_sky_orientation
...
Adding option to re-orient our sky
2018-12-16 22:56:43 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Bastiaan Olij
f3dd3c0830
Adding option to re-orient our sky
2018-12-15 19:41:34 +11:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
ab1a80504e
Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme
...
Remove "panel" theme property from ButtonGroup
2018-12-12 13:59:17 +01:00
Rémi Verschelde
5ff403b3b0
Merge pull request #23361 from mrcdk/wav_loop_backward
...
Add backward looping support to AudioStreamSample (wav files)
2018-12-11 18:43:18 +01:00
Rémi Verschelde
3f9c054163
Merge pull request #23887 from ibrahn/dirty-material-list-lifetime
...
Moved dirty material lists from static to lifetime controlled by main.
2018-12-11 18:05:19 +01:00
Rémi Verschelde
573956915e
Merge pull request #22461 from dlasalle/#10480
...
Hide shading options in SpatialMaterial when 'FLAG_UNSHADED' is set.
2018-12-11 16:12:56 +01:00
Rémi Verschelde
55089d0b1a
Merge pull request #24224 from BastiaanOlij/flip_bitangent
...
Reverse bitangent on everythings
2018-12-11 15:21:43 +01:00
Michael Alexsander Silva Dias
bfab0fe3db
Remove "panel" theme property from ButtonGroup
2018-12-10 17:28:56 -02:00
Bastiaan Olij
fa63a0fe83
Reverse bitangent on everythings to ensure default normal map behavriour is consistent
2018-12-08 13:43:46 +11:00
Guilherme Felipe
33ca76e15d
Fix AutoTile z-index not persisting correctly
2018-12-07 23:51:49 -02:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Rémi Verschelde
6f9aa8727c
Merge pull request #23991 from glaforte/bugfix/19195
...
Generate the tangents without de-indexing and re-indexing the vertices.
2018-12-03 17:35:50 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde
dd06f6ee70
Fix style issues and signature mismatch
2018-11-28 10:21:07 +01:00
Juan Linietsky
af8d941c55
Added luminance capping to avoid glitches on small dots. closes #17996
2018-11-28 01:22:20 -03:00
Juan Linietsky
b243c26697
Get rid of ancient .theme format for Theme resource. It was not working and can be done the same using .tres format. Closes #19038
2018-11-27 20:42:47 -03:00
Juan Linietsky
2e0a94edc6
Changed theme notifications to work with newly introduced reference counted connections. Closes #21265 , Fixes #6145 .
...
Probably fixes more theme notification related open issues, should check.
2018-11-27 14:34:43 -03:00
Guillaume Laforte
675dc00d04
Generate the tangents without de-indexing and re-indexing the vertices.
...
The support for shape keys / blend shapes depends on a consistent order for the vertices.
Fixes https://github.com/godotengine/godot/issues/19195 .
2018-11-26 10:09:52 -05:00
Ibrahn Sahir
c1f5233217
Moved dirty material lists from static to lifetime controlled by main.
...
As with 7d82bed4f4
,
The list is now destroyed before the OS object, so can print errors if
there are unfreed materials.
2018-11-21 15:51:50 +00:00
Rémi Verschelde
7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
...
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde
477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
...
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Juan Linietsky
634aa4fc24
Ensure bone AABBs are properly transformed to affect mesh AABB, fixes #19281
2018-11-19 10:43:29 -03:00
Bastiaan Olij
bcef4b8dc6
Fixing tangent and binormal logic
2018-11-19 22:27:05 +11:00
Hugo Locurcio
34dba2f3cc
Tweak the Hue Variation property hint to allow finer adjustments
2018-11-19 10:52:17 +01:00
Juan Linietsky
0f7a86ca52
If using relationship lines (now default) hide guides.
2018-11-18 22:00:31 -03:00
Juan Linietsky
afe4f2080a
Make sky and ground energy do something, fixes #18856
2018-11-18 15:43:49 -03:00
Juan Linietsky
397b12727c
No one seems to like the error icon, so I made it invisible. Fixes #16344
2018-11-14 21:34:39 -03:00
Juan Linietsky
16022da187
Ensure that array passed to physics is always counter clockwise, fixes #15361 .
2018-11-14 15:55:50 -03:00
Juan Linietsky
55f5f4757e
Merge pull request #23248 from dlasalle/fog
...
Add parameters for fog end depth and use alpha as density.
2018-11-14 10:24:55 -03:00
Juan Linietsky
89a76f21ed
Ability to toggle flipping of tangent and binormal in depth parallax materials. Fixes #15934 .
2018-11-14 10:15:58 -03:00
Dominique LaSalle
6eae6247e4
Add parameter for fog max depth and use alpha as density.
2018-11-13 17:19:11 -08:00
Rémi Verschelde
4e5ef43dbb
ParticlesMaterial: Simplify PARAM_SCALE texture validation
...
Using the same helper method as other param textures.
2018-11-13 10:31:02 +01:00
Juan Linietsky
4a0f783732
Properly remember EOF when interactive loader is done, fixes #14936
2018-11-12 08:24:05 -03:00
Rémi Verschelde
c3023e84c2
Merge pull request #23632 from DualMatrix/floating_point
...
Fixed floating point issue in find() of animation.
2018-11-10 23:25:59 +01:00
DualMatrix
b4315abb71
Fixed floating point issue in find() of animation.
...
Fixes #23504
2018-11-10 23:09:02 +01:00
Hugo Locurcio
fd89464d45
Add a property to control DynamicFont anti-aliasing
...
- Editor font anti-aliasing can now be disabled in the Editor Settings.
- DynamicFonts used in projects can now have their anti-aliasing
disabled in their DynamicFontData child. Changes will be visible
upon reloading the scene in the editor.
2018-11-10 22:07:32 +01:00
Juan Linietsky
6e5872b709
Use a more compatible (and certain to work) mechanism to check default value on scene packing.
2018-11-09 08:16:36 -03:00
Juan Linietsky
555fb3a317
Effectively ensure that surface materials are the right size when setting them, fixes #23596
2018-11-08 15:58:52 -03:00
Juan Linietsky
f2e54057ae
-Moved EditorDefaultValue to ClassDB, made it core
...
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Bastiaan Olij
f10a10ca1d
Lower minimum margin for collision shapes
2018-11-08 19:26:09 +11:00
Kanabenki
f221bbb387
Fix angular velocity property range in editor for ParticlesMaterial
2018-11-06 13:55:59 +01:00
JFonS
85ce4a67ed
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
...
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.
Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
Rémi Verschelde
c025f526c8
Merge pull request #23436 from Toshiwoz/primitives_properties
...
fixed PrismMesh size property
2018-11-02 08:08:17 +01:00
Juan Linietsky
1d301870ac
Merge pull request #23169 from ibrahn/dynamic-fontlist-lifetime
...
Moved dynamic font list from static to lifetime controlled by main.
2018-11-01 12:58:14 -03:00
Toshiwo
b27b1a99a0
fixed issue with PrismMesh size, ignore for VS code .code-workspace
2018-11-01 10:21:16 -05:00
Rémi Verschelde
3f46295a76
Merge pull request #22925 from clayjohn/MeshDataToolError
...
Removed redundant error from MeshDataTool
2018-11-01 10:58:14 +01:00