blender-staging.git
12 years ago=ID Property Bugfix=
Joseph Eagar [Sat, 23 Feb 2008 02:12:50 +0000 (02:12 +0000)]
=ID Property Bugfix=

There was an extraneous line causing ID property groups
to have the wrong length, causing crashes in code that
relied on it.

This commit both fixes that and adds a version check to
fix group lengths for older .blends.  The subversion
was incremented to 15 for this change.

12 years ago=Reversion of premul bugfix=
Joseph Eagar [Fri, 22 Feb 2008 22:23:58 +0000 (22:23 +0000)]
=Reversion of premul bugfix=
Reversion of premul bugfix, as it was apparently not
working all that well.

Note that this brings back the bug where the erase alpha
paint tool won't display correctly, since the UV image
editor just draws images in key alpha now.

12 years agoFix for bug #8329: approximate AO with shadow disabled gave artifacts.
Brecht Van Lommel [Fri, 22 Feb 2008 19:29:15 +0000 (19:29 +0000)]
Fix for bug #8329: approximate AO with shadow disabled gave artifacts.

12 years agotiny fix
Campbell Barton [Fri, 22 Feb 2008 18:26:51 +0000 (18:26 +0000)]
tiny fix

12 years agoBugfix: effectors in dupligroups didn't work, if the particle didn't
Brecht Van Lommel [Fri, 22 Feb 2008 16:31:10 +0000 (16:31 +0000)]
Bugfix: effectors in dupligroups didn't work, if the particle didn't
specify a group of effectors. Now it goes into groups recursively to
find effectors.

12 years agoFix for mistake in last commit, using wrong flag.
Brecht Van Lommel [Fri, 22 Feb 2008 15:09:24 +0000 (15:09 +0000)]
Fix for mistake in last commit, using wrong flag.

12 years ago* Displacement baking wasnt working with negative distances.
Campbell Barton [Fri, 22 Feb 2008 14:27:46 +0000 (14:27 +0000)]
* Displacement baking wasnt working with negative distances.
* Added Normalize option for diplacement so everything in the 'Dist' range is mapped 0-1
* Increased the maximum Dist and Bias to1000.0 (was 10.0)
* Added python utility function in BPyRender.py - bakeToPlane(...), to automate heightmap, normalmap generation for Crystalspace.

12 years agoBugfix: objects in groups with texture mapping Object now get texture
Brecht Van Lommel [Fri, 22 Feb 2008 13:21:42 +0000 (13:21 +0000)]
Bugfix: objects in groups with texture mapping Object now get texture
coordinates from the object as if they were in their original position,
untransformed by dupligroups or dupliverts. Otherwise the textures of
such objects would change depending on their position.

12 years agoFix: compositor events caused far too many recomposite signals, this
Ton Roosendaal [Fri, 22 Feb 2008 11:25:08 +0000 (11:25 +0000)]
Fix: compositor events caused far too many recomposite signals, this
because it was tagging all nodes with same ID *.

12 years agoadding access to missing bake variables from python
Campbell Barton [Fri, 22 Feb 2008 10:50:45 +0000 (10:50 +0000)]
adding access to missing bake variables from python

12 years agoFix for bug #8326: SSS + fields crashed.
Brecht Van Lommel [Fri, 22 Feb 2008 10:43:40 +0000 (10:43 +0000)]
Fix for bug #8326: SSS + fields crashed.

12 years ago== Sculpt ==
Nicholas Bishop [Fri, 22 Feb 2008 03:29:17 +0000 (03:29 +0000)]
== Sculpt ==

Fixed bug #8243, sculpt mode crash

Increased amount of memory allocated for doing smooth stroke. Should ensure there's enough room to store result of subdividing the stroke.

12 years ago* Let 'Add' scripts appear in the Add header menu, not just the scripts window
Matt Ebb [Fri, 22 Feb 2008 01:28:48 +0000 (01:28 +0000)]
* Let 'Add' scripts appear in the Add header menu, not just the scripts window

12 years agoBugfix for [#6823] Bake button broken - No image
Campbell Barton [Fri, 22 Feb 2008 00:40:32 +0000 (00:40 +0000)]
Bugfix for [#6823] Bake button broken - No image

12 years agofix for [#7899] Quit doesn't report failure to save quit.blend
Campbell Barton [Fri, 22 Feb 2008 00:03:03 +0000 (00:03 +0000)]
fix for [#7899] Quit doesn't report failure to save quit.blend

12 years agoFix for [#8303] stamp gives wrong file name when using unsaved files
Campbell Barton [Thu, 21 Feb 2008 23:19:06 +0000 (23:19 +0000)]
Fix for [#8303] stamp gives wrong file name when using unsaved files
Also made alpha color work with OpenGL render caused by buf_rectfill_area not working on char rect's.

12 years agoautoThread was inverted at rendertime (forgot to change), added tooltips
Campbell Barton [Thu, 21 Feb 2008 21:28:54 +0000 (21:28 +0000)]
autoThread was inverted at rendertime (forgot to change), added tooltips

12 years agoFix for bug #8295: lock button in the sequencer buttons didn't do
Brecht Van Lommel [Thu, 21 Feb 2008 20:59:35 +0000 (20:59 +0000)]
Fix for bug #8295: lock button in the sequencer buttons didn't do
proper redraw.

12 years agoFix for bug #8214: halo didn't render correct with FSA.
Brecht Van Lommel [Thu, 21 Feb 2008 20:58:22 +0000 (20:58 +0000)]
Fix for bug #8214: halo didn't render correct with FSA.

12 years agoParticles using Object or Group visualization would render with Disp value. - rather...
Campbell Barton [Thu, 21 Feb 2008 20:13:33 +0000 (20:13 +0000)]
Particles using Object or Group visualization would render with Disp value. - rather then using 100% of the objects.

12 years agoFix for bug #6991: edge slide crash with the last vertex
Brecht Van Lommel [Thu, 21 Feb 2008 17:52:03 +0000 (17:52 +0000)]
Fix for bug #6991: edge slide crash with the last vertex
missing rails.

12 years agoFix for bug #6769: lattice editmode undo gave corrupt data
Brecht Van Lommel [Thu, 21 Feb 2008 16:57:58 +0000 (16:57 +0000)]
Fix for bug #6769: lattice editmode undo gave corrupt data
if the lattice resolution changed.

12 years agoFix for bug #8120: edgeloop delete with automerge editing enabled
Brecht Van Lommel [Thu, 21 Feb 2008 15:24:15 +0000 (15:24 +0000)]
Fix for bug #8120: edgeloop delete with automerge editing enabled
resulted in wrong selection state.

12 years agoFix for bug #8014: in some cases text objects would not render without
Brecht Van Lommel [Thu, 21 Feb 2008 15:09:12 +0000 (15:09 +0000)]
Fix for bug #8014: in some cases text objects would not render without
being shown in the 3d view first.

12 years agoFix for bug #8313: image editor alpha drawing + user aspect ratio was
Brecht Van Lommel [Thu, 21 Feb 2008 14:50:07 +0000 (14:50 +0000)]
Fix for bug #8313: image editor alpha drawing + user aspect ratio was
not correct.

12 years agoFix for bug #5986: snap circle too big when far away from the origin
Brecht Van Lommel [Thu, 21 Feb 2008 14:28:20 +0000 (14:28 +0000)]
Fix for bug #5986: snap circle too big when far away from the origin
(e.g. 1000 blender units).

12 years agoFix for bug #8321: crash with fluidsim in shaded draw mode.
Brecht Van Lommel [Thu, 21 Feb 2008 13:15:21 +0000 (13:15 +0000)]
Fix for bug #8321: crash with fluidsim in shaded draw mode.

12 years agoPoseLib Preview - Bugfix:
Joshua Leung [Thu, 21 Feb 2008 11:34:39 +0000 (11:34 +0000)]
PoseLib Preview - Bugfix:

PoseLib preview didn't correctly check if a bone was visible or not. Also, the check for when there were no selected bones (thus whole armature is affected) didn't work right.

12 years agoFollowing on from the commits yesterday for "Action Channel Settings" quick-toggle...
Joshua Leung [Thu, 21 Feb 2008 11:14:21 +0000 (11:14 +0000)]
Following on from the commits yesterday for "Action Channel Settings" quick-toggle tools, bones now have this functionality too.

Use Shift-W to toggle, Ctrl-Shift-W to enable, and Alt-W to disable one of the bone's settings.

12 years agoFix for bug #6669: saving an image from the image editor and
Brecht Van Lommel [Thu, 21 Feb 2008 11:14:04 +0000 (11:14 +0000)]
Fix for bug #6669: saving an image from the image editor and
automatically adding the extension didn't add it to the image
file path properly.

12 years agomade auto threads default (noob's get faster renders in their dual core CPU's)
Campbell Barton [Thu, 21 Feb 2008 08:43:13 +0000 (08:43 +0000)]
made auto threads default (noob's get faster renders in their dual core CPU's)
changed env variable check order $TMP, $TMPDIR - aparently $TMP is more common.

12 years agoAllow sequencer to use scene strips with no camera, if those scenes also use
Ken Hughes [Thu, 21 Feb 2008 01:35:20 +0000 (01:35 +0000)]
Allow sequencer to use scene strips with no camera, if those scenes also use
the sequencer.  This time, actually apply patch to the file before submmiting.

12 years agoAllow sequencer to use scene strips with no camera, if those scenes also use the...
Ken Hughes [Thu, 21 Feb 2008 01:19:42 +0000 (01:19 +0000)]
Allow sequencer to use scene strips with no camera, if those scenes also use the sequencer.

12 years agoFix for bug #6897: radiosity or autosmooth + displace gave different results
Brecht Van Lommel [Wed, 20 Feb 2008 20:37:20 +0000 (20:37 +0000)]
Fix for bug #6897: radiosity or autosmooth + displace gave different results
than regular displace.

12 years agoBugfix [#7847]: Fluid didn't work with ipo drivers
Daniel Genrich [Wed, 20 Feb 2008 20:15:00 +0000 (20:15 +0000)]
Bugfix [#7847]: Fluid didn't work with ipo drivers

12 years agoOnly use $TEMP for win32, for other os's use $TMP or $TMPDIR
Campbell Barton [Wed, 20 Feb 2008 20:07:37 +0000 (20:07 +0000)]
Only use $TEMP for win32, for other os's use $TMP or $TMPDIR

12 years agoPython Bugfix
Campbell Barton [Wed, 20 Feb 2008 18:56:07 +0000 (18:56 +0000)]
Python Bugfix
A new file could have its Blender.Get("filename") return "<memory>" after undo'ing on an open file.
Fix for own error with python sys.path, messed up game engine.

12 years agomaking auto detection of threads working on Os X
Jean-Luc Peurière [Wed, 20 Feb 2008 16:07:42 +0000 (16:07 +0000)]
making auto detection of threads working on Os X

sysconf exist but dont provide the needed flag
using sysctl instead

12 years agoCloth: Bugfix for wrong number of bending springs, could result in visual artifacts
Daniel Genrich [Wed, 20 Feb 2008 15:54:34 +0000 (15:54 +0000)]
Cloth: Bugfix for wrong number of bending springs, could result in visual artifacts

12 years agoFix for bug #7873: circle select highlights wrong vertices temporarily.
Brecht Van Lommel [Wed, 20 Feb 2008 14:54:17 +0000 (14:54 +0000)]
Fix for bug #7873: circle select highlights wrong vertices temporarily.

12 years agoNegative zmask rendering: now there is a setting to render everything
Brecht Van Lommel [Wed, 20 Feb 2008 14:17:53 +0000 (14:17 +0000)]
Negative zmask rendering: now there is a setting to render everything
behind the zmask instead of in front. Might need tweaks, and doesn't
work with halo yet.

12 years agoBugfix for duplivert render instancing with certain dupligroup setups.
Brecht Van Lommel [Wed, 20 Feb 2008 14:10:41 +0000 (14:10 +0000)]
Bugfix for duplivert render instancing with certain dupligroup setups.

12 years agoPython Bugfix,
Campbell Barton [Wed, 20 Feb 2008 13:42:15 +0000 (13:42 +0000)]
Python Bugfix,
Setting the user preference for python scripts didnt add the bpymodules subdirectory to sys.path (python module search path).
Also problems with entering and exiting- the old path was used until next restart.

12 years ago== Action Editor - Channel Tools ==
Joshua Leung [Wed, 20 Feb 2008 11:02:32 +0000 (11:02 +0000)]
== Action Editor - Channel Tools ==

* Added a new set of related tools for channel editing (Toggle/Enable/Disable Setting). These are activated using the Shift-W, Ctrl-Shift-W, and Alt-W hotkeys. They allow for setting of the given setting on all selected channels (where it will apply).

* Moved + grouped all the channel-related operations in a new "Channels" menu, located between the "Select" and "Markers" menus. This makes more sense than squeezing the functionality at the end of the "Key" menu!

12 years ago* Added include for auto-threads to compile on Windows
Matt Ebb [Wed, 20 Feb 2008 01:12:21 +0000 (01:12 +0000)]
* Added include for auto-threads to compile on Windows

12 years agoBug #8312: Latest SVN lost LOCAL and NORMAL Transformation Coords in Armature
Martin Poirier [Tue, 19 Feb 2008 23:05:24 +0000 (23:05 +0000)]
Bug #8312: Latest SVN lost LOCAL and NORMAL Transformation Coords in Armature

Stupid if condition messed Normal orientation for pose bones.

Normal part didn't change and is expected, not a bug.

12 years agoadded win32 check for number of processors, but cant test.
Campbell Barton [Tue, 19 Feb 2008 22:59:52 +0000 (22:59 +0000)]
added win32 check for number of processors, but cant test.
could somebody running win32 see if headers need to be added to threads.c?

12 years agoautomatic threads, next to the Threads button, so you can set threads to use whatever...
Campbell Barton [Tue, 19 Feb 2008 22:23:21 +0000 (22:23 +0000)]
automatic threads, next to the Threads button, so you can set threads to use whatever the system has, useful in the studio with 2,4,8 core systems when sharing files.

12 years agoPatche from Giuseppe Ghibò to look in /usr/lib64
Campbell Barton [Tue, 19 Feb 2008 21:18:35 +0000 (21:18 +0000)]
Patche from Giuseppe Ghibò to look in /usr/lib64

12 years agoPossible fix for bug #6922: crash in displace compositor node,
Brecht Van Lommel [Tue, 19 Feb 2008 20:35:19 +0000 (20:35 +0000)]
Possible fix for bug #6922: crash in displace compositor node,
possibly because it didn't handle the vector input correct if
it was translated.

12 years agoFix for bug #6911: radiosity pass can no be excluded.
Brecht Van Lommel [Tue, 19 Feb 2008 19:26:49 +0000 (19:26 +0000)]
Fix for bug #6911: radiosity pass can no be excluded.

12 years agoFix for bug #8311: painting in the image editor with left mouse button
Brecht Van Lommel [Tue, 19 Feb 2008 18:47:09 +0000 (18:47 +0000)]
Fix for bug #8311: painting in the image editor with left mouse button
selection enabled still painted with right mouse button, inconsistent
with painting in the 3d view.

12 years agoAdded an option for texture forcefields to use the root location of a particle for...
Campbell Barton [Tue, 19 Feb 2008 18:36:50 +0000 (18:36 +0000)]
Added an option for texture forcefields to use  the root location of a particle for its texture coords.
Without this, animating grass would either look like seaweed (with low freq texture)
Or the grass would wrinkle up and get kinks (high freq texture)
This lets you use a high frequency texture while having straight grass.

12 years agoFix for bug #8299: baking from selected to active with ray transparency
Brecht Van Lommel [Tue, 19 Feb 2008 17:51:58 +0000 (17:51 +0000)]
Fix for bug #8299: baking from selected to active with ray transparency
gave wrong results. Problem was the view vector was setup strange. While
it is really not well defined, it is now set as the negation of the normal,
so it is looking right at the surface, gives more predictable.

12 years agoAdded an option to bake AO normalized, without material settings taken
Brecht Van Lommel [Tue, 19 Feb 2008 16:16:16 +0000 (16:16 +0000)]
Added an option to bake AO normalized, without material settings taken
into account. The normalized result can often be easier to integrate
into different materials, e.g. for games.

12 years agoBugfix: vector blur blending of different times wasn't correct, didn't
Brecht Van Lommel [Tue, 19 Feb 2008 15:30:33 +0000 (15:30 +0000)]
Bugfix: vector blur blending of different times wasn't correct, didn't
show up much for characters on isolated layers but can make a big
difference on a full scene:

http://users.pandora.be/blendix/vblur_before.jpg
http://users.pandora.be/blendix/vblur_after.jpg

12 years agoBugfix: this adds some epsilons (FLT_EPSILON, so quite small) to the
Brecht Van Lommel [Tue, 19 Feb 2008 12:13:35 +0000 (12:13 +0000)]
Bugfix: this adds some epsilons (FLT_EPSILON, so quite small) to the
raytracing intersection code, to avoid rays slipping through between
triangles, this would mostly show up with sceen aligned quads and
baking of height maps for example. Epsilon's are not pretty, but I
haven't found a reliable way around them.

12 years agoBug #8234: sky texture for approximate AO doesn't work, as mentioned
Brecht Van Lommel [Tue, 19 Feb 2008 11:07:09 +0000 (11:07 +0000)]
Bug #8234: sky texture for approximate AO doesn't work, as mentioned
in the commit log. Couldn't get this to work well, probably this would
work a lot better with the IBL spherical harmonics feature, so I've just
disabled the option in the interface for now.

12 years agopython API: added support for screen font 12(fix-width) as "normalfix"
Remigiusz Fiedler [Tue, 19 Feb 2008 10:47:29 +0000 (10:47 +0000)]
python API: added support for screen font 12(fix-width) as "normalfix"

12 years agopendent changes -
Campbell Barton [Tue, 19 Feb 2008 10:43:41 +0000 (10:43 +0000)]
pendent changes -
- Added a note that force fields only affect objects on same layers
- PLAY button would just play all frames and didnt respect the end frame which is very annoying at times.

12 years agoCrasher in patch for premul flag: missing NULL check
Ton Roosendaal [Tue, 19 Feb 2008 09:00:39 +0000 (09:00 +0000)]
Crasher in patch for premul flag: missing NULL check

Also converted ugly short pointer casting with the standard ID
define GS(), Get Shorty!

12 years agoFurther work on the premul option for ton. This option
Joseph Eagar [Mon, 18 Feb 2008 23:50:12 +0000 (23:50 +0000)]
Further work on the premul option for ton.  This option
(which basically tells the renderer and compositor to expect a
key image) is now done at the image user level.

This does have some caveats, as image users don't always work
the way I thought they would/should (for example, the same image user
structure is apparently used in the uv image editor for all images,
which is kindof odd).

The UV image editor also now smartly detects if the premul option is
set and draws the image using key alpha, instead of premul

The subversion level was upped to convert the old premul flag, which was at
the image level, to the new one, which is at the image user level.

12 years agoTools
Ken Hughes [Mon, 18 Feb 2008 23:00:44 +0000 (23:00 +0000)]
Tools
-----
Remove extra parenthesis from Cubic tooltip, reported on IRC.

12 years agoFix for bug #8047: convert metaballs to mesh often has holes.
Brecht Van Lommel [Mon, 18 Feb 2008 20:00:42 +0000 (20:00 +0000)]
Fix for bug #8047: convert metaballs to mesh often has holes.

12 years agoFix for bug #7787: QMC AO could give bad results tracing rays from an
Brecht Van Lommel [Mon, 18 Feb 2008 19:32:57 +0000 (19:32 +0000)]
Fix for bug #7787: QMC AO could give bad results tracing rays from an
untraceable material, cause is that the ray start position got set
only once, but it needs to be set for each ray since it can be clipped
to the octree bounding box.

12 years agoFix for bug #7936: render baking selected to active now has a Bias
Brecht Van Lommel [Mon, 18 Feb 2008 18:14:19 +0000 (18:14 +0000)]
Fix for bug #7936: render baking selected to active now has a Bias
value that is an offset along the normal when looking for the nearest
face, which allows baking faces further away, e.g. an ID badge onto a
shirt.

Also fixes a bug baking to float images, for things other than
displacement it didn't work sometimes, and a memory leak in the
extend filter.

12 years ago== MSVC 7.1 projectfiles ==
Andrea Weikert [Mon, 18 Feb 2008 17:56:41 +0000 (17:56 +0000)]
== MSVC 7.1 projectfiles ==
- added missing files rev. 13738 (Transform Orientations) commit.

12 years agomoved LARGEFILE defines to BLI_storage.h
Campbell Barton [Mon, 18 Feb 2008 17:20:04 +0000 (17:20 +0000)]
moved LARGEFILE defines to BLI_storage.h

12 years agoDisable particle time looping for hair, doesn't have any purpose there,
Brecht Van Lommel [Mon, 18 Feb 2008 15:56:34 +0000 (15:56 +0000)]
Disable particle time looping for hair, doesn't have any purpose there,
only gives weird results.

12 years agoBugfix for defocus node gamma correct. It applied gamma correct to
Brecht Van Lommel [Mon, 18 Feb 2008 15:21:59 +0000 (15:21 +0000)]
Bugfix for defocus node gamma correct. It applied gamma correct to
a premul image but that doesn't work correct. Now it depremuls and
premuls again around the gamma correction. Better solution might be
possible, but this gives compatible results.

12 years agoparticle bug - Edit Particles could reference invalid face indices's,
Campbell Barton [Mon, 18 Feb 2008 14:06:45 +0000 (14:06 +0000)]
particle bug - Edit Particles could reference invalid face indices's,
Now particles lookup every face in the derived mesh to be placed on the mesh.

12 years agoBugfix for speed vector pass not being done when rendering a single
Brecht Van Lommel [Mon, 18 Feb 2008 13:38:16 +0000 (13:38 +0000)]
Bugfix for speed vector pass not being done when rendering a single
layer from the compositor. I've solved this by changing the behavior,
now it always renders a vector pass even if Do Composite is disabled.
I think that's more consistent because other passes get rendered too
regardless of Do Composite, the vector pass was just an exception.

12 years agoBugfix for own mistake in recent commit, halo render could crash
Brecht Van Lommel [Mon, 18 Feb 2008 13:05:27 +0000 (13:05 +0000)]
Bugfix for own mistake in recent commit, halo render could crash
with no material assigned.

12 years agoBugfix for particle path drawing messing up opengl state in some cases.
Brecht Van Lommel [Mon, 18 Feb 2008 11:29:08 +0000 (11:29 +0000)]
Bugfix for particle path drawing messing up opengl state in some cases.

12 years agoFix for bug #7845:
Brecht Van Lommel [Mon, 18 Feb 2008 11:16:20 +0000 (11:16 +0000)]
Fix for bug #7845:

IK stretch lead to bone shaking a bit too quickly since making IK
scale independent, now does more strict clamping of stretch again.

12 years agoBugfix: hair effector settings only showed when the hair was editable,
Brecht Van Lommel [Mon, 18 Feb 2008 10:58:03 +0000 (10:58 +0000)]
Bugfix: hair effector settings only showed when the hair was editable,
but they work also if the hair is not editable.

12 years agoFix for bug #8052: particle emit from verts and volume didn't support
Brecht Van Lommel [Mon, 18 Feb 2008 10:49:46 +0000 (10:49 +0000)]
Fix for bug #8052: particle emit from verts and volume didn't support
subsurf/derivedmesh mapping yet.

Also added int-to-pointer and back conversion function to solve warnings.
Note that it is only allowed to store an int in a pointer and then get
it back, but not a pointer in an int!

12 years agotexture forcefields had a bug where uninitialized values could be used.
Campbell Barton [Sun, 17 Feb 2008 23:53:48 +0000 (23:53 +0000)]
texture forcefields had a bug where uninitialized values could be used.
do_texture_effector assumed multitex_ext would assign r/g/b colors which isnt true for grey textures.
Fallback to PFIELD_TEX_GRAD with grey textures, node this in tooltip also.

12 years ago== Sequencer / FFMPEG ==
Peter Schlaile [Sun, 17 Feb 2008 23:39:16 +0000 (23:39 +0000)]
== Sequencer / FFMPEG ==

This fixes [#8297] Video Playback crash (audio buffer)
If a single audio frame is larger than 1 second (but still smaller than
AVCODEC_MAX_AUDIO_FRAME_SIZE) things could get very - annoying :)

12 years agoFix for bug #8044: vertex colors weren't supported for hair.
Brecht Van Lommel [Sun, 17 Feb 2008 22:42:03 +0000 (22:42 +0000)]
Fix for bug #8044: vertex colors weren't supported for hair.

12 years ago== Transform Orientations ==
Martin Poirier [Sun, 17 Feb 2008 22:19:02 +0000 (22:19 +0000)]
== Transform Orientations ==

Merge Normal orientation calculations with Custom Orientations, to make it work the same all accross the table:
- One or more faces: use average face normal (first edge of faces define tangent)
- One edge: use edge itself as normal (vertex normals define tangent)
- One vertex: use vertex normal (tangent is perpendicular to normal and z-axis)
- Two vertices => edge orientation
- Two vertices => face orientation

*I tested quite a bit but please report any bugs this might have caused.*

ADDED FILE WARNING: source/blender/src/transform_orientations.c

12 years agoBugfix: yafray number of processors was not properly initialized, and
Brecht Van Lommel [Sun, 17 Feb 2008 22:11:05 +0000 (22:11 +0000)]
Bugfix: yafray number of processors was not properly initialized, and
could be 0, hanging yafray. This commits removes the separate yafray
number of processor setting and simply using the blender threads
button, there is no reason for a separate setting.

12 years ago== ImageBrowser ==
Andrea Weikert [Sun, 17 Feb 2008 21:34:56 +0000 (21:34 +0000)]
== ImageBrowser ==
added icon for 'Toggle Bookmark Area'
disabled the bookmarks for databrowse
allow to add path inside .blend file (could be nice to use as material library for example)

12 years agobugfix [#8263] Video Sequence Editor > Sequence > Reassign Inputs > crash
Campbell Barton [Sun, 17 Feb 2008 21:22:42 +0000 (21:22 +0000)]
bugfix [#8263] Video Sequence Editor > Sequence > Reassign Inputs > crash
just missing null checks

12 years agoBugfix [#8196] sequencer crash when adding scene without camera
Campbell Barton [Sun, 17 Feb 2008 20:44:07 +0000 (20:44 +0000)]
Bugfix [#8196] sequencer crash when adding scene without camera
added checks for a camera
Also added an error ob bake if there are no active objects.

12 years agoFix for bug #8267: vector blur results in horizontal lines.
Brecht Van Lommel [Sun, 17 Feb 2008 20:36:13 +0000 (20:36 +0000)]
Fix for bug #8267: vector blur results in horizontal lines.

Vector blur was averaging z-values between pixels, which could give
wrong z-test results. While averaging is needed for speed vectors
to avoid holes, for z-values it is not required and not doing it
seems to avoid artifacts in specific cases.

12 years agodouble strike
Jens Ole Wund [Sun, 17 Feb 2008 20:13:58 +0000 (20:13 +0000)]
double strike
-help MSVC compilers with finite /* hope that won't break cygwin builds */
-a unfinished soft body feature sneaked in (freezer)  .. disabled for now

12 years agomeshes with nan verts could crash blender when building as mesh octree
Campbell Barton [Sun, 17 Feb 2008 18:50:45 +0000 (18:50 +0000)]
meshes with nan verts could crash blender when building as mesh octree

12 years ago"From particles" children are again allowed for non-hair/keyed particles, although...
Janne Karhu [Sun, 17 Feb 2008 18:33:20 +0000 (18:33 +0000)]
"From particles" children are again allowed for non-hair/keyed particles, although with some limitations like no separate render amount or rough/branching values.

12 years agoPatch from Giuseppe Ghibò, modified not to use scons defines.
Campbell Barton [Sun, 17 Feb 2008 18:09:53 +0000 (18:09 +0000)]
Patch from Giuseppe Ghibò, modified not to use scons defines.
Files above 4gig did not display on linux in the file selector.
Need to make sure this is ok in other os's too.

12 years agoOld particles didn't interpolate between keypoints at render time so regression test...
Janne Karhu [Sun, 17 Feb 2008 15:46:03 +0000 (15:46 +0000)]
Old particles didn't interpolate between keypoints at render time so regression test hairball.blend didn't render properly. Now all converted particle systems have path display and render steps set to 0 so that only the keypoints are used.

12 years agoParticle looping works again at least to some extent (don't have time to test thoroug...
Janne Karhu [Sun, 17 Feb 2008 14:44:12 +0000 (14:44 +0000)]
Particle looping works again at least to some extent (don't have time to test thoroughly). Instant looping had to be removed as it caused more trouble than good things.

12 years agoRemoved "roll" and "rotation" child particle kink modes as they couldn't be made...
Janne Karhu [Sun, 17 Feb 2008 13:41:42 +0000 (13:41 +0000)]
Removed "roll" and "rotation" child particle kink modes as they couldn't be made to work properly. Will have to see later if these can be put back in so that they actually work.

12 years agoFix for bug: [#8287] crash duplicating softbody hair
Janne Karhu [Sun, 17 Feb 2008 12:46:09 +0000 (12:46 +0000)]
Fix for bug: [#8287] crash duplicating softbody hair
-Duplicating a particle system with softbody didn't update the sb->particle pointer correctly.

12 years agoBugfix: Limit Constraints
Joshua Leung [Sun, 17 Feb 2008 06:17:01 +0000 (06:17 +0000)]
Bugfix: Limit Constraints

Rot/Scale-Limit Constraints with 'For Transform' option would sometimes act on location values too.

12 years ago== Action Editor Drawing - Optimisation Attempt ==
Joshua Leung [Sun, 17 Feb 2008 06:00:18 +0000 (06:00 +0000)]
== Action Editor Drawing - Optimisation Attempt ==

Another attempt at further optimising Action Editor drawing without doing any drastic changes.

12 years agoFix for bug #8219: proportional edit circle was drawing
Brecht Van Lommel [Sat, 16 Feb 2008 19:37:33 +0000 (19:37 +0000)]
Fix for bug #8219: proportional edit circle was drawing
wrong in the uv editor since editmode integration.

12 years agosculptmode mtex texture pointers are now duplicated too, should resolve scene copy...
Campbell Barton [Sat, 16 Feb 2008 19:13:40 +0000 (19:13 +0000)]
sculptmode mtex texture pointers are now duplicated too, should resolve scene copy errors.

12 years agoFix for bug #8285 and #8286: halo crashes with environment maps and
Brecht Van Lommel [Sat, 16 Feb 2008 18:49:54 +0000 (18:49 +0000)]
Fix for bug #8285 and #8286: halo crashes with environment maps and
render instancing.
Fix for vector blur alpha blending bug due to my recent bugfix, as
reported on bf-committers.

12 years agoFixed pointer type warning.
Nicholas Bishop [Sat, 16 Feb 2008 18:00:22 +0000 (18:00 +0000)]
Fixed pointer type warning.