== Global 'Delete Key' Tool ==
The 'opposite' of the "Insert Key" tool. - Use the hotkey Ctrl-Alt-IKEY to activate. - Only available in 3d-view and buttons window I've added an extra var to verify_ipo and verify_ipocurve to save having to make another duplicate of that code. Hopefully the gameengine compiles ok with this.
This commit is contained in:
		@@ -442,7 +442,7 @@ static PyObject *Constraint_insertKey( BPy_Constraint * self, PyObject * value )
 | 
			
		||||
		return EXPP_ReturnPyObjError( PyExc_RuntimeError,
 | 
			
		||||
				"constraint doesn't belong to anything" );
 | 
			
		||||
	}
 | 
			
		||||
	icu= verify_ipocurve((ID *)ob, ID_CO, actname, con->name, NULL, CO_ENFORCE);
 | 
			
		||||
	icu= verify_ipocurve((ID *)ob, ID_CO, actname, con->name, NULL, CO_ENFORCE, 1);
 | 
			
		||||
	
 | 
			
		||||
	if (!icu)
 | 
			
		||||
		return EXPP_ReturnPyObjError( PyExc_RuntimeError,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user