Alexander Gavrilov  
		
	
	58dae919e5 
	
	
	Weight Paint: avoid creating very small values with locked weights.  
		
			... 
			When painting using Auto-Normalize or Lock Relative with some
groups locked, the locked weights may not add up precisely to
1 because of precision limitations, which results in creating
nonzero weights close to FLT_EPSILON. With Lock Relative display
mode this is very obvious and annoying (random red points amid
black or blue), so add an epsilon check to consider less than
1e-6 unlocked weight to be the same as 0.
In addition, in cases when no weight can be painted due to locks,
don't create vertex group entries at all if they don't exist yet.
Also, don't run Auto Normalize when not painting a deform group.
Differential Revision: https://developer.blender.org/D10000  
		
	 
 
		2021-01-12 14:32:05 +03:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2021-01-12 14:32:05 +03:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-10-10 22:04:51 +11:00 
		 
	
		
			
			
			
			
			
			2020-09-30 11:51:13 +10:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-11 16:20:53 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-26 11:26:55 +01:00 
		 
	
		
			
			
			
			
			
			2021-01-04 17:38:11 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-17 07:43:31 -06:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-08 07:24:55 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-03 07:25:36 +10:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-04 17:37:44 +11:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-11 19:34:33 +03:00 
		 
	
		
			
			
			
			
			
			2020-11-06 12:32:54 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-09-02 19:10:40 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-06 14:10:31 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-11 23:08:29 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-05 15:03:05 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-09-30 11:51:13 +10:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-30 11:51:13 +10:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-12 14:32:05 +03:00 
		 
	
		
			
			
			
			
			
			2020-10-26 18:16:30 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-08 17:16:35 +10:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-01 14:29:45 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-23 12:48:04 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-19 21:40:17 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2021-01-07 09:27:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-01-07 09:27:42 -06:00 
		 
	
		
			
			
			
			
			
			2020-08-26 21:04:00 +10:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-10-09 07:25:43 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-15 17:19:55 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-11-03 23:59:24 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-18 09:18:44 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-08 16:25:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:01:45 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-22 14:05:49 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-27 22:45:41 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-18 16:31:26 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-08 11:40:55 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-09 07:25:43 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-15 20:32:58 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-05 22:48:12 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-14 13:08:02 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-09 07:27:18 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-09 19:07:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-11 11:48:58 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-08 10:55:57 +01:00 
		 
	
		
			
			
			
			
			
			2021-01-11 12:06:52 -06:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-11 17:59:21 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-20 12:47:58 -05:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-30 11:51:13 +10:00 
		 
	
		
			
			
			
			
			
			2021-01-06 16:25:39 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-11 17:47:58 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-02 15:38:47 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-15 17:03:48 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-28 14:55:59 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-08 16:39:42 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:26:23 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-10-10 22:04:51 +11:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-16 16:25:56 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-10-19 09:11:00 -07:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-04 21:04:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-01 17:43:41 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 18:05:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-30 14:25:42 +01:00 
		 
	
		
			
			
			
			
			
			2021-01-06 18:07:09 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-09 08:41:15 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-20 11:00:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-20 11:00:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-02 11:47:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-07 11:09:36 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-07 09:50:34 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-04 17:38:11 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-21 14:07:16 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:34:14 +11:00 
		 
	
		
			
			
			
			
			
			2020-12-03 14:51:11 +01:00