Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-15Fix active bone flip not activating the wpaint vertex groupCampbell Barton
2019-10-24Fix T60689: Flip Active/Selected bone fails in weight paint modeCampbell Barton
Multiple selection operations failed with weight-paint + pose mode. Weight-paint + pose mode is a special case that doesn't support multi-pose mode, so we need to use this instead of the generic function.
2019-09-18Fix excessive dependency graph evaluation while painting strokesBrecht Van Lommel
Particularly noticeable when vertex painting with a subsurf modifier. In some cases every sculpt or paint stroke step would evaluate the dependency graph. This should only happen for redraws. Now more selectively choose if the dependency graph should be evaluated to initialize the view context. Doing it in the view context evaluation is somewhat hidden, now it's more explicit. Differential Revision: https://developer.blender.org/D5844
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-08-16Outliner: Synced selection and active element highlightingNathan Craddock
Adds a toggle to the filter menu for outliner synced selection. Enabled by default, this ensures selection is synced between objects, bones, and sequences. An active outliner element theme color is added to indicate which element is active. Synced selection is controlled on the operator level. Each operator that modifies selection for objects, bones, sequences, or outliner elements needs to call the respective ED_outliner_select_sync_from.. function to tag outliners to be synced. Syncing is done lazily on outliner draw.
2019-07-18Fix T66949: Can't select bones from multiple objects in wpaint modeCampbell Barton
This fix relies on 2.7x logic, only de-selecting other armature objects, making multiple armatures in weight paint mode usable.
2019-07-18Fix pose de-selection when selecting from object modeCampbell Barton
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-20Cleanup: add missing macros to clang-formatCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-263D View: move deselect all logic into an optionCampbell Barton
This removes `VIEW3D_OT_select_or_deselect_all`, adding a deselect_all option to the `VIEW3D_OT_select` operator. - Add utility functions to simplify de-selecting all. - Return true from selection functions when they change the selection to avoid redundant updates. - Use arrays of bases when passing objects between selection utility functions since some users require bases. - Fix logical error in box selection that updated all objects after the first hit.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-22Fix T60602: outliner pose bone selection does not update in viewport.Sebastian Parborg
Differential Revision: https://developer.blender.org/D4223
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-10-24Cleanup: fix compiler warnings.Brecht Van Lommel
2018-10-24Silence some false positiver warningsDalai Felinto
2018-10-19Multi-Objects: POSE_OT_select_grouped > POSE_SEL_SAME_KEYINGSET 3/3Dalai Felinto
Note for posterity, I couldn't figure out a way to test this mode properly. That said, it should be working with multiple-poses now.
2018-10-19Multi-Objects: POSE_OT_select_grouped > POSE_SEL_SAME_LAYER 2/3Dalai Felinto
2018-10-19Multi-Objects: POSE_OT_select_grouped > POSE_SEL_SAME_GROUP 1/3Dalai Felinto
And disable the other options for now.
2018-10-19Multi-Objects: Implement/Fix POSE_OT_select_constraint_targetDalai Felinto
This operator had an initial multi-objects implementation. However it would not select target bones across different selected objects.
2018-10-13Revert "Multi-Object Pose: POSE_OT_select_parent by Harsha"Dalai Felinto
This reverts commit dcf1210c44cb1e46bf387f326c5ee9daa2a53004. In 2.79x select parent would only work for the active bone. There is no reason to have it working for multi-objects.
2018-10-12Multi-Objects: POSE_OT_select_hierarchy (no real change)Dalai Felinto
This operator doesn't need any changes. Following the guideline of multi-objects behaving alike joined armatures, there is no need to change any armature that is not the active one. That said I will revert the behaviour of ARMATURE_OT_SELECT_hierarchy to follow the same rule (i.e., revert dcc623e7e7ea).
2018-10-11Merge branch 'master' into blender2.8Campbell Barton
2018-10-02Fix for POSE_OT_select_mirrorDalai Felinto
It was not taking duplicated objects into consideration, so the operator would only work if you had an off number of objects with the same armature.
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-08-283D View: split object/pose box & lasso selectCampbell Barton
Also fix error in lasso select with multiple pose objects.
2018-08-143D View boarder/lasso select tool optionsCampbell Barton
Add tool options to control how select operates (add/sub/set/and/xor). Note: edit mode armature select still needs to support all options, this is complicated by how it handles partial end-point selection.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-05-24Oops... should rebuild before committingJoshua Leung
2018-05-24Multi Pose: Selecting a bone in one armature doesn't deselect bones in the ↵Joshua Leung
other armatures This was actually due to missing COW flushing of pose data on the "other" objects (only the active object was getting tagged for updates).
2018-05-24Fix: Several pose select operators were not in fact working with COWJoshua Leung
The following operators are fixed in this commit * POSE_OT_select_linked * POSE_OT_select_grouped * POSE_OT_select_mirror
2018-05-22Cleanup: replace MEM_SAFE_FREE -> MEM_freeNCampbell Barton
No need to check for NULL in this case.
2018-05-14Fix: POSE_OT_select_constraint_target now works with copy on writeJoshua Leung
2018-05-09Cleanup: quiet shadow warningCampbell Barton
2018-05-09Multi-Object Pose: POSE_OT_select_parent by HarshaDalai Felinto
Differential Revision: https://developer.blender.org/D3283
2018-05-07Fix: Select all didnt' work with COW pose bonesJoshua Leung
2018-05-07Fix: Tag armature for copy on write when selecting bones, so active bone ↵Ines Almeida
gets updated see 8a2d2f1bb40 for similar Reviewers: aligorith, sergey Reviewed By: aligorith Maniphest Tasks: T54812 Differential Revision: https://developer.blender.org/D3204