MEMSET was clearing the TransInfo struct after the constraint setup call has been made.

Temporary fix until the manipulator transform init is split off, like normal transform.
This commit is contained in:
2005-05-15 05:44:11 +00:00
parent 1533b6fd32
commit 70c0f60df5
3 changed files with 9 additions and 5 deletions

View File

@@ -1463,7 +1463,7 @@ int BIF_do_manipulator(ScrArea *sa)
// find the hotspots first test narrow hotspot
val= manipulator_selectbuf(sa, 0.5f*(float)U.tw_hotspot);
if(val) {
checkFirstTime(); // TEMPORARY, check this before doing any transform call.
// drawflags still global, for drawing call above
drawflags= manipulator_selectbuf(sa, 0.2f*(float)U.tw_hotspot);
if(drawflags==0) drawflags= val;