Geoffrey Bantle [Tue, 11 Sep 2007 20:58:00 +0000 (20:58 +0000)]
-> Fix for Mesh Properties Python API
When switching Mesh properties over to METH_O from METH_VARARGS certain method definitions
didn't get switched over correctly, causing calls to mesh property functions to fail.
Geoffrey Bantle [Tue, 11 Sep 2007 17:01:09 +0000 (17:01 +0000)]
-> Selection History Fix
Old bug in selection history meant that face selections were getting erased from
history on editmode toggle.
Campbell Barton [Tue, 11 Sep 2007 14:36:03 +0000 (14:36 +0000)]
Added active drawing in editmode (may need some more work), this hilightes the last selected vert/edge/face, which is needed for moving some of the UV tools into editmode.
Added copy menu for editmode for copying from the active faces material, image, UV's vcols etc,
improved on the current vertex color copy by averaging the 4th color when copying color from a tri to a quad.
And added edge crease and length copy
cerrently verts dont have a copy menu but eventually copy weights would be good.
Campbell Barton [Tue, 11 Sep 2007 10:22:00 +0000 (10:22 +0000)]
udates from stable
Joshua Leung [Tue, 11 Sep 2007 09:36:47 +0000 (09:36 +0000)]
Bugfix:
Copy/pasting multiple ipo curves in editmode, segfaulted due to some misplaced code.
Kent Mein [Tue, 11 Sep 2007 04:05:44 +0000 (04:05 +0000)]
This does nothing to fix the irix stuff but gets rid of a couple of simple
warnings that showup on irix.
Kent
Matt Ebb [Tue, 11 Sep 2007 00:26:15 +0000 (00:26 +0000)]
* AO bugfix - Constant QMC sampling wasn't getting initialised for bake rendering, causing a crash.
Geoffrey Bantle [Mon, 10 Sep 2007 23:03:32 +0000 (23:03 +0000)]
-> Multires Editmode fix
Typo in Multires Editmode integration meant that way too much memory
was getting allocated for a pointer array (more than 10 times as much).
Geoffrey Bantle [Mon, 10 Sep 2007 22:56:29 +0000 (22:56 +0000)]
-> Added mesh properties to modifiers
Mesh properties layers were not getting copied in the modifier stack.
Geoffrey Bantle [Mon, 10 Sep 2007 22:52:32 +0000 (22:52 +0000)]
-> Fixed initialization of Octree Resolution and Tri2Quad threshold
add_scene() in scene.c didn't properly initialize the octree resolution
for new scenes or the join threshold for Triangle to Quad conversions.
Campbell Barton [Mon, 10 Sep 2007 22:33:14 +0000 (22:33 +0000)]
some button arranging
(UV Calculation tab is nolonger relevent to FaceSelect draw modes.)
Move FaceSelect draw options into WeightPaint and VertexPaint panels.
Moved UV Calculation panel in with shape keys tab.
Campbell Barton [Mon, 10 Sep 2007 20:12:38 +0000 (20:12 +0000)]
draw shadowmesh wasnt working and the button in the header for selecting faces in paint mode was drawn in editmode.
Campbell Barton [Mon, 10 Sep 2007 19:32:44 +0000 (19:32 +0000)]
Changes to "Face Select" mode
* Does not indicate that UV's exist, nor does it add UV's when used.
* Only accessible for texturepaint, vertexpaint and weightpaint from a button in the header (Paint Selection Mask)
* Not accessible from the mode menu, this is only an option that applies to paint modes.
This dosnt effect DNA, face select (G_FACESELECT) can be enabled at any time but is only used when paint modes are enabled.
Other changes
* UKey is uv unwrap in editmode, Ukey for undo was editmode only anyway.
* UVCalc in editmode adds a UV Layer if there is not one alredy.
* texture draw in editmode does not draw the face dots (they are get in the way of texturing)
* some missing updates were added.
* removed manipulator from when paint modes are enabled since the manipulator is not drawn in the 3d view.
Martin Poirier [Mon, 10 Sep 2007 16:29:31 +0000 (16:29 +0000)]
Version bump to 2.45 and splash screen for stable release
Campbell Barton [Mon, 10 Sep 2007 12:26:36 +0000 (12:26 +0000)]
UV Editing is now done in editmode rather then UV/Face Select mode.
Notes
* you cant edit UV's in the image window in "UV Face Select" mode. (removed UV from the name)
* going into Face Select mode no longer adds UV's and does not need UV's to work.
* The UV Calculation menu is now in editmode (Alt+W)
Todo..
* Image replace - partly broken in stable also.
* Rotate/Mirror UV/VCol are still only in Face Select mode.
* Hide/Reveal is not quite right, (issue with editmode flushing)
Joshua Leung [Mon, 10 Sep 2007 12:12:38 +0000 (12:12 +0000)]
IPO Copy/Paste Bugfix:
This commit fixes two minor mistakes made in the previous commit for this:
* forgot to advance to next ipo curve from buffer
* handles on the curves that got data pasted were not recalculated (those from the buffer were instead!)
Joshua Leung [Mon, 10 Sep 2007 10:47:09 +0000 (10:47 +0000)]
Action Editor - minor cleanups of transform code...
Joshua Leung [Mon, 10 Sep 2007 07:24:26 +0000 (07:24 +0000)]
Bugfix #7294:
When resizing an Outliner window, the contents would eventually get 'pushed out of view' when shrinking the view.
I've added a bit of a 'hack', which will ensure that this doesn't happen, by forcing the view to look at the left-side of the outliner tree, when the width of the outliner window decreses due to resizing.
Matt Ebb [Mon, 10 Sep 2007 06:09:48 +0000 (06:09 +0000)]
* Raised some hard coded limits such as mist/envmap clipping ranges
Ben Batt [Sun, 9 Sep 2007 18:03:58 +0000 (18:03 +0000)]
Fix for edgesplit crashes reported in bugs 6695 and 7142. The problem, as
found by Riku Palomäki, was that "bridge" vertices (which connect two or more
faces that don't share edges) were not being included in the maximum final
vertex count calculation (used for memory allocation, hence the crashes).
Unfortunately Riku's patch actually stopped bridge vertices from being split
correctly, so I have fixed the problem by adding the maximum number of vertices
that can be generated from bridge vertices to the maximum final vertex count.
Thanks to Riku Palomäki for finding the cause!
Joshua Leung [Sun, 9 Sep 2007 11:58:03 +0000 (11:58 +0000)]
Reverting commit 11974 as the setting in question, apparently causes major performance bottlenecks.
Joshua Leung [Sun, 9 Sep 2007 11:54:12 +0000 (11:54 +0000)]
Bugfix #6923:
NLA was calculating extensions of strips in the wrong order. This was not an issue in many cases, although it is highlighted in the following case:
[strip 1 - 'hold' is on] ----------------------------
[strip 2 ]
Logically, the end of strip 1 would hold on until the start of strip 2. However, the start of strip 2 was extended to the end of strip 1 instead.
Joshua Leung [Sun, 9 Sep 2007 11:05:21 +0000 (11:05 +0000)]
Patch #6794: Subdivide Multi for Armatures
This patch, by Juho Vepsalainen (BeBraw), introduces subdivide multi functionality for armatures. It lets you specify the number of divisions that selected bones should be divided into.
I've slightly optimised the code a bit, though the change shouldn't make much of a difference. I've also fixed a minor bug in the menu highlighting, due to duplicate menu event-codes.
Joshua Leung [Sat, 8 Sep 2007 12:34:27 +0000 (12:34 +0000)]
== IPO Copy/Paste ==
When in EditMode for IPO-curves, keyframes are now pasted from the IPO-editor's copy/paste buffer instead of the entire curves being pasted. This makes it possible to 'move' keyframes from one IPO-curve to another.
* Only keyframes in the copy/paste buffer that are selected, are pasted
* All keyframes that are pasted, are pasted relative to the current frame, with the current frame being the location of the first pasted keyframe.
* Pasted keyframes replace exisitng keyframes if they occur at the same location.
Campbell Barton [Sat, 8 Sep 2007 12:09:51 +0000 (12:09 +0000)]
update from stable
Joshua Leung [Sat, 8 Sep 2007 11:04:23 +0000 (11:04 +0000)]
Materials setting "TraShad" is now on by default for all newly created materials.
Campbell Barton [Sat, 8 Sep 2007 08:49:56 +0000 (08:49 +0000)]
fbx update from stable (parent/child hierarchy isnt flattened anymore)
Matt Ebb [Sat, 8 Sep 2007 02:08:51 +0000 (02:08 +0000)]
* Tweaked the knife tool header info text, making mention of the previously hidden ability to use MMB to constrain to screen axes.
Joseph Eagar [Sat, 8 Sep 2007 00:57:34 +0000 (00:57 +0000)]
=Epydoc Fix=
epydoc changes for last commit weren't entirely clear. Reworked a paragraph
to be a bit clearer.
Diego Borghetti [Sat, 8 Sep 2007 00:54:42 +0000 (00:54 +0000)]
Fix compile warning.
The function newVectorObject is declare in the vector.h.
Joseph Eagar [Sat, 8 Sep 2007 00:04:32 +0000 (00:04 +0000)]
=Python Bugfix=
The python wrapper code for shape keys was really bad; whoever wrote it
(mis)read the wrong section of blender's codebase and got the totally wrong
idea. The code was definitely broken to the point where either it had to be
fixed for 2.45, or else the entire keyblock wrapper would have to be removed
from the stable branch. The fact that it didn't crash is just sheer luck;
the code assume mesh keys were MVerts, when in fact mesh keys are just
arrays of three-float vectors.
So shapekey data can now be editing directly, and is exposed as Mathutils.Vectors.
Also I updated the epydocs to explain how it all works now.
Campbell Barton [Fri, 7 Sep 2007 23:33:30 +0000 (23:33 +0000)]
update from mingus
Campbell Barton [Fri, 7 Sep 2007 07:55:36 +0000 (07:55 +0000)]
matrix to scale fixes from stable
Matt Ebb [Fri, 7 Sep 2007 03:48:50 +0000 (03:48 +0000)]
* QMC Raytracing
This introduces QMC sampling for use in glossy reflections/refractions, soft raytraced shadows, and ambient occlusion.
This work includes many new features and speed-ups, so check out the nice docs here:
Glossy Reflection/Refraction
http://www.blender.org/development/current-projects/changes-since-244/glossy-reflectionrefraction/
Raytraced Soft Shadows
http://www.blender.org/development/current-projects/changes-since-244/raytraced-soft-shadows/
QMC Sampling
http://www.blender.org/development/current-projects/changes-since-244/qmc-sampling/
Many thanks to Brecht van Lommel for some initial code snippets and for reviewing the patch, and especially to Alfredo de Greef who gave me a lot of guidance and help along the way!
Campbell Barton [Fri, 7 Sep 2007 00:36:56 +0000 (00:36 +0000)]
When Optimize keyframes was enabled, the comma's wernt written in the right place, oddly enough this still loaded in the FBX SDK.
Martin Poirier [Thu, 6 Sep 2007 21:35:51 +0000 (21:35 +0000)]
[#7299] Orbit around selected causes panning to be reversed
The actual "bug" is much more general than simple viewmove. In fact, any time the center (for viewmove, or transform, or ...) on which initgrabz is called was behind the camera (in perspective, then), all mouse motion where reversed.
What I added is a special handling case that reverts those situation to the default case (center = viewport offset).
This changes the behavior for those case to something much more predictable/useable, but I doubt anyone expected it to work incorrectly, so I'd say that's alright.
This covers other cases than transform and viewmove (which are the only ones I really tested), but I don't expect breakage elsewhere.
If anyone disagrees with the change, feel free to offer a better solution.
Diego Borghetti [Thu, 6 Sep 2007 03:18:07 +0000 (03:18 +0000)]
BugFix #7303
More fix to solaris build, patch by Vladimar Marek
Andrea Weikert [Wed, 5 Sep 2007 17:55:44 +0000 (17:55 +0000)]
fix svn properties for line endings
fix a few no newlines at end of file warnings
Campbell Barton [Wed, 5 Sep 2007 04:17:55 +0000 (04:17 +0000)]
printing a pose's bone dict was limited to 4096 characters otherwise it would crash.
malloc the string instead.
Campbell Barton [Wed, 5 Sep 2007 01:02:03 +0000 (01:02 +0000)]
constant name was wrong. possibly changed between blender versions
Andrea Weikert [Tue, 4 Sep 2007 20:27:43 +0000 (20:27 +0000)]
== imagebrowser ==
- fix: deleting bookmark didn't update .Bfs file (see tracker #7298)
- also fixed memleak, thanks to the guardedalloc :)
Andrea Weikert [Tue, 4 Sep 2007 19:07:51 +0000 (19:07 +0000)]
== imagebrowser ==
- nicer drawing of highlight for bookmarks
- fix slight positioning issue of bookmark highlight
- resetting bookmark highlight when mouse outside bookmark area
- cleaned up define that isn't needed anymore
Juho Vepsalainen [Tue, 4 Sep 2007 17:42:33 +0000 (17:42 +0000)]
Fix for bug [#7135] Compositor crash when adding a time node:
This commit replaces the old function used to draw time node
user interface with new one. This should fix the issue. The
function can later be reused time node for material node
system.
Stephen Swaney [Tue, 4 Sep 2007 15:53:22 +0000 (15:53 +0000)]
more warning cleanup:
unused variables
undefined variables
discarded qualifiers
Campbell Barton [Tue, 4 Sep 2007 07:26:25 +0000 (07:26 +0000)]
Made ~ view all IPO's (similar to view all layers in the 3d view)
Stephen Swaney [Mon, 3 Sep 2007 19:12:36 +0000 (19:12 +0000)]
more warning fixes.
sprinkle a few 'const char*'s around to remove warnings
about discarding qualifiers in imbuf code.
Stephen Swaney [Mon, 3 Sep 2007 17:28:50 +0000 (17:28 +0000)]
fix warning: no newline at end of file
Ken Hughes [Mon, 3 Sep 2007 16:56:09 +0000 (16:56 +0000)]
Update Python API to change to curve 'extrude' limit from 5 to 100.
Stephen Swaney [Mon, 3 Sep 2007 16:00:12 +0000 (16:00 +0000)]
another warning: no newline at end of file
Stephen Swaney [Mon, 3 Sep 2007 14:23:05 +0000 (14:23 +0000)]
fix No newline at end of file
Matt Ebb [Mon, 3 Sep 2007 06:27:51 +0000 (06:27 +0000)]
* Raised hardcoded limit for curve 'extrude' from 5 to 100.
Campbell Barton [Mon, 3 Sep 2007 00:03:29 +0000 (00:03 +0000)]
shell script that works with epydoc 3.0
Campbell Barton [Sun, 2 Sep 2007 22:53:59 +0000 (22:53 +0000)]
adding 2 new functions
Mat3ToScalef and Mat4ToScalef
These return a floating point scale value which is the average of the 3 axies.
Use this to adjust curve radius when applying scale/rot
Peter Schlaile [Sun, 2 Sep 2007 19:32:22 +0000 (19:32 +0000)]
== Sequencer ==
Bugfix:
The mem cache limitor didn't take mmap-allocated memory into account,
resulting in effectively disabling it, since all imbuf-data is
currently allocated using mmap.
Ton Roosendaal [Sun, 2 Sep 2007 17:47:03 +0000 (17:47 +0000)]
Bugfix #7020
Buttons window, Object context, Anim Settings panel, "draw key"
did not work. Bug since year zero...
Andrea Weikert [Sun, 2 Sep 2007 17:41:25 +0000 (17:41 +0000)]
== imagebrowser ==
fix for missing null pointer check in IMB_thumb_create.
found by Diego Borghetti (bdiego) - thanks!
Andrea Weikert [Sun, 2 Sep 2007 17:25:03 +0000 (17:25 +0000)]
== imagebrowser ==
Initial commit of imagebrowser in trunk.
BIG COMMIT!
Main changes:
* completely reworked imasel space
* creation and storage of the preview images for materials, textures, world and lamp
* thumbnails of images and movie files when browsing in the file system
* loading previews from external .blend when linking or appending
* thumbnail caching according to the Thumbnail Managing Standard: http://jens.triq.net/thumbnail-spec/
* for now just kept imasel access mostly as old imgbrowser (CTRL+F4, CTRL+F1) a bit hidden still.
* filtering of file types (images, movies, .blend, py,...)
* preliminary managing of bookmarks ('B' button to add, XKEY while bookmark active to delete)
More detailed info which will be updated here: http://wiki.blender.org/index.php/User:Elubie/PreviewImageBrowser
Places that need special review (and probably fixes):
* BLO_blendhandle_get_previews in readblenentry
* readfile.c: do_version and refactorings of do_library_append
* UI integration
TODO and known issues still:
* Accented characters do not display correctly with international fonts
* Crash was reported when browsing in directory with movie files
* Bookmark management still needs some UI work (second scrollbar?), feedback here is welcome!
Credits:
Samir Bharadwaj (samirbharadwaj@yahoo.com) for the icon images.
Many thanks to everyone who gave feedback and helped so far!
Ton Roosendaal [Sun, 2 Sep 2007 16:34:02 +0000 (16:34 +0000)]
Bugfix #7125
The conversion from float to char (byte) was not correct. It should include
the possibility for colors like 0.999999 to become 255 still. The correct
multiplication factor I don't know though... and this should become a system
wide definition!
Ton Roosendaal [Sun, 2 Sep 2007 11:55:56 +0000 (11:55 +0000)]
Bugfix #7072
Outliner "make local" was not coded properly. Removed it for now...
Proper implementation would check all other used pointers, to indicate
the data is now local, and ID pointers should be of type "lib extern"
Andrea Weikert [Sun, 2 Sep 2007 09:50:09 +0000 (09:50 +0000)]
== MSVC 7.1 projectfiles ==
added SHD_hueSatVal.c
Campbell Barton [Sat, 1 Sep 2007 20:27:50 +0000 (20:27 +0000)]
apply envelope to weigh group didnt take armature scale into account
Campbell Barton [Sat, 1 Sep 2007 18:50:40 +0000 (18:50 +0000)]
svn-commit.2
Joshua Leung [Sat, 1 Sep 2007 04:24:16 +0000 (04:24 +0000)]
Bugfix:
Snap Cursor to Selected in EditMode for bone was still not working correctly. A missing check made it impossible to snap to joints in some situations.
Campbell Barton [Fri, 31 Aug 2007 23:23:38 +0000 (23:23 +0000)]
Bugfix for [#7018] Hiding, unhiding a spot lamp and then setting it to buf shadow segfaults
buttons were not redrawing so it was possible to use them without an active object, this crashed blender.
Campbell Barton [Fri, 31 Aug 2007 21:54:56 +0000 (21:54 +0000)]
my commit 11122 broke scriptlinks. was returning before re-enabling scriptlinks.
Bug [#6978] Scene script link doesn't work for Redraw event
made a script to automate building a range of revisions.
http://wiki.blender.org/index.php/User:Ideasman42#SVN_TimeWarp_Script
Campbell Barton [Fri, 31 Aug 2007 19:17:22 +0000 (19:17 +0000)]
scons clean would throw an error if there was nothing to do. print a message instead.
Campbell Barton [Fri, 31 Aug 2007 18:21:12 +0000 (18:21 +0000)]
fix from stable - was missing a NULL check
Kent Mein [Fri, 31 Aug 2007 16:16:33 +0000 (16:16 +0000)]
Updated the Makefiles removing some of the gcc specific stuff...
Basically I moved -funsigned-char -fno-strict-aliasing
from individual Makefiles to nan_compile.mk defines for CFLAGS and CCFLAGS
Kent
Kent Mein [Fri, 31 Aug 2007 15:47:45 +0000 (15:47 +0000)]
This covers bugs # 7130 7131 7132 7133
All small patches submitted by Vladimar Marek (neuron)
Basically fixes up some headers for Solaris's compiler.
Kent
Juho Vepsalainen [Fri, 31 Aug 2007 07:42:06 +0000 (07:42 +0000)]
Hue Saturation Value node - port to material node system
This commit ports Hue Saturation Value node to the material node system.
Unlike in composite version, each value is an input. Composite node version
will be updated later to use the same scheme.
Andrea Weikert [Thu, 30 Aug 2007 20:32:43 +0000 (20:32 +0000)]
* updated MSVC projectfiles with SHD_sepcombRGB.c shader nodes.vcproj
* fix for possible double free.
Jean-Luc Peurière [Thu, 30 Aug 2007 18:59:33 +0000 (18:59 +0000)]
change to darwin base config that stayed in the pipe
Campbell Barton [Thu, 30 Aug 2007 17:16:09 +0000 (17:16 +0000)]
* dupli-objects were not exporting (animated dipli's and armatures that are dupli's still dont work)
* added support for exporting blenders groups (will export groups that any of the selected objects are apart of)
Matt Ebb [Thu, 30 Aug 2007 01:47:14 +0000 (01:47 +0000)]
* Slight change to lamp energy calculation - make lamps invisible
for shading if their 'visibility factor' is below 0.001. This
gives no perceptible visual difference in my tests, but can
significantly speed up shading when using lots of omni lights
with quad falloff over a large area. Since quad lamps never
actually fall off to 0, previously every lamp would be considered
for shading each pixel, even if such lamps had a tiny falloff
distance, and were miles away.
Campbell Barton [Wed, 29 Aug 2007 19:53:49 +0000 (19:53 +0000)]
sync with stable
Campbell Barton [Wed, 29 Aug 2007 09:50:08 +0000 (09:50 +0000)]
Objects can now be animated (camera paths, lamps etc)
However meshes that use an armature cant use object animation.
faster exporting for non modifier applied, armature meshes (transform all verts using wrapped C func)
Campbell Barton [Wed, 29 Aug 2007 05:42:39 +0000 (05:42 +0000)]
* added a bindpose (3ds max was complaining)
* export materials emit value
Matt Ebb [Wed, 29 Aug 2007 05:01:20 +0000 (05:01 +0000)]
*Added 'Zoom within border (Shift B)' to the 3d view menus.
Can people *please* not commit tools with only hotkeys to access them?
Campbell Barton [Wed, 29 Aug 2007 03:56:22 +0000 (03:56 +0000)]
* added some missing tooltips
* made name string cleaning function allow chars ,.()[]{} in fbx model names
* clamped export lamp intensity to 200
* each mesh only links to the image-textures it uses. (before it linked to ALL textures)
* added support for AllSame mapping, this means when a material or texture only uses one, a single mapping index can be given rather then a big list with the same value in it.
* improved material and texture mapping method
Campbell Barton [Wed, 29 Aug 2007 03:09:22 +0000 (03:09 +0000)]
hash update from stable
Campbell Barton [Wed, 29 Aug 2007 00:10:23 +0000 (00:10 +0000)]
scaling the model by 10 by default didnt work for some people, scaling 1.0 by default for now.
Joshua Leung [Tue, 28 Aug 2007 11:29:54 +0000 (11:29 +0000)]
Patch #7081:
Submitted by: David Bryant
This patch adds 2 new drawtypes for empties (circle draws a 2d-circle on the x-z plane, and cube draws a regular cube), and allows empties to be used as custom bone shapes.
I've modified the patch a bit to fix up weird formatting, optimising the circle-drawing method, but the cube-drawing function has been maintained. In the process, I also moved the mesh-specific code in draw_object_instance to draw_object_mesh_instance so that empties can be used by whatever else might use draw_object_instance too.
Kent Mein [Tue, 28 Aug 2007 11:11:07 +0000 (11:11 +0000)]
This is patch #7056
Submitted by Davide Vercelli (unclezeiv)
removes the restriction of using the screw tool only in front view.
Kent
Kent Mein [Tue, 28 Aug 2007 10:07:08 +0000 (10:07 +0000)]
This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone.
Patch provied by gsrb3d
bug tracker #7061
Kent
Brecht Van Lommel [Tue, 28 Aug 2007 09:30:46 +0000 (09:30 +0000)]
Another fix for the editmode textured draw commit, subsurf vertex color
drawing didn't work.
Brecht Van Lommel [Tue, 28 Aug 2007 08:59:33 +0000 (08:59 +0000)]
Fix for editmode textured draw commit.
Campbell Barton [Tue, 28 Aug 2007 08:54:29 +0000 (08:54 +0000)]
left in test, should not be working when tired.
Brecht Van Lommel [Tue, 28 Aug 2007 08:53:36 +0000 (08:53 +0000)]
Textured drawing in Edit Mode
=============================
- In textured drawmode it now draws the texture, with solid mode lighting.
- UVs and vertex colors for subsurf are not computed incremental yet, so
editing in textured drawmode then may not be as fast as the other modes.
Implementation Notes:
- Added textured drawing functions to the editmesh and subsurf derivedmeshes.
- Removed some unused, legacy subsurf code that directly used Mesh.
- Restructured texture drawing a bit to make it more clear and allow for
editmode drawing.
(Peach feature request)
Joshua Leung [Tue, 28 Aug 2007 08:43:38 +0000 (08:43 +0000)]
Bugfix: Constraint Geometry Targets didn't work yet when the Target Mesh was in EditMode
It turns out that a DerivedMesh needs to be generated explicitly if one needs to be used when the Mesh is in EditMode.
Campbell Barton [Tue, 28 Aug 2007 08:30:37 +0000 (08:30 +0000)]
thaught Id run the colbits test but that part wasnt running, tested and error fixed now.
Campbell Barton [Tue, 28 Aug 2007 05:32:00 +0000 (05:32 +0000)]
* texture indicies were exported incorrectly
* copy textures didnt work
* Export blenders ClampX/Y settings
* removed unneeded imports
Campbell Barton [Tue, 28 Aug 2007 02:11:49 +0000 (02:11 +0000)]
Fixes
* material indicies were incorrectly exported
* export object materials using colbits
* scaled armatures would scale bones twice
* scenes with no world would raise an error
Additions
* added options for global scaling and rotating, defaults will load correctly in MotionBuilder
* modifiers can be applied to skinned meshes, the armatures are set to their rest positions for python to get the un-deformed mesh. This makes exporting a mesh with subsurf and armature applied work as expected.
* meshes with parent bones are exported as weighted meshes.
* use lamp modes for cast light and cast shadow FBX settings.
* batch exporter, scenes or groups can be exporter to a file each.
* help button to load the wiki exporter page.
Campbell Barton [Mon, 27 Aug 2007 20:05:05 +0000 (20:05 +0000)]
getting the mesh for all curves/surfs/text raised an error every time because it was checking the wrong object was converted to a mesh. might be own fault.
Campbell Barton [Mon, 27 Aug 2007 16:09:02 +0000 (16:09 +0000)]
armature weakref evilness again, using editmode in python is not the best.
replacing PyWeakref_NewProxy with PyWeakref_NewRef fixes this problem.
list(bpy.data.armatures) # would mess up weakrefs
[arm for arm in bpy.data.armatures] # didnt.
Diego Borghetti [Mon, 27 Aug 2007 03:20:16 +0000 (03:20 +0000)]
BugFix #7115
The "Strands" settings is a BlockBut and never return B_MATPRV like the others buttons, because of this,
never call BIF_preview_changed.
It's posible two fix for this:
1) make all the buttons into the "Strands" panel return B_MATPRV (this modify the "work mode" of the panel)
2) Add a call to BIF_preview_changed to the end of strands_menu function (as do_matbuts).
The problem with the first options, is that the panel "close" when you press/release some of the buttons, so
to preserve the current "work mode" of the panel, i choose the second option.
Campbell Barton [Sun, 26 Aug 2007 01:35:03 +0000 (01:35 +0000)]
cleanup and fixed more problems with namespace collisions (should be all solved by name)
Campbell Barton [Sat, 25 Aug 2007 19:05:18 +0000 (19:05 +0000)]
getting the armature twice would cause a weakref error and crash after 2-4 runs..
data = arm_ob.data
bones = arm_ob.data.bones.values()
Fixed by returning existing armatures if they exist in the weakref list. tested with FBX and BVH support.
Campbell Barton [Fri, 24 Aug 2007 21:52:56 +0000 (21:52 +0000)]
fix from stable - if modules cant be imported- popup an error rather then nasty python message
Stephen Swaney [Fri, 24 Aug 2007 18:12:07 +0000 (18:12 +0000)]
correct tooltip: startingspeed => starting speed
Noticed by mjordan.
Campbell Barton [Fri, 24 Aug 2007 12:13:34 +0000 (12:13 +0000)]
armature animation is not messed up when the mesh and armature objects have transformation.
python 2.4+ without any modules should work.
python 2.3 should work now also (need to import the sets module).