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
2016-01-04Fix T47038: Particles in Particle Edit Mode get added in completely wrong ↵Bastien Montagne
location. It also fixes another issue (crash) related to symmetric editing. Quite involved, we (try to!) fix complete broken logic of parts of particle code, which would use poly index as tessface one (or vice-versa). Issue most probably goes back to BMesh integration time... This patch mostly fixes particle editing mode: - Adding/removing particles when using generative modifiers (like subsurf) should now work. - Adding/removing particles with a non-tessellated mesh (i.e. one having ngons) should also mostly work. - X-axis-mirror-editing particles over ngons does not really work, not sure why currently. - All this in both 'modes' (with or without using modifier stack for particles). Tech side: - Store a deformed-only DM in particle modifier data. - Rename existing DM to make it clear it's a final one. - Use deformed-only DM's tessface2poly mapping to 'solve' poly/tessface mismatches. - Make (part of) mirror-editing code able to use a DM instead of raw mesh, so that we can mirror based on final DM when editing particles using modifier stack (mandatory, since there is no way currently to find orig tessface from an final DM tessface index). Note that this patch is not really nice and clean (current particles are beyond hope on this side anyway), it's more like some urgency bandage. Whole crap needs complete rewrite anyway, BMesh's polygons make it really hard to work with current system (and looptri would not help much here). Also, did not test everything possibly affected by those changes, so it needs some users' testing & validation too. Reviewers: psy-fi Subscribers: dfelinto, eyecandy Maniphest Tasks: T47038 Differential Revision: https://developer.blender.org/D1685
2015-06-15Depsgrtaph: Adding shapekey should update relationsSergey Sharybin
This is needed for the new granular depsgraph, otherwise graph is not containing all the operations needed for proper update. And the same is actually needed onwhen removing shape key.
2015-06-08RNA: Object.shape_key_remove methodCampbell Barton
Python had no ability to remove shape keys Original D1169 from @lichtwerk, with edits
2015-05-04Cleanup: style & const'sCampbell Barton
2015-03-20Add missing update adding a shape-keyCampbell Barton
Noticeable when pin is enabled.
2015-03-19CleanupCampbell Barton
2015-03-16Refer to Task 43975: Deleting a Shapekey can break the relative pointersGaia Clary
This patch would reassign the relative of all keyblocks to the relative of the deleted keyblock. And it fixes the misalignement of the index values after the keyblock is deleted. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1176
2015-01-06Remove slurph shape-key featureCampbell Barton
This is an old option which wasn't working in over a year without complaint.
2014-11-17Cleanup: rename `BKE_key_convert/update` to `BKE_keyblock_convert/update`.Bastien Montagne
We are handling a keyblock here, not a whole key(set). Names are alreay a bit confusing, let's be consistent at least.
2014-11-10Fix: Shapekey Basis not updated on editmode exitCampbell Barton
2014-10-21ShapeKeys: rework 'move skey' code, and add options to move to first/last ↵Bastien Montagne
position. Main moving logic is moved to new `BKE_keyblock_move()`, which makes it available from anywhere. In addition, move code was reworked so that it only loops once on whole keyblocks list, and it accepts arbitrary org and dest indices, not only neighbor ones. Partly based on work by revzin (Grigory Revzin) in his soc-2014-shapekey GSoC branch, thanks!
2014-08-10Minor tweak to own previous shapekey_move commit.Bastien Montagne
2014-08-10Fix T41381: Moving shapes keys up/down, after last, they don't go to first ↵Bastien Montagne
(as Vertex Group). Was more a feature request actually, but anyway... Note this is a bit more complex than it's vgroups counterpart, since we have to handle relations between keys (relative keys, and position for absolute ones).
2014-05-19Fix T39897: shape keys created while the Relative checkbox is unchecked ↵Bastien Montagne
start out with frame=0 So! First, frame for absolute shape keys: never allow a new key to have the same pos as an existing one (this does not make sense). This way, the two workflows are possible (create all keys and then animate ctime, or animate ctime and then create keys where you need them). Also, fixed UIList for shapekeys, the "absolute" test was wrong, and better to show frame value, even though not editable, than nothing in case of absolute keys. And finally, add getter to RNA 'frame' readonly value, so that we output real frame values, and not dummy internal ones (which are /100) in our API.
2014-03-12Mesh API: rename 'octree' to 'spatial' since internally its using kdtreeCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-15Python/Depsgraph: bpy.data.*.is_updated now detects add/remove of any datablock.Tom Edwards
Previously this only worked for some datablocks relevant to rendering, now it can be used to detect if any type of datablock was added or removed (but not yet to detect if it was modified, we need many more depsgraph tags for that). Most of the changes are some function parameter changes, the important parts are the DAG_id_type_tag calls. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D195
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-10-15Added poll function to disable "Remove Shape key from object".Jonathan Williamson
This disables the "-" button when no shape keys exist on the currently selected object. Thanks to Campbell for the help on my first real commit!
2013-06-28Fix #35551: the topology mirror setting affected shape key and vertex group butBrecht Van Lommel
this was confusing as there was no setting visible for it. Now these menus contain an entry to mirror without and with topology mirror.
2013-06-24lattice: use functions rather then defines, also added a function to get uvw ↵Campbell Barton
from an index. - BKE_lattice_index_from_uvw() - BKE_lattice_index_to_uvw()
2013-06-05add option to remove all shape keys at once (access from shape key menu on ↵Campbell Barton
panel). Without this there was no easy way to get a WYSIWYG copy of a mesh that had shape keys, since removing them would adjust the mesh.
2013-06-05changes to mirror toolsCampbell Barton
- give feedback on how many mirror verts succeed/fail (for select mirror, shape key mirror, weight mirror) ... when a mirror failed it was confusing and not obvious what was going on. - slight change to select mirror, now center vertices will remain selected. - speedup to EDBM_verts_mirror_cache_begin, cache customdata layer offset.
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-09fix for 2 errors introduced since releaseCampbell Barton
- shape key NULL pointer dereference. - use uninitialized variable for bmesh free. also update credits and merge dissolve flag assignment.
2013-05-08Fix #35093: New Basis shape key doesn't act as BasisSergey Sharybin
Made it so Move Shape Key ensures first key is a refkey, so now it's possible to change basis key from the interface. It's still needed to manually teak key's relative_key, not sure whether there's a reliable automated way to tweak this value when bassi key is changing.
2012-11-25code cleanup: warnings, styleCampbell Barton
2012-10-23style cleanup: also rename bmesh_decimate.c --> bmesh_decimate_collapse.cCampbell Barton
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-05-27code cleanup: defines with braces - end with '(void)0' so callers must end ↵Campbell Barton
with ';' like normal function. ... without this some editors dont parse the source so well.
2012-05-05Second part of fix for [#31157]: Some (actually, 172) operators have no tooltip.Bastien Montagne
About 30 undocumented ops remaining...
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-28style cleanup: editors / mesh & objectCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-12code cleanup: remove unused KeyBlock.adrcodeCampbell Barton
2012-04-05there was no way to reset timing for absolute shape keys, add an operator to ↵Campbell Barton
do so.
2012-04-05adding shape key blocks to absolute shape keys would not set the position ↵Campbell Barton
(which is odd since its the only time they are used). also re-sort the shape keys after adding them in for absolute keyblocks.
2012-04-05fix for error moving absolute shape keys up/down (their position would ↵Campbell Barton
become out of order)
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell 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-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…
2011-06-06fix [#27572] Mirror Shapekey and Mirror vertex Group not working for Lattice.Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory