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
2018-05-16Particle System: ported most DerivedMesh → MeshSybren A. Stüvel
There are a few places where DerivedMesh is still used, most notably when calling the (not yet ported) cloth simulation. There is also still the use of Object.derivedDeform and Object.derivedFinal. Those places are marked with a TODO. Some functions in the editors module were copied to accept Mesh. Those already had 'mesh' in the name; the copies are suffixed with '__real_mesh' for easy renaming later when the DM-based functionality is removed.
2018-05-16fix build error in last commit.Germano
2018-05-16Snap system: Adds support to Clip Planes and uses a clip plane to simulate ↵Germano
occlusion This patch adds support for clip_planes (ie ignore what is behind a face)... The idea is to first execute a raycast to get the polygon to which the mouse cursor points. Then a snap test is done on the vertices or edges of the polygon. Then with the normal and location obtained in raycast a new clip_plane is created and the snap over the whole scene is processed ignoring the elements behind the clip_plane. Here 2 gif of how the previous patch would work on blender2.79: {F497176} {F497177} Reviewers: mont29, campbellbarton Reviewed By: campbellbarton Subscribers: bliblubli Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2527
2018-05-15Transform: Snap: Make sure if bmesh arrays need to be recalculated.Germano
2018-05-15Scene raycast: The return index should indicate the polygon instead of the ↵Germano
looptri. This was the default behavior and could break some addon since looptri is almost useless for the current python API.
2018-05-15Revert "BLI_kdopbvh: Reference clip_planes callback to find nearest projected."Germano
This reverts commit 717dd4cecd2ea8eaa7b3bbfb5a5c7ec65f0337c0. It was causing problems in the protactor ruler. I'll think of a better solution.
2018-05-15Cleanup: pass the use_depth parameter to the `SnapObjectParams` struct in ↵Germano
the ED_transform_snap_object_project_view3d_mixed.
2018-05-15BLI_kdopbvh: Reference clip_planes callback to find nearest projected.Germano
Clip_planes are an important parameter to be used in callbacks.
2018-05-15Cleanup: Pass `Snap Object Params * params` to` iter_snap_objects`.Germano
And remove unnecessary `defaulf:` labels.
2018-05-15Fix broken PoseMode editing when CoW is enabled.Bastien Montagne
We need to get data from evaluated object/posechannel too, then...
2018-05-15Fix bone-size crashCampbell Barton
Own regression from multi-object transform.
2018-05-15Fix texture space transform crashCampbell Barton
Own regression from multi-object transform.
2018-05-15Cleanup: Use switch statement to test the object type in snap functions.Germano
2018-05-15Cleanup: compiler warnings, use constCampbell Barton
2018-05-14Transform: Use the new BLI_bvhtree_find_nearest_projected function to snap.Germano
2018-05-13Transform: fix regression in bound-box calculationCampbell Barton
Error in multi-object merge.
2018-05-13Merge branch 'master' into blender2.8Campbell Barton
2018-05-13Cleanup: trailing spaceCampbell Barton
2018-05-13Fix 3D view axis align flagCampbell Barton
Missed from recent pivot-point move to scene.
2018-05-13Cleanup: Remove unused member.Germano
2018-05-13transform_snap_object: perf: Check the distance of the bound_box of objects ↵Germano
of type armature and curve first. And remove unused variables.
2018-05-13Cleanup: transform_snap_object: Remove unused variables and reuse the ↵Germano
precalc used to test the distance to the projected bound_box.
2018-05-12UI: move pivot to the topbarCampbell Barton
Pivot variables are now stored in scene toolsettings.
2018-05-12Fix missing fallback in recent aabb precalc funcCampbell Barton
Also comment unused vars
2018-05-12Refactor: Move functions to get the distance to a projected aabb to ↵Germano
BLI_match and remove confusing parameters.
2018-05-10Cleanup: warningsCampbell Barton
2018-05-10Transform: Make snapDerivedMesh use bvhtrees from loose edges and bvhtrees ↵Germano
from loose verts. Bvhtrees take up a lot of memory space, reusing the common bvhtree of looptris to snap to vertices and edges is a good way to save memory. Unfortunately we have a worsening performance in the snapping operation around 63% (addition to the original time). But as we often do not need to build a bvhtree of loose verts and loose edges, we have an improvement in cache time :) Since the CPU time of snapping operations (no matter how higth poly the object is) corresponds to less than 0.01% of all CPU time of a blender frame, that change is not really significant. Snapping operations on a mesh in edit mode have not changed significantly. Signed-off-by: Germano <germano.costa@ig.com.br>
2018-05-103D View: utility to get matrix from cursorCampbell Barton
2018-05-09Fix crash moving grease pencil framesCampbell Barton
2018-05-09ED_transform: Port ED_transform_snap_object to new Mesh-based system.Germano
Differential Revision: https://developer.blender.org/D2896
2018-05-08Extrude Widget: with/without axis constraintCampbell Barton
2018-05-08Cleanup: whitespace, duplicate includesCampbell Barton
2018-05-08Orientation for 3D cursorCampbell Barton
Currently set when setting the cursor location, optionally used as an orientation type. Intended for use by tools too. See: D3208
2018-05-07Extrude Widget: Add orientation to topbarCampbell Barton
Add extrude operator that's intended to work on the current selection and be activated as a tool.
2018-05-07Extrude Widget: orient correctly w/ rotated objectCampbell Barton
2018-05-06Fix update for manipulator w/ 3D cursor changeCampbell Barton
2018-05-06Cleanup: transform manipulator filenameCampbell Barton
Use matching 2d/3d suffix.
2018-05-06Merge branch 'master' into blender2.8Campbell Barton
2018-05-06Object Snap: add object & matrix to view ray castCampbell Barton
Some snap functions already exposed this.
2018-05-06Fix extrude glitch where undo state was visibleCampbell Barton
2018-05-06Transform: support initial offset optionCampbell Barton
Needed to redo extrude+transform macro w/o resetting the translation.
2018-05-04Transform: use bool when local matrix is neededCampbell Barton
Existing code checked pose/edit mode to check for transforming in an objects local space. This added many similar checks all over the code, which leads to confusion. Multi-edit caused a regression in UV transform since where UV's had the object matrix applied by accident. Now there is a boolean to use a local matrix, this allows for any mode to have a 4x4 matrix applied w/o adding mode specific checks everywhere.
2018-05-04Fix mistake in boundbox centerCampbell Barton
2018-05-03Merge branch 'master' into blender2.8Germano
2018-05-03BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.Germano
This will allow greater control of the bvhtrees that are obtained, and helps identify problems. It is also an additional step to unify the functions.
2018-05-03Cleanup: fix warnings, removed unused code.Brecht Van Lommel
2018-05-03Fix pose transformation helper linesDalai Felinto
This was broken since 33bb8b785a9 (triple-buffer changes). This also helps help lines as a whole.
2018-05-03Cleanup: remove axis bounds ifdefCampbell Barton
This was added for scale-cage manipulator, but seems generally useful.
2018-05-03Transform: expose 3D center/axis calculationCampbell Barton
This is needed for other manipulator placement.
2018-05-02Merge branch 'master' into blender2.8Campbell Barton