Mon, 20 Jun 2022 21:14:17 +0300
Fix pick scene rendering: we cannot use glReadPixels when using multisampling, so we need to render the pick scene to a separate frame buffer
182
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
2 | <ui version="4.0"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
3 | <class>ObjectEditor</class> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
4 | <widget class="QWidget" name="ObjectEditor"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
5 | <property name="geometry"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
6 | <rect> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
7 | <x>0</x> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
8 | <y>0</y> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
9 | <width>664</width> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
10 | <height>468</height> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
11 | </rect> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
12 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
13 | <property name="windowTitle"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
14 | <string>Form</string> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
15 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
16 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
17 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
18 | <layout class="QVBoxLayout" name="verticalLayout"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
19 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
20 | <layout class="QHBoxLayout" name="horizontalLayout"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
21 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
22 | <widget class="QLabel" name="typeIconLabel"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
23 | <property name="text"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
24 | <string><icon></string> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
25 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
26 | </widget> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
27 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
28 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
29 | <widget class="QLabel" name="typeNameLabel"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
30 | <property name="styleSheet"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
31 | <string notr="true">font-weight: bold</string> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
32 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
33 | <property name="text"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
34 | <string>Object</string> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
35 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
36 | </widget> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
37 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
38 | </layout> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
39 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
40 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
41 | <widget class="QGroupBox" name="properties"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
42 | <property name="title"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
43 | <string>Properties</string> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
44 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
45 | </widget> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
46 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
47 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
48 | <spacer name="verticalSpacer"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
49 | <property name="orientation"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
50 | <enum>Qt::Vertical</enum> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
51 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
52 | <property name="sizeHint" stdset="0"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
53 | <size> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
54 | <width>20</width> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
55 | <height>40</height> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
56 | </size> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
57 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
58 | </spacer> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
59 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
60 | </layout> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
61 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
62 | <item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
63 | <spacer name="horizontalSpacer"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
64 | <property name="orientation"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
65 | <enum>Qt::Horizontal</enum> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
66 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
67 | <property name="sizeHint" stdset="0"> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
68 | <size> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
69 | <width>508</width> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
70 | <height>20</height> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
71 | </size> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
72 | </property> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
73 | </spacer> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
74 | </item> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
75 | </layout> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
76 | </widget> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
77 | <resources/> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
78 | <connections/> |
27fb1c3c9fbb
add ui file to object editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff
changeset
|
79 | </ui> |