blender.git
13 years agoadded many checks to uvcopy so it dosnt raise errors.
Campbell Barton [Tue, 12 Dec 2006 07:28:20 +0000 (07:28 +0000)]
added many checks to uvcopy so it dosnt raise errors.
Minor changes to radiosity_export, updated to work with the new API (vertexColors MTFace)
obdatacopier - was getting the selection but not using it. made it ignore some read only properties.
BPyMesh - minor change: use face iterator rather then making a tuple()

13 years agobevel_center.py - avoid 2 python errors. (doing recursive before bevel, now UI preven...
Campbell Barton [Tue, 12 Dec 2006 05:29:42 +0000 (05:29 +0000)]
bevel_center.py - avoid 2 python errors. (doing recursive before bevel, now UI prevents this)
console.py - if the scriptdir didnt exist it would do an error, now just ignore and dont try to do the console_autoexec.py stuff
doc_browser.py - If you typed in an invalid module it would give an error and exit, now have a message instead.

13 years agomade the script work with no images, redraw when done and some optimizations.
Campbell Barton [Tue, 12 Dec 2006 04:34:35 +0000 (04:34 +0000)]
made the script work with no images, redraw when done and some optimizations.

13 years agoAdded a new Python slot "UvCalculate", moved Archimap and "UVs from adjacent" into it.
Campbell Barton [Tue, 12 Dec 2006 04:18:45 +0000 (04:18 +0000)]
Added a new Python slot "UvCalculate", moved Archimap and "UVs from adjacent" into it.
Removed 1/2 1/4 1/8 uv mapping options.
made re-evaluating the py-scripts dir use the wait cursor (could take a while at times)

13 years agoadded some new Bullet files, and upgraded to latest Bullet 2.x
Erwin Coumans [Tue, 12 Dec 2006 03:08:15 +0000 (03:08 +0000)]
added some new Bullet files, and upgraded to latest Bullet 2.x

Please make sure to have extern/bullet/src/LinearMath/btAlignedAllocator.cpp in your build, if you add the files by name, instead of wildcard *.cpp

13 years agoFixed bug #5403, sculpt - alpha brush sizing shows fade even if fade is disabled
Nicholas Bishop [Tue, 12 Dec 2006 02:36:21 +0000 (02:36 +0000)]
Fixed bug #5403, sculpt - alpha brush sizing shows fade even if fade is disabled

13 years agoKludge to ensure that the BPY_*.[od] files are deleted during
Chris Want [Tue, 12 Dec 2006 01:30:24 +0000 (01:30 +0000)]
Kludge to ensure that the BPY_*.[od] files are deleted during
"make clean".

13 years agodont remove dummy 0 index verts to workaround me.verts.delete([...]) being buggy...
Campbell Barton [Mon, 11 Dec 2006 23:03:14 +0000 (23:03 +0000)]
dont remove dummy 0 index verts to workaround me.verts.delete([...]) being buggy (since tface > mtface conversion)

13 years agoBugfix #5406
Ton Roosendaal [Mon, 11 Dec 2006 19:20:10 +0000 (19:20 +0000)]
Bugfix #5406

If Material has "Shadow" off, it didn't skip AO correctly. Effect was it
showed AO colors from other materials on same scanline.

13 years agoPython API
Ken Hughes [Mon, 11 Dec 2006 17:13:56 +0000 (17:13 +0000)]
Python API
----------

Fix some typos in the documentation.

13 years agoadded a note about using SCons version 0.96.1
Stephen Swaney [Mon, 11 Dec 2006 13:52:23 +0000 (13:52 +0000)]
added a note about using SCons version 0.96.1
problems reported with beta versions with mingw on forum.

13 years agoBugfix #5401
Ton Roosendaal [Mon, 11 Dec 2006 11:33:03 +0000 (11:33 +0000)]
Bugfix #5401

Material Nodes still have undefined output to the passes. Currently only
the active Material node gives pass info. Bug was that check for active
was wrong, giving stripes because of hanging variables.
I'll work soon on providing all pass options in the Material nodes. This
fix at least correctly provides passes for active material, and clears
memory of pass info in advance.

Also: outliner view "current scene" did not show render layers.
ALso: outliner click on renderlayer now activates it (for UI)
Also: zbuffer for transparent was not initialized to 'infinity' correctly

13 years agoAdded missing menu entry for marker editing - Select/Deselect All Markers
Joshua Leung [Mon, 11 Dec 2006 08:59:05 +0000 (08:59 +0000)]
Added missing menu entry for marker editing - Select/Deselect All Markers

13 years agoadded the flag group_exclusive to material
Campbell Barton [Mon, 11 Dec 2006 08:57:39 +0000 (08:57 +0000)]
added the flag group_exclusive to material
added restrictDraw/Select/Render to objects in python
updated group and scene docs for last commit
made 3ds import use new scn.objects rather then Object.New() - (removed import as instance for now)
fixes off import error from this report http://blenderartists.org/forum/showthread.php?t=84182

13 years agoFace properties were being propagated from the second highest level downwards, rather...
Nicholas Bishop [Mon, 11 Dec 2006 04:02:29 +0000 (04:02 +0000)]
Face properties were being propagated from the second highest level downwards, rather than than from the level beneath the current one.

13 years agoA little bit of code cleanup:
Joshua Leung [Mon, 11 Dec 2006 03:47:15 +0000 (03:47 +0000)]
A little bit of code cleanup:
* Moved BEZSELECTED macro to blendef.h as it is used in several files
* Removed other duplicated macros

13 years agorenamed objects.add() and .remove() to .link() and .unlink() for scene and group...
Campbell Barton [Mon, 11 Dec 2006 03:23:17 +0000 (03:23 +0000)]
renamed objects.add() and .remove() to .link() and .unlink() for scene and group objects to be less pythonic and more like blender.
for scn.objects.new() a optional second argument can be used to spesify the name.

We still need a way to add a new Empty (some constant)

13 years agoRe-added the BKey hotkeys to sculpt mode
Nicholas Bishop [Mon, 11 Dec 2006 02:45:41 +0000 (02:45 +0000)]
Re-added the BKey hotkeys to sculpt mode

13 years agoDo a better job of propagating face data in multires, including flags and materials
Nicholas Bishop [Mon, 11 Dec 2006 01:54:34 +0000 (01:54 +0000)]
Do a better job of propagating face data in multires, including flags and materials

13 years agoPython API
Ken Hughes [Mon, 11 Dec 2006 01:44:59 +0000 (01:44 +0000)]
Python API
----------

Bugfix #5398: setting object layers from background render caused "bad call
to addqueue: 0 (18, 1)" messages to be sent to the console.  Add a check in
addqueue_ext() for G.background first before printing.

13 years agoCleaned up radiosity mesh adding code, was using ugly pointer tricks.
Brecht Van Lommel [Sun, 10 Dec 2006 23:39:20 +0000 (23:39 +0000)]
Cleaned up radiosity mesh adding code, was using ugly pointer tricks.

13 years ago=bad level calls=
Tom Musgrove [Sun, 10 Dec 2006 23:31:17 +0000 (23:31 +0000)]
=bad level calls=

added

antialias_tagbuf

and

iibuf_sample

to stubs so that we can compile the gameengine again - ton please check when you wake up...

13 years agoComposite & Pass render goodies:
Ton Roosendaal [Sun, 10 Dec 2006 20:30:15 +0000 (20:30 +0000)]
Composite & Pass render goodies:

- New Passes: UV and Rad(iosity)
- New Nodes: UV Map and Index Mask
- Z-combine now is antialiased

As usual, please check the log. Has nice pics!
http://www.blender3d.org/cms/Composite__UV_Map__ID.830.0.html

For devs: the antialias code from Vector Blur is now exported in compo
too. Works pretty good. Even fixed a bug in antialias, so vectorblur
will be better.

Also: found out that OpenGL display list speedup accidentally was still
triggered with the rt button... so it did not work by default.

13 years agoFixed bug #5353, retopo paint - changing in and out of full screen double frees
Nicholas Bishop [Sun, 10 Dec 2006 19:09:19 +0000 (19:09 +0000)]
Fixed bug #5353, retopo paint - changing in and out of full screen double frees

13 years agoThe fade togglebutton should show for the Default, untextured brush.
Nicholas Bishop [Sun, 10 Dec 2006 18:34:14 +0000 (18:34 +0000)]
The fade togglebutton should show for the Default, untextured brush.

13 years agoCMake: Fix postbuild step in Unix Makefiles because cp return error code
Jacques Beuarain [Sun, 10 Dec 2006 17:38:38 +0000 (17:38 +0000)]
CMake: Fix postbuild step in Unix Makefiles because cp return error code
for CVS dir.

13 years agoDisabling the code is revision 1.161 that was tripping up users
Chris Want [Sun, 10 Dec 2006 17:22:47 +0000 (17:22 +0000)]
Disabling the code is revision 1.161 that was tripping up users
building with mingw.

13 years agoCMake: Copy packaging files for Unix in post-build and fill in missing files for...
Jacques Beuarain [Sun, 10 Dec 2006 17:09:48 +0000 (17:09 +0000)]
CMake: Copy packaging files for Unix in post-build and fill in missing files for other platforms as well (plugins, text etc.)

13 years agoCMake: Copy .blender structure and necessary dlls for Windows builds as part of the...
Jacques Beuarain [Sun, 10 Dec 2006 14:49:28 +0000 (14:49 +0000)]
CMake: Copy .blender structure and necessary dlls for Windows builds as part of the postbuild to target directories.

13 years agoBugfix #5399
Ton Roosendaal [Sun, 10 Dec 2006 13:20:57 +0000 (13:20 +0000)]
Bugfix #5399

Irregular Shadow Buffer: doesn't support wire shadow, but also should not
crash then!
Note that ISB works with real face coverage, not zbuffering faces at all.
For wires to work in this method, we have to introduce a wire thickness,
but that will give endpoint condition troubles.

13 years agoCMake: Remove odbc32 odbccp32 libs from Windows linking, these came from the SCons...
Jacques Beuarain [Sun, 10 Dec 2006 12:12:05 +0000 (12:12 +0000)]
CMake: Remove odbc32 odbccp32 libs from Windows linking, these came from the SCons configs and are apparently not needed. They cause problems on VS Express C++ builds.

13 years agoBugfix: (2nd part of bug #5393)
Joshua Leung [Sun, 10 Dec 2006 05:52:51 +0000 (05:52 +0000)]
Bugfix: (2nd part of bug #5393)

Action Channel 'protecting' now works for the NLA editor. Action
channels in the active action that are 'protected' cannot get
transformed, duplicated, or deleted in the NLA editor.

13 years agoHotkeys for Mirror operations are now correct. Shift M not Ctrl M.
Joshua Leung [Sun, 10 Dec 2006 05:11:50 +0000 (05:11 +0000)]
Hotkeys for Mirror operations are now correct. Shift M not Ctrl M.

13 years agoFixed bug #5390, smooth brush ignores verts on outer edge
Nicholas Bishop [Sun, 10 Dec 2006 05:05:48 +0000 (05:05 +0000)]
Fixed bug #5390, smooth brush ignores verts on outer edge

The fix is to allow smoothing for edge verts, but only use other edge verts in
the calculation.

13 years ago== NLA Editor ==
Joshua Leung [Sun, 10 Dec 2006 02:57:17 +0000 (02:57 +0000)]
== NLA Editor ==

Strips under an object's strip in the NLA editor can now get collapsed,
like items in the Outliner.

Once an object's strips have been collapsed, it is still possible to add
strips to that object; Other operations will not be possible.

13 years agoBugfix #5383
Ton Roosendaal [Sat, 9 Dec 2006 15:21:00 +0000 (15:21 +0000)]
Bugfix #5383

Raytraced transparent: silly error in commit of dec 5, forgot one multiply
in the code, which made transparency look very much different.

13 years agoPython API
Ken Hughes [Sat, 9 Dec 2006 06:17:14 +0000 (06:17 +0000)]
Python API
----------

Bugfix #5373: creating a curve or text object using Object.New() without
linking any data to the object would later cause a segfault when ob->data
was later dereferenced.  This problem will be fixed (hopefully soon) in the
API when new objects are created with data and linked to scenes all in one
step, but for now check for curves that ob->data is defined before using,
otherwise print an error message to the console and skip the object.

13 years agoGrab brush shouldn't show strength slider
Nicholas Bishop [Sat, 9 Dec 2006 01:10:21 +0000 (01:10 +0000)]
Grab brush shouldn't show strength slider

13 years agoFixed bug #5368 retopology - tooltips in header are not shown
Nicholas Bishop [Sat, 9 Dec 2006 00:08:56 +0000 (00:08 +0000)]
Fixed bug #5368 retopology - tooltips in header are not shown

13 years agoTemporal fix probably... Campbell has crashes in depsgraph, but that case
Ton Roosendaal [Fri, 8 Dec 2006 22:08:52 +0000 (22:08 +0000)]
Temporal fix probably... Campbell has crashes in depsgraph, but that case
should not happen. This commit adds a harmless NULL check, but still.

13 years agoCrash fix in adding lightgroups: previewrender.c sets ob->data to NULl for
Ton Roosendaal [Fri, 8 Dec 2006 22:00:44 +0000 (22:00 +0000)]
Crash fix in adding lightgroups: previewrender.c sets ob->data to NULl for
a lamp it uses for preview... something I never thought of could get
rendered!

13 years agoNode editing usablity!
Ton Roosendaal [Fri, 8 Dec 2006 21:20:36 +0000 (21:20 +0000)]
Node editing usablity!

- Removed stupid idea to insert convertor nodes in Node Shaders, when a
  link is created by non-matching sockets. Now it works like Compositor,
  doing a default conversion. Works like this:

1 from 3 or 4 values: take average
3 from 1: copy to all
3 from 4: copy 3
4 from 1: copy to 3, set alpha to 1
4 from 3: copy 3, set alpha to 1

- Added select-linked in Nodes. Lkey or Shift+L. Also in pulldown menus

13 years agoPreview.blend: made lightgroup "Override" for all lamps, to allow
Ton Roosendaal [Fri, 8 Dec 2006 18:38:37 +0000 (18:38 +0000)]
Preview.blend: made lightgroup "Override" for all lamps, to allow
lightgroups to be ignored in preview render.

13 years agoLightgroups!
Ton Roosendaal [Fri, 8 Dec 2006 18:37:55 +0000 (18:37 +0000)]
Lightgroups!

Functionality was a bit limited still; now added the option to bind
a group of Lamps entirely to a Material, excluding them from any other
Material. Note that Lamp visibility layer options still work as for
Lamps usually.

In preview.blend: made a lightgroup for all lamps, and set them to be
the "RenderLayer override". That way it will ignore local material
lightgroups for previews.

13 years agoOnly-shadow AO was inversed... and it didn't use the material ambient or
Ton Roosendaal [Fri, 8 Dec 2006 15:07:50 +0000 (15:07 +0000)]
Only-shadow AO was inversed... and it didn't use the material ambient or
the AO strength factor.

13 years agoAnother crasher: shadow in a ray-mirror crashed, unitialized vars again...
Ton Roosendaal [Fri, 8 Dec 2006 14:40:33 +0000 (14:40 +0000)]
Another crasher: shadow in a ray-mirror crashed, unitialized vars again...
Gotta review how raytracing code uses memory once :)

13 years agoTwo bugfixes:
Ton Roosendaal [Fri, 8 Dec 2006 11:51:31 +0000 (11:51 +0000)]
Two bugfixes:

#5387: transparent shadow crashed, caused by passes recode
irc report: buffer shadow for tangent shaders didn't work. (2.42 bug)

13 years agoNumerous fixes in Render code:
Ton Roosendaal [Fri, 8 Dec 2006 09:40:44 +0000 (09:40 +0000)]
Numerous fixes in Render code:

- Bug: material emit was ignored (showed in preview render backdrop)
- Bug: world exposure was ignored
- Bug: lamp halo was ignoring 'render layer light override'.

Further reshuffled the way shadows are being pre-calculated, this to enable
more advanced (and faster) usage of Material lightgroups. Now shadows are
being cached in lamps, using a per-sample counter to check if a recalc is
needed. Will also work (later) for Raytracing node shaders.

- New: Material LightGroup option "Always", which always shades the lights
  in the group, independent of visibility layer. (so it allows to move such
  lights to hidden layer, not influencing anything).

13 years agoFix for bug #5369, retopology - undo reverts elipse to pen
Nicholas Bishop [Fri, 8 Dec 2006 00:44:44 +0000 (00:44 +0000)]
Fix for bug #5369, retopology - undo reverts elipse to pen

Moved the retopo tool settings into ToolSettings.

13 years agoBug, caused by render recode for passes: raytraced transparency didn't
Ton Roosendaal [Thu, 7 Dec 2006 21:48:31 +0000 (21:48 +0000)]
Bug, caused by render recode for passes: raytraced transparency didn't
clear osa vectors for UV, causing textures to not show correct when
traced.

13 years agoI ment to commit this earlier but things kept comming up.
Kent Mein [Thu, 7 Dec 2006 20:21:43 +0000 (20:21 +0000)]
I ment to commit this earlier but things kept comming up.
Fiddled with the button spacing a little bit so Disable Textures button fits
a little nicer.

Kent

13 years agoPython API
Ken Hughes [Thu, 7 Dec 2006 20:15:52 +0000 (20:15 +0000)]
Python API
==========

Fix typo in Scene documentation.

13 years agoFix for bug #5177: EdgeSplit modifier mode "From Flag" doesn't show sharp
Ben Batt [Thu, 7 Dec 2006 18:30:00 +0000 (18:30 +0000)]
Fix for bug #5177:  EdgeSplit modifier mode "From Flag" doesn't show sharp
                    edges in Editmode

This bug was due to CCGDerivedMesh (the DerivedMesh backend used to store
editmode subsurf results) not copying edge flags correctly, meaning that
they were unavailable to the EdgeSplit modifier. I have updated
CCGDerivedMesh to copy edge flags correctly.

13 years agoPass render errors (thanks to irc review, thanks ZanQdo!)
Ton Roosendaal [Thu, 7 Dec 2006 17:54:15 +0000 (17:54 +0000)]
Pass render errors (thanks to irc review, thanks ZanQdo!)

- Color for refraction was added wrong (was using 3 x r, instead of rgb)
- Refraction was added on top of specular in Combined, should not.

13 years agoSmall plumiferos wishlist item.
Kent Mein [Thu, 7 Dec 2006 16:48:15 +0000 (16:48 +0000)]
Small plumiferos wishlist item.

Adds a button next to the threads button to disable texture processing
in a render.  If anyone doesn't like the button feel free to revert this
one, its pretty simple.

Kent

13 years agoStupid me bug! I've removed nicely global variables, which was used for
Ton Roosendaal [Thu, 7 Dec 2006 16:30:28 +0000 (16:30 +0000)]
Stupid me bug! I've removed nicely global variables, which was used for
the N-key panel in 3d window. But, on duplicating the area windows, it
should NULL the duplicated pointer...

Error in Blender since 2006/11/26.

13 years agoLittle commit to roll back a previous one. Previous commit caused nVidia
Roland Hess [Thu, 7 Dec 2006 16:04:12 +0000 (16:04 +0000)]
Little commit to roll back a previous one. Previous commit caused nVidia
on OSX to have slow selection and mouse response.

Code from the previous commit is still there, but the #define that
triggers it has been commented out.

13 years agoAdding a function that gets a list of polylines from a curve object
Campbell Barton [Thu, 7 Dec 2006 15:22:55 +0000 (15:22 +0000)]
Adding a function that gets a list of polylines from a curve object

curve2vecs(ob, WORLDSPACE= True):
'''
Takes a curve object and returns a list of vec lists (polylines)
one list per curve

This is usefull as a way to get a polyline per curve
so as not to have to deal with the spline types directly
'''

13 years agoFix in outliner code: var declaration on wrong place (gcc won't warn!)
Ton Roosendaal [Thu, 7 Dec 2006 14:32:38 +0000 (14:32 +0000)]
Fix in outliner code: var declaration on wrong place (gcc won't warn!)

13 years agoWork on RenderLayer and Pass control:
Ton Roosendaal [Thu, 7 Dec 2006 14:17:38 +0000 (14:17 +0000)]
Work on RenderLayer and Pass control:

Full log:
http://www.blender3d.org/cms/Render_Passes.829.0.html

In short:
- Passes now have option to be excluded from "Combined".
- RenderLayers allow to override Light (Lamp groups) or Material.
- RenderLayers and Passes are in Outliner now, (ab)using Matt's nice
  'restriction collumns'. :)

13 years ago== Auto-Keying - Needed ==
Joshua Leung [Thu, 7 Dec 2006 09:31:51 +0000 (09:31 +0000)]
== Auto-Keying - Needed ==

Now bones in target-less ik chains get keyed correctly. Reversing
the part of yesterday's commit regarding bones.

13 years agoCMake: Move genrated dna.c and cmake_blender_libs.txt to binary directories to keep...
Jacques Beuarain [Thu, 7 Dec 2006 00:18:57 +0000 (00:18 +0000)]
CMake: Move genrated dna.c and cmake_blender_libs.txt to binary directories to keep source dir pristine. Also flag removed libraries as status and not "error" messages.

13 years agoSome pretty hard core bullet2 cleaning (kills the bullet2 lib and headers
Chris Want [Wed, 6 Dec 2006 22:44:47 +0000 (22:44 +0000)]
Some pretty hard core bullet2 cleaning (kills the bullet2 lib and headers
in the lib dir).

13 years ago=IDProperties C-API tiny update=
Joseph Eagar [Wed, 6 Dec 2006 19:20:06 +0000 (19:20 +0000)]
=IDProperties C-API tiny update=

IDP_GroupIterNext returned void* rather then IDProperty*.
Made it IDProperty*.

BTW, any people out there interested in using IDProperties
from the C side, feel free to email me comments and (especially!)
file bugreports assigned to me in the tracker. :)

13 years agoTools
Ken Hughes [Wed, 6 Dec 2006 17:56:38 +0000 (17:56 +0000)]
Tools
-----

Fix typo in Material "TraShadow" tooltip.

13 years agoAnother fix for pass recode: lamp shadow for lamps not in visible
Ton Roosendaal [Wed, 6 Dec 2006 15:48:40 +0000 (15:48 +0000)]
Another fix for pass recode: lamp shadow for lamps not in visible
render-layers or with option "only layer" was still calculated, giving
unnecessary slowdowns.

13 years agoBugfix (caused by passes work): the 'default material' needed to become
Ton Roosendaal [Wed, 6 Dec 2006 15:40:50 +0000 (15:40 +0000)]
Bugfix (caused by passes work): the 'default material' needed to become
initialized properly before rendering. Effect was that shadow for Objects
without material looked weird.

13 years agoBugfix #5356
Ton Roosendaal [Wed, 6 Dec 2006 14:37:52 +0000 (14:37 +0000)]
Bugfix #5356

Outliner: the new 'restriction' options were drawn as buttons, and created
always even when not visible. Gave big slowdowns on large data sets.

Also: help lines were drawn as shorts, should be floats

Cannot fix: button coordinates are short by default still, giant outliner
data sets draw buttons in wrong location.

Did add nice feature though; on several events the outliner now is not
being re-built anymore, but redrawn only. I want to be a bit conservative
with it though... but it happens for:
- LMB drag to select items
- pageup/down, scrollwheel, mmb scroll
- search item
- show active item
- toggle selection
Makes a good difference :)

13 years agoRemoved SlowerDraw and FasterDraw buttons in Mesh panel after discussion
Ben Batt [Wed, 6 Dec 2006 12:34:26 +0000 (12:34 +0000)]
Removed SlowerDraw and FasterDraw buttons in Mesh panel after discussion
with Ton on IRC. This feature was old, something of a hack and didn't really
work well with the modifier stack. To paraphrase Ton: We want to make blender
higher quality, so poorly thought out code should be removed, or replaced
with decent implementations.

13 years agoAnother 3-in-one commit:
Ton Roosendaal [Wed, 6 Dec 2006 11:17:34 +0000 (11:17 +0000)]
Another 3-in-one commit:

- Unitialized variable in new shadow code caused Sun lamp shadow to not
  work.
- Ipo handle bug: when the handle was vertical it flipped around
- Loop select: unitialized variable caused it to work unpredictable in
  cases. Also found an unitialized var in collaps_edgeuvs().

13 years agoThree fixes:
Ton Roosendaal [Wed, 6 Dec 2006 09:56:20 +0000 (09:56 +0000)]
Three fixes:

- Crash, caused by commit of 1 hour ago to fix 'All Z' render problem
- Bug: yesterday's fix for node material renders caused some issues with
  precalculating correct shadow.
- Composite Translate node: input sockets allowed multiple inputs

13 years agoFix Debug build failure with ffmpeg enabled on MSVC 8
Jacques Beuarain [Wed, 6 Dec 2006 09:48:27 +0000 (09:48 +0000)]
Fix Debug build failure with ffmpeg enabled on MSVC 8

13 years agoCMake: Errors during generation with verse turned off
Jacques Beuarain [Wed, 6 Dec 2006 09:24:13 +0000 (09:24 +0000)]
CMake: Errors during generation with verse turned off

13 years agoCMake: Provide better control over Python versions and library locations for both...
Jacques Beuarain [Wed, 6 Dec 2006 08:52:43 +0000 (08:52 +0000)]
CMake: Provide better control over Python versions and library locations for both Mac and Unix and add to documentation

13 years agoRender error: option "All Z" for render layers crashed. I forgot it uses
Ton Roosendaal [Wed, 6 Dec 2006 08:10:13 +0000 (08:10 +0000)]
Render error: option "All Z" for render layers crashed. I forgot it uses
face index -1 for it... :)

13 years ago* Simple fix for bug #5347, edit mode undo didn't redraw the 3D View header
Matt Ebb [Wed, 6 Dec 2006 06:47:59 +0000 (06:47 +0000)]
* Simple fix for bug #5347, edit mode undo didn't redraw the 3D View header

13 years ago== Auto-Keyframing 'Needed' ==
Joshua Leung [Wed, 6 Dec 2006 04:41:14 +0000 (04:41 +0000)]
== Auto-Keyframing 'Needed' ==

A little tweak to the way this works. Now it only tries to insert keyframes
in the ipo curves related to the transform which triggered auto-keying.

13 years ago== NLA Editor ==
Joshua Leung [Wed, 6 Dec 2006 03:38:28 +0000 (03:38 +0000)]
== NLA Editor ==

Fix for a few alpha problems with icons beside channels when markers are drawn

13 years ago== Action Editor ==
Joshua Leung [Wed, 6 Dec 2006 03:04:34 +0000 (03:04 +0000)]
== Action Editor ==

Fix for a few alpha problems with lock icons when markers are drawn

13 years ago== Action Editor ==
Joshua Leung [Wed, 6 Dec 2006 02:37:32 +0000 (02:37 +0000)]
== Action Editor ==

Now it is possible to 'protect' action channels and constraint channels.
* When a channel is 'protected', the only operation possible on keyframes
is selection. All other operations are not able to be performed.
* The padlock to the right of each channel's name toggles the protection
status of that channel. You can only alter the protection status of one
channel at a time.

Todos:
* Menus still pop up when trying to do stuff to keyframes even if
all the keyframes selected are from protected channels.
* Shapekey channels shown in action editor should also get locks

13 years agoShift+Tab should exit sculptmode (same as for other modes)
Nicholas Bishop [Wed, 6 Dec 2006 02:28:15 +0000 (02:28 +0000)]
Shift+Tab should exit sculptmode (same as for other modes)

13 years agoAdded slider for the Draw brush that modifies the direction vertices are pulled in...
Nicholas Bishop [Wed, 6 Dec 2006 02:10:27 +0000 (02:10 +0000)]
Added slider for the Draw brush that modifies the direction vertices are pulled in relation to the view.

13 years agoCorrectly propagate selection when switching multires levels on an editmesh.
Nicholas Bishop [Wed, 6 Dec 2006 01:29:15 +0000 (01:29 +0000)]
Correctly propagate selection when switching multires levels on an editmesh.

13 years agoCMake: Proper bundle for blender binary for Mac OS X and just keep blenderplayer...
Jacques Beuarain [Wed, 6 Dec 2006 00:28:13 +0000 (00:28 +0000)]
CMake: Proper bundle for blender binary for Mac OS X and just keep blenderplayer as regular binary as with download from blender3d.org

13 years agoadded missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly.
Kent Mein [Wed, 6 Dec 2006 00:04:53 +0000 (00:04 +0000)]
added missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly.

Kent

13 years agoFixed bug #5361, multiple 3d views additional cursors in wrong place
Nicholas Bishop [Tue, 5 Dec 2006 23:49:58 +0000 (23:49 +0000)]
Fixed bug #5361, multiple 3d views additional cursors in wrong place

13 years agoAnother multires triangle fix
Nicholas Bishop [Tue, 5 Dec 2006 23:36:05 +0000 (23:36 +0000)]
Another multires triangle fix

13 years agoFixed broken triangle handling in multires.
Nicholas Bishop [Tue, 5 Dec 2006 23:25:45 +0000 (23:25 +0000)]
Fixed broken triangle handling in multires.

13 years agoUpdated the vertex color and mtface handling in multires.c to work with editmesh.
Nicholas Bishop [Tue, 5 Dec 2006 23:01:01 +0000 (23:01 +0000)]
Updated the vertex color and mtface handling in multires.c to work with editmesh.

This is the last of the changes needed to support all the EditMesh data that
previously worked only with the regular Mesh, so this should fix bug #5331,
Various problems with Editmode Undo and Multi-Resolution Meshes.

13 years agoNode editor: when adding a new node, automatic links are created:
Ton Roosendaal [Tue, 5 Dec 2006 21:33:56 +0000 (21:33 +0000)]
Node editor: when adding a new node, automatic links are created:

- from all selected nodes
- only connections between highest order socket types; so if there's RGBA
  and Value sockets, only RGBA sockets are connected. This because in
  these cases the Value sockets usually are for user input.
  Example: Mix node.

Thanks Trip for the hint!

13 years agoNode shaders bug: using 'shadeless' material inside of node tree, a mode
Ton Roosendaal [Tue, 5 Dec 2006 19:47:45 +0000 (19:47 +0000)]
Node shaders bug: using 'shadeless' material inside of node tree, a mode
flag messed up that tried to detect if shadow was needed.

13 years agoBugfix, irc report:
Ton Roosendaal [Tue, 5 Dec 2006 18:58:58 +0000 (18:58 +0000)]
Bugfix, irc report:

OSA 16 crashed. Wrong sizeof() for memset...

13 years ago==== MSVC 7 project files ====
Andrea Weikert [Tue, 5 Dec 2006 18:35:03 +0000 (18:35 +0000)]
==== MSVC 7 project files ====
- small update for added files shadeinput.c and shadeoutput.c

13 years agoTwo more fixes for pass composite:
Ton Roosendaal [Tue, 5 Dec 2006 18:27:43 +0000 (18:27 +0000)]
Two more fixes for pass composite:

- Blur nodes didn't accept RGB buffers (only RGBA or single channel ones)
- Mix node had maximum for 'mix' on 1.0, for passes edit that could become
  more, made it 5!

13 years agoTwo fixes:
Ton Roosendaal [Tue, 5 Dec 2006 18:02:43 +0000 (18:02 +0000)]
Two fixes:

- Shaded view was black, needed to tell it to use 'combined' pass :)
- Crash when deleting in compositor all nodes with an output.

13 years agoModifier Stack: Limit calculation to required data.
Ben Batt [Tue, 5 Dec 2006 17:42:03 +0000 (17:42 +0000)]
Modifier Stack: Limit calculation to required data.
This commit upgrades the modifier stack to only calculate the data which is
needed, either by modifiers further down the stack or by other functions at
the end of the stack (e.g. drawing functions).

This speeds up modifier stack recalculation, especially where vertex
groups and UV coordinates are concerned. For example, a mesh with an Armature
modifier followed by a Subsurf modifier would previously have required the
Subsurf modifier to interpolate all the vertex groups in the mesh, slowing
down modifier calculations considerably. With this update, vertex group data
is not propagated beyond the Armature modifier, so calculations are faster.

Note that this depends on the order of modifiers in the stack. If the Armature
and Subsurf modifiers were swapped in the above example, the Subsurf modifier
would have to interpolate vertex groups, as they are needed by the Armature
modifier.

13 years agoDamn! Commit for render passes in wrong dir....
Ton Roosendaal [Tue, 5 Dec 2006 16:44:57 +0000 (16:44 +0000)]
Damn! Commit for render passes in wrong dir....

13 years agoNext stage of RenderPipe refactor: now everything within the pixel was
Ton Roosendaal [Tue, 5 Dec 2006 16:43:01 +0000 (16:43 +0000)]
Next stage of RenderPipe refactor: now everything within the pixel was
tackled.

Resulting features:
- render passes
- new pass: Object Index, for masking
- sub-sample alpha masks

Docs:
http://mediawiki.blender.org/index.php/BlenderDev/RenderPipeline
http://www.blender3d.org/cms/Render_Passes.829.0.html
http://www.blender3d.org/cms/New_Render_features.774.0.html

Note that these changes might mean things to not render fully identical...
For the next days a lot of testing is needed!

13 years agoSome more action editor goodies:
Joshua Leung [Tue, 5 Dec 2006 05:25:34 +0000 (05:25 +0000)]
Some more action editor goodies:

* Now it is possible to invert the selection status of keyframes and markers.
These options can only be found in the Select menu in the header.

* It is also possible to select the keyframes that occur within the 2
'extreme' selected markers. Hotkey for this is Ctrl K

13 years ago== Action Editor - Column Select Tools ==
Joshua Leung [Tue, 5 Dec 2006 03:48:39 +0000 (03:48 +0000)]
== Action Editor - Column Select Tools ==

Now it is possible to column select keyframes that occur on the
same frame as selected markers with the hotkey: SHIFT K

More selection goodies to come :-)