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
2016-05-14Fix T48426: Use same length for all header message strings.Bastien Montagne
Some languages like Chinese or Japanese take three or four bytes per char... Also fixed some missing translation markers for UI header messages.
2016-05-08Fix T48372: missing OS X trackpad scroll support for increasing loop cut / ↵Brecht Van Lommel
bevel segments.
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-10-04BMesh: improved smooth subdivisionCampbell Barton
Instead of offsetting along normals, smooth positions are now calculated on a sphere defined by the vertices and their normals. This removes visible seams along original edges, which were common previously.
2015-08-27Fix T45920: Loopcut w/ shrinkwrap crashCampbell Barton
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-25Correct error in recent refactorCampbell Barton
Closed loops missed last line
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-06-21BMesh: replace BLI_array -> BLI_stackCampbell Barton
2015-04-27Fix T44011: Ruler/Knife/Loop-cut fail in quad-viewCampbell Barton
This is a kind of sloppy-focus, resolving long standing bug with loop-cut/knife/ruler /w quad-view. Where activating a tool would lock onto one of quad-views, especially problematic when activating from the toolbar or menus.
2015-04-26BMesh: subdiv smooth, use simpler even calculationCampbell Barton
Was checking all vertices adjacent faces, now just compare the difference between normal angles. Also default to inverse-square for loopcut-subdiv falloff.
2014-11-16Cleanup: use SUBD_CORNER_* prefix for Subdiv flagsCampbell Barton
2014-10-03Cleanup: spelling, wsCampbell Barton
2014-09-18Fix T41861: Loopcut wire incorrect mode-switchCampbell Barton
also didn't preview or select correctly.
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-04-30Code cleanup: remove redundant CTX callsCampbell Barton
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-03-11View3d: take pixelsize into account for selection distanceCampbell Barton
2014-01-01Fix T37965, loop multicut confirmation not happening when numeric inputAntony Riakiotakis
is used. When numerical input was active confirmation events were not getting handled. Code here seems a bit duplicated, it may be possible to simplify it, but leaving it slightly bloated for now.
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-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-11fix [#37030] Loop Cut and Slide doesn't clear header text if you click a ↵Campbell Barton
blank area
2013-08-03code cleanup: replace bmesh_radial_face_find -> BM_edge_in_faceCampbell Barton
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-07-12fix [#36106] Defining the Loopcut number with the keyboard is limited to 130Campbell Barton
mousewheel value is now clamped too and raised the limit to 500.
2013-07-10draw loopcut display on the deformed mesh when in editmode.Campbell Barton
2013-06-10fix [#35648] Loop cut, smoothness showing wrong symmetricalCampbell Barton
this is more of a feature request then a bug, but nicer to use even smoothing offset for loopcut smoothing.
2013-05-16workaround for loopselect-slide (with multicut enabled) changing from ↵Campbell Barton
vertex-select to edge-select. this is needed to slide, but wasn't so nice for users, now restore the original mode.
2013-05-08smooth falloff options for loopcut.Campbell Barton
2013-05-03fix [#35194] Change view while LoopCut is active breaks the cut optionsCampbell Barton
use edge-index rather then mouse coords for loopcut so the viewport doesn't interfere.
2013-04-26fix for regression where tessface weren't recalculated when running loopcut ↵Campbell Barton
outside of a macro.
2013-04-26fix for recent commit that allowed incorrectly flushed face selection.Campbell Barton
2013-04-26edgeslide fixes/tweaksCampbell Barton
* re-executing edgeslide was using initial mouse coords only. * allow negative smooth * allow more then 10 cuts in RNA limits.
2013-04-26add exec() to loopcut so it supports redo.Campbell Barton
2013-04-26fix/feature [#35085] Loop cut slideCampbell Barton
Loop cut slide now works with multicut. issue is that since edge slide now supports more configurations, cases where loop-cut-slide silently failed before, now slide (albeit in an awkward way at times). Fix this my adjusting the selection of after loopcut so edge slide can properly operate on it.
2013-04-19simple optimization, replace BM_face_other_edge_loop() with ↵Campbell Barton
BM_loop_other_edge_loop() in situations where the loop is known this avoids a lookup.
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-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
2013-03-20- add knife project to toolbar.Campbell Barton
- when running knife project, disable vertex selection since it may select areas between the newly cut regions. add EDBM_selectmode_disable() function since loopcut does this too. - (optimization) avoid looping over all geometry when flushing and no selection exists.
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-02-19Another huge bunch of new UI translations (some reported by Leon Cheung, ↵Bastien Montagne
thanks!)...
2013-01-16style cleanupCampbell Barton
2013-01-14code cleanup: use BMW_begin insode for loops body.Campbell Barton
2012-12-19code cleanup: use interp_v3_v3v3()Campbell Barton