TrenchBroom icon indicating copy to clipboard operation
TrenchBroom copied to clipboard

Default properties not set for Worldspawn; not set when changing classname

Open SirYodaJedi opened this issue 1 year ago • 0 comments

System Information

TrenchBroom V2024.1 Release Win64 on Windows 10 22H2

Expected Behavior

When setDefaultProperties is enabled (as it should be):

  • Worldspawn should be given its defaults when creating a new map.
  • Changing the classname of an existing entity should be given its defaults for any KVs that were not already set.

Neither of these occur. There are "set missing default properties" and "set all default properties" buttons, but it shouldn't be necessary to click these in these specific situations.

Steps to Reproduce

  1. Create a new map, using the Half-Life profile.
  2. Observe how keys such as MaxRange and sounds are not correctly set.
  3. Create a cycler_sprite point entity.
  4. Observe how the KVs have their proper defaults set.
  5. Change the cycler_sprite to an ambent_generic.
  6. Observe how keys such as spawnflags and health are not correctly set.

SirYodaJedi avatar May 29 '24 00:05 SirYodaJedi