[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38681] trunk/blender/release/scripts/ startup/bl_operators/screen_play_rendered_anim.py: fix for DingTo' s recent commit with the animation player, it ignored the case where the p

Campbell Barton ideasman42 at gmail.com
Thu Jul 28 07:21:28 CEST 2011


Fixed r38776, 38777.

Infact this was not a bug exactly,
"blender" was found and run successfully, but when the path was
guessed - blender 2.5x would run which has no animation playback
support, it quit silently.

The fix is to throw an error if blender is not version 2.4x.

On Wed, Jul 27, 2011 at 2:50 AM, Thomas Dinges <blender at dingto.org> wrote:
> Hey Campbell,
> well with this commit you undo my fix for a very common case. :)
> I see that my solution didn't worked for when the player was in users
> $PATH so it's good you fixed that, but your solution doesn't work when
> you don't have a  player in $PATH and the user pref field is empty too.
>
> Bottom line: After your commit a user (again) does not get an error when
> he starts Blender and calls the operator (here on Windows, with no
> Blender in $PATH).  He instead wonders why nothing happens.
> Which is excactly what I wanted to avoid/fix! ;-)
>
> Best regards,
> Thomas
>
> Am 25.07.2011 08:38, schrieb Campbell Barton:
>> Revision: 38681
>>            http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38681
>> Author:   campbellbarton
>> Date:     2011-07-25 06:38:21 +0000 (Mon, 25 Jul 2011)
>> Log Message:
>> -----------
>> fix for DingTo's recent commit with the animation player, it ignored the case where the player is not an absolute path but found in the users $PATH (as is common on *nix systems).
>>
>> now try and execute player, reporting the exception rather then checking the player file exists.
>> also made some pep8-80 style edits.
>>
> --
> Thomas Dinges
> Blender Developer, Artist and Musician
>
> www.dingto.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list