f9043865a2
Disable setting non-object actions as the action used by the Action Constraint
...
(... I could've sworn there used to be some dynamic enums for filtering actions
by root type)
2012-05-17 10:28:30 +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
9dd981a440
style cleanup: block comments
2012-05-16 23:37:23 +00:00
f386587e27
Bugfix
2012-05-16 05:16:34 +00:00
ed33320e3f
Code cleanup: simplify standard GHash creation.
...
Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.
GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);
Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.
2012-05-16 00:51:36 +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
f964292630
fix geometry to origin in mesh editmode - was broken since bmesh merge.
2012-05-13 11:14:43 +00:00
305d341ec2
code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.
2012-05-13 11:05:52 +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
ce17c35240
style cleanup: mainly sculpt/whitespace
2012-05-11 08:05:47 +00:00
c9c0bfeeb8
Ensure mask layers are always present in sculpt mode.
2012-05-10 20:34:35 +00:00
f751d0f6ae
Replace hardcoded DMGridData structure with CCGElem/CCGKey.
...
* Changes to DerivedMesh interface: DMGridData has been removed,
getGridData() now returns an array of CCGElem pointers. Also added
getGridKey() to initialize a CCGKey (implemented only by
CCGDerivedMesh.)
* PBVH: added BLI_pbvh_get_grid_key().
* A lot of code is affected, but mainly is just replacing
DMGridData.co, DMGridData.no, and sizeof(DMGridData) with the
CCG_*_elem functions, removing the reliance on grid elements of
exactly six floats.
2012-05-10 20:33:09 +00:00
3794ad5e14
Code cleanup for multires_dm_create_from_derived().
...
Changed name to multires_make_derived_from_derived() and parameter
order to be more similar to subsurf_make_derived_from_derived().
Added MultiresFlags enum with flag values to replace the local_mmd and
useRenderParams parameters.
2012-05-10 20:32:09 +00:00
6dbfbabcd6
Code cleanup for parameters of subsurf_make_derived_from_derived.
...
This is the first commit of the sculpt masking merge. Documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/PaintMasks
Thanks to Brecht for reviewing!
Replaced four boolean parameters with a single flag and a new enum,
SubsurfFlags.
2012-05-10 20:31:55 +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
318b44fe5d
Refactor of modifiers' apply function: now use a single bit-flag parameter to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag!
...
Should have no effect over modifier behavior.
2012-05-09 15:00:26 +00:00
68179be662
svn merge ^/trunk/blender -r45927:HEAD --accept=theirs-full
...
This revision does not compile. code need to be merged in manualy.
2012-05-09 14:55:50 +00:00
d20c129a9c
style cleanup: whitespace/operators
2012-05-09 09:24:15 +00:00
e132098599
copy constraints to object/bones had same name (made operator search confusing)
2012-05-09 08:29:37 +00:00
7b3beec987
merging back to a version that works...
...
svn merge -r46433:46359 .
2012-05-08 19:49:39 +00:00
e8c945bfb9
svn merge ^/trunk/blender -r46370:46380
...
1 Tree conflict
I deleted the source/tools/GL and then ran:
svn -r46380 co https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/tools/GL
svn resolve --accept working -R source/tools/GL
2012-05-08 00:09:00 +00:00
1d5440350d
svn merge ^/trunk/blender -r46330:46335
2012-05-07 22:28:59 +00:00
3ef11693f5
Style cleanup: displist module
2012-05-07 06:58:03 +00:00
c7b20e79cd
Style cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term in Blender
2012-05-07 06:38:41 +00:00
bc86c410f7
svn merge ^/trunk/blender -r46300:46330
2012-05-07 01:04:52 +00:00
0fa6acce19
svn merge ^/trunk/blender -r46100:46200
2012-05-06 23:06:24 +00:00
6c86b70145
svn merge ^/trunk/blender -r46000:46100
...
some conflicts. had to backup my code, accept with "tc" and introduce my own code again.
Hope I didnt leave anything out.
2012-05-06 22:19:13 +00:00
2ebebc563e
svn merge ^/trunk/blender -r45927:46000
2012-05-06 19:32:53 +00:00
2624c871bd
ED_vgroup_copy_by_nearest_vertex_single:
...
Added transformation into target space
ED_vgroup_copy_by_nearest_face_single:
Is incomplete. BVHTree fails.
2012-05-06 17:19:16 +00:00
5d02292d3c
Bugfixes for Motion Path drawing/updating in light of the recent changes:
...
* Added proper "update" operators in place of the abuse of the calculate
operators, so now the display ranges won't get overwritten everytime (with the
default values) you go to update the paths.
* Display range settings in properties editor now actually work. Before, the "In
Range" mode only displayed the entire paths.
2012-05-06 04:18:13 +00:00
c91cee2bb9
code cleanup: naming - BKE_mesh_*
2012-05-05 21:28:12 +00:00
fef40eda72
Fix related to [ #31157 ]: Tips (descriptions) of macro operators were not set into underlying RNA struct, hence did not show up in UI.
2012-05-05 19:26:53 +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
6292fb4cbd
code cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string.
2012-05-05 17:00:11 +00:00