Freeze object rotation on Polybrush

Hey, I wan’t to use polybrush to draw a forest on a terrain.
I wan’t that the prefabs rotation of the prefab I dragged into the prefab brush is set to 0, 0, 0.

It is rotating the object based on the ground, but I want it to be completely vertical all the time.
I tried to use use the checkbox “use pivot” but that doesn’t change anything.

How can I archive that?

I had the same problem and modified polybrush to do that. What I did was go into BrushModePrefab.cs and on line 267 change:

Quaternion rotation = Quaternion.FromToRotation(Vector3.up, target.transform.TransformDirection(rand_hit.normal));

to: Quaternion rotation = Quaternion.identity;

Just comment the original out so you can go back.