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
2016-06-22Cleanup: styleCampbell Barton
2016-06-21Fix T48697: Brush curve-stroke snaps strangelyCampbell Barton
Support Snapping screen-space 2d curves, (was applying world-space coords in screen-space). Also show snap settings in header.
2016-06-18Cleanup: style, whitespace, doxy filepathsCampbell Barton
2016-06-14Correct update issue caused by recent commitCampbell Barton
VSE effects within a meta-strip could fail to update on cancel.
2016-06-14Fix VSE updating effects within metasCampbell Barton
Missing update caused internal lengths to be wrong.
2016-06-14Fix T48649: VSE meta-strip overlap shuffles recursivelyCampbell Barton
2016-06-14Correct sequencer transform checkCampbell Barton
Check to avoid operating on same strip multiple times wasn't working. Harmless but better make it functional.
2016-06-13Made incremental snapping intervalls smaller for UV editorPhil Gosch
Before the intervall was set to 0.125 which effectively resulted in 8 positions across the UV space (per axis). I halved that value, holding shift enables an even finer movement. This change was ported over from my soc-2016-uv_tools branch after talking with howardt, ideasman42 and hackerman-
2016-06-13Fix T48616: Auto-merge selects extra edgesCampbell Barton
Auto-merge caused all edges between selected vertices to be selected. This only makes sense in vertex-select-mode. Correct edge-flag merging code, which now merges flags from multiple edges.
2016-06-12bmesh py api: expose BM_face_calc_tangent_*Campbell Barton
D1988 by @wisaac, with own edits and improvements. This improves on existing tangent calculation functions too. - BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python). - BM_face_calc_tangent_edge: from longest edge. - BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads). - BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex. - BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex. Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
2016-06-08Cleanup: typoCampbell Barton
2016-06-08Cleanup: typosCampbell Barton
2016-06-03Cleanup & simplify snapping functionsGermano Cavalcante
- the name of the enumerator `SNAP_NOT_OBEDIT` was changed to `SNAP_NOT_ACTIVE`. - the parameter `snap_to_flag` was moved to outside `SnapObjectParams`. - the member `use_object_edit` was renamed to `use_object_edit_cage`. - added the arg `params` in `ED_transform_snap_object_project_ray`. - simplifications in the loop of the function `snapObjectsRay`.
2016-06-03Fix possible uninitialized variable in snappingGermano Cavalcante
Introduced in 0b5a0d84, thanks to Brecht for spotting.
2016-05-31Fix T48554: Absolute grid snap fails w/ cursor pivotCampbell Barton
Use center of selection when using absolute grid snapping and cursor pivot.
2016-05-17C99/C++11: replace deprecated finite() by isfinite().Brecht Van Lommel
2016-05-14Fix T48426: Use same length for all header message strings.Bastien Montagne
Some languages like Chinese or Japanese take three or four bytes per char... Also fixed some missing translation markers for UI header messages.
2016-05-11error in last commitCampbell Barton
2016-05-11Correct check for tree being in BVH cacheCampbell Barton
2016-05-11Fix crash snapping to mesh with no geometryCampbell Barton
2016-05-11Transform Volume rewrite/refactorGermano Cavalcante
Take advantage of the efficiency provided by the snap_context. Also fixes errors: - volume snap fails based on view angle (T48394). - multiple instances of dupli-objects break volume calculation.
2016-05-11BLI_kdopbvh: Use distance for BLI_bvhtree_ray_cast_allCampbell Barton
Pass distance argument so its possible to limit the range we get all hits from. Other changes: - Use boundbox test before calling callback, avoids redundant calls. - Remove meaningless return value. - Add doc string, explaining purpose of this function.
2016-05-10Correct armature-sketch snap context useCampbell Barton
Use scene snap mode. Also allow passing NULL ray-depth which falls back to BVH_RAYCAST_DIST_MAX.
2016-05-09Depsgraph: Avoid unneeded relations update when canceling transformSergey Sharybin
This was originally done for T46320 in order to re-store depsgraph state after all the constraint modifications. However, it relations were updated if there's any IK chain the the pose, which is a bit too annoying.
2016-05-09Fix error in recent snap refactorGermano Cavalcante
Crash in edge snapping
2016-05-09Fix crash introduced w/ snap refactorCampbell Barton
Create snapping context when in the 3d view, transforming pose bones and grease-pencil crashed.
2016-05-08D1705: Fix Grease Pencil Fill for Concave ShapesAntonio Vazquez
Improve filling for concave shapes using a triangulation of the stroke. The triangulation information is saved in an internal cache and only is recalculated if the stroke changes. The triangulation is not saved in .blend file. Reviewers: aligorith Maniphest Tasks: T47102 Differential Revision: https://developer.blender.org/D1705
2016-05-06Fix recent issue in recent BVH snap/cacheCampbell Barton
The derivedMesh could free a tree stored by the cache. Now check the cached tree is valid.
2016-05-06Correct snap checks for edges & facesCampbell Barton
Snap targets can't contain vertices which are being transformed
2016-05-05Don't overwrite existing snap contextCampbell Barton
Re-activating transform would overwrite previous context, leaking memory.
2016-05-05Cleanup: styleCampbell Barton
2016-05-05Fix error not using the cached BVH treeCampbell Barton
2016-05-05Transform/Snap: EditMesh/BKE_bvhutils API improvementsGermano Cavalcante
Separate the creation of trees from EditMesh from the creation of trees from DerivedMesh. This was meant to simplify the API, but didn't work out so well. `bvhtree_from_mesh_*` actually is working as `bvhtree_from_derivedmesh_*`. This is inconsistent with the trees created from EditMesh. Since for create them does not use the DerivedMesh. In such cases the dm is being used only to cache the tree in the struct DerivedMesh. What is immediately released once bvhtree is being used in functions that change(tag) the DM cleaning the cache. - Use a filter function so users of SnapObjectContext can define how edit-mesh elements are handled. - Remove em_evil. - bvhtree of EditMesh is now really cached in the snap functions. - Code becomes organized and easier to maintain. This is an important patch for future improvements in snapping functions.
2016-04-27Fix compiler warning on OS X / clang.Brecht Van Lommel
2016-04-27Cleanup: use const, duplicate headerCampbell Barton
2016-04-26Correct error in recent snap-context commitCampbell Barton
Edges currently don't use a BVH-tree, but would still create and attempt to free the tree.
2016-04-22Transform Snap: optionally cache the BVH treeCampbell Barton
Use the SnapObjectContext to store the bvh tree for reuse.
2016-04-22Transform Snap: initial snap context refactorCampbell Barton
This introduces a snap-context that can be re-used for casting rays into the scene (by operators such as walk-mode, ruler and transform code). This can be used to cache data between calls too.
2016-04-04Fix uninitialized variable use w/ VSE transformCampbell Barton
2016-03-29Fix transform center2d for 2d viewsCampbell Barton
While this didn't show up as a bug, the center2d was being calculated with a zero aspect, causing TransInfo.center2d to be NAN.
2016-03-24Fix T47838: Walk gravity fails w/ intersecting objectsCampbell Barton
Regression in 3ad0344, fix from @mano-wii. More comprehensive fix can be done after 2.77a.
2016-03-23Fix T47833: View-aligned GPencil strokes move in crazyspace when grabbedJoshua Leung
These fixes "seem" to do the right thing now...
2016-03-13Keyframing: Added ToolSetting for choosing default keyframe typeJoshua Leung
To make it easier for animators working in a multipass pose-to-pose workflow when inserting breakdown keyframes and so forth, it is now possible to specify the "type" of keyframe being created (i.e. the colour of the keyframe, when drawn in the Dope Sheet). Usage: 1) Choose the type of keyframe ("Keyframe", "Breakdown", "Extreme", etc.) from the new dropdown located between the AutoKeying and KeyingSet widgets on the timeline header. 2) Insert keyframes 3) Rejoyce that your newly created keyframes have now been coloured for you already in the DopeSheet. Todo: * Look into a way of using the actual keyframe colours (from the theme) for the icons of these types.
2016-03-09Fix minor glitch w/ edit-bone centerCampbell Barton
Don't include the same point multiple times when calculating center with connected bones.
2016-02-10Fix T47382: incorrect tooltip for mirror tool in object mode.Brecht Van Lommel
2016-02-10Cleanup: remove unused radius argumentCampbell Barton
2016-02-10Fix manipulator drawing width controlled by gpencil thickness!1!!Julian Eisel
2016-02-09Fix: Transform constraint/helper line drawing had incorrect thickness when ↵Joshua Leung
GPencil strokes are shown
2016-02-09Fix T47367: Segfault in BIF_draw_manipulator() with "around active" and the ↵Joshua Leung
active object hidden Accidentally left off null check when cleaning up the code there in 34993bf97dcbfd29289d14228ac10f1cfa206a15 (GPencil_Editing_Stage3 branch) Thanks to Sami Pelkonen (pltsi) who reported this bug, along with some nice and detailed backtraces which made it easy to locate the problem :)
2016-02-08GPencil: Layers with alpha = 0 should not be editableJoshua Leung
* Added a new API function to test if a GPencil layer is visible or not * Replaced all editability checks with this new "super check" * Replaced all magic number thresholds for opacity visiblity with a single define