summaryrefslogtreecommitdiffstats
path: root/graphics/truevision/files/patch-src-density.cc
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 05:48:30 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 05:48:30 +0800
commit47f0924840ec204c54f7f990f37b5bad23b87566 (patch)
treef67cbc3cd580ca84df023a36a412a3d497543241 /graphics/truevision/files/patch-src-density.cc
parent90ae460e90234ab656ca8c83b788aa6d3bfba9ec (diff)
downloadmarcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.tar
marcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.tar.gz
marcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.tar.bz2
marcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.tar.lz
marcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.tar.xz
marcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.tar.zst
marcuscom-ports-47f0924840ec204c54f7f990f37b5bad23b87566.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9261 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/truevision/files/patch-src-density.cc')
-rw-r--r--graphics/truevision/files/patch-src-density.cc37
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/truevision/files/patch-src-density.cc b/graphics/truevision/files/patch-src-density.cc
new file mode 100644
index 000000000..f93a18c8b
--- /dev/null
+++ b/graphics/truevision/files/patch-src-density.cc
@@ -0,0 +1,37 @@
+--- src/density.cc.orig Tue Oct 4 03:02:24 2005
++++ src/density.cc Tue Oct 18 18:54:34 2005
+@@ -198,9 +198,9 @@
+
+ if ( blockdens1 == NULL && type->value() == 1 )
+ {
+- blockdens1 = new PovTexDensity( app_ref, NULL, NULL, false );
+- blockdens2 = new PovTexDensity( app_ref, NULL, NULL, false );
+- blockdens3 = new PovTexDensity( app_ref, NULL, NULL, false );
++ blockdens1 = new PovTexDensity( app_ref, NULL, NULL, NULL, false );
++ blockdens2 = new PovTexDensity( app_ref, NULL, NULL, NULL, false );
++ blockdens3 = new PovTexDensity( app_ref, NULL, NULL, NULL, false );
+ blockdens1->add_to_tree( tree_view, tree_store, tree_selection, &node_iter );
+ blockdens2->add_to_tree( tree_view, tree_store, tree_selection, &node_iter );
+ }
+@@ -479,9 +479,9 @@
+
+ if ( !strcmp( tag, "DENSITY" ) )
+ {
+- if ( blockdens1 == NULL ) { blockdens1 = new PovTexDensity( app_ref, NULL, NULL, false ); blockdens1->load( file, tag ); continue; }
+- if ( blockdens2 == NULL ) { blockdens2 = new PovTexDensity( app_ref, NULL, NULL, false ); blockdens2->load( file, tag ); continue; }
+- if ( blockdens3 == NULL ) { blockdens3 = new PovTexDensity( app_ref, NULL, NULL, false ); blockdens3->load( file, tag ); continue; }
++ if ( blockdens1 == NULL ) { blockdens1 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); blockdens1->load( file, tag ); continue; }
++ if ( blockdens2 == NULL ) { blockdens2 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); blockdens2->load( file, tag ); continue; }
++ if ( blockdens3 == NULL ) { blockdens3 = new PovTexDensity( app_ref, NULL, NULL, NULL, false ); blockdens3->load( file, tag ); continue; }
+ tvio_skip_section( file );
+ }
+
+@@ -556,7 +556,7 @@
+ MapItem_density::MapItem_density( float val, guint8 c, app_objs *appref ) : MapItem( _("Density"), val )
+ {
+ color[0]=color[1]=color[2]=c; color[3]=255;
+-density = new PovTexDensity( appref, NULL, NULL, false );
++density = new PovTexDensity( appref, NULL, NULL, NULL, false );
+ char text[25];
+ sprintf( text, "Map density #%u", obj_count++ );
+ density->set_name( text );