- Fix for bug 1106 - .wad files don't get listed in the textures menu (Shaderman)
(http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=1106) - Added initial support for Prey (Shaderman) - Fixed entity inspector sliders to always show (Shaderman) - Added NOTES subsection to the entity inspector listing .def editor_usage* values (Shaderman) git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@114 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -1678,15 +1678,19 @@ GtkWidget* EntityInspector_constructWindow(GtkWindow* toplevel)
|
||||
|
||||
|
||||
{
|
||||
int x = g_entitysplit1_position;
|
||||
if (x != -1)
|
||||
// show the sliders in any case
|
||||
if(g_entitysplit2_position > 22)
|
||||
{
|
||||
gtk_paned_set_position(GTK_PANED(g_entity_split1), x);
|
||||
|
||||
x = g_entitysplit2_position;
|
||||
|
||||
if (x != -1)
|
||||
gtk_paned_set_position (GTK_PANED(g_entity_split2), x);
|
||||
gtk_paned_set_position (GTK_PANED(g_entity_split2), g_entitysplit2_position);
|
||||
} else {
|
||||
g_entitysplit2_position = 22;
|
||||
gtk_paned_set_position (GTK_PANED(g_entity_split2), 22);
|
||||
}
|
||||
if((g_entitysplit1_position - g_entitysplit2_position) > 27)
|
||||
{
|
||||
gtk_paned_set_position (GTK_PANED(g_entity_split1), g_entitysplit1_position);
|
||||
} else {
|
||||
gtk_paned_set_position (GTK_PANED(g_entity_split1), g_entitysplit2_position + 27);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user