blender.git
11 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
soon...

11 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:

http://www.boost.org/doc/libs/1_34_0/libs/pool/doc/concepts.html

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.

11 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)

11 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
and
b) audio multiplexing was active

[#13311] video_stream NULL when writing ffmpeg

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

11 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

11 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.

11 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

11 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.

11 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.

11 years agobugfix
Campbell Barton [Sat, 31 May 2008 16:22:07 +0000 (16:22 +0000)]
bugfix
* [#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.

11 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.

11 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.

11 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.

Kent

11 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
is.

Kent

11 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.

11 years agobugfix
Campbell Barton [Fri, 30 May 2008 01:59:15 +0000 (01:59 +0000)]
bugfix
* 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.

11 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.

11 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.

11 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

11 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.

11 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!

11 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.

11 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.

11 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.

11 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.

11 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

11 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
results.

11 years agobugfix
Campbell Barton [Wed, 28 May 2008 00:44:41 +0000 (00:44 +0000)]
bugfix
* 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->id.name, added comments to
G.scene->id.name

11 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)

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 years agobugfix, copy posebone constraints didnt update properly, canceling transform would...
Campbell Barton [Mon, 26 May 2008 20:43:35 +0000 (20:43 +0000)]
bugfix, copy posebone constraints didnt update properly, canceling transform would not reset the bone back to its original state. need to set teh flag "ob->pose->flag |=
POSE_RECALC", which is alredy done on adding a constraint.
back
to

11 years agobugfix for crasher from Cedric Paille via bf-committers.
Stephen Swaney [Mon, 26 May 2008 15:12:20 +0000 (15:12 +0000)]
bugfix for crasher from Cedric Paille via bf-committers.

11 years agoBug fix
Martin Poirier [Mon, 26 May 2008 12:52:28 +0000 (12:52 +0000)]
Bug fix

Force proportional editing flag off in object mode.

While it didn't have any effect on objects themselves, it could display the falloff mode (Smooth) in the header. The bug was purely cosmetic.

11 years agowhen cyclic is enabled the knots would always be generated with uniform nurbs but...
Campbell Barton [Mon, 26 May 2008 12:50:00 +0000 (12:50 +0000)]
when cyclic is enabled the knots would always be generated with uniform nurbs but after, cyclic nurbs would be incorrect if the bezier or endpoint u/v was set.
also replaced some numbers with constants.

11 years ago* The displist would be uninitialized when nurbs bezieru/v was set and the order...
Campbell Barton [Mon, 26 May 2008 09:50:46 +0000 (09:50 +0000)]
* The displist would be uninitialized when nurbs bezieru/v was set and the order wasnt 3 or 4. add a function that checks nurbs can produce a valid line. check_valid_nurb_u/v
* when check_valid_nurb_u/v fails, no curve is allocated or drawn.
* knotsu/v could be NULL but some functions didn't check for this, make sure this is checked for everywhere.
* The interface didnt change check the order when the bezier u/v flag was set, added functions clamp_nurb_order_u/v that takes into accound the number of points and the bezier u/v flag.

11 years agothe last selected nurbs curve lastnu could become an invalid pointer in places, acces...
Campbell Barton [Sun, 25 May 2008 23:05:13 +0000 (23:05 +0000)]
the last selected nurbs curve lastnu could become an invalid pointer in places, access this via functions now and store an index
rather then a pointer so if it becomes invalid it will just return a NULL pointer.

11 years agoCommit patch #9059 by gsrb3d
Diego Borghetti [Sun, 25 May 2008 21:11:34 +0000 (21:11 +0000)]
Commit patch #9059 by gsrb3d

Unnecesary include path in Makefile.

11 years agoBug fix in X-Mirror for armatures
Martin Poirier [Sun, 25 May 2008 21:05:13 +0000 (21:05 +0000)]
Bug fix in X-Mirror for armatures

When a bone in a mirrored chain wasn't named properly, it would leave the head or tail in an invalid state.

Now it applies the mirror to connected joints that are mirrored.

11 years agopatch [#11491] Fix for bug 11362: Blender.Draw.Image() method does not clip properly
Campbell Barton [Sun, 25 May 2008 16:39:57 +0000 (16:39 +0000)]
patch  [#11491] Fix for bug 11362: Blender.Draw.Image() method does not clip properly
fixing [#11362] Blender.Draw.Image() method does not clip properly
also return silently on zero zoomlevel rather then raising an error, only raise an error on negative values.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 25 May 2008 16:07:32 +0000 (16:07 +0000)]
== Sequencer ==

Fixes
[#12106] Memory leak in sequencer (>10MB/frame)

in parts: inner contents of meta strips are freed up after calculation
making more room for the cache.

Actually have to think of a mechanism, that remembers, which output
frames are asked for and caches only those.

11 years ago[#11124] Hide Threshold button when Constant QMC sampling enabled
Martin Poirier [Sun, 25 May 2008 14:39:55 +0000 (14:39 +0000)]
[#11124] Hide Threshold button when Constant QMC sampling enabled

Patch by Olivier Saraja

11 years agoApply BGE patch 11137: Render objects with negative scaling correctly (as in Blender)
Benoit Bolsee [Sun, 25 May 2008 14:37:39 +0000 (14:37 +0000)]
Apply BGE patch 11137: Render objects with negative scaling correctly (as in Blender)

11 years ago[#11119] Tool tips correction
Martin Poirier [Sun, 25 May 2008 14:32:59 +0000 (14:32 +0000)]
[#11119] Tool tips correction

Patch by Olivier Saraja

11 years agoApply BGE patch 12799: Fix quad buffer stereo mode for Windows
Benoit Bolsee [Sun, 25 May 2008 14:32:26 +0000 (14:32 +0000)]
Apply BGE patch 12799: Fix quad buffer stereo mode for Windows

11 years agofor for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes
Campbell Barton [Sun, 25 May 2008 13:48:36 +0000 (13:48 +0000)]
for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes

11 years agoBGE patch: rename rayCastToEx() to rayCast() - better name
Benoit Bolsee [Sat, 24 May 2008 22:50:31 +0000 (22:50 +0000)]
BGE patch: rename rayCastToEx() to rayCast() - better name

11 years ago-> FLT import: Zero area N-gon bug fix
Geoffrey Bantle [Sat, 24 May 2008 18:43:02 +0000 (18:43 +0000)]
-> FLT import: Zero area N-gon bug fix

FLT importer would throw errors when importing ngons with
zero area. These faces are now ignored

11 years agoBGE patch: add rayCastToEx(), an extended version of rayCastTo() for use in game...
Benoit Bolsee [Sat, 24 May 2008 18:06:58 +0000 (18:06 +0000)]
BGE patch: add rayCastToEx(), an extended version of rayCastTo() for use in game script

11 years agofix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseF...
Campbell Barton [Sat, 24 May 2008 12:22:53 +0000 (12:22 +0000)]
fix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseFactor
- own error, swapped diffuse and emit factors

11 years agofix BGE bug #8646: unusable anaglyph settings
Benoit Bolsee [Sat, 24 May 2008 08:34:04 +0000 (08:34 +0000)]
fix BGE bug #8646: unusable anaglyph settings

The best rules for stereo rendering are now applied to Blender. Here is the new situation:
1) The focal distance is now settable through the GUI: select the camera (each camera can have a different setting) and go to the camera data (F9): the "Dof Dist" and "Dof Ob" can be used to set the focal distance for that camera. The "Dof Ob" is interesting because it sets the focal distance so that the center this object will appear at the surface of the screen when running the game.
2) The eye separation is automatically set to focal_distance/30, which is considered to be a reasonable value. If you need a different value, you can always use Python scripting.

Notes:
- If you switch camera during the game, the focal distance will also change unless you have set the focal distance by scripting, in which case it overwrites the focal distance setting of all cameras.
- If you don't set the focal distance in the camera data or by scripting, the default value will be used. The default value corresponds more of less to the near clipping plane which means that all the objects will be very far with little 3D effect.
- If you don't set the eye separation by scripting, it is automatically computed as focal_distance/30, regardless on how the focal distance was set.

11 years ago== PyNodes ==
Willian Padovani Germano [Fri, 23 May 2008 16:31:02 +0000 (16:31 +0000)]
== PyNodes ==

Fixing bug #11737 reported by Daniel Salazar (Zanqdo, thanks!): assigning as pynode a text that failed to parse as a pynode script, then deleting that text would crash Blender.

http://projects.blender.org/tracker/?func=detail&atid=125&aid=11737&group_id=9

11 years agoTypos and whitespace tweaks
Joshua Leung [Fri, 23 May 2008 11:12:03 +0000 (11:12 +0000)]
Typos and whitespace tweaks

11 years agoFix for bug #12526: object instancing didn't restore matrices
Brecht Van Lommel [Fri, 23 May 2008 10:06:06 +0000 (10:06 +0000)]
Fix for bug #12526: object instancing didn't restore matrices
correct for envmap, could give objects rendering in the wrong
position.

11 years agofix for "[#11004] Adding ram sound and alt-U causes ram to look like HD sound and...
Campbell Barton [Fri, 23 May 2008 09:58:33 +0000 (09:58 +0000)]
fix for "[#11004] Adding ram sound and alt-U causes ram to look like HD sound and can lead to crash"

Missing call sound_initialize_sounds, cant be added BKE_reset_undo since its in blenderkernel.

11 years agoFix for bug #12473: crash converting old particle system from
Brecht Van Lommel [Fri, 23 May 2008 09:23:57 +0000 (09:23 +0000)]
Fix for bug #12473: crash converting old particle system from
a linked file.

11 years agofix for [#12218] Impossible to exit meta strips with hotkey
Campbell Barton [Fri, 23 May 2008 08:58:44 +0000 (08:58 +0000)]
fix for [#12218] Impossible to exit meta strips with hotkey
Only enter mesta's that are active and selected, inconsistent with editmode in the 3D view, but editmode dosnt deal with
nested data.

11 years agofix for error when all faces are the same area
Campbell Barton [Fri, 23 May 2008 08:39:59 +0000 (08:39 +0000)]
fix for error when all faces are the same area

11 years agoBugfix #12508:
Joshua Leung [Fri, 23 May 2008 04:54:16 +0000 (04:54 +0000)]
Bugfix #12508:

Action Editor Border Select Channels no longer selects bones

11 years agoFix for bug #11895: databrowse for image painting clone image didn't work.
Brecht Van Lommel [Thu, 22 May 2008 17:32:15 +0000 (17:32 +0000)]
Fix for bug #11895: databrowse for image painting clone image didn't work.

11 years agoFix for bug #11698: mesh deform modifier not working on extruded curves.
Brecht Van Lommel [Thu, 22 May 2008 17:06:46 +0000 (17:06 +0000)]
Fix for bug #11698: mesh deform modifier not working on extruded curves.
The modifier work on the tesselated result rather than the curve itself.

11 years agoFix for bug #12077: tangent shading (which only affects specular) made
Brecht Van Lommel [Thu, 22 May 2008 15:30:35 +0000 (15:30 +0000)]
Fix for bug #12077: tangent shading (which only affects specular) made
bump mapping not work for diffuse.

11 years agoFix for part of bug #12075: gamma node generated nan's on negative input.
Brecht Van Lommel [Thu, 22 May 2008 14:56:32 +0000 (14:56 +0000)]
Fix for part of bug #12075: gamma node generated nan's on negative input.

11 years agoComments!!1
Martin Poirier [Thu, 22 May 2008 14:12:09 +0000 (14:12 +0000)]
Comments!!1

11 years agoFix for bug #11743: incorrect transformation for particle group
Brecht Van Lommel [Thu, 22 May 2008 14:08:13 +0000 (14:08 +0000)]
Fix for bug #11743: incorrect transformation for particle group
visualization DupliGroup option.

11 years agoFix for bug #11758: crash cancelling hair softbody bake.
Brecht Van Lommel [Thu, 22 May 2008 13:58:16 +0000 (13:58 +0000)]
Fix for bug #11758: crash cancelling hair softbody bake.
Fix for bug #11966: crash in hair softbody with hair amount 0.

11 years agoFix for bug #12334: the Disable Tex option didn't disable
Brecht Van Lommel [Thu, 22 May 2008 13:46:05 +0000 (13:46 +0000)]
Fix for bug #12334: the Disable Tex option didn't disable
textures for the Texface material option.

11 years agoTransform Orientations
Martin Poirier [Thu, 22 May 2008 09:22:00 +0000 (09:22 +0000)]
Transform Orientations

Normal orientation for editbones (was previously missing)

11 years agoremove module dxfImportObjects.py. It is obsolete since 2.43, then all functions...
Remigiusz Fiedler [Thu, 22 May 2008 08:29:54 +0000 (08:29 +0000)]
remove module dxfImportObjects.py. It is obsolete since 2.43, then all functions integrated in the main dxf-importer code

11 years agoadd missing flags for NLA strips
Campbell Barton [Wed, 21 May 2008 19:24:35 +0000 (19:24 +0000)]
add missing flags for NLA strips

11 years agoscene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts....
Campbell Barton [Wed, 21 May 2008 12:14:52 +0000 (12:14 +0000)]
scene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts. (which clamped them to 37856)

11 years agotestbreak was not working after the first use
Campbell Barton [Wed, 21 May 2008 11:06:49 +0000 (11:06 +0000)]
testbreak was not working after the first use

11 years agoBone Extrusion Bug
Martin Poirier [Wed, 21 May 2008 10:14:02 +0000 (10:14 +0000)]
Bone Extrusion Bug

Extruding from root would incorrectly set the Connected flag when it wasn't needed.

11 years ago[#12103] Force field moves when strength changes
Martin Poirier [Wed, 21 May 2008 10:11:10 +0000 (10:11 +0000)]
[#12103] Force field moves when strength changes

Wind effects would modify the center vector, so the limit sphere was drawn from the position of the last "wind ring"

11 years ago[#11892] track-to + "around selection" bug
Martin Poirier [Wed, 21 May 2008 10:07:38 +0000 (10:07 +0000)]
[#11892] track-to + "around selection" bug

Transform conversion was resetting constraints when used to calculate orbit center.

This is a tentative fix, it fixes this particular case but maybe not all.

11 years ago[#11748] Bevel tool not snapping when holding down ctrl and adjusting value
Martin Poirier [Wed, 21 May 2008 10:02:07 +0000 (10:02 +0000)]
[#11748] Bevel tool not snapping when holding down ctrl and adjusting value

Added proper gear support and fixed some misc errors in the setup of this transformation (negative values hav no effect, so use absolute value and other small things like that)

11 years ago== Sequencer ==
Peter Schlaile [Tue, 20 May 2008 21:30:16 +0000 (21:30 +0000)]
== Sequencer ==

This fixes:
[#11745] Blender crashes when changing Scenes on Sequencer`s Strips

containing:

- last_seq was set to null by scene-render
- button handling wasn't very robust (didn't check for null)
- REDRAWBUTSSCENE was missing

11 years agoreplacing epydoc generation script with one copied from bpy docs
Campbell Barton [Tue, 20 May 2008 05:55:12 +0000 (05:55 +0000)]
replacing epydoc generation script with one copied from bpy docs

11 years agomore updates to docs
Campbell Barton [Mon, 19 May 2008 13:34:43 +0000 (13:34 +0000)]
more updates to docs

11 years agosome updates to epy docs
Campbell Barton [Mon, 19 May 2008 09:54:38 +0000 (09:54 +0000)]
some updates to epy docs

11 years ago== Sequencer ==
Peter Schlaile [Mon, 19 May 2008 06:14:57 +0000 (06:14 +0000)]
== Sequencer ==

This fixes:
[11750] "Translate" stops working when offset > image size

11 years agomemory corruption error fix when changing orderU/Vs with curves, this could crash...
Campbell Barton [Sun, 18 May 2008 18:44:02 +0000 (18:44 +0000)]
memory corruption error fix when changing orderU/Vs with curves, this could crash blender or make odd display lists.
the problem was that the buttons would use the first nurb if there was no 'lastnu', but the makeknots function only checked for lastnu. this meant the knots would not get re-allocated on
values would be written outside the array.

11 years agoLast part of the svn release commit. It's now in freeze... unless?
Ton Roosendaal [Sun, 18 May 2008 18:05:55 +0000 (18:05 +0000)]
Last part of the svn release commit. It's now in freeze... unless?

11 years agoPart one of the 2.46 release commit
Ton Roosendaal [Sun, 18 May 2008 18:05:16 +0000 (18:05 +0000)]
Part one of the 2.46 release commit

11 years agotemptative fix for the ndof bug
Jean-Luc Peurière [Sun, 18 May 2008 16:00:13 +0000 (16:00 +0000)]
temptative fix for the ndof bug
if vd.dist is null at a wrong time,
retore to last known good value

11 years agoFix in mball last May 15th causes a hang (eternal loop) in mball.c,
Ton Roosendaal [Sun, 18 May 2008 13:57:47 +0000 (13:57 +0000)]
Fix in mball last May 15th causes a hang (eternal loop) in mball.c,
a division by zero was not handled

(weird though, only shows in OSX PPC. no optimize, debug build.)

11 years agoBugfix #11738:
Joshua Leung [Sun, 18 May 2008 10:41:42 +0000 (10:41 +0000)]
Bugfix #11738:

PoseLib Preview crashed when there was no active pose as there were no poses at all (i.e. on a newly created Pose Library) .

11 years agoBugfix 11736
Ton Roosendaal [Sun, 18 May 2008 07:30:51 +0000 (07:30 +0000)]
Bugfix 11736

CTRL+Click on "load" for image node crashed.
NULL pointer test missing...

11 years agofix for [#11691] No checks in curve code for "Number of points <= Order U"
Campbell Barton [Sat, 17 May 2008 22:37:34 +0000 (22:37 +0000)]
fix for [#11691] No checks in curve code for "Number of points <= Order U"
added checks for a nurbes orderu being larger then pntsu.
This has the same effect as the curve having only 1 point. (its display list is not generated
but it is still added but a dummy displist with zero points is made)
memcpy was also being used where the memory overlaped (probably worked in most cases but this is incorrect and valgrind complained), use memmove
instead.

11 years agoFix for mistake in recent interface bugfix commit.
Brecht Van Lommel [Sat, 17 May 2008 13:41:34 +0000 (13:41 +0000)]
Fix for mistake in recent interface bugfix commit.

11 years agoBugfix #11717:
Joshua Leung [Sat, 17 May 2008 00:35:30 +0000 (00:35 +0000)]
Bugfix #11717:

Rendering (Internal/OGL) would crash when StampInfo was on and adding info about the active camera, if there was no camera in the scene.

11 years agoroot level python tree menu's didnt work with seperators, would display SEPR text...
Campbell Barton [Fri, 16 May 2008 21:34:22 +0000 (21:34 +0000)]
root level python tree menu's didnt work with seperators, would display SEPR text instead

11 years ago== Sequencer ==
Peter Schlaile [Fri, 16 May 2008 21:04:06 +0000 (21:04 +0000)]
== Sequencer ==

This fixes: [#11642] VSE: crash with Speed Control and play head

Special sequence update (holding down left mouse button on a strip)
could lead to a crash when using the speed control effect, since
we didn't check properly for valid cfras (and therefore if
TStripElem is null... )