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 
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=rev&root=bf-blender&revision=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


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-22 Thread JS
I installed the gimp.app bundle that macports and probably fink have available, 
which fixes this. 


- Original Message 
From: JS 
To: bf-committers@blender.org
Sent: Thu, March 18, 2010 11:12:15 PM
Subject: Re: [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.

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 
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=rev&root=bf-blender&revision=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


Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27712] trunk/blender/source: remove unused includes UI_*.h, WM_*.h, ED_*.h

2010-03-24 Thread JS
Pretty sure this broke quicktime import export compiling on osx.

Scanning dependencies of target bf_quicktime
[ 82%] Building C object 
source/blender/quicktime/CMakeFiles/bf_quicktime.dir/apple/quicktime_import.o
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:
 In function ‘anim_is_quicktime’:
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:200:
 warning: pointer targets in passing argument 1 of ‘FSPathMakeRef’ differ in 
signedness
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:213:
 warning: ‘FSpGetFInfo’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10183)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:
 In function ‘free_anim_quicktime’:
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:245:
 warning: ‘UnlockPixels’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:200)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:248:
 warning: ‘DisposeGWorld’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:
 In function ‘qtime_fetchibuf’:
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:337:
 warning: ‘GetGWorldPixMap’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:376:
 warning: statement with no effect
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:
 In function ‘startquicktime’:
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:449:
 warning: pointer targets in passing argument 1 of ‘FSPathMakeRef’ differ in 
signedness
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:500:
 warning: ‘NewGWorldFromPtr’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:176)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:505:
 warning: pointer targets in passing argument 7 of ‘NewGWorldFromPtr’ differ in 
signedness
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:513:
 warning: ‘GetGWorldDevice’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:420)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:522:
 warning: ‘GetGWorldPixMap’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:523:
 warning: ‘LockPixels’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:188)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:
 In function ‘imb_is_a_quicktime’:
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:575:
 warning: pointer targets in passing argument 1 of ‘FSPathMakeRef’ differ in 
signedness
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:
 In function ‘imb_quicktime_decode’:
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:679:
 warning: ‘NewGWorldFromPtr’ is deprecated (declared at 
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:176)
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_import.c:682:
 warning: pointer targets in passing argument 7 of ‘NewGWorldFromPtr’ differ in 
signedness
/Users/jsplifer/Documents/Development/Blender/blender/source/blender/quicktime/apple/quicktime_im

Re: [Bf-committers] wacom tablet issues

2010-04-11 Thread JS
Hello,

Tool continues to modify, yes, that has happened.

Dunno this second one.

Yes, I attributed the handle clicking to the jittery nature of the stylus and 
not a bug.

I have also had a lagging interface.  Deleting the user pref file fixed it up 
for me. The .B25.blend file in my case located at the top of my /Users/me 
directory. Settings will have to be re-configured and saved after del.  It 
sounds like your issue is a bit different but give it a shot anyway.

jsplifer

On Apr 10, 2010, at 6:34 PM, Charles Wardlaw  
wrote:

> Hi all,
> 
> I'm wondering if anyone else has experienced the following issues with Wacom 
> tablets under 2.5, or if it's just me.  I can't really submit a bug report 
> because the issues themselves are unpredictable.  I'm assuming that it's 
> related to the Wacom tablet because people using mice at work don't seem to 
> have the same issues:
> 
> - When sculpting, sometimes the tool continues to modify the mesh even after 
> the pen has left the tablet. (Repeatedly clicking off the model or tabbing in 
> and out of Blender solves the issue.)
> 
> - When UserPreferencesEdit.drag_immediately is true it works as expected, but 
> every so often the behavior defaults to how it works when 
> UserPreferencesEdit.drag_immediately is false.  Toggling the value in the 
> preferences window has no effect; restarting Blender fixes the issue.
> 
> - The corner drag handle that's used to split areas is extremely hard to 
> click on.  (With a mouse it's much less so.)
> 
> - There's a noticeable (50 - 100ms or so, by my estimate) lag between when 
> you put the pen to the tablet to rotate the 3D viewport and when the viewport 
> actually begins rotating, moving, or trucking.  This lag is considerably 
> lessened by going into full screen mode, but it's still apparent enough to 
> cause a jump when positioning the view.
> 
> I think the problems have something to do with a threshold value; past a 
> certain pressure threshold the system registers a click, but sometimes that 
> threshold is not passed yet the system driver sends a click message, which 
> confuses Blender.  Is there a way to debug tablet values directly inside 
> Blender by, for example, reading RNA and having it pump into text fields 
> created by Python?  Perhaps some way to piggyback on system messages for 
> input without eating those messages?
> 
> Thanks,
> ~ Charles
> 
> 
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


  

___
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 [28401] trunk/blender/source/blender: py api: fix for context returning None for an empty list such as 'context. selected_objects'

2010-04-25 Thread JS


This commit breaks texture slot. And texture creation.

Reported by several others on IRC, k thnx.

Revision: 28401
  
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28401
Author:   campbellbarton
Date: 2010-04-24 21:26:05 +0200 (Sat, 24 Apr 2010)

Log Message:
---
py api: fix for context returning None for an empty list such as 
'context.selected_objects', now returns []

Modified Paths:
--
trunk/blender/source/blender/blenkernel/BKE_context.h
trunk/blender/source/blender/blenkernel/intern/context.c
trunk/blender/source/blender/editors/screen/screen_context.c
trunk/blender/source/blender/editors/space_node/space_node.c
trunk/blender/source/blender/editors/space_view3d/space_view3d.c
trunk/blender/source/blender/python/intern/bpy_rna.c

Modified: trunk/blender/source/blender/blenkernel/BKE_context.h
===
--- trunk/blender/source/blender/blenkernel/BKE_context.h   2010-04-24 
18:11:28 UTC (rev 28400)
+++ trunk/blender/source/blender/blenkernel/BKE_context.h   2010-04-24 
19:26:05 UTC (rev 28401)
@@ -170,11 +170,17 @@
 freed with BLI_freelistN!
- the dir listbase consits of LinkData items */
 
+/* data type, needed so we can tell between a NULL pointer and an empty list */
+enum {
+   CTX_DATA_TYPE_POINTER = 0,
+   CTX_DATA_TYPE_COLLECTION
+};


  

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