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
2018-04-11Merge branch 'master' into soc-2017-normal-toolsBastien Montagne
2018-04-09Cleanup: avoid recalculating global centerCampbell Barton
2018-04-05Changed rotation calculation in rotate_normalRohan Rathi
2018-03-13Moar cleanup.Bastien Montagne
2018-03-02Cleanup: renaming mostly, plus some const qualifiers etc.Bastien Montagne
2018-02-28Cleanup: make static utility functions, try to find some better names.Bastien Montagne
Naming is always complicated, trying to get something a bit more coherent, also with already existing clnor struct...
2018-02-14Added custom loop normals to work correctly with autosmoothRohan Rathi
2018-02-02Merge branch 'master' into soc-2017-normal-toolsBastien Montagne
Conflicts: release/datafiles/locale release/scripts/addons release/scripts/addons_contrib source/blender/makesdna/DNA_scene_types.h source/tools
2018-01-19Fix T53786: Proportional size from redo ignoredCampbell Barton
Changing PET size while transforming stores the size in the tool settings, but changing in the redo panel didn't.
2018-01-16Cleanup: indentationCampbell Barton
2017-11-10More rampaging cleanup & refactor in new clnor editmesh/transform code.Bastien Montagne
Also added loop_index to TransDataLoopNormal mapping, which allows us to avoid another nasty loop-in-loop case.
2017-11-08Fix missing break in switch block.Bastien Montagne
2017-11-08Merge branch 'master' into soc-2017-normal-toolsBastien Montagne
Conflicts: source/blender/makesrna/intern/rna_scene.c
2017-11-05Cleanup: order buffer length after the bufferCampbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-13Fix bad UI-related code in action callbacks of operators.Bastien Montagne
UI/drawing related code in action callbacks is really not nice, especially since we do have a more consistent way to dynamically show/hide some properties. Note that transform_ops one remains rather hackish here (since we have to use context for this case)... Not sure how to do it better so far.
2017-10-12Cleanup (no functional change expected).Bastien Montagne
Mostly styling, and some minor/harmless errors.
2017-10-03Cleanup/fixes compilation warnings.Bastien Montagne
Mainly, shadowing variables and unused parameters.
2017-09-24Merge branch 'master' into soc-2017-normal-toolsRohan Rathi
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-05Merge branch 'master' into soc-2017-normal-toolsRohan Rathi
2017-09-03Fix T52227: Time Slide tool doesn't take NLA mapping into accountJoshua Leung
To be backported to 2.79
2017-08-29Changed T_CLNOR_INVALIDATE flag as it conflicted with prop edit. Fixed ↵Rohan Rathi
mistake with weighting in modifier making it work differently from average.
2017-08-28Transform: center overrideCampbell Barton
Hidden option to override transform center. Needed for manipulators that define their own center.
2017-07-18Added snapping to rotate normal.Rohan Rathi
Also added a ui function to point_normals which allows easier editing by creating a sphere box. Shown when align is enabled.
2017-07-10Now invalidates all loops in an lnor spaceRohan Rathi
2017-07-04Merge branch 'master' into soc-2017-normal-toolsRohan Rathi
2017-07-03Fixed bugs and cleanupRohan Rathi
2017-07-01Added Split/Merge normals.Rohan Rathi
Doesn't work on the basis of any weighting mode. Will have to implement that first. I'll add more methods as I progress in other areas.
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-23Added ability to edit individual normal.Rohan Rathi
Works by using multiple selection modes, so if yo works by using multiple selection modes, so if you select vert then face. Th Works by using multiple selection modes. So, if you select vert then face, only clnor linked with both vert and face will be edited. Has some issues though, as vert + edge selection can be associated to either of 2 clnors. Need to fix.
2017-06-20Added invalidate for transform ops.Rohan Rathi
Can now keep clnors when transform ops are applied. As now invalidation for each function is harder to keep track of, Added a function which rebuilds all the lnor spaces in the mesh when BM_lnorspace_rebuild is called to detect if any unmarked spaces are rebuilt.
2017-06-19Merge branch 'master' into soc-2017-normal-toolsRohan Rathi
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-13Fixed issues with Point Normals.Rohan Rathi
Added header, fixed bugs and logic errors in point normals to target. Target location is now editable from UI. Also renamed 'bmspacearr' to 'lnor_spacearr'
2017-06-12Do not include BKE_mesh.h in bmesh_class.hBastien Montagne
We absolutely avoid such include unless totally mandatory, here we can simply keep lnorspaces array a pointer in BMesh struct, and allocate it on demand. Also, was breaking bmesh tests building. Note: this totally breaks undo/redo, but previous code was utterly wrong here as well (shallow copy of lnorspaces, ending up sharing whole internal memory -> crash garanteed ;) ). Think we can skip that struct for undo/redo for now at least, we can rebuild it in those cases imho...
2017-06-12Merge branch 'master' into soc-2017-normal-toolsBastien Montagne
2017-06-11Added point normals to target.Rohan Rathi
Moved common loop functions and made changes to structure
2017-06-06Added ability to rotate custom normalRohanRathi
2017-06-02Fix T51691: Shear cursor input scales w/ zoomCampbell Barton
Use relative value from cursor movement.
2017-06-02Cleanup: styleCampbell 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-03-02Fix another part of T50565: Planar constraints were always initialized to ↵Sergey Sharybin
accurate transform Now it is defined by keymap.
2017-02-03Forgotten in committee ddf99214dc06Germano Cavalcante
In obect mode, the rotation matrix need to be restored to the initial value if a snap point is not found
2017-02-03fix T49494: snap_align_rotation should use a local pivot to make the ↵Germano Cavalcante
transformation The problem was simple, just transform the global coordinates of t->tsnap.snapTarget to local coordinates. (Some comments were added to the code)
2017-01-18Transform manipulator: Allow first clicking Shift before selecting axisSergey Sharybin
Avoids possible jumps when one is trying to do some really preciese tweak. Quite striaghtforward change for mouse input initialization: take Shift state into account. However, this will interfere with the axis exclusion which is currently also uses Shift (the feature to move something in a plane which doesn't have selected axis). This is probably not so commonly used feature (nobody in the studio even knew of it) and the only downside now would be that such a constrainted movement will become accurate by default. That's easy to deal from user side by just unholding Shift key. Reviewers: brecht, mont29, Severin Differential Revision: https://developer.blender.org/D2418
2016-12-08Fix T49872: 3D cursor places with camera shift in ortographic modeJulian Eisel
2016-12-01Compiler warning fixJoshua Leung
2016-11-15Fix T50022: "Mirror" in Dopesheet Crashes BlenderJulian Eisel
Just fixing crash itself. Actually operator shouldn't run in most editors (not in dopesheet either I guess), but don't want to spend time on that right now.