typo's and some style cleanup, also added asserts into BLI_vsnprintf and BLI_sprintfN when invalid args are given.
This commit is contained in:
		@@ -552,7 +552,7 @@ class LightMapPack(Operator):
 | 
			
		||||
    # Disable REGISTER flag for now because this operator might create new
 | 
			
		||||
    # images. This leads to non-proper operator redo because current undo
 | 
			
		||||
    # stack is local for edit mode and can not remove images created by this
 | 
			
		||||
    # oprtator.
 | 
			
		||||
    # operator.
 | 
			
		||||
    # Proper solution would be to make undo stack aware of such things,
 | 
			
		||||
    # but for now just disable redo. Keep undo here so unwanted changes to uv
 | 
			
		||||
    # coords might be undone.
 | 
			
		||||
 
 | 
			
		||||
@@ -993,7 +993,7 @@ def main(context,
 | 
			
		||||
            if mostUniqueAngle < USER_PROJECTION_LIMIT_CONVERTED:
 | 
			
		||||
                #print 'adding', mostUniqueAngle, USER_PROJECTION_LIMIT, len(newProjectMeshFaces)
 | 
			
		||||
                # Now weight the vector to all its faces, will give a more direct projection
 | 
			
		||||
                # if the face its self was not representive of the normal from surrounding faces.
 | 
			
		||||
                # if the face its self was not representative of the normal from surrounding faces.
 | 
			
		||||
 | 
			
		||||
                newProjectVec = tempMeshFaces[mostUniqueIndex].no
 | 
			
		||||
                newProjectMeshFaces = [tempMeshFaces.pop(mostUniqueIndex)]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user