85d53620aa 
					 
					
						
						
							
							Cleanup: avoid confusing assignment  
						
						
						
						
					 
					
						2017-09-04 14:35:35 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						32e36a1782 
					 
					
						
						
							
							Correct own error simplifying matrix checks  
						
						
						
						
					 
					
						2017-09-03 00:05:11 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						46cf33bf01 
					 
					
						
						
							
							PyAPI: Make use of PyC_LongAs... API  
						
						... 
						
						
						
						Avoids setting exceptions inline,
also use Matrix_ParseAny for bmesh.ops.
Some inline exceptions are kept because they show useful details. 
						
						
					 
					
						2017-08-20 15:49:10 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a96c9def6f 
					 
					
						
						
							
							PyAPI: minor optimization for dictionary creation  
						
						... 
						
						
						
						Pass size when its known. 
						
						
					 
					
						2016-07-31 17:22:04 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0a026033ae 
					 
					
						
						
							
							BMesh: make toolflags optional  
						
						... 
						
						
						
						Saves 8 bytes per vert/edge/face.
Gives overall ~20-25% memory saving for dyntopo sculpting
and modifiers that use BMesh. 
						
						
					 
					
						2016-07-01 19:29:22 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						09e40a4956 
					 
					
						
						
							
							Cleanup: spelling  
						
						
						
						
					 
					
						2015-09-14 02:22:22 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						89f5a09ab4 
					 
					
						
						
							
							Cleanup: use 8 space indent for multi-line args  
						
						
						
						
					 
					
						2015-04-25 20:15:20 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9fd569a654 
					 
					
						
						
							
							PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET  
						
						... 
						
						
						
						Setting all values of a tuple is such a common operation that it deserves its own macro.
Also added Py_INCREF_RET to avoid confusing use of comma operator. 
						
						
					 
					
						2015-01-06 19:09:11 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8106a6b75d 
					 
					
						
						
							
							mathutils: refactor instantiation  
						
						... 
						
						
						
						remove 'type' argument, very few mathutils objects are wrapped,
add new function for creating wrapped objects.
also fixes unlikely memory leak if the data-array can't be allocated. 
						
						
					 
					
						2015-01-04 17:43:57 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						915235c87a 
					 
					
						
						
							
							Cleanup: unused headers  
						
						
						
						
					 
					
						2014-11-28 22:16:14 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						497d06d64d 
					 
					
						
						
							
							Fix T41971: BMesh mapping slot arg error  
						
						
						
						
					 
					
						2014-10-01 22:36:09 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e73d0f57a3 
					 
					
						
						
							
							Code cleanup: use 'const' for arrays (python)  
						
						
						
						
					 
					
						2014-04-27 00:25:15 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13ea967cce 
					 
					
						
						
							
							Code cleanup: correct abs use and quiet warnings  
						
						
						
						
					 
					
						2014-03-01 14:26:18 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						62aa004c25 
					 
					
						
						
							
							Style Cleanup: whitespace  
						
						
						
						
					 
					
						2014-01-12 22:05:24 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5cb42f402 
					 
					
						
						
							
							Code Cleanup: use bool for bmesh operator boolean mapping functions  
						
						
						
						
					 
					
						2014-01-03 21:35:29 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						54310b8086 
					 
					
						
						
							
							bmesh: internal api change, remove BMOElemMapping, its not needed since the values can be stored in the ghash directly.  
						
						... 
						
						
						
						saves 24 bytes per element (per vertex/edge/face on a 64bit system), for bmesh operators. 
						
						
					 
					
						2013-09-02 03:13:51 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7db1d6556d 
					 
					
						
						
							
							code cleanup: add break statements in switch ()'s, (even at the last case).  
						
						
						
						
					 
					
						2013-07-21 08:16:37 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4a8663d66e 
					 
					
						
						
							
							A bit more clear error message...  
						
						
						
						
					 
					
						2013-05-02 14:03:56 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0807c976f4 
					 
					
						
						
							
							code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,  
						
						... 
						
						
						
						also correct odd indentation. 
						
						
					 
					
						2013-03-15 10:48:48 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0ec23efbf2 
					 
					
						
						
							
							bmesh operators exceptions were not cleared after raising as a python exception.  
						
						... 
						
						
						
						also clear before calling the operator. 
						
						
					 
					
						2013-02-13 04:55:05 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b27854bd47 
					 
					
						
						
							
							use booleans for bmesh api.  
						
						
						
						
					 
					
						2013-01-14 16:42:43 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e24443b79a 
					 
					
						
						
							
							style cleanup  
						
						
						
						
					 
					
						2013-01-09 03:30:15 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						96136d3d88 
					 
					
						
						
							
							bmesh operator py api:  
						
						... 
						
						
						
						- fix for incorrect bmesh operator type-check for mapping slots.
- fix for python causing an assert when invalid args are given.
- fix memory leak with some exceptions. 
						
						
					 
					
						2012-11-28 15:07:57 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5a8bd498d 
					 
					
						
						
							
							use radians for 'spin' bmesh operator (since the rest of the py api uses radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.  
						
						
						
						
					 
					
						2012-11-28 00:47:33 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						21db9ac0f4 
					 
					
						
						
							
							replace and exception macro's for static functions and fix some bad assumptions.  
						
						
						
						
					 
					
						2012-11-27 15:26:10 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c9d84ab5ed 
					 
					
						
						
							
							split py->slot & slot->py into their own functions & fixed some mistakes with conversion.  
						
						
						
						
					 
					
						2012-11-27 14:25:38 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						492af7cc6b 
					 
					
						
						
							
							move bmesh operator calling into its own file.  
						
						
						
						
					 
					
						2012-11-27 13:54:34 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2d5b8172e9 
					 
					
						
						
							
							add empty files (will move bmesh operator calling here)  
						
						
						
						
					 
					
						2012-11-27 13:45:28 +00:00