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-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
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-03-05UI: Nicer report when trying to edit external librariesPablo Vazquez
Rename 'libdata' to 'library data'.
2019-03-05Fix parenting objects to bones/vertices causes offsetPhilipp Oeser
This reverts part of rBbc5482337669. Problem with above commit is that the evaluated object seems to not have partype, par1, par2, par3 copied from the original (yet). Using original object instead now. Second issue (when parenting to 'Bone Relative') is that the bones BONE_RELATIVE_PARENTING flag is set on the original, but not the evaluated bone (yet), setting this on both now. Fixes T60623 (and part of T59352) Reviewers: brecht, sergey Maniphest Tasks: T60623 Differential Revision: https://developer.blender.org/D4309
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-03Fix T62064: Linked object made by Make Links isn't showed in the scene you ↵Bastien Montagne
linked to. Usual missing DEG relations rebuild tagging...
2019-03-02GPencil: Set Viewport color to black by defaultAntonioya
As the 2D viewport color is white, if the object default color is white, when wireframe is enabled the object is invisible. Now, the grease pencil object default viewport color is black.
2019-03-01Outliner: Collection - Duplicate Hierarchy, and Duplicate Linked HierarchyDalai Felinto
As per the suggestion on T57064, this introduces two new options to duplicate collections. We then have: * Duplicate > Collection (New collection with linked content). * Duplicate > Hierachy (Duplicate entire hierarchy and make all contents single user). * Duplicate > Linked Hierarchy (Duplicate entire hierarchy keeping content linked with original). Development TODO: `single_object_users` can/should use the new functions. Reviewers: brecht, mont29 Subscribers: pablovazquez, billreynish, JulienKaspar Differential Revision: https://developer.blender.org/D4394
2019-02-28GPencil: Remove dummy marker for Grease Pencil objectsAntonioya
After adding selecction using strokes, the dummy is not required because it was added as a provisional solution while we implement stroke selection.
2019-02-28Split base flags on own and collection-definedSergey Sharybin
This allows to update base flags to a proper state then object's restriction flags are changed, without requiring to re-evaluate an entire tree of flags. Some old unused flags are were removed by this change, and also disabling menu items might not work the same as before. This is something we can bring back if it's really needed (the way how flags are handled did change since that interface code was done anyway, so code was looking weird anyway). Reviewers: brecht Differential Revision: https://developer.blender.org/D4420
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton