From: Mircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Date: Sat, 29 Oct 2011 21:16:22 +0000 (+0300)
Subject: Revert my last commit. I forgot you can edit one property of an object without changi... 
X-Git-Tag: xonotic-v0.6.0~35^2~18^2~32
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=42fe2e0a375c07443507e53fa7a0bba995c55c0c;p=xonotic%2Fxonotic-data.pk3dir.git

Revert my last commit. I forgot you can edit one property of an object without changing the other, so setDependent does not make sense and gets in the way
---

diff --git a/qcsrc/menu/xonotic/dialog_sandboxtools.c b/qcsrc/menu/xonotic/dialog_sandboxtools.c
index 53a0a35bd6..6e7a89c861 100644
--- a/qcsrc/menu/xonotic/dialog_sandboxtools.c
+++ b/qcsrc/menu/xonotic/dialog_sandboxtools.c
@@ -71,9 +71,7 @@ void XonoticSandboxToolsDialog_fill(entity me)
 		me.TD(me, 1, 0.5, e = makeXonoticCommandButton(_("Set scale:"), '0 0 0', "sandbox object_edit scale $menu_sandbox_edit_scale", 0));
 		me.TD(me, 1, 1.5, e = makeXonoticSlider(0.5, 2, 0.05, "menu_sandbox_edit_scale"));
 		me.TD(me, 1, 0.5, e = makeXonoticCommandButton(_("Set force:"), '0 0 0', "sandbox object_edit force $menu_sandbox_edit_force", 0));
-			setDependent(e, "menu_sandbox_edit_physics", 1, 2);
 		me.TD(me, 1, 1.5, e = makeXonoticSlider(0, 10, 0.5, "menu_sandbox_edit_force"));
-			setDependent(e, "menu_sandbox_edit_physics", 1, 2);
 	me.TR(me);
 	me.TR(me);
 		me.TD(me, 1, 1.5, e = makeXonoticTextLabel(0, _("* is the object you are facing")));