Commit Graph

996 Commits

Author SHA1 Message Date
Campbell Barton
fa27b5bcc7 Script templates, metaball creation script from forTe, and camera script from macouno 2008-04-22 15:37:54 +00:00
Simon Clitherow
46847c8a84 Bug fix for 8634, 6708, and 5989
This replaces the hard-coded '%PROFILE%\Application Data\..." path 
with the correct language-dependant CSIDL_APPDATA.

PLEASE NOTE!

Checks for the previous location have now been REMOVED. Any data
saved in the old hard-coded location will no longer be found by 
Blender (this will only affect users of non-english windows.)

The installer has been updated to help the user to migrate their data
to the new location of their choice, if necessary.

Order of preference for .blender on windows is now the following:

1) %HOME% environment var
2) Installation Directory (location of blender.exe)
3) "Current User" (CSIDL_APPDATA)
4) "All Users" (CSIDL_COMMON_APPDATA)
2008-04-21 15:53:32 +00:00
Campbell Barton
8ac1330b74 Patch from Mario Lapin, fixes [#7394] 3ds File Import is broken 2008-04-20 19:27:48 +00:00
Tom Musgrove
9629d8e561 The mdd exporter was skipping the first frame, fix from bill nieuwendorp (slow67) 2008-04-20 16:18:43 +00:00
Campbell Barton
0441b5354d [#6932] Cal3D Exporter Distort Vertex
Removing cal3d importer, since the soya3d maintain their own and I could not fix a bug in weird bone exporting.
2008-04-19 17:38:40 +00:00
Campbell Barton
92f15c7c0c applied patch from Boris van Schooten, [#8148] Animation bugfix for md2_export script
made some other small fixes while testing. (divide by zero errors)
2008-04-18 23:04:54 +00:00
Kent Mein
981d380fc4 This is an expanded patch of this:
[#8067] external texture plugin thread-safe modifications
Submitted By: David Anderson (davywavy)

It makes it so the "result" array is passed in, instead of a global var.
I expanded the patch so it will play nice with older plugins  that are not
thread safe as well.

I also updated the existing plugins in the release, so they are thread safe.

---------------  What do people think of this.... ------------------
This should maybe be talked about in the functionality board or something,
but what do people think of adding in default texture/sequence plugins.
or making a seperate tree like lib for plugins.

The reason I ask is we have had a couple of upgrades to the plugin system.
(supporting float buffers for sequencer, and this one for textures)

http://www.cs.umn.edu/~mein/blender/plugins does not store revisions of 
plugins I just make sure they work with the latest version.  This is
getting messy.  I haven't upgraded a lot of them to use floats (I know,
I'm lazy, and now this will also make modifications to the plugins)
It would be nice to have some of the standard ones under revision control.

We also seem to be having an explosion of platforms supported.  It would
be nice to have platform maintainers compiling plugins as well for releases.
(Its getting to be more work for me to keep up with things...)

I'll go back to my corner now and be quite. ;)

Kent
2008-04-18 19:10:03 +00:00
Campbell Barton
9a19ab21b5 milkshape3d model importer, can import a textured model with materials and animation 2008-04-17 20:15:37 +00:00
Campbell Barton
3175ecbcc0 Mot importer from ZanQdo 2008-04-17 08:43:22 +00:00
Chris Want
5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Campbell Barton
3a9624fd77 ZanQdo fixed exporting of mot files 2008-04-16 20:03:59 +00:00
Campbell Barton
235f793f28 Made aspx/y into floats so we can render precise regions (for apricot terrain baking) 2008-04-09 15:46:26 +00:00
Geoffrey Bantle
b96b7ab83d -> Fix for last commit on FLT exporter
Forgot to change some dictionary keys in source which
would break export. Fixed
2008-04-08 19:35:53 +00:00
Martin Poirier
79ed118fd4 Potential fix for [#8113] Blender.Registry segfault when no permission to write
This converts exceptions in Warning in selected points of the registry module.

While I couldn't reproduce the segfault ( I received the Py error as expected), this isn't a bad idea anyway, since the BPy C counterpart was discarding the error anyway, making it a warning is a bit more inline with its meaning.

The exception is not preventable nor fixable from a script's point of view, so better to silence it and print a warning to the console instead.
2008-04-07 20:56:45 +00:00
Campbell Barton
711306c2ba added a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar 2008-04-06 17:11:14 +00:00
Campbell Barton
0eb018919a fix for wrong rotation between branch joins 2008-04-05 10:55:18 +00:00
Campbell Barton
8fdfd4cc4c PyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since replacing the string length of int, with Py_ssize_t or long prevented the crash. worked around the problem by removing the PyString_AsStringAndSize command.
wizard_curve2tree - removing id properties didnt work. exit button used a callback it didnt need to.
2008-04-04 23:12:20 +00:00
Campbell Barton
8960f53676 some fixes for python baking function
needed to add a small value to the baking distance for it to include faces of that distance (maybe should make this happen from the user interface too)
2008-03-29 14:50:05 +00:00
Geoffrey Bantle
0010f33bdb -> FLT I/O: UI now undo safe
Both the FLT importer and exporter now store and retrieve
their settings from the blender python registry making
them safe for use with global undo.
2008-03-28 23:06:00 +00:00
Geoffrey Bantle
5fa49b5947 -> FLT I/O: LOD hiding on import
LODS were not getting hidden correctly on import.
Fixed now.
2008-03-28 21:04:27 +00:00
Geoffrey Bantle
b766441658 -> FLT I/O: Hierarchy order fixed on export
Hierarchy was getting reversed on import/export cycle
for FLT files. Fixed now.
2008-03-28 19:45:07 +00:00
Geoffrey Bantle
d32ec4297d -> Double Sided Faces fix for FLT import
Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.
2008-03-28 00:30:46 +00:00
Geoffrey Bantle
812af46d41 -> Double Sided Faces fix for FLT import
Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.
2008-03-28 00:26:48 +00:00
Geoffrey Bantle
3b36c10702 -> Extension Node attribute support for FLT I/O
Extension node attributes are now read and stored as ID
props for the following Node types:

-Object Nodes
-Group Nodes
-LOD Nodes
-DOF Nodes
-Inline Light Point Nodes


The extension data is written back out on export.

Note that this commit only adds support for attribute extensions.
Completely new node types via the extension record are still
unsupported.
2008-03-28 00:08:41 +00:00
Campbell Barton
e7651c53c3 baking normals could crash in rare cases because the intersection data wasn't copied when the lambda was bigger then the previous or initialized.
python baking script had a simple error.
2008-03-27 16:28:21 +00:00
Geoffrey Bantle
d94038342c -> Slight fix for Face Weld code in FLT importer
Slight fix for welding of faces that only share one vertex
2008-03-26 16:45:18 +00:00
Geoffrey Bantle
b46bad83bf -> New face weld code for FLT importer
Replaced the use of remove doubles with some new custom 'face welding'
code that wil clean up meshes on import.This will not remove any faces
or do any edge collapse and so is a more suitable method of cleaning
up imported meshes. This same code could potentially be of use when
importing other formats as well (such as DXF...)
2008-03-26 15:59:56 +00:00
Joshua Leung
fa2d6c195e Bugfix #8710:
Typo fix in PyConstraint template
2008-03-23 02:28:24 +00:00
Jean-Luc Peurière
126ab7974d NDOF support added to trunk from ndof branch.
The latter is now obsolete and will be soon 
removed.

Some tiny build tweaks for darwin committed
in preparation of bigger changes for proper
SDK suport both on intel and ppc
2008-03-22 01:39:11 +00:00
Jean-Luc Peurière
32b5138e64 update to trunk r14199 2008-03-21 17:00:40 +00:00
Geoffrey Bantle
895e871d6b -> Color Fixing tool in FLT toolbar
A new tool for for fixing colors on meshes imported from other files with
conflicting color palettes has been added to the FLT toolbar script. This
will find the closest match for all the colors in the faces of selected
meshes and update their baked vertex color representation.

Also added a small tweak to the 'update all' tool which will fix black faces
2008-03-19 21:14:49 +00:00
Geoffrey Bantle
0899bccef5 -> Path handling fix for External references in FLT import
FLT importer had problems with external references that used
relative paths. Fixed.
2008-03-19 19:23:42 +00:00
Geoffrey Bantle
7015700e99 -> FLT importer hierarchy transform bugs
Several transform bugs in the flt importer have been fixed. This included
parent/child relationships and matrices not importing correctly along with
some problems with the import scale option.
2008-03-18 23:16:47 +00:00
Geoffrey Bantle
34c4ac219c -> FLT palette alpha bug
Default FLT palette had all colors with an alpha of zero
which caused problems with some versions of OpenSceneGraph.
2008-03-18 22:55:40 +00:00
Jean-Luc Peurière
8787ad14a2 update to trunk r14104
blenderbuttons is good
and it compiles
2008-03-14 09:59:44 +00:00
Jean-Luc Peurière
a68a7f42b0 resolved conflict state with HEAD r14096
blenderbuttons still bad

not let this compile
2008-03-13 23:54:02 +00:00
Campbell Barton
7287bea1d9 wasnt returning the images in python bake api 2008-03-13 18:34:23 +00:00
Jean-Luc Peurière
526d0bec47 final (??) work on NDOF branch
it is now in a state where it can be safely
merged with trunk.

Note: basic icons were provided but I'm not
an icondesigner and working in a 16x15 grid
is way too small for me, so feel free to 
change them.
2008-03-13 15:40:24 +00:00
Stephen Swaney
4247984df3 French text was breaking python interpreters.
Add character encoding to file like this:
# -*- coding: latin-1 -*-

Thanks to eago for the bug report.
2008-03-13 03:32:23 +00:00
Campbell Barton
8b63333f8c image render to billboard was rotating UV's incorrectly, also make use of texface alpha rather then making many materials with textures. 2008-03-12 10:00:52 +00:00
Matt Ebb
397ece0008 * Updated the material preview so the 'hair' preview option
has UVs. Previously, it would show all noisy and messed up when
 using a UV texture.
2008-03-10 05:22:18 +00:00
Campbell Barton
d9da14d8a7 fix for uninitialized variables in uv stretch drawing,
[#8428] 'Editmesh_active' theme colour not accessible via Python
bugfix problem where saving a theme would raise and error when ~/.blender didnt exist.
bugfix for file selector staying open (introduced with own undo resistant scripts)
2008-03-09 07:35:12 +00:00
Geoffrey Bantle
7292fa5ca6 -> DOF from active tool
Creates (or modifies) a DOF node based upon the active object.
Requires two selected objects, the non-active one will get its
DOF coordinate system from the active selected object. This assumes
that 1 Blender unit == 10 meters
2008-03-07 07:23:55 +00:00
Geoffrey Bantle
5ea3956e4e -> Light points vert normal bug and DOF fixes
If light points are not given a unit normal they will
not show up correctly in some applications. Further DOF
nodes were not being exported correctly.
2008-03-07 02:40:12 +00:00
Geoffrey Bantle
80354af6fa -> Short names fix
Short names (less than 8 characters) were not getting exported
correctly for blender objects with no FLT props attached
2008-03-05 01:31:00 +00:00
Kent Mein
1adc93623c Were path issues with getversion script on some platforms.
Kent
2008-03-03 15:51:55 +00:00
Simon Clitherow
bc76485840 NSIS Installer:
Committing the changes used for 2.45 and the upcoming 2.46 release :) 

(Better late than never!)
2008-03-02 20:12:06 +00:00
Campbell Barton
62bd1b85e6 left in prints 2008-02-27 23:11:04 +00:00
Campbell Barton
345866b61e Fix for [#8382] UV unwrap & export puts seams on all edges.
Maya uses OBJ's UV's to generate seams, some people complained that models imported from blender didnt work well in maya.
It was faster to write every faces UV (without doing a remove doubles), but sharing UV coords makes smaller files and might also be more efficient in other applications.
2008-02-27 23:10:25 +00:00
Geoffrey Bantle
d41cbadf7d -> Minification filter type for FLT attrib files
-Changed the minification filter type from Bilinear to
mipmap-trilinear
2008-02-27 11:52:19 +00:00