September 14, 2020, 11:19 (GMT) |
Fix T80728: UV edge select splits UV's for lasso/box/circle select Oversight in 411c5238a2fef ignored sticky selection. Use 'uvedit_edge_select_set_with_sticky' to make sure sticky options are respected. Also skip checking the existing selection since that only checks the current UV, not all connected UV's which is needed for sticky selection. The extra checks to avoid updating UV's isn't such an advantage as only meshed in the selected region are tagged for updating. |
September 14, 2020, 10:49 (GMT) |
Alembic export: write custom properties Write custom properties (aka ID properties) to Alembic, to the `.userProperties` compound property. Manifest Task: https://developer.blender.org/T50725 Scalar properties (so single-value/non-array properties) are written as single-element array properties to Alembic. This is also what's done by Houdini and Maya exporters, so it seems to be the standard way of doing things. It also simplifies the implementation. Two-dimensional arrays are flattened by concatenating all the numbers into a single array. This is because ID properties have a limited type system. This means that a 3x3 "matrix" could just as well be a list of three 3D vectors. Alembic has two container properties to store custom data: - `.userProperties`, which is meant for properties that aren't necessarily understood by other software packages, and - `.arbGeomParams`, which can contain the same kind of data as `.userProperties`, but can also specify that these vary per face of a mesh. This property is mostly intended for renderers. Most industry packages write their custom data to `.arbGeomParams`. However, given their goals I feel that `.userProperties` is the more appropriate one for Blender's ID Properties. The code is a bit more involved than I would have liked. An `ABCAbstractWriter` has a `uniqueptr` to its `CustomPropertiesExporter`, but the `CustomPropertiesExporter` also has a pointer back to its owning `ABCAbstractWriter`. It's the latter pointer that I'm not too happy with, but it has a reason. Getting the aforementioned `.userProperties` from the Alembic library will automatically create it if it doesn't exist already. If it's not used to actually add custom properties to, it will crash the Alembic CLI tools (and maybe others too). This is what the pointer back to the `ABCAbstractWriter` is used for: to get the `.userProperties` at the last moment, when it's 100% sure at least one custom property will be written. Differential Revision: https://developer.blender.org/D8869 Reviewed by: sergey, dbystedt |
September 14, 2020, 10:24 (GMT) |
Cleanup: remove unused function The last usage was removed in {rB4eda60c2d82de0d7f7ded8ddf1036aea040e9c0d}. |
September 14, 2020, 10:02 (GMT) |
Fix T80564: flow particle size is too limiting Reviewers: sebbas Differential Revision: https://developer.blender.org/D8888 |
September 14, 2020, 09:59 (GMT) |
Fix T80603 Workbench: Inverted alpha when rendering The state of the passes was not set back after the first sample. This is a simpler fix than rBecfbc5fb55d5 which needs the new draw manager features from 2.90. |
September 14, 2020, 09:33 (GMT) |
Fix T80643: Library Override: Can't change Armature Layer enabled-ness. Armature properties still had to be made overridable. |
September 14, 2020, 09:09 (GMT) |
September 14, 2020, 09:02 (GMT) |
API doc: Gotcha's: Add section about abusing RNA properties callbacks. Especially with new undo/redo it is even less recommended to perform complex operations in those callbacks, they should remain as fast and localized as possible. Also updated the section about undo/redo a bit. |
September 14, 2020, 08:31 (GMT) |
Fix T80457: Library Override - Custom Property to Drive Child Particles results in Crash. RNA diffing code was not dealing properly valid NULL PointerRNA (like the empty texture slots of a ParticleSettings e.g., which were cause of crash in that report). To be backported to 2.90 and 2.83. |
September 14, 2020, 08:25 (GMT) |
Fix T80747: New vgroups on unsupported object types fails silently Raise an exceptions when adding vertex groups to object types that don't support it. |
September 14, 2020, 07:59 (GMT) |
Fix T80694: Crash reloading scripts from the Python console Running `bpy.ops.script.reload()` from Python was crashing since the operator being called was it's self freed. Change the reload operator to defer execution - as supporting re-registration during execution is quite involved for a corner-case. |
September 14, 2020, 07:59 (GMT) |
Cleanup: use doxy sections for imbuf |
September 14, 2020, 07:48 (GMT) |
DrawManager: Resolve Assert in Image Engine Tiled texture uses different texture structure than normal textures. Normally we add dummy textures and use them, but I found it cleaner to have 2 shaders and use the correct shader. |
September 14, 2020, 07:25 (GMT) |
Fix T72584: Hiding a collection don't hide a child object in viewport when in Local View Hiding a collection should hide all children objects even when we are in Local view with one of them. Note from reviewer: We are doing this already for local collections. So may as well do it when hiding the collections for the entire view layer. Developer details: In function "BKE_object_is_visible_in_viewport" object flag BASE_VISIBLE_VIEWLAYER wasn't being checked when we were in Local view, It's now changed so that it's checked even if we are in Local view. And this function was called by some viewport draw functions to check if it should draw an object or not. Maniphest Tasks: T72584 Differential Revision: https://developer.blender.org/D7894 |
Revision d23036e by Hans Goudey (property-search-ui-v2) September 14, 2020, 00:52 (GMT) |
Property Search: New implementation for all-tab search Use a bespoke pass for running property search in a panel region. While this method results in more code, it doesn't reuse the panel search, which has a few benefits: 1. It's possible to exit early when a results is found for a tab. Although this doesn't affect worse case performance, in general it's a benefit. 2. The code for searching all tabs in the properties editor becomes much simpler. 3. There should be other performance improvements, as the search code can skip everything not related to search. This is accomplished by ED_region_panels_layout_ex in area.c, which was a bit too long of a function anyway. |
September 13, 2020, 23:10 (GMT) |
DRW: Fix wrong use of GPU_blend Use the enum instead of a boolean. Exibit n�5512 where typecast warning would have find the error. |
September 13, 2020, 23:10 (GMT) |
Cleanup: DRWManager: Remove deprecated pass_state functions And also enable pass names when using `--debug-gpu` option. |
September 13, 2020, 23:10 (GMT) |
Fix T80603 Workbench: Inverted alpha when rendering This was caused by a left over DRWPass->state modification that made the subsequent samples redraw without Blending enabled. This led to incorrect blending. The fix is to use the new API for pass instancing. |
September 13, 2020, 20:57 (GMT) |
Apply patch D8816, from Zachary(AFWS) for collection boolean operand. Also added code so that exact solver does the whole collection at once. This patch allows users to use a collection (as an alternative to Object) for the boolean modifier operand, and therefore get rid of a long modifier stack. |
September 13, 2020, 17:50 (GMT) |
Fix T80589: Translations in python scripts are missing. Python 3.8 changed handling of constant values in its AST tool. This code should work on both officialy supported 3.7, and newer 3.8, for now. |
|
|
|


Master Commits
MiikaHweb | 2003-2021