Commit Graph

485 Commits

Author SHA1 Message Date
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
083115c5e7 bmesh optimization: use offsets for deform-vert lookups to avoid customdata layer lookups within loops. 2013-05-27 12:42:48 +00:00
ec8d277c64 BLI_math rename functions:
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4

these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
add5167b8d Fixed own error: used wrong iteration count for cleaning weight groups 2013-05-26 17:34:03 +00:00
16d35ec94f weight tools: added more selection types to limit total operator 2013-05-24 13:50:26 +00:00
4a2ca34bea style cleanup 2013-05-24 10:59:57 +00:00
69515adbc9 fixed memory leak in weight tool: levels 2013-05-24 10:54:26 +00:00
31ab91991c weight tools: added more selection types to levels operator 2013-05-24 10:46:37 +00:00
26a5b63178 weight tools: added more selection types to invert operator 2013-05-24 09:30:13 +00:00
cbc431ec12 style cleanup: also remove unused var 2013-05-23 20:20:24 +00:00
3f8a146a1e Weight tools: Clean added additional selection options in operator Panel 2013-05-22 22:03:14 +00:00
65dcc6ad4f use bool arrays rather then char for weight paint lock/select arrays 2013-05-15 15:52:48 +00:00
37e73aa368 code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and BKE_editmesh_bvh.h 2013-04-16 05:59:48 +00:00
6da961775f code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere). 2013-04-13 20:31:52 +00:00
2c47244954 code cleanup: use const char for args and replace wm_keyconfig_list_find() -> BLI_findstring() 2013-04-13 04:28:04 +00:00
1c3c4f3954 code cleanup: use bool's for vgroup and editmode. 2013-04-05 14:58:30 +00:00
6926596174 More new data names translation (most cases should be covered now).
Also done a few cleanup here and there...
2013-03-25 08:29:06 +00:00
ffc8ecc587 use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.
also replace sprintf with strcpy when no formatting is done.
2013-03-14 10:39:18 +00:00
0ac07404ba style cleanup: braces with multi-line statements, also add some comments. 2013-03-01 14:47:06 +00:00
68f9226d5b code cleanup: unused arg 2013-02-27 01:43:48 +00:00
db02420921 tweak vertex group clean limit, it couldn't be set to zero, and you may want to remove only zero weights. 2013-02-14 01:55:10 +00:00
1e3a2931ac fix [#33889] Unexpected weights after parenting with Empty Groups
out of range dvert's are now cleared before adding new-empty groups.
2013-01-22 10:51:57 +00:00
b8116ed659 "Fix" for [#33903] Wrong description string in "remove vertices from vertex group" function - just making the tooltip describe both possible actions by this op! 2013-01-17 13:29:32 +00:00
7dca6dbf0b code cleanup:
make vertex/weight flag names consistent
ME_EDIT_VERT_SEL   --> ME_EDIT_PAINT_VERT_SEL
ME_EDIT_PAINT_MASK --> ME_EDIT_PAINT_FACE_SEL

also remove unused header BLO_soundfile.h
2012-12-22 14:25:34 +00:00
2a5cabb039 code cleanup and minor changes
- use DummyRNA_NULL_items to replace empty enums.
- replace calloc with malloc in copy_dverts since its copied over after.
- add wmGesture->userdata, so operators that use gestures have somewhere to store their own data (not used yet).
2012-12-22 01:08:42 +00:00
899ba3fdb6 style cleanup 2012-12-18 01:46:15 +00:00
635099fdbc Reverting rev 53044 because it broke something and was wrong.
I also added comment to avoid this happening in the future.
2012-12-16 02:29:46 +00:00
a837d9a896 Fixing name of a function to be consistent with the rest of the code. 2012-12-15 23:52:39 +00:00
8ec289739e Changed some comments to make more sense. 2012-12-15 22:47:57 +00:00
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