Commit Graph

9906 Commits

Author SHA1 Message Date
Campbell Barton
0fe6abbfa3 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.
2008-02-17 23:53:48 +00:00
Peter Schlaile
a207d14958 == 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 :)
2008-02-17 23:39:16 +00:00
Brecht Van Lommel
10529ca743 Fix for bug #8044: vertex colors weren't supported for hair. 2008-02-17 22:42:03 +00:00
Martin Poirier
83ddab60b7 == 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
2008-02-17 22:19:02 +00:00
Brecht Van Lommel
417687c4ff 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.
2008-02-17 22:11:05 +00:00
Andrea Weikert
b7cf0ecbf6 == 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)
2008-02-17 21:34:56 +00:00
Campbell Barton
fcd78f0817 bugfix [#8263] Video Sequence Editor > Sequence > Reassign Inputs > crash
just missing null checks
2008-02-17 21:22:42 +00:00
Campbell Barton
1648060132 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.
2008-02-17 20:44:07 +00:00
Brecht Van Lommel
601c7cc318 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.
2008-02-17 20:36:13 +00:00
Jens Ole Wund
5163811290 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
2008-02-17 20:13:58 +00:00
Campbell Barton
afb3f0ec3a meshes with nan verts could crash blender when building as mesh octree 2008-02-17 18:50:45 +00:00
Janne Karhu
a221c3db97 "From particles" children are again allowed for non-hair/keyed particles, although with some limitations like no separate render amount or rough/branching values. 2008-02-17 18:33:20 +00:00
Campbell Barton
b16eefadf8 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.
2008-02-17 18:09:53 +00:00
Janne Karhu
ef17600b5c 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. 2008-02-17 15:46:03 +00:00
Janne Karhu
1111561dd3 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. 2008-02-17 14:44:12 +00:00
Janne Karhu
33b569106e 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. 2008-02-17 13:41:42 +00:00
Janne Karhu
e83d8ea586 Fix for bug: [#8287] crash duplicating softbody hair
-Duplicating a particle system with softbody didn't update the sb->particle pointer correctly.
2008-02-17 12:46:09 +00:00
Joshua Leung
0ce7e6c7b1 Bugfix: Limit Constraints
Rot/Scale-Limit Constraints with 'For Transform' option would sometimes act on location values too.
2008-02-17 06:17:01 +00:00
Joshua Leung
dafd23e5c6 == Action Editor Drawing - Optimisation Attempt ==
Another attempt at further optimising Action Editor drawing without doing any drastic changes.
2008-02-17 06:00:18 +00:00
Brecht Van Lommel
07fa7f5a38 Fix for bug #8219: proportional edit circle was drawing
wrong in the uv editor since editmode integration.
2008-02-16 19:37:33 +00:00
Campbell Barton
54fd70a8bb sculptmode mtex texture pointers are now duplicated too, should resolve scene copy errors. 2008-02-16 19:13:40 +00:00
Brecht Van Lommel
2c11523b39 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.
2008-02-16 18:49:54 +00:00
Nicholas Bishop
bb410eb7da Fixed pointer type warning. 2008-02-16 18:00:22 +00:00
Nicholas Bishop
1543b0f1f1 == Sculpt ==
Fixed a double free occuring when duplicating a scene while in sculpt mode.
2008-02-16 16:59:26 +00:00
Joseph Eagar
903d71e899 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.
2008-02-16 16:44:41 +00:00
Campbell Barton
b7af3d2cbd fix for [#8257] double-freeing pointers from sculpt code
http://projects.blender.org/tracker/index.php?func=detail&aid=8257&group_id=9&atid=125

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.
2008-02-16 16:35:47 +00:00
Joshua Leung
97a28c52b4 PoseLib - swapping keys:
Swapped the order of a few keys during PoseLib Preview, so that they made more sense.
2008-02-16 04:12:54 +00:00
Jens Ole Wund
dd625d763c cleaning up softbody.c code
- removed some 'hopes' on ODE solving
- no linking to open numeric library (ONL) should be required for now
2008-02-16 00:07:05 +00:00
Benoit Bolsee
13aa413361 patch 8235 8218 8211 added: various gameengine improvements, fixed windows project files 2008-02-15 23:12:03 +00:00
Campbell Barton
1597ba0770 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. 2008-02-15 22:13:44 +00:00
Ton Roosendaal
4384241c68 New preview blend c file, fixed Planar view texture coordinates (so Z=0) 2008-02-15 18:49:46 +00:00
Brecht Van Lommel
febede50f4 Bugfix: alpha blending bug in vector blur, gave too dark areas using
input image with alpha.
2008-02-15 18:21:30 +00:00
Campbell Barton
11c926b575 Python api addition PupTreeMenu() - for apricot 2008-02-15 16:08:41 +00:00
Brecht Van Lommel
5e9457b5e2 Bugfix for unnecessary missing object warnings for speed vectors,
caused by optimization that doesn't compute vectors for objects that
don't need them.
2008-02-15 15:29:43 +00:00
Ton Roosendaal
de707a32be 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.
2008-02-15 15:20:50 +00:00
Brecht Van Lommel
b5437cc8a2 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.
2008-02-15 14:56:56 +00:00
Ton Roosendaal
1dc7f17493 Bugfix:
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.
2008-02-15 13:49:10 +00:00
Brecht Van Lommel
e63d03afc7 Effectors on particle hair can now be applied to the children instead
of the parents, with the "Children" button next to Stiffness.
2008-02-15 12:54:43 +00:00
Willian Padovani Germano
113b684e07 == 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.
2008-02-15 12:41:27 +00:00
Joseph Eagar
0ef89331e2 Fix for theoretical memory leak. Oddly this leak didn't seem
to be happening, but might as well fix it anyway.
2008-02-15 09:42:25 +00:00
Joshua Leung
87494c0ad8 == 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
2008-02-15 06:06:08 +00:00
Joshua Leung
8c8d585079 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.
2008-02-15 05:20:28 +00:00
Joshua Leung
4e4c742983 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)
2008-02-15 04:58:55 +00:00
Joshua Leung
edd2ba38bd 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.
2008-02-15 04:42:48 +00:00
Brecht Van Lommel
cd3d63a628 Bugfix: depsgraph cycle checking for armatures sometimes gave incorrect
cycle warnings.
2008-02-14 21:34:27 +00:00
Brecht Van Lommel
5b4376a137 Bugfix for depsgraph error leading to lagging, caused by local
constraint ipo drivers and proxies.
2008-02-14 19:08:24 +00:00
Ton Roosendaal
58046762f8 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
2008-02-14 18:56:14 +00:00
Ton Roosendaal
3c2adb1801 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)
2008-02-14 18:00:58 +00:00
Joseph Eagar
4b784f4311 stupid me! if you move var declarations sometimes you have to add
assignments outside of the var declarations!
2008-02-14 15:14:01 +00:00
Joseph Eagar
09cb8a9f42 in my tiredness I didn't declare some vars at the top of the block. 2008-02-14 14:57:41 +00:00