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
2015-07-05Correct vert-slide helper-line scaleCampbell Barton
Was invalid in perspective view
2015-07-03Cleanup: 'return' parameters to the end of functions, and use 'r_' prefix ↵Bastien Montagne
for them.
2015-07-03UI: add ability to access/generate 'shortcuts strings' of modal keymaps.Bastien Montagne
We already had that for global keymaps (used e.g. to generate shortcuts for menu entries), but this wasn’t possible for modal keymaps yet (e.g. help message in header during transforms and other modal operation). This commit only adds needing background code, it does not change anything from user PoV. Modal operators will be updated to use it in comming weeks. Thanks to Campbell for revisions & suggestions. :) Differential Revision: https://developer.blender.org/D780
2015-07-03Fix vertex slide regression w/ rotated objectsCampbell Barton
This could only be done with certain rotations.
2015-07-02DerivedMesh: cleanup & minor edirsCampbell Barton
- place return args last position - move crazyspace function out of DerivedMesh header - use bool for args - flow control on own lines to ease debugging
2015-07-01Transform: use snap-to-grid behavior from D910Campbell Barton
Excuse the trashing here, but seems users prefer this most (though both can be useful). Note that the UI remains the same, so this is an option for 'Incremental' snapping instead of a new snapping mode.
2015-07-01Cleanup: use boolsCampbell Barton
2015-06-30Fix for mistake in grid-snap patchCampbell Barton
2015-06-30Transform: add back absolute snapping optionCampbell Barton
This ensures that vertices are grid-aligned while transforming, instead of just snapping the input values for translate.
2015-06-30Cleanup: transform grid snap round, not floorCampbell Barton
2015-06-29Node Editor: Use Smaller Factor for Grid SnappingJulian Eisel
An attempt to treat @sebastian_k's blood pressure a bit.
2015-06-27Transform: absolute grid snappingCampbell Barton
D910 by @donfabio with edits New icon for menu is still TODO
2015-06-26Cleanup: transform centerCampbell Barton
store global center in transform struct, some code was calculating all the time, this is useful to keep available.
2015-06-26Cleanup: transform aspectCampbell Barton
Transform code had duplicate aspect checking, now store aspect in TransInfo.aspect for reuse.
2015-06-24Fix edge/vert slide UV-correct, small face errorCampbell Barton
Decrease epsilon to prevent flickering with small faces.
2015-06-24Fix edge/vert slide UV-correct & non-planar facesCampbell Barton
non-flat ngons would give instability (bad UV's).
2015-06-24Fix edge/vert slide UV-correct & zero length edgesCampbell Barton
When calculating loop angle weighting, skip overlapping vertices.
2015-06-20Transform: UV islands were split by windingCampbell Barton
This meant front/back faces from a projection would be seen as separate islands.
2015-06-20Minor edit to transform-uv-island center calcCampbell Barton
Only count each UV to influence the center once.
2015-06-19Transform: Add individual origins for UV islandsCampbell Barton
Useful for scaling all UV islands
2015-06-18Transform: Improve UV creation efficiencyCampbell Barton
- was doing 2x spin-locks, multi-view check and hash-lookup per face-corner. - avoid doing customdata layer lookup per face.
2015-06-18Fix crash transforming UV /w PET-connected modeCampbell Barton
2015-06-18Fix transform connected UVs memory leakCampbell Barton
2015-06-17Fix (unreported) redo of 'bone envelope distance resize' transform op not ↵Bastien Montagne
working (it would behave like 'bone envelope resize' instead). Issue comes from the fact this transform op shares some common points with both BoneResize and BoneEnvelope operations. However, trying to re-use `TFM_BONE_ENVELOPE` itself in this case is bad idea, since this mode gets stored in transform op and is directly re-used for redo, by-passing the whole init phase that shall be done in `TFM_BONESIZE` mode... So now, we add a real new mode, `TFM_BONE_ENVELOPE_DIST`, while keeping most of existing code and all existing behavior. This is slightly hackish - but was already anyway, and avoids creating a full new set of function for pretty much the same thing. As a side note, also makes it possible to resize envelope distance outside of envelope viewing mode (from py or by adding a custom shortcut).
2015-06-17Cleanup: use floorf instead of floor when dealing with floats.Bastien Montagne
2015-06-17Cleanup/Fix unreported: many 'transform' apply was not updating t->values ↵Bastien Montagne
with final values. This means redo panel of matching operators would not get correct values set in case those were entered with numinput, or some snapping was used...
2015-06-16Correct last commitCampbell Barton
avoid sqrt
2015-06-16Fix T45096: Bad UVs /w EdgeSlide & zero-area facesCampbell Barton
2015-06-15BMesh: edge-offset feature (Ctrl+Shift+R)Campbell Barton
Ability to quickly add 2x edge loops on either side of selected loops.
2015-06-14Edge Slide: refactor direction calc into functionCampbell Barton
2015-06-12Edge slide (minor change, use existing vertex)Campbell Barton
2015-06-11BLI_listbase: match arg order with BLI_qsort_rCampbell Barton
2015-06-04Cleanup: clarify order of precedence: &/?Campbell Barton
2015-06-03Correct vert/edge slide poll functionsCampbell Barton
Would crash trying to access outside the 3D view.
2015-06-01Fix vertex slide regression /w rotated objectsCampbell Barton
2015-05-25Fix error redoing shrink fattenCampbell Barton
Use a property to store even-offset option.
2015-05-25Fix bend in object mode (wasn't rotating objects)Campbell Barton
2015-05-25Fix memory leak /w bend toolCampbell Barton
2015-05-25Cleanup: const char for operator ID'sCampbell Barton
2015-05-17Fix Node Editor using wrong snap element menu when called from shortcutJulian Eisel
Kudos to @kopias for notifying me :)
2015-05-17Cleanup: indentationCampbell Barton
2015-05-15Fix some issues found by Coverity ScanJulian Eisel
Some of them are just brain dead code, some are potential bugs.
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-05-08Cleanup: #define -> enum, and get rid of useless braces in case's.Bastien Montagne
2015-05-08Fix T44634: Slide edge not responding to ALT + WHEEL to change reference ↵Bastien Montagne
edge in "even mode". Modal events (TFM_MODAL_EDGESLIDE_UP/_DOWN) were eaten by NOP generic transform event handling...
2015-05-07EdgeSlide: support for un-clamped slidingCampbell Barton
Functionality matches vertex slide.
2015-05-07Cleanup: remove unneeded context argCampbell Barton
2015-05-07EdgeSlide: use pairs for TransDataEdgeSlideVertCampbell Barton
no functional changes
2015-05-07EdgeSlide: fix divide by zeroCampbell Barton
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl