c63dcaee07
small fix to mem release when using index method
2012-06-03 18:44:17 +00:00
512b35754e
Bugfix to bug from optimizing...
2012-06-03 17:16:50 +00:00
7b29489016
BVHTree usage optimized for transferring between meshes of 300k faces.
...
Mesh were the shape of a human.
Optimizing for anything less would not make sense because it happens ~instant
moving to 10 tree from binary tree increased speed by ~30%
initiating additional searches with the first increased speed by ~99%
Now function completes in less than two seconds on my amd 2,6ghz
2012-06-03 16:44:48 +00:00
0d42015671
Fixes to bugs that appeared during restructure.
2012-05-31 19:09:23 +00:00
be4d30bf8e
Bogus MEM_freeN removed and cleaned descriptions.
2012-05-27 18:05:10 +00:00
1dce081e2b
small cleaning
2012-05-27 17:47:21 +00:00
ea9655ce14
Fixed iterators.
...
Memory bugs persist...
2012-05-27 17:34:10 +00:00
bfd894b267
added mesh_get_derived_deform(scene, ob_act, CD_MASK_BAREMESH | CD_MASK_ORIGINDEX)
...
but now it crashes on:
a: <unavailable synchronous data> @0x9bc692c8
math_vector_inline.c 296
2012-05-27 15:57:43 +00:00
89cc1b2e50
GUI added, but crashes becasuse: ob_act / ob_src ->DerivedDeform == 0x0
2012-05-27 14:17:01 +00:00
6c41b326fe
style cleanup
2012-05-26 15:48:55 +00:00
25c7e8e128
bug fixes, review issue 6256058.
2012-05-26 15:27:21 +00:00
b4a229c43a
style edits
2012-05-26 14:31:34 +00:00
49b6867e0c
previous commit didnt build - add back enum and note that its a copy because of linking error
2012-05-26 00:41:11 +00:00
2c8a7ac756
svn merge ^/trunk/blender -r46930:HEAD
2012-05-25 17:52:51 +00:00
c2c2611faa
Restructuring code.
...
All functions merged into ED_vgroup_transfer_weight() to avoid duplicate code.
2012-05-24 20:03:09 +00:00
c4c75c33d0
Changed structure of the entire feature/code.
...
It should now work in 24 different ways depending on options.
Its not tested in depth yet...
2012-05-23 10:21:57 +00:00
6913e6dd54
Changed functions to check for select on destination instead of source
2012-05-21 18:15:12 +00:00
cc5582decb
Fixed SELECT comparisons
2012-05-21 17:39:56 +00:00
79031d35f1
Added support for replace_selected_weights in all weight transfer fucntions.
2012-05-21 17:00:08 +00:00
8521ca69fa
removed:
...
OBJECT_OT_vertex_group_copy_to_selected_single()
plan for future to implement option as an argument in:
OBJECT_OT_vertex_group_copy_to_selected()
2012-05-17 12:36:07 +00:00
044fd86a15
Some changes to structure as a response to review.
...
(I still havent adressed all issues.)
2012-05-17 12:15:39 +00:00
f4f5254100
cleanup: Style = adding spaces around operators.
2012-05-17 09:47:11 +00:00
daa4b41fb2
Fucntions adjusted to support options.
...
(still lacking feature for selected and option for all)
2012-05-17 08:10:19 +00:00
e7970575ef
bugfix (using _all not _single as postfix for functions);
2012-05-17 03:18:47 +00:00
506057c83b
Fixed readabillity of options framework by adding enums.
2012-05-17 03:15:39 +00:00
0978d1eb9d
Added framework for transfer weight options.
...
vertex_group_transfer_weight_exec() governs all.
Functions renamed/added with _transfer_weight_
as opposed to _copy_by_
This is to reflect changes in parameters and usage as the internal code will change.
2012-05-17 01:42:06 +00:00
f386587e27
Bugfix
2012-05-16 05:16:34 +00:00
9af6397b2d
Function for copying weights interpolated from faces complete!
...
ED_vgroup_copy_by_nearest_face_single()
2012-05-15 02:47:23 +00:00
90759d4243
svn merge ^/trunk/blender -r46559:HEAD
2012-05-15 01:28:12 +00:00
9331b5e92f
Projection onto face added for:
...
ED_vgroup_copy_by_nearest_face_single()
2012-05-13 08:16:41 +00:00
55e627d01e
Removed sqr_dist_v3v3()
...
Now using existing: len_squared_v3v3()
2012-05-13 05:57:32 +00:00
4bee0a42dd
Cleanup.
...
Basis changed/added for:
ED_vgroup_copy_by_nearest_face_single()
Interpolation is still not working 100%
2012-05-13 05:33:25 +00:00
4215071ace
Complete working function added:
...
ED_vgroup_copy_by_nearest_vertex_in_face_single()
2012-05-13 03:46:46 +00:00
7adeedfecc
ED_vgroup_copy_by_nearest_face_single()
...
Math for interpolation of weights fixed to be consistent with reality...
Still there is probably some indexing errors.
Some vertices that should have blue weight, gets red. (on border faces)
2012-05-12 17:43:56 +00:00
b7f4ea118c
obs! not thinking straight. Reverting bug from cleanup.
2012-05-12 03:50:44 +00:00
66f4f3a9f5
some more cleanup
2012-05-12 03:32:13 +00:00
097ebb0a63
ED_vgroup_copy_by_nearest_face_single()
...
excluded 4th vertex in faces for better result.
2012-05-12 02:13:26 +00:00
8d7de250f3
Tiny bit of cleaning.
2012-05-12 01:04:12 +00:00
c40d445ef7
ED_vgroup_copy_by_nearest_face_single()
...
Is supposed to work, but something funny is going on. (logick error)
Function also needs optimization.
2012-05-12 00:37:45 +00:00
f95f3d9697
Incomplete ED_vgroup_copy_by_nearest_face_single() compiles.
2012-05-11 21:33:24 +00:00
736c0ca6e0
svn merge ^/trunk/blender -r46463:HEAD
2012-05-11 19:26:43 +00:00
f61e50aa4e
it works!
...
Even it compiles some code might still not be implemented.
(I know the gui lacks).
2012-05-09 16:24:46 +00:00
f3230c7897
Second part of fix for [ #31157 ]: Some (actually, 172) operators have no tooltip.
...
About 30 undocumented ops remaining...
2012-05-05 17:10:51 +00:00
5da2135eef
code cleanup: double promotion & some style cleanup
2012-05-03 21:35:04 +00:00
a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
1b47e2678e
style cleanup: missed these from previous cleanup
2012-04-29 17:55:54 +00:00
e2c453b5f9
style cleanup: editors / mesh & object
2012-04-28 15:42:27 +00:00
ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
077cbaddf0
- remove unneeded len_v3v3 in bevel code
...
- remove dead assignments from vgroup-blend
2012-04-24 04:44:51 +00:00