Bernhard Liebl
517227943f
Inline some very common Vector2 operations
2017-12-25 15:58:14 +01:00
Noshyaar
32d8b99bc3
Merge pull request #14946 from mhilbrunner/patch-9
...
[DOCS] Small fixes for Semaphore
[ci skip]
2017-12-22 23:07:08 +07:00
Max Hilbrunner
1cae77cc66
[DOCS] Small fixes for Semaphore
2017-12-22 16:55:18 +01:00
Noshyaar
f0f838a10a
Merge pull request #14945 from mhilbrunner/patch-8
...
[DOCS] Small fixes for Mutex
[ci skip]
2017-12-22 22:49:37 +07:00
Max Hilbrunner
b7d945124e
[DOCS] Small fixes for Mutex
2017-12-22 16:46:09 +01:00
Rémi Verschelde
43190b8935
Merge pull request #14944 from NathanWarden/docs_animation_player
...
[DOCS] Finished the documentation for AnimationPlayer
2017-12-22 15:06:10 +01:00
Nathan Warden
4db01d18e5
Finished the documentation for AnimationPlayer
2017-12-22 08:49:20 -05:00
Rémi Verschelde
bf4d398d4e
Do not require OpenMP for non-tools builds (export templates)
2017-12-22 12:24:40 +01:00
Rémi Verschelde
074b9d2b3e
Add link to open and closed issues search to issue template
2017-12-22 10:27:13 +01:00
Rémi Verschelde
3068ccc8e6
Merge pull request #14913 from poke1024/tooltip-shortcut-names
...
Consistent display of shortcut names in tooltips
2017-12-21 22:47:50 +01:00
Rémi Verschelde
d510c33cd8
Merge pull request #14912 from volzhs/fix-filesystem-dock
...
Fix open directory in FileSystem dock
2017-12-21 22:25:04 +01:00
Rémi Verschelde
750febf46e
Merge pull request #14906 from Hinsbart/module_suffix
...
Scons: Use module suffix only for final binary.
2017-12-21 22:23:37 +01:00
Juan Linietsky
7d0cabe9d3
Change skeleton processing to work on global coordinates, should help fix many import problems from Blender, GLTF2, etc.
2017-12-21 17:36:39 -03:00
poke1024
22d87f20fa
Consistent display of shortcut names in tooltips
2017-12-21 20:17:30 +01:00
volzhs
d9e5be1d66
Fix open directory in FileSystem dock
2017-12-22 04:16:04 +09:00
Andreas Haas
63658fecfc
Scons: Use module suffix only for final binary.
...
Only append the module suffixes to the resulting binary instead of all object files.
That means we can keep most of our build artifacts when toggling modules like mono.
2017-12-21 18:52:17 +01:00
Juan Linietsky
1fa9aac3e4
-Make capture dependent on a cell size, not subdivision.
...
-Fixed a bug recently introduced when releasing mouse events and calling popups
2017-12-21 11:05:55 -03:00
Noshyaar
8297ea903a
Merge pull request #14885 from YeldhamDev/scene_tree_path
...
Fixed wrong Project Settings direction on an error message
2017-12-21 09:44:29 +07:00
Michael Alexsander Silva Dias
e3c1305027
Fixed wrong Project Settings direction on an error message.
2017-12-20 22:06:43 -02:00
Rémi Verschelde
0b1e6ec219
Merge pull request #14874 from volzhs/blurry-zoom
...
Fix blurry after zooming
2017-12-20 22:19:16 +01:00
Juan Linietsky
feef500b39
properly send mouse released event when grabbing modal focus, fixes #14854
2017-12-20 18:03:48 -03:00
Juan Linietsky
c9d88fd8e8
Add functions to image to load a PNG or JPG from a buffer, closes #4024
2017-12-20 17:17:12 -03:00
Rémi Verschelde
03823f12c5
EditorSettings: Move scene tab options to their dedicated category
...
Fixes #14870 .
2017-12-20 19:41:02 +01:00
Juan Linietsky
045f81023b
Properly silence buffer while not in use, fixes #14866
2017-12-20 13:55:58 -03:00
Rémi Verschelde
1040766725
Merge pull request #14867 from hpvb/optimize-lightbaker-prevent-false-sharing
...
Prevent false sharing in lightbaker RNG state
2017-12-20 17:36:40 +01:00
Rémi Verschelde
3c7f06a0e6
doc: Sync classref with current source
2017-12-20 17:16:02 +01:00
Rémi Verschelde
acf835cb08
i18n: Sync translation templates with current source
2017-12-20 17:10:28 +01:00
Rémi Verschelde
a27b57829e
i18n: Sync translations with Weblate
...
Adds Icelandic and Tamil.
2017-12-20 17:08:48 +01:00
Rémi Verschelde
f66ef74338
Merge pull request #14823 from willnationsdev/get-base-script
...
Add Script.get_base_script()/get_instance_base_type() to API
2017-12-20 16:39:35 +01:00
volzhs
ec139d8522
Fix blurry after zooming
2017-12-21 00:39:02 +09:00
Rémi Verschelde
fd8f679b13
Merge pull request #14860 from chongdashu/fix-12946-crash-editor-save-exit
...
Fix editor crash on "save and exit" bug
2017-12-20 16:28:42 +01:00
Juan Linietsky
360449a094
Fix gridmap disappearing after editing after bake, closes #14868
2017-12-20 11:10:27 -03:00
Hein-Pieter van Braam
0db5123548
Prevent false sharing in lightbaker RNG state
...
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-20 14:37:00 +01:00
Juan Linietsky
0ead6b3cf5
Merge pull request #14863 from hpvb/fix-lightmapper-rng
...
Fix lightmapper rng
2017-12-20 08:44:14 -03:00
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
Chong-U Lim
0f223783dc
Fix editor crash on "save and exit" bug
...
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-20 08:34:04 +00: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