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-04-30Stop using deprecated ob->flag & SELECTDalai Felinto
We still have base->flag_legacy & BA_WAS_SEL for the few cases we really need to have a per-object selection check (used in the transform code).
2019-04-30Remove BKE_scene_object_base_flag_sync_from_objectDalai Felinto
Note the fix for T62865 is still working fine.
2019-04-30Refactor: Use object select API - ED_object_base_selectDalai Felinto
We had a mix of BKE_view_layer_base_select (harmless), and places where we simply set the BASE_SELECTED flag with no regard to its selectable state.
2019-04-30UI: reorganize proportional editing optionsCampbell Barton
- Move connected & projected into individual toggles. - Top-level proportional editing button now only toggles. - Use popover for proportional edit-mode falloff and options. Note that it's no longer possible to toggle connected via key bindings, although this could be supported again if it's needed. Resolves T58081
2019-04-29Fix T59848: precisely represent the dependencies of Armature modifier.Alexander Gavrilov
When the modifier uses vertex groups, the set of the bones it actually needs is precisely defined by the set of the group names. If envelopes are enabled, this refinement is not available, because any bone can potentially be used. This can be used in the dependency graph construction to allow objects deformed by a part of the armature to be used in constraints on other bones, e.g. for placing cartoon-style face elements on top of the body mesh via Shrinkwrap constraints. Since the list of vertex group names is now used as an input by the dependency graph, adding/removing/renaming groups should now be triggering a graph rebuild. Differential Revision: https://developer.blender.org/D4715
2019-04-29Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-29Cleanup: internal apply modifier code: make it clear we use eval modifier ↵Bastien Montagne
and object.
2019-04-29Fix T63503: Set parent menu shown twiceCampbell Barton
When the 'type' property is set, execute the operation instead of showing the menu.
2019-04-29Cleanup: spellingCampbell Barton
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-21Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-20Cleanup: add missing macros to clang-formatCampbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell 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-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Cleanup: move motion paths into editors/animationCampbell Barton
Having this in blenkernel caused bad level calls to bf_editors_anim, causing tests that use 'blenkernel' to require almost all libraries. (complicating gtest linking & causing large binaries).
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16Fix T63401: add Object (Without Inverse) to Set Parent menuPhilipp Oeser
Previously it was bound to a shortcut. Differential Revision: https://developer.blender.org/D4673
2019-04-15Fix T63598: "child of" constraint "set/clear inverse" ops not workingPhilipp Oeser
was missing DEG updates Reviewers: sergey Maniphest Tasks: T63598 Differential Revision: https://developer.blender.org/D4685
2019-04-15cleanup: typo in commentPhilipp Oeser
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-09Cleanup: spellingCampbell Barton
2019-04-08cleanup: typo in commentPhilipp Oeser
2019-04-04Fix T63252: Bind in Mesh Deform Modifier failsSergey Sharybin
A regression since 64c8d72ef1ad. The solution is to force modifier evaluation for an evaluated object, and let it to copy binding data back to original when is being evaluated for binding. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4642
2019-04-02Fix T63220: Cannot make object single user after Duplicate Scene with Link ↵Bastien Montagne
Object Data. Caused by own recent rB17c15798c35f33e (already a fix in that code). We cannot erase immediately master_collection's childrn list, as it is used in sub-code to check in how many scenes an object is instanciated. Further more, we only want to do the remove old/add new children collections in case we are actually duplicating them. Makes me even more eager to nuke that whole piece of code and rethink from scratch that kind of ID handling. Some day...
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-04-01Fix T63101: Blender crashes on adding any object to collection duplicated ↵Bastien Montagne
with added scene. Issue was that (deep) duplication code of scene ended up leaving children collections of new master one without any parent. Note that even though I think that fix is OK for now, we should really make 'deep' duplication of IDs part of the generic ID management code. Am less and less happy with current handling of this, done half from /editors code, half from some semi-specialized helpers from /blenkernel, with sometimes nearly the same logic replicated several times for slightly different needs, etc. Unfortunately this would not be a small refactor, so it will have to wait...
2019-04-01Modifiers: Proper fix for the Apply ModifierSergey Sharybin
It is up to the operator to pass valid object to the modifiers evaluation. Fixes T62916: Applying boolean modifier does not set materials properly
2019-03-27Fix T55956: Transfer Weights: Source Layers can't be set to Active Layer.Bastien Montagne
Behavior of source/destination options was rather flaky in reversed mode... Note that even though this mode is a bit annoying and cumbersome, the only alternative (defining a specific transfer weight operator) would be much more verbose, so think that for now we'd rather keep what we have here.
2019-03-27Cleanup: minor comments fixes.Bastien Montagne
2019-03-27Fix T63004: Make Links operator would still allow collection instancingPhilipp Oeser
for objects other than Empties In 2.8 support for dupli-group instancing for non-empty objects was removed (rB2eca054e14b1), so better prevent operators from setting this... Reviewers: brecht Maniphest Tasks: T63004 Differential Revision: https://developer.blender.org/D4599
2019-03-27Fix T62935: Missing tag when copying constraintsJacques Lucke
2019-03-26Fix (unreported) crash when making object single user in some cases.Bastien Montagne
Issue would happen in case affected object is linked to collections that are shared between different scenes' ViewLayers. When switching back to another scene after making single user, you'd get immediate crash.
2019-03-24Cleanup: redundant use of string formatting functionsCampbell Barton
2019-03-21WM: enable activate on init for wmOperatorType.propCampbell Barton
This enables popups to edit text when displayed, use for new collection popup.
2019-03-20Fix assert on vertex parentSergey Sharybin
The evaluation was done on an original object, which is not allowed.
2019-03-19Cleanup: use BLI_kdtree_3d prefixCampbell Barton
Use prefix now there isn't only the 3d version.
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-15Fix T62438: Unhide all doesn't set newly visible objects to selectedDalai Felinto
The select option in the operator was never working because we were trying to select an object considered unselectable (since it was hidden). Reviewers: brecht Differential Revision: https://developer.blender.org/D4527
2019-03-15Fix T62313 - No way to remove object from master collection in 3d viewDalai Felinto
This introduces a new iterator, FOREACH_COLLECTION, that unlike the FOREACH_SCENE_COLLECTION it iterates over all the Blender file collections, including the scene master collection, as well the database ones (bmain). Reviewers: brecht
2019-03-15Fix T62601: parenting to curve (follow path) causes offsetPhilipp Oeser
Similar to T60623 / rB2894e75121d7. Issue (when parenting with 'Follow Curve') is that the curves CU_FOLLOW flag is set on the original, but not the evaluated curve (yet), leading to misbehaviour in 'ob_parcurve()'. Setting this on both now. Reviewers: sergey Maniphest Tasks: T62601 Differential Revision: https://developer.blender.org/D4524
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-13Fix T62377: Crash hiding Armature in edit mode and switching to poseDalai Felinto
The poll function accepts hidden objects, so they are not stuck in pose mode, but the operator itself expects a valid base, which we don't have. When called from OBJECT_OT_mode_set() it will fallback to object mode. It is the same that happens when in Edit Mesh mode with a hidden active object and trying to change to Vertex Painting mode.
2019-03-12Fix Hook to New Object won't appear in Local ViewDalai Felinto
Reported as part of T62436 (although the bug was a different one).
2019-03-11Fix T59928: 'Radius' option does nothing when adding light probeJacques Lucke
2019-03-11Merge branch 'blender2.7'Brecht Van Lommel
2019-03-11Fix T61053: crash baking to float image after file save.Brecht Van Lommel
This is the wrong flag to check, no other code actually reads it.
2019-03-08Cleanup: use doxy sections for object select APICampbell Barton