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-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-05Cleanup: minor adjustment to gizmo extrude setupCampbell Barton
No need to access both edit & active object.
2019-03-04GPencil: New extrude operatorAntonioya
Keymap: E - Extrude Gizmo supported. If the extrude points are the first or last of the stroke, the stroke is extended. If the extrude points are in the middle of the stroke, a new stroke is created because the grease pencil strokes can be only with 2 extremes and fold the stroke to get a new point gets very bad results. Still pending define a new icon. Also, it could be good to set by default XYZ axis in the gizmo. Note: There is a change in the transform_gizmo_extrude_3d.c gizmo for OB_MODE_EDIT_GPENCIL. This change must be undo when the mode will be integrated into OB_MODE_EDIT, but while we have both modes, we need to keep this code in order to keep running the gizmo.
2019-03-03DNA: rename BezTriple alfa to tiltCampbell Barton
2019-03-01Fix T62015: Duplicating object, rotating, pivot point not usedSergey Sharybin
Was caused by another fix in the area, and root to the wrong though that transformation is only initialized from a fully evaluated dependency graph. The latter one is not a case when changing transformation mode. Solved by copying transform to an evaluated object.
2019-03-01Fix flag on wrong object being modifiedSergey Sharybin
The intention was to disable constraints prior evaluation of the object. Spotted by Campbell, thanks!
2019-03-01Fix T62068: rotation incorrectly re-uses axisCampbell Barton
Regression in recent transform changes.
2019-03-01RNA: move cursor into own structCampbell Barton
Without this it's impractical to subscribe to any change to the cursor. Fixes T61969 by having gizmos update on any change to the cursor.
2019-03-01Comments: add comments for new transform struct members.Campbell Barton
2019-03-01Cleanup: minor improvements to transform comments.Campbell Barton
2019-02-28Fix missing NULL check in recent transform changesCampbell Barton
Caused bevel to crash.
2019-02-27Fix T62007: Dial 3d being drawn out of rotating tool.mano-wii
It was being drawn when any Gizmo was highlighted. There are several ways to solve this (creating a new parameter to the operator, checking the gizmos in the invoke or creating a global context). Also, for a micro-optimization, all of those conditions in the `drawDial3d` could be done once in the invoke. But since all of these changes involve changing the customdata (`TransInfo`), which is already a bit confusing with so many members, I thought it best to make minimal changes.
2019-02-27Transform: fix redo rotate adjusting orientationCampbell Barton
Regression in recent update. Also de-duplicate orientation matrix initialization.
2019-02-27Cleanup: remove redundant property assignmentCampbell Barton
Also cleanup comments
2019-02-27Transform: shear redo support for other orientationsCampbell Barton
Shear gizmo now uses a single orientation and sets different ortho axis instead of constructing a different matrix for each handle - allowing the redo panel to select orientations.
2019-02-27Fix T61945: Scaling with invalid snap distancesSebastian Parborg
ApplySnapResize did not take into account invalid distances. Added check for this. Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D4417
2019-02-27Transform: refactor orientation naming and usasgeCampbell Barton
Transform orientation was previously related to constraints, recent changes meant it was used even when not constraining to an axis. Now transform orientation is separate from axis constraints.
2019-02-27Correct error in recent transform refactorCampbell Barton
2019-02-26Missed last commitCampbell Barton
2019-02-26Transform: fix rotate redo behaviorCampbell Barton
- Add XYZ option. - Orientation now works as expected. Now a redo for rotation works logically, setting the axis to Z & the orientation to view. Resolves T57205
2019-02-26Transform: don't set the user constraint when it's not setCampbell Barton
The orientation for the redo panel would be set even when not used, add an 'unset' orientation which defaults to global.
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-25Fix transform scale header printingCampbell Barton
Clearing constrained axes caused the scale not to print correctly.
2019-02-253D View: support for editing cursor rotationCampbell Barton
Add buttons for editing the cursor rotation as well as rotation modes, similar to object and pose bones.
2019-02-22Transform: redo resize now constrains axis valuesCampbell Barton
Before 1bfbfa281046b this wasn't essential because the constraints prevented the axes from being applied. Now redo ignores constraints - the input values must be constrained.
2019-02-21Fix for Fix (c) T61787: Duplicating a collection instance does not duplicate ↵Bastien Montagne
the dupli_group. Wrong logic in bitflags handling in own previous commit...
2019-02-21Fix T61787: Duplicating a collection instance does not duplicate the ↵Bastien Montagne
dupli_group. Transfomr init code called just after duplication (presumably before regular depsgraph update is executed) would erase new objects' transflags. This is more like a hack than a real fix, but since that transform piece of code is already a hack... Other solution would have been to force DEG to run after object duplication, think it's better to go with that solution for now. Not to mention to fact that dupli flags are put into transflag... ;)
2019-02-21Cleanup: typos in comments.Bastien Montagne
2019-02-21Transform: remove constraints from the redo panelCampbell Barton
Constraint options had confusing behavior: - When non were pressed, the orientation was ignored. - When any were pressed, the orientation was used, but only unconstrained axed could be adjusted. Now constraining is only used for modal execution so there is no need to show these in the interface. When an orientation is selected, the XYZ values always transform using that space. Note, transform system should be refactored to support different orientations w/o having to use constraints. Addresses T57204
2019-02-21Fix redo regression w/ transform constraintsCampbell Barton
Adjusting a constrained transform would always use global space.
2019-02-21Fix transform reading all ob-data as a meshCampbell Barton
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-19Fix T57583: Assert when moving object parented to curve vertexSergey Sharybin
Can not reliably evaluate object's transform from the original one. Still not ideal, see the comment in the code.
2019-02-18Fix T61649: Transform resize from UV editor assertsCampbell Barton
Change logic for error checking so it's easier to follow.
2019-02-18DNA: rename Object.size -> scaleCampbell Barton
Resolves a common cause of confusion.
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-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-16Cleanup: rename SPACE_IPO -> SPACE_GRAPHCampbell Barton
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-16DNA: rename SpaceIpo -> SpaceGraphCampbell Barton
2019-02-14Fix T61536: can't snap vertex to another vertex in edit mode using curvesSebastian Parborg
Previously, the curve self snapping would only snap to points that were earlier in the curve structure. This was because of a simple coding snafu of using break when meaning to use continue.
2019-02-12Fix T51771: UI Messages: Reserve 'Normal' to its geometric meaning.Bastien Montagne
Using 'Regular' instead for the common meaning, this avoids having to add some i18n context disambiguation...
2019-02-11Cleanup: commentsCampbell Barton
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-08Cleanup: rename V3D_MANIP_* -> V3D_ORIENT_*Campbell Barton
Wasn't obvious it's related to orientation, also term manipulator is no longer in use.
2019-02-08Fix T61291: Transform gizmo doesn't update w/ 3D cursorCampbell Barton
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-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.