Campbell Barton
98abcfdb9d
Cleanup: unused variable
2020-04-09 22:55:36 +10:00
Sebastián Barschkis
a6d8f6c0f3
Fluid: Fix unused variables
...
Unsed variables for fluid caching.
2020-04-09 12:35:22 +02:00
Sybren A. Stüvel
a8bd385a5d
Fix T75491: ctest: usd_test fails in a debug configuration
...
There was a bug in the `connect_loose_objects()` function, which caused
some objects to be exported twice (once for real, and once
transform-only). This is now resolved.
2020-04-09 12:18:45 +02:00
Sybren A. Stüvel
17da3b5d82
USD: ensure test does not depend on BLI_assert()
...
The test failure in T75491 only showed up in debug builds because
`BLI_assert()` is a no-op in release builds. This is now replaced by a
proper GTests call to `ADD_FAILURE()`, ensuring that the test fails
regardless of build mode.
2020-04-09 12:14:51 +02:00
Bastien Montagne
80255e67e3
Silence assert on ID usercount for deprecated IPO.
...
We do not really care about those, so just avoid the noise when loading
very old files...
Re T75389.
2020-04-09 11:21:02 +02:00
Sergey Sharybin
36746474fd
Tracking: Forward compatibility code for distortion models
...
Allows to open newer files in older Blender after new distortion model
has been added.
It will behave as if this is a polynomial model with all 0 coefficients
which are then being refined and assigned explicitly after solving the
motion.
2020-04-09 10:59:31 +02:00
Antonio Vazquez
b5e277ed05
Cleanup: Fix typo error
2020-04-09 10:58:42 +02:00
Antonio Vazquez
ee5cec4a50
Fix T75122: Annotations: Only visible scene annotations in dopesheet
...
The loop of datablocks was using the scene datablock (3D View) only, but all others datablocks were ignored.
Now the loop consider any annotation datablock.
2020-04-09 10:56:59 +02:00
Campbell Barton
bd59781c66
Fix T75425: Bone selection cycling not working
...
Edit-mode bone selection now cycles on successive clicks.
This now cycles through multiple edit-objects & bones.
2020-04-09 18:46:47 +10:00
Campbell Barton
19352bca16
Cleanup: spelling
2020-04-05 22:22:21 +10:00
Harley Acheson
7df787b2c1
UI: English as Default Language
...
Set language setting for new profiles to English.
Differential Revision: https://developer.blender.org/D7373
Reviewed by Brecht Van Lommel
2020-04-08 16:10:48 -07:00
Julian Eisel
1239cab11f
Fix T75203: Crash when changing active keying set
...
When updating the active button, the search data wasn't updated, so it
kept using the old pointers. A check in `ui_rna_collection_search_cb()`
relied on this incorrect behavior so I had to fix that too. Note that
the previous commit was also needed for the second fix to work.
Caused by c46dcdf887 .
2020-04-08 23:23:44 +02:00
Julian Eisel
74fa8787d8
Fix error in UI_butstore_ API
...
If the `uiButStore` data was freed after the buttons/blocks were updated
from previous instances (see `UI_block_update_from_old()`), e.g. by
delaying that to the "afterfuncs" (`ui_apply_but_funcs_after()`), the
data would get lost. As result, the button pointers that the API is
supposed to keep valid would point to freed memory.
This wasn't an issue so far since the API didn't happen to be used this
way. That changes with the next commit.
2020-04-08 23:22:33 +02:00
Brecht Van Lommel
c13aa95eda
Fix T75288: crash in Cycles image loading with multithreaded shader compilation
2020-04-08 22:01:04 +02:00
Brecht Van Lommel
cc53c9e476
Fix T75290: Cycles crash with out of bounds memory access in volume mesh build
2020-04-08 21:58:17 +02:00
Brecht Van Lommel
8360bfb75c
Cleanup: clang-format
2020-04-08 21:58:17 +02:00
Brecht Van Lommel
f405934fe3
Fix T75445: Filmic transform not working when using Turkish locale
...
This is a bug in OpenColorIO that we work around (see "Turkish I" problem),
a proper fix will be submitted upstream.
2020-04-08 20:50:50 +02:00
Antonio Vazquez
d41d4d0593
GPencil: Small changes to brush defaults
2020-04-08 19:03:17 +02:00
Sebastián Barschkis
4a6f715421
Fix T73552: Mantaflow - liquid particles show up in organized unrealistic structure
...
Issue was being caused by a particle offset which was random but the same for every particle.
2020-04-08 18:29:26 +02:00
Bastien Montagne
2328599e97
NewUndo: Fix (studio-reported) discrepency in proxies when undoing.
...
Took me an unreasonable amount of time to understand what was happening
here... Our beloved proxies, as usual, need some specific careful
handling.
2020-04-08 17:43:40 +02:00
Sergey Sharybin
b0f229dd27
Tracking: Fix missing distortion update on focal length change
2020-04-08 17:19:21 +02:00
Sebastián Barschkis
020d1e23ae
Fluid: Fix issue with mesh not being loaded
...
Fixed an issue that was likely introduced in a past cleanup.
2020-04-08 16:26:20 +02:00
Germano Cavalcante
34b28850bf
Fix wrong material indicated in the error message when baking
...
The material displayed in the error message due to the lack of active
texture was that of the previous slot.
2020-04-08 09:44:43 -03:00
Brecht Van Lommel
91d7f5d246
Fix T74572: adaptive sampling still not working correct with shader AOVs
2020-04-08 14:09:10 +02:00
Brecht Van Lommel
fd487b1f4e
Fix build error with WITH_X11_XINPUT=OFF after recent changes
2020-04-08 14:03:54 +02:00
Sebastián Barschkis
ff2c67d7e8
Fluid: Disable subframes when using adaptive time-steps in the first frame
...
First frame should only produce inflow once and not compute the emission for the frame before the first frame. Problem became evident in T74062.
2020-04-08 13:42:40 +02:00
Sebastián Barschkis
c2cb87f897
Fluid: Fix problem with inconsistent noise when using multiple adaptive time-steps
...
Problem was mentioned in T74062.
2020-04-08 13:27:12 +02:00
Sebastián Barschkis
a1ddb63329
Fluid: Update Mantaflow source files
...
Update includes new grid helper functions and some cleanups.
2020-04-08 13:25:16 +02:00
Sebastián Barschkis
7cafdc57e0
Fluid: Manta clang-format update
...
Do not use sort-includes in Manta source files for now when applying clang-format. Too many conflicts.
2020-04-08 13:20:18 +02:00
Brecht Van Lommel
ea5a2efb57
Fix manual reference error after removal of use_international_fonts
2020-04-08 12:43:49 +02:00
Nicholas Rishel
ea3e0b3e8c
Windows: support high resolution tablet pen events for Wintab
...
Together with Windows Ink support, this should fully resolve T70765.
Differential Revision: https://developer.blender.org/D6675
2020-04-08 12:25:40 +02:00
Nicholas Rishel
d571d615a5
Windows: support high resolution tablet pen events for Windows Ink
...
Rather than using the last state of the tablet, we now query the history of
pointer events so strokes can follow the pen even if Blender does not handle
events at the same rate.
Differential Revision: https://developer.blender.org/D6675
2020-04-08 12:25:40 +02:00
Nicholas Rishel
3d8c57f4da
Cleanup: minor refactoring of pointer event handling
...
Ref D6675
2020-04-08 12:25:40 +02:00
Nicholas Rishel
4e4bf241c8
Cleanup: add utility functions for milliseconds conversion
...
Ref D6675
2020-04-08 12:25:40 +02:00
Brecht Van Lommel
c43473e884
Cleanup: remove GHOST API to query tablet state from Window
...
It's not used by Blender anymore and it's unreliable since this state really
only makes sense associated with events in a particular order.
Ref D6675
2020-04-08 12:25:40 +02:00
Miguel Pozo
d478cc71dd
Fix Windows Tablet API preference not being used
...
It was sometimes set before reading preferences, now it's passed to GHOST every
time preferences are read.
Differential Revision: https://developer.blender.org/D5641
2020-04-08 12:25:40 +02:00
Campbell Barton
a3c1605581
Cleanup: rename to BLI_path_cwd to BLI_path_abs_from_cwd
...
This is now more clearly a function that makes the path absolute
using the current working directory.
2020-04-08 16:46:16 +10:00
Campbell Barton
57468ae37e
Cleanup: missed renaming BLI_cleanup_unc_16 in recent refactor
...
Missed from d14e768069
2020-04-08 16:29:46 +10:00
Campbell Barton
b0d565e5b6
Cleanup: reduce scope of variables in custom data copying
2020-04-08 16:27:59 +10:00
Campbell Barton
35861a49ee
Fix T67098: Inset causes shape keys to reset exiting edit-mode
...
Edit-mesh interactive redo reset the meshes shape-key index.
Also copy the selection mode when copying meshes.
2020-04-08 16:26:54 +10:00
Campbell Barton
bd45ec0b06
Cleanup: disable clang-format for character table
2020-04-08 13:29:51 +10:00
Campbell Barton
1c58311440
Fix status bar message showing saved when saving failed
...
Resolves the following issues:
- For the first time you save a .blend file, there was no feedback.
- If the file fails to save (eg "No space left on device") the status
bar message replaces the error with an invalid "Saved" message.
While there is a popup, the user may cancel it with mouse motion
and be left with the status bar message saying the file saved.
D7371 by @XDroid with edits.
2020-04-08 13:22:00 +10:00
Campbell Barton
056ebb56b1
Cleanup: clang-format
2020-04-08 10:34:39 +10:00
Campbell Barton
1ec2f8d1f2
Cleanup: spelling
2020-04-08 10:33:56 +10:00
Campbell Barton
161c13e12b
Fix building without translations enabled
2020-04-08 10:24:33 +10:00
Harley Acheson
1ee3def5d3
UI: Splash Screen Language Selection
...
Quick Setup splash now includes language selection.
Differential Revision: https://developer.blender.org/D7370
Reviewed by Brecht Van Lommel
2020-04-07 16:33:52 -07:00
Brecht Van Lommel
9d0f452076
Fix missed depsgraph update after undo in some cases
...
Forgot to take into account legacy DEG_id_tag_update with zero flag.
2020-04-07 23:56:07 +02:00
Brecht Van Lommel
a2243f1b51
Debugging: change Undo/Redo redraw timer to include dependency graph update
...
This is often the slowest part and was not counted before.
2020-04-07 23:43:55 +02:00
Harley Acheson
968619d036
UI: Language Selection Changes
...
Removal of 'Translation' checkbox. Enable translation options when selecting non-English languages.
Differential Revision: https://developer.blender.org/D7210
Reviewed by Brecht Van Lommel
2020-04-07 13:25:49 -07:00
Brecht Van Lommel
53981c7fb6
Cleanup: refactor adaptive sampling to more easily change some parameters
...
No functional changes yet, this is work towards making CPU and GPU results
match more closely.
2020-04-07 20:29:48 +02:00