dbee634572 
					 
					
						
						
							
							Fix typos.  
						
						 
						
						
						
						
					 
					
						2015-05-04 01:53:34 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f283b959e7 
					 
					
						
						
							
							BMesh: BM_vert_separate double edge fix  
						
						 
						
						... 
						
						
						
						Splitting edges could give duplicates. 
						
						
					 
					
						2015-05-02 16:24:35 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a5869945c6 
					 
					
						
						
							
							Cleanup: bmesh src/dst order in API args  
						
						 
						
						
						
						
					 
					
						2015-05-02 15:46:03 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f553aba69f 
					 
					
						
						
							
							Correct docstring  
						
						 
						
						
						
						
					 
					
						2015-04-30 09:55:54 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						89f5a09ab4 
					 
					
						
						
							
							Cleanup: use 8 space indent for multi-line args  
						
						 
						
						
						
						
					 
					
						2015-04-25 20:15:20 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						18ee593729 
					 
					
						
						
							
							Expose CD_PAINT_MASK to Python API  
						
						 
						
						... 
						
						
						
						D782 by Stanislav Blinov 
						
						
					 
					
						2015-04-24 04:10:51 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6603a10331 
					 
					
						
						
							
							Cleanup: remove redundant initializers  
						
						 
						
						
						
						
					 
					
						2015-04-16 22:26:20 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						690b90f1e2 
					 
					
						
						
							
							BMesh: minor optimization counting adjacent data  
						
						 
						
						... 
						
						
						
						add BM_***_count_is_over(), _count_is_equal()
Useful if we only want to know if the count is a smaller value. 
						
						
					 
					
						2015-04-12 17:38:14 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fee0e6e211 
					 
					
						
						
							
							BMesh Py API: calc_edge_angle functions  
						
						 
						
						... 
						
						
						
						Make consistent with calc_edge_angle,
take an optional fallback arg for non-manifold edges
otherwise raise an exception. 
						
						
					 
					
						2015-03-09 00:47:53 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8638142c3b 
					 
					
						
						
							
							Fix T43904: calc_vert_angle returns wrong value  
						
						 
						
						... 
						
						
						
						This was mis-named, rename to `calc_edge_angle`
and allow a fallback value in the case when the vert doesn't have 2-edges. 
						
						
					 
					
						2015-03-06 18:55:36 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ced19783fd 
					 
					
						
						
							
							Fix mismatch (missing 'const' to mactch funcs declarations).  
						
						 
						
						... 
						
						
						
						Was breaking windows compile, reported by bdancer over IRC, thanks.
Also, quite some annoying 'unused vars' warnings (debug-only vars). 
						
						
					 
					
						2015-02-23 13:57:02 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						51b0ae8a85 
					 
					
						
						
							
							Fix T43739: bad documentation for bmesh py intersect_face_point()  
						
						 
						
						... 
						
						
						
						Previous text could make think this func was checking whether a point was
inside and on the face, while it actually checks whether the projection
of that point onto the face is inside its boundary... 
						
						
					 
					
						2015-02-20 10:54:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf0c8e116d 
					 
					
						
						
							
							PyAPI: add PyList_APPEND  
						
						 
						
						... 
						
						
						
						This appends while giving ownership to the list, avoiding temp assignment.
This matches PyList_SET_ITEM which bypasses refcount's
Note, this also reduce code-size, Py_DECREF is a rather heavy macro. 
						
						
					 
					
						2015-01-06 19:09:53 +11: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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						aab4f2b762 
					 
					
						
						
							
							cleanup: redundant casts & const cast correctness  
						
						 
						
						
						
						
					 
					
						2015-01-01 23:42:28 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3e7e97f127 
					 
					
						
						
							
							BMesh: ensure iterator macros assign to valid types  
						
						 
						
						... 
						
						
						
						note, this is for C++ code which expects a cast, (will be added later)
also add a macro for nop-expressions (EXPR_NOP),
when we never want an expression to be evaluated, but it should still be valid. 
						
						
					 
					
						2014-12-08 10:54:56 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0154096fd5 
					 
					
						
						
							
							Cleanup: unused headers  
						
						 
						
						
						
						
					 
					
						2014-11-28 23:12:12 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						915235c87a 
					 
					
						
						
							
							Cleanup: unused headers  
						
						 
						
						
						
						
					 
					
						2014-11-28 22:16:14 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bcbbc66795 
					 
					
						
						
							
							Cleanup: unused headers  
						
						 
						
						
						
						
					 
					
						2014-11-28 15:52:30 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7d040d2a08 
					 
					
						
						
							
							Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r  
						
						 
						
						
						
						
					 
					
						2014-11-16 13:57:58 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						133f79e449 
					 
					
						
						
							
							Cleanup: warnings, typos  
						
						 
						
						
						
						
					 
					
						2014-10-29 14:15:21 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						785b90d7ef 
					 
					
						
						
							
							BMesh Py API: Fast index lookups for vert/edge/faces  
						
						 
						
						... 
						
						
						
						This changes the Py API to use array lookup table.
Previously this could be very slow since it would loop over all elements.
Now the python script is responsible for creating the internal lookup table (as with C code).
This will break some scripts. 
						
						
					 
					
						2014-10-28 10:03:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						497d06d64d 
					 
					
						
						
							
							Fix T41971: BMesh mapping slot arg error  
						
						 
						
						
						
						
					 
					
						2014-10-01 22:36:09 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						26e476b7e1 
					 
					
						
						
							
							Fix T41788: bmesh.utils.loop_separate, face_vert_separate() always return None  
						
						 
						
						
						
						
					 
					
						2014-09-12 10:16:50 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cbde56572f 
					 
					
						
						
							
							bmesh py api: face_split_edgenet missed NULL check  
						
						 
						
						
						
						
					 
					
						2014-07-21 12:42:00 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						49a5115497 
					 
					
						
						
							
							bmesh py api: add bmesh.utils.vert_splice(...)  
						
						 
						
						
						
						
					 
					
						2014-07-17 12:25:40 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7f4735ab3b 
					 
					
						
						
							
							bmesh py api: BPY_BM_CHECK_SOURCE_* macro now accepts multiple args  
						
						 
						
						
						
						
					 
					
						2014-07-17 11:56:08 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						de379c05de 
					 
					
						
						
							
							bmesh py api: add BMesh.calc_tessface()  
						
						 
						
						
						
						
					 
					
						2014-07-16 11:57:28 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						28940d79b1 
					 
					
						
						
							
							bmesh py api: add typed tuple-from-array functions  
						
						 
						
						
						
						
					 
					
						2014-07-16 11:50:34 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a04bed724 
					 
					
						
						
							
							Error in last commit  
						
						 
						
						
						
						
					 
					
						2014-07-14 21:34:51 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a8e338cee5 
					 
					
						
						
							
							Py/API: add bmesh.utils.face_split_edgenet  
						
						 
						
						
						
						
					 
					
						2014-07-14 21:32:37 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c3deb16c16 
					 
					
						
						
							
							BMesh: add ability not to delete vertex when collapsing  
						
						 
						
						
						
						
					 
					
						2014-06-27 20:28:02 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4ca67869cc 
					 
					
						
						
							
							Code cleanup: remove unused includes  
						
						 
						
						... 
						
						
						
						Opted to keep includes if they are used indirectly (even if removing is possible). 
						
						
					 
					
						2014-05-01 04:47:51 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e73d0f57a3 
					 
					
						
						
							
							Code cleanup: use 'const' for arrays (python)  
						
						 
						
						
						
						
					 
					
						2014-04-27 00:25:15 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0b7f581397 
					 
					
						
						
							
							Split Normals I (2/5): Add basic BMesh support of split normals.  
						
						 
						
						... 
						
						
						
						* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available.
* This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co.
Reviewers: campbellbarton
Reviewed By: campbellbarton
CC: brecht
Differential Revision: https://developer.blender.org/D366  
						
						
					 
					
						2014-04-13 12:25:54 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5873160242 
					 
					
						
						
							
							Code cleanup: strict flags for bmesh_log  
						
						 
						
						
						
						
					 
					
						2014-04-03 17:13:31 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2097e621ed 
					 
					
						
						
							
							Code cleanup: use r_ prefix for return args  
						
						 
						
						
						
						
					 
					
						2014-03-16 03:26:23 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						13ea967cce 
					 
					
						
						
							
							Code cleanup: correct abs use and quiet warnings  
						
						 
						
						
						
						
					 
					
						2014-03-01 14:26:18 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bd697dd4d7 
					 
					
						
						
							
							Fix T38402: invalid message for bad type assignments (Quat, Vector)  
						
						 
						
						
						
						
					 
					
						2014-01-30 16:45:20 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5aa006bc1c 
					 
					
						
						
							
							Fix incorrect extern  
						
						 
						
						
						
						
					 
					
						2014-01-28 01:50:09 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						18db6c58ec 
					 
					
						
						
							
							Fix T38150: implementation mismatch in bmesh python  
						
						 
						
						... 
						
						
						
						Hopefully this time all mismatches are fixed (quickly checked the whole BMesh API files,
found a few others in addition to those reported in T38150). 
						
						
					 
					
						2014-01-23 20:17:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						62aa004c25 
					 
					
						
						
							
							Style Cleanup: whitespace  
						
						 
						
						
						
						
					 
					
						2014-01-12 22:05:24 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c2508b6e1b 
					 
					
						
						
							
							Fix T38150: correct fix this time  
						
						 
						
						... 
						
						
						
						also use fixed size lists for list creation. 
						
						
					 
					
						2014-01-11 21:03:21 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ee15db9db5 
					 
					
						
						
							
							Fix T38150: BMLayerCollection.items/values docs switched  
						
						 
						
						
						
						
					 
					
						2014-01-10 22:18:34 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c5cb42f402 
					 
					
						
						
							
							Code Cleanup: use bool for bmesh operator boolean mapping functions  
						
						 
						
						
						
						
					 
					
						2014-01-03 21:35:29 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						04a902965e 
					 
					
						
						
							
							BMesh optimize face splitting by taking loops rather then verts  
						
						 
						
						... 
						
						
						
						- add BM_vert_pair_share_face
- add BM_loop_is_adjacent
- remove BM_verts_connect 
						
						
					 
					
						2013-12-24 11:13:58 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						75212f4677 
					 
					
						
						
							
							BMesh Py API: add bmesh.geometry.intersect_face_point()  
						
						 
						
						... 
						
						
						
						patch originally by mont29 with some edits. 
						
						
					 
					
						2013-12-06 21:15:56 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						85bbef0f4e 
					 
					
						
						
							
							python api internals: no need to set the stop-iter exception string.  
						
						 
						
						
						
						
					 
					
						2013-11-17 15:09:57 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						712c8f3cae 
					 
					
						
						
							
							code cleanup: warnings  
						
						 
						
						
						
						
					 
					
						2013-10-31 03:30:20 +00:00