16 years agorenaming python script...
Campbell Barton [Fri, 20 Jan 2006 02:37:00 +0000 (02:37 +0000)]
renaming python script...

16 years ago===Python API===
Ken Hughes [Thu, 19 Jan 2006 15:48:56 +0000 (15:48 +0000)]
===Python API===
Bugfix #3660:  NMesh.getVertexInfluences() was broken following the changes
to the armature system.  Tron Thomas (kudos) came up with a fix that seems
to perform identically to the old method.  I'm also adding it to the Mesh
module for compatibility.

16 years agoMade the minimal theme align, and buttons now sit close together.
Campbell Barton [Thu, 19 Jan 2006 14:42:04 +0000 (14:42 +0000)]
Made the minimal theme align, and buttons now sit close together.
Looks nicer.

16 years agoBugfix for
Campbell Barton [Thu, 19 Jan 2006 01:15:17 +0000 (01:15 +0000)]
Bugfix for
View All/View Selected - only took into account values from 1 axis. - Workaround because test_view2d needs to act that way for other functions.
Easy one :) Right mouse mutton cancels transform. - Must move to Theeth's new code one day.

16 years agoFixed up naming new objects/meshes when that name alredy existed - faster and better...
Campbell Barton [Wed, 18 Jan 2006 22:57:55 +0000 (22:57 +0000)]
Fixed up naming new objects/meshes when that name alredy existed - faster and better new names.

16 years ago==renderer==
Ken Hughes [Wed, 18 Jan 2006 20:06:13 +0000 (20:06 +0000)]

Patch #3760: Allows a python script to call renderer when the UI is not
active (thanks to Cory King for patch).  Without the patch, blender will
segfault since G.vd is NULL.

16 years agoThis patch fixes some issues with MSVC 6
Kent Mein [Wed, 18 Jan 2006 16:22:29 +0000 (16:22 +0000)]
This patch fixes some issues with MSVC 6

I added Pose.c to BPY_python.dsp and moved some variable declarations
in OptimizedBvh.cpp so things weren't defined in the middle of code.

There is an odd global maxIterations  that seems out of place,
Erwin you may want to look at it quickly...


16 years agoassert caused compile problems too :(
Erwin Coumans [Wed, 18 Jan 2006 06:48:28 +0000 (06:48 +0000)]
assert caused compile problems too :(

16 years agofixed an ordering issue caused by previous commit
Erwin Coumans [Wed, 18 Jan 2006 06:46:56 +0000 (06:46 +0000)]
fixed an ordering issue caused by previous commit

16 years ago==Python API==
Ken Hughes [Wed, 18 Jan 2006 06:15:17 +0000 (06:15 +0000)]
==Python API==

Bugfix #3761: Attempting to set mesh.faceUV=1 when a mesh has no faces
now throws a RuntimeError exception.  Previous behavior was to do nothing.

16 years agoattempt to fix reported problems with glsl shader on OS X (and other platforms)....
Erwin Coumans [Wed, 18 Jan 2006 06:04:11 +0000 (06:04 +0000)]
attempt to fix reported problems with glsl shader on OS X (and other platforms). instead of continuous printing errors, it should just print once, and delete the shaders.
also, disabled the asynchronous logicbrick update, it reportedly causes jitter.

16 years ago==python scripts==
Willian Padovani Germano [Wed, 18 Jan 2006 02:20:48 +0000 (02:20 +0000)]
==python scripts==

Updated bvh to armatures script by Jean-Baptiste Perin (thanks).

16 years agofixed seam tearing with edge collapsing, should be last commit ;)
Campbell Barton [Wed, 18 Jan 2006 00:22:22 +0000 (00:22 +0000)]
fixed seam tearing with edge collapsing, should be last commit ;)

16 years agoAdded Mesh menu access for b-brush sculpter.
Campbell Barton [Wed, 18 Jan 2006 00:14:33 +0000 (00:14 +0000)]
Added Mesh menu access for b-brush sculpter.

16 years agoMoved script. Minor updates to subdivision and adaptive meshes.
Campbell Barton [Tue, 17 Jan 2006 23:50:06 +0000 (23:50 +0000)]
Moved script. Minor updates to subdivision and adaptive meshes.

16 years agomoving to bpydata because it cant be accessed from the menus
Campbell Barton [Tue, 17 Jan 2006 23:47:45 +0000 (23:47 +0000)]
moving to bpydata because it cant be accessed from the menus

16 years agoChanged the URL to be the Image filename sans path, not the image name.
Campbell Barton [Tue, 17 Jan 2006 22:13:25 +0000 (22:13 +0000)]
Changed the URL to be the Image filename sans path, not the image name.
Sped up intentation writing a bit..
Many more changes need to be applied here...

16 years ago==python scripts==
Tom Musgrove [Tue, 17 Jan 2006 21:04:12 +0000 (21:04 +0000)]
==python scripts==

slight updates and cleanups to vrml97 and x3d exporter,  the ability to do gzip compression has been added.  The redundant vrml exporter has been removed.  Thanks Bart

16 years ago==python api==
Tom Musgrove [Tue, 17 Jan 2006 16:32:09 +0000 (16:32 +0000)]
==python api==

epyDoc for insertShapeKey

16 years ago==python api==
Tom Musgrove [Tue, 17 Jan 2006 11:34:33 +0000 (11:34 +0000)]
==python api==

tex2uvbaker and hotkeys update by jms

16 years agoSpeed up for edge list's
Campbell Barton [Tue, 17 Jan 2006 11:05:45 +0000 (11:05 +0000)]
Speed up for edge list's
Remove doubles on mouseup to minimizie editMode cycling.

16 years agoAdded edge collapsing when adaptive geometry enabled.
Campbell Barton [Tue, 17 Jan 2006 09:58:24 +0000 (09:58 +0000)]
Added edge collapsing when adaptive geometry enabled.

16 years ago==python api==
Tom Musgrove [Tue, 17 Jan 2006 09:20:37 +0000 (09:20 +0000)]
==python api==

clarification of Blender.Mesh.Mode() tip

16 years ago==python api==
Tom Musgrove [Tue, 17 Jan 2006 06:47:48 +0000 (06:47 +0000)]
==python api==

patch from jean-michel soler (jms) - .insertShapeKey()

Python API, a function to insert a shape key in an object . It works on Mesh, Lattice curve ans surface .
Example of use :

import Blender

a docstring to follow soon

16 years ago==Python API==
Ken Hughes [Tue, 17 Jan 2006 06:18:43 +0000 (06:18 +0000)]
==Python API==
Added Mesh.Modes() function, which allows scripts to get/set the selection
mode settings for meshes.  This was necessary in order for the mesh tools
such as triangulate, remove doubles, etc., to work properly.

16 years agoFixed a problem with non mesh objects
Campbell Barton [Tue, 17 Jan 2006 06:14:52 +0000 (06:14 +0000)]
Fixed a problem with non mesh objects
Stopped seams from tearing away with xclip enabled.

16 years agoPatches submitted by Michael Reimpell to get/set relative key selection, and
Ken Hughes [Tue, 17 Jan 2006 06:12:53 +0000 (06:12 +0000)]
Patches submitted by Michael Reimpell to get/set relative key selection, and
to get the current value of the IPO shape key.  There are still some issues
to discuss as to whether methods/attributes should be used and what they
should be named, but this will (or should) be addressed in the upcoming API

16 years agoafter much suffering, got GE build and work almost cleanly on Os X
Jean-Luc Peurière [Mon, 16 Jan 2006 22:27:30 +0000 (22:27 +0000)]
after much suffering, got GE build and work almost cleanly on Os X
(with make, need to confirm with scons)

after cleaning the changes are in fact minimal, but the situation
is still quite a bit hackish.

Game engine coders, there is also quite a number of warnings that
need to be fixed.

current situation is that everything seems to work, but GLSL shaders
spew a lot of errors on console and blender may crash on exit when
a GLSL shader was used. ARB stuff works fine.

16 years ago==python scripts==
Tom Musgrove [Mon, 16 Jan 2006 21:42:53 +0000 (21:42 +0000)]
==python scripts==
updated version of bevel center by Loic Berthe

16 years agoFix for useing with modifiers, dosent check for subsurf flag when copying vgroups.
Campbell Barton [Mon, 16 Jan 2006 21:28:09 +0000 (21:28 +0000)]
Fix for useing with modifiers, dosent check for subsurf flag when copying vgroups.
Leaves all new objects selected.
Faster and cleaner operation- naming etc.

16 years agofixed a runtime problem with stl container usage, as reported on bf-committers mailin...
Erwin Coumans [Mon, 16 Jan 2006 19:34:52 +0000 (19:34 +0000)]
fixed a runtime problem with stl container usage, as reported on bf-committers mailing list

16 years agoclean up some warnings in bpy code
Stephen Swaney [Mon, 16 Jan 2006 17:55:03 +0000 (17:55 +0000)]
clean up some warnings in bpy code

16 years ago* added missing file
Joseph Gilbert [Mon, 16 Jan 2006 16:37:00 +0000 (16:37 +0000)]
* added missing file
- for some reason mesh_data types file was not in project

16 years ago*fixes global redefinitions
Joseph Gilbert [Mon, 16 Jan 2006 16:34:08 +0000 (16:34 +0000)]
*fixes global redefinitions
- added some extern keywords

16 years agoAlligned bone pose copy buttons (noticed in orange screenshot)
Campbell Barton [Mon, 16 Jan 2006 11:57:04 +0000 (11:57 +0000)]
Alligned bone pose copy buttons (noticed in orange screenshot)
Also found that Proportional edit button starts allign but dosent end align. Didnt chgange incase this is intended??
Take a look header_view3d.c:4390

16 years ago* Tiny tweak to button alignment after Campbell's commit.
Matt Ebb [Mon, 16 Jan 2006 11:27:50 +0000 (11:27 +0000)]
* Tiny tweak to button alignment after Campbell's commit.

Campbell, most of the changes you made seem ok, but you do have to be careful since it's not just about looking good, it's also about grouping things meaningfully. We did some thoughts on more concrete guidelines for this here:

16 years agoAdded user interface to OBJ import.
Campbell Barton [Mon, 16 Jan 2006 06:33:55 +0000 (06:33 +0000)]
Added user interface to OBJ import.
With options.
('Material (*.mtl)', IMPORT_MTL, 'Imports material settings and images from the obj\'s .mtl file'),\
('All *.obj\'s in dir', IMPORT_DIR, 'Import all obj files in this dir (avoid overlapping data with "Create scene")'),\
('Create scene', IMPORT_NEW_SCENE, 'Imports each obj into its own scene, named from the file'),\
('Edges', IMPORT_EDGES, 'Import faces with 2 verts as in edge'),\
('Smooths all faces', IMPORT_SMOOTH_ALL, 'Smooth all faces even if they are not in a smoothing group'),\

16 years agoHopefully clear up the last of the obj import bugs.
Campbell Barton [Mon, 16 Jan 2006 05:28:34 +0000 (05:28 +0000)]
Hopefully clear up the last of the obj import bugs.
* 8% speedup by using list comprehension.
* Slightly better smoothing group import.
* Handles bug in python that puts spaces before every line with '\r\n' line endings.

16 years agoBPython:
Willian Padovani Germano [Mon, 16 Jan 2006 03:51:32 +0000 (03:51 +0000)]

- minor: added missing theme options (bone_solid, bone_pose, strip,
strip_select) to Blender.Window.Theme and also updated accordingly
(version info) the script that saves themes as scripts and the module's

16 years agoFixed Window.Editmode(0) so that it only calls undo_push_mesh() when
Ken Hughes [Mon, 16 Jan 2006 02:06:02 +0000 (02:06 +0000)]
Fixed Window.Editmode(0) so that it only calls undo_push_mesh() when
U.undosteps is nonzero.  Also added optional parameter to avoid pushing
undo info alltogether if desired.

16 years ago==python scripts==
Tom Musgrove [Sun, 15 Jan 2006 20:05:28 +0000 (20:05 +0000)]
==python scripts==
slight bug fix update to ply importer by Bruce Merry

16 years agoIn fixing for negative indicies I broke positive indicies. Fixed. not helped by the...
Campbell Barton [Sun, 15 Jan 2006 17:56:40 +0000 (17:56 +0000)]
In fixing for negative indicies I broke positive indicies. Fixed. not helped by the fact the files I had for testing were 32 and 70 meg..
ALso modified the MTL loader for Object.Get's new ValueError.
- Should be good for release now.

16 years agoRemoved printfs in setPoints(), add proper exception handling.
Ken Hughes [Sun, 15 Jan 2006 17:14:58 +0000 (17:14 +0000)]
Removed printfs in setPoints(), add proper exception handling.

16 years agolast of the cosmetic fixes with aligning buttons in the path setting/info win prefs...
Campbell Barton [Sun, 15 Jan 2006 14:47:16 +0000 (14:47 +0000)]
last of the cosmetic fixes with aligning buttons in the path setting/info win prefs area.

16 years agoMesh sculpting event handeler script,
Campbell Barton [Sun, 15 Jan 2006 14:44:09 +0000 (14:44 +0000)]
Mesh sculpting event handeler script,
see for details,

16 years agoAligned all remaining non-aligned header buttons, (was looking yuck with rounded...
Campbell Barton [Sun, 15 Jan 2006 13:30:56 +0000 (13:30 +0000)]
Aligned all remaining non-aligned header buttons, (was looking yuck with rounded theme, hope this doesn't mess you up Broken)
Aligned filesel buttons|text entry- looked arse also.
Added tooltips for filesel text entry- "Type in dir to create" and "+/- increment" or somthing like that.
- Cam

16 years agomore graphics patches from Snailrose,
Erwin Coumans [Sun, 15 Jan 2006 11:34:55 +0000 (11:34 +0000)]
more graphics patches from Snailrose,
remove constraint fixed,
Bullet timestep now subdivides Blender game engine timestep, so it runs 60 hertz,
SphereShape reverted to old style, so no support for non-uniform scaled spheres for now,

16 years agoBugfix #3731: User reported that cyclic IPO curves reported the wrong value
Ken Hughes [Sat, 14 Jan 2006 22:05:16 +0000 (22:05 +0000)]
Bugfix #3731: User reported that cyclic IPO curves reported the wrong value
in the BPy API for the "end point".  It was a minunderstanding of what
happens with cyclic Ipos, but we updated the documentation to make this
clearer in the future.

16 years agoBug fix: #3684
Martin Poirier [Sat, 14 Jan 2006 20:52:39 +0000 (20:52 +0000)]
Bug fix: #3684

When grabing a camera in camera view, the constraint center wasn't the center used for initgrabz, so it messed up a lot.

16 years agofix previously fixed error msg.
Stephen Swaney [Sat, 14 Jan 2006 19:05:33 +0000 (19:05 +0000)]
fix previously fixed error msg.

16 years agoObject.Get( name ) was throwing an AttributeError.
Stephen Swaney [Sat, 14 Jan 2006 02:13:15 +0000 (02:13 +0000)]
Object.Get( name ) was throwing an AttributeError.
Change to throw more correct ValueError when name
is not found as per IRC discussion

16 years agoCam Barton discovered the setter for me.faces[i].col was missing.
Ken Hughes [Fri, 13 Jan 2006 17:22:53 +0000 (17:22 +0000)]
Cam Barton discovered the setter for me.faces[i].col was missing.

16 years ago* [ #3746 ] Calling getPose on a mesh object generates "RuntimeError: Pose - Error...
Joseph Gilbert [Fri, 13 Jan 2006 16:19:11 +0000 (16:19 +0000)]
* [ #3746 ] Calling getPose on a mesh object generates "RuntimeError: Pose - Error: PyPose_FromPose: Internal Error Ocurred"
- added returns where appropriate.

16 years ago*head/tail addition
Joseph Gilbert [Fri, 13 Jan 2006 15:53:22 +0000 (15:53 +0000)]
*head/tail addition
- forgot to add the ability to get pose head/tail positions
- no setters (yet) as they are calculated

16 years ago*bone.children fix
Joseph Gilbert [Fri, 13 Jan 2006 15:27:23 +0000 (15:27 +0000)]
*bone.children fix
- fixes bone.children to return direct bone children
- added bone.getAllChildren() to allow previous behavior

16 years agoFixed bug in importing OBJ files with negative indicies (UV and VERTS, normals are...
Campbell Barton [Fri, 13 Jan 2006 15:26:15 +0000 (15:26 +0000)]
Fixed bug in importing OBJ files with negative indicies (UV and VERTS, normals are ignored)
Have alredy tested 100's of obj files and cant believe this is the first I have found with negative coords.
May fix the UI before 2.41, Importing a whole dir isnt very user friendly. and may want to support sequence import.
- Cam

16 years agoBugfix as provided by 'stealth apprentice' on the bf-comitters list.
Ton Roosendaal [Fri, 13 Jan 2006 12:14:13 +0000 (12:14 +0000)]
Bugfix as provided by 'stealth apprentice' on the bf-comitters list.
Function get_constraint_target() should catch the case when a constraint
has unknown type, to prevent a pointer to become unitialized.

16 years agoAnother bug fix for reference counting in extend methods.
Ken Hughes [Fri, 13 Jan 2006 07:11:30 +0000 (07:11 +0000)]
Another bug fix for reference counting in extend methods.

16 years agoSubsurf UV crasher fix - thanks Malefico and Matthew for test files.
Brecht Van Lommel [Fri, 13 Jan 2006 06:56:32 +0000 (06:56 +0000)]
Subsurf UV crasher fix - thanks Malefico and Matthew for test files.

16 years agomake clear that 'concave mesh' is really for static triangle mesh. too many people...
Erwin Coumans [Fri, 13 Jan 2006 01:00:35 +0000 (01:00 +0000)]
make clear that 'concave mesh' is really for static triangle mesh. too many people try to make it moving, it is for landscapes/static environment.

16 years ago==python scripts==
Tom Musgrove [Fri, 13 Jan 2006 00:24:23 +0000 (00:24 +0000)]
==python scripts==
added xfig exporter by Dino Ghilardi

ply import and export in previous commit were by Bruce Merry

16 years ago==python scripts==
Tom Musgrove [Thu, 12 Jan 2006 21:33:42 +0000 (21:33 +0000)]
==python scripts==
added ply import and export, extensively tested on files from

they give correct results for both import and export, however they could use some speed optimization for large mesh

16 years agobugfix: #3738 Armature bones returns none instead of key error
Stephen Swaney [Thu, 12 Jan 2006 21:21:41 +0000 (21:21 +0000)]
bugfix: #3738  Armature bones returns none instead of key error

BonesDict was returning None instead of throwing a KeyError
when key not found.
Also fixed a few compile warnings about struct initialization.

16 years agoFixed a segfault in zooming out on long wave files- 6min+
Campbell Barton [Thu, 12 Jan 2006 13:34:55 +0000 (13:34 +0000)]
Fixed a segfault in zooming out on long wave files- 6min+

Was using shorts which couldent code with viewing many samples at once.

16 years agoRenamed to
Campbell Barton [Thu, 12 Jan 2006 12:39:14 +0000 (12:39 +0000)]
Renamed to
Rewrote to use Kens Mesh module, much faster, cleaner and nicer UI. - Another use for PupBlock.

16 years agoClean-up of some reference counting issues with delete() methods. Also
Ken Hughes [Thu, 12 Jan 2006 07:51:19 +0000 (07:51 +0000)]
Clean-up of some reference counting issues with delete() methods.  Also
further relax the input types for edge.extend() and face.extend() so that
single lists or tuples are accepted without errors.

16 years agorenamed some variables to make the timing in the game engine less confusing+minor...
Erwin Coumans [Thu, 12 Jan 2006 06:30:01 +0000 (06:30 +0000)]
renamed some variables to make the timing in the game engine less confusing+minor improvements in this area.
enabled game engine for scons

16 years agoAdded tri2quad script finds all possible quads to be made from selected triangle...
Campbell Barton [Thu, 12 Jan 2006 05:28:47 +0000 (05:28 +0000)]
Added tri2quad script finds all possible quads to be made from selected triangle pairs, then joins the best first until the error limit is reached.
Just Updated and faster 8.5sec to 0.6sec for 2k triangles in my test.
Also my fav new function PupBlock for the UI input!

16 years agoFixed a bug in boxpack that archimap not to clear data between uses, and become progr...
Campbell Barton [Thu, 12 Jan 2006 03:34:37 +0000 (03:34 +0000)]
Fixed a bug in boxpack that archimap not to clear data between uses, and become progressivly slower.
Updated Archimap to set UV's aslists (dont need to convert to tuples anymore)

16 years agooverlooked IMB_imbuf.h was already included inside an extern "C" section.
Erwin Coumans [Thu, 12 Jan 2006 01:37:33 +0000 (01:37 +0000)]
overlooked IMB_imbuf.h was already included inside an extern "C" section.

16 years agouncommented include "IMB_imbuf.h", it is needed?
Erwin Coumans [Thu, 12 Jan 2006 01:15:09 +0000 (01:15 +0000)]
uncommented include "IMB_imbuf.h", it is needed?

16 years agoBPy: Mathutils fix: bug #3737
Martin Poirier [Thu, 12 Jan 2006 01:11:42 +0000 (01:11 +0000)]
BPy: Mathutils fix: bug #3737
Vector.resize4D() didn't put 1 in the 4th component (the scale factor), as it did in 2.37.
While this is more "correct", it is much less usefull. Also, matrix.resize4x4 puts a 1 there too,
so might as well revert and be consistent.

16 years agore-enable game engine by default, for 2.41 preparation
Erwin Coumans [Thu, 12 Jan 2006 00:57:28 +0000 (00:57 +0000)]
re-enable game engine by default, for 2.41 preparation

16 years agoScons fix:
Martin Poirier [Thu, 12 Jan 2006 00:07:08 +0000 (00:07 +0000)]
Scons fix:

new BPy Pose files weren't added to Sconscript

16 years agoremove Constraint.h since it doesn't exist.
Kent Mein [Wed, 11 Jan 2006 21:58:37 +0000 (21:58 +0000)]
remove Constraint.h since it doesn't exist.

Provided by Letterrip.


16 years ago- override the temporary disabling of KETSJI and OPENAL for FreeBSD.
Hans Lambermont [Wed, 11 Jan 2006 21:11:07 +0000 (21:11 +0000)]
- override the temporary disabling of KETSJI and OPENAL for FreeBSD.

16 years agoForgot the pose file.... :p
Joseph Gilbert [Wed, 11 Jan 2006 20:48:46 +0000 (20:48 +0000)]
Forgot the pose file.... :p

16 years ago*pose docs
Joseph Gilbert [Wed, 11 Jan 2006 20:44:24 +0000 (20:44 +0000)]
*pose docs
- some pose python documentation

16 years ago- sanitize spacings and tabs a bit. It's still not completely clean though.
Hans Lambermont [Wed, 11 Jan 2006 20:25:04 +0000 (20:25 +0000)]
- sanitize spacings and tabs a bit. It's still not completely clean though.

16 years ago*vc7 project file update
Joseph Gilbert [Wed, 11 Jan 2006 19:42:58 +0000 (19:42 +0000)]
*vc7 project file update
- adds pose to python project

16 years agoProbably need these....
Joseph Gilbert [Wed, 11 Jan 2006 19:41:01 +0000 (19:41 +0000)]
Probably need these....

16 years ago*pose code for python
Joseph Gilbert [Wed, 11 Jan 2006 19:40:06 +0000 (19:40 +0000)]
*pose code for python
- adds object.getPose
- ability to manipulate poses /posebones
- fixes a overflow bug in matrix sequence accessor
- adds code to get vec/roll from mat3
- few internal fixes to NLA
- ability to set bone matrices

16 years agoAt least FreeBSD needs to know where to find gl.h
Hans Lambermont [Wed, 11 Jan 2006 19:31:15 +0000 (19:31 +0000)]
At least FreeBSD needs to know where to find gl.h

16 years agoA few Mesh fixes:
Ken Hughes [Wed, 11 Jan 2006 18:37:47 +0000 (18:37 +0000)]
A few Mesh fixes:
* edge and face extend() methods now add edges and faces in the order given
  by their parameters.  Note that if duplicate edges or faces are specified,
  the order is preserved but the dups are removed, so indices won't match.
* allow extend(), findEdges() and faces.uv to accept lists or tuples
* fix bug in mesh.verts.extend() which didn't correctly check argument types

16 years agoExclude labels from grouping. - Clever numbuts look nicer with rounded theme.
Campbell Barton [Wed, 11 Jan 2006 16:55:31 +0000 (16:55 +0000)]
Exclude labels from grouping. - Clever numbuts look nicer with rounded theme.

16 years agoattempt to avoid nameclashes (although it is already in a namespace) -> extension...
Erwin Coumans [Wed, 11 Jan 2006 13:31:45 +0000 (13:31 +0000)]
attempt to avoid nameclashes (although it is already in a namespace) -> extension names renamed from glXXX to blXXX.

16 years agoFixed a silly bug when copying images.
Campbell Barton [Wed, 11 Jan 2006 10:12:03 +0000 (10:12 +0000)]
Fixed a silly bug when copying images.

16 years agoupdate to obj export:
Campbell Barton [Wed, 11 Jan 2006 09:47:17 +0000 (09:47 +0000)]
update to obj export:
Added options.
pup_block = [\
('Apply Modifiers', EXPORT_APPLY_MODIFIERS, 'Use transformed mesh data from each object. May break vert order for morph targets.'),\
('Selection Only', EXPORT_SEL_ONLY, 'Only export objects in visible selection.'),\
('Edges', EXPORT_EDGES, 'Edges not connected to faces.'),\
('Normals', EXPORT_NORMALS, 'Export vertex normal data (Ignored on import).'),\
('Materials', EXPORT_MTL, 'Write a seperate MTL file with the OBJ.'),\
('All Scenes', EXPORT_ALL_SCENES, 'Each scene as a seperate OBJ file.'),\
('Animation', EXPORT_ANIMATION, 'Each frame as a seperate OBJ file.'),\
('Copy Images', EXPORT_COPY_IMAGES, 'Copy image files to the export directory, never everwrite.'),\

Obj import was updated to import edges (2 vert faces), will update some more later.

16 years agoMSVC6 projects for happy GE compiling
Jens Ole Wund [Wed, 11 Jan 2006 09:13:59 +0000 (09:13 +0000)]
MSVC6 projects for happy GE compiling

16 years agoFixed bug in do_clever_numbuts not displaying tooltips.
Campbell Barton [Wed, 11 Jan 2006 04:03:19 +0000 (04:03 +0000)]
Fixed bug in do_clever_numbuts not displaying tooltips.
Clear all events so tooltips work, this is not ideal and
only needed because calls from the menu still have some events
left over when do_clever_numbuts is called.
Calls from keyshortcuts do not have this problem.

16 years agoremoved slow list handeling
Campbell Barton [Tue, 10 Jan 2006 17:40:50 +0000 (17:40 +0000)]
removed slow list handeling
faster vert comparisons
replaced spaces for tabs
removed unneeded getData() calls
general cleanup.

16 years ago*project file updates
Joseph Gilbert [Tue, 10 Jan 2006 16:08:03 +0000 (16:08 +0000)]
*project file updates
- gets project files in line for compiling again

16 years agoAdded openflight import/export- Blight v1.2
Campbell Barton [Tue, 10 Jan 2006 13:42:20 +0000 (13:42 +0000)]
Added openflight import/export- Blight v1.2

16 years agoMSVC compile error fix for subsurf UV.
Brecht Van Lommel [Tue, 10 Jan 2006 12:25:07 +0000 (12:25 +0000)]
MSVC compile error fix for subsurf UV.

16 years agoWarning fixes for gcc 4 in iksolver and ghost.
Brecht Van Lommel [Tue, 10 Jan 2006 11:49:53 +0000 (11:49 +0000)]
Warning fixes for gcc 4 in iksolver and ghost.

16 years agoApply Subsurf to UV's.
Brecht Van Lommel [Tue, 10 Jan 2006 11:36:57 +0000 (11:36 +0000)]
Apply Subsurf to UV's.

This fixes most of the UV distortion issues with subsurf. Near seams
however there might still be some distortion, but this should at least
not be worse than before. Subsurf UV is enabled by default on new meshes,
and can be enabled in the modifier panel for existing ones.

Before and after:

16 years agoapplied patch from snailrose, related to multi-platform OpenGL extensions.
Erwin Coumans [Tue, 10 Jan 2006 06:34:42 +0000 (06:34 +0000)]
applied patch from snailrose, related to multi-platform OpenGL extensions.

16 years agoAnother msvc issue. Added #include <ctype.h> so it compiles.
Kent Mein [Tue, 10 Jan 2006 02:23:47 +0000 (02:23 +0000)]
Another msvc issue.  Added #include <ctype.h> so it compiles.
See patch #3686


16 years agoFixed bug in convert function with Mesh objects.
Campbell Barton [Tue, 10 Jan 2006 02:01:24 +0000 (02:01 +0000)]
Fixed bug in convert function with Mesh objects.
Objects with no modifier could still be converted, but resulting meshes were corrupt and segfaulted Blender when cycling edit mode.
This tests each mesh object for modifiers before converting.

Resulting metaballs meshes were not visible in wireframe.

Also made the selection context nicer, All new converted objects are selected while objects that are converted are deselected.

16 years agoadded prototypes for bottom_sel_action and friends.
Kent Mein [Tue, 10 Jan 2006 01:36:36 +0000 (01:36 +0000)]
added prototypes for bottom_sel_action and friends.
Steath Apprentice said its needed for MSC.  Bug # 3687