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-04-21Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-19T63644: Editing while parented is not rotating correctlyAntonioya
This commit tries to fix the rotation problem when the parent is at layer level. The problem was the object location was not used, so all object not in origin got weird transformations.
2019-04-18GPencil: Add option to mix color with textureAntonioya
This was already supported in Fill, but not in Strokes. This adds more artistic options when use textured strokes.
2019-04-18Fix T63513: Gpencil - Circle guide activation with shortcut "C" is not ↵Charlie Jolly
working properly Only add missing events after first point is added.
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell 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-04-16Cleanup: trailing commasCampbell Barton
2019-04-16GPencil: New Normalize All operatorAntonioya
This operator works similar to mesh operator but for Stroke and Points data. Also minor cleanup in Normalize operator.
2019-04-16GPencil: Add lock icon to Vertex Groups listAntonioya
Also check this flag in operators. Note: This is required for the development of the new Normalize All operator.
2019-04-16GPencil: New Normalize Weights operatorAntonioya
This works similar to mesh operator, but using Stroke and Points data.
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-15GPencil: New Dots gradientAntonioya
This commit adds support for drawing Dots strokes with a gradient factor to get artistic effects like watercolor. Currently, the option is only supported by Dots materials, and in the future will be added to line strokes, but now there is a limitation on drawing engine and we will keep disabled on Line materials. Also, added the option to align Dots and Boxes strokes textures aligned with the drawing path to get more fluid strokes.
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-13Fix T37500: implement Bendy bone segment deformation interpolation.Alexander Gavrilov
Previously B-Bone deformation mapped every vertex to just one B-Bone segment. This results in abrupt transformation differences between the sides of each threshold plane, reducing the quality of B-Bone deformation and making the use of shape keys impractical. This commit replaces this approach with a linear blend between the two closest segment transformations, effectively representing the B-Bone as two weight-blended plain bones for each vertex. In order to distribute the interpolation more evenly along the bone, segment matrices for deformation are now computed at points between the segments and at the ends of the B-Bone. The computation also uses the true tangents of the Bezier curve for the orientation. The nodes at the end of the bone require some special handling to deal with zero-length Bezier handles caused by a zero ease value. The Copy Transforms constraint now also smoothly interpolates rotation and scaling along the bone shape when enabled. The initial version of the patch was submitted by @Sam200. Differential Revision: https://developer.blender.org/D4635
2019-04-11Cleanup: commentsCampbell Barton
2019-04-10Annotations: Make all 2D editors locked to ViewAntonioya
Before, there was a hacky code for Image editor when the image was empty. Now, all 2D editors are locked to view and when you Move or Zoom, the stroke moves. This is a fix of T63402. Still pending if we add more options to 2D editors, but at least now, we have something consistent.
2019-04-10Fix T63455: Legacy GPencil settings in AnnotationsAntonioya
2019-04-10Cleanup: rename old -> versioningCampbell Barton
The term 'old' isn't very meaningful, follow naming for existing code that updates data.
2019-04-10Cleanup: spellingCampbell Barton
2019-04-10Cleanup: style, shadow warningCampbell Barton
2019-04-09Fix T63427: Annotations don'twork with 2.79 settingsAntonioya
The problem was the colors were not converted and the annotation flag was not enabled. Note: For Scene data (View3D) there is a convert operator.
2019-04-09Cleanup: BKE_gpencil namingCampbell Barton
- The ambiguous term 'handle' was used where 'ensure' is typically used (get or add when missing). - Rename `current` to `active`, all `current` functions which were also ensuring. - Clarify what is being operated on, using `BKE_gpencil_object_*` for objects, `BKE_gpencil_brush_*` for brushes.
2019-04-08GPencil: Cleanup unused codeAntonioya
2019-04-05GPencil: Improve drawing feeling in big filesAntonioya
When drawing in big files, the first points of the stroke were not smooth because the system was doing a copy of the depsgraph datablock. Now, the depsgraph is not updated at the beginning and the feeling is far better, especially for big files. To avoid the copy, the original datablock is used while drawing, because it's faster the lookup of the original data, than a full datablock copy. Also some cleanup of the code.
2019-04-04Cleanup: styleCampbell Barton
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-04-01GPencil: Handle vertex groups weights correctlyAntonioya
In extrude operator when the point was added, the weight data pointer was wrongly connected to old pointer. Now, when move the data, the pointer is moved, but when a new point is added, the memory is duplicated to keep separated copies of the pointer. This is related T62872 Thanks to @sergey for his help fixing this bug.
2019-04-01Cleanup: SpellingSergey Sharybin
2019-04-01GPencil: Redesign soft eraser logicAntonioya
The old logic was working if the eraser was moved towards the end of the stroke, but got ugly results when the eraser was done towards the start of the stroke.
2019-04-01GPencil: Remove low limit for soft eraserAntonioya
The low limit was not needed in the loop.
2019-03-30GPencil: Fix segment fault when use F3 search menu.Author Name
Author of the patch: Robert Guetzkow (@rjg)
2019-03-30GPencil: Improve soft eraser for low pressure strokesAntonioya
For very thin strokes with low pressure, the low limit value was too high.
2019-03-29Cleanup: styleCampbell Barton
2019-03-29GPencil: Improve soft eraser for last stroke pointsAntonioya
Now, the last point is managed separately in order to get smoother transition.
2019-03-29GPencil: Cleanup codeAntonioya
Reduce double function calling.
2019-03-28GPencil: Fix error in previous commitAntonioya
2019-03-28Fix T63054: Crash on "Grease Pencil Unlink"Antonioya
This operator was used only by annotations and it was part of the old legacy code. Now, the operator is limited to annotations and cannot be used with grease pencil objects. Also changed the tooltip to clarify it's only for annotations.
2019-03-28Fix T63052: Crash on "Grease Pencil Fill" without Grease Pencil ObjectAntonioya
Changed poll function to verify if the context is valid. Also cleanup return values.
2019-03-27GPencil: Remove legacy `ED_gpencil_draw_view3d` code.mano-wii
Differential Revision: https://developer.blender.org/D4598
2019-03-26Cleanup: styleCampbell Barton
2019-03-26Cleanup: warnings, correct assertCampbell Barton
2019-03-25GPU: State: Replace GL_BLEND by GPU_blendClément Foucault
2019-03-25GPencil: Remove unused varClément Foucault
2019-03-25GPencil: Only brushes with pinned materials have materialsAntonioya
Using GP_BRUSH_MATERIAL_PINNED to switch between active material and brush material, instead of updating all brushes on active material changes. This will allow brushes to have no material and therefore to not inflate the user count. This fix T62465. Patch contributed by @matc Reviewers: @brecht @antoniov @billreynish @mendio
2019-03-24GPU: State: Replace GL_LINE_SMOOTH by GPU_line_smoothClément Foucault
2019-03-19Unify "Hide Selected / Reveal Hidden" operator namesDalai Felinto
All edit mode related operators are now "Hide Selected / Reveal Hidden". Before we had different variatons of them: Hide Selection: * MESH_OT_hide * GPENCIL_OT_selection_opacity_toggle Hide Selected Bones: * ARMATURE_OT_hide Hide: * MBALL_OT_hide_metaelems Hide Selected: * CURVE_OT_hide * PARTICLE_OT_hide * POSE_OT_hide * UV_OT_hide Reveal Bones: * ARMATURE_OT_reveal Reveal: * MBALL_OT_reveal_metaelems Operators not renamed: * Hide Curves (GRAPH_OT_hide) * Hide (OUTLINER_OT_hide) Note we can do a step further and mass rename them to match their UI names. Where Reveal Hidden is Show Hidden. But for now at least they are all unified.
2019-03-19GPencil: Rename annotation functionsAntonioya
The annotation drawing functions were using gpencil prefix and it's better to keep all annotation code separated to avoid confusion.
2019-03-19GPencil: Cleanup unused codeAntonioya