Blender Git Loki

Kaikki Blender Git kommitit.

Page: 289 / 8462

August 27, 2021, 15:55 (GMT)
Use EXPECT_EQ instead of ASSERT_EQ
August 27, 2021, 14:49 (GMT)
Rename Function to FieldFunction
August 27, 2021, 14:13 (GMT)
Merge branch 'temp-geometry-nodes-fields' into temp-geometry-nodes-fields--fields
August 27, 2021, 14:12 (GMT)
Merge branch 'master' into temp-geometry-nodes-fields
August 27, 2021, 13:47 (GMT)
Merge branch 'master' into cycles-x
Revision 8b9a3b9 by Hans Goudey (master)
August 27, 2021, 13:27 (GMT)
Refactor IDProperty UI data storage

The storage of IDProperty UI data (min, max, default value, etc) is
quite complicated. For every property, retrieving a single one of these
values involves three string lookups. First for the "_RNA_UI" group
property, then another for a group with the property's name, then for
the data value name. Not only is this inefficient, it's hard to reason
about, unintuitive, and not at all self-explanatory.

This commit replaces that system with a UI data struct directly in the
IDProperty. If it's not used, the only cost is of a NULL pointer. Beyond
storing the description, name, and RNA subtype, derived structs are used
to store type specific UI data like min and max.

Note that this means that addons using (abusing) the `_RNA_UI` custom
property will have to be changed. A few places in the addons repository
will be changed after this commit with D9919.

**Before**
Before, first the _RNA_UI subgroup is retrieved the _RNA_UI group,
then the subgroup for the original property, then specific UI data
is accessed like any other IDProperty.
```
prop = rna_idprop_ui_prop_get(idproperties_owner, "prop_name", create=True)
prop["min"] = 1.0
```

**After**
After, the `id_properties_ui` function for RNA structs returns a python
object specifically for managing an IDProperty's UI data.
```
ui_data = idproperties_owner.id_properties_ui("prop_name")
ui_data.update(min=1.0)
```
In addition to `update`, there are now other functions:
- `as_dict`: Returns a dictionary of the property's UI data.
- `clear`: Removes the property's UI data.
- `update_from`: Copy UI data between properties,
even if they have different owners.

Differential Revision: https://developer.blender.org/D9697
August 27, 2021, 13:07 (GMT)
Fix crash sampling render result before any pixel was rendered

Caused by recent lazy render result passes allocation change.
August 27, 2021, 12:44 (GMT)
Fix shadowing in sequencer iterator

The __LINE__ was not properly expanded.
August 27, 2021, 12:31 (GMT)
Merge branch 'master' into soc-2021-curves
August 27, 2021, 11:51 (GMT)
Removed several unnecessary comments.
August 27, 2021, 11:40 (GMT)
Changes according to revision suggestions
Revision c88ba46 by Peter Kim (master)
August 27, 2021, 11:05 (GMT)
Fix "toggle shading" op not updating VR view

Reason was that the notifier did not set the NS_VIEW3D_SHADING
subtype, which the VR view listens for for a shading update.

In the case of "toggle xray", a notifier was absent altogether.
August 27, 2021, 10:59 (GMT)
VSE: Transform overwrite mode

Add mode to overwrite strips on overlap instead of resolving overlap.

When overlap is created, 3 things can happen:
- On partial overlap, handles of overlapped strip are moved
- On complete overlap with smaller strip, overlapped strip is split
- On complete overlap with larger strip, overlapped strip is removed

This mode can be enabled in header.

Reviewed By: fsiddi, mano-wii

Differential Revision: https://developer.blender.org/D11805
August 27, 2021, 10:46 (GMT)
float2x3: initial
August 27, 2021, 10:02 (GMT)
float3x2: initial
August 27, 2021, 10:02 (GMT)
float2x2: documentation
August 27, 2021, 10:01 (GMT)
float4x4: documentation
August 27, 2021, 09:58 (GMT)
Cleanup: quiet maybe-used-uninitialized warning
August 27, 2021, 09:04 (GMT)
Cleanup: VSE select operator

Not complete, I want to have nice diff view by hand...

Differential Revision: https://developer.blender.org/D12320
August 27, 2021, 09:04 (GMT)
Mostly finish
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021