http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Zachman http://www.miikahweb.com/ MiikaHweb - Blender Commits By Zachman fi Sun, 17 Jan 21 13:15:08 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[afc1e39] blender-v2.91-release: Fix T82960: Inaccurate selection on collapsed outliner rows]]> http://www.miikahweb.com/en/blender/git-logs/commit/afc1e3913a0d35628c76fe2229ff09585f4dc644 afc1e39
Branches : blender-v2.91-release
Author : Nathan Craddock (Zachman)
Committed By : Jeroen Bakker (jbakker)
----------------------------------------
Fix T82960: Inaccurate selection on collapsed outliner rows

After rB15083d9e1 the outliner tree is not rebuilt after expanding or
collapsing rows. Because the tree is no longer rebuilt the positions
and flags of the elements are not cleared when collapsing a row. This
caused hover highlights and selections on the collapsed child icons to
be incorrect in many cases.

For example, only the direct children of a collapsed element are drawn
inline. If any grandchild elements had been previously icon row flagged
they would continue to be evaluated as icon row elements despite being
hidden. In this case the x coordinates of the child and grandchild would
overlap causing selection to appear erratic.

Now the flags for inline row icons are explicitly cleared, which was
previously only done because the tree was rebuilt on collapsing rows.

----------------------------------------
1 Path Changed]]>
Wed, 13 Jan 2021 14:00:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/afc1e3913a0d35628c76fe2229ff09585f4dc644Nathan Craddock
<![CDATA[[ffacce5] master: UI: Properties editor popover and outliner sync]]> http://www.miikahweb.com/en/blender/git-logs/commit/ffacce5be41df68658f8478fee73e74701d2b545 ffacce5
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
UI: Properties editor popover and outliner sync

This adds a popover to the properties editor. Currently the only setting
is for controlling outliner to properties syncing.

Because we cannot define a perfect heuristic to determine when
properties editors should change tabs based on outliner icon selection,
we need an option to enable or disable this behavior per properties
editor.

There are 3 options for controlling the syncing. Auto uses the heuristic
to only allow tab switching when a properties editor and outliner share
a border. On and off enable and disable syncing respectively.

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

----------------------------------------
7 Paths Changed]]>
Mon, 21 Dec 2020 21:31:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ffacce5be41df68658f8478fee73e74701d2b545Nathan Craddock
<![CDATA[[4a76934] temp-lineart-contained: Outliner: Fix memory errors in runtime data]]> http://www.miikahweb.com/en/blender/git-logs/commit/4a76934ba3ad1d26744197bc79664adada81a0f4 4a76934
Branches : temp-lineart-contained
Author : Nathan Craddock (Zachman)
Committed By : YimingWu (NicksBest)
----------------------------------------
Outliner: Fix memory errors in runtime data

Fix a heap-use-after-free when duplicating outliner editors, and fully
free runtime data when freeing outliner editors.

----------------------------------------
1 Path Changed]]>
Sat, 19 Dec 2020 04:00:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4a76934ba3ad1d26744197bc79664adada81a0f4Nathan Craddock
<![CDATA[[2946762] temp-lineart-contained: Collections: Prevent setting scene collection color tag from...]]> http://www.miikahweb.com/en/blender/git-logs/commit/294676297530f8f98a0d38bc9c7855cfb8c0026c 2946762
Branches : temp-lineart-contained
Author : Nathan Craddock (Zachman)
Committed By : YimingWu (NicksBest)
----------------------------------------
Collections: Prevent setting scene collection color tag from rna

It should not be possible to set the scene collection's color tag
through rna. Also adds a missing notifier for setting the collection
color tag from python.

----------------------------------------
1 Path Changed]]>
Sat, 19 Dec 2020 04:00:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/294676297530f8f98a0d38bc9c7855cfb8c0026cNathan Craddock
<![CDATA[[38ddbfa] temp-lineart-contained: UI: Remove remaining uses of old collection icon]]> http://www.miikahweb.com/en/blender/git-logs/commit/38ddbfa9593a2c3d8d5ba9688e35cd29eebe067f 38ddbfa
Branches : temp-lineart-contained
Author : Nathan Craddock (Zachman)
Committed By : YimingWu (NicksBest)
----------------------------------------
UI: Remove remaining uses of old collection icon

After rB452a1c7b3838 there were still a few cases where the old
collection icon was used in the interface. Replace these with the new
filled collection icon.

----------------------------------------
7 Paths Changed]]>
Sat, 19 Dec 2020 04:00:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/38ddbfa9593a2c3d8d5ba9688e35cd29eebe067fNathan Craddock
<![CDATA[[7d25139] master: Fix T82960: Inaccurate selection on collapsed outliner rows]]> http://www.miikahweb.com/en/blender/git-logs/commit/7d25139eaf4ab11e69d6adb2f436489eca016b64 7d25139
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Fix T82960: Inaccurate selection on collapsed outliner rows

After rB15083d9e1 the outliner tree is not rebuilt after expanding or
collapsing rows. Because the tree is no longer rebuilt the positions
and flags of the elements are not cleared when collapsing a row. This
caused hover highlights and selections on the collapsed child icons to
be incorrect in many cases.

For example, only the direct children of a collapsed element are drawn
inline. If any grandchild elements had been previously icon row flagged
they would continue to be evaluated as icon row elements despite being
hidden. In this case the x coordinates of the child and grandchild would
overlap causing selection to appear erratic.

Now the flags for inline row icons are explicitly cleared, which was
previously only done because the tree was rebuilt on collapsing rows.

----------------------------------------
1 Path Changed]]>
Fri, 18 Dec 2020 03:10:20 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7d25139eaf4ab11e69d6adb2f436489eca016b64Nathan Craddock
<![CDATA[[7cbcfb7] master: Cleanup: Use LISTBASE_FOREACH macro in outliner code]]> http://www.miikahweb.com/en/blender/git-logs/commit/7cbcfb7f492d027d415326d3b100803e949ce84a 7cbcfb7
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Use LISTBASE_FOREACH macro in outliner code

No functional changes.

----------------------------------------
2 Paths Changed]]>
Fri, 18 Dec 2020 02:59:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7cbcfb7f492d027d415326d3b100803e949ce84aNathan Craddock
<![CDATA[[887a602] master: Cleanup: Finish porting outliner tree building to C++]]> http://www.miikahweb.com/en/blender/git-logs/commit/887a602448286fe57b77046001a72d488415b1b8 887a602
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Finish porting outliner tree building to C++

No functional changes. This is a few minor cleanups to the remaining C
code for building the outliner tree after parts have been moved to C++.

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

----------------------------------------
1 Path Changed]]>
Sat, 05 Dec 2020 00:58:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/887a602448286fe57b77046001a72d488415b1b8Nathan Craddock
<![CDATA[[48acf15] master: Cleanup: Outliner Data API display mode]]> http://www.miikahweb.com/en/blender/git-logs/commit/48acf15f9856d6ffcd29cdd8b3a64dd9eb983cd0 48acf15
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Outliner Data API display mode

No functional changes. Moves the data API display building code to C++.

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

----------------------------------------
5 Paths Changed]]>
Sat, 05 Dec 2020 00:54:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/48acf15f9856d6ffcd29cdd8b3a64dd9eb983cd0Nathan Craddock
<![CDATA[[aaa0298] master: Cleanup: Outliner scenes display mode]]> http://www.miikahweb.com/en/blender/git-logs/commit/aaa02984d3978bcf94d9a98d1ac9139d5fbfca2d aaa0298
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Outliner scenes display mode

No functional changes. The scene display building code has been moved
to C++.

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

----------------------------------------
5 Paths Changed]]>
Sat, 05 Dec 2020 00:53:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/aaa02984d3978bcf94d9a98d1ac9139d5fbfca2dNathan Craddock
<![CDATA[[1db40c2] master: Cleanup: Outliner orphan data display mode]]> http://www.miikahweb.com/en/blender/git-logs/commit/1db40c29e5f30f2d8b854f67129d9d44cd844a34 1db40c2
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Outliner orphan data display mode

No functional changes. Code is ported to C++ with additional cleanups to
the logic and variable names.

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

----------------------------------------
5 Paths Changed]]>
Sat, 05 Dec 2020 00:51:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1db40c29e5f30f2d8b854f67129d9d44cd844a34Nathan Craddock
<![CDATA[[1cc0a59] master: Cleanup: Outliner video sequencer display mode]]> http://www.miikahweb.com/en/blender/git-logs/commit/1cc0a59be66a1d42ec316e0c29c2e3e184b26f7d 1cc0a59
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Outliner video sequencer display mode

No functional changes. Code is ported to C++. Variable names and logic
are also improved.

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

----------------------------------------
5 Paths Changed]]>
Sat, 05 Dec 2020 00:50:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1cc0a59be66a1d42ec316e0c29c2e3e184b26f7dNathan Craddock
<![CDATA[[cba5137] master: Fix crash in outliner on cursor hover]]> http://www.miikahweb.com/en/blender/git-logs/commit/cba5137f32f925d8216288ef6708707e98f5aef0 cba5137
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Fix crash in outliner on cursor hover

The previous commit surfaced a bug introduced in rBab4654cdfe8f in which
a boolean wasn't initialized to false.

----------------------------------------
1 Path Changed]]>
Wed, 02 Dec 2020 16:25:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/cba5137f32f925d8216288ef6708707e98f5aef0Nathan Craddock
<![CDATA[[3fc178b] master: Outliner: Highlight icons on cursor hover]]> http://www.miikahweb.com/en/blender/git-logs/commit/3fc178b19e4c11ac384731c4088b2bd3fa809794 3fc178b
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Outliner: Highlight icons on cursor hover

The icons for collapsed children already draw highlighted when hovered.
Because the item icons are now select targets (for outliner to properties
editor tab switching) this adds highlights on hover for all outliner
element icons.

----------------------------------------
5 Paths Changed]]>
Wed, 02 Dec 2020 15:58:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3fc178b19e4c11ac384731c4088b2bd3fa809794Nathan Craddock
<![CDATA[[45dca05] master: Cleanup: Add `r_` to return parameter]]> http://www.miikahweb.com/en/blender/git-logs/commit/45dca05b1cd2a5ead59144c93d790fdfe7c35ee6 45dca05
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Add `r_` to return parameter

Prefix a return parameter with `r_` to follow the style guide. No
functional changes.

----------------------------------------
2 Paths Changed]]>
Fri, 27 Nov 2020 03:37:54 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/45dca05b1cd2a5ead59144c93d790fdfe7c35ee6Nathan Craddock
<![CDATA[[ab4654c] master: Cleanup: Move logic to `outliner_find_item_at_x_in_row`]]> http://www.miikahweb.com/en/blender/git-logs/commit/ab4654cdfe8f393d70426456a29c3ae0bfc4ac03 ab4654c
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Cleanup: Move logic to `outliner_find_item_at_x_in_row`

Move the logic for determining if the item at a given x position is an
icon into the function. This is used for determining selection over an
icon, and will be used in a later commit for checking for hover over an
icon. No functional changes.

----------------------------------------
4 Paths Changed]]>
Fri, 27 Nov 2020 03:37:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ab4654cdfe8f393d70426456a29c3ae0bfc4ac03Nathan Craddock
<![CDATA[[037ce66] master: Outliner: Switch properties tabs only on icon click]]> http://www.miikahweb.com/en/blender/git-logs/commit/037ce662e58a7343d3a1e305b33f91e39154d42d 037ce66
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Outliner: Switch properties tabs only on icon click

According to feedback the outliner to properties editor tab switching
was annoying when it always changed tabs on selection, especially for
selecting individual objects. This limits the tab switching behavior to
only when the icons in the outliner are selected.

----------------------------------------
3 Paths Changed]]>
Tue, 24 Nov 2020 05:21:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/037ce662e58a7343d3a1e305b33f91e39154d42dNathan Craddock
<![CDATA[[05ef031] master: UI: Remove excess row spacing in outliner popover]]> http://www.miikahweb.com/en/blender/git-logs/commit/05ef031f37de0bb7e0e732bf051ba269c26d11d7 05ef031
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
UI: Remove excess row spacing in outliner popover

Some checkboxes had nonessential spacing between rows which made the
popover taller than needed.

----------------------------------------
1 Path Changed]]>
Fri, 20 Nov 2020 15:55:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/05ef031f37de0bb7e0e732bf051ba269c26d11d7Nathan Craddock
<![CDATA[[2afdb4b] master: Outliner: Object state filter invert toggle]]> http://www.miikahweb.com/en/blender/git-logs/commit/2afdb4ba8754d690ccad058fdbcab21f83c62b5c 2afdb4b
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Outliner: Object state filter invert toggle

This adds an invert toggle for the outliner object state filters.
There are some cases where we want a filter for invertable states (Selected,
Unselected) and having a single toggle to invert the filter reduces the
number of separate filter types needed. This removes the "Hidden" filter
which can now be replicated with an inverted "Visible" filter.

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

----------------------------------------
5 Paths Changed]]>
Fri, 20 Nov 2020 15:47:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2afdb4ba8754d690ccad058fdbcab21f83c62b5cNathan Craddock
<![CDATA[[56ef6fd] master: Merge branch 'blender-v2.91-release']]> http://www.miikahweb.com/en/blender/git-logs/commit/56ef6fdb9ec4ffdbf2a30a6676185139c8d8a138 56ef6fd
Branches : master
Author : Nathan Craddock (Zachman)
----------------------------------------
Merge branch 'blender-v2.91-release'

----------------------------------------
0 Paths Changed]]>
Wed, 18 Nov 2020 15:19:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/56ef6fdb9ec4ffdbf2a30a6676185139c8d8a138Nathan Craddock