http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Sergey http://www.miikahweb.com/ MiikaHweb - Blender Commits By Sergey fi Tue, 07 Apr 20 07:48:24 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[5dde5dd] master: Libmv: Use static scheduler for threading]]> http://www.miikahweb.com/en/blender/git-logs/commit/5dde5dd44e05024a53147aef70b26c70bfecdb1b 5dde5dd
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Libmv: Use static scheduler for threading

For a real-world distortion the payload is quite uniformly
distributed across scanlines. Surely, in the corners more
iterations of minimizer is needed, but that happens in threads
without scheduling overhead.

----------------------------------------
1 Path Changed]]>
Mon, 06 Apr 2020 13:18:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5dde5dd44e05024a53147aef70b26c70bfecdb1bSergey Sharybin
<![CDATA[[7e93d4e] master: Tracking: Fix (un)distortion happen in single thread]]> http://www.miikahweb.com/en/blender/git-logs/commit/7e93d4eea3097e9e452c7c19953a01b6fab76163 7e93d4e
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Tracking: Fix (un)distortion happen in single thread

Need to communicate available number of threads to the camera
intrinsics implementation, otherwise default value of 1 is used.

Must have been single-threaded for a very long time.

----------------------------------------
3 Paths Changed]]>
Mon, 06 Apr 2020 13:18:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7e93d4eea3097e9e452c7c19953a01b6fab76163Sergey Sharybin
<![CDATA[[ccaf6c7] master: Tracking: Fix slow undistored display]]> http://www.miikahweb.com/en/blender/git-logs/commit/ccaf6c74044d30bc2de9db033a703319d79127a7 ccaf6c7
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Tracking: Fix slow undistored display

TH distortion model was not cached properly, making it so frame is
undistorted on every redraw.

----------------------------------------
1 Path Changed]]>
Mon, 06 Apr 2020 10:16:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ccaf6c74044d30bc2de9db033a703319d79127a7Sergey Sharybin
<![CDATA[[2fc3097] master: Fix T75297: Apply base inflates meshes with Simple subdivision...]]> http://www.miikahweb.com/en/blender/git-logs/commit/2fc30978bce2c698e17e8c7f09e03b694fbdd805 2fc3097
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix T75297: Apply base inflates meshes with Simple subdivision

----------------------------------------
1 Path Changed]]>
Mon, 06 Apr 2020 09:47:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2fc30978bce2c698e17e8c7f09e03b694fbdd805Sergey Sharybin
<![CDATA[[3dad629] master: Sculpt: Store explicit value for multires sculpt level]]> http://www.miikahweb.com/en/blender/git-logs/commit/3dad6294dae2f13ca1b9e8b08933ba32bf0f3bed 3dad629
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Sculpt: Store explicit value for multires sculpt level

Allows to know what level sculpting has been done after the value has
been changed in the MultiresModifierData.

No functional changes, just preparing code to have everything needed
for propagation undo.

Differential Revision: https://developer.blender.org/D7307

----------------------------------------
6 Paths Changed]]>
Thu, 02 Apr 2020 14:32:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3dad6294dae2f13ca1b9e8b08933ba32bf0f3bedSergey Sharybin
<![CDATA[[f868d51] master: Sculpt Undo: Allow Geometry undo step to be non-exclusive]]> http://www.miikahweb.com/en/blender/git-logs/commit/f868d51bdd3ed56cbf4ec74846b54caa8fe1fa1d f868d51
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Sculpt Undo: Allow Geometry undo step to be non-exclusive

Before this change it was not possible to have base geometry
and grid coordinates to be stored in the same undo step.

Differential Revision: https://developer.blender.org/D7298

----------------------------------------
1 Path Changed]]>
Thu, 02 Apr 2020 14:29:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f868d51bdd3ed56cbf4ec74846b54caa8fe1fa1dSergey Sharybin
<![CDATA[[06cb321] master: Sculpt: Give a brief explanation of undo stack]]> http://www.miikahweb.com/en/blender/git-logs/commit/06cb321f337fdff0cb71814d955c6f929c8d354c 06cb321
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Sculpt: Give a brief explanation of undo stack

Should make it a bit more clear overview of what is going on in this
module. While some of the details might still be missing, having some
sort of top-level overview is better than nothing.

Differential Revision: https://developer.blender.org/D7300

----------------------------------------
1 Path Changed]]>
Thu, 02 Apr 2020 07:39:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/06cb321f337fdff0cb71814d955c6f929c8d354cSergey Sharybin
<![CDATA[[3ebebe6] master: Sculpt Undo: Fix multires undo for interleaved nodes]]> http://www.miikahweb.com/en/blender/git-logs/commit/3ebebe62d77cb04618e3bf6b6b8602e7130dac6e 3ebebe6
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Sculpt Undo: Fix multires undo for interleaved nodes

Made it so grids array is properly allocated when first node in the
undo list does not contain grid data.

Differential Revision: https://developer.blender.org/D7299

----------------------------------------
1 Path Changed]]>
Thu, 02 Apr 2020 07:38:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3ebebe62d77cb04618e3bf6b6b8602e7130dac6eSergey Sharybin
<![CDATA[[7952274] master: Sculpt Undo: Refactor Geometry undo nodes]]> http://www.miikahweb.com/en/blender/git-logs/commit/7952274cf0c4a262c274fa93c800c84c1aa2d5d7 7952274
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Sculpt Undo: Refactor Geometry undo nodes

Made it so there is a single UNDO node in the list which has
both original and modified mesh state.

Makes it easier to achieve "interleaved" undo nodes stored in
the undo step (as opposite of either storing geometry or other
data).

Should be no functional changes, just preparing for an upcoming
work to support undo of operation like Apply Base.

Differential Revision: https://developer.blender.org/D7290

----------------------------------------
3 Paths Changed]]>
Wed, 01 Apr 2020 07:39:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7952274cf0c4a262c274fa93c800c84c1aa2d5d7Sergey Sharybin
<![CDATA[[60d3a80] master: Subdiv: Split evaluation begin+refine into separate steps]]> http://www.miikahweb.com/en/blender/git-logs/commit/60d3a801db3a848fa82bc4bece08e0d27c7b8ecf 60d3a80
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Subdiv: Split evaluation begin+refine into separate steps

Actually, begin will do the entire initialization.

Refine will only refine if there is a topology refiner associated
with the Subdiv descriptor.

Allows to refine Subdiv to new coarse positions without touching
displacement evaluation. Will be needed to update SubdivCCG during
sculpt undo.

----------------------------------------
7 Paths Changed]]>
Wed, 01 Apr 2020 07:32:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/60d3a801db3a848fa82bc4bece08e0d27c7b8ecfSergey Sharybin
<![CDATA[[e7af825] master: Multires: Fix unwanted assignment of sculpt session pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/e7af825deda5daf6639c346434df287aa0a69a1a e7af825
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Multires: Fix unwanted assignment of sculpt session pointers

Might have happened when Apply Base is used in sculpt mode.

In practice this probably was fine, since the operator tags object
for update, so the pointers will be restored back to what they should
be.

----------------------------------------
1 Path Changed]]>
Fri, 27 Mar 2020 10:29:41 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e7af825deda5daf6639c346434df287aa0a69a1aSergey Sharybin
<![CDATA[[a093112] master: CMake: Fix compilation with Xcode generation on Xcode 11.4]]> http://www.miikahweb.com/en/blender/git-logs/commit/a093112696685c160e71a5b51eb8cc3454eaa4b4 a093112
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Fix compilation with Xcode generation on Xcode 11.4

Need to give correct SDKROOT.

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 12:07:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a093112696685c160e71a5b51eb8cc3454eaa4b4Sergey Sharybin
<![CDATA[[671b6d4] master: CMake: Fix Blender.app creation/modification time]]> http://www.miikahweb.com/en/blender/git-logs/commit/671b6d41c408d8cf16bf9a1d0cb38dfa185c61b9 671b6d4
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Fix Blender.app creation/modification time

It was failing on first run of CMake since the Blender.app is not yet
created.

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 10:35:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/671b6d41c408d8cf16bf9a1d0cb38dfa185c61b9Sergey Sharybin
<![CDATA[[ef2bde1] master: CMake: Fix spelling for OpenImageDenoise package]]> http://www.miikahweb.com/en/blender/git-logs/commit/ef2bde11d22875368fa7386f1a5cec6aeed7ec7c ef2bde1
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Fix spelling for OpenImageDenoise package

The spelling should match exactly between how package is called in
find_package and in FIND_PACKAGE_HANDLE_STANDARD_ARGS.

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 10:35:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ef2bde11d22875368fa7386f1a5cec6aeed7ec7cSergey Sharybin
<![CDATA[[a22471f] master: CMake: Fix macOS SDK detection with latest Xcode and macOS]]> http://www.miikahweb.com/en/blender/git-logs/commit/a22471f1d1de3a91560d73e9aaa7823b05eff89e a22471f
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Fix macOS SDK detection with latest Xcode and macOS

Happens on macOS 10.15.4 and Xcode 11.4.

The reason of failure is caused by following factors:

- xcodebuild reports full semantic macOS SDK version 10.15.4
- The actual SDK file path will only include major and minor part
of the version (10.15, MacOSX10.15.sdk)
- Previous CMake code of ours expected direct match between SDK
version and file path.

The solution is to make our detection code a bit more flexible and
additionally check for major.minor macOS SDK version in the path.

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 10:35:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a22471f1d1de3a91560d73e9aaa7823b05eff89eSergey Sharybin
<![CDATA[[f9590c8] master: CMake: Remove support of Xcode prior to 8.2]]> http://www.miikahweb.com/en/blender/git-logs/commit/f9590c8eaa1b35920c2bc4bd7e8e7e5af3951873 f9590c8
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Remove support of Xcode prior to 8.2

The specific goal of this change is to get rid of separate code paths
for older and newer Xcode versions.

The version 8.2 is picked since it's the latest version which runs on
macOS 10.11 (which is our current deployment target). If that turns
out too new for some reason the alternative would be to require Xcode
version 5.

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 10:35:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f9590c8eaa1b35920c2bc4bd7e8e7e5af3951873Sergey Sharybin
<![CDATA[[03b2fc1] master: CMake: Cleanup, remove unneeded version requirement]]> http://www.miikahweb.com/en/blender/git-logs/commit/03b2fc1a615b442902a6565b27b73d1c5bf4ecbe 03b2fc1
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Cleanup, remove unneeded version requirement

The main CMakeLists already requires CMake 3.5, so there is no point of
requiring "newer" CMake on macOS.

This was a code from a while back where CMake 3 was not required on all
platforms.

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 08:02:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/03b2fc1a615b442902a6565b27b73d1c5bf4ecbeSergey Sharybin
<![CDATA[[fd262d3] master: CMake: Fix detection of Xcode version]]> http://www.miikahweb.com/en/blender/git-logs/commit/fd262d31960d3a6365856ad373717c1ab2c9df88 fd262d3
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
CMake: Fix detection of Xcode version

Legacy code did not take into account the fact that major version can
be two digits. This was causing "Xcode 11.4" to be detected as "11.".

----------------------------------------
1 Path Changed]]>
Thu, 26 Mar 2020 07:59:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fd262d31960d3a6365856ad373717c1ab2c9df88Sergey Sharybin
<![CDATA[[09b8cdb] master: Subsurf: Enable Optimal Display by default]]> http://www.miikahweb.com/en/blender/git-logs/commit/09b8cdb25e451cf19c5671feaa9d6cdb297e3ccb 09b8cdb
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Subsurf: Enable Optimal Display by default

Affects both Subdivision Surface and Multires modifiers.

----------------------------------------
2 Paths Changed]]>
Thu, 26 Mar 2020 07:42:29 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/09b8cdb25e451cf19c5671feaa9d6cdb297e3ccbSergey Sharybin
<![CDATA[[ed38650] master: Fix T74984: Crash opening specific production files]]> http://www.miikahweb.com/en/blender/git-logs/commit/ed386507e19543decf2422e96610284da8c98112 ed38650
Branches : master
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix T74984: Crash opening specific production files

More detailed symptoms: there was no curve cache created for an object
which was used by draw manager.

A bit tricky situation, which involves collection instances and their
proxies.

The root of the problem in the dependency graph was that instanced
collections visibility was not updated when object is requested with
different visibility. So what was happening is that one of the objects
was pulled as an indirect dependency of something invisible, so it
built instanced collections as if the instancer is invisible. After
that the same object was built as visible. Before this fix this was
only update object flags, the instanced collections still believed they
are invisible. Since there is no path via relations which would connect
visible object with instanced objects the visibility flush which is
happening during graph finalization did not "fix" the visibility flags.

This change makes it so instanced collections are updating their
visibility when their instancer's visibility is changing to truth.
This is similar to how collections will accumulate their visibility
when same collection is used from multiple ones with different
visibility.

However, this alone wasn't enough to get crash fixed. This marked
collections as visible, but the geometry component of the curve object
was still considering self as invisible.

This is something tricky, since the code which is responsible for this
issue was added as an optimization in afb4da6650d. This looks like like
an oversight in that commit since it's rather weird that ID node's
flag would depend on construction order (in "normal" object builder the
ID node's directly_visible flag is initialized to object's visibility).
So it seems logical to get this part of code in sync between "regular"
and "accumulative" object builder.

And last but not least the naming is_directly_visible is old and does
not really represent what it actually mans now: a more correct name
would be "will be used by the draw manager".

Differential Revision: https://developer.blender.org/D7217

----------------------------------------
2 Paths Changed]]>
Mon, 23 Mar 2020 16:19:44 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ed386507e19543decf2422e96610284da8c98112Sergey Sharybin