Commit Graph

979 Commits

Author SHA1 Message Date
Brecht Van Lommel
c8b4cf9206 2.50:
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD

Notes:
* Game and sequencer RNA, and sequencer header are now out of date
  a bit after changes in trunk.
* I didn't know how to port these bugfixes, most likely they are
  not needed anymore.
  * Fix "duplicate strip" always increase the user count for ipo.
  * IPO pinning on sequencer strips was lost during Undo.
2009-06-08 20:08:19 +00:00
Brecht Van Lommel
874c29cea8 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD
Notes:
* blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-04-20 15:06:46 +00:00
Campbell Barton
34a617e308 [#7789] 3DS Import , Mesh not correct since Blender 2.44
There is a problem importing 3ds files where I cant find a way to check if the transforms are applied to the vertex locations or not.
Since 2.44 I made the importer assume they were not since you can manually remove transformations, but not reverse.

Nevertheless most 3ds files have the matrix applied, better not give a bad import by default.
Did some research and other 3ds importers (lib3ds for eg), have the same problem and just assume the transformations applied.

3dsMax imports both correctly so there must be a way to tell but I could not link it to the 3ds version or other mesh options.
Added an option to workaround this problem in rare cases where its needed.

- KX_GameObject.cpp & KX_Scene.cpp, clear the dict before removing the reference in case there is a circular reference.
2009-04-15 07:00:11 +00:00
Remigiusz Fiedler
4fe917ba26 update for DXF-Importer v1.12, DXF-Exporter v1.29 - 2009.04.11 by migius
- added DWG support, adapted Stani Michiels idea for binding an extern DXF-DWG-converter

The external DXF-DWG converter "dconvertcon.exe" 355kb comes from openDesignAlliance www.opendwg.org, is free, but not opensource, not GPL-compatible (can not be bundled with commercial programs), so must be downloaded and installed in Blender script folder by user. It is a DOS console application, can be started in background mode, works on Windows, and in Wine on Linux and OSX. Version 1.0 (2002) supports conversion between DXF<->DWG for autocad release: 2.5, 2.6, 9, 10, 11, 12, 13, 14, 2000, 2002.
2009-04-15 01:37:50 +00:00
Remigiusz Fiedler
a277b979f2 v1.29 - 2008.12.28 by Yorik van Havre
- modif POLYLINE to support bulge segments
2009-04-14 23:57:14 +00:00
Campbell Barton
d91d64d807 [#18329] VRML import on indexedfaceset munges some colors (off by one)
Thanks to Ezra Peisach for including a patch in the report.
2009-04-13 06:50:02 +00:00
Campbell Barton
a412ce0702 strip indentation from lines of OBJ files.
OBJ's from VMD's molecular visualization program had this.
2009-04-10 14:33:52 +00:00
Campbell Barton
4ff661c989 X3D Import was broken because some arguments from VRML were missing. 2009-04-10 14:09:44 +00:00
Guillermo S. Romero
afb2670246 Emacs has some rules about where and how to look for settings. 2009-04-07 17:17:47 +00:00
Campbell Barton
c054ea0203 [#18407] Trouble w/ Bevel_Center.py
add python encoding info
2009-04-07 10:16:26 +00:00
Campbell Barton
2178fcea6e Script written for apricot, poly reduces based on known topologies, keeping edge loops unlike edge collapsing poly reduction.
Example
http://www.graphicall.org/ftp/ideasman42/unsubsurf.gif
2009-04-02 11:30:27 +00:00
Campbell Barton
1e2f736d3a [#18479] 'Consolidate into one image' does not calculate/use 'pixel margin'
Thanks to Dusan Stevanovic for pointing out the fix.

Also noticed alpha wasn't being rendered, enabled texface alpha.
2009-04-01 07:13:55 +00:00
Campbell Barton
d1dd9fd9f0 [#18478] Unwrap (smart projections) should accept values grater than 0.25 for island margin (it works just fine when changed in original script)
increased value as suggested.
2009-04-01 02:02:26 +00:00
Guillermo S. Romero
441f26a170 Clean up for the imminent migration from SVN to GIT. 2009-03-31 22:34:34 +00:00
Remigiusz Fiedler
e0b629fe71 update v1.12 - 2009.03.14 by migius
d3 removed all set()functions (problem with osx/python<2.4 reported by Blinkozo)
 d3 code-cleaning
 d2 temp patch for noname BLOCKS (*X,*U,*D)
2009-03-13 23:35:15 +00:00
Campbell Barton
4a089890df [#18388] PLY Import fails if line ending is not \n
bugfix, read the header as ascii text - open(filename, 'rU'), only the body as binary.
2009-03-10 06:58:42 +00:00
Campbell Barton
373d4fe6d3 [#18323] VRML import will not import colors if pervertexcolors set (comparison reversed)
thanks to Ezra Peisach for fixing.
2009-02-23 12:17:34 +00:00
Campbell Barton
570b48aae6 BGE Py API
print filename:line with ShowDeprecationWarning().
Typo in scripttemplate_gamelogic.py
removed 2 unneeded typedefs
2009-02-22 10:22:49 +00:00
Campbell Barton
c12149cf26 According to Amir Ebrahimi, fbx vertex color is supposed to be between 0.0 and 1.0 rather then 0-255
At the moment I dont have a way to test this.
2009-02-12 01:46:38 +00:00
Remigiusz Fiedler
7c48f1994a patch for paths_svg2obj.py by author jms:
This patch solves some major problems of the svg script :
- reading of the inkscape svg format
- parsing of the scientific numbers
- redundant arc data in the same path for only one command "a"
- blending of curves after several files import and at the end a more correct management of the current point.
2009-02-02 00:31:46 +00:00
Campbell Barton
0409977aa8 [#18241] Very minor bugfix and typo correction for wavefront obj exporter and importer python scripts
from Michael Judd.

Also removed .keys() for a loop in impor_obj.py since its the default dictionary iterator.
2009-01-30 02:01:16 +00:00
Willian Padovani Germano
73cffd9aad == Scripts ==
- Scripts Help Browser: error parsing doc info wrapped in triple single quotes, like done in the 3ds importer. Thanks Jean-Michel (jms) for informing me about it.
2009-01-21 15:45:31 +00:00
Campbell Barton
bae2de3f1a minor corrections 2009-01-16 10:51:30 +00:00
Campbell Barton
ce3dca24d1 have had few requests to use blender for performing background tasks
- visualizing data, rendering scenes automatically and character rendering on a server.

This example script shows how you can run blender in background mode, parse arguments from the command line to generate a simple scene and render/save it.
2009-01-15 22:16:29 +00:00
Campbell Barton
b71bc3a2f3 patch from Thomas Dinges, update URLs in help scripts 2009-01-13 15:48:27 +00:00
Campbell Barton
ae15fc5e46 [#18082] make uvcalc_follow_active_coords.py bypass the gui and accept arguments when called from another script
from Bill N (slow67)

Also made uvcalc_quad_clickproj.py and uvcalc_follow_active_coords.py add UV's if they didn't exist.
2009-01-12 04:07:06 +00:00
Willian Padovani Germano
278d6758ea == Scripts ==
- Scripts Help Browser: Brendon Murphy requested and Kevin Morgan implemented a "run script" button.
- AC3D importer: option to store emis color from .ac file in mirror color in Blender (the exporter has the option to export mirror color as emis). Patch by Francesco Brisa.

Thanks for the contributions.
2009-01-11 16:13:00 +00:00
Campbell Barton
fc12ec2317 don't raise exceptions on some errors unless debugging 2009-01-07 11:27:17 +00:00
Campbell Barton
5296928728 confusion between Inline and externproto nodes 2009-01-07 03:34:12 +00:00
Campbell Barton
70c5417ed6 Added support for EXTERNPROTO's and fixed a bug where relative Inline URL's that included a path didn't load 2009-01-06 12:30:28 +00:00
Campbell Barton
823aa30cba string extraction wasnt working + minor changes 2009-01-06 08:58:45 +00:00
Campbell Barton
49b5edddd4 left testing lines uncommitted by mistake 2009-01-05 10:54:26 +00:00
Campbell Barton
92ab0c0369 [#18142] Blender FBX export outputs broken vertex colors when using vertex paint
from Kevin Hsu (caywen) 
use fix suggested in report
2009-01-03 14:02:14 +00:00
Campbell Barton
eee013d9b9 use higher precession pi 2008-12-31 02:13:38 +00:00
Campbell Barton
cbc3c7e878 script was adding UV's rather then vertex Colors (this was correct before uv & vcol layers existed) 2008-12-30 08:25:36 +00:00
Campbell Barton
cbebe4ad46 * bpy curve api wouldn't give correct errors for bad arguments when appending nurbs.
* the radius on the curves first point was ignored. 
* mesh_edges2curves.py was giving all points a tilt of 1.0
2008-12-24 15:46:26 +00:00
Campbell Barton
5a96981cc6 improved PROTO support, works for many testfiles now. 2008-12-23 06:47:43 +00:00
Campbell Barton
6158762797 WIP - support for VRML PROTO's 2008-12-22 15:05:07 +00:00
Remigiusz Fiedler
e7c0666d96 DXF exporter, dxf-library.py updated
v1.28 - 2008.12.13 by Steeve/BlenderArtists
- bugfix for EXTMIN/EXTMAX to suit Cycas-CAD
2008-12-14 21:26:24 +00:00
Remigiusz Fiedler
c794e13ba3 bugfix in pickMeshRayFaceWeight() in bpymodules/BPyMesh.py 2008-12-14 18:39:58 +00:00
Campbell Barton
e94dae4c03 VRML/X3D
* Improved compatibility with VRML files
* Extract strings so they dont get modified for parsing, filename URL's with {} [] dont break importing anymore.
* Cameras were rotated incorrectly
* inline files were not opened with GZip
* Animation Support - currently only loc/scale/rot (scale untested)
* Lists of image URLs now use the first image from the list since there is no support for dynamic switching.
* use imagemagick to convert GIF's so they load in linux. (WIP - could be extended, At least it should not break anything)

BPyMathutils angle2ToLength function could be simplified (pointed out by brecht)
2008-12-12 05:46:07 +00:00
Campbell Barton
f4c581aa01 missed saving a small change 2008-12-03 07:51:12 +00:00
Campbell Barton
cefae5e1b4 fix for [#18040] FBX writes incorrect relative paths.
http://projects.blender.org/tracker/index.php?func=detail&aid=18040&group_id=9&atid=125
2008-12-03 07:45:52 +00:00
Campbell Barton
2acd106492 added a function to resolve case insensitive paths in BPySys and an option to use it in BPyImage
- Useful when loading files with saved in windows on a *nix system.
2008-12-03 02:03:51 +00:00
Remigiusz Fiedler
3a44c76246 DXF-Importer: updated version v1.12 - 2008.11.16 by migius
- remove try_finally: cause not supported in python <2.5
 - add Bezier curves bevel radius support (default 1.0)
2008-11-16 23:52:29 +00:00
Campbell Barton
5161c2ee3a attempt to make executing an external command work with python 2.4 & 2.5, it seems that only py 2.6 wanted list args for subprocess.Popen 2008-11-11 08:21:09 +00:00
Campbell Barton
37c1fd2303 [#17958] Windows path fix for image_edit.py script.
Modified to work in linux too,  on my system subprocess.Popen(appstring) only works when appstring is a list.

Blenders __import__ didnt support keywords like pythons causing the subprocess module to fail for me.
added keywords to blenders c/api import to match pythons.
2008-11-07 15:16:30 +00:00
Remigiusz Fiedler
3b2a07a866 uniform end-of-line format and set svn:eol-style property to "native" for all scripts 2008-11-05 11:42:34 +00:00
Matt Ebb
633e3e1323 * Updated the 'Consolidate into one image' script to support alpha 2008-11-05 04:48:08 +00:00
Campbell Barton
688cc11302 added an option for python Draw.UIBlock(func, mouse_exit) so moving the mouse outside the popup wont close it.
Stops FBX Export and OBJ I/O from flickering a lot.
2008-10-22 08:21:43 +00:00