Commit Graph

75472 Commits

Author SHA1 Message Date
Campbell Barton
20b0bedb8b Merge branch 'blender-v2.81-release' 2019-10-16 14:10:23 +11:00
Campbell Barton
1094c3f276 RNA: region_to_view took int's instead of floats
Internally the function uses float's, RNA exposed args as int's.

Python3.8 warns about int/float conversion in toolbar drawing code.
2019-10-16 14:07:37 +11:00
Campbell Barton
8eb98392df Merge branch 'blender-v2.81-release' 2019-10-16 13:42:01 +11:00
Campbell Barton
a7cf7b114f Fix for building with Python 3.8 2019-10-16 13:39:29 +11:00
mano-wii
a8d001fef5 Merge branch 'blender-v2.81-release' 2019-10-15 15:02:45 -03:00
mano-wii
cfb6ffd48f Fix T70386: Crash when snapping to edges in specific situations
The callbacks get elements through indexes,
so make sure they're not "dirty".
2019-10-15 14:59:30 -03:00
Jacques Lucke
e3282fecae Merge branch 'blender-v2.81-release' 2019-10-15 17:37:35 +02:00
Jacques Lucke
2a9b162d94 Fix T70605: incorrect darken and lighten rgb mix mode
Differential Revision: https://developer.blender.org/D6058

Reviewers: brecht, fclem
2019-10-15 17:31:44 +02:00
Sergey Sharybin
4ace593196 Merge branch 'blender-v2.81-release' 2019-10-15 17:08:20 +02:00
Sergey Sharybin
c2a7e79047 Fix T70771: Texture nodes in Compositor causes infinite update 2019-10-15 17:07:53 +02:00
Dalai Felinto
6d8f5679db Merge branch 'blender-v2.81-release' 2019-10-15 10:42:42 -03:00
Dalai Felinto
7df7a8f3f1 Fix T70838: crash on cycles render after recent fix
My bad for not figuring out how to run our unittests since I got back to
Windows.
2019-10-15 10:18:11 -03:00
Julian Eisel
6934688f2c Merge branch 'blender-v2.81-release' 2019-10-15 14:59:59 +02:00
Julian Eisel
4d3a317258 Fix T70815: Missing tool settings redraw when using Annotate Tool 2019-10-15 14:56:50 +02:00
Philipp Oeser
51750168f7 Merge branch 'blender-v2.81-release' 2019-10-15 11:18:29 +02:00
Philipp Oeser
391b652be4 Cleanup: clang format for rBb77da65e8c4d 2019-10-15 11:16:55 +02:00
Philipp Oeser
0473815d48 Merge branch 'blender-v2.81-release' 2019-10-15 11:03:32 +02:00
Philipp Oeser
d54ccb90ab Fix T70667: crash playing animation (after deleting rigid body obj)
Was crashing due to RBW mssing shared->physics_world [which can happen
when undoing the deletion of the last object in the world].
This can be gained back by BKE_rigidbody_validate_sim_world.

Reviewed By: mont29

Maniphest Tasks: T70667

Differential Revision: https://developer.blender.org/D6037
2019-10-15 10:57:59 +02:00
Philipp Oeser
8bab53f5a0 Merge branch 'blender-v2.81-release' 2019-10-15 10:07:12 +02:00
Philipp Oeser
b77da65e8c Fix T68700: Incorrect 'absolute' timing of animated masks in the Video
Sequence Editor

Code in 'seq_render_mask' will effectively do
BKE_mask_evaluate(mask_temp, mask->sfra + (cfra - fra_offset), true)
where 'fra_offset' is zero for absolute and seq->start for relative.

If we really want the scene's current frame (as advertised) if Mask Time
is set to Absolute (effectively ignoring the Mask Settings start/end) we
need to change the fra_offset from zero to mask->sfra.

Also BKE_animsys_evaluate_animdata should take mask->sfra into account
as well (otherwise mask animation [points] and other animation [e.g.
opacity] will run out of sync)

Reviewers: campbellbarton, ISS

Maniphest Tasks: T68700

Differential Revision: https://developer.blender.org/D5495
2019-10-15 10:06:14 +02:00
Philipp Oeser
fba127619d Merge branch 'blender-v2.81-release' 2019-10-15 09:48:54 +02:00
Philipp Oeser
fa76f08db5 Fix T70560: Large cones are created with double vertices (even though
the radius is zero)

Merge threshold for remove_doubles was hardcoded, now scaled by depth.

Reviewed By: campbellbarton

Maniphest Tasks: T70560

Differential Revision: https://developer.blender.org/D6001
2019-10-15 09:46:59 +02:00
Campbell Barton
23b3b5bc76 Merge branch 'blender-v2.81-release' 2019-10-15 18:29:42 +11:00
Campbell Barton
7fb12536b7 UI: increase precision for fps-base value
The default precision displayed 1.001 as 1.00,
leading to confusing final FPS values.

Fixes T70827
2019-10-15 18:25:49 +11:00
Campbell Barton
e2e95d56ff Merge branch 'blender-v2.81-release' 2019-10-15 17:30:07 +11:00
Campbell Barton
0500dcd711 Fix scan-fill normal flipping for displist & mask filling
Missed from fix for T70594 which reversed the normals,
Resolves T70809
2019-10-15 17:23:23 +11:00
Campbell Barton
52ccfdb953 Merge branch 'blender-v2.81-release' 2019-10-15 14:22:52 +11:00
Campbell Barton
46102cf4e0 Fix T70812: AppTemplate Splash image is not loading
Allow different splash heights, without this changes the the
default splash would stop app templates splash screen from loading.

This also allows the default splash height to change without
manually editing the layout.
2019-10-15 14:19:25 +11:00
Dalai Felinto
a4ef7a27d2 Merge branch 'blender-v2.81-release' 2019-10-14 22:47:07 -03:00
Dalai Felinto
abd7ad01b8 Cleanup: Fix warnings 2019-10-14 22:45:34 -03:00
Dalai Felinto
dc5fa12bd3 Cleanup: Use BKE_object_is_visible elsewhere 2019-10-14 22:45:33 -03:00
Dalai Felinto
280d6b03a7 Fix T70670: Hidden collections are still rendered by Cycles in the Viewport
Now local collections are fully working with cycles preview, while the
collection visibility bug is fixed.

Local collections were not working with cycles viewport even before the recent
commit to allow users to show collections that are hidden in the view layer.

It just got worse with said commit (0812949bbc).

Differential Revision: https://developer.blender.org/D6034
2019-10-14 22:45:33 -03:00
Dalai Felinto
af5cc8cbd4 Fix T69644 / T68586: objects flag unsynced when drag hidden collections
That would lead to crashes and other issues. The solution is not elegant
though, it involves resyncing all the collections again.

Differential Revision: https://developer.blender.org/D6043
2019-10-14 22:45:33 -03:00
Dalai Felinto
9100982e80 Fix Filebrowser Blender ID filter
When the filtering option was disable we should see all the datablock types.

Differential Revision: https://developer.blender.org/D6033
2019-10-14 22:45:33 -03:00
Campbell Barton
b2d83a0697 Merge branch 'blender-v2.81-release' 2019-10-15 12:29:45 +11:00
Campbell Barton
a9fbd05e7d Fix image undo restoring float/byte tiles into the wrong buffer type
This also resolves the (unlikely) issue of undo having uninitialized
zbuf data, now it's cleared instead.
2019-10-15 12:24:26 +11:00
Campbell Barton
c1db52def2 Merge branch 'blender-v2.81-release' 2019-10-15 12:06:11 +11:00
Campbell Barton
c412a54123 Docs: clarify writefile.c file format info 2019-10-15 12:04:59 +11:00
Campbell Barton
100af18955 Docs: clarify writefile.c format text 2019-10-15 12:02:40 +11:00
Campbell Barton
695cbf5eef Fix incorrect brush falloff flag use
Harmless currently since they're the same value,
would fail if other options were added.
2019-10-15 10:04:34 +11:00
Julian Eisel
9a85592dde Fix: First item in File Browser can't be renamed
Stupid mistake in 5edfde58fe.
2019-10-14 21:07:24 +02:00
Sebastian Parborg
5ba41bea8a Fix autokeyframe not working on bones mirrored bones
The previous code for this didn't work as the MIRROR bone flag would be
cleared before the autokeyframe code was run.
2019-10-14 18:16:21 +02:00
Sebastian Parborg
b8ca806b77 Fix autokeyframe not working on bones mirrored bones
The previous code for this didn't work as the MIRROR bone flag would be
cleared before the autokeyframe code was run.
2019-10-14 17:48:08 +02:00
Julian Eisel
5edfde58fe File Browser: Add F2 shortcut to rename files
Previously, we used Ctrl+Click for renaming, but since that shortcut is
now consistently used to add items to the selection, we can't use that.
In other cases we switched to F2 now, so it makes sense for the File
Browser too.
Further, AFAIK renaming was only possible through the context menu,
which makes it hard to discover in the right click select keymap (have
to press W).

Note that I had to do some internal changes to ensure the context menu
always acts on the clicked/hovered item, while the shortcut operates on
the active item. William and I agreed that this is likely the behavior
expected by most users.
2019-10-14 16:32:18 +02:00
Antonio Vazquez
ac52a53628 Merge branch 'blender-v2.81-release' 2019-10-14 15:56:58 +02:00
Antonio Vazquez
841e969580 GPencil: Fix unreported duplicated brushes
The eraser and fill brushes were duplicated due a bug introduced by versioning code.
2019-10-14 15:53:39 +02:00
Brecht Van Lommel
df0ec670fb Merge branch 'blender-v2.81-release' 2019-10-14 15:46:52 +02:00
Julian Eisel
80fe0ac7ff Fix T70581: Node Wrangler output switching broken
When executing the node selection operator through Python, or in fact
any similar select operator with drag-all-selected support, the operator
was enabling modal execution, which should not be done in this case.
Reason was simply a wrong default for an internal property.
2019-10-14 12:11:13 +02:00
Bastien Montagne
0fb55ff845 Fix T70787: Duplicating objects with custom property of type ID creates bogus links.
Note that the issue also affected animdata handling...

Checked all usages of the `BKE_libblock_copy_ex()` function, and
think never handling user count here is valid, although a bit risky
maybe. But other solution would be to add yet another copy flag, so
would rather go with that one for now.
2019-10-14 11:12:13 +02:00
Sergey Sharybin
e7367c607e Cleanup: Fix naming of a function 2019-10-14 10:45:35 +02:00