This is the changelog for developers, != changelog for the end user
that we distribute with the binaries. (see changelog)
+20/03/2006
+SPoG
+- Changed Copy/Paste to work on face textures if any faces are selected.
+- Fixed GTK_WIDGET_REALIZED assert when selecting entities (linux).
+
28/02/2006
namespace, SPoG
- Added drag-resizing for doom3/quake4 light_radius boxes.
SceneChangeNotify();
}
+bool SelectedFaces_empty()
+{
+ return g_SelectedFaceInstances.empty();
+}
+
void SelectedFaces_pasteTexture()
{
UndoableCommand command("facePasteTexture");
extern Callback g_texture_lock_status_changed;
+bool SelectedFaces_empty();
void SelectedFaces_copyTexture();
void SelectedFaces_pasteTexture();
void FaceTextureClipboard_setDefault();
GtkTreeView* view = g_entityClassList;
GtkTreePath* path = gtk_tree_model_get_path(model, &iter);
gtk_tree_selection_select_path(gtk_tree_view_get_selection(view), path);
- gtk_tree_view_scroll_to_cell(view, path, 0, FALSE, 0, 0);
+ if(GTK_WIDGET_REALIZED(view))
+ {
+ gtk_tree_view_scroll_to_cell(view, path, 0, FALSE, 0, 0);
+ }
gtk_tree_path_free(path);
good = FALSE;
}
{
GtkTreePath* path = gtk_tree_model_get_path(model, &iter);
gtk_tree_selection_select_path(gtk_tree_view_get_selection(view), path);
- gtk_tree_view_scroll_to_cell(view, path, 0, FALSE, 0, 0);
+ if(GTK_WIDGET_REALIZED(view))
+ {
+ gtk_tree_view_scroll_to_cell(view, path, 0, FALSE, 0, 0);
+ }
gtk_tree_path_free(path);
count = 1;
}
void Copy()
{
- if(GlobalSelectionSystem().Mode() == SelectionSystem::ePrimitive)
+ if(SelectedFaces_empty())
{
Selection_Copy();
}
void Paste()
{
- if(GlobalSelectionSystem().Mode() == SelectionSystem::ePrimitive)
+ if(SelectedFaces_empty())
{
UndoableCommand undo("paste");