11 years agoSimpleDeform modifications:
Andre Susano Pinto [Mon, 4 Aug 2008 13:12:35 +0000 (13:12 +0000)]
SimpleDeform modifications:
  * Added "Lock axis" options on taper and strech/squash (suggested by ZanQdo)
  * Better control of deform factor (suggested by ZanQdo)
  * Added eModifierTypeFlag_AcceptsCVs (so it now accepts both curves and meshes)

11 years agoFixed double inflation in case of co_moving points
Andre Susano Pinto [Mon, 4 Aug 2008 11:50:36 +0000 (11:50 +0000)]
Fixed double inflation in case of co_moving points

11 years agoadded openmp support for bvhtree build (max processes = tree_type)
Andre Susano Pinto [Sun, 3 Aug 2008 15:37:24 +0000 (15:37 +0000)]
added openmp support for bvhtree build (max processes = tree_type)

11 years agoAdded shrinkwrap as a constraint.
Andre Susano Pinto [Sun, 3 Aug 2008 02:02:15 +0000 (02:02 +0000)]
Added shrinkwrap as a constraint.
All modes are available:
nearest surface
nearest vertex
normal projection (along X,Y or Z axis)

11 years agosvn merge -r 15688:15908
Andre Susano Pinto [Fri, 1 Aug 2008 21:37:36 +0000 (21:37 +0000)]
svn merge -r 15688:15908

11 years agoFixed simple deform strech/squash function
Andre Susano Pinto [Fri, 25 Jul 2008 23:52:16 +0000 (23:52 +0000)]
Fixed simple deform strech/squash function

11 years agoConverted shrinkwrap to a DeformOnly modifier
Andre Susano Pinto [Fri, 25 Jul 2008 18:48:24 +0000 (18:48 +0000)]
Converted shrinkwrap to a DeformOnly modifier

*the options "remove faces", "merge" points were removed
*made shrinkwrap work with CVs (curves and nurbs surfaces)
*cleanup shrinkwrap code.. (removed bruteforces and raytree methods)

11 years agosvn merge -r 15590:15688
Andre Susano Pinto [Tue, 22 Jul 2008 12:02:57 +0000 (12:02 +0000)]
svn merge -r 15590:15688

11 years ago*BVHTreeFromMesh api changed.. it now stores all information like defaults callbacks...
Andre Susano Pinto [Tue, 22 Jul 2008 11:50:50 +0000 (11:50 +0000)]
*BVHTreeFromMesh api changed.. it now stores all information like defaults callbacks to raycast and nearest surface (just to make it easier to use)
*Fixed button size of "Above surface"

11 years agoFixed a bug relative to editmode..
Andre Susano Pinto [Mon, 21 Jul 2008 22:36:05 +0000 (22:36 +0000)]
Fixed a bug relative to editmode..
now its calling CDDM_calc_normals when receiving a mesh to deform,
since in edit mode the mesh doenst has normals calculated

11 years agoMade shrinkwrap modifier work when target or cutPlane are in editmode.
Andre Susano Pinto [Mon, 21 Jul 2008 18:12:02 +0000 (18:12 +0000)]
Made shrinkwrap modifier work when target or cutPlane are in editmode.

11 years agoFollowing the same optimization as bvh raycast:
Andre Susano Pinto [Sat, 19 Jul 2008 15:22:38 +0000 (15:22 +0000)]
Following the same optimization as bvh raycast:
*Made nearest surface also use "quad" bvh tree (instead of splitting quads in 2 bvh nodes).
 Again that leaded to improvements in build and query time.

*BLI_bvhtree_find_nearest api is now following the same concept as BLI_bvhtree_ray_cast

removed code relative to bvhtree_from_mesh_tris.

11 years ago*Added "kept" mesh above surface option on shrinkwrap to nearest surface
Andre Susano Pinto [Fri, 18 Jul 2008 22:24:20 +0000 (22:24 +0000)]
*Added "kept" mesh above surface option on shrinkwrap to nearest surface
changed a few code relative to project over normal mode (to try to kept code generic and more independent of modifier itself)

11 years agoLast commit fixed the file contents.. but some svn props were missing.
Andre Susano Pinto [Tue, 15 Jul 2008 21:08:39 +0000 (21:08 +0000)]
Last commit fixed the file contents.. but some svn props were missing.

So I fixed the problem with merges instead of copying files over.
Also trunk/blender/release/scripts/ from revision 14530 was missing. (that was fixed)

svn merge -r 15590:15551 (revert changes to the point where the merge was incorrect)
svn merge -r 15552:15572 (apply branch modifications)
svn merge -r 15392:15590 (merge from trunk)

11 years agoThere was a problem with the last merge :S
Andre Susano Pinto [Tue, 15 Jul 2008 12:54:57 +0000 (12:54 +0000)]
There was a problem with the last merge :S
Somehow it didnt finished and didnt added some files under the svn control
(found thanks to lguillaume that reported some files were missing)

Last merge fixed and also merged modifications up to revision 15584.

I checked the diff
svn diff --new . --old
And everything seems to be right now

11 years agoImproved build time on BLI_kdopbvh
Andre Susano Pinto [Mon, 14 Jul 2008 18:42:53 +0000 (18:42 +0000)]
Improved build time on BLI_kdopbvh
Its now faster than raytree (both on build and query)

Things tryed:
 X=>Y=>Z=>X split (reduces build time.. but increases query time)
 bucket sorts
(initial sorts for fast usage of bucket take a long time)
(nth is linear.. so its quite fast already)

Best times archieve with:
 *usage of 4-ary trees.. reduces build time and tree size but didnt decreased query time
 *quads are on the same node instead of splitting in 2 tris..
(this actually turned on speedup on query time.. since tree size is reduced by a factor of 2)
 *test ray-bb before ray-primitive gives better times on both tris and quads

 measures where made projecting a sphere from inside the head of suzanne.

11 years agosvn merge -r 15392:15551
Andre Susano Pinto [Sun, 13 Jul 2008 13:21:01 +0000 (13:21 +0000)]
svn merge -r 15392:15551

11 years agoAdding the Cullface option on normal projection of shrinkwrap when using bvhtrees
Andre Susano Pinto [Sun, 13 Jul 2008 01:49:53 +0000 (01:49 +0000)]
Adding the Cullface option on normal projection of shrinkwrap when using bvhtrees

11 years agoAdded sphere cast (tought it doenst seems to solve the intersection problem)
Andre Susano Pinto [Fri, 11 Jul 2008 19:46:35 +0000 (19:46 +0000)]
Added sphere cast (tought it doenst seems to solve the intersection problem)
Fixed SweepingSphereIntersectsTriangleUV

11 years agoAdd raycast ability for BLI_kdopbvh
Andre Susano Pinto [Wed, 9 Jul 2008 19:43:09 +0000 (19:43 +0000)]
Add raycast ability for BLI_kdopbvh

small bvh fixes:
*allow to create any tree type >= 2
*save split axis

changed shrinkwrap to perform normal cast with raytree and bvh tree and print both times:

Shrinkwrap (OBCube)24578 over (OBSuzanne)504482
target = raytree_create_from_mesh(calc->target): 1260.000000ms
shrinkwrap_calc_normal_projection_raytree(&calc): 1850.000000ms
tree = bvhtree_from_mesh_tri(calc->target): 3330.000000ms
shrinkwrap_calc_normal_projection(&calc): 3780.000000ms

On general query time is bit smaller on bvh tree..
but the build time of bvh is pretty big.
(build time can be removed from both if a cache system is added)
But I am still trying to see how fast I can make the bvh build

11 years ago*Added vertex groups on simple deform
Andre Susano Pinto [Fri, 4 Jul 2008 19:56:31 +0000 (19:56 +0000)]
*Added vertex groups on simple deform
*Fixed a few UI things

*Make SimpleDeform and Shrinkwrap to use vertexgroup_get_vertex_weight, a similar function
 "static float vert_weight(MDeformVert *dvert, int group)"  existed on modifier.c, changed
it a bit and moved into BKE_deform.h

11 years agoAdded modes Squash and Strech to SimpleDeform (need testing)
Andre Susano Pinto [Fri, 4 Jul 2008 01:03:50 +0000 (01:03 +0000)]
Added modes Squash and Strech to SimpleDeform (need testing)
CHanged the add modifier menu to show a submenu for selecting the type of simpledeform.

11 years agoAdded lower and upper options on all modes of simple deform
Andre Susano Pinto [Wed, 2 Jul 2008 00:17:08 +0000 (00:17 +0000)]
Added lower and upper options on all modes of simple deform
Fixed existent offset after applying bend.

11 years agosvn merge -r 15292:15392
Andre Susano Pinto [Mon, 30 Jun 2008 22:57:52 +0000 (22:57 +0000)]
svn merge -r 15292:15392

11 years agoModifications on simple modifier
Andre Susano Pinto [Fri, 27 Jun 2008 16:45:37 +0000 (16:45 +0000)]
Modifications on simple modifier
+Added limits on bend
+button to create an empty and make child of object
+empty is now relative to object

11 years agoAdding initial SimpleModifier (bend,taper,twist)
Andre Susano Pinto [Tue, 24 Jun 2008 12:04:27 +0000 (12:04 +0000)]
Adding initial SimpleModifier (bend,taper,twist)

(I might only touch this code again late on the week :S, so here is a tmp commit)

11 years agoChanged the style on shrinkwrapModifier_copyData.
Andre Susano Pinto [Mon, 23 Jun 2008 16:23:26 +0000 (16:23 +0000)]
Changed the style on shrinkwrapModifier_copyData.

Genscher made me do it the same way that the other 10 modifiers do.
The reason why I initially choosed memcpy was so that if anyone added
parameters on DNA there would be no need to update _copyData, unless
if it was a feature related to memory (eg.: point cache)

11 years agoFixed bug.. on shrinkwrap_copyModifier
Andre Susano Pinto [Mon, 23 Jun 2008 15:48:03 +0000 (15:48 +0000)]
Fixed bug.. on shrinkwrap_copyModifier

11 years agoAdded shrinkwrapModifier_isDisabled api function
Andre Susano Pinto [Mon, 23 Jun 2008 14:12:22 +0000 (14:12 +0000)]
Added shrinkwrapModifier_isDisabled api function

11 years agosvn merge -r 15202:15292
Andre Susano Pinto [Fri, 20 Jun 2008 21:36:15 +0000 (21:36 +0000)]
svn merge -r 15202:15292

11 years agoAdded cut-plane option.
Andre Susano Pinto [Fri, 20 Jun 2008 21:10:16 +0000 (21:10 +0000)]
Added cut-plane option.
Its now possible to project 2 planes over a model and get a cloth..
Tought it still has a few issues.. related with distance to kept from mesh.

11 years agoAdded merge option to shrinkwrap when using projection mode (bruteforce for now)
Andre Susano Pinto [Tue, 17 Jun 2008 19:00:21 +0000 (19:00 +0000)]
Added merge option to shrinkwrap when using projection mode (bruteforce for now)
Changed code to remove faces (now quad faces that got one vertice projected are turned on tri)

Merge option is still not very usefull since shrinkwrap does not yet moves unprojected vertices

11 years agoMerge from trunk
Andre Susano Pinto [Wed, 11 Jun 2008 22:53:52 +0000 (22:53 +0000)]
Merge from trunk
svn merge -r 15104:15202

11 years agoAdded sample "CreatePlane" .. it simple projects a grid over the selected image and...
Andre Susano Pinto [Wed, 11 Jun 2008 22:35:27 +0000 (22:35 +0000)]
Added sample "CreatePlane" .. it simple projects a grid over the selected image and determines which squares are to be used.

11 years agoReason of last commits kdopbvh tree is now on trunk.
Andre Susano Pinto [Tue, 3 Jun 2008 19:56:19 +0000 (19:56 +0000)]
Reason of last commits kdopbvh tree is now on trunk.
Added those files to the branch and added code for NearestNeighbour, needed for shrinkwrap

11 years agoMerge from trunk
Andre Susano Pinto [Tue, 3 Jun 2008 19:27:46 +0000 (19:27 +0000)]
Merge from trunk
svn merge -r 15064:15104

11 years agoRemoved BLI_kdopbvh
Andre Susano Pinto [Tue, 3 Jun 2008 19:20:57 +0000 (19:20 +0000)]
Removed BLI_kdopbvh

11 years agoCollision commit code cleanup for nicer compile
Daniel Genrich [Tue, 3 Jun 2008 19:06:54 +0000 (19:06 +0000)]
Collision commit code cleanup for nicer compile

11 years agoCollisions: Commit of collision cleanup, put kdop-bvh structure into BLI_kdopbvh...
Daniel Genrich [Tue, 3 Jun 2008 18:48:54 +0000 (18:48 +0000)]
Collisions: Commit of collision cleanup, put kdop-bvh structure into BLI_kdopbvh (just like kdtree interface now), huge speedup for selfcollisions, also better normal collisions (merge from cloth branch)

11 years agoA few compiler warning fixes. Those in BME_customdata.c were more serious.
Joshua Leung [Tue, 3 Jun 2008 10:04:42 +0000 (10:04 +0000)]
A few compiler warning fixes. Those in BME_customdata.c were more serious.

11 years agoBugfix #13603:
Joshua Leung [Tue, 3 Jun 2008 10:00:09 +0000 (10:00 +0000)]
Bugfix #13603:

Action Editor Copy/Paste didn't trigger a depsgraph update for the active object (if the action was applied to it).

11 years ago== REDCODE ==
Peter Schlaile [Tue, 3 Jun 2008 06:42:13 +0000 (06:42 +0000)]

got #endif position wrong, breaking compile without redcode, sorry.
(Thanks to jms for pointing that out)

11 years agoincrease the level you can zoom out (andy's timelapse videos were a pain to edit)
Campbell Barton [Tue, 3 Jun 2008 01:01:47 +0000 (01:01 +0000)]
increase the level you can zoom out (andy's timelapse videos were a pain to edit)

11 years ago== REDCODE ==
Peter Schlaile [Mon, 2 Jun 2008 22:02:26 +0000 (22:02 +0000)]

Forgot to free redcontext in IMB_free_anim...

11 years ago== redcode ==
Peter Schlaile [Mon, 2 Jun 2008 21:39:45 +0000 (21:39 +0000)]
== redcode ==

Disabled by default now on all platforms besides Linux.

11 years ago== RED one (redcode) ==
Peter Schlaile [Mon, 2 Jun 2008 21:35:57 +0000 (21:35 +0000)]
== RED one (redcode) ==

This adds redcode (the file format of RED one, R3D) support to blender.
Seems to work fine with the footage I found on the web, but keep in
mind, that because of the unoptimized nature of libopenjpeg, frame
decoding isn't that fast.

It is also a rather challenging task, to make 4k-float-footage realtime :)

11 years ago-> More Bmesh Custom Data stuff
Geoffrey Bantle [Mon, 2 Jun 2008 20:52:40 +0000 (20:52 +0000)]
-> More Bmesh Custom Data stuff

Some more Bmesh custom data functions and
structures. This still does not do anything
yet because the various conversion functions
don't bother making use of the new custom data
functions. Hooking them up should be fairly
simple though.

Also note that the custom data code is mostly
copy/pasted from the existing custom data
functions for editmode with a few modifications.
Duplicating code like this isn't nice, but I
felt it was better to keep things for Bmesh
'standalone' for the moment and take only what is
immediatly needed instead of creating
a tangle of interdependant code.

11 years agoPatch #11000 approved: [new function] KX_GameObject::alignAxisToVect() Align an objec...
Benoit Bolsee [Mon, 2 Jun 2008 17:31:05 +0000 (17:31 +0000)]
Patch #11000 approved: [new function] KX_GameObject::alignAxisToVect() Align an object's axis to a given vector

12 years agoAdded missing newline for error print in Py-button expressions
Joshua Leung [Mon, 2 Jun 2008 02:54:33 +0000 (02:54 +0000)]
Added missing newline for error print in Py-button expressions

12 years agoCompiler warning fixes (unused vars).
Joshua Leung [Mon, 2 Jun 2008 01:02:08 +0000 (01:02 +0000)]
Compiler warning fixes (unused vars).

- edgehash.c still has some weirdo code causing warnings on lines 80 and 117
i.e.  if (v1<v0) v0 ^= v1 ^= v0 ^= v1;
- material.c (in pyapi) apparently doesn't seem to be making use of some functions for glossy stuff

12 years ago-> Fix for last few commits
Geoffrey Bantle [Sun, 1 Jun 2008 18:43:22 +0000 (18:43 +0000)]
-> Fix for last few commits

New memory allocator broke compilation on
GCC/Linux. Fixed

12 years ago-> Beginning of Custom Data support for BMesh
Geoffrey Bantle [Sun, 1 Jun 2008 18:02:29 +0000 (18:02 +0000)]
-> Beginning of Custom Data support for BMesh

Now that new allocator is in place, Custom Data
can be effeciently added to BMesh. The plan is to
make all data not directly related to topology
Custom Data and allow callers to decide precisely
what information a mesh should have in order to
make the best tradeoff between memory usage/speed.

Right now not much to look at, just some structure
definitions and commented out code. More to come

12 years ago-> New memory allocator for Bmesh
Geoffrey Bantle [Sun, 1 Jun 2008 17:15:03 +0000 (17:15 +0000)]
-> New memory allocator for Bmesh

Added a new pooling allocator for Bmesh based upon
the pool allocator availible in the Boost C++ library
as described here:

Each pool allocates elements of a fixed size, so every
element type in a mesh gets its own pool. For instance
verts occupy a different pool than edges. Each pool
is comprised of multiple arrays of a fixed size and allocating
/freeing elements is simple as removing or adding a head
to a linked list. Since the list of free elements is interleaved
throughout the unused space in the arrays, the overhead
for storing the free list is only 1 pointer total per pool.

This makes building/destroying bmesh structures much faster
and saves quite a bit of memory as well.

12 years agofunctionality fix
Campbell Barton [Sun, 1 Jun 2008 16:13:04 +0000 (16:13 +0000)]
functionality fix
Originally the only way to run scripts automatically was with scriptlinks, which could be disabled for loading untrusted blend files.
Since then PyDrivers and PyConstraints would run even when G.f&G_DOSCRIPTLINKS was disabled.
Gensher, Theeth and Ianwill agree its acceptable to reuse the flag for other areas python runs automatically.

PyNodes still have no way to be disabled, (todo before 2.46a)

12 years ago== FFMPEG ==
Peter Schlaile [Sun, 1 Jun 2008 14:37:09 +0000 (14:37 +0000)]
== FFMPEG ==

Shouldn't crash any more in the case that
a) invalid video options were selected
b) audio multiplexing was active

[#13311] video_stream NULL when writing ffmpeg

(did'nt crash for me though, but added extra protection :) )

12 years agobugfix (typo) [#13587] Python API Material.sssFront broken
Campbell Barton [Sun, 1 Jun 2008 13:18:26 +0000 (13:18 +0000)]
bugfix (typo) [#13587] Python API Material.sssFront broken

12 years ago-Fix for bug #13067
Geoffrey Bantle [Sun, 1 Jun 2008 01:56:35 +0000 (01:56 +0000)]
-Fix for bug #13067

Bevel tool was hanging on certain geometry where the edge
to be beveled was shared by two faces that had more than
one edge in common and caller was not checking return
status of Bmesh eulers. Fixed.

12 years agobugfix for own error
Campbell Barton [Sun, 1 Jun 2008 01:49:11 +0000 (01:49 +0000)]
bugfix for own error
[#13588] Python API Material.sssRadiusBlue broken

12 years agoMerging revisions 15020-15073 of cloth
Daniel Genrich [Sat, 31 May 2008 21:23:57 +0000 (21:23 +0000)]
Merging revisions 15020-15073 of

12 years agobugfix for own error
Campbell Barton [Sat, 31 May 2008 19:08:12 +0000 (19:08 +0000)]
bugfix for own error
glitch when typing in / would ask the user to make a new directory. the last shash was being removed, then the "" path didnt exist and
asked to create it.

12 years agobufgfix for [#13584] SIGSEV in fluid bake with large amount of small fluid objects
Campbell Barton [Sat, 31 May 2008 19:01:14 +0000 (19:01 +0000)]
bufgfix for [#13584] SIGSEV in fluid bake with large amount of small fluid objects
the maximum number of objects (255) wasnt being checked, added a check before baking.
also changed bakeing to use G.scene->base rather then G.main->objects since these can be in other scenes, from linked
groups, or used only by python so they should not be used for baking. it also meant having a domain in 2 scenes would fail with an error.

Nils, could be good to have a dynamic number of bakeable objects.

12 years agobugfix
Campbell Barton [Sat, 31 May 2008 16:22:07 +0000 (16:22 +0000)]
* [#13394] Sequencer: if internal strips have handles selected, dragging the metastrip changes the meta length
* Extend did not work correctly on metastrips when the nested seq's are out of the meta's frame range, added an argument to seq_tx_get_final_left/right
that returns the frame clipped by metastrip(s) if any.

12 years agobugfix for own error, introduced when running scripts were saved with the blend file.
Campbell Barton [Sat, 31 May 2008 12:12:03 +0000 (12:12 +0000)]
bugfix for own error, introduced when running scripts were saved with the blend file.
a script error with a script that has an interface would not stop the interface from running again immediately, causing an annoying
error message loop.

12 years agoAdded culling on normal projection.
Andre Susano Pinto [Sat, 31 May 2008 01:25:24 +0000 (01:25 +0000)]
Added culling on normal projection.
Now renderdemon is happy ;)
and now shrinkwrap can be used for bulging :)

12 years agoMerge from trunk
Andre Susano Pinto [Fri, 30 May 2008 20:33:33 +0000 (20:33 +0000)]
Merge from trunk
svn merge  -r 14954:15064

12 years ago== PyNodes ==
Willian Padovani Germano [Fri, 30 May 2008 20:04:52 +0000 (20:04 +0000)]
== PyNodes ==

Bug #13277, reported by Juho (bebraw) Vepsalainen (thanks!) - a typo made pynodes w/o input socket definitions fail with an out of range error when accessing the output sockets in the script.

12 years agoThis is patch [#9057] Updated doc string to match current defines
Kent Mein [Fri, 30 May 2008 19:52:42 +0000 (19:52 +0000)]
This is patch [#9057] Updated doc string to match current defines

also submitted by gsr

It just updates a comment to correct values.


12 years agoThis is patch [#9053] More concrete makesdna reporting
Kent Mein [Fri, 30 May 2008 19:46:48 +0000 (19:46 +0000)]
This is patch [#9053] More concrete makesdna reporting
Submitted by gsr

It just makes the printf's all different so you can tell where the problem


12 years agoFix crash with hidden bezier handles
Martin Poirier [Fri, 30 May 2008 09:05:09 +0000 (09:05 +0000)]
Fix crash with hidden bezier handles

See Cambo, that's why we have module owners.

12 years agobugfix
Campbell Barton [Fri, 30 May 2008 01:59:15 +0000 (01:59 +0000)]
* scene.object.context and scene.object.selected had broken get_item
funcs so scene.object.context[i]  returned the wrong object.
* aligning the view to an object (numpad*key), did not disable the
ortho view grid.
* long standing problem where opening a relative image would fail with
no message. BLI_convertstringcode was returning a path with /../../'s
that need to be cleaned before the path could be read, the path was also
invalid from unix shell so its not a blender path reading problem.

12 years agoReverted win installer to give 'current user' option only for Application Data.
Simon Clitherow [Thu, 29 May 2008 21:12:11 +0000 (21:12 +0000)]
Reverted win installer to give 'current user' option only for Application Data.
Added shfolder.lib linking for win9x SHGetFolderPath() support.

12 years agoTransform Orientations
Martin Poirier [Thu, 29 May 2008 19:10:09 +0000 (19:10 +0000)]
Transform Orientations

Edit Bone and Pose Bone can now be used as transform orientations

Also fix a bug with CTO comming from non-uniformally scaled meshes.

12 years ago-= Collisions =-
Daniel Genrich [Thu, 29 May 2008 14:23:08 +0000 (14:23 +0000)]
-= Collisions =-
Getting some weird results on moving fast edges. This is a backup commit, will try another thing

12 years agoAnother bugfix for Fill Bone Between Joints. Changed the order that bones are created...
Joshua Leung [Thu, 29 May 2008 06:14:53 +0000 (06:14 +0000)]
Another bugfix for Fill Bone Between Joints. Changed the order that bones are created between 'head'/'tail' points

12 years agoFill Bone Between Joints:
Joshua Leung [Thu, 29 May 2008 01:04:12 +0000 (01:04 +0000)]
Fill Bone Between Joints:

This tool now parents the newly created bone to whichever bone acted as it's 'head' point. It also sets the connected-to-parent flag.

12 years agoBug fix: [#13268] Crash when creating a new particle system
Janne Karhu [Wed, 28 May 2008 23:38:40 +0000 (23:38 +0000)]
Bug fix: [#13268] Crash when creating a new particle system
-Ugh.. sorry about that.. damn default cube with it's default material!

12 years agobugfix for own bug. mousewheel while playing in the sequencer crashes blender.
Campbell Barton [Wed, 28 May 2008 21:15:40 +0000 (21:15 +0000)]
bugfix for own bug. mousewheel while playing in the sequencer crashes blender.

12 years agoFix for bug #13224: vertex parenting didn't work correct with
Brecht Van Lommel [Wed, 28 May 2008 18:11:45 +0000 (18:11 +0000)]
Fix for bug #13224: vertex parenting didn't work correct with
multiple unconnected curves.

12 years agoFix for bug #13230: particle mirror could fail on some faces.
Brecht Van Lommel [Wed, 28 May 2008 17:55:06 +0000 (17:55 +0000)]
Fix for bug #13230: particle mirror could fail on some faces.

12 years agoSmall fix for last AO sphere sampling bugfix, didn't update
Brecht Van Lommel [Wed, 28 May 2008 17:42:03 +0000 (17:42 +0000)]
Small fix for last AO sphere sampling bugfix, didn't update
random sampling code as well.

12 years agoFix for bug: [#11680] "Col" option for particle systems does not work correctly with...
Janne Karhu [Wed, 28 May 2008 17:16:43 +0000 (17:16 +0000)]
Fix for bug: [#11680] "Col" option for particle systems does not work correctly with Mat IPOs
-the feature simply was not coded

12 years agobugfix for baking AO with greater then 16 samples, since it was being clamped in...
Campbell Barton [Wed, 28 May 2008 17:13:15 +0000 (17:13 +0000)]
bugfix for baking AO with greater then 16 samples, since it was being clamped in sphere_sampler but not in ray_ao_spheresamp that calls it. giving uneven art deco

12 years agobugfix
Campbell Barton [Wed, 28 May 2008 00:44:41 +0000 (00:44 +0000)]
* python api render() would clamp the endframe to a short.
* python api's render() and renderAnim() would not render compositing because the name they gave to RE_NewRender was NOT G.scene->, added comments to

12 years agoMerging revisions 14946-15020 of
Daniel Genrich [Tue, 27 May 2008 23:15:08 +0000 (23:15 +0000)]
Merging revisions 14946-15020 of

12 years ago-= Collisions -=
Daniel Genrich [Tue, 27 May 2008 22:46:57 +0000 (22:46 +0000)]
-= Collisions -=
1. Test for fast moving edges

12 years ago-= KDOP / Collisions =-
Daniel Genrich [Tue, 27 May 2008 22:42:38 +0000 (22:42 +0000)]
-= KDOP / Collisions =-
1. Fix for face with index=0 not handled

12 years agoEnabled EditMode on shrinkwrap modifier
Andre Susano Pinto [Tue, 27 May 2008 22:39:00 +0000 (22:39 +0000)]
Enabled EditMode on shrinkwrap modifier

12 years ago[#10223] a new object function to add vertex group from an armature
Martin Poirier [Tue, 27 May 2008 20:02:38 +0000 (20:02 +0000)]
[#10223] a new object function to add vertex group from an armature

Patch from Jean-Michel Soler (with slight modifs)

Small BPy feature to help script writers deal with armatures and vertex groups (calls the bone heat method to create and assign groups)

12 years agoFixed a compile error under msvc.
Andre Susano Pinto [Tue, 27 May 2008 18:40:33 +0000 (18:40 +0000)]
Fixed a compile error under msvc.

12 years agoAdded bvh nearest neighbour for nearest surface shrinkwrap
Andre Susano Pinto [Tue, 27 May 2008 18:32:23 +0000 (18:32 +0000)]
Added bvh nearest neighbour for nearest surface shrinkwrap

12 years agoAnother fix for bug #11140: explode modifier was still using more
Brecht Van Lommel [Tue, 27 May 2008 15:36:36 +0000 (15:36 +0000)]
Another fix for bug #11140: explode modifier was still using more
memory than needed.

12 years agobugfix for zero area faces and adding uv layers was not checking if the
Campbell Barton [Tue, 27 May 2008 15:14:35 +0000 (15:14 +0000)]
bugfix for zero area faces and adding uv layers was not checking if the
UV layer existed alredy.

12 years agobugfix, edges with no faces raised an error.
Campbell Barton [Tue, 27 May 2008 13:32:10 +0000 (13:32 +0000)]
bugfix, edges with no faces raised an error.

12 years agoFix for bug #12463: hair didn't draw z-buffered in wireframe mode.
Brecht Van Lommel [Tue, 27 May 2008 13:26:52 +0000 (13:26 +0000)]
Fix for bug #12463: hair didn't draw z-buffered in wireframe mode.
Instead of making it an exception compared to other objects which
don't draw z-buffered either, it now draws without lighting in the
wire color like it did before.

12 years agoFix for #12526: still didn't get dupli transform in envmaps correct.
Brecht Van Lommel [Tue, 27 May 2008 11:05:33 +0000 (11:05 +0000)]
Fix for #12526: still didn't get dupli transform in envmaps correct.

12 years agoFix for bug #12533: color picker didn't always redraw rgb/hsv/hex values.
Brecht Van Lommel [Tue, 27 May 2008 11:01:31 +0000 (11:01 +0000)]
Fix for bug #12533: color picker didn't always redraw rgb/hsv/hex values.

12 years agoremoving this script, should have been removed for 2.46 since the
Campbell Barton [Tue, 27 May 2008 09:46:35 +0000 (09:46 +0000)]
removing this script, should have been removed for 2.46 since the
functionality is avalable in the UV snap menu.

12 years agoFix for bug #12806: compositor nodes with use nodes disabled
Brecht Van Lommel [Tue, 27 May 2008 09:41:43 +0000 (09:41 +0000)]
Fix for bug #12806: compositor nodes with use nodes disabled
didn't properly redraw the node window on changes.

12 years agobugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag...
Campbell Barton [Tue, 27 May 2008 08:51:47 +0000 (08:51 +0000)]
bugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag even though it wont switch the view direction.

12 years agoFixed some compile erros under msvc (thanks lguillaume)
Andre Susano Pinto [Mon, 26 May 2008 21:57:53 +0000 (21:57 +0000)]
Fixed some compile erros under msvc (thanks lguillaume)
Fixed object dependency (thanks ZanQdo for pointing it out)
Make some code cleaner
(preparing for adding bvh trees on nearest surface)