[Durian-svn] [6741] hairstyle activation for 84g

soenke institute at blender.org
Mon Jul 12 10:25:54 CEST 2010


Revision: 6741
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=6741
Author:   soenke
Date:     2010-07-12 10:25:54 +0200 (Mon, 12 Jul 2010)
Log Message:
-----------
hairstyle activation for 84g

Modified Paths:
--------------
    pro/scripts/modules/finals_config.py

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-07-12 08:24:20 UTC (rev 6740)
+++ pro/scripts/modules/finals_config.py	2010-07-12 08:25:54 UTC (rev 6741)
@@ -954,7 +954,7 @@
         elif base_name.startswith("08.4d"): preset = 18
         elif base_name.startswith("08.4e"): preset = 18
         elif base_name.startswith("08.4f"): preset = 18
-        elif base_name.startswith("08.4g"): preset = 12
+        elif base_name.startswith("08.4g"): preset = 12; hair_style = "hairstyle_data/sintel_hair_084g.obj"
         elif base_name.startswith("08.4i"): preset = 18
         elif base_name.startswith("08.4j"): preset = 18
         elif base_name.startswith("08.4k"): preset = 12
@@ -1069,7 +1069,7 @@
         '''
         
         # load hair if set
-        hair_style = "sintel_hair_more_face.obj"
+        #hair_style = "sintel_hair_more_face.obj"
         
         if hair_style:
             import hairutils
@@ -1081,7 +1081,7 @@
             hair_filepath = os.path.join(hair_dir, hair_style)
 
             # load the new style
-#            hairutils.load_hair_style(hair_filepath, psys)
+            hairutils.load_hair_style(hair_filepath, psys)
             # obj.update(bpy.context.scene)
 
         if preset == -1:



More information about the Durian-svn mailing list