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
2011-04-23Fix #26959: change selection of shapekeys in edit mode causes mesh deformity ↵Sergey Sharybin
of a key Vertex offset, which was used to update referenced keys was calculating between editmesh (which represents shapekey data) and base mesh (ob->mesh) which represents Bases key. This commit fixes bug with incorrect ofsset calculation for case when some keys got other (not Basis) keys as relative key by calculating offset using EditMesh (new shapekey data) and keyblock data (which was used to create EditMesh when entering edit mode). This commit shouldn't lead to regressions, but maybe there's something else which should be fixed for such kinda complicated cases -- more testing would be welcome.
2011-04-04fix [#26765] seperate selection removes all seams from the new /seperated ↵Campbell Barton
object. patch from Sergy to copy the draw flags, also copy smooth threshold and other flags todo with editing / draw settings.
2011-03-28- quiet new warnings with gcc 4.6Campbell Barton
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-11Fix #26039: Relative Shapkeys have wrong coordinates after inserting verticesSergey Sharybin
There was invalid memory access for newly created vertices. Added checking of keyindex value when calculating verticies offsets.
2011-02-07remove mat_nr from MVert struct, saves 4 bytes per vertex.Campbell Barton
used to be used for halo's
2011-01-30Total displacement levels should be set in multires_topology_changedSergey Sharybin
2011-01-13Bugfix #25614Ton Roosendaal
Reporter saw weird fgons and edge creases on spin-mesh. Appeared that the edge-flag copying code happened after freeing edges. Already since May 2007 or so... weird! Also in this commit a couple of simple cleanups.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-05remove ED_retopo.hCampbell Barton
2011-01-02New customdata layer callback: validateSergey Sharybin
Used to validate displacement allocation size after face copying to match face vertex and displacement corners count.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
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.
2010-11-15creating the editmesh structure was running paint_facesel_test() for every ↵Campbell Barton
vert and selected face. not so efficient, check once.
2010-11-04Fix #24388: multires base meshSergey Sharybin
- MDisp should be re-allocated if face changed amount of vertices - Allocate disps array in layerSwap_mdisps to prevent loosing all highres data
2010-10-23fix for implicit declarationCampbell Barton
2010-10-23Fix #24363: trying to separate mesh with shape keys didn't display warningBrecht Van Lommel
when it failed due to there being shape keys.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-09-17Fix #23869: outliner not updated correctly/instantlySergey Sharybin
Added ND_OB_SELECT notifier to separate operator. Selected objects aren't actually changing, but there is no existing ND which could be used for outliner update.
2010-08-10header re-shuffle, some headers contained unneeded refereces to other ↵Campbell Barton
headers, better include inline with the C files that need them
2010-08-08remove unused includesCampbell Barton
2010-08-012.5: code changes to reduce the usage of G.main and pass it alongBrecht Van Lommel
or get it from the context instead.
2010-06-14separate loose parts was hanging on hidden vertsCampbell Barton
2010-06-06finish cleanup to cmake editors, also removed some stuff from scons thats ↵Campbell Barton
not needed.
2010-04-24warning cleanup, also made voxel.c and volumetric.c use BM_INLINE define ↵Campbell Barton
rather then having their own ifdefs in each file.
2010-03-31svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 ↵Campbell Barton
-r27875:27895
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-05active face was incorrectly set on entering editmode.Campbell Barton
2010-02-02editing the basis shape now updates others when relative is enabled.Campbell Barton
2010-01-30bugfix [#20740] Separate All Loose PartsCampbell Barton
2010-01-26Fix Blend From Shape having no effect after exiting edit mode.Brecht Van Lommel
Also added a UI string for mesh selection mode property to show up in undo stack.
2010-01-19set teh active face on entering editmode to the last selected, visible face ↵Campbell Barton
(if unset)
2010-01-16generic operator menu was searching for "type" and using the first enum ↵Campbell Barton
property if it wasnt found. this is too arbitrary and could break if roperty order is changed. store the property in the operator type that is to be used for menu and enum search func's. python function for searching operator enums on invoke. (just need dynamic python enums now) wm.invoke_search_popup(self)
2009-11-26Editmesh undo: restore selection counts after undoMartin Poirier
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-05was setting the active material on exit editmode rather then enterCampbell Barton
2009-10-22Shape KeysBrecht Van Lommel
Active shape key can now be changed while in edit mode. This is based on exit/enter editmode again in the background, which is not ideal, as that loses the undo history. But that already happened anyway when you did exit/change-active/enter manually.
2009-10-22Shape KeysBrecht Van Lommel
Internal change to not apply the shape keys to the Mesh vertex coordinates, but rather use it as part of the derivedmesh/displist evaluation. This only has one practical advantage right now, which is that you can now make a linked duplicate and pin it's shape key to a different shape than the first object. Further, this makes shape keys correctly fit into the modifier stack design, which will help implement some other features later. Also it means the mesh vertex coordinates are now really the orco's.
2009-10-15Bugfix: editing shape keys in edit mode would not work correctBrecht Van Lommel
when blending shape keys.
2009-10-12remove OB_RADIO, added function by mistakeCampbell Barton
2009-10-11bugfix for exitmode verts being unselectable. caused by ↵Campbell Barton
view3d_project_short_clip/noclip being used by selecton code outside of object drawing (which isnt supposed to happen according to view3d_project_short_* comments). Deal with this by adding ED_view3d_init_mats_rv3d(ob, r3d) which initialized the region mat's and is used in mesh_foreachScreenVert, mesh_foreachScreenEdge etc.
2009-10-10Bugfix: separate mesh did not preserve UV/Color layers.Brecht Van Lommel
2009-10-08separate material lost all materials for the new meshCampbell Barton
2009-10-07Making new faces (fkey, scanfill etc) didnt create faces with the active ↵Campbell Barton
material. Keep the editmesh material and active material in sync
2009-09-052.5Brecht Van Lommel
Notifiers --------- Various fixes for wrong use of notifiers, and some new notifiers to make things a bit more clear and consistent, with two notable changes: * Geometry changes are now done with NC_GEOM, rather than NC_OBJECT|ND_GEOM_, so an object does need to be available. * Space data now use NC_SPACE|ND_SPACE_*, instead of data notifiers or even NC_WINDOW in some cases. Note that NC_SPACE should only be used for notifying about changes in space data, we don't want to go back to allqueue(REDRAW..). Depsgraph --------- The dependency graph now has a different flush call: DAG_object_flush_update(scene, ob, flag) is replaced by: DAG_id_flush_update(id, flag) It still works basically the same, one difference is that it now also accepts object data (e.g. Mesh), again to avoid requiring an Object to be available. Other ID types will simply do nothing at the moment. Docs ---- I made some guidelines for how/when to do which kinds of updates and notifiers. I can't specify totally exact how to make these decisions, but these are basically the guidelines I use. So, new and updated docs are here: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/NotifiersUpdates http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataNotifiers
2009-08-29Point cache editing:Janne Karhu
- Baked point caches for particles, cloth and softbody can now be edited in particle mode. * This overwrites the old cloth/sb cache editmode editing. * The type of editable system is chosen from a menu. * For particles the current particle system and it's current cache are used. - Currently this only works for caches that are in memory, but some automatic conversion from disk to memory and back can be implemented later. - All tools from hair editing can't be applied to point caches and are hidden in the tool panel and specials menu. Some functionality like subdividing paths can be later implemented in a slightly different way from how it works for hair. - Code is not yet optimized for speed, so editing might be slow sometimes. Known issues: - Cloth doesn't update properly while in particle mode, due to the way cloth modifier currently works. Daniel can you check on this? - As "particle mode" is not only for particles any more some other name would be in place? - Better icons are needed for the path, point, and tip-modes as the current icons from mesh edit mode are quite misleading. - Direct editing of point velocities is not yet implemented, but will be in the future. Other changes: - Hair editing doesn't require a "make editable" button press any more. - Multiple caches in single particle system disables changing emission properties. - Unified ui code for all point cache panels. * Defined in buttons_particle.py and imported for cloth, smoke & softbody. - Proper disabling of properties in ui after baking point caches. (Daniel could you please make needed disable code for smoke panels as their functionality is not familiar to me.) - Hair weight brush has been removed. Once hair dynamics is re-implemented I'll code a more useable alternative to the functionality. Bug fixes: - Unlinking particle settings crashed. - Deleting the active object with particles in the scene crashed. - Softbody didn't write point caches correctly on save.