0ac1424264
Bugfix: [ #33513 ] Transfer weights mixing up.
...
Removal of this line fixed the bug.
But!
I suspect it opens up for an excaption.
I will try to identify the exception and handle it in a different way.
2012-12-15 20:32:32 +00:00
114459e7f6
Pure style cleanup.
2012-12-15 19:56:25 +00:00
dd2d54bae9
Use own list of actions for Vertex Group Lock operator instead of reusing Select All actions.
...
Previous actions and descriptions were confusing, e. g. UnLock All used the description of Deselect All.
2012-12-12 10:21:24 +00:00
a2bf2ba7df
Fix transfer weight tool enum properties all showing question mark icons,
...
these should have no icons.
2012-11-30 18:54:56 +00:00
748216ad3d
Fix #33296 : uv editing did unnecessary outliner redraw, giving slowdown.
2012-11-25 06:55:39 +00:00
d94b2efbb9
disable applying constructive modifiers when in sculpt mode with multi-res data, since this would crash.
...
also rename modifier_sameTopology -> modifier_isSameTopology(), modifier_nonGeometrical -> modifier_isNonGeometrical()
2012-11-13 14:21:55 +00:00
140d382cee
fix [ #33143 ] Exporter crash since 2.64
2012-11-13 06:57:07 +00:00
a31449edad
all remove functions now invalidate the RNA objects passed, to help script authors to avoid bugs with accessing removed data.
2012-11-02 09:41:26 +00:00
aeba4950c3
style cleanup
2012-10-27 10:42:28 +00:00
c9dade4fe0
Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26 17:32:50 +00:00
0e494b74c4
style cleanup
2012-10-26 04:14:10 +00:00
fec81d9b56
use min_ max_ functions in more places.
...
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-23 16:21:55 +00:00
26d0492653
A final bunch of UI messages fixes and tweaks, and some BKE_report()<->BKE_reportf() fixes.
2012-10-21 14:02:30 +00:00
d599b643b7
style cleanup: bge, switch statements mostly.
...
also left bmesh decimator on in previous commit.
2012-10-21 07:58:38 +00:00
c56a911cd9
style cleanup: comments
2012-10-20 20:20:02 +00:00
b7f4c69ef7
More UI messages and BKE_reportf->BKE_report fixes...
2012-10-14 15:29:09 +00:00
67e2768570
quiet some -Wshadow warnings
2012-10-12 14:35:10 +00:00
57004cfb5a
style cleanup:
...
also add helper makefile targets:
* tbz - makes a tar.bz2 of an svn export
* test_style_qtc - outputs style checks in qtc task format.
2012-10-10 23:44:07 +00:00
495e3f3f36
Its silly to use "verify index" because it will add non existing and remove them afterwards.
2012-10-10 08:50:56 +00:00
89969a07f0
Changing clear weight code from "assigning 0" to "removing".
...
Its less efficient but better practice.
+ Some style clean.
2012-10-10 08:29:13 +00:00
d81d75b20d
transfer weight's now operates on selected vertices (when vertex select is enabled).
2012-10-09 22:55:05 +00:00
35504d627b
style cleanup: also made functions static
2012-10-09 12:41:37 +00:00
cb42de588d
Adding weightpaint transfer tool.
...
From: https://svn.blender.org/svnroot/bf-blender/branches/meshdata_transfer
Bachelor project at Narvik university collage (Norway).
By Ove M Henriksen (Cyborgmuppet)
Thesis will be published at Cyborgmuppets blender page.
Thanks for letting me participate!
2012-10-09 12:25:10 +00:00
ec689d650d
Fix based on code review Issue 6347064
2012-10-09 11:29:29 +00:00
8730b390fb
patch [ #31919 ] limit the number of bone deform weights per vertex. Many game engines require a limit of 4.
...
from Kesten Broughton (kestion)
Usage: In weight paint mode, select the mesh to have its weights culled. Click on "Limit Weights" button. A sub-panel will appear "Limit Number of Vertex Weights" with a slider field "Limit" which you can set to the appropriate level. The default level is 4, and it gets executed upon pressing "Limit Weights" so you will need to do an "undo" if your max bone limit is above 4. The checkbox "All Deform Weights" will consider all vertex weights, not just bone deform weights.
2012-10-09 10:56:35 +00:00
7247af6af5
svn merge ^/trunk/blender -r48592:HEAD
2012-10-09 10:53:20 +00:00
aa2d84da37
style cleanup:
...
also remove some redundant conversions int -> short -> int
2012-09-09 00:00:21 +00:00
99fcec3334
fix [ #29431 ] "Normalize All" from Weight Tools don't work correctly
2012-09-05 04:16:09 +00:00
dbdd1bb4f2
remove vertex groups from a mesh or lattice when this there are no remaining vertex groups. This was dont in edit-mode but not object-mode.
2012-09-03 00:02:13 +00:00
78c181fafc
Fix part of #32376 : mirror vertex groups with flip group names did not keep
...
the same vertex group active.
2012-08-31 13:43:56 +00:00
dd21def25d
fixed [ #32373 ] Copy Vertex Group operator copies any value as full 1.0
2012-08-21 15:57:59 +00:00
e9caa21830
fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs.
2012-08-17 14:43:20 +00:00
62a73381a7
use fabsf when using floats.
2012-07-21 15:27:40 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
30085e5ea9
response to code review:
...
http://codereview.appspot.com/6301100/diff/1/source/blender/editors/object/object_vgroup.c
2012-07-04 16:30:12 +00:00
370901890a
Its now overwriting properly by clearing weights when using replace_mode all.
...
Reason for not going for suggested "else" on copy in each case is that it would present a paradox.
(it would delete weights that got created in some instances)
2012-06-19 19:15:59 +00:00
622ae0a1ca
clenaup.
2012-06-19 18:26:55 +00:00
51036b3186
Fixed better check for Mface.v4
2012-06-19 16:23:52 +00:00
873b267029
cleanup for bwetter naming
2012-06-19 09:52:16 +00:00
07aaf356f7
Error reporting added.
...
Note that when changing to optional methods that fails, it fails silently still.
Might have to adress this.
2012-06-19 02:23:31 +00:00
32992cabe7
Bugfix to if statement always reporting true
2012-06-19 01:19:44 +00:00
fcb650a154
Fixed loop instead of one liners for interpolate over face method mode.
2012-06-19 00:35:39 +00:00
56ebb0b4a8
style cleanup fixed indents (I belive!?!)
2012-06-18 19:59:15 +00:00
3253716183
Bugfix: no longer crashes when MDefomWeight is not fond on source.
2012-06-18 19:32:45 +00:00
108d157254
Changed naming of "option" to "mode".
...
No longer using defvert_verify_index() but defvert_find_index().
Changing function created error wehn not found. Must be adressed.
2012-06-18 17:11:53 +00:00
bf3d0ca8da
svn merge ^/trunk/blender -r47023:HEAD
2012-06-17 04:14:44 +00:00
9d32423f3e
Bugfix: no longer crashes when dverts does not exist on source.
...
Added release for derivedmesh.
2012-06-11 22:58:49 +00:00
995b9d5e8d
style cleanup fixed naming
2012-06-11 20:32:34 +00:00
340e156a2f
Bugfix: No longer crashes when there is no dverts on target mesh from before.
2012-06-11 19:31:22 +00:00
5414ea4701
Fixed naming from "single vertex group" to "active vertex group"
2012-06-06 23:21:45 +00:00