[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22202] branches/soc-2008-mxcurioni/source /blender: Removed unnecessary initialization argument
Maxime Curioni
maxime.curioni at gmail.com
Tue Aug 4 03:08:01 CEST 2009
Revision: 22202
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22202
Author: mxcurioni
Date: 2009-08-04 03:08:00 +0200 (Tue, 04 Aug 2009)
Log Message:
-----------
Removed unnecessary initialization argument
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/FRS_freestyle.h
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/FRS_freestyle.cpp
branches/soc-2008-mxcurioni/source/blender/src/usiblender.c
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/FRS_freestyle.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/FRS_freestyle.h 2009-08-04 01:05:31 UTC (rev 22201)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/FRS_freestyle.h 2009-08-04 01:08:00 UTC (rev 22202)
@@ -26,7 +26,7 @@
extern float* freestyle_dkr_epsilon;
// Rendering
- void FRS_initialize( short select_layer );
+ void FRS_initialize();
void FRS_add_Freestyle(Render* re);
void FRS_exit();
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/FRS_freestyle.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/FRS_freestyle.cpp 2009-08-04 01:05:31 UTC (rev 22201)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/FRS_freestyle.cpp 2009-08-04 01:08:00 UTC (rev 22202)
@@ -55,7 +55,7 @@
// Initialization
//=======================================================
- void FRS_initialize( short select_layer ){
+ void FRS_initialize(){
if( !freestyle_is_initialized ) {
@@ -69,8 +69,7 @@
freestyle_is_initialized = 1;
}
- if( select_layer )
- FRS_select_layer( (SceneRenderLayer*) BLI_findlink(&G.scene->r.layers, G.scene->r.actlay) );
+ FRS_select_layer( (SceneRenderLayer*) BLI_findlink(&G.scene->r.layers, G.scene->r.actlay) );
}
Modified: branches/soc-2008-mxcurioni/source/blender/src/usiblender.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/src/usiblender.c 2009-08-04 01:05:31 UTC (rev 22201)
+++ branches/soc-2008-mxcurioni/source/blender/src/usiblender.c 2009-08-04 01:08:00 UTC (rev 22202)
@@ -605,7 +605,7 @@
if (retval!=0) G.relbase_valid = 1;
- FRS_initialize( 1 );
+ FRS_initialize();
undo_editmode_clear();
undo_imagepaint_clear();
@@ -681,7 +681,7 @@
init_userdef_file();
- FRS_initialize( 1 );
+ FRS_initialize();
undo_editmode_clear();
undo_imagepaint_clear();
More information about the Bf-blender-cvs
mailing list