Ken Hughes
df3fd052dd
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.
2006-01-16 02:06:02 +00:00
Tom Musgrove
9137d364df
==python scripts==
...
slight bug fix update to ply importer by Bruce Merry
2006-01-15 20:05:28 +00:00
Campbell Barton
afb0f2ff24
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.
2006-01-15 17:56:40 +00:00
Ken Hughes
4f916b3081
Removed printfs in setPoints(), add proper exception handling.
2006-01-15 17:14:58 +00:00
Campbell Barton
56de05c497
last of the cosmetic fixes with aligning buttons in the path setting/info win prefs area.
2006-01-15 14:47:16 +00:00
Campbell Barton
c5fd40f0bf
Mesh sculpting event handeler script,
...
see http://www.elysiun.com/forum/viewtopic.php?t=56101 for details,
2006-01-15 14:44:09 +00:00
Campbell Barton
93904a476e
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
2006-01-15 13:30:56 +00:00
Erwin Coumans
6f3e593105
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,
2006-01-15 11:34:55 +00:00
Ken Hughes
e35f73cd00
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.
2006-01-14 22:05:16 +00:00
Martin Poirier
8d05e14b0f
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.
2006-01-14 20:52:39 +00:00
Stephen Swaney
148134205f
fix previously fixed error msg.
2006-01-14 19:05:33 +00:00
Stephen Swaney
adcef46599
Object.Get( name ) was throwing an AttributeError.
...
Change to throw more correct ValueError when name
is not found as per IRC discussion
2006-01-14 02:13:15 +00:00
Ken Hughes
c18db96f56
Cam Barton discovered the setter for me.faces[i].col was missing.
2006-01-13 17:22:53 +00:00
Joseph Gilbert
144e3f827d
* [ #3746 ] Calling getPose on a mesh object generates "RuntimeError: Pose - Error: PyPose_FromPose: Internal Error Ocurred"
...
- added returns where appropriate.
2006-01-13 16:19:11 +00:00
Joseph Gilbert
1a4c31442f
*head/tail addition
...
- forgot to add the ability to get pose head/tail positions
- no setters (yet) as they are calculated
2006-01-13 15:53:22 +00:00
Joseph Gilbert
2aa6d4fc11
*bone.children fix
...
- fixes bone.children to return direct bone children
- added bone.getAllChildren() to allow previous behavior
2006-01-13 15:27:23 +00:00
Campbell Barton
1752c03441
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
2006-01-13 15:26:15 +00:00
Ton Roosendaal
9d889a94b7
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.
2006-01-13 12:14:13 +00:00
Ken Hughes
5951b4dda7
Another bug fix for reference counting in extend methods.
2006-01-13 07:11:30 +00:00
Brecht Van Lommel
bb1ce1c3ec
Subsurf UV crasher fix - thanks Malefico and Matthew for test files.
2006-01-13 06:56:32 +00:00
Erwin Coumans
7e8d848eb1
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.
2006-01-13 01:00:35 +00:00
Tom Musgrove
9b597819d6
==python scripts==
...
added xfig exporter by Dino Ghilardi
ply import and export in previous commit were by Bruce Merry
2006-01-13 00:24:23 +00:00
Tom Musgrove
b367da593b
==python scripts==
...
added ply import and export, extensively tested on files from
http://www.cs.virginia.edu/~gfx/Courses/2001/Advanced.spring.01/plymodels/
they give correct results for both import and export, however they could use some speed optimization for large mesh
2006-01-12 21:33:42 +00:00
Stephen Swaney
dea1ac52b4
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.
2006-01-12 21:21:41 +00:00
Campbell Barton
02cdb8a745
Fixed a segfault in zooming out on long wave files- 6min+
...
Was using shorts which couldent code with viewing many samples at once.
2006-01-12 13:34:55 +00:00
Campbell Barton
5dba8e798a
Renamed clean_mesh.py to mesh_cleanup.py
...
Rewrote to use Kens Mesh module, much faster, cleaner and nicer UI. - Another use for PupBlock.
2006-01-12 12:39:14 +00:00
Ken Hughes
6ded7d67d1
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.
2006-01-12 07:51:19 +00:00
Erwin Coumans
631979f909
renamed some variables to make the timing in the game engine less confusing+minor improvements in this area.
...
enabled game engine for scons
2006-01-12 06:30:01 +00:00
Campbell Barton
007b3b897a
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!
2006-01-12 05:28:47 +00:00
Campbell Barton
d498ae5104
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)
2006-01-12 03:34:37 +00:00
Erwin Coumans
a9e64286a9
overlooked IMB_imbuf.h was already included inside an extern "C" section.
2006-01-12 01:37:33 +00:00
Erwin Coumans
b9d99662d2
uncommented include "IMB_imbuf.h", it is needed?
2006-01-12 01:15:09 +00:00
Martin Poirier
150d36e4da
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.
2006-01-12 01:11:42 +00:00
Erwin Coumans
0132ac9b8b
re-enable game engine by default, for 2.41 preparation
2006-01-12 00:57:28 +00:00
Martin Poirier
81f42b491a
Scons fix:
...
new BPy Pose files weren't added to Sconscript
2006-01-12 00:07:08 +00:00
Kent Mein
468dd24cd5
remove Constraint.h since it doesn't exist.
...
Provided by Letterrip.
Kent
2006-01-11 21:58:37 +00:00
Hans Lambermont
ce4dcda91a
- override the temporary disabling of KETSJI and OPENAL for FreeBSD.
2006-01-11 21:11:07 +00:00
Joseph Gilbert
f41c1f1c73
Forgot the pose file.... :p
2006-01-11 20:48:46 +00:00
Joseph Gilbert
31518a374b
*pose docs
...
- some pose python documentation
2006-01-11 20:44:24 +00:00
Hans Lambermont
21733dccc9
- sanitize spacings and tabs a bit. It's still not completely clean though.
2006-01-11 20:25:04 +00:00
Joseph Gilbert
e0e54e0f6e
*vc7 project file update
...
- adds pose to python project
2006-01-11 19:42:58 +00:00
Joseph Gilbert
6544ed3b64
Probably need these....
2006-01-11 19:41:01 +00:00
Joseph Gilbert
5f0232f68f
*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
2006-01-11 19:40:06 +00:00
Hans Lambermont
f4de95a5f6
At least FreeBSD needs to know where to find gl.h
2006-01-11 19:31:15 +00:00
Ken Hughes
0ee5c131dc
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
2006-01-11 18:37:47 +00:00
Campbell Barton
74ed402490
Exclude labels from grouping. - Clever numbuts look nicer with rounded theme.
2006-01-11 16:55:31 +00:00
Erwin Coumans
fbc977e48c
attempt to avoid nameclashes (although it is already in a namespace) -> extension names renamed from glXXX to blXXX.
2006-01-11 13:31:45 +00:00
Campbell Barton
8c205be66f
Fixed a silly bug when copying images.
2006-01-11 10:12:03 +00:00
Campbell Barton
664f6026d5
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.
2006-01-11 09:47:17 +00:00
Jens Ole Wund
85e8dd5c05
MSVC6 projects for happy GE compiling
2006-01-11 09:13:59 +00:00