Antonio Vazquez
d366658d2d
GPencil: Remove redundant Control word from UI
2020-04-28 18:35:49 +02:00
Jacques Lucke
c1e6865ee3
Cleanup: remove unnecessary includes
2020-04-28 18:08:00 +02:00
Jacques Lucke
67bd6bbcdd
Depsgraph: use BLI::Vector for Relations
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7556
2020-04-28 17:53:09 +02:00
Jacques Lucke
05283f8c96
Depsgraph: Use BLI::Map for constraint_to_pchan_map_
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7553
2020-04-28 17:44:36 +02:00
Jacques Lucke
7dfa1b18c1
Depsgraph: use BLI::Set for entry_tags
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7555
2020-04-28 17:40:23 +02:00
Philipp Oeser
7bc4a436a0
Merge branch 'blender-v2.83-release'
2020-04-28 17:18:01 +02:00
Philipp Oeser
475bd6b829
Fix T76179: Unable to select render passes when a render has fewer
...
passes than one in another slot
If a particular pass is not available in a slot we are switching to,
still show the menu, but with a blank name for the currently selected
item so that the user can change it to a valid value.
thx @brecht for providing the standard way Blender deals with these
kinds of situations.
Maniphest Tasks: T76179
Differential Revision: https://developer.blender.org/D7552
2020-04-28 17:06:53 +02:00
Jacques Lucke
a72eed7dd5
BLI: rename Vector.empty to Vector.is_empty
2020-04-28 17:04:07 +02:00
Jacques Lucke
c05ef1459c
BLI: add Set.clear method
2020-04-28 16:41:37 +02:00
Jacques Lucke
d575b72c16
BLI: add Set.is_empty method
2020-04-28 16:35:49 +02:00
Jacques Lucke
69e8de434f
Depsgraph: use BLI::Map in RootPChanMap
...
Reviewers: sergey, sybren
Differential Revision: https://developer.blender.org/D7521
2020-04-28 15:56:53 +02:00
Bastien Montagne
6278b48ea1
Merge branch 'blender-v2.83-release'
...
Conflicts:
source/blender/blenkernel/intern/lib_query.c
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
2020-04-28 15:40:12 +02:00
Bastien Montagne
37e08e526c
Depsgraph: Add IDProperties handling.
...
Fix T75279: BLI_assert failed when deleting object in debug build
(only).
And all general cases of ID pointer idproperties that would use a
data-block not referenced anywhere else in the depsgraph.
This includes idproperties from:
* All ID types;
* Bones and pose bones;
* Sequences;
* Nodes and sockets.
Differential Revision: https://developer.blender.org/D7551
2020-04-28 15:31:08 +02:00
Bastien Montagne
9f090bac5c
IDProperties: add a foreach looper and use it in libquery code.
...
Note: part of fix for T75279.
Differential Revision: https://developer.blender.org/D7550
2020-04-28 15:25:19 +02:00
Jacques Lucke
1c7317a6da
BLI: add library to simplify writing dot graph exporters
...
See D6799 for some examples on how to use the library.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D6799
2020-04-28 14:05:24 +02:00
Jacques Lucke
9c65ac7311
BLI: add Map.lookup_or_add_default method
2020-04-28 13:55:36 +02:00
Brecht Van Lommel
7d85b6431f
Fix T76044: update Cycles to build with OSL 1.11 master
2020-04-28 13:50:31 +02:00
Sergey Sharybin
2c60221080
Cleanup: Missing include directories after recent cleanup
2020-04-28 13:33:18 +02:00
Brecht Van Lommel
20100009f6
Fix armature roll test failing on macOS
2020-04-28 13:31:59 +02:00
Sergey Sharybin
7d1bb2edfd
Cleanup: Strict compiler warning in release mode
2020-04-28 13:31:01 +02:00
Brecht Van Lommel
8da80e7771
Merge branch 'blender-v2.83-release'
2020-04-28 13:02:06 +02:00
Brecht Van Lommel
2db4a5bb9f
Cleanup: remove unused string module
...
This is legacy code that can simply be replaced by std::string.
2020-04-28 12:57:39 +02:00
Brecht Van Lommel
2580fa1602
Cleanup: remove STR_String usage from GHOST
2020-04-28 12:57:39 +02:00
Brecht Van Lommel
6cab53eaaa
Tests: fix some tests passing even if there are Python errors
...
Blender was not configured to exit with non-zero return code on Python errors.
A bunch of tests worked around this but not all. This removes the need for such
workarounds.
2020-04-28 12:50:16 +02:00
Jacques Lucke
b21a3e7702
Depsgraph: Use BLI::Map in more places
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7519
2020-04-28 12:49:52 +02:00
Brecht Van Lommel
a7bd835644
Fix Python bundled module test error
...
We don't bundle cffi, rather the ffi library is used for ctypes. This test is
currently passing even when there are errors, that will be fixed next.
2020-04-28 12:48:29 +02:00
Himanshi Kalra
b9f422c4be
Tests: add physics tests cloth and softybody
...
This uses the same framework as automated modifier tests. It adds a physics
modifier, bakes and compares vertex coordinates on the end frame.
Differential Revision: https://developer.blender.org/D7017
2020-04-28 12:29:46 +02:00
Howard Trickey
18e9626e41
Strengthen modifiers test validation, from D7397.
...
Submitting on behalf of Jesse Y (deadpin).
In test harness for modifier testing, now run mesh validation
on output mesh. Also, fix printing so it interleaves properly.
2020-04-28 12:27:33 +02:00
Brecht Van Lommel
4adc68bdf8
Fix T75973: don't show raw Python errors to users for invalid shortcut paths
...
There are cases when a user can accidentally assign an operator to toggle an
invalid property to e.g. left click, which shows Python errors to the users.
Rather than throw an error and e.g. break 3D viewport selection for the user,
just print an error to the console.
The root cause of such bugs should be fixed as well, but a working Blender
is most important here.
2020-04-28 12:27:33 +02:00
Jacques Lucke
9c2715ffda
BLI: add Map.is_empty() method
2020-04-28 11:44:10 +02:00
Jacques Lucke
7acc8a5a92
Depsgraph: Use BLI::Map for RNANodeQuery.id_data_map_
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7512
2020-04-28 11:39:49 +02:00
Pablo Vazquez
0372121e17
UI: Title case for 'Prefetch Frames' in VSE
2020-04-28 11:27:05 +02:00
Jacques Lucke
a66162e1f6
Cleanup: trailing whitespace
2020-04-28 11:11:35 +02:00
Campbell Barton
3afa2e94ba
Merge branch 'blender-v2.83-release'
2020-04-28 18:38:15 +10:00
Campbell Barton
90f01d5048
Fix select linked in pose mode
...
Only one of child bones would be selected when the bone under the
cursor had multiple children.
2020-04-28 18:35:52 +10:00
Campbell Barton
c7144d780d
Merge branch 'blender-v2.83-release'
2020-04-28 16:17:12 +10:00
Campbell Barton
64e242244d
Fix T75993: Mark Seam from UV editor operates on unselected faces
2020-04-28 16:14:09 +10:00
Campbell Barton
4f639b893b
Merge branch 'blender-v2.83-release'
2020-04-28 15:48:44 +10:00
Campbell Barton
612757b524
Fix T76098: Dragging text selection with offset resets select start
2020-04-28 15:47:09 +10:00
Campbell Barton
a8d684d87f
Merge branch 'blender-v2.83-release'
2020-04-28 13:49:25 +10:00
Campbell Barton
ef1187387b
Fix T76152: Shortcut underline under wrong letter
...
Use glyph bounds to calculate a better underline position.
2020-04-28 13:48:15 +10:00
Campbell Barton
e78470d954
BLF: add utility function to loop over glyph bounds
2020-04-28 13:34:56 +10:00
Campbell Barton
33017e9529
Cleanup: unused variable
2020-04-28 13:05:18 +10:00
Clément Foucault
fd0cb58122
Merge branch 'blender-v2.83-release'
2020-04-27 21:15:11 +02:00
Clément Foucault
133bf05b18
Fix T75736 Viewport update problem when switching between view layers
...
The problem comes from the fact by no data being modified when switching
viewlayers.
To follow what the external render engines do, we completely reset the
viewport by freeing the GPUViewport to avoid any cached data from being
kept.
2020-04-27 21:14:10 +02:00
Clément Foucault
84e40ee846
Fix T75910 Overlay: Face Orientation not working for "In Front" objects
2020-04-27 21:14:10 +02:00
Ray Molenkamp
6830307b94
Merge remote-tracking branch 'origin/blender-v2.83-release'
2020-04-27 13:05:22 -06:00
Ray Molenkamp
ad01bab6c3
cleanup: Remove unused variable
2020-04-27 13:04:44 -06:00
Ray Molenkamp
15081cf6df
Merge remote-tracking branch 'origin/blender-v2.83-release'
2020-04-27 13:01:24 -06:00
Ray Molenkamp
7951ec2641
Cleanup: Fix warning about initialization order with MSVC
2020-04-27 13:00:53 -06:00