Popular Post greebo Posted October 9, 2022 Popular Post Report Posted October 9, 2022 DarkRadiant 3.4.0 is ready for download. What's new: Feature: Allow Layers to be arranged into a Tree Fixed: Readable Editor displays "shader not found" in view Fixed: Undoing snap to grid with prefabs causes crash Fixed: Include doc in building instructions Fixed: Decal textures causes DR to crash - (textures/darkmod/decals/dirt/long_drip_pattern01) Fixed: Skin chooser: double click on materials list closes window Fixed: Selecting and deselecting a filtered child brush through layers leaves the brush selected Fixed: Material editor re-sorts stages on pasting image map resulting in wrong material stages list and wrong selected stage Fixed: Crash on start if engine path is choosen (Doom 3) Feature: Layers can now be arranged to form a hierarchy Windows and Mac Downloads are available on Github: https://github.com/codereader/DarkRadiant/releases/tag/3.4.0 and of course linked from the website https://www.darkradiant.net Thanks to all the awesome people who keep using DarkRadiant to create Fan Missions - they are the main reason for me to keep going. Please report any bugs or feature requests here in these forums, following these guidelines: Bugs (including steps for reproduction) can go directly on the tracker. When unsure about a bug/issue, feel free to ask. If you run into a crash, please record a crashdump: Crashdump Instructions Feature requests should be suggested (and possibly discussed) here in these forums before they may be added to the tracker. The list of changes can be found on the our bugtracker changelog. Have fun mapping! 6 3 Quote
thebigh Posted October 9, 2022 Report Posted October 9, 2022 (edited) The layer hierarchy is very welcome! edit: it doesn't seem to work when compiling from code on Linux... Edited October 10, 2022 by thebigh Quote My missions: Stand-alone Duncan Lynch series Down and Out on Newford Road the Factory Heist The Wizard's Treasure A House Call The House of deLisle
coldtobi Posted October 10, 2022 Report Posted October 10, 2022 (edited) I'm getting this while trying to package for Debian: CMake Error at cmake_install.cmake:554 (file): file INSTALL cannot find "/build/darkradiant-3.4.0/obj-x86_64-linux-gnu/install/bitmaps/darkradiant_icon_64x64.png": No such file or directory. I'm currently preparing a patch, will make a PR soon. PR: https://github.com/codereader/DarkRadiant/pull/31 Edited October 10, 2022 by coldtobi 1 Quote
jonri Posted October 11, 2022 Report Posted October 11, 2022 On 10/9/2022 at 4:08 PM, thebigh said: The layer hierarchy is very welcome! edit: it doesn't seem to work when compiling from code on Linux... Did you file a bug report yet? I noticed that I can drag the layers, but dropping them doesn't do anything. Quote
AluminumHaste Posted October 11, 2022 Report Posted October 11, 2022 Thanks for all the awesome work!!!! I still have the issue with the brushes not being highlighted when selected in ortho views, clearly an AMD thing though. Quote I always assumed I'd taste like boot leather.
greebo Posted October 11, 2022 Author Report Posted October 11, 2022 On 10/9/2022 at 10:08 PM, thebigh said: edit: it doesn't seem to work when compiling from code on Linux... I just pushed a fix to issue #6129 to github, I think it'll be working now 42 minutes ago, AluminumHaste said: I still have the issue with the brushes not being highlighted when selected in ortho views, clearly an AMD thing though. I wish I could do something about it... I have no machine with an AMD card around, neither at home nor at work, or anybody I know. Quote
thebigh Posted October 11, 2022 Report Posted October 11, 2022 3 hours ago, greebo said: I just pushed a fix to issue #6129 to github, I think it'll be working now Yep, it's working now Quote My missions: Stand-alone Duncan Lynch series Down and Out on Newford Road the Factory Heist The Wizard's Treasure A House Call The House of deLisle
AluminumHaste Posted October 11, 2022 Report Posted October 11, 2022 6 hours ago, greebo said: I just pushed a fix to issue #6129 to github, I think it'll be working now I wish I could do something about it... I have no machine with an AMD card around, neither at home nor at work, or anybody I know. You can remote into my desktop and run whatever tests you need to. Quote I always assumed I'd taste like boot leather.
Baal Posted October 12, 2022 Report Posted October 12, 2022 (edited) I'm running linux; darkradiant compiled from source (most recent commit of master). In the 'Regular' and 'RegularLeft' window layouts keyboard input doesn't work at all. Some windows (console or media browser) don't open. The layer dialog does not work as supposed. I can't assign a parent layer by drag and drop. Hiding through the checkboxes does nothing. Everything else seems to work. Maybe not a bug: When the media browser is shown (or some other window with a search function) the search field captures keypresses. Which is really, really annoying and disruptive. Edited October 12, 2022 by Baal Quote
OrbWeaver Posted October 12, 2022 Report Posted October 12, 2022 10 hours ago, Baal said: In the 'Regular' and 'RegularLeft' window layouts keyboard input doesn't work at all. Some windows (console or media browser) don't open. I can reproduce this. It doesn't surprise me much since these legacy GtkRadiant layouts are hardly maintained or tested these days. I recommend using the Dockable layout instead and dragging the dock windows to the positions you want. 10 hours ago, Baal said: The layer dialog does not work as supposed. I can't assign a parent layer by drag and drop. Hiding through the checkboxes does nothing. Everything else seems to work. I also see the checkboxes not doing anything. Drag and drop partially works for me, although I can only create a parent relationship. I cannot find a way to unparent a layer and bring it back to the top level. 10 hours ago, Baal said: When the media browser is shown (or some other window with a search function) the search field captures keypresses. Which is really, really annoying and disruptive. I think the Dockable layout would avoid that problem too (because the media browser would no longer be a top-level window). Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
datiswous Posted October 12, 2022 Report Posted October 12, 2022 (edited) - Edited October 12, 2022 by datiswous Nevermind, I was wrong. The Dockable layout does fix it. Quote
Baal Posted October 13, 2022 Report Posted October 13, 2022 Quote these legacy GtkRadiant layouts are hardly maintained or tested these days. I recommend using the Dockable layout instead and dragging the dock windows to the positions you want. I much prefer the old behaviour of opening the media browser or entity view in a temporary window. This way you can make them comfortably large and they dont't waste screen space when you don't need them (which is most of the time). Quote I think the Dockable layout would avoid that problem too (because the media browser would no longer be a top-level window). Mostly yes. But it is still a problem. You cannot quickly switch to the media browser and then back to another view. I think this behaviour of capturing keys and stop shortcuts to work as expected is bad. If it's not to difficult to implement, I would say ditch the automatic search on keypress. Quote
greebo Posted October 13, 2022 Author Report Posted October 13, 2022 22 hours ago, OrbWeaver said: I also see the checkboxes not doing anything. Drag and drop partially works for me, although I can only create a parent relationship. I cannot find a way to unparent a layer and bring it back to the top level. Gotta love these little platform-specific differences. The wxDataViewEvent sent in wxGTK is not delivering the correct column, so the event handler is not reacting. I rewrote the event handler in #6130, the checkbox should work now. About the drag-and-drop: this is another problem that seems to affect wxGTK only... in Windows, I can drag the layer to the top border of the view and it will deliver an empty target wxDataViewItem, which means make it toplevel - in wxGTK it doesn't seem to be possible to drag it to the top.(*) I can think of two possibilities right away either restrict the system such that the Default layer can never have child layers. Dragging a layer onto the Default layer will make the dragged layer a top-level layer Add a context menu item called "Make Top-Level" I don't like either of the two very much. Suggestions? (*) Yes, there's a guard in the wxGTK event handler: wxDataViewItem item(GetOwner()->GTKPathToItem(path)); if ( !item ) return FALSE; this prevents any empty item from being forwarded to the event. Quote
Baal Posted October 13, 2022 Report Posted October 13, 2022 Maybe drag the child onto the parent to unparent (make a sibling)? Quote
greebo Posted October 13, 2022 Author Report Posted October 13, 2022 2 minutes ago, Baal said: Maybe drag the child onto the parent to unparent (make a sibling)? Hm, I might try that to see if it feels intuitive. Quote
greebo Posted October 13, 2022 Author Report Posted October 13, 2022 Pushed the changes to master, feedback is appreciated. 1 Quote
Baal Posted October 13, 2022 Report Posted October 13, 2022 Ok, hiding via the checkbox works now. Drag and drop seems to work to, but I can't tell where I am dropping a node (above, below or on it). The highlight needs to colored more clearly. 1 Quote
thebigh Posted October 13, 2022 Report Posted October 13, 2022 Yep, hiding layers via the checkbox works for me now as well. Rearranging the layers is still a bit unintuitive but that's no big deal. Quote My missions: Stand-alone Duncan Lynch series Down and Out on Newford Road the Factory Heist The Wizard's Treasure A House Call The House of deLisle
greebo Posted October 14, 2022 Author Report Posted October 14, 2022 I think the drop indicators are out of my control, they are subject to the platform wxWidgets is running on. But I'm open to suggestions, if anyone has ideas on how to improve the hierarchy arrangement. Quote
Baal Posted October 14, 2022 Report Posted October 14, 2022 Can I change the colors locally somehow? I don't know much about gtk and wxwidgets. Quote
Baal Posted October 14, 2022 Report Posted October 14, 2022 Is it possible to reorder layers with drag and drop? Parenting and unparenting layers works; but it is trial and error. Quote
greebo Posted October 14, 2022 Author Report Posted October 14, 2022 39 minutes ago, Baal said: Is it possible to reorder layers with drag and drop? It's sorted alphabetically right now. The layers don't persist any sort order in the map files. 40 minutes ago, Baal said: Parenting and unparenting layers works; but it is trial and error. Yes, drag and drop works much better in Windows, the wxGTK port is not giving good visual feedback about where you're going to drop the layer. Quote
datiswous Posted October 14, 2022 Report Posted October 14, 2022 What is the file / where are the files where this is configured in the source code? I would like to take a look. Quote
greebo Posted October 14, 2022 Author Report Posted October 14, 2022 You mean the drag-and-drop code? It's in radiant/ui/layers/LayerControlDialog.h/.cpp 1 Quote
Baal Posted October 15, 2022 Report Posted October 15, 2022 After working with the layer hierarchy for a bit, I've come to the conclusion that only the leaf nodes should contain geometry. You can't easily select a parent node alone; you have to move its contents to a child if you want to do that. So instead of making one node the child of another node, they should be selected, then grouped. That would create a new, empty parent with the grouped layers as children. Unless there is some error in my thinking, this makes more sense to me. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.