summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-20Properly silence buffer while not in use, fixes #14866Juan Linietsky
2017-12-20Merge pull request #14867 from hpvb/optimize-lightbaker-prevent-false-sharingRémi Verschelde
Prevent false sharing in lightbaker RNG state
2017-12-20doc: Sync classref with current sourceRémi Verschelde
2017-12-20i18n: Sync translation templates with current sourceRémi Verschelde
2017-12-20i18n: Sync translations with WeblateRémi Verschelde
Adds Icelandic and Tamil.
2017-12-20Merge pull request #14823 from willnationsdev/get-base-scriptRémi Verschelde
Add Script.get_base_script()/get_instance_base_type() to API
2017-12-20Merge pull request #14860 from chongdashu/fix-12946-crash-editor-save-exitRémi Verschelde
Fix editor crash on "save and exit" bug
2017-12-20Fix gridmap disappearing after editing after bake, closes #14868Juan Linietsky
2017-12-20Prevent false sharing in lightbaker RNG stateHein-Pieter van Braam
The previous commit corrected the RNG behavior for the lightbaker but also made it significantly slower on high core count systems. Due to the vector of states being physically close together in RAM we force a cache synchronization across all cores whenever we call for the next random number to be generated. This will create a temporary local copy of the RNG state before entering the loop and then saving it back to the global state when done. This will preserve the per-thread RNG state (and random number quality) while significantly improving performance. On my 16 thread box it saves 3 minutes baking the Sponza scene, bringing performance back in line to before the various RNG fixes were introduced, being slightly faster than the first implementation.
2017-12-20Merge pull request #14863 from hpvb/fix-lightmapper-rngJuan Linietsky
Fix lightmapper rng
2017-12-20Fix lightmapper rngHein-Pieter van Braam
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-20Fix editor crash on "save and exit" bugChong-U Lim
If a scene is modified and a user closes the editor and selects the "Save and exit" option in the modal dialog -- the editor crashes. This appears to be a result of the message queue being memdeleted AFTER visual servers have been destroyed. Remnant textures handled by the message queue throw a NRE when their own ~Texture destructors reference the visual servers. This fixes bugs: #12946 and #12813.
2017-12-19Make dynamic font oversampling fully dynamic.Juan Linietsky
2017-12-20Correct license headers in main.cpp and voxel_light_baker.cppHein-Pieter van Braam
Sorry for the churn
2017-12-20Fix lightbaker clang-format issue and add license headersHein-Pieter van Braam
2017-12-20Thekla: redo reduz's changes from 8b01b2e85cb7ed60209c925f1e123374272bd8c8Rémi Verschelde
But this time without messing up the code style and with proper comments documenting changed code.
2017-12-20Thekla: Revert to state before clang-format changesRémi Verschelde
The file was wrongly formatted in 8b01b2e85cb7ed60209c925f1e123374272bd8c8, for thirdparty code we keep the upstream style *if* we need to make changes at all.
2017-12-20Lightbaker: include stdlib.h to fix CI buildsHein-Pieter van Braam
2017-12-19Fix randomness in voxel light baker, closes #14841Juan Linietsky
2017-12-19Merge pull request #14787 from hpvb/dont-try-to-mix-ended-sampleJuan Linietsky
Don't try to mix a sample that has already ended
2017-12-19Added font oversampling supportJuan Linietsky
2017-12-19Fix raytrace lightmap bake biasJuan Linietsky
2017-12-19Good while it lasted, restored full 3D for 2D viewport, as required for ↵Juan Linietsky
Canvas BG mode. Fixes #14540
2017-12-19Propertly deinitialize sampler FBO/Texture, fixes #14586,#14805Juan Linietsky
2017-12-19properly plot normal when bakingJuan Linietsky
2017-12-19Merge pull request #14834 from guilhermefelipecgs/fix_pixel_snapJuan Linietsky
Fix pixel snap not being used in 3.0
2017-12-19Fix pixel snap not being used in 3.0Guilherme Silva
2017-12-19Merge pull request #14833 from PJB3005/17-12-19-fix_mono_fatal_logsRémi Verschelde
Fix fatal mono logs not getting logged to disk.
2017-12-19Fix fatal mono logs not getting logged to disk.PJB3005
They aborted the application without flushing the log file. Also there was a typo.
2017-12-19Fixed bug where all file dialogs requested thumbnails even if hidden.Juan Linietsky
2017-12-19Add Script.get_base_script/instance_base_type APIWill Nations
2017-12-19-Fix some crashes in unwrapperJuan Linietsky
-Add emission lighting to raytrace mode, fixes #14686
2017-12-19Should no longer crash after rebaking, may be a solution to #14795Juan Linietsky
Not sure if this is the same problem, as reported, please test.
2017-12-19Merge pull request #14821 from ibrahn/fnt-load-root-fixRémi Verschelde
BitmapFont::create_from_fnt loading file from project root.
2017-12-19fix for BitmapFont::create_from_fnt to allow loading from file inIbrahn Sahir
project root directory.
2017-12-19Merge pull request #14815 from rraallvv/cacheRémi Verschelde
Purge larger files faster from SCons cache (master)
2017-12-19Merge pull request #14818 from guilhermefelipecgs/fix_doc_methods_not_appearing2Rémi Verschelde
Add method_descr again because it's required
2017-12-18sort by the most recently accessed filesRhody Lugo
2017-12-18Add method_descr again because it's required for classes thatGuilherme Felipe
don't have public methods. revert #14814
2017-12-19Merge pull request #14814 from guilhermefelipecgs/fix_doc_methods_not_appearingRémi Verschelde
Fix doc methods not showing up
2017-12-18Fix doc methods not showing upGuilherme Felipe
2017-12-18Fix bug in previous commitRémi Verschelde
2017-12-18Prevent infinite loop in export template managerRémi Verschelde
2017-12-19Merge pull request #14809 from onur/fix-export-templates-install-from-fileNoshyaar
Fix installing export templates from file
2017-12-18Fix installing export templates from fileOnur Aslan
3de20641f5690aba7551da5c592a79d44af54fef did break installing export templates from file. This patch is fixing it.
2017-12-18Merge pull request #14699 from GodotExplorer/gdnlib_editorThomas Herzog
Add plugin to edit GDNativeLibrary
2017-12-18Add plugin to edit GDNativeLibrarygeequlim
Rename GDNativeLibraryEditor to GDNativeLibrarySingletonEditor
2017-12-18Use a different strategy for path remaps, try loading from a remap file instead.Juan Linietsky
This ensures multiple PCK exports still work.
2017-12-18Add more details to issue templateRémi Verschelde
2017-12-18doc: Sync classref with current sourceRémi Verschelde