Bastiaan Olij
e4dea0595a
Add transform support to deal with Bullets centering of shapes
2019-05-07 22:43:10 +10:00
Bastiaan Olij
4bb0df7060
Center shape according to logic Bullet applies
2019-05-07 20:44:09 +10:00
Rémi Verschelde
2a8cb46c8e
Merge pull request #28516 from Chaosus/fix_vs_mix_title
...
Renames captions of Scalar/VectorInterp in Visual Shaders
2019-05-06 17:34:15 +02:00
Rémi Verschelde
9123db748e
Merge pull request #28330 from BastiaanOlij/improve_multimesh
...
Added set_as_bulk_array, fixed transform2D saving and documentation
2019-05-06 09:57:48 +02:00
Tomasz Chabora
0bfcf8bc2f
Add bookmarks for easier code navigation
2019-05-05 18:57:53 +02:00
Rémi Verschelde
7b64a24eb3
Merge pull request #28548 from YeldhamDev/check_button_disabled_icon
...
Add "disabled" icon for 'CheckButton'
2019-05-03 14:55:32 +02:00
qarmin
4270403724
Fix crash when trying to set fallback or next pass with one of parent
2019-05-03 13:39:46 +02:00
Rémi Verschelde
f1e39e1fc8
Merge pull request #28636 from bojidar-bg/d2426-panel-styles
...
Remove unused panelf and panelnc styles
2019-05-03 09:40:11 +02:00
Bojidar Marinov
3d47dad2b1
Remove unused panelf
and panelnc
styles
...
Fixes godotengine/godot-docs#2426
2019-05-03 09:44:46 +03:00
Michael Alexsander Silva Dias
acadfe0a49
Add "disabled" icon for 'CheckButton'
2019-05-02 13:39:56 -03:00
Jared
e03f9ead21
Do precision comparison to prevent the creation of keyframes with a time that already exists.
2019-05-02 19:14:36 +03:00
Hugo Locurcio
818f756d90
Add a property hint for DynamicFont size
...
This caps its size to reasonable values in the Inspector.
This closes #22581 .
2019-05-02 00:46:53 +02:00
Maxime Leroy
6bd271139d
Fixing Curve2D/3D baked interpolated values
...
If bake interval is a multiple of the curve length, the curve would return NaN for some offset values (when `frac == 0.0`, it matches the start and end of the curve segment so `fmod == 0.0`, `frac` becomes NaN)
```
# Godot 3.1.1
var c = Curve3D.new()
c.add_point(Vector3())
c.add_point(Vector3(0.5,0,0))
c.add_point(Vector3(1,0,0))
c.bake_interval = 0.5
c.interpolate_baked(0.5) == Vector3(NAN, NAN, NAN)
```
2019-05-01 20:47:38 +02:00
miwanczuk
c86b03abd8
Expose TextEdit's drawSpaces feature to GDScript
2019-05-01 11:32:54 +02:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
...
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Rémi Verschelde
0644040872
Merge pull request #27021 from MarianoGnu/font
...
Add and expose to Font a function to get the word-wraped text size
2019-04-30 18:33:00 +02:00
K. S. Ernest (iFire) Lee
22ce1e2709
Expose more surface tools and add create_from_blend_shape.
2019-04-30 06:50:25 -07:00
Rémi Verschelde
9dc9434b1b
Merge pull request #24437 from mateusfccp/single_quotes_option
...
Add settings for single-quotes on completion
2019-04-30 14:58:33 +02:00
Mariano Suligoy
33c39e4c25
Add and expose to Font a function to get the rect size needed to draw a word-wraped text
2019-04-30 12:03:17 +02:00
Rémi Verschelde
9d42565f81
Merge pull request #27763 from maksloboda/priority-improvement
...
Changed autotile priority picking algorithm
2019-04-30 11:07:41 +02:00
Chaosus
4131b2b891
Renames captions of Scalar/VectorInterp in Visual Shaders
2019-04-29 21:04:11 +03:00
Rémi Verschelde
23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
...
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Rémi Verschelde
1af18ab235
Merge pull request #28399 from YeldhamDev/textedit_expose_tab_fold
...
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-29 17:04:46 +02:00
Bastiaan Olij
b652fcd241
Added set_as_bulk_array, fixed transform2D saving and documentation to MultiMesh
2019-04-26 20:30:16 +10:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places
2019-04-25 13:20:29 -04:00
Aaron Franke
b2e1c9c276
[Core] Approximate equality
2019-04-25 13:20:29 -04:00
Michael Alexsander Silva Dias
350bcce041
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-24 12:42:12 -03:00
Chaosus
21ca9f6c7c
Disallow loopback connection in visual scripts and visual shaders
2019-04-24 09:14:45 +03:00
Rikhardur Bjarni Einarsson
9bfa63496a
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00
Hein-Pieter van Braam
05ef1f4998
Merge pull request #27903 from Calinou/richtextlabel-brighten-default-color
...
Brighten the RichTextLabel color in the default theme
2019-04-23 05:59:16 +03:00
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
Hugo Locurcio
fa586289c6
Brighten the RichTextLabel color in the default theme
...
This makes its default color match Label's color, which leads to
a more consistent appearance.
This partially addresses #24570 .
2019-04-10 20:00:29 +02: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
Max
d9f0d9cdac
Changed autotile priority picking algorithm
2019-04-08 12:26:28 +03: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
qarmin
8460d0678c
Small fixes to static analyzer bugs
2019-04-04 22:00:16 +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
Windy Darian
52538b200f
Fix saturate ScalarFunc in Visual Shader
...
Was getting this error when using a saturate node. This change fixes it.
```
:39 - Invalid arguments for built-in function: max(float,int)
drivers\gles3\rasterizer_storage_gles3.cpp:2150 - Condition ' err != OK ' is true.
```
2019-02-25 23:30:03 -05:00
Juan Linietsky
a32b26dfa2
Several fixes to make GLES2 on HTML5 work much better.
...
Changed math class error reporting to be a bit less paranoid.
2019-02-25 21:47:29 -03:00
Bojidar Marinov
8dad5f1e10
Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
...
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.
Fixes #25904 .
2019-02-25 17:42:38 +02:00
Juan Linietsky
74d0ed2236
Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others
2019-02-24 22:36:53 -03:00
KaadmY
bffe97c110
Use sun energy for ProceduralSky generation
2019-02-24 17:12:35 -08:00
Hein-Pieter van Braam
a83e77fded
Explicitly use floating point numbers in the our shaders
...
We need to be explicit about using floating point numbers in our shaders
for compatibility with mobile GLES drivers.
2019-02-24 23:35:10 +00:00
Juan Linietsky
3ea04c1366
Prevent circular references to scene being saved, fixes #24384
2019-02-24 10:48:38 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Hugo Locurcio
eb79833770
Tweak SpatialMaterial's default metallic and roughness texture channels
...
To follow the glTF 2.0 specification in all cases (including outside
of imported glTF scenes), the blue channel is now used for metallic
and the green channel is now used for roughness.
2019-02-23 19:10:31 +01:00
Juan Linietsky
aab8f443f9
-Support DEPTH_TEXTURE in GLES2, fixes #25106
...
-Fix use of transparent framebuffers in GLES2
-Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-22 11:35:39 -03:00
Rémi Verschelde
c4b736d7ad
Fix code style issues
2019-02-22 09:52:27 +01:00
Juan Linietsky
8b231b96e3
Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801
2019-02-21 20:49:42 -03:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
marxin
7ae160f661
Fix 2 more UBSAN issues ( #25217 ).
2019-02-14 20:47:35 +01:00
Juan Linietsky
4a24ba6e77
-Fixes to undo redo to avoid crash, closes #24251
...
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Rémi Verschelde
6b184e4d3b
Merge pull request #25717 from nekomatata/dynamic-font-settings-fix
...
Fixed undefined behavior when loading dynamic font settings
2019-02-14 12:54:33 +01:00
Rémi Verschelde
5fc86026ca
Fix typos with codespell
...
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00