5fc8393dee
Moved 'vgroups exist' check into operator poll functions of weight tools
2013-07-04 08:47:42 +00:00
70dc1d8cb6
stop adding groups from changing the active group with weight transfer, add BKE_defgroup_new function.
2013-07-04 03:56:18 +00:00
374383997c
fixes/edits to wright transfer
...
- poll function now checks for a mesh.
- other selected lattices would crash, check for meshes there too.
- better reporting when transfer fails.
- remove feature to sync with active bone after transfer, other tools don't do this (we could make into a generic function if its needed).
2013-07-03 21:29:30 +00:00
bbfc3c6cee
Fix #35992 : crash using make links > animation data between empty and mesh object.
2013-07-03 20:37:09 +00:00
7eed4d5c4f
Fix Weight Paint(Weight-Transfer): active vgroup does not match active bone when new vgroups where created during transfer
2013-07-03 20:31:38 +00:00
3181c4ecd5
Fix #35935 : make links > groups, which copies group membership between objects,
...
would also copy object dupligroups (next item in the menu).
2013-07-03 17:16:24 +00:00
d6c14ed855
Fix #35964 : viewport render not updating with linking materials with ctrl+L.
2013-07-02 17:21:40 +00:00
3d845b4a17
move api functions from r57909 into BKE.
2013-07-01 20:27:03 +00:00
11145c7c22
Restrict Weight Edit Panel to mesh/lattice Edit and Weight Paint vertex selection mode
2013-07-01 19:30:41 +00:00
4f3f95751a
Bugfix [ #35936 ] Can't create new vertex group when using Ctrl G menu
...
This was caused by r.57812
There were two problems here:
1) vertex_group_vert_select_unlocked_poll() had faulty logic which meant that
it always failed when there were no vgroups present yet - the final return
always just fell through
2) Since the "Assign to New Groups" option was actually implemented using the
same operator as "Assign to Active Group" (just with an extra parameter set), if
the active group was locked, it was not possible to "Assign to New Group" (even
though a new group would not be locked).
2013-07-01 13:02:53 +00:00
32d5b52f59
re-arrange '--help' output into more useful sections (added debug, python).
...
also minor style cleanup
2013-06-29 10:09:15 +00:00
62ab3baea4
replace LATTICE_PT macro with BKE_lattice_index_from_uvw().
2013-06-28 21:24:38 +00:00
f55ef8b3fc
fix regression since early 2.5x, there was no way to copy library linked objects.
2013-06-28 19:33:58 +00:00
24e8f2f4ce
fix for crash linking fonts to other objects with linked obdata (link, undo would crash).
2013-06-28 18:39:39 +00:00
77e0709e48
Fix #35551 : the topology mirror setting affected shape key and vertex group but
...
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-28 17:13:09 +00:00
3370b765ec
fix [ #35901 ] Hooks on armature bones are calculated in wrong space
2013-06-28 06:00:38 +00:00
e2e487a877
Fix: Check for locked Vertex Group (returned true where false was expected)
2013-06-27 18:23:03 +00:00
73fcfd8651
fix for memory leak in vgroup_copy_active_to_sel
2013-06-27 17:11:23 +00:00
763a737fcc
Changed Tool Tip for clarity
2013-06-27 07:03:40 +00:00
821c02ddb7
Added checks to Vertex Groups panel to respect locked Vertex Groups
2013-06-27 06:33:01 +00:00
d574fb95ad
fix for recently added active-vertex weight operators crashing on lattice objects in edit mode.
2013-06-27 05:39:02 +00:00
3f2ecdcd42
use common suffix's for exec/poll functions in recently added vertex-group operators.
2013-06-27 04:41:04 +00:00
dc16faaaaf
Added checks to vertex Weight editor to respect locked Vertex Groups
2013-06-26 22:29:31 +00:00
fad1da062d
correct typos in comments.
2013-06-25 22:58:23 +00:00
b52d01dea6
Rename operator for better clarity
2013-06-25 22:28:20 +00:00
02bcfa1950
new weight operators had zero min/max range for the 'weight_group'
2013-06-25 10:40:15 +00:00
1a55b53375
lattice: use functions rather then defines, also added a function to get uvw from an index.
...
- BKE_lattice_index_from_uvw()
- BKE_lattice_index_to_uvw()
2013-06-24 13:45:35 +00:00
bc79e226ee
de-duplicate ED_mesh_active_dvert_* functions.
...
not to devs - please don't just copy static functions around, make them api calls and add to headers.
2013-06-24 04:41:03 +00:00
70fd2320c8
Added polished Vertex Weights Panel (properties sidebar)
2013-06-23 15:37:08 +00:00
972c01ac0c
remove NULL checks for return values from EDBM_***_at_index calls.
2013-06-20 07:00:57 +00:00
1ed8343d6d
add axis option to EDBM_verts_mirror_cache_begin
2013-06-19 21:23:00 +00:00
2091eca962
Usual UI messages style edits...
2013-06-17 10:01:35 +00:00
e26fb9a69e
Rephrased error message for clarity
2013-06-13 14:17:02 +00:00
1d1bf3b2ba
prepared local vgroup selection function for more general usage
2013-06-12 09:52:37 +00:00
568f0c70c1
Fix #35704 : Simplify on scene with dupli recursion crashes
...
Couple of issues here:
- User shouldn't be able to run into dupligroup recursion.
It was checking already when setting a group for dupli.
Added check to operator which adds object to group.
- It's still possible files with recursion are hanging around,
so made simplify function robust to such kind of crap.
2013-06-11 11:21:16 +00:00
b1fb86cbe7
Fix bug in vertex group code after recent changes, did not do proper NULL
...
pointer check.
2013-06-10 11:08:39 +00:00
eabb30a236
patch [ #35631 ] Active element for Lattice
...
by Kevin Mackay (yakca)
Was one of our TODO's from the wiki.
2013-06-09 20:28:08 +00:00
a6b505ef0b
style cleanup
2013-06-06 06:02:46 +00:00
5f0731dc8d
add option to remove all shape keys at once (access from shape key menu on 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-05 06:34:18 +00:00
666c8b51ca
changes to mirror tools
...
- 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-06-05 05:58:51 +00:00
6d9fcdf983
Added 'clear active group' to object data properties -> Vertex Groups -> pulldown menu
2013-06-04 22:30:41 +00:00
2230794e73
yet another check for missing vertex groups needed (for 'Select/Deselect')
2013-06-04 21:54:16 +00:00
c630435b3c
fix own error with removing vertex weights not checking for non-existing weights.
...
however this exposed some other odd behavior.
removing a vertex group would add one if not found but only for meshes, not lattices.
now just skip removal if not found.
2013-06-04 19:37:18 +00:00
902976e012
Fix #35378 : Shape Key Animation Data still linked when creating full copy of scene
...
Two issues were found:
- Mesh/Curve/Lattice kay blocks weren't copying their actions
when making object data local. This lead to object data using
diffrent AnimData structures which were using the same action.
- Copying actions shall happen after object object data was
localized. This is so because otherwise we'll copy actions
for original AnimData, not for copied one.
Reviewed by Joshua, thanks!
2013-06-03 12:28:46 +00:00
7bb1279279
fix [ #35489 ] mode_set() not working in background mode, Scene change doesn't change mode either
2013-06-02 22:21:45 +00:00
e99801dc70
fix for confusion switching active group when running mirror (would swich back when toggling editmode if a pose bone was selected).
2013-05-29 01:28:55 +00:00
7325919323
tweaks to vertex weight limit
...
- double check def_nr is valid (rare cases it is).
- usability, report how many weights are removed.
2013-05-29 00:00:24 +00:00
c1619a528c
fix for own mistake in recent change to use defvert layer offsets.
2013-05-28 23:13:04 +00:00
04d54f89d2
Correction for strict compiler flags.
2013-05-28 20:19:38 +00:00
225c5fee6b
move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)
...
remove MEM_sys_types.h which was a duplicate.
2013-05-28 19:35:26 +00:00