From 42fe2e0a375c07443507e53fa7a0bba995c55c0c Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sun, 30 Oct 2011 00:16:22 +0300 Subject: [PATCH] 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 --- qcsrc/menu/xonotic/dialog_sandboxtools.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_sandboxtools.c b/qcsrc/menu/xonotic/dialog_sandboxtools.c index 53a0a35bd..6e7a89c86 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"))); -- 2.39.2