Garux
9ef4e57518
fix infinite loop in bobtoolz modal dialog after "enter illegal data;ok;get msg box;ok;close dialog window;get msg box"
2020-06-06 12:18:28 +03:00
Garux
35309c8c6c
fix Gdk-CRITICAL **: IA__gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed
2020-06-05 23:49:04 +03:00
Garux
e357564ff8
remove more of deprecated Gtk stuff
2020-06-05 20:40:12 +03:00
Garux
495e90e6a9
gtk_notebook_set_page -> gtk_notebook_set_current_page
...
gtk_container_children -> gtk_container_get_children
gtk_notebook_set_page -> gtk_notebook_set_current_page
gtk_widget_hide_all -> gtk_widget_hide
gtk_check_menu_item_set_state -> gtk_check_menu_item_set_active
gtk_radio_menu_item_group -> gtk_radio_menu_item_get_group
2020-05-23 22:54:26 +03:00
Garux
2e71534766
gtk_tooltips_set_tip -> gtk_widget_set_tooltip_text
2020-05-22 01:16:04 +03:00
Garux
f14722d36f
replace GTK_FILE_SELECTION
2020-05-21 19:16:09 +03:00
Garux
ab7eb468ec
gtk_widget_set_usize -> gtk_widget_set_size_request
...
-2 in gtk_widget_set_usize() means 'don't change given dimension'
-2 in gtk_widget_set_size_request() = early quit function w/o an effect, thus change to -1
2020-05-21 16:27:33 +03:00
Garux
790424dbae
GTK_OPTION_MENU -> GTK_COMBO_BOX_TEXT
2020-05-21 16:27:29 +03:00
Garux
70cf8c4bdd
gtk_widget_ref/gtk_widget_unref -> g_object_ref/g_object_unref
2020-05-21 16:27:28 +03:00
Garux
e8998ab4a8
replace gtk_radio_button_group()
2020-05-21 16:27:26 +03:00
Garux
a212ff3b27
GtkCombo -> GtkComboBox
2020-05-21 16:27:25 +03:00
Garux
3edde6c857
replace gtk_entry_new_with_max_length()
2020-05-21 16:27:23 +03:00
Garux
bc48a22a7b
gtk_container_border_width -> gtk_container_set_border_width
2020-05-21 16:27:22 +03:00
Garux
9d34fca65c
gtk_entry_set_editable -> gtk_editable_set_editable
2020-05-21 16:27:20 +03:00
Garux
0140da6e72
only #include <gtk/gtk.h>
2020-05-21 16:27:17 +03:00
Garux
cd529b4fb0
replace gtk_signal_connect, GTK_OBJECT, GTK_SIGNAL_FUNC, gtk_object_set_data, gtk_object_get_data
2020-05-21 16:27:15 +03:00
Garux
4f8e6e7ee5
fix the rest of errors with CFLAGS+="-DGSEAL_ENABLE" except accel_label->accel_string required hack
2020-05-21 16:27:14 +03:00
Garux
50e1af1a16
update GtkWidget allocation access method
2020-05-21 16:27:03 +03:00
Garux
d214be3911
update GtkColorSelectionDialog use
2020-05-21 16:24:52 +03:00
Garux
065862627e
update GtkAdjustment data access methods
2020-05-21 16:24:50 +03:00
Garux
12263f74d1
use gtk_widget_get_window() instead of widget->window
2020-05-21 16:24:40 +03:00
Garux
ff33df7d45
replace GTK_WIDGET_VISIBLE -> gtk_widget_get_visible()
2020-05-19 23:46:54 +03:00
Garux
112f66fb06
remove deprecated GTK_WIDGET_SET_FLAGS GTK_WIDGET_UNSET_FLAGS use
2020-05-19 22:08:00 +03:00
Garux
0831e0966d
Replace GDK_<keyname> with GDK_KEY_<keyname>
2020-05-19 21:15:11 +03:00
Garux
4b2f9d6080
* open/save dialogs: use current file path, name, focus it, if present
...
brushexport plugin: case insensitive extension check
2020-03-01 19:38:27 +03:00
Garux
e5d040a770
fix simple warnings
2020-02-02 14:53:18 +03:00
Garux
b5c831908d
brushexport plugin: popup on export with nothing selected
2020-01-05 06:00:54 +03:00
Garux
2656228b13
* brushexport plugin: hide window on closing = preserve settings
2020-01-05 05:35:39 +03:00
Garux
f990b5ed44
* brushexport plugin: make comparison with 'Ignored materials' case insensitive
2020-01-05 03:51:20 +03:00
Garux
58c40278a8
* brushexport plugin: for 'Ignored materials' use input after last slash, as comparison is only using this part
2020-01-05 02:08:52 +03:00
Garux
31014dcf4a
* brushexport plugin: add 'Ignored materials' on Enter, delete on Delete
2020-01-05 01:44:01 +03:00
Garux
f893b9a789
* brushexport plugin: add Save button to reexport to recently specified file directly
2020-01-04 20:05:01 +03:00
Garux
26d33ce5c8
brushexport plugin: make t_limitmatnames, t_objects options available with t_exportmaterials off
2020-01-04 02:39:51 +03:00
Garux
234f50f58d
brushexport plugin: tooltip for "Weld vertices" toggle
2020-01-04 01:42:59 +03:00
Garux
4af0818069
brushexport plugin: console print on success
2020-01-04 00:51:40 +03:00
Garux
0f6e20a334
* brushexport plugin: "Weld vertices" option (welds inside group or object, thus result depends on collapse option)
...
rephrase, shorten code
disable debug prints about exclusions in release
print error to console with nothing selected
more picky conditions in ExportData::GetShaderNameFromShaderPath slash search
2020-01-03 22:18:52 +03:00
Garux
1e0f7ba781
tweak VIEWTYPE related code
2019-08-29 00:41:40 +03:00
Garux
9c908392b9
fix warnings and error
2019-07-06 14:35:20 +03:00
Garux
57b374417d
shorten brushexport command name
...
increase offset in commandlist.txt
2019-03-13 19:58:21 +03:00
Garux
4382b5f6d9
* bobToolz::Vis Viewer repair (shows current vis cluster brush drawsurfaces in green and rest visible ones in other colours for Q3 and Wolf/QL .bsp):
...
don't crash on bsp w/o vis
don't crash with origin in the void (includes inside of structural brush)(do reset)
grab point to analyse from camera position with nothing selected; grab from any objects selection too
fix rendering issues
read surfaces written by q3map2 correctly + faster rendering code
print number of loaded drawsurfaces to console for evaluation of optimization done
fix a couple of of leaks and crashes after new/delete
2019-03-07 11:29:59 +03:00
Garux
3da20671dd
prtview dialog: make path editable, fix getting WD in windows
2019-02-27 23:26:28 +03:00
Garux
dfb56b66f4
* prtview plugin: support PRT2 and PRT1-AM .prt formats
2019-02-26 23:59:22 +03:00
Garux
034f06f18d
* brushexport plugin: write Kd (diffuse color) and map_Kd (diffuse map) data to .mtl
...
* brushexport plugin fix: invert Y during YZ swap; invert V of UV coords (correct texturing)
* brushexport plugin: default to 'Don't collapse' option
q3map2: * obj export: save in popular 'Y = Up, -Z = Forward' format
* picomodel::obj: load as popular 'Y = Up, -Z = Forward' format
* picomodel::obj: fix support of back references in faces
2019-01-10 00:44:27 +03:00
Garux
4dc9b18f70
* fix brush shader names handling by bobtoolz (was writting empty shader name = crash on map save, at least "textures/" is expected)
...
complain about patch and brush shader names harder
2018-12-24 23:44:57 +03:00
Joel Baxter
c2501bb551
add URL to Help dialog
...
Link to a sort-of-useful online doc.
2018-11-05 15:47:36 -08:00
Joel Baxter
dc165777ea
remove word "commit" from the About dialog
...
(since the commit hash itself has already been removed)
2018-11-05 15:46:46 -08:00
Garux
614885f1fb
fix typos
2018-10-07 23:36:13 +03:00
Garux
cf580963c2
more globalWarningStream() globalErrorStream() use
2018-03-21 16:06:22 +03:00
Garux
b1e2f26124
use globalWarningStream()
2018-03-21 04:21:07 +03:00
Garux
5761c6006b
GtkSpinButtons are numeric only in SI, arbitrary rotation dialog, preferences
...
SI: fit: fewer trailing zeros
SI: rotate: page_increment = 45 (activatable by scroll click on arrows; RMB = min/max)
2017-10-19 21:51:22 +03:00