Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3557 / 8462

December 15, 2017, 16:26 (GMT)
Fix failing assert when reading workspace list from workspaces.blend
December 15, 2017, 16:24 (GMT)
Merge branch 'master' into blender2.8
December 15, 2017, 16:23 (GMT)
Depsgraph Cleanup, spelling
December 15, 2017, 16:23 (GMT)
Depsgraph: Simplify logic around special case for node tree update
December 15, 2017, 16:23 (GMT)
Depsgraph: Cleanup, extra whitespace
December 15, 2017, 16:23 (GMT)
Depsgraph: Cleanup, use names for particle system tag flags
December 15, 2017, 16:23 (GMT)
Depsgraph: Remove special exception logic from ID node tagging

This is something what we should be limiting as much as possible, it is
enough already to have special mapping cases in depsgreaph_depsgraph_tag.
December 15, 2017, 15:54 (GMT)
math utils: Add utilities to scan bit and clear it
December 15, 2017, 15:54 (GMT)
Math utils: Go away form naive code for highest_order_bit_uint
December 15, 2017, 15:54 (GMT)
Math utils: Add bit scan operations
December 15, 2017, 15:54 (GMT)
Math utils: Make it more clear what the functions are returning
December 15, 2017, 15:54 (GMT)
Math utils: Cleanup, use _uint suffix for function which operates on uint
December 15, 2017, 15:40 (GMT)
Possible solution for workspace mode

Basically implements the proposal made in [[https://developer.blender.org/T53389#474275|this comment]].
Important to note: This implementation keeps the mode stored in the object, the workspace takes care for setting it though.
Even if we decide to move the mode out of the object, most code here would still be valid. This is just a much more feasible approach that may suit our needs already.

The basic rule for setting the workspace mode is: The last active mode that is not object-mode (`OB_MODE_OBJECT`) becomes the workspace mode. Therefore the workspace mode must never be `OB_MODE_OBJECT`
By default new workspace use edit-mode as workspace mode.

Now, some parts of the design I'm not sure yet. Mainly:
* The implementation makes the workspace remember if the workspace mode or `OB_MODE_OBJECT` is active. Pressing TAB toggles between them. However the workspace doesn't try to keep the workspace mode active while only using `OB_MODE_OBJECT` as fall-back or when the user explicitly sets it. This differes from what I wrote in [[https://developer.blender.org/T53389#474275|mentioned comment]]. Maybe that's better maybe not.
* If the workspace mode isn't compatible with the currently active object, pressing TAB does nothing. In theory this may make sense, in practice it might be quite annoying though.

I'm not submitting that for code review really. Just for feedback on the general design approach and the discussion points mentioned above.

Subscribers: sergey, dfelinto

Differential Revision: https://developer.blender.org/D2965
December 15, 2017, 15:34 (GMT)
exposed meshisland constraints and modifier vertex groups to python

this was done to enable a new feature in the addon, the cluster editor.
December 15, 2017, 15:27 (GMT)
refactored python object desctruction setup

no need to specify individual variables anymore - deletion now based on id
December 15, 2017, 15:23 (GMT)
updated manta pp files
December 15, 2017, 15:09 (GMT)
Fix missing refresh of editors when changing workspace view-layer

Needs to use new messaging system.
December 15, 2017, 13:42 (GMT)
Depsgraph: Fix assignment to wrong flags
December 15, 2017, 12:53 (GMT)
Tracking: Cleanup, fix typo in variable name
December 15, 2017, 12:17 (GMT)
Fix merge errors

There was a problem with struct byte alignment.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021