blender.git
13 years agoCMake: Fix FFMPeg/OpenEXR issues in CMake system and possibly the others. OpenEXR...
Jacques Beuarain [Sat, 18 Nov 2006 02:48:18 +0000 (02:48 +0000)]
CMake: Fix FFMPeg/OpenEXR issues in CMake system and possibly the others. OpenEXR can be linked in DEBUG mode on Windows using the libraries in CVS and stub.

13 years agoCMake: Prepare for ffmpeg introduction in CMake system (CMake and Windows). Also...
Jacques Beuarain [Sat, 18 Nov 2006 02:44:43 +0000 (02:44 +0000)]
CMake: Prepare for ffmpeg introduction in CMake system (CMake and Windows). Also fix release with debug info builds for MS builds.

13 years agoCMake: Do not create dummy dna.ca on initial run in wrong place for blender app
Jacques Beuarain [Sat, 18 Nov 2006 02:40:36 +0000 (02:40 +0000)]
CMake: Do not create dummy dna.ca on initial run in wrong place for blender app

13 years ago=ID Properties Compile Fix=
Joseph Eagar [Sat, 18 Nov 2006 02:18:40 +0000 (02:18 +0000)]
=ID Properties Compile Fix=

The sanity check I added for rare 64-bit cases where sizeof(int)==8
wasn't working so well; part of the code wasn't even committed
(the function BLO_test_64bits I wrote specifically) and since 64-bit
systems like those are so rare and since the code seemed kindof bad,
I just cut it all out.

13 years agoBugfix for:
Alexander Ewering [Sat, 18 Nov 2006 01:45:47 +0000 (01:45 +0000)]
Bugfix for:

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

If the path to Blender contained whitespace, various places which called
the Blender executable wouldn't run. Now the path to the executable
should be quoted correctly everywhere.

If this breaks anything on other platforms, please shout :)

13 years agoCMake: Remove mkprot directory. Accidentally left this in from earlier development.
Jacques Beuarain [Fri, 17 Nov 2006 23:25:15 +0000 (23:25 +0000)]
CMake: Remove mkprot directory. Accidentally left this in from earlier development.

13 years agoFix for sculptmode drawing error, where the brush was incorrectly shown with a textur...
Nicholas Bishop [Fri, 17 Nov 2006 22:12:38 +0000 (22:12 +0000)]
Fix for sculptmode drawing error, where the brush was incorrectly shown with a texture after it had been deactivated.

13 years agoThis reverts the dependancy stuff I did for make -j#
Kent Mein [Fri, 17 Nov 2006 18:29:46 +0000 (18:29 +0000)]
This reverts the dependancy stuff I did for make -j#

It was causing all of blender to be rebuilt every single time.
Need to do more to figure it out before we add this back in.

Kent

13 years agoFix for use of an unitialised variable, added this myself some time ago
Brecht Van Lommel [Fri, 17 Nov 2006 18:17:56 +0000 (18:17 +0000)]
Fix for use of an unitialised variable, added this myself some time ago
changing to threaded MEM_malloc.

13 years agoThis updates the Makefiles for verse so they use the blender compiler
Kent Mein [Fri, 17 Nov 2006 18:12:12 +0000 (18:12 +0000)]
This updates the Makefiles for verse so they use the blender compiler
settings, and build system.  Now it builds the library in obj just like
other stuff instead of the source tree directly.
Its not doing the dynamic building of specific c files but JesterKing said
this should be ok.  So whine at him if its not.... ;)

Kent

13 years agoGet rid of various warnings with gcc under linux
Ken Hughes [Fri, 17 Nov 2006 17:50:43 +0000 (17:50 +0000)]
Get rid of various warnings with gcc under linux

13 years agoA fix for an indentation error, and better handling of faces with
Chris Want [Fri, 17 Nov 2006 16:11:03 +0000 (16:11 +0000)]
A fix for an indentation error, and better handling of faces with
images when materials are defined for the face (i.e., only use
the image as a texture in this case if 'Texface' is selected
for the material).

13 years agoCMake: More fixes was needed to get Quicktime working. CMakeCache.txt was fooling me.
Jacques Beuarain [Fri, 17 Nov 2006 13:07:44 +0000 (13:07 +0000)]
CMake: More fixes was needed to get Quicktime working. CMakeCache.txt was fooling me.

13 years agoYuck, a very ancient crasher in going area-full screen in Blender.
Ton Roosendaal [Fri, 17 Nov 2006 12:44:15 +0000 (12:44 +0000)]
Yuck, a very ancient crasher in going area-full screen in Blender.
I wonder how this survived so long in Blender... (2005/03/09 commit).

Reason was the call to BPY_free_screen_spacehandlers(sc) in kernel,
which was freeing up scripthandlers in a weird way. That call is
really obsolete. The real freeing should go in the del_area() call,
to prevent copying and deleting area in the UI to go wrong.

(Crash happened in testing timeline markers, and holding CTRL+Uparrow
a while...)

13 years agoForgot to include the BSE_time.h here.
Ton Roosendaal [Fri, 17 Nov 2006 12:25:34 +0000 (12:25 +0000)]
Forgot to include the BSE_time.h here.

13 years agoFixes for Time Marker support in Action window;
Ton Roosendaal [Fri, 17 Nov 2006 11:56:00 +0000 (11:56 +0000)]
Fixes for Time Marker support in Action window;

- now draws on correct height
- selection is clipped correctly (did entire height)
- made showing scene markers default

Actually this implementation should have been a patch review... it was
done with entirely duplicating the code from timeline.c, whilst re-use
and generalizing markers has a preference. That way markers can become
supported in any time-based editor.

Will send an extensive review to Joshua Leung :)

13 years agoCMake: Oops, committed the wrong macros file in initial submit. This is the one...
Jacques Beuarain [Fri, 17 Nov 2006 11:35:25 +0000 (11:35 +0000)]
CMake: Oops,  committed the wrong macros file in initial submit. This is the one with proper Quicktime linkage.

13 years agoRemoved blender/CMakeLists.txt . Directory used by make. Turns out this file is an...
Jacques Beuarain [Fri, 17 Nov 2006 11:33:45 +0000 (11:33 +0000)]
Removed blender/CMakeLists.txt . Directory used by make. Turns out this file is an artifact from the initial development and the blender application list is in source/creator anyway.

13 years ago=ID Properties Python Update=
Joseph Eagar [Fri, 17 Nov 2006 08:19:58 +0000 (08:19 +0000)]
=ID Properties Python Update=

IDProperties now have a sanity check to prevent different ID properties
in the same group from having the same name.  The appropriate code has been
added to the python bindings to catch this and raise an error.

13 years ago=ID Properties Small Python Update=
Joseph Eagar [Fri, 17 Nov 2006 07:50:24 +0000 (07:50 +0000)]
=ID Properties Small Python Update=

This commit adds a new constant dict to the top Blender module
called PropertyTypes.  This dict represents all the ID Property
constants: STRING, INT, FLOAT, ARRAY and GROUP.

Further python work, including epydocs, are forthcoming.

13 years ago=ID Properties MSVC Project Files Update=
Joseph Eagar [Fri, 17 Nov 2006 06:28:55 +0000 (06:28 +0000)]
=ID Properties MSVC Project Files Update=

This commit updates the MSVC project files (both sets of them) to build
with ID Properties.  Please test!

13 years ago=ID Properties Update=
Joseph Eagar [Fri, 17 Nov 2006 06:14:15 +0000 (06:14 +0000)]
=ID Properties Update=

This commit adds file reading/writing of ID properties to all ID types,
and also adds python access for NMesh, Mesh, Scene and Image.  Note
that the file reading code might need some more work for certain
future/planned features to save right.  Also I updated a few comments in idprop.c.

13 years agoFixed the delete texture button for sculptmode textures
Nicholas Bishop [Fri, 17 Nov 2006 04:47:39 +0000 (04:47 +0000)]
Fixed the delete texture button for sculptmode textures

13 years ago=ID Properties=
Joseph Eagar [Fri, 17 Nov 2006 04:46:48 +0000 (04:46 +0000)]
=ID Properties=

This commit adds supports for per-ID properties to blender.
See http://mediawiki.blender.org/index.php/BlenderDev/ID_Property
for more information on how it all works.

ID properties are accesable by python; but note that
bindings have only been added to Object and Material thus
far.  However adding more bindings is easy and I plan
on adding several more hopefully within an hour of this inital
commit.

A generic UI panel is also planned, that will go wherever its
needed; for example in the material buttons, editing buttons, etc.
I'll likely submit the initial code for that as a patch, though,
so matt and ton and others can go over it and make sure it's
all good. :)

VERY important, if you intend to use ID properties please
go to http://mediawiki.blender.org/index.php/BlenderDev/PropertyStandards
and start writing the appropriate standards for it.

13 years agoCMake lists initial submission. Documentationand further verification for different...
Jacques Beuarain [Fri, 17 Nov 2006 02:27:12 +0000 (02:27 +0000)]
CMake lists initial submission. Documentationand further verification for different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on.

13 years agoThis commit adds some missing features to markers in action editor,
Joshua Leung [Thu, 16 Nov 2006 23:15:06 +0000 (23:15 +0000)]
This commit adds some missing features to markers in action editor,
and also fixes some further segfaults.

Now it is possible to 'surf' (jump) to different markers. This is only
possible through the hotkeys for this:
* Page Up - Next Marker
* Page Down - Previous Marker

These hotkeys match the ones in the timeline. In order to do so,
I've had to reassign two (rarely used/obscure) hotkeys:
* 'Ctrl Page Up' is now move selected action channel up (was Page Up)
* 'Ctrl Page Down' is no move selected action channel down (was Page Down)
I should also mention here that
* 'Shift Page Up' is move action channel to top
* 'Shift Page Down' is move action channel to bottom

13 years agoNew Compo node: the Split-Viewer, showing two images halves to compare.
Ton Roosendaal [Thu, 16 Nov 2006 21:50:35 +0000 (21:50 +0000)]
New Compo node: the Split-Viewer, showing two images halves to compare.
Works internally already with masks, so we can have several builtin
types.

13 years ago== Sequencer ==
Peter Schlaile [Thu, 16 Nov 2006 21:40:30 +0000 (21:40 +0000)]
== Sequencer ==

Fix for the fix. Added "Transform" twice. Ouchie!

13 years agoAdded group.layers bitfield to the python API
Campbell Barton [Thu, 16 Nov 2006 21:38:08 +0000 (21:38 +0000)]
Added group.layers bitfield to the python API

13 years ago== Sequencer ==
Peter Schlaile [Thu, 16 Nov 2006 21:36:04 +0000 (21:36 +0000)]
== Sequencer ==

Fixes Bug #5239 reported by Anders Gudmundson:
- Sequencer eats memory like popcorn with metastrips
- Crash on gaps in metastrips

Both were introduces by my last patch that added "Speed Control".

I also forgot to add "Speed Control" and "Color" to the "Add"-menu.
(Simply haven't noticed, I use the spacebar all the time...)

13 years agoMore Softbodies
Jens Ole Wund [Thu, 16 Nov 2006 20:57:02 +0000 (20:57 +0000)]
More Softbodies

Added a less 'strict' solver step size control.
Cuts down needed loops to a 1/5 in 'regular' collision situations.
So why be a maths smartass when we want to do a skirt in a breeze :)
Is on by default, old mode can be turned on with the 'O' button beside the RK-limit.

Some minor fixes to the UI

13 years agoNew stuff:
Ton Roosendaal [Thu, 16 Nov 2006 20:55:11 +0000 (20:55 +0000)]
New stuff:

- Weight paint options now also show in Nkey panel
- added uiNewPanelTitle() in interface API to rename panels. In use now
  for the Nkey panel title.
  (Note: original name is identifier, do not change that)

13 years agoBugfix: sequencer scrubbing crashed in cache limitor, missing NULL check.
Ton Roosendaal [Thu, 16 Nov 2006 20:23:29 +0000 (20:23 +0000)]
Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check.

13 years agoPlumiferos request (and useful :)
Ton Roosendaal [Thu, 16 Nov 2006 20:23:00 +0000 (20:23 +0000)]
Plumiferos request (and useful :)

Static particle option: maximum length. Button is next to "Vect" in first
particle panel. This allows weird forcefields and wind to act without
extreme long strands.

13 years agoAdded dependency to make destination directory before compiling a file.
Kent Mein [Thu, 16 Nov 2006 18:28:57 +0000 (18:28 +0000)]
Added dependency to make destination directory before compiling a file.
This is needed for make -j#   where # is > 1
This doesn't totally fix everything for make -j2 but it makes things
mostly work.

Kent

13 years agoRemoved the "insert between" function from my patch, as agreed, it was
Brecht Van Lommel [Thu, 16 Nov 2006 14:41:43 +0000 (14:41 +0000)]
Removed the "insert between" function from my patch, as agreed, it was
too confusing. The same thing can be done using "reassing inputs" from
the same patch.

13 years agoBug/patch #5244, by Juho
Ton Roosendaal [Thu, 16 Nov 2006 11:55:05 +0000 (11:55 +0000)]
Bug/patch #5244, by Juho

The pulldown options for adding new Matte compo nodes.

13 years agoCorrection commit, didn't have the console in correct directory!
Ton Roosendaal [Thu, 16 Nov 2006 11:49:14 +0000 (11:49 +0000)]
Correction commit, didn't have the console in correct directory!
Log again:

 Log:
  1)
  Bugfix: Beziers in curve didn't calculate the tilt values correctly for
  the endpoint and not for all handle types. That way deforming curves didn't
  extend the tilted deform either. (IRC report by Jahka)

  2)
  If you setup a Proxy for Armatures, the protected bones now have an error
  pupup for buttons and for some of the tools in 3d window (constraint edit
  mostly).
  Also the Bones Panel shows a note when the bone is not editable.

13 years agoBugfix #5243
Ton Roosendaal [Thu, 16 Nov 2006 11:43:46 +0000 (11:43 +0000)]
Bugfix #5243

The (#ifdef WITH_ICONV) option to draw International Fonts in file window,
didn't set the rasterpos OK for textured fonts.

Also: cleaned up code so it doesn't complain soo much without iconv.

13 years agoPlumiferos request; additional option for subsurf hotkey.
Ton Roosendaal [Thu, 16 Nov 2006 10:36:45 +0000 (10:36 +0000)]
Plumiferos request; additional option for subsurf hotkey.

Now alt+shift+o only toggles the 3d view subsurf flag, rendering remains
subsurfed.

13 years ago1)
Ton Roosendaal [Thu, 16 Nov 2006 10:24:26 +0000 (10:24 +0000)]
1)
Bugfix: Beziers in curve didn't calculate the tilt values correctly for
the endpoint and not for all handle types. That way deforming curves didn't
extend the tilted deform either. (IRC report by Jahka)

2)
If you setup a Proxy for Armatures, the protected bones now have an error
pupup for buttons and for some of the tools in 3d window (constraint edit
mostly).
Also the Bones Panel shows a note when the bone is not editable.

13 years agoSome more action editor marker bugfixes:
Joshua Leung [Thu, 16 Nov 2006 09:48:53 +0000 (09:48 +0000)]
Some more action editor marker bugfixes:

* (De)select all markers now works normally
* RMB click-drag in action editor when no markers caused segfault

13 years agoAction Editor Markers Bugfix:
Joshua Leung [Thu, 16 Nov 2006 04:22:17 +0000 (04:22 +0000)]
Action Editor Markers Bugfix:

Now it is possible to select multiple markers in action editor when doing
Shift + RMB click.

13 years ago== Action Editor Makers ==
Joshua Leung [Thu, 16 Nov 2006 04:01:01 +0000 (04:01 +0000)]
== Action Editor Makers ==

* There is now a feature to (de)select all markers. Can be found in menu or
via the hotkey Ctrl A
* The 'Markers' menu is now not drawn when marker set is 'None'
* Some other minor code cleanups

Additional Notes:
* I'm still trying to track down the cause of a bug which means that you can't
select more than one marker (with RMB clicks) at once. For now, just use
borderselect

13 years agoBugfixes for previous commit:
Joshua Leung [Thu, 16 Nov 2006 02:39:43 +0000 (02:39 +0000)]
Bugfixes for previous commit:

* Now Blender doesn't segfault when trying to add a marker to nowhere.
(Missing checks for NULL marker lists)

* Line widths should now not be widened after drawing markers.

Thanks malefico and Plumiferos team for testing

13 years agoFixed bug #5235, "deleting edges, verts, or faces in multires does bizarre things...
Nicholas Bishop [Wed, 15 Nov 2006 22:24:05 +0000 (22:24 +0000)]
Fixed bug #5235, "deleting edges, verts, or faces in multires does bizarre things to mesh"

Added a simple check to a number of editing operations. If multires is enabled,
an error is displayed and the operation is cancelled. This includes adding and
deleting verts/edges/faces, and anything that would reorder elements.

13 years agofixed error that was caused by 2 vertex loops center being 0.0 distance apart, also...
Campbell Barton [Wed, 15 Nov 2006 21:12:53 +0000 (21:12 +0000)]
fixed error that was caused by 2 vertex loops center being 0.0 distance apart, also made the python 2.3 syntax default.

13 years ago- Previews for composite nodes didn't scale correct for portrait sized
Ton Roosendaal [Wed, 15 Nov 2006 16:55:40 +0000 (16:55 +0000)]
- Previews for composite nodes didn't scale correct for portrait sized
  images (should make it narrow then)

- Forgot to press 'save' for changes in Juho's flip node, previous commit

13 years agoPatch #5166, Juho V (bebraw)
Ton Roosendaal [Wed, 15 Nov 2006 15:18:06 +0000 (15:18 +0000)]
Patch #5166, Juho V (bebraw)

New Composite Node: Flip (X/Y/both)

13 years agoPatch #2307, by Bob Holcomb
Ton Roosendaal [Wed, 15 Nov 2006 14:41:04 +0000 (14:41 +0000)]
Patch #2307, by Bob Holcomb

Loadsa new compo nodes, most added in new menu "Mattes".

- Seperate into YCC
- Combine YCC
- Seperate into YUV
- Combine YUV

- (Chroma) Difference Matte
- Chroma Key
- Luminance Key

- Color Spill correction

Main problem is missing docs still... Bob is working on it, he'll also
make tooltips for all buttons.
Some UI things might change too, like more clear names.

13 years agoBugfix #5232
Ton Roosendaal [Wed, 15 Nov 2006 11:21:17 +0000 (11:21 +0000)]
Bugfix #5232

An oldie; if you have a referenced (lib-linked) scene, and copy that one
(use "Full Copy"), the objects in that scene disappeared after saving.
Caused by manual increasing id->us, instead of using the library.c call
id_us_plus(). The latter keeps track of linking issues.

13 years agoBugfix #5230
Ton Roosendaal [Wed, 15 Nov 2006 11:10:00 +0000 (11:10 +0000)]
Bugfix #5230

Vertex Parent option didn't have index correction for editing Meshes.
That caused the parenting to flip around when you deleted or added stuff.

13 years ago== Action Editor ==
Joshua Leung [Wed, 15 Nov 2006 10:41:28 +0000 (10:41 +0000)]
== Action Editor ==

A Plumiferos wishlist item: Markers working in the Action Editor too.

* The user can choose between displaying the scene markers (i.e. the
markers shown in the timeline) or the markers specific to each action,
by using the next list box on the action editor header. This is specific
to each instance of the action editor.

* The display of the markers currently still needs improvement. At the
moment, the triangle icons + text are drawn below all the last row of
keyframes. As such, I've made it draw yellow vertical lines which
span the height of the action editor, to also indicate markers.
Comments on this and also help getting the triangle thingies to 'float'
above the bottom scroll bar are warmly appreciated.

* There are a few minor update issues with editing a marker in the
timeline and the markers in the action editor which will be fixed soon.

* There are also a few hotkeys to still add.

Enjoy!

13 years agoBugfix #5224
Ton Roosendaal [Wed, 15 Nov 2006 10:02:57 +0000 (10:02 +0000)]
Bugfix #5224

Prob: selection sometimes gave wrong edges/faces

Selection code for editmesh was still using a short for calculating the
distance of a projected vertex/edge/face from the mouse position. In
zoomed in cases that'll give overflows and unpredictable results.

It was fixed only half before... now all shorts are removed for distance
calculus.

13 years agoBugfix, own collection.
Ton Roosendaal [Wed, 15 Nov 2006 08:38:46 +0000 (08:38 +0000)]
Bugfix, own collection.

Option "Make duplicators real" (shift+ctrl+a) didn't work for Group-dupli,
the relations between objects and modifiers were not restored.

13 years agoGroup duplicator fix: the invisible group objects didn't draw, but were
Ton Roosendaal [Wed, 15 Nov 2006 08:20:53 +0000 (08:20 +0000)]
Group duplicator fix: the invisible group objects didn't draw, but were
still visible in render.

13 years agoWoops, I think I committed some wrong versions of the *nix icons the first time,
Matt Ebb [Wed, 15 Nov 2006 03:43:47 +0000 (03:43 +0000)]
Woops, I think I committed some wrong versions of the *nix icons the first time,
trying again now.

13 years agoFixed the retopo tool for adding vertices by CTRL+click in editmode
Nicholas Bishop [Tue, 14 Nov 2006 23:17:19 +0000 (23:17 +0000)]
Fixed the retopo tool for adding vertices by CTRL+click in editmode

13 years agoGroup Proxy: now drivers from proxy to Shape keys work :)
Ton Roosendaal [Tue, 14 Nov 2006 21:06:11 +0000 (21:06 +0000)]
Group Proxy: now drivers from proxy to Shape keys work :)

13 years agoFixes in commit for Group Proxy feature;
Ton Roosendaal [Tue, 14 Nov 2006 20:41:38 +0000 (20:41 +0000)]
Fixes in commit for Group Proxy feature;

- Groups with hidden parts didn't render OK
- Layer buttons sent out wrong events

13 years agoBugfix in group-proxy, Deleting objects didn't reset proxy pointers.
Ton Roosendaal [Tue, 14 Nov 2006 18:50:23 +0000 (18:50 +0000)]
Bugfix in group-proxy, Deleting objects didn't reset proxy pointers.

13 years agoNew behaviour for SHIFT+O (set subsurf on/off) or CTRL+0/1/2/3/4 for level.
Ton Roosendaal [Tue, 14 Nov 2006 18:13:34 +0000 (18:13 +0000)]
New behaviour for SHIFT+O (set subsurf on/off) or CTRL+0/1/2/3/4 for level.

- Now works on selection of Objects (as do allmost all hotkeys)
- If multiple selected have different settings, it sets all the same
- Also does subsurf settings within a dupli-group

13 years agoNew dupli-group feature: you can now set in Groups the layers you want
Ton Roosendaal [Tue, 14 Nov 2006 17:16:15 +0000 (17:16 +0000)]
New dupli-group feature: you can now set in Groups the layers you want
a group to show when used for duplicators. Is in the Object Buttons,
"Object and Links" panel. Note that the duplicator layer itself still
defines still visiblitily of entire group.

13 years agoPython API:
Ken Hughes [Tue, 14 Nov 2006 16:36:45 +0000 (16:36 +0000)]
Python API:

Bugfix #5172: removed nmesh.addEdgesData() from documentation (the method was
removed in Blender 2.40 release)

13 years agoNew rule for append/reference Armature objects: the custom shapes get
Ton Roosendaal [Tue, 14 Nov 2006 16:29:03 +0000 (16:29 +0000)]
New rule for append/reference Armature objects: the custom shapes get
automatically loaded as well.

13 years agoPython API
Ken Hughes [Tue, 14 Nov 2006 15:58:17 +0000 (15:58 +0000)]
Python API

Bugfix #4989: some Python types were not correctly initialized, resulting in
segfaults when "type()" was used.  Added missing initialization to Type.c.
Thanks to Fernando (fbs) for tracking this down.

13 years agoNext level of Proxy support for animation: Proxy for duplicated groups.
Ton Roosendaal [Tue, 14 Nov 2006 15:27:43 +0000 (15:27 +0000)]
Next level of Proxy support for animation: Proxy for duplicated groups.

Notes:
- Only referenced groups (from other files)
- Only 1 group (no more duplicates using same group yet)
- Only Proxy working well for Armature or Empty

Is going to be reviewed in Plumiferos team; but target is that this will
solve a major animation pipeline bottleneck :)

Usage; select group, alt+ctrl+p, pick an object you want to proxify.

13 years ago* undo commit from 27th of October. Fixing the long-paths issue worked only on a...
Nathan Letwory [Tue, 14 Nov 2006 05:47:52 +0000 (05:47 +0000)]
* undo commit from 27th of October. Fixing the long-paths issue worked only on a number of boxes, so from now on the BF_BUILDDIR=c:\b -way is the only way to properly get Blender built with scons/mingw.

13 years agoTweaked the makefile build system to copy the new freedesktop icons
Matt Ebb [Tue, 14 Nov 2006 04:29:04 +0000 (04:29 +0000)]
Tweaked the makefile build system to copy the new freedesktop icons
into an icons folder in the release package on linux, freebsd and openbsd
when doing 'make release'.

13 years agoAdded a great new set of Linux Blender icons, conforming to the
Matt Ebb [Tue, 14 Nov 2006 04:16:05 +0000 (04:16 +0000)]
Added a great new set of Linux Blender icons, conforming to the
freedesktop.org standard.

Many thanks to Jakub Steiner, who created these!
( http://jimmac.musichall.cz/weblog.php/Artwork/WarOnBlobs.php )

13 years ago== Script: UV Export ==
Martin Poirier [Tue, 14 Nov 2006 00:56:46 +0000 (00:56 +0000)]
== Script: UV Export ==

* SVG export support (thanks to Jarod's patch in the tracker)
* Faster tga export (from Jarod's patch too)
* Fixes from the review thread and the wiki:
** No longer adds the extension (tga or svg) if already there
** Adds the object name in between the filename and extension (and not after the extension if it was already present)
** Renamed options here and there.

13 years agoTotally ancient year zero bug:
Ton Roosendaal [Mon, 13 Nov 2006 21:43:09 +0000 (21:43 +0000)]
Totally ancient year zero bug:

Deleting one object that's referenced from other file crashes when this
object still was pointed to by other referenced data.

13 years agoPython API:
Ken Hughes [Mon, 13 Nov 2006 21:14:48 +0000 (21:14 +0000)]
Python API:

Bugfix #5075: make curve.update() recalculate bezier curve handles.  This
would/should be called after changing the handles of a BezTriple.

13 years agoAdded missing null check when freeing multires level 1 dverts
Nicholas Bishop [Mon, 13 Nov 2006 18:45:57 +0000 (18:45 +0000)]
Added missing null check when freeing multires level 1 dverts

13 years agoremoved warning in last commit
Campbell Barton [Mon, 13 Nov 2006 17:55:06 +0000 (17:55 +0000)]
removed warning in last commit

13 years agoFixed bug #5219, Undo doesn't work in Sculpt mode when modifiers are applied
Nicholas Bishop [Mon, 13 Nov 2006 17:47:57 +0000 (17:47 +0000)]
Fixed bug #5219, Undo doesn't work in Sculpt mode when modifiers are applied

Just added a missing call to update the active object.

13 years agoRemoved redundant variable declaration in my previous commit.
Alexander Ewering [Mon, 13 Nov 2006 17:39:46 +0000 (17:39 +0000)]
Removed redundant variable declaration in my previous commit.

13 years agomade mesh.getFromObject() accept a python object as well as the object name.
Campbell Barton [Mon, 13 Nov 2006 17:37:01 +0000 (17:37 +0000)]
made mesh.getFromObject() accept a python object as well as the object name.
accepting the name only was causing big problems when exporting library data, because duplicate names are possible the wrong data was exporting.

13 years agoTiny usability fix:
Alexander Ewering [Mon, 13 Nov 2006 17:31:39 +0000 (17:31 +0000)]
Tiny usability fix:

Until now, pressing ALT-A in a sequencer space without image preview was
pretty useless: It only showed an advancing green frame pointer :)

Now, if you press ALT-A over a sequencer space with strips, it will also
animate all sequence previews. So, no need to press SHIFT-ALT-A in that
situation anymore.

Of course, pressing ALT-A over a preview will still only play that preview.

Windows other than sequencer windows remain unaffected by this commit.

13 years agoTwo tiny compositor annoyances;
Ton Roosendaal [Mon, 13 Nov 2006 16:43:45 +0000 (16:43 +0000)]
Two tiny compositor annoyances;

- Image Node: after loading new file it didn't update the header name
- File-out Node: header color suggested there was only 1 'active', which
  it isn't.

13 years agoFix for bug #5220: crash on edgeloop delete.
Brecht Van Lommel [Mon, 13 Nov 2006 15:36:33 +0000 (15:36 +0000)]
Fix for bug #5220: crash on edgeloop delete.

13 years agoBugfix 5182
Ton Roosendaal [Mon, 13 Nov 2006 14:33:36 +0000 (14:33 +0000)]
Bugfix 5182

Mist option and "Ray Transp" didn't work together yet. Transparency
during tracing should not be influenced with mist though (as is for
Ztransp), so for this case an extra color blending after raytrace is
added. Still pretty primitive... mostly because mist isn't volumetric
in Blender at all... just an alpha trick.

13 years agoBugfix #5217
Ton Roosendaal [Mon, 13 Nov 2006 13:32:52 +0000 (13:32 +0000)]
Bugfix #5217

Call to refresh Image Icon on load should not be done for background
renders... crashed blender then.

13 years agoPrevious commit (Smooth Ipo) was indeed not too useful. I've
Joshua Leung [Mon, 13 Nov 2006 10:16:07 +0000 (10:16 +0000)]
Previous commit (Smooth Ipo) was indeed not too useful. I've
rewritten the code (less code now) so that it is more useful, and
doesn't just duplicate the functionality of another feature.

Now, IPO smooth works only on the selected keyframes in
selected frames. It finds the average value of all the selected
keyframes, and finds the halfway point between each keyframe
value and this average value. Handles are also automatically set
to 'aligned'.

13 years ago== IPO Editor Tools ==
Joshua Leung [Mon, 13 Nov 2006 08:56:02 +0000 (08:56 +0000)]
== IPO Editor Tools ==

* IPO Curve Smoothing:
This new tool smoothes (i.e. resets the adjusts) the handles on selected
ipo curves in ipo editor. The core code is based upon a python script
that used to do this (author unknown).

- Available from menus
- Hotkey Shift O
- Only available from ipo editor

If the usefulness of this tool is limited (adding bloat), I will consider removing it.

13 years ago==== scons ====
Andrea Weikert [Mon, 13 Nov 2006 06:40:08 +0000 (06:40 +0000)]
==== scons ====
- cleanup for wintab library headers
- properly define BF_WINTAB and BF_WINTAB_INC

13 years agoJust a few fixes to the indention of some functions (purely cosmetic code changes)
Joshua Leung [Mon, 13 Nov 2006 04:37:42 +0000 (04:37 +0000)]
Just a few fixes to the indention of some functions (purely cosmetic code changes)

13 years agoSet the default material preview type to 'sphere' for newly added materials.
Matt Ebb [Mon, 13 Nov 2006 01:24:46 +0000 (01:24 +0000)]
Set the default material preview type to 'sphere' for newly added materials.

13 years agoRemoved erroneous switch to the front buffer when reading depth values in sculptmode...
Nicholas Bishop [Sun, 12 Nov 2006 21:28:09 +0000 (21:28 +0000)]
Removed erroneous switch to the front buffer when reading depth values in sculptmode and retopo.

13 years agoupdating Bullet 2.x with latest changes. The integration + C-API will follow at some...
Erwin Coumans [Sun, 12 Nov 2006 21:05:10 +0000 (21:05 +0000)]
updating Bullet 2.x with latest changes. The integration + C-API will follow at some stage.

13 years ago- compile fix for msvc 6 which doesn't declare M_PI at all it seems.
Andrea Weikert [Sun, 12 Nov 2006 17:23:26 +0000 (17:23 +0000)]
- compile fix for msvc 6 which doesn't declare M_PI at all it seems.

13 years agobugfix
Jens Ole Wund [Sun, 12 Nov 2006 16:51:29 +0000 (16:51 +0000)]
bugfix
crash with duplicated softbodies
in copy_softbody() scratch pointer was not initialized to NULL in copy
did not know that function exists at all

13 years agoOoops, previous commit of mine forgot to commit the .h file.
Ton Roosendaal [Sun, 12 Nov 2006 16:24:59 +0000 (16:24 +0000)]
Ooops, previous commit of mine forgot to commit the .h file.

13 years agocompile fix for MSVC compiler.
Andrea Weikert [Sun, 12 Nov 2006 16:21:16 +0000 (16:21 +0000)]
compile fix for MSVC compiler.
- math.h doesn't include #define M_PI by default (_USE_MATH_DEFINES needs to be defined)

13 years agomsvc6 adding DNA_customdata_types.h to project
Jens Ole Wund [Sun, 12 Nov 2006 16:13:07 +0000 (16:13 +0000)]
msvc6 adding DNA_customdata_types.h to project

13 years agoPatch #5185, Juho V (bebraw)
Ton Roosendaal [Sun, 12 Nov 2006 13:51:28 +0000 (13:51 +0000)]
Patch #5185, Juho V (bebraw)

Convert menu for Text objects (ALT+C) now has option to directly degrade to
a Mesh.

13 years agoPatch #5184, Juho V (bebraw)
Ton Roosendaal [Sun, 12 Nov 2006 13:28:39 +0000 (13:28 +0000)]
Patch #5184, Juho V (bebraw)

One liner basically; makes toolbox pop up like in 3d window, if you've
set it to reveil on holding RMB.

13 years ago==== MSVC 7 project files ====
Andrea Weikert [Sun, 12 Nov 2006 13:04:04 +0000 (13:04 +0000)]
==== MSVC 7 project files ====
very small cleanup: add DNA_customdata_types.h header

13 years agoBugfix #5107
Ton Roosendaal [Sun, 12 Nov 2006 11:41:43 +0000 (11:41 +0000)]
Bugfix #5107

Autosmooth didn't copy additional texture coordinates such as sticky
correctly. This was part of the vertex struct in 2.41 and older, but it
became dynamic in 2.42.

13 years agoBugfix #5207
Ton Roosendaal [Sun, 12 Nov 2006 11:03:34 +0000 (11:03 +0000)]
Bugfix #5207

Silly error in code initialized envmap "Render" struct wrong. It didn't
work for ortho render, so also crashed on previews in ortho 3d window.