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
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-16Fix T38217: Fix glitch adding Monkey with view alignCampbell Barton
added an option so view-align can default to a different axis.
2013-11-26Fix T37617: "Add plane" was adding a 2*2 gridBastien Montagne
Was a regression from rBaa3c06b41ca9, hope this time all things are OK again (note the X/Y subdivision values still are different than before (-1 for same result), but imho they make more sense this way).
2013-09-16fix [#36537] "Grid Floor Scaling" can have some unexpected behaviour on new ↵Campbell Barton
objects curves and metaballs now behave the same as meshes wrt grid scaling. remove WM_operator_view3d_distance_invoke(), and replace with a function called from exec which initializes defaults, this way operators can have their own invoke functions.
2013-09-16move make_prim_radius_prop into a generic function.Campbell Barton
2013-07-25triangulate and beauty fill also needed changes to selection handling after ↵Campbell Barton
recent changes.
2013-06-25Include DNA_scene_types before ED_object instead of forward enum declarationSergey Sharybin
Forward enum declaration is a bad idea, especially for C++ which requires enum specification to dteermine which data type to use to store it. Alternative would be to not use enum as an arument and pass it as int, but actually would rather be strict on typing -- using explicit enum as parameter type helps understanding the code and prevents possible mistakes when using the function.
2013-05-29fix [#34851] "UnitSettings.scale_length" not beeing calculated the same way ↵Campbell Barton
for all objects
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-15minor edits to DM_update_weight_mcol(), skip getting vars when in editmode, ↵Campbell Barton
also remove old/invalid comment.
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
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-25More new data names translation (most cases should be covered now).Bastien Montagne
Also done a few cleanup here and there...
2013-03-21code cleanup: rename editmode functions so we have ↵Campbell Barton
ED_object_editmode_load/enter/exit
2013-03-20I18n users request: add the ability to use a translated name for newly ↵Bastien Montagne
added/created objects or other datablocks. This simply adds a third "translation type" (in addition to iface and tip), "new data", with relevant user settings flag and helper funcs/macros (and py api). Currently implemented name translation when adding new objects, as well as modifiers and constraints, will add the others (cd layers, scenes, perhaps nodes [though I think they do not need this], etc.) later.
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-07use bool for rna funcs.Campbell Barton
2012-12-19include cleanupCampbell Barton
2012-12-12remove context argument from EDBM_update_generic()Campbell Barton
2012-12-12make EDBM_index_arrays's stay in memory, blender was allocating an array and ↵Campbell Barton
filling it for verts/edges/faces on every redraw. this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use. in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-12-09fix [#33442] UnitsCampbell Barton
adding meshes were scaling the user input values so the distance on the button didnt relate to the scale of the object added. Now use an invoke function that scales unset default values.
2012-12-03fix own mistake with recent commit to skip calculating tessface. If you were ↵Campbell Barton
already in editmode the tessfaces wouldn't get recalculated. also minor edits to bmesh rst.
2012-11-29skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.Campbell Barton
2012-11-28bmesh operator naming - use clearer names for args eg: (mat -> matrix, ↵Campbell Barton
use_singleedge -> use_single_edge) also remove duplicate docs for operator arg formatting.
2012-11-20Fix for add plane operator broken since recent code cleanupSergey Sharybin
2012-11-20code cleanup: make bmesh operator names more consistant since python has ↵Campbell Barton
access to these as input arguments and return values. all output values currently have ".out" suffix, this may go in the future, but for now it makes it clear in C code what are inputs and outputs.
2012-11-13Bugfix, IRC report:Ton Roosendaal
The "Add Monkey" object name should be Suzanne - as it was until 2.50. :)
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-19Fix #32219: Inconsistent influence of Units Scale on new objectsSergey Sharybin
Made it so meshes, curves, surfaces and metaballs are scaling to a grid cell size, which makes them behave consistently now. There're still issues to be resolved still: - Lattice is not scaled to grid cell size yet, it uses slightly different add function which makes scaling a bit tricky and hacky. Would prefer to do a bit bigger refactor here, so it's a TODO for now. - Cameras, speakers and other helpers are not scaling. They don't have data on which scale could be applied and perhaps it should be some kind of draw scale. Also would consider it's a TODO for now.
2012-10-05Clean up in "add object" code:Bastien Montagne
* Get rid of ED_object_add_generic_invoke() and all invoke callbacks using it, it was doing nothing exec() callbacks would not do. In fact, its only action (setting part of common add ops properties, like loc, layers, etc.) was needed too by direct exec call, so it was done twice in case of using invoke()! * Replace custom invoke code for metaballs by WM_menu_invoke helper (as already used by lamps). * Add a new OBJECT_OT_empty_add op, to allow direct addition of empties of a given drawtype. * And some general code cleanup (like trailing spaces, empty lines, ...). Did quite a bunch of tests/verifications, but obviously could not tackle all possible scenarios... Anyway, if any, bugs should arize quite quickly (but I don’t expect any! :p ).
2012-09-23fix for crashes caused by mixups when adding objects when incompatible ↵Campbell Barton
object types were already in editmode.
2012-09-10code cleanup: use BMEdit_FromObject() rather then me->edit_btmesh in more ↵Campbell Barton
places.
2012-05-31Fix #31657: adding mesh objects did not take units into account for the gridBrecht Van Lommel
scale that sets the default size.
2012-05-27code cleanup: use const float and define array sizeCampbell Barton
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-03-29fix invalid *= on an un-initialized value when adding primitives.Campbell Barton
2012-03-27Fix bug 30696, circular mesh objects had wrong orientation.Nicholas Bishop
Behavior now matches 2.62, circle, cone, and cylinder get first vertex at 0 degrees. Also fixed range for vertex property of add-cone and add-cylinder operators, changed minumum from two to three.
2012-03-27minor code/style cleanupCampbell Barton
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-27fix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.Campbell Barton
problem was that BMesh had tessellation call when undo pushes were called. if python called an operator with no undo push, tessfaces would not be created. fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph. added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
2012-03-26style cleanup: editors/mesh - mostly whitespace around operatorsCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-03"Fix" [#30431] UI string spelling & similar fixes.Bastien Montagne
All suggested changes looked good to me, thx to Michael Färber for this list of changes!
2012-02-23Segments and rings for UV Sphere were swapped.Sergey Sharybin
2012-02-23code style cleanup, no functional changes.Campbell Barton
2012-02-20added boolean type for bmesh operators, will make python wrapping clearer ↵Campbell Barton
and also makes existing calls more obvious. also corrected some error reports.