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-12-01Cleanup: use more logical names for View3D.aroundCampbell Barton
D1651 (own patch)
2015-12-01Fix T46900: Inset Faces Thickness & Depth Do Not Use Scene Units (i.e. ↵Bastien Montagne
Imperial). Was the case of several Mesh operators actually (and probably others, but cannot check everything). Added `RNA_def_property_float_distance` helper, avoids having to set PROP_DISTANCE subtype explicitly each time...
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-06-21Fix T45135: More cleanup of extreme max values in operator properties.Bastien Montagne
INT_/FLOAT_MAX are sometimes valid choices, but most of the time more sensible values should be used here!
2015-04-27Cleanup: rename GRAB_POINTER -> GRAB_CURSORCampbell Barton
Term pointer is overloaded already.
2014-10-13Mesh Inset: select internal faces by defaultCampbell Barton
2014-09-10Fix for mesh-inset modifying hidden facesCampbell Barton
2014-08-26Fix T41590: When scene scale is not 1.0, and units are "None," Blender ↵Bastien Montagne
assumes translations are in meters. Turned out there were several issues in handling of scale parameter by numinput. Fixed that by factorizing more some code in common with 'usual' numbuttons eval code (new `bUnit_getScaleUnit()` helper will return valid scaled value, depending on given system and type). Now, numinput behaves as expected - using default unit amended by scale in case no unit is given (i.e. entering '20' with a scale of 0.01 will give you 20cm, and '20cm' as well!).
2014-08-25Followup to previous commit: fix same wrong numinput handling in other modal ↵Bastien Montagne
ops. Also stumbled uppon 'move marker' code, was needing a bunch of fixes, cleanup and simplification, and added a candy feature - now you will enter numinput values in seconds when editor is in 'time' mode, instead of frames!
2014-06-30Fix T40862: numinput transform did not take into account scale_length.Bastien Montagne
2014-03-28Fix for inset bug (edge rail had feedback loop with direction)Campbell Barton
also disable edge-rail by default.
2014-02-15Mesh Inset: following existing edges is now optionalCampbell Barton
2013-12-21Support units in modal numinputBastien Montagne
Summary: This completly changes the way modal numinput is handled. Now, edited expression is a string, which then gets unit- and py-evaluated to get a float value. We gain many power and flexibility, but lose a few "shortcuts" like '-' to negate, or '/' to inverse (if they are really needed, we still can add them with modifiers, like e.g. ctrl-/ or so). Features: - units (cm, ", deg, etc.). - basic operations from python/BKE_unit (+, *, **, etc.), and math constants and functions (pi, sin, etc.). - you can navigate in edited value (left/right key, ctrl to move by block) and insert/delete chars, e.g. to fix a typo without having to rewrite everything. - you can go to next/previous value with (ctrl-)TAB key. - As before, hitting backspace after having deleted all leading chars will first reset the edited value to init state, and on second press, the whole "modal numinput" editing will be cancelled, going back to usual transform with mouse. Notes: - Did not touch to how values are shown in header when modal numinput is not enabled (would do that in another commit), so this is still quite inconsistent. - Added back radian support in BKE_unit. - Added arcminute/arcsecond to BKE_unit. (those unit changes affect all angle UI controls, btw, so you can now enter radians or longitude/latitude values when in degrees units). Related to T37600. Reviewers: brecht, campbellbarton, carter2422 Reviewed By: brecht, campbellbarton, carter2422 Thanks everybody! Differential Revision: http://developer.blender.org/D61
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-13code cleanup: utility function for getting a bool as a string.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-08-20fix [#36352] Inset individual, uncheck "select outer" selects zero facesCampbell Barton
rewrite individual inset not to remove and re-create faces, makes re-selection simpler.
2013-06-25Fix #35767: transforming nodes in the node editor changed the wireframe colorBrecht Van Lommel
of the active object in the 3D view. This was due to sharing a global G.moving flag to indicate that transform is active, now it's only set per transform data type so different editors don't influence each other.
2013-04-25individual inset was missing relative option.Campbell Barton
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-08fix for various crashes from incorrect poll functions.Campbell Barton
- bevel had incorrect cancel when initialization failed which could crash (own mistake). - main particle poll function didnt check if the area/region were NULL. - some uv operators needed space image but didnt check for it. also use uv_ prefix for most operator functions.
2013-04-08inset and bevel could both be activated when there was no selection.Campbell Barton
2013-04-07Mesh Tool,Campbell Barton
inset interpolation now works for 'inset_region', enabled by default. Example: http://www.graphicall.org/ftp/ideasman42/inset_interpolation_new.png
2013-04-07mesh inset tool - option to interpolate UV's vcols etc, on by default since ↵Campbell Barton
this is almost always what you'd want. currently only working for inset-individual, inset-region coming next.
2013-04-06bmesh operator rename inset -> inset_regionCampbell Barton
2013-04-06patch [#34886] BMesh Individual Face InsetCampbell Barton
from Francisco De La Cruz (xercesblue) with some simplifications to the patch.
2013-04-02draw helper lines for inset and bevel operators, the mouse distance from the ↵Campbell Barton
selection center was used, but often it was hard to tell where this was and you'd have to guess. adds ED_region_draw_mouse_line_cb() generic draw callback for mouse helper lines.
2013-04-01code cleanup: split editmesh_tools.c, into inset, bevel (both modal ↵Campbell Barton
operators) and moved extrude operators into their own file. also move some selection operators from editmesh_tools.c into editmesh_select.c