[brlcad-commits] SF.net SVN: brlcad:[34970] web/trunk/htdocs/more/sites/all/modules/brlcad
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eb...@us...> - 2009-07-05 17:52:10
|
Revision: 34970 http://brlcad.svn.sourceforge.net/brlcad/?rev=34970&view=rev Author: ebautu Date: 2009-07-05 17:52:03 +0000 (Sun, 05 Jul 2009) Log Message: ----------- Update of BRL-CAD custom module settings and dependencies. Modified Paths: -------------- web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.info web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.install web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.module Modified: web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.info =================================================================== --- web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.info 2009-07-05 17:48:08 UTC (rev 34969) +++ web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.info 2009-07-05 17:52:03 UTC (rev 34970) @@ -3,3 +3,4 @@ description = "Provides basic integration with the BRL-CAD system." package = "BRL-CAD" version = "5.x-1.x-dev" +dependencies = flag filefield imagefield Modified: web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.install =================================================================== --- web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.install 2009-07-05 17:48:08 UTC (rev 34969) +++ web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.install 2009-07-05 17:52:03 UTC (rev 34970) @@ -4,14 +4,11 @@ * Implementation of hook_install */ function brlcad_install() { - variable_set('brlcad_version', '7.12'); + variable_set('brlcad_version', '7.14'); variable_set('brlcad_bin_path', '/usr/brlcad/bin'); - variable_set('brlcad_model', 'model'); - db_query('CREATE TABLE {brlcad_raytrace_queue}( - nid INTEGER PRIMARY KEY, - timestamp INTEGER NOT NULL, - INDEX timestamp(timestamp) - )'); + variable_set('brlcad_processing_flag', 'brlcad'); + variable_set('brlcad_raytrace_ae', '0 0'); + variable_set('brlcad_raytrace_size', 512); } /** @@ -20,6 +17,7 @@ function brlcad_uninstall() { variable_del('brlcad_version'); variable_del('brlcad_bin_path'); - variable_del('brlcad_model'); - db_query('DROP TABLE {brlcad_raytrace_queue}'); + variable_del('brlcad_processing_flag'); + variable_del('brlcad_raytrace_ae'); + variable_del('brlcad_raytrace_size'); } \ No newline at end of file Modified: web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.module =================================================================== --- web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.module 2009-07-05 17:48:08 UTC (rev 34969) +++ web/trunk/htdocs/more/sites/all/modules/brlcad/brlcad.module 2009-07-05 17:52:03 UTC (rev 34970) @@ -45,7 +45,7 @@ '#type' => 'select', '#title' => t('Version'), '#options' => _brlcad_supported_versions(), - '#default_value' => variable_get('brlcad_version', '7.12'), + '#default_value' => variable_get('brlcad_version', '7.14'), '#required' => true, ); $form['system']['brlcad_bin_path'] = array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |