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-03-17small refresh operator fixMartin Felke
2019-03-02Merge remote-tracking branch 'origin/master' into fracture_modifier-2.8Martin Felke
# Conflicts: # intern/cycles/blender/blender_mesh.cpp # intern/rigidbody/RBI_api.h # intern/rigidbody/rb_bullet_api.cpp # source/blender/blenkernel/BKE_rigidbody.h # source/blender/blenkernel/intern/rigidbody.c # source/blender/depsgraph/intern/builder/deg_builder_relations.cc # source/blender/draw/intern/draw_manager.c # source/blender/editors/physics/rigidbody_object.c # source/blender/makesdna/DNA_modifier_types.h # source/blender/makesdna/DNA_rigidbody_types.h # source/blender/makesrna/intern/rna_modifier.c # source/blender/makesrna/intern/rna_rigidbody.c # source/blender/modifiers/intern/MOD_boolean.c # source/blender/modifiers/intern/MOD_multires.c # source/blender/modifiers/intern/MOD_remesh.c
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
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-25Fix (unreported) broken code in RNA's datatransfer source layer enum function.Bastien Montagne
Same issue as in own previous commit actually.
2019-02-22Cleanup: Remove redudant function callDalai Felinto
BKE_main_id_clear_newpoints is already called from copy_object_set_idnew().
2019-02-20Units: Use correct units for transform operatorsWilliam Reynish
-Use distance for Shrink/Fatten Distance -Use factor for Smooth Factor -Use Factor for Randomize Uniform and Normal values -Use Distance for Randomize distance amount -Randomize Transform Scale was wrongly using distance
2019-02-19DNA: rename Object.col -> colorCampbell Barton
Was confusing, unrelated to: colbits, col_mask, col_group, actcol & totcol.
2019-02-18DNA: rename Object.size -> scaleCampbell Barton
Resolves a common cause of confusion.
2019-02-18DNA: rename Collection.dupli_ofs -> instance_collectionCampbell Barton
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-17DNA: rename dup_* struct members to instance_*Campbell Barton
2019-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-17Cleanup: move object bounding-box into runtime structCampbell Barton
2019-02-14Fix T56665: Assert when selecting objectCampbell Barton
Selecting object w/ a different mode missed refreshing the screen areas current tool.
2019-02-14Fix T61472: Hide Unselected fails w/ no selectionCampbell Barton
Also skip mesh recalculation when no hide/reveal is performed.
2019-02-14Fix T61353: Crash converting a curve to a meshCampbell Barton
This was caused by curves pointing to each other creating a cyclic dependency. While the dependency graph detects this, generating a mesh for render recursively generates data which cashes in this case. Add in a check to detect cyclic links. Note, this bug exists in 2.7x too - but only crashes on render since 2.7x didn't use 'for_render' when converting data.
2019-02-14Fix T61360: Weight paint tools ignore face selectCampbell Barton
Face selection was added in weight paint mode since 2.7x, however tools hadn't been updated.
2019-02-13I18N Messages: fix confusion with Light meanings.Bastien Montagne
Using ID_LIGHT or ID_ID for "Lamp" meaning, "Light" without context being for 'not heavy'. That rename of data-block was not really nice on that side of things :/ Related to T43295.
2019-02-12Cleanup: rename `BLT_I18NCONTEXT_ID_LAMP` -> `BLT_I18NCONTEXT_ID_LIGHT`.Bastien Montagne
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-09Fix T61276: Make Single User unlinks original object.Bastien Montagne
In that case, we have to consider number of scenes using an object, not number of collections.
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-06Outliner visibility unification: Implement 3 levels of viewport visibilityDalai Felinto
Now collection and objects can be either: * Disabled for all the view layers. * Hidden for a view layer but not necessarily for all others. * Visible for a view layer but not necessarily for all others. Regarding icons: Whatever we decide to use for the "Hidden for all view layers" needs to be a toggle-like icon. Because when viewing "Scenes" instead of "View Layer" in the outliner we should be able to edit the collection "Hidden for all the view layers" as an on/off option. The operators are accessible via a Visibility context menu or shortcuts: * Ctrl + Click: Isolate collection (use shift to extend). * Alt + Click: Disable collection. * Shift + Click: Hide/Show collection and its children (objects and collections) Things yet to be tackled: * Object outliner context menu can also get a Visibility sub-menu. * Get better icons for viewport enable/disable. Note: * When using emulate 3 button mouse alt+click is used for 2d panning. In this case users have to use the operator from the menu. See T57857 for discussion. Patch: https://developer.blender.org/D4011 Reviewers: brecht and sergey Thanks to the reviewers and William Reynish and Julien Kasper in particular for the feedback.
2019-02-05Per view-layer collection visibilityDalai Felinto
[re-committing] We still control this in the viewport collections visibility menu. But now we are actually changing the visibility of the collections, not of the objects. If a collection is indirectly invisible (because one of its parents are invisible) we gray it out. Also if you click directly in the collection names, it "isolates" the collection by hiding all collections, and showing the direct parents and all the children of the selected collection. Development Note: Right now I'm excluding the hidden collections from the depsgraph. Thus the need for tagging relations to update. If this proves to be too slow, we can change.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
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-02-01'make links': rename group -> collection in enum in UIPhilipp Oeser
also rename dupli -> instance Fixes T61086 Reviewers: billreynish Maniphest Tasks: T61086 Differential Revision: https://developer.blender.org/D4294
2019-01-31Fix T59339: Particle render without baking issuesSergey Sharybin
The issue was caused by dependency graph resetting particles when evaluating copy-on-write version of object. Solved by only doing reset from dependency graph on user edits. Other issue was caused by modifier itself trying to compare topology and reset particles when number of vertices or faces changed. This isn't reliable, since topology might change even with same number of elements. But also, since copy-on-written object initially always have those fields zero-ed the reset was happening on every F12. The latter issue is solved by moving reset from modifier stack to places where we exit edit/paint modes which might be changing topology. There is still weird issue of particles generated at some weird location after tapping tab twice, but this is not a new issue in 2.8 branch and is to be looked separately.
2019-01-31Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.Brecht Van Lommel
This removes a bunch of animation/driver evaluations and recalc flags that should be redundant in the new depsgraph, and were incorrectly affecting the evaluated scene in a permanent way. Still two cases that could be removed if the depsgraph is improved, in BKE_object_handle_data_update and BKE_cachefile_update_frame. For physics subframe interpolation there are also still calls to BKE_object_where_is_calc that should ideally be removed as well, though they are not known to cause keyframing bugs. Differential Revision: https://developer.blender.org/D4274
2019-01-31Depsgraph: remove features incompatible with new system.Brecht Van Lommel
Some features are incompatible with multithreading and reliable evaluation of dependencies. We are now removing them as part of a bigger cleanup to fix bugs in keyframing and invalid animation evaluations. * Dupliframes have been removed. This was a hack added before there were more powerful features like the array modifier. * Slow parent has been removed, never worked in 2.8. It was always unreliable for use in production due to depending on whatever frame was previously evaluated, which was not always the previous frame. * Particle instanced objects used to have their transform evaluated at the particle time. Now it always gets the current time transform. * Boids can no longer do predictive avoidance of force field objects, but still for other particles. Differential Revision: https://developer.blender.org/D4274
2019-01-31Fix T60432: Blender crashes when dragging objects from other scene from ↵Bastien Montagne
outliner.
2019-01-31Cleanup: style, unused variableCampbell Barton
2019-01-31Cleanup: remove EM_IGNORE_LAYERCampbell Barton
Call ED_object_editmode_enter_ex instead.
2019-01-30Fix (unreported) memleak when copying object and its material with GP settings.Bastien Montagne
Like... seriously?
2019-01-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Fix T59921: RuntimeError:bpy.ops.object.gpencil_modifier_apply()Antonioya
Thanks to Brecht for his help
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-23Fix T60791: Don't show automatic weights option when not supportedJacques Lucke
There are probably many more cases in which the menu looks a little different. However, I don't know them all and it's too easy to break something accidentally here. Maybe a user could try the different combinations of object types and check if there are entries that should not be there. Reviewers: brecht Differential Revision: https://developer.blender.org/D4240
2019-01-21GP: Cleanup previous commitAntonioya
2019-01-21Fix T60714: Avoid creation of nested objectsAntonioya
In grease pencil is not logic add an object inside other object in edit mode. The object must be created only in Object mode.
2019-01-21Fix T60709: Apply Object Transform does nothing by defaultJacques Lucke