Re: [Bf-committers] improved UV test grid

2010-03-18 Thread Hubert Niećko
shuvro: did you try this BLF_draw_buffer() function ?
I think I can write addtext python function doing it pixel one by one,
but it will have one small 3x5px or 4x7 font ;) and support chars 0-9
A-F
I put array of 00 01 ... FF into image it in the middle of 32px
square, it will not be looking like on the prototype picture but
should be enough
hubert  (szczuro) niecko
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] improved UV test grid (improved UV Grid added as an option with the default one)

2010-03-18 Thread shuvro sarker
This patch added the improved UV test grid as an option with the default
one.
That means now you can select any of the two grids from the menu.
The screenshots provided with the patch link will clarify this.

The link of the patch is -

https://projects.blender.org/tracker/index.php?func=detailaid=21660group_id=9atid=127

Thanks to Campbell Barton for guiding me.


Shuvro
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Python sandbox

2010-03-18 Thread Mike Belanger
To me its not a question of how secure your pipeline is, but how quickly you
can 'bounce back' after a system failure, maliciously-motived or otherwise.
Yeah, you should have a firewall, passwords, admin rights etc.  But really,
the best insurance policy for studio assets is automated-backup.
If anything, this sandbox thing almost sounds like it could restrict
backups, or make them difficult/require consent every save.  Anything
discouraging/inhibiting backup is a far bigger threat, imho.

A disclaimer in front of AddOns works for me.


On Wed, Mar 17, 2010 at 11:28 PM, Matt Ebb m...@mke3.net wrote:


 On 18/03/2010, at 15:09 , §ĥřïñïďĥï Ŗäö wrote:

  Hi,
  This is my very first mail to this list . I am not a developer but I
  thought
  i will put my 2 cents here since I felt that this discussion is a
  waste of
  time for many reasons .
  1: +100 for Brecth and his opinion (He is perfectly right !!)
  2: sanboxing blender will make it unusable  in large pipelines where
  we need
  blender to be integrated with other softwares and also need to do a
  lot of
  automatic IO (this includes IO to databases and in  renderfarm too
  which can
  be used for other than just rendering out images )

 +1 to this too. Even in 2.4* we had lots of trouble at our studio with
 scriptlinks, pydrivers, etc being off by default. We had problems (and
 wasted hours of work) when an artist took work home, installed a
 default blender from online and worked with that - getting the file
 into a state that caused lots of problems when the scripts were
 working as intended. This may have happened more than once too, can't
 remember. Similar trouble when doing some complicated things and
 sending files out to other studios who weren't familiar with Blender
 and this particular issue that really doesn't affect them.

 Many people who use blender don't download and open files from
 strangers on the web, and I would not like to see practical usability
 hindered just to try and give people who do the impression of security.

 cheers,

 Matt
  ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers




-- 
www.watchmike.ca
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27569] trunk/blender/release/scripts/op/ image.py: Fix [#21553] Re-Projection just opening the image editor but not the image.

2010-03-18 Thread JS
This was working splendid the other day, great tool!!! But I seem to be getting 
an error now on osx when using gimp as my image editor, not sure if it was this 
commit or one of the previous others in the last two days.

Here is the error from console.
3/18/10 11:05:33 PM login[15790] USER_PROCESS: 15790 ttys000 
3/18/10 11:07:56 PM [0x0-0xa90a9].gimp-2.6[15814] Unknown option -psn_0_692393 
3/18/10 11:07:56 PM com.apple.launchd[115] ([0x0-0xa90a9].gimp-2.6[15814]) 
Exited with exit code: 1 
3/18/10 11:07:56 PM com.apple.launchd[115] ([0x0-0xa90a9].gimp-2.6[15814]) 
Exited with exit code: 1 
3/18/10 11:07:56 PM [0x0-0x91091].org.blenderfoundation.blender[15558] 
LSOpenFromURLSpec() failed with error -10810 for the file 
/Users/jsplifer/Desktop/PrivateDick/Models/animals_moth_animals_moth005.png. 

Thanks,
jsplifer



- Original Message 
From: Matt Ebb m...@mke3.net
To: bf-blender-...@blender.org
Sent: Tue, March 16, 2010 11:08:11 PM
Subject: [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27569] 
trunk/blender/release/scripts/op/ image.py: Fix [#21553] Re-Projection just 
opening the image editor but not the image.

Revision: 27569
  
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=revroot=bf-blenderrevision=27569
Author:   broken
Date: 2010-03-17 04:07:37 +0100 (Wed, 17 Mar 2010)

Log Message:
---
Fix [#21553] Re-Projection just opening the image editor but not the image.

Campbell please check/beautify if you like, but it works properly on OS X, 
either
opening Preview with the 'open' command or Photoshop, when the path is set 
in user preferences.

Modified Paths:
--
trunk/blender/release/scripts/op/image.py

Modified: trunk/blender/release/scripts/op/image.py
===
--- trunk/blender/release/scripts/op/image.py2010-03-17 01:56:41 UTC (rev 
27568)
+++ trunk/blender/release/scripts/op/image.py2010-03-17 03:07:37 UTC (rev 
27569)
@@ -22,19 +22,25 @@


def image_editor_guess(context):
+import platform
+system = platform.system()
+
 image_editor = context.user_preferences.filepaths.image_editor

 # use image editor in the preferences when available.
 if not image_editor:
-import platform
-system = platform.system()
-
 if system == 'Windows':
-image_editor = start # not tested!
+image_editor = [start] # not tested!
 elif system == 'Darwin':
-image_editor = open
+image_editor = [open]
 else:
-image_editor = gimp
+image_editor = [gimp]
+else:
+if system == 'Darwin':
+# blender file selector treats .app as a folder
+# and will include a trailing backslash, so we strip it.
+image_editor.rstrip('\\')
+image_editor = [open, -a, image_editor]

 return image_editor

@@ -118,8 +124,12 @@
 image_new.file_format = 'PNG'
 image_new.save()

-subprocess.Popen([image_editor, bpy.utils.expandpath(filename_final)])
+cmd = []
+cmd.extend(image_editor)
+cmd.append(bpy.utils.expandpath(filename_final))

+subprocess.Popen(cmd)
+
 return {'FINISHED'}




___
Bf-blender-cvs mailing list
bf-blender-...@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs



  

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers