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-09-05Transform: Split transform_conversions into multiple files.mano-wii
Part of T68836 `transform conversions.c` is a file that is getting too big (almost 10,000 lines). So it's a good idea to split it into smaller files. differential revision: https://developer.blender.org/D5677
2019-09-03Transform: support snap to children with 'Affect Parents'Campbell Barton
Resolves T69398
2019-09-02Fix T69404: Merge by distance crash with UnselectedCampbell Barton
Error introduced when removing the automerge bmesh operator.
2019-09-01Fix transforming origin affecting unselected childrenCampbell Barton
2019-08-30Transform: use recalc geometry depsgraph tagCampbell Barton
Better be specific with the data that needs updating.
2019-08-29Cleanup: use custom data for object transform dataCampbell Barton
2019-08-28Transform: option to transform parent objects without childrenCampbell Barton
Supports parent/child chains with mixed selections. Currently accessible from the pivot popover (may be moved along with the other options here).
2019-08-28Cleanup: make transform data in object mode flag publicCampbell Barton
This fits better with intended flag usage.
2019-08-27Cleanup: spellingCampbell Barton
2019-08-27Edit Mesh AutoMerge: Improve `Split Edges & Faces` optionmano-wii
Now all wire edges linked to the merged vertex are used for split faces. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5603
2019-08-27Fix crash transforming origins when no editable origins existCampbell Barton
2019-08-26Edit Mesh: New option "Split Edges & Faces" to "AutoMerge"mano-wii
Ref T66423 Differential revision: https://developer.blender.org/D5562
2019-08-263D View: show selected object axis when affect origins is enabledCampbell Barton
This replaces temporarily enabling draw-axis.
2019-08-26Transform: support snapping origins onto the objects geometryCampbell Barton
Normally it wouldn't make sense for the object to snap onto it's self, when moving origins this is a common use-case.
2019-08-24Transform: option to transform origins in object modeCampbell Barton
Currently supports mesh, armature, lattice, curve & metaballs. Access from pivot popover.
2019-08-21Fix T65671: Armature X-Mirror inconsistenciesDemeter Dzadik
This fixes bendy bone properties not being mirrored correctly Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5408
2019-08-16Transform: use a kd-tree to calculate proportional distancesCampbell Barton
While speedup is non-linear, it gives ~30% speedup for ~6 million verts. D3993 by @Al with edits.
2019-08-06Cleanup: use BKE_ prefix for BKE_colortools.hCampbell Barton
2019-07-31Refactor access to dependency graphSergey Sharybin
This change ensures that operators which needs access to evaluated data first makes sure there is a dependency graph. Other accesses to the dependency graph made it more explicit about whether they just need a valid dependency graph pointer or whether they expect the graph to be already evaluated. This replaces OPTYPE_USE_EVAL_DATA which is now removed. Some general rules about usage of accessors: - Drawing is expected to happen from a fully evaluated dependency graph. There is now a function to access it, which will in the future control that dependency graph is actually evaluated. This check is not yet done because there are some things to be taken care about first: for example, post-update hooks might leave scene in a state where something is still tagged for update. - All operators which needs to access evaluated state must use CTX_data_ensure_evaluated_depsgraph(). This function replaces OPTYPE_USE_EVAL_DATA. The call is generally to be done in the very beginning of the operator, prior other logic (unless this is some comprehensive operator which might or might not need access to an evaluated state). This call is never to be used from a loop. If some utility function requires evaluated state of dependency graph the graph is to be passed as an explicit argument. This way it is clear that no evaluation happens in a loop or something like this. - All cases which needs to know dependency graph pointer, but which doesn't want to actually evaluate it can use old-style function CTX_data_depsgraph_pointer(), assuming that underlying code will ensure dependency graph is evaluated prior to accessing it. - The new functions are replacing OPTYPE_USE_EVAL_DATA, so now it is explicit and local about where dependency graph is being ensured. This commit also contains some fixes of wrong usage of evaluation functions on original objects. Ideally should be split out, but in reality with all the APIs being renamed is quite tricky. Fixes T67454: Blender crash on rapid undo and select Speculation here is that sometimes undo and selection operators are sometimes handled in the same event loop iteration, which leaves non-evaluated dependency graph. Fixes T67973: Crash on Fix Deforms operator Fixes T67902: Crash when undo a loop cut Reviewers: brecht Reviewed By: brecht Subscribers: lichtwerk Maniphest Tasks: T67454 Differential Revision: https://developer.blender.org/D5343
2019-07-31Animation: Remove depsgraph argument from a lot of APISergey Sharybin
Use explicit boolean flag to indicate whether flush to original data is needed or not. Makes it possible to avoid confusion on whether an evaluated or any depsgraph can be passed to the API. Allows to remove depsgraph from bAnimContext as well. Reviewers: brecht Differential Revision: https://developer.blender.org/D5379
2019-07-29Fix T67221: Auto-offset in VSE doesn't refresh audioPhilipp Oeser
Reviewers: sergey, ISS Maniphest Tasks: T67221 Differential Revision: https://developer.blender.org/D5300
2019-07-17Fix T67078: Crash with vertex slide and multi-objectsDalai Felinto
If one of the objects had invalid selected edges, it would lead to a crash since none of the for loops were checking for whether the edge slide data is valid. We could refactor the macros to create a new FOREACH_TRANS_DATA_CONTAINER_WITH_DATA However we are too close to 2.80 final release so we manually skip them for now. Note: TRANS_DATA_CONTAINER_FIRST_OK cannot be used either for the same reason. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5274
2019-07-15Fix T66870: AutoIK-Len stops working after releasing the mouseSebastian Parborg
The code didn't check if we should initialize the transform auto IK parameters. Cleaned up the code a bit too. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5260
2019-07-12Fix T66689: Viewport isn't updating children hair particle on particle editPhilipp Oeser
Reviewers: fclem, brecht Maniphest Tasks: T66689 Differential Revision: https://developer.blender.org/D5229
2019-07-10Fix T66627: Multiobject Edit UV constraint to image boundsDalai Felinto
This was broken since the original commit to handle multi-object editing: rBbfc9d426bb95.
2019-07-05Transform Snap: Fix dependency cycle between transformed object and object ↵mano-wii
with modifiers
2019-07-05Fix T64342: Incorrect snapping of focus object in camera viewSergey Sharybin
Use more granular dependency graph traversal, which allows to ignore dependencies which are not related on transform. Reviewers: mano-wii, brecht Differential Revision: https://developer.blender.org/D5184
2019-07-03Fix T66311: skin resize (ctrl+a) could crashPhilipp Oeser
could happen when used on multiple objects with multi edit, and skin modifier was not present on all participating objects Reviewers: brecht Maniphest Tasks: T66311 Differential Revision: https://developer.blender.org/D5165
2019-06-21Revert "Particle system: Move runtime data to runtime field"Sergey Sharybin
This reverts commit 36faf739a71624b6ca10cec7233779f9eeace0bd. Somewhat annoying but this change had some unforeseen consequences, which lead to an actual bug. Since this change was not sufficient to get original report fixed is easier to simply revert for now. Fixes T65842: Hair disappears when clicking on particle system name
2019-06-14Fix T65632: Connected Proportional Editing is affected by Curve Object's ↵Sebastian Parborg
Local Scale Make curve vertex distance take into account the object scale.
2019-06-13Particle system: Move runtime data to runtime fieldSergey Sharybin
Allows it to be preserved during copy-on-write update when on-geometry related update is needed. This is a required part for T63537, where we need to preserve the entire evaluation data when object is tagged for only RECALC_COPY_ON_WRITE. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5023
2019-06-07Remove Deform Delay armature optionSergey Sharybin
This option can not be supported by a new granular dependency graph, and, especially, copy-on-write. It was always doing full update ever since initial commit of new dependency graph which we are using here in the studio for the past years and lack of this option was never brought up. Fixes T65557: Delay refresh option in armatures is broken
2019-06-06Fix T64533: Using "X-Axis Mirror" while posing with auto keyframe on does ↵Sebastian Parborg
not keyframe the mirrored bone Use an additional pose bone flag so we can keep track of mirrored bones that should be autokeyframed. Reviewed By: Brecht Differential Revision: https://developer.blender.org/D5033
2019-06-05Fix T63384: Vertices are moving in different directionsSergey Sharybin
2019-05-28Depsgraph: Add query for whether graph is up to dateSergey Sharybin
Depsgraph: Only invoke callbacks when there are changes Only affects when an evaluated dependency graph is requested via context. Makes it cheap to call when there are no changes made to the graph Transform: Ensure depsgraph is evaluated when needed Fix based on D4455 from Campbell, utilizes some recently introduced functions and allows to not have any extra checks in the transform code. Fixes T61904 Fixes T62135 Reviewers: brecht Maniphest Tasks: T62135, T61904 Differential Revision: https://developer.blender.org/D4967
2019-05-09Move out pose edit options into the pose dataSebastian Parborg
Move pose edit mode booleans out of the armature data into the pose data Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4832
2019-05-07Cleanup: improve transform data sorting functionCampbell Barton
Replace comments on caller with more meaningful name.
2019-05-07Fix T64130: Bezier curve vanishes on transformCampbell Barton
2019-05-07Clanup: clang-formatCampbell Barton
2019-05-06Implement mirroring in pose mode (absolute and relative)Sebastian Parborg
Added working X-mirroring in pose mode with an optional relative mirror mode. Reviewed By: Campbell Barton Differential Revision: http://developer.blender.org/D4765
2019-05-01Cleanup: use BKE_pchan_mat3_to_rot / rot_to_mat3 utility functionsCampbell Barton
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
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-24Fix T63841: armature with X-axis mirror does not mirror bbone scalePhilipp Oeser
Reviewers: brecht Maniphest Tasks: T63841 Differential Revision: https://developer.blender.org/D4733
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-20Cleanup: add missing macros to clang-formatCampbell Barton
2019-04-20Cleanup: quiet warning for NULL pointer useCampbell Barton
Warning was false positive but avoid repeating the same check.
2019-04-18Fix T63663: Object mode proportional editing affects objects which are ↵Sebastian Parborg
disabled for selection Objects which are not selectable are no longer affected by proportional transformations.
2019-04-17Cleanup: comment length in transformCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton