Hein-Pieter van Braam
ccbb5923ac
Fix lightmapper rng
...
In our previous attempts to fix the lightmapper we may have
inadvertently introduced the same issue we were trying to fix. It
appears that rand() will on some platforms introduce a mutex making it
slower and on others may have a per-thread state that would need to be
initialized with srand() on each thread. This slows down the lightbaking
further.
This sets up a separate rng state for each OpenMP thread by calling
rand() only in the single-threaded part of the code. We then keep a
vector of states.
I believe this solves our problems.
2017-12-20 12:09:09 +01:00
Juan Linietsky
b08735f209
Make dynamic font oversampling fully dynamic.
2017-12-19 21:58:32 -03:00
Hein-Pieter van Braam
7a10d3ab78
Correct license headers in main.cpp and voxel_light_baker.cpp
...
Sorry for the churn
2017-12-20 01:04:30 +01:00
Hein-Pieter van Braam
9fa5a588f0
Fix lightbaker clang-format issue and add license headers
2017-12-20 01:02:03 +01:00
Rémi Verschelde
3f7f65cd1c
Thekla: redo reduz's changes from 8b01b2e85c
...
But this time without messing up the code style and with proper
comments documenting changed code.
2017-12-20 00:39:57 +01:00
Rémi Verschelde
eb39b7f5de
Thekla: Revert to state before clang-format changes
...
The file was wrongly formatted in 8b01b2e85c
,
for thirdparty code we keep the upstream style *if* we need to make changes at all.
2017-12-20 00:39:57 +01:00
Hein-Pieter van Braam
ff04c07912
Lightbaker: include stdlib.h to fix CI builds
2017-12-20 00:29:27 +01:00
Juan Linietsky
808a3b9c71
Fix randomness in voxel light baker, closes #14841
2017-12-19 19:51:40 -03:00
Juan Linietsky
85f5953d5a
Merge pull request #14787 from hpvb/dont-try-to-mix-ended-sample
...
Don't try to mix a sample that has already ended
2017-12-19 18:55:43 -03:00
Juan Linietsky
fc103566e6
Added font oversampling support
2017-12-19 18:48:30 -03:00
Juan Linietsky
06dd10b390
Fix raytrace lightmap bake bias
2017-12-19 17:09:05 -03:00
Juan Linietsky
bf47b15e2c
Good while it lasted, restored full 3D for 2D viewport, as required for Canvas BG mode. Fixes #14540
2017-12-19 15:59:32 -03:00
Juan Linietsky
3ca06e1184
Propertly deinitialize sampler FBO/Texture, fixes #14586,#14805
2017-12-19 15:26:18 -03:00
Juan Linietsky
5544b89750
properly plot normal when baking
2017-12-19 15:04:52 -03:00
Juan Linietsky
0a6a0086d8
Merge pull request #14834 from guilhermefelipecgs/fix_pixel_snap
...
Fix pixel snap not being used in 3.0
2017-12-19 14:50:57 -03:00
Guilherme Silva
ffe827ab5a
Fix pixel snap not being used in 3.0
2017-12-19 15:18:07 -02:00
Rémi Verschelde
f66507e072
Merge pull request #14833 from PJB3005/17-12-19-fix_mono_fatal_logs
...
Fix fatal mono logs not getting logged to disk.
2017-12-19 17:40:34 +01:00
PJB3005
7368a0e0f0
Fix fatal mono logs not getting logged to disk.
...
They aborted the application without flushing the log file.
Also there was a typo.
2017-12-19 17:36:33 +01:00
Juan Linietsky
a714e1a4c7
Fixed bug where all file dialogs requested thumbnails even if hidden.
2017-12-19 12:57:46 -03:00
Juan Linietsky
8b01b2e85c
-Fix some crashes in unwrapper
...
-Add emission lighting to raytrace mode, fixes #14686
2017-12-19 12:16:55 -03:00
Juan Linietsky
1eb1837d0c
Should no longer crash after rebaking, may be a solution to #14795
...
Not sure if this is the same problem, as reported, please test.
2017-12-19 09:58:02 -03:00
Rémi Verschelde
49eea481ec
Merge pull request #14821 from ibrahn/fnt-load-root-fix
...
BitmapFont::create_from_fnt loading file from project root.
2017-12-19 12:53:41 +01:00
Ibrahn Sahir
8981924fbe
fix for BitmapFont::create_from_fnt to allow loading from file in
...
project root directory.
2017-12-19 11:02:25 +00:00
Rémi Verschelde
b068961c8f
Merge pull request #14815 from rraallvv/cache
...
Purge larger files faster from SCons cache (master)
2017-12-19 07:50:11 +01:00
Rémi Verschelde
062724f9ae
Merge pull request #14818 from guilhermefelipecgs/fix_doc_methods_not_appearing2
...
Add method_descr again because it's required
2017-12-19 07:30:02 +01:00
Rhody Lugo
b40259096c
sort by the most recently accessed files
2017-12-18 22:17:38 -04:00
Guilherme Felipe
8adf7c3ef2
Add method_descr again because it's required for classes that
...
don't have public methods. revert #14814
2017-12-18 22:47:17 -02:00
Rémi Verschelde
a6d5e1a26c
Merge pull request #14814 from guilhermefelipecgs/fix_doc_methods_not_appearing
...
Fix doc methods not showing up
2017-12-19 00:11:33 +01:00
Guilherme Felipe
5c0271eed7
Fix doc methods not showing up
2017-12-18 20:35:15 -02:00
Rémi Verschelde
d81bd965b6
Fix bug in previous commit
2017-12-18 20:59:32 +01:00
Rémi Verschelde
2a30f0460d
Prevent infinite loop in export template manager
2017-12-18 20:44:19 +01:00
Noshyaar
55e2ff6b2e
Merge pull request #14809 from onur/fix-export-templates-install-from-file
...
Fix installing export templates from file
2017-12-19 02:25:04 +07:00
Onur Aslan
4440900672
Fix installing export templates from file
...
3de20641f5
did break installing export
templates from file. This patch is fixing it.
2017-12-18 21:08:27 +03:00
Thomas Herzog
8d13753e91
Merge pull request #14699 from GodotExplorer/gdnlib_editor
...
Add plugin to edit GDNativeLibrary
2017-12-18 16:34:57 +01:00
geequlim
13bd5c22c6
Add plugin to edit GDNativeLibrary
...
Rename GDNativeLibraryEditor to GDNativeLibrarySingletonEditor
2017-12-18 23:23:29 +08:00
Juan Linietsky
b3a1bf3245
Use a different strategy for path remaps, try loading from a remap file instead.
...
This ensures multiple PCK exports still work.
2017-12-18 11:21:49 -03:00
Rémi Verschelde
d9f7fa4557
Add more details to issue template
2017-12-18 10:22:35 +01:00
Rémi Verschelde
abf20709af
doc: Sync classref with current source
2017-12-18 08:13:58 +01:00
Rémi Verschelde
aefa23eac1
Merge pull request #14794 from endragor/remove-debug-logs
...
Remove debug logs that are of no use to end users
2017-12-18 07:40:01 +01:00
Ruslan Mustakov
ec31c4f380
Remove debug logs that are of no use to end users
2017-12-18 13:37:37 +07:00
Juan Linietsky
e96c40f94a
Added baked light support for gridmaps.
2017-12-18 00:35:20 -03:00
Hein-Pieter van Braam
139daf0e03
Don't try to mix a sample that has already ended
...
On short samples the sample may finish playing before the mixer is done.
This fills the remaining time with zeros and ends mixing. This fixes the
users getting the following error logged:
::_mix_internal: Condition ' !active ' is true.
2017-12-18 00:53:51 +01:00
Rémi Verschelde
4e442b0648
Merge pull request #14788 from mrcdk/ogg_pop_noise_fix
...
Fix ogg looping pop noise. Closes #11468
2017-12-17 23:59:09 +01:00
Rémi Verschelde
e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
...
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations
f19fc83546
Dictionary::copy -> ::duplicate
2017-12-17 16:07:15 -06:00
MrCdK
1ccfb01cbc
Fix ogg looping pop noise. Closes #11468
2017-12-17 22:30:28 +01:00
Rémi Verschelde
27642868f1
Merge pull request #14786 from djrm/pr_fixes
...
Expose Range, ScrollBar and Slider as virtual.
2017-12-17 22:21:06 +01:00
Rémi Verschelde
28ed96570c
Merge pull request #14784 from Smjert/fix/sprite3d-init
...
Fix Sprite3D alpha_cut member not being initialized
2017-12-17 22:20:43 +01:00
Rémi Verschelde
19a8f409c1
Merge pull request #14782 from djrm/pr_visual_improvements
...
Now every variant type has its icon.
2017-12-17 22:19:44 +01:00
Rémi Verschelde
cd6fb0eb4e
Merge pull request #14779 from RayKoopa/setting_ui_design
...
Implement settings dialog UI ideas
2017-12-17 22:19:04 +01:00