UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #2734  -  UFORadiant: saving light info and shortcuts
Posted Dec 12, 2010 - updated Jan 28, 2013
mattn (tlh2000) has been working on this issue since January 28, 2013 (20:47)
Issue details
  • Type of issue
    Bug report
  • Status
     
    Open
  • Assigned to
     mattn
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     H-Hour
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Map Editor (UFORadiant)
  • Resolution
    Not determined
  • Priority
    5. Important
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Item 2734 imported from sourceforge.net tracker on 2013-01-28 19:47:16

1. UFORadiant won't save light settings. I click the light checkbox, add a value, hit enter. But if I select something else then come back, the lighting has not been applied.

2. UFORadiant is again not saving my shortcuts. In particular, Copy Shader and Paste Shader. Any chance you can make this default: SHFT-CTR-C = Copy Shader, SHFT-CTR-V = Paste Shader?
Comments Ported from Sourceforge  ⇑ top
tlh2000 (2010-12-12 18:58:17)  ⇑ top
the value field should be fixed now - please try with several selections and settings

you can change the keybindings in the xml files - change them to whatever you like - you are the one whos using them more often than anyone else on the team, so you can give the direction here.
tlh2000 (2010-12-12 18:59:06)  ⇑ top
oh.. radiant/input.xml is the file with the keybindings.
natewr (2010-12-13 09:56:59)  ⇑ top
I can&#039;t seem to get the keybindings working. In input.xml, under <shortcuts name="default"> I&#039;ve added the following:

		<shortcut command="CopyShader" key="C" modifiers="SHIFT+CONTROL" />
		<shortcut command="PasteShader" key="V" modifiers="SHIFT+CONTROL" />


But when I restart Radiant it still shows nothing in the shortcuts list.
natewr (2010-12-13 10:15:47)  ⇑ top
All the surface flags work well now with one minor exception. Lighting info can be added and removed fine, but if I un-check the light box, it doesn&#039;t appear to go away. If I select something else and come back to it I can see that it&#039;s un-checked, but it doesn&#039;t register visually right away.

Thanks for the fast fix on that!
tlh2000 (2011-01-11 07:55:26)  ⇑ top
you have to modify them in the git checkout radiant dir, but also have to make sure that your user data is updated, too. uforadiant stores its settings besides the ufoconsole.log and so on. just in a radiant subdir.
tlh2000 (2011-01-11 07:57:49)  ⇑ top
the missing shortcut save is maybe due to a crash on shutdown. i have to investigate
tlh2000 (2011-01-15 09:16:05)  ⇑ top
the remaining shortcut issue should be fixed in 1fc9866ac2df8cca7722338f0cd8864f117314dd
natewr (2011-01-15 09:33:35)  ⇑ top
Unfortunately it is still not working for me after recompiling radiant. After loading radiant, setting shortcut, shutting down radiant and restarting it, the shortcut is gone.
tlh2000 (2011-03-23 20:44:50)  ⇑ top
harry - this might be a bug for you

the shortcut issue is about ufoai/src/tools/radiant/radiant/xmlregistry/XMLRegistry.cpp you will find the xml file in your %APPDATA% uforadiant directory (see http://ufoai.ninex.info/wiki/index.php/Manual/FAQ for the full path)

the light settings are in the entity inspector or somewhere below src/tools/radiant/radiant/entity
aduke1 (2012-10-07 01:30:17.872000)  ⇑ top
- **assigned_to**: Harry Kunz --> Martin Gerhardy - **milestone**: --> 2.4

Steps to reproduce this issue
Nothing entered.