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
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.)
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-02-22Fix #30231: Drag and Droping Parenting from Outliner giving unnecessary Loop ↵Sergey Sharybin
Error In fact, error was much deeper and DND parenting in outliner used to parent all selected objects to drop target, not just currently dragging object. This was caused by code sharing between Parent Set operator and this DND operator which was iterating all selected objects in scene and was setting parent to it. Solved issue by separating actual parenting code which makes specified object be parented to specified parent and moved iterating to Parent Set exec callback. Now both of discovered issues (unneeded loop error and parenting all selected objects) are solved, but more extensive testing of this changes are welcome.
2012-02-18svn merge ^/trunk/blender -r44189:44204Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-22svn merge ^/trunk/blender -r43564:43609Campbell Barton
2012-01-22Patch [#27790] Drag and drop parenting in outlinerJoshua Leung
Submitted by Perry Parks (scuey) From the patch: This patch enables drag and drop parenting for objects in the outliner. Drag and drop is supported for a selection of multiple objects as well. Also, all of the "special" parenting tasks (armature, curve, lattice) are possible through the usual parenting context menus. For example, drag a mesh object onto an armature and you are prompted for using bone envelopes, automatic weights, etc. Demonstration on Vimeo: http://vimeo.com/25698606
2012-01-03svn merge ^/trunk/blender -r43062:43085Campbell Barton
2012-01-02replace:Campbell Barton
CTX_data_pointer_get_type(C, "object", &RNA_Object).data with api call: ED_object_context(C) ... since getting the context object is such a common operation.
2011-12-05syncing some minor formatting edits from bmesh branch.Campbell Barton
2011-11-23svn merge ^/trunk/blender -r42080:42095Campbell Barton
2011-11-23Fix compilation error of blenderplayer caused by recent commit.Sergey Sharybin
2011-11-23Added method clear to most of collections which supports new/remove.Sergey Sharybin
This method not added to animation-specific structures yet/
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-11svn merge -r40075:40104 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-10fix for building with collada and some other warningsCampbell Barton
2011-08-11svn merge -r39057:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-08fix [#28178] make single user copy of object data doesn't workCampbell Barton
2011-05-13svn merge -r36603:36651 ↵Campbell Barton
https://svn.blender.org/svnroot/bf-blender/trunk/blender \nwith some manual edits
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-05-09=bmesh= merge from trunk at r36529Joseph Eagar
2011-05-01=bmesh=Joseph Eagar
Fixed some bugs with mesh primitive add operators. Suzanne now faces forward, instead of down. Cylinder and circle both now work. Cone lets you adjust the diameter at both ends now. I also reorganized the walker code, to be more maintainable and understandable.
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-02-21doxygen: editor entryNathan Letwory
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.