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-02-23Snap to Active: missing armature/pose/mball/curveCampbell Barton
de-duplicate active center calc between transform & snap-to-selected.
2015-02-09Fix T43498: New curves fails /w radius & rotationCampbell Barton
Scaling matrix assumed no rotation, also remove unused apply_diameter arg.
2014-11-19Refactor: Move part of vgroup handling code from ED_mesh/object_vgroup.c to ↵Bastien Montagne
BKE_object_deform. Along with some minor cleanup and simplifications. Reviewers: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D903
2014-10-10Cleanup (no functional changes):Bastien Montagne
* int -> bool where possible * Use const where possible * Get rid of magic numbers * Add/tweak a few UI tips * A few other misc changes.
2014-09-01Support more object types scene-scale (on creation)Campbell Barton
- lamp - camera - font - empty & effector Also fix inconsistency with apply transform (modified shape-keys for meshes but not curve/lattice)
2014-03-31Code cleanup: use boolCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-01-31Code cleanup: be less vague checking invalid index valuesCampbell 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.
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2013-11-19Remove Surface modifier when removing force field from objectSergey Sharybin
Summary: Before this adding Surface type of force field and removing this field would leave Surface modifier alive in the stack. This might be really misleading and annoying. Now removing force field will ensure no modifiers needed for it are remained in the stack. This also fixes missing notifier to redraw modifier stack when changing force field type. Reviewers: brecht, campbellbarton Reviewed By: brecht Differential Revision: http://developer.blender.org/D13
2013-10-16edits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs ↵Campbell Barton
to call ED_* functions its a hint they might be better in BKE).
2013-10-15Fix [#37085] Hook modifier work when created with Ctrl+H, but not when ↵Bastien Montagne
created via modifier panel "transform matrix" of the hook was not inited (reset) when assinging and object to it, now use same code for both OBJECT_OT_hook_reset operator and RNA object assignement. Reviewed by Brecht, thanks.
2013-09-17vertex group blend, support for blending multiple groups at once.Campbell Barton
2013-09-16move make_prim_radius_prop into a generic function.Campbell Barton
2013-09-02support for vertex parenting in object mode for object types which support ↵Campbell Barton
it (mesh, lattice, curve, surface) previously this had to be done one by one. both single and triagle vertex parents can be made, selected based on distance to the verts. Developer notes: - looks like this was old TODO, enums existed but weren't used. - only meshes currently support using. - added BKE_object_as_kdtree(), may come in handy for similar cases.
2013-08-29follow up on r59628, setting modes now ensures that other modes exit first,Campbell Barton
this was only done in some cases before and it was possible to enable weightpaint+sculpt at the same time when enabling sculpt by directly running the mode switching operator. add generic function to ensure a compatible mode before entering the new mode (added to each operators exec function)
2013-07-02move api functions from r57909 into BKE.Campbell Barton
2013-07-01Restrict Weight Edit Panel to mesh/lattice Edit and Weight Paint vertex ↵Gaia Clary
selection mode
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-06-25Fix unnecessary redraw of 3D views when making changes in compositing nodes.Brecht Van Lommel
2013-06-24removed obsolete forward declarationGaia Clary
2013-06-23Added polished Vertex Weights Panel (properties sidebar)Gaia Clary
2013-06-12prepared local vgroup selection function for more general usageGaia Clary
2013-04-25Fix #34806: rigid body world settings were not copied with a full scene copy.Brecht Van Lommel
Now copying a scene will also duplicate groups that consist entirely of objects that are duplicated with the scene. The rigid body world will then also pointers to these new groups.
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
2013-03-21code cleanup: rename editmode functions so we have ↵Campbell Barton
ED_object_editmode_load/enter/exit
2013-03-21py api: add Object.update_from_editmode(),Campbell Barton
Useful for python exporters to avoid toggling editmode on export, moved into own function ED_object_editmode_load(obedit).
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-02-22code cleanup: remove unused argCampbell Barton
2013-02-12Reports #34042 and #33749Ton Roosendaal
Tweak for new option for Relative Bone parenting (which transforms child object based on rest pose, so you can change bones in editmode to define pivot) In the original commit it was made default, but that was too invisble for users. Now it's an option in the Make Parent menu to choose. Communicates a new feature better.
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-10-21bmesh-decimator updateCampbell Barton
- update face normals when triangulating. - avoid divide by zero when interpolating customdata on a zero length edge. - replace zero float comparisons with fabsf() < FLT_EPSILON to avoid numeric error. also renamed BLI_heap_empty() --> BLI_heap_is_empty() so its obviously readonly function.
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-17code cleanup:Campbell Barton
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice) - move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators). - some some cmake includes as system-includes.
2012-10-10refactor foreachScreen functions for clipping, now the projection clipping ↵Campbell Barton
flag is passed down directly rather then converting the enum into a flag, also fix own recent crash lasso seleting in object mode with pose objects.
2012-10-10code cleanup: split `foreach` object data iterator functions out of ↵Campbell Barton
drawobject.c (since they are used for selection too), into their own file: object_iterators.c
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-27fix [#32616] Changing parent does not keep transformationCampbell Barton
add an option to apply the transform of an object when re-parenting. the reason for this is you dont always want to apply transform because... - your object may be driven/animated and the transformation will be lost. - with negative scales and rotation it can end up giving odd/not-useful results.
2012-08-12style cleanupCampbell Barton
2012-08-01style cleanup: whitespace, also add '?' to save over popup since it wasnt ↵Campbell Barton
totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
2012-07-25Implement operator to select linked data from outlinerSergey Sharybin
Supports selecting using object data, material and library. Would be nice to hide this menu item from menus appearing for datablocks which does not support such a selection, but that could be done separately.
2012-07-15"Fix" [#32033] In the execution result of with_automatic_weight, the ↵Bastien Montagne
difference is seen right and left. This auto/heat vgroup creation seems to be fuzzy/unstable (each run gives a slightly different result). I have not the competences (nor time) to investigate that laplacian stuff, so for now just adding an option when parenting to an armature with envelope/heat, to mirror weights along the X axis (as it is done by default when doing it from the Weight Paint mode).
2012-06-25Fixes for modifier data in multi-user meshes.Nicholas Bishop
When removing a skin or multires modifier, it skips deletion of the associated CustomData layer if the object has any other modifiers of that type. This check has been extended to all objects that use the object's data. Similarly, deleting higher multires levels and multires subdivision will not update the maximum level of any other multires modifiers on objects that link to the same mesh. Note that modifier_apply_obdata() doesn't need any changes as it does not allow applying to multi-user data. Object joining has also been modified to synchronize multires levels objects that share a mesh. This is needed because joining can subdivide or delete levels in order to match the maximum level of the join-from object to the join-to object. Fixes bug [#31880] instance multiresolution modifier error. http://projects.blender.org/tracker/index.php?func=detail&aid=31880&group_id=9&atid=498 Reviewed by Sergey: http://codereview.appspot.com/6332047/
2012-06-04mask mode for clip editor developed by Sergey Sharybin, Pete Larabell and ↵Campbell Barton
myself. see: http://wiki.blender.org/index.php/User:Nazg-gul/MaskEditor note - mask editing tools need continued development, feather option is not working 100%
2012-05-30split up proportional editing keymap functions (adding this in tomato branch ↵Campbell Barton
was messy)
2012-05-29Outliner Drag & Drop fixesDan Eicher
OUTLINER_OT_parent_drop * use scene of child instead of active scene * poll to check if parent and child are in same scene OUTLINER_OT_parent_clear * get scene from child instead of only working on active scene * poll to check if no parent OUTLINER_OT_scene_drop && OBJECT_OT_make_links_scene * memory leak on error * would only link some objects on error
2012-05-29OUTLINER_OT_scene_drop -- "Drag object to scene in Outliner" operatorDan Eicher
Refactored the two (well, three now) other places where an object is linked to a scene into ED_object_scene_link()
2012-05-27code cleanup: use const float and define array sizeCampbell Barton
2012-05-25Modifications to the view3d.select() operator: Nathan Vegdahl
1. Two new boolean options have been added to the operator: "deselect" and "toggle". 2. The previous behavior of "extend" (toggling the selection) has been moved to the "toggle" option. 3. "extend" now only extends the selection, it never deselects. 4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite of extend). 5. The built-in keymap has been changed to use "toggle" where "extend" was used before for this operator, to maintain the previous behavior in the default keymap. In short, this works towards making "extend" and "deselect" fully consistent across all selection tools (adding to and removing from selection, respectively), but still preserves the old behavior as well. (Patch reviewed by Brecht.)