Garux
9fbb551ad6
minor gui tweaks
2025-12-03 20:09:08 +05:00
Garux
7d712c9ab8
use std::array
2025-12-03 00:55:25 +05:00
Garux
5b380fd6fe
remove explicit float literal specifiers
2025-11-02 01:27:42 +05:00
Garux
2f17128f06
remove some odd static_cast<>
2025-11-01 20:49:05 +05:00
Garux
00c352b697
remove odd newlines
2025-10-09 02:45:30 +05:00
Garux
7ea9546cdf
add class SingleQuoted
2025-10-07 00:16:53 +05:00
Garux
86d08f9e93
use std::array for PlanePoints
2025-09-07 18:20:13 +05:00
Garux
d7f3e9bd3f
minor tweaks
2025-09-04 16:01:47 +05:00
Garux
911a7cceeb
minor tweaks
2025-09-03 00:29:13 +05:00
Garux
5426732f28
minor tweaks
2025-09-02 05:04:33 +05:00
Garux
607d4c67ad
tweak formatting
2025-02-05 15:59:29 +05:00
TimePath
b65f27b166
Callback: cleanup
2025-01-22 14:57:22 +05:00
TimePath
57c8189225
Callback: remove fixed-arity wrappers
2025-01-22 12:39:14 +05:00
Garux
193c3dd730
fix texturing clipboard shader name on light entity data copy
2025-01-05 08:16:59 +05:00
Garux
159a063da8
* fix surface inspector updates on patch texturing changes, on UV Tool edits
2024-12-18 05:28:35 +05:00
Garux
b0a065afd6
make a99892751b work in Linux
...
#184
2024-03-31 11:43:00 +05:00
Garux
df02774ff5
tweak StringOutputStream use
...
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux
956e30f113
Surface Inspector more concrete KB filtering: pass some editor's shortcuts with modifiers
...
#147
2023-09-20 10:55:53 +06:00
Garux
1a12e3b226
rework Surface Inspector for correct +- scale buttons alignment
2023-09-18 15:57:46 +06:00
Garux
8cd2a5257f
Surface Inspector flags: fix window resizing
2023-09-18 15:42:16 +06:00
Garux
a99892751b
entity, surface inspectors: clear focus widget while showing to keep global shortcuts working
2023-02-02 19:39:39 +06:00
Garux
0678e842b2
improve Surface Inspector consistency
...
was showing shader of last selected brush, texdef of 1st
now shows properties of single primitive
at 1st tries to show last selected primitive to be responsible to selection
prefers brushes over patches as general rule
2022-10-28 21:00:55 +03:00
Garux
9d3d204018
Qt
2022-10-27 09:10:31 +03:00
Garux
6c129e546f
store winding points in double precision
2021-11-23 14:48:00 +03:00
Garux
7be3cbda79
refactor PatchEdgeIter, Patch_getClosestTriangle
2021-11-22 12:27:55 +03:00
Garux
cf8e0e1501
handle more cases in seamless patch<>brush tex paste
2021-11-16 00:38:47 +03:00
Garux
da98e8fde3
various code cleanups
2021-10-30 16:04:31 +03:00
Garux
0c390241c8
fix formatting
2021-10-26 18:16:24 +03:00
Garux
8d71aea059
* Q2::surface inspector::brush face flags: add "Unset flags" button
2021-08-24 18:57:59 +03:00
Garux
a1daaa2946
remove commented out code
2021-07-02 17:19:56 +03:00
Garux
da55e8cbb4
* ctrl + m3/drag: also paste texture seamlessly from brush face to patch and vice versa, when face edje is adjacent to patch edje
2021-07-02 17:16:50 +03:00
Garux
da98f5f9d9
add and use Entity::getClassName(), Entity::hasKeyValue()
...
do not return default value from getKeyValue()
2021-05-16 10:13:42 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
d734199601
manage path routines
2021-01-22 02:21:54 +03:00
Garux
f6bf97f27e
gtk_spin_button_get_value_as_float -> gtk_spin_button_get_value
2020-05-22 01:16:01 +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
62603d25fb
don't check equality to gboolean FALSE and TRUE
2020-05-21 16:27:31 +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
0140da6e72
only #include <gtk/gtk.h>
2020-05-21 16:27:17 +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
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
e1a145c234
remove excess (GdkModifierType) casts
2020-05-19 21:40:52 +03:00
Garux
13f877b7db
forward path slashes entered in surface inspector, find/replace dialog::replace
2020-05-05 12:31:53 +03:00
Garux
71c63fbdc6
* fix alt + m1 indirect faces picking, when object is partially or fully out of camera view
...
refactor math functions
2019-04-28 20:54:29 +03:00
Garux
a1abcd8c83
* bindable commands TextureProjectAxial/Ortho/Cam, using default texdef, unlike surface inspector buttons
2019-03-08 12:52:19 +03:00
Garux
fb53d5094a
some more sensible gui default sizes
2019-01-11 18:35:37 +03:00
Garux
3706e1131a
binds...
...
* m3: copy texture name, alignment +new: color, light power, color
* alt + m3/drag: paste texture name (to pointed and selected stuff)
* shift + m3/drag: paste texture name, alignment +new: light power
* ctrl + m3/drag: paste texture seamlessly between brush faces +new: light color
* ctrl + shift + m3/drag: project texture from copied brush face +new: paste light power, color
* alt + ctrl/shift/ctrl+shift + m3/drag: respective texture alignment paste w/o texture name
fix void NormalizeColor( Vector3& color )
fix: reset texture clipboard texdef on selection in texbro (was only resetting scales)
2018-08-11 23:36:50 +03:00
Garux
7908a2b593
simplify TextureBrowser_GetSelectedShader, TextureBrowser_SetSelectedShader usage
...
assuming, that we have only TextureBrowser
2018-08-03 17:32:57 +03:00
Garux
f0057a86f4
* bindable commands FitTextureWidth, FitTextureHeight, FitTextureWidthOnly, FitTextureHeightOnly
2018-06-24 13:14:54 +03:00