http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Aligorith http://www.miikahweb.com/ MiikaHweb - Blender Commits By Aligorith fi Fri, 18 Oct 19 14:26:11 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[3804636] master: Fix: Better fix for KeyingSet "Export to File" and unescaped...]]> http://www.miikahweb.com/en/blender/git-logs/commit/3804636ee57b58c0ca02dd5360f6df62603ae929 3804636
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix: Better fix for KeyingSet "Export to File" and unescaped characters

Use Python's native raw formatting instead, which should take care of any issues
we may face.

----------------------------------------
1 Path Changed]]>
Fri, 01 Mar 2019 13:30:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3804636ee57b58c0ca02dd5360f6df62603ae929Joshua Leung
<![CDATA[[dbeef67] master: Cleanup: Adding braces around all cases here to make it easier...]]> http://www.miikahweb.com/en/blender/git-logs/commit/dbeef6751db3cf300a588b1530441ff685d3f103 dbeef67
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Cleanup: Adding braces around all cases here to make it easier for the next step

----------------------------------------
1 Path Changed]]>
Fri, 01 Mar 2019 13:30:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dbeef6751db3cf300a588b1530441ff685d3f103Joshua Leung
<![CDATA[[2bad126] master: Fix T62057: Particle settings keyframes not showing in Graph...]]> http://www.miikahweb.com/en/blender/git-logs/commit/2bad126999b2094e685fb8599bb4d39b76a38a2e 2bad126
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix T62057: Particle settings keyframes not showing in Graph Editor channels

In short, the settings to expand/collapse the Particles Animation Dopesheet expander
were no longer getting exposed, so the F-Curves attached to the particle settings
were not showing up in the channels list as that section was collapsed and couldn't
be opened from the UI.

Early on during the development of 2.8, we originally wanted to completely remove
the Particle System. Eventually that decision got walked back, and so particles
were reinstated. Well... most of the relevant code was! One of the areas that was
the most messed up during this process was the animation editor support for these
channels. It seems that there was almost a two-step removal process here -
the first pass tried to keep the channel definitions while removing all references
to particle stuff, while the second pass tried to remove the definitions completely
and/or re-added them in the wrong places, etc. To say the removal/reverting history is
here is "colourful" is an understatement...

----------------------------------------
1 Path Changed]]>
Fri, 01 Mar 2019 13:30:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2bad126999b2094e685fb8599bb4d39b76a38a2eJoshua Leung
<![CDATA[[49618b0] master: Fix: Ensure that KeyingSet.bl_description field is properly...]]> http://www.miikahweb.com/en/blender/git-logs/commit/49618b0e18f7554dd70ac898d93abc7baf380081 49618b0
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix: Ensure that KeyingSet.bl_description field is properly escaped when using the Export to File operator

Previously, if double-quotes appeared in the KeyingSet.bl_description field,
these would cause a syntax error in the resulting .py script export of the
KeyingSet. Since single quotes are even more likely to appear
(e.g. as apostrophes), we now use triple quotes here.

Unreported bug, noticed earlier when investigating T61010.

----------------------------------------
1 Path Changed]]>
Tue, 05 Feb 2019 03:21:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/49618b0e18f7554dd70ac898d93abc7baf380081Joshua Leung
<![CDATA[[2a23737] master: Fix typos]]> http://www.miikahweb.com/en/blender/git-logs/commit/2a237377ce390509bfd18cf70f645d17d8bc92aa 2a23737
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix typos

----------------------------------------
1 Path Changed]]>
Sun, 03 Feb 2019 11:41:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2a237377ce390509bfd18cf70f645d17d8bc92aaJoshua Leung
<![CDATA[[65340ad] master: Fix T60753: Graph Editor showing cache curves regardless of...]]> http://www.miikahweb.com/en/blender/git-logs/commit/65340ad73f4c70936a5132bc5d8f911408cfb826 65340ad
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix T60753: Graph Editor showing cache curves regardless of filters

This commit adds a datablock filtering option for cache files channels,
so that a shot with lots of these in addition to standard animation
(e.g. the Spring production files) don't become bogged down by these.

Furthermore, these channels also respect the "Only Selected" toggle too now.

----------------------------------------
4 Paths Changed]]>
Sun, 03 Feb 2019 11:41:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/65340ad73f4c70936a5132bc5d8f911408cfb826Joshua Leung
<![CDATA[[395120e] master: Typo fixes]]> http://www.miikahweb.com/en/blender/git-logs/commit/395120ed72e9cca0a21a876a46fec19e1531f59f 395120e
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Typo fixes

----------------------------------------
2 Paths Changed]]>
Tue, 08 Jan 2019 12:41:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/395120ed72e9cca0a21a876a46fec19e1531f59fJoshua Leung
<![CDATA[[9d4ed6d] master: Fix T59984: Drivers don't update values in UI or show proper...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9d4ed6d03b6910b5239c2f17b3559987330f9652 9d4ed6d
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix T59984: Drivers don't update values in UI or show proper errors

We now perform COW -> original data flushing for all the debug values + error
status flags on Drivers/DriverVariables/DriverTargets, as these are only set
when errors are encountered when evaluating drivers.

----------------------------------------
1 Path Changed]]>
Tue, 08 Jan 2019 12:41:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9d4ed6d03b6910b5239c2f17b3559987330f9652Joshua Leung
<![CDATA[[37ffd95] master: Fix: Drivers popover not showing]]> http://www.miikahweb.com/en/blender/git-logs/commit/37ffd95594fe801cd51f60816e575fb3786cd095 37ffd95
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix: Drivers popover not showing

This was broken since cca87ccc753a85b447872a259c9d3e3f07ec1c13

The problem was that as this popover was defined in the C-code
for the Graph Editor, the relevant panel never got added to the
WM_paneltype registry, since only Python defined panels get
WM_paneltype_add() called when they are defined.

Since the majority of panels defined for regions are only used there,
a more localised fix was applied here by only adding the driver popover
to the global list manually.

----------------------------------------
1 Path Changed]]>
Sat, 20 Oct 2018 02:30:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/37ffd95594fe801cd51f60816e575fb3786cd095Joshua Leung
<![CDATA[[b634bf9] master: Fix typo]]> http://www.miikahweb.com/en/blender/git-logs/commit/b634bf9fb64930e0073c17bc115b6c3436b9a8e2 b634bf9
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Fix typo

----------------------------------------
1 Path Changed]]>
Sat, 20 Oct 2018 02:30:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b634bf9fb64930e0073c17bc115b6c3436b9a8e2Joshua Leung
<![CDATA[[9e47709] master: Typo fixes]]> http://www.miikahweb.com/en/blender/git-logs/commit/9e4770908968903537eff32df8d7a2f6b6641a8e 9e47709
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Typo fixes

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9e4770908968903537eff32df8d7a2f6b6641a8eJoshua Leung
<![CDATA[[be77eea] master: Depsgraph: First draft of graph filtering API implementation]]> http://www.miikahweb.com/en/blender/git-logs/commit/be77eeae46e17c1b6ffb0e4d4834a1bd28aedf64 be77eea
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Depsgraph: First draft of graph filtering API implementation

When this works correctly, we should be able to feed in an existing
depsgraph instance, and get out a "filtered" copy of it that contains
only the subset of nodes needed to evaluate what we're interested in.

The current implementation only filters on ID blocks/nodes,
and starts by building a full new depsgraph instance first.
I'd originally intended to do it per operation instead, copying
over individual nodes as appropriate to have the smallest and least
memory intensive graph possible. However, I ended up running into
into problems with function binding + COW arguments, hence the
current slow solution.

----------------------------------------
5 Paths Changed]]>
Thu, 23 Aug 2018 05:07:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/be77eeae46e17c1b6ffb0e4d4834a1bd28aedf64Joshua Leung
<![CDATA[[9a0ef09] master: Depsgraph: Print simple stats after filtering graph, to quickly...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9a0ef0933d39f37e2267102f097ef7e4497d7789 9a0ef09
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Depsgraph: Print simple stats after filtering graph, to quickly verify if anything happened

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9a0ef0933d39f37e2267102f097ef7e4497d7789Joshua Leung
<![CDATA[[6ec9338] master: Depsgraph: Fix filtering-related crashes]]> http://www.miikahweb.com/en/blender/git-logs/commit/6ec933886c363c99da3df4063c6f35b94d42cbfe 6ec9338
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Depsgraph: Fix filtering-related crashes

* Simplified operation-relation deletion. Now we collect the relations
to delete into a vector, then iterate through that, thus solving issues
with iterator invalidation (+ aborts arising from that)

* DEG_foreach_ancestor_ID() was assuming that all dependencies were
OperationDepsNodes, when in fact, some could be TimeSource nodes

----------------------------------------
2 Paths Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6ec933886c363c99da3df4063c6f35b94d42cbfeJoshua Leung
<![CDATA[[6bbf671] master: Depsgraph Filtering: Remove opnodes from entry tags too]]> http://www.miikahweb.com/en/blender/git-logs/commit/6bbf6712bb095add22cacd391cc4f10cfb5bfc34 6bbf671
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Depsgraph Filtering: Remove opnodes from entry tags too

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6bbf6712bb095add22cacd391cc4f10cfb5bfc34Joshua Leung
<![CDATA[[e5e42b7] master: Depsgraph Filtering: WIP more debugging prints]]> http://www.miikahweb.com/en/blender/git-logs/commit/e5e42b77820999a4fe6de3fde92ac3b741bbe243 e5e42b7
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Depsgraph Filtering: WIP more debugging prints

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e5e42b77820999a4fe6de3fde92ac3b741bbe243Joshua Leung
<![CDATA[[2f2ab13] master: Depsgraph Filtering: Fix ID node filtering problems]]> http://www.miikahweb.com/en/blender/git-logs/commit/2f2ab13b5f46b26dcffb889ac4294a52c6c79085 2f2ab13
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Depsgraph Filtering: Fix ID node filtering problems

* COW data hasn't been expanded yet when we try to filter the graph
(you need to have tagged + evaluated it for this data to exist),
so all the offending nodes would just get left in

* Added more debug prints to verify whether the id_nodes vector is
getting cleared correctly

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2f2ab13b5f46b26dcffb889ac4294a52c6c79085Joshua Leung
<![CDATA[[e01a9c5] master: Motion Path Calculations: Don't pass scene into motionpaths_calc_bake_targets...]]> http://www.miikahweb.com/en/blender/git-logs/commit/e01a9c5eeeaa61a63103c4eb63af2b752306871c e01a9c5
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Motion Path Calculations: Don't pass scene into motionpaths_calc_bake_targets()

It's not needed, and actually precludes us from considering parallel
evaluation in future.

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e01a9c5eeeaa61a63103c4eb63af2b752306871cJoshua Leung
<![CDATA[[0e44cf5] master: Cleanup: Disable some of the extra debug prints that were slowing...]]> http://www.miikahweb.com/en/blender/git-logs/commit/0e44cf5d786a72efd9f721b6e2ffc2adf4379bb3 0e44cf5
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Cleanup: Disable some of the extra debug prints that were slowing things down

----------------------------------------
1 Path Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0e44cf5d786a72efd9f721b6e2ffc2adf4379bb3Joshua Leung
<![CDATA[[bd801e7] master: Faster Motion Path calculations using Depsgraph Filtering]]> http://www.miikahweb.com/en/blender/git-logs/commit/bd801e7a687922e91c56ba2884cf93a4500c4e24 bd801e7
Branches : master
Author : Joshua Leung (aligorith)
----------------------------------------
Faster Motion Path calculations using Depsgraph Filtering

This commit makes the motion path calculations use the
new Depsgraph Filtering API to obtain a more streamlined
copy of the full scene dependency graph, allowing for
faster calculations (as less data needs to be evaluated
for each frame being baked).

For example, in 01_020_A.anim.blend from the Spring production
files, the time needed to calculate paths on several bones
on Autumn went from 39.84 seconds (!) down to 9.90 seconds!

Currently, this works by just replacing the depsgraph instance
passed to the motion path calculation function. This filtered
instance contains just the ID's needed to evaluate the graph
to evaluate a specified target (i.e. the Object owning the pose).

Notes:
* By default, the filtering is not performed unless debug mode 555
is activated. Having a debug switch here allows comparing
performance and disabling it should thing it start crashing.

* It is necessary to pass in the original Scene instance (not the
COW one owned by the filtered depsgraph), otherwise changing the
current frame had no effect, due to the COW flushing from original
Scene to the new Scene overwriting the CFRA changes we make.

* The code here still needs cleaning up to debugging instrumentation, etc.
and also to optimise further (e.g. caching the filtered depsgraph
for faster updates when animating on existing paths, or fine-tuning
the exact set of nodes needed). I'm just committing this first,
since this was the quickly hacked-together test code I've been using
to check that this is all working.

* Further improvements could also be made to the time needed to
build the full graph instance (about 3.3 sec), by allowing partial
builds (e.g. by making a filtering proxy/wrapper around existing builders)

----------------------------------------
2 Paths Changed]]>
Thu, 23 Aug 2018 05:07:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bd801e7a687922e91c56ba2884cf93a4500c4e24Joshua Leung