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
2020-03-30Extrude Repeat: support storing the offset vectorCampbell Barton
Without this, adjusting properties always re-initialized from the view-vector.
2020-03-30Fix extrude repeat leaving selection history unselectedCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-01-07Edit Mesh: pass in Mesh instead of BMEditMesh to EDBM_update_genericCampbell Barton
This avoids a list lookup in Main (recently added), passing in a mesh instead of an edit-mesh, since the mesh links to the edit-mesh.
2020-01-07BMesh: remove BMEditMesh.ob use for vert coord access, projectionCampbell Barton
2019-09-10Sculpt: Mask Extract operatorPablo Dobarro
This operator extracts the paint mask to a new mesh object. It can extract the paint mask creating a boundary loop in the geometry, making it ready for adding a subdivision surface modifier. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5384
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-05-08Fix T64283: Gizmo doesn't update after click-extrudeCampbell Barton
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-22Cleanup: style, use braces for editorsCampbell 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-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
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-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-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.
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-21Cleanup: move extrude gizmo to transform moduleCampbell Barton
Since this is no longer mesh only, move out of mesh, rename next.
2018-10-03Extrude: add normal flip to mesh.extrude_contextCampbell Barton
Was giving errors on each access.
2018-10-02Cleanup: split extrude gizmo into own fileCampbell Barton
2018-09-25Merge branch 'master' into blender2.8Campbell Barton
2018-09-25BMesh: option to flip normals for extrude/spinCampbell Barton
2018-09-18Gizmo: de-duplicate poll logicCampbell Barton
Checking the active tool or operator was a common way to check if the gizmo was still in use.
2018-09-17Cleanup: rename gizmo group dataCampbell Barton
Abbreviate to 'ggd', replacing manipulator reference.
2018-09-08Fix extrude gizmo redo after selection glitchCampbell Barton
It was possible to adjust extrusion after selection.
2018-09-08Correct last commitCampbell Barton
2018-09-08Gizmo: fix extrude depth orderingCampbell Barton
2018-09-08UI: make extrude gizmo similar size to transformCampbell Barton
2018-09-06UI: rename Translate/Grab to Move in UI, shortcuts stay the same.Brecht Van Lommel
2018-08-22Merge branch 'master' into blender2.8Campbell Barton
2018-08-22Cleanup: use EDBM prefixCampbell Barton
2018-08-22Cleanup: styleCampbell Barton
2018-08-21Multi-Objects: MESH_OT_dupli_extrude_cursorDalai Felinto
Supporting the ctrl+click operator for multiple objects. When no vertex is selected we only add a new vertex for the active object. I'm using all the selected vertices to calculate the center of transformation regardless of the object they come from. This way we have the same effect if the meshes are joined together or kept as individual objects. Thanks Campbell Barton for reviewing the patch.
2018-07-31Cleanup: use static variablesCampbell Barton
2018-07-15Cleanup: use variable names based on term gizmoCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-15WM: rename files, manipulator -> gizmoCampbell Barton
Edit doxy files and header guards only.
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-05-18Tool System: store the active tool in ScrAreaCampbell Barton
Without this we need to have the context to get the (space_type, mode) args for an active tool lookup. For event handling & poll its more convenient to have direct access.
2018-05-17Tool System: use context modeCampbell Barton
Was using object mode in the workspace API which isn't useful for accessing tools.
2018-05-17Tool System: per space/mode tool supportCampbell Barton
This patch adds support for: - Per space-type tools (3D view and edit). - Per mode tools (object, edit, weight-paint .. etc). The top-bar shows the last activated tools options, this is a design issue with using a global topbar to show per-space settings. See D3395
2018-05-15EditMesh: updated extrude manipulatorCampbell Barton
Now plus icons are used to add, arrows are used to adjust existing extrusions.
2018-05-14Fix extrude adjustment on normal axisCampbell Barton
2018-05-14Fix extrude manipulator update w/ view orientationCampbell Barton
2018-05-13EditMesh: show XYZ axis for extrudeCampbell Barton
Always show normal axis since this is the most used, even when another orientation is selected.
2018-05-08Extrude Widget: with/without axis constraintCampbell Barton
2018-05-08Extrude Widget: tweak draw styleCampbell Barton
Use filled circle for redo
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