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-09-21Select Similar: Skip hidden elementsDalai Felinto
2018-09-21Multi-Objects: Select similar edge SIMEDGE_SEAM/SIMEDGE_SHARPDalai Felinto
I'm not sure why we may want to sample both a sharp and an unsharp edges at the same time, maybe to see if the selected edges all have the same values? Either way, implemented as in 2.79. I also believe we may have a faster way to select all the edges, but let's file this under optimizations to be done later.
2018-09-21Fix part of T56865: wrong center with orbit around selection in weight paint.Brecht Van Lommel
2018-09-21MESH_OT_select_similar: CleanupDalai Felinto
2018-09-21Multi-objects: Select similar edge SIMEDGE_FACE_ANGLEDalai Felinto
I'm not sure why the original implementation was only checking for equal comparison but I'm doing the same here. It is a one line change if we want to support LT/GT anyways. Also "technically" we should compare the angles in the worldspace, since different scales will result in different angles. Added as a TODO but honestly I think this is overkill.
2018-09-21Rename bm_sel_similar_cmp_short > select_similar_compare_LONGDalai Felinto
2018-09-21Multi-objects: Select similar edge SIMEDGE_LENGTHDalai Felinto
I'm using kdtree here but there is nothing preventing us from using a simple float linked list with a sorting and finding "nearest" equivalents. At least we are benefitting from bisecting as oppose to the original solution. Also we need epsilon for the float comparisons.
2018-09-21Multi-objects: Select similar edge SIMEDGE_DIRDalai Felinto
2018-09-21Multi-objects: Select similar edge SIMEDGE_FACEDalai Felinto
2018-09-21Select similar edge: Granular error messageDalai Felinto
This way we can implement them onw by one
2018-09-21Viewport: change Z key to shading pie menu to switch mode, X-ray and overlays.Brecht Van Lommel
This lets us do the most common shading switching with one shortcut. We keep alt+Z and shift+Z for quickly toggling to lookdev and rendered mode and back, it's debatable which settings deserve a dedicated shortcut like this. The downside is that switching X-ray is a little slower, and that there is some risk of accidentally going to lookdev or rendered mode which can be slow to cancel.
2018-09-21Edit Mode: Merge Xray and "Limit selection to visible" options behaviourClément Foucault
We now treat Xray as being the mode where Limit selection to visible is off. If Xray is OFF, Limit selection to visible is considered ON. To allow 'see through wires' with solid shading (not Xray shading) we still draw solid shading if Xray is ON with Xray Alpha set to 1.0.
2018-09-21Gizmo: spin tool XYZ axis togglesCampbell Barton
New handle type for initial spin, gives clear differentiation between do & redo (similar to extrude). Some tweaks still required to match T56571.
2018-09-21Gizmo: enable spin tool redo gizmos againCampbell Barton
- Add x,y rotate and translate controls. - Remove x-depth adjustment.
2018-09-21Gizmo: fix incorrect dial clip scalingCampbell Barton
Failed with obvious error when the dials scale wasn't 1.0
2018-09-21Cleanup: styleCampbell Barton
2018-09-20Texture Paint: unify missing data and slots panels, better auto position nodes.Sebastian Parborg
Differential Revision: https://developer.blender.org/D3694
2018-09-20UI: add support for defining any icon as a mono icon.Brecht Van Lommel
Previously it was hardcoded to one row. These icons are colored with the text color. Changes include some refactoring.
2018-09-20UI: default to single icon column toolbar in new 3D views.Brecht Van Lommel
2018-09-20Fix build for MSVC: Remove trailing double semicolonDalai Felinto
Not sure why but MSVC is complaining for some of those. In particular for the struct in BKE_subdiv_ccg.h. Those were the ones crashing here..
2018-09-20Sculpt: Fix undo not working for multiresSergey Sharybin
2018-09-20Merge branch 'master' into blender2.8Sergey Sharybin
2018-09-20Sculpt: Fix memory leak in undo systemSergey Sharybin
Was not freeing undo nodes themselves.
2018-09-20GP: Fix problem with mode opening 2D Animation templateAntonioya
The grease pencil does not need a toggle of mode. This fix also the problem when open grease pencil files that did not keep the mode saved.
2018-09-20GP: Fix Alt+S problem with multiframe editionAntonioya
The stroke must not be recalc, because the number of points does not change,so the triangulation of fill is the same.
2018-09-20GP: Add keymap 1 and 2 for select modeAntonioya
2018-09-20GP: New select modeAntonioya
Now it's possible select points or strokes
2018-09-20Put the Radius property of Curve points under shape key control.Alexander Gavrilov
Since shape keys are stored as raw floating point data, this unfortunately requires changes to all code that works with it. An additional complication is that bezier and nurbs control points have different entry size, and can be mixed in the same object (and hence shape key buffer). Shape key entries are changed from: bezier: float v1[3], v2[3], v3[3], tilt, pad, pad; nurbs: float vec[3], tilt; To: bezier: float v1[3], v2[3], v3[3], tilt, radius, pad; nurbs: float vec[3], tilt, radius, pad; The official shape key element size is changed to 3 floats, with 4 elements for bezier nodes, and 2 for nurbs. This also means that the element count is not equal to the vertex count anymore. While searching for all curve Shape Key code, I also found that BKE_curve_transform_ex and BKE_curve_translate were broken. This can be seen by trying to change the Origin of a Curve with keys. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D3676
2018-09-20Gizmo: hide redo gizmo when any operator runsCampbell Barton
2018-09-20Cleanup: use win_to_3d_on_plane functionCampbell Barton
2018-09-20Merge branch 'master' into blender2.8Campbell Barton
2018-09-20Cleanup: use win_to_3d_on_plane for curve drawingCampbell Barton
2018-09-203D View: add clip argument to win_to_3d_on_planeCampbell Barton
2018-09-20Gizmo: use simple unclipped win_to_ray functionCampbell Barton
When projecting the cursor onto a plane, clipping isn't important.
2018-09-20Merge branch 'master' into blender2.8Campbell Barton
2018-09-20Cleanup: renaming missed from mergeCampbell Barton
2018-09-203D View: add a simple un-clipped win_to_rayCampbell Barton
2018-09-20Merge branch 'master' into blender2.8Campbell Barton
2018-09-20Cleanup: rename 3D view ray calculation functionsCampbell Barton
Using near far and optionally clipping planes is involved and not needed in many cases. Rename so a simpler version of this function can be added.
2018-09-20Gizmo: use ED_view3d_win_to_3d_on_planeCampbell Barton
2018-09-20Merge branch 'master' into blender2.8Campbell Barton
2018-09-203D View: point-on-plane from screen location utilityCampbell Barton
2018-09-20Fix spin/rotate gizmo not updating view orientationCampbell Barton
Check for navigation didn't refresh when navigation was completed.
2018-09-19Cleanup: Remove some DerivedMesh wrappers for modifiersJacques Lucke
Specifically the deformVerts_DM, deformMatrices_DM, deformVertsEM_DM and deformMatricesEM_DM functions are not used anymore. Reviewer: brecht
2018-09-19GP: Fix copy frame error in dopesheetAntonioya
2018-09-19Fix T56697: missing viewport update after keyframe edits in animation editors.Brecht Van Lommel
It was updating during transform, but not a final time after keyframes get reordered or merged.
2018-09-19EditMesh: show the spin arc as a thin ribbonCampbell Barton
Closer to the design from T54661
2018-09-19Gizmo: tweaks to dial drawingCampbell Barton
- Add Arc-Inner-Factor, to increase the inner arc radius from 0 (show as a disk). - When showing an angle value, show the angle-end line thicker (since thats whats being adjusted). - Remove offset used by arc drawing which caused aliasing artifacts.
2018-09-19Gizmo: exclude arc from selectionCampbell Barton
Also disable polygon smooth before drawing arc.
2018-09-19EditMesh: orient spin arc to follow the cursorCampbell Barton