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
2013-11-25Transform: internal changes for orientations calculations.Campbell Barton
- use (const char *) for the 'name' - use bool where possible. - remove unused return value for initTransInfo
2013-11-20Transform: rename Warp to BendCampbell Barton
2013-11-18BMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.Walid Shouman
This adds BM_bmesh_calc_tessellation() so we can get triangles from a bmesh without having to have an editmesh available.
2013-11-06True grid snapping for nodes: This snaps nodes to the actual background grid ↵Lukas Toenne
instead of using incremental offset (which is not useful for nodes). Increment snapping has been disabled for nodes to avoid confusion, grid snap is now the default as it seems to be the most wanted and easy to use mode. Absolute grid snapping happens in a somewhat generic function 'applyGridAbsolute', which could also be used for objects and other transforms later on. It is conceptually similar to the 'project' snapping option, in that it calculates a delta vector for each element on top of the overall transform, which places each node on the grid. Node transform now uses the top-left node corner for TransformData->loc. The transform center is still the average of node centers, so that scaling and rotation works nicely. snapGrid*** functions have been renamed to snapGridIncrement*** to distinguish better between incremental and absolute grid snapping.
2013-11-03code cleanup: warningsCampbell Barton
2013-10-26rename give_cursor to ED_view3d_cursor3d_getCampbell Barton
2013-10-23code cleanup: minor transform refactorCampbell Barton
redraw flag were mixing up types - int/char/bool, add enum type to use instead.
2013-10-23refactor transform.c - minor changesCampbell Barton
- use TREDRAW_HARD define - use apply prefix for transform callbacks. - make callbacks static.
2013-10-13improve warp transform so it can be used as a general bending tool too.Campbell Barton
2013-10-13code cleanup: utility function for getting a bool as a string.Campbell Barton
2013-10-13code cleanup: use more obvious assignments for transform snapping angles.Campbell Barton
2013-10-12transform - use 2d float's for the viewport center (allows for vector math ↵Campbell Barton
functions to be used more easily).
2013-10-04fix [#36947] "Edge Slide" bugs when "Even" is onCampbell Barton
was doing a linear interpolation between points on either side instead of interpolating along the edges.
2013-09-17Fix for #36739: Delete new nodes added via the Add menu or toolbar if the ↵Lukas Toenne
subsequent transform operator is cancelled. This prevents ugly situations where nodes stick "under" the toolbar after clicking a wrong button. Works by adding a flag to transform operators "remove_on_cancel". This is currently only used for node transforms, the idea is that if set, the operator will remove the transformed elements when it is cancelled. It's not possible to do that in the original NODE_OT_add_node operator, because transform is modal and there is no way of reacting to a cancel outside of the transform itself (previous attempt used a macro operator, but that also doesn't work because subsequent operators don't get executed if the previous transform cancels).
2013-09-11Enable transform helpline in clip editorSergey Sharybin
2013-08-31Simplify line/plane intersection, add line_plane_factor_v3().Campbell Barton
Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d().
2013-08-21Fix #36453: scaling faces with individual origins would permanently turn ofBrecht Van Lommel
proportional editing because this combination doesn't work, but it should be only temporary.
2013-08-16Merge plane track feature from tomato branchSergey Sharybin
This commit includes all the changes made for plane tracker in tomato branch. Movie clip editor changes: - Artist might create a plane track out of multiple point tracks which belongs to the same track (minimum amount of point tracks is 4, maximum is not actually limited). When new plane track is added, it's getting "tracked" across all point tracks, which makes it stick to the same plane point tracks belong to. - After plane track was added, it need to be manually adjusted in a way it covers feature one might to mask/replace. General transform tools (G, R, S) or sliding corners with a mouse could be sued for this. Plane corner which corresponds to left bottom image corner has got X/Y axis on it (red is for X axis, green for Y). - Re-adjusting plane corners makes plane to be "re-tracked" for the frames sequence between current frame and next and previous keyframes. - Kayframes might be removed from the plane, using Shit-X (Marker Delete) operator. However, currently manual re-adjustment or "re-track" trigger is needed. Compositor changes: - Added new node called Plane Track Deform. - User selects which plane track to use (for this he need to select movie clip datablock, object and track names). - Node gets an image input, which need to be warped into the plane. - Node outputs: * Input image warped into the plane. * Plane, rasterized to a mask. Masking changes: - Mask points might be parented to a plane track, which makes this point deforming in a way as if it belongs to the tracked plane. Some video tutorials are available: - Coder video: http://www.youtube.com/watch?v=vISEwqNHqe4 - Artist video: https://vimeo.com/71727578 This is mine and Keir's holiday code project :)
2013-08-14fix own error in BM_mesh_calc_edge_groups() was clearning wrong dirty-index ↵Campbell Barton
flag. also remove unused transform defines.
2013-08-07code cleanup: some structs were declaring data when only typedef's were ↵Campbell Barton
intended, make local vars and functions static.
2013-08-04add missing NULL checks from BKE_constraint_get_typeinfo(), so constraints ↵Campbell Barton
from the future dont crash. also remove some redundant NULL checks.
2013-07-24- add individual origin support for curves and improve the orientation ↵Campbell Barton
calculations for curve handles, - add support for using the active point's orientation. - add support for creating new custom orientations from curves. - fix error where only the last selected curve handle was taken into account for manipulator orientations.
2013-07-23code cleanup: remove deprecated bevel code (unused since 2.64)Campbell Barton
2013-07-22old todo, rotate around individual origins now supports connected face/edge ↵Campbell Barton
islands. previously this gave very odd/annoying results, see bug reports [#36134], [#35419]
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-11fix for problem with edge slide where it would stop shapekey modifier from ↵Campbell Barton
being applied (because of added vertices), now, instead of making hidden copies of faces, the faces are copied into a temp bmesh. also remove a hash that was being created and not used (old code).
2013-07-10skip duplicating faces for edge slide unless its used, this causes update ↵Campbell Barton
problems for shape keys at the moment, Ill check on that but no need to run in most cases.
2013-07-07Fix #36038: Auto Keying warning message is clamped in JapaneseSv. Lockal
2013-06-23remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()Campbell Barton
2013-06-20transform: 2d option for proportional editmode,Campbell Barton
Uses for view orientation for distance calculation, can give nicer results when you dont want twisting caused by changes in depth.
2013-06-20remove NULL checks for return values from EDBM_***_at_index calls.Campbell Barton
2013-05-28code cleanup: remove old/unused bmesh bevel transform mode, remove commented ↵Campbell Barton
character list UI widget and the members these used in 'G' global.
2013-05-13fix [#35326] Even edge slide on open edge crashes BlenderCampbell Barton
2013-05-12Fix for [#35224] Transform Orientation - order inconsistencyBastien Montagne
Fix turned out to remove as much "manual UI" from 3D view header as possible. Mode selector and all transform manipulators/orientations stuff are now RNA-based UI (leaving basically only edit mesh select modes with custom handlers, as they have some quite specific features). To achieve this, four main modifications were done: * enum-operator-generated menus are now MENU (i.e. dropdown lists) in headers too. * All bit-flag enums expanded in ROW buttons now have a handling consistent with e.g. layers, or what we already have for transform manipulators, i.e. clicking select only one element, shift-click to select multiple ones. * Consequently, the three RNA booleans manipulators flags are merged into a single bit-flag enum (yes, this is also an API change, though I doubt many scripts use it). * Now the width of enum-based dropdown lists is computed from longest item name in enum, no more from a dummy place holder string (when no label/name is given). All this allows to remove some code from 3DView/transform areas, that was actually mostly duplicating RNA/operator one. Also done a few optimizations here and there (among others, do not pass &numitems to RNA_property_enum_items() when you do not need it, saves at least an iteration over enum items to count them). Many thanks to Brecht for the reviews!
2013-05-11Fix #35292: edge slide slow with big image in image editor. Avoid redrawing theBrecht Van Lommel
image editor during slide like other operators, instant feedback can be nice but is not so important here and we don't have notifiers fine grained enough to avoid full redraws.
2013-05-01use 'normal' orientation rather then 'local' with individual origins to use ↵Campbell Barton
the per-element axis-matrix.
2013-04-28fix for bug with edge-slide doing UV correction when the faces connected to ↵Campbell Barton
one of the sliding edges dont have contiguous UV's (or vcols etc). resolve by using faces adjacent to the ones directly connected to the edge that sliding. This isnt a prefect solution but it resolves the common case where an edge slides along a UV seam.
2013-04-28simplify projectEdgeSlideData(), was doing unneeded looping, remove and ↵Campbell Barton
remove need for visithash also.
2013-04-24allow to scale and rotate from edge/vertex slide. Campbell Barton
2013-04-23Fix #35056: crash running bpy.ops.transform.rotate() in background mode.Brecht Van Lommel
2013-04-22fix own mistake updating edge slide, even edge-slide was brokenCampbell Barton
2013-04-22tweak to vertex slide drawing, reduce line alpha, could cover vertex and ↵Campbell Barton
make it hard to see whats happening.
2013-04-19style cleanup: edge slideCampbell Barton
2013-04-19fix for bug where edge slide could set mouse start/end points to the same ↵Campbell Barton
value - so you couldnt move the edge loop at all, now check that the screenspace projection of the start/end points have some length and fallback to fixed offset if none do. also rename confusingly named vars.
2013-04-19fix for incorrect edge slide interpolation at loop endpoings with ngons.Campbell Barton
2013-04-19fix [#35009] Edge/Vertex Slide issue using G-G.Campbell Barton
add support for edge slide on boundary edge loops as well as loops with mixed in boundary faces.
2013-04-19code cleanup: edge slide, avoid building BVH tree, more logical var names.Campbell Barton
2013-04-19fix for incorrect edge loop slide direction when one of the loop sides was ↵Campbell Barton
lost walking around the loop.
2013-04-19code cleanup: remove unused vars in edge slide, only store the initial ↵Campbell Barton
vertex coords rather then a copy of the whole vertex, name edge slide directions a/b rather then up/dowb.