Revision: 26245
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26245
Author:   aligorith
Date:     2010-01-25 12:15:04 +0100 (Mon, 25 Jan 2010)

Log Message:
-----------
Bleh... second attempt at getting this right!

Modified Paths:
--------------
    trunk/blender/source/blender/blenloader/intern/readfile.c

Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c   2010-01-25 
11:09:41 UTC (rev 26244)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c   2010-01-25 
11:15:04 UTC (rev 26245)
@@ -10555,7 +10555,7 @@
 
                                                /* do it here, slightly less 
chance of getting a false positive */
                                                for 
(fcu=adt->action->curves.first; fcu; fcu=fcu->next) {
-                                                       if 
(strcmp(fcu->rna_path, "minimum_x")==0)
+                                                       if 
(strstr(fcu->rna_path, "minimum_x"))
                                                                
do_version_fcurve_radians_degrees_250(fcu);
                                                }
                                                
@@ -10576,11 +10576,11 @@
                                
                                /* convert over named properties with 
PROP_UNIT_ROTATION time of this change */
                                for (fcu=act->curves.first; fcu; fcu=fcu->next) 
{
-                                       if (strstr(fcu->rna_path, 
"rotation_euler")==0)
+                                       if (strstr(fcu->rna_path, 
"rotation_euler"))
                                                
do_version_fcurve_radians_degrees_250(fcu);
-                                       else if (strstr(fcu->rna_path, 
"delta_rotation_euler")==0)
+                                       else if (strstr(fcu->rna_path, 
"delta_rotation_euler"))
                                                
do_version_fcurve_radians_degrees_250(fcu);
-                                       else if (strstr(fcu->rna_path, 
"pole_angle")==0)
+                                       else if (strstr(fcu->rna_path, 
"pole_angle"))
                                                
do_version_fcurve_radians_degrees_250(fcu);
                                }
                        }


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to