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
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-26Cleanup: remove bounds runtime data from sceneCampbell Barton
2017-09-26Fix: When transforming GP strokes in "Local" mode, the strokes would get ↵Joshua Leung
obscured by the transform constraint lines Ported over e7395c75d504af2c2f720f43ea27b93e04a378e4 from the greasepencil-object branch. I should've fixed this ages ago, but couldn't figure out why at the time.
2017-09-19transform_snap_object: simplify IGNORE_BEHIND_RAYmano-wii
`depth_get` is called in most of the time. So not worth going through so many conditions
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-09-15Transform: Enable recursion dependency check for new depsgraphSergey Sharybin
2017-09-08Fix T52678: Crash editing gpencil w/ frame-lockCampbell Barton
2017-09-03Fix T52227: Time Slide tool doesn't take NLA mapping into accountJoshua Leung
To be backported to 2.79
2017-08-29Transform: scale center override by aspectCampbell Barton
Needed for image space.
2017-08-28Transform: center overrideCampbell Barton
Hidden option to override transform center. Needed for manipulators that define their own center.
2017-08-17Transform: remove unused functionmano-wii
2017-08-16Transform: Move enum `SnapSelect` to `ED_transform_snap_object_context`mano-wii
2017-08-16Fix T52414: Blender 2.79 crash on object duplication via menu.Bastien Montagne
Caused by own recent changes in handling of verts/edges/etc. arrays storage for raycasting (rBe324172d9ca6690e8). Issue was actually even weirder - there is absolutely no reason at all to release DM here, those finaldm are stored in Object or EditMesh structs and handled by general update system, other code shall never try to release them!
2017-08-11Fix transform snap code using 'allocated' flags to get verts/edges/etc. ↵Bastien Montagne
arrays again from DM. This was... horribly wrong, CDDM will often *not* need to allocate anything to return arrays of mesh items! Just check whether array pointer is NULL. Also, remove `DM_get_looptri_array`, that one is useless currently, `dm->getLoopTriArray` will always return cached array (computing it if needed).
2017-08-11Cleanup: whitespaceCampbell Barton
2017-08-04Tracking: Cleanup of transform codeSergey Sharybin
2017-07-31Fix T52224: auto IK not respecting length, after recent bugfix.Brecht Van Lommel
2017-07-24Revert "ransform: fix unreported bug: geometry hidden by clipping border ↵mano-wii
(alt + b) is not bypassed in snap to faces" This reverts commit 7f09b55d01c248a741e967af597b7519f095983b.
2017-07-24ransform: fix unreported bug: geometry hidden by clipping border (alt + b) ↵mano-wii
is not bypassed in snap to faces The geometry behind the farther clip_plane is not bypassed
2017-07-22Transform: remove unused argumentmano-wii
2017-07-21Another solution to bug T38358 and relatedmano-wii
Moving the ray_start_local to the new position does not lose as much precision as moving the ray_org_local to the corresponding position. The problem of inaccuracy is within the functions: `bvhtree_ray_cast_data_precalc` and` fast_ray_nearest_hit`. And not directly in the values of the rays.
2017-07-18Transform: avoid possible uninitialized varCampbell Barton
2017-07-14Snap System: Fixed index of objects used to make `snap to volume`mano-wii
*note: make a complete test scene
2017-07-14Snap System: Use function that does the interactor instead of Macromano-wii
Macro makes debugging difficult. And in that case I was escaping from the style used in Blender
2017-07-14Snap System: missing changemano-wii
2017-07-14Snap System: fix rename `ob` to `obj`mano-wii
This would bring problems with dupli objects
2017-07-14Snap System: Replace creation and destruction of the object list by a Macromano-wii
The macro got a little strange, but it's better than using the MEM_mallocN inside a loop, or repeat the lines
2017-07-13Snap System: remove unused functionmano-wii
2017-07-12Cleanup: unused varsCampbell Barton
2017-07-11Fix [T51595]: Snap to edge does not work with high zoom levelmano-wii
That problem occurs because of the imprecision of `short int` (16 bits). The 3d coordinates are converted to 2d, and when they are off the screen, their values can exceed 32767! (max short int value) One quick solution is to use float instead of short The snap code is actually a little tricky. I want to make some arithmetic simplifications in it
2017-07-11Style (remove characters that caused "a binary file")mano-wii
2017-07-11Snap System: Separate raycast functions from nearest2d functionsmano-wii
The only similarity between these functions is that both serve to snap. However their codes are totally different from one another. So by separating these functions, it: - removes the need to put several conditions; - simplifies and - optimizes the code
2017-07-10Fix T51665: No orientation for nurbs, polygonsCampbell Barton
2017-07-10Fix T52007: Cancel bezier curve transform failsCampbell Barton
Auto & aligned handles wouldn't restore to their correct locations. Note that a more direct fix for the bug is possible (storing the handle locations to restore on cancel). But that still gives some odd behavior, see code-comments for details.
2017-07-06Fix T51955: Changing Auto-IK length crashes Blender (with new-depsgraph)Sergey Sharybin
New dependency graph is tacking root bone into account when building the graph. This is required in order to get proper dependencies between bones. so we can reliably use bones as targets from the same rig (and even indirect relations via external objects). This forces us to tag relations for update when we change root IK chain bone. Since relations rebuild is not fully trivial operation, we only do it for the new dependency graph. In the future it'll be nice to avoid whole graph rebuild for such cases, but that's mentioned as a TODO.
2017-07-04Fix T51703: Rigid body with delta transform jumps when transformingLuca Rood
When doing any transformation on a rigid body object that has delta transforms, the object would be offset by the amount of the delta transform.
2017-06-30Fix unpredictable trackball rotationCampbell Barton
D2729 by @IgorNull Currently, trackball rotation sequentially applies rotation across x axis and y axis, which produces a strange/unusable result on diagonal pointer motion. This change fixes the problem by using a single axis which is orthogonal and proportional to mouse delta - matching view-port trackball.
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
2017-06-14Fix buffer read error w/ 2 pass select queriesCampbell Barton
Also don't do second pass when the first has no hits.
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-09Fix T51756: Fix crash when transforming vertices in edit modeSergey Sharybin
The issue was caused by under-allocation of UV islands calculation.
2017-06-02Fix T51691: Shear cursor input scales w/ zoomCampbell Barton
Use relative value from cursor movement.
2017-06-02Cleanup: styleCampbell Barton
2017-06-01Remove comment (missed last commit)Campbell Barton
2017-06-01Fix T51651: translate w/ individual origins failsCampbell Barton
Regression in fix for T46892
2017-05-26Cleanup: warningCampbell Barton
2017-05-22Fix T51169: Push/pull fails w/ local lock axisCampbell Barton
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-16Cleanup: gcc7.1 warningsCampbell Barton