Hammer Transform Dialog Acting Odd with Negative Values

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

EArkham

Necromancer
aa
Aug 14, 2009
1,619
When you hit cntrl-M, you get the transform dialog and can type in rotation, scale, and translation.

If I select a brush, hit cntrl-M, choose "move" and translate on the Z axis, everything works fine whether I use negative or positive values.

But if I try to translate on the X or Y axis by a negative value, in addition to being moved in the correct direction by the right amount, the brush is ALSO being moved upwards slightly. Moving on X or Y by a positive value works just fine.

I don't remember ever noticing this before. Is there a fix?
 

Egan

aa
Feb 14, 2010
1,352
Huh, that's weird, I'm getting that too.

An alternative option is just using the arrow keys to nudge option:
I6Ueze6.png


And then just configuring on the fly which grid size you're on to move some amount of units per 'nudge'.

I'll look into it a bit more.
 

EArkham

Necromancer
aa
Aug 14, 2009
1,619
I dunno, I'm not even sure where to check that. Thought Hammer only updated if TF2 did, though maybe a recent general Source update changed something.
 

iiboharz

eternally tired
aa
Nov 5, 2014
854
I've been having this issue for a while now on occasion but absolutely no one else has reported having it until now.
 

Gadget

aa
Mar 10, 2008
525
Turns out it happens with positive values as well. For example, doing a transform on X of 256hu also moves the cube on Y and Z axis. Strange thing is it doesn't happen for every value, sometimes it works as expected.

I'll send an email to Eric. My Hammer build is 7538. The SFM version uses an older build in which it works as expected.
 

Attachments

  • bug_hammer_transform_before.jpg
    bug_hammer_transform_before.jpg
    361.5 KB · Views: 256
  • bug_hammer_transform_after.jpg
    bug_hammer_transform_after.jpg
    441.6 KB · Views: 228

EArkham

Necromancer
aa
Aug 14, 2009
1,619
Might be a blessing in disguise. I didn't realize just how great this arrow key nudging stuff works.

I'm sure something awful will turn up, like "groups you nudge leave any brush origins behind" or whatever.

[Edit[ Ok, after making that up as an example, I tested it just to be sure. That doesn't happen. lol
 

Gadget

aa
Mar 10, 2008
525
This thread is interesting to me, I've used ctrl+m maybe twice in my entire decade of using Hammer, and have been arrow nudging this whole time.

For me it's the opposite, I've not once used nudging - primarily because I didn't know it exists.

When using the arrow keys for nudging how do you move around in the 2D views then? By using the scrollbars?
 

EArkham

Necromancer
aa
Aug 14, 2009
1,619
...you can use the arrow keys for moving around the 2D views! Wow, I always used my scrollwheel if I needed to, but mainly center views with cntrl-E (or cntrl-shift-E for the 3d view). Also it seems if you don't have anything selected, the arrow keys move the 2D views even with nudging on.

Don't mind me, only been using Hammer for a decade now, ha.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,098
When using the arrow keys for nudging how do you move around in the 2D views then? By using the scrollbars?
Moving something, and moving the views are generally two completely separate things and the arrow keys still work in the 2D views with the nudging option enabled, so I'm not sure why you're confused. But either way, I tend to use the scroll wheel to zoom out of where it's focused on currently, and then back in to where I want it to be. Or I hold space and drag the 2D view around. I also use ctrl+e a lot
 

DonutVikingChap

L5: Dapper Member
Mar 15, 2013
233
This thread is interesting. I would never have imagined anyone using the 2D views without space-dragging before, and I didn't even realize that the transform dialog and arrow nudging were things people actually used! In all my years of using Hammer I've pretty much exclusively been using the mouse cursor to move things. I even normally just press X and use the 3D view, while using the 2D views for more precision.
 

Gadget

aa
Mar 10, 2008
525
Moving something, and moving the views are generally two completely separate things and the arrow keys still work in the 2D views with the nudging option enabled, so I'm not sure why you're confused. But either way, I tend to use the scroll wheel to zoom out of where it's focused on currently, and then back in to where I want it to be. Or I hold space and drag the 2D view around. I also use ctrl+e a lot

Wait, you're telling me I can space drag?? My goodness. How could I have missed that for the past ten years?

I got confused by the arrow keys because I hadn't tested them with nudging enabled and no object selected at the same time.

From now on I will use [Space] and leave nudging enabled.

Btw. I found a workaround for the move transform: if it misbehaves try inserting -0 (minus null) in one of the other axis that you don't want to be moved. That seems to fix it in most cases.
 
Jul 26, 2015
689
This thread is interesting. I would never have imagined anyone using the 2D views without space-dragging before, and I didn't even realize that the transform dialog and arrow nudging were things people actually used!

Next thing you know we'll find out there's people that wipe standing up.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,098
*busts back in*


WAIT WAIT WAIT

wait


hold up


Does this mean y'all aren't using shift+arrow keys to clone a brush or entity? Like if you need to place 4 windows along a wall you select the first one, press shift+arrow then nudge until it's in the right spot, and repeat?
 

Micnax

Back from the dead (again)
aa
Apr 25, 2009
2,108
Does this mean y'all aren't using shift+arrow keys to clone a brush or entity? Like if you need to place 4 windows along a wall you select the first one, press shift+arrow then nudge until it's in the right spot, and repeat?
You can also hold shift and then drag with your mouse, much faster because you can also rotate/vertex edit immediately after too.