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-10-12Fix T46434: Shear w/ local-center & editmode failsCampbell Barton
2015-10-04Fix (coverity-reported) broken 'transform helpers' drawing.Bastien Montagne
E.g. trackball-arrows (R-R) were no more visible. Caused by wrong cast of an array from int to float, we need an int version of those helpers (`glTranslatenxv`) too.
2015-10-01Fix T46339: Edge sliding when there is only one vertex in the mesh crashes ↵Bastien Montagne
blender. If t->mode remains edge/vert slide, restoreTransObjects() ends up calling projectVert/EdgeSlideData(), which tries to access invalid customdata... Not sure why we call again restoreTransObjects() and resetTransRestrictions() here tbh, but safer not to change that for now. Should be backported to 2.76 if possible.
2015-09-20Cleanup: Use new vector transform functionsJulian Eisel
2015-09-08Fix T46003: Scale w/ script ignores axis-alignCampbell Barton
2015-08-27Fix crash switching to rotate from edge-slideCampbell Barton
Caused by own fix for T45458
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-01Note Editor: Auto-offset nodes on insertionJulian Eisel
Implements "Auto-offset" (called "insert offset" in code) feature for Node Editor, developed during and after LSOC :) Idea and sponsoring by Sebastian König, blendFX, Mathias Eimann, Mikavaa, Knick Design When you drop a node with at least one input and one output socket onto a an existing connection between two nodes, Auto-offset will, depending on the direction setting, automatically and animated move the left or right and all of its following nodes away to make room for the new node. The direction for offsetting can be toggled while you are moving the node by pressing „T“. The auto-offset is enabled by default but can be disabled in the header of the node-editor. The offset margin can be changed in the editing section of the User Preferences. Thanks a lot to the sponsors, and especially to Sebastian who helped *a lot* with this. That's how users can help developing Blender!
2015-07-31Docs: doxy correctionsCampbell Barton
2015-07-21Fix T45458: Edge Slide Mirror doesn't preserve UVsCampbell Barton
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-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-29Node Editor: Use Smaller Factor for Grid SnappingJulian Eisel
An attempt to treat @sebastian_k's blood pressure a bit.
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-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-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-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
2015-04-29Cleanup: headersCampbell Barton
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-14Fix T44362 no easy way to repeatedly duplicate keyframes in actionAntony Riakiotakis
editors. Reporter used a hacky work-around by placing cursor at end of keyframe range and doing ctrl-C ctrl-V repeatedly. This was working on 2.73 but not anymore since the old selection is not kept. Much better is to have duplication operator be repeatable. This commit takes care of that.
2015-04-10rename _ipo -> _fcurveCampbell Barton
2015-04-09Separate proportional editing options for graph and action editor.Antony Riakiotakis
2015-04-08Transform: use relative motion for vertex slideCampbell Barton
Vertex slide was using absolute mouse position unlike all other kinds of transform. also remove need for allocated 2d projections.
2015-04-07Proportional editing support for the action editor.Antony Riakiotakis
There are a few things here which are not so nice: * Position of proportional edit circle is not centered on data (difficult to predict positions here since those are completely custom, will probably be positioned at center of area later instead) * Result is flushed to curve handles only at the end of the transform, so if people have the graph editor open they will see handles lagging behind.
2015-04-07Revert Sticky Keys (and everything related to that)Julian Eisel
Our current keymap doesn't give us enough room to make such changes in the event system. To fix small issues caused by this, we would need to do drastic changes in Blender's keymaps and internal handling. It was worth a try, but it didn't work. I can write down a more descriptive statement in a few days, but for now I need a break of this stuff.
2015-04-06Use BKE_ghash_ensure_p where possibleCampbell Barton
2015-04-05Fix T44275: CTRL+LMB to extrude to mouse position conflicts with snappedJulian Eisel
extruding More practical description of the bug: extruding with ctrl to use snapping and confirming the action added another extrusion to the mouse position. This was caused from the second event that is now sent if a key release happens within the click timeout. It triggers the "Extrude to Cursor" operator since it is called by CTRL+LMB wich is exactly the event that is sent in this case. I'm not totally happy with this workaround since it changes the Confirm/ Abort event for all transformation actions to key release which *might* result in more conflicts (fingers crossed this isn't the case). If this happens we might need to write some special transformation handling for extrusion. This is an example of the difficulties we get from loading too much functions on the same keys - we need to be careful with that!