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

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

11 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

11 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

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

11 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

11 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

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

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

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

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

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

11 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

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

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

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

11 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 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

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.

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

11 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

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

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

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

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

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

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

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

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

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

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

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

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

11 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

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

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

11 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

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

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

11 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

11 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

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

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

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

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

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

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

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

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

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

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

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

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

11 years ago== Sculpt ==
Nicholas Bishop [Sat, 16 Feb 2008 16:59:26 +0000 (16:59 +0000)]
== Sculpt ==

Fixed a double free occuring when duplicating a scene while in sculpt mode.

11 years agoImages in the image editor were being draw with the wrong glBlendFunc() command
Joseph Eagar [Sat, 16 Feb 2008 16:44:41 +0000 (16:44 +0000)]
Images in the image editor were being draw with the wrong glBlendFunc() command
in draw-alpha mode. This would cause key alpha images to draw badly.

11 years agofix for [#8257] double-freeing pointers from sculpt code
Campbell Barton [Sat, 16 Feb 2008 16:35:47 +0000 (16:35 +0000)]
fix for [#8257] double-freeing pointers from sculpt code

Cleaned up scene_copy, and moved some scene copying into this function that was inline in the user interface.

Also moved malloc error prints onto separate lines so you can set breakpoints.

11 years agoPoseLib - swapping keys:
Joshua Leung [Sat, 16 Feb 2008 04:12:54 +0000 (04:12 +0000)]
PoseLib - swapping keys:

Swapped the order of a few keys during PoseLib Preview, so that they made more sense.

11 years agocleaning up softbody.c code
Jens Ole Wund [Sat, 16 Feb 2008 00:07:05 +0000 (00:07 +0000)]
cleaning up softbody.c code
- removed some 'hopes' on ODE solving
- no linking to open numeric library (ONL) should be required for now

11 years agopatch 8235 8218 8211 added: various gameengine improvements, fixed windows project...
Benoit Bolsee [Fri, 15 Feb 2008 23:12:03 +0000 (23:12 +0000)]
patch 8235 8218 8211 added: various gameengine improvements, fixed windows project files

11 years agoautomerge and multires cant coexist, added note in the menu to say this and stopped...
Campbell Barton [Fri, 15 Feb 2008 22:13:44 +0000 (22:13 +0000)]
automerge and multires cant coexist, added note in the menu to say this and stopped automerge from running and popping up an annoying error when multires is enabled.

11 years agoFix for planar preview, to make Z=0 everywhere
Ton Roosendaal [Fri, 15 Feb 2008 18:50:13 +0000 (18:50 +0000)]
Fix for planar preview, to make Z=0 everywhere

11 years agoNew preview blend c file, fixed Planar view texture coordinates (so Z=0)
Ton Roosendaal [Fri, 15 Feb 2008 18:49:46 +0000 (18:49 +0000)]
New preview blend c file, fixed Planar view texture coordinates (so Z=0)

11 years agoBugfix: alpha blending bug in vector blur, gave too dark areas using
Brecht Van Lommel [Fri, 15 Feb 2008 18:21:30 +0000 (18:21 +0000)]
Bugfix: alpha blending bug in vector blur, gave too dark areas using
input image with alpha.

11 years agoSet linking priority of libbinreloc to 226 for blenderplayer. Why?
Chris Want [Fri, 15 Feb 2008 16:52:20 +0000 (16:52 +0000)]
Set linking priority of libbinreloc to 226 for blenderplayer. Why?
Because libblenkernel_blc, which depends on binreloc, has priority

11 years agoPython api addition PupTreeMenu() - for apricot
Campbell Barton [Fri, 15 Feb 2008 16:08:41 +0000 (16:08 +0000)]
Python api addition PupTreeMenu() - for apricot

11 years agoBugfix for unnecessary missing object warnings for speed vectors,
Brecht Van Lommel [Fri, 15 Feb 2008 15:29:43 +0000 (15:29 +0000)]
Bugfix for unnecessary missing object warnings for speed vectors,
caused by optimization that doesn't compute vectors for objects that
don't need them.

11 years agoSimple but useful compositor feature:
Ton Roosendaal [Fri, 15 Feb 2008 15:20:50 +0000 (15:20 +0000)]
Simple but useful compositor feature:

CTRL+click on node will not only select it, but also connect the active
viewer to the top output of the node.
To evaluate: make viewing option to have this as a default on select.
Could work nice for collapsed nodes.

11 years agoBugfix: the re-render layer button in the render layer composite node
Brecht Van Lommel [Fri, 15 Feb 2008 14:56:56 +0000 (14:56 +0000)]
Bugfix: the re-render layer button in the render layer composite node
didn't change the current frame of the scene to the frame of the
compositing scene.

11 years agoBugfix:
Ton Roosendaal [Fri, 15 Feb 2008 13:49:10 +0000 (13:49 +0000)]

In compositor, not always all scenes rendered... this was why:
When disabling 'save buffers', but keeping the 'full sample' option, the
*other* scenes in a composite didn't render.

11 years agoEffectors on particle hair can now be applied to the children instead
Brecht Van Lommel [Fri, 15 Feb 2008 12:54:43 +0000 (12:54 +0000)]
Effectors on particle hair can now be applied to the children instead
of the parents, with the "Children" button next to Stiffness.

11 years ago== Linux ==
Willian Padovani Germano [Fri, 15 Feb 2008 12:41:27 +0000 (12:41 +0000)]
== Linux ==

Removing the stub I added for a binreloc function. Here for some reason it's needed (somehow binreloc is not being included ?) or the player won't link, but for others (at least on 64 bit systems) the opposite happens.

Thanks Chris Want for the feedback to the commit where I tested this.

11 years agoFix for theoretical memory leak. Oddly this leak didn't seem
Joseph Eagar [Fri, 15 Feb 2008 09:42:25 +0000 (09:42 +0000)]
Fix for theoretical memory leak.  Oddly this leak didn't seem
to be happening, but might as well fix it anyway.

11 years ago== Action Editor - Keyframe Selection (Added tools) ==
Joshua Leung [Fri, 15 Feb 2008 06:06:08 +0000 (06:06 +0000)]
== Action Editor - Keyframe Selection (Added tools) ==

* Ctrl-I now swaps the selection status of keyframes/channels depending on where the mouse cursor is located. Ctrl-Shift-I does so for markers.

* (De)selecting channels now clears the 'active' flags too, so there will be no more 'selected' items lingering around even after pressing AKEY

11 years agoBugfix: Action Editor Insert-Key
Joshua Leung [Fri, 15 Feb 2008 05:20:28 +0000 (05:20 +0000)]
Bugfix: Action Editor Insert-Key

When inserting a keyframe using the IKEY in the Action Editor, Blender could crash if inserting a keyframe in a Constraint Channel.

11 years agoBugfixes (Constraints UI):
Joshua Leung [Fri, 15 Feb 2008 04:58:55 +0000 (04:58 +0000)]
Bugfixes (Constraints UI):

* Transform Constraint UI drew 'VG:' field incorrectly, resulting in bad layout
* StretchTo constraint's UI has been tidied up a bit
* (TODO: MinMax's UI needs URGENT attention)

11 years agoBugfix #8255: Negative Rotation Values with Transform Constraint go Crazy
Joshua Leung [Fri, 15 Feb 2008 04:42:48 +0000 (04:42 +0000)]
Bugfix #8255: Negative Rotation Values with Transform Constraint go Crazy

This bug-report brought to light some problems with the transform constraint's handling of degrees+radians. Now, the input-range scaling is done in degrees (as the clamping factors ranges are in degrees) instead of having that done after this stage. The problems should now be fixed (and gears now seem to work ok), but I hope no other rigs have been broken.

11 years agoBugfix: depsgraph cycle checking for armatures sometimes gave incorrect
Brecht Van Lommel [Thu, 14 Feb 2008 21:34:27 +0000 (21:34 +0000)]
Bugfix: depsgraph cycle checking for armatures sometimes gave incorrect
cycle warnings.

11 years agoBugfix for depsgraph error leading to lagging, caused by local
Brecht Van Lommel [Thu, 14 Feb 2008 19:08:24 +0000 (19:08 +0000)]
Bugfix for depsgraph error leading to lagging, caused by local
constraint ipo drivers and proxies.

11 years ago1) Revert previous commit, rendering negative won't work that simple...
Ton Roosendaal [Thu, 14 Feb 2008 18:56:14 +0000 (18:56 +0000)]
1) Revert previous commit, rendering negative won't work that simple...
   Needs much more attention.
2) Fix for zcombine node:
   - it skipped execution when no image rgba out was used
   - didnt work for FSA yet

11 years agoAllows negative light to result in negative diffuse and 'combined'
Ton Roosendaal [Thu, 14 Feb 2008 18:00:58 +0000 (18:00 +0000)]
Allows negative light to result in negative diffuse and 'combined'
when you have world exposure set. (it used to clip it in 0-1, now it
mirrors the values)

11 years agostupid me! if you move var declarations sometimes you have to add
Joseph Eagar [Thu, 14 Feb 2008 15:14:01 +0000 (15:14 +0000)]
stupid me! if you move var declarations sometimes you have to add
assignments outside of the var declarations!

11 years agoin my tiredness I didn't declare some vars at the top of the block.
Joseph Eagar [Thu, 14 Feb 2008 14:57:41 +0000 (14:57 +0000)]
in my tiredness I didn't declare some vars at the top of the block.

11 years agoAdded another 2 checks for if an image has the premul flag set, 1 in the image
Joseph Eagar [Thu, 14 Feb 2008 13:36:59 +0000 (13:36 +0000)]
Added another 2 checks for if an image has the premul flag set, 1 in the image
compositor node, another in render_realtime_texture.  Note that multilayer images
in the image compositor node do not respect the premul flag (though I did write
commented out code for it).

As far as I can tell, the premul option never worked for multilayer images in the
image node, so I'm a little nervous about making it work properly there.

ton, any comments?

11 years agoReverted the change of auto-turning on premul for images from last
Joseph Eagar [Thu, 14 Feb 2008 12:44:27 +0000 (12:44 +0000)]
Reverted the change of auto-turning on premul for images from last
commit.  I still think this is a good idea, but needs more discussion.

Basically, the way the premul option worked before is it actually
changed the image data to be premul (for each pixel it multipled r,g,b by a) when
loading an image.  So if a user wanted his image to be key, yet
still work in the renderer (which expects premul) he'd be stuck.
Also, it was kindof confusing how if you painted something in the image,
then saved it with premul on, when next you loaded the image it'd have
changed (especially since the image editor painting seems to paint in
key, not premul).

11 years agoObject drawing was setting switching glDepthMask(GL_FALSE); even when no particles...
Campbell Barton [Thu, 14 Feb 2008 12:34:54 +0000 (12:34 +0000)]
Object drawing was setting switching glDepthMask(GL_FALSE); even when no particles were drawn.
Added an annoying message when people press the F key to say FaceSel mode was removed.