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-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-06Alternate fix for bug [#34369], where invalid polygon normals could be saved ↵Campbell Barton
in the mesh data and in the file. This was from initial BMesh merge, but should not have been added in since face normals are calculated and stored in the DerivedMesh. Toggling editmode would remove poly-normals so its unlikely anything relies on this custom-data.
2013-03-04fix [#34369] applying screw modifier turns object to blackCampbell Barton
2013-02-22patch [#34103] - listbase.patch, insertlinkbefore.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) notes from tracker: use bool for return type from BLI_remlink_safe, necessitating including BLI_utildefines.h in BLI_listbase.h get rid of duplicate BLI_insertlink, use BLI_insertlinkafter instead. A few places which were using BLI_insertlinkafter (actually BLI_insertlink), when it would be simpler to use BLI_insertlinkbefore instead.
2013-02-22code cleanup: remove unused argCampbell Barton
2013-02-21Dependency Graph: some refactoring which should have no user visible impactBrecht Van Lommel
besides performance in some cases. * DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in most cases. This will clear the dependency graph, and only rebuild it right before it's needed again when the scene is re-evaluated. This is done because DAG_scene_sort is slow when called many times from python operators. Further the scene argument is not needed because most operations can potentially affect more than the current scene. * DAG_scene_relations_update will now rebuild the dependency graph if it's not there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare cases that need it. * Remove various places where ob->recalc was set manually. This should go through DAG_id_tag_update() in nearly all cases instead since this is now a fast operation. Also removed DAG_ids_flush_update that goes along with such manual tagging of ob->recalc.
2013-02-10Ensure that mask layer exists in sculpt mode after multires subdivideNicholas Bishop
Sculpt mode requires mask customdata layer for multires and ensures it exists on entering sculpt mode. However, sculpt mode only considers multires to be active if the level of subdivision is not zero, so it does not add mask for unsubdivided multires meshes. If the multires mesh is subdivided while in sculpt mode, no mask was present leading to weird drawing and crash on use of the mask brush. Fixed by doing the same thing in multires_subdivide_exec() that is done in ED_object_modifier_add(), which is to check if sculpt mode is active and add mask layer if so. Fixes [#34190] Viewport artifacts when using Multiresolution modifier projects.blender.org/tracker/index.php?func=detail&aid=34190&group_id=9&atid=498
2012-11-13disable applying constructive modifiers when in sculpt mode with multi-res ↵Campbell Barton
data, since this would crash. also rename modifier_sameTopology -> modifier_isSameTopology(), modifier_nonGeometrical -> modifier_isNonGeometrical()
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-16More UI messages and BKE_reportf<->BKE_report fixes...Bastien Montagne
2012-10-01mask data is no longer automatically added when sculpting (except when there ↵Campbell Barton
is a multi-res modifier).
2012-09-20Fix #32596: bones in armature created from skin modifier have wrong envelopeBrecht Van Lommel
values.
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-09-12add clarification, without this the tool reads as if it makes the radius of ↵Campbell Barton
each selected vertex equal.
2012-08-19Fix crash when adding skin modifier to empty meshNicholas Bishop
Fixes bug [#32362] SIGSEGV when adding skin modifier to empty mesh projects.blender.org/tracker/?func=detail&atid=498&aid=32362&group_id=9
2012-08-18Fix incorrect error test when removing a modifierNicholas Bishop
r49989 had the test reversed
2012-08-18Fix reversed names in modifier-remove error reportNicholas Bishop
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-08-15fix for missing change to fluidsim from last commit and name jobs a more ↵Campbell Barton
useful name - 'wm_job'.
2012-08-15add wm job types they are not used yet, so this just defines them for new ↵Campbell Barton
jobs add add argument to search by job type.
2012-08-12code cleanup: WM naming conventionsCampbell Barton
2012-08-08code cleanup: rename G.afbreek --> is_break, G.rendering --> is_renderingCampbell Barton
2012-08-04style cleanupCampbell Barton
2012-08-01fix some more crashes when running skin operators on a mesh with no skin layerCampbell Barton
2012-08-01fix for crash in 'Skin Armature Create' when the mesh doesnt have any skin data.Campbell Barton
2012-07-29style cleanupCampbell Barton
2012-07-08style cleanupCampbell Barton
2012-07-01style cleanup: commentsCampbell Barton
2012-06-30mark modifier operators that only work in the UI as internal, otherwise this ↵Campbell Barton
causes some confusion when they do nothing when accessed from the spacebar search menu.
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-08Fix #31743: Applying Smooth modifier to a curve crashes BlenderSergey Sharybin
Actually there were two different issues involved here: - Recently enabled Smooth modifier wasn't actually designed for curves, so it in fact requires a bit bigger work to make it working. For now added check for object's typy in this modifier and if it's not mesh, it wouldn't try to use edges. The reason why it worked in 3d viewport is that creating DM from curve while displist is still ocntrcuting for would result in empty CDDM and that leads to not taking edges into account, only vertexCos passed to modifier would be used. This makes it behaving a bit differently from if it was a mesh, but still gives quite reasonable result. Would leave actual fix for a guy who enabled smooth modifier. - Another issue is related on ensuring sculpt mask layer after applying modifier. This shall happen only for meshes.
2012-05-27Delete skin customdata if all skin modifiers are removed.Nicholas Bishop
Fix for bug [#31604] "Skin Modifier - Mark Root Bug?" Essentially the same as multires customdata deletion.
2012-05-25Animation playback: now all windows are update during playback, rather thanBrecht Van Lommel
just the active window.
2012-05-22style cleanupCampbell Barton
also fix example for mesh uv's
2012-05-22style cleanup: relating to skin modifierCampbell Barton
2012-05-22Add operator to extract armature and vertex groups from skin.Nicholas Bishop
* The operator creates bones for each input edge (does not subdivide them like the skin operator does), adds a fake root bone for skin roots with multiple children. * The operator adds vertex weight groups to the original mesh. * Make copy_object_transform() public, used to match the armature object to the mesh object. Skin modifier documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-22Add skin vertex operators.Nicholas Bishop
* Add operator to mark selected vertices as skin roots. * Add operator to mark/clear selected vertices as loose. * Add operator to equalize skin radii. Skin modifier documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-22Ensure skin nodes get created when adding modifier.Nicholas Bishop
Skin modifier documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-20use utf8 functions for new modifier namesCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-11style cleanup: mainly sculpt/whitespaceCampbell Barton
2012-05-11Ensure mask layers are always present in sculpt mode.Nicholas Bishop
2012-05-09Refactor of modifiers' apply function: now use a single bit-flag parameter ↵Bastien Montagne
to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag! Should have no effect over modifier behavior.
2012-05-07Style cleanup: displist moduleSergey Sharybin
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-04-30style cleanup: re - ↵Campbell Barton
http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros