Commit graph

1175 commits

Author SHA1 Message Date
qarmin
479649b5fb Fix typo count_count to count 2019-04-23 01:25:29 +02:00
Juan Linietsky
f46899e922 Expose visible instance count to multimesh 2019-04-22 18:38:49 -03:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
33b69340ad
Merge pull request #27219 from raphael10241024/debug_fix
Fix collider debug shape didn't changes with collider size changes
2019-04-21 20:34:34 +02:00
Juan Linietsky
04847ef5f9 Added ability for multiple images to be imported as an atlas
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
Juan Linietsky
ad1368a625 Clean up ASSIMP import code. 2019-04-13 15:19:47 -03:00
Chaosus
87f87839a6 Added conditional nodes to visual shaders 2019-04-13 18:17:20 +03:00
Juan Linietsky
c1dcdf6109 No more metadata and dependency indices kept in resources saved.
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
2019-04-11 14:36:58 -03:00
yakun.zhang
e5f531620e Fix collider debug shape didn't changes with collider size changes 2019-04-11 23:31:55 +08:00
Juan Linietsky
5823b5d77d Bundled VHACD library for convex decomposition.
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Rémi Verschelde
c8994b56f9 Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Rémi Verschelde
918de768a5
Merge pull request #27711 from neikeq/ifdef-clang-tidy
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08 12:24:30 +02:00
qarmin
856a8226a5 Small fixes, mostly dupicated code 2019-04-08 11:03:37 +02:00
Rémi Verschelde
de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Magnus Specht
a3af9d5714 + Added ignore flags to autotile bitmask
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
PouleyKetchoupp
cb3842833a Early exit when nothing to draw in style box flat (fixes #27764) 2019-04-07 22:23:44 +02:00
Rémi Verschelde
3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde
5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
Remove unused imports
2019-04-07 12:38:07 +02:00
Rémi Verschelde
f4f244ed4e
Merge pull request #27156 from BastiaanOlij/add_height_map_shape
Added height map shape that implement heightmap collision shape
2019-04-07 11:10:21 +02:00
Chaosus
5fd671b8a7 Major improvements for visual shader system 2019-04-07 08:17:38 +03:00
Rémi Verschelde
f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Hendrikto
49a81308c0 Remove unused imports 2019-04-06 18:05:05 +02:00
Michael Alexsander Silva Dias
c7cfe5330c Make 'ConvexPolygonShape2D' start empty, so it's consistent with other shapes. 2019-04-05 21:33:03 -03:00
Ignacio Etcheverry
ad2127a3e8 Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-05 23:41:51 +02:00
Andrii Doroshenko (Xrayez)
b16946dea6 Fix BitMap calculating incorrect true bit count 2019-04-04 19:11:39 +03:00
Angeloss
40acc3ecdc Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
(cherry picked from commit 589c5698a0)
2019-04-03 16:59:34 +02:00
PouleyKetchoupp
8346d90c5e Properly handle different border widths in rounded corner aa
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
PouleyKetchoupp
cb097283db Support for shadow offset in box style 2019-03-19 10:35:06 +01:00
Bastiaan Olij
8627f1515b Added height map shape that implement heightmap collision shape 2019-03-17 20:55:40 +11:00
Rémi Verschelde
43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde
39a5bb4fbc
Merge pull request #26459 from ptrojahn/eof
Remove extraneous line breaks from text resources
2019-03-16 11:12:35 -07:00
merumelu
db8f26c8e5 AudioStreamSample: Don't crash when writing to file fails 2019-03-12 15:51:07 +01:00
Juan Linietsky
3d34df0e79 Hide StreamTexture flags, fixes #26640 2019-03-06 12:50:24 -03:00
Mariano Suligoy
078b869d9a TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix for #24003 2019-03-04 21:03:10 -03:00
Juan Linietsky
53bec9deeb Fix and restore text, material and mesh previewers. 2019-03-04 15:53:18 -03:00
Juan Linietsky
2f32a75d2e Skeletons can now choose between using local or world coords for processing, fixes #26468 2019-03-03 12:24:00 -03:00
Rémi Verschelde
467f18b738 Fix style issues from recent commits 2019-03-03 12:45:20 +01:00
Juan Linietsky
90038a4eef Fixed a case of broken loop due to wrapping on the edge, closes #25245 2019-03-02 11:07:13 -03:00
Paul Trojahn
9bbda4db2f Remove extraneous line breaks from text resources
Fixes #23539
2019-03-01 23:02:58 +01:00
Juan Linietsky
4b679f7f16 Remove old method that makes no sense today, fixes #25566 2019-03-01 18:02:45 -03:00
Rémi Verschelde
03862d43ad
Merge pull request #26441 from QbieShay/fix_sigill_when_no_parent_escn
Engine does not crash anymore if a non root node in escn is missing a parent.
2019-03-01 20:18:59 +01:00
Ilaria Cislaghi
9d41ee71f6 Editor does not crash anymore if a non root node in escn is missing a parent 2019-03-01 14:38:02 +01:00
clayjohn
9fdc77c222 added diffuse and specular as inputs to visual shader 2019-02-28 22:02:06 -08:00
Rémi Verschelde
ed37408907
Merge pull request #26257 from kaadmy/procedural_sky_sun_energy
Use sun energy for ProceduralSky generation
2019-02-27 21:42:28 +01:00
Rémi Verschelde
426a6fdc17
Merge pull request #26134 from marxin/fix-Wsign-compare
Fix -Wsign-compare warnings.
2019-02-27 09:22:47 +01:00
Rémi Verschelde
0ba75c195e Fix GCC 5 build after #26331 and cleanup style
Also cleanup after 01a3dd3.
2019-02-27 09:01:24 +01:00
marxin
e5f665c718 Fix -Wsign-compare warnings.
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
Hein-Pieter van Braam
464e1142c4 Don't crash on previewing an AtlasTexture without a region 2019-02-27 00:44:09 +00:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.

Closes #11722
2019-02-26 15:38:23 +02:00