------------------------------------------------------------------------
r23322 | campbellbarton | 2009-09-18 04:36:23 +0200 (Fri, 18 Sep 2009) | 7 lines

use functions to detect stylus and eraser from the wine project, supposed to work with non-wacom tablets too (searches for wizardpen & acecad as well as 'stylus').
2.4x did an exact check on the name, 2.5 does a case insensitive search on the type.

This does a case insensitive check on both the name and type.

close the devices on exit too.

------------------------------------------------------------------------
r23310 | campbellbarton | 2009-09-17 18:17:32 +0200 (Thu, 17 Sep 2009) | 2 lines

backport Nicholas Bishop's 2.5 commit from r22581, stylus fails on ubuntu 9.10 without this.

------------------------------------------------------------------------
r23309 | campbellbarton | 2009-09-17 17:35:25 +0200 (Thu, 17 Sep 2009) | 2 lines

building scons blenderlite would fail when building the player

------------------------------------------------------------------------
r23294 | migius | 2009-09-17 00:13:48 +0200 (Thu, 17 Sep 2009) | 2 lines

bugfix for LineIntersectLine()
- was imperfect calculation for points marking shortest distance for non-crossing lines in 3d
------------------------------------------------------------------------
r23236 | gsrb3d | 2009-09-15 01:00:58 +0200 (Tue, 15 Sep 2009) | 3 lines

Revert endianess test to 2.49 style.
Reported by jms.

------------------------------------------------------------------------
r23193 | ben2610 | 2009-09-13 21:39:04 +0200 (Sun, 13 Sep 2009) | 1 line

BGE bug #19294: applying torque on a dynamic object turns it into a rigid body.
------------------------------------------------------------------------
r23191 | schlaile | 2009-09-13 21:22:36 +0200 (Sun, 13 Sep 2009) | 10 lines

== FFMPEG ==

fixes 2.4-branch according to trunk:

update anim->curposition even if video frame decoding failed.
Fixes nasty issues with DV-decoding on broken frames.

Also: cleans up color conversion a little bit.


------------------------------------------------------------------------
r23183 | ben2610 | 2009-09-13 17:23:50 +0200 (Sun, 13 Sep 2009) | 1 line

Update project files
------------------------------------------------------------------------
r23175 | campbellbarton | 2009-09-13 10:41:13 +0200 (Sun, 13 Sep 2009) | 5 lines

[#19290] Blender.Load(filename) -> FILE_MAXDIR to FILE_MAXDIR + FILE_MAXFILE and unused argument removed

only changed the FILE_MAXDIR -> FILE_MAXDIR + FILE_MAXFILE part
since its possible scripts use this undocumented arg.

------------------------------------------------------------------------
r23174 | campbellbarton | 2009-09-13 10:17:22 +0200 (Sun, 13 Sep 2009) | 14 lines

Patch [#19293] NearSensor: Changing distance and resetDistance from Python did not take effect immediately
from Frank Papenmeier (hodka)
 --- from the submission
Changing the distance and resetDistance Properties of a NearSensor from Python did only take effect, once there was
a collision within the old radius.

Reason:
The radius of the PHY_IPhysicsController was not set to the new values.

Solution:
It is set at the end of the CheckResetDistance function. I moved the relevant code snippet from the Evaluate function
into a new function called SetPhysCtrlRadius in order to avoid duplicating code doing the same thing.
 

------------------------------------------------------------------------
r23172 | campbellbarton | 2009-09-13 10:07:15 +0200 (Sun, 13 Sep 2009) | 3 lines

Patch [#19315], Fix for Jpeg2000 alpha channel bug [#19280]
thanks to Albertas Vyšniauskas (thezbyg)

------------------------------------------------------------------------
r23171 | campbellbarton | 2009-09-13 09:35:31 +0200 (Sun, 13 Sep 2009) | 2 lines

remove minimal twist from 2.4x, is too much in development which changed in 2.5, better keep in 2.5x then try have them in sync.

------------------------------------------------------------------------
r23145 | theeth | 2009-09-12 14:58:01 +0200 (Sat, 12 Sep 2009) | 1 line

moving trunk to branch
------------------------------------------------------------------------
r23101 | campbellbarton | 2009-09-10 04:57:25 +0200 (Thu, 10 Sep 2009) | 15 lines

Curve cleanup

Renamed BevPoint's members
* x,y,z -> vec[3]; compatible with other functions.
* f1 -> split_tag; used by displist to set the splitting flag.
* f2 -> dupe_tag; used in curve.c to remove duplicates.

BevList
* flag -> dupe_nr; was being used as a counter for duplicate points.

* use arithb.c functions where possible.

* arrays for coords, tilt and radius were being allocated, then copied into the BevPoint's, now write directly into the values without allocing/freeing arrays.


------------------------------------------------------------------------
r23084 | blendix | 2009-09-09 20:09:03 +0200 (Wed, 09 Sep 2009) | 7 lines

Small code cleanup related to curves, to avoid cryptic names:

renamed set_four_ipo -> key_curve_position_weights
renamed set_afgeleide_four_ipo -> key_curve_tangent_weights
added key_curve_normal_weights


------------------------------------------------------------------------
r23042 | campbellbarton | 2009-09-07 09:42:12 +0200 (Mon, 07 Sep 2009) | 2 lines

no functional changes, use hole rather then  dutch 'gat' for bevel lists and made some comments English.

------------------------------------------------------------------------
r23037 | dfelinto | 2009-09-06 21:51:57 +0200 (Sun, 06 Sep 2009) | 13 lines

Mathutils fix: Vector.reflect
* correct function for reflection and moving it to arithb.c
* note: 2.5 has an already more elegant solution for it (still wrong, but the code is cleaner).
Therefore the merge may need to be manual in that case.

Specifically in 2.5 we are doing:
if(!BaseMath_ReadCallback(self) || !BaseMath_ReadCallback(value)) return NULL;
And there we don't need to create a VectorObject *mirrvec; only to get the values.

Code used to test it:
http://www.pasteall.org/7654/python

* YoFrankie script probably needs to be fixed too.
------------------------------------------------------------------------
r23025 | theeth | 2009-09-06 03:11:47 +0200 (Sun, 06 Sep 2009) | 1 line

Rename Vec3ToTangent VecBisect3, since that's what it does.
------------------------------------------------------------------------
r23023 | campbellbarton | 2009-09-06 02:19:15 +0200 (Sun, 06 Sep 2009) | 21 lines

remove MTC_ functions, (don't merge)

replacements...
MTC_cross3Float -> Crossf
MTC_diff3Float -> VecSubf
MTC_dot3Float -> Inpf
MTC_Mat3CpyMat4 -> Mat3CpyMat4
MTC_Mat3MulVecd -> Mat3MulVecd
MTC_Mat3MulVecfl -> Mat3MulVecfl
MTC_Mat4CpyMat4 -> Mat4CpyMat4
MTC_Mat4Invert -> Mat4Invert
MTC_Mat4Mul3Vecfl -> Mat4Mul3Vecfl
MTC_Mat4MulMat4 -> Mat4MulMat4
MTC_Mat4MulSerie -> Mat4MulSerie
MTC_Mat4MulVec4fl -> Mat4MulVec4fl
MTC_Mat4MulVecfl -> Mat4MulVecfl
MTC_Mat4One -> Mat4One
MTC_Mat4Ortho -> Mat4Ortho
MTC_Mat4SwapMat4 -> Mat4SwapMat4


------------------------------------------------------------------------
r23019 | campbellbarton | 2009-09-05 11:54:01 +0200 (Sat, 05 Sep 2009) | 11 lines

Option to correct for 3D curve twist error. example before and after.
http://www.graphicall.org/ftp/ideasman42/curve_auto_twist.png
Access next to the "3D" edit button.

details...
- open curves use the first points orientation and minimize twist for each new segment.
- cyclic curves calculate the least twist in both directions and blend between them
- AxisAngleToQuat replaced inline code.
- Notice the model on the right now has more even corners. added Vec3ToTangent to arithb.c.


------------------------------------------------------------------------
r22958 | letterrip | 2009-09-03 00:16:00 +0200 (Thu, 03 Sep 2009) | 1 line

reverting - theeth pointed out we are in a freeze on head...
------------------------------------------------------------------------
r22957 | letterrip | 2009-09-02 23:57:27 +0200 (Wed, 02 Sep 2009) | 1 line

This is a bugfix patch by Dmitri Sviridov to skinning and animation for Collada 1.4 import/export
------------------------------------------------------------------------
r22918 | ton | 2009-08-31 20:17:06 +0200 (Mon, 31 Aug 2009) | 5 lines

Part 2 of the 2.49b commit.
We now should freeze and tag!



------------------------------------------------------------------------
r22917 | ton | 2009-08-31 20:16:18 +0200 (Mon, 31 Aug 2009) | 3 lines

Part 1 of the 2.49b commit


------------------------------------------------------------------------
r22916 | ben2610 | 2009-08-31 19:00:03 +0200 (Mon, 31 Aug 2009) | 1 line

More MSVC project file update (don't propagate those changes to 2.5).
------------------------------------------------------------------------
r22913 | ben2610 | 2009-08-31 17:54:56 +0200 (Mon, 31 Aug 2009) | 1 line

BGE bug #19020: The GE Torque actuator x -& y-axis do not work in 2.49a (winxp)
------------------------------------------------------------------------
r22912 | ben2610 | 2009-08-31 17:28:43 +0200 (Mon, 31 Aug 2009) | 1 line

BGE bug #18963: obj.sendMessage() with 4 arguments crashes Blender.
------------------------------------------------------------------------
r22911 | ben2610 | 2009-08-31 16:25:39 +0200 (Mon, 31 Aug 2009) | 1 line

Update MSVC project files.
------------------------------------------------------------------------
r22909 | campbellbarton | 2009-08-31 15:03:38 +0200 (Mon, 31 Aug 2009) | 2 lines

corrections to epydocs

------------------------------------------------------------------------
r22906 | campbellbarton | 2009-08-31 05:36:02 +0200 (Mon, 31 Aug 2009) | 8 lines

bugfix [#19254] KX_PolyProxy returns improper VertexIndex with triangles, using .getVertexIndex() and .v1, .v2, etc.

Surprising this wasn't noticed before. Any mix of quads/tris caused the face verts of either quads/tries (whichever comes last).

Tested by exporting the KX_MeshProxy and re-importing as an OBJ.

This fix assumes there are only 2 m_darray's per face array which is currently true, but wont be if edge support is added back.

------------------------------------------------------------------------
r22897 | schlaile | 2009-08-30 21:38:22 +0200 (Sun, 30 Aug 2009) | 5 lines

== Sequencer ==

Fixed hddaudio for sample formats other than 16 bit (8 bit e.g.)


------------------------------------------------------------------------
r22829 | campbellbarton | 2009-08-28 01:29:07 +0200 (Fri, 28 Aug 2009) | 3 lines

fix for crash when a parent compound object didn't get a physics controller.
also show this in the UI.

------------------------------------------------------------------------
r22814 | campbellbarton | 2009-08-27 08:55:54 +0200 (Thu, 27 Aug 2009) | 4 lines

- BGE crash fix when casting a ray to the same location as the object from python.
- Incorrect Mathutils vector docstrings.
- last rayshade commit had an incomplete comment.

------------------------------------------------------------------------
r22806 | campbellbarton | 2009-08-26 18:05:01 +0200 (Wed, 26 Aug 2009) | 6 lines

[#18837] if a sunlamp is set to a too high energy, speculars turn black

shr->spec values could be greater then 1.0, causing negative color when using (1.0-shr->spec[i]) as a blending factor.

When shr->spec[i] is 1.0 the mircol is ignored, so only mix the mircol when needed (like clamping the spec).

------------------------------------------------------------------------
r22766 | campbellbarton | 2009-08-25 14:43:25 +0200 (Tue, 25 Aug 2009) | 3 lines

removing GameLogic.EvalExpression(),
unlikely anyone will miss it, was only accessible in 2.49, invalid expressions would crash, valid ones leak memory.

------------------------------------------------------------------------
r22750 | gsrb3d | 2009-08-25 01:09:35 +0200 (Tue, 25 Aug 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r22743 | campbellbarton | 2009-08-24 13:34:48 +0200 (Mon, 24 Aug 2009) | 10 lines

EDL importer for the sequencer.
supports...
- audio and video edits
- fades, wipes, speed changes (video only)
- importing from multiple reels

example import from final cut pro.
http://www.graphicall.org/ftp/ideasman42/edl_in_blender_px.png
http://www.graphicall.org/ftp/ideasman42/edl_import_ui.png

------------------------------------------------------------------------
r22742 | campbellbarton | 2009-08-24 12:37:39 +0200 (Mon, 24 Aug 2009) | 25 lines

[#18936] Particle Related Patch
from Alberto Santos (dnakhain)

This also adds the option to duplicate a particle system with an object.

 --- description from the patch submission.

This patch includes my latest additions to the Python API developed for my Degree's Project.

It includes:
 - Particle
    - Vertex group dictionary in doc (to use with setvertexgroup/getvertexgroup)
    - Particle.New return psys (not specified in doc)
    - Draw As variable and dict
    - Strand render toggle
 - Object
   - psys variable in duplicate
 - Material
   - Strand render variables
 - Texture
   - Use colorbands
 - Lamp
   - Spot buffer type selection


------------------------------------------------------------------------
r22740 | campbellbarton | 2009-08-24 12:16:39 +0200 (Mon, 24 Aug 2009) | 5 lines

[#19029] Baking selected to active with nearby dupliframes objects crashes blender
from Jorge Hodge (watcom)

Confirmed the crash. baking didn't account for RE_RAY_TRANSFORM_OFFS in R.objectinstance.

------------------------------------------------------------------------
r22734 | jesterking | 2009-08-24 04:49:57 +0200 (Mon, 24 Aug 2009) | 3 lines

* changes to work with updated FFMPEG libs. Mainly build system. CMake files may need changing too.

NOTE: remember to svn up in lib/windows!
------------------------------------------------------------------------
r22716 | campbellbarton | 2009-08-23 08:17:59 +0200 (Sun, 23 Aug 2009) | 11 lines

Option for MouseFocus sensor. only used when 'Mouse over any' type is set.

Previously the only way to detect if the mouse moved over a different object was to enable true-level-triggering and have a python script detect the change.

When the Pulse option is set, focusing on a different object pulses true.
Python attribute is focusSensor.usePulseFocus.

This is similar to the collision sensors pulse option where changes in the set of collision objects generates an event too.

Found this functionality missing when trying to make a logic demo that used mouse-over with overlapping objects.

------------------------------------------------------------------------
r22712 | migius | 2009-08-23 01:59:50 +0200 (Sun, 23 Aug 2009) | 4 lines

patch submitted by Nicolai Wojke (nicoooo) 
[#19244] Collada importer fixes (for increased Sketchup interoperability and more)
It seems to be correct, i have here no right dae files for testing exactly this functionality.
migius
------------------------------------------------------------------------
r22704 | campbellbarton | 2009-08-22 16:19:27 +0200 (Sat, 22 Aug 2009) | 2 lines

missed this in last commit. keyboard event manager was stored twice.

------------------------------------------------------------------------
r22701 | campbellbarton | 2009-08-22 12:51:21 +0200 (Sat, 22 Aug 2009) | 3 lines

- BGE, Some sensors, stored the event manager in 2 places (became confusing to do changes in this area)
- Change compiler warnings for linux/scons/C++

------------------------------------------------------------------------
r22676 | bjornmose | 2009-08-21 14:49:21 +0200 (Fri, 21 Aug 2009) | 3 lines

bug fix #18982
non mesh objects missing initializers 

------------------------------------------------------------------------
r22668 | campbellbarton | 2009-08-21 05:06:36 +0200 (Fri, 21 Aug 2009) | 3 lines

fix for own bug added since 2.49a,
2.49a tries to remove the object from the conversion list every time. Now remove from the conversion list directly without being apart of the remove object function.

------------------------------------------------------------------------
r22625 | blendix | 2009-08-19 11:23:46 +0200 (Wed, 19 Aug 2009) | 5 lines

Upgrade extern/xvidcore to version 1.22. This fixes Xvid crashing on
linux 64 bit. I don't know if it's useful to upgrade the windows libs,
mainly committing this as a bugfix.


------------------------------------------------------------------------
r22517 | schlaile | 2009-08-16 16:52:05 +0200 (Sun, 16 Aug 2009) | 5 lines

== Sequencer ==

Forgot coverity id: CID 598


------------------------------------------------------------------------
r22516 | schlaile | 2009-08-16 16:43:30 +0200 (Sun, 16 Aug 2009) | 6 lines

== Sequencer ==

Make coverity scan happy and check for input strip on speed control map
rebuild.


------------------------------------------------------------------------
r22475 | campbellbarton | 2009-08-15 21:28:28 +0200 (Sat, 15 Aug 2009) | 3 lines

had support for single triangular brush commented when it works ok.
thanks to j michaelson for pointing out.

------------------------------------------------------------------------
r22290 | campbellbarton | 2009-08-07 05:51:28 +0200 (Fri, 07 Aug 2009) | 3 lines

gameObject -> blenderObject mapping was being created but wasnt needed.
Added utility func tag_main for (un)tagging every ID in a Main database with LIB_DOIT.

------------------------------------------------------------------------
r22281 | campbellbarton | 2009-08-07 00:24:14 +0200 (Fri, 07 Aug 2009) | 7 lines

[#19206] Fix MD2 Vertex Normal Export
from Calvin Loncaric (marvinx03)

[#18965] Blender Load and Run need fully qualified specs
[#18966] getMaterials not used
from Roger Wickes (roger)

------------------------------------------------------------------------
r22280 | campbellbarton | 2009-08-07 00:11:33 +0200 (Fri, 07 Aug 2009) | 5 lines

[#19035] New Python command to set the active flag of Armature Bones
from Ivo Grigull (loolarge)

Removed redraw calls from the python function, added epydocs.

------------------------------------------------------------------------
r22261 | campbellbarton | 2009-08-06 15:30:23 +0200 (Thu, 06 Aug 2009) | 3 lines

output the origin for each map node.
thanks to j michaelson for the patch

------------------------------------------------------------------------
r22243 | jesterking | 2009-08-05 17:21:10 +0200 (Wed, 05 Aug 2009) | 1 line

copy openal dlls
------------------------------------------------------------------------
r22236 | nexyon | 2009-08-05 16:10:29 +0200 (Wed, 05 Aug 2009) | 2 lines

Update for new OpenAL windows library.

------------------------------------------------------------------------
r22215 | campbellbarton | 2009-08-05 00:59:50 +0200 (Wed, 05 Aug 2009) | 2 lines

fix for writing to freed memory in cases where python wasn't holding a reference to the PyObject

------------------------------------------------------------------------
r22205 | campbellbarton | 2009-08-04 07:14:10 +0200 (Tue, 04 Aug 2009) | 2 lines

no need to store the physics env in each KX_GameObject

------------------------------------------------------------------------
r22201 | jesterking | 2009-08-04 03:05:31 +0200 (Tue, 04 Aug 2009) | 1 line

* apparently I forgot to update this one for the python zip copying business. Thanks to JMS for spotting.
------------------------------------------------------------------------
r22196 | jesterking | 2009-08-03 22:33:22 +0200 (Mon, 03 Aug 2009) | 1 line

* removing those zips now that they are in lib/windows/release and lib/win64/release
------------------------------------------------------------------------
r22163 | campbellbarton | 2009-08-03 01:53:53 +0200 (Mon, 03 Aug 2009) | 3 lines

* remove unused member of KX_Scene - m_objecttree
* implicit declaration of getenv in glutil.c

------------------------------------------------------------------------
r22130 | campbellbarton | 2009-08-02 05:41:42 +0200 (Sun, 02 Aug 2009) | 3 lines

- X11 tablet was using uninitialized variables.
- Added BLENDER_FORCE_SWAPBUFFERS in help message.

------------------------------------------------------------------------
r22127 | gsrb3d | 2009-08-02 01:37:51 +0200 (Sun, 02 Aug 2009) | 5 lines

Update Japanese translation.
.mo regerenated from the provided .po. Huge update, thanks a lot.

Contributed by Filiciss Muhgue.

------------------------------------------------------------------------
r22125 | gsrb3d | 2009-08-02 00:23:57 +0200 (Sun, 02 Aug 2009) | 10 lines

Allow users enabling workaround for menus with some Mesa3D drivers.
Define the env var BLENDER_FORCE_SWAPBUFFERS to enable (1, yes, oui, the
value does not matter, code just checks for existence).

The issue seems to happen with Intel and Radeon, but enabling myswapbuffers()
hack solves it (or reduces to just flicker) for now.
https://bugs.freedesktop.org/show_bug.cgi?id=21774

Reported by Philippe Van Hecke.

------------------------------------------------------------------------
r22112 | campbellbarton | 2009-08-01 11:07:45 +0200 (Sat, 01 Aug 2009) | 3 lines

sizeof() was being used incorrectly to clear X11 m_keyboard_vector, would only have 4-8 bytes cleared rather then 32.
fix for harmless memleak too.

------------------------------------------------------------------------
r22110 | campbellbarton | 2009-08-01 08:27:40 +0200 (Sat, 01 Aug 2009) | 3 lines

- Ancient resource leak (rev 2) where checkPackedFile would open a file and never close it.
- Running simulations missed freeing some variables.

------------------------------------------------------------------------
r22098 | campbellbarton | 2009-08-01 01:15:00 +0200 (Sat, 01 Aug 2009) | 2 lines

missed this line in last commit

------------------------------------------------------------------------
r22085 | scourage | 2009-07-31 14:51:18 +0200 (Fri, 31 Jul 2009) | 4 lines

Bug fix in low value setting.  Originally checked against the wrong channel (chroma) instead of the luminence channel.
Changed default value for high value to 1.0 from 0.0.
 

------------------------------------------------------------------------
r22082 | campbellbarton | 2009-07-31 11:05:13 +0200 (Fri, 31 Jul 2009) | 2 lines

remove more unneeded args, also allow ipo to animate the ref value for KX_BlenderMaterial's

------------------------------------------------------------------------
r22073 | campbellbarton | 2009-07-30 23:42:29 +0200 (Thu, 30 Jul 2009) | 2 lines

remove some unused function args

------------------------------------------------------------------------
r21979 | joeedh | 2009-07-28 19:23:45 +0200 (Tue, 28 Jul 2009) | 1 line

changed some sprintfs to strcats, thanks to Fredrik Axelsson for the patch
------------------------------------------------------------------------
r21957 | campbellbarton | 2009-07-28 03:48:10 +0200 (Tue, 28 Jul 2009) | 5 lines

[#19036] blender should use 'static inline' in BKE_cloth.h to work with C99
Török Edwin (edwintorok)

this was the only thing stopping blender being compiled with clang

------------------------------------------------------------------------
r21911 | campbellbarton | 2009-07-26 03:38:55 +0200 (Sun, 26 Jul 2009) | 3 lines

forgot to add docs, 2 new optional args.
 gameOb.replaceMesh(mesh, useDisplayMesh=True, usePhysicsMesh=False)

------------------------------------------------------------------------
r21910 | campbellbarton | 2009-07-26 03:32:37 +0200 (Sun, 26 Jul 2009) | 5 lines

ReplaceMesh Actuator option to replace the physics mesh and display mesh + python api options.

When the mesh field is left blank and Physics option is enabled, it reinstances the physics mesh from the existing mesh.
like calling gameOb.reinstancePhysicsMesh() from python.

------------------------------------------------------------------------
r21908 | campbellbarton | 2009-07-26 00:57:29 +0200 (Sun, 26 Jul 2009) | 21 lines

BGE Physics
Add support back for reinstancePhysics mesh, a frequently requested feature in the BGE forums.
from what I can tell Sumo supported this but bullet never did.
Currently only accessible via python at the moment.

- rigid body, dynamic, static types work.
- instanced physics meshes are modified too.
- compound shapes are not supported.

Physics mesh can be re-instanced from...
* shape keys & armature deformations
* subsurf (any other modifiers too)
* RAS_TexVert's (can be modified from python)

Moved the reinstancePhysicsMesh functions from RAS_MeshObject into KX_GameObject since the physics data is stored here.

video and blend file demo.
http://www.graphicall.org/ftp/ideasman42/reinstance.ogv
http://www.graphicall.org/ftp/ideasman42/reinstance_demo.blend


------------------------------------------------------------------------
r21899 | campbellbarton | 2009-07-25 22:51:45 +0200 (Sat, 25 Jul 2009) | 2 lines

fix memleak in BGE py api - action.channelNames

------------------------------------------------------------------------
r21895 | campbellbarton | 2009-07-25 21:34:38 +0200 (Sat, 25 Jul 2009) | 3 lines

- BGE Python API converting a mesh from a python arg was broken but happened to work if the uninitialized pointer was not NULL.
- iris.c - looks like a copy/paste error, was using rect where it could not have been initialized.

------------------------------------------------------------------------
r21862 | sirdude | 2009-07-24 19:17:04 +0200 (Fri, 24 Jul 2009) | 7 lines

This is patch# 19017 16bit SGI image loading
submitted by Albertas Vyšniauskas (thezbyg) 

Improves SGI image support.

Kent

------------------------------------------------------------------------
r21629 | hos | 2009-07-16 20:44:48 +0200 (Thu, 16 Jul 2009) | 2 lines

Don't link gameplayer against the decimation code (CMake).

------------------------------------------------------------------------
r21597 | schlaile | 2009-07-15 18:17:22 +0200 (Wed, 15 Jul 2009) | 8 lines

== Sequencer ==

Small fix for:

* Scene-Strip rendering with compositor scenes failed, if they
  had no camera attached...


------------------------------------------------------------------------
r21577 | campbellbarton | 2009-07-14 17:08:07 +0200 (Tue, 14 Jul 2009) | 4 lines

error in setting the alpha value when drawing text into a char buffer.

Would only show the errors with sequencer rendering with the stamp option enabled, since blenders rendering uses a float buffer.

------------------------------------------------------------------------
r21530 | dfelinto | 2009-07-11 17:50:43 +0200 (Sat, 11 Jul 2009) | 2 lines

adding functools.py to python26.zip
bug reported in BA - http://blenderartists.org/forum/showthread.php?t=161141
------------------------------------------------------------------------
r21443 | migius | 2009-07-09 00:37:49 +0200 (Thu, 09 Jul 2009) | 3 lines

mingw-config.py prepared for work with python 2.5 and 2.6 controlled by only one parameter: BF_PYTHON_VERSION.
It needs the files: libpython25.a and libpython26.a to be copied to \\lib\windows\python\lib\

------------------------------------------------------------------------
r21418 | joeedh | 2009-07-08 09:02:59 +0200 (Wed, 08 Jul 2009) | 1 line

trunk bugfix: added missing undo push.
------------------------------------------------------------------------
r21382 | campbellbarton | 2009-07-06 13:23:22 +0200 (Mon, 06 Jul 2009) | 2 lines

fix for a bug reported by j michaelson, empty nodes were not exported, also noticed files were invalid if there were no meshes or surfaces.

------------------------------------------------------------------------
r21366 | schlaile | 2009-07-04 17:35:16 +0200 (Sat, 04 Jul 2009) | 6 lines

== Python ==

Fix for the fix: G.scene slipped in at one point and the
filepath generation was broken due to a typo.


------------------------------------------------------------------------
r21365 | schlaile | 2009-07-04 16:59:28 +0200 (Sat, 04 Jul 2009) | 8 lines

== Python ==

This fixes:
* background rendering on scenes different from active scene
* makes scene.render() behave the same in interactive and background mode
* makes saveRenderedImage() work correctly in background mode


------------------------------------------------------------------------
r21364 | campbellbarton | 2009-07-04 14:41:34 +0200 (Sat, 04 Jul 2009) | 2 lines

saving runtime on win32 didnt work with python2.6

------------------------------------------------------------------------
r21360 | campbellbarton | 2009-07-04 02:33:50 +0200 (Sat, 04 Jul 2009) | 2 lines

fix for python error when running in local view, the layer wasnt being set from the right object.

------------------------------------------------------------------------
r21294 | campbellbarton | 2009-07-01 23:26:23 +0200 (Wed, 01 Jul 2009) | 2 lines

exporting collada files with an empty material slot would raise a python error.

------------------------------------------------------------------------
r21285 | campbellbarton | 2009-07-01 15:07:28 +0200 (Wed, 01 Jul 2009) | 2 lines

converting nurbs to a mesh ignored smoothing for Alt+C and from pythons getFromObject()

------------------------------------------------------------------------
r21232 | dfelinto | 2009-06-29 05:15:13 +0200 (Mon, 29 Jun 2009) | 4 lines

oops ... fix for last commit (transparent faces)
(I overcleaned up the file before commit)

I will keep testing this with other test files. I think glLoad() may be messing up with other stuffs.
------------------------------------------------------------------------
r21230 | dfelinto | 2009-06-29 04:37:44 +0200 (Mon, 29 Jun 2009) | 9 lines

fix for bug while importing transparent faces:

image.has_data can't be called before you load an image, otherwise it will return false even for valid images.
The workaround is to try to run image.glLoad() before. That will crash if the image is corrupted (for we are using try/catch here).

Campbell (ideasman42) thinks it would be better to have an api call proper for that. Since 2.4xx is close to its end I really don't think it's time to keep working in its API. Specially if we have similar functions doing what we need.

@ Arystanbek (kazanbas): I'm done with the obj fixes I told you. You are free to go with the importers :)
You may want to take a look at implementing a proper image.load() to 2.5 as Campbell suggested.
------------------------------------------------------------------------
r21223 | campbellbarton | 2009-06-28 16:55:22 +0200 (Sun, 28 Jun 2009) | 15 lines

patch [#18950] Get/set bone and type of drivers
by Alberto Torres Ruiz (dithi) 

--- quoting the patch submission
This patchs adds the properties IpoCurve.driverBone and IpoCurve.driverBone2 and modifies IpoCurve.driverChannel to
allow OB_ROT_DIFF.

It sets the driver type to pose if IpoCurve.driverBone is not empty or None. Otherwise the driver type is set to
object.

Attached is the patch (with python doc) and an example .blend.

It also fixes the confusing description of IpoCurve.driver


------------------------------------------------------------------------
r21175 | dfelinto | 2009-06-26 23:51:23 +0200 (Fri, 26 Jun 2009) | 2 lines

fix for importing of transparent faces from .mtl files - ZTrans now is set for them as well.
(what makes importing from SketchUp really nice)
------------------------------------------------------------------------
r21174 | schlaile | 2009-06-26 21:40:28 +0200 (Fri, 26 Jun 2009) | 6 lines

== Sequencer ==

Small fix by jms: rint() isn't available on win32... 
(hmm, rint() is conforming to C99, that is _really_ strange...)


------------------------------------------------------------------------
r21170 | schlaile | 2009-06-26 17:09:39 +0200 (Fri, 26 Jun 2009) | 12 lines

== Sequencer ==

Additional speed control fixes:
frame blending can now be done on more than two
frames, enabling really fine grained motion blur
if you speed up a sequence with high factors (bigger
than two).

Next step: add morphing support using motion 
estimation.


------------------------------------------------------------------------
r21165 | schlaile | 2009-06-26 09:32:24 +0200 (Fri, 26 Jun 2009) | 15 lines

== Sequencer ==

This fixes several issues with the Speed Control Effect:
* IPO curve-deletion resulted in non-working effect
* easy retiming only allowed enlarging of strips,
  now shrinking is also possible (easy retiming:
  use the right display handle of input strip and
  shrink or enlarge, will make the speed of the
  strip exactly fit the effect strip's length)
* frames after end-of-display of input strips can
  now be accessed (which is necessary for fix #2)
  
=> just use easy retiming from now on, it's fun :)


------------------------------------------------------------------------
r21164 | campbellbarton | 2009-06-26 04:49:47 +0200 (Fri, 26 Jun 2009) | 3 lines

bugfix [#18949] bvh import does not do single rigid bodies
these BVH files are not that common but may as well support it.

------------------------------------------------------------------------
r21163 | campbellbarton | 2009-06-26 04:22:53 +0200 (Fri, 26 Jun 2009) | 2 lines

using the edge length to weight the vertex blue wasnt wokring very well (removed)

------------------------------------------------------------------------
r21155 | ton | 2009-06-25 14:32:55 +0200 (Thu, 25 Jun 2009) | 7 lines

Bugfix, testing venom's lab .blends

Using LightGroups override for material doesn't work for preview
renders. Code didn't correctly return correct light listbase then,
crashing Blender on preview render.


------------------------------------------------------------------------
r21145 | campbellbarton | 2009-06-25 03:37:19 +0200 (Thu, 25 Jun 2009) | 2 lines

Mathutils quat1 * quat2 was broken, returned quat1*quat1 instead.

------------------------------------------------------------------------
r21142 | bjornmose | 2009-06-25 01:42:45 +0200 (Thu, 25 Jun 2009) | 4 lines

bug fix SoftBody module
vertex groups are not notified on deletion .. and other relevant changes  ..
sneak in Mass and Spring Painting

------------------------------------------------------------------------
r21065 | dfelinto | 2009-06-21 19:40:56 +0200 (Sun, 21 Jun 2009) | 2 lines

BGE pyAPI update
(adding "when accessing it from the Game Engine use Mathutils instead of Blender.Mathutils" message in Blender pyAPI doc)
------------------------------------------------------------------------
r21062 | schlaile | 2009-06-21 19:00:18 +0200 (Sun, 21 Jun 2009) | 9 lines

== AVI ==

Only open AVI files with at least one supported video track type.
(This is the real fix for DV-Type1-AVIs, since the FCC of iads, that
is used there, wasn't detected. But the code will happily open AVI-files
with only audio tracks... So the real fix is: only try to open things, that
contains something we know how to handle :) )


------------------------------------------------------------------------
r21054 | schlaile | 2009-06-21 14:02:40 +0200 (Sun, 21 Jun 2009) | 11 lines

== Sequencer ==

Very, very last minute patch for Blender on Windows systems:
move blender's internal AVI reader the last try in the list of
codecs, when opening movie files.

Otherwise, it will fail on Movie Maker captured DV-AVI files.
(isavi() seems to mistreat these files as RAW/MJPEG AVI and fails
later on IMB_anim_absolute() )


------------------------------------------------------------------------
r21025 | campbellbarton | 2009-06-20 07:16:09 +0200 (Sat, 20 Jun 2009) | 2 lines

typo in logic buttons

------------------------------------------------------------------------
r21024 | campbellbarton | 2009-06-20 06:03:13 +0200 (Sat, 20 Jun 2009) | 5 lines

Mistake in FBX export broke importing on some apps (but not the ones I tested with. grr)

Reported by James Dolan on autodesks forum
http://area.autodesk.com/forum/autodesk-fbx/fbx-sdk/fbx-files-exported-from-blender-cause-assert/

------------------------------------------------------------------------
r20987 | campbellbarton | 2009-06-18 20:23:22 +0200 (Thu, 18 Jun 2009) | 2 lines

own copy/paste error, euler.wrapped would give a bad value

------------------------------------------------------------------------
r20986 | ton | 2009-06-18 20:12:13 +0200 (Thu, 18 Jun 2009) | 3 lines

Part two of svn release commit, last one!


------------------------------------------------------------------------
r20985 | ton | 2009-06-18 20:11:51 +0200 (Thu, 18 Jun 2009) | 3 lines

Part one of 2.49a release commit


------------------------------------------------------------------------
r20983 | ton | 2009-06-18 19:00:47 +0200 (Thu, 18 Jun 2009) | 12 lines

Bufix #18942

Composite "Map UV" node was using false UVs (0,0) from neighbouring 
pixels when those pixels were not rendered (or have no UV).

This commit checks for each neighbour sample it takes if the UV was
correctly set. Solves bad errors on edges of UV maps. With FSA even
totally smooth. :)




------------------------------------------------------------------------
r20982 | campbellbarton | 2009-06-18 18:01:47 +0200 (Thu, 18 Jun 2009) | 2 lines

Attribute PolyDimensions GmbH for funding OBJ spline import/export.

------------------------------------------------------------------------
r20976 | sirdude | 2009-06-18 14:57:39 +0200 (Thu, 18 Jun 2009) | 12 lines

coverity issue CID: 596
Checker: FORWARD_NULL (help)
File: base/src/source/blender/render/intern/source/texture.c
Function: do_lamp_tex
Description: Variable "dx" tracked as NULL was dereferenced.

Also found a typo the 3rd check was checking projx instead of projz
I also expanded the elses to set dyt as well as dxt.

Kent


------------------------------------------------------------------------
r20973 | migius | 2009-06-18 12:34:16 +0200 (Thu, 18 Jun 2009) | 3 lines

DXF-Exporter v1.35 - 2009.06.18 by migius
- missing support for multiple-instances of Curve-Objects as BLOCK/INSERTs

------------------------------------------------------------------------
r20962 | migius | 2009-06-18 01:25:22 +0200 (Thu, 18 Jun 2009) | 1 line

DXF-Exporter: apply modifiers: reactivate temporary deactivated code
------------------------------------------------------------------------
r20961 | dfelinto | 2009-06-17 23:18:32 +0200 (Wed, 17 Jun 2009) | 2 lines

Fix for bug: [#18619] Shadow face flag ignores object's scale
In time for the 2.49a ahoy :)
------------------------------------------------------------------------
r20958 | migius | 2009-06-17 16:06:55 +0200 (Wed, 17 Jun 2009) | 6 lines

DXF-Exporter v1.35 - 2009.06.17 by migius
- added export Cameras (ortho and persp) to VPORTs, incl. clipping
- added export Cameras (ortho and persp) to  VIEWs, incl. clipping
- export multiple-instances of Mesh-Objects as BLOCK/INSERTs
- on start prints dxfLibrary version

------------------------------------------------------------------------
r20957 | campbellbarton | 2009-06-17 14:32:28 +0200 (Wed, 17 Jun 2009) | 9 lines

fix for a bug reported by zapman on blenderartist.

De-activating a loop-end actuator didnt work (it kept looping).
Looked into this further and it turns out that the actuators run with both positive and negative events false, the sound actuator assumes because its not negative that its a positive event and plays the sound anyway.

Fix by checking that its a positive event before playing.

The size limit on the message actuator was 100 which broke some scripts, set to 16384 instead.

------------------------------------------------------------------------
r20956 | migius | 2009-06-17 13:35:35 +0200 (Wed, 17 Jun 2009) | 3 lines

DXF-Importer v1.12 - 2009.06.16 by migius
 d7 fix for ignored BLOCKs (e.g. *X) which are members of other BLOCKs

------------------------------------------------------------------------
r20953 | campbellbarton | 2009-06-17 11:42:04 +0200 (Wed, 17 Jun 2009) | 7 lines

BGE PyAPI
while making a demo of using python to control bones found some more problems.
also added channelNames attribute to BL_ActionActuator to get a list of valid channels to use.
demo: http://www.graphicall.org/ftp/ideasman42/armature_python.blend

its still not that useful since theres not way to know rest bone locations yet but better then nothing.

------------------------------------------------------------------------
r20952 | ben2610 | 2009-06-17 10:36:37 +0200 (Wed, 17 Jun 2009) | 1 line

BGE #18823: Loading older blend files (from the blender Gamekit 1.0 demos) that use Sumo crash on playback in 2.48.5, worked in rc3. Fixed by upgrading Sumo to support the new method of sensor synchronization introduced with Sensor objects in Bullet. Sumo demo will not crash but may still not run well as other features and methods have not been ported.
------------------------------------------------------------------------
r20951 | campbellbarton | 2009-06-17 09:38:07 +0200 (Wed, 17 Jun 2009) | 2 lines

removing change log, last updated 2003.

------------------------------------------------------------------------
r20950 | ben2610 | 2009-06-17 08:54:35 +0200 (Wed, 17 Jun 2009) | 1 line

BGE bug #18931: YoFrankie bug in 249-trunk (works in 248).
------------------------------------------------------------------------
r20943 | schlaile | 2009-06-16 23:28:19 +0200 (Tue, 16 Jun 2009) | 7 lines

== FFMPEG ==

This fixes:
[#18262] From FFMPEG/audio menu the PCM selection is missing
(thanks to Mika Saari (mikasaari) for the patch!)


------------------------------------------------------------------------
r20942 | schlaile | 2009-06-16 23:16:22 +0200 (Tue, 16 Jun 2009) | 16 lines

== Sequencer ==

Fixed color balance tool. Problem was: we pretended to do Lift/Gamma/Gain,
but in reality we did (1-Offset)/Power/Slope. (slightly modified ASC CDL).

So now, the GUI is able to switch modes between ASC CDL-mode and real
Lift/Gamma/Gain.

It also adds a switch to enable Neutral Black/White flipping 
(very usefull for black point selection)

This closes:

[#18078] bugfix #18010 Sequencer lift


------------------------------------------------------------------------
r20937 | campbellbarton | 2009-06-16 20:25:48 +0200 (Tue, 16 Jun 2009) | 8 lines

BGE Action Actuator setChannel() function was broken in a number of ways. 
* extract_pose_from_pose only checked one of the list items for NULL when looping over them yet its possible they are different sizes.
* game_free_pose needed to be used rather then MEM_freeN, channels would never be freed leaking memory.
* setChannel() would make a new pose that wasnt aligned with the existing pose, the lists are assumed aligned so when extracting the channels its unlikely this was ever useful.
* Added getChannel() - returns pose loc/size/quat
* Added option args for setChannel(channel, matrix) or setChannel(channel, loc, size, quat)


------------------------------------------------------------------------
r20934 | campbellbarton | 2009-06-16 17:44:08 +0200 (Tue, 16 Jun 2009) | 2 lines

looks like a mistake. should check with the scene render size, not the current scenes.

------------------------------------------------------------------------
r20926 | migius | 2009-06-16 12:43:43 +0200 (Tue, 16 Jun 2009) | 6 lines

DXF-export update: dxfLibrary.py v1.33 - 2009.06.16
 - fix _point(): converts all coords to floats
 - fix LineType class: implement elements
 - added VPORT class, incl. defaults
 - fix Insert class

------------------------------------------------------------------------
r20923 | campbellbarton | 2009-06-16 10:52:04 +0200 (Tue, 16 Jun 2009) | 7 lines

KX_PythonSeq (used for a number of BGE sequence types)
* cont.actuators.get("key", default) # dict like get function
* if "key" in cont.sensors: ...

Updated docs
Added missing include to Particle.c

------------------------------------------------------------------------
r20922 | campbellbarton | 2009-06-16 09:16:51 +0200 (Tue, 16 Jun 2009) | 9 lines

BGE Py API
* Removed modules Expression and CValue, neither were ever available.
* Added GameLogic.EvalExpression(exp) from the Expression module, evaluates an expression like the expression controller (not sure if this is really that useful since python is far more advanced).
* resetting the original blend file path didint work (own fault == -> =)
* Py3.x PyModule_Create didnt allow importing since it didn't add to sys.modules,
  Looks like they want us to use init-tab array, but this doesn't suit us since
  it needs to be setup before python is initialized.
* Documented GameLogic.globalDict

------------------------------------------------------------------------
r20903 | campbellbarton | 2009-06-15 22:22:50 +0200 (Mon, 15 Jun 2009) | 2 lines

saving globalDict didnt work with python3.x

------------------------------------------------------------------------
r20900 | blendix | 2009-06-15 14:18:17 +0200 (Mon, 15 Jun 2009) | 4 lines

Bug #18920, clarification in tooltip of Mirror Vgroup option in
the mirror modifier.


------------------------------------------------------------------------
r20898 | blendix | 2009-06-15 13:48:42 +0200 (Mon, 15 Jun 2009) | 8 lines

Fix for bug #18924: OpenGL performance issue with particle modifiers,
actually two modifier datamask optimizations that were never done.

* Don't use modifier data mask for disabled modifiers.
* Check if UV data is needed for particle system instead of always
  requesting it.


------------------------------------------------------------------------
r20885 | schlaile | 2009-06-14 22:52:43 +0200 (Sun, 14 Jun 2009) | 5 lines

== Sequencer ==

Fixes an irritating but harmless error message when using custom proxy files.


------------------------------------------------------------------------
r20883 | ben2610 | 2009-06-14 22:01:12 +0200 (Sun, 14 Jun 2009) | 1 line

BGE bug #18869: Can't create Windows runtime.
------------------------------------------------------------------------
r20882 | ben2610 | 2009-06-14 21:59:59 +0200 (Sun, 14 Jun 2009) | 1 line

Update MSVC9 project files. Use pthreadVC2 instead of pthreadVSE2 to match scons (don't know why we were using VSE2 in the first place).
------------------------------------------------------------------------
r20881 | schlaile | 2009-06-14 20:54:35 +0200 (Sun, 14 Jun 2009) | 18 lines

== Sequencer ==

Big proxy fix (addressing hopefully most complaints on mailing list and 
in tracker)
* proxy render settings are now independent of render size settings.
  That means: which proxy size is used, is controlled by two parameters
  now: the proxy size of the files, can be controlled with additional
  buttons within the proxy panels. What is shown in a specific preview
  window depends on the header settings of the preview panel.
  So: proxies are _only_ used in those windows, that are switched to a
  specific proxy resolution.
* output rendering is always done _without_ proxies.
* proxy generation now shows a waitcursor with numbers.
  (closing Bug: [#18909] Building Proxies doesn't give any feedback
  which was rather a feature request, since the problem mentioned there
  was always the case :) )


------------------------------------------------------------------------
r20872 | schlaile | 2009-06-14 12:59:54 +0200 (Sun, 14 Jun 2009) | 12 lines

== Sequencer ==

This fixes:
* free_imbuf_seq() didn't free all scenes. That will lead to steady memory
  growth in case of nested timelines with several scenes.
* sequencer panels were always jumping around, depending on strip type,
  which was caused by choosing always the same panel position and the
  silly limitation, that
* effect strips had no filter option, which was therefore added.
  So you can apply color balance on effect filter output now :)


------------------------------------------------------------------------
r20870 | campbellbarton | 2009-06-14 08:52:46 +0200 (Sun, 14 Jun 2009) | 2 lines

typo in gpu_extensions.c, removed unused function

------------------------------------------------------------------------
r20869 | campbellbarton | 2009-06-14 08:03:12 +0200 (Sun, 14 Jun 2009) | 8 lines

changing the scale of a sleeping object wasnt working with bullet.

Example is a cube that lands on a plane, sleeps after some time, a script changes the scale.
It would still use the scale when the object first went to sleep.

reported on blenderartist.
http://blenderartists.org/forum/showthread.php?t=158617

------------------------------------------------------------------------
r20868 | sirdude | 2009-06-14 00:31:14 +0200 (Sun, 14 Jun 2009) | 10 lines

coverity issue CID: 275
Checker: FORWARD_NULL (help)
File: base/src/source/blender/gpu/intern/gpu_extensions.c
Function: GPU_shader_create
Description: Variable "fragcode" tracked as NULL was passed to a function that dereferences it.

fix provided by Brecht. :)

Kent

------------------------------------------------------------------------
r20867 | sirdude | 2009-06-14 00:23:24 +0200 (Sun, 14 Jun 2009) | 10 lines

coverity issue CID: 307
Checker: FORWARD_NULL (help)
File: base/src/source/blender/blenkernel/intern/modifier.c
Function: meshdeformModifier_deformVerts
Description: Variable "dm" tracked as NULL was passed to a function that dereferences it.

fix provided by Brecht.

Kent

------------------------------------------------------------------------
r20866 | gsrb3d | 2009-06-13 23:45:13 +0200 (Sat, 13 Jun 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20862 | sirdude | 2009-06-13 18:57:26 +0200 (Sat, 13 Jun 2009) | 10 lines

coverity issue CID: 469
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/BME_tools.c
Function: BME_split_face
Description: Pointer "example" dereferenced before NULL check

Check for null before we try to use it.

Kent

------------------------------------------------------------------------
r20861 | sirdude | 2009-06-13 18:52:01 +0200 (Sat, 13 Jun 2009) | 10 lines

coverity issue CID: 401
Checker: NULL_RETURNS (help)
File: base/src/source/blender/imbuf/intern/radiance_hdr.c
Function: imb_loadhdr
Description: Incrementing possibly NULL value "ptr"

Make sure were not trying to index past our array.

Kent

------------------------------------------------------------------------
r20860 | sirdude | 2009-06-13 18:49:30 +0200 (Sat, 13 Jun 2009) | 11 lines

coverity issue CID: 228
Checker: DEADCODE (help)
File: base/src/source/blender/gpu/intern/gpu_material.c
Function: GPU_materials_free
Description: Conditional "ma != 0"

was looping over wrong variable I'm guessing a cut and
paste error from above.

Kent

------------------------------------------------------------------------
r20859 | sirdude | 2009-06-13 17:54:39 +0200 (Sat, 13 Jun 2009) | 12 lines

coverity issue CID: 44
Checker: FORWARD_NULL (help)
File: base/src/source/blender/render/intern/source/texture.c
Function: do_lamp_tex
Description: Variable "co" tracked as NULL was dereferenced.

co was set to NULL at the beginning of the function and it could
possibly slip through all the logic above so lets test it before
we use it blindly.

Kent

------------------------------------------------------------------------
r20857 | kakbarnf | 2009-06-13 16:22:40 +0200 (Sat, 13 Jun 2009) | 1 line

Omission of a texture node to specify coordinates was regarded as a bug by some users. I rather agree :)
------------------------------------------------------------------------
r20854 | campbellbarton | 2009-06-13 15:02:01 +0200 (Sat, 13 Jun 2009) | 3 lines

G.sipo was being passed in the BGE when it wasnt needed, just access G.sipo directly.
KX_PythonSeq.cpp - disable the cmpfunc with py3, need to have richcmp.

------------------------------------------------------------------------
r20851 | campbellbarton | 2009-06-13 13:28:29 +0200 (Sat, 13 Jun 2009) | 2 lines

allow building without SDL

------------------------------------------------------------------------
r20848 | campbellbarton | 2009-06-13 11:33:55 +0200 (Sat, 13 Jun 2009) | 5 lines

in some cases importing without materials could raise a python error.
surprising nobody found before.

reported by <chewed-on> who doesnt want his real name used for some reason.

------------------------------------------------------------------------
r20845 | campbellbarton | 2009-06-13 06:31:30 +0200 (Sat, 13 Jun 2009) | 2 lines

no need to use mathutils

------------------------------------------------------------------------
r20844 | campbellbarton | 2009-06-13 05:54:27 +0200 (Sat, 13 Jun 2009) | 8 lines

OBJ Import
* Wasn't setting the curve 3D option
* The nurbs object name could be None which caused an error, check its set.

OBJ Export
* Off by 1 error on closed nurbs was incorrect, broke other importers but worked with blender.
* Nurbs verts were not adding to the total vert count, scrambling meshes added after (somehow my first test case had all the curve objects last)

------------------------------------------------------------------------
r20843 | sirdude | 2009-06-13 05:08:58 +0200 (Sat, 13 Jun 2009) | 13 lines

coverity issue CID: 523
Checker: UNINIT (help)
File: base/src/source/blender/blenlib/intern/freetypefont.c
Function: objchr_to_ftvfontdata
Description: Using uninitialized value "face" in call to function "freetypechar_to_vchar"

freetypechar_to_vchar expects face to be defined so we need to
return before then if we have a problem.  Also it doesn't
make sense to not return FALSE if there is an error because we
didn't do anything.

Kent

------------------------------------------------------------------------
r20842 | campbellbarton | 2009-06-13 05:05:20 +0200 (Sat, 13 Jun 2009) | 2 lines

X90 Rotate option so you can export without rotation and import, keeping the same orientation.

------------------------------------------------------------------------
r20839 | jesterking | 2009-06-12 21:13:52 +0200 (Fri, 12 Jun 2009) | 3 lines

* add missing genericpath module

All exporters worked fine, so I'm assuming importers won't pose too many problems either.
------------------------------------------------------------------------
r20836 | jesterking | 2009-06-12 17:37:23 +0200 (Fri, 12 Jun 2009) | 3 lines

=== SCons ===
* make the nsis installer script automatically use the Python version we build against
* bump Python version used
------------------------------------------------------------------------
r20828 | campbellbarton | 2009-06-12 14:56:12 +0200 (Fri, 12 Jun 2009) | 6 lines

use contains for ListValue and KX_GameObject types (has_key is deprecated by python)
eg.
 if 'prop' in gameOb: ...
 if 'GameOb' in sce.objects: ...


------------------------------------------------------------------------
r20825 | campbellbarton | 2009-06-12 06:16:12 +0200 (Fri, 12 Jun 2009) | 7 lines

OBJ import support for nurbs curves
Imports nurbs with orderU and endpointU (inferred from weights).

No support for vert-weights, surfaces, 2D curves or non-bspline's yet.

fix for exporting closed nurbs, was overlapping too much of the curve.

------------------------------------------------------------------------
r20821 | schlaile | 2009-06-12 00:21:00 +0200 (Fri, 12 Jun 2009) | 9 lines

== Sequencer ==

This fixes:
[#18894] Scene iterfer with movie in sequencer

(the real use cases that also triggered that bug are fixed with the
previous commit)


------------------------------------------------------------------------
r20809 | erwin | 2009-06-11 15:42:41 +0200 (Thu, 11 Jun 2009) | 2 lines

Bugfix for [#18911] Applied torque breaks rigid bodies in game engine

------------------------------------------------------------------------
r20805 | schlaile | 2009-06-11 13:44:47 +0200 (Thu, 11 Jun 2009) | 20 lines

== SEQUENCER ==

This fixes 
* some issues with Scene strips containing audio by removing
  the curpos pointer from sequence structure. (the same scene
  strip can now be used in a row)

  That also makes the code a lot cleaner.
* fixed a corner case on the beginning of a strip, where audio was
  not mixed in, depending of current audio buffer state.
  
* Also: made some hardwired variables macros to enhance readability.

Problem remaining: mixing the same scene strip several times (read
put it into a stack instead of into a row) has
problems with HD-audio since the same HD-audio state structure is
used and therefore the system will seek permanently, which leads to
audio distortions...


------------------------------------------------------------------------
r20804 | campbellbarton | 2009-06-11 12:46:13 +0200 (Thu, 11 Jun 2009) | 2 lines

update from Aaron Keith, fixes normal flipping

------------------------------------------------------------------------
r20803 | campbellbarton | 2009-06-11 12:26:53 +0200 (Thu, 11 Jun 2009) | 3 lines

Sound actuator bug reported by zapman on blenderartist.
Negative events would play on an actuator if it hadn't played a sound yet.

------------------------------------------------------------------------
r20791 | campbellbarton | 2009-06-10 21:33:59 +0200 (Wed, 10 Jun 2009) | 2 lines

was printing all warnings twice

------------------------------------------------------------------------
r20789 | campbellbarton | 2009-06-10 21:14:05 +0200 (Wed, 10 Jun 2009) | 7 lines

Option to export curves as OBJ native curves (rather then a bunch of edges)
- nurbs and polyline (not bezier)
- closed / open curves
- OrderU works as expected
- Endpoint U works too.


------------------------------------------------------------------------
r20771 | dfelinto | 2009-06-10 00:56:43 +0200 (Wed, 10 Jun 2009) | 3 lines

fix for bug #18898: GE perspective 3D View not working properly (missing LENS)

note: I'm not changing GamePlayer files. There is no such a thing as 3D view camera in gameplayer (override_camera).
------------------------------------------------------------------------
r20767 | blendix | 2009-06-09 20:50:02 +0200 (Tue, 09 Jun 2009) | 3 lines

Fix for bug #18710: a crash with hair emitted from vertices.


------------------------------------------------------------------------
r20766 | blendix | 2009-06-09 20:25:57 +0200 (Tue, 09 Jun 2009) | 4 lines

Fix for bug #18860: particle hair strands missed first segment
when rendering as regular geometry (not strand render).


------------------------------------------------------------------------
r20765 | campbellbarton | 2009-06-09 20:21:48 +0200 (Tue, 09 Jun 2009) | 14 lines

Built in limitations for script scanning was making python fail on meta-androcto script pack.

If a total of 30 subdirs was hit, or 4 dirs deep was hit - script scanning would quit, skipping files in the root scripts path too.

To work around this the script pack included some of blenders scripts twice just so they would get into the menu but this is a dodgy workaround.

* dont stop scanning for scripts when limits are reached (just dont scan further).
* global 30 dir limit per scan is silly - removed.
* limit recursive depth is kept but keep scanning at lower depths.
* bumped recursive limit from 4 to 6

* flt_properties.py had #!BPY without a menu header.


------------------------------------------------------------------------
r20764 | hos | 2009-06-09 20:08:45 +0200 (Tue, 09 Jun 2009) | 4 lines

Use fputs instead of fprintf in mem_error_cb(). This silences the
gcc warning "format not a string literal and no format arguments".


------------------------------------------------------------------------
r20763 | blendix | 2009-06-09 19:56:07 +0200 (Tue, 09 Jun 2009) | 5 lines

Fix for bug #18855: in texture node editor, "Add New" for world
did not set texture in correct place and crashed without an active
object.


------------------------------------------------------------------------
r20762 | khughes | 2009-06-09 19:04:50 +0200 (Tue, 09 Jun 2009) | 6 lines

Tools
-----
Bugfix #18835: negatively scaled objects resulted in incorrect boolean
output.  Commit to trunk instead of tagged release this time :-p


------------------------------------------------------------------------
r20756 | blendix | 2009-06-09 15:51:32 +0200 (Tue, 09 Jun 2009) | 5 lines

Fix for bug #18900: game engine lights in non-glsl mode did move
anymore, missing matrix update. Also move some code to KX_LightObject
to avoid duplication with player.


------------------------------------------------------------------------
r20755 | blendix | 2009-06-09 15:03:00 +0200 (Tue, 09 Jun 2009) | 5 lines

Fix for bug #18881 and #18866: Surface option for Fields crashed
on non-mesh objects, so hide it if not applicable. Also made it
support surf, curve, font objects.


------------------------------------------------------------------------
r20752 | campbellbarton | 2009-06-09 14:18:20 +0200 (Tue, 09 Jun 2009) | 11 lines

[#18847] Material.c Python API calls
Adds access to...
- Anisotropy
- Mirr Threshold
- Trans Threshold

Breaks rule of no additions but python data access is quite safe, vray exporter needed these attributes.

[#18891] BGE Convert script Python 2.5 compatible


------------------------------------------------------------------------
r20738 | khughes | 2009-06-08 19:30:53 +0200 (Mon, 08 Jun 2009) | 3 lines

Fix "no newline at end of file" warning.


------------------------------------------------------------------------
r20728 | campbellbarton | 2009-06-08 13:04:05 +0200 (Mon, 08 Jun 2009) | 2 lines

needed to use sizeof(string)-1 for text button lengths

------------------------------------------------------------------------
r20723 | migius | 2009-06-08 03:29:58 +0200 (Mon, 08 Jun 2009) | 7 lines

DXF-Exporter script update
v1.34 - 2009.06.08
- export Lamps and Cameras as POINTs
- export passepartout for perspective projection
- added option for export objects only from visible layers


------------------------------------------------------------------------
r20717 | schlaile | 2009-06-07 20:19:28 +0200 (Sun, 07 Jun 2009) | 7 lines

== FFMPEG ==

Work around crash in dv-reader of ffmpeg, that can happen, if some
frames don't contain audio. (Someone should do a real fix, but I
don't know ffmpeg internals good enough.)


------------------------------------------------------------------------
r20712 | migius | 2009-06-07 16:57:50 +0200 (Sun, 07 Jun 2009) | 7 lines

DXF-Exporter script update
v1.34 - 2009.06.07 by migius
- cleaning code for release
- fix nasty bug in getExtrusion()
- support text-objects, also in ortho/persp-projection
- support XYmirrored 2d-curves to 2dPOLYLINEs

------------------------------------------------------------------------
r20695 | erwin | 2009-06-07 08:04:44 +0200 (Sun, 07 Jun 2009) | 4 lines

Bugfix to avoid crashing BGE on Mobile Intel GMA 950/945 Express GPU (2009 latest driver 6.14.10.4926 Windows XP)
Command-line option to disable vertexarrays in BGE:
-g novertexarrays

------------------------------------------------------------------------
r20689 | ben2610 | 2009-06-06 23:54:12 +0200 (Sat, 06 Jun 2009) | 1 line

BGE VideoTexture: fix VideoFFmpeg range attribute + error message.
------------------------------------------------------------------------
r20688 | genscher | 2009-06-06 23:49:00 +0200 (Sat, 06 Jun 2009) | 1 line

Patch/Bugfix so wind noise got controlable seed and therefore redoable cloth sims - bug reported by istvan
------------------------------------------------------------------------
r20677 | migius | 2009-06-06 15:24:06 +0200 (Sat, 06 Jun 2009) | 5 lines

DXF exporter: dxfLibrary.py update
v1.32 - 2009.06.06
 - modif Style class: changed defaults to widthFactor=1.0, obliqueAngle=0.0
 - modif Text class: alignment parameter reactivated

------------------------------------------------------------------------
r20672 | campbellbarton | 2009-06-06 13:26:43 +0200 (Sat, 06 Jun 2009) | 2 lines

Setting the directories and files is buggy still, but this should prevent some simple crashes, file was 80 chars long but it let the text input type in 160 chars.

------------------------------------------------------------------------
r20671 | migius | 2009-06-06 12:33:10 +0200 (Sat, 06 Jun 2009) | 4 lines

DXF exporter: library
v1.32 - 2009.06.06
 - modif Text class: alignment parameter reactivated

------------------------------------------------------------------------
r20668 | campbellbarton | 2009-06-06 06:56:22 +0200 (Sat, 06 Jun 2009) | 3 lines

Blender.Particle.New() wasnt documented.
Changed to accept Object as well as Object name to avoid name collisions with libraries.

------------------------------------------------------------------------
r20666 | erwin | 2009-06-06 02:29:22 +0200 (Sat, 06 Jun 2009) | 2 lines

one more bugfix, related to 6dof constrains, inside Bullet

------------------------------------------------------------------------
r20665 | erwin | 2009-06-06 02:12:49 +0200 (Sat, 06 Jun 2009) | 3 lines

#18872 bugfix for torque on dynamic objects
#18893, fix to getParam for generic 6dof constraints

------------------------------------------------------------------------
r20660 | campbellbarton | 2009-06-05 21:22:23 +0200 (Fri, 05 Jun 2009) | 3 lines

bpy.config.sequenceMemCacheLimit is the only way to set the memcache in background mode and it didnt work.
removed some unused vars from KX_Scene

------------------------------------------------------------------------
r20659 | sirdude | 2009-06-05 19:45:17 +0200 (Fri, 05 Jun 2009) | 4 lines

A bunch of the same logic issues.  (missed these before)

Kent

------------------------------------------------------------------------
r20658 | bdiego | 2009-06-05 18:54:06 +0200 (Fri, 05 Jun 2009) | 11 lines

Fix "duplicate strip" always increase the user count for ipo.

As venomgfx point, the shift+d function never duplicate the ipo block
if we have enable the option in UserDef -> Edit Methods -> Ipo.

Now, if Ipo option is disable, we just increase the user count, otherwise
we duplicate the ipo.

Note: Alighorith, we need call ipo_idnew here ? (like single_ipo_users)


------------------------------------------------------------------------
r20657 | sirdude | 2009-06-05 18:53:21 +0200 (Fri, 05 Jun 2009) | 10 lines

coverity issue CID: 97
Checker: FORWARD_NULL (help)
File: base/src/source/blender/src/poseobject.c
Function: pose_special_editmenu
Description: Variable "ob" tracked as NULL was dereferenced.

logic was wrong (gets complicated when you use !'s ;))

Kent

------------------------------------------------------------------------
r20645 | sirdude | 2009-06-05 06:15:19 +0200 (Fri, 05 Jun 2009) | 18 lines

coverity issues:
CID: 478
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/softbody.c
Function: apply_spring_memory
Description: Pointer "sb" dereferenced before NULL check

and
CID: 480
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/softbody.c
Function: springs_from_particles
Description: Pointer "ob" dereferenced before NULL check

again moved assignment after check to make sure pointer is valid.

Kent

------------------------------------------------------------------------
r20644 | sirdude | 2009-06-05 05:52:24 +0200 (Fri, 05 Jun 2009) | 19 lines

coverity issues:
CID: 506
Checker: REVERSE_INULL (help)
File: base/src/source/blender/src/editparticle.c
Function: PE_mirror_x
Description: Pointer "(edit)->keys" dereferenced before NULL check

and
CID: 507
Checker: REVERSE_INULL (help)
File: base/src/source/blender/src/editparticle.c
Function: PE_mirror_x
Description: Pointer "(psys)->particles" dereferenced before NULL check


No need to copy the memory if the pointer isn't valid.

Kent

------------------------------------------------------------------------
r20643 | sirdude | 2009-06-05 05:40:58 +0200 (Fri, 05 Jun 2009) | 10 lines

coverity issue CID: 484
Checker: REVERSE_INULL (help)
File: base/src/source/blender/imbuf/intern/anim.c
Function: IMB_anim_absolute
Description: Pointer "anim" dereferenced before NULL check

again moving init code after check to valid pointer.

Kent

------------------------------------------------------------------------
r20641 | dfelinto | 2009-06-05 02:51:36 +0200 (Fri, 05 Jun 2009) | 10 lines

getScreenPosition, Ray and Vect fixes:

- fix for [#18867] getScreenRay error
 ... the Vector wasn't been added to KX_Camera origin. Therefore the Ray was always casted to the wrong coordinate when camera wasn't in [0,0,0] (where is obviously was in my tests :)

- making the input parameter compatible with Blender/BGE window coordinate system (Top-Bottom).
 ... that will break scripts done in 2.49. Since this feature was added only in 2.49 that fix is OK. (and the fix is ridiculous.

Note:
the input parameter is normalized. That means it runs from 0.0 to 1.0. Some users found it confusing, but it allows to make a game compatible with multiple desktop resolutions.a
------------------------------------------------------------------------
r20638 | ben2610 | 2009-06-04 23:24:41 +0200 (Thu, 04 Jun 2009) | 1 line

BGE [#18884] light in skinned object only work properly after running the action once.
------------------------------------------------------------------------
r20635 | migius | 2009-06-04 21:49:19 +0200 (Thu, 04 Jun 2009) | 24 lines

bugfix and updates for DXF-Importer/Exporter scripts

DXF-Library log:
v1.31 - 2009.06.02 by migius
 - modif _Entity class: added paperspace,elevation
v1.30 - 2009.05.28 by migius
 - bugfix 3dPOLYLINE/POLYFACE: VERTEX needs x,y,z coordinates, index starts with 1 not 0

DXF-Importer: minor changes

DXF-Exporter log:
v1.34 - 2009.06.02 by migius
- support XYmirrored 2d-curves to POLYLINEs: works correct only for rotX,rotY==0.0
- support thickness and elevation for curve-objects
- fix extrusion 210-code (3d orientation vector)
- fix POLYFACE export, synchronized with dxfLibrary.py
- changed to the new 2.49 method Vector.cross()
- output style manager (first try)
v1.33 - 2009.05.25 by migius
- bugfix flipping normals in mirrored mesh-objects
- added UI-Button for future Shadow Generator
- support curve objects in projection-2d mode
- UI stuff: camera selector/manager

------------------------------------------------------------------------
r20630 | sirdude | 2009-06-04 17:58:47 +0200 (Thu, 04 Jun 2009) | 11 lines

coverity issue CID: 488
Checker: REVERSE_INULL (help)
File: base/src/source/blender/src/hddaudio.c
Function: sound_hdaudio_extract_small_block
Description: Pointer "hdaudio" dereferenced before NULL check

Moved some init code that uses a pointer to after the check
to see if pointer is valid.

Kent

------------------------------------------------------------------------
r20629 | ton | 2009-06-04 17:44:43 +0200 (Thu, 04 Jun 2009) | 6 lines

Bugfix

Loading font used a minimal string array (80 chars) and copied file name
strings in it without size checks. Triple tsk!


------------------------------------------------------------------------
r20618 | campbellbarton | 2009-06-04 09:42:03 +0200 (Thu, 04 Jun 2009) | 5 lines

BGE small fixes
- script template use new property syntax
- Python could set the axis/hat to a negative index and crash blender (nobody complained)
- Servo control UI had overlapping text

------------------------------------------------------------------------
r20609 | sirdude | 2009-06-03 23:03:44 +0200 (Wed, 03 Jun 2009) | 5 lines

Make release wasn't stripping the gameplayer
(typo) 

Kent

------------------------------------------------------------------------
r20607 | campbellbarton | 2009-06-03 22:06:40 +0200 (Wed, 03 Jun 2009) | 5 lines

KX_MouseFocusSensor - bug reported by Micro27 on blenderartist
vertical bounds checking for multiple viewports was inverted.

quiet some compiler warnings and minor corrections

------------------------------------------------------------------------
r20604 | sirdude | 2009-06-03 17:24:42 +0200 (Wed, 03 Jun 2009) | 10 lines

coverity CID: 374
Checker: FORWARD_NULL (help)
File: base/src/source/blender/src/toolbox.c
Function: tb_do_render
Description: Variable "ca" tracked as NULL was dereferenced.

Moved check for null to include else statement.

Kent

------------------------------------------------------------------------
r20602 | sirdude | 2009-06-03 17:14:09 +0200 (Wed, 03 Jun 2009) | 13 lines

Missed this one before.  It's another coverity issue:
CID: 477
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/cloth.c
Function: cloth_apply_vgroup
Description: Pointer "dm" dereferenced before NULL check

Just like the others it assigned the value twice, removed
the one that was before checking for NULL.

Kent


------------------------------------------------------------------------
r20601 | sirdude | 2009-06-03 16:55:41 +0200 (Wed, 03 Jun 2009) | 14 lines

This is coverity issue:
CID: 595
Checker: OVERRUN_STATIC (help)
File: base/src/source/blender/python/api2_2x/sceneSequence.c
Function: Sequence_setProxyDir
Description: Overrun of static array "&((((self)->seq)->strip)->proxy)->dir" of size 160 bytes by passing it to a function which indexes it with argument "248" at byte position 247

Wasn't using the size of dir it was using the sizeof the struct dir is in.

Fixed.

Kent


------------------------------------------------------------------------
r20596 | campbellbarton | 2009-06-03 06:12:59 +0200 (Wed, 03 Jun 2009) | 8 lines

BGE PyAPI fixes
- CValue warning ShowDeprecationWarning("val = ob.attr", "val = ob['attr']"); had false positives because of python using getattr() internally. Only show the wanring now when a CValue is found.
- Py functions that accepted a vector and a GameObject were slowed down by PySequence_Check() first called on the GameObject, though this would fail it would try and get attributes from the game object - ending up in ~8 attribute lookups each time. Avoiding PySequence_Check() makes ob.getDistanceTo(otherOb) over twice as fast.

- Joystick hat events could crash the BGE for joysticks with more then 4 hats.
- PLY Import failed on PLY files from Carve, added some extra types.


------------------------------------------------------------------------
r20584 | sirdude | 2009-06-02 21:29:20 +0200 (Tue, 02 Jun 2009) | 21 lines

This commit fixes the following two coverity issues:

CID: 475
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/cloth.c
Function: bvhselftree_build_from_cloth
Description: Pointer "clmd" dereferenced before NULL check

CID: 476
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/cloth.c
Function: bvhtree_build_from_cloth
Description: Pointer "clmd" dereferenced before NULL check

You'll notice in the code the var is actually set again
a few lines down before being used so better to set it
after you've made sure the pointer is valid.

Kent


------------------------------------------------------------------------
r20569 | kakbarnf | 2009-06-01 23:38:03 +0200 (Mon, 01 Jun 2009) | 1 line

Fixed limits on translate node
------------------------------------------------------------------------
r20568 | kakbarnf | 2009-06-01 23:22:43 +0200 (Mon, 01 Jun 2009) | 1 line

Bugfix for faulty noise function in bricks node
------------------------------------------------------------------------
r20564 | ben2610 | 2009-06-01 20:41:58 +0200 (Mon, 01 Jun 2009) | 1 line

BGE: memory leak in Random actuator + make actuator truly random when seed=0 in the UI. When running the game, seed 0 is replaced by a random seed accessible through Python in seed attribute of the actuator. Other seed value will be left unchanged and will generate fixed pseudo random series.
------------------------------------------------------------------------
r20563 | schlaile | 2009-06-01 19:23:35 +0200 (Mon, 01 Jun 2009) | 5 lines

== FFMPEG ==

Previous commit as seperate diff: work around AC3 crash with SSE2


------------------------------------------------------------------------
r20562 | schlaile | 2009-06-01 19:22:55 +0200 (Mon, 01 Jun 2009) | 7 lines

== FFMPEG ==

This fixes:
[#18863] AAC Audio in Sequencer Causes Crash
[#18629] 249rc1 Sequencer hard crash


------------------------------------------------------------------------
r20559 | schlaile | 2009-06-01 18:35:05 +0200 (Mon, 01 Jun 2009) | 12 lines

== Sequencer ==

This fixes:
[#18507] Wrong audio mixdown

Also: you can change output sample rate while blender is running
and the audio device get's reopened automatically.

Subframe-precision seeking was also broken for some releases...
(shame on me)


------------------------------------------------------------------------
r20555 | campbellbarton | 2009-06-01 14:49:16 +0200 (Mon, 01 Jun 2009) | 2 lines

fmod directory wasn't removed when all references to fmod were. (patch [#18260] FMOD Removal, committed 19395)

------------------------------------------------------------------------
r20554 | campbellbarton | 2009-06-01 14:36:22 +0200 (Mon, 01 Jun 2009) | 4 lines

BGE Blendfile path bug (use for loading and saving the GameLogic.globalDict)
the original blendfile path wasn't reset when loading new blendfiles.
blenderplayer was ok, but running the BGE from blender would set the blendfile original path and never reset it on loading other blend files.

------------------------------------------------------------------------
r20548 | ben2610 | 2009-06-01 11:44:41 +0200 (Mon, 01 Jun 2009) | 1 line

BGE bug fix: dynamically added sensor objects didn't have their physic shape synchronized with movement.
------------------------------------------------------------------------
r20547 | dingto | 2009-06-01 11:44:13 +0200 (Mon, 01 Jun 2009) | 1 line

Deleted the old 247 and 248 Release txt files, we really don't need them anymore. 
------------------------------------------------------------------------
r20546 | schlaile | 2009-06-01 11:24:46 +0200 (Mon, 01 Jun 2009) | 7 lines

== Sequencer ==

This removes the need of using "-g noaudio", if only HD Sound strips
are used. (In opposite to the RAM Sound strips, they don't need an 
initialized Game Sound Engine for obvious reasons...)


------------------------------------------------------------------------
r20545 | schlaile | 2009-06-01 11:01:29 +0200 (Mon, 01 Jun 2009) | 6 lines

== Sequencer ==

This fixes:
[#18707] Syncing animation to audio (works fine in 2.45. It does not work properly in 2.48)


------------------------------------------------------------------------
r20544 | campbellbarton | 2009-06-01 07:43:58 +0200 (Mon, 01 Jun 2009) | 9 lines

YoFrankie bug [#18857] On start gives ImportError: No module named frankie_scripts 

GameEngine sys.path creation was broken because of a pesky slash at the end of each path name.
Win32 sys.paths were also failing when running a game that switched between blend files in different directories

On win32 for some reason making absolute paths from lib->name failed, work around this by using lib->filename.

STR_String.h, cast to float to quiet compiler warnings.

------------------------------------------------------------------------
r20541 | schlaile | 2009-05-31 23:14:25 +0200 (Sun, 31 May 2009) | 11 lines

== Sequencer ==

This fixes dependency of scrub duration on mixbuffer size.
(start audio with a mixbuffer size of 2048, let it play = initialize,
change mixbuffer to smaller value, you will here 1 second
of audio instead of a scrub)

should hopefully fix
[#18850] 2.49 scrubbing creates an echo


------------------------------------------------------------------------
r20540 | schlaile | 2009-05-31 19:59:57 +0200 (Sun, 31 May 2009) | 5 lines

== Sequencer ==

This fixes: IPO pinning on sequencer strips was lost during Undo.


------------------------------------------------------------------------
r20539 | campbellbarton | 2009-05-31 19:44:38 +0200 (Sun, 31 May 2009) | 7 lines

Bug in KX_GameObject.get() and ListValue.get(), wasn't checking if the CValue derived objects could be converted to a PyObject.
so where foo is an int prop,
 gameOb.get("foo") == 0, would end up returning a CValue int proxy.

This is more a problem for KX_GameObject since ListValues with python access mostly don't contain ints, strings, floats.
This also wont break games from 2.48 since the .get() function wasn't available.

------------------------------------------------------------------------
r20534 | erwin | 2009-05-31 18:22:22 +0200 (Sun, 31 May 2009) | 4 lines

Anisotropic Friction bugfix for #18854 http://projects.blender.org/tracker/index.php?func=detail&aid=18854&group_id=9&atid=125
Thanks to Campbell for the reproduction case!


------------------------------------------------------------------------
r20532 | ben2610 | 2009-05-31 16:54:31 +0200 (Sun, 31 May 2009) | 1 line

BGE: fix refcount bug causing crash with Object texture coordinates.
------------------------------------------------------------------------
r20529 | ton | 2009-05-31 13:22:11 +0200 (Sun, 31 May 2009) | 11 lines

AO render error, caused by bugfix after RC3 :(

My bug fix to support AO with "Amb" texture channel changed code too that calls
AO as a pre-shade process, when texture isn't calculated yet. This caused very
first pixel in a tile to show wrong AO.

Especially myself deserves a kick in butt for not testing the regression files 
for release binaries again! Error shows clearly... in the cornelius_passes 
.blend file.


------------------------------------------------------------------------
r20508 | sirdude | 2009-05-29 21:11:04 +0200 (Fri, 29 May 2009) | 13 lines

This was found by coverity

CID: 568
Checker: FORWARD_NULL (help)
File: base/src/extern/libopenjpeg/jp2.c
Function: jp2_decode
Description: Variable "image" tracked as NULL was dereferenced.

fixed by just updating to latest version of the file from
external svn branch.

Kent

------------------------------------------------------------------------
r20507 | gsrb3d | 2009-05-29 20:51:25 +0200 (Fri, 29 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20505 | ton | 2009-05-29 19:52:45 +0200 (Fri, 29 May 2009) | 8 lines

Last pre-2.49 commit part 2: the original file (png btw), and txt and
VERSION update.

Image credits go to Clemens Granjon; http://clems.g.free.fr

And now: release!


------------------------------------------------------------------------
r20504 | ton | 2009-05-29 19:51:16 +0200 (Fri, 29 May 2009) | 3 lines

Last pre-2.49 commit part 1: splash c file and release number


------------------------------------------------------------------------
r20503 | ben2610 | 2009-05-29 19:09:20 +0200 (Fri, 29 May 2009) | 1 line

BGE: small performance problem: object set invisible at startup were still put in the DBVT, causing unnecessary culling.
------------------------------------------------------------------------
r20502 | ben2610 | 2009-05-29 18:55:22 +0200 (Fri, 29 May 2009) | 1 line

BGE: sensor object will now have Actor filter optional: new button 'Detect Actor' in physics settings indicate if you want the sensor to detect only Actor object or all objects. This way you don't need to set the scenery to Actor to detect ground for example.
------------------------------------------------------------------------
r20500 | ben2610 | 2009-05-29 15:37:51 +0200 (Fri, 29 May 2009) | 1 line

BGE modifier: last minute commit to fix a nasty bug with modifers messing the alpha blend mode of the GE. Note the alpha sorting on modified mesh is not implemented so derived mesh should not have alpha faces (clip will work though). Incidently fixed a performance problem in GLSL where the derived mesh was possibly rendered multiple times. Modifier support is still a bit experimental and should not be used in production game.
------------------------------------------------------------------------
r20499 | campbellbarton | 2009-05-29 15:33:33 +0200 (Fri, 29 May 2009) | 2 lines

the option for saving images as jpeg2000 was missing

------------------------------------------------------------------------
r20494 | campbellbarton | 2009-05-29 11:27:48 +0200 (Fri, 29 May 2009) | 2 lines

typo in message

------------------------------------------------------------------------
r20493 | campbellbarton | 2009-05-29 11:22:24 +0200 (Fri, 29 May 2009) | 10 lines

workaround for strange python problem in the BGE and BPy API where printing warnings mistook the blender binary for a script - argv[0], Binary lines were printed into the console sometimes causing console beeps and corrupting future console output.

Internal texts file on disk is not used it seems python warnings dont support this (even though exceptions do).

The most common cause of this is passing a float as an argument to a method that took an int.
get around this by setting __file__ in the namespace to the script name before executing the script, the file lines are not found but at least the output is not weird and confusing.

Added read only 'mode' attribute to the python controller so there is a way to tell if its executing a module or a script. Updated docs to better explain execution methods.


------------------------------------------------------------------------
r20492 | ben2610 | 2009-05-29 10:55:14 +0200 (Fri, 29 May 2009) | 1 line

Revert commit 20478: instead of changing the default in blender, it's better to change the values for the demos that need it.
------------------------------------------------------------------------
r20490 | migius | 2009-05-29 08:50:31 +0200 (Fri, 29 May 2009) | 2 lines

bugfix and update DXF-Exporter scripts
please get it in 2.49 release
------------------------------------------------------------------------
r20478 | erwin | 2009-05-29 00:26:28 +0200 (Fri, 29 May 2009) | 3 lines

Bullet Physics maxphystep = 1 is better general default to avoid vicious circle
(graphics slower -> physics slower -> overall frametime slower -> graphics slower etc.)
See difference in vault.blend
------------------------------------------------------------------------
r20477 | migius | 2009-05-28 22:28:52 +0200 (Thu, 28 May 2009) | 1 line

bugfix: added import Curve module
------------------------------------------------------------------------
r20476 | khughes | 2009-05-28 16:24:16 +0200 (Thu, 28 May 2009) | 5 lines

Python API
----------
Bugfix: make bpy.data.meshes.new() work the same way as Blender.Mesh.New().


------------------------------------------------------------------------
r20475 | campbellbarton | 2009-05-28 16:01:10 +0200 (Thu, 28 May 2009) | 3 lines

[#18803] 'ShadeModes' dictionary and 'shadeMode' instance variable exported to Python API
Ton was ok with adding Vladislav Turbanov (vladius)'s patch during the freeze.

------------------------------------------------------------------------
r20474 | campbellbarton | 2009-05-28 15:44:32 +0200 (Thu, 28 May 2009) | 6 lines

[#18840] Joystick sensor lag
if(SDL_PollEvent(&sdl_event)) // if -> while fixed it
removed 'm_buttonnum' was misleading, wasn't used as you expect.

Added gravity to variable to world to be used by collada.

------------------------------------------------------------------------
r20473 | ben2610 | 2009-05-28 13:04:45 +0200 (Thu, 28 May 2009) | 1 line

BGE: no sleeping and lock axis physics options were not propagated to replicas.
------------------------------------------------------------------------
r20471 | campbellbarton | 2009-05-28 09:11:12 +0200 (Thu, 28 May 2009) | 2 lines

renamed python 'bookmark' attribute to 'useHighPriority', was renamed in the UI but not in python.

------------------------------------------------------------------------
r20470 | campbellbarton | 2009-05-28 08:34:56 +0200 (Thu, 28 May 2009) | 2 lines

grsaaynoel spent ~2hrs to figure this out, theeth, feel free to elaborate if the tip isnt quite correct.

------------------------------------------------------------------------
r20469 | campbellbarton | 2009-05-28 08:13:56 +0200 (Thu, 28 May 2009) | 3 lines

Projection paint, cloning from 1 layer to another would show ugly black lines at the seams because interpolation didnt wrap across the image.
Added bilinear_interpolation_color_wrap to be used instead of bilinear_interpolation_color for painting.

------------------------------------------------------------------------
r20461 | sirdude | 2009-05-28 04:12:28 +0200 (Thu, 28 May 2009) | 4 lines

Fix to get ffmpeg working on solaris.

Kent

------------------------------------------------------------------------
r20458 | schlaile | 2009-05-28 00:37:45 +0200 (Thu, 28 May 2009) | 6 lines

== FFMPEG ==

This fixes:
[#17505] Bad Interlacing for NTSC in mpeg-2 files


------------------------------------------------------------------------
r20457 | erwin | 2009-05-28 00:27:10 +0200 (Thu, 28 May 2009) | 1 line

last-minute Bullet bugfix: accidently commented out a constraint limit test, causing instability for springs.
------------------------------------------------------------------------
r20452 | migius | 2009-05-27 15:32:09 +0200 (Wed, 27 May 2009) | 3 lines

DXF-importer second update: v1.12 - 2009.05.26 by migius
 - changed to the new 2.49 method Vector.cross()

------------------------------------------------------------------------
r20451 | migius | 2009-05-27 13:57:39 +0200 (Wed, 27 May 2009) | 3 lines

DXF-importer update: v1.12 - 2009.05.26 by migius
 - bugfix WORLDY(1,1,0) to (0,1,0)

------------------------------------------------------------------------
r20445 | campbellbarton | 2009-05-27 05:43:22 +0200 (Wed, 27 May 2009) | 2 lines

flag the images as dirty when projection painting (so there is the option to repack a packed image)

------------------------------------------------------------------------
r20443 | campbellbarton | 2009-05-27 04:03:22 +0200 (Wed, 27 May 2009) | 3 lines

Workaround for size 1 brushes not working with projection paint,
need to investigate why this wont work but for now just clamp the value while projection painting.

------------------------------------------------------------------------
r20442 | erwin | 2009-05-27 03:29:41 +0200 (Wed, 27 May 2009) | 4 lines

"Motor at limit" jitter fixed for btGeneric6Dof constraint, fix taken from Bullet SVN repo.

Now we need some cool constraint limit/motor/spring demos, such as a Forklift demo, moving robots, ragdolls etc. for Blender 2.49!

------------------------------------------------------------------------
r20439 | migius | 2009-05-27 01:37:40 +0200 (Wed, 27 May 2009) | 10 lines

patch by Jan Diederich (collad)
[#18829] COLLADA Export: Fixed bug, cleaned up deprecated code

translator.py:
1.fixed a bug that happened due to the explicit deletion of a temporary mesh (del temp_mesh).
2.removed redundant code. the execution time of the script increased significantly.
3.improved option to apply modifiers to handle absolutely every mesh instance created by a modifier.

cstartup.py:
1. improved the feedback for the end user about the time it took to process and the save the data.
------------------------------------------------------------------------
r20437 | ben2610 | 2009-05-26 23:32:19 +0200 (Tue, 26 May 2009) | 1 line

BGE: fix a bug with kinematic object not giving the correct friction to dynamic object when they have a translation and rotation movement at the same time (translation is ignored). Performance: avoid unnecessary synchronization for static object.
------------------------------------------------------------------------
r20435 | ben2610 | 2009-05-26 20:37:46 +0200 (Tue, 26 May 2009) | 1 line

BGE VideoTexture: VideoFFmpeg was missing a rewind function: rename stop() to pause() and add stop() that will also reset the frame counter.
------------------------------------------------------------------------
r20434 | campbellbarton | 2009-05-26 20:06:09 +0200 (Tue, 26 May 2009) | 7 lines

BGE PyAPI Bug reported by Pitel on blenderartist.
importing "pygame" failed when running the BGE for the second time.

Rather then clearing modules, backup and restore them (as its doing with sys.path)

This way the BGE will never remember any modules imported during game play (which can cause bugs/crashes), but it also wont break pythons state by possibly removing modules that are being used internally.

------------------------------------------------------------------------
r20433 | gsrb3d | 2009-05-26 19:20:22 +0200 (Tue, 26 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20432 | hos | 2009-05-26 19:15:29 +0200 (Tue, 26 May 2009) | 5 lines

BGE build probs with CMake: directory "source/gameengine/SceneGraph"
was been referenced as "source/gameengine/Scenegraph" in some
include paths.


------------------------------------------------------------------------
r20426 | campbellbarton | 2009-05-26 18:15:40 +0200 (Tue, 26 May 2009) | 12 lines

BGE Py API
- Deprecation warnings for using attribute access

- Added dictionary functions to KX_GameObject and ListValue
    ob.get(key, default=None)
    ob.has_key(key)
 ob.has_key is important since there was no way to do something like hasattr(ob, "attr") which can be replaced by ob.has_key("attr") - (both still work of course).
 ob.get is just useful in many cases where you want a property if it exists but can fallback to a default.

- CListValue::FindValue was adding a reference but the ~3 places it was used were releasing the reference. added a FindValue that accepts a const char* type to avoid converting python strings to STR_String.


------------------------------------------------------------------------
r20425 | blendix | 2009-05-26 17:01:06 +0200 (Tue, 26 May 2009) | 4 lines

Fix for bug #18788: vector math node subtract did not work,
patch by Matt D., thanks.


------------------------------------------------------------------------
r20424 | ton | 2009-05-26 15:46:08 +0200 (Tue, 26 May 2009) | 9 lines

Bugfix #18801

Third transparent shadow bug... this time it's a Material Node, which
has mirror + transp-shadow on, and when it traces its own material it 
enters an eternal loop...

Raytracing + shading + materialnode combo really needs work!


------------------------------------------------------------------------
r20423 | schlaile | 2009-05-26 14:57:16 +0200 (Tue, 26 May 2009) | 18 lines

== Sequencer ==

This adds a per preview option to set render sizes (which proxy size is used).
That makes it possible to have 
* several small preview screens which update really fast using the proxy files
* one large output screen that operates in full resolution

Since most of the time not all input strips are considered when calculating
an output screen, this is a big win.

Also: one can disable a preview screen completely using this option.

Other use cases: vector + chromaviews don't always need full resolution 
pictures and work equally well on proxy files!

This option finally makes my working setup _completely_ realtime :)


------------------------------------------------------------------------
r20422 | campbellbarton | 2009-05-26 12:44:14 +0200 (Tue, 26 May 2009) | 8 lines

Misc warnings
- Removed/Commented some unused vars
- CValue::GetPropertyText() could return a temp reference to a variable on the stack, option wasnt used anywhere so removed.
- KX_ConstraintWrapper::GetConstraintId allows args but ignored them
- KX_ConstraintWrapper::PySetParam didnt return NULL on an error (messing up pythons exceptions).
- BLI_natstrcmp didnt return 0 when the while loop exited


------------------------------------------------------------------------
r20421 | ton | 2009-05-26 10:30:28 +0200 (Tue, 26 May 2009) | 7 lines

Bugfix: (discovered by course participant :)

Brush option "Clone" didn't read linked Clone Image from file.
No idea how this ever could work even... even for Undo it
would crash. 


------------------------------------------------------------------------
r20420 | campbellbarton | 2009-05-26 09:41:34 +0200 (Tue, 26 May 2009) | 4 lines

BGE Script template for a python module (set EOL to native this time)
BGE PyAPI use defines for error return values
 - del gameOb['var'] error message was wrong.

------------------------------------------------------------------------
r20414 | khughes | 2009-05-26 02:14:22 +0200 (Tue, 26 May 2009) | 5 lines

Interface
---------
Fixing typo in TimeOffset tooltip.


------------------------------------------------------------------------
r20413 | sgefant | 2009-05-26 01:35:29 +0200 (Tue, 26 May 2009) | 2 lines

IRIX: use python 2.5 by default

------------------------------------------------------------------------
r20412 | sgefant | 2009-05-26 01:20:38 +0200 (Tue, 26 May 2009) | 2 lines

tiny fix for irix: use putenv instead of setenv

------------------------------------------------------------------------
r20406 | gsrb3d | 2009-05-25 19:34:55 +0200 (Mon, 25 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20405 | khughes | 2009-05-25 18:09:22 +0200 (Mon, 25 May 2009) | 5 lines

Interface
---------
Bugfix 18811: long filenames caused stack corruption in BLI_adddirstrings().


------------------------------------------------------------------------
r20399 | campbellbarton | 2009-05-25 13:39:09 +0200 (Mon, 25 May 2009) | 4 lines

* UI tweaks to python controller (more space for module name), setParent actuator use less space
* object_drop.py - option to orient to face normal (useful for scattering objects over terrain), accounts for normal flipping and can adjust the orientation %.


------------------------------------------------------------------------
r20397 | campbellbarton | 2009-05-25 08:24:23 +0200 (Mon, 25 May 2009) | 12 lines

BGE Joystick Hat Bugfix
bug reported by blenderage on blenderartist (found other bugs too).

- "All Hat Events" didnt work.
- Multiple hats didnt work
- use a menu with direction names rather then have the user guess. disallow zero as a direction.
- Allow up to 4 hats (was 2).
- Python api was clamping the axis to 2, maximum is currently JOYAXIS_MAX - 16
- New python attributes hatValues and hatSingle, match axis functions.
- Use SDL Axis events to fill in the axis and hat array rather then filling in every axis with SDL_JoystickGetAxis for each axis event.


------------------------------------------------------------------------
r20395 | campbellbarton | 2009-05-25 05:06:03 +0200 (Mon, 25 May 2009) | 2 lines

Pressing the '~' key in the ipo view didnt store the view state in the ipo curves as clicking on the ipo channel names does.

------------------------------------------------------------------------
r20394 | campbellbarton | 2009-05-25 04:39:05 +0200 (Mon, 25 May 2009) | 6 lines

[#18819] save and load globalDictionary actuators don't load the proper files in 2.49 RC3
For this actuator to be useful it needs to use the first opened blendfile as the base name for the configuration file.
A recent fix that made the gp_GamePythonPath always match the current loaded blend file made this actuator work differently.

keep the original filename to use for making the config name so you can load the config between loading blendfiles.

------------------------------------------------------------------------
r20393 | campbellbarton | 2009-05-25 04:11:18 +0200 (Mon, 25 May 2009) | 3 lines

[#18808] Unstable results of Pack Margin in UV editor
was scaling the margin by the area twice

------------------------------------------------------------------------
r20392 | campbellbarton | 2009-05-25 03:45:35 +0200 (Mon, 25 May 2009) | 4 lines

[#18731] trouble with the python api in assigning script constraint's target.
- Setting the constraint script from python didnt update the target count
- Setting objects didnt work at all, since it checked the input sequence for being an BPy_Object type (rather then an item in the sequence)

------------------------------------------------------------------------
r20391 | campbellbarton | 2009-05-25 03:00:17 +0200 (Mon, 25 May 2009) | 2 lines

quick fix still allowed for possible crash, check for valid newlibadr return value in the while loop.

------------------------------------------------------------------------
r20390 | campbellbarton | 2009-05-25 02:31:41 +0200 (Mon, 25 May 2009) | 2 lines

missing null check, would crash blender when loading some files

------------------------------------------------------------------------
r20389 | campbellbarton | 2009-05-25 02:30:06 +0200 (Mon, 25 May 2009) | 3 lines

utility script for cleaning ipos animation curves,
used in YoFrankie to reduce file size for large actions

------------------------------------------------------------------------
r20388 | campbellbarton | 2009-05-25 01:43:10 +0200 (Mon, 25 May 2009) | 5 lines

- BGE Py API, any py function/attribute that took a KX_GameObject would not accept a KX_Light or KX_Camera (bad oversight on my part)
- Typo in occlusion variable init "m_buffer == NULL;" -> "m_buffer = NULL;"

CcdPhysicsEnvironment.cpp and CcdPhysicsController.cpp had too many warnings, fixed most of them.

------------------------------------------------------------------------
r20387 | ben2610 | 2009-05-25 01:12:38 +0200 (Mon, 25 May 2009) | 1 line

VideoTexture: exception in C++ was not returning an error in Python. Added function name ini PyArg_ParseTuple.
------------------------------------------------------------------------
r20385 | schlaile | 2009-05-24 21:54:35 +0200 (Sun, 24 May 2009) | 6 lines

== Sequencer ==

This fixes a stupid mistake in proxy handling with custom files:
CFRA not calculated correctly for proxy...


------------------------------------------------------------------------
r20384 | dfelinto | 2009-05-24 21:21:54 +0200 (Sun, 24 May 2009) | 12 lines

Action actuator default value changed from 0.0 to 1.0. Bookmark renamed to Mark and other small logic tooltip changes

- IPOs and actions start it's frame counting in frame 1, not zero.
- Talked with Ben and we agreed to rename the "bookmark" feature before an official release.
- some English typos.
- removed all period in the end of tooltips for consistency's sake.

* note:
I resisted one more time to the temptation of alphabetical ordering the Sensors and Actuators.

That will be the first thing I would like to do after we are done with 2.49 :)
It really annoys me as a user.
------------------------------------------------------------------------
r20383 | khughes | 2009-05-24 18:22:09 +0200 (Sun, 24 May 2009) | 5 lines

User Interface
--------------
Bugfix 18817: DataBrowse for MTex used Material IDs instead of Texture IDs.


------------------------------------------------------------------------
r20382 | schlaile | 2009-05-24 16:14:58 +0200 (Sun, 24 May 2009) | 5 lines

== Sequencer ==

Made relative paths work with custom proxy files.


------------------------------------------------------------------------
r20381 | schlaile | 2009-05-24 16:11:16 +0200 (Sun, 24 May 2009) | 6 lines

== Sequencer ==

Fixed output rescaling, when changing between preview proxy rendering
and final resolution.


------------------------------------------------------------------------
r20380 | schlaile | 2009-05-24 15:41:37 +0200 (Sun, 24 May 2009) | 15 lines

== Sequencer ==

This adds custom proxy file storage to the sequencer.
Reasoning: sometimes low resolution versions are already available as a
seperate file built by the capture application.
So there is no real reason to make blender build it's own seperate proxy.

This also somewhat fixes (aehm works around :) )
[#13632] Creating Proxy Takes Over Process, Should be Background

Since now you can just fire up ffmpeg to build your proxies in the background.
(You could have done before and build a directory of jpeg files, but then you
would have to rename all the files since otherwise things are off by one...)


------------------------------------------------------------------------
r20378 | ben2610 | 2009-05-24 14:53:49 +0200 (Sun, 24 May 2009) | 1 line

BGE: renamed sensor type enum to avoid conflict with mingw (NEAR was causing the problem).
------------------------------------------------------------------------
r20374 | erwin | 2009-05-24 08:31:47 +0200 (Sun, 24 May 2009) | 4 lines

+ renamed pad3 to m_contactProcessingThreshold (thanks Campbell Barton/ideasman for confirming it is ok to rename it)
+ fixed Python method, PyArg_ParseTuple already checks for errors, no returning of NULL, thanks Campbell too)
+ added linear/angular spring for each of the 6DOFs of a generic 6dof constraint.  This makes the generic 6dof constraint very versatile.

------------------------------------------------------------------------
r20372 | dfelinto | 2009-05-24 06:45:10 +0200 (Sun, 24 May 2009) | 8 lines

Patch #18815: BGE: More updates to deprecation documentation and 2.49 conversion script by Alex Frases(z0r)

 - Fixed some deprecation warnings in documentation.
 - Added more conversions to script.
 - Added more attributes to script todo list.
 - Print out name of text buffer when encountering an error in batch mode.
 - Refactor: Simplified attribute map.
 - Added notImplemented function to print warnings for missing conversions. References documentation.
------------------------------------------------------------------------
r20371 | erwin | 2009-05-24 03:55:24 +0200 (Sun, 24 May 2009) | 15 lines

PhysicsConstraints.createConstraint:
allow to dynamically create rigid body constraints while disable collision detection between connected bodies, pass as 10th argument the flag 128

PhysiPython KX_ConstraintWrapper, setParam
export setParam(paramIndex,paramValue0,paramValue1) for Physics constraints
paramIndex 0,1,2 are linear limits, 3,4,5 are angular limits, 6,7,8 are linear motors, 9,10,11 are angular motors

For example:
disableConnectedBodies=128
cons = PhysicsConstraints.createConstraint(oid,rid,generic6dof,pivotInAx,pivotInAy,pivotInAz,angleX,angleY,angleZ,disableConnectedBodies)
#params 0,1,2 are linear limits, low,high value. if low > high then disable limit
cons.setParam(0,0,0)

I will provide an example .blend for Blender 2.49

------------------------------------------------------------------------
r20370 | erwin | 2009-05-24 02:42:40 +0200 (Sun, 24 May 2009) | 2 lines

fix generic 6dof constraint support -> convert 3 values into euler angles and convert those into a full constraint frame
(same values as Rigid Body constraint Generic 6DOF values), and add 'setLimit' support for generic 6DOF constraint. todo: enableMotor
------------------------------------------------------------------------
r20369 | erwin | 2009-05-24 00:35:47 +0200 (Sun, 24 May 2009) | 9 lines

Set default constraint solver mode more compatible to Blender 2.48 settings, this fixes rigid body stacking in this blend file:
http://blenderartists.org/forum/showpost.php?p=1382653&postcount=102

(todo: expose this setting in World setting GUI)

Expose contact processing threshold in Advanced GUI, next to rigid body margin, called CPT.
Default to 1, makes rigid body stacking a bit more stable, smaller values makes sliding easier (at the cost of easier jittering).
Disabled for 'dynamic' objects that don't rotate, because characters etc. always need smooth sliding.

------------------------------------------------------------------------
r20367 | gsrb3d | 2009-05-23 22:33:04 +0200 (Sat, 23 May 2009) | 2 lines

Old de.mo until new de.po is commited too.

------------------------------------------------------------------------
r20366 | erwin | 2009-05-23 22:02:12 +0200 (Sat, 23 May 2009) | 6 lines

Minor fixes in Bullet/constraint solving
Should  make generic 6DOF constraint more useable, and rigid body stacking more stable (warmstarting was accidently switched off)
If time allows, a few more minor last-minute 2.49 fixes might follow.
Check out http://bulletphysics.com/constraintsTutorial.blend


------------------------------------------------------------------------
r20364 | schlaile | 2009-05-23 21:36:11 +0200 (Sat, 23 May 2009) | 8 lines

== Sequencer ==

Fix for the fix: SDL_PauseAudio() doesn't really wait for callback to finish
which can lead to random segfaults if we set audio_scene to 0 afterwards.

So we don't do that.


------------------------------------------------------------------------
r20362 | ben2610 | 2009-05-23 16:46:43 +0200 (Sat, 23 May 2009) | 10 lines

BGE: fix memleaks.

SCA_RandomActuator: The random generator was shared between replicas and not deleted. Added ref counting between replicas to allow deletion at the end.
KX_Camera: The scenegraph node was not deleted for temporary cameras (ImageMirror and shadow), causing 500 bytes leak per frame and per shadow light.
KX_GameActuator: Global dictionary buffer was not deleted after saving.
KX_MotionState: The motion state for compound child was not deleted
KX_ReplaceMeshActuator: The mesh was unnecessarily converted for each actuator and not deleted, causing large memleak.

After these fix, YoFrankie runs without memleak.

------------------------------------------------------------------------
r20361 | ben2610 | 2009-05-23 16:40:36 +0200 (Sat, 23 May 2009) | 1 line

BGE: Random sensor will produce true random sequence of events when seed is set to 0 in the GUI (the actual seed value is stored in the sensor seed attribute). Positive values will use fixed pseudo random sequence.
------------------------------------------------------------------------
r20360 | ben2610 | 2009-05-23 16:21:11 +0200 (Sat, 23 May 2009) | 1 line

FIX memleak in mmap().
------------------------------------------------------------------------
r20359 | migius | 2009-05-23 15:01:08 +0200 (Sat, 23 May 2009) | 1 line

German translation by lobsterbake@web.de and migius@gmx.de from Blendpolis.de
------------------------------------------------------------------------
r20358 | migius | 2009-05-23 14:48:44 +0200 (Sat, 23 May 2009) | 1 line

German translation by lobsterbake@web.de and migius@gmx.de from Blendpolis.de
------------------------------------------------------------------------
r20355 | schlaile | 2009-05-23 09:37:02 +0200 (Sat, 23 May 2009) | 9 lines

== Sequencer ==

This fixes:
[#18373] WAV with IPO CURVE: Clicking in playback

by adding linear interpolation between frames. (Old IPOs were only calculated
once per frame which will lead to clicking on steep curves)


------------------------------------------------------------------------
r20352 | campbellbarton | 2009-05-23 06:56:37 +0200 (Sat, 23 May 2009) | 2 lines

BGE PyController module reloading didnt check that the base of the function was a module (could be a class).

------------------------------------------------------------------------
r20349 | campbellbarton | 2009-05-23 05:19:47 +0200 (Sat, 23 May 2009) | 19 lines

[#18802] BGE conversion script: more attributes; updated GameTypes.py
Patch from Alex Fraser (z0r)

 - All attributes in the conversion map have been checked against the docs. More ambiguities have been resolved.
 - Added option to convert all text buffers in Blender.
 - Updated GameTypes.py: there were inconsistencies.

The script works well (causes no errors) with 0_FPS_Template.blend and vehicle_demo.blend from the
physics-2.43-physics-testfiles pack.

Caveats:
 - Conversions were checked against other deprecated attributes. I may have missed some cases where a deprecated attribute
has the same name as a non-deprecated attribute. I did catch a few though.
 - As with the last version, the conversion is purely text-based and doesn't compile the code. It's easy to create a
script that would break on conversion.

Still, it should get you 90% of the way to a converted script.


------------------------------------------------------------------------
r20346 | khughes | 2009-05-22 19:01:32 +0200 (Fri, 22 May 2009) | 5 lines

Python API
----------
Fix incorrect exception message.


------------------------------------------------------------------------
r20342 | campbellbarton | 2009-05-22 14:31:27 +0200 (Fri, 22 May 2009) | 13 lines

Update to the bolt/nut script, I also replaced some loops with list-comprehension and use mesh.transform(matrix) rather then transforming every vert in a loop.
V2.00 22/05/09 by Aaron Keith

- Better error checking.
- Lock Nut and Hex Nut meshes added.
- Pre-sets for common metric bolts and nuts.
- Improved GUI.
- Meshes scaled to a smaller size
- Fixed bug when using crest and root percent other than 10%
- Can now create meshes in Edit Mode.  This will add to the 
  current mesh and align with the current view.


------------------------------------------------------------------------
r20339 | campbellbarton | 2009-05-22 11:48:05 +0200 (Fri, 22 May 2009) | 5 lines

the debug option for BGE scripts only reloaded modules but not packages submodules.
Now reload all the submodules too.

It was also hiding the error message if there was a syntax error which wasnt so helpful.

------------------------------------------------------------------------
r20334 | dfelinto | 2009-05-22 08:12:18 +0200 (Fri, 22 May 2009) | 9 lines

Fix for: energy IPO not supported in glsl mode (reported in the forum).
in fact I redid part of the last "fix", making it working properly now.

Before we were changing Lamp->la . This is the Blender Lamp, we shouldn't touch it.
So this part of the code is correct now.

Things that could be tackled:
- color attribute is returning negative values when NEGATIVE is toggled
- objects with no material (default gray one) still don't support lamp spots (not spot lamp but the spot of the lamps)
------------------------------------------------------------------------
r20333 | campbellbarton | 2009-05-22 05:45:46 +0200 (Fri, 22 May 2009) | 3 lines

Removed use of CrossVecs, DotVecs, CrossQuats and DotQuats
for all scripts except import_dxf and colladaImEx/translator.py

------------------------------------------------------------------------
r20332 | campbellbarton | 2009-05-22 05:22:56 +0200 (Fri, 22 May 2009) | 5 lines

- Deprecated Mathutils.CrossVecs(v1,v2) for v1.cross(v2), (same with .DotVecs -> v1.dot(v2), for CrossQuats and DotQuats too)
- Grouped Mathutils deprecated functions
- Dont include source code in bpy epydocs


------------------------------------------------------------------------
r20328 | ben2610 | 2009-05-21 21:38:49 +0200 (Thu, 21 May 2009) | 1 line

BGE remove parent: unparented object keeps the linear and angular velocity it had while being parented.
------------------------------------------------------------------------
r20327 | gsrb3d | 2009-05-21 20:22:35 +0200 (Thu, 21 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20326 | ben2610 | 2009-05-21 20:10:19 +0200 (Thu, 21 May 2009) | 33 lines

BGE: GUI control over frame rate, logic rate, physics rate and physics subrate.

Four new buttons in World settings to control frame rate:
fps:  Nominal frame rate in frame per second.
      Also sets the physics timestep = 1/fps
phys: Maximum number of physics timestep per game frame in case
      the actual fps is less than nominal. This allows the 
      physics to keep up with real time even if the graphics slows
      down the game.
sub:  Fixed number of simulation substeps per physic timestep.
      Improves the precision of the physics simulation. Useful for
      fast moving objects for example.
log:  Maximum number of logic steps per game frame in case the 
      actual fps is less than nominal. This allows the logic
      system to follow the physics simulation. 
      Upper bound = phys 
      (setting the value higher than phys has no effect).
      On games with heavy logic system, it is useful to set this
      value to 1, to keep logic time under control.

All these values were already accessible from Python except phys:

GameLogic.getMaxPhysicsFrame():
	Gets the maximum number of physics frame per render frame.

GameLogic.setMaxPhysicsFrame(phys):
	Sets the maximum number of physics timestep that are executed per render frame.
	Higher value allows physics to keep up with realtime even if graphics slows down the game.
	Physics timestep is fixed and equal to 1/tickrate (see setLogicTicRate)
	maxphysics/ticrate is the maximum delay of the renderer that physics can compensate.
      phys: integer


------------------------------------------------------------------------
r20325 | migius | 2009-05-21 19:54:45 +0200 (Thu, 21 May 2009) | 6 lines

rvk1_torvk2.py patch committed by jean-michel soler (jms)
[#18765] Update of the rvk1_torvk2.py bundled script:
The script has been modified to use the last management of the modifiers in the python api and corrected too. Now it
can copy the mesh object when it is alone and also a shape keys to the second one if needed.


------------------------------------------------------------------------
r20323 | migius | 2009-05-21 19:21:57 +0200 (Thu, 21 May 2009) | 7 lines

Collada scripts updated,
patch commited by Jan Diederich (collad)
[#18782] COLLADA exporter: Added a helpful errormessage if the parenting is wrong and a progress bar
# 2009.05.17 by jan:
# - More information for the user if an error happened (wrong/missing parenting).
# - Added a progress bar for export (bar for import already exists). 

------------------------------------------------------------------------
r20318 | campbellbarton | 2009-05-21 16:11:12 +0200 (Thu, 21 May 2009) | 2 lines

build without SDL in GCC 4.4

------------------------------------------------------------------------
r20315 | ben2610 | 2009-05-21 15:32:15 +0200 (Thu, 21 May 2009) | 80 lines

BGE: user control to compound shape and setParent.

Compound shape control
======================
1) GUI control
It is now possible to control which child shape is added to 
a parent compound shape in the Physics buttons. The "Compound"
shape button becomes "Add to parent" on child objects and
determines whether the child shape is to be added to the top
parent compound shape when the game is stated.

Notes: * "Compound" is only available to top parent objects
         (objects without parent).
       * Nesting of compound shape is not possible: a child
         object with "Add to parent" button set will be added
         to the top parent compound shape, regardless of its
         position in the parent-child hierarchy and even if its
         immediate parent doesn't have the "Add to parent" button set.

2) runtime control
It is now possible to control the compound shape at runtime:
The SetParent actuator has a new "Compound" button that indicates
whether the object shape should be added to the compound shape
of the parent object, provided the parent has a compound shape
of course. If not, the object retain it's individual state
while parented.
Similarly, the KX_GameObject.setParent() python function has
a new compound parameter.

Notes: * When an object is dynamically added to a compound 
         shape, it looses temporarily all its physics capability
         to the benefit of the parent: it cannot register collisions
         and the characteristics of its shape are lost (ghost, sensor,
         dynamic, etc.). 
       * Nested compound shape is not supported: if the object
         being parented is already a compound shape, it is not
         added to the compound parent (as if the Compound option 
         was not set in the actuator or the setParent function).
       * To ensure compatibility with old blend files, the Blender
         subversion is changed to 2.48.5 and the old blend files
         are automatically converted to match the old behavior: 
         all children of a Compound object will have the "Add to
         parent" button set automatically.

Child ghost control
===================
It is now possible to control if an object should becomes ghost
or solid when parented. This is only applicable if the object
is not added to the parent compound shape (see above).
A new "Ghost" button is available on the SetParent actuator to 
that effect. Similarly the KX_GameObject.setParent() python function
has a new compound parameter.

Notes: * This option is not applicable to sensor objects: they stay
         ghost all the time.
       * Make sure the child object does not enter in collision with
         the parent shape when the Ghost option if off and the parent is
         dynamic: the collision creates a reaction force but the parent
         cannot escape the child, so the force builds up and produces
         eratic movements.
       * The collision capability of an ordinary object (dynamic or static)
         is limited when it is parented: it becomes automatically static
         and can only detect dynamic and sensor objects.
       * A sensor object retain its full collision capability when parented:
         it can detect static and dynamic object.

Python control
==============
KX_GameObject.setParent(parent,compound,ghost):
	Sets this object's parent. 
	Control the shape status with the optional compound and ghost parameters:
	compound=1: the object shape should be added to the parent compound shape (default)
	compound=0: the object should keep its individual shape. 
	In that case you can control if it should be ghost or not:
	ghost=1 if the object should be made ghost while parented (default)
	ghost=0 if the object should be solid while parented 
	Note: if the object type is sensor, it stays ghost regardless of ghost parameter
		
	parent: KX_GameObject reference or string (object name w/o OB prefix)

------------------------------------------------------------------------
r20313 | schlaile | 2009-05-21 12:25:40 +0200 (Thu, 21 May 2009) | 13 lines

== Sequencer ==

This fixes:
[#18007] Audio playback of a scene strip containing audio is broken.

(needed a different recursion protection than video render code, since
video and audio render can be called simultaneously because of SDL audio thread
callbacks)

Also: we don't display a wait cursor, if the scene strip has DOSEQ enabled.
(no need to wait, it is the sequencer which is realtime by definition :)


------------------------------------------------------------------------
r20311 | campbellbarton | 2009-05-21 09:28:02 +0200 (Thu, 21 May 2009) | 3 lines

[#18795] Subdivide Smooth can give wrong vcol
weights given by subdivide are not normalized, if that was fixed could avoid clamping.

------------------------------------------------------------------------
r20310 | campbellbarton | 2009-05-21 01:31:58 +0200 (Thu, 21 May 2009) | 20 lines

fix for [#18772] c3d_import script crashes
Patch from Roger Wickes update to 2.48 sFrame, eFrame, fps.


[#18794] GE API conversion script: 2.48 -> 2.49
patch from Alex Fraser (z0r), will test further in the next few days.
 --- 
This is text plug in and standalone script that updates Blender 2.48 Game Engine scripts to be compatible with the 2.49
API.

The script contains a mapping of attribute names to functions that do the conversion. Most of the mappings were extracted
from the documentation in GameTypes.py. Where the conversion is ambiguous, the script will not change the source except
to insert a warning as a comment. This means that the script does not completely automate the conversion process, but
will do a lot of the work.

The script still needs a fair bit of testing. Many of the mappings have not been tested and could result in broken scripts.
I'm submitting this patch now to start the review process early. I think I might need help if it is to be included in
2.49.


------------------------------------------------------------------------
r20309 | ben2610 | 2009-05-20 23:34:50 +0200 (Wed, 20 May 2009) | 1 line

BGE #18664: Incorrect behavior for objects when unparented. A parented object is made static in all cases.
------------------------------------------------------------------------
r20305 | gsrb3d | 2009-05-20 19:24:57 +0200 (Wed, 20 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20291 | jhk | 2009-05-20 14:13:37 +0200 (Wed, 20 May 2009) | 1 line

Fix for [#18785] Crash rendering hair particle system
------------------------------------------------------------------------
r20286 | ben2610 | 2009-05-20 10:45:42 +0200 (Wed, 20 May 2009) | 13 lines

BGE logic patch: fix another incompatibility with YF.

Previous patch was not sorting the state actuators. This was causing 
some problems with YoFrankie that relies on the order of actuators
when multiple state actuators are activated at once.

Active state actuators will now be sorted per object. This doesn't
change the fact that state actuators are executed before all other
actuators as before.

Incidently, made the logic loop faster.


------------------------------------------------------------------------
r20284 | dfelinto | 2009-05-20 07:33:39 +0200 (Wed, 20 May 2009) | 8 lines

Moving ScreenSpace methods from Rasterizer to KX_Camera (getScreenPos, getScreenVect, getScreenRay)

The modules were moved in order to access the camera internal matrixes. It will make then compatible with multiple viewports in a near future.
So far the problem I found was:
1) KX_Camera doesn't store the canvas viewport
2) RAS_ICanvas methods: GetDisplayArea and GetWindowArea are affected by multiple viewports (and they shouldn't).

Test file is here: http://www.pasteall.org/blend/68
------------------------------------------------------------------------
r20283 | campbellbarton | 2009-05-20 05:30:50 +0200 (Wed, 20 May 2009) | 2 lines

remove module that was never used.

------------------------------------------------------------------------
r20281 | campbellbarton | 2009-05-20 03:11:56 +0200 (Wed, 20 May 2009) | 6 lines

- Added an intro page for the BGE docs rather then using GameLogic
- Added notes on BGE stability and modules
- updated some examples to new api syntax
- include BGL Mathutils and Geometry modules in docs


------------------------------------------------------------------------
r20277 | ton | 2009-05-19 17:40:03 +0200 (Tue, 19 May 2009) | 12 lines

Last minute mini feature:

Expanded the "10-timer" (ALT+CTRL+T) with two new test options:

- Draw entire window
- Anim step

The latter will only call animation system, no drawing.
Added this to match the testing menu in 2.5 too, so we can get good
reference performance tests.


------------------------------------------------------------------------
r20273 | campbellbarton | 2009-05-19 09:16:40 +0200 (Tue, 19 May 2009) | 8 lines

BGE Py API
use PY_SET_ATTR_FAIL and PY_SET_ATTR_SUCCESS return values so the fake subclassing can know if a value failed to be set or if it was missing from the type. (with PY_SET_ATTR_MISSING)

Also noticed some other mistakes.
- KX_LightObject, setting the type didnt check for an int.
- KX_SoundActuator, didnt return an error when assigning an invalid orientation value
- KX_GameObject, worldOrientation didnt return an error value.

------------------------------------------------------------------------
r20272 | ben2610 | 2009-05-19 08:48:36 +0200 (Tue, 19 May 2009) | 1 line

BGE bug #18762 fixed: softbody. An incompatibility between the soft body deformer and other types of deformer was causing the soft body to disappear in the game. This was the case when the soft body had an armature or simply vertex groups.
------------------------------------------------------------------------
r20271 | campbellbarton | 2009-05-19 07:07:52 +0200 (Tue, 19 May 2009) | 9 lines

recorded game physics ipo's also have the same problem FBX export had with eulers rotations
http://www.graphicall.org/ftp/ideasman42/game_euler.png

- dont calculate handles for key added (it does them all at the end).
- was doing twice the number of curve lookup's per frame as was needed.
- test handles function that runs at the end was converting to ipo transformation values for no reason.
- when adding new curves set them to linear interpolation.


------------------------------------------------------------------------
r20269 | ben2610 | 2009-05-18 23:32:03 +0200 (Mon, 18 May 2009) | 1 line

BGE soft body: give access to the soft body collision margin in the Advanced panel. By default the collision margin is set to 0.25, which causes the soft body to somewhat float above the ground. You can decrease this value to get more realistic collision. Note that the algorithm may become unstable with lower margin.
------------------------------------------------------------------------
r20268 | dfelinto | 2009-05-18 23:05:21 +0200 (Mon, 18 May 2009) | 6 lines

CMake + MSVC debug build fix

Initializing lResult = 0;
and removing NOP (if(!lResult) lResult = 0;

That was discussed with Genscher and Benoit in IRC.
------------------------------------------------------------------------
r20267 | dfelinto | 2009-05-18 22:23:38 +0200 (Mon, 18 May 2009) | 1 line

Bug fix for: [#18761] GLSL Negative light option in Blender does not work in the GE
------------------------------------------------------------------------
r20260 | campbellbarton | 2009-05-18 16:20:16 +0200 (Mon, 18 May 2009) | 2 lines

bug in copy weight group since 2.44, accessing free'd memory.

------------------------------------------------------------------------
r20259 | campbellbarton | 2009-05-18 13:15:24 +0200 (Mon, 18 May 2009) | 3 lines

[#18778] Lattice Vertex Groups Don't get deleted
fixed 'Copy Group' for lattice too.

------------------------------------------------------------------------
r20257 | ton | 2009-05-18 12:34:26 +0200 (Mon, 18 May 2009) | 12 lines

Bugfix #18733 & #18609 (revisited)

New imbuf scaling code, advertised as "quick and quality" gave
inacceptable noise and rounding errors. 

Check this bugreport for images that show it well:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=18609&group_id=9

For release, better disable this code and fall back on perfectly
working old code. :)


------------------------------------------------------------------------
r20255 | campbellbarton | 2009-05-18 12:27:09 +0200 (Mon, 18 May 2009) | 8 lines

Sensor objects were initialized as invisible, which conflicted with initializing the invisible setting from the outliner render object (which it seems nobody knew about).

Added an 'Invisible' button to make this more clear, it seems like a display option but its also related to logic because the actuators can toggle this after the game starts.

Without this its annoying to add UV's only to set the invisible flag.

Sensor objects were not clearing the softbody gameflag

------------------------------------------------------------------------
r20254 | ben2610 | 2009-05-18 10:51:55 +0200 (Mon, 18 May 2009) | 1 line

BGE: forgot the PyDoc in previous commit
------------------------------------------------------------------------
r20252 | ben2610 | 2009-05-18 10:22:51 +0200 (Mon, 18 May 2009) | 15 lines

BGE #18665: Servo control and relative motion

Servo control motion actuator did not work as expected when the object
is moving on a moving platform. 

This patch introduces a new Ref field in the servo motion actuator
to set a reference object for the velocity calculation.
You can set the object during the game using the actuator "reference"
attribute; use an object name or an object reference.

The servo controller takes into account the angular velocity of the
reference object to compute the relative local velocity.



------------------------------------------------------------------------
r20251 | ben2610 | 2009-05-18 09:53:13 +0200 (Mon, 18 May 2009) | 1 line

cmake: apply patch to link with correct python library in win32 debug mode.
------------------------------------------------------------------------
r20250 | campbellbarton | 2009-05-18 06:33:33 +0200 (Mon, 18 May 2009) | 2 lines

Need to export the mesh-object into the bind-pose otherwise Maya complains the FBX has errors.

------------------------------------------------------------------------
r20249 | campbellbarton | 2009-05-18 06:27:48 +0200 (Mon, 18 May 2009) | 2 lines

error in last commit.

------------------------------------------------------------------------
r20248 | campbellbarton | 2009-05-18 06:11:54 +0200 (Mon, 18 May 2009) | 8 lines

Bugfix for FBX export for animations
in 2.48 constant interpolations meant that wasnt a problem but since it now uses linear interp. you can notice errors with animated characters because the 2 eulers are not compatible.

Added optional euler_compat argument to matrix.toEuler(eul) and quat.toEuler(eul) so when getting the euler rotations from a list of matrices the animation curve will be continues.
Also added euler.makeCompatible(euler).

- warning silenced for imagepaint.c

------------------------------------------------------------------------
r20245 | ben2610 | 2009-05-17 23:50:31 +0200 (Sun, 17 May 2009) | 17 lines

BGE: bookmark option on controller to make them run before all other controllers.

A new bookmark button is available on the controller UI. 
When set, the controller is guaranteed to execute before all
other non-bookmarked controllers, provided it is scheduled 
for execution. 

This is useful for initialization scripts that run once at startup or
scripts that must set some prerequisite for the other controllers at
the start of each logic frame.

This feature is also available at python level with the "bookmark"
attribute. It can be changed during the game.

Note that if several script are bookmarked, their relative order of 
execution is not guaranteed. Make sure they don't depend on each other.

------------------------------------------------------------------------
r20244 | dfelinto | 2009-05-17 22:37:13 +0200 (Sun, 17 May 2009) | 8 lines

BGE Dome: removing of size option and adding tilt option.

- Size adjustments can be accomplished with warp mesh data now. So we get a free spot in the GUI for a tilt option.

- Tilt option to tilt the camera (for planetarium domes).
Angle is in degree from -180 to +180. It's needed for planetarium domes (as this one http://domejunky.blogspot.com/2009/05/dome-corrected-bge.html ).

- This is the last commit regarding dome code I expected to 2.49. I consider this feature full implemented now. (working on docs now)
------------------------------------------------------------------------
r20243 | campbellbarton | 2009-05-17 18:30:18 +0200 (Sun, 17 May 2009) | 6 lines

While testing YoFrankie with the new API attributes found some issues...
- corrections to docs
- disallow calling controller.activate(actuator) when the controller is not active. (Raise a SystemError)
- Added 2 new attributes, CValue.name - deprecates CValue.getName(), KX_GameObject.children deprecated KX_GameObject.getChildren(), (same for getChildrenRecursive()).


------------------------------------------------------------------------
r20240 | dingto | 2009-05-17 17:09:03 +0200 (Sun, 17 May 2009) | 5 lines

Patch #18758 for bug #17423 by Matt D. (foom) Thanks! 

"Mouse wheel zoom lost after rendering."


------------------------------------------------------------------------
r20239 | ben2610 | 2009-05-17 14:51:51 +0200 (Sun, 17 May 2009) | 59 lines

BGE: new sensor object to generalize Near and Radar sensor, static-static collision capbility.

A new type of "Sensor" physics object is available in the GE for advanced
collision management. It's called Sensor for its similarities with the
physics objects that underlie the Near and Radar sensors.
Like the Near and Radar object it is:
- static and ghost
- invisible by default
- always active to ensure correct collision detection
- capable of detecting both static and dynamic objects
- ignoring collision with their parent
- capable of broadphase filtering based on:
  * Actor option: the collisioning object must have the Actor flag set to be detected
  * property/material: as specified in the collision sensors attached to it
  Broadphase filtering is important for performance reason: the collision points
  will be computed only for the objects that pass the broahphase filter.
- automatically removed from the simulation when no collision sensor is active on it

Unlike the Near and Radar object it can:
- take any shape, including triangle mesh
- be made visible for debugging (just use the Visible actuator)
- have multiple collision sensors using it

Other than that, the sensor objects are ordinary objects. You can move them
freely or parent them. When parented to a dynamic object, they can provide
advanced collision control to this object.

The type of collision capability depends on the shape:
- box, sphere, cylinder, cone, convex hull provide volume detection.
- triangle mesh provides surface detection but you can give some volume
  to the suface by increasing the margin in the Advanced Settings panel.
  The margin applies on both sides of the surface.

Performance tip:
- Sensor objects perform better than Near and Radar: they do less synchronizations
  because of the Scenegraph optimizations and they can have multiple collision sensors
  on them (with different property filtering for example).
- Always prefer simple shape (box, sphere) to complex shape whenever possible.
- Always use broadphase filtering (avoid collision sensor with empty propery/material)
- Use collision sensor only when you need them. When no collision sensor is active
  on the sensor object, it is removed from the simulation and consume no CPU.

Known limitations:
- When running Blender in debug mode, you will see one warning line of the console:
  "warning btCollisionDispatcher::needsCollision: static-static collision!"
  In release mode this message is not printed.
- Collision margin has no effect on sphere, cone and cylinder shape.

Other performance improvements:
- Remove unnecessary interpolation for Near and Radar objects and by extension
  sensor objects.
- Use direct matrix copy instead of quaternion to synchronize orientation.

Other bug fix:
- Fix Near/Radar position error on newly activated objects. This was causing
  several detection problems in YoFrankie
- Fix margin not passed correctly to gImpact shape.
- Disable force/velocity actions on static objects 

------------------------------------------------------------------------
r20238 | ben2610 | 2009-05-17 14:25:06 +0200 (Sun, 17 May 2009) | 1 line

cmake: apply ADD_SUBDIR patch.
------------------------------------------------------------------------
r20237 | ton | 2009-05-17 12:30:13 +0200 (Sun, 17 May 2009) | 6 lines

Bugfix #18676

Texture "map to" Ambient did work now (previous fix) but not for
ambient occlusion yet. 


------------------------------------------------------------------------
r20236 | ton | 2009-05-17 11:56:48 +0200 (Sun, 17 May 2009) | 11 lines

Bugfix #18756

Texture nodes: on file load, the preview render signal was ignored.
Found out it ignores it all the way, inserting refreshes all over, not
using the 'afterqueue'. Will live with that for now, in 2.5 it's nicer
supported anyway.

Just added another refresh line on the proper signal to make it look nice
on file loads.


------------------------------------------------------------------------
r20233 | theeth | 2009-05-17 01:47:17 +0200 (Sun, 17 May 2009) | 1 line

Same tooltip whether snap button is press or not (it used to have a different one when turned on).
------------------------------------------------------------------------
r20232 | genscher | 2009-05-16 23:16:04 +0200 (Sat, 16 May 2009) | 1 line

Bugfix: Changing ShadowBufferSize didn't update 3d view - reported by nudelZ via IRC (simple update call was missing)
------------------------------------------------------------------------
r20226 | campbellbarton | 2009-05-16 15:19:23 +0200 (Sat, 16 May 2009) | 2 lines

setting up the BGE Python sys.path for importing modules wasnt working for library paths.

------------------------------------------------------------------------
r20224 | blendix | 2009-05-16 14:56:09 +0200 (Sat, 16 May 2009) | 3 lines

* Fix for another OpenAL compile error on MSVC.


------------------------------------------------------------------------
r20222 | campbellbarton | 2009-05-16 08:57:38 +0200 (Sat, 16 May 2009) | 4 lines

replace Py_BuildValue("OOO", Py_None, Py_None, Py_None) with a function that makes and fills the tuple,
since some scripts call rayCast many times in a single logic tick,
contrived benchmark shows this to be about 20% faster.

------------------------------------------------------------------------
r20220 | campbellbarton | 2009-05-16 02:49:28 +0200 (Sat, 16 May 2009) | 5 lines

BGE Py API Bugfixes
KX_GameObject.getVelocity() would set an error but nor return an error value when an non vector argument was given.
KX_PythonSeq_Type was not initialized with PyType_Ready which could crash blender when inspecting the type.


------------------------------------------------------------------------
r20219 | khughes | 2009-05-15 23:27:13 +0200 (Fri, 15 May 2009) | 5 lines

Scripts
-------
Fix some typos in script tooltips and descriptions-- no code changes.


------------------------------------------------------------------------
r20218 | ben2610 | 2009-05-15 22:51:32 +0200 (Fri, 15 May 2009) | 1 line

BGE: fix a compatibility problem since logic patch with YoFrankie (and other games I guess). State actuators will now execute before any other actuators to make sure that the actuators link count are up to date when they execute.
------------------------------------------------------------------------
r20217 | blendix | 2009-05-15 20:21:27 +0200 (Fri, 15 May 2009) | 4 lines

* Fix for compile error on MSVC.
* Remove alut from makefiles and cmake.


------------------------------------------------------------------------
r20213 | blendix | 2009-05-15 14:34:01 +0200 (Fri, 15 May 2009) | 16 lines

Bug/patch #18714: fix game engine sound on OS X Intel, patch by
Ken Hursh and myself.

* Get rid of dependency on ALUT. It is really only used to
  load a WAV file, and apparently crashing doing so on OS X Intel,
  (perhaps due to endian issues?). There was already own code
  for doing this on some system, so now it uses that. That code
  had it's own endian issues which are now fixed, along with
  better checks to avoid crashing on corrupt or unsupported files.

* Also get rid of some unecessarily complicate #ifdefs.

* According to the bug report OS X Intel OpenAL only works with
  static openal linking still (WITH_BF_STATICOPENAL for scons).


------------------------------------------------------------------------
r20211 | joeedh | 2009-05-15 07:11:10 +0200 (Fri, 15 May 2009) | 1 line

add new, uncorrupted zip file, generated by 7zip this time rather then winrar
------------------------------------------------------------------------
r20210 | campbellbarton | 2009-05-15 05:26:53 +0200 (Fri, 15 May 2009) | 40 lines

Name attributes added since 2.48a more consistently.

BL_ActionActuator::blendin -> blendIn
BL_ActionActuator::end -> frameEnd
BL_ActionActuator::property -> propName
BL_ActionActuator::start -> frameStart
BL_ActionActuator::type -> mode
BL_ShapeActionActuator::blendin -> blendIn
BL_ShapeActionActuator::end -> frameEnd
BL_ShapeActionActuator::frameProperty -> framePropName
BL_ShapeActionActuator::property -> propName
BL_ShapeActionActuator::start -> frameStart
BL_ShapeActionActuator::type -> mode
KX_CameraActuator::xy -> useXY
KX_ConstraintActuator::property -> propName
KX_GameActuator::file -> fileName
KX_GameObject::localScaling -> localScaling
KX_GameObject::worldScaling -> worldScaling
KX_IpoActuator::endFrame -> frameEnd
KX_IpoActuator::startFrame -> frameStart
KX_IpoActuator::type -> mode
KX_RaySensor::property -> propName
KX_SCA_DynamicActuator::operation -> mode
KX_Scene::objects_inactive -> objectsInactive
KX_SoundActuator::filename -> fileName
KX_SoundActuator::type -> mode
KX_TouchSensor::objectHit -> hitObject
KX_TouchSensor::objectHitList -> hitObjectList
KX_TouchSensor::property -> propName
KX_TouchSensor::pulseCollisions -> usePulseCollision
KX_VisibilityActuator::occlusion -> useOcclusion
KX_VisibilityActuator::recursion -> useRecursion
SCA_2DFilterActuator::passNb -> passNumber
SCA_PropertyActuator::property -> propName
SCA_PropertyActuator::type -> mode
SCA_PropertySensor::property -> propName
SCA_PropertySensor::type -> mode
SCA_RandomActuator::property -> propName


------------------------------------------------------------------------
r20209 | campbellbarton | 2009-05-15 04:03:27 +0200 (Fri, 15 May 2009) | 2 lines

minor change - mistake in joystick fix, util function for getting attrs from BGE types

------------------------------------------------------------------------
r20208 | campbellbarton | 2009-05-15 01:06:05 +0200 (Fri, 15 May 2009) | 13 lines

BGE PyAPI
[#18701] Issues with camera.pointInsideFrustum method
- note in docs that the projection matrix is not correct for first logic tick.

Renamed...
KX_Camera.isViewport -> KX_Camera.useViewport
KX_Lamp.quat_attenuation -> KX_Lamp.quad_attenuation

Deprecated KX_Camera.getProjectionMatrix(), KX_Camera.setProjectionMatrix() for projection_matrix attr

Added most missing docs reported by the doc-checker script


------------------------------------------------------------------------
r20207 | campbellbarton | 2009-05-14 23:06:48 +0200 (Thu, 14 May 2009) | 3 lines

[#18749] BGE: Crash on joysticksensor.getAxisValue()
negative index would be used when the joystick was not found, crashing python api, initialize these as 0 now.

------------------------------------------------------------------------
r20202 | theeth | 2009-05-14 20:32:27 +0200 (Thu, 14 May 2009) | 5 lines

Fix for bug #18622

Snapping has to be reinit after changing mode during transform.

Needs to be fixed in 2.5 too, but a tad differently.
------------------------------------------------------------------------
r20200 | ben2610 | 2009-05-14 15:47:08 +0200 (Thu, 14 May 2009) | 31 lines

BGE modifier: generate correct physic shape, share static derived mesh, share display list. 

This commit completes the support for modifiers in the BGE.
- The physic shape is generated according to the derived mesh. 
  This is true for all types of shapes and all types of 
  objects except soft body.
- Optimization for static derived mesh (mesh with modifiers
  but no armature and no shape keys). Replicas will share
  the derived mesh and the display list: less memory and
  faster rendering. With this optimization, the static 
  derived mesh will render as fast as if the modifiers were
  applied.

Known Limits:
- Sharing of mesh and display list is only possible between
  in-game replicas or dupligroup. If you want to instantiate
  multiple objects with modifiers, use dupligroup to ensure
  best memory and GPU utilization.
- rayCast() will interact with the derived mesh as follow:
  Hit position and hit normal are the real values according
  to the derived mesh but the KX_PolyProxy object refers to
  the original mesh. You should use it only to retrieve the
  material.
- Dynamic derived mesh have very poor performance:
  They use direct openGL calls for rendering (no support
  for display list and vertex array) and they dont't share
  the derived mesh memory. Always apply modifiers on dynamic
  mesh for best performance.
- Time dependent modifiers are not supported.
- Modifiers are not supported for Bullet soft body.

------------------------------------------------------------------------
r20199 | ton | 2009-05-14 14:36:07 +0200 (Thu, 14 May 2009) | 6 lines

Bugfix, sorta :)

Removed option to choose rendering to yafray. New yafaray is better, and
already is being linked as option on the blender.org download page.


------------------------------------------------------------------------
r20198 | ton | 2009-05-14 14:16:28 +0200 (Thu, 14 May 2009) | 3 lines

Also the 2.4x svn has the corrupted zip!


------------------------------------------------------------------------
r20196 | ton | 2009-05-14 13:36:52 +0200 (Thu, 14 May 2009) | 5 lines

Bugfix #18743

Render: raytracing materials with transp-shadow + SSS crashed 


------------------------------------------------------------------------
r20195 | campbellbarton | 2009-05-14 12:59:38 +0200 (Thu, 14 May 2009) | 2 lines

updated BGE doc checker script for classes now being in GameTypes.py

------------------------------------------------------------------------
r20194 | ton | 2009-05-14 11:32:47 +0200 (Thu, 14 May 2009) | 8 lines

Bugfix #18725

Particles using group-duplication, with Metaballs in group, enter eternal
loop in our code now. This is a non-supported case... metaball code doesn't
support recursions. Added a provision in code to catch this case, and print
an error in console to denote this.


------------------------------------------------------------------------
r20193 | campbellbarton | 2009-05-14 09:59:44 +0200 (Thu, 14 May 2009) | 4 lines

BGE Py API
scene.active_camera can now be set so you can more easily set the current camera from python scripts without using an actuator.
ConvertPythonToCamera utility function to get a camera from a python string or KX_Camera type.

------------------------------------------------------------------------
r20192 | campbellbarton | 2009-05-14 04:21:50 +0200 (Thu, 14 May 2009) | 3 lines

[#18685] dark pixels created when during texture "full baking"
fix/workaround - offset by a 500th of a pixel to avoid baking missing pixels that are between 2 faces, its still possible pixels could be between faces but much less likely then it is currently with pixel aligned UVs.

------------------------------------------------------------------------
r20191 | campbellbarton | 2009-05-14 02:10:25 +0200 (Thu, 14 May 2009) | 2 lines

print warnings when python attributes and methods conflict with game properties.

------------------------------------------------------------------------
r20190 | migius | 2009-05-14 01:28:53 +0200 (Thu, 14 May 2009) | 12 lines

Collada scripts updated,
patch commited by Jan Smith (collad)
[#18726] COLLADA export doesn_t convert names correctly to valid COLLADA id_s: 
# 2009.05.11 by jan:
# - Perfected the id renaming to fulfill at 100.0% the COLLADA standard for allowed UTF-8 
#	chars. The new renaming method is also much faster then the old one (benchmarked with
#	Python 2.5).
# - Fixed the skeleton/joint controller!
#	(Corrected the referencing of the 
#	"<skin><source><technique_common>,<accessor source="...">"
#	attribute. It pointed to its <source> node, and not the array in <source>.) 

------------------------------------------------------------------------
r20189 | campbellbarton | 2009-05-14 00:52:31 +0200 (Thu, 14 May 2009) | 6 lines

* More updates to game engine type docs from Roelf de Kock

* FBX Bugfix, was exporting all animation curves as 'Constant' type (no docs for this so could only guess), Thanks to Sander Brandenburg for spotting this problem.
Also improved keyframe removal to work on animation curves an angle


------------------------------------------------------------------------
r20188 | ben2610 | 2009-05-13 19:02:39 +0200 (Wed, 13 May 2009) | 1 line

BGE: 1-liner patch to put the Always sensor in non pulse mode by default. I've seen enough games with Always sensors in pulse mode while they should not; this patch should prevent this common mistake.
------------------------------------------------------------------------
r20187 | ben2610 | 2009-05-13 18:48:33 +0200 (Wed, 13 May 2009) | 1 line

BGE API cleanup: motion actuator. Apply patch from Moguri.
------------------------------------------------------------------------
r20186 | khughes | 2009-05-13 17:41:33 +0200 (Wed, 13 May 2009) | 5 lines

Python API
----------
Fix problem with ShrinkWrap PROJECT_OVER_NORMAL setting.


------------------------------------------------------------------------
r20185 | campbellbarton | 2009-05-13 14:26:54 +0200 (Wed, 13 May 2009) | 2 lines

use epy deprecated field and link to attributes

------------------------------------------------------------------------
r20184 | campbellbarton | 2009-05-13 12:15:19 +0200 (Wed, 13 May 2009) | 7 lines

Moved game engine types into GameTypes.py because every type put into a module giving lots of references to KX_GameObject.KX_GameObject and having to write in links like L{CListValue<CListValue.CListValue>}.

Looked into ways around this but epydoc has no way to import a class without its module and the @include field is maked as 'TODO'.

Also removed the outdated 'WhatsNew' section and linked to the 2.49 release notes.


------------------------------------------------------------------------
r20183 | ben2610 | 2009-05-13 08:53:21 +0200 (Wed, 13 May 2009) | 1 line

BGE #18691: Blenderplayer fullscreen messes up desktop on OS X Leopard. Applied patch #18705 by sbn. I cannot compile osx but the patch seems perfectly alright to me. Can OSX users confirm that it compiles well on the various OSX version?
------------------------------------------------------------------------
r20182 | ben2610 | 2009-05-13 08:42:15 +0200 (Wed, 13 May 2009) | 1 line

BGE #18732: Python Light options don't work with GLSL materials. Commited patch from dfelinto and moguri, thanks for the good work.
------------------------------------------------------------------------
r20179 | campbellbarton | 2009-05-13 02:20:14 +0200 (Wed, 13 May 2009) | 49 lines

[#18694] Added support for Wavefront OBJ groups for both the import and export scripts
from Paolo Ciccone (pciccone) 

Im not that keen on this functionality since vertex groups in blender are for weight painting and OBJ's groups are more like sub-objects, The conversion between these is a poor approximation (one vertex group per face).
But this is still useful for using blender with poser so accepting these 2 patches.

Made some changes from the patch
*Export*
- vgroup off by default, since this is mainly useful for corner cases
- findVertexGroupName() - changed how exporting selects a vertex group for a face, use the highest combind weight for each group instead of  the number of checking how many times the verts are in a group because they could have a zero weight.
- findVertexGroupName() - would fail if a faces verts were not in any groups, now return a (null) group
- Allow modifiers to export with vgroups

*Import*
- disable by default
- ignore (null) groups
- fixed a problem where the patch broke SPLIT_GROUPS
- move the group definition out of global namespace, breaks importing as a module.

--- Patch submission info
The import/export scripts included with Blender 2.48 don't save/preserve groups defined in OBJ file. This presents a
couple of issues: users loading an obj file with groups are not able to use a rather important set of data. When the
file is then saved the groups are lost bringing up both the issue of data loss and loss of functionality as groups are
used for rigging and morph target creation for Poser/DAZ Studio and all compatible applications. Of course other
animation/modeling packages that use OBJ files might be affected.

The solution that I present here simply patches the excellent python scripts written by Campbell Barton and Jiri Hnidek.
The new code implements the preservation of groups by creating Blender vertex groups during import and by re-writing
those groups in the OBJ file during export. Of course group ownership is idetermined at the face/polygon level and not
at the vertex level.

This rather simple solution makes Blender instantly one of the better tools to create Poser Morph targets (Full Body
Morphs) and conforming figures and clothing.  Of course it's also adding a more complete support for the whole OBJ spec.

The patches are fitting well inside the established logic, have a minimal impact and are totally transparent to the
user. See the attached video (about 7 minutes long) for more details.

I noticed that the original scripts are formatted with tabs. I think it would be a good idea to follow the standard
Python recommendation and convert the scripts to use spaces. I didn't want to do it on my side as it would generate
a patch that replaces the whole file, not something that I wanted to do with my first submission :) But it would help
if people with access to SVN could do it.

Here is a short video that demonstrates the updates:
http://www.paolociccone.com/blender_obj_scripts.html

Cheers!
----


------------------------------------------------------------------------
r20178 | theeth | 2009-05-13 01:53:55 +0200 (Wed, 13 May 2009) | 1 line

Mixed declaration and code. That should teach me to ignore warnings.
------------------------------------------------------------------------
r20177 | theeth | 2009-05-13 01:41:46 +0200 (Wed, 13 May 2009) | 1 line

Fix crash when missing int argument for -s -e and -j.
------------------------------------------------------------------------
r20176 | campbellbarton | 2009-05-12 23:41:04 +0200 (Tue, 12 May 2009) | 6 lines

[#18735] Particle vertex group API for Python
from Alberto Santos (dnakhain)

Changed "None" to "" for returning an unset vertex group.
"" is a valid name for a vertex group this is asking for trouble.

------------------------------------------------------------------------
r20175 | campbellbarton | 2009-05-12 23:27:01 +0200 (Tue, 12 May 2009) | 3 lines

[#18711] Particle render API for Python
from Alberto Santos (dnakhain)

------------------------------------------------------------------------
r20174 | campbellbarton | 2009-05-12 23:13:29 +0200 (Tue, 12 May 2009) | 3 lines

[#18728] Particle (newtonian) physics API for Python
patch from Alberto Santos (dnakhain)

------------------------------------------------------------------------
r20173 | ben2610 | 2009-05-12 21:48:18 +0200 (Tue, 12 May 2009) | 1 line

BGE performance: allow to create display list on meshes with modifiers but without armature and shape keys. These modified meshes are static and can be put safely in a display list. As the rendering of modifiers is done in direct openGL call, it results is a bit performance boost.
------------------------------------------------------------------------
r20171 | campbellbarton | 2009-05-12 18:20:23 +0200 (Tue, 12 May 2009) | 6 lines

Fix face occlusion for projection paint, (was broken for all RC's but nobody noticed)
Its still not working right in perspective mode.
For bleed use a faster method then Barycentric weights function since the point is always on the edge.

last commit with memset in readfile.c missed one var.

------------------------------------------------------------------------
r20170 | campbellbarton | 2009-05-12 17:28:07 +0200 (Tue, 12 May 2009) | 8 lines

[#13726] Segfault with (Re)Appending objects
fix this by freeing the lib-file-data after linking or appending, re-appending will be slower now
(as slow as appending for the first time).

Not strictly needed, set the memory for bhead's to zero in readfile.c since comparisons are done later on with this data making valgrind complain.

Added some missing headers too.

------------------------------------------------------------------------
r20166 | ben2610 | 2009-05-12 01:05:13 +0200 (Tue, 12 May 2009) | 1 line

BGE bug #18596: No ipo dynamics is 2.49rc1.
------------------------------------------------------------------------
r20165 | khughes | 2009-05-12 00:27:06 +0200 (Tue, 12 May 2009) | 6 lines

Python API
----------
Patch by Jean-michel Soler (jms) to support ShrinkWrap and SimpleDeform 
modifiers.


------------------------------------------------------------------------
r20164 | campbellbarton | 2009-05-12 00:17:58 +0200 (Tue, 12 May 2009) | 4 lines

problem with unloading modules, py modules would be refreshed but external modules that were pyc or pyo's would be kept.

This made it not refresh the module when taking an external BGE Module and making it internal because the external pyc would never be freed so the internal text wouldn't get used until restarting blender.

------------------------------------------------------------------------
r20163 | ben2610 | 2009-05-12 00:07:30 +0200 (Tue, 12 May 2009) | 1 line

BGE #18724: Modifier cause crash in 2.49RC2. My bad, I was too quick to fix the soft body problem in revision 20119. This time I tested against modifiers, soft body, armatures and replace mesh.
------------------------------------------------------------------------
r20162 | campbellbarton | 2009-05-11 23:35:38 +0200 (Mon, 11 May 2009) | 16 lines

BGE Doc updates thanks to Roelf de Kock

--- Notes from Roelf, maybe some other BGE devs could help resolve these
Here is what I have so far. I've left "TODO's" were there needs to be some more comments.

The following things also need to be resolved:

-KX_VehicleWrapper.getWheelOrientationQuaternion looks like it should return a quaternion but if I look at the code it looks like it returns a rotation matrix.

-I still need to find out what exactly KX_VehicleWrapper.getWheelRotation is. I've got the return type but I would like to add some explanation for what it actualy means (and units if any).

-BL_Shader.setNumberOfPasses ignores the parameter but from the comment in the code it looks like the parameter that is being set (it is harcoded to be =1) in setNumberOfPasses is not used. So I'm not sure if this method should be documented at all.




------------------------------------------------------------------------
r20161 | jhk | 2009-05-11 21:19:36 +0200 (Mon, 11 May 2009) | 3 lines

Ugh, yet another try to fix [#18697] 2.49RC1: Keyed Particles fine in viewport but give me a crash during render.

Hopefully it's now fixed for good.
------------------------------------------------------------------------
r20157 | khughes | 2009-05-11 18:57:54 +0200 (Mon, 11 May 2009) | 3 lines

Remove incorrect "w" attribute from Eulers, gave warning in epydocs.


------------------------------------------------------------------------
r20155 | gsrb3d | 2009-05-11 18:18:38 +0200 (Mon, 11 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20154 | bdiego | 2009-05-11 17:34:46 +0200 (Mon, 11 May 2009) | 3 lines

Fix Makefiles for gameengine.


------------------------------------------------------------------------
r20152 | ben2610 | 2009-05-11 14:41:48 +0200 (Mon, 11 May 2009) | 1 line

BGE: Add MT_Vector3 support for Py attribute macro system. See KX_PYATTRIBUTE_VECTOR_...
------------------------------------------------------------------------
r20151 | campbellbarton | 2009-05-11 14:38:24 +0200 (Mon, 11 May 2009) | 2 lines

Another Noise Tool svn commit is complaining about mixed line endings so after 16 attempts I wont include the full message

------------------------------------------------------------------------
r20150 | blendix | 2009-05-11 14:06:53 +0200 (Mon, 11 May 2009) | 5 lines

Fix for bug #18683: GLSL refresh issue when adding lamp. There's still
cases where this goes wrong, as noted in the release logs, this is just
a temporary fix, in 2.5 can solve it properly with notifiers.


------------------------------------------------------------------------
r20144 | campbellbarton | 2009-05-11 07:47:14 +0200 (Mon, 11 May 2009) | 4 lines

going out on a limb and removing this without asking anyone.

nobody seriously uses this format for graphics these days, and if they did, the export from blender is unlikely be to be useful, its just different views of the mesh edges projected into a 2D xfig file (quantized to int's too).

------------------------------------------------------------------------
r20143 | campbellbarton | 2009-05-11 07:35:32 +0200 (Mon, 11 May 2009) | 12 lines

2D Cutout Image Importer
from Kevin Morgan (forTe)

imports images as quads in the 3D view

made some changes
- images that fail to import give an error popup rather then a script error
- extension input is only shown for batch directory importing
- extension comparison is now case insensitive
- importing images from "/" failed, (bug in Blender.sys.dirname), use os.path.dirname since os is needed for batch import in other places.
- disable Esc for quitting because escaping from the file selector would quit the script too.

------------------------------------------------------------------------
r20141 | campbellbarton | 2009-05-11 07:10:09 +0200 (Mon, 11 May 2009) | 7 lines

bolt wizard from Aaron Keith (Spudmn), edits from Brendon and myself.

Minor changes are...
- default size is smaller then it was but still too big IMHO, presets are huge.
- deselect all objects and make the new bolt active
- place the new bolt at the 3D cursor location

------------------------------------------------------------------------
r20138 | campbellbarton | 2009-05-11 02:56:48 +0200 (Mon, 11 May 2009) | 4 lines

new script to copy the active object to all other selected objects transformation.

When turning many assets into DupliGroups there was no way to do this other then manually copying the loc/size/rot for each object manually.

------------------------------------------------------------------------
r20137 | campbellbarton | 2009-05-11 02:19:55 +0200 (Mon, 11 May 2009) | 2 lines

update script templates for new BGE api attributes 

------------------------------------------------------------------------
r20135 | campbellbarton | 2009-05-11 00:33:21 +0200 (Mon, 11 May 2009) | 2 lines

use the same sequence mapping types as CListValue, hopefully this means it will build on different python versions

------------------------------------------------------------------------
r20134 | ben2610 | 2009-05-11 00:06:11 +0200 (Mon, 11 May 2009) | 1 line

Linux compilation problem
------------------------------------------------------------------------
r20133 | ben2610 | 2009-05-10 23:30:30 +0200 (Sun, 10 May 2009) | 1 line

Linux compilation problem, better fix
------------------------------------------------------------------------
r20132 | campbellbarton | 2009-05-10 23:22:25 +0200 (Sun, 10 May 2009) | 2 lines

changes to get benoits logic updates building on scons with gcc

------------------------------------------------------------------------
r20130 | ben2610 | 2009-05-10 22:53:58 +0200 (Sun, 10 May 2009) | 43 lines

BGE performance, 4th round: logic

This commit extends the technique of dynamic linked list to the logic
system to eliminate as much as possible temporaries, map lookup or 
full scan. The logic engine is now free of memory allocation, which is
an important stability factor. 

The overhead of the logic system is reduced by a factor between 3 and 6
depending on the logic setup. This is the speed-up you can expect on 
a logic setup using simple bricks. Heavy bricks like python controllers
and ray sensors will still take about the same time to execute so the
speed up will be less important.

The core of the logic engine has been much reworked but the functionality
is still the same except for one thing: the priority system on the 
execution of controllers. The exact same remark applies to actuators but
I'll explain for controllers only:

Previously, it was possible, with the "executePriority" attribute to set
a controller to run before any other controllers in the game. Other than
that, the sequential execution of controllers, as defined in Blender was
guaranteed by default.

With the new system, the sequential execution of controllers is still 
guaranteed but only within the controllers of one object. the user can
no longer set a controller to run before any other controllers in the
game. The "executePriority" attribute controls the execution of controllers
within one object. The priority is a small number starting from 0 for the
first controller and incrementing for each controller.

If this missing feature is a must, a special method can be implemented
to set a controller to run before all other controllers.

Other improvements:
- Systematic use of reference in parameter passing to avoid unnecessary data copy
- Use pre increment in iterator instead of post increment to avoid temporary allocation
- Use const char* instead of STR_String whenever possible to avoid temporary allocation
- Fix reference counting bugs (memory leak)
- Fix a crash in certain cases of state switching and object deletion
- Minor speed up in property sensor
- Removal of objects during the game is a lot faster


------------------------------------------------------------------------
r20129 | gsrb3d | 2009-05-10 20:06:25 +0200 (Sun, 10 May 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r20127 | campbellbarton | 2009-05-10 17:23:18 +0200 (Sun, 10 May 2009) | 2 lines

remove unneeded vars and wasn't returning on some errors

------------------------------------------------------------------------
r20124 | campbellbarton | 2009-05-10 03:48:14 +0200 (Sun, 10 May 2009) | 17 lines

deprecate controller.getActuator(name) and controller.getSensor(name) for
controller.actuators[name] and controller.sensors[name]

Made a read-only sequence type for logic brick sensors and actuators which can access single items or be used like a list or dictionary.
We could use a python dictionary or CValueList but that would be slower to create.

So you can do...
 for s in controller.sensors: print s

 print controller.sensors["Sensor"]

 print controller.sensors[0]

 sensors = list(controller.sensors)

This sequence type keeps a reference to the proxy it came from and will raise an error on access if the proxy has been removed.

------------------------------------------------------------------------
r20123 | dfelinto | 2009-05-09 23:54:22 +0200 (Sat, 09 May 2009) | 22 lines

BGE Dome: Reducing FBO size to warped meshes.

Commit 20099 started using a FBO way too big.
According to Paul Bourke this is how it's done in other Engines:

Projectors HD:
1920x1050 - buffersize = 1024; FBO size = 2048
1400x1050 - buffersize = 1024; FBO size = 2048

Projectors XGA:
1024x768 - buffersize = 512; FBO size = 1024

Now in Blender Game Engine we are using:

Projectors HD:
1920x1050 - buffersize = 1050; FBO size = 2048
1400x1050 - buffersize = 1050; FBO size = 2048

Projectors XGA:
1024x768 - buffersize = 768; FBO size = 1024

(I guess I should be committing code to the ge_dome branch instead of the trunk. I feel bad doing all those adjustments in a hurry to 2.49 final release in the trunk. That is ok, right?)
------------------------------------------------------------------------
r20122 | dfelinto | 2009-05-09 23:04:03 +0200 (Sat, 09 May 2009) | 9 lines

BGE Dome: Allowing FOV different from 180º for Truncated Domes

*) a small note:

In the end it turned out that we have upright and downright domes out there.
So I may rearrange the order of the gui later:
(1 = fisheye, 2 = truncated up, 3 = truncated down, 4 = envmap, 5 = spherical panoramic)

I don't plan to do a doVersion() for that, so if you are using it already keep in mind that the modes may change before 249 final release.
------------------------------------------------------------------------
r20121 | campbellbarton | 2009-05-09 20:18:04 +0200 (Sat, 09 May 2009) | 8 lines

Methods didn't check for zombies which could crash in the case where a method for an object is kept.

 func = ob.getMass
 ...remove ob...
 func() # crash

2 More refcount fixes spotted by Benoit too

------------------------------------------------------------------------
r20120 | campbellbarton | 2009-05-09 19:24:21 +0200 (Sat, 09 May 2009) | 2 lines

More refcount errors spotted by Benoit, one with python getting a list item so scene.objects["OBfoo"] would always mess up refcounts.

------------------------------------------------------------------------
r20119 | ben2610 | 2009-05-09 18:59:25 +0200 (Sat, 09 May 2009) | 1 line

BGE: repair soft body - include this in RC2 please
------------------------------------------------------------------------
r20118 | campbellbarton | 2009-05-09 18:29:00 +0200 (Sat, 09 May 2009) | 2 lines

refcounting bugfix, gameOb.getParent() and gameOb.parent both added a reference when they should not have.

------------------------------------------------------------------------
r20109 | bdiego | 2009-05-08 21:37:14 +0200 (Fri, 08 May 2009) | 6 lines

Fix Copy & Paste not working inside Blender.

My last patch remove the code that check if Blender is the owner
of the selection, that is why stop working.


------------------------------------------------------------------------
r20108 | dfelinto | 2009-05-08 20:59:08 +0200 (Fri, 08 May 2009) | 9 lines

BGE Dome: Truncated Dome are back (Upright and Downright) + GLEW_EXT_framebuffer_object check before generating FBO

After last commit (20099) warping meshes got slower (more quality == less performance). Since we don't need an extra warping for truncated domes, It's better to handle them directly in openGL without the need of warping it.

I'll talk with some Dome owners to see if we need both Upright and Downright modes. I may remove one of them by 2.49 them.

*) also: a proper GLEW_EXT_framebuffer_object check before generating FBO (for warping meshes).

**) next in line (maybe after RC2): tilt option to tilt the camera up to 90º upward.
------------------------------------------------------------------------
r20101 | jhk | 2009-05-08 00:31:19 +0200 (Fri, 08 May 2009) | 1 line

Second fix for [#18697] 2.49RC1: Keyed Particles fine in viewport but give me a crash during render
------------------------------------------------------------------------
r20100 | campbellbarton | 2009-05-08 00:06:27 +0200 (Fri, 08 May 2009) | 4 lines

BGE Python owned proxies had a problem being decref'd twice, this would crash on freeing KX_Vertex/Poly Proxy types when python was compiled with debug options enabled.

add_mesh_torus.py wasnt tested from update, will go through all edited scripts and test :\

------------------------------------------------------------------------
r20099 | dfelinto | 2009-05-07 22:00:09 +0200 (Thu, 07 May 2009) | 5 lines

BGE Dome: Implementation of FBO to handle warp mesh rendering.
We are using an image twice as big to render the fisheye before warping.
It'll slow down warping meshes a little, but we get way more resolution.

Therefore I will bring Truncated Dome mode back in order to avoid using warping mesh for that.
------------------------------------------------------------------------
r20098 | ben2610 | 2009-05-07 21:36:12 +0200 (Thu, 07 May 2009) | 1 line

BGE: unfortunately VA+list still doesn't work on ATI card, so put a specific check for ATI.
------------------------------------------------------------------------
r20096 | campbellbarton | 2009-05-07 16:53:40 +0200 (Thu, 07 May 2009) | 6 lines

[#18645] Texture painting smudge brush darkens images - 2.49RC1
not fixed but the problem is now less bad when projection painting, bilinear interpolation was rounding down.
- added gameOb.attrDict to get the internal gameObject dict.
- mesh.getVertex wasnt setting an exception.


------------------------------------------------------------------------
r20094 | ben2610 | 2009-05-07 11:13:01 +0200 (Thu, 07 May 2009) | 54 lines

BGE performance, 3rd round: culling and rasterizer.

This commit extend the technique of dynamic linked list to the mesh
slots so as to eliminate dumb scan or map lookup. It provides massive 
performance improvement in the culling and in the rasterizer when 
the majority of objects are static.

Other improvements:
- Compute the opengl matrix only for objects that are visible.
- Simplify hash function for GEN_HasedPtr
- Scan light list instead of general object list to render shadows
- Remove redundant opengl calls to set specularity, shinyness and diffuse
  between each mesh slots.
- Cache GPU material to avoid frequent call to GPU_material_from_blender
- Only set once the fixed elements of mesh slot
- Use more inline function

The following table shows the performance increase between 2.48, 1st round
and this round of improvement. The test was done with a scene containing 
40000 objects, of which 1000 are in the view frustrum approximately. The
object are simple textured cube to make sure the GPU is not the bottleneck.
As some of the rasterizer processing time has moved under culling, I present
the sum of scenegraph(includes culling)+rasterizer time

Scenegraph+rasterizer(ms)       2.48      1st round       3rd round

All objects static,            323.0           86.0             7.2
all visible, 1000 in 
the view frustrum

All objects static,            219.0           49.7             N/A(*)
all invisible.

All objects moving,            323.0          105.6            34.7
all visible, 1000 in 
the view frustrum

Scene destruction              40min          40min              4s

(*) : this time is not representative because the frame rate was at 60fps.
      In that case, the GPU holds down the GE by frame sync. By design, the
      overhead of the rasterizer is 0 when the the objects are invisible. 

This table shows a global speed up between 9x and 45x compared to 2.48a
for scenegraph, culling and rasterizer overhead. The speed up goes much
higher when objects are invisible.

An additional 2-4x speed up is possible in the scenegraph by upgrading
the Moto library to use Eigen2 BLAS library instead of C++ classes but
the scenegraph is already so fast that it is not a priority right now.

Next speed up in logic: many things to do there...


------------------------------------------------------------------------
r20093 | campbellbarton | 2009-05-07 07:23:15 +0200 (Thu, 07 May 2009) | 4 lines

python3 compatibility for the BGE api, this only works with scons when WITH_BF_NOBLENDER is enabled.
Mathutils, Geometry and BGL modules are currently disabled with python3


------------------------------------------------------------------------
r20092 | campbellbarton | 2009-05-07 03:27:58 +0200 (Thu, 07 May 2009) | 2 lines

smudge on float images crashed

------------------------------------------------------------------------
r20090 | migius | 2009-05-07 02:12:37 +0200 (Thu, 07 May 2009) | 10 lines

Collada scripts updated, new version number 0.3.161
patch commited by Jan Smith (collad) 
[18549] "COLLADA Export Patch, adding export meshes with modifiers"
# 2009.04.16 by jan:
# - Added the possibility to export models with modifiers (mirrors, transformers, etc.).
# - Added helpful messages for users in case something goes wrong, so they know how and
#	where to fix their model.
# - The patch from 2008.08.31, implementing the patch from Dmitri was incomplete.
#	The joints were renamed (replace('.','_')), but not the vertex group names!

------------------------------------------------------------------------
r20089 | campbellbarton | 2009-05-07 00:16:28 +0200 (Thu, 07 May 2009) | 3 lines

python is not being very helpful!
It seems 2.5 gives the version as a string, 2.6 as ints

------------------------------------------------------------------------
r20088 | campbellbarton | 2009-05-06 23:47:24 +0200 (Wed, 06 May 2009) | 4 lines

[#18702] FBX exported hemi light crashes maya
- bugfix, off by 1 when clamping lamp types, caused blender to write an invalid lamp type
- error in last commit (renamed function)

------------------------------------------------------------------------
r20087 | campbellbarton | 2009-05-06 23:41:14 +0200 (Wed, 06 May 2009) | 2 lines

use the python version scons is running with by default on linux, will make it easier for people with new distros that only come with python 2.6

------------------------------------------------------------------------
r20084 | campbellbarton | 2009-05-06 14:45:08 +0200 (Wed, 06 May 2009) | 3 lines

[#18681] Mousesensor Over doesn't work in ortho mode of 3dview camera
bugfix, the clip near/far are scaled up for some reason, so use a range between 0 - clipfar for now.

------------------------------------------------------------------------
r20083 | campbellbarton | 2009-05-06 11:12:08 +0200 (Wed, 06 May 2009) | 8 lines

moved py controller functions from SCA_PythonController to SCA_IController - the base controller class so python can get the sensors & actuators from any controller (not just SCA_PythonController types)

also deprecated getActuators() and getSensors() for 'sensors' and 'actuators' attributes.

an example of getting every sensor connected to an object.
 all_sensors = [s for c in ob.controllers for s in c.sensors]


------------------------------------------------------------------------
r20082 | jhk | 2009-05-06 10:33:40 +0200 (Wed, 06 May 2009) | 1 line

Fix for [#18697] 2.49RC1: Keyed Particles fine in viewport but give me a crash during render
------------------------------------------------------------------------
r20081 | campbellbarton | 2009-05-06 08:01:09 +0200 (Wed, 06 May 2009) | 4 lines

[#18328] FBX exporter not exporting multi-texture materials properly

even though the format allows materials and textures to be written separately the textures wont load right in maya or 3dsmax unless each texture has its own material.

------------------------------------------------------------------------
r20080 | campbellbarton | 2009-05-06 06:24:01 +0200 (Wed, 06 May 2009) | 3 lines

- Export hard edge and face info
- Use Edges field rather then 2 vert faces (worked in some apps but crashed maya)

------------------------------------------------------------------------
r20079 | migius | 2009-05-06 04:19:16 +0200 (Wed, 06 May 2009) | 1 line

dxfLibrary.py - modif in POLYLINE class
------------------------------------------------------------------------
r20078 | campbellbarton | 2009-05-06 03:41:04 +0200 (Wed, 06 May 2009) | 3 lines

[#18690] mesh ripping allowed on multires
also fixed uninitialized variable use in the BGE when shaders are not supported.

------------------------------------------------------------------------
r20076 | aligorith | 2009-05-06 01:26:21 +0200 (Wed, 06 May 2009) | 1 line

Typo fix - trying to include wrong header file in previous commit (in trunk)
------------------------------------------------------------------------
r20074 | aligorith | 2009-05-06 01:15:31 +0200 (Wed, 06 May 2009) | 3 lines

Bugfix: Data from hidden objects was still being taken into account for many NLA-editor operations

NOTE for Merging - do not port this commit, since the changes here are utterly irrelevant to the new system
------------------------------------------------------------------------
r20072 | ben2610 | 2009-05-06 00:32:15 +0200 (Wed, 06 May 2009) | 1 line

Fix an undefined variable bug detected by valgrind.
------------------------------------------------------------------------
r20071 | campbellbarton | 2009-05-05 23:51:54 +0200 (Tue, 05 May 2009) | 3 lines

[#18695] Replace python errors with useful messages when no full python installation is found
from Philipp Oeser (lichtwerk)

------------------------------------------------------------------------
r20070 | campbellbarton | 2009-05-05 23:47:58 +0200 (Tue, 05 May 2009) | 2 lines

DXF export with a single nurbs curve failed

------------------------------------------------------------------------
r20067 | campbellbarton | 2009-05-05 07:57:08 +0200 (Tue, 05 May 2009) | 4 lines

Disable importing module python controller scripts at conversion time because it can run BGE functions and crash since the internal state isnt setup yet.

face-select mode wasnt working when used with projection paint.

------------------------------------------------------------------------
r20064 | ben2610 | 2009-05-05 00:21:02 +0200 (Tue, 05 May 2009) | 32 lines

BGE logic: new sensor "tap" option to generate automatically on/off pulses

When enabled, this option converts any positive trigger from the sensor
into a pair of positive+negative trigger, with the negative trigger sent
in the next frame. The negative trigger from the sensor are not passed
to the controller as the option automatically generates the negative triggers. 
From the controller point of view, the sensor is positive only for 1 frame, 
even if the underlying sensor state remains positive.

The option interacts with the other sensor option in this way:
- Level option: tap option is mutually exclusive with level option. Both
  cannot be enabled at the same time.
- Invert option: tap option operates on the negative trigger of the 
  sensor, which are converted to positive trigger by the invert option.
  Hence, the controller will see the sensor positive for 1 frame when 
  the underlying sensor state turns negative. 
- Positive pulse option: tap option adds a negative trigger after each
  repeated positive pulse, unless the frequency option is 0, in which case
  positive pulse are generated on every frame as before, as long as the
  underlying sensor state is positive.
- Negative pulse option: this option is not compatible with tap option
  and is ignored when tap option is enabled.

Notes:
- Keyboard "All keys" is handled specially when tap option is set:
  There will be one pair of positive/negative trigger for each new 
  key press, regardless on how many keys are already pressed and there
  is no trigger when keys are released, regardless if keys are still
  pressed. 
  In case two keys are pressed in succesive frames, there will
  be 2 positive triggers and 1 negative trigger in the following frame.

------------------------------------------------------------------------
r20063 | campbellbarton | 2009-05-04 23:49:25 +0200 (Mon, 04 May 2009) | 3 lines

[#18650] fbx export assigning textures to wrong materials...
also fixed an error that made this script fail when python wasnt found.

------------------------------------------------------------------------
r20062 | bdiego | 2009-05-04 20:46:34 +0200 (Mon, 04 May 2009) | 16 lines

BugFix [#18597] Blender's text editor cant paste from SciTE in linux

Commit patch [#18597] Blender's text editor cant paste from SciTE in linux
Submitted by Campbell.

I made some changes to cleanup a little the code, atoms are now in the
System class. The getClipboard_xcout try to convert/request:
	1) Request for UTF8, if fail
	2) Request for COMPOUND_TEXT, if fail
	3) Request for TEXT, if fail
	4) Request for STRING

Test here with SciTE Version 1.77, firefox, xterm and text editor working
with both library's gtk/qt and all work fine.


------------------------------------------------------------------------
r20060 | khughes | 2009-05-04 18:03:54 +0200 (Mon, 04 May 2009) | 3 lines

Fix some spelling errors.


------------------------------------------------------------------------
r20058 | bdiego | 2009-05-04 17:31:28 +0200 (Mon, 04 May 2009) | 7 lines

Fix crash because XSetInputFocus fail.

Some WM send a WM_TAKE_FOCUS event before the window is really mapped
(for example, change from virtual desktop), because of this, the call
to XSetInputFocus fail and close Blender.


------------------------------------------------------------------------
r20056 | genscher | 2009-05-04 16:41:25 +0200 (Mon, 04 May 2009) | 1 line

Fix for msvc compile error reported by Wahooney - thanks
------------------------------------------------------------------------
r20055 | campbellbarton | 2009-05-04 15:01:18 +0200 (Mon, 04 May 2009) | 5 lines

python geometry function Geometry.BezierInterp(vec_knot_1, vec_handle_1, vec_handle_2, vec_knot_2, resolution)
can use 2D-4D vectors

Also made 3ds import give a message when no python installed

------------------------------------------------------------------------
r20052 | campbellbarton | 2009-05-04 10:55:54 +0200 (Mon, 04 May 2009) | 2 lines

print BGE Py api warnings only once to avoid flooding the terminal and slowing the game down too much, resets on loading scenes/blendfiles and restarting the game engine.

------------------------------------------------------------------------
r20051 | campbellbarton | 2009-05-04 10:17:18 +0200 (Mon, 04 May 2009) | 2 lines

gcc4.4 needed this to build

------------------------------------------------------------------------
r20049 | ben2610 | 2009-05-04 08:59:10 +0200 (Mon, 04 May 2009) | 1 line

Fix compilation problem in Linux with previous commit.
------------------------------------------------------------------------
r20048 | ben2610 | 2009-05-04 00:29:00 +0200 (Mon, 04 May 2009) | 32 lines

BGE performance: second round of scenegraph improvement.

Use dynamic linked list to handle scenegraph rather than dumb scan
of the whole tree. The performance improvement depends on the fraction
of moving objects. If most objects are static, the speed up is 
considerable. The following table compares the time spent on 
scenegraph before and after this commit on a scene with 10000 objects
in various configuratons:

Scenegraph time (ms)              Before         After
(includes culling)

All objects static,               8.8            1.7  
all visible but small fraction          
in the view frustrum

All objects static,               7,5            0.01
all invisible.

All objects moving,               14.1           8.4
all visible but small fraction
in the view frustrum

This tables shows that static and invisible objects take no CPU at all
for scenegraph and culling. In the general case, this commit will 
speed up the scenegraph between 2x and 5x. Compared to 2.48a, it should
be between 4x and 10x faster. Further speed up is possible by making
the scenegraph cache-friendly.

Next round of performance improvement will be on the rasterizer: use
the same dynamic linked list technique for the mesh slots.

------------------------------------------------------------------------
r20047 | ben2610 | 2009-05-03 23:51:57 +0200 (Sun, 03 May 2009) | 1 line

BGE performance: use inline function as much as possible in scenegraph and logic to avoid function call.
------------------------------------------------------------------------
r20046 | ben2610 | 2009-05-03 23:42:39 +0200 (Sun, 03 May 2009) | 1 line

BGE: fix a crash with previous scene destruction speed up commit when sensors and controllers are cross connected between objects.
------------------------------------------------------------------------
r20045 | campbellbarton | 2009-05-03 22:47:29 +0200 (Sun, 03 May 2009) | 4 lines

fix for a problem with setUV2 reported by cthames on blenderartist
http://blenderartists.org/forum/showpost.php?p=1369757&postcount=35
there was an undocumented second arg but may as well allow a single vector arg like setUV()

------------------------------------------------------------------------
r20044 | campbellbarton | 2009-05-03 21:47:13 +0200 (Sun, 03 May 2009) | 4 lines

on second thought its less trouble to make a python script that makes all the getset's in the array, apologies to Alex for suggesting this be dynamic :/

included python script to print out getsets as a comment

------------------------------------------------------------------------
r20043 | campbellbarton | 2009-05-03 19:52:03 +0200 (Sun, 03 May 2009) | 16 lines

[#18678] Swizzle properties for Mathutils.Vector
patch from Alex Fraser (z0r)

eg.
  - vec.xyz = vec.zyx
  - vec.xy = vec.zw
  - vec.xxy = vec.wzz
  - vec.yzyz = vec.yxyx

See http://en.wikipedia.org/wiki/Swizzling_(computer_graphics)

made some minor modifications to this patch.

tested access times and adding 336 attributes to vectors doesn't make a noticeable differences to speed of existing axis attributes (x,y,z,w) - thanks to python dict lookups.


------------------------------------------------------------------------
r20042 | ton | 2009-05-03 19:48:32 +0200 (Sun, 03 May 2009) | 13 lines

Bugfix #17929

Old bug (2.42): when using node material, transparent shadow did not work.
It was missing to set the proper 'pass flag'.

Do note an important difference with non-node materials for 'transparent shadow'. 
If there are no nodes, it uses the color from the unshaded material. When it has 
nodes, it uses the color output from the entire node tree, which is typically 
from shaded materials. The latter is because node shaders have no support for 
shade passes yet (it only outputs rgb + a).



------------------------------------------------------------------------
r20041 | ton | 2009-05-03 15:22:26 +0200 (Sun, 03 May 2009) | 26 lines

Bugfix 18671 revisted

Node editor didn't support editing non-material texture node trees.
Campbell pointed me to fact it's been used already, like for brush
painting. However, this only worked via linking the texture to a
material... hackish stuff.

Now the Node Editor supports all other Textures too, with three extra
icon buttons to define which.

- Active Object: for textures linked to Materials or Lamps
- World: textures from Scene world.
- Brush: textures from active Brush 

The latter can only be set and used when in Paint or Sculpt mode:

- Paint mode: in Image window, Paint Tool panel, set active brush
- Sculpt mode: in EditButtons, Texture panel, select empty slot, add texture.

Note that refreshes of previews in Node Editor is not always happening on
switching contextes. Just click a socket to refresh view.





------------------------------------------------------------------------
r20040 | blendix | 2009-05-03 15:17:37 +0200 (Sun, 03 May 2009) | 3 lines

Fix for bug #18659: glsl math material node, "tangent" option didn't work.


------------------------------------------------------------------------
r20038 | ton | 2009-05-03 14:06:43 +0200 (Sun, 03 May 2009) | 6 lines

Bugfix #18676

Map a texture to Material Ambient factor didn't work. 
Probably not since 2.42 or so... :)


------------------------------------------------------------------------
r20036 | ton | 2009-05-03 13:25:09 +0200 (Sun, 03 May 2009) | 8 lines

Bugfix #18671

Texture Nodes: the option to use nodes was also visible for textures
on world, lamp, brush. Since it only works for Materials now, I've made
the button disappear then.



------------------------------------------------------------------------
r20035 | campbellbarton | 2009-05-03 11:21:58 +0200 (Sun, 03 May 2009) | 6 lines

fixes for bugs submitted by BGE users, fixes by myself and Mitchell Stokes
- when the attribute check function failed it didnt set an error raising a SystemError instead
- Rasterizer.getMaterialMode would never return KX_BLENDER_MULTITEX_MATERIAL
- PropertySensor value attribute checking function was always returning a fail.
- Vertex Self Shadow python script didnt update for meshes with modifiers.

------------------------------------------------------------------------
r20034 | campbellbarton | 2009-05-03 11:03:47 +0200 (Sun, 03 May 2009) | 3 lines

[#18492] Old 3dView painting does't work anymore.
use flag the wrong way

------------------------------------------------------------------------
r20032 | campbellbarton | 2009-05-02 23:11:48 +0200 (Sat, 02 May 2009) | 3 lines

[#18191] VSE: when moving a project containing a relative path Audio RAM strip, it is still pointing old file
Its a bit silly its not using the name from the file selector alredy (which has been made relative), but this fixes the bug.

------------------------------------------------------------------------
r20031 | campbellbarton | 2009-05-02 21:46:54 +0200 (Sat, 02 May 2009) | 3 lines

fix for a painting bug where disabled culling & occlusion would not paint onto backfaces
also use the math floating point functions sqrt -> sqrtf, fmod -> fmodf etc.

------------------------------------------------------------------------
r20030 | campbellbarton | 2009-05-02 17:09:06 +0200 (Sat, 02 May 2009) | 7 lines

BGE PyController module type.
- Added support for any number of attributes, this means packages are supported automatically.
 so as well as "myModule.myFunc" you can do "myPackage.myModule.myFunc", nested packages work too.
- pass the controller to the python function as an argument for functions that take 1 arg, this check is only done at startup so it wont slow things down.

added support for 

------------------------------------------------------------------------
r20029 | campbellbarton | 2009-05-02 06:53:01 +0200 (Sat, 02 May 2009) | 3 lines

BGE Py API patch from Mitchell Stokes, add distance attribute to the radar sensor, dont use 'continue' because its a python keyword.
removed (ssizeobjargproc) it breaks py2.3

------------------------------------------------------------------------
r20025 | campbellbarton | 2009-05-02 04:40:11 +0200 (Sat, 02 May 2009) | 2 lines

BGE Py API patch from Mitchell Stokes, adds extra attributes and docs

------------------------------------------------------------------------
r20023 | ben2610 | 2009-05-01 22:48:00 +0200 (Fri, 01 May 2009) | 1 line

Fix compilation problem in Linux with previous commit (MSVC is too nice).
------------------------------------------------------------------------
r20022 | ben2610 | 2009-05-01 22:34:23 +0200 (Fri, 01 May 2009) | 9 lines

BGE performance:

- Vast performance increase when removing scene containing large number of 
  objects: the sensor/controller map was updated for each deleted object, 
  causing massive slow down when the number of objects was large (O(n^2)).
- Use reference when scanning the sensor map => avoid useless copy.
- Remove dynamically the object bounding box from the DBVT when the object
  is invisible => faster culling.

------------------------------------------------------------------------
r20021 | ben2610 | 2009-05-01 21:02:23 +0200 (Fri, 01 May 2009) | 1 line

BGE: work around a problem with DBVT culling when graphic objects are rescaled. This happens when objects with very diverse scale are instantiated with dupligroup. The problem remains when the objects are rescaled during the game. The effect of the problem is an inefficient culling: objects can have a bounding box larger than needed. Patch to fix the problem is filed at Bullet forum.
------------------------------------------------------------------------
r20019 | ben2610 | 2009-05-01 18:35:06 +0200 (Fri, 01 May 2009) | 18 lines

BGE: New function GameLogic.setMaxLogicFrame() to allow better control over the time spent on logic.

This function sets the maximum number of logic frame executed per render frame.
Valid values: 1..5

This function is useful to control the amount of processing consumed by logic.
By default, up to 5 logic frames can be executed per render frame. This is fine
as long as the time spent on logic is negligible compared to the render time. 
If it's not the case, the default value will drag the performance of the game
down by executing unnecessary logic frames that take up most of the CPU time. 

You can avoid that by lowering the value with this function. 
The drawback is less precision in the logic system to physics and I/O activity.
	
Note that it does not affect the physics system: physics will still run 
at full frame rate (actually up to 5 times the ticrate).
You can further control the render frame rate with GameLogic.setLogicTicRate().

------------------------------------------------------------------------
r20018 | sirdude | 2009-05-01 17:19:47 +0200 (Fri, 01 May 2009) | 4 lines

Fix linking issue with gameplayer.

Kent

------------------------------------------------------------------------
r20017 | campbellbarton | 2009-05-01 16:19:56 +0200 (Fri, 01 May 2009) | 3 lines

[#18654] different behaviour if script is called from (1) Menu (2) TextEditor (3) ScriptsWindow [including crash!]
bugfix, simple NULL check

------------------------------------------------------------------------
r20014 | campbellbarton | 2009-05-01 06:55:40 +0200 (Fri, 01 May 2009) | 2 lines

add blendfile dirs to the sys.path without the scripts subdir

------------------------------------------------------------------------
r20013 | ben2610 | 2009-04-30 22:02:22 +0200 (Thu, 30 Apr 2009) | 1 line

BGE bug fix: when a dynamic object is parented to a compound shape and then unparented, it jumps at the position it had before the parenting.
------------------------------------------------------------------------
r20012 | ben2610 | 2009-04-30 21:00:17 +0200 (Thu, 30 Apr 2009) | 1 line

BGE bug #18091: Hitbox of object X doesn't move along when object X is parented to object Y.
------------------------------------------------------------------------
r20009 | dfelinto | 2009-04-30 17:27:38 +0200 (Thu, 30 Apr 2009) | 1 line

supporting warp data files with tabs instead of spaces.
------------------------------------------------------------------------
r20007 | campbellbarton | 2009-04-30 14:45:13 +0200 (Thu, 30 Apr 2009) | 2 lines

added Geometry as a BGE module, removed its dependency on gen_utils.c

------------------------------------------------------------------------
r20004 | campbellbarton | 2009-04-30 12:41:39 +0200 (Thu, 30 Apr 2009) | 2 lines

enable game engine and player by default

------------------------------------------------------------------------
r20002 | jesterking | 2009-04-30 12:18:50 +0200 (Thu, 30 Apr 2009) | 2 lines

SCons
* add missing arguments
------------------------------------------------------------------------
r20001 | ton | 2009-04-30 12:11:37 +0200 (Thu, 30 Apr 2009) | 5 lines

Second trial to get an OK menu work to allow people to decide whether
or not to use a 2.5+ saved file in 2.49. Apparently the msvc linker
was choking on it?


------------------------------------------------------------------------
r20000 | ben2610 | 2009-04-30 10:02:26 +0200 (Thu, 30 Apr 2009) | 1 line

BGE fux #17796: Glsl + bones + set smooth = bug on vertext groups.
------------------------------------------------------------------------
r19999 | campbellbarton | 2009-04-30 10:01:31 +0200 (Thu, 30 Apr 2009) | 20 lines

BGE Python sys.path for the blenderplayer and blender
sys.path is the search path for python modules. This is useful so people making games can put all their scripts in a folder and be sure they will always load into the BGE.

for each blend file a scripts directory is added to the path
 /home/me/foo.blend
will look for modules in...
 /home/me/scripts/*.py 

It could also default to look for modules in the same directory as the blend file but I think this is messy.
Added a note in the tooltip about //scripts so its not such a hidden feature.

This works by storing the original sys.path, then adding the paths for the blendfile and all its libs,
when a new blendfile is loaded, the original sys.path is restored before adding the blendfiles paths again so the sys.path wont get junk in it.

One problem with this - when using linked libs the module names must be unique else it will load the wrong module for one of the controllers.

also fixed 2 bugs
- sys.path in the blenderplayer was growing by 1 for every file load in blenderplayer
- the relative path (gp_GamePythonPath), wasnt being set when loading files in the blenderlayer (as I wrongly said in the last commit).

------------------------------------------------------------------------
r19998 | dfelinto | 2009-04-30 05:46:31 +0200 (Thu, 30 Apr 2009) | 5 lines

BGE 2dFilters: Revert of part of own commit [rev. 19687]

Therefore we still need to find a better way to solve this problem:
[#18154] 2dFilter and motion blur should run only once to all the scenes:
http://projects.blender.org/tracker/?func=detail&aid=18154&group_id=9&atid=127
------------------------------------------------------------------------
r19997 | dfelinto | 2009-04-30 04:41:07 +0200 (Thu, 30 Apr 2009) | 5 lines

BGE Dome update. Spurious black seams (finally) fixed.
The solution is a hack. It's a workaround for another bug (#18655).
Now it's working in all modes: fullscreen, maximized screen and gameplayer.

* small change to always set the perspective mode as true during dome mode.
------------------------------------------------------------------------
r19995 | campbellbarton | 2009-04-30 04:07:08 +0200 (Thu, 30 Apr 2009) | 6 lines

2 BGE bugs from 2.48 fixed
- the gp_GamePythonPath relative path variable wasnt updated when loading new files.
- missing NULL check for scene crashed blender when it failed to load a file.
Both problems dont affect blenderplayer


------------------------------------------------------------------------
r19993 | campbellbarton | 2009-04-30 02:51:11 +0200 (Thu, 30 Apr 2009) | 3 lines

Not sure why this INCREF is needed since making a replica wont use the m_bytecode so why should it add a user? 
Removed in 19974 but that crashes YoFrankie so adding back in for now.

------------------------------------------------------------------------
r19991 | campbellbarton | 2009-04-30 01:59:59 +0200 (Thu, 30 Apr 2009) | 2 lines

error in last commit

------------------------------------------------------------------------
r19990 | theeth | 2009-04-30 01:43:12 +0200 (Thu, 30 Apr 2009) | 1 line

use BLO_sys_types.h instead, it's windows proof
------------------------------------------------------------------------
r19989 | campbellbarton | 2009-04-30 01:39:27 +0200 (Thu, 30 Apr 2009) | 5 lines

python modules in the game engine could point to builtin modules like GameLogic that was cleared.
I added module clearing before there was checks for invalid python objects, so now its not needed for BGE Builtin types at least.

also made the builtin modules get re-used if they already exist and clear all user modules when the game engine finishes so with Module-Py-Controllers the referenced modules are at least up to date when pressing Pkey.

------------------------------------------------------------------------
r19988 | theeth | 2009-04-30 01:33:04 +0200 (Thu, 30 Apr 2009) | 1 line

missing stdint.h include
------------------------------------------------------------------------
r19987 | jesterking | 2009-04-30 00:09:28 +0200 (Thu, 30 Apr 2009) | 1 line

* instead of using okee() (breaking builds) use error() in 250 subversion handling in 2.49
------------------------------------------------------------------------
r19986 | jesterking | 2009-04-29 22:56:27 +0200 (Wed, 29 Apr 2009) | 1 line

* make sure header file agrees with editfont.c (unsigned long -> uintptr_t), following commit by Genscher r19983
------------------------------------------------------------------------
r19985 | jesterking | 2009-04-29 22:09:08 +0200 (Wed, 29 Apr 2009) | 1 line

* fix linking problem for mingw with setenv/_putenv_s, here we use putenv("key=val");
------------------------------------------------------------------------
r19984 | blendix | 2009-04-29 21:33:05 +0200 (Wed, 29 Apr 2009) | 7 lines

Possible fix for bug #18648: one armature disappears when joining
armatures. Not sure it actually fixes the problem because I can't
test this on Win 64, but this fixes use of unitialized memory at
least. Mat4MulMat34 only sets the 3x3 part of the 4x4 matrix, which
may lead to a NaN bone roll value.


------------------------------------------------------------------------
r19983 | genscher | 2009-04-29 21:13:32 +0200 (Wed, 29 Apr 2009) | 1 line

Win64 fixes - I don't think that they introduced any bugs yet, but I want to be sure. Please report problems.
------------------------------------------------------------------------
r19982 | ton | 2009-04-29 19:41:41 +0200 (Wed, 29 Apr 2009) | 7 lines

Bugfix #18632

Duplicating an armature, with constraints having a local Ipo, didn't
make a copy of this Ipo too, frustrating its drivers too.



------------------------------------------------------------------------
r19981 | campbellbarton | 2009-04-29 19:01:35 +0200 (Wed, 29 Apr 2009) | 2 lines

was testing this, didnt mean to commit.

------------------------------------------------------------------------
r19980 | campbellbarton | 2009-04-29 18:54:45 +0200 (Wed, 29 Apr 2009) | 4 lines

ifdef's for future py3 support, after this adding py3 can mostly be done with defines or batch renaming funcs (with the exception of CListValue slicing)
.
No changes for py2.x.

------------------------------------------------------------------------
r19979 | campbellbarton | 2009-04-29 18:48:00 +0200 (Wed, 29 Apr 2009) | 2 lines

attempt to fix for py2.3

------------------------------------------------------------------------
r19978 | ton | 2009-04-29 18:41:18 +0200 (Wed, 29 Apr 2009) | 7 lines

Bug, reported by venomgfx:

Scrub frames in Sequencer image window stopped working. Was in a commit
from Joshua last july, with greasepencil fixes. No idea why he disabled
it, doesn't seem to harm gpencil at all (not in sequencer supported).


------------------------------------------------------------------------
r19977 | ton | 2009-04-29 18:16:08 +0200 (Wed, 29 Apr 2009) | 6 lines

Bugfix #18649

Grease pencil, floating panel, "Delete last stroke" crashed when there 
were no strokes. Simple NULL check added.


------------------------------------------------------------------------
r19976 | ton | 2009-04-29 18:07:10 +0200 (Wed, 29 Apr 2009) | 8 lines

Bugfix from own testing:

Blender crashed, when started in debug -d, with compositor, after render.
Reason was the BKE_image_print_memlist() which reads the ibuf->rect from
all images, but for Image types "VIEWER" that's not valid, this data is
coming from other sources.


------------------------------------------------------------------------
r19975 | ton | 2009-04-29 17:25:13 +0200 (Wed, 29 Apr 2009) | 14 lines

2.5+ file read provision for 2.49

I've managed to find a basic fail-safe method to prevent using the read
data with an OK popup. I then still will read the file, but wait for user
confirmation to continue, or just free the database.

The pupup tells the user that at least animation data will be lost.

For background renders of 2.5+ things are more tricky, so here I've added
a default failure to read, returning 0, which will typically gracefully
quit blender.



------------------------------------------------------------------------
r19974 | campbellbarton | 2009-04-29 14:43:09 +0200 (Wed, 29 Apr 2009) | 10 lines

BGE alternative run mode for python controllers.
Option to run a function in a module rather then a script from a python controller, this has a number of advantages.

- No allocating and freeing the namespace dictionary for every time its triggered
  (hard to measure the overhead here, but in a test with calling 42240 scripts a second each defining 200 vars, using modules was ~25% faster)

- Ability to use external python scripts for game logic.

- Convenient debug option that lets you edit scripts while the game engine runs.

------------------------------------------------------------------------
r19973 | ton | 2009-04-29 13:20:07 +0200 (Wed, 29 Apr 2009) | 17 lines

bugfix #18609

This fixes a commit from Peter, revision 12931, Dec 17 2007
He added quick image scaling code, derived from ppmqscale, 
http://libdv.sf.net

This implementation gave ugly banding. especially visible on
dark colors or byte images with very close colors.

Solution is to add correct rounding, seems to me normal for such
fixed point magic. Optimizing code and keeping quality is tricky
dudes! Results for scaling down in sequencer were bad for over a
year (2.47 and 2.48 both wrong).




------------------------------------------------------------------------
r19972 | campbellbarton | 2009-04-29 13:16:26 +0200 (Wed, 29 Apr 2009) | 2 lines

needed this minor change to build on gcc

------------------------------------------------------------------------
r19971 | campbellbarton | 2009-04-29 12:24:12 +0200 (Wed, 29 Apr 2009) | 2 lines

remove uneeded checks and testMethod from KX_ConstraintWrapper, typo in import_obj

------------------------------------------------------------------------
r19970 | ben2610 | 2009-04-29 12:06:38 +0200 (Wed, 29 Apr 2009) | 1 line

BGE: speed up mesh conversion by avoiding allocation/deallocation of material object on each face. The speed up is minor on optimized builds but considerable on less optimized builds, good for debugging large scene.
------------------------------------------------------------------------
r19966 | erwin | 2009-04-29 01:26:35 +0200 (Wed, 29 Apr 2009) | 3 lines

fix so that torque can be applied to DYNAMIC game objects, this fixes the skategirl.
Note that skategirl needs a bit higher angular damping, perhaps the conversion formula needs to be tweaked better?

------------------------------------------------------------------------
r19965 | gsrb3d | 2009-04-28 22:19:36 +0200 (Tue, 28 Apr 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r19964 | ben2610 | 2009-04-28 20:56:48 +0200 (Tue, 28 Apr 2009) | 1 line

BGE: reenable object activation for static object, otherwise their physic shape is not updated when they move due to parent relation.
------------------------------------------------------------------------
r19963 | theeth | 2009-04-28 20:53:15 +0200 (Tue, 28 Apr 2009) | 1 line

add note to Image.save method that all new buffers are saved as Targa
------------------------------------------------------------------------
r19962 | theeth | 2009-04-28 19:55:48 +0200 (Tue, 28 Apr 2009) | 3 lines

etch-a-ton bugfix

cut and trim didn't set normal properly.
------------------------------------------------------------------------
r19961 | ton | 2009-04-28 19:25:50 +0200 (Tue, 28 Apr 2009) | 17 lines

Bugfix #18637

Sorting of files didn't take numbers into account propertly, so it
ordered files like;

10.jpg
300.jpg
89.jpg
9.jpg

Quite simple to solve, almost moved report to the 'todo', but too
fun to leave this. :)

function name is BLI_natstrcmp() "natural string compare".



------------------------------------------------------------------------
r19960 | campbellbarton | 2009-04-28 17:28:02 +0200 (Tue, 28 Apr 2009) | 4 lines

Mathutils
- fix own mistake with matrix slicing that would crash blender (from recent commit).
- fix 3 memory leaks from ascotan r4717 in the Mathutils.Quaternion(...) function.

------------------------------------------------------------------------
r19957 | campbellbarton | 2009-04-28 15:32:02 +0200 (Tue, 28 Apr 2009) | 2 lines

forgot rename in the header and invert return values isValid -> invalid

------------------------------------------------------------------------
r19956 | campbellbarton | 2009-04-28 15:11:56 +0200 (Tue, 28 Apr 2009) | 7 lines

BGE PyAPI
- renamed generic attribute "isValid" to "invalid" since BL_Shader already uses isValid.
- Moved deprecation warnings from CValue 
- removed unused KX_Scene::SetProjectionMatrix and KX_Scene::GetViewMatrix
- Added KX_Scene attributes "lights", "cameras", "objects_inactive", to allow access to objects in unseen layers (before the AddObject actuator adds them)
- KX_Camera deprecated cam.enableViewport(bool) for cam.isViewport which can be read as well.

------------------------------------------------------------------------
r19955 | campbellbarton | 2009-04-28 15:02:49 +0200 (Tue, 28 Apr 2009) | 3 lines

- Updated BGE docs to match the game engines class inheritance more closely.
- Grouped deprecated functions for KX_Camera, KX_GameObject, SCA_ISensor, SCA_ILogicBrick, KX_Scene

------------------------------------------------------------------------
r19953 | ben2610 | 2009-04-28 00:21:42 +0200 (Tue, 28 Apr 2009) | 1 line

BGE soft body: change welding option to disable welding check by default: speeds up shape conversion. This is fine if the object has no duplicate vertices. Otherwise, bullet will be extremely slow and you can either set some welding or remove duplicates in the mesh. Welding is now displayed in linear scale: 0.0 -> 0.01, no need to use logarithmic scale ;-). Fix a bug with Bullet by which vertex array for soft body must have 3xfloat stride.
------------------------------------------------------------------------
r19952 | dfelinto | 2009-04-28 00:14:51 +0200 (Tue, 28 Apr 2009) | 2 lines

CMake files changes for FFMpeg update
This was broken since last month !!!
------------------------------------------------------------------------
r19951 | migius | 2009-04-27 20:32:45 +0200 (Mon, 27 Apr 2009) | 2 lines

colladaExport14.py, colladaImport14.py - upgrade version nr from 0.3.159 to 0.3.160

------------------------------------------------------------------------
r19949 | campbellbarton | 2009-04-27 19:53:41 +0200 (Mon, 27 Apr 2009) | 5 lines

TexVert sharing was disabled for flat faces, this is silly since a building or any other model with flat faces will often be able to share texverts.

Simple testcase with a subdivided cube used 1/3 as many texverts and spend half as much time in the rasterizer while profiling.


------------------------------------------------------------------------
r19948 | ben2610 | 2009-04-27 18:44:02 +0200 (Mon, 27 Apr 2009) | 1 line

BGE: Add soft body welding parameter to the Advanced Settings panel. The values are very small so I chose to use logarithmic scale. Should be fine, it's an advanced setting after all.
------------------------------------------------------------------------
r19947 | ben2610 | 2009-04-27 18:40:26 +0200 (Mon, 27 Apr 2009) | 1 line

BGE bug #18624: Collision detection fails on parented objects. Partial fix, parented shape now moves with the parent but still the parent near detector detects the child only in the zone where it was parented.
------------------------------------------------------------------------
r19945 | campbellbarton | 2009-04-27 16:22:02 +0200 (Mon, 27 Apr 2009) | 5 lines

[#18628] stuck triangle when projection painting -- 2.49RC1

Increasing the tolerance when making intersection comparisons fixed this.
There is also a problem where a pixel aligned quad would get a diagonal line down the face. offset the pixel locations a little to avoid this (crappy I know but will fix most cases).

------------------------------------------------------------------------
r19941 | blendix | 2009-04-27 14:18:18 +0200 (Mon, 27 Apr 2009) | 4 lines

Fix for bug #18610: in the Game menu enabling "Record Game Physics to IPO"
made "Generate Display Lists" hidden (these work fine together).


------------------------------------------------------------------------
r19940 | blendix | 2009-04-27 13:49:40 +0200 (Mon, 27 Apr 2009) | 4 lines

Fix for bug #18032: AAO pixel cache + refraction artifacts, the pixel
cache can only be used for the first hit.


------------------------------------------------------------------------
r19938 | campbellbarton | 2009-04-27 09:07:22 +0200 (Mon, 27 Apr 2009) | 3 lines

[#18616] Scons+MinGW compiling error with gaming engine enabled.
Attempt to fix building in windows with mingw

------------------------------------------------------------------------
r19937 | erwin | 2009-04-27 07:06:24 +0200 (Mon, 27 Apr 2009) | 3 lines

Don't always activate a Bullet rigid body
If you want to keep a rigid body awake, please use the GUI 'No Sleeping' option for Rigid bodies.

------------------------------------------------------------------------
r19936 | erwin | 2009-04-27 06:21:05 +0200 (Mon, 27 Apr 2009) | 2 lines

Lower the vertex welding threshold, for removing duplicate/nearby vertices for soft bodies (this broke susanne softbody regression test)

------------------------------------------------------------------------
r19935 | aligorith | 2009-04-27 02:49:01 +0200 (Mon, 27 Apr 2009) | 3 lines

Bugfix #18603: Clear User Transform does not work -- 2.49RC1

Modified the behaviour of Clear User Transform so that when there's no action, Clear User Transform now resets the entire pose to the rest pose. However, when there is an action, the pose on selected bones gets cleared to the pose defined in the action, not the rest pose.
------------------------------------------------------------------------
r19934 | jaguarandi | 2009-04-26 23:33:22 +0200 (Sun, 26 Apr 2009) | 3 lines

Shrinkwrap fix (before I only fixed normal projection)
 nearest surface + nearest vertex fixed now

------------------------------------------------------------------------
r19933 | campbellbarton | 2009-04-26 23:30:42 +0200 (Sun, 26 Apr 2009) | 8 lines

[#18623] projection paint alpha paintingacts as 1bit -- 2.49RC1

Also fixed...
- smear with alpha channels (had to disabled blending modes).
- using uninitialized memory in a few cases.
- negative index in an array bug.


------------------------------------------------------------------------
r19932 | campbellbarton | 2009-04-26 23:23:59 +0200 (Sun, 26 Apr 2009) | 3 lines

Rewind own commit that aimed to make converting meshes faster at startup.
Some files probably need to have UV's welded so better do this even though it seems inefficient.

------------------------------------------------------------------------
r19931 | khughes | 2009-04-26 20:38:16 +0200 (Sun, 26 Apr 2009) | 3 lines

Missing end-of-line.


------------------------------------------------------------------------
r19930 | jaguarandi | 2009-04-26 15:26:18 +0200 (Sun, 26 Apr 2009) | 12 lines

Fixed shrinkwrap bug:
	shrinkwrap wasn't using the updated coordinates/normals of vertexs
	when the DerivedMesh had been modified by a previous modifier.

	before revision 19744, users would only notice a strange behaviour
	of shrinkwrap in projection mode (because it was using the wrong normals)
	(jpbouza reported this)

	after revision 19744 this bug was "bigger".

Anyway it's fixed now :)

------------------------------------------------------------------------
r19929 | ben2610 | 2009-04-26 14:23:30 +0200 (Sun, 26 Apr 2009) | 4 lines

BGE: Fix Orthographic mode and viewport scaling

- the BGE now uses correct glOrtho projection whe camera is in orthographic mode
- 
------------------------------------------------------------------------
r19928 | campbellbarton | 2009-04-26 11:41:39 +0200 (Sun, 26 Apr 2009) | 4 lines

When adding multiline text drawing I missed a case where the image pointer should have been checked - drawing text on a face with no image would crash blender.

Better tooltip for game actuator file field.

------------------------------------------------------------------------
r19927 | jesterking | 2009-04-25 22:26:27 +0200 (Sat, 25 Apr 2009) | 1 line

Amendment for 19924 - no setenv() on Windows, make it work with _putenv_s().
------------------------------------------------------------------------
r19926 | campbellbarton | 2009-04-25 19:52:04 +0200 (Sat, 25 Apr 2009) | 3 lines

patch from michael williamson, export multiple UV layers to lightwave
[#18575] remove unused local variables

------------------------------------------------------------------------
r19925 | campbellbarton | 2009-04-25 19:41:17 +0200 (Sat, 25 Apr 2009) | 4 lines

[#18611] console.py linewrap
from Jim Hi8ll (jthill) 


------------------------------------------------------------------------
r19924 | campbellbarton | 2009-04-25 14:58:07 +0200 (Sat, 25 Apr 2009) | 4 lines

Running 2.48rc on my system segfaults when starting the game engine, only on the release, not for my own builds.

Setting the SDL video driver to dummy prevents the crash, this is recommended in the SDL docs if your not using the video driver.

------------------------------------------------------------------------
r19923 | ben2610 | 2009-04-25 14:20:59 +0200 (Sat, 25 Apr 2009) | 1 line

BGE mesh modifiers: fix view frustrum culling for mesh with modifiers. Update the bounding box based on mesh extent after applying the modifiers.
------------------------------------------------------------------------
r19922 | campbellbarton | 2009-04-25 09:17:36 +0200 (Sat, 25 Apr 2009) | 6 lines

[#18606] Writing to KX_GameObject.orientation causes crash

Own bug, conversion function to get an orientation from python - PyOrientationTo() ignored user input completely :| (breaking the orientation attribute)

Also made KX_GameObject worldOrientation writable and minor doc fixes.

------------------------------------------------------------------------
r19921 | campbellbarton | 2009-04-24 23:51:36 +0200 (Fri, 24 Apr 2009) | 2 lines

mistake in last commit

------------------------------------------------------------------------
r19920 | campbellbarton | 2009-04-24 22:27:04 +0200 (Fri, 24 Apr 2009) | 5 lines

BGE API - small changes
- print CListValue errors only once.
- bge_api_validate_py.txt now validates modules as well as types.
- added missing functions and consts for epydoc modules. some of these in GameLogic.py still need sorting.

------------------------------------------------------------------------
r19919 | khughes | 2009-04-24 22:17:42 +0200 (Fri, 24 Apr 2009) | 3 lines

Change scon's ordering of static libraries to resolve problem on Linux 64-bit builds.


------------------------------------------------------------------------
r19918 | ben2610 | 2009-04-24 21:49:15 +0200 (Fri, 24 Apr 2009) | 1 line

BGE: removed support for time dependent modifiers, they don't make sense in the GE. Disable modifiers when Bullet soft body is used: bullet needs the original vertex array.
------------------------------------------------------------------------
r19916 | campbellbarton | 2009-04-24 09:45:17 +0200 (Fri, 24 Apr 2009) | 2 lines

BGE PyAPI epydoc errors fixed

------------------------------------------------------------------------
r19913 | migius | 2009-04-24 01:44:43 +0200 (Fri, 24 Apr 2009) | 4 lines

patch for paths_svg2obj.py by author J.M.Soler:
http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_import_svg_en.htm
This patch adds support for Patterns.

------------------------------------------------------------------------
r19911 | ben2610 | 2009-04-23 23:19:42 +0200 (Thu, 23 Apr 2009) | 1 line

BGE bug #17950: crash when GE softbody is parented to a rigid body/soft body/dynamic object.
------------------------------------------------------------------------
r19910 | ben2610 | 2009-04-23 22:30:01 +0200 (Thu, 23 Apr 2009) | 1 line

BGE bug #17863: Shaky game camera.
------------------------------------------------------------------------
r19906 | blendix | 2009-04-23 15:30:34 +0200 (Thu, 23 Apr 2009) | 4 lines

Fix for part of bug #18496: issue with light state switching
when using Dome.


------------------------------------------------------------------------
r19904 | campbellbarton | 2009-04-23 13:59:13 +0200 (Thu, 23 Apr 2009) | 3 lines

[#11172] md2 export bug(s)
export with object transformations applied.

------------------------------------------------------------------------
r19903 | ton | 2009-04-23 11:59:19 +0200 (Thu, 23 Apr 2009) | 3 lines

Make: removing hidden directories from .app failed.


------------------------------------------------------------------------
r19896 | schlaile | 2009-04-23 09:40:01 +0200 (Thu, 23 Apr 2009) | 15 lines

== Sequencer ==

Fixes:
[#18489] Adding (add filter) nested strips 
causes Blender VSE to segfault on frame render.
[#18209] 3 VSE crash bugs with .blends 
(all left click and move mouse over Metastrip/Blend Mode related)

... and a new segfault I introduced with my last commit.

Also: memcache limiter refcounts are tested now in critical
      places, printing an error message,
      since doing refcounting right is, well, hard.


------------------------------------------------------------------------
r19893 | schlaile | 2009-04-23 08:07:51 +0200 (Thu, 23 Apr 2009) | 15 lines

== SEQUENCER ==

This fixes 

[#18079] Sequencer color correction does not apply on float image if "make float" is not applied

and closes

[#18582] bug fix #18079

by removing ibuf->rect on image load if ibuf->rect_float is used.
(Don't know, why the OpenEXR loader does that, but I fix this on sequencer
side for now...)
 

------------------------------------------------------------------------
r19891 | dfelinto | 2009-04-23 04:27:11 +0200 (Thu, 23 Apr 2009) | 8 lines

BGE Dome update:
* Enviroment Map implemented (replacing truncated mode 2).
 - Now it's possible to pre-bake animated (or static) EnvMaps to use with Cube Map textures.

* Enabling 2DFilter in Dome mode
 - no GL_DEPTH_BUFFER supported though.

* Tweaking GameSettings menu (centralizing buttons)
------------------------------------------------------------------------
r19889 | sirdude | 2009-04-23 03:13:29 +0200 (Thu, 23 Apr 2009) | 4 lines

Fix for yasm on 64bit machines...

Kent

------------------------------------------------------------------------
r19888 | campbellbarton | 2009-04-23 02:56:05 +0200 (Thu, 23 Apr 2009) | 3 lines

[#18574] small bug - warning for sce.link() depreciated displays even when sce.objects.link() is used
Remove the warning since the func will sstay in 2.4x

------------------------------------------------------------------------
r19887 | dfelinto | 2009-04-23 02:49:38 +0200 (Thu, 23 Apr 2009) | 13 lines

BGE Rasterizer methods to handle Screen Space - (getScreenPosition, getScreenVect, getScreenRay)

getScreenPosition(obj):
 - Gets the position of an object projected on screen space.

getScreenVect(x, y):
 - Gets the vector from the camera position in the screen coordinate direction.

getScreenRay(x, y, dist, property):
 - Look towards a screen coordinate (x,y) and find first object hit within dist that matches prop.
- The ray is a call to KX_GameObject->rayCastTo from the KX_Camera object.

Patch [#18589] test files can be found there. Patch reviewed by Campbell
------------------------------------------------------------------------
r19886 | campbellbarton | 2009-04-23 02:47:45 +0200 (Thu, 23 Apr 2009) | 2 lines

patch from Mitchell Stokes, comments only -  KX_PYATTRIBUTE_TODO for missing attributes

------------------------------------------------------------------------
r19885 | campbellbarton | 2009-04-23 02:32:33 +0200 (Thu, 23 Apr 2009) | 14 lines

BGE Python API

CListValue fixes
- Disable changing CValueLists that the BGE uses internally (scene.objects.append(1) would crash when drawing)
- val=clist+list would modify clist in place, now return a new value.
- clist.append([....]), was working like extend.
- clist.append(val) didnt work for most CValue types like KX_GameObjects.

Other changes
- "isValid" was always returning True.
- Set all errors for invalid proxy access to PyExc_SystemError (was using a mix of error types)
- Added PyObjectPlus::InvalidateProxy() to manually invalidate, though if python ever gains access again, it will make a new valid proxy. This is so removing an object from a scene can invalidate the object even if its stored elsewhere in a CValueList for eg.


------------------------------------------------------------------------
r19884 | blendix | 2009-04-23 01:01:40 +0200 (Thu, 23 Apr 2009) | 4 lines

Fix for bug #14410: multires + vertex colors crash rendering
or baking while in editmode.


------------------------------------------------------------------------
r19883 | blendix | 2009-04-23 00:38:23 +0200 (Thu, 23 Apr 2009) | 4 lines

Fix for bug #18509: mesh deform modifier not working on load,
with cage on hidden layer.


------------------------------------------------------------------------
r19882 | ben2610 | 2009-04-23 00:12:36 +0200 (Thu, 23 Apr 2009) | 1 line

BGE bug #17670: Python controlled mist doesnt work in textured mode.
------------------------------------------------------------------------
r19880 | campbellbarton | 2009-04-22 22:43:41 +0200 (Wed, 22 Apr 2009) | 4 lines

[#18586] [bug] Ray sensor doesn't return a hit object
Supporting len(GameOb) to see how many properties it has backfired since it can then evaluate as false.


------------------------------------------------------------------------
r19878 | campbellbarton | 2009-04-22 21:04:00 +0200 (Wed, 22 Apr 2009) | 3 lines

[#18587] bugfix #18425 (Window.EditMode() ignores undo information)
from Lorenzo Pierfederici (lento)

------------------------------------------------------------------------
r19876 | ben2610 | 2009-04-22 20:20:41 +0200 (Wed, 22 Apr 2009) | 1 line

BGE: some more cleanup, implement proper GetReplica/ProcessReplica workflow for touch/near/radar sensor. Remove duplicated code.
------------------------------------------------------------------------
r19875 | ton | 2009-04-22 19:35:37 +0200 (Wed, 22 Apr 2009) | 7 lines

Bugfix #18039

Armature modifier didn't set amd->prevCos temp variable to NULL 
after freeing. Saving this in file will cause error or crash on
reading. Quite weird how it survived so long?


------------------------------------------------------------------------
r19874 | ton | 2009-04-22 19:06:47 +0200 (Wed, 22 Apr 2009) | 9 lines

Bugfix #18058

Ray-transparent didn't pass on thread number to shading code, giving
"blothes" in render, when using node materials.

This also rewinds Campbells commit of feb 21, which tackled the error,
but not the cause.


------------------------------------------------------------------------
r19873 | ben2610 | 2009-04-22 18:58:04 +0200 (Wed, 22 Apr 2009) | 1 line

BGE: some more cleanup, remove useless ReplicaSetName(), move code to ProcessReplica.
------------------------------------------------------------------------
r19872 | ben2610 | 2009-04-22 18:26:22 +0200 (Wed, 22 Apr 2009) | 1 line

BGE: some more cleanup in GetReplica/ProcessReplica of deformers: make them consistent with the other classes.
------------------------------------------------------------------------
r19871 | campbellbarton | 2009-04-22 16:42:00 +0200 (Wed, 22 Apr 2009) | 9 lines

BGE C++ API
PyObjectPlus::ProcessReplica() is now called when any of its subclasses are replicated.

This is important because PyObjectPlus::ProcessReplica() NULL's the 'm_proxy' python pointer I added recently.
Without this a replicated subclass of PyObjectPlus could have an invalid pointer (crashing the BGE).

This change also means CValue::AddDataToReplica() can be moved into CValue::ProcessReplica() since ProcessReplica is always called.


------------------------------------------------------------------------
r19870 | campbellbarton | 2009-04-22 14:16:41 +0200 (Wed, 22 Apr 2009) | 11 lines

BGE C++ API
Some functions used
	ProcessReplica(replica);
others
	replica->ProcessReplica()

Use the second method everywhere so the PyObjectPlus's ProcessReplica() can be called from its subclasses.

Note that PyObjectPlus's ProcessReplica isnt used yet.
	

------------------------------------------------------------------------
r19869 | ton | 2009-04-22 13:54:43 +0200 (Wed, 22 Apr 2009) | 13 lines

bugfix #18187

Using "Key Alpha" didn't work when using MBlur render. The accumulation
code was assuming regular alpha then. Now it corrects for it.

Still it's a bit of a weak spot in Blender's render system. I will look 
in the future to make this a real post process; converting all RGBA 
buffers in the system, including for all passes, to "key alpha". 
Combined with that our compositor should become alpha type aware too. 
Everything in Blender assumes premul alpha, which still just will work 
best in general...


------------------------------------------------------------------------
r19867 | campbellbarton | 2009-04-22 11:47:57 +0200 (Wed, 22 Apr 2009) | 5 lines

BGE Python API
improved how attribute errors are set so each classes py_getattro function dosnt need to set an error if the attribute doesn't exist.
Now py_base_getattro sets an error on a NULL return value when no errors are set to avoid setting errors at multiple levels.


------------------------------------------------------------------------
r19866 | campbellbarton | 2009-04-22 11:08:57 +0200 (Wed, 22 Apr 2009) | 3 lines

[#18577] LightWave (.lwo) Exporter Object Names are Incorrect
patch from Philip Alldredge (cilcoder), slightly modified

------------------------------------------------------------------------
r19865 | campbellbarton | 2009-04-22 09:55:56 +0200 (Wed, 22 Apr 2009) | 2 lines

last commit failed from win32 line endings in a patch, recommitted with this file edited by mistake.

------------------------------------------------------------------------
r19864 | jesterking | 2009-04-22 08:30:32 +0200 (Wed, 22 Apr 2009) | 2 lines

BGE
* the ternary form refused to compile properly with msvc, rewrite a bit.
------------------------------------------------------------------------
r19862 | campbellbarton | 2009-04-22 01:15:18 +0200 (Wed, 22 Apr 2009) | 4 lines

Patch from Mitchell Stokes for KX_Light to use attrdef's
Added type access to the SCA_PropertyActuator, added missing function in library docs.


------------------------------------------------------------------------
r19861 | ben2610 | 2009-04-21 23:33:03 +0200 (Tue, 21 Apr 2009) | 1 line

BGE bug #18521 fixed: Dupligroups + Bullet Softbodies are broken.
------------------------------------------------------------------------
r19859 | gsrb3d | 2009-04-21 20:41:45 +0200 (Tue, 21 Apr 2009) | 2 lines

Balance comment markers.

------------------------------------------------------------------------
r19858 | gsrb3d | 2009-04-21 19:58:28 +0200 (Tue, 21 Apr 2009) | 2 lines

Documentation.

------------------------------------------------------------------------
r19857 | gsrb3d | 2009-04-21 19:40:39 +0200 (Tue, 21 Apr 2009) | 2 lines

Old "divide by zero" bug and remove debug printf.

------------------------------------------------------------------------
r19856 | gsrb3d | 2009-04-21 19:37:07 +0200 (Tue, 21 Apr 2009) | 2 lines

Compile warnings, typos and some clarifications.

------------------------------------------------------------------------
r19855 | gsrb3d | 2009-04-21 19:24:16 +0200 (Tue, 21 Apr 2009) | 2 lines

Some Makefile changes still laying around.

------------------------------------------------------------------------
r19854 | nicholasbishop | 2009-04-21 18:58:25 +0200 (Tue, 21 Apr 2009) | 7 lines

Fix for bug #17457. This bug relates to files that have missing multires vertex data.

The fix is, if the file was saved on the highest multires level, then mesh contains a copy of the vertices anyway, and we can just copy it back into multires.

Otherwise, multires is removed from the mesh to avoid a crash.


------------------------------------------------------------------------
r19853 | ton | 2009-04-21 17:38:53 +0200 (Tue, 21 Apr 2009) | 5 lines

Bugfix #18550

"Copy constraints" should increase ipo user count.


------------------------------------------------------------------------
r19850 | ton | 2009-04-21 17:22:41 +0200 (Tue, 21 Apr 2009) | 11 lines

bugfix #18543

Using feature XRay + Transparent could crash on undo/redo, the
view3d afterdraw was still storing data here whilst it shouldn't...

Reason was that object got added twice actually... but only freed
once. Also caused weird flashy display.

Note to Brecht for merging: skip this one, I'll fix it in 2.5 too.


------------------------------------------------------------------------
r19849 | campbellbarton | 2009-04-21 15:44:24 +0200 (Tue, 21 Apr 2009) | 2 lines

SHD_dynamic had gen_utils functions from Mathutils, removing

------------------------------------------------------------------------
r19847 | genscher | 2009-04-21 15:34:33 +0200 (Tue, 21 Apr 2009) | 1 line

Fix for missing include using CMake
------------------------------------------------------------------------
r19846 | ton | 2009-04-21 15:30:58 +0200 (Tue, 21 Apr 2009) | 8 lines

Bugfix #18519

MultiLayer save (F3) crashes when no rendering/layers exist, happens for
opengl preview render. It now survives, saving empty file and prints error.

Better solution for later: render profiles!


------------------------------------------------------------------------
r19843 | campbellbarton | 2009-04-21 14:48:49 +0200 (Tue, 21 Apr 2009) | 2 lines

hope this lets py2.3 build again

------------------------------------------------------------------------
r19842 | campbellbarton | 2009-04-21 14:42:37 +0200 (Tue, 21 Apr 2009) | 2 lines

needed to remove gen_utils functions from Mathutils.c

------------------------------------------------------------------------
r19841 | ben2610 | 2009-04-21 13:01:09 +0200 (Tue, 21 Apr 2009) | 58 lines

BGE: Support mesh modifiers in the game engine.

Realtime modifiers applied on mesh objects will be supported in 
the game engine with the following limitations:

- Only real time modifiers are supported (basically all of them!)
- Virtual modifiers resulting from parenting are not supported: 
  armature, curve, lattice. You can still use these modifiers 
  (armature is really not recommended) but in non parent mode. 
  The BGE has it's own parenting capability for armature.
- Modifiers are computed on the host (using blender modifier
  stack).
- Modifiers are statically evaluated: any possible time dependency
  in the modifiers is not supported (don't know enough about
  modifiers to be more specific).
- Modifiers are reevaluated if the underlying mesh is deformed
  due to shape action or armature action. Beware that this is 
  very CPU intensive; modifiers should really be used for static
  objects only.
- Physics is still based on the original mesh: if you have a 
  mirror modifier, the physic shape will be limited to one half
  of the resulting object. Therefore, the modifiers should 
  preferably be used on graphic objects.
- Scripts have no access to the modified mesh. 
- Modifiers that are based on objects interaction (boolean,..)
  will not be dependent on the objects position in the GE.
  What you see in the 3D view is what you get in the GE regardless
  on the object position, velocity, etc.

Besides that, the feature is compatible with all the BGE features
that affect meshes: armature action, shape action, relace mesh, 
VideoTexture, add object, dupligroup.

Known problems:
- This feature is a bit hacky: the BGE uses the derived mesh draw 
  functions to display the object. This drawing method is a
  bit slow and is not 100% compatible with the BGE. There may
  be some problems in multi-texture mode: the multi-texture
  coordinates are not sent to the GPU. 
  Texface and GLSL on the other hand should be fully supported.
- Culling is still based on the extend of the original mesh. 
  If you have a modifer that extends the size of the mesh, 
  the object may disappear while still in the view frustrum.
- Derived mesh is not shared between replicas.
  The derived mesh is allocated and computed for each object
  with modifiers, regardless if they are static replicas.
- Display list are not created on objects with modifiers.
  
I should be able to fix the above problems before release.
However, the feature is already useful for game development.
Once you are ready to release the game, you can apply the modifiers
to get back display list support and mesh sharing capability.

MSVC, scons, Cmake, makefile updated.

Enjoy
/benoit

------------------------------------------------------------------------
r19838 | campbellbarton | 2009-04-21 11:44:29 +0200 (Tue, 21 Apr 2009) | 4 lines

Blender Python API
- Removed the gen_utils.c dependency from Mathutils (since gen_utils wont go into 2.5 but mathutils will), repalced with python functions.
- removed Blender.Mathutils.Point, since it was not documented, the C api never used it, none of our scripts used it (and I never saw a script that used it).

------------------------------------------------------------------------
r19837 | ben2610 | 2009-04-21 11:38:27 +0200 (Tue, 21 Apr 2009) | 1 line

Fix compilation error in MSVC.
------------------------------------------------------------------------
r19835 | ben2610 | 2009-04-21 11:20:47 +0200 (Tue, 21 Apr 2009) | 1 line

BGE: show profile in millisecond in addition to percentage.
------------------------------------------------------------------------
r19832 | campbellbarton | 2009-04-21 09:16:29 +0200 (Tue, 21 Apr 2009) | 5 lines

Blender Python API

use getseter's for quat and euler types attributes, python3 compatible module initialization for Mathutils and BGL.


------------------------------------------------------------------------
r19830 | campbellbarton | 2009-04-21 03:59:14 +0200 (Tue, 21 Apr 2009) | 4 lines

[#18557] incorrect alpha IPO behavior in game engine
from Louis-Dominique Dubeau (zenoparadox)
report contained fix, ancient bug from rev2.

------------------------------------------------------------------------
r19829 | campbellbarton | 2009-04-21 01:50:32 +0200 (Tue, 21 Apr 2009) | 2 lines

mistake in last commit

------------------------------------------------------------------------
r19827 | campbellbarton | 2009-04-21 01:27:53 +0200 (Tue, 21 Apr 2009) | 5 lines

use PyList_SET_ITEM instead of PyList_SetItem,

PyList_SetItem does error checking and decref's existing values, PyList_SET_ITEM is a macro for direct assignment, only for use on new lists.


------------------------------------------------------------------------
r19826 | campbellbarton | 2009-04-21 01:17:52 +0200 (Tue, 21 Apr 2009) | 3 lines

BGE Python API
Separate getting a normal attribute and getting __dict__, was having to do too a check for __dict__ on each class (multiple times per getattro call from python) when its not used that often.

------------------------------------------------------------------------
r19825 | ben2610 | 2009-04-20 23:20:33 +0200 (Mon, 20 Apr 2009) | 1 line

BGE VideoTexture: fix bug with VideoTexture.materialID() since recent commit.
------------------------------------------------------------------------
r19824 | genscher | 2009-04-20 20:31:48 +0200 (Mon, 20 Apr 2009) | 1 line

Bugfix for [#18554] Time + Scale Node Crash
------------------------------------------------------------------------
r19823 | ton | 2009-04-20 20:23:46 +0200 (Mon, 20 Apr 2009) | 9 lines

Bugfix 18558

In OSX, using spin/extrude etc. buttons, with more than 1 3d window open,
should turn cursor in a Question Mark to indicate you have to tell which
window to use (yes weak, but that's 2.4x!). OSX didn't support that type
of cursor, so no hint happened. Now uses the 'hand' icon for osx... no
nicer one is there afaik.


------------------------------------------------------------------------
r19819 | genscher | 2009-04-20 15:18:54 +0200 (Mon, 20 Apr 2009) | 1 line

Booleans: Fix for "no faces" error, reported by alxarch, thanks!
------------------------------------------------------------------------
r19809 | campbellbarton | 2009-04-20 11:13:59 +0200 (Mon, 20 Apr 2009) | 9 lines

BGE Python API
- initialize pythons sys.argv in the blenderplayer
- ignore all arguments after a single " - " in the blenderplayer (like in blender), so args can be passed to the game.
- add a utility function PyOrientationTo() - to take a Py euler, quat or 3x3 matrix and convert into a C++ MT_Matrix3x3.
- add utility function ConvertPythonToMesh to get a RAS_MeshObject from a KX_MeshProxy or a name.
- Added error prefix arguments to ConvertPythonToGameObject, ConvertPythonToMesh and PyOrientationTo so the error messages can include what function they came from.
- deprecated brick.getOwner() for the "owner" attribute.
 

------------------------------------------------------------------------
r19804 | campbellbarton | 2009-04-20 00:02:48 +0200 (Mon, 20 Apr 2009) | 6 lines

Scons epydos changed options
- no source code since this is only useful if the epydocs contain code, ours are only docstrings.
- set inheritance to included so you dont have to search up the classes to find available functions.
- SConstruct, isolate the exception for importing epydoc.
- Added a print to the SConscript files otherwise it looks like nothings happening.

------------------------------------------------------------------------
r19803 | jesterking | 2009-04-19 23:26:29 +0200 (Sun, 19 Apr 2009) | 3 lines

SCons / epydoc support
* properly detect if epydoc is installed.
  patch by Brandano
------------------------------------------------------------------------
r19802 | campbellbarton | 2009-04-19 23:01:12 +0200 (Sun, 19 Apr 2009) | 7 lines

BGE Python API
- More verbose error messages.
- BL_Shader wasnt setting error messages on some errors
- FilterNormal depth attribute was checking for float which is bad because scripts often expect ints assigned to float attributes.
- Added a check to PyVecTo for a tuple rather then always using a generic python sequence. On my system this is over 2x faster with an optmized build.


------------------------------------------------------------------------
r19800 | campbellbarton | 2009-04-19 22:09:05 +0200 (Sun, 19 Apr 2009) | 1 line


------------------------------------------------------------------------
r19799 | joeedh | 2009-04-19 21:36:04 +0200 (Sun, 19 Apr 2009) | 1 line

added a python26.zip file, and also made scons pick which zip to use based on the python version
------------------------------------------------------------------------
r19798 | genscher | 2009-04-19 21:31:32 +0200 (Sun, 19 Apr 2009) | 2 lines

Compile fixed for Win64.
Please check if that also compiles on win32.
------------------------------------------------------------------------
r19796 | genscher | 2009-04-19 20:18:52 +0200 (Sun, 19 Apr 2009) | 3 lines

Booleans: 
- Enable e.g. subsurf before boolean modifier
- Fix editmode crash
------------------------------------------------------------------------
r19795 | genscher | 2009-04-19 19:47:09 +0200 (Sun, 19 Apr 2009) | 1 line

Booleans: Should work with modifier stack now. Please report (new) problems. Thanks
------------------------------------------------------------------------
r19794 | campbellbarton | 2009-04-19 19:29:07 +0200 (Sun, 19 Apr 2009) | 3 lines

BGE Python API
removed redundant (PyObject *self) argument from python functions that are not exposed to python directly.

------------------------------------------------------------------------
r19793 | ben2610 | 2009-04-19 19:26:03 +0200 (Sun, 19 Apr 2009) | 1 line

BGE: fix Pyfrom_id to work on w64.
------------------------------------------------------------------------
r19791 | genscher | 2009-04-19 18:35:20 +0200 (Sun, 19 Apr 2009) | 1 line

Fix for libopenjpeg to enable win64 compile (is in their tracker and will most likely be included in next release)
------------------------------------------------------------------------
r19790 | campbellbarton | 2009-04-19 16:57:52 +0200 (Sun, 19 Apr 2009) | 7 lines

BGE Python API cleanup - no functionality changes
- comments to PyObjectPlus.h
- remove unused/commented junk.
- renamed PyDestructor to py_base_dealloc for consistency
- all the PyTypeObject's were still using the sizeof() their class, can use sizeof(PyObjectPlus_Proxy) now which is smaller too.


------------------------------------------------------------------------
r19788 | campbellbarton | 2009-04-19 14:46:39 +0200 (Sun, 19 Apr 2009) | 21 lines

BGE Python API

This changes how the BGE classes and Python work together, which hasnt changed since blender went opensource.
The main difference is PyObjectPlus - the base class for most game engine classes, no longer inherit from PyObject, and cannot be cast to a PyObject.

This has the advantage that the BGE does not have to keep 2 reference counts valid for C++ and Python.

Previously C++ classes would never be freed while python held a reference, however this reference could be problematic eg: a GameObject that isnt in a scene anymore should not be used by python, doing so could even crash blender in some cases.

Instead PyObjectPlus has a member "PyObject *m_proxy" which is lazily initialized when python needs it. m_proxy reference counts are managed by python, though it should never be freed while the C++ class exists since it holds a reference to avoid making and freeing it all the time.
When the C++ class is free'd it sets the m_proxy reference to NULL, If python accesses this variable it will raise a RuntimeError, (check the isValid attribute to see if its valid without raising an error).
- This replaces the m_zombie bool and IsZombie() tests added recently.

In python return values that used to be..
 return value->AddRef();
Are now
 return value->GetProxy();
or...
 return value->NewProxy(true); // true means python owns this C++ value which will be deleted when the PyObject is freed


------------------------------------------------------------------------
r19785 | campbellbarton | 2009-04-19 09:07:53 +0200 (Sun, 19 Apr 2009) | 2 lines

syntax error in last commit, also removed CValue PyType numeric functionality since CValues are always converted to python types.

------------------------------------------------------------------------
r19784 | campbellbarton | 2009-04-19 08:48:27 +0200 (Sun, 19 Apr 2009) | 2 lines

KX_MeshProxy "numPolygons" and "numMaterials" attributes were using the "materials" attribute function, error made recently when converting attributes.

------------------------------------------------------------------------
r19783 | campbellbarton | 2009-04-19 08:29:15 +0200 (Sun, 19 Apr 2009) | 4 lines

Hidden faces were not rendering displayed in the game engine, only the invisible face flag should be used for this.
Hiding faces is a editing option like selection and should not change rendering, it wasn't even working right because meshes without UVs ignored it.
I thought this was needed for compatibility with old files but just noticed this messes up 2 of the files in demos-2.42.zip

------------------------------------------------------------------------
r19782 | jesterking | 2009-04-19 02:09:47 +0200 (Sun, 19 Apr 2009) | 2 lines

BPy
* access to sample buffers count of Lamp
------------------------------------------------------------------------
r19781 | jesterking | 2009-04-18 19:16:08 +0200 (Sat, 18 Apr 2009) | 2 lines

SCons
* some misc changes, mainly cleaning and style unification that were lying around
------------------------------------------------------------------------
r19779 | ben2610 | 2009-04-18 11:14:51 +0200 (Sat, 18 Apr 2009) | 1 line

BGE: restore a feature that was lost in 2.48: sharing of display lists between duplicated objects.
------------------------------------------------------------------------
r19775 | campbellbarton | 2009-04-17 22:06:06 +0200 (Fri, 17 Apr 2009) | 11 lines

Added m_zombie to the base python class (PyObjectPlus), when this is set all the subclasses will raise an error on access to their members.

Other small changes...
- KX_Camera and KX_Light didnt have get/setitem access in their PyType definition.
- CList.from_id() error checking for a long was checking for -1 against an unsigned value (own fault)
- CValue::SpecialRelease was incrementing an int for no reason.
- renamed m_attrlist to m_attr_dict since its a PyDict type.
- removed custom getattro/setattro functions for KX_Scene and KX_GameObject, use py_base_getattro, py_base_setattro for all subclasses of PyObjectPlus.
- lowercase windows.h in VideoBase.cpp for cross compiling.


------------------------------------------------------------------------
r19774 | genscher | 2009-04-17 15:42:40 +0200 (Fri, 17 Apr 2009) | 1 line

Fixing SND_Scene.h missing include problems with cmake + bullet
------------------------------------------------------------------------
r19771 | ton | 2009-04-17 12:38:10 +0200 (Fri, 17 Apr 2009) | 15 lines

bugfix #18287

Texture nodes hang when nodes have a cyclic case.

Added a (temp?) provision to tag node->need_exec zero for cyclic
nodes, and added check for this in texture nodes. 
There was also a bug in 'tag changed' for texture nodes, which not
only tagged, but also called the tree exec (should not happen!).

In general the texture exec needs recode; it doesn't use the stacks
as provided per node, but recurses itself to previous nodes, giving
problems like this. Node execs should only do their own bizz, the
node system handles dependency and eval order nicely already.


------------------------------------------------------------------------
r19770 | campbellbarton | 2009-04-17 12:34:09 +0200 (Fri, 17 Apr 2009) | 2 lines

let command line args override the 'blenderlite' target

------------------------------------------------------------------------
r19769 | ton | 2009-04-17 12:24:44 +0200 (Fri, 17 Apr 2009) | 4 lines

Missing <stdlib.h> for abs() made this file not compile for me.



------------------------------------------------------------------------
r19768 | campbellbarton | 2009-04-17 08:21:49 +0200 (Fri, 17 Apr 2009) | 3 lines

packing from the UV window with margin had a problem with feedback, so running again and again would give different results.
Scale the margin by the combined area of all boxes to give predictable results.

------------------------------------------------------------------------
r19767 | campbellbarton | 2009-04-17 04:33:14 +0200 (Fri, 17 Apr 2009) | 3 lines

[#18533] Little fix in Particle API doc
from Alberto Santos (dnakhain)

------------------------------------------------------------------------
r19762 | ben2610 | 2009-04-16 22:13:13 +0200 (Thu, 16 Apr 2009) | 1 line

BGE: slow parent was causing scaling distortion, now use correct quaternion interpolation.
------------------------------------------------------------------------
r19751 | campbellbarton | 2009-04-16 08:24:47 +0200 (Thu, 16 Apr 2009) | 2 lines

bpy_internal_import.c should build with py2.3 now, also gave bpy_internal_import functions better names.

------------------------------------------------------------------------
r19746 | ben2610 | 2009-04-15 23:17:08 +0200 (Wed, 15 Apr 2009) | 1 line

BGE bug #18168: Get local orientation of object using game engine python script system. Added localOrientation and worldOrientation. orientation attribute deprecated. Same for position and scaling. World attributes are read-only except for worldPosition. Add systematic check on NULL SGNode in all python functions. This is necessary to handle zombie objects (deleted by the game but kept alive by a reference in a list).
------------------------------------------------------------------------
r19744 | jaguarandi | 2009-04-15 21:33:25 +0200 (Wed, 15 Apr 2009) | 6 lines

Merging Shrinkwrap Constraint!
	+bvhtree cache (if the derived model doenst gets destroyed then the same BVHtree can be used)
	this was needed to allow shrinkwrap constraint to be usable.

It has been ready for a long time.. but only got merged now, for 2.49.

------------------------------------------------------------------------
r19743 | campbellbarton | 2009-04-15 21:20:12 +0200 (Wed, 15 Apr 2009) | 4 lines

BGE Python API
Free python modules defined within the blendfile between loading scenes since they would end up accessing old GameLogic, Rasterizer modules as well as old game engine data in the module namespace which can cause problems.


------------------------------------------------------------------------
r19742 | campbellbarton | 2009-04-15 20:20:19 +0200 (Wed, 15 Apr 2009) | 2 lines

Optional margin for packing UV islands and the 'Pack Islands' menu item. Useful for baking with bleed enabled.

------------------------------------------------------------------------
r19740 | sirdude | 2009-04-15 18:23:13 +0200 (Wed, 15 Apr 2009) | 7 lines

This is patch [#18408] Build issues with make on Cygwin hosted MinGW (2.48.1)
submitted by Wayne Dennis

adds an include, changes pythonlib and does a little cleaning of dlltool stuff.

Kent

------------------------------------------------------------------------
r19739 | sirdude | 2009-04-15 18:16:00 +0200 (Wed, 15 Apr 2009) | 10 lines

Fixing more errors coverity found.

Imagepaint make sure ibuf exists before we use it.  This is CID# 545
editmesh_tools.c make sure were not indexing array with -1 This is CID# 137
	(also removed some trailing whitespace I found)

anim5.c	totlen could be -1 so check its > -1  This is CID# 134

Kent

------------------------------------------------------------------------
r19733 | campbellbarton | 2009-04-15 15:50:56 +0200 (Wed, 15 Apr 2009) | 7 lines

BGE MouseFocusSensor
- fix for multiple viewpors broke single viewport (both work now)
- python could get uninitialized values from m_prevTargetPoint and m_prevSourcePoint
- getting the RayDirection for python could crash blender trying to normalize a zero length vector.
- added python attributes
- removed unused canvas from the MouseFocusSensor class

------------------------------------------------------------------------
r19728 | campbellbarton | 2009-04-15 12:57:28 +0200 (Wed, 15 Apr 2009) | 10 lines

Disable using KX_GameObjects in python that have been removed from the scene (zombie objects) by raising a RuntimeError when accessing methods, attributes or passing to a function.

Common cases of this are when python references an object from the AddObject actuator that has ended, or a scene has been loaded and the old objects freed.

This means some scripts will raise errors now in certain cases but better give the error early rather then failing silently with strange hard to track down behavior & crashes.

Added "isValid" attribute for checking objects are in a scene.

At the moment it uses the SceneGraph Node to check of the objects valid but it might be better to do this in a more generic way so scenes, meshes etc also have this check.

------------------------------------------------------------------------
r19726 | campbellbarton | 2009-04-15 10:08:42 +0200 (Wed, 15 Apr 2009) | 3 lines

BGE Py Api
importing modules wasnt returning the error from the blender text if it failed.

------------------------------------------------------------------------
r19725 | campbellbarton | 2009-04-15 09:00:11 +0200 (Wed, 15 Apr 2009) | 14 lines

[#7789] 3DS Import , Mesh not correct since Blender 2.44

There is a problem importing 3ds files where I cant find a way to check if the transforms are applied to the vertex locations or not.
Since 2.44 I made the importer assume they were not since you can manually remove transformations, but not reverse.

Nevertheless most 3ds files have the matrix applied, better not give a bad import by default.
Did some research and other 3ds importers (lib3ds for eg), have the same problem and just assume the transformations applied.

3dsMax imports both correctly so there must be a way to tell but I could not link it to the 3ds version or other mesh options.
Added an option to workaround this problem in rare cases where its needed.

- KX_GameObject.cpp & KX_Scene.cpp, clear the dict before removing the reference in case there is a circular reference.


------------------------------------------------------------------------
r19724 | campbellbarton | 2009-04-15 06:34:27 +0200 (Wed, 15 Apr 2009) | 9 lines

Fix for own recent reference count error.
- The armature weakref list was  being incref'd twice then decrefed twice (incref and decref were used incorrectly), now only once. My 'fix' broke this.
- In bpy_pydriver_create_dict the 2 refs added from running PyDict_SetItemString twice were undone when clearing the dictionary (added comment)
- changed Py_XDECREF to Py_DECREF int BPY_pyconstraint_update and BPY_pyconstraint_target, Py_XDECREF checs for NULL value which would have crashed blender before it got to Py_XDECREF anyway.
- after every error is reported (PyErr_Print), remove sys.last_traceback and clear the error, I found this fixed certain crashes (usually when starting the game engine or exiting blender), so best do this all the time.

- header_text.c, CcdPhysicsEnvironment.cpp, KX_CameraActuator.cpp - remove some warnings.


------------------------------------------------------------------------
r19722 | migius | 2009-04-15 03:37:50 +0200 (Wed, 15 Apr 2009) | 5 lines

update for DXF-Importer v1.12, DXF-Exporter v1.29 - 2009.04.11 by migius
 - added DWG support, adapted Stani Michiels idea for binding an extern DXF-DWG-converter

The external DXF-DWG converter "dconvertcon.exe" 355kb comes from openDesignAlliance www.opendwg.org, is free, but not opensource, not GPL-compatible (can not be bundled with commercial programs), so must be downloaded and installed in Blender script folder by user. It is a DOS console application, can be started in background mode, works on Windows, and in Wine on Linux and OSX. Version 1.0 (2002) supports conversion between DXF<->DWG for autocad release: 2.5, 2.6, 9, 10, 11, 12, 13, 14, 2000, 2002. 

------------------------------------------------------------------------
r19720 | migius | 2009-04-15 01:57:14 +0200 (Wed, 15 Apr 2009) | 3 lines

v1.29 - 2008.12.28 by Yorik van Havre
- modif POLYLINE to support bulge segments

------------------------------------------------------------------------
r19719 | ben2610 | 2009-04-14 22:54:04 +0200 (Tue, 14 Apr 2009) | 1 line

BGE bug #18522 fixed: Dupligroup offsets don't work in BGE.
------------------------------------------------------------------------
r19718 | ben2610 | 2009-04-14 19:22:14 +0200 (Tue, 14 Apr 2009) | 1 line

BGE: Keep Sumo and ODE in sync with Bullet at API level, fix a compilation problem in MSVC.
------------------------------------------------------------------------
r19717 | campbellbarton | 2009-04-14 19:19:09 +0200 (Tue, 14 Apr 2009) | 6 lines

[#18517] Python scripts segfault on loading
own error, EXPP_incr_ret from a macro was an implicit decloration in BGL.c
For some reason this only crashed on 64bit linux

To my defence the BGE makes so many warnings that they become usless, need to improve the situation here at some point.

------------------------------------------------------------------------
r19716 | ton | 2009-04-14 19:13:21 +0200 (Tue, 14 Apr 2009) | 11 lines

Bugfix #18108

Another bug in the 'radius per vertex' feature in curves.

If you set front/back face off for curves, and make it bevel or give
depth, the curves should draw as tubes. This feature didn't work in 2.48
either... 

Still unsure about this implementation, campbell can check!


------------------------------------------------------------------------
r19714 | campbellbarton | 2009-04-14 14:34:39 +0200 (Tue, 14 Apr 2009) | 10 lines

BGE Physics
Clamp objects min/max velocity.
Accessed with bullet physics from the advanced button with dynamic and rigid body objects.
- useful for preventing unstable physics in cases where objects move too fast.
- can add linear velocity with the motion actuator to give smooth motion transitions, without moving too fast.
- minimum velocity means objects don't stop moving.
- python scripts can adjust these values speedup or throttle velocity in the existing direction.

Also made copy properties from an object with no properties work (in case you want to clear all props)

------------------------------------------------------------------------
r19711 | campbellbarton | 2009-04-14 05:08:09 +0200 (Tue, 14 Apr 2009) | 6 lines

BGE Bugfix
[#17678] "Mouse over" sensor broken when using viewports

Loop over all the scenes camera viewports and check the mouse is inside the viewport before casting a ray.


------------------------------------------------------------------------
r19710 | ben2610 | 2009-04-13 22:08:33 +0200 (Mon, 13 Apr 2009) | 13 lines

BGE: Occlusion culling and other performance improvements.

Added occlusion culling capability in the BGE. 
More info: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.49/Game_Engine#BGE_Scenegraph_improvement
MSVC, scons, cmake, Makefile updated.

Other minor performance improvements:
- The rasterizer was computing the openGL model matrix of the objects too many times
- DBVT view frustrum culling was not properly culling behind the near plane:
  Large objects behind the camera were sent to the GPU
- Remove all references to mesh split/join feature as it is not yet functional


------------------------------------------------------------------------
r19709 | gsrb3d | 2009-04-13 21:33:22 +0200 (Mon, 13 Apr 2009) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r19703 | campbellbarton | 2009-04-13 08:50:02 +0200 (Mon, 13 Apr 2009) | 3 lines

[#18329] VRML import on indexedfaceset munges some colors (off by one)
Thanks to Ezra Peisach for including a patch in the report.

------------------------------------------------------------------------
r19702 | campbellbarton | 2009-04-13 06:54:12 +0200 (Mon, 13 Apr 2009) | 11 lines

Bullet integration uninitialised values.

Erwin, r16812 "Add Fh/Rot Fh to Bullet" - added this function
  ClosestRayResultCallbackNotMe(rayFromWorld,rayToWorld,body,parentBody)
  
  ...but parentBody was being ignored and the m_parent value wasn't being initialized.


Run memset() on CcdConstructionInfo which had some unset members for CreateSphereController() and CreateConeController().


------------------------------------------------------------------------
r19701 | campbellbarton | 2009-04-13 05:43:16 +0200 (Mon, 13 Apr 2009) | 2 lines

mesh proxy attributes from andrecastelo

------------------------------------------------------------------------
r19692 | campbellbarton | 2009-04-13 00:05:09 +0200 (Mon, 13 Apr 2009) | 2 lines

this should fix building with mingw

------------------------------------------------------------------------
r19688 | campbellbarton | 2009-04-12 22:19:27 +0200 (Sun, 12 Apr 2009) | 2 lines

fix some refcounting issues with PyDict_SetItemString

------------------------------------------------------------------------
r19687 | dfelinto | 2009-04-12 21:46:50 +0200 (Sun, 12 Apr 2009) | 4 lines

2DFilter bugfixes:

[#18154] 2dFilter and motion blur should run only once to all the scenes
[#18504] The GL_PROJECTION matrix is being reset by the 2dfilter.
------------------------------------------------------------------------
r19682 | campbellbarton | 2009-04-12 19:07:40 +0200 (Sun, 12 Apr 2009) | 5 lines

[#18516] Particle children API for python (Complete).
from Alberto Santos (dnakhain) 
----
This patch complete previous one that I submit with new variables relationated with Particle System children (With variables related to Rough, Kink and Branch).

------------------------------------------------------------------------
r19681 | campbellbarton | 2009-04-12 18:10:43 +0200 (Sun, 12 Apr 2009) | 2 lines

PropertyActuator toggle option didnt run when the Value field was empty.

------------------------------------------------------------------------
r19680 | campbellbarton | 2009-04-12 16:22:51 +0200 (Sun, 12 Apr 2009) | 21 lines

BGE Python API

Support for assigning any Type to a KX_GameObject

so you can do...
 gameOb.follow = otherGameOb
 gameOb[otherGameOb] = distanceTo
 gameOb["path"] = [(x,y,x), (x,y,x)]
 del gameOb[mesh]


* types that cannot be converted into CValue types are written into the KX_GameObject dict
* the KX_GameObject dict is only initialized when needed
* Python properties in this dict cannot be accessed by logic bricks
* dir(ob) and ob.getPropertyNames() return items from both CValue and Py dictionary properties.

Also found that CType was converting python lists to CType Lists but very buggy, would crash after printing the list most times.
Use python lists instead since logic bricks dont deal with lists.



------------------------------------------------------------------------
r19677 | campbellbarton | 2009-04-12 12:56:36 +0200 (Sun, 12 Apr 2009) | 2 lines

need strtoll defined as _strtoi64 to build on windows

------------------------------------------------------------------------
r19676 | campbellbarton | 2009-04-12 11:56:30 +0200 (Sun, 12 Apr 2009) | 7 lines

BGE Python API
added defines PY_SET_ATTR_FAIL, PY_SET_ATTR_MISSING and PY_SET_ATTR_SUCCESS

This is useful when objects that have user defined attributes (GameObject and Scene)
When calling setattr on the parent, a return value of PY_SET_ATTR_FAIL means the attribute exists but failed to be set, so don't set the custom attribute.


------------------------------------------------------------------------
r19673 | campbellbarton | 2009-04-12 09:24:04 +0200 (Sun, 12 Apr 2009) | 3 lines

added "toggle" an option for the property actuator.
much less hassle then setting up a property sensor and 2 assignment actuators, or through python.

------------------------------------------------------------------------
r19669 | campbellbarton | 2009-04-12 08:41:01 +0200 (Sun, 12 Apr 2009) | 14 lines

use long long rather then int for storing game logic properties.

There were also some problems with int to python conversion
- assigning a PyLong to a KX_GameObject from python would raise an error
- PyLong were coerced into floats when used with internal CValue arithmetic

Changes...
- PyLong is converted into CIntValue for coercing and assigning from python
- CValue's generic GetNumber() function returns a double rather then a float.
- Print an error when a PyType cant be coerced into a CValue

Tested with python, expressions and property sensor.


------------------------------------------------------------------------
r19668 | campbellbarton | 2009-04-11 22:58:09 +0200 (Sat, 11 Apr 2009) | 13 lines

BGE Py API
- setting the scene attributes would always add to the scenes custom dictionary.
- new CListValue method from_id(id)

so you can store a Game Objects id and use it to get the game object back.

 ob_id = id(gameOb)
 ...
 gameOb = scene.objects.from_id(ob_id)
 
This is useful because names are not always unique.


------------------------------------------------------------------------
r19664 | campbellbarton | 2009-04-11 17:59:11 +0200 (Sat, 11 Apr 2009) | 2 lines

bugfix from Moguri, AddReplica wasnt setting the light layer from the parent

------------------------------------------------------------------------
r19647 | jhk | 2009-04-10 23:07:32 +0200 (Fri, 10 Apr 2009) | 2 lines

Fix for: [#18499] Particle size can only be set in steps of 0.1
- Some button settings were wrong.
------------------------------------------------------------------------
r19646 | jhk | 2009-04-10 21:40:21 +0200 (Fri, 10 Apr 2009) | 6 lines

Mesh effector surface option:
- Most mesh particle effectors can now have their effection point taken per particle as the nearest point on the mesh surface.
- This is activated with the "surface" button in the effector field panel.
- Activating the option adds a "surface" entry to the modifier stack where the state of the mesh is read from.

For an example of usage see http://www.youtube.com/watch?v=3XkO1EAmJks.
------------------------------------------------------------------------
r19642 | jaguarandi | 2009-04-10 18:45:19 +0200 (Fri, 10 Apr 2009) | 3 lines

Added function name to many of the PyArg_ParseTuple calls in gameengine
This way python raises more useful messages.

------------------------------------------------------------------------
r19640 | campbellbarton | 2009-04-10 16:33:52 +0200 (Fri, 10 Apr 2009) | 3 lines

strip indentation from lines of OBJ files.
OBJ's from VMD's molecular visualization program had this.

------------------------------------------------------------------------
r19638 | campbellbarton | 2009-04-10 16:09:44 +0200 (Fri, 10 Apr 2009) | 2 lines

X3D Import was broken because some arguments from VRML were missing.

------------------------------------------------------------------------
r19632 | jhk | 2009-04-10 01:43:25 +0200 (Fri, 10 Apr 2009) | 1 line

Particle effector falloff maxdist etc. didn't work like it was supposed to.
------------------------------------------------------------------------
r19631 | ben2610 | 2009-04-10 01:10:12 +0200 (Fri, 10 Apr 2009) | 1 line

BGE API cleanup: ConstraintActuator.
------------------------------------------------------------------------
r19630 | campbellbarton | 2009-04-10 00:15:26 +0200 (Fri, 10 Apr 2009) | 5 lines

BGE Bugfix
The End key didn't work work at all for the keyboard sensor.
Removed getEventList() since it was added since 2.48a release.


------------------------------------------------------------------------
r19629 | ben2610 | 2009-04-09 23:15:44 +0200 (Thu, 09 Apr 2009) | 1 line

BGE API cleanup: StateActuator.
------------------------------------------------------------------------
r19628 | ben2610 | 2009-04-09 22:40:12 +0200 (Thu, 09 Apr 2009) | 1 line

BGE API cleanup: sound actuator.
------------------------------------------------------------------------
r19623 | campbellbarton | 2009-04-09 18:00:45 +0200 (Thu, 09 Apr 2009) | 5 lines

Added GameKeys.EventToCharacter(event, is_shift) so you can get the character that would be types when pressing a key.

Last commit was made in the pydocs folder only, so this includes changes mentioned in rev ﻿19620.


------------------------------------------------------------------------
r19620 | campbellbarton | 2009-04-09 14:53:56 +0200 (Thu, 09 Apr 2009) | 5 lines

BGE Py API
- added keyboard senser attribute "events" to replace getEventList()
- fix 2 memory leaks in the python api (was making a list but not returning it)
- setting readonly attributes didnt give a good error message.

------------------------------------------------------------------------
r19618 | ben2610 | 2009-04-09 12:29:07 +0200 (Thu, 09 Apr 2009) | 1 line

Remove redundant include GL/glu.h in KX_Dome.cpp.
------------------------------------------------------------------------
r19617 | campbellbarton | 2009-04-09 12:28:14 +0200 (Thu, 09 Apr 2009) | 2 lines

key logging didnt work for alphanum keys -=_+ and |\ since revision 2 and nobody noticed!

------------------------------------------------------------------------
r19616 | campbellbarton | 2009-04-09 12:05:17 +0200 (Thu, 09 Apr 2009) | 4 lines

BGE Text - fix for tab drawing as an @ and not adding white space.
Tab width is always space*4.


------------------------------------------------------------------------
r19615 | campbellbarton | 2009-04-09 11:50:17 +0200 (Thu, 09 Apr 2009) | 8 lines

BGE Text
- multi-line strings for bitmap text 
- keyboard sensor now logs return and pad enter as "\n"

BGE std::vector use in Value.cpp and RAS_MaterialBucket.cpp
The size of a new list is known before making them, reduce re-allocs, though probably not a noticeable speedup.


------------------------------------------------------------------------
r19613 | campbellbarton | 2009-04-09 03:52:29 +0200 (Thu, 09 Apr 2009) | 2 lines

Python 2.3 wouldn't compile with BGL.

------------------------------------------------------------------------
r19610 | ben2610 | 2009-04-08 23:40:55 +0200 (Wed, 08 Apr 2009) | 1 line

BGE API cleanup: 2DFilterActuator.
------------------------------------------------------------------------
r19608 | ben2610 | 2009-04-08 22:10:27 +0200 (Wed, 08 Apr 2009) | 1 line

Fix gcc compiling problem with C++ syntax in KX_Dome.cpp.
------------------------------------------------------------------------
r19605 | campbellbarton | 2009-04-08 19:40:09 +0200 (Wed, 08 Apr 2009) | 6 lines

small bge edits
- Only try and remove light objects from the light list.
- Only loop over mesh verts once when getting the bounding box
- dont return None from python attribute localInertia when theres no physics objects. better return a vector still.
- add names to send message PyArg_ParseTuple functions.

------------------------------------------------------------------------
r19603 | ben2610 | 2009-04-08 18:57:08 +0200 (Wed, 08 Apr 2009) | 1 line

BGE patch #18350: Add sendMessage() to GameLogic. Added sendMessage to both GameLogic and KX_GameObject.
------------------------------------------------------------------------
r19600 | ben2610 | 2009-04-08 18:25:00 +0200 (Wed, 08 Apr 2009) | 1 line

BGE patch #18051: add localInertia attribute to GameObject.
------------------------------------------------------------------------
r19599 | ben2610 | 2009-04-08 17:06:20 +0200 (Wed, 08 Apr 2009) | 16 lines

Patch #18462: Fisheye (Dome) and Spherical Panoramic mode in BGE.

User guide:
http://wiki.blender.org/index.php/Dev:Source/GameEngine/Fisheye_Dome_Camera

Fixed two bugs from original patch:
- deleting a text will clear the warp field from Game framing settings
- removed spurious black dots along the edge of the cube map in the gameplayer 

Known limitation:
- resizing of the screen doesn't work in the gameplayer

Known bugs:
- Texture with reflexion are not rendered correctly
- Spurious problems with light

------------------------------------------------------------------------
r19596 | ben2610 | 2009-04-08 10:22:03 +0200 (Wed, 08 Apr 2009) | 1 line

Fixed scons and cmake after BGE scenegraph and culling improvements.
------------------------------------------------------------------------
r19593 | campbellbarton | 2009-04-08 01:21:30 +0200 (Wed, 08 Apr 2009) | 2 lines

gcc wouldn't compile using a reference

------------------------------------------------------------------------
r19592 | ben2610 | 2009-04-08 00:14:06 +0200 (Wed, 08 Apr 2009) | 30 lines

BGE Scenegraph and View frustrum culling improvement.

This commit contains a number of performance improvements for the
BGE in the Scenegraph (parent relation between objects in the
scene) and view frustrum culling.

The scenegraph improvement consists in avoiding position update
if the object has not moved since last update and the removal
of redundant updates and synchronization with the physics engine.

The view frustrum culling improvement consists in using the DBVT
broadphase facility of Bullet to build a tree of graphical objects
in the scene. The elements of the tree are Aabb boxes (Aligned 
Axis Bounding Boxes) enclosing the objects. This provides good
precision in closed and opened scenes. This new culling system
is enabled by default but just in case, it can be disabled with
a button in the World settings. There is no do_version in this
commit but it will be added before the 2.49 release. For now you
must manually enable the DBVT culling option in World settings
when you open an old file.

The above improvements speed up scenegraph and culling up to 5x.
However, this performance improvement is only visible when
you have hundreds or thousands of objects.

The main interest of the DBVT tree is to allow easy occlusion
culling and automatic LOD system. This will be the object of further
improvements.


------------------------------------------------------------------------
r19591 | theeth | 2009-04-07 22:05:32 +0200 (Tue, 07 Apr 2009) | 4 lines

etch-a-ton

Use head not tail normal for bone orientation.
Simplify roll to normal a bit.
------------------------------------------------------------------------
r19590 | ben2610 | 2009-04-07 21:57:30 +0200 (Tue, 07 Apr 2009) | 1 line

MSVC9 project file update
------------------------------------------------------------------------
r19589 | campbellbarton | 2009-04-07 21:21:48 +0200 (Tue, 07 Apr 2009) | 4 lines

Some users have odd joysticks with more then 8 axises, increased to 16 (so 4 joysticks)
Ideally there would be no limit but I dont think its worth the effort.
Also had a bug in last commit for the pytyhon api's "axisSingle" attribute, UI index starts at 1 not zero.

------------------------------------------------------------------------
r19588 | campbellbarton | 2009-04-07 20:55:35 +0200 (Tue, 07 Apr 2009) | 3 lines

BGE Py API
- Added OpenGL access to the game engine as a module so you can import BGL directly.

------------------------------------------------------------------------
r19586 | campbellbarton | 2009-04-07 19:54:56 +0200 (Tue, 07 Apr 2009) | 2 lines

BGE api added place holder docs and CListValue docs.

------------------------------------------------------------------------
r19585 | gsrb3d | 2009-04-07 19:17:47 +0200 (Tue, 07 Apr 2009) | 2 lines

Emacs has some rules about where and how to look for settings.

------------------------------------------------------------------------
r19582 | campbellbarton | 2009-04-07 18:00:32 +0200 (Tue, 07 Apr 2009) | 6 lines

BGE Python API (small changes)
- Make BGE's ListValue types convert to python lists for printing since the CValue GetText() function didnt work well- printing lists as [,,,,,] for scene objects and mesh materials for eg.
- Check attributes are descriptor types before casting.
- py_getattr_dict use the Type dict rather then Method and Attribute array.


------------------------------------------------------------------------
r19580 | campbellbarton | 2009-04-07 13:45:48 +0200 (Tue, 07 Apr 2009) | 3 lines

Updated bge_api_validate_py.txt to check for undocumented attributes
All types methods and attributes are now documented (except for some types have no epydoc .py files for at all)

------------------------------------------------------------------------
r19579 | campbellbarton | 2009-04-07 13:06:35 +0200 (Tue, 07 Apr 2009) | 6 lines

BGE Python API

Use each types dictionary to store attributes PyAttributeDef's so it uses pythons hash lookup (which it was already doing for methods) rather then doing a string lookup on the array each time.

This also means attributes can be found in the type without having to do a dir() on the instance.

------------------------------------------------------------------------
r19578 | campbellbarton | 2009-04-07 12:16:26 +0200 (Tue, 07 Apr 2009) | 3 lines

[#18407] Trouble w/ Bevel_Center.py
add python encoding info

------------------------------------------------------------------------
r19576 | ton | 2009-04-07 09:46:58 +0200 (Tue, 07 Apr 2009) | 6 lines

bugfix #18196

Halos for objects (not particles) can get texture color, but they skipped
the alpha mapt-to channel when that was set. Actually bug from ehh 1995!


------------------------------------------------------------------------
r19575 | campbellbarton | 2009-04-07 08:23:45 +0200 (Tue, 07 Apr 2009) | 9 lines

BGE Joystick Sensor
- Raised limit of 2 axis to 4 axis pairs (4==8 joysticks axis pairs)
- Added a new Joystick Sensor type "Single Axis", so you can detect horizontal or vertical movement, rather then just Up/Down/Left/Right
- added Python attribute "axisSingle" so you can get the value from the selected axis (rather then getting it out of the axis list)
- renamed Py attribute "axisPosition" to "axisValues" (was never in a release)

If we need to increase the axis limit again just change JOYAXIS_MAX and the button limits.


------------------------------------------------------------------------
r19573 | campbellbarton | 2009-04-07 05:20:59 +0200 (Tue, 07 Apr 2009) | 2 lines

error in last commit

------------------------------------------------------------------------
r19572 | jhk | 2009-04-07 05:00:32 +0200 (Tue, 07 Apr 2009) | 3 lines

Fix for: [#18027] Strange behaviour of Explode modifier in combination with SubSurf
- Explode didn't use the dmcache index for getting the particles emitter position.
- One "tri or quad"-comparison tested the wrong index. Leading to one quad converting into a tri.
------------------------------------------------------------------------
r19570 | jhk | 2009-04-07 02:15:58 +0200 (Tue, 07 Apr 2009) | 1 line

Texture effector nabla didn't have a correct initial value and it's button explanation needed some work.
------------------------------------------------------------------------
r19569 | jhk | 2009-04-07 01:23:36 +0200 (Tue, 07 Apr 2009) | 1 line

Harmonic effector force wasn't working properly at all. A silly vector normalization where it shouldn't have been.
------------------------------------------------------------------------
r19568 | jhk | 2009-04-06 21:32:23 +0200 (Mon, 06 Apr 2009) | 3 lines

Fix for: [#18354] Controlling with a texture the particles DENSITY parameter doesn't work.

If the density texture was taken into account with hair parent particles there were cases when there weren't any parents left to interpolate children from. Now a density texture is only taken into account for hair child particles.
------------------------------------------------------------------------
r19567 | ton | 2009-04-06 20:08:15 +0200 (Mon, 06 Apr 2009) | 7 lines

bugfix #18398

When using 'angle' display for camera, the 'lens' ipo didn't update this
button. Implementation still lacks a bit... having both variables in the
camera struct is asking for troubles. Put on the re-think list for 2.5!


------------------------------------------------------------------------
r19565 | campbellbarton | 2009-04-06 17:35:53 +0200 (Mon, 06 Apr 2009) | 2 lines

error in last commit

------------------------------------------------------------------------
r19563 | campbellbarton | 2009-04-06 15:27:28 +0200 (Mon, 06 Apr 2009) | 6 lines

BGE Python API
- added a module for the BGE - GameTypes, only contains types.
- added KX_PYATTRIBUTE_DUMMY attributes for KX_Light, KX_PolyProxy, KX_VertexProxy, so all types should give correct results from a dir().
- added a script to check for missing methods in the epydocs - bge_api_validate_py.txt
 

------------------------------------------------------------------------
r19562 | campbellbarton | 2009-04-06 15:13:25 +0200 (Mon, 06 Apr 2009) | 4 lines

BGE Epydocs were missing some functions
renamed KX_Light -> KX_LightObject
added some missing controllers

------------------------------------------------------------------------
r19561 | campbellbarton | 2009-04-06 14:47:15 +0200 (Mon, 06 Apr 2009) | 4 lines

- remove debug printf
- remove test for importing the module rather then creating a new one (didnt mean to commit)
- added constants for the mouse sensor to use.

------------------------------------------------------------------------
r19558 | ton | 2009-04-06 11:05:37 +0200 (Mon, 06 Apr 2009) | 11 lines

Bugfix #18266

Mipmap creation for render crashed, in this case:
- use Curves tool on an Image, which is UV mapped on object
- Save the image to disk, under new name
- Render (F12)

This fix is only for the crash, there's something not well coded
for Curves tool, how it manages float buffers. That's for 2.5.


------------------------------------------------------------------------
r19557 | campbellbarton | 2009-04-06 10:17:04 +0200 (Mon, 06 Apr 2009) | 2 lines

Python ref-counting fixes

------------------------------------------------------------------------
r19555 | sirdude | 2009-04-06 03:43:01 +0200 (Mon, 06 Apr 2009) | 4 lines

cast needed to get things compiling again on my machine.

Kent

------------------------------------------------------------------------
r19554 | jhk | 2009-04-06 02:43:59 +0200 (Mon, 06 Apr 2009) | 1 line

Fix for: [#18482] Mixed object and halo visualization for particles needs "Emitter" to be activated.
------------------------------------------------------------------------
r19553 | aligorith | 2009-04-06 02:22:58 +0200 (Mon, 06 Apr 2009) | 3 lines

2.4x Bugfix #18279 - Copy Vertex Group Location doesn't work with subsurf modifier


------------------------------------------------------------------------
r19552 | jhk | 2009-04-06 02:10:52 +0200 (Mon, 06 Apr 2009) | 5 lines

Fix for: [#18371] VParent breaks fur effects.
-Virtual parents were not randomly selected due to optimization in child particle distribution code.
-Wave-kink had a wrong matrix multiplication.
-Amount of virtual parents wasn't scaled properly to the amount of children rendered.
-Calculating virtual parents is now thread safe.
------------------------------------------------------------------------
r19551 | aligorith | 2009-04-06 02:04:04 +0200 (Mon, 06 Apr 2009) | 3 lines

2.4x Bugfix - #18188: "Clear user transform" does not work as described 

For the record, "Clear user transform" is supposed to restore selected bones to the transforms defined by Actions/NLA, not back to rest position.
------------------------------------------------------------------------
r19550 | campbellbarton | 2009-04-05 21:37:13 +0200 (Sun, 05 Apr 2009) | 8 lines

BGE PyAPI can now import text (within the blend-file)
Previously this only worked with the Blender API.
- bpy_internal_import small C file that Blender scripting and the game engine use.
- Tested with blender, blenderplayer, loading files
- Needed to use a hack to override the Main struct since the game engine doesn't set G.main
- when the sandbox is set, only internal scripts can be imported.


------------------------------------------------------------------------
r19548 | campbellbarton | 2009-04-05 16:55:50 +0200 (Sun, 05 Apr 2009) | 6 lines

BGE Python API
- action attribute wasnt checking for NULL (own fault)
- KX_Scene getCamera wasnt checking for NULL
- CListValue had asserts for not yet implimented functionality, this would close blender. Better to print an error if the user manages to run this functions (I managed to by CListValue.count([1,2,3]))


------------------------------------------------------------------------
r19547 | campbellbarton | 2009-04-05 16:01:49 +0200 (Sun, 05 Apr 2009) | 16 lines

BGE Bugfixes (mostly in the py api)

KX_PolygonMaterial and KX_BlenderMaterial - Added a print function (would raise a python error on printing)

* Crashes *
KX_GameObject SetParent - Disallowed setting a parent to its self, caused a recursion crash.
KX_MeshProxy "materials" attribute was segfaulting because of my recent change - I was wrong, you do need to check material types (no idea why since they are both PyObject * at the base)
KX_VisibilityActuator - Wasn't initialized with PyType_Ready() making it crash on access (own fault) 

* Crashes because of missing NULL checks *
KX_PolygonMaterial's "gl_texture" attribute wasnt checking for a valid m_tface
KX_GameObject - added checks for GetPhysicsController()
KX_RayCast::RayTest - didnt check for a valid physics_environment
KX_SceneActuator's getCamera python function wasnt checking if there was a camera.


------------------------------------------------------------------------
r19546 | ton | 2009-04-05 13:45:30 +0200 (Sun, 05 Apr 2009) | 7 lines

License update for the Chinese .po file.

It had - in chinese only - a couple of restrictions for usage and
distribution that didn't comply to the GNU GPL freedom. After 
contacting the creator of the file, this change was approved.


------------------------------------------------------------------------
r19544 | campbellbarton | 2009-04-05 12:03:23 +0200 (Sun, 05 Apr 2009) | 3 lines

- fixed errors with bge epydocs
- changed epy_docgen.sh so inherited attributes & methods are included inline for each type, removed source option since its not useful and makes the download bigger.

------------------------------------------------------------------------
r19543 | campbellbarton | 2009-04-05 10:48:51 +0200 (Sun, 05 Apr 2009) | 2 lines

added experimental KX_GameObject attributes "sensors", "controllers" and "actuators"

------------------------------------------------------------------------
r19542 | campbellbarton | 2009-04-05 09:41:03 +0200 (Sun, 05 Apr 2009) | 2 lines

Make materials use PyAttributeDef's

------------------------------------------------------------------------
r19541 | aligorith | 2009-04-05 08:54:47 +0200 (Sun, 05 Apr 2009) | 1 line

2.4x - Grease Pencil: Swapping the order of args for gpencil_frame_delete_laststroke() to be more consistent with the rest of the Grease Pencil API.
------------------------------------------------------------------------
r19540 | campbellbarton | 2009-04-05 08:08:41 +0200 (Sun, 05 Apr 2009) | 6 lines

BGE Python API
- made camera use PyAttributeDef's
- removed unneeded duplicate matrix type checks
- fixed own bug (added since 2.48a) that broke a converting 4x4 matrix to a PyObject 


------------------------------------------------------------------------
r19539 | campbellbarton | 2009-04-04 17:54:07 +0200 (Sat, 04 Apr 2009) | 3 lines

Made KX_MeshProxy use PyAttributeDef. simplified getting the 'materials' attribute (no need to differentiate between types)
Added KX_GameObject 'meshes' attribute to replace getMesh(i)

------------------------------------------------------------------------
r19536 | jhk | 2009-04-04 16:34:39 +0200 (Sat, 04 Apr 2009) | 3 lines

Fix for: [#18273] reactor particle spowns to earlier.

Particle life "rand" value could be set above "1.0" allowing for negative particle lifetimes.
------------------------------------------------------------------------
r19535 | jhk | 2009-04-04 14:48:40 +0200 (Sat, 04 Apr 2009) | 1 line

Fix for [#18017] reactor particles affected by a curve guide emit at a wrong position.
------------------------------------------------------------------------
r19534 | campbellbarton | 2009-04-04 13:02:13 +0200 (Sat, 04 Apr 2009) | 2 lines

BGE Py API, mistake when redoing set action as a static function.

------------------------------------------------------------------------
r19533 | campbellbarton | 2009-04-04 11:54:05 +0200 (Sat, 04 Apr 2009) | 2 lines

include PyObjectPlus method in __dict__

------------------------------------------------------------------------
r19532 | campbellbarton | 2009-04-04 10:20:52 +0200 (Sat, 04 Apr 2009) | 4 lines

- should fix compiling with older python versions (<2.5)
- made the isA() function accept python types as well as strings.
- renamed _getattr_dict to py_getattr_dict

------------------------------------------------------------------------
r19531 | campbellbarton | 2009-04-04 06:56:05 +0200 (Sat, 04 Apr 2009) | 3 lines

fix for [#18484] Bullet Crash (possibly because of overlapping rigid body balls)
simple missing negative index check.

------------------------------------------------------------------------
r19530 | campbellbarton | 2009-04-04 04:57:35 +0200 (Sat, 04 Apr 2009) | 2 lines

moved more attributes from getattr into PyAttributeDef's

------------------------------------------------------------------------
r19525 | ben2610 | 2009-04-03 21:19:02 +0200 (Fri, 03 Apr 2009) | 1 line

MSVC9 project file.
------------------------------------------------------------------------
r19524 | ben2610 | 2009-04-03 21:09:52 +0200 (Fri, 03 Apr 2009) | 1 line

BGE API cleanup: RandomActuator.
------------------------------------------------------------------------
r19523 | jhk | 2009-04-03 20:13:51 +0200 (Fri, 03 Apr 2009) | 1 line

Fix for [#18372] object-particle in other layer not editable correctly.
------------------------------------------------------------------------
r19521 | campbellbarton | 2009-04-03 17:08:38 +0200 (Fri, 03 Apr 2009) | 2 lines

Some users could not build with python 2.5, hopefully this fixes it.

------------------------------------------------------------------------
r19520 | jhk | 2009-04-03 16:54:29 +0200 (Fri, 03 Apr 2009) | 1 line

Cleanup of particle object visualization code. No new features and hopefully no new bugs.
------------------------------------------------------------------------
r19519 | campbellbarton | 2009-04-03 16:51:06 +0200 (Fri, 03 Apr 2009) | 11 lines

Python BGE API
- Initialize python types with PyType_Ready, which adds methods to the type dictionary.
- use Pythons get/setattro (uses a python string for the attribute rather then char*). Using basic C strings seems nice but internally python converts them to python strings and discards them for most functions that accept char arrays.
- Method lookups use the PyTypes dictionary (should be faster then Py_FindMethod)
- Renamed __getattr -> py_base_getattro, _getattr -> py_getattro, __repr -> py_base_repr, py_delattro, py_getattro_self etc.

From here is possible to put all the parent classes methods into each python types dictionary to avoid nested lookups (api has 4 levels of lookups in some places), tested this but its not ready yet.

Simple tests for getting a method within a loop show this to be between 0.5 and 3.2x faster then using Py_FindMethod()


------------------------------------------------------------------------
r19518 | jhk | 2009-04-03 16:50:54 +0200 (Fri, 03 Apr 2009) | 1 line

Major cleanup of particle render & drawing code. No new features and hopefully no new bugs.
------------------------------------------------------------------------
r19517 | jhk | 2009-04-03 16:41:31 +0200 (Fri, 03 Apr 2009) | 1 line

Bug fix: hair or child particles didn't react to density texture.
------------------------------------------------------------------------
r19515 | joeedh | 2009-04-03 06:36:38 +0200 (Fri, 03 Apr 2009) | 1 line

fix for last commit, needed some additional checks
------------------------------------------------------------------------
r19514 | campbellbarton | 2009-04-03 06:12:20 +0200 (Fri, 03 Apr 2009) | 5 lines

BGE Python api
Added the method into the PyType so python knows about the methods (its supposed to work this way).
This means in the future the api can use PyType_Ready() to store the methods in the types dictionary.
Python3 removes Py_FindMethod and we should not be using it anyway since its not that efficient.

------------------------------------------------------------------------
r19513 | dfelinto | 2009-04-03 05:52:19 +0200 (Fri, 03 Apr 2009) | 2 lines

Setting ignore_deprecation_warnings as 1 by default in GamePlayer
(in the embed BGE it is still 0)
------------------------------------------------------------------------
r19512 | joeedh | 2009-04-03 05:16:31 +0200 (Fri, 03 Apr 2009) | 1 line

made grease pencil delete a frame if you delete all the strokes in it.
------------------------------------------------------------------------
r19511 | campbellbarton | 2009-04-03 04:16:56 +0200 (Fri, 03 Apr 2009) | 6 lines

BGE Python
- Bugfix for running dir() on all BGE python objects. was not getting the immediate methods and attributes for each class.
- Use attributes for KX_Scene (so they are included with dir())
- Override __dict__ attributes for KX_Scene and KX_GameObject so custom properties are included with a dir()


------------------------------------------------------------------------
r19510 | gsrb3d | 2009-04-03 01:22:00 +0200 (Fri, 03 Apr 2009) | 8 lines

.po file had invalid syntax and .mo file lacked a string.
a) msgfmt -o .../blender.mo de.po
   de.po:1988: missing `msgstr' section
   de.po:1990:7: syntax error
   msgfmt: found 2 fatal errors
b) msgid "Z-Buffer"
   msgstr "Z-Puffer"

------------------------------------------------------------------------
r19509 | migius | 2009-04-03 00:36:13 +0200 (Fri, 03 Apr 2009) | 1 line

German translation by lobsterbake@web.de from Blendpolis.de
------------------------------------------------------------------------
r19502 | campbellbarton | 2009-04-02 13:30:27 +0200 (Thu, 02 Apr 2009) | 4 lines

Script written for apricot, poly reduces based on known topologies, keeping edge loops unlike edge collapsing poly reduction.
Example
http://www.graphicall.org/ftp/ideasman42/unsubsurf.gif

------------------------------------------------------------------------
r19501 | campbellbarton | 2009-04-02 10:33:45 +0200 (Thu, 02 Apr 2009) | 4 lines

[#17963] NearSensor segmentation fault
bugfix in bullet
Caused by using the index from closestAxis4 before checking its -1

------------------------------------------------------------------------
r19500 | campbellbarton | 2009-04-02 08:59:27 +0200 (Thu, 02 Apr 2009) | 3 lines

[#18472] [patch] Speeding up Blenderplayer's profile drawing
from Mitchell Stokes (moguri)

------------------------------------------------------------------------
r19499 | campbellbarton | 2009-04-02 08:46:56 +0200 (Thu, 02 Apr 2009) | 3 lines

[#18477] Prevent .svn directories being included in OS X app bundles
from James Crosby (sheep)

------------------------------------------------------------------------
r19498 | campbellbarton | 2009-04-02 08:39:09 +0200 (Thu, 02 Apr 2009) | 7 lines

[#18452] Particle children API for python.
from Alberto Santos (dnakhain)

"This patch adds a few new variables relationated with Particle System children such as children amount, render amount,
child clumping..."


------------------------------------------------------------------------
r19497 | campbellbarton | 2009-04-02 07:38:05 +0200 (Thu, 02 Apr 2009) | 16 lines

Added getitem/setitem access for KX_GameObject
ob.someProp = 10
can now be...
ob["someProp"] = 10

For simple get/set test with an objects 10 properties, this is ~30% faster.

Though I like the attribute access, its slower because it needs to lookup BGE attributes and methods (for parent classes as well as KX_GameObject class).

This could also be an advantage if there are collisions between new attributes added for 2.49 and existing properties a game uses.

Made some other small optimizations,
- Getting and setting property can use const char* as well as STR_String (avoids making new STR_Strings just to do the lookup).
- CValue::SetPropertiesModified() and CValue::SetPropertiesModified(), were looping through all items in the std::map, advancing from the beginning each time.


------------------------------------------------------------------------
r19491 | ben2610 | 2009-04-01 10:59:36 +0200 (Wed, 01 Apr 2009) | 1 line

BGE API cleanup: ReplaceMeshActuator mesh attributes now returns a KX_MeshProxy. Fix a bug in KX_MeshProxy where the Python type was not set right.
------------------------------------------------------------------------
r19490 | campbellbarton | 2009-04-01 09:13:55 +0200 (Wed, 01 Apr 2009) | 5 lines

[#18479] 'Consolidate into one image' does not calculate/use 'pixel margin' 
Thanks to Dusan Stevanovic for pointing out the fix.

Also noticed alpha wasn't being rendered, enabled texface alpha.

------------------------------------------------------------------------
r19489 | campbellbarton | 2009-04-01 04:02:26 +0200 (Wed, 01 Apr 2009) | 4 lines

[#18478] Unwrap (smart projections) should accept values grater than 0.25 for island margin (it works just fine when changed in original script)

increased value as suggested.

------------------------------------------------------------------------
r19485 | gsrb3d | 2009-04-01 00:34:34 +0200 (Wed, 01 Apr 2009) | 2 lines

Clean up for the imminent migration from SVN to GIT.

------------------------------------------------------------------------
r19483 | ben2610 | 2009-03-31 23:03:15 +0200 (Tue, 31 Mar 2009) | 1 line

BGE API cleanup: DynamicActuator, ReplaceMeshActuator, TrackToActuator.
------------------------------------------------------------------------
r19482 | theeth | 2009-03-31 21:39:17 +0200 (Tue, 31 Mar 2009) | 6 lines

[#18455] The new FFMPEG version gives the wrong color

ffmpeg format switched from RGBA32 to BGR32, it's no longer needed to swap color planes.

NOTE: this commit also attempts to fix the big endian case, but since I don't have a machine to test it, I'd appreciate if someone else would.

------------------------------------------------------------------------
r19481 | ben2610 | 2009-03-31 21:02:01 +0200 (Tue, 31 Mar 2009) | 1 line

BGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, NetworkMessageSensor.
------------------------------------------------------------------------
r19480 | theeth | 2009-03-31 16:29:58 +0200 (Tue, 31 Mar 2009) | 3 lines

== etch-a-ton ==

Correct joint-guided roll to use the previous bone, not the following (that was silly). Also made first bone use view axis (since it has no previous), this is much nicer that using rotation correction only. Using the joint roll option makes it MUCH more orientation independant.
------------------------------------------------------------------------
r19479 | campbellbarton | 2009-03-31 10:13:21 +0200 (Tue, 31 Mar 2009) | 3 lines

[#18473] SCons build fails when linking blender when WITH_BF_OGG enabled
fix for linking on linux

------------------------------------------------------------------------
r19478 | campbellbarton | 2009-03-31 08:22:25 +0200 (Tue, 31 Mar 2009) | 5 lines

[#18439] Controlling the bevel shape for a text object with a curve no longer works.
own fault, broke rev16702.
Curves created by fonts didnt have their radius set. Forgot do do this when making radius calculated with the curve (like tilt)


------------------------------------------------------------------------
r19477 | campbellbarton | 2009-03-31 02:58:02 +0200 (Tue, 31 Mar 2009) | 3 lines

[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers
Marked as fixed but was still using uninitialized variables.

------------------------------------------------------------------------
r19468 | theeth | 2009-03-30 17:26:14 +0200 (Mon, 30 Mar 2009) | 1 line

Hide full retarget panels behind rt -1 (not ready for large scale use and not too well documented yet. Doesn't affect etch-a-ton.
------------------------------------------------------------------------
r19459 | campbellbarton | 2009-03-30 02:40:19 +0200 (Mon, 30 Mar 2009) | 6 lines

r19455 to Re-enable vertex welding for soft-bodies failed even on simple cases like a cube with scrambled mesh data.
Please test before committing.

m_vertexArray has no doubles now and is not aligned to 3, using m_triFaceArray to get the verts for each face.


------------------------------------------------------------------------
r19455 | erwin | 2009-03-29 21:54:05 +0200 (Sun, 29 Mar 2009) | 4 lines

Applied patch #18446, to do versions on damping

Re-enable vertex welding, only for soft bodies. They require it. Future versions could expose such vertexWeldingThreshold.

------------------------------------------------------------------------
r19449 | erwin | 2009-03-29 20:34:35 +0200 (Sun, 29 Mar 2009) | 1 line

Only apply advanced setting of angular/linear factor to rigid bodies (with angular rotation). The setting broke 'dynamic'-only objects.
------------------------------------------------------------------------
r19447 | ben2610 | 2009-03-29 17:17:55 +0200 (Sun, 29 Mar 2009) | 1 line

BGE API cleanup: CDActuator, ParentActuator, VisibilityActuator done. Thanks to Andre.
------------------------------------------------------------------------
r19437 | gsrb3d | 2009-03-28 20:31:22 +0100 (Sat, 28 Mar 2009) | 4 lines

Moved EXR settings to OS related zone.
It had its own "which OS" conditionals, so please check the moving did
change the result.

------------------------------------------------------------------------
r19432 | elubie | 2009-03-28 12:09:53 +0100 (Sat, 28 Mar 2009) | 2 lines

game engine compile fix for MSVC, game engine team might want to check.

------------------------------------------------------------------------
r19429 | campbellbarton | 2009-03-28 06:51:18 +0100 (Sat, 28 Mar 2009) | 2 lines

removed unneeded arg from makeknots() and replaced some numbers with defines

------------------------------------------------------------------------
r19428 | campbellbarton | 2009-03-28 05:25:21 +0100 (Sat, 28 Mar 2009) | 2 lines

Tooltip fix, there is no such thing as "Tadius interpolation"

------------------------------------------------------------------------
r19427 | ben2610 | 2009-03-27 23:11:30 +0100 (Fri, 27 Mar 2009) | 1 line

BGE API Cleanup: GameActuator (patch from Andre)
------------------------------------------------------------------------
r19426 | ben2610 | 2009-03-27 22:54:16 +0100 (Fri, 27 Mar 2009) | 1 line

BGE API cleanup: AddObject, DeleteObject and Scene actuator added.
------------------------------------------------------------------------
r19425 | sirdude | 2009-03-27 17:27:48 +0100 (Fri, 27 Mar 2009) | 5 lines

Fixed a couple of null issues spotted by coverity.
CIDS: 42 and 470

Kent

------------------------------------------------------------------------
r19420 | gsrb3d | 2009-03-26 19:45:39 +0100 (Thu, 26 Mar 2009) | 2 lines

Some small cleanups and reorganization.

------------------------------------------------------------------------
r19416 | campbellbarton | 2009-03-26 02:42:01 +0100 (Thu, 26 Mar 2009) | 2 lines

Added attributes for Ipo Actuator settings (replacing all methods)

------------------------------------------------------------------------
r19415 | dfelinto | 2009-03-26 00:09:17 +0100 (Thu, 26 Mar 2009) | 1 line

scons+msvc update for the FFMpeg recent updates
------------------------------------------------------------------------
r19403 | theeth | 2009-03-24 20:39:43 +0100 (Tue, 24 Mar 2009) | 3 lines

Bad crash in volume snapping code when duplis where involved.

Found out using Coverity's scan report.
------------------------------------------------------------------------
r19402 | sirdude | 2009-03-24 20:39:02 +0100 (Tue, 24 Mar 2009) | 8 lines

Changed missing line ending style for TEX_ files 
in sculptmode.c move initalization of a var to fix an issue
where index of array could be -1.
Found by coverity.

Kent


------------------------------------------------------------------------
r19401 | campbellbarton | 2009-03-24 20:37:17 +0100 (Tue, 24 Mar 2009) | 12 lines

Use Benoits attributes in KX_GameObject.

Deprecated..
getPosition, setPosition, getOrientation, setOrientation, getState, setState, getParent, getVisible, getMass

* swapped set/get to get/set in KX_PYATTRIBUTE_RW_FUNCTION macro to match pythons getsetattrs.
* deprecation warnings in the api and notes in epydocs.
* added 'state' attribute
* gameob.mass = 10 # now works because its not checking only for float values.
* dir(gameob) # includes attributes now


------------------------------------------------------------------------
r19400 | kakbarnf | 2009-03-24 19:51:21 +0100 (Tue, 24 Mar 2009) | 5 lines

Renumbered the texture nodes because they were clashing with the other nodes.
This will break compatibility with previous texnode testing builds (but not
with any released versions)


------------------------------------------------------------------------
r19398 | blendix | 2009-03-24 16:45:08 +0100 (Tue, 24 Mar 2009) | 7 lines

Fix for bug #18423: BGE lights in overlay scene also affected
other scenes, for texture face / multitexture materials.

Fix for bug #18428: BGE lights on hidden layers were still used,
for all material types, now they have no effect


------------------------------------------------------------------------
r19397 | blendix | 2009-03-24 14:39:50 +0100 (Tue, 24 Mar 2009) | 4 lines

Fix for bug #18438: TEX_valToNormal.c array size error.
Error pointed out by Dan Eicher, thanks!


------------------------------------------------------------------------
r19395 | campbellbarton | 2009-03-24 10:09:10 +0100 (Tue, 24 Mar 2009) | 6 lines

[#18260] FMOD Removal
from Jorg Muller (nexyon)

also removed references to CVS in install


------------------------------------------------------------------------
r19391 | campbellbarton | 2009-03-24 04:53:20 +0100 (Tue, 24 Mar 2009) | 2 lines

fix for [18443] Object.GetSelected() returns empty when run from command line

------------------------------------------------------------------------
r19389 | sirdude | 2009-03-23 20:52:49 +0100 (Mon, 23 Mar 2009) | 7 lines

Added BF_PROFILE  (same name as in scons files) option.
Set it to true to build with -pg

Also I added CCFLAGS to final link of targets.  Not sure why it wasn't there before.

Kent

------------------------------------------------------------------------
r19388 | sirdude | 2009-03-23 19:11:46 +0100 (Mon, 23 Mar 2009) | 5 lines

Another patch by GSR
Just some minor cleanups.

Kent

------------------------------------------------------------------------
r19387 | sirdude | 2009-03-23 19:11:10 +0100 (Mon, 23 Mar 2009) | 5 lines

Added some missing dirs that need to be created for
building to work.

Kent

------------------------------------------------------------------------
r19385 | sgefant | 2009-03-23 18:50:41 +0100 (Mon, 23 Mar 2009) | 4 lines

irix/scons: use $LCGDIR/sdl instead of $LCGDIR/SDL. 
Fixed bug #18293: SDL files under lib for irix-6.5-mips are included twice


------------------------------------------------------------------------
r19379 | campbellbarton | 2009-03-23 07:00:21 +0100 (Mon, 23 Mar 2009) | 11 lines

Speedup for bullet physics mesh conversion
Was adding each face with a remove doubles option that made conversion increasingly slower for larger meshes, this would often hang blender when starting with the BGE with larger meshes.

Replace btTriangleMesh()->addTriangle() with btTriangleIndexVertexArray()

YoFrankie level_1_home.blend starts a third faster, level_nut about twice as fast.

- previous commit was also incorrect using the original meshes vert locations rather then the vert locations that came from the derived mesh.
- Softbody is relying on removing doubles at 0.01 to give stable results, this no longer works but seems a bit dodgy anyway. Maybe some post-processing filter could fix up a mesh for bullet softbody.


------------------------------------------------------------------------
r19374 | ben2610 | 2009-03-23 00:39:36 +0100 (Mon, 23 Mar 2009) | 1 line

MSVC project files updated for ffmpeg 0.5 and armature. You must also update lib/windows.
------------------------------------------------------------------------
r19372 | ben2610 | 2009-03-23 00:01:21 +0100 (Mon, 23 Mar 2009) | 1 line

Oops undoing previous commit: I commited more than I wanted
------------------------------------------------------------------------
r19371 | ben2610 | 2009-03-22 23:39:07 +0100 (Sun, 22 Mar 2009) | 1 line

MSVC project file updated for ffmpeg 0.5 and armature. You must update lib/windows to get the updated ffmpeg libraries.
------------------------------------------------------------------------
r19369 | schlaile | 2009-03-22 22:48:59 +0100 (Sun, 22 Mar 2009) | 6 lines

== FFMPEG ==

Forgot subdir.mak
Disabled ALSA


------------------------------------------------------------------------
r19368 | schlaile | 2009-03-22 22:47:33 +0100 (Sun, 22 Mar 2009) | 6 lines

== FFMPEG ==

First try at make.
Disable yasm here.


------------------------------------------------------------------------
r19367 | ben2610 | 2009-03-22 22:36:48 +0100 (Sun, 22 Mar 2009) | 1 line

BGE API cleanup: add support for attribute set/get through functions only.
------------------------------------------------------------------------
r19366 | theeth | 2009-03-22 22:06:08 +0100 (Sun, 22 Mar 2009) | 1 line

only write tex plugin and envmap data to file if texture is the right type. This takes care of lingering errors with missing texture plugins after texture type is changed
------------------------------------------------------------------------
r19365 | campbellbarton | 2009-03-22 22:04:28 +0100 (Sun, 22 Mar 2009) | 8 lines

Speedup for bullet creating convex hull meshes
In a simple test with ~12000 verts, overall BGE startup time went from ~4.5 sec to a bit under a second.

- before adding each vert it did a check for a duplicates.
- Using RAS_Polygon verts can give a lot of duplicates because the verts also store UV's and normals.
- Was increasing the array one item at a time, now resize the array once.
- Use the blender mesh mvert array rather then RAS_TexVert's, so needed to include some DNA headers.

------------------------------------------------------------------------
r19364 | theeth | 2009-03-22 21:59:32 +0100 (Sun, 22 Mar 2009) | 1 line

fix ffmpeg config. Disabling alsa demux properly
------------------------------------------------------------------------
r19362 | schlaile | 2009-03-22 21:26:04 +0100 (Sun, 22 Mar 2009) | 5 lines

== FFMPEG ==

Disabled output devices and alsa, since we don't like linking errors.


------------------------------------------------------------------------
r19361 | schlaile | 2009-03-22 20:52:55 +0100 (Sun, 22 Mar 2009) | 5 lines

== FFMPEG ==

Yasm support was broken


------------------------------------------------------------------------
r19360 | schlaile | 2009-03-22 20:22:16 +0100 (Sun, 22 Mar 2009) | 5 lines

== FFMPEG ==

Forgot to patch darwin, oops.


------------------------------------------------------------------------
r19359 | schlaile | 2009-03-22 20:19:21 +0100 (Sun, 22 Mar 2009) | 7 lines

== FFMPEG ==

Updated ffmpeg to release version 0.5
updated x264 to today's daily build
thanks to ben2610 for first patches (but you got hddaudio.c wrong :)


------------------------------------------------------------------------
r19358 | campbellbarton | 2009-03-22 18:03:55 +0100 (Sun, 22 Mar 2009) | 2 lines

removed edgecode from the game engines RAS_Polygon class since its not used

------------------------------------------------------------------------
r19334 | campbellbarton | 2009-03-20 07:12:22 +0100 (Fri, 20 Mar 2009) | 9 lines

fixes for...
[18429] Typo in IPO Actuator

[18377] Crash fo yofankie (G.curscreen==NULL)
		/* No screen, happens when saving a blendfile in background mode,
		 * then loading in the game engine
		 * just assume we need the mesh info */


------------------------------------------------------------------------
r19332 | campbellbarton | 2009-03-20 03:26:02 +0100 (Fri, 20 Mar 2009) | 5 lines

patch from Banlu Kemiyatorn
* when joining only 2 faces dont check they are convex
* allow edge rotate for non planer faces
- Both were very annoying especially when sub-surf modeling with edge loops

------------------------------------------------------------------------
r19324 | blendix | 2009-03-17 23:03:21 +0100 (Tue, 17 Mar 2009) | 3 lines

Fix for bug #18419: game engine debug drawing interfered with alpha blending.


------------------------------------------------------------------------
r19322 | theeth | 2009-03-17 22:26:09 +0100 (Tue, 17 Mar 2009) | 2 lines

New icon and button for Peel Object option for volume snapping.
Use snap point to get default embedding depth (for overlapping volumes).
------------------------------------------------------------------------
r19318 | theeth | 2009-03-16 22:39:12 +0100 (Mon, 16 Mar 2009) | 1 line

fix crash with missing image sequence
------------------------------------------------------------------------
r19316 | sirdude | 2009-03-16 18:02:19 +0100 (Mon, 16 Mar 2009) | 10 lines

This is patch:
[#17974] two small fix for blender 2.48 (memory leak and uninitalized vars)
Submitted By:
Pavel Nemec (nemecp) 

(changes delete to [] and sets to vars to NULL)

Kent


------------------------------------------------------------------------
r19305 | theeth | 2009-03-16 03:55:42 +0100 (Mon, 16 Mar 2009) | 5 lines

Merging etch-a-ton branch in trunk.

Slightly out of date documentation in wiki, I'll be updating that tomorrow.

http://wiki.blender.org/index.php/User:Theeth/etch-a-ton
------------------------------------------------------------------------
r19302 | jesterking | 2009-03-16 00:40:59 +0100 (Mon, 16 Mar 2009) | 2 lines

BGE
* getting state of RMB was impossible due to wrong check.
------------------------------------------------------------------------
r19292 | ben2610 | 2009-03-14 18:39:07 +0100 (Sat, 14 Mar 2009) | 1 line

Bug #18396: Upgraded FFMPEG gives color artefacts. The problem as been identified as a discrepency between libswscale and the rest of ffmpeg code due to a different revision numbering scheme for libswscale. Both extern/ffmpeg and Windows versions are now in sync with ffmpeg revision 12758 and libswscale revision 26336.
------------------------------------------------------------------------
r19278 | migius | 2009-03-14 00:35:15 +0100 (Sat, 14 Mar 2009) | 5 lines

 update v1.12 - 2009.03.14 by migius
 d3 removed all set()functions (problem with osx/python<2.4 reported by Blinkozo)
 d3 code-cleaning
 d2 temp patch for noname BLOCKS (*X,*U,*D)

------------------------------------------------------------------------
r19272 | sgefant | 2009-03-13 11:22:49 +0100 (Fri, 13 Mar 2009) | 3 lines

Makefiles: fix definitions of NAN_OPENEXR_* variables on linux, patch provided
by GSR

------------------------------------------------------------------------
r19262 | ben2610 | 2009-03-11 23:11:52 +0100 (Wed, 11 Mar 2009) | 1 line

BGE patch 18368: Modulus (ie %) expression controller in BGE. Implement a cache for the expression for better performance.
------------------------------------------------------------------------
r19254 | sirdude | 2009-03-11 03:58:18 +0100 (Wed, 11 Mar 2009) | 4 lines

removed extra space in text.

Kent

------------------------------------------------------------------------
r19247 | sirdude | 2009-03-10 17:57:13 +0100 (Tue, 10 Mar 2009) | 4 lines

Last commit fixed gameengine but broke blender linking.  This should fix it.

Kent

------------------------------------------------------------------------
r19246 | sirdude | 2009-03-10 17:06:59 +0100 (Tue, 10 Mar 2009) | 4 lines

remove decimation and opennl libs from gameengine.

Kent

------------------------------------------------------------------------
r19245 | sirdude | 2009-03-10 17:04:29 +0100 (Tue, 10 Mar 2009) | 5 lines

Addes libopenjpeg (jpeg2000) support to the Makefiles

Kent


------------------------------------------------------------------------
r19243 | campbellbarton | 2009-03-10 07:58:42 +0100 (Tue, 10 Mar 2009) | 4 lines

[#18388] PLY Import fails if line ending is not \n
bugfix, read the header as ascii text - open(filename, 'rU'), only the body as binary.


------------------------------------------------------------------------
r19233 | erwin | 2009-03-09 08:12:16 +0100 (Mon, 09 Mar 2009) | 2 lines

Add support to lock individual axis during rigid body simulation, for translation and rotation. This makes it easier to do 1D or 2D physics (tetris, blockout)
todo: create some example/demo.blend.
------------------------------------------------------------------------
r19231 | erwin | 2009-03-09 06:01:16 +0100 (Mon, 09 Mar 2009) | 2 lines

Fix: The debug lines of Physics Debug Visualization were drawn incorrectly when using overlay scenes (it was using the wrong camera)

------------------------------------------------------------------------
r19230 | erwin | 2009-03-09 05:21:28 +0100 (Mon, 09 Mar 2009) | 2 lines

upgrade to latest Bullet trunk, fix related to vehicle anti-roll, added constraint visualization.
This commit doesn't add new functionality, but more updates are planned before Blender 2.49 release.
------------------------------------------------------------------------
r19229 | ben2610 | 2009-03-08 18:23:36 +0100 (Sun, 08 Mar 2009) | 1 line

BGE patch: undo patch about removing blenderplayer console in Windows: it interferes with scripts that write to the console. Back to previous state: console cannot be disabled in Windows.
------------------------------------------------------------------------
r19211 | sirdude | 2009-03-06 16:46:13 +0100 (Fri, 06 Mar 2009) | 9 lines

Addes jpeg2000 support to cmake.
I also did some small tweaks.  removed ifdef's for pluginapi
didn't need them there.
Fixed it so the filesel shows jp2 as image files.
(I'm going to do makefiles next)

Kent


------------------------------------------------------------------------
r19201 | ben2610 | 2009-03-05 16:35:15 +0100 (Thu, 05 Mar 2009) | 1 line

Update MSVC9 project file for VideoTexture
------------------------------------------------------------------------
r19200 | ben2610 | 2009-03-05 16:16:43 +0100 (Thu, 05 Mar 2009) | 22 lines

VideoTexture: reactivate VideoTexture for scons/cmake/makefile compilation systems, fix video streaming, fix camera support in Linux, add multi-thread cache service, fix crash when a VideoFFmpeg object could not be created.

The multi-thread cache service is activated only on multi-core processors.
It consists in loading, decoding and caching the video frames in a 
separate thread. The cache size is 5 decoded frames and 30 raw frames.
Note that the opening of video file/stream/camera is not multi-thread:
you will still experience a delay at the VideoFFmpeg object creation.
Processing of the video frame (resize, loading to texture) is still done
in the main thread.  Caching is automatically enabled for video file, 
video streaming and video camera. 

Video streaming now works correctly: the videos frames are loaded
at the correct rate. Network delays and frequency drifts are automatically
compensated. 
Note: an http video source is always treated as a streaming source,
even though the http protocol allows seeking. For the user it means that
he cannot define start/stop range and cannot restart the video except
by reopening the source. Pause/play is however possible.

Video camera is now correctly handled on Linux: it will not slow down the BGE.
A video camera is treated as a streaming source.

------------------------------------------------------------------------
r19199 | ben2610 | 2009-03-05 15:30:36 +0100 (Thu, 05 Mar 2009) | 1 line

FFmpeg update: fix bug in V5 and V6 codec; enable PNG support for VideoTexture. Note: V5/V6 bug fix is copied from ffmpeg SVN. PNG support is obtained by enabling zlib on configure command line.
------------------------------------------------------------------------
r19197 | ben2610 | 2009-03-05 10:50:16 +0100 (Thu, 05 Mar 2009) | 1 line

MSVC9 project file update for Bullet upgrade.
------------------------------------------------------------------------
r19182 | erwin | 2009-03-03 15:31:10 +0100 (Tue, 03 Mar 2009) | 3 lines

Fix build: don't use Character stuff, it wasn't meant to be included in Blender/extern/bullet2 distro.


------------------------------------------------------------------------
r19177 | erwin | 2009-03-03 04:41:24 +0100 (Tue, 03 Mar 2009) | 11 lines


Upgraded to Bullet 2.74. The upgrade introduced a few bugs, which need to be fixed before Blender 2.49.
In particular, the Bullet vehicle seems broken, and some soft-body demos don't work.
No new features or benefits are added yet, but a few improvements are planned before Blender 2.49 release.

Please update the build systems, and add those 3 files:
extern/bullet2/src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp
extern/bullet2/src/BulletCollision/CollisionDispatch/btGhostObject.cpp
extern/bullet2/src/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp

I'll watch the Blender mailing list, in case this commit causes some issues.
------------------------------------------------------------------------
r19174 | erwin | 2009-03-02 18:43:35 +0100 (Mon, 02 Mar 2009) | 4 lines

minor update to be compatible with Bullet 2.74 physics:
btPoint3 has been deprecated, it was already a typedef to btVector3
replace std::vector by btAlignedObjectArray when storing Bullet objects, because MSVC STL implementation has some bugs, preventing to contain aligned objects
(btVector3 is 16-byte aligned, to allow SIMD)
------------------------------------------------------------------------
r19162 | jesterking | 2009-03-01 22:23:04 +0100 (Sun, 01 Mar 2009) | 1 line

* fix linking problem when building WITH_BF_PLAYER=True
------------------------------------------------------------------------
r19161 | theeth | 2009-03-01 16:03:45 +0100 (Sun, 01 Mar 2009) | 1 line

Limit cascading rotations (rotation on each child of a chain) to Individual Center mode, as I thought I had done at first. :|
------------------------------------------------------------------------
r19147 | ben2610 | 2009-02-28 23:25:23 +0100 (Sat, 28 Feb 2009) | 1 line

BGE patch #18309 commited: Add an addObject() method to KX_Scene.
------------------------------------------------------------------------
r19146 | ben2610 | 2009-02-28 22:44:24 +0100 (Sat, 28 Feb 2009) | 1 line

BGE patch #18181 commited: Fixing some blenderplayer arguments (-c, -w, -f).
------------------------------------------------------------------------
r19145 | ben2610 | 2009-02-28 22:37:49 +0100 (Sat, 28 Feb 2009) | 1 line

MSVC9 project file: add ffmpeg avdevice lib to linker for the blenderplayer.
------------------------------------------------------------------------
r19144 | ben2610 | 2009-02-28 22:00:27 +0100 (Sat, 28 Feb 2009) | 1 line

BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.
------------------------------------------------------------------------
r19137 | campbellbarton | 2009-02-28 10:25:42 +0100 (Sat, 28 Feb 2009) | 3 lines

* blender doesn't need the -w anymore to start in a window
* NULL can be used instead of () args for calling python functions from C.

------------------------------------------------------------------------
r19135 | campbellbarton | 2009-02-28 00:53:09 +0100 (Sat, 28 Feb 2009) | 4 lines

BGE Python API
* Scene's and GameObjects can now be printed (raised an exception)
* Added GameLogic.getSceneList()

------------------------------------------------------------------------
r19133 | campbellbarton | 2009-02-27 19:49:25 +0100 (Fri, 27 Feb 2009) | 2 lines

blender.desktop file from Rudolf Kastl

------------------------------------------------------------------------
r19130 | jesterking | 2009-02-27 01:12:11 +0100 (Fri, 27 Feb 2009) | 2 lines

[Patch #9049] Added improved config.guess script
   (by GSR)
------------------------------------------------------------------------
r19129 | jesterking | 2009-02-27 01:08:16 +0100 (Fri, 27 Feb 2009) | 2 lines

[18327] Fix crash when activating nodes
   - faulty linking and header file lead to crashing whenever nodes were used.
------------------------------------------------------------------------
r19128 | campbellbarton | 2009-02-26 13:43:24 +0100 (Thu, 26 Feb 2009) | 2 lines

build blenderplayer without opennl and decimation

------------------------------------------------------------------------
r19127 | campbellbarton | 2009-02-26 10:14:10 +0100 (Thu, 26 Feb 2009) | 2 lines

better remove t1_generate_luts.c rather then in scons.

------------------------------------------------------------------------
r19126 | campbellbarton | 2009-02-26 10:04:06 +0100 (Thu, 26 Feb 2009) | 7 lines

Py BGE API
Python dir(ob) for game types now includes attributes names,
* Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible
* Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro.
* Added place holder *::Attribute array, needed for the _getattr_up macro.


------------------------------------------------------------------------
r19124 | campbellbarton | 2009-02-26 06:17:54 +0100 (Thu, 26 Feb 2009) | 2 lines

small errors in touch sensor and gameObject

------------------------------------------------------------------------
r19123 | campbellbarton | 2009-02-26 05:40:00 +0100 (Thu, 26 Feb 2009) | 3 lines

openjpeg contained a C file with a main() function, user reported it was overriding blenderplayers.
remove this file from building, other build systems should do this too.

------------------------------------------------------------------------
r19122 | campbellbarton | 2009-02-26 05:17:23 +0100 (Thu, 26 Feb 2009) | 6 lines

- Attributes for the collision sensor: propertyName, materialCheck, pulseCollisions, objectHit and objectHitList.
Removed a check in Python API touch.setProperty() for the property name on the sensor owner before allowing the name to be set - it makes no sense and isnt checked when creating the sensor.
- SCA_DelaySensor.py indent error making epydoc fail.



------------------------------------------------------------------------
r19118 | campbellbarton | 2009-02-25 18:20:41 +0100 (Wed, 25 Feb 2009) | 2 lines

forgot this file- remove Sumo from the menu if its disabled.

------------------------------------------------------------------------
r19117 | campbellbarton | 2009-02-25 18:19:30 +0100 (Wed, 25 Feb 2009) | 15 lines

New Pulse option for the collision sensor (off by default wont change existing logic)

Previously only the first collision would trigger an event (no collisions a negative event ofcourse)

With the Pulse option enabled, any change to the set of colliding objects will trigger an event.

Added this because there was no way to count how many sheep were on a platform in YoFrankie without running a script periodically.

Changes in collision are detected by comparing the number of objects colliding with the last event, as well as a hash made from the object pointers.

Also changed the touch sensors internal list of colliding objects to only contain objects that match the property or material.

- pulse isnt a great name, could change this.


------------------------------------------------------------------------
r19114 | campbellbarton | 2009-02-25 13:07:51 +0100 (Wed, 25 Feb 2009) | 4 lines

Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
Now Sumo is has been deprecated for a while we might want to remove it for 2.5.


------------------------------------------------------------------------
r19108 | campbellbarton | 2009-02-25 07:43:03 +0100 (Wed, 25 Feb 2009) | 8 lines

Minor speedups for the BGE
* Where possible use vec.setValue(x,y,z) to assign values to a vector instead of vec= MT_Vector3(x,y,z), for MT_Point and MT_Matrix types too.
* Comparing TexVerts was creating 10 MT_Vector types - instead compare as floats.
* Added SG_Spatial::SetWorldFromLocalTransform() since the local transform is use for world transform in some cases.
* removed some unneeded vars from UpdateChildCoordinates functions 
* Py API - Mouse, Ray, Radar sensors - use PyObjectFrom(vec) rather then filling the lists in each function. Use METH_NOARGS for get*() functions.


------------------------------------------------------------------------
r19107 | campbellbarton | 2009-02-25 04:26:02 +0100 (Wed, 25 Feb 2009) | 7 lines

remove warnings for the BGE
- variables that shadow vers declared earlier
- Py_Fatal print an error to the stderr
- gcc was complaining about the order of initialized vars (for classes)
- const return values for ints and bools didnt do anything.
- braces for ambiguous if  statements

------------------------------------------------------------------------
r19105 | campbellbarton | 2009-02-24 18:34:41 +0100 (Tue, 24 Feb 2009) | 2 lines

building the game engine without SDL works again

------------------------------------------------------------------------
r19103 | campbellbarton | 2009-02-24 13:38:56 +0100 (Tue, 24 Feb 2009) | 6 lines

Making KX_GameObject names read only.
This was committed in revision 2832 but never accounted for existing object name hashes which existed since revision 2.

Its possible to update the names elsewhere but unlikely anyone ever used this successfully so removing.


------------------------------------------------------------------------
r19100 | campbellbarton | 2009-02-24 10:49:28 +0100 (Tue, 24 Feb 2009) | 2 lines

fix for segfault when the replace mesh actuator references a mesh that has no object in the current scene.

------------------------------------------------------------------------
r19099 | campbellbarton | 2009-02-24 06:50:45 +0100 (Tue, 24 Feb 2009) | 11 lines

BGE Py API
* Made GameLogic.addActiveActuator(actu, bool) to raise an error if the actuator is not in the list. Before it would allow any value as the actuator and fail silently (makes debugging scripts more difficult).

* Allow the actuator to be a string which is convenient if you dont want to change the settings of the actuator.
* Added activate/deactivate functions to the controller, this is more logical since the GameLogic.addActiveActuator() function is running through the controller anyway.

GameLogic.addActiveActuator(controller.getActuator("SomeAct"), True)
...can be replaced with...
controller.activate("SomeAct")


------------------------------------------------------------------------
r19098 | campbellbarton | 2009-02-24 04:29:31 +0100 (Tue, 24 Feb 2009) | 2 lines

compile scripts when converting controllers to give more predictable performance and print syntax errors early on rather then when the script is first executed.

------------------------------------------------------------------------
r19090 | campbellbarton | 2009-02-23 13:35:16 +0100 (Mon, 23 Feb 2009) | 4 lines

[#18291] Viewing muliple object UV's in the UV/Image editor
patch from﻿ Chris and Guillermo S. Romero.


------------------------------------------------------------------------
r19089 | campbellbarton | 2009-02-23 13:17:34 +0100 (Mon, 23 Feb 2009) | 3 lines

[#18323] VRML import will not import colors if pervertexcolors set (comparison reversed)
thanks to ﻿Ezra Peisach for fixing.

------------------------------------------------------------------------
r19088 | campbellbarton | 2009-02-23 07:41:10 +0100 (Mon, 23 Feb 2009) | 8 lines

BGE Python API
* fixed segfaults in CListValue.index(val) and CListValue.count(val) when the pyTypes could not be converted into a CValue.
* added scene.objects to replace scene.getObjectList()
* added function names to PyArg_ParseTuple() so errors will include the function names 
* removed cases of PyArg_ParseTuple(args,"O",&pyobj) where METH_O ensures a single argument.
* Made PyObjectFrom use ugly python api rather then Py_BuildValue(), approx %40 speedup for functions that return Python vector and matrix types like ob.orientation.


------------------------------------------------------------------------
r19085 | jesterking | 2009-02-22 21:44:36 +0100 (Sun, 22 Feb 2009) | 3 lines

SCons
* I accidently broke the scons bit by chopping the node libs into pieces. I forgot that trunk hasn't had the nice scons cleanout I did in Blender 2.5 branch. Now everything should compile again.
  It took a while because I tried to quickly do the same cleanup, but src/ is just not cooperating, neither is stock mingw (no @commands.txt tempfilemunge goodies)
------------------------------------------------------------------------
r19082 | jesterking | 2009-02-22 16:02:23 +0100 (Sun, 22 Feb 2009) | 3 lines

SCons

* chop nodes library into smaller parts to have scons/mingw not puke over long command-lines (the texture nodes pushed the limits).
------------------------------------------------------------------------
r19081 | campbellbarton | 2009-02-22 11:22:49 +0100 (Sun, 22 Feb 2009) | 6 lines

BGE Py API
print filename:line with ShowDeprecationWarning().
Typo in scripttemplate_gamelogic.py
removed 2 unneeded typedefs


------------------------------------------------------------------------
r19072 | campbellbarton | 2009-02-21 13:43:24 +0100 (Sat, 21 Feb 2009) | 5 lines

* removed typedefs that were not used (from anonymous enums and structs)
* Missed some cases of using a 'char *' as an attribute
* replace BGE's Py_Return macro with Pythons Py_RETURN_NONE
* other minor warnings removed

------------------------------------------------------------------------
r19071 | jaguarandi | 2009-02-21 13:15:57 +0100 (Sat, 21 Feb 2009) | 11 lines

[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers

particleInstanceModifier_applyModifier uses getVertCo,which is not implemented by ccgDM.

getVertCo was used to simply perform a min/max, so it was fixed to use the apropriate min/max
		dm->getMinMax(dm, min_r, max_r);


Maybe the fact ccgDM doesn't implements getVertCo/getVertNo is a bug, since it implements every
other DM function and its strange those are left out.

------------------------------------------------------------------------
r19067 | campbellbarton | 2009-02-21 05:42:46 +0100 (Sat, 21 Feb 2009) | 6 lines

[#18058] Black dots appear when blender renders with multi-thread and material nodes
Without thread locking the function that allocates new threads, black dots appear in renders.

This wont affect composite nodes,
Ton/Brecht - this is possibly too many lock/unlocks but I timed the render from the bug report and it didn't make a noticeable difference.

------------------------------------------------------------------------
r19065 | campbellbarton | 2009-02-21 04:02:39 +0100 (Sat, 21 Feb 2009) | 2 lines

bugfix [#17941] Attempting to change path of audio to relative fails.

------------------------------------------------------------------------
r19046 | ben2610 | 2009-02-20 00:15:27 +0100 (Fri, 20 Feb 2009) | 1 line

MSVC9 project files: reactivate VideoTexture module in BGE; it that was disabled for some reason.
------------------------------------------------------------------------
r19045 | ben2610 | 2009-02-20 00:13:41 +0100 (Fri, 20 Feb 2009) | 1 line

BGE API Cleanup: distinction between array and list of values in KX_PYATTRIBUTE macros. Fix compilation problem under Windows with strcasecmp: define it as stricmp
------------------------------------------------------------------------
r19039 | campbellbarton | 2009-02-19 14:42:07 +0100 (Thu, 19 Feb 2009) | 7 lines

BGE Python API
Use 'const char *' rather then the C++ 'STR_String' type for the attribute identifier of python attributes.

Each attribute and method access from python was allocating and freeing the string.
A simple test with getting an attribute a loop shows this speeds up attribute lookups a bit over 2x.


------------------------------------------------------------------------
r19038 | campbellbarton | 2009-02-19 11:34:51 +0100 (Thu, 19 Feb 2009) | 3 lines

"object" and "objectLastCreated" attribute for actuators, deprecates getObject/setObject() & getLastCreatedObject()
also removed some warnings

------------------------------------------------------------------------
r19036 | campbellbarton | 2009-02-19 08:01:49 +0100 (Thu, 19 Feb 2009) | 6 lines

Accept negative indices's for ListValues
  scene.getObjectList()[-1] works like a python sequence.

removed some STR_String creation that was only used to do comparisons, in a simple expressions benchmark this made logic use 4% less overall.


------------------------------------------------------------------------
r19026 | campbellbarton | 2009-02-18 06:49:51 +0100 (Wed, 18 Feb 2009) | 2 lines

more uninitialized variables and auto-complete could copy a string over its self.

------------------------------------------------------------------------
r19025 | campbellbarton | 2009-02-18 05:43:12 +0100 (Wed, 18 Feb 2009) | 2 lines

uninitialized variable used in mesh_foreachScreenVert__mapFunc 

------------------------------------------------------------------------
r19023 | campbellbarton | 2009-02-18 04:56:16 +0100 (Wed, 18 Feb 2009) | 2 lines

disable texture clamping while painting.

------------------------------------------------------------------------
r19022 | campbellbarton | 2009-02-18 04:13:57 +0100 (Wed, 18 Feb 2009) | 7 lines

[#18159] Path -> toggle cyclic -> toggle cyclic again == path corrupted
was not recalculating the knots when the cyclic flag was disabled so the endpoint flag was being ignored until recalculating (extrude for eg).

Also removed unneeded re-allocation of curve knots which are always reallocated by makeknots.

Fixed another bug with which recalculating knots with the Python surface api. (mixed up u/v args to makeknots(..) )

------------------------------------------------------------------------
r19007 | campbellbarton | 2009-02-17 15:41:36 +0100 (Tue, 17 Feb 2009) | 3 lines

python api bugfix,
forgot to remove the cast from short to long when making x,y aspect floats.

------------------------------------------------------------------------
r19001 | campbellbarton | 2009-02-17 05:32:49 +0100 (Tue, 17 Feb 2009) | 7 lines

fix for  [#17972] Saving/Loading Radiance HDR changes colors
removed HDR loop that loaded 8bit color channels (which was incorrect)
and added a call to IMB_rect_from_float at the end.

This also means that char buffers wont be created if they are not needed.


------------------------------------------------------------------------
r19000 | campbellbarton | 2009-02-17 05:11:20 +0100 (Tue, 17 Feb 2009) | 4 lines

[#17991] Anim rendered in BMP format won't play back
fix from Sebastian Kochman (raiq)  - [#18022]


------------------------------------------------------------------------
r18999 | campbellbarton | 2009-02-17 04:43:56 +0100 (Tue, 17 Feb 2009) | 2 lines

bugfix [#18003] Rev-17473: Scene sets doesn't work in links

------------------------------------------------------------------------
r18986 | jesterking | 2009-02-16 00:26:00 +0100 (Mon, 16 Feb 2009) | 4 lines

SCons:
* giving compileflags, cc_compileflags and cxx_compileflags to BlenderLib() now actually overrides any other setting (so there's no unclarity when ie. conflicting options are being specified in REL_CFLAGS et al). These are set after either release or debug flags, but before any *_WARN flags (so those stay maintained).
* add cxx_compileflags for GE parts on win32-vc to have better performance.
* NOTE: if platform maintainers (OSX and Linux) could check and do the same for their systems. Not vital, but probably very, very much welcomed by GE users.
------------------------------------------------------------------------
r18985 | ben2610 | 2009-02-15 20:07:27 +0100 (Sun, 15 Feb 2009) | 1 line

BGE bug #18137 fixed: When two actors collide in this blend file the blender crashes.
------------------------------------------------------------------------
r18952 | campbellbarton | 2009-02-13 07:24:15 +0100 (Fri, 13 Feb 2009) | 6 lines

[#18209] 3 VSE crash bugs with .blends (all left click and move mouse over Metastrip/Blend Mode related)

Workaround for a bug where dragging the playhead over a metastrip with blending on it could segfault blender.
Tried to figure out why the imbuf rect is not set, but for now a NULL check stops the crash.


------------------------------------------------------------------------
r18943 | campbellbarton | 2009-02-12 17:27:19 +0100 (Thu, 12 Feb 2009) | 2 lines

add some more modifier types and access to shrink wrap target object (but no other shrink wrap settings)

------------------------------------------------------------------------
r18934 | campbellbarton | 2009-02-12 02:46:38 +0100 (Thu, 12 Feb 2009) | 3 lines

According to Amir Ebrahimi, fbx vertex color is supposed to be between 0.0 and 1.0 rather then 0-255
At the moment I dont have a way to test this.

------------------------------------------------------------------------
r18921 | campbellbarton | 2009-02-11 09:16:42 +0100 (Wed, 11 Feb 2009) | 4 lines

Once a linked image was selected, from a texture there was no way to switch to a local image because the dropdown was blocked with a linked library error message.

Remove linked library checking from this image selector, this isn't quite correct since the texture could be linked too, however there is no access to the texture data (or other users) when this button is drawn.

------------------------------------------------------------------------
r18896 | campbellbarton | 2009-02-10 03:43:35 +0100 (Tue, 10 Feb 2009) | 10 lines

dpx/cineon was using the OUTPUT settings when loading DPX - white point, blackpoint, gamma, log.
Allow DPX's with different color channel types to load, even if they are unsupported.

Saving log DPX's is broken, the header will always be written with log off because dpxCreate is called before the image presets are set. However there is no access to image presets before running dpxCreate() so log data is written but the header always sets it off.
Made a fix for this but couldn't test because it seems loading log images is also broken.

Enable verbose DPX output when '-d' debug flag is used.



------------------------------------------------------------------------
r18879 | campbellbarton | 2009-02-09 05:18:30 +0100 (Mon, 09 Feb 2009) | 4 lines

- Py seq API - Added an option for seq_strip.update() to run update_changed_seq_and_deps and new_tstripdata

- Render stamp sequencer option wasn't ignoring muted strips.

------------------------------------------------------------------------
r18873 | schlaile | 2009-02-08 20:54:11 +0100 (Sun, 08 Feb 2009) | 5 lines

== Sequencer ==

Fix for the transform fix. It's getting late...


------------------------------------------------------------------------
r18872 | schlaile | 2009-02-08 20:28:12 +0100 (Sun, 08 Feb 2009) | 5 lines

== Sequencer ==

Fixed proxy scale problems in transform effect


------------------------------------------------------------------------
r18870 | schlaile | 2009-02-08 20:13:29 +0100 (Sun, 08 Feb 2009) | 6 lines

== REDCODE ==

Fixed 64bit issues. sizeof(unsigned long) = 8 on 64 bit machines, 
shame on me...


------------------------------------------------------------------------
r18865 | migius | 2009-02-08 14:01:50 +0100 (Sun, 08 Feb 2009) | 2 lines

German translation by lobsterbake@web.de from http://blendpolis.de/f/viewtopic.php?t=22069&view=next
the .mo file
------------------------------------------------------------------------
r18864 | migius | 2009-02-08 13:53:52 +0100 (Sun, 08 Feb 2009) | 1 line

German translation by lobsterbake@web.de from http://blendpolis.de/f/viewtopic.php?t=22069&view=next
------------------------------------------------------------------------
r18857 | schlaile | 2009-02-08 10:07:36 +0100 (Sun, 08 Feb 2009) | 6 lines

== REDCODE ==

* Fixed ntohl dependency (and hopefully 64bit issues)
* Video length detection fixed (tests for picture presence)


------------------------------------------------------------------------
r18854 | ben2610 | 2009-02-07 21:47:23 +0100 (Sat, 07 Feb 2009) | 1 line

Update MSVC9 project files
------------------------------------------------------------------------
r18853 | ben2610 | 2009-02-07 21:35:16 +0100 (Sat, 07 Feb 2009) | 1 line

BGE Py API cleanup: Camera Actuator.
------------------------------------------------------------------------
r18840 | blendix | 2009-02-06 20:21:24 +0100 (Fri, 06 Feb 2009) | 6 lines

Fix for bug #18228: OpenGL specular did not get the correct view
vector in perspective mode. This is default OpenGL behavior, but
by now this optimization is really insignificant. Works in both
the 3d view and game engine.


------------------------------------------------------------------------
r18838 | kakbarnf | 2009-02-06 19:09:35 +0100 (Fri, 06 Feb 2009) | 2 lines

Added Scale, fixed bugs incl. patch #18037

------------------------------------------------------------------------
r18834 | campbellbarton | 2009-02-06 17:38:53 +0100 (Fri, 06 Feb 2009) | 9 lines

[#18257] Workaround for bug in freealut 1.1.0
by Jörg Müller (nexyon) 

Since this area is not maintained, I can only say it works on my system (linux/32bit)
And nexyon assured me he checked over this patch well.
Blender using the deprecated function is not great, but nexyon's bugfix would not be available until the next version of freealut so better to work around it by using the new function.

Please test game sounds play back on win32 and Mac, in cases that it worked in the first place.

------------------------------------------------------------------------
r18831 | campbellbarton | 2009-02-06 15:03:29 +0100 (Fri, 06 Feb 2009) | 7 lines

2.4x Sequencer Python API
- add metastrips now possible
- access to speed options
- access to wipe options
- added seq.startDisp seq.endDisp seq.update()


------------------------------------------------------------------------
r18823 | kakbarnf | 2009-02-06 02:21:38 +0100 (Fri, 06 Feb 2009) | 3 lines

Patch #18015, adds "Value to Normal" node


------------------------------------------------------------------------
r18822 | kakbarnf | 2009-02-06 01:55:38 +0100 (Fri, 06 Feb 2009) | 3 lines

Added compose/decompose, fixed bugs.


------------------------------------------------------------------------
r18811 | ton | 2009-02-04 18:56:31 +0100 (Wed, 04 Feb 2009) | 8 lines

Bugfix #18251

Patch from Konrad Kleine

After read-home file (or restore factory settings) the opengl
lights have to be reset.


------------------------------------------------------------------------
r18806 | campbellbarton | 2009-02-04 07:41:48 +0100 (Wed, 04 Feb 2009) | 5 lines

Relative option for the blur node only applied when the UI updated.
This meant that changing the image size later on would still use the old size.

Set the relative blur size when executing the node too.

------------------------------------------------------------------------
r18802 | campbellbarton | 2009-02-03 13:31:40 +0100 (Tue, 03 Feb 2009) | 2 lines

Allow enter/exit editmode in background mode. (asking for trouble doing this but the checks are simple)

------------------------------------------------------------------------
r18787 | migius | 2009-02-02 01:31:46 +0100 (Mon, 02 Feb 2009) | 6 lines

patch for paths_svg2obj.py by author jms:
This patch solves some major problems of the svg script :
- reading of the inkscape svg format
- parsing of the scientific numbers
- redundant arc data in the same path for only one command "a"
- blending of curves after several files import and at the end a more correct management of the current point.
------------------------------------------------------------------------
r18759 | bdiego | 2009-01-30 22:01:18 +0100 (Fri, 30 Jan 2009) | 7 lines

Fix revision: 18690, bug #17850

The problem was that Qt convert the text to the type
STRING or UTF8, that is why Blender can't get the text,
now should be work fine.


------------------------------------------------------------------------
r18743 | campbellbarton | 2009-01-30 03:01:16 +0100 (Fri, 30 Jan 2009) | 5 lines

[#18241] Very minor bugfix and typo correction for wavefront obj exporter and importer python scripts
from ﻿Michael Judd.

Also removed .keys() for a loop in impor_obj.py since its the default dictionary iterator.

------------------------------------------------------------------------
r18715 | bjornmose | 2009-01-28 13:34:22 +0100 (Wed, 28 Jan 2009) | 5 lines

bug fix softbody wind
-compensating factor 1000 that comes from 
pdDoEffectors() since Aug 2008
-give  particles and soft body vertices the same 
polarity on force fields.
------------------------------------------------------------------------
r18705 | blendix | 2009-01-27 23:09:23 +0100 (Tue, 27 Jan 2009) | 4 lines

Fix for bug #18087: Editing of object name and modifiers did not
work in editing buttons if the object data was linked.


------------------------------------------------------------------------
r18704 | blendix | 2009-01-27 22:26:31 +0100 (Tue, 27 Jan 2009) | 4 lines

Fix for bug #18167: setting Constraint.Settings.SCRIPT checked for type
Object rather than Text so did not work when assigning a text to it.


------------------------------------------------------------------------
r18703 | blendix | 2009-01-27 22:19:19 +0100 (Tue, 27 Jan 2009) | 5 lines

Fix for bug #18183: crash when using "Bake Constraints" script. The constraint
remove function was not working correct, this code uses a pretty bad hack, did
not clean it up, but at least it should work now.


------------------------------------------------------------------------
r18702 | blendix | 2009-01-27 21:17:32 +0100 (Tue, 27 Jan 2009) | 3 lines

Fix for bug #17961: crash with material copy/past and GLSL.


------------------------------------------------------------------------
r18701 | blendix | 2009-01-27 20:59:12 +0100 (Tue, 27 Jan 2009) | 4 lines

Fix for bug #18066: made UV Unwrap > Reset same as the default UV
coordinates when creating a new layer.


------------------------------------------------------------------------
r18690 | campbellbarton | 2009-01-27 09:17:35 +0100 (Tue, 27 Jan 2009) | 4 lines

[#17850] Copying text from Eric4 to Blender crashes Blender
The crash is caused by calling XGetWindowProperty when xevent.xselection.property is zero.
Not a proper fix because clipboard can paste the data without trouble.

------------------------------------------------------------------------
r18676 | erwin | 2009-01-26 07:31:06 +0100 (Mon, 26 Jan 2009) | 1 line

let the game engine compile, if WITH_FFPEG is not defined (so we don't have video textures in that case)
------------------------------------------------------------------------
r18671 | ianwill | 2009-01-25 18:49:39 +0100 (Sun, 25 Jan 2009) | 7 lines

== Python: Space Handler Scriptlinks ==

Bugfix (patch #18216)

I made a mistake on my previous try to fix this. I fixed something, tested, decided I should move the call to run spacehandlers to a better place, but missed removing the old call (ugh). Thanks Steven Truppe (rocketmagnet) for emailing me about it and for the patch.


------------------------------------------------------------------------
r18656 | ben2610 | 2009-01-24 22:19:35 +0100 (Sat, 24 Jan 2009) | 1 line

BGE patch 18211: Bug Fix for: [#18175] error on anaglyph view of a splitted viewport.
------------------------------------------------------------------------
r18654 | jesterking | 2009-01-24 19:09:03 +0100 (Sat, 24 Jan 2009) | 3 lines

* make sure openjpeg stuff compiles and links properly.
  - since we use this only as statically linked, I took out
    some confusing #ifdefs.
------------------------------------------------------------------------
r18647 | campbellbarton | 2009-01-24 11:19:29 +0100 (Sat, 24 Jan 2009) | 2 lines

jpeg2000 commit missed the 2 most important files.

------------------------------------------------------------------------
r18638 | campbellbarton | 2009-01-23 22:08:01 +0100 (Fri, 23 Jan 2009) | 12 lines

[#18164] jpeg2000 patch, with some fixes from Peter too.

Support for jpeg2000 and writing DCI Cinema standard files.

Notes
* 12 and 16bit channel depths are converted from/to blenders float buffer.
* Grayscale/RGB with alpha supported.
* Theres an option to save color channels as YCC rather then RGB.
* Quality 100 saves lossless
* The UI is a bit weired because of the DCI standards need to be given to the encoder.


------------------------------------------------------------------------
r18626 | ben2610 | 2009-01-22 18:40:47 +0100 (Thu, 22 Jan 2009) | 1 line

BGE API cleanup: shape action actuator.
------------------------------------------------------------------------
r18607 | ianwill | 2009-01-21 16:45:31 +0100 (Wed, 21 Jan 2009) | 5 lines

== Scripts ==

- Scripts Help Browser: error parsing doc info wrapped in triple single quotes, like done in the 3ds importer. Thanks Jean-Michel (jms) for informing me about it.


------------------------------------------------------------------------
r18606 | ben2610 | 2009-01-21 14:54:53 +0100 (Wed, 21 Jan 2009) | 1 line

BGE API cleanup: action actuator.
------------------------------------------------------------------------
r18567 | theeth | 2009-01-18 23:09:29 +0100 (Sun, 18 Jan 2009) | 5 lines

Bugfix: Transform Snap

Would crash if snapping from a mesh in edit mode to a group instance including that same mesh.

Reported by UncleZeiv on IRC
------------------------------------------------------------------------
r18538 | campbellbarton | 2009-01-16 11:51:30 +0100 (Fri, 16 Jan 2009) | 2 lines

minor corrections

------------------------------------------------------------------------
r18530 | campbellbarton | 2009-01-15 23:16:29 +0100 (Thu, 15 Jan 2009) | 6 lines

have had few requests to use blender for performing background tasks
- visualizing data, rendering scenes automatically and character rendering on a server.

This example script shows how you can run blender in background mode, parse arguments from the command line to generate a simple scene and render/save it.


------------------------------------------------------------------------
r18527 | campbellbarton | 2009-01-15 19:06:06 +0100 (Thu, 15 Jan 2009) | 3 lines

blender was crashing if no argument was given after '-t'
mesh.faces.deltete(...) with an empty list no longer returns an error.

------------------------------------------------------------------------
r18510 | ben2610 | 2009-01-14 23:33:39 +0100 (Wed, 14 Jan 2009) | 1 line

BGE patch 18065: gameobj mass writeable + setmass actuator. This patch allows to change the mass of a dynamic or rigid body object during the game. Two methods are available: in a Python script by setting the mass attribute of the game object; by logic brick with the Edit Object->Dynamics->Set Mass actuator. The mass can only be set on dynamic objects and must be a positive floating point value.
------------------------------------------------------------------------
r18492 | ben2610 | 2009-01-13 23:59:18 +0100 (Tue, 13 Jan 2009) | 27 lines

BGE patch: dynamically update the coumpound parent shape when parenting to a compound object.

This patch modifies the way the setParent actuator and KX_GameObject::setParent() function
works when parenting to a compound object: the collision shape of the object being parented
is dynamically added to the coumpound shape. 
Similarly, unparenting an object from a compound object will cause the child collision shape
to be dynamically removed from the parent shape provided that is was previously added with 
setParent.

Note: * This also works if the object is parented to a child of a compound object: the
        collision shape is added to the compound shape of the top parent.
      * The collision shape is added with the transformation (position, scale and orientation)
        it had at the time of the parenting.
      * The child shape is rigidly attached to the compound shape, the transformation is not
        affected by any further change in position/scale/orientation of the child object.
      * While the child shape is added to the compound shape, the child object is removed from
        the dynamic world to avoid superposition of shapes (one for the object itself and
        one for the compound child shape). This means that collision sensors on the child
        object are disabled while the child object is parent to a compound object.
      * There is no difference when setParent is used on a non-compound object: the child
        object is automatically changed to a static ghost object to avoid bad interaction
        with the parent shape; collision sensors on the child object continue to be active
        while the object is parented.
      * The child shape dynamically added to a compound shape modifies the inertia of the
        compound object but not the mass. It participates to collision detection as any other
        "static" child shape.

------------------------------------------------------------------------
r18491 | ben2610 | 2009-01-13 23:21:04 +0100 (Tue, 13 Jan 2009) | 1 line

Bullet bug fix: bad pointer in btCompoundShape::addChildShape() - patch submited to Bullet forum. This bug fix is needed in preparation of the setparent coumpound shape patch.
------------------------------------------------------------------------
r18480 | campbellbarton | 2009-01-13 16:48:27 +0100 (Tue, 13 Jan 2009) | 2 lines

patch from Thomas Dinges, update URLs in help scripts

------------------------------------------------------------------------
r18474 | campbellbarton | 2009-01-13 06:55:48 +0100 (Tue, 13 Jan 2009) | 2 lines

fix for big in yesterdays commit, color values were not initialized

------------------------------------------------------------------------
r18464 | campbellbarton | 2009-01-12 16:58:32 +0100 (Mon, 12 Jan 2009) | 7 lines

can now add sequencer effects with the python api
also fixed crashes when incorrect args were used

cross = 13; track= 5; frame = 1 # no effect constants 
scene.sequence.new((cross, seq1, seq2), frame, track)


------------------------------------------------------------------------
r18460 | campbellbarton | 2009-01-12 05:07:06 +0100 (Mon, 12 Jan 2009) | 5 lines

[#18082] make uvcalc_follow_active_coords.py bypass the gui and accept arguments when called from another script
from Bill N (slow67)

Also made uvcalc_quad_clickproj.py and uvcalc_follow_active_coords.py add UV's if they didn't exist.

------------------------------------------------------------------------
r18451 | ianwill | 2009-01-11 17:17:41 +0100 (Sun, 11 Jan 2009) | 5 lines

== Scripts ==

Previous commit had an outdated link, just noticed reading the commit email.


------------------------------------------------------------------------
r18450 | ianwill | 2009-01-11 17:13:00 +0100 (Sun, 11 Jan 2009) | 8 lines

== Scripts ==

- Scripts Help Browser: Brendon Murphy requested and Kevin Morgan implemented a "run script" button.
- AC3D importer: option to store emis color from .ac file in mirror color in Blender (the exporter has the option to export mirror color as emis). Patch by Francesco Brisa.

Thanks for the contributions.


------------------------------------------------------------------------
r18395 | campbellbarton | 2009-01-07 12:27:17 +0100 (Wed, 07 Jan 2009) | 2 lines

don't raise exceptions on some errors unless debugging 

------------------------------------------------------------------------
r18391 | campbellbarton | 2009-01-07 04:34:12 +0100 (Wed, 07 Jan 2009) | 2 lines

confusion between Inline and externproto nodes

------------------------------------------------------------------------
r18364 | campbellbarton | 2009-01-06 13:30:28 +0100 (Tue, 06 Jan 2009) | 2 lines

Added support for EXTERNPROTO's and fixed a bug where relative Inline URL's that included a path didn't load

------------------------------------------------------------------------
r18358 | campbellbarton | 2009-01-06 09:58:45 +0100 (Tue, 06 Jan 2009) | 2 lines

string extraction wasnt working + minor changes

------------------------------------------------------------------------
r18338 | campbellbarton | 2009-01-05 11:54:26 +0100 (Mon, 05 Jan 2009) | 2 lines

left testing lines uncommitted by mistake

------------------------------------------------------------------------
r18332 | campbellbarton | 2009-01-05 04:26:18 +0100 (Mon, 05 Jan 2009) | 1 line

added static python option for mingw
------------------------------------------------------------------------
r18311 | campbellbarton | 2009-01-04 08:56:51 +0100 (Sun, 04 Jan 2009) | 5 lines

C files reference "libredcode/format.h", which only exist in extern/libredcodec/format.h, so for now adding "extern/" as an include when redcode is enabled lets it compile,
noticed there are some win32 ifdef's that don't do anything.

should be fixed properly but this at least compiles for now.

------------------------------------------------------------------------
r18291 | campbellbarton | 2009-01-03 15:02:14 +0100 (Sat, 03 Jan 2009) | 4 lines

[#18142] Blender FBX export outputs broken vertex colors when using vertex paint
from Kevin Hsu (caywen) 
use fix suggested in report

------------------------------------------------------------------------
r18271 | ben2610 | 2009-01-02 23:15:05 +0100 (Fri, 02 Jan 2009) | 1 line

BGE bug #18070 fixed: 2dFilter actuator is always pulsed.
------------------------------------------------------------------------
r18270 | ben2610 | 2009-01-02 23:09:57 +0100 (Fri, 02 Jan 2009) | 1 line

BGE API cleanup: more bricks converted to attributes.
------------------------------------------------------------------------
r18267 | ben2610 | 2009-01-02 18:43:56 +0100 (Fri, 02 Jan 2009) | 14 lines

BGE API Cleanup: update the python attribute definition framework.

* Value clamping to min/max is now supported as an option for integer, float 
  and string attribute (for string clamping=trim to max length)
* Post check function now take PyAttributeDef parameter so that more 
  generic function can be written.
* Definition of SCA_ILogicBrick::CheckProperty() function to check that
  a string attribute contains a valid property name of the parent game object.
* Definition of enum attribute vi KX_PYATTRIBUTE_ENUM... macros. 
  Enum are handled just like integer but to be totally paranoid, the sizeof()
  of the enum member is check at run time to match integer size.
* More bricks updated to use the framework.


------------------------------------------------------------------------
r18216 | campbellbarton | 2009-01-01 17:18:54 +0100 (Thu, 01 Jan 2009) | 3 lines

fix for a memory leak in NMesh (deprecated api) while looking at bug report...
[#18139] Memory Leaks while using Py_BuildValue

------------------------------------------------------------------------
r18203 | ben2610 | 2008-12-31 21:35:20 +0100 (Wed, 31 Dec 2008) | 1 line

BGE API cleanup: introduction of a generic framework to link Python attributes to logic brick class member. See KX_PYATTRIBUTE macros in PyObjectPlus.h.
------------------------------------------------------------------------
r18186 | campbellbarton | 2008-12-31 03:13:38 +0100 (Wed, 31 Dec 2008) | 2 lines

use higher precession pi

------------------------------------------------------------------------
r18177 | ben2610 | 2008-12-30 17:44:34 +0100 (Tue, 30 Dec 2008) | 1 line

BGE API cleanup: more consistent type check on set attribute (mouse and keyboard so far). Check type after name so that the user get a type error when assigning a wrong type to a built-in attribute.
------------------------------------------------------------------------
r18169 | campbellbarton | 2008-12-30 09:25:36 +0100 (Tue, 30 Dec 2008) | 2 lines

script was adding UV's rather then vertex Colors (this was correct before uv & vcol layers existed)

------------------------------------------------------------------------
r18167 | campbellbarton | 2008-12-30 06:00:19 +0100 (Tue, 30 Dec 2008) | 2 lines

mistake in previous commit, stopped CurNurbs from appending

------------------------------------------------------------------------
r18152 | ben2610 | 2008-12-29 17:36:58 +0100 (Mon, 29 Dec 2008) | 16 lines

First batch of GE API cleanup.

The principle is to replace most get/set methods of logic bricks by direct property access. 
To make porting of game code easier, the properties have usually the same type and use than
the return values/parameters of the get/set methods. 
More details on http://wiki.blender.org/index.php/GameEngineDev/Python_API_Clean_Up

Old methods are still available but will produce deprecation warnings on the console: 

"<method> is deprecated, use the <property> property instead"

You can avoid these messages by turning on the "Ignore deprecation warnings" option in Game menu.

PyDoc is updated to include the new properties and display a deprecation warning
for the get/set methods that are being deprecated.

------------------------------------------------------------------------
r18151 | ben2610 | 2008-12-29 15:26:36 +0100 (Mon, 29 Dec 2008) | 1 line

MSVC project file update for ffmpeg device lib, release build
------------------------------------------------------------------------
r18050 | campbellbarton | 2008-12-24 22:53:15 +0100 (Wed, 24 Dec 2008) | 3 lines

* disable back buffer selection drawing while projection painting (was redoing for every update while painting)
* remove unneeded return from game engines py api - ConvertPythonToGameObject

------------------------------------------------------------------------
r18046 | campbellbarton | 2008-12-24 16:46:26 +0100 (Wed, 24 Dec 2008) | 5 lines

* bpy curve api wouldn't give correct errors for bad arguments when appending nurbs.
* the radius on the curves first point was ignored. 
* mesh_edges2curves.py was giving all points a tilt of 1.0


------------------------------------------------------------------------
r18038 | campbellbarton | 2008-12-24 03:06:34 +0100 (Wed, 24 Dec 2008) | 2 lines

fix for own mistake - [#18119] Texture Paint: "clone from layer" button not drawn in buttons window

------------------------------------------------------------------------
r18023 | campbellbarton | 2008-12-23 07:47:43 +0100 (Tue, 23 Dec 2008) | 2 lines

improved PROTO support, works for many testfiles now.

------------------------------------------------------------------------
r18015 | ben2610 | 2008-12-22 17:56:14 +0100 (Mon, 22 Dec 2008) | 1 line

pose_grab_with_ik_clear(): fix bug with memory used after being freed.
------------------------------------------------------------------------
r18014 | campbellbarton | 2008-12-22 16:05:07 +0100 (Mon, 22 Dec 2008) | 2 lines

WIP - support for VRML PROTO's

------------------------------------------------------------------------
r18010 | aligorith | 2008-12-22 11:52:17 +0100 (Mon, 22 Dec 2008) | 1 line

Bugfix - Fixed crashes in Action Editor on Ctrl-L due to missing NULL checks.
------------------------------------------------------------------------
r17976 | campbellbarton | 2008-12-21 04:11:32 +0100 (Sun, 21 Dec 2008) | 2 lines

define WITH_CCGSUBSURF isnt used anymore

------------------------------------------------------------------------
r17974 | campbellbarton | 2008-12-20 18:09:45 +0100 (Sat, 20 Dec 2008) | 5 lines

Bugfix since rev 2, BLO_setversionnumber() was using sizeof(array), which gives the sizeof the pointer, not the array.
On a 64bit system I assume this would set 8 chars of a 4 char array.

Turns out this isnt such a problem since BLO_setversionnumber isn't used anymore but way as well commit.

------------------------------------------------------------------------
r17964 | campbellbarton | 2008-12-20 09:41:46 +0100 (Sat, 20 Dec 2008) | 2 lines

id prop update function was receiving a tuple when it only needed a single arg

------------------------------------------------------------------------
r17962 | campbellbarton | 2008-12-20 08:12:38 +0100 (Sat, 20 Dec 2008) | 4 lines

patch [#18110] [patch] Update blenderplayer.exe -h text
from Mitchell Stokes (moguri) 


------------------------------------------------------------------------
r17961 | ben2610 | 2008-12-19 21:35:53 +0100 (Fri, 19 Dec 2008) | 1 line

Add G_FILE_IGNORE_DEPRECATION_WARNINGS option to G.fileflags in preparation of BGE python API cleanup
------------------------------------------------------------------------
r17943 | ben2610 | 2008-12-19 10:47:50 +0100 (Fri, 19 Dec 2008) | 1 line

Add svn:eol-style property to more files in the BGE and ffmpeg.
------------------------------------------------------------------------
r17937 | campbellbarton | 2008-12-19 04:26:41 +0100 (Fri, 19 Dec 2008) | 2 lines

Typo was making actuator.getExecutePriority() crash

------------------------------------------------------------------------
r17930 | genscher | 2008-12-18 23:08:57 +0100 (Thu, 18 Dec 2008) | 1 line

Bugfix for crash with loading fluidsim files, reported by Gimble3d and nudelZ
------------------------------------------------------------------------
r17923 | ben2610 | 2008-12-18 17:15:52 +0100 (Thu, 18 Dec 2008) | 1 line

FFmpeg: disable mmx optimization for OSX i386(darwin): incompatible asm code with gcc 4.2.1
------------------------------------------------------------------------
r17914 | theeth | 2008-12-17 23:52:13 +0100 (Wed, 17 Dec 2008) | 1 line

--enable-libogg is no longer needed nor supported for ffmpeg configure
------------------------------------------------------------------------
r17913 | ben2610 | 2008-12-17 22:55:45 +0100 (Wed, 17 Dec 2008) | 1 line

FFmpeg upgrade: line ending, forgot to set eol-style property to native
------------------------------------------------------------------------
r17912 | ben2610 | 2008-12-17 21:52:39 +0100 (Wed, 17 Dec 2008) | 1 line

FFmpeg upgrade to revision 12758 (avformat version 52.13): support libavdevice for video capture in VideoTexture module (BGE). Makefile, CMake, scons updated. FFmpeg binaries will have to be rebuilt for certain OS (irix), win32 binaries already up to date. You MUST do a clean rebuild after this patch. Scons users: pay attention that the config/<os>-config.py files have changed, adapt your user-config.py in consequence
------------------------------------------------------------------------
r17901 | jesterking | 2008-12-17 06:40:40 +0100 (Wed, 17 Dec 2008) | 5 lines

* commit r17900 by Genscher was wrong.
  - Instead of defining such defines for the entire codebase in Blender.py, add
    the right checks and definitions to the places where it matters.
  - Only check+set WITH_BULLET instead of also GAMEBLENDER=1
  - NOTE: No global defines allowed in BlenderLib.
------------------------------------------------------------------------
r17900 | genscher | 2008-12-17 01:41:07 +0100 (Wed, 17 Dec 2008) | 1 line

Reverting revision 17417 which broke cloth collisions which check also in blenkernel/intern for WITH_BULLET
------------------------------------------------------------------------
r17899 | aligorith | 2008-12-16 23:57:15 +0100 (Tue, 16 Dec 2008) | 1 line

Applying scons compiling fix for windows/mingw (to get compiler warnings to show up). This has already been applied in other branches too
------------------------------------------------------------------------
r17891 | campbellbarton | 2008-12-16 13:32:10 +0100 (Tue, 16 Dec 2008) | 3 lines

Patch from Banlu Kemiyatorn
replace VecMulf(var,-1) with new VecNegf(var) function.

------------------------------------------------------------------------
r17889 | campbellbarton | 2008-12-16 12:26:55 +0100 (Tue, 16 Dec 2008) | 3 lines

fix for [bf-blender-Bug Tracker][18089] scons compiling bug
and removed unused vars

------------------------------------------------------------------------
r17883 | hos | 2008-12-15 21:53:45 +0100 (Mon, 15 Dec 2008) | 6 lines

B
Linking of blenderplayer was failing with unresolved symbols
(initVideoTexture) when building without FFMPEG. Needs
testing with SCons and Makefiles.


------------------------------------------------------------------------
r17877 | hos | 2008-12-15 18:47:57 +0100 (Mon, 15 Dec 2008) | 5 lines

Make sure that WITH_OPENEXR is defined when sources are configured
with OpenEXR in the CMake system. This is a compilation fix from
Miguel A. Figueroa Villanueva for building Debug versions of Blender
using OpenEXR (thanks!).

------------------------------------------------------------------------
r17868 | ton | 2008-12-15 09:37:39 +0100 (Mon, 15 Dec 2008) | 8 lines

bugfix #17989

Patch from Xavier Thomas.

Compositor, filter node, had shifted output when used on single-value
buffers.


------------------------------------------------------------------------
r17867 | campbellbarton | 2008-12-15 09:29:31 +0100 (Mon, 15 Dec 2008) | 2 lines

Touch/NoOverwrite options were not disabled for video.

------------------------------------------------------------------------
r17865 | khughes | 2008-12-15 06:30:09 +0100 (Mon, 15 Dec 2008) | 6 lines

Python API
----------
Bugfix #18044: missing return statements in getter for displacement modifier
caused incorrect values to be returned.


------------------------------------------------------------------------
r17860 | migius | 2008-12-14 22:26:24 +0100 (Sun, 14 Dec 2008) | 4 lines

DXF exporter, dxf-library.py updated
v1.28 - 2008.12.13 by Steeve/BlenderArtists
- bugfix for EXTMIN/EXTMAX to suit Cycas-CAD

------------------------------------------------------------------------
r17858 | migius | 2008-12-14 19:39:58 +0100 (Sun, 14 Dec 2008) | 1 line

bugfix in pickMeshRayFaceWeight() in bpymodules/BPyMesh.py
------------------------------------------------------------------------
r17850 | blendix | 2008-12-14 17:01:30 +0100 (Sun, 14 Dec 2008) | 3 lines

Change DOS line endings to UNIX for all source code files.


------------------------------------------------------------------------
r17827 | bjornmose | 2008-12-14 00:11:12 +0100 (Sun, 14 Dec 2008) | 1 line


------------------------------------------------------------------------
r17826 | bjornmose | 2008-12-14 00:04:36 +0100 (Sun, 14 Dec 2008) | 2 lines

adding hint
Building on NSIS_Installer fails when path to NSIS tools is not set
------------------------------------------------------------------------
r17821 | campbellbarton | 2008-12-13 17:11:52 +0100 (Sat, 13 Dec 2008) | 6 lines

projection paint cleanup (nothing to see here)
* BarycentricWeightsPersp2f was calling BarycentricWeights2f, and re-weighting. Changed so the re-weighting isnt needed.
* replaced tri_depth_2d with VecZDepthOrtho and VecZDepthPersp
* project_paint_occlude_ptv_clip now calls project_paint_occlude_ptv to remove duplicate code.


------------------------------------------------------------------------
r17808 | campbellbarton | 2008-12-12 19:59:17 +0100 (Fri, 12 Dec 2008) | 30 lines

Projection Painting, merge from branch

Additions/Features...
 - Painting onto multiple images at once.
 - Clone with an offset similar to the gimp, also an option to clone between UV layers, (not both offset and between layers atm)
 - Stencil layer, similar to The Gimp's quickmask.
 - Face mask mode - (painting onto only selected faces).
 - Texture brushes (so image and texture-node brushes too)
 - Seam bleed so you don't see gaps when painting over UV seams (new option set in the panit panel)
 - Occlusion (only point onto the first face under the paintbrush, can also be used for masking out parts of the model to paint onto) - (new option set in the paint panel)
 - Muti-threaded, each thread operates on its own bucket.
 - Support partial updates to speedup OpenGL texture refreshing.
 - Support tile based multiple undo's
 - Support float image buffers.
 - Backface culling (new option set in the paint panel)
 - All color blending modes - Add/Multiply.. etc.
 - Airbrush rate. (used to be broken) 
 - Improve the way paint is mixed when painting, so painting with 0.2 alpha will not accumulate above 0.2 alpha on the image as you paint.
 - Option to use normals to fade out strokes on the edge of a surface to avoid ugly edges. (same as Vertex Paints "Normal" option) 

Known Problems
 - Not directly related to painting but changes in selection flags are not updated on the final derived mesh.
 - Smear tool has some distortion when in perspective mode. 
 - While in perspective view any faces with 1 vert behind the viewpoint, will be completely ignored.
 - Painting can be initially slow while buckets are being initialized, a number of solutions exist.
 - Size 1 brushes don't work yet.
 - When painting onto large faces its still possible to get artifacts.
 - Spatial optimizations are needed to skip occluded faces and test pixel occlusion. (will look into using blenders BVH )
 

------------------------------------------------------------------------
r17797 | campbellbarton | 2008-12-12 06:46:07 +0100 (Fri, 12 Dec 2008) | 13 lines

VRML/X3D
* Improved compatibility with VRML files
* Extract strings so they dont get modified for parsing, filename URL's with {} [] dont break importing anymore.
* Cameras were rotated incorrectly
* inline files were not opened with GZip
* Animation Support - currently only loc/scale/rot (scale untested)
* Lists of image URLs now use the first image from the list since there is no support for dynamic switching.
* use imagemagick to convert GIF's so they load in linux. (WIP - could be extended, At least it should not break anything)

BPyMathutils angle2ToLength function could be simplified (pointed out by brecht)



------------------------------------------------------------------------
r17794 | ben2610 | 2008-12-12 00:02:33 +0100 (Fri, 12 Dec 2008) | 1 line

VideoTexture.ImageMirror: if the mirror is horizontal in mesh coord, take the Y axis as the up direction for the UV map. If the mirror is not perfectly vertical(horizontal), the projection of the Z(Y) axis on the mirror plane is the mirror Up direction.
------------------------------------------------------------------------
r17774 | campbellbarton | 2008-12-10 12:42:26 +0100 (Wed, 10 Dec 2008) | 3 lines

fix for [18069] open nurbs curve snaps end to centerpoint
made nurbs surface curves use the same number of points as nurbs curves.

------------------------------------------------------------------------
r17771 | campbellbarton | 2008-12-10 06:41:21 +0100 (Wed, 10 Dec 2008) | 2 lines

move the paint buttons from the image view and buttons window into one function.

------------------------------------------------------------------------
r17761 | ben2610 | 2008-12-09 15:16:10 +0100 (Tue, 09 Dec 2008) | 1 line

ImageMirror: add clip attribute to limit clipping distance of mirror rendering
------------------------------------------------------------------------
r17755 | bdiego | 2008-12-09 05:57:42 +0100 (Tue, 09 Dec 2008) | 3 lines

Fix mistake in last commit.. it's pic + 1 ;)


------------------------------------------------------------------------
r17753 | campbellbarton | 2008-12-09 05:13:23 +0100 (Tue, 09 Dec 2008) | 9 lines

patch from Mitchell Stokes
#18045] [patch] A patch that exposes the rest of the motion functions of KX_GameObject to Python.

*applyForce	=> setForce
*applyTorque	=> setTorque
*applyRotation	=> setDRot
*applyMovement	=> setDLoc


------------------------------------------------------------------------
r17752 | bdiego | 2008-12-09 05:02:18 +0100 (Tue, 09 Dec 2008) | 10 lines

Commit patch [#18057] by Dalai Felinto (dfelinto)

This implement the option of playback an animation using the
step value in the render panel (or -a -j).

Tested here and work fine, about the ffmpeg/avi bug it's my
fault, I don't think in "step + video format", so now it's
in my todo-list :)


------------------------------------------------------------------------
r17750 | ianwill | 2008-12-09 01:18:30 +0100 (Tue, 09 Dec 2008) | 15 lines

== Python Space Handlers ==

- Old feature request: now space handlers can report release events, too. For that a new space handler type was added, here's the header for it:

# SPACEHANDLER.VIEW3D.EVENT.ALL

These scripts report both "presses and releases". For release events, Blender.eventValue is zero and Blender.link == Blender.SpaceHandlers.VIEW3D_EVENT_RELEASE. Check the API_related bpy doc for more info.

- Bug fix: left mouse clicks could be reported twice.

Important: for both the feature and the fix, to make the code nicer and to let space handlers become available in more situations, I moved the check for space handlers in space.c. Now it happens before checks for grease pencil, sculpt and left/right mouse button swapping. If this causes any problem (it shouldn't), please report.

PS: Thanks to Steven Truppe, who asked for this and even sent me a patch, but to preserve compatibility with existing event space handler scripts I did things in a different way.


------------------------------------------------------------------------
r17724 | ben2610 | 2008-12-06 00:13:23 +0100 (Sat, 06 Dec 2008) | 1 line

BGE bug #17731 fixed: No sleeping Button disables dynamics of an object if it's parented+unparented
------------------------------------------------------------------------
r17715 | ben2610 | 2008-12-04 17:07:46 +0100 (Thu, 04 Dec 2008) | 89 lines

VideoTexture: new ImageMirror class for easy mirror (and portal) creation

The new class VideoTexture.ImageMirror() is available to perform
automatic mirror rendering.

Constructor:

  VideoTexture.ImageMirror(scene,observer,mirror,material)
    scene:    reference to the scene that will be rendered.
              Both observer and mirror must be part of that scene.
    observer: reference to a game object used as view point for
              mirror rendering: the scene will be rendered through
              the mirror as if the active camera was at the observer 
              location. Usually the observer is the active camera
              but you can use any game obejct.
    mirror:   reference to the mesh object holding the mirror.
    material: material ID of the mirror texture as returned by 
              VideoTexture.materialID(). The mirror is formed by 
              the polygons mapped to that material.

There are no specific methods or attributes. ImageMirror inherits 
all methods and attributes from ImageRender. You must refresh the
parent VideoTexture.Texture object regularly to update the mirror 
rendering.

Guidelines on how to create a working mirror:
- Use a texture that is specific to the mirror so that the mirror 
  rendering only appears on the mirror.
- The mirror must be planar; the algorithm works well only for planar
  or quasi planar mirror. For spherical mirror, you will get better
  results with ImageRender and a camera at the center of the mirror. 
  ImageMirror automatically computes the mirror orientation and 
  position. The mirror doesn't need to be rectangular, it can be 
  circular or take any form provided it is planar.
- The mirror up direction must be along the Z axis in local mesh
  coordinates. If the mirror is not vertical, ImageMirror will 
  compute the up direction as being the projection of the Z axis
  on the mirror plane.
- UV mapping must be set right to get correct mirror rendering:
  - make a planar projection of the mirror polygons (Unwrap or projection from view)
  - eventually rotate the projection so that UV up direction corresponds to the mesh Z axis
  - scale the projection so that the extreme points touch the border of the texture
  - flip the UV projection horizontally (scale -1 on X axis). This is needed
    because the mirror texture is rendered from the back of the mirror and
    thus is reversed from the view point of the observer. Horizontal flip 
    in the UV map restores the correct orientation.

Besides these simple rules, the mirror rendering is completely automatic. 
In particular, you don't need to allocate a camera for the rendering, 
ImageMirror creates dynamically a camera for that. The reflection is correct
even on large angles. The mirror can be a dynamic and moving object, the 
algorithm always computes the correct camera position based on observer 
relative position. You don't have to worry about mirror position in the scene: 
the algorithm automatically computes the camera frustum so that any object 
behind the mirror is not rendered.

Warnings:
- observer and mirror are references to game objects. ImageMirror keeps
  a pointer to them but does not increment the reference count. You must ensure 
  that these game objects are not deleted as long as you refresh() the ImageMirror
  object. You must release the ImageMirror object before you delete the game
  objects. To release the ImageMirror object (normally stored in GameLogic),
  just assign it to None.
- Mirror rendering is automatically skipped when the observer is behind the mirror
  but it is not disabled when the mirror is out of sight of the observer.
  You should only refresh the mirror when you know that the observer is likely to see it.
  For example, no need to refresh a car inner mirror when the player is not in the car.

Example:

  contr = GameLogic.getCurrentController()
  # object holding the mirror
  mirror = contr.getOwner()
  scene = GameLogic.getCurrentScene()
  # observer will be the active camere
  camera = scene.getObjectList()['OBCamera']
  matID = VideoTexture.materialID(mirror, 'IMmirror.png')
  GameLogic.mirror = VideoTexture.Texture(mirror, matID)
  GameLogic.mirror.source = VideoTexture.ImageMirror(scene,camera,mirror,matID)
  # to render the mirror, just call GameLogic.mirror.refresh(True) on each frame.

You can download a demo game (with a video file) here:

  http://home.scarlet.be/~tsi46445/blender/VideoTextureDemo.zip

For those who have already downloaded the demo, you can just update the blend file:

  http://home.scarlet.be/~tsi46445/blender/MirrorTextureDemo.blend

------------------------------------------------------------------------
r17688 | campbellbarton | 2008-12-03 08:51:12 +0100 (Wed, 03 Dec 2008) | 2 lines

missed saving a small change

------------------------------------------------------------------------
r17687 | campbellbarton | 2008-12-03 08:45:52 +0100 (Wed, 03 Dec 2008) | 4 lines

fix for [#18040] FBX writes incorrect relative paths. 
http://projects.blender.org/tracker/index.php?func=detail&aid=18040&group_id=9&atid=125


------------------------------------------------------------------------
r17686 | campbellbarton | 2008-12-03 07:09:07 +0100 (Wed, 03 Dec 2008) | 6 lines

Added Blender.sys.relpath(path, start='//')
similar to os.path.relpath but uses blendfile path rather then the current working directory.

Also use python exceptions rather then providing our own ones.


------------------------------------------------------------------------
r17684 | campbellbarton | 2008-12-03 03:03:51 +0100 (Wed, 03 Dec 2008) | 4 lines

added a function to resolve case insensitive paths in BPySys and an option to use it in BPyImage 
- Useful when loading files with saved in windows on a *nix system.


------------------------------------------------------------------------
r17624 | kakbarnf | 2008-11-29 17:52:06 +0100 (Sat, 29 Nov 2008) | 2 lines

Changed vector math to use library functions.

------------------------------------------------------------------------
r17585 | ben2610 | 2008-11-26 18:47:42 +0100 (Wed, 26 Nov 2008) | 105 lines

VideoTexture: new ImageRender class for Render To Texture

The new class VideoTexture.ImageRender() is available to perform
render to texture in the GE.

Constructor:

  VideoTexture.ImageRender(scene,cam)
    cam  : camera object that will be used for the render.
           It must be an inactive camera.
    scene: reference to the scene that will be rendered.
           The camera must be part of that scene.
  Returns an object that can be used as a source of a VideoTexture.Texture object

Methods: none

Attributes:

  background: 
     4-tuple representing the background color of the rendering
     as RGBA color components, each component being an integer 
     between 0 and 255. 
     Default value = [0,0,255,255] (=saturated blue)
     Note: athough the alpha component can be specified, it is not
           supported at the moment, the alpha channel of the rendered
           texture will always be 255. You can however introduce an
           alpha channel by appending a FilterBlueScreen() filter, it
           will set the alpha to 0 (transparent) on all pixels that were
           not rendered.

  capsize:
     2-tuple representing the size of the render area as [x,y] number of pixels.
     Default value = largest rectangle with power of 2 dimensions that fits in the canvas 
     You may want to reduce the render area to increase performance. For example,
     a render area of [256,128] is probably sufficient to implement a car inner mirror.
     For best performance, use power of 2 dimensions and don't set any filter: this
     allows direct transfer between the GPU frame buffer and texture memory
     without going through the host.

  alpha: 
     Boolean indicating if the render alpha channel should be copied to the texture.
     Default value: False
     Experimental, do not use.

  whole:
     Boolean indicating if the entire canvas should be used for the rendering. 
     Default value: False
     Note: There is no reason to set this attribute to True: the rendering will
           in any case be scaled down to the largest rectangle with power of 2
           dimensions before transfering to the texture.

Attributes inherited from the ImageBase class:

  image : image binary data, read-only
  size  : [x,y] size of the texture, read-only
  scale : set to True for fast scale down in case the render area dimensions are not power of 2
  flip  : set to True for vertical flip. 
  filter: set a post-processing filter on the render.

Notes:

* Aspect Ratio
For consistent results in Blender and Blenderplayer, the same aspect ratio used
by Blender to draw the camera viewport (Scene(F10)->Format tab->Size X/Size Y) 
is also used during the rendering. You can control the portion of the scene that
will be rendered by "looking through the camera": the zone inside the outer dotted 
rectangle will be rendered to the texture.
In order to reproduce the scene without X/Y distortion, you must apply the texture
on an object or portion of object that has the same aspect ratio.

* Order of rendering
The rendereing is performed when you call the refresh() method of the parent 
Texture object. This happens outside the normal frame rendering and will have no 
effect on it.
However, if you want to use ImageViewport and ImageRender at the same time, be 
sure to refresh the viewport texture before the render texture because the latter
will destroy the frame buffer that is used by the former to update the texture.

* Scene status
The meshes are not updated during the render to texture: the rendered texture
is one frame late to the rendered frame with regards to mesh deformation.

* Example:

  cont = GameLogic.getCurrentController()
  # object that receives the texture
  obj = contr.getOwner()
  scene = GameLogic.getCurrentScene()
  # camera used for the render
  tvcam = scene.getObjectList()['OBtvcam']
  # assume obj has some faces UV assigned to tv.png
  matID = VideoTexture.materialID(obj, 'IMtv.png')
  GameLogic.tv = VideoTexture.Texture(obj, matID)
  GameLogic.tv.source = VideoTexture.ImageRender(scene,tvcam)
  GameLogic.tv.source.capsize = [256,256]
  # to render the texture, just call GameLogic.tv.refresh(True) on each frame.

You can download a demo game (with a video file) here:

  http://home.scarlet.be/~tsi46445/blender/VideoTextureDemo.zip

For those who have already downloaded the demo, you can just update the blend file:

  http://home.scarlet.be/~tsi46445/blender/VideoTextureDemo.blend

------------------------------------------------------------------------
r17584 | ben2610 | 2008-11-26 18:38:54 +0100 (Wed, 26 Nov 2008) | 1 line

BGE update: helper functions for VideoTexture render to texture feature.
------------------------------------------------------------------------
r17583 | ben2610 | 2008-11-26 18:35:53 +0100 (Wed, 26 Nov 2008) | 1 line

BGE bug fix: culling algorithm didn't used the correct camera.
------------------------------------------------------------------------
r17582 | ben2610 | 2008-11-26 18:34:10 +0100 (Wed, 26 Nov 2008) | 1 line

MSVC9 project file update for TEX nodes
------------------------------------------------------------------------
r17581 | ben2610 | 2008-11-26 18:23:22 +0100 (Wed, 26 Nov 2008) | 1 line

MSVC9 project file update for blenderplayer
------------------------------------------------------------------------
r17580 | kakbarnf | 2008-11-26 14:07:24 +0100 (Wed, 26 Nov 2008) | 6 lines

2 things:

* Patch #17998
* tex_input_vec now takes 3-vector as first argument (was 4-vector).


------------------------------------------------------------------------
r17577 | broken | 2008-11-26 01:47:38 +0100 (Wed, 26 Nov 2008) | 3 lines

* Added a new Timeline menu entry: Playback -> Sync Playback to Frames/Sec. It's 
more convenient and sensible to find this feature, than over in the audio settings 
(dropping frames in playback is not just for audio!)
------------------------------------------------------------------------
r17576 | broken | 2008-11-26 00:14:00 +0100 (Wed, 26 Nov 2008) | 4 lines

* Added 'Particle System' entries as children of particle system modifiers in the 
outliner. Clicking on one activates it and takes you to the object buttons - it's a 
lot better to see what's going on than a little < 1 Part 5 > that gives very little 
indication.
------------------------------------------------------------------------
r17571 | sgefant | 2008-11-25 13:53:13 +0100 (Tue, 25 Nov 2008) | 3 lines

 * fix path to openexr on irix
 * added missing define in storage.c

------------------------------------------------------------------------
r17567 | jesterking | 2008-11-25 09:00:58 +0100 (Tue, 25 Nov 2008) | 1 line

* make sure Bullet is enabled when WITH_BF_BULLET=True
------------------------------------------------------------------------
r17557 | sgefant | 2008-11-24 15:18:01 +0100 (Mon, 24 Nov 2008) | 2 lines

forgot file in previous commit

------------------------------------------------------------------------
r17555 | sgefant | 2008-11-24 15:15:05 +0100 (Mon, 24 Nov 2008) | 16 lines

patch #8583: Add support for gcc on irix

to compile blender with gcc on IRIX, IRIX_USE_GCC needs to be set to true in
user-def.mk.

Other changes related to irix:
 * compile solid from extern/
 * don't build plugins (yet) with "make release" when using gcc (the shell
   script used assumes MIPSpro is installed)
 * use statvfs instead of statfs on irix, like done on solaris
 * use external libs from $(LCGDIR) instead of /usr/freeware
 * use glew header files from $(LCGDIR)/glew instead of the ones installed on
   the system (this applies to other platforms as well)
 * ffmpeg support currently is disabled on irix


------------------------------------------------------------------------
r17542 | theeth | 2008-11-23 16:27:53 +0100 (Sun, 23 Nov 2008) | 5 lines

[#18021] Rotating gets locked to axis after trackball rotate mode is entered

Reset transform restriction flags when switching to other transformations while running.

Also don't draw constraint if no constraint flag is on (old annoyance).
------------------------------------------------------------------------
r17528 | sirdude | 2008-11-21 18:22:17 +0100 (Fri, 21 Nov 2008) | 9 lines

This is patch [#17896] Irix Build Files
Submitted By:
Timothy Baldridge (tbaldridge)

Add's scons support for irix.

Kent


------------------------------------------------------------------------
r17520 | theeth | 2008-11-20 22:45:22 +0100 (Thu, 20 Nov 2008) | 3 lines

Crasher fix.

If vertex groups had % in them, the function making the menu string would crash (in release only).
------------------------------------------------------------------------
r17508 | campbellbarton | 2008-11-20 01:34:24 +0100 (Thu, 20 Nov 2008) | 3 lines

commit yesterday broke scaling in the sequencer (dumb mistake)
also changed 3 if's into a switch statement for selecting the interpolation.

------------------------------------------------------------------------
r17499 | campbellbarton | 2008-11-19 04:28:07 +0100 (Wed, 19 Nov 2008) | 14 lines

Split up the following imbuf functions in 2...
void bicubic_interpolation(struct ImBuf *in, struct ImBuf *out, float u, float v, int xout, int yout);
void neareast_interpolation(struct ImBuf *in, struct ImBuf *out, float u, float v, int xout, int yout);
void bilinear_interpolation(struct ImBuf *in, struct ImBuf *out, float u, float v, int xout, int yout);

Added...
void bicubic_interpolation_color(struct ImBuf *in, unsigned char *col, float *col_float, float u, float v);
void neareast_interpolation_color(struct ImBuf *in, unsigned char *col, float *col_float, float u, float v);
void bilinear_interpolation_color(struct ImBuf *in, unsigned char *col, float *col_float, float u, float v);

This is needed so for projection painting but generally useful if you want to get the interpolated color of a pixel in an image without having a destination imbuf.

While editing these I noticed the functons are a bit dodgy, they assume the input ImBuf has matching float/chr buffer to the output.

------------------------------------------------------------------------
r17497 | campbellbarton | 2008-11-19 03:07:23 +0100 (Wed, 19 Nov 2008) | 6 lines

bicubic_interpolation - dont use pow(val, 3.0f) at all, do (val*val*val) instead,
Tested overall speedup is about 5x when scaling 4096x4096 -> 4000x4000 in the sequencer.

There were some artifacts in the resulting image but double checked and the old code gives the same problems.
Added back old code with #if 0's since its a bit more readable.

------------------------------------------------------------------------
r17492 | campbellbarton | 2008-11-18 06:47:19 +0100 (Tue, 18 Nov 2008) | 4 lines

some scons command line args were not working since recent changes- 
 scons CCFLAGS="-O0 -ggdp3" 
for example would pass on the args including the "'s to scons, causing the build to fail.

------------------------------------------------------------------------
r17485 | theeth | 2008-11-17 23:13:45 +0100 (Mon, 17 Nov 2008) | 3 lines

QuatOne was so wrong is would make Hamilton cry.

Thankfully, very little code used it, the only exception being the retarget code in etch-a-ton.
------------------------------------------------------------------------
r17479 | campbellbarton | 2008-11-17 11:43:12 +0100 (Mon, 17 Nov 2008) | 2 lines

Added BF_PROFILE_LINKFLAGS, Compiling with BF_PROFILE=1 was also throwing a python error.

------------------------------------------------------------------------
r17478 | theeth | 2008-11-17 01:54:45 +0100 (Mon, 17 Nov 2008) | 3 lines

Fix compilation on OS X

Patch by dfelinto
------------------------------------------------------------------------
r17477 | migius | 2008-11-17 00:52:29 +0100 (Mon, 17 Nov 2008) | 4 lines

DXF-Importer: updated version v1.12 - 2008.11.16 by migius
 - remove try_finally: cause not supported in python <2.5
 - add Bezier curves bevel radius support (default 1.0)

------------------------------------------------------------------------
r17469 | zaghaghi | 2008-11-15 13:10:16 +0100 (Sat, 15 Nov 2008) | 1 line

17973Patch by dfelinto, and also fixed a bug in 2d-filters
------------------------------------------------------------------------
r17451 | campbellbarton | 2008-11-14 04:21:06 +0100 (Fri, 14 Nov 2008) | 4 lines

copy over pthread dll to the install dir with cross compiling, 
eventually should copy more libs but for now this makes blenderlite work 
- (used for automatic blender builds on graphicall)

------------------------------------------------------------------------
r17450 | theeth | 2008-11-14 04:13:40 +0100 (Fri, 14 Nov 2008) | 1 line

Transform Roll Fixes for editbone. Special case for rotation, we don't need to guess in those case and the result is better if we use the real rotation.
------------------------------------------------------------------------
r17448 | aligorith | 2008-11-14 03:13:10 +0100 (Fri, 14 Nov 2008) | 3 lines

Bugfix: 

Grease Pencil crashed after duplicating a screen-area, and deleting a layer from the original screen-area. The duplication code was not reassigning some pointers.
------------------------------------------------------------------------
r17447 | campbellbarton | 2008-11-14 00:12:38 +0100 (Fri, 14 Nov 2008) | 5 lines

update for compiling cross compiling win32 on linux, had a lot of trouble with makesdna, the only way I could build and link was as a 
win32 binary.
Still unable to link blender.exe
and run with wine.

------------------------------------------------------------------------
r17446 | theeth | 2008-11-13 23:35:40 +0100 (Thu, 13 Nov 2008) | 11 lines

==Armature==

Fix the roll mess in transform. Since roll is based on an automatically calculated up axis, transforming bones would mess up bone orientation. This code automatically adjusts the roll value to keep bone orientation as consistant as possible. That works all around in transform for all transformations.

Doesn't work with x-axis mirror though as that doesn't use transform elements (fixing it would be nice for later)

Most interesting is that it works with the mirror tool (obviously), so you don't have to fix all the rolls after mirroring one side of an armature.

It could be made an option if someone presents a good enough point for that, but I can't see why you'd want the previous mess instead.

NB: this also ports a utility fonction from etch-a-ton to set bone roll from an up axis.
------------------------------------------------------------------------
r17445 | theeth | 2008-11-13 22:44:32 +0100 (Thu, 13 Nov 2008) | 1 line

Normal Orientation on EditBones uses roll for Z axis.
------------------------------------------------------------------------
r17439 | kakbarnf | 2008-11-13 10:57:11 +0100 (Thu, 13 Nov 2008) | 2 lines

Removed support for nested texture trees, minor ui enhancements

------------------------------------------------------------------------
r17436 | campbellbarton | 2008-11-13 03:18:35 +0100 (Thu, 13 Nov 2008) | 4 lines

for scons on linux and other *nux systems
only install locale data if international is enabled, only install fonts if freetype is enabled.


------------------------------------------------------------------------
r17435 | campbellbarton | 2008-11-12 23:35:58 +0100 (Wed, 12 Nov 2008) | 6 lines

2 utility functions added for projection painting.
* BLI_linklist_index() - to get an items index in a  LinkList
* BLI_memarena_use_malloc() - BLI_memarena_use_calloc alredy existed but there was no way to switch back to malloc.

also added texnodes to cmake

------------------------------------------------------------------------
r17432 | elubie | 2008-11-12 22:03:42 +0100 (Wed, 12 Nov 2008) | 3 lines

== MSVC projectfiles ==
update for texture nodes

------------------------------------------------------------------------
r17431 | elubie | 2008-11-12 22:02:45 +0100 (Wed, 12 Nov 2008) | 3 lines

fix bad level call in texture nodes
BIF_preview_changed wasn't needed after all.

------------------------------------------------------------------------
r17430 | kakbarnf | 2008-11-12 21:11:54 +0100 (Wed, 12 Nov 2008) | 2 lines

Added stubs to fix linker errors in texnodes

------------------------------------------------------------------------
r17427 | ton | 2008-11-12 20:14:46 +0100 (Wed, 12 Nov 2008) | 3 lines

Bah, two more files!


------------------------------------------------------------------------
r17426 | ton | 2008-11-12 20:10:41 +0100 (Wed, 12 Nov 2008) | 3 lines

Added new files for previous commit...


------------------------------------------------------------------------
r17425 | ton | 2008-11-12 20:03:50 +0100 (Wed, 12 Nov 2008) | 32 lines

Patch #7897 Texture Nodes!

Robin (Frrr) Allen did a decent job on this, so we can also welcome him
as a member in the svn committers team to maintain it!

I do the first commit with some minor fixes:
- get Makefiles work
- fix rounding issue with tiles on unit faces
- removed UI includes from tex node

A nice doc in wiki is here:
http://wiki.blender.org/index.php/User:Frr/TexnodeManual

On the todo for Robin is:
- When using one or more Texture-input nodes, you cannot edit them by activating
  (as works now for Material nodes).
- The new "output node" option fails on the default case, when only one
  output node is active. It then shows often a blank menu. Will get fixed asap.
- When using a NodeTree-Texture as input node, the menu for 'active output'
  should not show. NodeTree should ignore other nodetrees to keep things sane
  for now.
- On a future todo is proper usage of "Dxt" and "Dyt" texture vectors for
  superior antialising of checkers/bricks.

General note; I know people are dying to get a full integrated shader system
with nodes. In theory we could merge this with Material Nodetrees... but I 
rather wait for a solid and very well thought out design proposal for this, 
also including design ideas for unifying with a shader language (GPU, CPU).
For the time being this is a nice extension of current textures. :)



------------------------------------------------------------------------
r17424 | jesterking | 2008-11-12 17:04:14 +0100 (Wed, 12 Nov 2008) | 1 line

set default path to the version that creates a working binary of Blender, when building with mingw. Now there is no need to do extra copying/config changing
------------------------------------------------------------------------
r17420 | jesterking | 2008-11-12 08:48:53 +0100 (Wed, 12 Nov 2008) | 1 line

Change the LCG_DIR usage to BF_name_LIBPATH where possible. FFMPEG can't be done like that yet, needs some extra thought to handle differences between vc and mingw setup
------------------------------------------------------------------------
r17417 | jesterking | 2008-11-11 23:48:47 +0100 (Tue, 11 Nov 2008) | 1 line

Remove BGE defines from highest level and define only there where needed. This prevents scons from doing complete rebuilds when toggling BGE related options.
------------------------------------------------------------------------
r17416 | jesterking | 2008-11-11 22:37:53 +0100 (Tue, 11 Nov 2008) | 1 line

previous commits showed that the absolute path problem was even deeper. This should fix yet again some of the problems with giving them to BF_BUILDDIR
------------------------------------------------------------------------
r17415 | jesterking | 2008-11-11 21:47:45 +0100 (Tue, 11 Nov 2008) | 1 line

spaces -> tabs
------------------------------------------------------------------------
r17414 | jesterking | 2008-11-11 21:46:46 +0100 (Tue, 11 Nov 2008) | 1 line

fix for another place where absolute paths for BF_BUILDDIR where a problem (generating results in the wrong place)
------------------------------------------------------------------------
r17413 | jesterking | 2008-11-11 21:26:53 +0100 (Tue, 11 Nov 2008) | 1 line

fix problem with giving absolute paths to BF_BUILDDIR
------------------------------------------------------------------------
r17412 | jesterking | 2008-11-11 21:01:45 +0100 (Tue, 11 Nov 2008) | 1 line

Fix typo that prevented CC_WARN from being added to build commands
------------------------------------------------------------------------
r17409 | ben2610 | 2008-11-11 17:48:34 +0100 (Tue, 11 Nov 2008) | 1 line

MSVC90 project files: Tune projects build order to allow error-free build from clean state.
------------------------------------------------------------------------
r17406 | campbellbarton | 2008-11-11 15:14:22 +0100 (Tue, 11 Nov 2008) | 3 lines

Adjusted scons files so disabling quicktime, python and sdl also removes their includes when building.
writefile.c had usless include.

------------------------------------------------------------------------
r17402 | campbellbarton | 2008-11-11 09:21:09 +0100 (Tue, 11 Nov 2008) | 2 lines

attempt to make executing an external command work with python 2.4 & 2.5, it seems that only py 2.6 wanted list args for subprocess.Popen

------------------------------------------------------------------------
r17401 | campbellbarton | 2008-11-11 06:03:03 +0100 (Tue, 11 Nov 2008) | 2 lines

fix for [#17959] NURBS Circle: pie-shaped deformation, sticking to object origin

------------------------------------------------------------------------
r17400 | campbellbarton | 2008-11-11 05:42:15 +0100 (Tue, 11 Nov 2008) | 2 lines

removed some warnings

------------------------------------------------------------------------
r17398 | theeth | 2008-11-11 04:12:31 +0100 (Tue, 11 Nov 2008) | 1 line

Median center didn't use TD_NOCENTER properly, making it work incorrectly with hinge bones (and with chain rotations).
------------------------------------------------------------------------
r17395 | campbellbarton | 2008-11-11 02:50:26 +0100 (Tue, 11 Nov 2008) | 4 lines

was wrong in last commit, was running pow() - (as well as other float math) 512 times per pixel.
reduced to 32.


------------------------------------------------------------------------
r17394 | campbellbarton | 2008-11-11 02:13:05 +0100 (Tue, 11 Nov 2008) | 2 lines

bicubic_interpolation function was re-calculating a variable it didnt need to - (was calling 32 pow()'s per pixel, now only 8 - approx 3-4x speedup on my system).

------------------------------------------------------------------------
r17393 | ben2610 | 2008-11-10 23:17:40 +0100 (Mon, 10 Nov 2008) | 1 line

VideoTexture: support VideoTexture in blenderplayer
------------------------------------------------------------------------
r17392 | theeth | 2008-11-10 22:23:54 +0100 (Mon, 10 Nov 2008) | 7 lines

Chain rotations for objects and pose bones (for teamto)

This commit adds an exception for rotations (standard rotation and tracball) to still work on children of transformed objects and bones in an expected fashion. That is, you can select a chain of finger bones and rotate to flex them all at once.

Notes:
[1] This could be expended to other transformations if needed.
[2] Center of transformation is determined using the same principle as hinge bones (transformed children aren't taken into account)
------------------------------------------------------------------------
r17391 | ben2610 | 2008-11-10 22:22:22 +0100 (Mon, 10 Nov 2008) | 1 line

Add MSVC90 project files - part 3. Extern and Intern projects are merged in projectfiles_vc9\blender\blender.sln solution, you just need to open that solution to compile everything with VS2008.
------------------------------------------------------------------------
r17389 | ben2610 | 2008-11-10 17:09:25 +0100 (Mon, 10 Nov 2008) | 1 line

Add MSVC90 project files - part 2.
------------------------------------------------------------------------
r17388 | ben2610 | 2008-11-10 16:36:58 +0100 (Mon, 10 Nov 2008) | 1 line

Add MSVC90 project files - part 1.
------------------------------------------------------------------------
r17387 | campbellbarton | 2008-11-10 14:36:44 +0100 (Mon, 10 Nov 2008) | 2 lines

missing comma made scons arg BF_CXX_LIB_STATIC not work

------------------------------------------------------------------------
r17386 | ton | 2008-11-10 11:05:09 +0100 (Mon, 10 Nov 2008) | 5 lines

Bugfix #17965

Most Surface (NURBS) tools in buttons didn't add undo pushes.


------------------------------------------------------------------------
r17385 | broken | 2008-11-10 06:42:07 +0100 (Mon, 10 Nov 2008) | 4 lines

Patch #17971 by Nathan Vegdahl:
Makes colorband GUI display proper color interpolation

(for real this time)
------------------------------------------------------------------------
r17384 | broken | 2008-11-10 06:06:09 +0100 (Mon, 10 Nov 2008) | 1 line

* reverting last commit, forgot it was affected by an old patch
------------------------------------------------------------------------
r17383 | broken | 2008-11-10 05:40:09 +0100 (Mon, 10 Nov 2008) | 7 lines

Patch #17971 by Nathan Vegdahl:
Makes colorband GUI display proper color interpolation

This updates the colorband display to show the correct interpolation 
within the editable gradient itself.

thanks!
------------------------------------------------------------------------
r17381 | ben2610 | 2008-11-09 22:42:30 +0100 (Sun, 09 Nov 2008) | 1 line

VideoTexture: Preserve alpha channel if present in video, images and sequences. Better detection of end of video.
------------------------------------------------------------------------
r17380 | jesterking | 2008-11-09 22:00:49 +0100 (Sun, 09 Nov 2008) | 5 lines

* add Brecht's small patch to make values to BF_QUICK and BF_QUICKDEBUG function as partial search entries.
  - this means you can do BF_QUICK=bf_ and it would build all libs that contain bf_ in their name. This makes
    it easier to use, since you don't have to remember the exact names

* Update documentation to mention scons-local.
------------------------------------------------------------------------
r17366 | jesterking | 2008-11-08 14:39:37 +0100 (Sat, 08 Nov 2008) | 1 line

* typo fix
------------------------------------------------------------------------
r17365 | jesterking | 2008-11-08 14:38:21 +0100 (Sat, 08 Nov 2008) | 2 lines

=== BPy API ===
* add two optional arguments to control click step and precision of Number buttons.
------------------------------------------------------------------------
r17364 | jesterking | 2008-11-08 13:01:55 +0100 (Sat, 08 Nov 2008) | 1 line

* use msvc proposed names when building on win32
------------------------------------------------------------------------
r17362 | ben2610 | 2008-11-07 21:13:07 +0100 (Fri, 07 Nov 2008) | 1 line

VideoTexture: forgot to commit MSVC project file, strange that nobody noticed...
------------------------------------------------------------------------
r17361 | jesterking | 2008-11-07 20:49:55 +0100 (Fri, 07 Nov 2008) | 1 line

* fix typo found by brecht
------------------------------------------------------------------------
r17357 | campbellbarton | 2008-11-07 16:16:30 +0100 (Fri, 07 Nov 2008) | 7 lines

[#17958] Windows path fix for image_edit.py script.
Modified to work in linux too,  on my system subprocess.Popen(appstring) only works when appstring is a list.

Blenders __import__ didnt support keywords like pythons causing the subprocess module to fail for me.
added keywords to blenders c/api import to match pythons.


------------------------------------------------------------------------
r17356 | ben2610 | 2008-11-07 11:54:32 +0100 (Fri, 07 Nov 2008) | 17 lines

VideoTexture: VideoTexture.materialID() can now take texture image name.

You can specify a image name (starting with 'IM') instead of a material
name in VideoTexture.materialID() and return the material ID matching
this texture.
The advantage of this method is that is works with blender material
and UV texture. In case of UV texture, it grabs the internal material
corresponding to the faces that are assigned to this texture. In case
of blender material, it grabs the material that has an image texture
matching the name as first texture channel.
In both cases, the texture id used in VideoTexture.Texture() should be 0.

Ex:

matID = VideoTexture.materialID(obj,'IMvideo.png')
GameLogic.video = VideoTexture.Texture(obj, matID, 0)

------------------------------------------------------------------------
r17351 | ben2610 | 2008-11-07 00:52:47 +0100 (Fri, 07 Nov 2008) | 1 line

VideoTexture: comment was misplaced after previous commit.
------------------------------------------------------------------------
r17350 | bdiego | 2008-11-06 19:49:53 +0100 (Thu, 06 Nov 2008) | 15 lines

Bugfix #17524

 The problem is that the audio_fill_seq function try to load the hd file
if the sequence don't have it, but it join the two string (directory path +
file path) without the / (Linux... \ Windows), so the result is a wrong path.

 I change the the strncpy and strncat function for a BLI_join_dirfile (like
the reload_sequence_new_file) and all work fine now.

 Also note that the "them go" that Luca report is (or what happen here) the
ctrl+z function, and now both case work fine here.

(interesting.. date from Feb 05.. 2006 ;)


------------------------------------------------------------------------
r17349 | ben2610 | 2008-11-06 17:01:17 +0100 (Thu, 06 Nov 2008) | 1 line

VideoTexture: fix compile error when FFmpeg is disabled.
------------------------------------------------------------------------
r17342 | jesterking | 2008-11-06 01:28:26 +0100 (Thu, 06 Nov 2008) | 4 lines

* While making changes to btools.py and Blender.py, I completely forgot about the name changes.
  Here they are.

  Platform managers, double check that the compiler flag options still work.
------------------------------------------------------------------------
r17340 | jesterking | 2008-11-06 00:23:04 +0100 (Thu, 06 Nov 2008) | 1 line

Change remaining Copy() to Clone()
------------------------------------------------------------------------
r17338 | ben2610 | 2008-11-05 22:53:22 +0100 (Wed, 05 Nov 2008) | 54 lines

VideoTexture: new VideoTexture.ImageFFmpeg to load and reload images.

The FFmpeg library allows to load image files. Although it is possible
to load images using the VideoFFmpeg class, it is not very efficient.
The new class VideoTexture.ImageFFmpeg is dedicated to image management.

Constructor:
-----------
VideoTexture.ImageFFmpeg('image_file_name')
  Opens the file but does not load the texture yet.
  The file name can also be a network address. It can also be a video
  file name; in that case only the first image is loaded.

Methods:
-------
refresh(True)
  Loads the image to texture. 
  You just need to call it once, the file is automatically closed after
  that and calling refresh() again will have no effect.

reload('new_file_name')
  Reloads the image (if new_file_name is omitted) or loads a new image.
  The file is opened but the texture is not updated yet, you need
  to call refresh() once to load the texture.

Attributes:
----------
status
  returns the image status:
    2 : file opened, texture not loaded
    3 : file closed, texture loaded

image
  returns the image data as a string of RGBA pixel

size
  returns the image size [x,y]

scale
  get/set the scale flag. 
  If the scale flag is False, the image is rescale to texture format
  using gluScaleImage() function, slow but good quality.
  If the scale flag is True, the image is rescaled using a fast but
  less accurate algorithm.

flip
  get/set Y-flip flag.
  Set to True by default as FFmpeg always provides the image upside down

filter
  get/set filter(s) on the image.

Example:

------------------------------------------------------------------------
r17336 | ben2610 | 2008-11-05 18:38:31 +0100 (Wed, 05 Nov 2008) | 1 line

VideoTexture: fixing a crash when loading an image as a video file - yes it works, provided that you don't set repeat and also no need to refresh all the time.
------------------------------------------------------------------------
r17333 | ben2610 | 2008-11-05 14:22:10 +0100 (Wed, 05 Nov 2008) | 1 line

VideoTexture: Add support for GLSL. FIx small printout bug in Exception printout
------------------------------------------------------------------------
r17332 | migius | 2008-11-05 12:42:34 +0100 (Wed, 05 Nov 2008) | 1 line

uniform end-of-line format and set svn:eol-style property to "native" for all scripts
------------------------------------------------------------------------
r17330 | broken | 2008-11-05 05:48:08 +0100 (Wed, 05 Nov 2008) | 1 line

* Updated the 'Consolidate into one image' script to support alpha
------------------------------------------------------------------------
r17328 | jesterking | 2008-11-05 00:46:01 +0100 (Wed, 05 Nov 2008) | 2 lines

* doing some warning cleaning
* accidently left priority tests around.
------------------------------------------------------------------------
r17327 | jesterking | 2008-11-05 00:04:15 +0100 (Wed, 05 Nov 2008) | 4 lines

* enable openjpeg building for win32/msvc
* add support for building redcode on win32/msvc, but disabled for now, as there are linking problems
  - I cleaned the redcode sconscript - the copying of headers within the source tree is not a clean solution
    This needs to be fixed later on. For now, lets use redcode from extern/ until a better way is found.
------------------------------------------------------------------------
r17326 | jesterking | 2008-11-04 23:48:46 +0100 (Tue, 04 Nov 2008) | 1 line

* missing files from previous commit
------------------------------------------------------------------------
r17325 | jesterking | 2008-11-04 23:46:43 +0100 (Tue, 04 Nov 2008) | 5 lines

=== SCons ===

* BlenderLib now expects lists for all compiler related flags (release, profile, debug, warn).
  I changed the default config files, but do double-check your user-config files, esp. if you did
  a full copy of an old default platform config
------------------------------------------------------------------------
r17324 | broken | 2008-11-04 23:16:57 +0100 (Tue, 04 Nov 2008) | 4 lines

* Changed the constant colorband interpolation to work left->right,
 rather than right -> left. This is how it works now:

http://mke3.net/blender/etc/constant_ss.png
------------------------------------------------------------------------
r17323 | jesterking | 2008-11-04 22:14:54 +0100 (Tue, 04 Nov 2008) | 1 line

* remove redundant comment
------------------------------------------------------------------------
r17321 | ben2610 | 2008-11-04 15:40:45 +0100 (Tue, 04 Nov 2008) | 1 line

VideoTexture: add svn:eol-style property on source file.
------------------------------------------------------------------------
r17320 | ben2610 | 2008-11-04 13:04:59 +0100 (Tue, 04 Nov 2008) | 1 line

VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter.
------------------------------------------------------------------------
r17317 | ben2610 | 2008-11-04 10:21:27 +0100 (Tue, 04 Nov 2008) | 1 line

VideoTexture: Bug report #17946: add (char*) casting to fix compile error with Python get-set method and module object.
------------------------------------------------------------------------
r17314 | jaguarandi | 2008-11-04 02:05:44 +0100 (Tue, 04 Nov 2008) | 2 lines

Simple warning fixes

------------------------------------------------------------------------
r17313 | broken | 2008-11-04 01:15:27 +0100 (Tue, 04 Nov 2008) | 4 lines

Added a new interpolation type for colorbands: Constant
This can be useful for toon shading etc.

Example: http://mke3.net/blender/etc/constant_ss.png
------------------------------------------------------------------------
r17312 | sirdude | 2008-11-04 00:35:41 +0100 (Tue, 04 Nov 2008) | 4 lines

Add's GSR's INT64_C fix and removes dos line endings...

Kent

------------------------------------------------------------------------
r17311 | jaguarandi | 2008-11-04 00:17:36 +0100 (Tue, 04 Nov 2008) | 2 lines

Added Lattice vgroup support to shrinkwrap and simple deform modifier.

------------------------------------------------------------------------
r17308 | theeth | 2008-11-03 14:33:11 +0100 (Mon, 03 Nov 2008) | 1 line

Moving silence_log_ffmpeg to imbuf (it fits better there and fixes the link error in blenderplayer)
------------------------------------------------------------------------
r17307 | ton | 2008-11-03 14:00:39 +0100 (Mon, 03 Nov 2008) | 6 lines

Bugfix #17921

ALT+select face-loop on mesh with hidden faces ignored the hidden part.
Also caused errors on deleting faces that way.


------------------------------------------------------------------------
r17300 | ben2610 | 2008-11-02 19:41:24 +0100 (Sun, 02 Nov 2008) | 1 line

VideoTexture: fix compile error with GLint in ImageViewport under osx, part 2
------------------------------------------------------------------------
r17299 | ben2610 | 2008-11-02 19:31:54 +0100 (Sun, 02 Nov 2008) | 1 line

VideoTexture: fix compile error with GLint in ImageViewport under osx.
------------------------------------------------------------------------
r17298 | ton | 2008-11-02 19:12:45 +0100 (Sun, 02 Nov 2008) | 6 lines

Makefile fixes for compiling with new videotexture code.

Also: buttons for logic, controllers, didn't line up correct when 
multiple objects were selected (too little space)


------------------------------------------------------------------------
r17297 | ton | 2008-11-02 19:05:11 +0100 (Sun, 02 Nov 2008) | 8 lines

Bugfix #17942

Python dict error: when trying to access a Bone via a key, and the key
was not found, a wrong error message got printed. Fix provided by
reporter Gregor Riepl. Thanks!



------------------------------------------------------------------------
r17296 | ben2610 | 2008-11-02 19:02:31 +0100 (Sun, 02 Nov 2008) | 1 line

VideoTexture: use PyObjectPlus.h instead of Python.h for compatibility with Python2.3
------------------------------------------------------------------------
r17294 | theeth | 2008-11-02 17:28:34 +0100 (Sun, 02 Nov 2008) | 3 lines

Quiet ffmpeg log by default. No more ugly stream info in console.

Starting Blender with -d turns info logging back on.
------------------------------------------------------------------------
r17293 | eof | 2008-11-02 16:16:17 +0100 (Sun, 02 Nov 2008) | 3 lines

Disable completely OpenAL if WITH_OPENAL is OFF


------------------------------------------------------------------------
r17292 | eof | 2008-11-02 15:54:44 +0100 (Sun, 02 Nov 2008) | 3 lines

Added bf_videotex to unix libraries (linking error)


------------------------------------------------------------------------
r17291 | theeth | 2008-11-02 15:36:32 +0100 (Sun, 02 Nov 2008) | 1 line

Include path for numpy no longer needed.
------------------------------------------------------------------------
r17290 | ton | 2008-11-02 15:03:47 +0100 (Sun, 02 Nov 2008) | 7 lines

Bugfix #17902

Black dots appearing in mirroring 3d beveled curves, when using orco
texture coords. Appeared there was memory read just outside of the 
allocation.


------------------------------------------------------------------------
r17289 | genscher | 2008-11-02 13:50:11 +0100 (Sun, 02 Nov 2008) | 1 line

python25.zip wasn't copied using cmake. Should fix win64 python e.g. "import random" problem
------------------------------------------------------------------------
r17287 | ton | 2008-11-02 13:27:25 +0100 (Sun, 02 Nov 2008) | 8 lines

Bugfix #17920

When entering a wrong expression (or garbish) in a Nkey panel button,
the cursor jumps to the place where the button was clicked. On failure
the button could return a B_NOP, not a 0 



------------------------------------------------------------------------
r17282 | blendix | 2008-11-02 01:25:39 +0100 (Sun, 02 Nov 2008) | 13 lines

Fix for two proxy + undo related crashes:

* When making a proxy, the lib linked IPO driver was also changed to
  point to the proxy object, and after undo this local proxy object
  was replaced so the pointer became invalid. In fact it is not needed
  at all to change this because the IPO code maps the pointer to the
  local proxy object already.
* Undoing the make proxy operation would crash because the proxy_from
  pointer in the library linked object would still point to the removed
  object. Now it clears all these pointers before undo, because on each
  undo memory file read they will be set again anyway.


------------------------------------------------------------------------
r17281 | ben2610 | 2008-11-01 23:28:27 +0100 (Sat, 01 Nov 2008) | 1 line

VideoTexture: remove numpy dependency.
------------------------------------------------------------------------
r17278 | jesterking | 2008-11-01 22:41:22 +0100 (Sat, 01 Nov 2008) | 13 lines

=== SCons ===

Add scons-local of the latest version.

This means that from now on one doesn't need to install SCons explicitely. Instead,
the user can now start a build by doing:
  D:\blenderdev\currentsvn>python scons\scons.py

This way people won't have to worry about what their OS of choice offers for SCons
support - they will always have the latest supported SCons version at their disposal.

If necessary, one can always keep using their own install (provided it is supported
by our build scripts), by giving the normal scons command.
------------------------------------------------------------------------
r17277 | ben2610 | 2008-11-01 21:18:15 +0100 (Sat, 01 Nov 2008) | 1 line

VideoTexture: fix NULL pointer crash when material name is not found.
------------------------------------------------------------------------
r17276 | theeth | 2008-11-01 18:44:12 +0100 (Sat, 01 Nov 2008) | 1 line

Adding include path for numpy to sconscript. There must be a better way to do this.
------------------------------------------------------------------------
r17275 | ben2610 | 2008-11-01 18:26:34 +0100 (Sat, 01 Nov 2008) | 1 line

VideoTexture: typo in linux code
------------------------------------------------------------------------
r17274 | ben2610 | 2008-11-01 18:15:17 +0100 (Sat, 01 Nov 2008) | 1 line

VideoTexture: AVFormatContext::pb is not a pointer for avformat library older than 52 (linux uses 51)
------------------------------------------------------------------------
r17273 | blendix | 2008-11-01 18:07:24 +0100 (Sat, 01 Nov 2008) | 4 lines

Bug #17912: fix for some SSS floating point precision issues, and also
fix a divide by zero in the subsurf code found in the process.


------------------------------------------------------------------------
r17272 | theeth | 2008-11-01 18:06:36 +0100 (Sat, 01 Nov 2008) | 1 line

Getting video texture closer to compiling under linux
------------------------------------------------------------------------
r17271 | ton | 2008-11-01 17:09:36 +0100 (Sat, 01 Nov 2008) | 11 lines

Bugfix #17913

Bah... fix for envmaps just before 2.48 release gave good looking envmaps 
only when there was no sky involved...

The alpha in environment maps should be reset to 255... something that was 
never done before, but also didn't show errors until other fixes in image 
rendering were done.



------------------------------------------------------------------------
r17270 | ben2610 | 2008-11-01 16:58:49 +0100 (Sat, 01 Nov 2008) | 1 line

Video Texture: missing newlines at the end of several files.
------------------------------------------------------------------------
r17269 | ben2610 | 2008-11-01 16:42:03 +0100 (Sat, 01 Nov 2008) | 1 line

Video Texture: remove support for capture device, the linux ffmpeg repository is not ready yet.
------------------------------------------------------------------------
r17267 | blendix | 2008-11-01 15:00:16 +0100 (Sat, 01 Nov 2008) | 12 lines

Patch 17909: 2D Filter texture coordinates changes, by Dalai Felinto:

* The second opengl texture coordinate (gl_TexCoord[1]) are now filled
  in as well, and will give canvas coordinates from 0.0 to 1.0. The
  first texture coordinates still give the coordinates in the texture
  that is being used, which may not match the canvas exactly, so both
  coordinates are needed.
* Also optimization to allow using smaller texture sizes with multiple
  smaller viewports.
* Print the detailed GLSL shader errors (once), for easier debugging.


------------------------------------------------------------------------
r17266 | ben2610 | 2008-11-01 14:37:04 +0100 (Sat, 01 Nov 2008) | 1 line

Video Texture: add libadevice to extern\ffmpeg, forgot to update the Makefile.
------------------------------------------------------------------------
r17265 | ben2610 | 2008-11-01 14:31:32 +0100 (Sat, 01 Nov 2008) | 1 line

Video Texture: add libadevice to extern\ffmpeg for Linux build. I took the files from a ffmpeg revision that matches the rest of ffmpeg file (revision 12121 2008-02-15). It might be useful to update the whole ffmpeg directory.
------------------------------------------------------------------------
r17264 | ben2610 | 2008-11-01 13:48:46 +0100 (Sat, 01 Nov 2008) | 1 line

BGE Video Texture: fix constant initializer problem with Exception description. Uniformized the line ending.
------------------------------------------------------------------------
r17261 | migius | 2008-11-01 12:35:08 +0100 (Sat, 01 Nov 2008) | 2 lines

fix a bug in matrix.invert() for 2x2 matrices
reported by Hans in http://blenderartists.org/forum/showthread.php?t=139748
------------------------------------------------------------------------
r17260 | ben2610 | 2008-11-01 12:15:13 +0100 (Sat, 01 Nov 2008) | 1 line

Fix Cmake for MSVC 32bit
------------------------------------------------------------------------
r17254 | ben2610 | 2008-10-31 23:35:52 +0100 (Fri, 31 Oct 2008) | 91 lines

VideoTexture module.

The only compilation system that works for sure is the MSVC project files. I've tried my best to
update the other compilation system but I count on the community to check and fix them.
 
This is Zdeno Miklas video texture plugin ported to trunk. 
The original plugin API is maintained (can be found here http://home.scarlet.be/~tsi46445/blender/blendVideoTex.html)
EXCEPT for the following:

The module name is changed to VideoTexture (instead of blendVideoTex).

A new (and only) video source is now available: VideoFFmpeg()
You must pass 1 to 4 arguments when you create it (you can use named arguments):

VideoFFmpeg(file) : play a video file
VideoFFmpeg(file, capture, rate, width, height) : start a live video capture

file:
In the first form, file is a video file name, relative to startup directory.
It can also be a URL, FFmpeg will happily stream a video from a network source.
In the second form, file is empty or is a hint for the format of the video capture.
In Windows, file is ignored and should be empty or not specified.
In Linux, ffmpeg supports two types of device: VideoForLinux and DV1394. 
The user specifies the type of device with the file parameter:
   [<device_type>][:<standard>]
   <device_type> : 'v4l' for VideoForLinux, 'dv1394' for DV1394; default to 'v4l'
   <standard>    : 'pal', 'secam' or 'ntsc', default to 'ntsc'
The driver name is constructed automatically from the device types:
   v4l   : /dev/video<capture>
   dv1394: /dev/dv1394/<capture>
If you have different driver name, you can specify the driver name explicitely 
instead of device type. Examples of valid file parameter:
   /dev/v4l/video0:pal
   /dev/ieee1394/1:ntsc
   dv1394:ntsc
   v4l:pal
   :secam

capture: 
Defines the index number of the capture source, starting from 0. The first capture device is always 0.
The VideoTexutre modules knows that you want to start a live video capture when you set this parameter to a number >= 0. Setting this parameter < 0 indicates a video file playback. Default value is -1.

rate: 
the capture frame rate, by default 25 frames/sec

width: 
height: 
Width and height of the video capture in pixel, default value 0.
In Windows you must specify these values and they must fit with the capture device capability. 
For example, if you have a webcam that can capture at 160x120, 320x240 or 640x480, 
you must specify one of these couple of values or the opening of the video source will fail.
In Linux, default values are provided by the VideoForLinux driver if you don't specify width and height.

Simple example
**************
1. Texture definition script:

import VideoTexture

contr = GameLogic.getCurrentController()
obj = contr.getOwner()
if not hasattr(GameLogic, 'video'):
	matID = VideoTexture.materialID(obj, 'MAVideoMat')
	GameLogic.video = VideoTexture.Texture(obj, matID)
	GameLogic.vidSrc = VideoTexture.VideoFFmpeg('trailer_400p.ogg')
	# Streaming is also possible:
	#GameLogic.vidSrc = VideoTexture.VideoFFmpeg('http://10.32.1.10/trailer_400p.ogg')
	GameLogic.vidSrc.repeat = -1
	# If the video dimensions are not a power of 2, scaling must be done before
	# sending the texture to the GPU. This is done by default with gluScaleImage()
	# but you can also use a faster, but less precise, scaling by setting scale
	# to True. Best approach is to convert the video offline and set the dimensions right.
	GameLogic.vidSrc.scale = True
	# FFmpeg always delivers the video image upside down, so flipping is enabled automatically
	#GameLogic.vidSrc.flip = True

if contr.getSensors()[0].isPositive():
	GameLogic.video.source = GameLogic.vidSrc
	GameLogic.vidSrc.play()


2. Texture refresh script:

obj = GameLogic.getCurrentController().getOwner()
if hasattr(GameLogic, 'video') != 0:
  GameLogic.video.refresh(True)

You can download this demo here: 
http://home.scarlet.be/~tsi46445/blender/VideoTextureDemo.blend
http://home.scarlet.be/~tsi46445/blender/trailer_400p.ogg

------------------------------------------------------------------------
r17253 | ben2610 | 2008-10-31 22:06:48 +0100 (Fri, 31 Oct 2008) | 18 lines

Preparation to VideoTexture: everything but the VideoTexture module itself.

Rename PHY_GetActiveScene() to KX_GetActiveScene(): more logical name
Add KX_GetActiveEngine()

new KX_KetsjiEngine::GetClockTime(void) to return current 
render frame time: if the CPU does not keep up with the 
frame rate, up to 5 consecutive logic frames are processed 
between each render frame, so that the logic system stays 
accurate even if the graphic system is slow. For the video 
texture module, it is important to stay in sync with the
render frame: no need to update the texture for logic frame.

BL_Texture::swapTexture(): texture id manipulation
BL_Texture::getTex() : return material texture

Enable video support in ffmpeg for Linux.

------------------------------------------------------------------------
r17252 | ben2610 | 2008-10-31 21:50:07 +0100 (Fri, 31 Oct 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r17251 | jesterking | 2008-10-31 21:47:30 +0100 (Fri, 31 Oct 2008) | 1 line

* remove unreferenced var
------------------------------------------------------------------------
r17250 | jesterking | 2008-10-31 21:35:14 +0100 (Fri, 31 Oct 2008) | 2 lines

* silence compiler about warnings for C++ files a bit more.
  - from what I can see now, the larger part of warnings is now about conversions "possible loss of data" (ie. double to float, etc).
------------------------------------------------------------------------
r17246 | jesterking | 2008-10-31 17:33:42 +0100 (Fri, 31 Oct 2008) | 1 line

* doc update
------------------------------------------------------------------------
r17245 | sirdude | 2008-10-31 15:15:35 +0100 (Fri, 31 Oct 2008) | 5 lines

This is coverity issue CID: 456
fixes a buffer overrun issue.

Kent

------------------------------------------------------------------------
r17244 | theeth | 2008-10-31 14:58:59 +0100 (Fri, 31 Oct 2008) | 1 line

corrections to the C_WARN and CC_WARN variables for scons config. I didn't actually changed what the flags were, just the format, but Platform Maintainers, please check.
------------------------------------------------------------------------
r17235 | theeth | 2008-10-31 01:23:01 +0100 (Fri, 31 Oct 2008) | 3 lines

Fix compile flags in linux config to fit Nathan's changes.

Warning to others: Those flags are lists now, be careful and update other configs if needed.
------------------------------------------------------------------------
r17234 | jesterking | 2008-10-31 00:55:07 +0100 (Fri, 31 Oct 2008) | 9 lines

* Minimum SCons version is now 1.0.0
  - Code has been changed to reflect this (ie. deprecated functions are not anymore used)
* clean up the C and C++ compiler flags mess.
  - in the environment construction of BlenderLib all the compile flag governing options have been split in the *C*, *CC* and *CXX* containing equivalents.
    C is for C compiler only flags. CC is for C and C++ compiler flags and CXX is for C++ compiler only flags.
    All the platform default config files need to be double checked and fixed wherever it looks necessary. Either DIY, or send me a note with needed changes.
  - a start for the BlenderLib parameter list has been made - all the SConscripts need to be checked and modified to hand in flags properly.
* A theeth request: make -jN settable in the config file.
  - I give you BF_NUMJOBS, which is set to 1 by default. In your user-config.py, set BF_NUMJOBS=4 to have 4 parallel jobs handled. Yay.
------------------------------------------------------------------------
r17232 | jesterking | 2008-10-30 19:56:20 +0100 (Thu, 30 Oct 2008) | 3 lines

* Build aborts when giving options on command-line when WITH_BF_DOCS=True
  - make sure epydoc generation doesn't get a fit over options given on scons command-line -> don't use arguments from command-line.

------------------------------------------------------------------------
r17231 | theeth | 2008-10-30 17:38:32 +0100 (Thu, 30 Oct 2008) | 1 line

Build fix (C90): Declaration after statement
------------------------------------------------------------------------
r17230 | blendix | 2008-10-30 17:03:38 +0100 (Thu, 30 Oct 2008) | 5 lines


Fix for dependency graph cycle print, regular "Parent" relation was
incorrectly printed as "Curve Parent".


------------------------------------------------------------------------
r17229 | genscher | 2008-10-30 12:51:15 +0100 (Thu, 30 Oct 2008) | 1 line

Bugfix for [#17879] Speed vectors/velocity data not working on ALL fluids.
------------------------------------------------------------------------
r17221 | theeth | 2008-10-29 19:57:28 +0100 (Wed, 29 Oct 2008) | 3 lines

EditVert hash *is* used elsewhere in the code, so just to be safe, use a scratch array instead.

This is actually much safer than juggling values in the tmp union all the time.
------------------------------------------------------------------------
r17220 | sirdude | 2008-10-29 18:45:02 +0100 (Wed, 29 Oct 2008) | 8 lines

This is a fix for coverity issue CID: 517
Basically the code was referencing var[-1] it wasn't using it
but also did not need to be set in those cases.  So I moved
the assignments so it skips the -1 case.

Kent


------------------------------------------------------------------------
r17219 | campbellbarton | 2008-10-29 17:49:51 +0100 (Wed, 29 Oct 2008) | 3 lines

fix for more disable python defines,
FTOCHAR didnt have brackets around the value. FTOCHAR(a+b) didnt work, FTOCHAR((a+b)) did. 

------------------------------------------------------------------------
r17213 | theeth | 2008-10-28 23:53:48 +0100 (Tue, 28 Oct 2008) | 1 line

merging harmonic-skeleton branch into trunk. All changes are hidden behind a disabled define, nothing to see here
------------------------------------------------------------------------
r17211 | campbellbarton | 2008-10-28 21:19:25 +0100 (Tue, 28 Oct 2008) | 2 lines

error in DISABLE_PYTHON defines

------------------------------------------------------------------------
r17210 | sirdude | 2008-10-28 20:53:54 +0100 (Tue, 28 Oct 2008) | 4 lines

Fixes blenderplayer for dds stuff

Kent

------------------------------------------------------------------------
r17209 | campbellbarton | 2008-10-28 19:47:13 +0100 (Tue, 28 Oct 2008) | 2 lines

added scons option BF_WITH_PYTHON (defined as DISABLE_PYTHON)

------------------------------------------------------------------------
r17206 | sirdude | 2008-10-28 19:33:34 +0100 (Tue, 28 Oct 2008) | 5 lines

Updated cmake so it has the option to use WITH_DDS

Kent


------------------------------------------------------------------------
r17205 | campbellbarton | 2008-10-28 03:03:13 +0100 (Tue, 28 Oct 2008) | 2 lines

bpy access to image premul was missing.

------------------------------------------------------------------------
r17204 | khughes | 2008-10-28 01:01:20 +0100 (Tue, 28 Oct 2008) | 6 lines

Python API
----------
Bugfix #17911: Mesh.getFromObject() incorrectly decremented the mesh's
material user refcount when the material was linked to the object.


------------------------------------------------------------------------
r17201 | campbellbarton | 2008-10-27 16:47:58 +0100 (Mon, 27 Oct 2008) | 3 lines

face transp option CLIP wasnt added to the py api.
added gameObject.replaceMesh(meshname)  - needed this for an automatically generated scene where 100's of objects would have needed logic bricks automatically added. Quicker to run replace mesh on all of them from 1 script.

------------------------------------------------------------------------
r17200 | blendix | 2008-10-27 16:22:55 +0100 (Mon, 27 Oct 2008) | 6 lines

Fix for crash reading a peach file, chubbychestnut.blend. A do_versions
conversion was reading the mtex array in a library linked material. It
is however not guaranteed that direct_link_* was called  on the material
yet, so the array pointer is not always valid and it can crash.


------------------------------------------------------------------------
r17197 | aligorith | 2008-10-26 10:41:59 +0100 (Sun, 26 Oct 2008) | 5 lines

Bugfixes:

* #17900 - IK Constraint was not included regardless of what Visual-Keying method was used
* Deleting a Bone Group now corrects indices of those groups that occurred after the one that was deleted
* No more click-a-mania - Delete all vertex groups from a Mesh (Ctrl-Shift-G menu) 
------------------------------------------------------------------------
r17196 | campbellbarton | 2008-10-26 09:06:48 +0100 (Sun, 26 Oct 2008) | 5 lines

fix for [#17895] Python-generated Curves can't be beveled
radius and weight's values were not initialized for nurbs curves

for 2.48a just use set radius from curve specials menu to work around this.

------------------------------------------------------------------------
r17180 | campbellbarton | 2008-10-22 18:43:38 +0200 (Wed, 22 Oct 2008) | 2 lines

default opengl static locations was to try /usr/libGL.a, use the oprngl lib path instead - /usr/X11R6/lib/libGL.a

------------------------------------------------------------------------
r17179 | ton | 2008-10-22 18:13:30 +0200 (Wed, 22 Oct 2008) | 7 lines

Missing NULL check causes crash on Ikey when no active object.
Error is bad enough to go for a retag... hrmf!

Report from Ernesto (der|kunstler) Mndez in irc. Thanks a lot!



------------------------------------------------------------------------
r17175 | ton | 2008-10-22 13:50:12 +0200 (Wed, 22 Oct 2008) | 6 lines

New splash c file (now gimp png) and bumped version to 2.48.1 to make it
even a bit more clear.

After this commit we'll tag svn (gasp!) and then go build!


------------------------------------------------------------------------
r17174 | ton | 2008-10-22 13:48:26 +0200 (Wed, 22 Oct 2008) | 3 lines

Part one of the release update commit


------------------------------------------------------------------------
r17173 | jesterking | 2008-10-22 13:28:10 +0200 (Wed, 22 Oct 2008) | 4 lines

* Minor cleanup of SCons files

- cleanup of boolean usage - use True and False now instead of 'true'/'false' or 0/1
- changed SConscripts accordingly
------------------------------------------------------------------------
r17171 | campbellbarton | 2008-10-22 10:21:43 +0200 (Wed, 22 Oct 2008) | 3 lines

added an option for python Draw.UIBlock(func, mouse_exit) so moving the mouse outside the popup wont close it.
Stops FBX Export and OBJ I/O from flickering a lot.

------------------------------------------------------------------------
r17170 | campbellbarton | 2008-10-22 09:09:15 +0200 (Wed, 22 Oct 2008) | 2 lines

make sure BPY_Err_Handle clears python errors, even if the exception cant be printed. Added PyErr_Clear() incase there are other references to exception data (sys.exc_info() from python)

------------------------------------------------------------------------
r17169 | jesterking | 2008-10-22 09:02:30 +0200 (Wed, 22 Oct 2008) | 1 line

* comment fix
------------------------------------------------------------------------
r17167 | pidhash | 2008-10-22 07:35:23 +0200 (Wed, 22 Oct 2008) | 1 line


------------------------------------------------------------------------
r17166 | pidhash | 2008-10-22 07:33:45 +0200 (Wed, 22 Oct 2008) | 1 line


------------------------------------------------------------------------
r17164 | campbellbarton | 2008-10-22 06:42:00 +0200 (Wed, 22 Oct 2008) | 2 lines

missing undo for vgroup operations, countall was running twice from select/deselect and DAG_object_flush_update isnt needed for changed selections.

------------------------------------------------------------------------
r17163 | campbellbarton | 2008-10-22 05:10:00 +0200 (Wed, 22 Oct 2008) | 13 lines

fix for [#17878] Scripts operating on blender objects don't clear memory after a crash
This is an interesting bug since it is likely the cause of many other suspicious python crashes in blender.

sys.last_traceback would store references to PyObjects at the point of the crash.
it would only free these when sys.last_traceback was set again or on exit.

This caused many crashes in the BGE while testing since python would end up freeing invalid game objects -
When running scripts with errors, Blender would crash every 2-5 runs - in my test just now it crashed after 4 trys.

It could also segfault blender, when (for eg) you run a script that has objects referenced. then load a new file and run another script that raises an error.
In this case all the invalid Blender-Object's user counts would be decremented, even though none of the pointers were still valid.


------------------------------------------------------------------------
r17156 | campbellbarton | 2008-10-22 01:14:40 +0200 (Wed, 22 Oct 2008) | 2 lines

add a way for external scripts to call X3D/VRML importer and deal with unknown node types.

------------------------------------------------------------------------
r17155 | jesterking | 2008-10-22 01:07:09 +0200 (Wed, 22 Oct 2008) | 3 lines

Patch from Timothy Baldridge
* add irix6 to GHOST windowing system (same as linux2 et al)
* fix faulty return lines in shrinkwrap.c
------------------------------------------------------------------------
r17149 | blendix | 2008-10-21 16:46:00 +0200 (Tue, 21 Oct 2008) | 5 lines


Fix for bug #17881: with SSS disabled, SSS materials didn't
render textures, related to other recent bugfix for baking.


------------------------------------------------------------------------
r17148 | jesterking | 2008-10-21 12:38:24 +0200 (Tue, 21 Oct 2008) | 2 lines

* improvement for CSizeof
  - instead of fiddling around with strings, just compare pointers. (It's a good thing we have ideasman_42)
------------------------------------------------------------------------
r17147 | campbellbarton | 2008-10-21 11:08:46 +0200 (Tue, 21 Oct 2008) | 2 lines

more python 2.3 compat, should be the last of it.

------------------------------------------------------------------------
r17146 | aligorith | 2008-10-21 10:53:39 +0200 (Tue, 21 Oct 2008) | 1 line

Duplicating bones in EditMode didn't set the custom-shape and bone-groups too.
------------------------------------------------------------------------
r17145 | aligorith | 2008-10-21 10:30:02 +0200 (Tue, 21 Oct 2008) | 3 lines

Bugfix:

"Warning: binarysearch_bezt_index encountered invalid array" errors were being displayed in the console. Was caused by 3d-view show-keyframe for infostring stuff, when an IPO being checked had no keyframes. 
------------------------------------------------------------------------
r17144 | jesterking | 2008-10-21 10:27:38 +0200 (Tue, 21 Oct 2008) | 2 lines

* Add some missing docu for Blender.Types
* Fix potential crash in CSizeof()
------------------------------------------------------------------------
r17142 | aligorith | 2008-10-21 10:00:19 +0200 (Tue, 21 Oct 2008) | 5 lines

Bugfixes:

- Adding constraint using button in panel still didn't update Armature Editing buttons properly.
- Minor code tidying of earlier bugfix for armatures
- 'For Transform' option for Limit constraints is now only taken into account for constraints that are enabled.
------------------------------------------------------------------------
r17139 | aligorith | 2008-10-21 03:40:47 +0200 (Tue, 21 Oct 2008) | 3 lines

#17873: "switch direction" for bones can cause infinite loop

Second attempt at fixing this bug. Previous fix caused segfault when all bones in a chain are selected. Now it should segments which are selected (i.e. get swapped) will get unparented from segments that aren't (i.e. aren't swapped, so are still in old orientation)
------------------------------------------------------------------------
r17138 | theeth | 2008-10-21 03:11:18 +0200 (Tue, 21 Oct 2008) | 3 lines

[#17873] "switch direction" for bones can cause infinite loop

Stop the infinite loop, but it could be loosing parent relations that it kept before. Aligorith needs to review.
------------------------------------------------------------------------
r17136 | campbellbarton | 2008-10-21 02:21:02 +0200 (Tue, 21 Oct 2008) | 2 lines

py 2.3 compat for lightwave_import and wizard_curve2tree

------------------------------------------------------------------------
r17135 | campbellbarton | 2008-10-21 01:21:01 +0200 (Tue, 21 Oct 2008) | 2 lines

renamed WITH_BF_BPYDOC to WITH_BF_DOCS, added SConscript for building BGE docs too.

------------------------------------------------------------------------
r17131 | campbellbarton | 2008-10-20 15:36:18 +0200 (Mon, 20 Oct 2008) | 3 lines

fix for [#17871] PLY file import: blender seems to loose vertex color information
use Mesh rather then NMesh

------------------------------------------------------------------------
r17130 | jesterking | 2008-10-20 14:33:31 +0200 (Mon, 20 Oct 2008) | 14 lines

=== Blender Python API ===

After some discussion with Campbell, changed the way cstruct sizeof is fetched.

Moved DataSize() to Blender.Types.CSizeof(Blendertype). Supported types return sizeof(data struct), otherwise -1.

To quickly check what types are supported:

import Blender.Types as bt
x = dir(bt)
for t in x:
	if t[0] != '_':
		s = 'bt.CSizeof(bt.' + t + ')'
		print t,"=", eval(s)
------------------------------------------------------------------------
r17129 | aligorith | 2008-10-20 11:35:07 +0200 (Mon, 20 Oct 2008) | 1 line

Another constraint panel (in Armature Editing Panels) bugfix. This time, when adding a new constraint using vertical layout.
------------------------------------------------------------------------
r17128 | aligorith | 2008-10-20 11:24:25 +0200 (Mon, 20 Oct 2008) | 1 line

A few warnings missed in previous sweep
------------------------------------------------------------------------
r17126 | aligorith | 2008-10-20 08:39:08 +0200 (Mon, 20 Oct 2008) | 1 line

Reduced number of MSVC compiler warnings (mostly just casting issues).
------------------------------------------------------------------------
r17125 | aligorith | 2008-10-20 06:53:49 +0200 (Mon, 20 Oct 2008) | 2 lines

- Bugfix: 'Hide' button for PoseMode bones (in Editing Buttons) was setting the 'Mult' flag instead
- Tidied up comments in Action Editor code a bit
------------------------------------------------------------------------
r17121 | aligorith | 2008-10-20 01:52:28 +0200 (Mon, 20 Oct 2008) | 1 line

Fixed overlapping panels in Armature Buttons that resulted after adding a constraint/IK using the hotkeys.
------------------------------------------------------------------------
r17120 | jesterking | 2008-10-20 01:20:17 +0200 (Mon, 20 Oct 2008) | 4 lines

=== Blender Python API ===

* add DataSize() to module level
  with this one can get datablock struct size.
------------------------------------------------------------------------
r17119 | jesterking | 2008-10-20 00:09:45 +0200 (Mon, 20 Oct 2008) | 1 line

forgot to add removeRenderLayer() documentation
------------------------------------------------------------------------
r17118 | jesterking | 2008-10-20 00:01:46 +0200 (Mon, 20 Oct 2008) | 8 lines

=== SCons ===

[#17867] Adds option to SCONS to generate Python API documentation

Added patch from Brandano with some small improvements (BF_DOCDIR, clean) by yours truly.

To use make sure you have epydoc installed. Enable with WITH_BF_BPYDOC=1.

------------------------------------------------------------------------
r17117 | jesterking | 2008-10-19 23:39:50 +0200 (Sun, 19 Oct 2008) | 4 lines

=== Blender Python API ===
* fix two typos in RenderLayer API (renderosiy -> renderosity in two places. Will break .py's saved with render_save_layers.py, just fix passRadiosiy and passRadiosiyXOR)
* add some docs on RenderLayer API
* fix some copy/paste leftover in render_save_layers.py
------------------------------------------------------------------------
r17116 | khughes | 2008-10-19 23:25:17 +0200 (Sun, 19 Oct 2008) | 3 lines

Added WITH_BF_NOBLENDER to scons so that blenderplayer can be compiler by itself (false by default).  Also added dependency for 'blender' on command line;  seems 'blender' was intended to be a target, but would give the error "Do not know how to make target `blender' ".


------------------------------------------------------------------------
r17115 | letterrip | 2008-10-19 19:17:44 +0200 (Sun, 19 Oct 2008) | 2 lines

A slight update on the quickstart guide, fixed the links, might be replaced in the future.

------------------------------------------------------------------------
r17114 | campbellbarton | 2008-10-19 17:53:22 +0200 (Sun, 19 Oct 2008) | 2 lines

modified OBJ import and export UI's to be less confusing with nicer layout. removed an unneeded workaround in fbx export.

------------------------------------------------------------------------
r17113 | jesterking | 2008-10-19 15:51:52 +0200 (Sun, 19 Oct 2008) | 1 line

* small code change from Split to env.Glob()
------------------------------------------------------------------------
r17112 | jesterking | 2008-10-19 15:48:37 +0200 (Sun, 19 Oct 2008) | 2 lines

=== BPy API ===
* Add read access for octree resolution
------------------------------------------------------------------------
r17111 | campbellbarton | 2008-10-19 12:51:57 +0200 (Sun, 19 Oct 2008) | 2 lines

error in last commit

------------------------------------------------------------------------
r17109 | campbellbarton | 2008-10-19 08:12:11 +0200 (Sun, 19 Oct 2008) | 2 lines

only set the SDL audio driver to alsa when not running in background mode and when blender is compiled with SDL.

------------------------------------------------------------------------
r17108 | campbellbarton | 2008-10-19 06:02:37 +0200 (Sun, 19 Oct 2008) | 5 lines

source/blender/blenloader/intern/readfile.c - use memmove rather then strncpy for overlapping strings.
source/blender/blenlib/intern/fileops.c - zero length strings would check for a slash before the strings first char.
source/gameengine/GameLogic/SCA_JoystickSensor.cpp - m_istrig_prev was not initialized
source/blender/src/editmesh.c - active face pointer was not set to NULL in free_editMesh()

------------------------------------------------------------------------
r17107 | aligorith | 2008-10-19 05:41:49 +0200 (Sun, 19 Oct 2008) | 1 line

Few tiny cleanups in Action Editor code (comments only)
------------------------------------------------------------------------
r17102 | ben2610 | 2008-10-18 20:37:58 +0200 (Sat, 18 Oct 2008) | 1 line

BGE bug #17858 fixed: [SHOWSTOPPER]  BGE Memory leak. The memory leak has been identified and fixed in bullet.
------------------------------------------------------------------------
r17101 | campbellbarton | 2008-10-18 15:33:27 +0200 (Sat, 18 Oct 2008) | 3 lines

patch [#17856] Correction on docs for Ipo module. from Lucas Vella (lvella) + some other minor changes.


------------------------------------------------------------------------
r17100 | campbellbarton | 2008-10-18 15:23:30 +0200 (Sat, 18 Oct 2008) | 5 lines

Added joystick epydocs, only changed incorrect docstrings in SCA_JoystickSensor.cpp
patch [#17857] HotKeys Update by dfelinto - SmoothStroke and Anchored.
	Made own edits, removed videoscape and added curve and armature specials.


------------------------------------------------------------------------
r17099 | campbellbarton | 2008-10-18 11:04:25 +0200 (Sat, 18 Oct 2008) | 4 lines

* Fixed eekadoodle problem where faces with a zero index vert in the wrong place would reotate the UVs and VCols incorrectly
* Fixed an error that made IndexedLineSet and IndexedPointSet not load for x3d's
* Added support for opening gzip x3d/wrl files

------------------------------------------------------------------------
r17096 | campbellbarton | 2008-10-17 21:06:24 +0200 (Fri, 17 Oct 2008) | 6 lines

x3d and vrml importer for loading thes files as static scenes. x3d needs a full python install. VRML97 files can be imported without python.

for details on what is supported see
http://wiki.blender.org/index.php/Scripts/Manual/Import/X3D_VRML97#Compatibility


------------------------------------------------------------------------
r17095 | blendix | 2008-10-17 15:36:40 +0200 (Fri, 17 Oct 2008) | 5 lines

Fix for bug #17829: with ATI drivers, GLSL shadows crashed on physics
'show pivot' drawing in the viewport. Also added checks for some other
cases where this could happen.


------------------------------------------------------------------------
r17094 | blendix | 2008-10-17 15:34:20 +0200 (Fri, 17 Oct 2008) | 4 lines

Fix for imagepaint soften tool giving a bit too dark results,
due to poor float-to-char conversion.


------------------------------------------------------------------------
r17093 | ben2610 | 2008-10-17 11:24:35 +0200 (Fri, 17 Oct 2008) | 6 lines

BGE bug fix (continuation of previous bug fix): 
- Forgot to make SCA_ISensor::UnregisterToManager() virtual to intercept active-inactive transition on collision sensor to clear colliders reference.
- Don't record collision on inactive sensor. 
  This situation occurs when an object with an inactive collision sensor collides with an object with an active collision sensor: the collision handler triggers both sensors.
  The result of this bug was pending references that eventually cause temporary memory leak (until the sensor is reactivated).

------------------------------------------------------------------------
r17090 | ben2610 | 2008-10-17 01:33:40 +0200 (Fri, 17 Oct 2008) | 5 lines

BGE showstopper bug fix: 
- Reset hit object pointer at end of frame of touch sensor to avoid returning invalid pointer to getHitObject().
- Clear all references in KX_TouchSensor::m_colliders when the sensor is disabled to avoid loose references. 
- Test GetSGNode() systematically for all KX_GameObject functions that can be called from python in case a python controller keeps a reference in GameLogic (bad practice anyway).

------------------------------------------------------------------------
r17088 | theeth | 2008-10-16 23:43:25 +0200 (Thu, 16 Oct 2008) | 3 lines

[#17845] View Snapping causes background grid confusion

view needs to be reset while moving to take care of view snapping properly.
------------------------------------------------------------------------
r17084 | campbellbarton | 2008-10-15 01:43:08 +0200 (Wed, 15 Oct 2008) | 2 lines

vrml exporting with images was broken.

------------------------------------------------------------------------
r17083 | campbellbarton | 2008-10-15 00:31:10 +0200 (Wed, 15 Oct 2008) | 2 lines

cleanup epydoc errors

------------------------------------------------------------------------
r17082 | elubie | 2008-10-14 22:27:37 +0200 (Tue, 14 Oct 2008) | 3 lines

== windows installer ==
small update for release 2.48 - no need to re-tag

------------------------------------------------------------------------
r17078 | theeth | 2008-10-14 18:52:04 +0200 (Tue, 14 Oct 2008) | 1 line

copy back trunk
------------------------------------------------------------------------
r17075 | jesterking | 2008-10-14 18:24:27 +0200 (Tue, 14 Oct 2008) | 6 lines

=== Installer (win32) ===

* Fix for [#17651] Silent Install Issue
  - make sure silent install is really silent ( /S on command-line)
* Improve installer to check for msvc90.dll
* Improve installer to check for py 25 install (using registry)
------------------------------------------------------------------------
r17074 | campbellbarton | 2008-10-14 16:16:57 +0200 (Tue, 14 Oct 2008) | 2 lines

reverting mistake commit to pipeline.c

------------------------------------------------------------------------
r17073 | campbellbarton | 2008-10-14 16:10:49 +0200 (Tue, 14 Oct 2008) | 2 lines

resaved in the gimp, now loads with libpng 1.2.30

------------------------------------------------------------------------
r17072 | ton | 2008-10-14 14:16:12 +0200 (Tue, 14 Oct 2008) | 8 lines

Bugfix #17832

Particle system crashed in convertblender, missing NULL check.
This fixes crash, render survives, but I doubt it was meant so...

Will leave it Janne to evaluate later.


------------------------------------------------------------------------
r17071 | genscher | 2008-10-14 13:54:07 +0200 (Tue, 14 Oct 2008) | 1 line

Collisions: CollisionModifier needs to be resetted for every loop
------------------------------------------------------------------------
r17070 | genscher | 2008-10-14 13:50:30 +0200 (Tue, 14 Oct 2008) | 1 line

Bugfix for regression from 2.46 on cloth collisions reported by Daniel Salazar via IRC
------------------------------------------------------------------------
r17069 | ton | 2008-10-14 13:42:53 +0200 (Tue, 14 Oct 2008) | 7 lines

Bugfix on IRC report. Luckily Daniel Salazar *does* carefully check our
regression files, it showed small dark outline errors on envmap.

This commit rewinds bugfix #8437, which actually had to be fixed on
another location in code, which was done a few weeks ago. :)


------------------------------------------------------------------------
r17068 | ton | 2008-10-14 12:55:18 +0200 (Tue, 14 Oct 2008) | 4 lines

Bugreport in IRC: Area lamp, "Constant jitterred" had wrong alignment
code, causing the "SamplesY" button to overlap others.


------------------------------------------------------------------------
r17067 | ton | 2008-10-14 12:44:22 +0200 (Tue, 14 Oct 2008) | 7 lines

Bugfix #17830

Index OB pass didn't support FSA for Ztransp.
Also made buttons to set black/white for non-RGBA images hide in Image Window,
the Curves color code only supports 4 channels atm.


------------------------------------------------------------------------
r17066 | aligorith | 2008-10-14 12:11:01 +0200 (Tue, 14 Oct 2008) | 3 lines

Action Editor - Grease Pencil Bugfix:

When Action Editor was maximised, Grease Pencil data disappeared. This was due to the screen-swapping that went on. Now, it uses the old-screen that was stored in the maximised Action Editor's screen (should be safe...)
------------------------------------------------------------------------
r17065 | aligorith | 2008-10-14 11:36:08 +0200 (Tue, 14 Oct 2008) | 4 lines

Grease Pencil Bugfixes:
* Onion-skinning with GStep > 0 was not showing enough of a noticable difference between ghosts. Improved method of calculating this.

* Clicking in a Grease-Pencil datablock channel in the Action Editor would crash
------------------------------------------------------------------------
r17064 | erwin | 2008-10-14 08:14:25 +0200 (Tue, 14 Oct 2008) | 1 line

bugfix: copy/paste bug merged from Bullet main repo into Blender, hope it still can make 2.48
------------------------------------------------------------------------
r17060 | ton | 2008-10-13 22:25:29 +0200 (Mon, 13 Oct 2008) | 15 lines

The mo's from last commit didnt work.

h_CN/LC_MESSAGES/blender.mo
M    .blender/locale/ar/LC_MESSAGES/blender.mo
M    .blender/locale/sr@Latn/LC_MESSAGES/blender.mo
M    .blender/locale/cs/LC_MESSAGES/blender.mo
M    .blender/locale/pt_BR/LC_MESSAGES/blender.mo
M    .blender/locale/fr/LC_MESSAGES/blender.mo
M    .blender/locale/es/LC_MESSAGES/blender.mo
M    .blender/locale/nl/LC_MESSAGES/blender.mo
M    .blender/locale/hr/LC_MESSAGES/blender.mo
M    .blender/locale/ko/LC_MESSAGES/blender.mo
M    .blender/locale/pl/LC_MESSAGES/blender.mo
M    .blender/locale/it/LC_MESSAGES/blender.mo

------------------------------------------------------------------------
r17058 | ton | 2008-10-13 12:03:17 +0200 (Mon, 13 Oct 2008) | 4 lines

Part two of the 2.48 release preparation!
(After this svn tag)


------------------------------------------------------------------------
r17057 | ton | 2008-10-13 12:01:52 +0200 (Mon, 13 Oct 2008) | 3 lines

Part one of the release 2.48 commit.


------------------------------------------------------------------------
r17054 | campbellbarton | 2008-10-13 05:55:59 +0200 (Mon, 13 Oct 2008) | 2 lines

missing calls to countall() on switching scenes in the outliner.

------------------------------------------------------------------------
r17051 | blendix | 2008-10-12 20:32:26 +0200 (Sun, 12 Oct 2008) | 3 lines

Added a -noglsl option to disable GLSL from the command line.


------------------------------------------------------------------------
r17048 | campbellbarton | 2008-10-12 17:35:17 +0200 (Sun, 12 Oct 2008) | 2 lines

hard limit in for bpy material was wrong

------------------------------------------------------------------------
r17047 | campbellbarton | 2008-10-12 16:27:30 +0200 (Sun, 12 Oct 2008) | 2 lines

correction to epydoc

------------------------------------------------------------------------
r17046 | blendix | 2008-10-12 15:32:28 +0200 (Sun, 12 Oct 2008) | 7 lines

- Fix for bug #17825: baking SSS is not supported, but it didn't give
  proper results, should bake as if SSS was disabled.
- Fix for GLSL to handle failing shadow buffer creation better.
- Fix for sky/atmosphere version patch, was not doing files from 2.46
  and newer.


------------------------------------------------------------------------
r17045 | ton | 2008-10-12 15:16:23 +0200 (Sun, 12 Oct 2008) | 6 lines

Bugfix, studio report by Pablo Venomgfx

- insert key crashed when object ipo was in action, but action got unlinked
  from object


------------------------------------------------------------------------
r17043 | schlaile | 2008-10-12 14:00:26 +0200 (Sun, 12 Oct 2008) | 6 lines

== Sequencer ==

This fixes (works around):
[#13598] LOAD / SAVE: Segfault after attempting to load surround encoded file


------------------------------------------------------------------------
r17041 | campbellbarton | 2008-10-12 13:31:11 +0200 (Sun, 12 Oct 2008) | 2 lines

in rare cases the screen cant be found for BPy's file/image selector

------------------------------------------------------------------------
r17040 | ton | 2008-10-12 13:13:35 +0200 (Sun, 12 Oct 2008) | 4 lines

Small fix, ancient issue: 
drawing object names in 3d window, zbuffered mode, didn't show up.


------------------------------------------------------------------------
r17039 | campbellbarton | 2008-10-12 12:39:45 +0200 (Sun, 12 Oct 2008) | 3 lines

c3d_import needed encoding defined for python 2.5+ to run.
wav file reading minor fix checking array bounds.

------------------------------------------------------------------------
r17038 | campbellbarton | 2008-10-12 09:58:05 +0200 (Sun, 12 Oct 2008) | 2 lines

read wave files block align value, rather then assuming 2 or 4.

------------------------------------------------------------------------
r17037 | broken | 2008-10-12 08:39:47 +0200 (Sun, 12 Oct 2008) | 4 lines

* Patch #17729 from Dalai Felinto

Additional sculpt mode hotkeys to toggle Smooth stroke (Shift S) and Anchored brush (Shift A) . Menus are updated with hotkeys too. This is a real last minute one, but it was given the ok previously, and I've just had time to commit this for him.

------------------------------------------------------------------------
r17036 | aligorith | 2008-10-12 02:59:58 +0200 (Sun, 12 Oct 2008) | 3 lines

Bugfix:

Grease Pencil panel in Sequencer and Nodes were not able to be minimised. 
------------------------------------------------------------------------
r17035 | campbellbarton | 2008-10-12 02:51:55 +0200 (Sun, 12 Oct 2008) | 6 lines

fix for [#17783] problem when packing wav
"data" is aligned differently in this wave file and the buffer was read past its allocated length.

Fix this by searching for the buffer in increments of 2 (this finds the "data" for the wav file)
added a check not to allow the search to go past the buffer length, so corrupt wave files should not crash.

------------------------------------------------------------------------
r17034 | blendix | 2008-10-12 02:41:28 +0200 (Sun, 12 Oct 2008) | 7 lines

Fix for opengl errors being thrown when creating textures, it was
setting the magnification to GL_LINEAR_MIPMAP_NEAREST but that is
only valid for minifaction, should be GL_LINEAR instead. OpenGL
driver should refuse setting this so should be harmless, but better
to fix it anyway.


------------------------------------------------------------------------
r17033 | aligorith | 2008-10-12 02:13:25 +0200 (Sun, 12 Oct 2008) | 5 lines

Grease Pencil Bugfixs:

- Eraser now works in Sequence Editor. Cleaned up the code that handles Sequencer coordinate-conversions so that it should be a bit faster (doesn't need to recalculate offsets+scaling for every point that is made).

- Fixed mistake made in previous commit that made the pressure value (for tablets) an integer instead or a float. This should solve some of the reports of bits of strokes being missed on tablets.
------------------------------------------------------------------------
r17032 | blendix | 2008-10-12 01:48:37 +0200 (Sun, 12 Oct 2008) | 8 lines

Fix for two more game engine issues:
* Debug text drawing didn't disable textures correct leaving
  texture state invalid, quite old issue.
* Multitexture materials didn't get enabled correct, recent bug.

Both pointed out by José Ignacio Romero, thanks!


------------------------------------------------------------------------
r17031 | blendix | 2008-10-12 00:29:50 +0200 (Sun, 12 Oct 2008) | 1 line

Fix crash in game engine IPO code, got out of sync after IPO cleanup, removed the duplicated function declarations.
------------------------------------------------------------------------
r17030 | blendix | 2008-10-12 00:16:39 +0200 (Sun, 12 Oct 2008) | 1 line

Actual fix for bug #17819, that doesn't disable the functionality, crash with tiled image textures in the game engine.
------------------------------------------------------------------------
r17029 | erwin | 2008-10-11 22:54:18 +0200 (Sat, 11 Oct 2008) | 10 lines


prevent crash in gpu_draw.c, so tilemode might not have GLSL/GPU features

/* for tiles, copy only part of image into buffer */
	if (GTS.tilemode) {
		return 0; //disabled for now, it causes crashes
	
See tracker issue here:
http://projects.blender.org/tracker/index.php?func=detail&aid=17819&group_id=9&atid=125

------------------------------------------------------------------------
r17028 | erwin | 2008-10-11 22:52:43 +0200 (Sat, 11 Oct 2008) | 1 line

reverted previous commit: enable per-vertex soft body collisions instead of cluster collision detection
------------------------------------------------------------------------
r17027 | erwin | 2008-10-11 22:19:04 +0200 (Sat, 11 Oct 2008) | 5 lines

Last (hopefully) soft body fixes: 
Enable soft body collision clusters by default.
Add option to 'disable collision' button between soft body and rigid body connected by constraint (option was already available between two rigid bodies)


------------------------------------------------------------------------
r17025 | blendix | 2008-10-11 21:34:48 +0200 (Sat, 11 Oct 2008) | 4 lines

Fix for bug #17794: GLSL didn't take into account normal maps
for Nor texture inputs.


------------------------------------------------------------------------
r17024 | erwin | 2008-10-11 21:32:53 +0200 (Sat, 11 Oct 2008) | 1 line

remove constraints from world, if not done yet
------------------------------------------------------------------------
r17023 | blendix | 2008-10-11 20:58:07 +0200 (Sat, 11 Oct 2008) | 3 lines

Fix for recent commit, should only do glFinish() on Windows.


------------------------------------------------------------------------
r17022 | blendix | 2008-10-11 20:52:36 +0200 (Sat, 11 Oct 2008) | 4 lines

Fix for bug #17809: crash with glsl materials and nodes refresh,
didn't attach to the right materials to the lamp.


------------------------------------------------------------------------
r17021 | ton | 2008-10-11 18:22:49 +0200 (Sat, 11 Oct 2008) | 4 lines

New .mo for french. Updated for 2.48 glsl and grease features.
Patch 17705 from Erwan Jacq


------------------------------------------------------------------------
r17020 | ton | 2008-10-11 18:20:38 +0200 (Sat, 11 Oct 2008) | 4 lines

New .po for french. Updated for 2.48 glsl and grease features.
Patch 17705 from Erwan Jacq


------------------------------------------------------------------------
r17019 | blendix | 2008-10-11 18:03:17 +0200 (Sat, 11 Oct 2008) | 1 line

Fix for bug #17793: the glFinish() call in ghost that was disabled in a previous commit, because it was causing performance issues for the game engine, apparently still is needed to solved issues with FSAA. Now instead it will still call this for blender but not anymore for blenderplayer.
------------------------------------------------------------------------
r17018 | ton | 2008-10-11 17:55:22 +0200 (Sat, 11 Oct 2008) | 5 lines

Updated python license, this is compatible with current 2.5 and older.

http://www.python.org/download/releases/2.5.2/license/


------------------------------------------------------------------------
r17017 | aligorith | 2008-10-11 14:23:56 +0200 (Sat, 11 Oct 2008) | 3 lines

Bugfix #17810: Blender crashes when constraint-keys are moved in NLA

Copy and paste error. Was using ob-ipo instead of conchan->ipo
------------------------------------------------------------------------
r17016 | aligorith | 2008-10-11 14:17:16 +0200 (Sat, 11 Oct 2008) | 7 lines

Quick PyAPI patch:

Now it is possible to clean IPO-curves using the call:
icu.clean()
There's an optional value to specify the threshold to use for cleaning. 

This just wraps the internal clean_ipo_curve() function.
------------------------------------------------------------------------
r17015 | aligorith | 2008-10-11 13:08:30 +0200 (Sat, 11 Oct 2008) | 1 line

Forgot a file in previous commit. More missing svn properties added.
------------------------------------------------------------------------
r17014 | aligorith | 2008-10-11 13:07:25 +0200 (Sat, 11 Oct 2008) | 6 lines

Grease Pencil Bugfixes:

* Fix for #17808: Can't compile using SunCC - gpencil.c uses DOS line endings. 
Added some svn-properties on gpencil files and also keyframing ones that I added, so that this shouldn't be a problem anymore.

* In Node Editor, it is now possible to close an open Grease Pencil panel when there is no node-tree being shown (i.e. after switching between node editing modes)
------------------------------------------------------------------------
r17013 | campbellbarton | 2008-10-11 06:30:09 +0200 (Sat, 11 Oct 2008) | 3 lines

removed warning in fluidsim.c
fixed tooltip for delay sensor - delay is in tics not frames

------------------------------------------------------------------------
r17012 | blendix | 2008-10-11 02:56:49 +0200 (Sat, 11 Oct 2008) | 15 lines

Fix for a relative paths issue in the game engine. G.sce was being
kept as the original file, but that can't work correct for solving
relative paths once a .blend in another directory is loaded. The
reason it went OK with the apricot tech demo is that the images there
were lib linked into the level file, which still worked.

Now it sets G.sce to the current loaded .blend file. Note that the
python config file path still uses the first loaded .blend file so it
looks in the same location each time.

Also added some NULL pointer checks in the joystick code because it
was crashing there on Mac, there's similar checks in related functions
so I'm assuming this was just a missed case.


------------------------------------------------------------------------
r17011 | aligorith | 2008-10-11 00:49:17 +0200 (Sat, 11 Oct 2008) | 3 lines

Bugfix #17802: Grease Pencil still draws when not shown in Image Editor

Added missing check for this case.
------------------------------------------------------------------------
r17009 | sirdude | 2008-10-10 22:18:35 +0200 (Fri, 10 Oct 2008) | 6 lines

Removed entry for: heigth typo (its not in blender)
fixed some warnings for po files on solaris.
couldn't tell utf-8 from UTF-8

Kent

------------------------------------------------------------------------
r17008 | sirdude | 2008-10-10 19:52:25 +0200 (Fri, 10 Oct 2008) | 13 lines

This commit fixes bug: [#17770] Texture Plugins do not work. (on windows)
Thanks to Lguillaume for helping with this one.


Had to go back to bug: [#17631] PIL_dynlib_get_error_as_string() returns NULL, causes crash

and revert the fix and make some new updates.
function needs to return NULL so fix the functions that were assuming it
always returns a string.

Kent


------------------------------------------------------------------------
r17007 | ton | 2008-10-10 16:22:54 +0200 (Fri, 10 Oct 2008) | 3 lines

Missing include, apparently only scons+mingw suffers this, strange.


------------------------------------------------------------------------
r17005 | ben2610 | 2008-10-10 09:20:42 +0200 (Fri, 10 Oct 2008) | 1 line

BGE bug #17789 fixed: Lock Active Camera and Layer to Scene doesn't work in BGE. This bug fix applies only to games started from the 3D view. Now the BGE will use the layer and camera selected in the 3d viewport under the mouse when the user presses P. Note that there is still a problem with the restart game actuator but that's another bug.
------------------------------------------------------------------------
r17004 | erwin | 2008-10-10 07:32:04 +0200 (Fri, 10 Oct 2008) | 2 lines

fix: leave default behaviour the same to be backward compatible with previous rigid body constraints: No Collision between linked objects if button is pressed.

------------------------------------------------------------------------
r17003 | erwin | 2008-10-10 07:17:47 +0200 (Fri, 10 Oct 2008) | 1 line

use BLI_strcasecmp instead of strcasecmp so it actually links under Windows
------------------------------------------------------------------------
r17002 | erwin | 2008-10-10 07:12:57 +0200 (Fri, 10 Oct 2008) | 2 lines

Fix bug in rigid body constraint buttons drawing, and while we are at it, add 'Collision' button to disable collisions between bodies, linked between constraint.

------------------------------------------------------------------------
r17000 | campbellbarton | 2008-10-10 00:44:52 +0200 (Fri, 10 Oct 2008) | 4 lines

fix for [#12255] Rename the File at File Window,the file is deleted

renaming a file on win32 would delete it because it didnt test if the 2 filenames were the same (case insensitive), and remove the 'to' file to make way for the 'from' file.

------------------------------------------------------------------------
r16999 | ianwill | 2008-10-10 00:28:44 +0200 (Fri, 10 Oct 2008) | 11 lines

== Python  ==

Bug: [#17734] Loading a python script's help dosn't work

reported by Rian Tut (thanks).

Actual problem: scripts with spaces in their filenames were not supported by the code that registers scripts in menus and runs them. Added support w/o breaking eventual, rare scripts that parse the Bpymenus file. They will still need an update to support filenames with spaces, like done here for these scripts: Scripts Help Browser and Scripts Config Editor.

PS: tested on Linux. Please test on other platforms: just make sure scripts still appear in menus (the File->Export, for example), even after re-registering them (Scripts window -> Scripts Menu -> Update Menus) and that the Scripts Help Browser still works.


------------------------------------------------------------------------
r16996 | ton | 2008-10-09 19:18:33 +0200 (Thu, 09 Oct 2008) | 6 lines

Reverted bugfix #17709

I misread report, didn't know vertex bevel weights existed even!



------------------------------------------------------------------------
r16995 | ton | 2008-10-09 19:00:53 +0200 (Thu, 09 Oct 2008) | 5 lines

bugfix #17709

SHIFT+CTRL+E 'bevel weight' didn't support vertex selection mode yet.


------------------------------------------------------------------------
r16994 | ton | 2008-10-09 16:28:17 +0200 (Thu, 09 Oct 2008) | 13 lines

Bugfix #11712

Definitely one of the oldest bugs ever (1995 or so). 
Case is a path (child on path, or deformer, or motion modifier) where the
child is far away from path (300 units or so). In that case you can see
the path jumping to another position a bit after a few frames.

Reason:
For interpolating path positions, I was using bspline code still having a 
very ancient constant 0.1666f. 
Floats have higher precision, like 0.16666666. That solved it :)


------------------------------------------------------------------------
r16993 | genscher | 2008-10-09 14:19:16 +0200 (Thu, 09 Oct 2008) | 1 line

Bugfix for [#17333] Fluid bake memory issues provided by Andre Pinto
------------------------------------------------------------------------
r16992 | ton | 2008-10-09 12:59:48 +0200 (Thu, 09 Oct 2008) | 8 lines

Bugfix #8911

Image counter can be set to zero when unlinking images, whilst they can
be in use for texture. This is a temporary solution to prevent errors!

(Now image unlinking doesn't set zero users anymore)


------------------------------------------------------------------------
r16991 | ben2610 | 2008-10-09 08:20:16 +0200 (Thu, 09 Oct 2008) | 1 line

Fix a crash on null pointer in previous commit.
------------------------------------------------------------------------
r16990 | ben2610 | 2008-10-09 08:06:11 +0200 (Thu, 09 Oct 2008) | 10 lines

BGE bug fix: fix several bugs and inconsistencies in sound actuator:

- support stopping of loop sound
- support stopping by python
- keep state of actuator in sync with audio device. 
  The lack of state sync was causing several other problems:
  - actuator stop playing the sound
  - sound chopped before the end
  - not possible to pause sound
  
------------------------------------------------------------------------
r16989 | sirdude | 2008-10-09 06:11:33 +0200 (Thu, 09 Oct 2008) | 9 lines

This is patch [#17773] seq plugin crash -> use not converted to float with ibuf1 & ibuf2

Submitted by Rob Hausauer (paprmh) 

See the link for details:
https://projects.blender.org/tracker/index.php?func=detail&aid=17773&group_id=9&atid=127

Kent

------------------------------------------------------------------------
r16987 | aligorith | 2008-10-09 01:42:00 +0200 (Thu, 09 Oct 2008) | 3 lines

Grease Pencil:

Added comments a few + stroke simplification code (hidden behind rt and userpref, adapted from theeth's etch-a-ton code). This shouldn't have any other adverse effects.
------------------------------------------------------------------------
r16983 | hos | 2008-10-08 21:58:57 +0200 (Wed, 08 Oct 2008) | 4 lines

Patch #7065, from Stephane SOPPERA, part two: improvements when using
the commandline 'nmake' to build blender on windows -- please test!


------------------------------------------------------------------------
r16982 | hos | 2008-10-08 21:56:41 +0200 (Wed, 08 Oct 2008) | 4 lines

Patch #7065, from Stephane SOPPERA, part one: define macro WITH_OPENEXR
when the sources are configured with OpenEXR support.


------------------------------------------------------------------------
r16981 | genscher | 2008-10-08 21:15:19 +0200 (Wed, 08 Oct 2008) | 1 line

Fixing typo in last commit
------------------------------------------------------------------------
r16980 | ton | 2008-10-08 20:35:41 +0200 (Wed, 08 Oct 2008) | 14 lines

Bugfix #17784

Playanim now works for:

- tiff, cineon, dpx, hdr, exr

Only multilayer not, that's too much for a bugfix. Multilayer is a totally
different image format, handled separately.

ALso removed redundant printing for dpx/cineon.
And fixed crash in cineon when G.scene doesnt exist. Bad bad, should
not be there!


------------------------------------------------------------------------
r16979 | ton | 2008-10-08 20:15:19 +0200 (Wed, 08 Oct 2008) | 6 lines

Bugfix #17784

libtiff init was missing on "Play anim", causing it to not read tiffs.



------------------------------------------------------------------------
r16977 | ton | 2008-10-08 19:34:26 +0200 (Wed, 08 Oct 2008) | 5 lines

Bugfix #17785

Fixed tooltip for "double sided" so it clearly denotes it's about light. :)


------------------------------------------------------------------------
r16976 | campbellbarton | 2008-10-08 19:07:32 +0200 (Wed, 08 Oct 2008) | 3 lines

own error, bvh import would always miss the last frame.
thanks ppClarity for picking up on this.

------------------------------------------------------------------------
r16975 | ton | 2008-10-08 18:50:06 +0200 (Wed, 08 Oct 2008) | 6 lines

Bugfix #17778

COmpositor: Multilayer images in Image input node could crash on 
making icon previews for the browse menu.


------------------------------------------------------------------------
r16974 | khughes | 2008-10-08 18:37:33 +0200 (Wed, 08 Oct 2008) | 8 lines

Python API
----------
Add optional string argument to Object.newParticleSystem() method, so that
objects can link to existing particle systems (if the name of the particle
system is known).  Also cleans up some code in Object.c which accesses the
particle sys listbase.


------------------------------------------------------------------------
r16973 | ton | 2008-10-08 18:29:09 +0200 (Wed, 08 Oct 2008) | 6 lines

Bugfix #17767

NULL check missing in particle bvhtree testing.



------------------------------------------------------------------------
r16972 | ton | 2008-10-08 17:42:49 +0200 (Wed, 08 Oct 2008) | 6 lines

Bugfix #17769

Someone managed to write over the protected part of ID name (python???).
This crashes blender in unexpted place, added error print for this.


------------------------------------------------------------------------
r16971 | campbellbarton | 2008-10-08 13:40:39 +0200 (Wed, 08 Oct 2008) | 2 lines

my changes broke the "level" option for joystick keys being held between states

------------------------------------------------------------------------
r16970 | campbellbarton | 2008-10-08 11:27:26 +0200 (Wed, 08 Oct 2008) | 3 lines

fix for a bug where getting ID props would rename the datablock (including its type), then crash.
http://blenderartists.org/forum/showthread.php?p=1228670#post1228670

------------------------------------------------------------------------
r16969 | sirdude | 2008-10-08 11:15:16 +0200 (Wed, 08 Oct 2008) | 4 lines

Fixed a tooltip typo

Kent

------------------------------------------------------------------------
r16968 | ton | 2008-10-08 10:08:58 +0200 (Wed, 08 Oct 2008) | 3 lines

Error about "max open floating panels" used wrong math.


------------------------------------------------------------------------
r16967 | campbellbarton | 2008-10-08 05:16:19 +0200 (Wed, 08 Oct 2008) | 4 lines

* Joystick sensor is now only triggered from events of the selected type.
* Keyboard sensor - added (back?) support for qualifiers (Hold buttons in the UI)


------------------------------------------------------------------------
r16966 | theeth | 2008-10-08 03:04:07 +0200 (Wed, 08 Oct 2008) | 3 lines

bugfix: missing attributes from shrinkwrap copy function.

Reported by Bassam on IRC
------------------------------------------------------------------------
r16963 | sirdude | 2008-10-07 22:54:34 +0200 (Tue, 07 Oct 2008) | 11 lines

Fixed some common typo's in our translation files.
Centre instead of Center
Suface instead of Surface

I probably won't do too many more of these but these
were pretty easy.  I'm starting to make some headway on creating
a blender.pot file.  http://www.cs.umn.edu/~mein/blender/gettext
for anyone that is interested in status so far.

Kent

------------------------------------------------------------------------
r16962 | migius | 2008-10-07 22:34:24 +0200 (Tue, 07 Oct 2008) | 11 lines

DXF-Exporter update
v1.27 - 2008.10.07 by migius
- exclude Stani's DXF-Library to extern module
- add "hidden mode" substitut: back-faces removal
- add support for mesh ->POLYFACE
- optimized code for "Flat" procedure
- modif FACE class for r12
- add mesh-polygon -> Bezier-curve converter (Yorik's code)
- add support for curves ->POLYLINEs
- add "3d-View to Flat" - geometry projection to XY-plane

------------------------------------------------------------------------
r16961 | eof | 2008-10-07 19:13:35 +0200 (Tue, 07 Oct 2008) | 17 lines

WebPlugin
fix:
* web plugin works on opera too

sandboxing:
* added AppArmor configuration
* enabled privilege separation for the web plugin: the blender player can run as a lower privileged user, xauth token is generated on the fly .

testing:
* web plugin tested on ubuntu 32/64bit, fedora and FreeBSD

Changed only cmake build script: AppArmor is enabled by default, if you want to enable privilege separation instead, you have to change the cmake variable WEBPLUGIN_SANDBOX_MODE to privsep (or none to 
disable it).

Warning: source/gameengine/GamePlayer/xembed/blenderplayer-wrapper.c must be setuid root in order to change user successfully


------------------------------------------------------------------------
r16960 | blendix | 2008-10-07 17:01:44 +0200 (Tue, 07 Oct 2008) | 10 lines

Fix for bug #13363: ray (qmc) shadows had some light leaking issues,
due to jittering of the start position for antialiasing in a pixel.

Now it distributes the start position over the fixed osa sample
positions, instead of of random positions in space. The ugly bit is
that a custom ordering was defined for osa 8/11/16 to ensure that the
first 4 are distributed relatively fair for adaptive sampling to decide
if more samples need to be taken.


------------------------------------------------------------------------
r16959 | ton | 2008-10-07 16:24:08 +0200 (Tue, 07 Oct 2008) | 6 lines

Bugreport in irc, alxarch report:

Fgon flushing for EM_selectmode_flush() should not happen in face select
mode. That prevents 'select swap' or deselecting fgons.


------------------------------------------------------------------------
r16958 | campbellbarton | 2008-10-07 10:19:48 +0200 (Tue, 07 Oct 2008) | 2 lines

own error moving macro to function, double checked and its correct now.

------------------------------------------------------------------------
r16957 | campbellbarton | 2008-10-07 07:09:24 +0200 (Tue, 07 Oct 2008) | 8 lines

joystick update
* use SDL events to trigger the sensor, trigger was being forced every tick. removed workaround for this problem.
* added "All Events" option, similar to all keys in the keyboard sensor.
  This means every event from the joystick will trigger the sensor, however only events from the selected type (axis/button/hat) is used to set the positive state of the sensor.
* Added python function sens_joy.GetButtonValues(), returns a list of pressed button indicies.
* Removed pressed/released option for joystick buttons, it was the same as the invert option.


------------------------------------------------------------------------
r16954 | quorn | 2008-10-07 00:08:14 +0200 (Tue, 07 Oct 2008) | 1 line

Comments for text editor functions. More to come tomorrow.
------------------------------------------------------------------------
r16953 | theeth | 2008-10-06 23:41:20 +0200 (Mon, 06 Oct 2008) | 3 lines

Grease Pencil Bugfix

When converting to armature, don't flag the first bone of each stroke as connected.
------------------------------------------------------------------------
r16952 | sirdude | 2008-10-06 21:57:42 +0200 (Mon, 06 Oct 2008) | 5 lines

patch [#17772] Fluid solver not built with OpenMP in Makefile build system
Submitted By: gsr

Kent

------------------------------------------------------------------------
r16949 | hos | 2008-10-06 19:11:10 +0200 (Mon, 06 Oct 2008) | 3 lines

Use xrange() rather than range() for loop iterations.


------------------------------------------------------------------------
r16948 | hos | 2008-10-06 19:06:13 +0200 (Mon, 06 Oct 2008) | 8 lines


A fix for bug #8814:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=8814&group_id=9

Smarter handling of faces that have a material index that points
to a null material.


------------------------------------------------------------------------
r16946 | joeedh | 2008-10-06 12:24:32 +0200 (Mon, 06 Oct 2008) | 1 line

one-liner fix for id property duplication bug
------------------------------------------------------------------------
r16945 | campbellbarton | 2008-10-06 11:17:49 +0200 (Mon, 06 Oct 2008) | 3 lines

* dont change handle types when adjusting the radius or tilt of a curve handel.
* dont take the handles into account for the manipulator center when they are not drawn.

------------------------------------------------------------------------
r16944 | aligorith | 2008-10-06 10:29:15 +0200 (Mon, 06 Oct 2008) | 3 lines

Bugfix:

Grease Pencil sketches in OGL-render should only show up if they were enabled for the original 3d-view.
------------------------------------------------------------------------
r16943 | campbellbarton | 2008-10-06 10:02:35 +0200 (Mon, 06 Oct 2008) | 7 lines

fix for [#17560] Error in BPY_run_python_script
any path starting with a '.' on win32 would be replaced with C:\ (or the default root)
this was added rev 6568 so the file selector would replace "." with C:\. should be moved to fileselector but for now compare with "." rather then checking the first char.

header_view3d.c - prop edit and render were aligning in curve edit mode.


------------------------------------------------------------------------
r16942 | campbellbarton | 2008-10-06 08:10:14 +0200 (Mon, 06 Oct 2008) | 7 lines

fix for own bugs in curves.
- the number of segments was always 1 too many on cyclic curves.
- [#17739] - normals were not being calculated when rendering curves.

Replaced macro DL_SURFINDEX with a function. it that assumes variable names and could break from the loop that called it.


------------------------------------------------------------------------
r16941 | campbellbarton | 2008-10-06 03:59:11 +0200 (Mon, 06 Oct 2008) | 2 lines

use uint8_t and uint32_t rather then Uint8 and Uint32, (mingw didnt know about Uint's)

------------------------------------------------------------------------
r16937 | jesterking | 2008-10-05 21:07:09 +0200 (Sun, 05 Oct 2008) | 3 lines

=== SCons ===

* small doc update
------------------------------------------------------------------------
r16936 | schlaile | 2008-10-05 19:31:33 +0200 (Sun, 05 Oct 2008) | 13 lines

== FFMPEG ==

Added optional OGG / theora / vorbis support.
(OGG-format encoding is currently disabled, since the bundled ffmpeg version
is broken here)

Fixed a bug with PTS-encoding, to make theora work.

You have to explicitly enable it and currently only scons is supported.

Otherwise: enjoy! :)


------------------------------------------------------------------------
r16935 | khughes | 2008-10-05 16:31:40 +0200 (Sun, 05 Oct 2008) | 5 lines

Python API
----------
Change documentation for Object.getSize(), Object.getEuler(), Object.getLocation() to clear up confusion about 'localspace' parameter.


------------------------------------------------------------------------
r16934 | aligorith | 2008-10-05 14:06:55 +0200 (Sun, 05 Oct 2008) | 3 lines

* Grease Pencil - changed defaulted for sensitivity userprefs. Will overwrite old settings too (to keep users less confused about this).

* Removed some unneeded funcs (compiler warnings)
------------------------------------------------------------------------
r16933 | ton | 2008-10-05 14:02:36 +0200 (Sun, 05 Oct 2008) | 8 lines

Bugfix #8908

Using shapekeys, you get corruptions in other shapes when you undo into
a previous editmode session. The "key index" values become invalid.
Now, if you have shape keys, entering editmode will clear the previously 
stored undos.


------------------------------------------------------------------------
r16932 | aligorith | 2008-10-05 13:59:19 +0200 (Sun, 05 Oct 2008) | 1 line

Fixed issue from previous commit with extra frames being pasted (but with no strokes).
------------------------------------------------------------------------
r16931 | aligorith | 2008-10-05 13:49:09 +0200 (Sun, 05 Oct 2008) | 7 lines

Grease Pencil:

* Separated duplicate methods out into several functions

* Added copy/paste for gp-frames in Action Editor. Only strokes that are appropriate for the spacetype that the destination layer belongs to will be added to avoid wasted memory usage. Otherwise, was impossible to move sketches between views/layers (which was intended for PyAPI access that didn't get done).

Note: there will currently still be an extra gp-frame created, even if the current no strokes got pasted. There's commented out code which would delete it, but somehow that causes errors, so better to be safe for now.
------------------------------------------------------------------------
r16930 | aligorith | 2008-10-05 12:48:07 +0200 (Sun, 05 Oct 2008) | 3 lines

Bugfix:

Reordering Grease-Pencil frames in the Action Editor after transforms was not working at all. Seems I forgot to fix this part after changing what the 'Grease Pencil' editing mode in Action Editor showed.
------------------------------------------------------------------------
r16929 | jhk | 2008-10-05 11:44:46 +0200 (Sun, 05 Oct 2008) | 2 lines

Fix for [#17758] Particle Caching Problem
-A line initializing particles from pre-cache days was still in place causing the wrong behavior.
------------------------------------------------------------------------
r16928 | ton | 2008-10-05 11:27:14 +0200 (Sun, 05 Oct 2008) | 8 lines

Bugfix #17750

Wrap text and moving cursor with a selection still crashed.
Thanks Zanqdo! :)

(Also cleaned code layout to use same convention as it was)


------------------------------------------------------------------------
r16927 | blendix | 2008-10-05 03:15:58 +0200 (Sun, 05 Oct 2008) | 3 lines

Fix for bug #17762: id property double type did not get copied correct.


------------------------------------------------------------------------
r16926 | blendix | 2008-10-05 02:21:43 +0200 (Sun, 05 Oct 2008) | 4 lines

Fix for bug #17761: small GLSL update tweak, switching ray and
buffer shadow didn't update the viewport correct.


------------------------------------------------------------------------
r16925 | blendix | 2008-10-05 00:21:46 +0200 (Sun, 05 Oct 2008) | 5 lines

Fix for bug #17684: GLSL bug with shadows and material nodes,
missed unbinding a texture giving extremely slow frontbuffer
drawing.


------------------------------------------------------------------------
r16924 | blendix | 2008-10-04 23:26:48 +0200 (Sat, 04 Oct 2008) | 4 lines

Fix for part of bug #17759: point cache clearing did too much, also
clearing other physics systems on the same object.


------------------------------------------------------------------------
r16923 | quorn | 2008-10-04 23:04:16 +0200 (Sat, 04 Oct 2008) | 2 lines

Bugfix for [#17748] "Copy and paste under window since rev 16769"
Now actually copies to the clipboard on copy/cut when editing UI fields.
------------------------------------------------------------------------
r16922 | blendix | 2008-10-04 22:22:43 +0200 (Sat, 04 Oct 2008) | 4 lines

Fix wrong result for GLSL material node with only diffuse output
and shadeless material.


------------------------------------------------------------------------
r16921 | blendix | 2008-10-04 21:58:08 +0200 (Sat, 04 Oct 2008) | 5 lines

Fix for bug #17752: the particle modifier convert button didn't
do anything for dupli objects and groups, which could already
be converted with ctrl+shift+A, but convert can do it as well.


------------------------------------------------------------------------
r16920 | blendix | 2008-10-04 19:04:23 +0200 (Sat, 04 Oct 2008) | 4 lines

Bugfix: modified game material settings in blender didn't get
taken into account when loading a new .blend.


------------------------------------------------------------------------
r16919 | blendix | 2008-10-04 18:42:36 +0200 (Sat, 04 Oct 2008) | 3 lines

Game player: preserve material, debug settings, between .blend files.


------------------------------------------------------------------------
r16918 | ton | 2008-10-04 17:02:40 +0200 (Sat, 04 Oct 2008) | 6 lines

Bugfix #17753

Fix for rev 16702 commit to better support per-vertex radius in curves.
It caused the directional lines for 3d curves to not draw correct.


------------------------------------------------------------------------
r16917 | ton | 2008-10-04 15:42:45 +0200 (Sat, 04 Oct 2008) | 6 lines

Bugfix #17750

Texteditor misses NULL checks in 'wrap text' code, moving cursur while
text is selected.


------------------------------------------------------------------------
r16916 | ton | 2008-10-04 14:31:54 +0200 (Sat, 04 Oct 2008) | 7 lines

Bugfix #17746

Curve deform did not work yet on Text and Curve objects, this because it
was not providing the entire array of vertices, for a proper detection of
min/max bounds of the full input.


------------------------------------------------------------------------
r16914 | ton | 2008-10-04 13:04:09 +0200 (Sat, 04 Oct 2008) | 6 lines

Bugfix #17720

Retopo crashed on undo-redo, caused by bad copying of data for undo stack.
I solved crash or corruptions, but it still is pretty weak code here.


------------------------------------------------------------------------
r16907 | ben2610 | 2008-10-03 23:50:42 +0200 (Fri, 03 Oct 2008) | 1 line

More cosmetic changes to the bullet buttons: move most common soft body buttons to main panel, only leave advanced settings in advanced panel. Reduce size of advance panel.
------------------------------------------------------------------------
r16906 | erwin | 2008-10-03 23:42:19 +0200 (Fri, 03 Oct 2008) | 2 lines

bugfix: add Ghost support for soft bodies, so that they don't collide with ghosts, and can be ghost themselves.

------------------------------------------------------------------------
r16905 | erwin | 2008-10-03 22:51:56 +0200 (Fri, 03 Oct 2008) | 6 lines

Move the Solaris workaround in btScalar behind the sun define, to only make sun and apple ppc slower:
#if defined (__sun) || defined (__sun__) || defined (__sparc) || (defined (__APPLE__) && ! defined (__i386__))
Also includes a fix to uninitialized variable (can cause failing collisions).

If possible, report all changes to extern/bullet2 to http://code.google.com/p/bullet/issues/list

------------------------------------------------------------------------
r16903 | ben2610 | 2008-10-03 22:17:05 +0200 (Fri, 03 Oct 2008) | 10 lines

BGE patch: some cosmetic change in the bullet buttons:

- Bring Actor button back in main panel: makes the users
  life easier to identify which object is visible to 
  near and radar sensors.
- Give more space to the Advanced Settings panel.
- Display radius control button even for static objects
  if sphere bound shape is selected. Same for displaying
  the radius in the 3D view.

------------------------------------------------------------------------
r16902 | blendix | 2008-10-03 21:34:49 +0200 (Fri, 03 Oct 2008) | 5 lines

Fix for part of bug #17464, though not the original issue yet. A GLSL
shadow drawing fix also affected 3d view opengl render, hiding armatures,
now there's separate flags for it.


------------------------------------------------------------------------
r16901 | blendix | 2008-10-03 21:30:45 +0200 (Fri, 03 Oct 2008) | 3 lines

Small fix for (harmless) use of uninitialized memory.


------------------------------------------------------------------------
r16899 | sirdude | 2008-10-03 15:16:10 +0200 (Fri, 03 Oct 2008) | 7 lines

Solaris was having problems with sqrtf and friends again.
I changed sqrtf to sqrt in elbeem
in bullet2 I added defines found in floatpatch.h eventually
we should make a "floatpatch.h" that all of blender can use.

Kent

------------------------------------------------------------------------
r16898 | genscher | 2008-10-03 15:02:34 +0200 (Fri, 03 Oct 2008) | 1 line

Bugfix for fluidsim UI inconsistencies, please check your settings in old files
------------------------------------------------------------------------
r16897 | aligorith | 2008-10-03 13:56:11 +0200 (Fri, 03 Oct 2008) | 9 lines

More Grease Pencil touchups:

* Eraser size is now UserPref. This way it is more easily tweaked than using layer stroke-thickness squared, but it is less accessible.
 
* Restored stroke 'smoothing' (post-conversion) option as UserPref option. Off by default.

* Fixed bug with convert tools. Was adding an extra datablock everytime, that wasn't being used (and was subsequently dicarded).

* Moved pressure vars from paint-loop to temp-struct (during painting). Also, moved the macro which tests for converting straight lines.
------------------------------------------------------------------------
r16896 | campbellbarton | 2008-10-03 11:51:43 +0200 (Fri, 03 Oct 2008) | 8 lines

 interpreted request from Carsten - make message sensor work.
object message actuators needed the prefix OB when sending a message to a specific object.--This line, and those below, will be ignored--

M    source/gameengine/Converter/KX_ConvertActuators.cpp
M    source/blender/blenkernel/BKE_blender.h
M    source/blender/src/buttons_logic.c
M    source/blender/blenloader/intern/readfile.c

------------------------------------------------------------------------
r16895 | aligorith | 2008-10-03 11:40:48 +0200 (Fri, 03 Oct 2008) | 3 lines

Grease Pencil bugfix:

Disabled fancy 'dot' drawing for Image Editor. This is still just a quick-fix (like for fancy strokes), and it would be nice to get the scaling right someday.
------------------------------------------------------------------------
r16894 | campbellbarton | 2008-10-03 08:27:41 +0200 (Fri, 03 Oct 2008) | 4 lines

Blender works with python 2.6, our own import functions that replace pythons internal function needed updating for an extra in argument in 2.6.

if importing is not working blender should not crash (was crashing on exit)

------------------------------------------------------------------------
r16892 | campbellbarton | 2008-10-03 06:41:02 +0200 (Fri, 03 Oct 2008) | 5 lines

error with GameLogic.globalDict loading. It would replace the dictionary rather then updating it.
This meant the BGE would load in an old dictonary replacing the loaded dict, loosing settings.

was also missing a decref for marshal data

------------------------------------------------------------------------
r16891 | aligorith | 2008-10-03 05:29:34 +0200 (Fri, 03 Oct 2008) | 1 line

Added back a few lines that were accidentally chopped out when fixing pad0 view feature. This means that the grid is drawn correctly (i.e. not shown) when the view is rotated using the numpad up/down/left/right keys. 
------------------------------------------------------------------------
r16890 | blendix | 2008-10-03 01:04:28 +0200 (Fri, 03 Oct 2008) | 3 lines

Fix for bug #17722: sun light in the texture viewmode was broken.


------------------------------------------------------------------------
r16889 | blendix | 2008-10-03 00:55:25 +0200 (Fri, 03 Oct 2008) | 4 lines

Fix for bug #17735: vertex color render layer got invalid value
when switching to weight paint mode.


------------------------------------------------------------------------
r16886 | theeth | 2008-10-02 19:20:58 +0200 (Thu, 02 Oct 2008) | 1 line

transform snap bugfix: correctly ignore hidden elements when snapping to edit mode mesh
------------------------------------------------------------------------
r16885 | campbellbarton | 2008-10-02 19:11:49 +0200 (Thu, 02 Oct 2008) | 3 lines

missing ; in last commit
radius was not being calculated on curves that had a bevel object

------------------------------------------------------------------------
r16884 | campbellbarton | 2008-10-02 18:59:08 +0200 (Thu, 02 Oct 2008) | 2 lines

blender would crash if the "sys" module didnt import, now just give a warning and continue.

------------------------------------------------------------------------
r16883 | sirdude | 2008-10-02 18:52:39 +0200 (Thu, 02 Oct 2008) | 14 lines

Maybe not needed, I was running into some problems though
and noticed dos line endings in a bunch of files so ran
dos2unix on everything in bullet2.

Erwin,  I noticed there are a few files that do not have
license info in them, couple of quick examples are: btDefaultMotionState.h
btHashMap.h btQuickprof.cpp
could you take a look at add where needed?   If you want I can give a list
of files I think should get it added  and or just add the standard one
say the one in src/btBulletCollisionCommon.h 

Kent


------------------------------------------------------------------------
r16882 | ton | 2008-10-02 14:29:45 +0200 (Thu, 02 Oct 2008) | 5 lines

Bugfix #17723

Clipboard copy/paste error, missing NULL check caused crashes.


------------------------------------------------------------------------
r16881 | jesterking | 2008-10-02 10:46:04 +0200 (Thu, 02 Oct 2008) | 2 lines

* return the right error code
* print error message when something goes wrong with nsis installer creation
------------------------------------------------------------------------
r16880 | aligorith | 2008-10-02 10:39:30 +0200 (Thu, 02 Oct 2008) | 7 lines

Keyframe Checking (i.e. does given frame have a keyframe) is now implemented in the keyframing api. 

Replaced the method used in to check if there's a keyframe on the current frame, when drawing the active object name / frame number info with this new code. 
- It should in theory be faster than the previous code, as it doesn't have to build an entire list everytime of all keyframes, and also uses more efficient search method.
- Added some settings to control what sources of animation data are used (per 3d-view). Can be found in the View Properties panel.

This should be stable... release builders should ignore this commit for now (to avoid having differences between release candidates).
------------------------------------------------------------------------
r16879 | jesterking | 2008-10-02 08:22:36 +0200 (Thu, 02 Oct 2008) | 1 line

* use release flags as default, except for openmp support
------------------------------------------------------------------------
r16878 | jesterking | 2008-10-02 08:11:47 +0200 (Thu, 02 Oct 2008) | 2 lines

* make sure we link against proper openmp library when using msvc
* return error code from makensis process instead of 0
------------------------------------------------------------------------
r16875 | campbellbarton | 2008-10-02 03:12:37 +0200 (Thu, 02 Oct 2008) | 2 lines

only paint onto selected faces when painting mask is enabled. (request from Carsten)

------------------------------------------------------------------------
r16873 | campbellbarton | 2008-10-02 02:22:28 +0200 (Thu, 02 Oct 2008) | 2 lines

Python 2.4 should build with the game engine now, no thanks to python for switching from char to const char

------------------------------------------------------------------------
r16872 | ben2610 | 2008-10-01 23:17:00 +0200 (Wed, 01 Oct 2008) | 1 line

BGE patch: add frameProp to Ipo actuator (Carsten's request).
------------------------------------------------------------------------
r16871 | ben2610 | 2008-10-01 21:16:13 +0200 (Wed, 01 Oct 2008) | 25 lines

BGE patch: new force field constraint actuator

A new type of constraint actuator is available: Force field.
It provides a very similar service to the Fh material feature
but with some specificities:
- It is defined at the object level: each object can have 
  different settings and you don't need to use material.
- It can be applied in all 6 directions and not just -Z.
- It can be enabled/disabled easily (it's an actuator).
- You can have multiple force fields active at the same time
  on the same object in different direction (think of a 
  space ship in a tunnel with a repulsive force field
  on each wall).
- You can have a different damping for the rotation.

Besides that it provides the same dynamic behavior and the 
parameters are self explanatory.
It works by adapting the linear and angular velocity: the
dynamic is independent of the mass. It is compatible with
all other motion actuators.

Note: linear and anysotropic friction is not yet implemented,
the only friction will come from the object damping parameters. 
Support for friction will be added in a future revision.

------------------------------------------------------------------------
r16868 | genscher | 2008-10-01 19:02:38 +0200 (Wed, 01 Oct 2008) | 1 line

Disable building of fftw
------------------------------------------------------------------------
r16864 | aligorith | 2008-10-01 10:23:08 +0200 (Wed, 01 Oct 2008) | 1 line

General tidying of Grease Pencil code...
------------------------------------------------------------------------
r16863 | ben2610 | 2008-10-01 10:08:27 +0200 (Wed, 01 Oct 2008) | 1 line

Oops, fix compilation error in previous commit.
------------------------------------------------------------------------
r16862 | ben2610 | 2008-10-01 09:55:02 +0200 (Wed, 01 Oct 2008) | 14 lines

BGE bug #17688 fixed: Near Sensor Reset not working (for Gamekit)

Implementation of the PHY_IPhysicsController::SetMargin(),
GetMargin(), SetRadius() and GetRadius() for Bullet and Sumo
to allow resetting the Near sensor radius. For bullet use 
the new setUnscaledRadius() function to change sphere radius.

In pPreparation of a Fh constraint actuator:
- Add KX_IPhysicsController::GetRadius()
- Fix implementation of KX_BulletPhysicsController::GetVelocity()
  (velocity at a point in geometric coordinate)
- Don't try to set velocity on static object (Bullet will assert)
- Add KX_GameObject::GetVelocity() for C access to local velocity

------------------------------------------------------------------------
r16859 | ben2610 | 2008-10-01 09:04:10 +0200 (Wed, 01 Oct 2008) | 1 line

Update MSVC project file for Bullet soft body. Strange, I though I already fixed them.
------------------------------------------------------------------------
r16858 | erwin | 2008-10-01 08:36:17 +0200 (Wed, 01 Oct 2008) | 3 lines

+ hook up a few more parameters, that can be useful for Bullet soft bodies
+ work-in-progress to hook up cluster constraints (they are better than node/vertex pinning, because they maintain a proper world coordinate system)

------------------------------------------------------------------------
r16856 | aligorith | 2008-10-01 02:14:28 +0200 (Wed, 01 Oct 2008) | 3 lines

Bugfix #17721: Action Strips added from scripts don't work properly unless at least one strip has already been added by hand.

Synced the behaviour of the PyAPI when adding strips with the behaviour of UI.
------------------------------------------------------------------------
r16855 | aligorith | 2008-10-01 02:02:06 +0200 (Wed, 01 Oct 2008) | 10 lines

Bugfix #17717: IPOs / Sequencer / Markers: deleting an IPO delete also selected markers

Final attempt at solving this problem. This time I've decided to separate the 'delete markers' from the 'delete keys' hotkeys, as it proved to be too problematic for users. 

The new hotkey for deleting markers is "Shift-XKEY". (or Shift-Delkey) 
P.S. I know that 'Shift' is usually used for 'add' operations, but this will have to do for now...

----

Also, rearranged button order in Timeline header a bit to group keyframing buttons together more.
------------------------------------------------------------------------
r16853 | erwin | 2008-10-01 01:34:25 +0200 (Wed, 01 Oct 2008) | 2 lines

add support for Bullet soft body constraints against a Bullet rigid body, as well as 'fixing' it. Just use the existing rigid body joint to use it. For now, it searches the closest node/vertex to the pivot. So you can use multiple constraints/joint to attach a cloth, soft body etc.

------------------------------------------------------------------------
r16852 | erwin | 2008-10-01 00:05:12 +0200 (Wed, 01 Oct 2008) | 2 lines

add setUnscaledRadius for btSphereShape

------------------------------------------------------------------------
r16851 | blendix | 2008-09-30 19:06:41 +0200 (Tue, 30 Sep 2008) | 4 lines

Fix for bug #17691: edgesplit was crashing on windows on large meshes
due to stack overflow.


------------------------------------------------------------------------
r16850 | aligorith | 2008-09-30 14:30:56 +0200 (Tue, 30 Sep 2008) | 5 lines

Keyframing:

- More cleanups, to move the return of success from insertkey to take into account results of 'only needed' keying option
- Added a 'better' test for size of area than the previous one (for use with the keyframing buttons in the TimeLine)
- Moved the checks for Action/IPO editors to commonkey_context_get() so that the keyframing buttons in TimeLine could also consider using these editor's keyframing methods too
------------------------------------------------------------------------
r16849 | aligorith | 2008-09-30 14:03:31 +0200 (Tue, 30 Sep 2008) | 2 lines

A few cleanups in keyframing.c
- Added missing update calls for buttons window keyframing. This should get rid of all those sporadic update problems (using a different keyingset would result in no curve being added)
------------------------------------------------------------------------
r16848 | aligorith | 2008-09-30 13:52:59 +0200 (Tue, 30 Sep 2008) | 3 lines

Bugfix: 

Keyframing from Buttons Window was broken for Materials/Lamps/Worlds due to a mixup regarding the correct adrcodes for texture-slots.
------------------------------------------------------------------------
r16847 | aligorith | 2008-09-30 12:54:12 +0200 (Tue, 30 Sep 2008) | 7 lines

Action Editor:

* Grease Pencil Mode - now includes the area-ID into the name string. While the numbers currently don't mean much (though they do make it easier to distinguish between views to more than before), they could become handy if/when PyAPI access to Grease Pencil data comes into handy

* Copy + Paste bugfixes
- When there was a collapsed group, it was impossible to get the keyframes in the keyframe summary to be copied too. This fix shouldn't cause any problems with other things...
- Feature to allow pasting to any channel without doing name matching was not working
------------------------------------------------------------------------
r16844 | unclezeiv | 2008-09-30 11:22:11 +0200 (Tue, 30 Sep 2008) | 2 lines

reverting wrong commit, sorry all

------------------------------------------------------------------------
r16843 | unclezeiv | 2008-09-30 11:13:54 +0200 (Tue, 30 Sep 2008) | 2 lines

svn merge -r 16780:16842 https://svn.blender.org/svnroot/bf-blender/trunk/blender

------------------------------------------------------------------------
r16842 | blendix | 2008-09-30 09:01:37 +0200 (Tue, 30 Sep 2008) | 3 lines

Fix for bug #13624: knife cut with vertex snapping was broken.


------------------------------------------------------------------------
r16841 | blendix | 2008-09-30 08:12:47 +0200 (Tue, 30 Sep 2008) | 4 lines

Fix for bug #17302: subsurf + particle size vertex groups did not
work correct, also refactored some code here to make it more clear.


------------------------------------------------------------------------
r16839 | campbellbarton | 2008-09-30 07:05:50 +0200 (Tue, 30 Sep 2008) | 2 lines

WITH_ELBEEM diabled wasnt working with cmake

------------------------------------------------------------------------
r16837 | campbellbarton | 2008-09-30 06:08:00 +0200 (Tue, 30 Sep 2008) | 4 lines

modify BLI_convertstringcode so windows paths are converted from C:\foo.jpg to /c/foo.jpg
since there is C:\ prefix cant exist on a unix system this wont break any files.


------------------------------------------------------------------------
r16836 | campbellbarton | 2008-09-30 01:46:01 +0200 (Tue, 30 Sep 2008) | 4 lines

* free bullet-softbody was using free softbody function.
* mistake from own changes to curves, new curves were being added with too low resolution.
* removed warnings I added recently

------------------------------------------------------------------------
r16835 | blendix | 2008-09-30 01:33:27 +0200 (Tue, 30 Sep 2008) | 4 lines

Fix for part of bug #17521: incorrect uv coordinates for particle
density controlled by a texture.


------------------------------------------------------------------------
r16834 | blendix | 2008-09-30 00:31:47 +0200 (Tue, 30 Sep 2008) | 3 lines

Fix for bug #17713: touch/no override for rendering was broken.


------------------------------------------------------------------------
r16833 | blendix | 2008-09-30 00:07:13 +0200 (Tue, 30 Sep 2008) | 3 lines

Fix for bug #17712: fluid button activation crash.


------------------------------------------------------------------------
r16831 | ben2610 | 2008-09-29 22:13:40 +0200 (Mon, 29 Sep 2008) | 1 line

Add 2 items to CTL-A menu: Scale to ObData and Rotation to ObData. These options allows to apply separately the scale and the rotation to the object data. Usefull to physics compound objects that do not support scaling.
------------------------------------------------------------------------
r16830 | genscher | 2008-09-29 20:10:42 +0200 (Mon, 29 Sep 2008) | 1 line

Do not include manifest file for x64 + Windows, was creating errors on other system
------------------------------------------------------------------------
r16829 | ton | 2008-09-29 19:55:11 +0200 (Mon, 29 Sep 2008) | 7 lines

Bugfix #17711

SunSky didn't include skycolor in raytrace.
Note: there seems to be  an error in sunsky when looking straight down, 
so this option requires raytracing stuff not in outer space. :)


------------------------------------------------------------------------
r16828 | ben2610 | 2008-09-29 19:46:25 +0200 (Mon, 29 Sep 2008) | 1 line

BGE patch: fix force application on soft body. Force is applied on each node, it must be reduced by the same extend.
------------------------------------------------------------------------
r16827 | campbellbarton | 2008-09-29 19:08:11 +0200 (Mon, 29 Sep 2008) | 10 lines

resolve some compiler warnings with intel c/c++ compiler
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later.
* some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion.
* removed unused vars
* obscure python memory leak with colorband.
* make_sample_tables had a loop running wasnt used.
* if 0'd functions in arithb.c that are not used yet.
* made many functions static


------------------------------------------------------------------------
r16826 | ton | 2008-09-29 19:03:24 +0200 (Mon, 29 Sep 2008) | 13 lines

Updated color calculus for sunsky

- removed ugly clamping function (it was dividing XYZ based on max of
  one of the values)
- added option to use Exposure, this only works for brightness (Y).
  results look very pleasant, foggy and hazy results are possible.
  with exposre==0, no exposure happens for HDR extreme range skies,
  this is how yafray rendered it.
- added menu for choosing color spaces (CIE = modern lcds)

Please review! (and yes i know it's still not in World :)


------------------------------------------------------------------------
r16824 | sirdude | 2008-09-29 17:02:20 +0200 (Mon, 29 Sep 2008) | 4 lines

Move Korean file from kr to ko also updated it to newer file.

Kent

------------------------------------------------------------------------
r16823 | genscher | 2008-09-29 16:44:12 +0200 (Mon, 29 Sep 2008) | 1 line

[#17703] Segfault on fluid activation.
------------------------------------------------------------------------
r16822 | genscher | 2008-09-29 16:20:27 +0200 (Mon, 29 Sep 2008) | 1 line

[#17707] Slow Cloth Baking
------------------------------------------------------------------------
r16821 | migius | 2008-09-29 16:03:15 +0200 (Mon, 29 Sep 2008) | 22 lines

DXF-Exporter script - initial commit 
 Built on "Stanis Python Library for generating dxf drawing":
History:
v1.25 - 2008.09.28 by migius
 - modif FACE class for r12
 - add mesh-polygon -> Bezier-curve converter (Yorik's code)
 - add support for curves ->POLYLINEs
 - add "3d-View to Flat" - geometry projection to XY-plane
v1.24 - 2008.09.27 by migius
 - add start UI with preferences
 - modif POLYLINE class for r12
 - changing output format from r9 to r12(AC1009)
v1.23 - 2008.09.26 by migius
 - add finish message-box
v1.22 - 2008.09.26 by migius
 - add support for curves ->LINEs
 - add support for mesh-edges ->LINEs
v1.21 - 2008.06.04 by migius
 - initial adaptation for Blender
v1.1 (20/6/2005) by www.stani.be/python/sdxf
 - Python library to generate dxf drawings

------------------------------------------------------------------------
r16820 | aligorith | 2008-09-29 13:39:58 +0200 (Mon, 29 Sep 2008) | 3 lines

Bugfix #17708: layer IPOs doesn't return the correct layer anymore

When doing IPO-cleanup, added two break statements to hopefully optimise the evaluation process a teeny-weeny bit. However, that caused more problems than it was worth!
------------------------------------------------------------------------
r16819 | ton | 2008-09-29 12:26:20 +0200 (Mon, 29 Sep 2008) | 7 lines

Bugfix #17696

- Area lamp with 1 sample still used an offset for the first sample
- Sample buttons were not visible for area without shadow.



------------------------------------------------------------------------
r16818 | pidhash | 2008-09-29 11:54:26 +0200 (Mon, 29 Sep 2008) | 2 lines

rewiten a if statment

------------------------------------------------------------------------
r16817 | ton | 2008-09-29 11:50:16 +0200 (Mon, 29 Sep 2008) | 6 lines

Bugfix #17687

Scaled cameras get orthogonalized on render, and did not get a signal
to refresh the matrix, resulting in wrong display of camera in 3d win. 


------------------------------------------------------------------------
r16816 | aligorith | 2008-09-29 10:11:26 +0200 (Mon, 29 Sep 2008) | 6 lines

Bugfix:

Recoded pidhash's recent Pad0 (Lastview) commits (r.16802 and r.16810). It was causing major issues with Ortho perspective + rotating the view with the MMB. Setting G.vd->view to -1 was not such a valid way to do so (and also, this didn't play nicely with smoothview).

This feature should now work correctly, though there are still one or two places where it doesn't always seem totally correct yet. 
The basic idea of this feature, is that after going into camera mode (Pad0), pressing Pad0 again lets you go back to the view as you had it before entering camera mode.
------------------------------------------------------------------------
r16815 | erwin | 2008-09-29 10:00:38 +0200 (Mon, 29 Sep 2008) | 2 lines

don't crash when trying to make a soft body 'fh' object

------------------------------------------------------------------------
r16813 | erwin | 2008-09-29 09:17:12 +0200 (Mon, 29 Sep 2008) | 3 lines

Clarify that in Bullet, the 'radius' is used for both sphere bounds, but also for Fh/Rot Fh.
So even if other bound types are used (such as box etc), the radius will be used for Fh/Rot Fh.

------------------------------------------------------------------------
r16812 | erwin | 2008-09-29 08:58:49 +0200 (Mon, 29 Sep 2008) | 2 lines

Add Fh/Rot Fh to Bullet.

------------------------------------------------------------------------
r16811 | campbellbarton | 2008-09-29 06:43:51 +0200 (Mon, 29 Sep 2008) | 2 lines

fix for 3 errors in collada exporting

------------------------------------------------------------------------
r16810 | pidhash | 2008-09-29 06:36:18 +0200 (Mon, 29 Sep 2008) | 2 lines

fixing a little problem with grid after last view commit

------------------------------------------------------------------------
r16808 | erwin | 2008-09-29 06:14:47 +0200 (Mon, 29 Sep 2008) | 6 lines

Update the Bullet/game buttons_bullet, to better reflect usage. 
1) Anisotropic friction works for static and dynamic objects
2) For soft bodies, assume triangle mesh if no bounds a chosen
3) Form factor == inertia scaling factor, it was actually hooked up in Bullet
4) Only show 'radius' if sphere is chosen, or no bounds+dynamics (== sphere bounds)

------------------------------------------------------------------------
r16807 | aligorith | 2008-09-29 06:00:42 +0200 (Mon, 29 Sep 2008) | 7 lines

Patch #17500: fixes: multiple IK's on bone + targetless IK
Submitted by: Teppo Kansala (teppoka)

See patch report for details of fixes.
https://projects.blender.org/tracker/index.php?func=detail&aid=17500&group_id=9&atid=127

Note: the patch submitter's test files were quite nice, and would be good to have in our regression suite.
------------------------------------------------------------------------
r16806 | erwin | 2008-09-29 05:09:03 +0200 (Mon, 29 Sep 2008) | 1 line

added anisotropic friction support for Bullet. Both for static and dynamic objects
------------------------------------------------------------------------
r16805 | campbellbarton | 2008-09-29 04:16:18 +0200 (Mon, 29 Sep 2008) | 4 lines

tests for 2d triangle and quad intersection would only work if the points were ordered clockwise.
now return 1 for clockwise, -1 for counter-clockwise and 0 for no intersection.


------------------------------------------------------------------------
r16803 | aligorith | 2008-09-29 02:47:21 +0200 (Mon, 29 Sep 2008) | 1 line

Updates to hotkeys.py with some hotkeys I've added/changed over past few releases (note, this doesn't cover all of them yet)
------------------------------------------------------------------------
r16802 | pidhash | 2008-09-29 02:44:33 +0200 (Mon, 29 Sep 2008) | 2 lines

Adding last view feature for PAD0

------------------------------------------------------------------------
r16800 | aligorith | 2008-09-29 01:17:44 +0200 (Mon, 29 Sep 2008) | 5 lines

Second try at committing IPO code cleanups...




------------------------------------------------------------------------
r16796 | jhk | 2008-09-28 21:53:37 +0200 (Sun, 28 Sep 2008) | 1 line

A previous commit by me (16701) broke keyed- and none-physics particles or at least made them do funny things.
------------------------------------------------------------------------
r16790 | ton | 2008-09-28 19:05:58 +0200 (Sun, 28 Sep 2008) | 5 lines

Bugfix, irc report from slw_sl:

Instert "avail" on object without ipo crashed. Null check missing.


------------------------------------------------------------------------
r16789 | theeth | 2008-09-28 17:37:37 +0200 (Sun, 28 Sep 2008) | 1 line

reverting revision 16784 that broke compilation. Aligorith, please fix and recommit
------------------------------------------------------------------------
r16788 | migius | 2008-09-28 15:51:30 +0200 (Sun, 28 Sep 2008) | 1 line

fix header text
------------------------------------------------------------------------
r16787 | genscher | 2008-09-28 15:47:43 +0200 (Sun, 28 Sep 2008) | 1 line

Another msvc fix try III
------------------------------------------------------------------------
r16786 | genscher | 2008-09-28 15:06:59 +0200 (Sun, 28 Sep 2008) | 1 line

Another msvc fix try II
------------------------------------------------------------------------
r16785 | genscher | 2008-09-28 14:44:13 +0200 (Sun, 28 Sep 2008) | 1 line

Another msvc fix try
------------------------------------------------------------------------
r16784 | aligorith | 2008-09-28 14:01:41 +0200 (Sun, 28 Sep 2008) | 3 lines

IPO System - Code Cleanup and Commenting:

Went through and commented all the code in ipo.c, tidying up formating and coding style in places, and also rearranging to have a more logical order in some places. There shouldn't be any major issues arising from this commit.
------------------------------------------------------------------------
r16783 | aligorith | 2008-09-28 13:56:47 +0200 (Sun, 28 Sep 2008) | 5 lines

scons/mingw compiling fix for fftw commit:

Split the sources into several libs so that the linker could cope.

(Note to Genscher: the makefile seems to have some hardcoded paths to things on your computer)
------------------------------------------------------------------------
r16782 | genscher | 2008-09-28 13:24:09 +0200 (Sun, 28 Sep 2008) | 1 line

Fixing one msvc compile error on new fftw lib
------------------------------------------------------------------------
r16778 | campbellbarton | 2008-09-28 07:02:39 +0200 (Sun, 28 Sep 2008) | 2 lines

removing qdune from trunk since blender intergration is in a branch

------------------------------------------------------------------------
r16777 | erwin | 2008-09-28 05:17:45 +0200 (Sun, 28 Sep 2008) | 1 line

make gui backwards compatible with this weeks softbody blend files
------------------------------------------------------------------------
r16776 | erwin | 2008-09-28 05:07:13 +0200 (Sun, 28 Sep 2008) | 8 lines

enable -noaudio option, so it actually works (and doesn't get overwritten by a game flag). audio initialization delays startup of game engine 2 seconds
add -nojoystick commandline option: it takes 5 seconds everytime to start the game engine, while there IS no joystick.

In other words: blender -noaudio -nojoystick improves workflow turnaround times for P - ESC from 7 seconds to 1 second!

Improved Bullet soft body advanced options, still work-in-progress. Make sure to create game Bullet soft bodies from scratch, it is not compatible with last weeks builds.


------------------------------------------------------------------------
r16775 | genscher | 2008-09-28 04:17:05 +0200 (Sun, 28 Sep 2008) | 1 line

Commiting fftw lib into extern for ocean patch
------------------------------------------------------------------------
r16773 | ben2610 | 2008-09-28 00:01:26 +0200 (Sun, 28 Sep 2008) | 1 line

Forgot to add the new file in the last commit
------------------------------------------------------------------------
r16772 | ben2610 | 2008-09-27 23:52:20 +0200 (Sat, 27 Sep 2008) | 7 lines

BGE patch: create new BulletSoftBody data block to store bullet soft body specific parameters.

Previously we tried to share the parameters with the
blender render soft body but there were too many differences.

MSVC project files updated.

------------------------------------------------------------------------
r16770 | quorn | 2008-09-27 21:57:32 +0200 (Sat, 27 Sep 2008) | 1 line

Cleaned up unused variables and functions.
------------------------------------------------------------------------
r16769 | quorn | 2008-09-27 21:47:38 +0200 (Sat, 27 Sep 2008) | 2 lines

Global Clipboard Patch (17370)
Text, ID names and RGB colours in the interface are now copied to and pasted from the system clipboard allowing them to be copied from and pasted into the text editor. Colours are encoded as floats in the form [r.rrrrrr, g.gggggg, b.bbbbbb] making them easy to use in Python scripts.
------------------------------------------------------------------------
r16768 | quorn | 2008-09-27 21:20:32 +0200 (Sat, 27 Sep 2008) | 4 lines

Fixed recent changes to text editor which broke building with MSVC and also cleaned up some compiler warnings. (Actually, Benoit seems to have beaten me to it, but I found moving the #includes worked without undefining INT)

The header button is great but it didn't function for 2 seconds between clicks due to the old code waiting between modification checks. Fixed that now too :)

------------------------------------------------------------------------
r16767 | ben2610 | 2008-09-27 21:05:00 +0200 (Sat, 27 Sep 2008) | 1 line

Fix compilation problem in Windows and update MSVC project files
------------------------------------------------------------------------
r16766 | campbellbarton | 2008-09-27 17:32:28 +0200 (Sat, 27 Sep 2008) | 7 lines

text editor changes
* out of sync text dosnt automatically popup a menu anymore since it was too easy to click on it without intending to, moved this to an alert button on the header.
* "_" character was acting as a delimiter, but in python its not.
* renamed "File" to "Text" (so as not to confuse with blenders file menu)
* added redraw_alltext function to remove many duplicate loops where every text display is redrawn.


------------------------------------------------------------------------
r16765 | campbellbarton | 2008-09-27 12:08:19 +0200 (Sat, 27 Sep 2008) | 4 lines

linear ipo curves were still using their handles to calculate an extrapolated value.
It would only work when the bezier point had its handles set to auto before changing to a linear IpoCurve since the handles were being recalculated during transform.


------------------------------------------------------------------------
r16764 | aligorith | 2008-09-27 11:11:44 +0200 (Sat, 27 Sep 2008) | 5 lines

Bugfix #17693: Visual Rot Keying Broken

The problem was due to a wrong number of IPO-channels getting keyed for the quaternion channels (3 instead of 4). Was a simple copy+paste error.

Also added in check for using "Limit Distance" constraint when using VisualKeying.
------------------------------------------------------------------------
r16763 | campbellbarton | 2008-09-27 10:15:10 +0200 (Sat, 27 Sep 2008) | 3 lines

[#17692] Text Editor Line Number Background theme option
from Dalai Felinto (dfelinto)

------------------------------------------------------------------------
r16762 | aligorith | 2008-09-27 08:49:10 +0200 (Sat, 27 Sep 2008) | 1 line

Lots of mingw/gcc compiler warning fixes
------------------------------------------------------------------------
r16761 | aligorith | 2008-09-27 08:29:52 +0200 (Sat, 27 Sep 2008) | 5 lines

Auto-Keyframing (per scene):

Now auto-keyframing can be enabled/disabled per scene (with the insertion mode also stored per scene). The flags used when insertng keyframes are still stored in the user-prefs. 

New scenes have their auto-keyframing settings initialised from the user-preferences.
------------------------------------------------------------------------
r16760 | aligorith | 2008-09-27 06:51:42 +0200 (Sat, 27 Sep 2008) | 5 lines

Keyframing:

* Tidied up code a bit to remove an extra var declaration that may have been causing problems with Visual Keying

* Added buttons to Insert/Delete keyframes from current frame into Timeline header. Note that it preferentially works will insert keyframes for a 3d-view (if it exists), otherwise it "should" take the largest area available.
------------------------------------------------------------------------
r16759 | erwin | 2008-09-27 02:36:18 +0200 (Sat, 27 Sep 2008) | 3 lines

force collision bound type to be convex hull or concave triangle mesh for soft bodies
set collision margin between soft and mesh back to .3, smaller is not useable (yet)

------------------------------------------------------------------------
r16758 | erwin | 2008-09-27 01:20:31 +0200 (Sat, 27 Sep 2008) | 4 lines

fixed some outstanding issues with Bullet soft bodies: 
1) re-allocate a pool allocator, if one of the soft body collision algorithms is larger than max pool element size
2) manage child shapes properly, and call RemoveReferences on the m_sparsesdf

------------------------------------------------------------------------
r16756 | erwin | 2008-09-26 23:49:26 +0200 (Fri, 26 Sep 2008) | 1 line

fixed soft body collision against concave triangle meshes.
------------------------------------------------------------------------
r16755 | erwin | 2008-09-26 23:27:33 +0200 (Fri, 26 Sep 2008) | 1 line

avoid adding degenerate faces to a Bullet soft body
------------------------------------------------------------------------
r16754 | jaguarandi | 2008-09-26 23:21:20 +0200 (Fri, 26 Sep 2008) | 5 lines

Merge of SimpleDeform modifier from soc-2008-jaguarandi branch

http://wiki.blender.org/index.php/User:Jaguarandi/SummerOfCode2008/SimpleDeform


------------------------------------------------------------------------
r16753 | ben2610 | 2008-09-26 21:38:07 +0200 (Fri, 26 Sep 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r16751 | campbellbarton | 2008-09-26 21:00:49 +0200 (Fri, 26 Sep 2008) | 18 lines

nurbs surface resolution is now per segment rather then being distributed over the whole surface.
This is what 2D do alredy and makes resolution settings more like subsurf level.

- This makes it impossible to have a lower resolution output then the nurbs cage, however this dosnt seem a very useful feature.
- Using the do-versions from recent curve interpolation fix.

Tested with these files.

http://digilander.libero.it/pafurijaz/Files/Blender/Libellula.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Martello.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Punta.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Phones.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Tubo.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Pipe.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Tire.zip
http://digilander.libero.it/pafurijaz/Files/Blender/Cotton.zip


------------------------------------------------------------------------
r16749 | ben2610 | 2008-09-26 20:03:14 +0200 (Fri, 26 Sep 2008) | 13 lines

BGE patch: local/global flag to distance contraint actuator.

Previously the distance constraint actuator was always working
in local axis. The local flag allows to cast the ray along a
world axis (when the flag is not selected). 
The N flag works differently in this case: only the object 
orientation is changed to be parallel to the normal at the hit
point. 

The linear velocity is now changed so that the speed along the 
ray axis is null. This eliminates the need to compensate the 
gravity when casting along the Z axis.

------------------------------------------------------------------------
r16748 | ben2610 | 2008-09-26 19:46:55 +0200 (Fri, 26 Sep 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r16747 | blendix | 2008-09-26 18:43:50 +0200 (Fri, 26 Sep 2008) | 4 lines

Bullet build system fixes: add gimpact to the makefiles, and fix
blenderplayer linking for scons.


------------------------------------------------------------------------
r16745 | blendix | 2008-09-26 16:54:21 +0200 (Fri, 26 Sep 2008) | 5 lines

Bugfix: the game player did not initialize tiff and quicktime, so loading
those file formats did not work. Also made sure G.order is initialized as
otherwise some reading tiff goes wrong.


------------------------------------------------------------------------
r16742 | aligorith | 2008-09-26 10:51:05 +0200 (Fri, 26 Sep 2008) | 9 lines

Patch #17346: Align bones in edit mode
Submitted by: Lorenzo Pierfederici (lento) 

This patch adds the CTRL-ALT-A hotkey to align bones in armature edit mode.

It works the same way as parenting: selected bones will be aligned with active bone, if only one bone is selected it
will be aligned with its parent (if any)

Thanks!
------------------------------------------------------------------------
r16741 | aligorith | 2008-09-26 10:40:35 +0200 (Fri, 26 Sep 2008) | 1 line

scons/mingw linking fixes with bullet - adjusting priorities to find libs
------------------------------------------------------------------------
r16740 | jesterking | 2008-09-26 10:05:18 +0200 (Fri, 26 Sep 2008) | 2 lines

* split collision lib into its subparts
    -This is to remedy long command-line troubles for scons/mingw users. Hopefully this goes ok on other platforms too :)
------------------------------------------------------------------------
r16738 | erwin | 2008-09-26 08:25:35 +0200 (Fri, 26 Sep 2008) | 2 lines

support concave soft bodies, preliminary. could be used for cloth too. need vertex pinning/constraint attach to other objects.

------------------------------------------------------------------------
r16736 | erwin | 2008-09-26 04:27:59 +0200 (Fri, 26 Sep 2008) | 4 lines

Allow Bullet soft bodies to be created using a AddObject actuator. Added a fake world coordinate system to game soft bodies, although the vertices are already in world space.
Added Bullet/Gimpact concave collision detection to Blender. If your build system isn't updated yet, please add extern/bullet2/src/BulletCollision/Gimpact/*
This allows moving/dynamic concave triangle meshes (decomposing meshes into compound convex shapes, and using 'compound' shapes is still preferred)

------------------------------------------------------------------------
r16733 | erwin | 2008-09-25 23:04:41 +0200 (Thu, 25 Sep 2008) | 3 lines

don't apply vertex transformation for deformable game soft bodies.
set a fake world transform for game soft bodies, based on center of the AABB, so visiblity and some game logic works. note: this world transform is not smooth.

------------------------------------------------------------------------
r16731 | jhk | 2008-09-25 20:36:34 +0200 (Thu, 25 Sep 2008) | 1 line

Hmm.. first I thought I had just left the "dm=" out from the previous commit by mistake, but it seems it was missing from another place too.
------------------------------------------------------------------------
r16730 | jhk | 2008-09-25 20:31:01 +0200 (Thu, 25 Sep 2008) | 2 lines

Fix for [#17677] Blender Crash when Baking Boids
- A check for getting the "better" dm was missing from the boids code. I plan on converting the boids code into using the collision modifier one of these days but hopefully this quick fix will do for now.
------------------------------------------------------------------------
r16728 | erwin | 2008-09-25 19:53:15 +0200 (Thu, 25 Sep 2008) | 3 lines

avoid crash and apply force for soft bodies.
copy normals for soft body vertices, to get proper lighting

------------------------------------------------------------------------
r16727 | campbellbarton | 2008-09-25 19:43:06 +0200 (Thu, 25 Sep 2008) | 5 lines

[#17679] BGE print statement when start and when finish
from Dalai Felinto (dfelinto) 

would useually not encourage prints in these cases, except its often useful to know if an error happened since you last pressed Pkey and without this you end up needing to manually clear the terminal.

------------------------------------------------------------------------
r16726 | erwin | 2008-09-25 18:48:25 +0200 (Thu, 25 Sep 2008) | 1 line

re-use some Blender soft body settings for Bullet game soft bodies
------------------------------------------------------------------------
r16724 | ben2610 | 2008-09-25 18:19:07 +0200 (Thu, 25 Sep 2008) | 1 line

BGE patch: add Debug button next to object state. The object state mask will be printed at runtime with the debug info as a comma separated list of state numbers (1..30) for each active state bit. The reserved property name __state__ is used for that purpose (users should not create a property with that name).
------------------------------------------------------------------------
r16723 | ben2610 | 2008-09-25 18:13:17 +0200 (Thu, 25 Sep 2008) | 1 line

Update MSVC project files for blenderplayer
------------------------------------------------------------------------
r16722 | sirdude | 2008-09-25 17:39:46 +0200 (Thu, 25 Sep 2008) | 12 lines

This is part of the cleanup Campbell wanted :)

Just getting rid of license_key stuff.

The project files still need to be updated:
projectfiles_vc7/blender/src/BL_src_cre.vcproj
projectfiles_vc7/blender/blendercompactNG.vcproj

Just search for these files in them.
	
Kent

------------------------------------------------------------------------
r16721 | campbellbarton | 2008-09-25 15:17:56 +0200 (Thu, 25 Sep 2008) | 3 lines

patch [#17683] Fix OBJ import line endings
from Tom Nixon (greysquare)  for fixing [#17681] .OBj import issues

------------------------------------------------------------------------
r16720 | ton | 2008-09-25 13:30:39 +0200 (Thu, 25 Sep 2008) | 4 lines

Update of the very ancient 2.3 text of blender.html.
Thanks Nathan Letwory for the poke!


------------------------------------------------------------------------
r16719 | campbellbarton | 2008-09-25 10:41:11 +0200 (Thu, 25 Sep 2008) | 2 lines

binreloc include was wrong for make, removed last YESIAMSTUPID

------------------------------------------------------------------------
r16717 | erwin | 2008-09-25 05:02:30 +0200 (Thu, 25 Sep 2008) | 3 lines

improved game soft bodies, works for objects that are using 'set smooth'
use shape matching by default for game soft bodies
store soft body index for game vertices
------------------------------------------------------------------------
r16716 | ben2610 | 2008-09-25 00:58:49 +0200 (Thu, 25 Sep 2008) | 1 line

BGE patch: add advanced parameters for SoftBody. Add Rasterizer.drawLine() Python function.
------------------------------------------------------------------------
r16715 | aligorith | 2008-09-24 13:52:31 +0200 (Wed, 24 Sep 2008) | 1 line

Made Object-level copy constraints work the same as for bones now too
------------------------------------------------------------------------
r16712 | erwin | 2008-09-24 05:12:10 +0200 (Wed, 24 Sep 2008) | 7 lines

Created a  KX_SoftBodyDeformer for real-time soft bodies.
Added SetDeformer/GetDeformer() to KX_GameObject.
Store mapping between graphics/soft body vertices (work-in-progress)
Real-time soft body integration is still very premature, but
for a quick preview, see this testfile:
http://bulletphysics.com/ftp/pub/test/index.php?dir=blender/&file=soft_test.blend

------------------------------------------------------------------------
r16710 | genscher | 2008-09-24 03:39:55 +0200 (Wed, 24 Sep 2008) | 1 line

Patch #17675: Tooltips for fluid control panel - provided by Kai Kostack
------------------------------------------------------------------------
r16709 | genscher | 2008-09-24 02:23:01 +0200 (Wed, 24 Sep 2008) | 1 line

Fixing compile warnings
------------------------------------------------------------------------
r16706 | ben2610 | 2008-09-23 22:07:15 +0200 (Tue, 23 Sep 2008) | 29 lines

BGE bug #17657 fixed: dRotY doesn't work properly after 90 degrees rotation.

This problem is caused by discontinuities in the conversion
orientation matrix -> euler angles: the angle sign can
switch and thus the direction of the rotation produced
by the dRot Ipo.

To avoid this bug, the matrix->euler conversion must be 
avoided during the game. I took the following approach that 
is compatible with Blender (identical effect in the game and
in the 3D view):

- no change in Add mode: Rot and dRot are treated as additional
rotation to the orientation at the start of the Ipo. There is 
no matrix->euler conversion and thus no discontinuities. 

- Rot Ipo are treated as absolute rotation. All 3 axis should
be specified but if they are not, the startup object orientation
will be used to set the unspecified axis. By doing a matrix->
euler conversion once at the start, the discontinuities are
avoided. If there are also dRot curves, they are treated as
delta of the corresponding Rot curve or startup angle.

- dRot Ipo are treated as Add mode in Local axis.

Note about Add mode: Rot and dRot curves are treated identically
during the game. However, only dRot curves make sense because
they don't interfere with the object orientation in the 3D view.

------------------------------------------------------------------------
r16705 | campbellbarton | 2008-09-23 17:57:05 +0200 (Tue, 23 Sep 2008) | 2 lines

calculate curve radius for drawing curve normals

------------------------------------------------------------------------
r16704 | campbellbarton | 2008-09-23 17:21:14 +0200 (Tue, 23 Sep 2008) | 2 lines

disable magnification filtering when mipmap is off. useful for texture low poly models.

------------------------------------------------------------------------
r16702 | campbellbarton | 2008-09-23 15:35:32 +0200 (Tue, 23 Sep 2008) | 7 lines

fix for [#11744] NurbCurve Radius incorrect

removed calc_curve_subdiv_radius(), curve radius is now calculated the same way as tilt.

Added radius interpolation menu matching tilt interpolation, needed to add "Ease" interpolation type to keep 2.47 curves looking the same.


------------------------------------------------------------------------
r16701 | jhk | 2008-09-23 14:53:00 +0200 (Tue, 23 Sep 2008) | 3 lines

- Particle-particle effectors we're quite unstable and not accurate at all. Now this should be fixed (especially with other integrators than euler) as the needed inter-frame effector particle positions are interpolated properly from the current and previous positions (previously only the most recent position was used).
- In practice this removes the dependency of particle simulations from the update order of objects and different particle systems inside objects.
- As a nice side effect out of this we also get fully correct birth positions for "near reactor particles" (previously for example smoke trail reactor particles were not born smoothly along the target particles path).
------------------------------------------------------------------------
r16700 | jhk | 2008-09-23 13:51:40 +0200 (Tue, 23 Sep 2008) | 3 lines

"Fix" for [#17671] Particles spin out of control and pass through when hitting collision object
-The fix is that particle random size factor should never ever be bigger than 1.0, else negative sizes are possible! Don't know who to blame, but probably my self :)
-The second issue of passing through the deflection and rotating wildly around strange centers is not a bug, but for particles the group and object visualization objects have to be centered on the global origin. I'll probably make an option later to use the object center, but this is how things are for now.
------------------------------------------------------------------------
r16696 | campbellbarton | 2008-09-23 08:26:48 +0200 (Tue, 23 Sep 2008) | 9 lines

changing the number of subdivisions for nurbs curves.
this way each edge/segment gets the same number of points matching the resolution value.
before, a nurbs curve would have the same number of points no matter if it was cyclic or not.

This will make slight changes to objects on an animated path, but only noticable if the path has a low resolution.

bug [#11744] NurbCurve Radius incorrect - now dosnt show bad results with order 4 on non-cyclic curve.


------------------------------------------------------------------------
r16695 | erwin | 2008-09-23 07:00:00 +0200 (Tue, 23 Sep 2008) | 4 lines

bugfix for [#7006] Sleeping Objects losing Ghost Constraint

Bullet logic bug in (de)activation/island management: deactivated 'fantom' objects do merge islands, in particular when connected by constraints. (fantom = object with collision detection but no collision response).

------------------------------------------------------------------------
r16693 | campbellbarton | 2008-09-23 03:28:42 +0200 (Tue, 23 Sep 2008) | 4 lines

fix for [#13825] Lack of Flags in Face Mode Set
undo was also not working.


------------------------------------------------------------------------
r16692 | campbellbarton | 2008-09-23 02:49:44 +0200 (Tue, 23 Sep 2008) | 5 lines

[#8540] Import scripts for MilkShape3D file formats
from Markus Ilmola (glome)

note, UV's will be incorrect in some faces because of eekadoodle problem.

------------------------------------------------------------------------
r16691 | campbellbarton | 2008-09-23 02:37:19 +0200 (Tue, 23 Sep 2008) | 3 lines

Make GameLogic work for python autocomplete (after running the BGE once at least)
only clear newly added items from the gameLogic dictionary rather then the whole dictionary.

------------------------------------------------------------------------
r16689 | ben2610 | 2008-09-22 23:49:48 +0200 (Mon, 22 Sep 2008) | 1 line

BGE patch #17569 approved: Make FrameProp: work in Shape Action. PyDoc updated.
------------------------------------------------------------------------
r16688 | blendix | 2008-09-22 23:22:16 +0200 (Mon, 22 Sep 2008) | 5 lines

Fix for second part of bug #17506: issue with swapped uv coordinates
on creating multires in editmode, wasn't doing test_index_face for
the face data.


------------------------------------------------------------------------
r16687 | ben2610 | 2008-09-22 23:15:48 +0200 (Mon, 22 Sep 2008) | 1 line

Fix file browser for Windows: going to the parent directory introduces ../\. Correct parent is ..\  under Windows.
------------------------------------------------------------------------
r16686 | blendix | 2008-09-22 22:26:28 +0200 (Mon, 22 Sep 2008) | 4 lines

Fix for part of bug #17506: uv editing with multires is only
allowed at level 1, missed a case.


------------------------------------------------------------------------
r16685 | ben2610 | 2008-09-22 21:54:30 +0200 (Mon, 22 Sep 2008) | 38 lines

BGE patch: KX_STATEx constant to allow simple state manipulation in setState()

The constants KX_STATE1 to KX_STATE30 can be used 
with setState() to change the object state in a 
python controller. The constants are defined in the 
GameLogic module so that the full name is 
GameLogic.KX_STATE1 to GameLogic.KX_STATE30 but you
can simplify this with the import statement:

from GameLogic import *
cont = getCurrentController()
ob = cont.getOwner()
ob.setState(KX_STATE2)		#go to state 2

KX_STATEx constants are defined as (1<<(x-1))
Binary operators |, &, ^ and ~ can be used to combine states:

You can activate more than one state at a time with the | operator:

ob.setState(KX_STATE1|KX_STATE2)  #activate state 1 and 2, stop all others

You can add a state to the current state mask with:

state = ob.getState()
ob.setState(state|KX_STATE3)      #activate state 3, keep others

You can substract a state to the current state mask with the & and operator:

state = ob.getState()
ob.setState(state&~KX_STATE2)     #stop state 2, keep others

You can invert a state with the ^ operator:

state = ob.getState()
ob.setState(state^KX_STATE2)     #invert state 2, keep others



------------------------------------------------------------------------
r16684 | blendix | 2008-09-22 21:37:30 +0200 (Mon, 22 Sep 2008) | 4 lines

Fix for bug #11163: strand render without tangent shading didn't
give correct results.


------------------------------------------------------------------------
r16683 | bdiego | 2008-09-22 21:09:46 +0200 (Mon, 22 Sep 2008) | 9 lines

Revert full screen, maximized and minimized code (rev 16543).

Revert this because don't work "fine" with dual-monitor.

The problem is not the code, this work fine, but full screen
for a window manager is not both monitor (until set xinerama or
whatever..).


------------------------------------------------------------------------
r16682 | blendix | 2008-09-22 20:33:04 +0200 (Mon, 22 Sep 2008) | 4 lines

Further fix for #8132, mac/nvidia driver issue drawing node previews,
zoom level was not correct.


------------------------------------------------------------------------
r16681 | ben2610 | 2008-09-22 19:12:57 +0200 (Mon, 22 Sep 2008) | 1 line

BGE patch #17483 approved: object actuator DRot reverted since Blender 246.
------------------------------------------------------------------------
r16680 | ton | 2008-09-22 17:59:50 +0200 (Mon, 22 Sep 2008) | 5 lines

Patch #17665 by Vladimir Marek

Fixes for solaris compiling


------------------------------------------------------------------------
r16679 | ton | 2008-09-22 17:59:04 +0200 (Mon, 22 Sep 2008) | 5 lines

Patch #17666 by Vladimi<C2>r Marek

Fixes for solaris compiling


------------------------------------------------------------------------
r16678 | ton | 2008-09-22 17:38:17 +0200 (Mon, 22 Sep 2008) | 5 lines

Realy time for 2.5! 
Takes half an hour to find a nice empty spot for a button! Another attempt
to locate new shadow color swatch. Now back in shadow panel, bottom.


------------------------------------------------------------------------
r16677 | campbellbarton | 2008-09-22 17:37:32 +0200 (Mon, 22 Sep 2008) | 4 lines

fix for [#15020] File browser: going back from the root of all directories introduces "../" ad libitum + harcoded path?
bug was introduced when fixing BLI_cleanup_dir not to write to negative character indicies.
added a BLI_parent_dir(char *path)

------------------------------------------------------------------------
r16676 | ton | 2008-09-22 16:52:50 +0200 (Mon, 22 Sep 2008) | 10 lines

Bugfix:

- Button for 'shadow color' was drawn over 'layer shadow' button...
  The shadow+spot panel was cramped... spot shadowbuffer uses all
  space. Moved it to the Lamp panel with label, more clear now.
  Panel reorg is for later :)
- Small fix: Area Lamp 'gamma' slider didn't update preview.
  Unfortunately had to move this slider to smaller button...


------------------------------------------------------------------------
r16675 | migius | 2008-09-22 16:01:35 +0200 (Mon, 22 Sep 2008) | 8 lines

colladaImEx/collada.py
- class DaeFxSampler2D(DaeElement): added def AddShader(self, daeShader) 

- fix for Bug 12400: Collada exporter: incorrect url when using "convex hull polytope" for bounds.
 Added '#'-prefix to def ConvexMesh string
 Thank for Mattias Linde (linde) for the hint.


------------------------------------------------------------------------
r16674 | aligorith | 2008-09-22 15:01:51 +0200 (Mon, 22 Sep 2008) | 7 lines

Bugfix #14428: Constraints lost when object made single user

When there was a setup where an object was linked to more than one scene at once, and in one of those scenes some of the objects in that scene were related to it, the objects related to it were not correctly relinked to the new copy. 

This was due to the 2nd check for selected objects 
if( (base->flag & flag)==flag)
meaning that only selected objects would get corrected.
------------------------------------------------------------------------
r16673 | genscher | 2008-09-22 14:31:27 +0200 (Mon, 22 Sep 2008) | 1 line

Fluid: Remove SDL threads, also fixed the 'finished too early' problem reported once in tracker
------------------------------------------------------------------------
r16672 | ton | 2008-09-22 14:18:07 +0200 (Mon, 22 Sep 2008) | 7 lines

Bugfix #12835

Zbuffer error in render: when you render faces clipped by 'clip end' the
z values could wrap around, resulting in errors. Code not nicely clamps,
plus should be faster even!


------------------------------------------------------------------------
r16671 | genscher | 2008-09-22 12:58:50 +0200 (Mon, 22 Sep 2008) | 1 line

Fixing missing function in elbeem
------------------------------------------------------------------------
r16670 | genscher | 2008-09-22 12:21:57 +0200 (Mon, 22 Sep 2008) | 1 line

Removing control define
------------------------------------------------------------------------
r16668 | campbellbarton | 2008-09-22 12:00:31 +0200 (Mon, 22 Sep 2008) | 3 lines

[#17388] snap view to main views while rotating from Roelf De Kock (kiemdoder)
hold down ctrl when rotating the viewport

------------------------------------------------------------------------
r16667 | ton | 2008-09-22 11:09:03 +0200 (Mon, 22 Sep 2008) | 4 lines

Added three XYZ color space options in code, will be activated later.
Thanks matt for the typing work :)


------------------------------------------------------------------------
r16666 | ton | 2008-09-22 09:52:08 +0200 (Mon, 22 Sep 2008) | 4 lines

Bugfix: for sunsky preview I added another camera, accidentally changed clip
and lens value for other cameras.


------------------------------------------------------------------------
r16665 | campbellbarton | 2008-09-22 09:17:39 +0200 (Mon, 22 Sep 2008) | 3 lines

copy object properties was crashing because of my recent changes. need to NULL listbase first.
changed visibility actuator menu to 3 toggle buttons and added tooltip note about outliner render restriction being used for visibility.

------------------------------------------------------------------------
r16664 | aligorith | 2008-09-22 06:30:21 +0200 (Mon, 22 Sep 2008) | 6 lines

Bugfix - Long Keyframes:

In a A___B|---|B situation created by duplicating the B keyframe, the long keyframe between the 'B' keyframes was not showing up until the A keyframe was already duplicated. Reverting the 'optimisation' applied there (i.e. searching from last block, as that's where most blocks would be added)


Also removed some unused lines from gpencil.c
------------------------------------------------------------------------
r16663 | campbellbarton | 2008-09-22 06:18:17 +0200 (Mon, 22 Sep 2008) | 4 lines

KX_PythonInit.cpp - workaround for current sandbox and possible fix. no real change for now but others may want to look into it.
blendef.h - removed some unused defines.
editipo_mods.c - deselect all was selecting instead.

------------------------------------------------------------------------
r16661 | genscher | 2008-09-22 02:32:07 +0200 (Mon, 22 Sep 2008) | 1 line

Make msvc happy (reported by broken)
------------------------------------------------------------------------
r16658 | genscher | 2008-09-22 00:47:50 +0200 (Mon, 22 Sep 2008) | 1 line

Bugfix where copy-protection of several modifiers like collision, softbody and particleInstance could be bypassed by using ctrl-c + 'copy all' option.
------------------------------------------------------------------------
r16657 | ben2610 | 2008-09-21 23:41:27 +0200 (Sun, 21 Sep 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r16656 | genscher | 2008-09-21 23:24:46 +0200 (Sun, 21 Sep 2008) | 1 line

Fixing little bug allowing neegative attraction forces again
------------------------------------------------------------------------
r16655 | genscher | 2008-09-21 23:02:41 +0200 (Sun, 21 Sep 2008) | 1 line

Patch for rearranging fluid GUI provided by artist nudelZ
------------------------------------------------------------------------
r16654 | theeth | 2008-09-21 22:39:19 +0200 (Sun, 21 Sep 2008) | 3 lines

[#17662] Blender runs the older version a python script when reloading it from disk

Missing free compiled.
------------------------------------------------------------------------
r16653 | genscher | 2008-09-21 20:36:25 +0200 (Sun, 21 Sep 2008) | 1 line

Respect compile flags if elbeem is disabled, fix compiling for that case
------------------------------------------------------------------------
r16652 | genscher | 2008-09-21 20:20:02 +0200 (Sun, 21 Sep 2008) | 1 line

Merging fluidcontrol to trunk from rev16649 fluidcontrol branch. Code provided by Nils Thuerey.
------------------------------------------------------------------------
r16651 | ton | 2008-09-21 18:04:33 +0200 (Sun, 21 Sep 2008) | 15 lines

Sunsky / Atmoshphere:

- Added blending mode and factor option, so it's more clear and
  controllable what happens with it. Also nice for crazy effects
  of course!
- Preview render now shows preview for it too

On the todos:

- have this in World buttons (as well) for quicker sky setups
- review math of color clamping and scaling, this is definitely 
  not good... but a fix will make old files look very different.



------------------------------------------------------------------------
r16650 | erwin | 2008-09-21 17:17:50 +0200 (Sun, 21 Sep 2008) | 3 lines

BGE real-time soft bodies, step 2 / 3: create a btSoftBody. Next step is hooking up / deform graphics mesh and choose collision shape.
Note: feature is still disabled.

------------------------------------------------------------------------
r16648 | ton | 2008-09-21 14:03:41 +0200 (Sun, 21 Sep 2008) | 7 lines

Bugfix #17656

- Changed order for applying atmosphere, it does it now before alpha-adding
  sky, giving correct transparency
- Added correction for de-premulling and premulling scatter color


------------------------------------------------------------------------
r16647 | ton | 2008-09-21 12:31:22 +0200 (Sun, 21 Sep 2008) | 5 lines

#bugfix #17337

FSA didn't work for atmosphere option.


------------------------------------------------------------------------
r16646 | campbellbarton | 2008-09-21 12:12:33 +0200 (Sun, 21 Sep 2008) | 8 lines

Added select grouped property (objects with shared property names will be selected)
(updated select group toolbox and header menu)

Added 2 copy property options - Replace All and Merge All, since there was no way to remove all properties, or set all objects game properties to be the same as the active objects.
Added set_ob_property(ob, prop) to property api.

bugfix in python api, copyAllPropertiesTo, it didnt check for duplicates or that it wasnt copying from/to the same object.

------------------------------------------------------------------------
r16645 | campbellbarton | 2008-09-21 07:38:28 +0200 (Sun, 21 Sep 2008) | 2 lines

game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case

------------------------------------------------------------------------
r16644 | campbellbarton | 2008-09-21 06:39:40 +0200 (Sun, 21 Sep 2008) | 3 lines

set the visibility state based on the objects render option in the outliner.
- saves adding UV's to faces just to set the invisibility option or having an logic bricks to set the visibility state.

------------------------------------------------------------------------
r16643 | erwin | 2008-09-21 03:13:54 +0200 (Sun, 21 Sep 2008) | 2 lines

encountered some issue with the btDbvtBroadphase, switch of a deferred collision feature.

------------------------------------------------------------------------
r16642 | erwin | 2008-09-21 01:45:45 +0200 (Sun, 21 Sep 2008) | 2 lines

attempt to support negative local scaling for convex hull, box,sphere, cylinder, cone and btScaledBvhTriangleMeshShape in Bullet.

------------------------------------------------------------------------
r16641 | erwin | 2008-09-21 00:34:54 +0200 (Sun, 21 Sep 2008) | 2 lines

fixed sphere-sphere collision: contact points were not properly removed/refreshed.

------------------------------------------------------------------------
r16640 | ben2610 | 2008-09-21 00:19:59 +0200 (Sun, 21 Sep 2008) | 1 line

BGE bug fix: dupligroup scale not correctly applied to bullet shape.
------------------------------------------------------------------------
r16639 | ben2610 | 2008-09-20 23:33:54 +0200 (Sat, 20 Sep 2008) | 1 line

BGE patch: allow Bullet mesh shape sharing for objects copied with ALT-D.
------------------------------------------------------------------------
r16638 | migius | 2008-09-20 18:30:14 +0200 (Sat, 20 Sep 2008) | 3 lines

collada importer
 - bugfix meshes with more than 16 materials: material index bigger than 15 replaced with 15.

------------------------------------------------------------------------
r16637 | sirdude | 2008-09-20 17:10:06 +0200 (Sat, 20 Sep 2008) | 4 lines

the binary version of the french update. (so windows users will be happy)

Kent

------------------------------------------------------------------------
r16636 | ton | 2008-09-20 16:43:59 +0200 (Sat, 20 Sep 2008) | 10 lines

Patch #17631 by Early Ehlinger

His log:
One of the calls to PIL_dynlib_get_error_as_string was assuming that 
it would return a valid string and not NULL (perhaps by converting
to std::string).
This patch simply changes it to always return a string, even when the 
error is not recognized.


------------------------------------------------------------------------
r16635 | ton | 2008-09-20 15:22:30 +0200 (Sat, 20 Sep 2008) | 5 lines

Patch #17467 by Erwan Jacq

French translation update


------------------------------------------------------------------------
r16634 | campbellbarton | 2008-09-20 15:21:10 +0200 (Sat, 20 Sep 2008) | 2 lines

simple changes for bez point selection. use as a flag incase other flags are stored in bezt->f1,2,3

------------------------------------------------------------------------
r16633 | ton | 2008-09-20 15:18:19 +0200 (Sat, 20 Sep 2008) | 5 lines

Patch #17432 by J.H. Jeong

Korean translation update


------------------------------------------------------------------------
r16632 | ton | 2008-09-20 15:02:06 +0200 (Sat, 20 Sep 2008) | 7 lines

Patch #8461, by Rob Hausauer

This unifies all usage of FTOCHAR, putting it in utildefines.h
Submitter did several interesting tests for speed, check it here:
http://projects.blender.org/tracker/?func=detail&atid=127&aid=8461&group_id=9


------------------------------------------------------------------------
r16631 | ton | 2008-09-20 14:28:01 +0200 (Sat, 20 Sep 2008) | 3 lines

Patch 17403, small gcc warning fixes.


------------------------------------------------------------------------
r16630 | ton | 2008-09-20 14:26:18 +0200 (Sat, 20 Sep 2008) | 3 lines

Patch 17403, small gcc warning fixes.


------------------------------------------------------------------------
r16629 | campbellbarton | 2008-09-20 13:54:27 +0200 (Sat, 20 Sep 2008) | 3 lines

16624 was incorrect. Blender wont always give the requested name for new datablocks or for renaming. scripts need to account for this.


------------------------------------------------------------------------
r16628 | campbellbarton | 2008-09-20 13:08:35 +0200 (Sat, 20 Sep 2008) | 3 lines

[#17600] char* -> const char*
Thanks to Sean Bartell (wtachi), was causing many many warnings which distracted from the real problems.

------------------------------------------------------------------------
r16627 | migius | 2008-09-20 13:04:01 +0200 (Sat, 20 Sep 2008) | 5 lines

collada imp/exp
patch from http://colladablender.illusoft.com/mantis/view.php?id=109
bugfix: 'maxfilter' element should be 'magfilter'


------------------------------------------------------------------------
r16626 | aligorith | 2008-09-20 12:30:10 +0200 (Sat, 20 Sep 2008) | 3 lines

PyAPI - *.insertkey()

Updated insertkey calls in PyAPI so that they behave like the new common_insertkey() behaviour. 
------------------------------------------------------------------------
r16625 | campbellbarton | 2008-09-20 12:11:42 +0200 (Sat, 20 Sep 2008) | 5 lines

Python api access to obcolor
Option to copy obcolor in the copy menu
Option to select same color in select grouped menu
console.py - mistake in last commit caused a python error

------------------------------------------------------------------------
r16624 | aligorith | 2008-09-20 12:10:50 +0200 (Sat, 20 Sep 2008) | 14 lines

Patch #17654: Fix for Scene.Get with input >20 chars
Patch by Darryl Pogue (paradox).

Blender cuts off datablock names at 20 chars, which causes issues if you're trying to access Scenes with a string longer
than 20 chars.

Ex.

s = 'GuildPub-Writers_GLOBAL'
Blender.Scene.New(s) #This creates the scene "GuildPub-Writers_GLOB"
Blender.Scene.Get(s) #This throws an error: the name and the string don't match

This patch cuts down the input of Scene.Get() to the 20 char limits, thus making the the above example return the correct
scene.
------------------------------------------------------------------------
r16623 | aligorith | 2008-09-20 12:02:13 +0200 (Sat, 20 Sep 2008) | 3 lines

Bugfix #17652: "K" mode for controlling keys and drivers cause crashes

When using a transform and there didn't exist an IPO-channel for that transform's focus (i.e. no rot curves when rotating) and "K" mode was active, there would be a crash due to missing checks for such situations.
------------------------------------------------------------------------
r16622 | aligorith | 2008-09-20 11:17:40 +0200 (Sat, 20 Sep 2008) | 1 line

Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"
------------------------------------------------------------------------
r16621 | campbellbarton | 2008-09-20 06:37:10 +0200 (Sat, 20 Sep 2008) | 11 lines

Text.c
 - calling Text_reset within C/Api funcs didnt decref the Py_None Text_reset returned.
 - Text_delete wasnt checking if the input was an int.
 - a number of functions wernt checking if the text was removed.
console.py
 - added clear output
 - command history leaves empty command before wrapping
 - add imports as dummy user input so commands written to a text file will run.
 - faster writing of output to a textblock.


------------------------------------------------------------------------
r16620 | bdiego | 2008-09-20 00:51:05 +0200 (Sat, 20 Sep 2008) | 21 lines

== Outliner ==

Commit patch #8195

New outliner mode: Sequence, it's show all the sequence and strip that
we have in the outliner, split it for type (particle, sound and so on..).

Some notes to take care:
 * The strip can be selected with LMB
 * The sequence can be deleted with XKEY (all the selected)
 * The "Meta" are stored in a single tree (Meta Strip)
   with all the sequence.
 * Duplicate sequence (with the same name) are store in a single tree
   and you can select all the Sequence with LMB in the "root" entry.
 * Also show the directory path.

[ As Ton point in the tracker, still need more work (and options, Luca made
  a really good list in the tracker), so move to the trunk and start
  working here, probably a good topic for next meeting. ]


------------------------------------------------------------------------
r16619 | blendix | 2008-09-20 00:03:16 +0200 (Sat, 20 Sep 2008) | 4 lines

Small dependency debugging aid: now it also prints cycles for
the object depsgrah instead of only armatures.


------------------------------------------------------------------------
r16618 | bdiego | 2008-09-19 23:57:15 +0200 (Fri, 19 Sep 2008) | 15 lines

== Render ==

Commit patch #7788, allow to set the render step, so it's
possible make render every N frames only.

The step is change in Scene buttons (F10), below start and
end frame buttons.

Also add a command line options (-j), so it's possible to
overwrite the file step (useful for renderfarm).

[ Brecht, this work with OpenGL renders and simulated
  the skipped frames, please double check ]


------------------------------------------------------------------------
r16617 | blendix | 2008-09-19 23:52:15 +0200 (Fri, 19 Sep 2008) | 5 lines

Fix for bug #16662: modifiers on lattices were ignored sometimes
when rendering opengl previews, it unnecessarily cleared lattice
displists when it was really intended for shaded mode colors.


------------------------------------------------------------------------
r16616 | khughes | 2008-09-19 23:00:45 +0200 (Fri, 19 Sep 2008) | 6 lines

Linux platforms
---------------
Patch to include freedesktop icons in linux release builds, contributed by
Ralf Hölzemer (cheleb).


------------------------------------------------------------------------
r16615 | ben2610 | 2008-09-19 22:41:38 +0200 (Fri, 19 Sep 2008) | 15 lines

BGE patch: new 'Advanced Settings' button to keep special Bullet options away from main UI.

Three features that were on the main UI interface are now 
moved to the Advanced Settings panel:
Margin, Actor (that becomes Sensor Actor) and No sleeping.

Sensor Actor is now a feature: it can be turned on and off
for all types of objects, and not just static objects.
Select the Sensor Actor button to make the object visible
to Near and Radar sensor.
The button is selected by default for dynamic objects
and unselected by default for static objects, to match
previous behavior.


------------------------------------------------------------------------
r16614 | ton | 2008-09-19 22:22:54 +0200 (Fri, 19 Sep 2008) | 5 lines

Patch #17348 by Roger Wickes

Fix in Bake Constraints script, better naming for new object.


------------------------------------------------------------------------
r16613 | ianwill | 2008-09-19 20:53:05 +0200 (Fri, 19 Sep 2008) | 8 lines

== Python Space Handlers ==

Patch #9673: "Short patch to make spacehandler event scripts work more like normal python gui script handlers" by Steven Truppe:
http://projects.blender.org/tracker/?func=detail&atid=127&aid=9673&group_id=9

This patch adds the Blender.eventValue variable available for space handlers, holding the event value (aka 1 for button and key presses, X or Y coordinate for mousex / mousey movement). Thanks, Steven. PS: this doesn't break existing scripts.


------------------------------------------------------------------------
r16612 | blendix | 2008-09-19 18:09:26 +0200 (Fri, 19 Sep 2008) | 7 lines

Fix again for the NVidia driver bug. This time I'm just giving up
using linking together the precompiled library shader code and
material code and recompiling it all again for each material even
if it gives a performance hit, since the previous workaround only
worked on some driver versions still.


------------------------------------------------------------------------
r16611 | ton | 2008-09-19 18:01:22 +0200 (Fri, 19 Sep 2008) | 12 lines

Patch #13422, By Roland Hess, Shadow Color

Finally, after a long time new render candy for the non-game peoples! :)

Good doc is here: (url splits in two)
http://www.harkyman.com/2008/08/06/controllable-shadow-intensity-
and-color/

Note the colorpicker for shadow is in "Shadow and Spot" panel. A bit
hidden, could get more attention. For later. :)


------------------------------------------------------------------------
r16610 | ton | 2008-09-19 16:18:41 +0200 (Fri, 19 Sep 2008) | 5 lines

Patch #8213 by Shunichi Fuji

Fixes crash with FT fonts in some cases, just removed unnused line of code.


------------------------------------------------------------------------
r16608 | aligorith | 2008-09-19 14:43:21 +0200 (Fri, 19 Sep 2008) | 3 lines

PyConstraints:

Basic (non-python) target evaluation still occurs when scriptlinks are disabled.
------------------------------------------------------------------------
r16607 | aligorith | 2008-09-19 14:41:26 +0200 (Fri, 19 Sep 2008) | 3 lines

Bugfix #17643: Action Editor buffer copy/paste not working

Removed superfluous check for destination IPO-block/IPO-curve which may not have existed. This meant that pasting keyframes into an "empty" Action Channel sometimes failed.
------------------------------------------------------------------------
r16606 | aligorith | 2008-09-19 14:33:17 +0200 (Fri, 19 Sep 2008) | 6 lines

== IPO Defines Cleanup ==

Just a bit of tidyup for IPO header-files. 

Warning:
Moved IPO Curves + Drivers out of DNA_curve_types.h 
------------------------------------------------------------------------
r16604 | campbellbarton | 2008-09-19 03:39:34 +0200 (Fri, 19 Sep 2008) | 3 lines

scons update, BF_NO_ELBEEM wasnt working, WITH_BF_SDL wasnt implimented, WITH_CCGSUBSURF isnt used anymore.


------------------------------------------------------------------------
r16603 | ianwill | 2008-09-19 00:33:49 +0200 (Fri, 19 Sep 2008) | 11 lines

== Python Script Links ==

Bug #17599:
Summary: Python constraints, good in 2.46 not working anymore in 2.47
http://projects.blender.org/tracker/?func=detail&atid=125&aid=17599&group_id=9

Improved my old hack to avoid frame changed scriptlinks from running when rendering stills, should fix this bug. It also causes REDRAW scriptlinks to be executed during renders, but that conforms to how FRAMECHANGED ones work.

BTW: this can still be improved. The current system meant to disable all Python functionality at once needs imo to be replaced by one that allows to enable / disable per feature (scriptlinks, pyconstraints, pynodes, etc.). A better way to inform scriptlinks about what is going on (render, anim, render anim, etc.) would also help. Will discuss with others.


------------------------------------------------------------------------
r16601 | theeth | 2008-09-18 23:18:53 +0200 (Thu, 18 Sep 2008) | 1 line

fixing scons build. needed BoolOption in argument definition
------------------------------------------------------------------------
r16600 | unclezeiv | 2008-09-18 22:37:11 +0200 (Thu, 18 Sep 2008) | 2 lines

[#7297] Fix knife visualization on MacMini Intel w/ Intel gfx

------------------------------------------------------------------------
r16599 | ben2610 | 2008-09-18 21:28:28 +0200 (Thu, 18 Sep 2008) | 1 line

BGE patch: change constraint location actuator to work in local coordinates. It won't change anything for root objects but will be of some use for child objects.
------------------------------------------------------------------------
r16598 | jhk | 2008-09-18 19:42:17 +0200 (Thu, 18 Sep 2008) | 1 line

A typo in my fix for bug #11740 caused problems with at least grid distributed particles.
------------------------------------------------------------------------
r16597 | jhk | 2008-09-18 19:19:40 +0200 (Thu, 18 Sep 2008) | 1 line

Reactor particles were born with incorrect timing. Some changes made could effect normal particles too, but after many tests I didn't notice any adverse effects. Be sure to poke me hard if there are some though :)
------------------------------------------------------------------------
r16596 | ton | 2008-09-18 18:43:31 +0200 (Thu, 18 Sep 2008) | 4 lines

This file did not compile, but is also not part of the build target...
Fixed neverheless, patch #6258 from Early Ehlinger 


------------------------------------------------------------------------
r16593 | aligorith | 2008-09-18 13:49:57 +0200 (Thu, 18 Sep 2008) | 3 lines

Grease Pencil - Stroke Sensitivity:

Sensitivity to mouse movement when drawing can now be customised in the User Prefs, under 'Edit Methods'.
------------------------------------------------------------------------
r16592 | campbellbarton | 2008-09-18 05:05:02 +0200 (Thu, 18 Sep 2008) | 2 lines

scons options BF_CXX, WITH_BF_STATICCXX, BF_CXX_LIB_STATIC for static linking to stdc++ because of problems running blender on some systems.

------------------------------------------------------------------------
r16591 | genscher | 2008-09-18 03:59:10 +0200 (Thu, 18 Sep 2008) | 1 line

Fix error in my last commit - just creating the random thing doesn't hurt anyway and at least should catch every case where it is needed
------------------------------------------------------------------------
r16590 | genscher | 2008-09-18 03:55:43 +0200 (Thu, 18 Sep 2008) | 1 line

Hopefully fixes crash in particle system with effector enabled
------------------------------------------------------------------------
r16589 | blendix | 2008-09-18 03:46:28 +0200 (Thu, 18 Sep 2008) | 6 lines

Fix for bug #3858: the game engine mouse focus sensor did not work
correct if there was more than one camera. It shoots rays from the
active camera, but used the viewport from whichever camera was drawn
last, now it uses the correct vieport.


------------------------------------------------------------------------
r16588 | broken | 2008-09-18 02:51:51 +0200 (Thu, 18 Sep 2008) | 25 lines

This adds support for the new-ish options:
QUATERNION
B_BONE_REST
INVERT_VERTGROUP
MULTIMODIFIER

to the bpy armature modifier API.

It also fixes a significant problem - In the docs, it refers to 
the 'VERTGROUP' field as being a string value, shared
by lattice, armature, etc, referring to the 'VGroup' field in the 
armature modifier that defines a vertex group 'mask'
which the armature's effect is restricted to.

However, previously, for some very mistaken reason, in processing 
the getters/setters for the armature modifier, the
VERTGROUP field was pointing to the quite different 'Vert. Groups' 
toggle in the armature modifier, that enables or
disables using vertex groups for deformation (as opposed to 
envelopes).

I've fixed this, so VERTGROUP points to the VGroup string, as is 
already defined in the docs and consistent with other
modifiers like Lattice. A new field: 'VGROUPS' has been added, 
which is the analog to the 'Vert Groups' toggle.
------------------------------------------------------------------------
r16587 | campbellbarton | 2008-09-18 02:10:12 +0200 (Thu, 18 Sep 2008) | 2 lines

needed these changes to get bullet building with cmake and linking with scons

------------------------------------------------------------------------
r16586 | ben2610 | 2008-09-17 23:47:05 +0200 (Wed, 17 Sep 2008) | 1 line

BGE bug #17578: repair linV actuator in Add+Local mode.
------------------------------------------------------------------------
r16583 | ben2610 | 2008-09-17 23:14:48 +0200 (Wed, 17 Sep 2008) | 1 line

Update MSVC project file to include BulletSoftBody
------------------------------------------------------------------------
r16581 | erwin | 2008-09-17 22:02:20 +0200 (Wed, 17 Sep 2008) | 1 line

added another missing file, btHashMap
------------------------------------------------------------------------
r16580 | erwin | 2008-09-17 21:58:16 +0200 (Wed, 17 Sep 2008) | 1 line

added src/LinearMath/btConvexHull.cpp
------------------------------------------------------------------------
r16579 | erwin | 2008-09-17 21:47:26 +0200 (Wed, 17 Sep 2008) | 2 lines

Please add extern/bullet2/src/LinearMath/btConvexHull.cpp to your build system!
Reverted back to original Bullet version.
------------------------------------------------------------------------
r16578 | jhk | 2008-09-17 21:29:44 +0200 (Wed, 17 Sep 2008) | 3 lines

Fix for [#17642] Particule Hair - Vertex Group lenght don't works without Children
- This feature had been removed from the code! So this is how things work now:
For normal (non-child) hair particles the length vgroup is used if we're not in particle edit mode and if there are no child particles. So for example checking "Parents" in the visualization panel when children are in use will result in full length parent strands, this is a feature so that you can see how the parent's go to predict child behavior better, not a bug :)
------------------------------------------------------------------------
r16577 | jhk | 2008-09-17 19:59:29 +0200 (Wed, 17 Sep 2008) | 2 lines

Fix for [#17637] Children from "Faces" in Object without a face leads to crash
- a simple check for psys->child was missing
------------------------------------------------------------------------
r16576 | ton | 2008-09-17 19:47:59 +0200 (Wed, 17 Sep 2008) | 7 lines

Bugfix #14412

Outliner option 'unlink group' didn't remove its members, in case the
group members were local in file, a confusing situation happened. Now
it removes members.


------------------------------------------------------------------------
r16575 | blendix | 2008-09-17 18:59:52 +0200 (Wed, 17 Sep 2008) | 3 lines

Fix for bug #17634: crash on automatically removing zero size window.


------------------------------------------------------------------------
r16574 | ton | 2008-09-17 13:31:03 +0200 (Wed, 17 Sep 2008) | 3 lines

Added BulletSoftBody as target for Makefile installing of .h files


------------------------------------------------------------------------
r16573 | campbellbarton | 2008-09-17 13:23:28 +0200 (Wed, 17 Sep 2008) | 5 lines

rev 16569 broke building.
Looks like bullets Extras/ConvexDecomposition is missing from blenders source.
comment functions so it builds for now.


------------------------------------------------------------------------
r16572 | broken | 2008-09-17 06:07:58 +0200 (Wed, 17 Sep 2008) | 5 lines

* Some tweaks to the OBJ importer/exporter after chatting with Campbell
- renamed the 'morph target' option to 'keep vertex order'
- enabled 'keep vertex order' by default

This should improve usability for importing and exporting shape keys, point caches, mdds ,etc.
------------------------------------------------------------------------
r16571 | aligorith | 2008-09-17 06:06:59 +0200 (Wed, 17 Sep 2008) | 5 lines

Delete Keyframe Tool:

* Changed hotkey to Alt-I. As a result, Remove IK is now Ctrl-Alt-I, though that shouldn't affect many people at all as it appears that hardly anyone uses it.

* Added menu entries for Delete Keyframe
------------------------------------------------------------------------
r16570 | campbellbarton | 2008-09-17 05:13:15 +0200 (Wed, 17 Sep 2008) | 3 lines

Texture_getHFracDim was returning an int rather then a float (thanks zuegs for spotting)
removed unused var

------------------------------------------------------------------------
r16569 | erwin | 2008-09-17 04:30:19 +0200 (Wed, 17 Sep 2008) | 2 lines

Applied some fixes from Bullet: issues with btDbvtBroadphase, and btSoftBody, and better fix for 64-bit issue in btCompoundCollisionAlgorithm.

------------------------------------------------------------------------
r16568 | erwin | 2008-09-17 03:49:47 +0200 (Wed, 17 Sep 2008) | 3 lines

Preparation for real-time soft bodies for the game engine, step 1 out of 3. This should be harmless/non-intrusive.
Please make sure each build system include extern/bullet2/src/BulletSoftBody/* and extern/bullet2/src/LinearMath/btConvexHull.*

------------------------------------------------------------------------
r16567 | blendix | 2008-09-17 03:29:54 +0200 (Wed, 17 Sep 2008) | 8 lines

Fix for bug #4192: game engine armatures that are dynamically added
but don't have an action got the pose of already added armatures, even
though they're not related. This also fixes an issue where the armature
in Blender would end up in the pose from the game after ESC, removes
unneeded copies made during armature evaluation, and also solves the
constraint copying hack.


------------------------------------------------------------------------
r16565 | ben2610 | 2008-09-17 00:52:42 +0200 (Wed, 17 Sep 2008) | 1 line

BGE patch: bullet buttons UI change after discussion with Erwin: use a drop down instead of a series of buttons. Introduction of soft body option.
------------------------------------------------------------------------
r16564 | jesterking | 2008-09-16 23:23:56 +0200 (Tue, 16 Sep 2008) | 1 line

* make BulletSoftBody own small lib to make sure bullet libs don't grow too large for our beloved scons/mingw users.
------------------------------------------------------------------------
r16563 | jhk | 2008-09-16 23:16:32 +0200 (Tue, 16 Sep 2008) | 2 lines

Fix for [#17561] when i try to change the particle to hair I cant choose group or object as viz.
-Partly reverted Genscher's previous fix on the issue and added the idea he had as a special case
------------------------------------------------------------------------
r16562 | blendix | 2008-09-16 23:11:38 +0200 (Tue, 16 Sep 2008) | 5 lines

Fix for bug #5413: game engine armature actions and shapes keys
didn't work correct with scene suspend/resume, now works the same
as IPO's.


------------------------------------------------------------------------
r16561 | erwin | 2008-09-16 23:09:24 +0200 (Tue, 16 Sep 2008) | 2 lines

add BulletSoftBody to SConscript and Makefile

------------------------------------------------------------------------
r16560 | erwin | 2008-09-16 22:52:38 +0200 (Tue, 16 Sep 2008) | 1 line

add src/BulletSoftBody/* to cmake (other build systems also will need to do this soon)
------------------------------------------------------------------------
r16559 | blendix | 2008-09-16 21:28:54 +0200 (Tue, 16 Sep 2008) | 3 lines

Fix bug that broke editing vertices through python in the game engine.


------------------------------------------------------------------------
r16558 | blendix | 2008-09-16 21:25:35 +0200 (Tue, 16 Sep 2008) | 4 lines

Fix (harmless) error print about GameLogic.globalDict being lost. Also
fixed some memory leaks in this code and simplified it.


------------------------------------------------------------------------
r16557 | theeth | 2008-09-16 21:10:58 +0200 (Tue, 16 Sep 2008) | 7 lines

== Transform Snap ==

Tighten test for excluding objects as snap target.

Now exclude all object that are themselves moving (that includes childs of selected objects) as well as objects with moving geometry (like hooked meshes).

The previous situation would cause unfrequent bugs, but especially present in alignment cases (those concerned will understand).
------------------------------------------------------------------------
r16556 | jhk | 2008-09-16 20:40:54 +0200 (Tue, 16 Sep 2008) | 3 lines

"Fix" for #17636 Crashing bug - won't open a file
- The cause was indeed corrupted particle settings which should have caused a deletion of the whole particle system. However the particle modifier was still left and that led to the crash.
- A "fix" because there's really no way of knowing what caused the corruption of the particle settings. If anyone else gets this and can recreate I'd love to get a .blend. Now that there shouldn't be a crash anymore the symptom will be a missing particle system after file load in an object that had a particle system before.
------------------------------------------------------------------------
r16555 | ton | 2008-09-16 18:20:51 +0200 (Tue, 16 Sep 2008) | 3 lines

Added check for failing linking of a ID_PA block.


------------------------------------------------------------------------
r16553 | ton | 2008-09-16 17:28:07 +0200 (Tue, 16 Sep 2008) | 5 lines

Bugfix #17633

Tiny feature: "Flip normals" in editmode also recalculates vertex normals.


------------------------------------------------------------------------
r16552 | aligorith | 2008-09-16 08:55:15 +0200 (Tue, 16 Sep 2008) | 5 lines

Bugfix #17630: objects are disappearing if you insert a layer key and then change time

Forgot to set type of data for inserting keyframes, so data was probably written as float or so.


------------------------------------------------------------------------
r16551 | aligorith | 2008-09-16 08:33:59 +0200 (Tue, 16 Sep 2008) | 3 lines

Bugfix #17622: clicking on action IPO in outliner causes crash

In some cases, no action channels existed, but yet the Outliner displayed some that, when clicked on, would cause a crash.
------------------------------------------------------------------------
r16550 | campbellbarton | 2008-09-16 08:31:55 +0200 (Tue, 16 Sep 2008) | 3 lines

added static openal and openexr options for scons.
also added a target 'blenderlite' - turns almost everything off, compressed binary is ~3.4meg

------------------------------------------------------------------------
r16549 | aligorith | 2008-09-16 08:11:02 +0200 (Tue, 16 Sep 2008) | 3 lines

Bugfix #17627: Autokeyframe for Visual keying

Several months old typo! 'Visual keying' was not working for autokeyframing, as the test for it didn't even work.
------------------------------------------------------------------------
r16548 | blendix | 2008-09-16 04:58:33 +0200 (Tue, 16 Sep 2008) | 4 lines

Fix for bug #12028: background rendering on Mac OS X without
a window manager did not work anymore since 2.46.


------------------------------------------------------------------------
r16547 | jhk | 2008-09-16 00:08:30 +0200 (Tue, 16 Sep 2008) | 2 lines

Fix for #17618 Particles: changing RGB sliders snap back
-particle drawing was reading material ipos in a too invasive way
------------------------------------------------------------------------
r16545 | ben2610 | 2008-09-15 23:37:27 +0200 (Mon, 15 Sep 2008) | 1 line

BGE bug #17565 fixed: Constraint Actuator Location: GUI broken. Axis selection was not persistent, now it is.
------------------------------------------------------------------------
r16544 | ben2610 | 2008-09-15 23:10:51 +0200 (Mon, 15 Sep 2008) | 1 line

BGE bug #17621 fixed: State Actuator GUI Flaw. State actuator didn't behave like the object state mask. Now it works the same: LMB select one state, deselects all others, multiple select with SHIFT-LMB
------------------------------------------------------------------------
r16543 | bdiego | 2008-09-15 20:23:34 +0200 (Mon, 15 Sep 2008) | 13 lines

Small fix in GHOST X11 system.

* Fix and a little of cleanup to the full screen, minimzed and
  maximized code.

* Fix bad argument in the ClientMessage event to support the
  _NET_ACTIVE_WINDOW property.

* Fix focus problem in some WM (like TWM), this is because Blender
  don't set the WM_PROTOCOLS list, now it does, a very basic list
  but it's what we need now.
 

------------------------------------------------------------------------
r16542 | blendix | 2008-09-15 20:15:11 +0200 (Mon, 15 Sep 2008) | 11 lines

Workaround for an Nvidia driver bug on 32 bit linux (maybe windows too).
I reversed the order of attaching shader objects for linking to solve an
issue in the driver before, but now it appears it needs to be the other
way around again? I don't know if these are the same cards that now want
it different again due to changes in the glsl code, but I found another
workaround for the first bug in a forum post (leaving out parameter names
in the declarations), so with some luck both cases work?

http://developer.nvidia.com/forums/index.php?showtopic=596


------------------------------------------------------------------------
r16540 | sirdude | 2008-09-15 17:58:50 +0200 (Mon, 15 Sep 2008) | 4 lines

Small tweak to get things compiling again.

Kent

------------------------------------------------------------------------
r16538 | blendix | 2008-09-15 14:40:17 +0200 (Mon, 15 Sep 2008) | 4 lines

Added -d debug option for blenderplayer, and remove some
invalid/unnecessary opengl calls on shader errors.


------------------------------------------------------------------------
r16537 | blendix | 2008-09-15 13:39:49 +0200 (Mon, 15 Sep 2008) | 4 lines

Fix glsl vertex shader string that was not 0 terminated, no idea
if it caused any problems.


------------------------------------------------------------------------
r16536 | campbellbarton | 2008-09-15 11:24:54 +0200 (Mon, 15 Sep 2008) | 2 lines

copy menu didnt copy visible and initial states, physics margin was also missing from "all physical attributes" option

------------------------------------------------------------------------
r16535 | campbellbarton | 2008-09-15 11:08:36 +0200 (Mon, 15 Sep 2008) | 2 lines

tooltip improvements from dfelinto, some minor edits

------------------------------------------------------------------------
r16534 | aligorith | 2008-09-15 06:15:37 +0200 (Mon, 15 Sep 2008) | 4 lines

Delete Key Tool - Bugfixes:

* Available option would crash
* 'Visual' options are now not available for this tool (are not relevant)
------------------------------------------------------------------------
r16533 | campbellbarton | 2008-09-15 04:18:37 +0200 (Mon, 15 Sep 2008) | 2 lines

replaced static make_absolute_filename with BLI_convertstringcwd

------------------------------------------------------------------------
r16532 | campbellbarton | 2008-09-15 03:32:53 +0200 (Mon, 15 Sep 2008) | 6 lines

added BLI_convertstringcwd, used so command line blendfiles and python scripts can be relative to the current path.
- was alredy doing this for blendfiles, but better to have in its own function.

header_text.c - renamed PATH_MAX, was defined by system includes.


------------------------------------------------------------------------
r16531 | blendix | 2008-09-15 02:57:11 +0200 (Mon, 15 Sep 2008) | 4 lines

Fix for bug #17620: the motion blur actuator did not work correct
with an always sensor, it kept resettting the motion blur each frame.


------------------------------------------------------------------------
r16530 | blendix | 2008-09-15 02:34:43 +0200 (Mon, 15 Sep 2008) | 7 lines

Fix for bug #4859: once a visibility actuator was set it was not
possible to change the visibility again through python for example.
This is because the actuator kept setting the visibility again each
frame, as a workaround for there being no separate visible and
viewport culling flag, but that was added some time ago.


------------------------------------------------------------------------
r16529 | blendix | 2008-09-15 02:11:30 +0200 (Mon, 15 Sep 2008) | 9 lines

Fix zoom level and clipping to be consistent with the viewport
when pressing P without a camera active, now it should match
the view exactly.

Fix an issue when setting a camera with an actuator and being
in orthographic mode in the viewport without an active camera,
it used a strange mix of the set camera and the viewport then.


------------------------------------------------------------------------
r16528 | blendix | 2008-09-14 23:31:07 +0200 (Sun, 14 Sep 2008) | 3 lines

Fix for bug #17617: GLSL shaders change vertex color unexpectedly.


------------------------------------------------------------------------
r16527 | ben2610 | 2008-09-14 21:34:06 +0200 (Sun, 14 Sep 2008) | 37 lines

BGE patch: new Physics button and margin parameter in Logic panel. Change subversion.

The Physics button controls the creation of a physics representation 
of the object when starting the game. If the button is not selected,
the object is a pure graphical object with no physics representation
and all the other physics buttons are hidden.
Selecting this button gives access to the usual physics buttons.
The physics button is enabled by default to match previous Blender
behavior.

The margin parameter allows to control the collision margin from
the UI. Previously, this parameter was only accessible through 
Python. By default, the collision margin is set to 0.0 on static 
objects and 0.06 on dynamic objects. 
To maintain compatibility with older games, the collision margin
is set to 0.06 on all objects when loading older blend file.

Note about the collision algorithms in Bullet 2.71
--------------------------------------------------
Bullet 2.71 handles the collision margin differently than Bullet 2.53
(the previous Bullet version in Blender). The collision margin is 
now kept "inside" the object for box, sphere and cylinder bound 
shapes. This means that two objects bound to any of these shape will
come in close contact when colliding. 
The static mesh, convex hull and cone shapes still have their
collision margin "outside" the object, which leaves a space of 1
or 2 times the collision margin between objects. 

The situation with Bullet 2.53 was more complicated, generally
leading to more space between objects, except for box-box collisions. 

This means that running a old game under Bullet 2.71 may cause
visual problems, especially if the objects are small. You can fix
these problems by changing some visual aspect of the objects: 
center, shape, size, position of children, etc.


------------------------------------------------------------------------
r16526 | ben2610 | 2008-09-14 21:07:57 +0200 (Sun, 14 Sep 2008) | 1 line

Update MSVC project and fix compilation problem in VS2003 with keyframing.c
------------------------------------------------------------------------
r16525 | blendix | 2008-09-14 19:59:22 +0200 (Sun, 14 Sep 2008) | 4 lines

Fix a game engine crash with mesh objects parented to an armature
without vertex groups.


------------------------------------------------------------------------
r16524 | campbellbarton | 2008-09-14 19:56:15 +0200 (Sun, 14 Sep 2008) | 2 lines

scons option for linking python statically - useful for building a more compatible blenderplayer, where most games python scripts only use builtin modules anyway.

------------------------------------------------------------------------
r16523 | campbellbarton | 2008-09-14 19:26:38 +0200 (Sun, 14 Sep 2008) | 2 lines

error in last commit

------------------------------------------------------------------------
r16522 | campbellbarton | 2008-09-14 19:19:59 +0200 (Sun, 14 Sep 2008) | 2 lines

fix for what looks like simple mistake, function wasnt returning any values (compiler warning) and the variable being checked to return a value was never assigned.

------------------------------------------------------------------------
r16521 | elubie | 2008-09-14 18:22:03 +0200 (Sun, 14 Sep 2008) | 2 lines

Bugfix: avoid crash with too long pathname.

------------------------------------------------------------------------
r16520 | khughes | 2008-09-14 16:17:44 +0200 (Sun, 14 Sep 2008) | 5 lines

Python API
----------
Fix C90 mixed declarations and code.


------------------------------------------------------------------------
r16519 | aligorith | 2008-09-14 14:41:42 +0200 (Sun, 14 Sep 2008) | 7 lines

== Global 'Delete Key' Tool ==

The 'opposite' of the "Insert Key" tool. 
- Use the hotkey Ctrl-Alt-IKEY to activate.
- Only available in 3d-view and buttons window 

I've added an extra var to verify_ipo and verify_ipocurve to save having to make another duplicate of that code. Hopefully the gameengine compiles ok with this.
------------------------------------------------------------------------
r16518 | ton | 2008-09-14 11:09:10 +0200 (Sun, 14 Sep 2008) | 6 lines

Bugfix #17608

Fileselect window:
Pressing X to remove a file should not work in databrowse view.


------------------------------------------------------------------------
r16517 | aligorith | 2008-09-14 07:52:57 +0200 (Sun, 14 Sep 2008) | 5 lines

More bugfixes:

* Added missing includes
* Fixed typos in header
* Added code to get ipo for 'Available' keyingsets to work
------------------------------------------------------------------------
r16516 | campbellbarton | 2008-09-14 07:42:05 +0200 (Sun, 14 Sep 2008) | 2 lines

game engine didnt compile with recent keyframing changes

------------------------------------------------------------------------
r16515 | campbellbarton | 2008-09-14 07:10:45 +0200 (Sun, 14 Sep 2008) | 2 lines

running scripts in background mode would crash in some cases. (tested all scripts, none segfault now)

------------------------------------------------------------------------
r16514 | aligorith | 2008-09-14 06:35:27 +0200 (Sun, 14 Sep 2008) | 6 lines

Bugfix:

Small errors in last commit 
- wrong check for ignoring some separators in auto-menus
- missing some separators
- typo fixes
------------------------------------------------------------------------
r16513 | aligorith | 2008-09-14 06:32:17 +0200 (Sun, 14 Sep 2008) | 9 lines

== Keyframing - Cleanup of API ==

* Moved all keyframing functions to their own file (keyframing.c)

* Merged all the different keyframing options (needed, visual, fast) into a single API call. The direct benefit of this is that it allows them to be used in conjunction with each other. Also, this means that when using the IKEY, autokeying settings for these are respected too.

* Implemented 'keyingsets' system (instead of directly calling insertkey on relevant channels), which is easier to maintain and cleaner. A keyingset basically defines all the channels that can be keyframed together. This paves the way for custom keyingsets sometime down the track (and also for quick-insert keyframes for previously used keyingset).

Menus for choosing the keying set to use are generated automatically from the definitions.
------------------------------------------------------------------------
r16512 | blendix | 2008-09-14 05:51:51 +0200 (Sun, 14 Sep 2008) | 8 lines

Fix for bug #5758 and #17585: armatures with IK constraint did not
work in the game player, now the IK lib is linked into the player.

Makefiles/Scons/CMake buildsystems have been updated.

Fix materials nodes to work in the game player.


------------------------------------------------------------------------
r16511 | blendix | 2008-09-14 03:10:45 +0200 (Sun, 14 Sep 2008) | 8 lines

Fix for bug #7097: blender multitexture materials in the game engine
player did not enable mipmapping when falling back to texfaces.

Also commented out code that disabled mipmapping in the player on
Mac OS X. If that is a workaround for a bug it is a really poor one,
and hopefully fixed now since this code is from 2002 or earlier.


------------------------------------------------------------------------
r16510 | blendix | 2008-09-14 02:32:18 +0200 (Sun, 14 Sep 2008) | 13 lines


Various game engine fixes:

* Fix issue with add transparency mode with blender materials.
* Possible fix at frontface flip in the game engine.
* Fix color buffering clearing for multiple viewports, it used
  to clear as if there was one.
* Fix for zoom level in user defined viewports, it was based on
  the full window before, now it is based on the viewport itself.
* For user defined viewports, always use Expose instead of
  Letterbox with bars, the latter doesn't make sense then.


------------------------------------------------------------------------
r16509 | jhk | 2008-09-13 23:06:22 +0200 (Sat, 13 Sep 2008) | 2 lines

Fix for #11740 - Reactor particles do not render in animation.
- Particle data was deleted when the current frame was outside the baked range. Reactor particles need this data to store birth and death times.
------------------------------------------------------------------------
r16508 | blendix | 2008-09-13 21:19:51 +0200 (Sat, 13 Sep 2008) | 5 lines

Game engine: added Rasterizer.get/setMaterialMode to set texface,
multitexture or glsl materials. This does not affect existing
scenes, only newly created ones.


------------------------------------------------------------------------
r16507 | jhk | 2008-09-13 20:09:41 +0200 (Sat, 13 Sep 2008) | 8 lines

Particle collisions upgrade:

- Particle now use the deflector objects collision modifier data to collide with deflectors and as a result can now use the velocity of the colliding object for more realistic collisions.
- Dynamic rotations are also quite a bit more realistic and are related to the friction setting of the deflector (to get any dynamic rotations there has to be some friction). This is largely due to the separate handling of rolling friction (approximated to be 1% of normal sliding friction).
- Collisions should be a bit faster on complex deflectors due to the tree structure used by the collision modifier.
- Collision should also generally be a bit more accurate.

To be noted: Only the average velocity of individual deflector faces is used, so collisions with rotating or deforming objects can't be handled accurately - this would require much more complex calculations. Subdividing the deflector object surface to smaller faces can help with this as the individual face velocities become more linear.
------------------------------------------------------------------------
r16506 | ben2610 | 2008-09-13 18:03:11 +0200 (Sat, 13 Sep 2008) | 1 line

BGE patch: use new btScaledBvhTriangleMeshShape to allow shape sharing between replicas and avoid BVH rebuild in case of scaling. This will save memory and speed up greatly the instantiation of static mesh.
------------------------------------------------------------------------
r16504 | blendix | 2008-09-13 16:21:06 +0200 (Sat, 13 Sep 2008) | 4 lines

Fix to make blenderplayer compile with makefiles on Mac OS X. It worked
on Linux already, I think there is a difference in the linker.


------------------------------------------------------------------------
r16503 | campbellbarton | 2008-09-13 14:07:36 +0200 (Sat, 13 Sep 2008) | 2 lines

bullet wasnt building on 64bit linux

------------------------------------------------------------------------
r16502 | ben2610 | 2008-09-13 13:46:07 +0200 (Sat, 13 Sep 2008) | 1 line

BGE patch: fix transform bug on compound shape: child shape didn't take into account parent inverse node. Fix scaling bug on instantiation of compound shape: child shape didn't have correct shape. Note: global scaling doesn't work on compound shape (limitation of Bullet); don't set any scale on the top dynamic object.
------------------------------------------------------------------------
r16501 | campbellbarton | 2008-09-13 13:43:01 +0200 (Sat, 13 Sep 2008) | 2 lines

return dummy python values when no joystick is present

------------------------------------------------------------------------
r16500 | ben2610 | 2008-09-13 13:41:52 +0200 (Sat, 13 Sep 2008) | 1 line

Update MSVC project files for latest bullet revision
------------------------------------------------------------------------
r16499 | campbellbarton | 2008-09-13 10:22:55 +0200 (Sat, 13 Sep 2008) | 2 lines

32 sounds max would crash on windows because the openal limit is 24, tested an the to-frankie demo playes ok with 24, but would be good to make use of the sound lib's 'priority' option.

------------------------------------------------------------------------
r16498 | ben2610 | 2008-09-13 10:10:50 +0200 (Sat, 13 Sep 2008) | 1 line

Adapt MSVC project files for latest lib/windows configuration (update lib/windows first).
------------------------------------------------------------------------
r16497 | ben2610 | 2008-09-13 10:05:16 +0200 (Sat, 13 Sep 2008) | 1 line

Update MSVC project file for latest Bullet revision. Remove compound patch as it is now included in Bullet trunk.
------------------------------------------------------------------------
r16496 | erwin | 2008-09-13 09:06:43 +0200 (Sat, 13 Sep 2008) | 6 lines

Upgrade to latest Bullet trunk, that is in sync with Blender/extern/bullet2. (except for one define 'WIN32_AVOID_SSE_WHEN_EMBEDDED_INSIDE_BLENDER')
In case someone reads those SVN logs: you can enable some extra broadphase SSE optimizations by replacing WIN32_AVOID_SSE_WHEN_EMBEDDED_INSIDE_BLENDER by WIN32 in extern/bullet2/src/BulletCollision/BroadphaseCollision/btDbvt.h

Thanks to Benoit Bolsee for the upstream patch/contribution.
Removed some obsolete files, they were just intended for comparison/testing.

------------------------------------------------------------------------
r16495 | erwin | 2008-09-13 07:24:52 +0200 (Sat, 13 Sep 2008) | 1 line

avoid crash when game engine returns to Blender, and OpenAL sources haven't been initialized properly for some reason.
------------------------------------------------------------------------
r16492 | blendix | 2008-09-12 18:06:17 +0200 (Fri, 12 Sep 2008) | 8 lines


Fixes for game engine runtime on Mac OS X, there were issues
working with relative paths. Still doesn't work optimal, since
paths are relative to game.blend which is in the app bundle
under Contents/Resources, so other files need to be moved there
manually at the moment.


------------------------------------------------------------------------
r16491 | ton | 2008-09-12 17:26:00 +0200 (Fri, 12 Sep 2008) | 3 lines

Bugfixes in SDL joystick, apparently it gives NULLs in OSX.


------------------------------------------------------------------------
r16490 | genscher | 2008-09-12 16:09:44 +0200 (Fri, 12 Sep 2008) | 1 line

merging bullet 2.71 to trunk --> svn merge -r16334:16486 https://svn.blender.org/svnroot/bf-blender/branches/sim_physics
------------------------------------------------------------------------
r16489 | campbellbarton | 2008-09-12 15:26:49 +0200 (Fri, 12 Sep 2008) | 2 lines

typo in recent commit

------------------------------------------------------------------------
r16488 | campbellbarton | 2008-09-12 15:24:22 +0200 (Fri, 12 Sep 2008) | 3 lines

made max sounds playable at once 32 rather then 16. (demo release background music would turn off otherwise)
made selecting sound samples keep the relative path setting.

------------------------------------------------------------------------
r16487 | genscher | 2008-09-12 15:15:52 +0200 (Fri, 12 Sep 2008) | 1 line

Bugfix [#17609] Complex particles crash II - related to #17592
------------------------------------------------------------------------
r16485 | genscher | 2008-09-12 14:33:55 +0200 (Fri, 12 Sep 2008) | 1 line

Correct half of rev16483, which does typecasts which are not nice on Win64 plattform
------------------------------------------------------------------------
r16484 | aligorith | 2008-09-12 07:54:39 +0200 (Fri, 12 Sep 2008) | 3 lines

IPO Editor - Zoom view to area

The Shift-B hotkey can now be used to access this tool.
------------------------------------------------------------------------
r16483 | khughes | 2008-09-12 07:27:02 +0200 (Fri, 12 Sep 2008) | 3 lines

Add some typecasts for intptr_t and uintptr_t value to fix gcc warnings.


------------------------------------------------------------------------
r16482 | bdiego | 2008-09-12 07:14:57 +0200 (Fri, 12 Sep 2008) | 6 lines

Fix segmentation fault in ipo transform.

The NLA_IPO_SCALED define don't check if we have a Ipo Space open,
so in some case (like when you move a rig with locrot key) when
the function make_ipokey_transform is called, Blender crash.

------------------------------------------------------------------------
r16481 | khughes | 2008-09-12 07:02:06 +0200 (Fri, 12 Sep 2008) | 13 lines

Python API
----------
Patch #17481: added Material attributes for missing colorbands controls:
 * material.colorbandDiffuseInput
 * material.colorbandDiffuseMethod
 * material.colorbandDiffuseFactor
 * material.colorbandSpecularInput
 * material.colorbandSpecularMethod
 * material.colorbandSpecularFactor

Contributed by Emilio José Encinas Mir (asfhy).  Thanks!


------------------------------------------------------------------------
r16480 | khughes | 2008-09-12 04:23:52 +0200 (Fri, 12 Sep 2008) | 5 lines

Python API
----------
Second and final part of MTex API changes.  Added support for new attributes for MTex World objects, stricter checking of attribute types for materia/lamp/world MTex objects, setters for lamp.textures and world.textures attributes, and updated documentation.


------------------------------------------------------------------------
r16479 | campbellbarton | 2008-09-12 04:15:16 +0200 (Fri, 12 Sep 2008) | 6 lines

save and load configuration actuator, (option in game actuator menu)
saves a marshal'd GameLogic.globalDict to the blendfile path with the blend extension replaced with bgeconf

Use this in YoFrankie to save keyboard layout and graphics quality settings.


------------------------------------------------------------------------
r16478 | khughes | 2008-09-12 01:50:22 +0200 (Fri, 12 Sep 2008) | 5 lines

Python API
----------
Add description for missing parameter in Mesh.MFaceSeq.extend() documentation.


------------------------------------------------------------------------
r16475 | ton | 2008-09-11 18:50:34 +0200 (Thu, 11 Sep 2008) | 5 lines

Bugfix #14033

Option for Image render "Clip" gave wrong alphas on the edge of image.


------------------------------------------------------------------------
r16474 | ton | 2008-09-11 18:37:53 +0200 (Thu, 11 Sep 2008) | 5 lines

Bugfix 12478

Border render didnt work for ANIM render.


------------------------------------------------------------------------
r16473 | campbellbarton | 2008-09-11 16:58:13 +0200 (Thu, 11 Sep 2008) | 2 lines

BGE message python api could return a CList type or None which makes exception checks annoying. just return an empty CList rather then None.

------------------------------------------------------------------------
r16472 | blendix | 2008-09-11 15:00:54 +0200 (Thu, 11 Sep 2008) | 4 lines

Bugfix: saved game engine runtimes failed to load library .blend
files with relative paths.


------------------------------------------------------------------------
r16471 | blendix | 2008-09-11 13:30:32 +0200 (Thu, 11 Sep 2008) | 3 lines

Fix for bug #17602: 32 bit bmp files were read with red and blue swapped.


------------------------------------------------------------------------
r16470 | blendix | 2008-09-11 12:17:17 +0200 (Thu, 11 Sep 2008) | 4 lines

Fix for bug #17593: glsl crash using a texture node without a
texture assigned.


------------------------------------------------------------------------
r16469 | aligorith | 2008-09-11 08:17:21 +0200 (Thu, 11 Sep 2008) | 1 line

Compiler warning fixes (mingw)
------------------------------------------------------------------------
r16468 | campbellbarton | 2008-09-11 03:51:45 +0200 (Thu, 11 Sep 2008) | 3 lines

BPY api addition material.freeNodes() - use to cleanup apricot files, since there is no way to remove a node tree via the UI, unused materials and duplicate images were hanging around.
buttons_logic - gave the name a but more room then the controller type, better for documentation screenshots.

------------------------------------------------------------------------
r16467 | khughes | 2008-09-11 01:22:12 +0200 (Thu, 11 Sep 2008) | 6 lines

Tools
---------
Fix user counting for particles.  id.us was not being decremented when using
the browser to replace current particle system.


------------------------------------------------------------------------
r16466 | campbellbarton | 2008-09-11 00:49:11 +0200 (Thu, 11 Sep 2008) | 2 lines

removed debug print

------------------------------------------------------------------------
r16465 | khughes | 2008-09-10 23:37:22 +0200 (Wed, 10 Sep 2008) | 7 lines

Scripts
-------
Removed empty parenthesis from class definitions, causes a syntax error in 
Python 2.4 (reported by Sanne on IRC, thanks!)



------------------------------------------------------------------------
r16464 | genscher | 2008-09-10 17:51:10 +0200 (Wed, 10 Sep 2008) | 1 line

Bugfix [#17594] separated mesh crash
------------------------------------------------------------------------
r16463 | genscher | 2008-09-10 17:25:06 +0200 (Wed, 10 Sep 2008) | 1 line

Bugfix for [#17561] when i try to change the particle to hair I cant choose group or object as viz; Bugfix for mat[4][4] equal to zero resulting in no duplis --> Important: Janne could you check that fixes?
------------------------------------------------------------------------
r16462 | sirdude | 2008-09-10 17:07:20 +0200 (Wed, 10 Sep 2008) | 9 lines

This is patch:
[#15135] imbuf DDS support: sync to nvidia texture tools revision 602 + fix for ATI2 compressed normal maps

It just updates the dds stuff.

Provided by Amorilia

Kent

------------------------------------------------------------------------
r16461 | blendix | 2008-09-10 15:02:58 +0200 (Wed, 10 Sep 2008) | 7 lines


Fix for bug #8132: on Mac OS X 10.5 with Nvidia cards drawing
background images and node previews goes wrong. The exact cause
of that is not sure, may be a driver bug, workaround is to fall
back to another slower function.


------------------------------------------------------------------------
r16460 | aligorith | 2008-09-10 14:04:20 +0200 (Wed, 10 Sep 2008) | 3 lines

Bugfix:

There were too many undo events being added for IPO Editor when selecting items with the mouse. Removed deselectall_editipo()'s undo push, as it was never called standalone anyway.
------------------------------------------------------------------------
r16459 | aligorith | 2008-09-10 13:45:42 +0200 (Wed, 10 Sep 2008) | 3 lines

Bugfix #17495: IPO curve handles go haywire

When editing IPO curve handles on a curve that belongs to a NLA-strip with repeat != 1 and 'AutoMerge Keyframes' on, the scaling correction was causing more problems than it was worth.
------------------------------------------------------------------------
r16458 | genscher | 2008-09-10 13:42:07 +0200 (Wed, 10 Sep 2008) | 1 line

Implement softbody function for modifier_depeends_on_time()
------------------------------------------------------------------------
r16457 | genscher | 2008-09-10 13:40:30 +0200 (Wed, 10 Sep 2008) | 1 line

Bugfix [#12033] Cloth and Softbody don't work with Object Actions (fix pointed out by Aligorith. Ton: You might like to look over this)
------------------------------------------------------------------------
r16456 | genscher | 2008-09-10 13:38:19 +0200 (Wed, 10 Sep 2008) | 1 line

Bugfix [#17592] Complex particle system crash
------------------------------------------------------------------------
r16453 | blendix | 2008-09-10 11:51:06 +0200 (Wed, 10 Sep 2008) | 5 lines


Fix for bug #17589: removing a lamp in the game engine with glsl
materials did not work correct.


------------------------------------------------------------------------
r16452 | campbellbarton | 2008-09-10 05:34:08 +0200 (Wed, 10 Sep 2008) | 2 lines

2 gamelogic templates, one with example functions and comments, another minimal template for those who know the api.

------------------------------------------------------------------------
r16451 | campbellbarton | 2008-09-10 03:17:03 +0200 (Wed, 10 Sep 2008) | 4 lines

BPY merge from apricot branch.
work around non unix line endings using pythons execfile() function rather then loading the binary data and manually stripping the line endings.


------------------------------------------------------------------------
r16450 | ben2610 | 2008-09-10 00:40:10 +0200 (Wed, 10 Sep 2008) | 1 line

BGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling bug on setParent(). Add python setWorldPosition() to allow setting object position in world coordinate regardless if it is a root or a child object.
------------------------------------------------------------------------
r16449 | genscher | 2008-09-09 23:46:19 +0200 (Tue, 09 Sep 2008) | 1 line

Bugfix for [#17363] Edge selection mode + knife twice = latter cut doesn't do anything
------------------------------------------------------------------------
r16448 | ben2610 | 2008-09-09 23:15:30 +0200 (Tue, 09 Sep 2008) | 1 line

Patch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer, using -i as input parameter to pass embedder window id. create a minimal web plugin to embed blenderplayer on web pages (using gecko/mozilla as browser). Only for *nix.
------------------------------------------------------------------------
r16447 | khughes | 2008-09-09 22:52:18 +0200 (Tue, 09 Sep 2008) | 6 lines

Python API
----------
Bugfix #14425.  Particle.Get() could return a list of invalid items.  The API
still needs more work, but for now throw an NotImplemented exception.


------------------------------------------------------------------------
r16446 | blendix | 2008-09-09 22:19:00 +0200 (Tue, 09 Sep 2008) | 5 lines


Fix for bug #14775: memorblock end corrupt print, needed to allocate
one byte more for the align menu string 0 terminator. 


------------------------------------------------------------------------
r16445 | blendix | 2008-09-09 22:09:54 +0200 (Tue, 09 Sep 2008) | 4 lines


Fix for bug #17588: crash with ctrl+a and no active object.


------------------------------------------------------------------------
r16444 | blendix | 2008-09-09 22:01:21 +0200 (Tue, 09 Sep 2008) | 4 lines


Forgot this file in previous commit.


------------------------------------------------------------------------
r16443 | blendix | 2008-09-09 22:00:57 +0200 (Tue, 09 Sep 2008) | 6 lines


Fix for bug #17443: make bone heat weighting solve a bit less
sensitive to poorly shaped geometry, should succeed solving
in more cases now.


------------------------------------------------------------------------
r16441 | genscher | 2008-09-09 20:44:10 +0200 (Tue, 09 Sep 2008) | 1 line

Bugfix for [#17329] Bevel Weights are lost after Subsurf
------------------------------------------------------------------------
r16439 | blendix | 2008-09-09 19:27:01 +0200 (Tue, 09 Sep 2008) | 8 lines


Fix for bug #12132: vector blur with fast moving objects does
not give a smooth fallof. there's no correct fix possible due
to a lack of information, but this manually adds a smoother
falloff, overestimating the contribution of foregroud pixels
instead of becoming transparent.


------------------------------------------------------------------------
r16437 | genscher | 2008-09-09 18:38:08 +0200 (Tue, 09 Sep 2008) | 1 line

Bugfix #17562: array fit to curve isnt working
------------------------------------------------------------------------
r16435 | blendix | 2008-09-09 17:15:01 +0200 (Tue, 09 Sep 2008) | 6 lines


Fix for bug #17402: IK influence blending with pole targets
didn't give smooth transition. Now it blends the result of
IK solving in that case.


------------------------------------------------------------------------
r16434 | blendix | 2008-09-09 16:16:54 +0200 (Tue, 09 Sep 2008) | 9 lines


Fix for bug #17580: crash rendering instanced objects with
halo material attach to the object instead of the mesh.

Also for bug #13489: avoid a crash rendering with invalid
active vcol layer, most likely caused by a bug that was
already fixed.


------------------------------------------------------------------------
r16433 | ton | 2008-09-09 15:35:38 +0200 (Tue, 09 Sep 2008) | 6 lines

Bugfix #13592

Sequencer, Time, Sound windows were drawing frame numbers double when
too far zoomed in. 


------------------------------------------------------------------------
r16432 | ton | 2008-09-09 14:51:22 +0200 (Tue, 09 Sep 2008) | 5 lines

Bugfix #13596

Wrong popup on single-user particles, it said "make local".


------------------------------------------------------------------------
r16431 | ton | 2008-09-09 14:00:38 +0200 (Tue, 09 Sep 2008) | 10 lines

Bugfix #13653

Autosave disable didn't work.

Note however that a disabled autosave only gets active on saving the 
user settings, and loading blender again. This is a timer that gets 
set on startup. I didn't code a kill timer. :)



------------------------------------------------------------------------
r16430 | ton | 2008-09-09 13:40:29 +0200 (Tue, 09 Sep 2008) | 6 lines

Bugfix #13675

Edge render made star render disappear. Wrong Z value comparing...
(2 year old bug!)


------------------------------------------------------------------------
r16429 | campbellbarton | 2008-09-09 12:58:58 +0200 (Tue, 09 Sep 2008) | 2 lines

wasnt using icon buttons correctly

------------------------------------------------------------------------
r16428 | ton | 2008-09-09 12:16:09 +0200 (Tue, 09 Sep 2008) | 6 lines

Bugfix #13837

Tonemap didn't correctly accept any buffer type.
The coder who added this should check this fix! Any node coder maybe...


------------------------------------------------------------------------
r16427 | khughes | 2008-09-09 01:39:32 +0200 (Tue, 09 Sep 2008) | 16 lines

Python API
----------
Add access to MTex objects from Lamps and Worlds (first pass).  Since the
MTex structure is slightly difference between materials, lamps, and worlds,
a field is added to the BPy MTex object to distinquish which type it wraps.

Attempting to access attributes which are unique to materials for lamp or
world MTex objects throw an exception.  The next pass will implement MTex
attributes which are specific to Lamps and Worlds.

A new attribute (textures) is added to each module.  It is compatible with
the previous Material.getTextures(), which returns a tuple of either MTex
objects or None.  Surprised we never added an attribute for this before in
all the changes and refactoring.


------------------------------------------------------------------------
r16424 | ton | 2008-09-08 17:15:00 +0200 (Mon, 08 Sep 2008) | 6 lines

Bugfix #17566

Modifier buttons: now check properly for external lib data, modifiers are
on object only. Only "Apply" is locked now.


------------------------------------------------------------------------
r16423 | ton | 2008-09-08 15:04:10 +0200 (Mon, 08 Sep 2008) | 8 lines

Bugfix #17375

Crash on converting object to other type, and replace object.
Deleting should trigger a new depsgraph.

Oldie bug!


------------------------------------------------------------------------
r16422 | aligorith | 2008-09-08 14:36:49 +0200 (Mon, 08 Sep 2008) | 6 lines

Grease Pencil - Defaults Cleanups:

* Made new layers default to having thickness of 3, and opacity of 0.9. These values seem to be used more often.
* Newly added Grease Pencil blocks will now be expanded by default in the Action Editor
* Added support for Image Editor grease-pencil blocks to the Action Editor
* Added version-patching for missing colours used by the info-string for GPencil.
------------------------------------------------------------------------
r16421 | aligorith | 2008-09-08 14:06:40 +0200 (Mon, 08 Sep 2008) | 3 lines

Bugfix:

Grease Pencil panel now updates correctly in Sequencer
------------------------------------------------------------------------
r16420 | ton | 2008-09-08 13:13:34 +0200 (Mon, 08 Sep 2008) | 5 lines

Bug #17317

Vertexpaint mode: option "paint mask" (Fkey) missed redraw for buttons


------------------------------------------------------------------------
r16419 | ton | 2008-09-08 12:31:00 +0200 (Mon, 08 Sep 2008) | 6 lines

Bugfix #17305

3d window didn't refresh correctly when loading a new background image.
Fix by Ken Hughes. :)


------------------------------------------------------------------------
r16418 | aligorith | 2008-09-08 08:49:19 +0200 (Mon, 08 Sep 2008) | 8 lines

View 3D - Improvements for Info Drawing:

The little info string beside the mini-axis (in bottom left corner) is now more useful when animating fullscreen. ZanQdo feature request.

* Info string is drawn in yellow when there is a keyframe on this frame. 
Hopefully this doesn't introduce any major slowdowns, as it does do a search for keyframes for every redraw.
* Name of first marker that occurs on the current frame is now also shown (in angled brackets). No angle brackets are shown if no marker.
* Info string is also shown when there is no active object.
------------------------------------------------------------------------
r16416 | genscher | 2008-09-07 22:46:54 +0200 (Sun, 07 Sep 2008) | 1 line

Bugfix for #17572 Boids Particles Crash
------------------------------------------------------------------------
r16415 | genscher | 2008-09-07 22:18:26 +0200 (Sun, 07 Sep 2008) | 1 line

Bug [#17454] Wave modifier crash, fix provided by Banlu Kemiyatorn
------------------------------------------------------------------------
r16414 | ben2610 | 2008-09-07 21:58:37 +0200 (Sun, 07 Sep 2008) | 1 line

BGE bug #17574 fixed: GE Text input doesn't register in 2.47. Force registration of keyboard sensor with no link as this is typically the setting for key logging.
------------------------------------------------------------------------
r16411 | ton | 2008-09-07 20:18:50 +0200 (Sun, 07 Sep 2008) | 5 lines

Bugfix #17446

Two menu errors in Node Editor.


------------------------------------------------------------------------
r16410 | ton | 2008-09-07 19:13:05 +0200 (Sun, 07 Sep 2008) | 7 lines

bugfix 17527

Halo render: lines and rings were not using random anymore... got lost
in particle upgrade of pre-peach. Tsk!



------------------------------------------------------------------------
r16409 | campbellbarton | 2008-09-07 18:37:55 +0200 (Sun, 07 Sep 2008) | 2 lines

Draw icons in the layer button to show used layers as well as layer of active object, this is a feature from apricot but used button color instead which was confusing.

------------------------------------------------------------------------
r16407 | campbellbarton | 2008-09-07 16:02:58 +0200 (Sun, 07 Sep 2008) | 3 lines

[#17579] Added support to VSE Python API for adding movie and audio HD sequences
from Rob Scott (spamagnet)

------------------------------------------------------------------------
r16406 | ton | 2008-09-07 15:15:44 +0200 (Sun, 07 Sep 2008) | 7 lines

Bugfix #17497

FSA didn't support "key alpha", fixed it.
Also noticed edge-enhance didnt work for FSA, added warning for that,
fixing it is too clumsy, this option belongs in compositor.


------------------------------------------------------------------------
r16405 | aligorith | 2008-09-07 13:36:52 +0200 (Sun, 07 Sep 2008) | 3 lines

Grease Pencil - Stick to View for Sequencer:

The 'Stick to View' feature now works in the sequencer (image previews)
------------------------------------------------------------------------
r16404 | ben2610 | 2008-09-07 12:47:33 +0200 (Sun, 07 Sep 2008) | 1 line

BGE patch: Simulate dupligroup operation when parent and child are not active/inactive at the same time: don't convert the child. This unusual situation is used in Apricot for testing.
------------------------------------------------------------------------
r16403 | ton | 2008-09-07 12:24:02 +0200 (Sun, 07 Sep 2008) | 6 lines

Bugfix #17490

Camera feature "DOF Object" was drawing the cross marker on wrong location
when camera scales. Simple fix by using Mat4Ortho()


------------------------------------------------------------------------
r16401 | aligorith | 2008-09-07 06:43:31 +0200 (Sun, 07 Sep 2008) | 3 lines

Constraints - Space Conversions Code Tidyup:

Finished verifying that all possible combinations of space conversions were accounted for.
------------------------------------------------------------------------
r16399 | ben2610 | 2008-09-07 00:06:01 +0200 (Sun, 07 Sep 2008) | 1 line

BGE patch: break parent relationship when child and parent are not active/inactive at the same time. This unusual situation is used in Apricot for test purposes.
------------------------------------------------------------------------
r16397 | campbellbarton | 2008-09-06 19:04:54 +0200 (Sat, 06 Sep 2008) | 3 lines

object_find, didnt get images from an objects material textures
KX_PythonInit.cpp - own error in recent commit.

------------------------------------------------------------------------
r16396 | ben2610 | 2008-09-06 18:53:44 +0200 (Sat, 06 Sep 2008) | 1 line

Fix Windows compile error. Update MSVC project files
------------------------------------------------------------------------
r16395 | sirdude | 2008-09-06 16:13:31 +0200 (Sat, 06 Sep 2008) | 8 lines

converted my gen_utils.h fix to PyObjectPlus.h

Also added a fix for PyMarshal_WriteObjectToString

Now I just need to figure out linking of the gameengine on my imac.

Kent

------------------------------------------------------------------------
r16394 | blendix | 2008-09-06 15:24:42 +0200 (Sat, 06 Sep 2008) | 1 line

Revert a commit from 5 years ago that added a glFinish call before swapping on Windows. This is really bad for performance and especially showed in the game engine. The purpose was to disable FSAA and fix some UI issue on Geforce 2 graphics cards, hopefully the drivers have been fixed by now? I have no way to test this, so we'll see if an issue pops up on those older cards, and a lot of code changed since then anyway so it might not even be needed anymore.
------------------------------------------------------------------------
r16393 | campbellbarton | 2008-09-06 14:50:22 +0200 (Sat, 06 Sep 2008) | 2 lines

find objects by texture name raised a python error

------------------------------------------------------------------------
r16392 | campbellbarton | 2008-09-06 12:39:19 +0200 (Sat, 06 Sep 2008) | 2 lines

added ALPHASORT flag to the bpython api

------------------------------------------------------------------------
r16391 | sirdude | 2008-09-06 04:46:11 +0200 (Sat, 06 Sep 2008) | 11 lines

Trying to keep things compiling on my imac (10.4.11)

I'm getting this error now:
GPG_Application.cpp: In member function 'void GPG_Application::stopEngine()':
/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/marshal.h:12: error: too many arguments to function 'PyObject* PyMarshal_WriteObjectToString(PyObject*)'
GPG_Application.cpp:720: error: at this point in file

Are we offically not supporint older versions of python now? :)

Kent

------------------------------------------------------------------------
r16390 | blendix | 2008-09-06 03:18:53 +0200 (Sat, 06 Sep 2008) | 5 lines


Bugfix: game engine could crash with empty display arrays on
windows (caused by invisible faces for example).


------------------------------------------------------------------------
r16389 | bjornmose | 2008-09-06 01:28:28 +0200 (Sat, 06 Sep 2008) | 6 lines

treaded soft bodies final (hopefully)
bug fix [17428]
/*backward compatibility note:
G.rt==16 still activates 'old' code
fixing bug [17428] which forces adaptive step size to tiny steps in some situations .. keeping G.rt==17 0x11 option for old files 'needing' the bug*/

------------------------------------------------------------------------
r16388 | blendix | 2008-09-05 23:57:34 +0200 (Fri, 05 Sep 2008) | 5 lines


Fix: compiling with cmake 2.4 didn't work anymore due to a
compatibility fix for cmake 2.6.


------------------------------------------------------------------------
r16387 | khughes | 2008-09-05 22:41:09 +0200 (Fri, 05 Sep 2008) | 5 lines

Python API
----------
Add missing Textures.ExtendModes.CHECKER constant.


------------------------------------------------------------------------
r16386 | blendix | 2008-09-05 22:34:35 +0200 (Fri, 05 Sep 2008) | 4 lines


GLSL: small optimization if Use Alpha is disabled for textures.


------------------------------------------------------------------------
r16385 | campbellbarton | 2008-09-05 18:22:14 +0200 (Fri, 05 Sep 2008) | 3 lines

BGE set visible actuator, option to set visibility recursively to make managing visibility for collections of objects a lot easier.
BGE Python api's ob.setVisible() also takes an optional recursive arg thats off by default

------------------------------------------------------------------------
r16384 | blendix | 2008-09-05 17:08:01 +0200 (Fri, 05 Sep 2008) | 5 lines


Bugfix for GLSL: no specular/diffuse + only shadow for lamps
didn't work correct.


------------------------------------------------------------------------
r16383 | sirdude | 2008-09-05 16:42:03 +0200 (Fri, 05 Sep 2008) | 4 lines

Missing header.

Kent

------------------------------------------------------------------------
r16382 | blendix | 2008-09-05 16:33:36 +0200 (Fri, 05 Sep 2008) | 6 lines


* GLSL lamps now respect 3d viewport layers.
* Fix undo crash related to sound. Sounds still stop working in
  the game engine after undo, but seems to be a different issue.


------------------------------------------------------------------------
r16381 | blendix | 2008-09-05 15:08:50 +0200 (Fri, 05 Sep 2008) | 9 lines


Two more apricot branch features:
* Auto Depth: use the depth buffer for improving pan/zoom/rotate
  in large scenes.
* The viewport drawtype for objects in groups now aren't just taken
  from the original object, but the minimum together with the parent
  drawtype is used.


------------------------------------------------------------------------
r16380 | blendix | 2008-09-05 15:00:34 +0200 (Fri, 05 Sep 2008) | 5 lines


Fix for syntax error in this file, caused by previous commit.
Also some warning fixes.


------------------------------------------------------------------------
r16379 | genscher | 2008-09-05 14:06:47 +0200 (Fri, 05 Sep 2008) | 1 line

Fixing non-working check for incompatible trees
------------------------------------------------------------------------
r16378 | genscher | 2008-09-05 14:03:32 +0200 (Fri, 05 Sep 2008) | 1 line

forgot to delete some function
------------------------------------------------------------------------
r16377 | genscher | 2008-09-05 13:55:39 +0200 (Fri, 05 Sep 2008) | 1 line

bvh nodes got parent node reference again
------------------------------------------------------------------------
r16376 | aligorith | 2008-09-05 09:12:04 +0200 (Fri, 05 Sep 2008) | 5 lines

Grease Pencil - Available in Image Editor:

Grease Pencil is now available in the image editor. It is important to note that the strokes drawn WILL NOT become part of the image visible at the time.

Unfortunately, 'fancy' stroke drawing cannot be enabled for use with the 'Stick to View' setting here, as the scaling is wrong.
------------------------------------------------------------------------
r16375 | aligorith | 2008-09-05 08:05:25 +0200 (Fri, 05 Sep 2008) | 9 lines

Compiling/Warning Fixes (for scons/mingw + "split sources hack") Part 1:

* Removed compiler warnings from texteditor work
* Added round brackets around the new defines for IPO channels for extra texture layers
* Tweaked priorities so that BLI_heap_* functions in blenlib can be found by linker (split-sources specific)

TODO:
* "monkey*" vars cannot be found still
 
------------------------------------------------------------------------
r16374 | broken | 2008-09-05 07:17:26 +0200 (Fri, 05 Sep 2008) | 1 line

* Made the Ipo editor handle colours initialise from old files to the previously stored Ipo editor vertex colours, rather than the default pink and yellow. This keeps existing themes looking the same as they did before rather than turning them pink by default.
------------------------------------------------------------------------
r16373 | campbellbarton | 2008-09-05 04:53:12 +0200 (Fri, 05 Sep 2008) | 4 lines

BGE Py API
added exception messages for replaceMesh.setMesh() and allowed None as an argument.
added exception messages for other BGE module functions.

------------------------------------------------------------------------
r16372 | sirdude | 2008-09-05 04:29:59 +0200 (Fri, 05 Sep 2008) | 4 lines

Found dos line endings.  (removed them)

Kent

------------------------------------------------------------------------
r16371 | campbellbarton | 2008-09-05 02:28:17 +0200 (Fri, 05 Sep 2008) | 4 lines

* corrective UV transformation - only works with UV edge slide right now. but should be extended so transforming dosnt distort UV's
* smooth respects mirror option (will move mirrored vert too)


------------------------------------------------------------------------
r16366 | blendix | 2008-09-04 22:51:28 +0200 (Thu, 04 Sep 2008) | 28 lines


Merge of first part of changes from the apricot branch, especially
the features that are needed to run the game. Compile tested with
scons, make, but not cmake, that seems to have an issue not related
to these changes. The changes include:

* GLSL support in the viewport and game engine, enable in the game
  menu in textured draw mode.
* Synced and merged part of the duplicated blender and gameengine/
  gameplayer drawing code.
* Further refactoring of game engine drawing code, especially mesh
  storage changed a lot.
* Optimizations in game engine armatures to avoid recomputations.
* A python function to get the framerate estimate in game.

* An option take object color into account in materials.
* An option to restrict shadow casters to a lamp's layers.
* Increase from 10 to 18 texture slots for materials, lamps, word.
  An extra texture slot shows up once the last slot is used.

* Memory limit for undo, not enabled by default yet because it
  needs the .B.blend to be changed.
* Multiple undo for image painting.

* An offset for dupligroups, so not all objects in a group have to
  be at the origin.


------------------------------------------------------------------------
r16365 | sirdude | 2008-09-04 18:40:20 +0200 (Thu, 04 Sep 2008) | 4 lines

Cleaned up some small warnings.

Kent

------------------------------------------------------------------------
r16363 | sirdude | 2008-09-04 17:29:43 +0200 (Thu, 04 Sep 2008) | 4 lines

Added SDL headers so gamestuff compiles with Makefiles again.

Kent

------------------------------------------------------------------------
r16362 | campbellbarton | 2008-09-04 14:17:01 +0200 (Thu, 04 Sep 2008) | 2 lines

overlapping UI causing problems, forgot the label has a function assigned to it

------------------------------------------------------------------------
r16361 | campbellbarton | 2008-09-04 14:11:47 +0200 (Thu, 04 Sep 2008) | 6 lines

pin option for sensors and actuators,
this helps in cases where you want to use a logic brick in 2 states, linking the sensor to a second state's controller can be tricky.
This way you can pin a sensor or actuator, change the visible state and link it to another controller.

The pin button will only be displayed when states view is enabled and the logic brick is expanded or when it is alredy pinned.

------------------------------------------------------------------------
r16358 | blendix | 2008-09-04 02:27:05 +0200 (Thu, 04 Sep 2008) | 4 lines

Bugfix: yafray export crash if new hsv texture blend types were
used, the code here needed to be updated.


------------------------------------------------------------------------
r16356 | campbellbarton | 2008-09-04 01:51:55 +0200 (Thu, 04 Sep 2008) | 2 lines

fix for 2 python refcounting errors

------------------------------------------------------------------------
r16350 | ben2610 | 2008-09-03 14:54:46 +0200 (Wed, 03 Sep 2008) | 1 line

Update MSVC project files after GSoC merge
------------------------------------------------------------------------
r16349 | genscher | 2008-09-03 13:11:11 +0200 (Wed, 03 Sep 2008) | 1 line

Revert rev16344 on trunk, bullet work is done in sim_physics branch as discussed on sunday meeting
------------------------------------------------------------------------
r16347 | campbellbarton | 2008-09-03 08:43:07 +0200 (Wed, 03 Sep 2008) | 2 lines

BGE Py api, deleting properties didnt raise an error when the property wasnt there. also added some exception messages and renamed joystick getConnected() to isConnected()

------------------------------------------------------------------------
r16346 | campbellbarton | 2008-09-03 05:37:47 +0200 (Wed, 03 Sep 2008) | 2 lines

error in last commit. raised error for files with invalid material indicies

------------------------------------------------------------------------
r16345 | campbellbarton | 2008-09-03 05:24:01 +0200 (Wed, 03 Sep 2008) | 2 lines

cleanup mesh materials option was setting incorrect material indicies

------------------------------------------------------------------------
r16344 | erwin | 2008-09-03 04:27:16 +0200 (Wed, 03 Sep 2008) | 3 lines

Finally upgraded to latest Bullet subversion, about to release 2.71. Some recent changes in extern/bullet2 need to be re-applied, will check with Benoit. Ray tests in 0_FPS_Template.blend is broken, didn't figure out why yet.

HELP BUILD SYSTEM MAINTAINERS: Please help with updating all build systems: the newly added files need to be added. Note that the src/SoftBody has been added for future extension of real-time soft bodies.
------------------------------------------------------------------------
r16343 | genscher | 2008-09-03 02:00:32 +0200 (Wed, 03 Sep 2008) | 1 line

Compile fixes (reported by broken)
------------------------------------------------------------------------
r16342 | ben2610 | 2008-09-03 00:13:07 +0200 (Wed, 03 Sep 2008) | 1 line

BGE patch 17547 approved: Cleaned up pydoc for BGE, compiles now error free
------------------------------------------------------------------------
r16341 | khughes | 2008-09-02 23:09:29 +0200 (Tue, 02 Sep 2008) | 3 lines

Fix some more gcc warnings.


------------------------------------------------------------------------
r16340 | khughes | 2008-09-02 22:53:07 +0200 (Tue, 02 Sep 2008) | 3 lines

Fix gcc compiler warnings.


------------------------------------------------------------------------
r16338 | ben2610 | 2008-09-02 20:34:54 +0200 (Tue, 02 Sep 2008) | 1 line

BGE patch: simple fix to synchronize sensor pulse mode with sensor state transitions.
------------------------------------------------------------------------
r16337 | bdiego | 2008-09-02 19:50:54 +0200 (Tue, 02 Sep 2008) | 10 lines

Fix segmentation fault when try separate a mesh with the active face selected.

If the active face is part of the selection, Blender crash when
split the mesh because the act_face have an invalid pointer.

The solution is simple, check if the active face is part of the selection
and in that case, set it to NULL.

Campbell please double check this.

------------------------------------------------------------------------
r16336 | briggs | 2008-09-02 18:39:03 +0200 (Tue, 02 Sep 2008) | 5 lines

-> Fix for 64 bit alignment of Vertex colors in bmesh

Vertex color structure in bmesh needed to be padded for
8 byte aligned memory access.

------------------------------------------------------------------------
r16333 | campbellbarton | 2008-09-02 08:12:19 +0200 (Tue, 02 Sep 2008) | 6 lines

BGE Bugfix, SDL joysticks arrow keys didnt work when 2 joysticks were being used at the same time.
The event queue was running for every joystick sensor without checking if the events were for that joystick.
seperating the event queue for each joystick is overkill so instead deal with all joysticks events in once function.

Also removed some unused functions

------------------------------------------------------------------------
r16331 | campbellbarton | 2008-09-02 04:03:03 +0200 (Tue, 02 Sep 2008) | 2 lines

BGE joystick sensor bugfix, was sending true events logic tick (as if the true pulse option was enabled).

------------------------------------------------------------------------
r16330 | quorn | 2008-09-01 16:04:22 +0200 (Mon, 01 Sep 2008) | 14 lines

Text Editor (GSOC 2008)
=======================
Merge of branch soc-2008-quorn to trunk:
Merged 14970:16308 to trunk@16307, updated to HEAD.
Merged 16318

Main features from this branch:
 - Python text plugins
 - Suggestions and documentation elements
 - Improved syntax highlighting
 - Word wrap
 - Additional editing tools
 - Various undo and clipboard fixes
 - File header info and modification checks
------------------------------------------------------------------------
r16329 | campbellbarton | 2008-09-01 15:04:50 +0200 (Mon, 01 Sep 2008) | 2 lines

own dumb mistake 'or' instead of '||'

------------------------------------------------------------------------
r16327 | campbellbarton | 2008-09-01 08:25:13 +0200 (Mon, 01 Sep 2008) | 3 lines

BGE joystick sensor py api function 'getConnected()', returns true if the joystick is connected and working.
SCA_Joystick.h seemed to have twice as many newlines as needed.

------------------------------------------------------------------------
r16326 | aligorith | 2008-09-01 06:09:07 +0200 (Mon, 01 Sep 2008) | 3 lines

Bugfix #17557: Segfault when no active node and trying to insert keyframe

When there is no active node in the Composite Nodes, Blender crashes when trying to insert a keyframe using IKEY. 
------------------------------------------------------------------------
r16325 | migius | 2008-09-01 03:02:16 +0200 (Mon, 01 Sep 2008) | 1 line

collada 1.4 - bugfix: since "os" module is integrated in python25.zip "import os" doesn't raise error, now testing full python installation on windows with "import xml"
------------------------------------------------------------------------
r16324 | campbellbarton | 2008-09-01 02:12:39 +0200 (Mon, 01 Sep 2008) | 2 lines

BGE python api for get/setting the joystick index, minor cleanup also.

------------------------------------------------------------------------
r16323 | migius | 2008-09-01 01:30:42 +0200 (Mon, 01 Sep 2008) | 6 lines

collada 1.4 importer/exporter - some improvements:
 - added support for import IPOs interpolation type: LINEAR,BEZIER
 - include patch jointVertexWeight from Dmitri: http://projects.blender.org/tracker/index.php?func=detail&aid=17427
 - non-armature-animation export/import seams to work
 - still buggy: armature-position and armature-animation export&import

------------------------------------------------------------------------
r16322 | ben2610 | 2008-08-31 23:53:39 +0200 (Sun, 31 Aug 2008) | 1 line

BGE bug #17459 fixed: action actuators depending on their order in the actuator list.
------------------------------------------------------------------------
r16320 | ben2610 | 2008-08-31 21:07:10 +0200 (Sun, 31 Aug 2008) | 1 line

BGE patch 17547 applied in trunk: Cleaned up pydoc for BGE, compiles now error free
------------------------------------------------------------------------
r16319 | ben2610 | 2008-08-31 20:42:58 +0200 (Sun, 31 Aug 2008) | 1 line

BGE patch approved: BGE Multiple Joysticks
------------------------------------------------------------------------
r16317 | aligorith | 2008-08-31 14:47:04 +0200 (Sun, 31 Aug 2008) | 5 lines

== Grease Pencil Conversions - Armature ==

Can now also convert active layer to a series of bone chains. Each stroke will be converted to a chain of connected bones.

At the moment, it is still necessary to manually recalculate roll angles after the armature has been created, as the bones are not assigned the correct roll angles yet.
------------------------------------------------------------------------
r16316 | aligorith | 2008-08-31 09:33:27 +0200 (Sun, 31 Aug 2008) | 3 lines

Bugfix #17551: AutoKey for Visual Keying non-functional

No VisualKeying checks were being done
------------------------------------------------------------------------
r16314 | genscher | 2008-08-31 03:57:53 +0200 (Sun, 31 Aug 2008) | 1 line

Fix for win64 building (gettextlib had wrong name)
------------------------------------------------------------------------
r16312 | genscher | 2008-08-31 01:12:01 +0200 (Sun, 31 Aug 2008) | 1 line

Fixing typo to make compile working again
------------------------------------------------------------------------
r16310 | jesterking | 2008-08-30 23:41:02 +0200 (Sat, 30 Aug 2008) | 3 lines

patch for bug #17553: material emit is allowed to go from 0.0 to 2.0; however curves only make it go to 1.0

reported and patched by slikdigit
------------------------------------------------------------------------
r16303 | sirdude | 2008-08-29 16:19:34 +0200 (Fri, 29 Aug 2008) | 6 lines

Added missing null check to convertmenu
Remported by alxarch.
If you remove the active object and then tried alt-c it would crash.

Kent

------------------------------------------------------------------------
r16300 | aligorith | 2008-08-29 14:24:07 +0200 (Fri, 29 Aug 2008) | 8 lines

Grease Pencil:
* Added 'Convert To...' button for easy access to conversion tool. The hotkey has been mentioned in the tooltip. This replaces the 'Del Active Frame' button in 3d view only.

Armature Apply Pose:
* Added menu entry (beside Relax Pose)
* Bone-parented objects now get their parent inverse matrices correctly recalculated
* Changes for 'scale' code in previous commit wasn't correct... reverting
* IPO/anim flush protection is now set on bones to prevent them from being sprawled everywhere after applying
------------------------------------------------------------------------
r16299 | aligorith | 2008-08-29 13:15:24 +0200 (Fri, 29 Aug 2008) | 4 lines

Bugfix: 

* Roll is now correctly calculated for Apply Armature
* Scale on x,z axes is no longer cleared (only scale on y axis needs to be)
------------------------------------------------------------------------
r16298 | aligorith | 2008-08-29 12:47:53 +0200 (Fri, 29 Aug 2008) | 5 lines

== Grease Pencil ==

Special request by Alxarch for Architecture:
Hold Ctrl-Key when 'Draw Mode' is enabled to draw straight lines. 
Although when drawing the stroke, the stroke will still be freehand, the final result will be a line between the endpoints of that stroke. This is useful for annotations of sectioning lines + site maps, etc.
------------------------------------------------------------------------
r16296 | campbellbarton | 2008-08-29 08:32:42 +0200 (Fri, 29 Aug 2008) | 2 lines

Use Py_ssize_t rather then int, broke building on 64bt linux

------------------------------------------------------------------------
r16294 | campbellbarton | 2008-08-29 05:15:17 +0200 (Fri, 29 Aug 2008) | 3 lines

BGE Py API - GameKeys.EventToString() utility function, makes key configuration menu's easier to write.
own error with blenderplayer, wasnt decreffing the GameLogic module, probably didnt matter since python was restarted anyway, but is incorrect.

------------------------------------------------------------------------
r16290 | ben2610 | 2008-08-28 21:37:49 +0200 (Thu, 28 Aug 2008) | 1 line

BGE patch: add X-Ray option to ray sensor. The option is effective only if a property is set: the sensor will ignore the objects that don't have the property.
------------------------------------------------------------------------
r16289 | aligorith | 2008-08-28 14:22:55 +0200 (Thu, 28 Aug 2008) | 9 lines

== Apply Current Pose as New Restpose ==

In PoseMode, the Ctrl-A hotkey can now be used to apply the current pose as the new restpose for the armature. 

Notes:
* Roll correction may not be totally correct on bone chains, but is ok in most cases.
* Objects that are bone parented to the armature where this is applied are not correctly adjusted yet. 
* It is advisable to 'apply' the existing armature deformations to geometry deformed by the armature before applying this, to prevent unexpected results.
* No menu entry yet... will add in due course.
------------------------------------------------------------------------
r16288 | ben2610 | 2008-08-28 14:12:56 +0200 (Thu, 28 Aug 2008) | 1 line

compilation problem with gcc, memset undeclared
------------------------------------------------------------------------
r16285 | ben2610 | 2008-08-28 13:13:04 +0200 (Thu, 28 Aug 2008) | 1 line

final fix for compilation problem with KX_RayCast::Callback template in gcc
------------------------------------------------------------------------
r16284 | ben2610 | 2008-08-28 13:06:46 +0200 (Thu, 28 Aug 2008) | 1 line

more fix for compilation problem with KX_RayCast::Callback template in gcc
------------------------------------------------------------------------
r16283 | aligorith | 2008-08-28 12:43:17 +0200 (Thu, 28 Aug 2008) | 3 lines

GPencil Bezier Curve Conversion:

Now sets vector/free handles by default
------------------------------------------------------------------------
r16282 | ben2610 | 2008-08-28 12:28:06 +0200 (Thu, 28 Aug 2008) | 1 line

patch for compilation problem around KX_RayCast::Callback template with gcc
------------------------------------------------------------------------
r16281 | aligorith | 2008-08-28 12:19:34 +0200 (Thu, 28 Aug 2008) | 4 lines

Grease Pencil - Curve Conversion Improvements:

* Changed hotkey from Alt-C to Alt-Shift-C so that it works when the active object cannot be deselected/deactivated.
* Added option to convert to bezier curves. Note that currently, the handles are simply placed to the same location as the point so that there is an exact match with the gpencil strokes. In future, it would be interesting to investigate using proper curve-fitting algos instead.
------------------------------------------------------------------------
r16280 | campbellbarton | 2008-08-28 11:02:04 +0200 (Thu, 28 Aug 2008) | 3 lines

didnt build before committiong this small change :/ 
isLight() is apricot only. Add this back when GLSL is merged to avoid conflicts.

------------------------------------------------------------------------
r16279 | ben2610 | 2008-08-28 10:13:58 +0200 (Thu, 28 Aug 2008) | 1 line

BGE patch: fix division by 0 error when sound sample cannot be loaded in sound actuator.
------------------------------------------------------------------------
r16278 | campbellbarton | 2008-08-28 09:03:23 +0200 (Thu, 28 Aug 2008) | 2 lines

BGE Bugfix, lights were not being removed when their gameobject was removed causing odd shadows to hang about the scene.

------------------------------------------------------------------------
r16277 | campbellbarton | 2008-08-28 07:45:20 +0200 (Thu, 28 Aug 2008) | 5 lines

remove more python functions from builtins that could allow scripts to do bad stuff.  
- reload, file, execfile, compile
These are only removed when running in higher security mode thats not default in blender.


------------------------------------------------------------------------
r16275 | ben2610 | 2008-08-27 21:34:19 +0200 (Wed, 27 Aug 2008) | 46 lines

BGE patch: KX_GameObject::rayCast() improvements to have X-Ray option, return true face normal and hit polygon information.

rayCast(to,from,dist,prop,face,xray,poly):

The face paremeter determines the orientation of the normal: 
  0 or omitted => hit normal is always oriented towards the ray origin (as if you casted the ray from outside)
  1 => hit normal is the real face normal (only for mesh object, otherwise face has no effect)
The ray has X-Ray capability if xray parameter is 1, otherwise the first object hit (other than self object) stops the ray.
The prop and xray parameters interact as follow:
    prop off, xray off: return closest hit or no hit if there is no object on the full extend of the ray.
    prop off, xray on : idem.
    prop on,  xray off: return closest hit if it matches prop, no hit otherwise.
    prop on,  xray on : return closest hit matching prop or no hit if there is no object matching prop on the full extend of the ray.
if poly is 0 or omitted, returns a 3-tuple with object reference, hit point and hit normal or (None,None,None) if no hit.
if poly is 1, returns a 4-tuple with in addition a KX_PolyProxy as 4th element.

The KX_PolyProxy object holds information on the polygon hit by the ray: the index of the vertex forming the poylgon, material, etc.

Attributes (read-only):
 matname: The name of polygon material, empty if no material.
 material: The material of the polygon
 texture: The texture name of the polygon.
 matid: The material index of the polygon, use this to retrieve vertex proxy from mesh proxy
 v1: vertex index of the first vertex of the polygon, use this to retrieve vertex proxy from mesh proxy
 v2: vertex index of the second vertex of the polygon, use this to retrieve vertex proxy from mesh proxy
 v3: vertex index of the third vertex of the polygon, use this to retrieve vertex proxy from mesh proxy
 v4: vertex index of the fourth vertex of the polygon, 0 if polygon has only 3 vertex
     use this to retrieve vertex proxy from mesh proxy
 visible: visible state of the polygon: 1=visible, 0=invisible
 collide: collide state of the polygon: 1=receives collision, 0=collision free.
Methods:
 getMaterialName(): Returns the polygon material name with MA prefix
 getMaterial(): Returns the polygon material
 getTextureName(): Returns the polygon texture name
 getMaterialIndex(): Returns the material bucket index of the polygon. 
 getNumVertex(): Returns the number of vertex of the polygon.
 isVisible(): Returns whether the polygon is visible or not
 isCollider(): Returns whether the polygon is receives collision or not
 getVertexIndex(vertex): Returns the mesh vertex index of a polygon vertex
 getMesh(): Returns a mesh proxy

New methods of KX_MeshProxy have been implemented to retrieve KX_PolyProxy objects:
 getNumPolygons(): Returns the number of polygon in the mesh.
 getPolygon(index): Gets the specified polygon from the mesh.

More details in PyDoc.
------------------------------------------------------------------------
r16274 | ben2610 | 2008-08-27 21:16:21 +0200 (Wed, 27 Aug 2008) | 1 line

Bullet patch: option to return true face normal, complete triangle information and broad phase filter. This patch is needed to support enhanced ray cast function in the BGE. I have proposed it to the Bullet forum for inclusion in the next Bullet version.
------------------------------------------------------------------------
r16270 | aligorith | 2008-08-27 15:02:44 +0200 (Wed, 27 Aug 2008) | 5 lines

== Grease Pencil - Conversions + Bugfixes ==

* New stuff: Grease Pencil strokes on the active layer can now be converted to 3d curves (geometry). More work is still needed to make the result look be more optimal (i.e. extruded curve)

* Bugfix: Spacing between collapsed layers is more compact now 
------------------------------------------------------------------------
r16267 | campbellbarton | 2008-08-27 08:02:10 +0200 (Wed, 27 Aug 2008) | 2 lines

BGE bugfix, ipo actuator's foce option didnt check that the object was dynamic.

------------------------------------------------------------------------
r16265 | campbellbarton | 2008-08-27 05:34:53 +0200 (Wed, 27 Aug 2008) | 3 lines

get/set Angular velocity for KX_GameObjects python api and for the AddObject actuator.
Needed so objects created in an explosion could start spinning without having motion actuators and collision sensors on each item.

------------------------------------------------------------------------
r16264 | campbellbarton | 2008-08-27 03:03:55 +0200 (Wed, 27 Aug 2008) | 5 lines

BGE: allow sound actuators to be converted even when they have invalid samples
without this, an incorrect sound path could cause scripts to to fail, making some functionality not work at all.

This also fixes a problem where samples would be loaded multiple times.

------------------------------------------------------------------------
r16255 | genscher | 2008-08-26 03:07:18 +0200 (Tue, 26 Aug 2008) | 1 line

Particle System: a) Fixing visibility bug when a duplipart-system was deleted it didn't show up in during render any more, b) fixing possible crash during render
------------------------------------------------------------------------
r16253 | sirdude | 2008-08-25 21:50:17 +0200 (Mon, 25 Aug 2008) | 5 lines

TLC needed for Makefiles to get gameengine compiling again.
Sorry it took me so long to do this :)

Kent

------------------------------------------------------------------------
r16251 | hos | 2008-08-25 17:33:18 +0200 (Mon, 25 Aug 2008) | 9 lines

Patch #17517 from Enrico Fracasso (thanks!)

Explicitly setting CMake policy CMP003 to obey the CMake 2.6
way of dealing with how to find libraries when the full path
isn't known. See:

http://www.cmake.org/HTML/cmake-2.6.html#policy:CMP0003


------------------------------------------------------------------------
r16250 | genscher | 2008-08-25 15:49:55 +0200 (Mon, 25 Aug 2008) | 1 line

Crash fix for having wind noise + particles (reported by Wahooney)
------------------------------------------------------------------------
r16249 | genscher | 2008-08-25 13:49:58 +0200 (Mon, 25 Aug 2008) | 1 line

Fixing compiler warning due to unsed code
------------------------------------------------------------------------
r16248 | jhk | 2008-08-25 13:46:55 +0200 (Mon, 25 Aug 2008) | 1 line

Effector fall-off power was off by one for spherical, magnet, harmonic and charge fields. For example a square fall-off was reduced to linear etc.
------------------------------------------------------------------------
r16247 | aligorith | 2008-08-25 13:09:19 +0200 (Mon, 25 Aug 2008) | 4 lines

Grease Pencil Eraser - Bugfix:

* 3d strokes could only be erased from start of stroke 
NB: 3d-strokes could be erased starting from previous commit
------------------------------------------------------------------------
r16245 | campbellbarton | 2008-08-25 11:52:38 +0200 (Mon, 25 Aug 2008) | 3 lines

getting the last created object would return an object that had no SG_Node which would crash whenever python tried to get its location.
since the object was removed from the scene anyway, there is no reason to return it.

------------------------------------------------------------------------
r16244 | aligorith | 2008-08-25 08:22:21 +0200 (Mon, 25 Aug 2008) | 9 lines

== Grease Pencil - Drawing + Eraser Improvements ==

Drawing Improvements:
* Single 'dots' now draw rounded
* Strokes being drawn are drawn 'solid' instead of as dotted lines

Eraser:
* Now operates interactively, so no more wait to see if stuff was erased
* An influence circle is now drawn - the radius of this is defined as the thickness^2
------------------------------------------------------------------------
r16242 | theeth | 2008-08-24 22:57:56 +0200 (Sun, 24 Aug 2008) | 5 lines

Little feature request

Adding numerical input support to edge slide (and at the same time, loop cut).

Also clean up NumInput functions for external use. I might have a second pass at this to make it even easier.
------------------------------------------------------------------------
r16241 | theeth | 2008-08-24 17:22:44 +0200 (Sun, 24 Aug 2008) | 5 lines

[#17433] Cannot break node links with LMB drag under linux.

Grease pencil commit added some panel draw code or whatnot which seems to change the matrix stack in unwanted (in this case) ways. Reset to identity fixes it.

* I don't think it was limited to Linux though
------------------------------------------------------------------------
r16237 | h_xnan | 2008-08-23 15:12:17 +0200 (Sat, 23 Aug 2008) | 2 lines

fix settings for freebsd7

------------------------------------------------------------------------
r16236 | ben2610 | 2008-08-23 13:54:27 +0200 (Sat, 23 Aug 2008) | 25 lines

BGE state system improvement: the sensor with Level option enabled will trigger the controller of a newly activated state, even if the sensor is already connected to an active state; new isTriggered() python function to determine which sensor triggered the current controller.

Previously, this behaviour was available only for sensors
that were not connected to any active state, which was
forcing the game designer to duplicate sensors in some 
cases.
For example the Always sensors used to initialize the 
states needed to be duplicated for each state. With this
patch, a single Always sensor with Level option enabled
will suffice to initialize all the states. 
A Python controller can determine which sensor did trigger
with the new SCA_ISensor::isTriggered() function.

Notes:
- When a sensor with level option enabled is connected
  to multiple controllers, only those of newly activated
  states will be triggered. The controllers of already
  activated states will receive no trigger, unless the 
  sensor internal state toggled, in which case all the
  controllers are triggered as always.
- The old isPositive() function returns the internal
  state of the sensor, positive or negative; the new 
  isTriggered() function returns 1 only for sensors
  that generated an event in the current frame.

------------------------------------------------------------------------
r16233 | jaguarandi | 2008-08-22 20:28:34 +0200 (Fri, 22 Aug 2008) | 3 lines

Removed cast warnings from shrinkwrap.c and BLI_kdopbvh.c
Only unused functions and openmp warnings left on those.

------------------------------------------------------------------------
r16231 | ben2610 | 2008-08-22 17:00:30 +0200 (Fri, 22 Aug 2008) | 1 line

Fix Windows compilation problem and update MSVC project files
------------------------------------------------------------------------
r16229 | ton | 2008-08-22 14:48:12 +0200 (Fri, 22 Aug 2008) | 3 lines

Typo in copyright notice (VF -> BF)


------------------------------------------------------------------------
r16228 | aligorith | 2008-08-22 14:10:02 +0200 (Fri, 22 Aug 2008) | 5 lines

A bit of cleanup of warnings (gcc). 

Warnings still exist in the following places:
* places (exotic.c, etc.) where format strings still use 'longs' but datatype is uintptr_t (i.e. resulting from the win64 changes)
* shrinkwrap.c - a few "incompatable type" warnings 
------------------------------------------------------------------------
r16226 | aligorith | 2008-08-22 13:46:59 +0200 (Fri, 22 Aug 2008) | 7 lines

Grease Pencil - Drawing Improvements:

This commit finishes the work started in the previous commit. 
1) Reduced the effects of 'shrinking' lines with acute angles (*)
2) Ends of strokes now get crude end-caps which look ok for most purposes (they are really just simple trapeziums not fancy semicircles)

* Note: some shrinking does still occur if the stroke was drawn quickly enough for few points to be recorded. Also, although there are still zones of overlapping when there are acute angles, this is reduced to steeper angles (and is not too bad considering real-life materials)
------------------------------------------------------------------------
r16225 | campbellbarton | 2008-08-22 12:27:16 +0200 (Fri, 22 Aug 2008) | 2 lines

BGE data conversion was making sound paths absolute, modify a copy rather then the original.

------------------------------------------------------------------------
r16224 | aligorith | 2008-08-22 11:44:27 +0200 (Fri, 22 Aug 2008) | 1 line

Compiling fix for last commit
------------------------------------------------------------------------
r16222 | aligorith | 2008-08-22 10:36:29 +0200 (Fri, 22 Aug 2008) | 5 lines

Grease Pencil: WIP commit (nothing new)

Just a little commit so that I can transfer some changes back over to laptop. 
* Line drawing should now be improved for most cases, but acute angles still need more work to reduce 'shrinking' artifacts. As such, this is still hidden behind 'rt' setting
* Preparation work for Grease-Pencil in Image Editor, and also 'Stick to View' for Image/Sequence editors.
------------------------------------------------------------------------
r16221 | campbellbarton | 2008-08-22 08:02:01 +0200 (Fri, 22 Aug 2008) | 3 lines

BGE Python API - GameLogic.getBlendFileList(path='//') to return a list of blend's in the current directory. Needed for creating a level selector that lists all files in the level directory.
CMakeFile include path to compile with recent changes.

------------------------------------------------------------------------
r16218 | jaguarandi | 2008-08-22 02:35:14 +0200 (Fri, 22 Aug 2008) | 2 lines

Merged shrinkwrap modifier from soc-2008-jaguarandi

------------------------------------------------------------------------
r16215 | bdiego | 2008-08-21 23:14:08 +0200 (Thu, 21 Aug 2008) | 4 lines

Update scons files in source/gameengine/Physics/Bullet.

Please Nathan double check this, but all compile fine here :)

------------------------------------------------------------------------
r16214 | jhk | 2008-08-21 23:12:27 +0200 (Thu, 21 Aug 2008) | 6 lines

New things for particle effectors:
- For newtonian particles a "self effect" button in particle extras makes the particles be effected by themselves if a particle effector is defined for this system, currently this is a brute force method so things start getting slow with more than ~100 particles, but this will hopefully change in the future.
- Two new effector types: charge and a Lennard-Jones potential based force (inter-molecular forces for example).
   -Charge is similar to spherical field except it changes behavior (attract/repulse) based on the effected particles charge field (negative/positive) like real particles with a charge.
   -The Lennard-Jones field is a very short range force with a behavior determined by the sizes of the effector and effected particle. At a distance smaller than the combined sizes the field is very repulsive and after that distance it's attractive. It tries to keep the particles at an equilibrium distance from each other. Particles need to be at a close proximity to each other to be effected by this field at all.
- Particle systems can now have two effector fields (two slots in the fields panel). This allows to create particles which for example have both a charge and a Lennard-Jones potential.
------------------------------------------------------------------------
r16213 | ben2610 | 2008-08-21 23:04:42 +0200 (Thu, 21 Aug 2008) | 1 line

BGE bug #17411 fixed: the always sensor is called before the the scale of the object is applied. The scale is now applied to the shape before the creation of the rigid body.
------------------------------------------------------------------------
r16212 | khughes | 2008-08-21 22:28:33 +0200 (Thu, 21 Aug 2008) | 3 lines

Missing newline at EOF.


------------------------------------------------------------------------
r16210 | ben2610 | 2008-08-21 21:00:24 +0200 (Thu, 21 Aug 2008) | 1 line

fix warning in previous revision, update MSVC project files, scons files in source/gameengine/Physics/Bullet must be updated by adding these directories in the include list: intern/string/include, source/gameengine/Rasterizer, source/kernel/gen_system. I leave it up to more expert than me.
------------------------------------------------------------------------
r16207 | khughes | 2008-08-21 18:13:26 +0200 (Thu, 21 Aug 2008) | 5 lines

Python API
----------
Fix typo in Mesh module exception messages (submitted by Teppo Kansala ).


------------------------------------------------------------------------
r16206 | khughes | 2008-08-21 18:10:30 +0200 (Thu, 21 Aug 2008) | 6 lines

Python API
----------
Access to empty shapes by object.emptyShape attribute, contributed by Domino
Marama (thanks!)


------------------------------------------------------------------------
r16204 | ben2610 | 2008-08-21 17:19:54 +0200 (Thu, 21 Aug 2008) | 14 lines

BGE bug #17491 fixed: BGE, Dupli instance with different scale, massive slowdown.

The root cause of this bug is the fact that Bullet shapes 
are shared between duplicated game objects. As the physics
object scale is stored in the shape, all duplicas must 
have the same scale otherwise the physics representation
is incorrect.
This fix introduces a mechanism to duplicate shapes at
runtime so that Bullet shapes are not shared anymore.
The drawback is an increased memory consuption. 
A reference count mechanism will be introduced in a 
later revision to keep Bullet shape shared between
duplicas that have the same scale.

------------------------------------------------------------------------
r16203 | ben2610 | 2008-08-21 16:07:24 +0200 (Thu, 21 Aug 2008) | 1 line

BGE Bullet fix: physics debug representation of cone shape does not take Up axis into account. Use Bullet 2.69 code to fix that bug.
------------------------------------------------------------------------
r16198 | briggs | 2008-08-20 22:10:33 +0200 (Wed, 20 Aug 2008) | 6 lines

-> more FLT tweaks

LOD editor input ranges were too low.
Also fixed the interface drawing so it
always started at bottom of screen area.

------------------------------------------------------------------------
r16197 | briggs | 2008-08-20 21:18:52 +0200 (Wed, 20 Aug 2008) | 6 lines

-> Fix for last commit

 The range of allowed values for the LOD editor
 inputs was too low.


------------------------------------------------------------------------
r16196 | briggs | 2008-08-20 21:10:33 +0200 (Wed, 20 Aug 2008) | 7 lines

-> LOD and DOF editor scripts

 Two new scripts for the 'Misc' Menu. LOD and DOF
 Editors for creating/editing DOF and LOD FLT nodes
 inside of blender.


------------------------------------------------------------------------
r16194 | campbellbarton | 2008-08-20 08:11:11 +0200 (Wed, 20 Aug 2008) | 5 lines

GameLogic.globalDict blenderplayer now keeps settings when loading new blend files.
workaround for python stopping and starting by storing the dictionary as marshal'd data. this means only python types are supported.
This feature is needed so when switching from a menu to a level blendfile, the configuration isnt lost.


------------------------------------------------------------------------
r16190 | bdiego | 2008-08-19 16:39:11 +0200 (Tue, 19 Aug 2008) | 11 lines

Ipo Handle vertex have own color and size (Venom request).

Now the vertex of the ipo handle have own color and
size, can be change from Theme -> Ipo Curve Editor:
	Handle Vertex		-	(Default Color)
	Handle Vertex Select	-	(Selected Color)
	Handle Size		-	(Point size, for vertex)

Add subverion so by default the handler have the same
settings that the ipo vertex options.

------------------------------------------------------------------------
r16188 | campbellbarton | 2008-08-19 13:53:24 +0200 (Tue, 19 Aug 2008) | 2 lines

Added GameLogic.globalDict, this is a place where data can be stored even when new blend files are loaded. Using for apricot so frankie can go into levels in new blendfiles keeping his inventory, currently it dosnt work for the blenderplayer which stops python before loading new blend files.

------------------------------------------------------------------------
r16187 | genscher | 2008-08-19 13:26:18 +0200 (Tue, 19 Aug 2008) | 1 line

Particles now got that force-hiding feature, too --> jahka: please take a look :)
------------------------------------------------------------------------
r16185 | campbellbarton | 2008-08-19 01:48:59 +0200 (Tue, 19 Aug 2008) | 4 lines

BGE Blend file loading was using BLO_read_from_memory which meant relative linked libraries could not be found.
This is odd because BLO_read_from_file was commented out with """//this doesn't work anymore for relative paths, so use BLO_read_from_memory instead"""
Undoing Erwins changes from r7497, just use normal file loading. From the commit log its not clear if he means relative filenames or relative linked libs but from testing both work now.

------------------------------------------------------------------------
r16184 | khughes | 2008-08-19 00:39:55 +0200 (Tue, 19 Aug 2008) | 6 lines

Python API
----------
Add Material.enabledTextures attribute; this allows users to enable and
disable textures assigned to a material.


------------------------------------------------------------------------
r16182 | genscher | 2008-08-18 21:32:21 +0200 (Mon, 18 Aug 2008) | 1 line

Little tweaks so 0 wind results in 0 noise, also removed double-mass dependancy in cloth
------------------------------------------------------------------------
r16176 | genscher | 2008-08-18 16:41:24 +0200 (Mon, 18 Aug 2008) | 1 line

a) Forces can be hidden by deflector object now (need to talk with jahka about particle integration - should be copy-paste) see http://dldw.de/tmp/index.php?file=w2.blend (press play button in timeline and change the absorption value ob the cube) b) fixed deflector/collision bug with continues physics c) cloth wind/forces uses masses now d) even faster collision object gathering e) have fun ;)
------------------------------------------------------------------------
r16171 | campbellbarton | 2008-08-18 14:40:31 +0200 (Mon, 18 Aug 2008) | 2 lines

python get/set material function for 3d text

------------------------------------------------------------------------
r16169 | blendix | 2008-08-18 13:55:40 +0200 (Mon, 18 Aug 2008) | 8 lines


Fix for bug #17485: inter object sensor/controller/actuator links could
get lost in reading libraries. The pointers were being remapped in the
expand stage, but not all objects were guaranteed to be linked in at that
point, so they got lost. Now it always does this in the lib linking stage
for both regular and library objects.


------------------------------------------------------------------------
r16168 | genscher | 2008-08-18 13:09:27 +0200 (Mon, 18 Aug 2008) | 1 line

a) New unified effector system by Janne (jahka) + Me (genscher): particle and cloth/sb don't use different systems anymore. b) cloth wind corrected for new system c) Wind has noise option now d) @ Bjornmose: since the old factors are gone SB doesn't need to divide by 1000 etc. anymore. I didn't want to touch your code - you might like to take a look at it :) 
------------------------------------------------------------------------
r16167 | genscher | 2008-08-18 12:48:37 +0200 (Mon, 18 Aug 2008) | 1 line

#2: Fixing compile errors on mingw/cygwin (reported by aligorith)
------------------------------------------------------------------------
r16166 | genscher | 2008-08-18 12:37:15 +0200 (Mon, 18 Aug 2008) | 1 line

Fixing compile errors on mingw/cygwin (reported by aligorith)
------------------------------------------------------------------------
r16162 | campbellbarton | 2008-08-18 04:29:25 +0200 (Mon, 18 Aug 2008) | 3 lines

Added vec.reflect(mirror) method to Python Mathutils Vector type
also made sensor and actuator text areas a bit bigger so full names can be read.

------------------------------------------------------------------------
r16160 | jaguarandi | 2008-08-18 01:48:16 +0200 (Mon, 18 Aug 2008) | 4 lines

BVHTree fix (non 2.47)
It was building incorrect trees when there was only 1 leaf.
Code fixed to always generate a tree with at least 1 branch.. since most of bvh code relies on this.

------------------------------------------------------------------------
r16159 | genscher | 2008-08-18 01:03:45 +0200 (Mon, 18 Aug 2008) | 1 line

another compile fix reported by ccherrett
------------------------------------------------------------------------
r16158 | genscher | 2008-08-18 00:58:00 +0200 (Mon, 18 Aug 2008) | 1 line

another compile fix reported by ccherrett
------------------------------------------------------------------------
r16157 | ben2610 | 2008-08-18 00:32:40 +0200 (Mon, 18 Aug 2008) | 1 line

Update MSVC project files after Win64 patch
------------------------------------------------------------------------
r16156 | ben2610 | 2008-08-18 00:28:30 +0200 (Mon, 18 Aug 2008) | 1 line

Fix compile problem in MSVC after Win64 patch
------------------------------------------------------------------------
r16155 | genscher | 2008-08-17 21:58:13 +0200 (Sun, 17 Aug 2008) | 1 line

Win64: Another missing include only appearing with powerpc-apple-gcc-4.x (reported by daredemo/#blendercoders)
------------------------------------------------------------------------
r16153 | genscher | 2008-08-17 19:22:10 +0200 (Sun, 17 Aug 2008) | 1 line

Win64: compiles fine with scons with gcc now
------------------------------------------------------------------------
r16151 | genscher | 2008-08-17 19:16:49 +0200 (Sun, 17 Aug 2008) | 1 line

Win64: forget include => this compile errors never showed up on msvc (if anyone wonders)
------------------------------------------------------------------------
r16150 | genscher | 2008-08-17 19:12:10 +0200 (Sun, 17 Aug 2008) | 1 line

Win64: forget include
------------------------------------------------------------------------
r16149 | ianwill | 2008-08-17 19:11:51 +0200 (Sun, 17 Aug 2008) | 9 lines

== BPython API ==

Bug: Draw.Number wasn't properly checking that the initial, min and max values passed to it were numbers. On errors Python would set an error flag that would only be caught later on, masking where the real problem was. Pesky bug...

Reported by André (jaguarandi) on irc, thanks!

PS for bpy devs: PyInt_AsLong returns -1 on error and sets the error flag. With functions like that we need to take special care or not that obvious bugs appear.


------------------------------------------------------------------------
r16148 | genscher | 2008-08-17 19:11:00 +0200 (Sun, 17 Aug 2008) | 1 line

Win64: forrget include
------------------------------------------------------------------------
r16147 | genscher | 2008-08-17 19:08:00 +0200 (Sun, 17 Aug 2008) | 1 line

Win64: please check my changes if you ran across them ;) But should be fine since no additional crashes were reported!
------------------------------------------------------------------------
r16146 | genscher | 2008-08-17 18:36:37 +0200 (Sun, 17 Aug 2008) | 1 line

Win64 commit: first little commit to test how it compiles on other plattforms - I'll then commit the other changes if all is fine :)
------------------------------------------------------------------------
r16136 | ben2610 | 2008-08-16 22:45:37 +0200 (Sat, 16 Aug 2008) | 20 lines

BGE patch: New Delay sensor (derived from patch #17472) 

Introduction of a new Delay sensor that can be used to 
generate positive and negative triggers at precise time,
expressed in number of frames. 
The delay parameter defines the length of the initial 
OFF period. A positive trigger is generated at the end
of this period. The duration parameter defines the 
length of the ON period following the OFF period.
A negative trigger is generated at the end of the ON period. 
If duration is 0, the sensor stays ON and there is no 
negative trigger. 
The sensor runs the OFF-ON cycle once unless the repeat 
option is set: the OFF-ON cycle repeats indefinately 
(or the OFF cycle if duration is 0).

The new generic SCA_ISensor::reset() Python function
can be used at any time to restart the sensor: the
current cycle is interrupted and no trigger is generated.

------------------------------------------------------------------------
r16133 | jhk | 2008-08-16 18:29:12 +0200 (Sat, 16 Aug 2008) | 2 lines

Boids didn't get correct fall-off from wind effector.
Boids now react to vortex field also.
------------------------------------------------------------------------
r16132 | jhk | 2008-08-16 18:21:01 +0200 (Sat, 16 Aug 2008) | 1 line

Animateable (ipos) power and fall-off for particle effectors.
------------------------------------------------------------------------
r16130 | campbellbarton | 2008-08-16 14:42:34 +0200 (Sat, 16 Aug 2008) | 3 lines

warning message for when sensors loose their controllers, has been a problem recently with linking in groups that contain game logic.
- also useful for testing bug [#17485] Sensors lost when loading objects from a group (apricot showstopper)

------------------------------------------------------------------------
r16129 | campbellbarton | 2008-08-16 02:06:51 +0200 (Sat, 16 Aug 2008) | 4 lines

SCA_PythonController.cpp - Made errors in python print the controller name, useful when blender crashes on printing the python error which happens frequently.
buttons_logic.c - NULL checks for game logic buttons, linking in groups with some logic links to objects outsude the group could crash blender. There are NULL checks for this case elsewhere so I assume it should be supported.
CMakeLists.txt - remove YESIAMSTUPID option, is not used anymore.

------------------------------------------------------------------------
r16127 | ben2610 | 2008-08-16 00:17:50 +0200 (Sat, 16 Aug 2008) | 1 line

BGE bug fix: the fix in revision 16022 for bug #17450 was wrong: the formula used to extract scaling and rotation was giving incorrect results for some type of rotation, leading to wrong position and orientation for parented objects with no scale applied. The new formula follows Blender's internal math.
------------------------------------------------------------------------
r16117 | theeth | 2008-08-14 21:16:55 +0200 (Thu, 14 Aug 2008) | 1 line

Fixing button placement typo reported by Carsten on mailing list
------------------------------------------------------------------------
r16105 | campbellbarton | 2008-08-14 10:58:25 +0200 (Thu, 14 Aug 2008) | 7 lines

Python API get/setObject update for Actuators. (SetParent, AddObject, Camera and TrackTo)
* bugfix for BGE python api - SetParent actuator getObject would segfault if the object was not set.
* Added utility function ConvertPythonToGameObject() that can take a GameObject, string or None and set the game object from this since it was being done in a number of places.
* allow setObject(None), since no object is valid for actuators, Python should be able to set this.
* added optional argument for getObject() so it returns the KX_GameObject rather then its name, would prefer this be default but it could break existing games.


------------------------------------------------------------------------
r16104 | bdiego | 2008-08-14 08:42:52 +0200 (Thu, 14 Aug 2008) | 6 lines

Last part of the svn release commit.

No need freeze, in a sec I merge both revision into
the 2.47 branch and tag it.


------------------------------------------------------------------------
r16103 | bdiego | 2008-08-14 08:33:19 +0200 (Thu, 14 Aug 2008) | 3 lines

Part one of the 2.47 release commit


------------------------------------------------------------------------
r16100 | campbellbarton | 2008-08-14 07:06:59 +0200 (Thu, 14 Aug 2008) | 2 lines

bugfix (good for 2.47) - 2 cases of returning Py_None without increfing it. this can crash blender.

------------------------------------------------------------------------
r16098 | campbellbarton | 2008-08-14 05:23:36 +0200 (Thu, 14 Aug 2008) | 5 lines

game engine python api
* removed macros that were not used much, some misleading.
* removed error string setting calls that overwrote the error set by PyArg_ParseTuple with a less useful one.
* use python macros Py_RETURN_NONE, Py_RETURN_TRUE, Py_RETURN_FALSE

------------------------------------------------------------------------
r16081 | theeth | 2008-08-13 19:38:38 +0200 (Wed, 13 Aug 2008) | 3 lines

Snap menu header rewording, to make documentation clearer (there was "mode" and "snap mode").

This can and should be merged for 2.47, as the docs will use those wordings.
------------------------------------------------------------------------
r16075 | blendix | 2008-08-13 12:19:47 +0200 (Wed, 13 Aug 2008) | 7 lines


Bugfix: in the game engine, errors in a particular python script caused
somewhat random crashes, which I think was caused by the error print
using python objects that were freed too soon. Now it frees the dictionary
after the print.


------------------------------------------------------------------------
r16065 | jaguarandi | 2008-08-12 15:30:17 +0200 (Tue, 12 Aug 2008) | 5 lines

New nearest_point_in_tri_surface function.. 50% faster
Results were verified against the old function

Non 2.47 fix

------------------------------------------------------------------------
r16063 | campbellbarton | 2008-08-12 14:32:54 +0200 (Tue, 12 Aug 2008) | 2 lines

raise an error when assigning properties to a game object that cant be converted. also use python apis functions for converting floats and int types (faster then PyArg_Parse)

------------------------------------------------------------------------
r16059 | bjornmose | 2008-08-11 22:40:29 +0200 (Mon, 11 Aug 2008) | 7 lines

bdiego no 2.47 option for now
make soft bodies spawn threads on a mid level 
use G.rt == 16 to switch to 'old style'
i am going to remove that G.rt switch if everyone is fine /* i do not intend to keep 2 versions of code up because of "BAD STYLE" */
so .. give feed back .. 


------------------------------------------------------------------------
r16057 | khughes | 2008-08-11 21:06:30 +0200 (Mon, 11 Aug 2008) | 5 lines

Python API
----------
Added texture.offset and textute.gain attributes, to access parameters for Musgrove textures.


------------------------------------------------------------------------
r16052 | broken | 2008-08-11 07:23:36 +0200 (Mon, 11 Aug 2008) | 3 lines

* Fix for a bug zanqdo reported in IRC - transparent shadows were not 
getting correct alpha when cast through node materials - in fact the 
node tree wasn't being shaded at all.
------------------------------------------------------------------------
r16050 | campbellbarton | 2008-08-11 05:52:21 +0200 (Mon, 11 Aug 2008) | 3 lines

fix for [#17365] PLY export script writes comment in invalid way
this is good for 2.47

------------------------------------------------------------------------
r16045 | aligorith | 2008-08-10 05:39:09 +0200 (Sun, 10 Aug 2008) | 1 line

Changed a few places where visibility for EditMode bones is tested, so that they now use a macro I introduced in the previous commit.
------------------------------------------------------------------------
r16044 | aligorith | 2008-08-10 05:10:07 +0200 (Sun, 10 Aug 2008) | 7 lines

== Armature Editing Tweaks ==

* New Tool: Switch Direction
This tool switches the direction of selected bones in EditMode, and can be found under the Specials Menu (WKey). It also adjusts the parenting, so that continuous chains can still be linked. 

* Bone Locking:
Removed Lock/Unlock functions from Specials menu, and moved this functionality under the Toggle/Set/Clear Bone Settings tools (Shift/Ctrl-Shift/Alt W respectively)
------------------------------------------------------------------------
r16043 | campbellbarton | 2008-08-10 03:38:02 +0200 (Sun, 10 Aug 2008) | 3 lines

* Script to convert BDF pixel fonts into C++ files blender can read. - Amiga bitmap font example http://download.blender.org/ftp/incoming/bitmap.png
* BF_CONFIG was missing from SCons help menu.

------------------------------------------------------------------------
r16041 | khughes | 2008-08-10 00:24:12 +0200 (Sun, 10 Aug 2008) | 5 lines

Python API
----------
Remove documentation for Render.EnableEdgeShift and Render.EnableEdgeAll methods, which are no longer in the API.


------------------------------------------------------------------------
r16036 | aligorith | 2008-08-09 12:50:59 +0200 (Sat, 09 Aug 2008) | 5 lines

Bugfix #17465: "Pose Edit Not Possible" message activated on 3D navigation

When navigating the 3d-view with a bone (or bones) selected, 'Rest Pose' enabled for the armature, and 'Orbit Around Selection' turned on, a "Pose Edit Not Possible" warning would pop up every time the view was manipulated. 

Was caused by a missing check for the 'TFM_DUMMY' transform mode used when calculating center to use (based on active item)
------------------------------------------------------------------------
r16028 | jhk | 2008-08-08 18:40:41 +0200 (Fri, 08 Aug 2008) | 2 lines

Fix for [#13697] Reactor particles with children doesn't render
-Particles were being recalculated a bit too aggressively. Normal particles didn't care, but since reactor particles have dynamic birth times they lost crucial information in the recalculation.
------------------------------------------------------------------------
r16026 | jhk | 2008-08-08 17:38:14 +0200 (Fri, 08 Aug 2008) | 2 lines

Fix for [#16671] Moving a metaball that a particle system uses as a object (for visualization) also moves the particles
-The particle dupliobjects were using the objects trackflag in combination with it's rotation causing strange behavior. Now the trackflag is ignored and only the rotation of the object being duplicated is taken into account.
------------------------------------------------------------------------
r16025 | genscher | 2008-08-08 16:24:47 +0200 (Fri, 08 Aug 2008) | 1 line

Fixing point-face distance to support degenerated tris/quads with area<FLT_EPSILON
------------------------------------------------------------------------
r16024 | migius | 2008-08-08 13:40:51 +0200 (Fri, 08 Aug 2008) | 1 line

forgot update ver.number in last commit
------------------------------------------------------------------------
r16023 | aligorith | 2008-08-08 12:15:08 +0200 (Fri, 08 Aug 2008) | 3 lines

== PoseLib: Add New (on Current Frame) ==

When adding poses to a PoseLib, it is now possible to make them be added on the current frame. It is still recommended to use the default method (plain Add New), as it is prevents poses stored in the PoseLib from being overwritten accidentally. 
------------------------------------------------------------------------
r16022 | ben2610 | 2008-08-08 11:57:17 +0200 (Fri, 08 Aug 2008) | 1 line

BGE bug #17450 fixed: When we have parented objects with no scale-applyed objects the ray hit system doesn't work properly. Fix by separating rotation and scaling in the parent inverse node to keep scaling correct down to the leaf objects. Only isotropric scaling should be used, as always with the BGE.
------------------------------------------------------------------------
r16021 | ben2610 | 2008-08-08 11:52:32 +0200 (Fri, 08 Aug 2008) | 1 line

Update MSVC project to include bvhutils.c
------------------------------------------------------------------------
r16014 | briggs | 2008-08-08 00:31:35 +0200 (Fri, 08 Aug 2008) | 5 lines

-> Fix for warnings in FLT exporter and Palette Manager

Removed buffer overflow masking warnings from the
FLT exporter and Palette Manager.

------------------------------------------------------------------------
r16012 | genscher | 2008-08-08 00:05:45 +0200 (Fri, 08 Aug 2008) | 1 line

Fixing compile error with msvc (introducing max tree to 32)
------------------------------------------------------------------------
r16010 | jaguarandi | 2008-08-07 22:12:56 +0200 (Thu, 07 Aug 2008) | 3 lines

Fixed compiling warnings of bvhutils.c
Commited the right version of BLI_kdopbvh.c

------------------------------------------------------------------------
r16008 | khughes | 2008-08-07 20:01:39 +0200 (Thu, 07 Aug 2008) | 3 lines

Disable redcode (the file format of RED one, R3D) by default.


------------------------------------------------------------------------
r16007 | ben2610 | 2008-08-07 19:29:06 +0200 (Thu, 07 Aug 2008) | 1 line

BGE bug #17408 fixed: Radar sensor is oriented the wrong way when the set along negative axis. Improve reliability of Radar detection by clearing the manifold cache instead of updating it.
------------------------------------------------------------------------
r16006 | genscher | 2008-08-07 19:27:29 +0200 (Thu, 07 Aug 2008) | 1 line

BVH-KDOP update (merge from shrinkwrap branch): supports raytracing, nearest neighbour, non-recursive now, faster than kdtree.c implementation normaly, divided into 2 sources: generla structure in blenlib, mesh/derivedmesh depending interface stuff in blenkernel
------------------------------------------------------------------------
r15998 | ben2610 | 2008-08-07 13:31:24 +0200 (Thu, 07 Aug 2008) | 1 line

BGE bug #17409 fixed: BGE Near Sensor Incorrect once inside the radius. The bug is located in Bullet: the manifold contact points for non-response objects (sensor, ghost) are not refreshed and stay in the cash as long as the objects overlap in the broad phase. Instead of fixing Bullet, I put a work around in the BGE. This may need review when a new Bullet library is integrated
------------------------------------------------------------------------
r15997 | ben2610 | 2008-08-07 13:25:45 +0200 (Thu, 07 Aug 2008) | 1 line

BGE fix: alignToVect() fac parameter clamping should obviously be done the other way round
------------------------------------------------------------------------
r15996 | campbellbarton | 2008-08-07 11:56:31 +0200 (Thu, 07 Aug 2008) | 2 lines

fix for [#17448] Duplicating textures with IPOs doesn't increment IPO user count

------------------------------------------------------------------------
r15995 | briggs | 2008-08-07 06:38:35 +0200 (Thu, 07 Aug 2008) | 10 lines

-> Slight tweak to FLT exporter

FLT files written by the FLT exporter would
reference external files (other FLT files,
texture maps, ect) with standard backslash
seperators on win32. However, many tools
that deal with FLT files expect directory
seperators to always be forward slashes
regardless of platform.

------------------------------------------------------------------------
r15994 | campbellbarton | 2008-08-07 03:02:06 +0200 (Thu, 07 Aug 2008) | 2 lines

added back copy buttons to "Texture Face" panel.

------------------------------------------------------------------------
r15992 | hos | 2008-08-06 22:37:15 +0200 (Wed, 06 Aug 2008) | 7 lines

Getting the blenderplayer to compile/link with CMake.

Note: yuck, this is a horrible way to do it -- python devs should
think about splitting the python stuff into separate libs if they
only want to partially include it in the game engine.


------------------------------------------------------------------------
r15991 | khughes | 2008-08-06 22:05:08 +0200 (Wed, 06 Aug 2008) | 5 lines

Python API
----------
Fix typo in documentation for render.startFrame() and render.endFrame().  Arguments are valid in the range 1 to MAXFRAME.


------------------------------------------------------------------------
r15990 | hos | 2008-08-06 21:47:52 +0200 (Wed, 06 Aug 2008) | 3 lines

Fixed a warning due to a change in policy between cmake 2.4 and
cmake 2.6. (Other warnings still exist, but are harder to fix.)

------------------------------------------------------------------------
r15985 | ben2610 | 2008-08-06 12:23:47 +0200 (Wed, 06 Aug 2008) | 1 line

BGE fix: confirm fix for segmentation fault by Diego and remove warning in calling ConvertMaterial Ipos.
------------------------------------------------------------------------
r15984 | campbellbarton | 2008-08-06 06:09:10 +0200 (Wed, 06 Aug 2008) | 4 lines

* blenderplayer wasnt useing the scenes frame rate.
* GBE Python API's alignToVect wasnt clamping the align ammount from 0.0-1.0
* Generated images arnt animated - use for a test to see if the textures animated.

------------------------------------------------------------------------
r15981 | campbellbarton | 2008-08-06 00:26:00 +0200 (Wed, 06 Aug 2008) | 2 lines

Made Mathutils its own module rather then GanmeLogic.Mathutils

------------------------------------------------------------------------
r15980 | ben2610 | 2008-08-06 00:23:38 +0200 (Wed, 06 Aug 2008) | 1 line

Update MSVC project files for Mathutils support in the blenderplayer
------------------------------------------------------------------------
r15979 | khughes | 2008-08-06 00:13:13 +0200 (Wed, 06 Aug 2008) | 3 lines

Fix compiler warnings from earlier commit.


------------------------------------------------------------------------
r15978 | bdiego | 2008-08-05 23:20:14 +0200 (Tue, 05 Aug 2008) | 9 lines

Fix segmentation faul in GE.

We assign the material name before check the pointer.

Please Benoit check this and also I have a compiler warning
about the second argument in the previous call of
ConvertMaterialIpos, the argument is NULL but the function
need a dword.

------------------------------------------------------------------------
r15975 | ben2610 | 2008-08-05 18:23:33 +0200 (Tue, 05 Aug 2008) | 1 line

BGE fix bug #17430: BGE Collide/Touch Sensor interfearing with other unrelated sensor states. The bug was introduced in the recent logic optimization patch. It only affects collision and touch sensors. The bug is fixed by keeping track of registration count.
------------------------------------------------------------------------
r15973 | artificer | 2008-08-05 16:42:04 +0200 (Tue, 05 Aug 2008) | 6 lines

Fix for [#17421] Issue with Displace modifier not updating with
                 animated textures

I have added a dependsOnTime function for the Displace modifier which checks
if the displacement texture has IPOs, is a plugin, or uses an animated image.

------------------------------------------------------------------------
r15969 | migius | 2008-08-05 12:48:17 +0200 (Tue, 05 Aug 2008) | 6 lines

Collada 1.4 script, importer part: 
- bugfix/refactor localTransformMatrix usage in hierarchies:
   it preserves local orientation for each child, so imported IPOs are correct working
- upgrade version nr from 0.3.159 to 0.3.160
- bugfix: tiny changes to make it work with DAE files found in differ sources

------------------------------------------------------------------------
r15967 | campbellbarton | 2008-08-05 11:35:46 +0200 (Tue, 05 Aug 2008) | 3 lines

Added GameLogic.Mathutils so Mathutils and its types can be accessed from blenderplayer.
also changed importText so it dosnt do a malloc

------------------------------------------------------------------------
r15966 | aligorith | 2008-08-05 08:51:03 +0200 (Tue, 05 Aug 2008) | 1 line

Oops... missing header in previous commit broke compiling
------------------------------------------------------------------------
r15965 | aligorith | 2008-08-05 05:29:46 +0200 (Tue, 05 Aug 2008) | 6 lines

Bugfix #16673: Segfault when using Bake Constraints Script

There were several buggy things here (in order of significance):
1) PyAPI method didn't check to make sure that there was an active posechannel when deleting posechannel constraints. This was required by constraint_active_func() to be able to update the 'active' flags for the constraints in that stack
2) PyAPI method removed the links to the constraint data from the constraints list, even though that wasn't necessary, and may have caused memory leaks. 
3) constraint_active_func() had no error checking for no constraints-stack being found
------------------------------------------------------------------------
r15962 | campbellbarton | 2008-08-05 01:27:06 +0200 (Tue, 05 Aug 2008) | 2 lines

somehow had 1 line with incorrect indent from last commit.

------------------------------------------------------------------------
r15961 | campbellbarton | 2008-08-05 01:20:12 +0200 (Tue, 05 Aug 2008) | 2 lines

own bug in weightpaint cleaning, wasnt removing as many groups from verts as it should be.

------------------------------------------------------------------------
r15953 | genscher | 2008-08-04 19:24:11 +0200 (Mon, 04 Aug 2008) | 1 line

Fix for better icc + openmp support using scons
------------------------------------------------------------------------
r15952 | artificer | 2008-08-04 18:44:13 +0200 (Mon, 04 Aug 2008) | 4 lines

Fix for [#17291] Array modifier merge caps leaves a whole
This code was missing a test_index_face call after merging, so it was making
quads with v4 == 0.

------------------------------------------------------------------------
r15951 | artificer | 2008-08-04 16:49:55 +0200 (Mon, 04 Aug 2008) | 5 lines

Fix for [#17376] Applying mirror modifier does not respect UV pinning.

The custom data system wasn't swapping pinning or selection flags for MTFace
data when face vertices were reordered.

------------------------------------------------------------------------
r15949 | jhk | 2008-08-04 16:17:11 +0200 (Mon, 04 Aug 2008) | 2 lines

Fix for [#17414] Particles doesn't obey to lattice once children are added
-Lattice calculations were left out for children by accident
------------------------------------------------------------------------
r15948 | jhk | 2008-08-04 15:57:04 +0200 (Mon, 04 Aug 2008) | 2 lines

Fix for [#17366] Particle children from particles only take colour from UV-Maps
-Some old code in particle rendering hadn't been updated properly.
------------------------------------------------------------------------
r15944 | broken | 2008-08-04 13:47:17 +0200 (Mon, 04 Aug 2008) | 14 lines

* Armature hierarchy selection tools
These are for use in pose mode or armature edit mode, to let you quickly traverse up and down a chain of bones. 
It's quite useful for bones that are in hard-to-click places.

The tools are:
*Select parent/child ( [ and ] )
selects the parent or child of the active bone, deselecting the original active bone

* Extend select parent/child (shift [ and shift ] )
selects the parent or child of the active bone, adding to the selection

Thanks to Joshua for reviewing this so promptly!

PS. I'd like to use these [ and ] keys more widely in blender as consistent 'select next / previous' tools. I can imagine it being very useful for a lot of things like keyframes, nodes, mesh edges, etc.
------------------------------------------------------------------------
r15942 | campbellbarton | 2008-08-04 03:57:22 +0200 (Mon, 04 Aug 2008) | 6 lines

* KX_GameObject.cpp - error with getMesh(), was returning None rather then an error with invalid args. also memory leak with getVectTo() if invalid args were given.
* Material.c - functions for get/setRayTransGlossSamples were not being used.
* BPY_interface.c - removed function GetName(), since everything else just uses id->name+2.
* header_info.c - added ifdef win32 around copy_game_dll since its not needed for other os's yet


------------------------------------------------------------------------
r15941 | ben2610 | 2008-08-03 23:59:36 +0200 (Sun, 03 Aug 2008) | 1 line

BGE patch #17398 approved: implementation of BGE method getVectTo().
------------------------------------------------------------------------
r15940 | ben2610 | 2008-08-03 23:57:52 +0200 (Sun, 03 Aug 2008) | 1 line

Update MSVC project files for new Boolean Operation file (BOP_Merge2.cpp)
------------------------------------------------------------------------
r15939 | schlaile | 2008-08-03 18:11:57 +0200 (Sun, 03 Aug 2008) | 9 lines

== FFMPEG ==

This fixes:
[#16655] Blender crashes when Fraps videos are added to the sequencer

(sorry, color conversion is not supported by swscaler for some reason,
so currently, only the crash is fixed)


------------------------------------------------------------------------
r15937 | migius | 2008-08-03 17:57:09 +0200 (Sun, 03 Aug 2008) | 19 lines

DXF-importer script. Works well with 2.46winXP
Please commit to 2.47 branch
patch history:
 v1.12 - 2008.08.03
 c2 warningfix: relocating of globals: layersmap, oblist 
 c2 modif UI: buttons newScene+targetLayer moved to start panel
 v1.12 - 2008.07.04
 c1 added control Curve's OrderU parameter
 c1 modif UI: preset buttons X-2D-3D moved to start panel
 b6 added handling exception of not registered LAYERs (Hammer-HL-editor DXF output)
 b5 rebuild UI: global preset 2D for Curve-Import
 b5 added UI-options: PL-MESH N+N plmesh_flip and normals_out 
 b5 added support for SPLINEs, added control OrderU parameter
 b5 rewrote draw module for NURBS_curve and Bezier_curve
 v1.12 - 2008.06.22
 b4 change versioning system 1.0.12 -> 1.12
 b4 print at start version-info to console
 b3 bugfix: ob.name conflict with existing meshes (different ob.name/mesh.name)

------------------------------------------------------------------------
r15936 | schlaile | 2008-08-03 17:56:35 +0200 (Sun, 03 Aug 2008) | 12 lines

== Sequencer ==

Fixes:
[#15082] Sequencer: for image strips, the Input file field disappears if the cursor is out of the selected strip

also it wasn't really a bug, since the file name of image input strips
_has_ to depend on CFRA.

Well, we choose the next possible image strip, which is most likely the thing,
most people expected...


------------------------------------------------------------------------
r15935 | schlaile | 2008-08-03 17:45:53 +0200 (Sun, 03 Aug 2008) | 11 lines

== Sequencer ==

This fixes:
[#17405] Sequencer: unselected black strips are unreadable
using
[#17418] Fix for bug #17405: unselected black seq strips text unreadable

Thanks to Roelf De Kock for providing the patch and 
mindrones for the bug report :)


------------------------------------------------------------------------
r15933 | schlaile | 2008-08-03 17:35:56 +0200 (Sun, 03 Aug 2008) | 6 lines

== Sequencer ==

This fixes:
[#17413] Sequencer: Blender crashes pressing R on a color strip 


------------------------------------------------------------------------
r15931 | aligorith | 2008-08-03 13:55:45 +0200 (Sun, 03 Aug 2008) | 3 lines

Grease Pencil Drawing:

Some WIP code for 'nicer' drawing of thick 2d-strokes that will hopefully result in smoother lines, particularly with abrupt direction changes. Currently the code is hidden behind the rt button (for rt != 0), as in some cases, it still looks rather bad.
------------------------------------------------------------------------
r15930 | genscher | 2008-08-03 13:40:09 +0200 (Sun, 03 Aug 2008) | 1 line

Little speedup for kdop-bvh
------------------------------------------------------------------------
r15928 | genscher | 2008-08-03 03:41:57 +0200 (Sun, 03 Aug 2008) | 1 line

Bugfix for non working selfcollisions [no 2.47 bugfix]
------------------------------------------------------------------------
r15927 | genscher | 2008-08-03 03:00:51 +0200 (Sun, 03 Aug 2008) | 1 line

Bugfix for weird + in the code, no idea why it compiled (yet some selfcollision bug to fix) [no 2.47 fix]
------------------------------------------------------------------------
r15926 | ben2610 | 2008-08-03 00:11:22 +0200 (Sun, 03 Aug 2008) | 1 line

Small update to get the BlenderPlayer compiling (also needed for 2.47)
------------------------------------------------------------------------
r15925 | campbellbarton | 2008-08-02 23:39:01 +0200 (Sat, 02 Aug 2008) | 3 lines

BKE_global.h include path wasnt correct. made boxpack2d.c a bit more 
readable. no functionality changes.

------------------------------------------------------------------------
r15924 | mal_cando | 2008-08-02 19:08:16 +0200 (Sat, 02 Aug 2008) | 5 lines

Copies all required DLLS for Save Game as Runtime.

Under Windows, all DLLs are copied to the same folder as the runtime .EXE, so that the process becomes a single click and deploy solution.

Linux doesn't require this ( thx for info centralnoise ) and will update to work on OS/X after I do a bit of research on .a and .so files ( thx for info kaito ).
------------------------------------------------------------------------
r15922 | elubie | 2008-08-02 11:44:01 +0200 (Sat, 02 Aug 2008) | 3 lines

== imagebrowser ==
- HKEY now toggles hide/show dotfiles

------------------------------------------------------------------------
r15918 | broken | 2008-08-02 08:31:56 +0200 (Sat, 02 Aug 2008) | 1 line

* patch #17394 by Vilem Novak - add menu item for 'Make Proxy Object'. Thanks!
------------------------------------------------------------------------
r15917 | broken | 2008-08-02 08:29:15 +0200 (Sat, 02 Aug 2008) | 1 line

*  (slightly modified) old patch #7471 from Davide Vercelli - menu items for Show All Layers/Show Previous layers in the 3D View. Sorry this took so long!
------------------------------------------------------------------------
r15916 | broken | 2008-08-02 08:11:35 +0200 (Sat, 02 Aug 2008) | 1 line

* Minor tweaks to file menu item naming
------------------------------------------------------------------------
r15914 | aligorith | 2008-08-02 02:25:50 +0200 (Sat, 02 Aug 2008) | 3 lines

Scons - Mingw Compiling Fix:

When using BF_SPLIT_SRCS as a hack to get some of the larger libs compiled, there were some problems linking Blender related to some boolean calls. This commit tweaks the priorities for the boolean libs for the 'intern' group so that they get linked before the src libs are.
------------------------------------------------------------------------
r15910 | mal_cando | 2008-08-01 23:17:54 +0200 (Fri, 01 Aug 2008) | 7 lines

Fix for GE Make Runtime menu option

Doh - I forgot to add a comment to the previous commit.

This adds a file exists check for Make Dynamic Runtime for the GE.  It also removes this menu option for now, as the required file ( blenderdynplayer.exe ) hasn't been included with the Blender app for quite a few releases ( therefore the feature has been broken ).

I also renamed the option, to make it a bit more understandable.  This might even be better moved to the Game menu, but I didn't want to do that ( yet :) )
------------------------------------------------------------------------
r15909 | mal_cando | 2008-08-01 23:12:47 +0200 (Fri, 01 Aug 2008) | 1 line


------------------------------------------------------------------------
r15903 | harkyman | 2008-08-01 14:56:29 +0200 (Fri, 01 Aug 2008) | 1 line

Ipo Editor would not allow access to either World or Lamp texture Ipos. Now it does. Fixes bug #17379.
------------------------------------------------------------------------
r15899 | khughes | 2008-07-31 20:37:03 +0200 (Thu, 31 Jul 2008) | 9 lines

Tools
-----
New boolean merge algorithm.  The current code often does a poor job of merging tris and quads after the operation, resulting in many unnecessary faces.  This commit add a new algorithm which takes advantage of topology information saved in the interal BOP structures.

The file intern/boolop/intern/BOP_Misc.h has two #defines which control which algorithm(s) are compiled.  They are set now to compile both, with the new algorithm as the default.  The original algorithm can be enabled by setting the "rt" debugging button on the Scene panel (F10) to 100.

One note: the current boolean code still occasionally creates a non-manifold mesh from an operation on two manifold meshes.  The original merge algorithm would sometimes "close" these meshes and sometimes not.  The new algorithms behaves the same way, but sometimes closes a mesh the original would not and sometimes leaves open a mesh the original would close.  My fairly extensive tests did not indicate any significant difference in the percentage of final non-manifold meshes.


------------------------------------------------------------------------
r15896 | migius | 2008-07-31 14:38:36 +0200 (Thu, 31 Jul 2008) | 5 lines

[#17395] Collada1.4 Importer patch: by Hiroki Utsunomiya https://projects.blender.org/tracker/index.php?func=detail&aid=17395&group_id=9&atid=127
1. Fix to read library_effects/.../transparent's texture
 (translator.py.patch)
2. Fix to skip commments when reading
 (collada.py.patch, xmlutils.py.patch)
------------------------------------------------------------------------
r15895 | ton | 2008-07-31 14:24:04 +0200 (Thu, 31 Jul 2008) | 3 lines

The korean po file


------------------------------------------------------------------------
r15894 | aligorith | 2008-07-31 14:23:29 +0200 (Thu, 31 Jul 2008) | 3 lines

== Grease Pencil Eraser - Tweaks ==

Improved accuracy of the eraser a bit. Now it does a boundbox test first before trying to erase strokes, which means that other (rather unrelated) strokes are less likely to be affected as well.
------------------------------------------------------------------------
r15893 | ton | 2008-07-31 14:23:09 +0200 (Thu, 31 Jul 2008) | 5 lines

Korean translation, provided by J.H. Jeong (yongdori)
(Bugreport 17415)



------------------------------------------------------------------------
r15888 | khughes | 2008-07-30 23:52:02 +0200 (Wed, 30 Jul 2008) | 10 lines

Tools
-----
Minor changes to boolean code; add an new include file to gather various
#defines global to the boolean system.  Currently, this just allows control
of whether some debugging code is compiled or not.

This is a precursor commit for some other boolean optimizations/cleanups.
But in case that commit is later reverted, this code should still remain.


------------------------------------------------------------------------
r15886 | jesterking | 2008-07-30 22:45:04 +0200 (Wed, 30 Jul 2008) | 1 line

* another commit adding std:: to the sort call (older msvc [<9] choked?)
------------------------------------------------------------------------
r15884 | ben2610 | 2008-07-30 19:41:47 +0200 (Wed, 30 Jul 2008) | 16 lines

BGE patch: logic optimization part 2: remove inactive sensors from logic manager.

With this patch, only sensors that are connected to 
active states are actually registered in the logic
manager. Inactive sensors won't take any CPU,
especially the Radar and Near sensors that use a
physical object for the detection: these objects
are removed from the physics engine.

To take advantage of this optimization patch, you
need to define very light idle state when the 
objects are inactive: make them transparent, suspend
the physics, keep few sensors active (e,g a message
sensor to wake up), etc.


------------------------------------------------------------------------
r15883 | ben2610 | 2008-07-30 19:22:57 +0200 (Wed, 30 Jul 2008) | 1 line

Update MSVC project since recent commit
------------------------------------------------------------------------
r15882 | blendix | 2008-07-30 18:15:15 +0200 (Wed, 30 Jul 2008) | 7 lines


Bugfixes: fix for two memory leaks related to dupligroups,
and a missing reference count in the trackto actuator. This
showed up as leaked pose data, but actually the whole object
was not being freed.


------------------------------------------------------------------------
r15880 | genscher | 2008-07-30 13:21:10 +0200 (Wed, 30 Jul 2008) | 1 line

Bugfix for mesh deformer under windows --> uninitialized variable was used in meshdeform_inside_cage()
------------------------------------------------------------------------
r15879 | aligorith | 2008-07-30 11:20:05 +0200 (Wed, 30 Jul 2008) | 3 lines

Grease Pencil Bugfixes:
* Segfaults with eraser should now be fixed 
* Attempted fixed for sequencer redraw problems with buttons
------------------------------------------------------------------------
r15878 | aligorith | 2008-07-30 11:07:56 +0200 (Wed, 30 Jul 2008) | 19 lines

== Grease Pencil - Eraser (First Draft) ==

This commit introduces the ability to erase strokes. Admittedly, the code for this is not totally stable yet, and doesn't always produce optimum results. I'm committing now for backup purposes.

It currently uses the lasso code to check whether segments of the strokes (a segment occurs between two recorded points) occur inside a region defined by the 'eraser' stroke, or any intersections it makes with the 'eraser' stroke.

There are multiple ways to erase strokes:
* With 'Draw Mode' on, use RMB-drag to erase
* With a tablet, use the 'eraser' end of the stylus
* Hold the Alt Key, and use the 'selection' mouse-button (i.e. LMB if mouse-button swapping is on, RMB otherwise) to erase. For this one, this is necessary to avoid overriding the view-rotation hotkey combo for 2-button mice!

Todo:
* 3d-strokes are not correctly mapped back to screen-space for sampling yet
* Drawing of eraser strokes is still not distinctive enough
* After running a few times, may cause stack corruption/segfaults, so be careful!


== Bugfixes ==
* Grease-Pencil Onion-Skinning works again. Onionskining was being supplied the wrong frames, and the alpha factor was still the old one used for 0-255 ranged colour values
------------------------------------------------------------------------
r15875 | mal_cando | 2008-07-30 00:44:43 +0200 (Wed, 30 Jul 2008) | 22 lines

Simple changes to Motion Actuator UI.

This includes...

- Renaming dLoc and dRot as Loc and Rot ( as well as changing the tooltip to location and rotation ).  dLoc and dRot are programming terms, not user terms.

- Placing Loc and Rot as the two initial shown values, so that the physical ones are all shown together.

I also changed it so that only Loc and Rot are shown in the UI, unless the object is Dynamic ( as the other values only make sense if it is dynamic ).

These are just a few simple changes, that should make a lot of difference to users when learning how to use the GE.


--------------------------------------

Things I'd *really* like to do to this, when I get a chance to code Blender again ( hopefully in a few days time, after I have finished teaching on the GE course )...

Color / Colour tint the X,Y and Z entry boxes as slightly red, green and blue, to reflect the colour of the axis / transform gizmo
...or...
Just show X,Y and Z labels above all of the values.

Getting to grips with the whole XYZ thing is very confusing for users, esp when they are presented with 6 x 3 entry boxes.
------------------------------------------------------------------------
r15874 | jesterking | 2008-07-29 23:56:50 +0200 (Tue, 29 Jul 2008) | 1 line

* making sure BGE compiles after brecht's big commit (r15867). Needed <algorithm> to compile with msvc.
------------------------------------------------------------------------
r15873 | mal_cando | 2008-07-29 23:49:59 +0200 (Tue, 29 Jul 2008) | 5 lines

Copy Attributes now has option to copy all physical attributes.

There existed two options to copy only the mass, and only the damping, but no option to copy all of the physical attributes.

This patch adds in this option, right under the Mass and Damping listings.
------------------------------------------------------------------------
r15872 | mal_cando | 2008-07-29 22:28:11 +0200 (Tue, 29 Jul 2008) | 9 lines

Am teaching a GE course this week, and am finding some small issues that I'm hoping to patch.

This one deals with the very small default clipend value ( 100.0 ) when pressing P to run the GE from a non-camera view.  ( ie if the user zooms out a bit from the default box area, the box will get clipped out of view, so it's a WFT from the user )

To see what this fixes, load up Blender default scene, go into perspective, and press P. Everything looks grand.  Now, zoom out until the box is about 10 pixels high, and press P again.  The box will disappear / be clipped out.

I've set the clip end to the maximum ( 5000 ) as defined in Camera.h.

This should be suitable for inclusion in 2.47 branch also.
------------------------------------------------------------------------
r15869 | genscher | 2008-07-29 20:07:06 +0200 (Tue, 29 Jul 2008) | 1 line

No long needed here (win64 cleanup)
------------------------------------------------------------------------
r15867 | blendix | 2008-07-29 17:48:31 +0200 (Tue, 29 Jul 2008) | 32 lines

Game Engine: alpha blending and sorting
=======================================

Alpha blending + sorting was revised, to fix bugs and get it
to work more predictable.

* A new per texture face "Sort" setting defines if the face
  is alpha sorted or not, instead of abusing the "ZTransp"
  setting as it did before.
* Existing files are converted to hopefully match the old
  behavior as much as possible with a version patch.
* On new meshes the Sort flag is disabled by the default, to
  avoid unexpected and hard to find slowdowns.
* Alpha sorting for faces was incredibly slow. Sorting faces
  in a mesh with 600 faces lowered the framerate from 200 to
  70 fps in my test.. the sorting there case goes about 15x
  faster now, but it is still advised to use Clip Alpha if
  possible instead of regular Alpha.
* There still various limitations in the alpha sorting code,
  I've added some comments to the code about this.

Some docs at the bottom of the page:
http://www.blender.org/development/current-projects/changes-since-246/realtime-glsl-materials/

Merged some fixes from the apricot branch, most important
change is that  tangents are now exactly the same as the rest
of Blender, instead of being computed in the game engine with a
different algorithm.

Also, the subversion was bumped to 1.


------------------------------------------------------------------------
r15855 | ben2610 | 2008-07-29 00:36:27 +0200 (Tue, 29 Jul 2008) | 1 line

BGE patch: fix support of group hidden layer in dupli group instantiation: only the objects in layers matching the group layer mask will be instantiated. This is equivalent to the 3D view
------------------------------------------------------------------------
r15854 | khughes | 2008-07-29 00:10:32 +0200 (Tue, 29 Jul 2008) | 5 lines

Bugfix for #17396.  Adding a text object would segfault when using freetype
2.3.6 or later.  Thanks to Cyril Brulebois for a one-line patch, which was
sent to the ML a while back.


------------------------------------------------------------------------
r15843 | blendix | 2008-07-28 16:28:19 +0200 (Mon, 28 Jul 2008) | 4 lines

Bugfix: game engine does not support non-camera type objects as a
camera, would crash, so disabled using the object as a camera then.


------------------------------------------------------------------------
r15835 | migius | 2008-07-28 12:13:56 +0200 (Mon, 28 Jul 2008) | 2 lines

commit by jms:
Rvk1 to rvk2 script python did not work anymore with the softbodie in blender 2.46.  Only one line needs to be removed.
------------------------------------------------------------------------
r15833 | aligorith | 2008-07-28 06:08:46 +0200 (Mon, 28 Jul 2008) | 3 lines

Bugfix: 

Bone-locking should only be set if the bone (and not its parent/children) are selected. Transposition error from the patch (I had to manually apply as there were some oddities about the patch file).
------------------------------------------------------------------------
r15827 | broken | 2008-07-28 02:21:34 +0200 (Mon, 28 Jul 2008) | 1 line

* Fix for Aligorith's fix for my mistaken uninitialised variable in outliner.c - it was never needed in the first place.
------------------------------------------------------------------------
r15805 | aligorith | 2008-07-27 14:48:46 +0200 (Sun, 27 Jul 2008) | 3 lines

#17309: Copy/pasting bone names (without editing text) doesn't update bone/pose names

The pasting code for text-buttons (when hovering over the button), was incorrectly using the drawstr (i.e. the string that is displayed in the text-button, and includes the 'name' of the button) as the old value. This meant that the renaming code could not correctly detect matches to rename.
------------------------------------------------------------------------
r15803 | aligorith | 2008-07-27 13:41:39 +0200 (Sun, 27 Jul 2008) | 3 lines

Bugfix #17334:

This bug-report revealed a critical error made in the menus for Constraints Owner/Target spaces. It seems that the wrong values have been used for 'pose space' and 'local with parent' space. This has now been rectified, so that old rigs won't break (just that the labels will be a bit different).
------------------------------------------------------------------------
r15798 | aligorith | 2008-07-27 07:20:35 +0200 (Sun, 27 Jul 2008) | 3 lines

Outliner.c: 

Fixed some warnings about 'ob' being used uninitialsed. In some places that was definitely the case! 
------------------------------------------------------------------------
r15797 | aligorith | 2008-07-27 06:39:55 +0200 (Sun, 27 Jul 2008) | 4 lines

Grease-Pencil:

* UI - added delete button for hidden layers
* Renamed the two hardcoded defines added for testing distances to their more formal nomenclature.
------------------------------------------------------------------------
r15796 | aligorith | 2008-07-27 06:19:56 +0200 (Sun, 27 Jul 2008) | 6 lines

Patch #17336: Lock bones in edit mode
Submitted by: Lorenzo Pierfederici (lento) 

This patch adds the ability to lock transformation on bones in edit mode, to protect them from accidental editing.

Bones can be locked from the editing buttons, the transform property panel, the specials popup menu or the python api.
------------------------------------------------------------------------
r15794 | aligorith | 2008-07-27 05:15:17 +0200 (Sun, 27 Jul 2008) | 8 lines

== Pose Mode - Copy Menu (Ctrl C) ==

This now works even when there is a proxy-protected bone selected with a few differences.
* The Transform Locks, IK-Flags, and Custom Bone Shape settings are unavailable, as they would be reset by the proxy protection anyway

Also, the Copy Constraints options have been altered so that they do NOT free all existing constraints on the target bones before copying.
* Constraints are now appended to the end of the constraint stacks, with those added to bones belonging on proxy protected layers getting tagged as 'local' constraints.
* This is more useful for riggers than the previous behaviour (which was quite nasty too).
------------------------------------------------------------------------
r15787 | ianwill | 2008-07-27 00:00:26 +0200 (Sun, 27 Jul 2008) | 7 lines

== Python scriptlinks ==

Render/postrender events were missing from bg rendering (and also from rendering called inside scripts). Found this because of bug #17389, the code to prevent race conditions with pynodes is currently inside BPY_do_all_scripts (that runs scriptlinks) and so was not being called in bg mode or rendering via scripts.

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


------------------------------------------------------------------------
r15779 | aligorith | 2008-07-26 14:54:03 +0200 (Sat, 26 Jul 2008) | 10 lines

== Grease Pencil - Drawing (User Action not Display) Accuracy ==

This commit attempts to fix some of the problems with the accuracy of strokes recorded.

I've disabled the post-draw smoothing of strokes as it deviated from the source stroke too much. This was introduced to try to eliminate the effects of fine 'jitter' (which is especially noticable when using optical mice + fast computer). 

Now, I've introduced two thresholds which determine the 'minimum' distances that the mouse needs to have moved from the previous mouse-coordinates recorded, to be recorded. These are currently hardcoded, but may be exposed in the UI if there is significant need to do so.
- The first is for the distance that the mouse must have moved on both axes to be considered.
- The second is for the 'pythagorean' distance that needs to have been travelled by the mouse.

------------------------------------------------------------------------
r15778 | ben2610 | 2008-07-26 13:00:21 +0200 (Sat, 26 Jul 2008) | 1 line

BGE patch: support runtime duplication of groups. Adding an object with Dupligroup option set will cause the group to be instantiated. No special actuator is needed for this feature, just put dupligroup objects in inactive layers and add them dynamically
------------------------------------------------------------------------
r15776 | schlaile | 2008-07-26 08:43:36 +0200 (Sat, 26 Jul 2008) | 5 lines

== Sequencer ==

Fixes: [#17347] Scaling problems when "Use Translate" is enabled for image strip


------------------------------------------------------------------------
r15775 | schlaile | 2008-07-26 08:19:50 +0200 (Sat, 26 Jul 2008) | 6 lines

== Sequencer ==

since clear_last_seq replaces set_last_seq in kernel,
removed unneeded bad_level_call.


------------------------------------------------------------------------
r15772 | aligorith | 2008-07-26 02:43:29 +0200 (Sat, 26 Jul 2008) | 5 lines

Two fixes:
* For constraint mesh-targets, the check for whether the target mesh was in EditMode didn't check to see if the target mesh was the mesh in EditMode. 
Thanks jaguarandi for catching that!

* Bumped up size of buffer for grease-pencil drawing after seeing a program written in 1989 that had a 100 times larger buffer
------------------------------------------------------------------------
r15769 | bjornmose | 2008-07-26 00:58:22 +0200 (Sat, 26 Jul 2008) | 4 lines

rolling back 'bad' wind and force scaling compared to particles .. 
because i have no solution on backward compatibility  
keeping bug fix
-wind and force did not work if aero or edge collision was activated.
------------------------------------------------------------------------
r15768 | ianwill | 2008-07-26 00:30:03 +0200 (Sat, 26 Jul 2008) | 6 lines

== PyNodes ==

Early Ehlinger reported a deadlock when a script tells Blender to render an animation and there are pynodes. While investigating I saw related crashes in bg (blender -b) mode, still not fixed. This commit tries to fix the problem for interactive mode, then. What it does is releasing the lock before rendering and relocking after that, like theeth suggests in the bug report:

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

------------------------------------------------------------------------
r15766 | campbellbarton | 2008-07-25 23:14:23 +0200 (Fri, 25 Jul 2008) | 2 lines

added exception messages to game engine matrix and vector conversions. also removed own unneeded defines in arithb.c

------------------------------------------------------------------------
r15760 | ben2610 | 2008-07-25 15:45:57 +0200 (Fri, 25 Jul 2008) | 1 line

BGE patch: approve patch #17312: Multiple material IPOs per mesh in BGE.
------------------------------------------------------------------------
r15758 | ben2610 | 2008-07-25 12:52:10 +0200 (Fri, 25 Jul 2008) | 1 line

BGE bug fix: approve patch #17297: Track To Actuator bug fix
------------------------------------------------------------------------
r15756 | jesterking | 2008-07-25 09:56:07 +0200 (Fri, 25 Jul 2008) | 1 line

* make sure blenderplayer links again
------------------------------------------------------------------------
r15755 | aligorith | 2008-07-25 09:11:08 +0200 (Fri, 25 Jul 2008) | 3 lines

Grease Pencil - Backend work:

Just preparation work for an eraser tool (as well as the code of a failed attempt at an implementation).
------------------------------------------------------------------------
r15751 | broken | 2008-07-25 04:49:49 +0200 (Fri, 25 Jul 2008) | 1 line

* Last commit missed some important changes, don't ask me how this compiled before!
------------------------------------------------------------------------
r15748 | broken | 2008-07-25 03:17:37 +0200 (Fri, 25 Jul 2008) | 3 lines

* Fix for bug #9450 'Problems with Extended Material node with AmbCol socket'

It turns out the material AmbCol property was never working properly, or even supported in the renderer, so I've removed it. Also included is a fix to make the 'Amb' input work properly too.
------------------------------------------------------------------------
r15740 | joeedh | 2008-07-24 21:34:49 +0200 (Thu, 24 Jul 2008) | 1 line

added note to epydocs explaining the nature of floats in id properties from the python point of view
------------------------------------------------------------------------
r15739 | joeedh | 2008-07-24 21:22:17 +0200 (Thu, 24 Jul 2008) | 1 line

added support for doubles to the id property code, and made the python code use them by default
------------------------------------------------------------------------
r15734 | bjornmose | 2008-07-24 14:27:31 +0200 (Thu, 24 Jul 2008) | 10 lines

soft body bug fix own finding
left overs from new particles
-wind and force did not work if aero or edge collision was activated.
-force field had flipped sign compared to particles
tsk who thinks a attractive force should negative sign? well... i am passionless with that.
-adapted effect of wind and fields on softbodies such that softbody "particles" and particle "particles" behave consistently
note! 
effect of wind is 1/25 compared to before   
other forces 1/10

------------------------------------------------------------------------
r15733 | aligorith | 2008-07-24 11:23:13 +0200 (Thu, 24 Jul 2008) | 10 lines

== Grease Pencil - More Tweaks (I) ==

New Stuff:
* Alt-XKEY / Alt-DelKey will now activate the Grease Pencil "Erase" menu. This will only show up when it's relevant (i.e. when there exists Grease Pencil data). It should make it faster to quickly delete the last stroke made. This hotkey has been added to the tooltips of the relevant buttons.
* Finished off colouring of 'active' layers panel so that they are now easily identify-able. This could also be done for Constraints, but the 'active' one isn't that important there.

Bugfixes:
* Fixed bug with drawing gp-data sources in the Action Editor, which resulted in missing icons.
* Fixed buttons in Grease Pencil panel. My hasty attempt last night at making the Action Editor to refresh was causing problems.
* Added a (hopefully temporary) button that will be used to prevent drawing from occurring with Shift-LMB. This is useful when trying to select stuff sometimes, with LMB as select-button, especially when selecting a bunch of closely spaced bones might be interpreted as a new stroke.
------------------------------------------------------------------------
r15730 | broken | 2008-07-24 08:21:33 +0200 (Thu, 24 Jul 2008) | 1 line

* Added the ability to toggle visibility/renderability for bones in edit mode or pose mode, in the outliner
------------------------------------------------------------------------
r15729 | broken | 2008-07-24 08:04:03 +0200 (Thu, 24 Jul 2008) | 1 line

* Added the ability to toggle visibility/renderability for modifiers, from the outliner
------------------------------------------------------------------------
r15726 | broken | 2008-07-24 04:09:44 +0200 (Thu, 24 Jul 2008) | 1 line

* A bit more precision in the bevel mod 'width' field
------------------------------------------------------------------------
r15723 | ben2610 | 2008-07-23 23:37:37 +0200 (Wed, 23 Jul 2008) | 1 line

BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time
------------------------------------------------------------------------
r15714 | campbellbarton | 2008-07-23 17:45:23 +0200 (Wed, 23 Jul 2008) | 3 lines

Added NodeUpdateGS so GameObject Python api alignAxisToVect function,
Otherwise the rotation isn't applied.

------------------------------------------------------------------------
r15712 | aligorith | 2008-07-23 14:27:08 +0200 (Wed, 23 Jul 2008) | 12 lines

== Grease Pencil - UI Improvements ==

Based on user feedback, I've made some changes to the Grease Pencil UI (most notably in 'Time Editing' facilities). 
* 'Edit Timing' button gone
* Pin button and '<Grease Pencil Data' string gone from Action Editor
* Action Editor in 'Grease Pencil' mode now displays all grease-pencil datablocks for current screen. 
* AE: GP-Datablocks are drawn like 'groups', with an expand/collapse button to show/hide layers. Its name shows the type of space it comes from, and shows indicative status info (i.e. for 3d-view, it shows view-angle)
* Added refresh calls for action editor after editing relevant data.

I haven't tested all tools yet, but most should be stable. 

Also, I've removed some unnecessary buttons, and added a few tooltips. There's also some experimental code to try to get clearer indication of 'active' layer.
------------------------------------------------------------------------
r15707 | schlaile | 2008-07-23 09:11:23 +0200 (Wed, 23 Jul 2008) | 8 lines

== Sequencer ==

Fixes: [#17315] Sequencer: after undo there's no active object
closes: [#17357] fix for bug #17315 - Sequencer: after undo there's no active object
(kiemdoder: thanks for the patch, had to do it in a little bit different way,
since sort_seq will kill your sort order idea...)


------------------------------------------------------------------------
r15704 | broken | 2008-07-23 04:31:56 +0200 (Wed, 23 Jul 2008) | 1 line

Updated some out of date documentation of Object Ipo curve names
------------------------------------------------------------------------
r15702 | ben2610 | 2008-07-23 01:05:06 +0200 (Wed, 23 Jul 2008) | 24 lines

BGE patch: Add min/max parameters to orientation constraint actuator

The min/max parameters define a minimum/maximum angle
that the object axis can have with the reference 
direction without being constrainted. The angle is 
expressed in degree and is limited to 0-180 range. 
The min/max parameters define a conical free zone
around the reference direction.

If the object axis is outside that free zone, the
actuator will tend to put it back using as a temporary
reference direction the vector that is exactly at
min or max degree of the reference direction 
(depending if the axis angle is below the minimum 
or above the maximum) and is located in the plane 
formed by the axis and the reference direction.

With a low damping value, this is equivalent to 
clamping the axis orientation within min/max degree
of the reference direction.

Backward compatibility corresponds to the absence
of free zone: min = max = 0.

------------------------------------------------------------------------
r15700 | ben2610 | 2008-07-22 20:11:32 +0200 (Tue, 22 Jul 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r15695 | ben2610 | 2008-07-22 18:44:35 +0200 (Tue, 22 Jul 2008) | 1 line

BGE patch: update KX_GameObject::getChildren() to use CListValue instead of python list (allows name search keep refcount consistent)
------------------------------------------------------------------------
r15693 | ben2610 | 2008-07-22 17:52:55 +0200 (Tue, 22 Jul 2008) | 1 line

BGE patch: fix type in previous commit causing wrong orientation
------------------------------------------------------------------------
r15687 | aligorith | 2008-07-22 11:53:25 +0200 (Tue, 22 Jul 2008) | 8 lines

== Grease Pencil ==

Grease Pencil is a tool which allows you to draw freehand in some views, allowing you to annotate/scribble over the contents of that view in either 2d or 3d. This facilitates many easier communication and planning abilities.

To use, simply enable it from the View menu (choose 'Grease Pencil...' and click 'Use Grease Pencil'). Then, click+drag using the left-mouse button and the shift-key held to draw a stroke.

For more information, check the following page on the wiki:
http://wiki.blender.org/index.php/User:Aligorith/247_Grease_Pencil
------------------------------------------------------------------------
r15680 | khughes | 2008-07-21 22:42:11 +0200 (Mon, 21 Jul 2008) | 8 lines

Python API
----------

Particle patch from Cédric Paille: bugfixes and child-particles export improvements for .getLoc(), part.getRot() part.getSize(), part.getAge() methods.

Also fix a bug with part.randemission getter (was using PART_BOIDS_2D instead of PART_TRAND), plus typos and duplications in API documentation.


------------------------------------------------------------------------
r15676 | campbellbarton | 2008-07-21 19:05:59 +0200 (Mon, 21 Jul 2008) | 2 lines

allow to write to libraries that are indirectly linked

------------------------------------------------------------------------
r15668 | ben2610 | 2008-07-21 14:37:27 +0200 (Mon, 21 Jul 2008) | 8 lines

BGE patch: Optimization of bullet adaptation layer - part 1.

First batch of optimizaton of the bullet adaptation layer in the BGE.
- remove circular motion state update.
- optimization of physic adaptation layer for bullet: bypass
  unecessary conversion of rotation matrix to quaternion and back.
- remove double updates during object replication.

------------------------------------------------------------------------
r15663 | zaghaghi | 2008-07-21 01:34:17 +0200 (Mon, 21 Jul 2008) | 1 line

BGE 2dFilters some extra fixes
------------------------------------------------------------------------
r15662 | zaghaghi | 2008-07-21 01:03:01 +0200 (Mon, 21 Jul 2008) | 1 line

BGE Bug Fix:#17349, fixes some problems about 2d-filters
------------------------------------------------------------------------
r15660 | ben2610 | 2008-07-20 23:09:56 +0200 (Sun, 20 Jul 2008) | 1 line

BGE patch: constraint orientation actuator did not work when damping=0.
------------------------------------------------------------------------
r15659 | genscher | 2008-07-20 23:05:48 +0200 (Sun, 20 Jul 2008) | 1 line

Fix for crash in collisions (introduced *after* 2.46 with my collision recode)
------------------------------------------------------------------------
r15658 | genscher | 2008-07-20 20:07:02 +0200 (Sun, 20 Jul 2008) | 1 line

[#17356]: Reactor particles makes blender crash
------------------------------------------------------------------------
r15656 | campbellbarton | 2008-07-20 19:18:46 +0200 (Sun, 20 Jul 2008) | 2 lines

GameObject functions getChildren() and getChildrenRecursive()

------------------------------------------------------------------------
r15653 | ton | 2008-07-20 18:06:40 +0200 (Sun, 20 Jul 2008) | 10 lines

Bugfix #16662

Curve modifier on lattice suffered drawing updates, only when the system
was not animated though, missed depsgraph calls then.

Solved it by forcing lattice to always return displist for its vertices,
that's same as for how mesh/curve works now.



------------------------------------------------------------------------
r15652 | ben2610 | 2008-07-20 17:40:03 +0200 (Sun, 20 Jul 2008) | 1 line

BGE bug fix (for 2.47): setParent() fix, third part: set mass to 0 when parenting. Allow loc/scale/orientation change on child object with physic controller.
------------------------------------------------------------------------
r15651 | ton | 2008-07-20 12:09:19 +0200 (Sun, 20 Jul 2008) | 10 lines

Bugfix #8182 

Specular render in Blender still had terminator problems... only the diffuse
part got "phong correction" applied. I didn't fix this before to not change
rendering results just before the release. Now there's time I hope?

Render results should only differ minimal, and only visible for low spec
hardness values (like 1 or 2)


------------------------------------------------------------------------
r15645 | campbellbarton | 2008-07-19 17:44:00 +0200 (Sat, 19 Jul 2008) | 7 lines

Added functions so python can change library paths.
* bpy.libraries.paths() -> list of library paths.
* bpy.libraries.replace(fromPath, toPath)




------------------------------------------------------------------------
r15642 | campbellbarton | 2008-07-19 15:04:55 +0200 (Sat, 19 Jul 2008) | 2 lines

syntax change so GCC 4.3 will build

------------------------------------------------------------------------
r15640 | ben2610 | 2008-07-19 12:27:52 +0200 (Sat, 19 Jul 2008) | 1 line

BGE bug fix (good for 2.47): remove static-static collision messages on the console since previous SetParent fix. The physical object is set to static+ghost while the object is parented. This behavior will be made optional in a future release. The DisableDynamics actuator will also make the object static except that the ghost/non-ghost flag is preserved.
------------------------------------------------------------------------
r15639 | ben2610 | 2008-07-19 12:18:54 +0200 (Sat, 19 Jul 2008) | 1 line

BGE patch: repair RemoveParent actuator after previous commit
------------------------------------------------------------------------
r15638 | ben2610 | 2008-07-19 09:45:19 +0200 (Sat, 19 Jul 2008) | 19 lines

BGE patch: Relink actuators with target within group when duplicating group; generalize protection against object deletion for all actuators that point to objects.

Certain actuators hold a pointer to an objects: Property,
SceneCamera, AddObject, Camera, Parent, TractTo. When a
group is duplicated, the actuators that point to objects
within the group will be relinked to point to the
replicated objects and not to the original objects.
This helps to setup self-contained group with a camera
following a character for example.
This feature also works when adding a single object
(and all its children) with the AddObject actuator.

The second part of the patch extends the protection
against object deletion to all the actuators of the above
list (previously, only the TrackTo, AddObject and
Property actuators were protected). In case the target
object of these actuators is deleted, the BGE won't
crash.

------------------------------------------------------------------------
r15628 | ben2610 | 2008-07-18 21:56:56 +0200 (Fri, 18 Jul 2008) | 16 lines

BGE patch: support for partial hierarchy in dupligroup instantiation; removal of links that point to inactive objects during group instantiation.

This situation corresponds to a group containing only a portion
of a parent hierarchy (the Apricot team needed that to avoid
logic duplication). The BGE will instantiate only the
children that are in the group so that it follows the 3D view
more closely.
As a result, the logic links to the objects in the portion of the
hierarchy that was not replicated will point to inactive objects
(if the groups are stored in inactive layers as they should be). 
To keep the logic system consistent, these links are automatically
removed.
This last part of the patch is a general fix that could go in
2.47 but as this situation does not normally occurs in pre-2.47
games, it is not needed.

------------------------------------------------------------------------
r15623 | ben2610 | 2008-07-18 16:40:24 +0200 (Fri, 18 Jul 2008) | 1 line

BGE bug fix (good for 2.47): SetParent actuator did not work on dynamic objects.  Dynamics will now be disabled automatically and the object will be set ghost for the duration of the parenting; this is to avoid static interaction with the parent object. The dynamic state is restored when the parenting is removed with RemoveParent actuator. This fix also applies to setParent() and removeParent() python functions.
------------------------------------------------------------------------
r15621 | campbellbarton | 2008-07-18 15:05:15 +0200 (Fri, 18 Jul 2008) | 2 lines

own error, recent commit that tried to keep an active face could crash when deleting faces.

------------------------------------------------------------------------
r15620 | campbellbarton | 2008-07-18 15:04:15 +0200 (Fri, 18 Jul 2008) | 7 lines

bugfix
the aspect of a block could become negative and default when scaling icons.
this is caused by the using viewRedrawForce (transforming a mesh) and drawing icons in the image panel.
must look into why bwin_getsinglematrix can give a negative value, probably because the opengl state is set incorrect.

This is still not correct because the aspect will be wrong. but at least it wont crash.

------------------------------------------------------------------------
r15612 | khughes | 2008-07-17 19:30:32 +0200 (Thu, 17 Jul 2008) | 3 lines

Change message printed by sceneRender.enableCropping() to be more descriptive, and note the method as deprecated in the python docs.


------------------------------------------------------------------------
r15611 | ben2610 | 2008-07-17 17:33:27 +0200 (Thu, 17 Jul 2008) | 1 line

BGE patch: use the Blender convention to duplicate groups in the BGE so that the objects will be created with the location and orientation as in Blender. Note that the BGE handles scaling in a parent tree differently than Blender. To avoid discrepencies between the 3D view and the BGE, use only isotropic scaling on all your objects except the leaf objects (i.e. without children) that can have anisotropic scaling
------------------------------------------------------------------------
r15610 | ben2610 | 2008-07-17 14:29:42 +0200 (Thu, 17 Jul 2008) | 1 line

BGE bug fix (good for 2.47): fix logic reconnection after replication. The old method was matching the bricks by name assuming they are unique but it is not always the case, especially with the new dupligroup feature. The new method matches the bricks by objects and position.
------------------------------------------------------------------------
r15607 | ben2610 | 2008-07-16 23:24:54 +0200 (Wed, 16 Jul 2008) | 1 line

BGE patch: fix mesh deformation errors with duplicated objects sharing the same mesh in case of 1) armature+multiple material 2) shape drivers
------------------------------------------------------------------------
r15602 | blendix | 2008-07-16 15:47:03 +0200 (Wed, 16 Jul 2008) | 6 lines


Bugfix: particles with deflection based on size could pass through
objects due to a broken SweepingSphereIntersectsTriangleUV. This
merges the code from the shrinkwrap branch by André Pinto, thanks!


------------------------------------------------------------------------
r15600 | campbellbarton | 2008-07-16 13:48:55 +0200 (Wed, 16 Jul 2008) | 3 lines

* change active face behavior so that entering editmode will assign the first face as active when none is set. UnSetting the active face will also use the first face as active.
* missing countall when selecting linked

------------------------------------------------------------------------
r15598 | zaghaghi | 2008-07-16 10:10:23 +0200 (Wed, 16 Jul 2008) | 1 line

Bug Fix #17337, now atmosphere works correctly with FSA enabled
------------------------------------------------------------------------
r15592 | ben2610 | 2008-07-15 22:05:23 +0200 (Tue, 15 Jul 2008) | 16 lines

BGE patch: DUPLIGROUP option supported in BGE.

Blender duplicates groups in the 3D view at the location of objects having the DUPLIGROUP option set. This feature is now supported in the BGE: the groups will be instantiated as in the 3D view when the scene is converted. This is useful to populate a scene with multiple enemies without having to actually duplicate the objects in the blend file.

Notes: * The BGE applies the same criteria to instantiate the group as Blender to display them: if you see the group in the 3D view, it will be instantiated in the BGE.
       * Groups are instantiated as if the object having the DUPLIGROUP option (usually an empty) executed an AddObject actuator on the top objects of the group (objects without parent).
       * As a result, only intra-group parent relationship is supported: the BGE will not instantiate objects that have parents outside the group.
       * Intra-group logic bricks connections are preserved between the duplicated objects, even between the top objects of the group.
       * For best result, the state engine of the objects in the group should be self-contained: logic bricks should only have intra-group connections. Use messages to communicate with state engines outside the group.
       * Nested groups are supported: if one or more objects in the group have the DUPLIGROUP option set, the corresponding groups will be instantiated at the corresponding position and orientation. 
       * Nested groups are instantiated as separate groups, not as one big group.
       * Linked groups are supported as well as groups containing objects from the active layers.
       * There is a difference in the way Blender displays the groups in the 3D view and how BGE instantiates them: Blender does not take into account the parent relationship in the group and displays the objects as if they were all children of the object having the DUPLIGROUP option. That's correct for the top objects of the group but not for the children. Hence the orientation of the children objects may be different in the BGE.
       * An AddGroup actuator will be added in a future release.


------------------------------------------------------------------------
r15590 | ben2610 | 2008-07-15 20:57:10 +0200 (Tue, 15 Jul 2008) | 1 line

BGE bug fix (good for 2.47): radar and near sensor did not filter correctly the collisioning objects based on ACTOR flag when the parent object was added dynamically. This could result in a very big performance decrease.
------------------------------------------------------------------------
r15589 | sirdude | 2008-07-15 20:12:08 +0200 (Tue, 15 Jul 2008) | 4 lines

Updated so things compile.  (Missing includes needed)

Kent

------------------------------------------------------------------------
r15579 | bdiego | 2008-07-15 03:23:56 +0200 (Tue, 15 Jul 2008) | 10 lines

Fix segfault in the Sequence.

If you enable the Proxy and Custom Dir options and later disable
the Proxy (but not the Custom Dir options), Blender crash every
time that you try select the strip, because the proxy don't exist
anymore.

The solution: only draw the Custom Dir button if the Proxy
option is enable.

------------------------------------------------------------------------
r15577 | aligorith | 2008-07-15 01:49:17 +0200 (Tue, 15 Jul 2008) | 3 lines

Bugfix:

My recent commit in transform code messed up Auto-IK.
------------------------------------------------------------------------
r15570 | campbellbarton | 2008-07-14 19:19:24 +0200 (Mon, 14 Jul 2008) | 5 lines

bugfix
* samples that wernt loaded could crash blender - divide by zero errors from having 0 channels or bits.
* could also corrupt memory when selecting samples with long names. from the sample selector menu.


------------------------------------------------------------------------
r15565 | genscher | 2008-07-14 14:24:49 +0200 (Mon, 14 Jul 2008) | 1 line

Win64 fix: disable 1GB restriction for 64bit windows systems, baking fluid with >4GB is verified to work on Vista64.
------------------------------------------------------------------------
r15564 | ton | 2008-07-14 12:26:11 +0200 (Mon, 14 Jul 2008) | 10 lines

Bugfix #17327

Small one: changed the string attribute in multilayer exr files to be:

"2.43 and newer"

To indicate that it's about compatibility of the exr file, not the version
Blender saved it in.


------------------------------------------------------------------------
r15563 | ton | 2008-07-14 11:37:06 +0200 (Mon, 14 Jul 2008) | 8 lines

Bugfix #17323

Ztransp OSA render did not include z values anymore in pass... this is
not good Z anyway (aliased), but at least it's back now.

Note: for composites using Z values: use FSA for superior results.


------------------------------------------------------------------------
r15562 | campbellbarton | 2008-07-14 03:44:05 +0200 (Mon, 14 Jul 2008) | 4 lines

last commit didn't work because GameLogic was a imported as a dict rather then a module. (was only printing it when testing).
Removed dictionaryClearByHand which was only called PyDict_Clear()


------------------------------------------------------------------------
r15561 | campbellbarton | 2008-07-14 02:47:07 +0200 (Mon, 14 Jul 2008) | 3 lines

importing the GameLogic module was being done by adding the text "import GameLogic" to the start of all scripts used in the game engine, this meant every error line number was off by 1 (quite annoying). better to do this to the dictionary that the scripts run with.


------------------------------------------------------------------------
r15559 | genscher | 2008-07-13 20:29:07 +0200 (Sun, 13 Jul 2008) | 1 line

Win64 fix: if you disable enough things in CMakeList.txt blender compiles on win64 now using cmake --> *BUT* it doesn't say anything about if it works with MEM>4GB (that's next thing to explore!)
------------------------------------------------------------------------
r15556 | genscher | 2008-07-13 19:49:12 +0200 (Sun, 13 Jul 2008) | 1 line

Fix to let Ghost compile with win64 msvc compiler.
------------------------------------------------------------------------
r15553 | ton | 2008-07-13 16:49:07 +0200 (Sun, 13 Jul 2008) | 6 lines

Bugfix #14435

"(De)Select faces with material" (edit buttons) should also draw image window



------------------------------------------------------------------------
r15550 | genscher | 2008-07-13 00:11:26 +0200 (Sun, 13 Jul 2008) | 1 line

Fixing the fix: Sometimes, Valgrind sees memory leaks where noone is - especially with external used memory managers like in this case (and Python case)
------------------------------------------------------------------------
r15548 | ben2610 | 2008-07-12 14:10:27 +0200 (Sat, 12 Jul 2008) | 1 line

BGE bug fix (good for 2.47): automatic detection that target object of AddObject actuator is being deleted to avoid crash (bad game design anyway)
------------------------------------------------------------------------
r15547 | ben2610 | 2008-07-12 13:57:21 +0200 (Sat, 12 Jul 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r15546 | zaghaghi | 2008-07-12 12:21:37 +0200 (Sat, 12 Jul 2008) | 4 lines

improvement of 2d-filter custom shader, 
some bugfixes,
now you can use depth buffer and luminance buffer without any settings,
also you can use object's properties in a shader
------------------------------------------------------------------------
r15545 | aligorith | 2008-07-12 08:49:33 +0200 (Sat, 12 Jul 2008) | 5 lines

Patch #17285: fix for bug #14685: frame counter not always updating while scrubbing 

Patch submitted by Roelf De Kock (kiemdoder) 

The parts of the patch affecting the timeline were have not been committed, as there was a better solution.
------------------------------------------------------------------------
r15544 | aligorith | 2008-07-12 08:44:57 +0200 (Sat, 12 Jul 2008) | 3 lines

Bugfix #17318: PoseLib: Crash while searching for pose typing in letter i then backspace

When searching failed to find any matches, the pointer to a matching pose was cleared. However, it wasn't reset upon clearing the invalid search-string, so a crash occurred.
------------------------------------------------------------------------
r15543 | aligorith | 2008-07-12 08:18:06 +0200 (Sat, 12 Jul 2008) | 3 lines

Patch #17310: Fixing urls in main README

Thanks to Dietrich Bollmann (diresu) for the patch
------------------------------------------------------------------------
r15541 | aligorith | 2008-07-12 07:00:37 +0200 (Sat, 12 Jul 2008) | 5 lines

== Action Editor - NKEY Properties Panel ==

When the NKEY is pressed in the Action Editor while hovering over the keyframes area, a floating properties panel can now be accessed. It shows relevant properties for the active channel, however this is currently only for Action Groups. Action Channel support will come later.

The key benefit of this panel is that it is now possible to edit the colour set used by a group. Also, there is a button for selecting all the channels in that group (which can also be done by simply Ctrl-Shift clicking on any group).
------------------------------------------------------------------------
r15537 | jhk | 2008-07-12 01:47:44 +0200 (Sat, 12 Jul 2008) | 2 lines

Fix for bug [#13479] Particle system "corrupts" when changing material colour and used in conjunction with softbodies
- changing particlesystem settings for hair particles cleared & recalculated everything even when hair softbody was baked
------------------------------------------------------------------------
r15531 | genscher | 2008-07-11 19:08:45 +0200 (Fri, 11 Jul 2008) | 1 line

Memory leak fix (found with Valgrind)
------------------------------------------------------------------------
r15529 | genscher | 2008-07-11 16:11:55 +0200 (Fri, 11 Jul 2008) | 1 line

Memory leak fix: br_find_exe() uses strdup() which uses malloc and therefore the returned string needs free'ing (Found with valgrind).
------------------------------------------------------------------------
r15527 | aligorith | 2008-07-11 02:36:38 +0200 (Fri, 11 Jul 2008) | 3 lines

Bugfix #17306: Missing refresh call for button in UserPrefs 

Autokey settings were missing redraw for Info-window
------------------------------------------------------------------------
r15524 | blendix | 2008-07-10 20:11:36 +0200 (Thu, 10 Jul 2008) | 4 lines


Fix for bug #14411: missing preview render redraw for a few lamp buttons.


------------------------------------------------------------------------
r15523 | blendix | 2008-07-10 18:29:42 +0200 (Thu, 10 Jul 2008) | 4 lines


Fix for bug #14665: stars not working in 3D view.


------------------------------------------------------------------------
r15521 | blendix | 2008-07-10 17:30:35 +0200 (Thu, 10 Jul 2008) | 6 lines


Fix for bug #17292: vertex paint blur darkens the colors as you
paint, due to old optimization to use >>8, but this is equivalent
to /256, and it should be /255.


------------------------------------------------------------------------
r15519 | campbellbarton | 2008-07-10 16:23:19 +0200 (Thu, 10 Jul 2008) | 5 lines

Adding an option for action actuator - "Continue" this means animations always play from where they left off. Continue was the 2.46 operation too, so new functionality is the option to disable.

When using states, an action like kick or throw can often switch out before finishing playing the action, and there was no way to play from the start frame the second time round. (even setting the actions current frame through python doesn't work work)


------------------------------------------------------------------------
r15517 | blendix | 2008-07-10 14:47:20 +0200 (Thu, 10 Jul 2008) | 9 lines

Sync with Apricot Game Engine
=============================

* Clean up and optimizations in skinned/deformed mesh code.
* Compatibility fixes and clean up in the rasterizer.
* Changes related to GLSL shadow buffers which should have no
  effect, to keep the code in sync with apricot.


------------------------------------------------------------------------
r15516 | aligorith | 2008-07-10 03:47:51 +0200 (Thu, 10 Jul 2008) | 1 line

AutoMerge Keyframes option for Action/NLA editors will now also delete duplicate keyframes if a Duplicate (SHIFT-DKEY) operation is cancelled.
------------------------------------------------------------------------
r15515 | briggs | 2008-07-10 02:46:19 +0200 (Thu, 10 Jul 2008) | 4 lines

-> Support for Custom Data in bevel modifier

Added Customdata to Bmesh <-> derivedmesh functions

------------------------------------------------------------------------
r15514 | aligorith | 2008-07-10 02:15:57 +0200 (Thu, 10 Jul 2008) | 5 lines

Apricot Request:

When changing the active action in the NLA editor with NLA-override off, armatures now have their restpose applied before the new action is evaluated. 

I've commented the code here to make it clearer what is going on.
------------------------------------------------------------------------
r15508 | campbellbarton | 2008-07-09 21:15:26 +0200 (Wed, 09 Jul 2008) | 10 lines

[#17298] surface normal direction compensation for objects with negative scale in rendering with radiosity
from Roelf De Kock (kiemdoder) 

Fixes bug [#7969] Mirroring Object Breaks Radiosity Calculations

- copied from the tracker.
The code in this patch detects whether an object has negative scale (test the OB_NEG_SCALE bit in Object.transflag)
and then compensate for the negative scale when the surface normals are calculated for a radiosity render.


------------------------------------------------------------------------
r15505 | artificer | 2008-07-09 17:54:53 +0200 (Wed, 09 Jul 2008) | 6 lines

Fixed bug #14510 - wave modifier crash

CDDM_apply_vert_coords needs a CDDerivedMesh, but it was getting a
CCGDerivedMesh from the preceding Subsurf modifier. This fix just makes
a CDDerivedMesh copy of the supplied DerivedMesh rather than using it directly.

------------------------------------------------------------------------
r15504 | campbellbarton | 2008-07-09 17:30:15 +0200 (Wed, 09 Jul 2008) | 2 lines

bugfix, vector was not checked for zero length before normalizing, closing blender instantly with an assert.

------------------------------------------------------------------------
r15503 | ton | 2008-07-09 17:25:34 +0200 (Wed, 09 Jul 2008) | 3 lines

Buhh... and now I left in testing print in exr code.


------------------------------------------------------------------------
r15502 | ton | 2008-07-09 15:12:58 +0200 (Wed, 09 Jul 2008) | 4 lines

Replaced strcasecmp with BLI_strcasecmp, to make msvc happy!



------------------------------------------------------------------------
r15500 | ton | 2008-07-09 12:51:03 +0200 (Wed, 09 Jul 2008) | 9 lines

Fix for reported openexr file reading failures.

For simple RGB(A) files, the channel names in openexr were supposed
to be simply "R" "G" "B" and "A" too.
Other programs like other names... like lower case, or like "ambient.r"

Tested with file from renderman.


------------------------------------------------------------------------
r15499 | blendix | 2008-07-09 12:13:09 +0200 (Wed, 09 Jul 2008) | 5 lines


Fix for bugfix #12075: gamma node check for nan was always
checking red channel.


------------------------------------------------------------------------
r15498 | campbellbarton | 2008-07-09 11:21:52 +0200 (Wed, 09 Jul 2008) | 28 lines

added a factor argument for aligning to vector, this isn't correct since it does linear interpolation of the vector and renormalizes.
(can be improved to rotate correctly but for our  use ist ok for now, would also be useful to have an argument to clamp the maximum rotation angle to get a constant rotation speed),

This will used to make franky upright when falling from an angle, to track to a surface when hanging onto a ledge and setting the glide pitch.
Without this rotation is instant and jerky.

currently this is done with Mathutils which isnt available in Blender Player.

def do_rotate_up(own):
	own.alignAxisToVect([0,0,1], 2, 0.1)

replaces...

def do_rotate_up(own):
	up_nor = Vector(0,0,1)
	own_mat = Matrix(*own.getOrientation()).transpose()
	own_up = up_nor * own_mat
	ang = AngleBetweenVecs(own_up, up_nor)
	if ang > 0.005:
		# Set orientation
		cross = CrossVecs(own_up, up_nor)
		new_mat = own_mat * RotationMatrix(ang*0.1, 3, 'r', cross)
		own.setOrientation(new_mat.transpose())


M    source/gameengine/Ketsji/KX_GameObject.cpp
M    source/gameengine/Ketsji/KX_GameObject.h

------------------------------------------------------------------------
r15496 | campbellbarton | 2008-07-09 02:58:57 +0200 (Wed, 09 Jul 2008) | 2 lines

exiting wasnt working (was raising errors), also use dict.keys() rather then appending from iteritems,

------------------------------------------------------------------------
r15494 | campbellbarton | 2008-07-09 00:43:44 +0200 (Wed, 09 Jul 2008) | 2 lines

fix for crasher with touch sensor, ben you may want to look at this, should be ok since the ray sensor does NULL checks in for getNewClientInfo in a similar area.

------------------------------------------------------------------------
r15490 | campbellbarton | 2008-07-08 19:57:31 +0200 (Tue, 08 Jul 2008) | 3 lines

bugfix - GameEngine PyObject methods did not all return when using dir(), because inherited methods were ignored, This made it incredibly annoying, not only having to search a C++ file to see what functions were available. but looking up methods inherited from other C++ classes.
There is still no __members__ attribute so dir() wont work at all for attributes.

------------------------------------------------------------------------
r15488 | blendix | 2008-07-08 19:04:58 +0200 (Tue, 08 Jul 2008) | 5 lines


Fix for crash in freeing group nodes, node trees have to be freed
before materials.


------------------------------------------------------------------------
r15486 | ben2610 | 2008-07-08 14:18:43 +0200 (Tue, 08 Jul 2008) | 55 lines

BGE logic patch: new "Add" mode for Ipo actuator, several corrections in state system.

New Add mode for Ipo actuator
=============================
A new Add button, mutually exclusive with Force button, is available in
the Ipo actuator. When selected, it activates the Add mode that consists
in adding the Ipo curve to the current object situation in world
coordinates, or parent coordinates if the object has a parent. Scale Ipo
curves are multiplied instead of added to the object current scale.
If the local flag is selected, the Ipo curve is added (multiplied) in 
the object's local coordinates. 
Delta Ipo curves are handled identically to normal Ipo curve and there 
is no need to work with Delta Ipo curves provided that you make sure 
that the Ipo curve starts from origin. Origin means location 0 for 
Location Ipo curve, rotation 0 for Rotation Ipo curve and scale 1 for 
Scale Ipo curve.

The "current object situation" means the object's location, rotation 
and scale at the start of the Ipo curve. For Loop Stop and Loop End Ipo 
actuators, this means at the start of each loop. This initial state is
used as a base during the execution of the Ipo Curve but when the Ipo 
curve is restarted (later or immediately in case of Loop mode), the  
object current situation at that time is used as the new base.

For reference, here is the exact operation of the Add mode for each
type of Ipo curve (oLoc, oRot, oScale, oMat: object's loc/rot/scale
and orientation matrix at the start of the curve; iLoc, iRot, iScale,
iMat: Ipo curve loc/rot/scale and orientation matrix resulting from
the rotation).

Location
  Local=false: newLoc = oLoc+iLoc
  Local=true : newLoc = oLoc+oScale*(oMat*iLoc)
Rotation
  Local=false: newMat = iMat*oMat
  Local=true : newMat = oMat*iMat
Scale
  Local=false: newScale = oScale*iScale
  Local=true : newScale = oScale*iScale

Add+Local mode is very useful to have dynamic object executing complex
movement relative to their current location/orientation. Of cource, 
dynamics should be disabled during the execution of the curve.

Several corrections in state system
===================================
- Object initial state is taken into account when adding object
  dynamically
- Fix bug with link count when adding object dynamically
- Fix false on-off detection for Actuator sensor when actuator is
  trigged on negative event.
- Fix Parent actuator false activation on negative event
- Loop Ipo curve not restarting at correct frame when start frame is
  different from one.

------------------------------------------------------------------------
r15485 | ton | 2008-07-08 13:47:22 +0200 (Tue, 08 Jul 2008) | 14 lines

Bugfix #16535

The infamous Fkey 'make face' in editmode still failed in cases, giving
an annoying convex error popup.
Found two errors in this code:

- not all cases were evaluated to make a face of 4 vertices (6 cases)
- the function that makes always a face when the 4 edges already exist 
  failed when not in vertex-select mode.

I also removed the popup, but added a print... its still not perfect.



------------------------------------------------------------------------
r15484 | campbellbarton | 2008-07-08 12:18:34 +0200 (Tue, 08 Jul 2008) | 2 lines

scenes set pose objects would draw in posemode while weight painting if they were set to posemode in their scene.

------------------------------------------------------------------------
r15483 | aligorith | 2008-07-08 09:30:38 +0200 (Tue, 08 Jul 2008) | 1 line

Compiler warning fixes (how some of this stuff compiled without stopping compiling I don't know) ;)
------------------------------------------------------------------------
r15482 | aligorith | 2008-07-08 09:06:42 +0200 (Tue, 08 Jul 2008) | 5 lines

== Select Swap for Armatures (Ctrl I) ==

It is now possible to swap the selection of bones in EditMode and PoseMode using the CTRL IKEY hotkey. 

As a result, the hotkey for adding IK Constraints has now changed to SHIFT IKEY (so that select swap can have a consistent hotkey)
------------------------------------------------------------------------
r15481 | briggs | 2008-07-08 04:22:37 +0200 (Tue, 08 Jul 2008) | 7 lines

-> UV and VCOL support for bevel (editmode)

BMesh and the bevel code now support UVs/VCOLS.
The offset is fixed at this time, but will be
made dynamic later.


------------------------------------------------------------------------
r15480 | campbellbarton | 2008-07-08 00:11:11 +0200 (Tue, 08 Jul 2008) | 2 lines

patch from res2k to stop the blender window being upscaled on vista.

------------------------------------------------------------------------
r15477 | campbellbarton | 2008-07-07 23:04:30 +0200 (Mon, 07 Jul 2008) | 3 lines

own mistake with drawing used state bits.
Other minor changes and removed some warnings.

------------------------------------------------------------------------
r15464 | campbellbarton | 2008-07-07 06:17:03 +0200 (Mon, 07 Jul 2008) | 18 lines

[#17288] Sequencer API: added a method, a geter/setter, the blend modes dict and corrected a malfunction on audio strips blend mode
from Luca Bonavita (mindrones) 

- adds the method "rebuildProxy()" useful to rebuild all the strips at once:   the user can do

- adds a BlendModes dictionary under the Blender.Scene.Sequence module: the  user can see the blending option with

- adds the getter/setter "blendMode"

- adds a function seq_can_blend in sequence.c as requested by Peter, useful for these purposes but also to solve a bug
after

- the bug is you can apply blend modes to an audio strip that doesn't make sense: changed the test and now you cannot
assign blend mode other than Replace to audio strips

Omitted DNA cleanup part since its only whitespace and Id prefer to have a useful "svn blame" output.


------------------------------------------------------------------------
r15463 | broken | 2008-07-07 04:02:10 +0200 (Mon, 07 Jul 2008) | 3 lines

* New UV editor selection mode: Island

This goes alongside vertex and face selection and selects an entire UV island with a single click. It's a lot less painful to use when rearranging UV layouts, especially with Drag Immediately on - see: http://mke3.net/blender/etc/uv_island.mov
------------------------------------------------------------------------
r15462 | theeth | 2008-07-07 03:56:47 +0200 (Mon, 07 Jul 2008) | 3 lines

Derived Mesh Bugfix

EditMesh MEdge vertex index were doubled incremented, so more or less always wrong (even worse, could read outside of array).
------------------------------------------------------------------------
r15461 | aligorith | 2008-07-07 02:54:32 +0200 (Mon, 07 Jul 2008) | 1 line

Little tweak to timeline_force_draw, so that button windows are updated properly
------------------------------------------------------------------------
r15460 | jhk | 2008-07-07 00:52:55 +0200 (Mon, 07 Jul 2008) | 2 lines

Fix for bug: [#14570] particle system: grid distribution + vertex emitting bug
- grid distribution didn't check for emission from vertices
------------------------------------------------------------------------
r15455 | theeth | 2008-07-06 17:38:51 +0200 (Sun, 06 Jul 2008) | 3 lines

=== Transform Snap ===

Bugfix face snapping in edit mesh didn't test for selection properly
------------------------------------------------------------------------
r15451 | campbellbarton | 2008-07-06 16:11:30 +0200 (Sun, 06 Jul 2008) | 3 lines

GameObject rayCast and rayCastTo were not setting exception strings (causes return without exception set error)
Also made game state buttons only have a dot in states that have controllers in them.

------------------------------------------------------------------------
r15450 | ton | 2008-07-06 15:52:17 +0200 (Sun, 06 Jul 2008) | 7 lines

Bugfix #16669

The Image "do premul" option didn't work when Image was of type Sequence.
(Note: this option converts key-alpha images to premul, as is standard
in Blender rendering)


------------------------------------------------------------------------
r15448 | aligorith | 2008-07-06 13:25:58 +0200 (Sun, 06 Jul 2008) | 1 line

#16675: Object name doesn't get updated in 3D viewports if it is changed via Buttons Window
------------------------------------------------------------------------
r15447 | ton | 2008-07-06 11:21:39 +0200 (Sun, 06 Jul 2008) | 6 lines

Bugfix #17139

When "image type" is a movie, image file saving falls back to jpg as a 
default. The code checking extensions didn't correctly include quicktime.


------------------------------------------------------------------------
r15444 | lukep | 2008-07-05 19:05:05 +0200 (Sat, 05 Jul 2008) | 4 lines

rollbacking accidental erase of gameengine
rev 15443


------------------------------------------------------------------------
r15443 | mxcurioni | 2008-07-05 18:01:03 +0200 (Sat, 05 Jul 2008) | 1 line

soc-2008-mxcurioni: merge
------------------------------------------------------------------------
r15441 | campbellbarton | 2008-07-05 13:38:16 +0200 (Sat, 05 Jul 2008) | 12 lines

Updates from Roger Wickes

[#16494] Animation Bake Constraints update
links cloned children to cloned parents, useful for ik target baking. whitespace, capitalization.

[#15032] C3D Import script cleanup/IK
Changed code to put IK constraints on a user-defined layer, separate from Markers. cleaned up module naming convention.
removed questionable sloc. add revision history. forced the TrackTo constraint to use a valid marker, and not make up
one on its own.



------------------------------------------------------------------------
r15438 | campbellbarton | 2008-07-05 13:08:39 +0200 (Sat, 05 Jul 2008) | 4 lines

patch [#17275] Fix for: pressing delete on an empty sequencer pops up a confirmation
from Roelf De Kock (kiemdoder) to address report #15025


------------------------------------------------------------------------
r15435 | briggs | 2008-07-05 00:32:06 +0200 (Sat, 05 Jul 2008) | 6 lines

->Last Commit broke compilation on GCC

CustomData_bmesh_set function header and
prototype didnt match. For some reason this
not only compiledon MSVC but didnt even warn...

------------------------------------------------------------------------
r15434 | elubie | 2008-07-04 22:24:15 +0200 (Fri, 04 Jul 2008) | 4 lines

== BUGFIX ==
- fix crash when exiting game engine (with ESC-key).
- reason for crash: std::vector iterator is invalid after vector::erase

------------------------------------------------------------------------
r15433 | elubie | 2008-07-04 22:21:08 +0200 (Fri, 04 Jul 2008) | 4 lines

== compile fix ==
- fix compilation for MSVC (added missing math define)
- note: defines were already duplicated, added twice to keep them in synch

------------------------------------------------------------------------
r15431 | campbellbarton | 2008-07-04 21:00:56 +0200 (Fri, 04 Jul 2008) | 3 lines

Made some python  game engine funcs use NOARGS, getAxisVec was using wrong multiplication order.
Use BUT_TOGDUAL for controllers init states so you can see what the init state is for any controller without using the button to check.

------------------------------------------------------------------------
r15430 | briggs | 2008-07-04 19:59:16 +0200 (Fri, 04 Jul 2008) | 5 lines

-> Vertex Group support for bevel (editmode only)

Vertex groups are now preserved when beveling (editmode only).
Modifier support as well as uv/vert colors to follow soon.

------------------------------------------------------------------------
r15429 | briggs | 2008-07-04 19:32:55 +0200 (Fri, 04 Jul 2008) | 6 lines

-> Moving Pooling Alloctor to BlenLib

Bmesh's pooling allocator is probably usefull for other parts of blender as
well, so I am moving it to BlenLib.


------------------------------------------------------------------------
r15425 | ben2610 | 2008-07-04 10:14:50 +0200 (Fri, 04 Jul 2008) | 148 lines

BGE logic update: new servo control motion actuator, new distance constraint actuator, new orientation constraint actuator, new actuator sensor.

General
=======
- Removal of Damp option in motion actuator (replaced by
  Servo control motion).
- No PyDoc at present, will be added soon.

Generalization of the Lvl option
================================
A sensor with the Lvl option selected will always produce an 
event at the start of the game or when entering a state or at 
object creation. The event will be positive or negative 
depending of the sensor condition. A negative pulse makes
sense when used with a NAND controller: it will be converted
into an actuator activation.

Servo control motion
====================
A new variant of the motion actuator allows to control speed 
with force. The control if of type "PID" (Propotional, Integral, 
Derivate): the force is automatically adapted to achieve the 
target speed. All the parameters of the servo controller are
configurable. The result is a great variety of motion style: 
anysotropic friction, flying, sliding, pseudo Dloc...
This actuator should be used in preference to Dloc and LinV
as it produces more fluid movements and avoids the collision 
problem with Dloc.
LinV : target speed as (X,Y,Z) vector in local or world 
       coordinates (mostly useful in local coordinates).
Limit: the force can be limited along each axis (in the same
       coordinates of LinV). No limitation means that the force
       will grow as large as necessary to achieve the target 
       speed along that axis. Set a max value to limit the 
       accelaration along an axis (slow start) and set a min
       value (negative) to limit the brake force.
P:     Proportional coefficient of servo controller, don't set
       directly unless you know what you're doing.
I:     Integral coefficient of servo controller. Use low value
       (<0.1) for slow reaction (sliding), high values (>0.5)
       for hard control. The P coefficient will be automatically
       set to 60 times the I coefficient (a reasonable value).
D:     Derivate coefficient. Leave to 0 unless you know what
       you're doing. High values create instability. 

Notes: - This actuator works perfectly in zero friction 
         environment: the PID controller will simulate friction
         by applying force as needed.
       - This actuator is compatible with simple Drot motion
         actuator but not with LinV and Dloc motion.
       - (0,0,0) is a valid target speed.
       - All parameters are accessible through Python.

Distance constraint actuator
============================
A new variant of the constraint actuator allows to set the
distance and orientation relative to a surface. The controller
uses a ray to detect the surface (or any object) and adapt the
distance and orientation parallel to the surface.
Damp:  Time constant (in nb of frames) of distance and 
       orientation control.
Dist:  Select to enable distance control and set target 
       distance. The object will be position at the given
       distance of surface along the ray direction.
Direction: chose a local axis as the ray direction.
Range: length of ray. Objecgt within this distance will be 
       detected.
N    : Select to enable orientation control. The actuator will
       change the orientation and the location of the object 
       so that it is parallel to the surface at the vertical
       of the point of contact of the ray.  
M/P  : Select to enable material detection. Default is property
       detection.
Property/Material: name of property/material that the target of
       ray must have to be detected. If not set, property/
       material filter is disabled and any collisioning object
       within range will be detected.
PER  : Select to enable persistent operation. Normally the 
       actuator disables itself automatically if the ray does
       not reach a valid target. 
time : Maximum activation time of actuator. 
       0 : unlimited.
       >0: number of frames before automatic deactivation.  
rotDamp: Time constant (in nb of frame) of orientation control.
       0 : use Damp parameter.
       >0: use a different time constant for orientation.

Notes: - If neither N nor Dist options are set, the actuator
         does not change the position and orientation of the
         object; it works as a ray sensor.
       - The ray has no "X-ray" capability: if the first object
         hit does not have the required property/material, it
         returns no hit and the actuator disables itself unless
         PER option is enabled.
       - This actuator changes the position and orientation but
         not the speed of the object. This has an important 
         implication in a gravity environment: the gravity will
         cause the speed to increase although the object seems
         to stay still (it is repositioned at each frame).
         The gravity must be compensated in one way or another.
         the new servo control motion actuator is the simplest 
         way: set the target speed along the ray axis to 0
         and the servo control will automatically compensate 
         the gravity.
       - This actuator changes the orientation of the object 
         and will conflict with Drot motion unless it is 
         placed BEFORE the Drot motion actuator (the order of 
         actuator is important)
       - All parameters are accessible through Python.

Orientation constraint 
======================
A new variant of the constraint actuator allows to align an
object axis along a global direction.
Damp : Time constant (in nb of frames) of orientation control.
X,Y,Z: Global coordinates of reference direction. 
time : Maximum activation time of actuator. 
       0 : unlimited.
       >0: number of frames before automatic deactivation.  

Notes: - (X,Y,Z) = (0,0,0) is not a valid direction
       - This actuator changes the orientation of the object
         and will conflict with Drot motion unless it is placed
         BEFORE the Drot motion actuator (the order of 
         actuator is important).
       - This actuator doesn't change the location and speed. 
         It is compatible with gravity.
       - All parameters are accessible through Python.

Actuator sensor 
===============
This sensor detects the activation and deactivation of actuators 
of the same object. The sensor generates a positive pulse when 
the corresponding sensor is activated and a negative pulse when 
it is deactivated (the contrary if the Inv option is selected). 
This is mostly useful to chain actions and to detect the loss of 
contact of the distance motion actuator.

Notes: - Actuators are disabled at the start of the game; if you
         want to detect the On-Off transition of an actuator 
         after it has been activated at least once, unselect the
         Lvl and Inv options and use a NAND controller.
       - Some actuators deactivates themselves immediately after 
         being activated. The sensor detects this situation as 
         an On-Off transition.
       - The actuator name can be set through Python.


------------------------------------------------------------------------
r15421 | campbellbarton | 2008-07-04 02:30:44 +0200 (Fri, 04 Jul 2008) | 2 lines

small changes to py funcs that can run 100s of times a second, so python wont generate empty args tuple when they are not needed.

------------------------------------------------------------------------
r15420 | campbellbarton | 2008-07-04 02:05:50 +0200 (Fri, 04 Jul 2008) | 8 lines

non user visible changes and small optimizations to the game engine pyapi as well as fixing some bugs.
* 2 returning errors without exception set another return None instead of NULL.
* a missing check for parent relation
* BPY matrix length was incorrect in matrix.c, this change could break some scripts, however when a script expects a list of lists for a matrix, the len() function is incorrect and will give an error. This was the only thing stopping apricot game logic running in trunk.

Also added a function for GameObjects  -  getAxisVect(vec), multiplies the vector be the objects worldspace rotation matrix. Very useful if you want to know what the forward direction is for an object and dont want to use Blender.Mathutils which is tedious and not available in BlenderPlayer yet.


------------------------------------------------------------------------
r15418 | aphex | 2008-07-03 21:10:54 +0200 (Thu, 03 Jul 2008) | 4 lines

Window Installer:
A couple of fixes:
 - uninstaller now deletes itself (oops! :)
 - uninstaller now correctly locates \.blender for removal.
------------------------------------------------------------------------
r15414 | zaghaghi | 2008-07-03 12:38:35 +0200 (Thu, 03 Jul 2008) | 1 line

Sun,Sky and atmosphere for lamps(sun type), PATCH#8063 http://projects.blender.org/tracker/?func=detail&atid=127&aid=8063&group_id=9
------------------------------------------------------------------------
r15413 | campbellbarton | 2008-07-03 03:34:50 +0200 (Thu, 03 Jul 2008) | 7 lines

Adding GameObject setLinearVelocity(), without this interacting with objects requires them to have logic bricks to apply force which doesn't work well when the character is in a seperate blend file to the levels. (its also messy to have a script & multiple motion actuators on each object you can pickup and throw).

This is also needed for removing any force that existed before suspending dynamics - In the case of franky hanging, resuming dynamics when he fell would apply the velocity he had when grabbing making dropping to the ground work unpredictably. 

Also note in pydocs that enable/disable rigidbody physics doesn't work with bullet yet.


------------------------------------------------------------------------
r15409 | ianwill | 2008-07-02 23:01:59 +0200 (Wed, 02 Jul 2008) | 7 lines

== Python, GE & Threads ==

Martin Sell (thanks!) reported that threading via scripts was not working in the game engine with Blender 2.46 and later. My fault, to make pynodes work properly with threads > 1 I disabled Python's "check interval", preventing threads created via scripts from receiving time to run.

Now only during rendering check interval is disabled (set to max int). Still experimental, I added the calls in BPY_do_all_scripts, since it's called in BIF_do_render, but will probably move the code to its own function after more testing & feedback.


------------------------------------------------------------------------
r15407 | genscher | 2008-07-02 22:28:49 +0200 (Wed, 02 Jul 2008) | 1 line

Cloth collisions: Reorganized collision system to be more flexible for other parts of blender, so it can be more easily reused. Also slowed down friction impulse.
------------------------------------------------------------------------
r15398 | campbellbarton | 2008-07-01 18:43:46 +0200 (Tue, 01 Jul 2008) | 2 lines

Checked all cases where PyArg_ParseTuple is used in blenders game engine and made sure all will raise errors when called with invalid args.

------------------------------------------------------------------------
r15397 | campbellbarton | 2008-07-01 15:21:37 +0200 (Tue, 01 Jul 2008) | 4 lines

bugfix, ActionActuator was missing many checks for PyArg_ParseTuple failing.
This meant an error in a script could be reported in a different line or script file which makes it quite hard to trace the problem. There were also places where invalid pointers could be used because of this.
The whole game engine pyapi probably needs to have these checks added.

------------------------------------------------------------------------
r15396 | campbellbarton | 2008-07-01 11:32:01 +0200 (Tue, 01 Jul 2008) | 2 lines

missed removing a reference to base in last commit.

------------------------------------------------------------------------
r15395 | campbellbarton | 2008-07-01 08:44:34 +0200 (Tue, 01 Jul 2008) | 3 lines

let the logic buttons operate on objects in different scenes. They would already display but pressing the buttons did nothing.
This is useful when using 1 scene for a character and another for a test level, so the character logic can be edited without switching scenes.

------------------------------------------------------------------------
r15394 | campbellbarton | 2008-07-01 07:16:08 +0200 (Tue, 01 Jul 2008) | 2 lines

track to would crash (with a C++ assert) if the source and target are in the same location, which I have had happen a few times while testing.

------------------------------------------------------------------------
r15392 | campbellbarton | 2008-06-30 18:21:08 +0200 (Mon, 30 Jun 2008) | 3 lines

Daniel's last commit fixed the bug, but checking for the PyObject isn't needed.
also fixed own tooltip typo

------------------------------------------------------------------------
r15391 | genscher | 2008-06-30 17:02:22 +0200 (Mon, 30 Jun 2008) | 1 line

Fix for python APi error - (Campbell: please check :) ) -- using myLamp.setType(Area) resulted in 'TypeError: expected int argument in [0,5]' (reported in IRC by Djoef)
------------------------------------------------------------------------
r15390 | genscher | 2008-06-30 16:44:12 +0200 (Mon, 30 Jun 2008) | 1 line

Fix crash in python API (Campbell: please check :) ) -- using myLamp.setType(number) crashed blender (reported in IRC by Djoef)
------------------------------------------------------------------------
r15388 | campbellbarton | 2008-06-29 23:52:23 +0200 (Sun, 29 Jun 2008) | 3 lines

BGE python api addition, GameObject get/setState and Controller.getState()
Also added a note in the tooltip for action priority when using more then 1 action at a time.

------------------------------------------------------------------------
r15387 | blendix | 2008-06-29 23:51:27 +0200 (Sun, 29 Jun 2008) | 10 lines


Fix for bug #7753: after game engine drawing with vertex arrays,
nurbs/curves/text dissappears.

This also removes the "vertex arrays" option and enables it always
for OpenGL version >= 1.1 - there's no need to have an option to
make things render faster disabled by default, also it should work
stable now.


------------------------------------------------------------------------
r15386 | blendix | 2008-06-29 23:06:18 +0200 (Sun, 29 Jun 2008) | 5 lines


Fix for bug #13757: camera lens minimum value for ipo's was
different than the button.


------------------------------------------------------------------------
r15385 | blendix | 2008-06-29 22:53:17 +0200 (Sun, 29 Jun 2008) | 5 lines


Fix for bug #8680: GameLogic.getRandomFloat() returns very small
values on 64 bit, instead of range 0..1. Also a warning fix.


------------------------------------------------------------------------
r15384 | schlaile | 2008-06-29 17:11:35 +0200 (Sun, 29 Jun 2008) | 7 lines

== FFMPEG / ImBuf ==

Fixed deinterlacing (inplace deinterlacing didn't work out properly...).

[#14672] Sequencer: deinterlace filter artifacts


------------------------------------------------------------------------
r15383 | lukep | 2008-06-29 14:53:42 +0200 (Sun, 29 Jun 2008) | 2 lines

NDOF bugfixes 14402 & 14403 by ettore Pasquini

------------------------------------------------------------------------
r15382 | lukep | 2008-06-29 14:25:15 +0200 (Sun, 29 Jun 2008) | 2 lines

adding explicit cast to get things compiling

------------------------------------------------------------------------
r15381 | aligorith | 2008-06-29 07:52:11 +0200 (Sun, 29 Jun 2008) | 5 lines

Action Editor - Group drawing tweaks:

* When all the action-channels for a group are hidden (i.e. their related bones are not visible), the group in question is also not drawn. This helps reduce clutter. (slikdigit funboard request)

* When a group has no channels belonging to it, the expand icon/button isn't drawn for that group.
------------------------------------------------------------------------
r15380 | aligorith | 2008-06-29 05:58:46 +0200 (Sun, 29 Jun 2008) | 1 line

Added autokey call for Flip Quats tool (Alt-F in PoseMode)
------------------------------------------------------------------------
r15377 | zaghaghi | 2008-06-28 16:19:25 +0200 (Sat, 28 Jun 2008) | 1 line

BGE , fix an compile error
------------------------------------------------------------------------
r15376 | zaghaghi | 2008-06-28 05:18:11 +0200 (Sat, 28 Jun 2008) | 1 line

BGE 2d-filter, custom shaders now can have depth texture and luminance texture
------------------------------------------------------------------------
r15373 | campbellbarton | 2008-06-28 01:01:33 +0200 (Sat, 28 Jun 2008) | 4 lines

bugfix, txt_to_buf would crash on an empty text file.
Also checked all other uses of text->lines.first to make sure the assumption isn't made elsewhere.
Added 2 more checks for text->lines.first when converting text buffer to objects.

------------------------------------------------------------------------
r15367 | campbellbarton | 2008-06-27 13:35:55 +0200 (Fri, 27 Jun 2008) | 5 lines

patch [#15865] BGE API call to delete objects
from Dalai Felinto (dfelinto) 
renamed deleteObject to endObject() to match the user interface.


------------------------------------------------------------------------
r15362 | bebraw | 2008-06-26 19:08:07 +0200 (Thu, 26 Jun 2008) | 3 lines

Fix for bug [#13651] Convertor->Math->Divide broken
Changed the if statement to catch zero case properly.

------------------------------------------------------------------------
r15361 | sirdude | 2008-06-26 18:42:20 +0200 (Thu, 26 Jun 2008) | 8 lines

Make it so it accepts blah.tiff as a filename not just blah.tif

This is for bug [#15132] When saving a render .tif is appended to the saved 
	file even if the name contains .tiff

Kent


------------------------------------------------------------------------
r15359 | campbellbarton | 2008-06-26 14:39:06 +0200 (Thu, 26 Jun 2008) | 6 lines

Python API/Game engine fixes, dosn't affect 2.47
* Action FrameProp was checking if the string was true, not that it contained any text.
* Added GameObject.getVisible() since there is already a getVisible
* Added GameObject.getPropertyNames() Needed in apricot so Franky can collect and throw items in the level without having the names defined elsewhere or modifying his game logic which is stored in a separate blend file.


------------------------------------------------------------------------
r15354 | campbellbarton | 2008-06-25 18:15:57 +0200 (Wed, 25 Jun 2008) | 2 lines

int toggle button function was being used on a short, remove warnings in buttons_logic.c too

------------------------------------------------------------------------
r15353 | campbellbarton | 2008-06-25 18:09:29 +0200 (Wed, 25 Jun 2008) | 4 lines

Commented out face transp changing when switching images, this is more annoying then helpful.
Edited Game engine docs to note that the matrix will need to be transposed if used with Mathutils.Matrix()
Edited "Collision" button since ray-sensor also uses collision.

------------------------------------------------------------------------
r15352 | ben2610 | 2008-06-25 16:09:15 +0200 (Wed, 25 Jun 2008) | 5 lines

BGE patch 15044 approved: Edit Object Dynamics Actuator.

Add enable/disable dynamics actuator under the "Edit Object" category.
The Enable/disable rigid body option is also availale but not implemented.

------------------------------------------------------------------------
r15350 | campbellbarton | 2008-06-25 15:21:38 +0200 (Wed, 25 Jun 2008) | 2 lines

added r/w access to nurb curves orderU for migius

------------------------------------------------------------------------
r15348 | ben2610 | 2008-06-25 00:19:00 +0200 (Wed, 25 Jun 2008) | 17 lines

BGE patch: Add automatic support for armature driven shape keys.

To take advantage of this feature, you must have a mesh with 
relative shape keys and shape Ipo curves with drivers referring
to bones of the mesh's parent armature. 
The BGE will automatically detect the dependency between the 
shape keys and the armature and execute the Ipo drivers during
the rendering of the armature actions.
This technique is used to make the armature action more natural: 
the shape keys compensate in places where the armature deformation 
is uggly and the drivers make sure that the shape correction
is synchronized with the bone position.

Note: This is not compatible with shape actions; BLender does 
not allow to have Shape Ipo Curves and Shape actions at the same
time.

------------------------------------------------------------------------
r15347 | ben2610 | 2008-06-24 23:39:45 +0200 (Tue, 24 Jun 2008) | 1 line

BGE patch: remove Shape key driver code from previous commit
------------------------------------------------------------------------
r15346 | ben2610 | 2008-06-24 22:57:27 +0200 (Tue, 24 Jun 2008) | 1 line

BGE state engine patch: start game from init state in BLender too (previously, the current state was used in Blender). If init state is not defined, use current state.
------------------------------------------------------------------------
r15345 | ben2610 | 2008-06-24 21:37:43 +0200 (Tue, 24 Jun 2008) | 19 lines

BGE patch: Add damping and clamping option to motion actuator.

This patch introduces two options for the motion actuator:

damping: number of frames to reach the target velocity. It takes
into account the startup velocityin the target velocity direction
and add 1/damping fraction of target velocity until the full 
velocity is reached. Works only with linear and angular velocity.
It will be extended to delta and force motion method in a future
release.

clamping: apply the force and torque as long as the target velocity
is not reached. If this option is set, the velocity specified 
in linV or angV are not applied to the object but used as target
velocity. You should also specify a force in force or torque field: 
the force will be applied as long as the velocity along the axis of
the vector set in linV or angV is not reached. Works best in low
friction environment.

------------------------------------------------------------------------
r15340 | campbellbarton | 2008-06-24 11:49:29 +0200 (Tue, 24 Jun 2008) | 4 lines

Artists complaining about these popups
* Nothing indicated - is not helpful, and very annoying with occluded geometry with high poly meshes, sometimes the selection doesn't work 100% of the time and the menu pops up over what you want to select.
* No (correct) camera error doesn't seem to be needed, has been there since rev 2.

------------------------------------------------------------------------
r15336 | ben2610 | 2008-06-23 22:46:36 +0200 (Mon, 23 Jun 2008) | 1 line

BGE patch: forgot touch sensor in previous commit with sensor level mode
------------------------------------------------------------------------
r15335 | ben2610 | 2008-06-23 22:41:18 +0200 (Mon, 23 Jun 2008) | 15 lines

BGE patch: Add NAND, NOR, XOR, XNOR controllers.

NAND controller is an inverted AND controller: the output is 
     1 if any of the input is 0.
NOR  controller is an inverted OR controller: the output is 0
     if any of the input is 1.
XOR  controller is an exclusive OR: the output is 1 if and only
     if one input is 1 and all the other inputs are 0.
XNOR controller is an inverted XOR: the output is 0 if and only
     if one input is 0 and all the other inputs are 0.
The NAND, NORT and XNOR controllers are very usefull to create
complementary outputs to start and stop actuators synchronously.
MSCV project files updated.


------------------------------------------------------------------------
r15334 | ben2610 | 2008-06-23 22:29:32 +0200 (Mon, 23 Jun 2008) | 1 line

BGE bug fix: action constraints were not correctly copied from Blender to BGE local copy, only the first one was copied
------------------------------------------------------------------------
r15333 | ben2610 | 2008-06-23 22:26:48 +0200 (Mon, 23 Jun 2008) | 13 lines

BGE patch: Add level option on sensor and fix sensor reset.

Level option is now available on all sensors but is only implemented on 
mouse and keyboard sensors. The purpose of that option is to make
the sensor react on level rather than edge by default. It's only
applicable to state engine system when there is a state transition:
the sensor will generate a pulse if the condition is met from the
start of the state. Normally, the keyboard sensor generate a pulse
only when the key is pressed and not when the key is already pressed.
This patch allows to select this behavior.
The second part of the patch corrects the reset method for sensors
with inverted output.

------------------------------------------------------------------------
r15331 | campbellbarton | 2008-06-23 18:47:15 +0200 (Mon, 23 Jun 2008) | 5 lines

bugfix [#14796] -t <threads> command line switch doesn't work unless FIXED_THREADS has previously been turned on
Command line threads now override blendfile setting in background mode.
Command line Threads greater then 8 are now clamped.


------------------------------------------------------------------------
r15327 | ben2610 | 2008-06-23 17:32:44 +0200 (Mon, 23 Jun 2008) | 1 line

BGE patch #14386: Action Actuator Current Frame Prop.  This patch is very usefull for action feedback logic: a sensor on the property can be used to detect a certain moment in the action and trigger more stuff. The property must be on float type for best results
------------------------------------------------------------------------
r15325 | joeedh | 2008-06-23 09:59:26 +0200 (Mon, 23 Jun 2008) | 3 lines

An initializer line was missing from the beginning of a loop, causing crashes.


------------------------------------------------------------------------
r15324 | campbellbarton | 2008-06-23 02:21:49 +0200 (Mon, 23 Jun 2008) | 6 lines

[#13635] DirectX8Exporter with vertex colors
patch from Masaru Nemoto (mnemoto) 

Made some modifications to the patch, use reduce() to get total face verts and some speedup for face vcol looping, also don't write vcol alpha since its used by brushes internally and has no useful meaning.


------------------------------------------------------------------------
r15323 | theeth | 2008-06-23 01:21:29 +0200 (Mon, 23 Jun 2008) | 7 lines

Transform Snapping

Snap to edges and vertice without have to go through faces.

This means you can import floor plans and use the edges as snapping guides and other sort of fun things.

The bounding box test still needs padding though.
------------------------------------------------------------------------
r15322 | theeth | 2008-06-23 01:07:42 +0200 (Mon, 23 Jun 2008) | 1 line

Moving Line to Line intersection into arithb
------------------------------------------------------------------------
r15321 | campbellbarton | 2008-06-23 00:46:02 +0200 (Mon, 23 Jun 2008) | 17 lines

[#14405] New python Script - Bake Constraints
AGAIN PLEAST USE TABS, lost quite some time with mixed tab/space adjustments alone.
Other then that, patch is very useful ;)

---Text from patch submission --- 
Using a slightly revised BPy_Armature, this script takes any non-armature object type and creates an Action that keys
the object location (by default, for every frame). If it is an Armature, it goes into each bone and keys the locrot
of the bone. You can now edit the armature, but the motions still rotate the bones. This enables the next step, re-targeting,
which changes bone lengths to fit a mesh. High-level, we are working toward:

1. import mocap (bvh or c3d)
2. bake to make an action library (using this script)
3. re-target and use the actions to drive/deform any character mesh (theeth)




------------------------------------------------------------------------
r15319 | campbellbarton | 2008-06-22 23:48:02 +0200 (Sun, 22 Jun 2008) | 25 lines

[#14392] C3D Import
c3d importer for motion capture data
This could do with some improvements but for now its acceptable.
- Note, could people please not mix tabs and spaces.


-Text copied from the patch submission-
The c3d_import with 2.46 was able to import a mocap cloud for some c3d files. I have improved it:
Version History:
 0.4: PERIN Released under Blender Artistic Licence
 0.5: WICKES used marker names, fixed 2.45 depricated call
 0.6: WICKES creates armature for each subject
 0.7: WICKES constrains armature to follow the empties (markers). Verified for shake hands s
 0.8: WICKES resolved DEC support issue

see also http://wiki.blender.org/index.php/Tutorials%5CMoCap-Section_3 for how this program gets the mocap data into
Blender and creates an armature, like the BVH script does.

I'd like someone to test and verify, and if accepted, replace the current c3d_import.py

--- See patch url for example files http://projects.blender.org/tracker/index.php?func=detail&aid=14392&group_id=9&atid=127




------------------------------------------------------------------------
r15316 | schlaile | 2008-06-22 22:59:29 +0200 (Sun, 22 Jun 2008) | 6 lines

== Sequencer ==

Renamed Filter-Y to De-Interlace and moved F-Key to D-Key.
(Also added file reload on D-Key)


------------------------------------------------------------------------
r15315 | theeth | 2008-06-22 22:40:13 +0200 (Sun, 22 Jun 2008) | 3 lines

[#14398] In Object- and EditMode, global rotate manual input is different than mouse

The sign of the rotation angle was sometimes different between num input and mouse input.
------------------------------------------------------------------------
r15314 | schlaile | 2008-06-22 22:39:41 +0200 (Sun, 22 Jun 2008) | 11 lines

== FFMPEG ==

Added serious interlacing to movies opened using ffmpeg.
(Other video decoders to be done)

Rational: deinterlacing, if done seriously _has_ to be done
in YUV-space. Since internal interface first converts data
to RGB we are pretty much lost (and fall back to IMB_filtery
in that case).


------------------------------------------------------------------------
r15310 | campbellbarton | 2008-06-22 21:34:18 +0200 (Sun, 22 Jun 2008) | 2 lines

bugfix, Shift+H would hide unselected objects on unseen layers.

------------------------------------------------------------------------
r15307 | schlaile | 2008-06-22 17:48:12 +0200 (Sun, 22 Jun 2008) | 5 lines

== Redcode ==

Doing image comparison revealed, that Kb = Kr = 0.0 for redcode :)


------------------------------------------------------------------------
r15306 | ben2610 | 2008-06-22 16:23:57 +0200 (Sun, 22 Jun 2008) | 76 lines

BGE patch: add state engine support in the logic bricks.

This patch introduces a simple state engine system with the logic bricks. This system features full
backward compatibility, multiple active states, multiple state transitions, automatic disabling of 
sensor and actuators, full GUI support and selective display of sensors and actuators. 
Note: Python API is available but not documented yet. It will be added asap.

State internals
===============
The state system is object based. The current state mask is stored in the object as a 32 bit value; 
each bit set in the mask is an active state. The controllers have a state mask too but only one bit
can be set: a controller belongs to a single state. The game engine will only execute controllers 
that belong to active states. Sensors and actuators don't have a state mask but are effectively 
attached to states via their links to the controllers. Sensors and actuators can be connected to more
than one state. When a controller becomes inactive because of a state change, its links to sensors 
and actuators are temporarily broken (until the state becomes active again). If an actuator gets isolated, 
i.e all the links to controllers are broken, it is automatically disabled. If a sensor gets isolated, 
the game engine will stop calling it to save CPU. It will also reset the sensor internal state so that
it can react as if the game just started when it gets reconnected to an active controller. For example,
an Always sensor in no pulse mode that is connected to a single state (i.e connected to one or more 
controllers of a single state) will generate a pulse each time the state becomes active. This feature is 
not available on all sensors, see the notes below.

GUI
===
This system system is fully configurable through the GUI: the object state mask is visible under the
object bar in the controller's colum as an array of buttons just like the 3D view layer mask.
Click on a state bit to only display the controllers of that state. You can select more than one state
with SHIFT-click. The All button sets all the bits so that you can see all the controllers of the object. 
The Ini button sets the state mask back to the object default state. You can change the default state 
of object by first selecting the desired state mask and storing using the menu under the State button. 
If you define a default state mask, it will be loaded into the object state make when you load the blend
file or when you run the game under the blenderplayer. However, when you run the game under Blender, 
the current selected state mask will be used as the startup state for the object. This allows you to test
specific state during the game design.

The controller display the state they belong to with a new button in the controller header. When you add
a new controller, it is added by default in the lowest enabled state. You can change the controller state 
by clicking on the button and selecting another state. If more than one state is enabled in the object
state mask, controllers are grouped by state for more readibility. 

The new Sta button in the sensor and actuator column header allows you to display only the sensors and 
actuators that are linked to visible controllers.

A new state actuator is available to modify the state during the game. It defines a bit mask and 
the operation to apply on the current object state mask:

Cpy: the bit mask is copied to the object state mask.
Add: the bits that set in the bit mask will be turned on in the object state mask.
Sub: the bits that set in the bit mask will be turned off in the object state mask.
Inv: the bits that set in the bit mask will be inverted in the objecyy state mask.

Notes
=====
- Although states have no name, a simply convention consists in using the name of the first controller 
  of the state as the state name. The GUI will support that convention by displaying as a hint the name
  of the first controller of the state when you move the mouse over a state bit of the object state mask
  or of the state actuator bit mask.
- Each object has a state mask and each object can have a state engine but if several objects are 
  part of a logical group, it is recommended to put the state engine only in the main object and to
  link the controllers of that object to the sensors and actuators of the different objects.
- When loading an old blend file, the state mask of all objects and controllers are initialized to 1 
  so that all the controllers belong to this single state. This ensures backward compatibility with 
  existing game.
- When the state actuator is activated at the same time as other actuators, these actuators are 
  guaranteed to execute before being eventually disabled due to the state change. This is useful for
  example to send a message or update a property at the time of changing the state.
- Sensors that depend on underlying resource won't reset fully when they are isolated. By the time they
  are acticated again, they will behave as follow:
  * keyboard sensor: keys already pressed won't be detected. The keyboard sensor is only sensitive 
    to new key press.
  * collision sensor: objects already colliding won't be detected. Only new collisions are 
    detected.
  * near and radar sensor: same as collision sensor.


------------------------------------------------------------------------
r15304 | aligorith | 2008-06-22 03:56:11 +0200 (Sun, 22 Jun 2008) | 1 line

Compiler warning fixes (part 1 or 2)
------------------------------------------------------------------------
r15302 | aligorith | 2008-06-22 03:31:29 +0200 (Sun, 22 Jun 2008) | 3 lines

Bugfix:

Update-automatically option in IPO-Editor now updates objects using the active IPO-block as their ObAction when transforming keyframes.
------------------------------------------------------------------------
r15291 | campbellbarton | 2008-06-20 22:54:29 +0200 (Fri, 20 Jun 2008) | 7 lines

* Documented that get/setOrientation use an inverted rotation matrix
* OB prefix is needed when specifying the object for the Message Actuator, this is very bad since other object fields in the BGE dont need this prefix - a real fix would need do_versions to keep old files running.
* RotationMatrix was all nans if the rotation vector axis was 0,0,0, Changed so in this case just return a matrix that doesn't rotate anything,

spent some angry hours to find these issues, maybe this will save others the hassle ;)


------------------------------------------------------------------------
r15280 | ben2610 | 2008-06-19 16:40:46 +0200 (Thu, 19 Jun 2008) | 1 line

BGE bug fix for new shape action: mesh with multiple materials did not deform properly
------------------------------------------------------------------------
r15279 | genscher | 2008-06-19 15:41:06 +0200 (Thu, 19 Jun 2008) | 1 line

Just make gcc compiler happy (stupid harmless warning)
------------------------------------------------------------------------
r15276 | ben2610 | 2008-06-18 23:22:17 +0200 (Wed, 18 Jun 2008) | 1 line

BGE patch #13625: getLinearVelocity() rewrite to use only vector and matrix operations
------------------------------------------------------------------------
r15275 | hos | 2008-06-18 23:16:29 +0200 (Wed, 18 Jun 2008) | 6 lines

== VRML97 exporter ==

Faulty indentation of a line sometimes caused a bunch of empty lines to
be printed into the TextureCoordinate and texCoodIndex fields
(benign error, just ugly).

------------------------------------------------------------------------
r15273 | hos | 2008-06-18 21:58:05 +0200 (Wed, 18 Jun 2008) | 5 lines

== VRML97 export ==

Don't export vertex colors if a mesh doesn't have any (even if a
texface has 'shared cols' set).

------------------------------------------------------------------------
r15270 | hos | 2008-06-18 19:13:33 +0200 (Wed, 18 Jun 2008) | 14 lines

== VRML97 export ==

Patch #10569 from Michalis Kamburelis (sorry for the delay).

This patch adds a popup menu that lets the user choose whether
they want to export selected, whether thay wanted to export
compressed, and whether they want to export the file from
blender's "Z up" coordinates to VRML's "Y up".

I'm not too crazy about the caching to disk of these options
via GetRegistry/SetRegistry, but since this seems to occur
in many of the other export scripts I'll leave it as is.


------------------------------------------------------------------------
r15269 | artificer | 2008-06-18 17:22:42 +0200 (Wed, 18 Jun 2008) | 6 lines

Patch #8882 - Falloff in the wave modifier
This patch adds the ability to specify a falloff radius in the Wave modifier.
Currently only linear falloff is supported.

Thanks to Michael Fox for the patch!

------------------------------------------------------------------------
r15264 | blendix | 2008-06-18 12:30:14 +0200 (Wed, 18 Jun 2008) | 7 lines


* Fix for a crash in game engine vertex array drawing with texfaces.
* For 2D filters, don't require opengl 2.0 but just the extensions,
  so it works on computers without full 2.0 support too.
* In debug mode, don't print memory statistics for preview render.


------------------------------------------------------------------------
r15263 | jiri | 2008-06-18 11:52:31 +0200 (Wed, 18 Jun 2008) | 3 lines

Small fix to be able to compile Blender.


------------------------------------------------------------------------
r15262 | campbellbarton | 2008-06-18 11:06:51 +0200 (Wed, 18 Jun 2008) | 2 lines

bugfix, BGE, use vec.safe_normalized() rather then vec.normalized() because in some cases the ray_cast sensor could crash blender.

------------------------------------------------------------------------
r15261 | ben2610 | 2008-06-18 09:03:47 +0200 (Wed, 18 Jun 2008) | 1 line

Forgot to set Id property on new shape action files
------------------------------------------------------------------------
r15260 | ben2610 | 2008-06-18 08:46:49 +0200 (Wed, 18 Jun 2008) | 5 lines

BGE Patch: Add Shape Action support and update MSCV_7 project file for glew.

Shape Action are now supported in the BGE. A new type of actuator "Shape Action" is available on mesh objects. It can be combined with Action actuator on parent armature. Only relative keys are supported. All the usual action options are available: type, blending, priority, Python API. Only actions with shape channels should be specified of course, otherwise the actuator has no effect. Shape action will still work after a mesh replacement provided that the new mesh has compatible shape keys.


------------------------------------------------------------------------
r15256 | theeth | 2008-06-17 23:17:11 +0200 (Tue, 17 Jun 2008) | 3 lines

[#14400] Crash on grab/move on axis when nothing selected (patch included)

I used a different fix than the included patch, but that was a pretty nasty crasher (only crash on menu/toolbox, not hotkeys).
------------------------------------------------------------------------
r15249 | blendix | 2008-06-17 12:27:34 +0200 (Tue, 17 Jun 2008) | 56 lines

Merge of apricot branch game engine changes into trunk, excluding GLSL.

GLEW
====

Added the GLEW opengl extension library into extern/, always compiled
into Blender now. This is much nicer than doing this kind of extension
management manually, and will be used in the game engine, for GLSL, and
other opengl extensions.

* According to the GLEW website it works on Windows, Linux, Mac OS X,
  FreeBSD, Irix, and Solaris. There might still be platform specific
  issues due to this commit, so let me know and I'll look into it.
* This means also that all extensions will now always be compiled in,
  regardless of the glext.h on the platform where compilation happens.

Game Engine
===========

Refactoring of the use of opengl extensions and other drawing code
in the game engine, and cleaning up some hacks related to GLSL
integration. These changes will be merged into trunk too after this.

The game engine graphics demos & apricot level survived my tests,
but this could use some good testing of course.

For users: please test with the options "Generate Display Lists" and
"Vertex Arrays" enabled, these should be the fastest and are supposed
to be "unreliable", but if that's the case that's probably due to bugs
that can be fixed.

* The game engine now also uses GLEW for extensions, replacing the
  custom opengl extensions code that was there. Removes a lot of
  #ifdef's, but the runtime checks stay of course.
* Removed the WITHOUT_GLEXT environment variable. This was added to
  work around a specific bug and only disabled multitexturing anyway.
  It might also have caused a slowdown since it was retrieving the
  environment variable for every vertex in immediate mode (bug #13680).

* Refactored the code to allow drawing skinned meshes with vertex
  arrays too, removing some specific immediate mode drawing functions
  for this that only did extra normal calculation. Now it always splits
  vertices of flat faces instead.
* Refactored normal recalculation with some minor optimizations,
  required for the above change.
* Removed some outdated code behind the __NLA_OLDDEFORM #ifdef.
* Fixed various bugs in setting of multitexture coordinates and vertex
  attributes for vertex arrays. These were not being enabled/disabled
  correct according to the opengl spec, leading to crashes. Also tangent
  attributes used an immediate mode call for vertex arrays, which can't
  work.
* Fixed use of uninitialized variable in RAS_TexVert.
* Exporting skinned meshes was doing O(n^2) lookups for vertices and
  deform weights, now uses same trick as regular meshes.


------------------------------------------------------------------------
r15247 | campbellbarton | 2008-06-17 12:06:38 +0200 (Tue, 17 Jun 2008) | 2 lines

Use the scenes framerate for ipo and action framerate in the game engine, was hard coded to 25.

------------------------------------------------------------------------
r15246 | broken | 2008-06-17 06:18:34 +0200 (Tue, 17 Jun 2008) | 1 line

* Simple addition to math node (comp and shading): Greater Than and Less Than modes.
------------------------------------------------------------------------
r15245 | campbellbarton | 2008-06-16 21:54:43 +0200 (Mon, 16 Jun 2008) | 6 lines

[#11456] New datablock type(s) added to Oops Schematic
patch from Shawn Zilbert (enigmatic)

This patch adds the camera data block type to the oops schematic view of the outliner. It also includes a little bit of code cleanup in the oops files.


------------------------------------------------------------------------
r15243 | theeth | 2008-06-16 18:48:09 +0200 (Mon, 16 Jun 2008) | 5 lines

Snapping

Snap to cage only in edit mode (respect the edit cage flag of modifiers).

Especially important for subsurf, otherwise, Andy's automerge + snap video doesn't work in current SVN.
------------------------------------------------------------------------
r15242 | campbellbarton | 2008-06-16 16:08:24 +0200 (Mon, 16 Jun 2008) | 5 lines

bugfix from Markus Ilmola (glome)
patch was in [#8540] Import scripts for MilkShape3D file formats

Some animations were incorrectly imported and this adds support for weights.

------------------------------------------------------------------------
r15240 | campbellbarton | 2008-06-16 11:16:04 +0200 (Mon, 16 Jun 2008) | 2 lines

Material color was always overriding OBCOL for blender text.

------------------------------------------------------------------------
r15239 | bdiego | 2008-06-16 09:15:09 +0200 (Mon, 16 Jun 2008) | 8 lines

Patch [#13777]

This commit fix the following problem in the DPX code:

1) The code always assume a depth of 10 bits
2) The code don't check the file type (Log or Linear)


------------------------------------------------------------------------
r15235 | theeth | 2008-06-15 19:54:42 +0200 (Sun, 15 Jun 2008) | 5 lines

[#13691] apricot Snap didn’t work correct in svn

1. Updated selected restriction to not be so stingy. Snapping on edges and vertices work if they are part of a partially moving face

2. Change depth ordering (which didn't work all the time). Hits are sorted according to 2D distance and then depth, so for overlapping hits, it picks the one in front.
------------------------------------------------------------------------
r15234 | theeth | 2008-06-15 16:22:12 +0200 (Sun, 15 Jun 2008) | 3 lines

Patch [#13668] Tool tip correction

By Olivier Saraja
------------------------------------------------------------------------
r15233 | aligorith | 2008-06-15 12:19:38 +0200 (Sun, 15 Jun 2008) | 1 line

Whitespace commit in armature.c
------------------------------------------------------------------------
r15231 | campbellbarton | 2008-06-15 11:43:24 +0200 (Sun, 15 Jun 2008) | 2 lines

bugfix, clip alpha wasn't working in the GE, not happy with these functions, they probably need bigger changes not to assume all alpha requires face sorting with a disabled depth buffer,

------------------------------------------------------------------------
r15230 | campbellbarton | 2008-06-15 10:56:11 +0200 (Sun, 15 Jun 2008) | 2 lines

bugfix, simple crash in drawaction

------------------------------------------------------------------------
r15227 | ben2610 | 2008-06-14 22:42:15 +0200 (Sat, 14 Jun 2008) | 1 line

BGE patch: support Set Scene in BGE. Linked Set Scene should have no name conflict in Object, Object data and Action of the main scene to avoid confusion in Python scripting. Nested Set Scene are supported. You will need Python scripting to create cross references between objects in the main scene and the Set (e.g TrackTo actuator)
------------------------------------------------------------------------
r15225 | lukep | 2008-06-14 20:57:42 +0200 (Sat, 14 Jun 2008) | 5 lines

fix for ndof inconsistencies, bug #13954

patch provided by Ettore Pasquini


------------------------------------------------------------------------
r15221 | campbellbarton | 2008-06-14 19:12:49 +0200 (Sat, 14 Jun 2008) | 2 lines

Added access for adjusting timeOffset value at runtime, used for apricot (Franky climbing walls)

------------------------------------------------------------------------
r15220 | campbellbarton | 2008-06-14 18:54:46 +0200 (Sat, 14 Jun 2008) | 5 lines

bugfix for memory corruption caused by BLI_cleanup_file on paths that went too far back.
/a/b/../../../ - problematic
/a/b/c/../../../ - ok
Also got rid of warnings in shadbuf.c with GET_INT_FROM_POINTER

------------------------------------------------------------------------
r15219 | aligorith | 2008-06-14 05:00:38 +0200 (Sat, 14 Jun 2008) | 3 lines

Bugfix: 

Campbell's recent commit to fix game-engine pose/ipo corruption was causing segfaults with duplicating armatures.
------------------------------------------------------------------------
r15213 | campbellbarton | 2008-06-13 04:20:09 +0200 (Fri, 13 Jun 2008) | 2 lines

Some pose action ipo corruptions when using BGE, added some debug printf's when copying to/from the same pose since it should never happen.

------------------------------------------------------------------------
r15212 | ben2610 | 2008-06-12 23:17:02 +0200 (Thu, 12 Jun 2008) | 1 line

Update MSVC project files
------------------------------------------------------------------------
r15211 | campbellbarton | 2008-06-12 18:29:00 +0200 (Thu, 12 Jun 2008) | 5 lines

When your home directory is full, saving defaults would fail without raising an error.
checked all others instances of BLO_write_file give errors too.
When autosave fails it reports an error in the console so its not too annoying.


------------------------------------------------------------------------
r15210 | artificer | 2008-06-12 17:43:55 +0200 (Thu, 12 Jun 2008) | 10 lines

Patch #8613 - Vertex groups in the mirror modifier.
This patch re-assigns the mirrored data to use vertex groups with "mirrored"
names (e.g. L_arm -> R_arm, Leg.R -> Leg.L etc.). Vertex groups with the
"mirrored" names must already exist in the base mesh.

This means that it is no longer necessary to apply the mirror modifier in order
to rig the mirrored data independently.

Thanks to Michael Fox for the patch!

------------------------------------------------------------------------
r15208 | campbellbarton | 2008-06-12 17:00:07 +0200 (Thu, 12 Jun 2008) | 2 lines

didnt name the smooth curve menu item.

------------------------------------------------------------------------
r15207 | campbellbarton | 2008-06-12 16:46:32 +0200 (Thu, 12 Jun 2008) | 2 lines

Curve Smoorth for venomgfx adjusting animation paths over terrain.

------------------------------------------------------------------------
r15201 | blendix | 2008-06-11 22:15:47 +0200 (Wed, 11 Jun 2008) | 5 lines


Fix for commit revision 15197, missing braces caused some shortcut
keys not to work anymore.


------------------------------------------------------------------------
r15199 | campbellbarton | 2008-06-11 16:31:51 +0200 (Wed, 11 Jun 2008) | 4 lines

bugfix
- duplicated script spaces would keep a pointer to the PyObject button list. (causing python errors with negative reference counts when freeing spaces)
- Exiting blender would crash when a UI was open because the ScriptSpaces button PyList was being free'd after python Py_Finalize was called.

------------------------------------------------------------------------
r15197 | campbellbarton | 2008-06-11 12:45:41 +0200 (Wed, 11 Jun 2008) | 3 lines

[#13723] Select -> Grouped -> Objects in Same Group doesn't work directly after appending
Menu was shown even when it couldn't do anything. behavior now matches the object copy menu.

------------------------------------------------------------------------
r15195 | campbellbarton | 2008-06-11 11:04:41 +0200 (Wed, 11 Jun 2008) | 3 lines

bugfix, off by 1 error when filling in uninitialized values for new ID values when the requested name length was greater to or equal to 21.
Also replaced incorrect use of strcpy with memmove since the strings overlap

------------------------------------------------------------------------
r15193 | campbellbarton | 2008-06-11 07:25:52 +0200 (Wed, 11 Jun 2008) | 3 lines

Increased new nla, sound, action, ipo, timeline spaces max zoomlevel to use MAXFRAMEF, so you can view an entire animation ans so all time spaces have the same maximum which is important when the views lock to each others zoomlevel.
Not ideal since it only affects newly created spaces, but probably not worth going through doversions since it wont effect many blender users.

------------------------------------------------------------------------
r15190 | briggs | 2008-06-10 18:18:45 +0200 (Tue, 10 Jun 2008) | 8 lines

-> Stack corruption in viewline in viw.c

viewline() would write past the end of an array
allocated on the stack causing crashes. Fixed this.

Martin, could you take a look at this?


------------------------------------------------------------------------
r15187 | campbellbarton | 2008-06-10 12:26:13 +0200 (Tue, 10 Jun 2008) | 2 lines

bugfix, missing calls to free editmesh index arrays

------------------------------------------------------------------------
r15185 | schlaile | 2008-06-10 07:12:51 +0200 (Tue, 10 Jun 2008) | 5 lines

== redcode ==

This makes it work for Mac OS X. Thanks to Jean-Luc Peuriere for the patch.


------------------------------------------------------------------------
r15182 | campbellbarton | 2008-06-10 00:54:56 +0200 (Tue, 10 Jun 2008) | 2 lines

error in variable name, not sure how this even compiled

------------------------------------------------------------------------
r15180 | theeth | 2008-06-09 20:41:16 +0200 (Mon, 09 Jun 2008) | 11 lines

Merge from Apricot Revisions 14897, 14913, 14914, 14915, 14929, 15009, 15046
---------------------------------------------------
Snappy stuff

* Align rotation with snapping target: rotate the object, aligning it with the target (object mode only - temporarily) (New icon in the header when snap is turned on)

* Snap to different mesh elements (face, edge, vertice): snapping target slide on faces and edge or use exact position of vertice. When using Align rotation with edge snapping, the normal is interpolated as you slide along.

Snaps correctly to derived mesh (sculpt, modifiers, ...) and duplis. In object and edit mode.

NOTE: The snapping code is now based on faces, so even if you're snapping to vertices or edges, it will not work on meshes without faces. This might change if needed.
------------------------------------------------------------------------
r15179 | theeth | 2008-06-09 20:07:12 +0200 (Mon, 09 Jun 2008) | 3 lines

Revision 14869 merged from apricot 
----------------------------------
Centralize handling of individual center for rotations
------------------------------------------------------------------------
r15178 | theeth | 2008-06-09 19:50:21 +0200 (Mon, 09 Jun 2008) | 4 lines

Revision 14929 partial merged from apricot 
(partial because I'll merge all snap code in one fell swoop after the libs are done)
----------------------------------
object: ray - boundbox intersection test
------------------------------------------------------------------------
r15177 | theeth | 2008-06-09 19:22:38 +0200 (Mon, 09 Jun 2008) | 4 lines

Revision 15045 merged from apricot
----------------------------------
Small fix to derivedmesh for snapping: don't create origindex for
editmesh derivedmesh since it's not being filled correct anyway.
------------------------------------------------------------------------
r15176 | theeth | 2008-06-09 19:16:20 +0200 (Mon, 09 Jun 2008) | 13 lines

Revision 14894 merged from apricot
----------------------------------
Arith:
	- axis angle to quat conversion function
	- short to float / float to short normals conversion function (eventually, we could go over the go and replace copy/pasted code everywhere)
	- ray triangle intersection (to complement the line triangle intersection function)
	
View:
	- viewray / viewline (get near plane point under mouse and ray normal/far point)


Particles:
	- extract viewline from brush_add function
------------------------------------------------------------------------
r15175 | theeth | 2008-06-09 18:54:54 +0200 (Mon, 09 Jun 2008) | 7 lines

PATCH: [#13656] Bad rotation computing for manual rotation higher than 180 degrees

By Fabrice Tiercelin

This enables rotation angles of more than 180 degrees to result in the same rotation applied to the object (the result used to be clamps between -180 - 180 of the initial rotation).

The patch had to be modified to deal with IPO keys properly
------------------------------------------------------------------------
r15174 | blendix | 2008-06-09 18:49:33 +0200 (Mon, 09 Jun 2008) | 7 lines


Added back a feature from the old particle system: negative start frame.

At the moment this does mean it will compute all the frames before the
point caching start frame on the first frame, which might be slow.


------------------------------------------------------------------------
r15172 | campbellbarton | 2008-06-09 17:45:46 +0200 (Mon, 09 Jun 2008) | 2 lines

adding clip alpha (binary alpha) to the 3D view and game engine.

------------------------------------------------------------------------
r15169 | campbellbarton | 2008-06-09 14:13:51 +0200 (Mon, 09 Jun 2008) | 3 lines

ctrl+LMB drag would add an ipo vert AND zoom in ipo view.
checked revisions 7915 and 10663, it seems this functionality was accidental. 

------------------------------------------------------------------------
r15168 | blendix | 2008-06-09 12:03:30 +0200 (Mon, 09 Jun 2008) | 5 lines


Fix for bug #13627: bFTGL sconscript missing opengl includes, didn't
compile with non-standard paths.


------------------------------------------------------------------------
r15161 | aligorith | 2008-06-08 12:48:37 +0200 (Sun, 08 Jun 2008) | 3 lines

Bugfix #13666: 

Missing #include <stdio.h> in source/gameengine/Ketsji/KX_RayCast.cpp
------------------------------------------------------------------------
r15160 | aligorith | 2008-06-08 12:46:30 +0200 (Sun, 08 Jun 2008) | 3 lines

Bugfix #13667: Outliner doesn't update when changing Parent in Transform Properties

There was a missing refresh call for the Outliner.
------------------------------------------------------------------------
r15159 | aligorith | 2008-06-08 11:35:05 +0200 (Sun, 08 Jun 2008) | 3 lines

Bugfix #13649: Segmentation fault when deleting object

When the IPO editor was pinned, and the active object was changed, deleting the active object would cause a crash.
------------------------------------------------------------------------
r15158 | aligorith | 2008-06-08 05:39:24 +0200 (Sun, 08 Jun 2008) | 1 line

Another minor typo fix in button naming
------------------------------------------------------------------------
r15157 | aligorith | 2008-06-08 04:59:14 +0200 (Sun, 08 Jun 2008) | 1 line

Fix for incorrect tooltip (provided by JMS va bf-committers)
------------------------------------------------------------------------
r15154 | campbellbarton | 2008-06-08 00:44:18 +0200 (Sun, 08 Jun 2008) | 2 lines

made the quad split-direction options force splitting since planer quads with UV distortion would get very different results depending on the split direction.

------------------------------------------------------------------------
r15152 | campbellbarton | 2008-06-07 20:16:23 +0200 (Sat, 07 Jun 2008) | 3 lines

error in customdata editmesh function,
was using the active index when it should use the first index, not a big deal since CustomData_em_get_n isnt used in trunk yet.

------------------------------------------------------------------------
r15149 | ton | 2008-06-07 17:06:00 +0200 (Sat, 07 Jun 2008) | 7 lines

March 22 commit from Campbell to allow Lasso select in Compositor
with CTRL+LMB disabled the recently before added option to make 
a Viewer connected to a node using same hotkey.

Now both work!


------------------------------------------------------------------------
r15147 | campbellbarton | 2008-06-06 13:00:32 +0200 (Fri, 06 Jun 2008) | 2 lines

bugfix, memory leaks when getting particles and particle system loc/size/rot/life (Just remember PyList_Append adds a reference! :) )

------------------------------------------------------------------------
r15146 | campbellbarton | 2008-06-06 10:58:08 +0200 (Fri, 06 Jun 2008) | 3 lines

bugfix - Blender.GetPaths() was returning relative paths from libraries, but with no way to access the library path the the file is relative too. Check for these cases and make them absolute.
bpath also assigned one var it didnt need to.

------------------------------------------------------------------------
r15144 | zaghaghi | 2008-06-06 03:28:51 +0200 (Fri, 06 Jun 2008) | 1 line

fix 2dfilter problem on AMD64, Patches item #13626
------------------------------------------------------------------------
r15142 | campbellbarton | 2008-06-06 00:58:54 +0200 (Fri, 06 Jun 2008) | 2 lines

missed this file last commit

------------------------------------------------------------------------
r15139 | campbellbarton | 2008-06-06 00:07:59 +0200 (Fri, 06 Jun 2008) | 2 lines

Added shadow baking

------------------------------------------------------------------------
r15137 | campbellbarton | 2008-06-05 20:26:34 +0200 (Thu, 05 Jun 2008) | 4 lines

Apricot feature, thats fit for trunk.
Baking would split non-planer quads in an unpredictable way, which is fine for rending but game engines often use a fixed order (0,1,2), (0,2,3) or (1,2,3) (1,3,0).
Added an option to use a fixed order when baking.

------------------------------------------------------------------------
r15136 | theeth | 2008-06-05 16:49:12 +0200 (Thu, 05 Jun 2008) | 7 lines

Bugfix: [#13619] Transform Rotate and Scale Strange

view: noclip version of int and float projection. Also project from behind the view's position and return coherent values for near clipping

transform: use the above functions for 2d center and helpline drawing

NOTE: the result for centers behind the camera (in perspective) isn't 100% perfect in the case of rotations because they always use the centered view vector as rotation axis and not the one aligned with the 2d center. Changing this would not be desirable anyway. At least it's predictible now.
------------------------------------------------------------------------
r15135 | campbellbarton | 2008-06-05 15:12:17 +0200 (Thu, 05 Jun 2008) | 2 lines

added checks for zero length strings when checking for the last character

------------------------------------------------------------------------
r15134 | genscher | 2008-06-05 15:02:17 +0200 (Thu, 05 Jun 2008) | 1 line

BLI_kdopbvh: crashed when traversing with little faces
------------------------------------------------------------------------
r15133 | campbellbarton | 2008-06-05 15:02:00 +0200 (Thu, 05 Jun 2008) | 7 lines

* python sys.cleanpath() used strstr incorrectly, resulting in paths containing a slash, always returning a path that ends with a slash.
* python Blender.GetPaths() - absolute=0 wasnt working
* BLI_cleanup_file and BLI_cleanup_file were treating the // prefix as a duplicate path, now ignores //
* BLI_convertstringcode was removing the trailing slash from a path
(tested these path functions didnt mess up with some of the peach files and with pointcache)


------------------------------------------------------------------------
r15132 | migius | 2008-06-05 14:31:16 +0200 (Thu, 05 Jun 2008) | 4 lines

import_dxf.py script update: ver. 1.0.12b3-2008.06.05 
bugfix: ob.name conflict with existing meshes (different ob.name/mesh.name)
refactor/support for LWPOLYLINEs

------------------------------------------------------------------------
r15131 | genscher | 2008-06-05 13:08:51 +0200 (Thu, 05 Jun 2008) | 1 line

Collisions: enabling self collision quality setting again (request by Nudel)
------------------------------------------------------------------------
r15130 | genscher | 2008-06-05 12:52:52 +0200 (Thu, 05 Jun 2008) | 1 line

Bugfix for exploding cloth collisions
------------------------------------------------------------------------
r15129 | campbellbarton | 2008-06-05 12:43:53 +0200 (Thu, 05 Jun 2008) | 3 lines

bugfix introduced in own commit 15055 - [#13621] Cloth cache files are in same directory as .blend


------------------------------------------------------------------------
r15125 | campbellbarton | 2008-06-05 00:32:15 +0200 (Thu, 05 Jun 2008) | 5 lines

numbutton python expression evaluation used driver dictionary, when EnableScriptlinks was disabled number 
button input didnt 
work. narrow down this test to the part of the pydriver module init that uses a blender textblock as a module. This should 
should reload the pydriver dict whenever the "EnableScriptlinks" state changes. but for now working numbuttons is priority.

------------------------------------------------------------------------
r15123 | sirdude | 2008-06-04 20:11:48 +0200 (Wed, 04 Jun 2008) | 4 lines

Issue jms was having with # else on msvc.  Seems odd but easy to fix.

Kent

------------------------------------------------------------------------
r15121 | campbellbarton | 2008-06-04 18:38:55 +0200 (Wed, 04 Jun 2008) | 3 lines

svn  merge  -r15118:15119 https://svn.blender.org/svnroot/bf-blender/branches/soc-2008-quorn


------------------------------------------------------------------------
r15120 | campbellbarton | 2008-06-04 18:19:15 +0200 (Wed, 04 Jun 2008) | 2 lines

Python API object.parentVertexIndex - access vertex parent indicies

------------------------------------------------------------------------
r15113 | zaghaghi | 2008-06-04 04:54:42 +0200 (Wed, 04 Jun 2008) | 1 line

bugfix #13618 - 2d filters + GLSL python scripts
------------------------------------------------------------------------
r15110 | ben2610 | 2008-06-04 00:54:24 +0200 (Wed, 04 Jun 2008) | 1 line

Fix BGE bug #13605: GameEngine corrupts Pose data
------------------------------------------------------------------------
r15103 | genscher | 2008-06-03 21:06:54 +0200 (Tue, 03 Jun 2008) | 1 line

Collision commit code cleanup for nicer compile
------------------------------------------------------------------------
r15102 | genscher | 2008-06-03 20:53:03 +0200 (Tue, 03 Jun 2008) | 1 line

last commit didn't include new files and included old file
------------------------------------------------------------------------
r15101 | genscher | 2008-06-03 20:48:54 +0200 (Tue, 03 Jun 2008) | 1 line

Collisions: Commit of collision cleanup, put kdop-bvh structure into BLI_kdopbvh (just like kdtree interface now), huge speedup for selfcollisions, also better normal collisions (merge from cloth branch)
------------------------------------------------------------------------
r15097 | aligorith | 2008-06-03 12:04:42 +0200 (Tue, 03 Jun 2008) | 1 line

A few compiler warning fixes. Those in BME_customdata.c were more serious.
------------------------------------------------------------------------
r15096 | aligorith | 2008-06-03 12:00:09 +0200 (Tue, 03 Jun 2008) | 3 lines

Bugfix #13603:

Action Editor Copy/Paste didn't trigger a depsgraph update for the active object (if the action was applied to it).
------------------------------------------------------------------------
r15094 | schlaile | 2008-06-03 08:42:13 +0200 (Tue, 03 Jun 2008) | 6 lines

== REDCODE ==

got #endif position wrong, breaking compile without redcode, sorry.
(Thanks to jms for pointing that out)


------------------------------------------------------------------------
r15092 | campbellbarton | 2008-06-03 03:01:47 +0200 (Tue, 03 Jun 2008) | 2 lines

increase the level you can zoom out (andy's timelapse videos were a pain to edit)

------------------------------------------------------------------------
r15091 | schlaile | 2008-06-03 00:02:26 +0200 (Tue, 03 Jun 2008) | 5 lines

== REDCODE ==

Forgot to free redcontext in IMB_free_anim...


------------------------------------------------------------------------
r15090 | schlaile | 2008-06-02 23:39:45 +0200 (Mon, 02 Jun 2008) | 5 lines

== redcode ==

Disabled by default now on all platforms besides Linux.


------------------------------------------------------------------------
r15089 | schlaile | 2008-06-02 23:35:57 +0200 (Mon, 02 Jun 2008) | 10 lines

== RED one (redcode) ==

This adds redcode (the file format of RED one, R3D) support to blender.
Seems to work fine with the footage I found on the web, but keep in
mind, that because of the unoptimized nature of libopenjpeg, frame
decoding isn't that fast.

It is also a rather challenging task, to make 4k-float-footage realtime :)


------------------------------------------------------------------------
r15088 | briggs | 2008-06-02 22:52:40 +0200 (Mon, 02 Jun 2008) | 18 lines

-> More Bmesh Custom Data stuff

Some more Bmesh custom data functions and
structures. This still does not do anything
yet because the various conversion functions
don't bother making use of the new custom data
functions. Hooking them up should be fairly
simple though.

Also note that the custom data code is mostly
copy/pasted from the existing custom data
functions for editmode with a few modifications.
Duplicating code like this isn't nice, but I
felt it was better to keep things for Bmesh
'standalone' for the moment and take only what is
immediatly needed instead of creating
a tangle of interdependant code.

------------------------------------------------------------------------
r15087 | ben2610 | 2008-06-02 19:31:05 +0200 (Mon, 02 Jun 2008) | 2 lines

Patch #11000 approved: [new function] KX_GameObject::alignAxisToVect() Align an object's axis to a given vector

------------------------------------------------------------------------
r15085 | aligorith | 2008-06-02 04:54:33 +0200 (Mon, 02 Jun 2008) | 1 line

Added missing newline for error print in Py-button expressions
------------------------------------------------------------------------
r15084 | aligorith | 2008-06-02 03:02:08 +0200 (Mon, 02 Jun 2008) | 6 lines

Compiler warning fixes (unused vars).

Notes:
- edgehash.c still has some weirdo code causing warnings on lines 80 and 117
i.e.  if (v1<v0) v0 ^= v1 ^= v0 ^= v1;
- material.c (in pyapi) apparently doesn't seem to be making use of some functions for glossy stuff
------------------------------------------------------------------------
r15083 | briggs | 2008-06-01 20:43:22 +0200 (Sun, 01 Jun 2008) | 5 lines

-> Fix for last few commits

New memory allocator broke compilation on
GCC/Linux. Fixed

------------------------------------------------------------------------
r15082 | briggs | 2008-06-01 20:02:29 +0200 (Sun, 01 Jun 2008) | 13 lines

-> Beginning of Custom Data support for BMesh

Now that new allocator is in place, Custom Data
can be effeciently added to BMesh. The plan is to
make all data not directly related to topology
Custom Data and allow callers to decide precisely
what information a mesh should have in order to
make the best tradeoff between memory usage/speed.

Right now not much to look at, just some structure
definitions and commented out code. More to come
soon...

------------------------------------------------------------------------
r15081 | briggs | 2008-06-01 19:15:03 +0200 (Sun, 01 Jun 2008) | 19 lines

-> New memory allocator for Bmesh
	
Added a new pooling allocator for Bmesh based upon
the pool allocator availible in the Boost C++ library
as described here:

http://www.boost.org/doc/libs/1_34_0/libs/pool/doc/concepts.html

Each pool allocates elements of a fixed size, so every
element type in a mesh gets its own pool. For instance
verts occupy a different pool than edges. Each pool
is comprised of multiple arrays of a fixed size and allocating
/freeing elements is simple as removing or adding a head 
to a linked list. Since the list of free elements is interleaved
throughout the unused space in the arrays, the overhead
for storing the free list is only 1 pointer total per pool.
	
This makes building/destroying bmesh structures much faster
and saves quite a bit of memory as well.
------------------------------------------------------------------------
r15080 | campbellbarton | 2008-06-01 18:13:04 +0200 (Sun, 01 Jun 2008) | 8 lines

functionality fix
Originally the only way to run scripts automatically was with scriptlinks, which could be disabled for loading untrusted blend files.
Since then PyDrivers and PyConstraints would run even when G.f&G_DOSCRIPTLINKS was disabled.
Gensher, Theeth and Ianwill agree its acceptable to reuse the flag for other areas python runs automatically.

PyNodes still have no way to be disabled, (todo before 2.46a)


------------------------------------------------------------------------
r15078 | schlaile | 2008-06-01 16:37:09 +0200 (Sun, 01 Jun 2008) | 12 lines

== FFMPEG ==

Shouldn't crash any more in the case that
a) invalid video options were selected
and
b) audio multiplexing was active

[#13311] video_stream NULL when writing ffmpeg

(did'nt crash for me though, but added extra protection :) )


------------------------------------------------------------------------
r15077 | campbellbarton | 2008-06-01 15:18:26 +0200 (Sun, 01 Jun 2008) | 3 lines

bugfix (typo) [#13587] Python API Material.sssFront broken


------------------------------------------------------------------------
r15076 | briggs | 2008-06-01 03:56:35 +0200 (Sun, 01 Jun 2008) | 7 lines

-Fix for bug #13067

Bevel tool was hanging on certain geometry where the edge
to be beveled was shared by two faces that had more than
one edge in common and caller was not checking return
status of Bmesh eulers. Fixed.

------------------------------------------------------------------------
r15075 | campbellbarton | 2008-06-01 03:49:11 +0200 (Sun, 01 Jun 2008) | 3 lines

bugfix for own error
[#13588] Python API Material.sssRadiusBlue broken

------------------------------------------------------------------------
r15073 | campbellbarton | 2008-05-31 21:08:12 +0200 (Sat, 31 May 2008) | 4 lines

bugfix for own error
glitch when typing in / would ask the user to make a new directory. the last shash was being removed, then the "" path didnt exist and 
asked to create it.

------------------------------------------------------------------------
r15072 | campbellbarton | 2008-05-31 21:01:14 +0200 (Sat, 31 May 2008) | 7 lines

bufgfix for [#13584] SIGSEV in fluid bake with large amount of small fluid objects
the maximum number of objects (255) wasnt being checked, added a check before baking.
also changed bakeing to use G.scene->base rather then G.main->objects since these can be in other scenes, from linked 
groups, or used only by python so they should not be used for baking. it also meant having a domain in 2 scenes would fail with an error.

Nils, could be good to have a dynamic number of bakeable objects.

------------------------------------------------------------------------
r15070 | campbellbarton | 2008-05-31 18:22:07 +0200 (Sat, 31 May 2008) | 6 lines

bugfix
* [#13394] Sequencer: if internal strips have handles selected, dragging the metastrip changes the meta length
* Extend did not work correctly on metastrips when the nested seq's are out of the meta's frame range, added an argument to seq_tx_get_final_left/right 
that returns the frame clipped by metastrip(s) if any.


------------------------------------------------------------------------
r15069 | campbellbarton | 2008-05-31 14:12:03 +0200 (Sat, 31 May 2008) | 4 lines

bugfix for own error, introduced when running scripts were saved with the blend file.
a script error with a script that has an interface would not stop the interface from running again immediately, causing an annoying 
error message loop.

------------------------------------------------------------------------
r15064 | ianwill | 2008-05-30 22:04:52 +0200 (Fri, 30 May 2008) | 5 lines

== PyNodes ==

Bug #13277, reported by Juho (bebraw) Vepsalainen (thanks!) - a typo made pynodes w/o input socket definitions fail with an out of range error when accessing the output sockets in the script.


------------------------------------------------------------------------
r15063 | sirdude | 2008-05-30 21:52:42 +0200 (Fri, 30 May 2008) | 8 lines

This is patch [#9057] Updated doc string to match current defines

also submitted by gsr

It just updates a comment to correct values.

Kent

------------------------------------------------------------------------
r15062 | sirdude | 2008-05-30 21:46:48 +0200 (Fri, 30 May 2008) | 9 lines

This is patch [#9053] More concrete makesdna reporting
Submitted by gsr

It just makes the printf's all different so you can tell where the problem
is.

Kent


------------------------------------------------------------------------
r15056 | theeth | 2008-05-30 11:05:09 +0200 (Fri, 30 May 2008) | 3 lines

Fix crash with hidden bezier handles

See Cambo, that's why we have module owners.
------------------------------------------------------------------------
r15055 | campbellbarton | 2008-05-30 03:59:15 +0200 (Fri, 30 May 2008) | 10 lines

bugfix
* scene.object.context and scene.object.selected had broken get_item 
funcs so scene.object.context[i]  returned the wrong object.
* aligning the view to an object (numpad*key), did not disable the 
ortho view grid.
* long standing problem where opening a relative image would fail with 
no message. BLI_convertstringcode was returning a path with /../../'s 
that need to be cleaned before the path could be read, the path was also 
invalid from unix shell so its not a blender path reading problem.

------------------------------------------------------------------------
r15051 | aphex | 2008-05-29 23:12:11 +0200 (Thu, 29 May 2008) | 2 lines

Reverted win installer to give 'current user' option only for Application Data.
Added shfolder.lib linking for win9x SHGetFolderPath() support.
------------------------------------------------------------------------
r15050 | theeth | 2008-05-29 21:10:09 +0200 (Thu, 29 May 2008) | 5 lines

Transform Orientations

Edit Bone and Pose Bone can now be used as transform orientations

Also fix a bug with CTO comming from non-uniformally scaled meshes.
------------------------------------------------------------------------
r15043 | aligorith | 2008-05-29 08:14:53 +0200 (Thu, 29 May 2008) | 1 line

Another bugfix for Fill Bone Between Joints. Changed the order that bones are created between 'head'/'tail' points
------------------------------------------------------------------------
r15039 | aligorith | 2008-05-29 03:04:12 +0200 (Thu, 29 May 2008) | 3 lines

Fill Bone Between Joints:

This tool now parents the newly created bone to whichever bone acted as it's 'head' point. It also sets the connected-to-parent flag.
------------------------------------------------------------------------
r15034 | jhk | 2008-05-29 01:38:40 +0200 (Thu, 29 May 2008) | 2 lines

Bug fix: [#13268] Crash when creating a new particle system
-Ugh.. sorry about that.. damn default cube with it's default material!
------------------------------------------------------------------------
r15032 | campbellbarton | 2008-05-28 23:15:40 +0200 (Wed, 28 May 2008) | 2 lines

bugfix for own bug. mousewheel while playing in the sequencer crashes blender.

------------------------------------------------------------------------
r15031 | blendix | 2008-05-28 20:11:45 +0200 (Wed, 28 May 2008) | 5 lines


Fix for bug #13224: vertex parenting didn't work correct with
multiple unconnected curves.


------------------------------------------------------------------------
r15030 | blendix | 2008-05-28 19:55:06 +0200 (Wed, 28 May 2008) | 4 lines


Fix for bug #13230: particle mirror could fail on some faces.


------------------------------------------------------------------------
r15029 | blendix | 2008-05-28 19:42:03 +0200 (Wed, 28 May 2008) | 5 lines


Small fix for last AO sphere sampling bugfix, didn't update
random sampling code as well.


------------------------------------------------------------------------
r15028 | jhk | 2008-05-28 19:16:43 +0200 (Wed, 28 May 2008) | 2 lines

Fix for bug: [#11680] "Col" option for particle systems does not work correctly with Mat IPOs
-the feature simply was not coded
------------------------------------------------------------------------
r15027 | campbellbarton | 2008-05-28 19:13:15 +0200 (Wed, 28 May 2008) | 3 lines

bugfix for baking AO with greater then 16 samples, since it was being clamped in sphere_sampler but not in ray_ao_spheresamp that calls it. giving uneven art deco 
results.

------------------------------------------------------------------------
r15023 | campbellbarton | 2008-05-28 02:44:41 +0200 (Wed, 28 May 2008) | 5 lines

bugfix
* python api render() would clamp the endframe to a short.
* python api's render() and renderAnim() would not render compositing because the name they gave to RE_NewRender was NOT G.scene->id.name, added comments to 
G.scene->id.name

------------------------------------------------------------------------
r15016 | theeth | 2008-05-27 22:02:38 +0200 (Tue, 27 May 2008) | 5 lines

[#10223] a new object function to add vertex group from an armature

Patch from Jean-Michel Soler (with slight modifs)

Small BPy feature to help script writers deal with armatures and vertex groups (calls the bone heat method to create and assign groups)
------------------------------------------------------------------------
r15013 | blendix | 2008-05-27 17:36:36 +0200 (Tue, 27 May 2008) | 5 lines


Another fix for bug #11140: explode modifier was still using more
memory than needed.


------------------------------------------------------------------------
r15011 | campbellbarton | 2008-05-27 17:14:35 +0200 (Tue, 27 May 2008) | 3 lines

bugfix for zero area faces and adding uv layers was not checking if the 
UV layer existed alredy.

------------------------------------------------------------------------
r15006 | campbellbarton | 2008-05-27 15:32:10 +0200 (Tue, 27 May 2008) | 2 lines

bugfix, edges with no faces raised an error.

------------------------------------------------------------------------
r15005 | blendix | 2008-05-27 15:26:52 +0200 (Tue, 27 May 2008) | 7 lines


Fix for bug #12463: hair didn't draw z-buffered in wireframe mode.
Instead of making it an exception compared to other objects which
don't draw z-buffered either, it now draws without lighting in the
wire color like it did before.


------------------------------------------------------------------------
r15000 | blendix | 2008-05-27 13:05:33 +0200 (Tue, 27 May 2008) | 4 lines


Fix for #12526: still didn't get dupli transform in envmaps correct.


------------------------------------------------------------------------
r14999 | blendix | 2008-05-27 13:01:31 +0200 (Tue, 27 May 2008) | 4 lines


Fix for bug #12533: color picker didn't always redraw rgb/hsv/hex values.


------------------------------------------------------------------------
r14997 | campbellbarton | 2008-05-27 11:46:35 +0200 (Tue, 27 May 2008) | 3 lines

removing this script, should have been removed for 2.46 since the 
functionality is avalable in the UV snap menu.

------------------------------------------------------------------------
r14996 | blendix | 2008-05-27 11:41:43 +0200 (Tue, 27 May 2008) | 5 lines


Fix for bug #12806: compositor nodes with use nodes disabled
didn't properly redraw the node window on changes.


------------------------------------------------------------------------
r14994 | campbellbarton | 2008-05-27 10:51:47 +0200 (Tue, 27 May 2008) | 2 lines

bugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag even though it wont switch the view direction.

------------------------------------------------------------------------
r14987 | campbellbarton | 2008-05-26 22:43:35 +0200 (Mon, 26 May 2008) | 5 lines

bugfix, copy posebone constraints didnt update properly, canceling transform would not reset the bone back to its original state. need to set teh flag "ob->pose->flag |= 
POSE_RECALC", which is alredy done on adding a constraint.
back 
to

------------------------------------------------------------------------
r14982 | stiv | 2008-05-26 17:12:20 +0200 (Mon, 26 May 2008) | 2 lines

bugfix for crasher from Cedric Paille via bf-committers.

------------------------------------------------------------------------
r14979 | theeth | 2008-05-26 14:52:28 +0200 (Mon, 26 May 2008) | 5 lines

Bug fix

Force proportional editing flag off in object mode.

While it didn't have any effect on objects themselves, it could display the falloff mode (Smooth) in the header. The bug was purely cosmetic.
------------------------------------------------------------------------
r14978 | campbellbarton | 2008-05-26 14:50:00 +0200 (Mon, 26 May 2008) | 3 lines

when cyclic is enabled the knots would always be generated with uniform nurbs but after, cyclic nurbs would be incorrect if the bezier or endpoint u/v was set.
also replaced some numbers with constants.

------------------------------------------------------------------------
r14976 | campbellbarton | 2008-05-26 11:50:46 +0200 (Mon, 26 May 2008) | 5 lines

* The displist would be uninitialized when nurbs bezieru/v was set and the order wasnt 3 or 4. add a function that checks nurbs can produce a valid line. check_valid_nurb_u/v
* when check_valid_nurb_u/v fails, no curve is allocated or drawn.
* knotsu/v could be NULL but some functions didn't check for this, make sure this is checked for everywhere.
* The interface didnt change check the order when the bezier u/v flag was set, added functions clamp_nurb_order_u/v that takes into accound the number of points and the bezier u/v flag.

------------------------------------------------------------------------
r14973 | campbellbarton | 2008-05-26 01:05:13 +0200 (Mon, 26 May 2008) | 3 lines

the last selected nurbs curve lastnu could become an invalid pointer in places, access this via functions now and store an index 
rather then a pointer so if it becomes invalid it will just return a NULL pointer.

------------------------------------------------------------------------
r14972 | bdiego | 2008-05-25 23:11:34 +0200 (Sun, 25 May 2008) | 4 lines

Commit patch #9059 by gsrb3d

Unnecesary include path in Makefile.

------------------------------------------------------------------------
r14971 | theeth | 2008-05-25 23:05:13 +0200 (Sun, 25 May 2008) | 5 lines

Bug fix in X-Mirror for armatures

When a bone in a mirrored chain wasn't named properly, it would leave the head or tail in an invalid state.

Now it applies the mirror to connected joints that are mirrored.
------------------------------------------------------------------------
r14966 | campbellbarton | 2008-05-25 18:39:57 +0200 (Sun, 25 May 2008) | 4 lines

patch  [#11491] Fix for bug 11362: Blender.Draw.Image() method does not clip properly
fixing [#11362] Blender.Draw.Image() method does not clip properly
also return silently on zero zoomlevel rather then raising an error, only raise an error on negative values.

------------------------------------------------------------------------
r14965 | schlaile | 2008-05-25 18:07:32 +0200 (Sun, 25 May 2008) | 12 lines

== Sequencer ==

Fixes
[#12106] Memory leak in sequencer (>10MB/frame)

in parts: inner contents of meta strips are freed up after calculation
making more room for the cache.

Actually have to think of a mechanism, that remembers, which output
frames are asked for and caches only those.


------------------------------------------------------------------------
r14961 | theeth | 2008-05-25 16:39:55 +0200 (Sun, 25 May 2008) | 3 lines

[#11124] Hide Threshold button when Constant QMC sampling enabled

Patch by Olivier Saraja
------------------------------------------------------------------------
r14960 | ben2610 | 2008-05-25 16:37:39 +0200 (Sun, 25 May 2008) | 1 line

Apply BGE patch 11137: Render objects with negative scaling correctly (as in Blender)
------------------------------------------------------------------------
r14958 | theeth | 2008-05-25 16:32:59 +0200 (Sun, 25 May 2008) | 3 lines

[#11119] Tool tips correction

Patch by Olivier Saraja
------------------------------------------------------------------------
r14957 | ben2610 | 2008-05-25 16:32:26 +0200 (Sun, 25 May 2008) | 1 line

Apply BGE patch 12799: Fix quad buffer stereo mode for Windows
------------------------------------------------------------------------
r14955 | campbellbarton | 2008-05-25 15:48:36 +0200 (Sun, 25 May 2008) | 3 lines

for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes


------------------------------------------------------------------------
r14952 | ben2610 | 2008-05-25 00:50:31 +0200 (Sun, 25 May 2008) | 1 line

BGE patch: rename rayCastToEx() to rayCast() - better name
------------------------------------------------------------------------
r14950 | briggs | 2008-05-24 20:43:02 +0200 (Sat, 24 May 2008) | 5 lines

-> FLT import: Zero area N-gon bug fix

FLT importer would throw errors when importing ngons with
zero area. These faces are now ignored

------------------------------------------------------------------------
r14949 | ben2610 | 2008-05-24 20:06:58 +0200 (Sat, 24 May 2008) | 1 line

BGE patch: add rayCastToEx(), an extended version of rayCastTo() for use in game script
------------------------------------------------------------------------
r14948 | campbellbarton | 2008-05-24 14:22:53 +0200 (Sat, 24 May 2008) | 3 lines

fix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseFactor
- own error, swapped diffuse and emit factors

------------------------------------------------------------------------
r14947 | ben2610 | 2008-05-24 10:34:04 +0200 (Sat, 24 May 2008) | 11 lines

fix BGE bug #8646: unusable anaglyph settings

The best rules for stereo rendering are now applied to Blender. Here is the new situation:
1) The focal distance is now settable through the GUI: select the camera (each camera can have a different setting) and go to the camera data (F9): the "Dof Dist" and "Dof Ob" can be used to set the focal distance for that camera. The "Dof Ob" is interesting because it sets the focal distance so that the center this object will appear at the surface of the screen when running the game.
2) The eye separation is automatically set to focal_distance/30, which is considered to be a reasonable value. If you need a different value, you can always use Python scripting. 

Notes: 
- If you switch camera during the game, the focal distance will also change unless you have set the focal distance by scripting, in which case it overwrites the focal distance setting of all cameras.
- If you don't set the focal distance in the camera data or by scripting, the default value will be used. The default value corresponds more of less to the near clipping plane which means that all the objects will be very far with little 3D effect.
- If you don't set the eye separation by scripting, it is automatically computed as focal_distance/30, regardless on how the focal distance was set.

------------------------------------------------------------------------
r14942 | ianwill | 2008-05-23 18:31:02 +0200 (Fri, 23 May 2008) | 7 lines

== PyNodes ==

Fixing bug #11737 reported by Daniel Salazar (Zanqdo, thanks!): assigning as pynode a text that failed to parse as a pynode script, then deleting that text would crash Blender.

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


------------------------------------------------------------------------
r14941 | aligorith | 2008-05-23 13:12:03 +0200 (Fri, 23 May 2008) | 1 line

Typos and whitespace tweaks
------------------------------------------------------------------------
r14940 | blendix | 2008-05-23 12:06:06 +0200 (Fri, 23 May 2008) | 6 lines


Fix for bug #12526: object instancing didn't restore matrices
correct for envmap, could give objects rendering in the wrong
position.


------------------------------------------------------------------------
r14939 | campbellbarton | 2008-05-23 11:58:33 +0200 (Fri, 23 May 2008) | 4 lines

fix for "[#11004] Adding ram sound and alt-U causes ram to look like HD sound and can lead to crash"

Missing call sound_initialize_sounds, cant be added BKE_reset_undo since its in blenderkernel.

------------------------------------------------------------------------
r14938 | blendix | 2008-05-23 11:23:57 +0200 (Fri, 23 May 2008) | 5 lines


Fix for bug #12473: crash converting old particle system from
a linked file.


------------------------------------------------------------------------
r14937 | campbellbarton | 2008-05-23 10:58:44 +0200 (Fri, 23 May 2008) | 4 lines

fix for [#12218] Impossible to exit meta strips with hotkey
Only enter mesta's that are active and selected, inconsistent with editmode in the 3D view, but editmode dosnt deal with 
nested data.

------------------------------------------------------------------------
r14936 | campbellbarton | 2008-05-23 10:39:59 +0200 (Fri, 23 May 2008) | 2 lines

fix for error when all faces are the same area

------------------------------------------------------------------------
r14935 | aligorith | 2008-05-23 06:54:16 +0200 (Fri, 23 May 2008) | 3 lines

Bugfix #12508:

Action Editor Border Select Channels no longer selects bones
------------------------------------------------------------------------
r14932 | blendix | 2008-05-22 19:32:15 +0200 (Thu, 22 May 2008) | 4 lines


Fix for bug #11895: databrowse for image painting clone image didn't work.


------------------------------------------------------------------------
r14931 | blendix | 2008-05-22 19:06:46 +0200 (Thu, 22 May 2008) | 5 lines


Fix for bug #11698: mesh deform modifier not working on extruded curves.
The modifier work on the tesselated result rather than the curve itself.


------------------------------------------------------------------------
r14930 | blendix | 2008-05-22 17:30:35 +0200 (Thu, 22 May 2008) | 5 lines


Fix for bug #12077: tangent shading (which only affects specular) made
bump mapping not work for diffuse.


------------------------------------------------------------------------
r14928 | blendix | 2008-05-22 16:56:32 +0200 (Thu, 22 May 2008) | 4 lines


Fix for part of bug #12075: gamma node generated nan's on negative input.


------------------------------------------------------------------------
r14927 | theeth | 2008-05-22 16:12:09 +0200 (Thu, 22 May 2008) | 1 line

Comments!!1
------------------------------------------------------------------------
r14926 | blendix | 2008-05-22 16:08:13 +0200 (Thu, 22 May 2008) | 5 lines


Fix for bug #11743: incorrect transformation for particle group
visualization DupliGroup option.


------------------------------------------------------------------------
r14925 | blendix | 2008-05-22 15:58:16 +0200 (Thu, 22 May 2008) | 5 lines


Fix for bug #11758: crash cancelling hair softbody bake.
Fix for bug #11966: crash in hair softbody with hair amount 0.


------------------------------------------------------------------------
r14923 | blendix | 2008-05-22 15:46:05 +0200 (Thu, 22 May 2008) | 5 lines


Fix for bug #12334: the Disable Tex option didn't disable
textures for the Texface material option.


------------------------------------------------------------------------
r14920 | theeth | 2008-05-22 11:22:00 +0200 (Thu, 22 May 2008) | 3 lines

Transform Orientations

Normal orientation for editbones (was previously missing)
------------------------------------------------------------------------
r14917 | migius | 2008-05-22 10:29:54 +0200 (Thu, 22 May 2008) | 2 lines

remove module dxfImportObjects.py. It is obsolete since 2.43, then all functions integrated in the main dxf-importer code

------------------------------------------------------------------------
r14916 | campbellbarton | 2008-05-21 21:24:35 +0200 (Wed, 21 May 2008) | 2 lines

add missing flags for NLA strips

------------------------------------------------------------------------
r14912 | campbellbarton | 2008-05-21 14:14:52 +0200 (Wed, 21 May 2008) | 2 lines

scene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts. (which clamped them to 37856)

------------------------------------------------------------------------
r14911 | campbellbarton | 2008-05-21 13:06:49 +0200 (Wed, 21 May 2008) | 2 lines

testbreak was not working after the first use

------------------------------------------------------------------------
r14909 | theeth | 2008-05-21 12:14:02 +0200 (Wed, 21 May 2008) | 3 lines

Bone Extrusion Bug

Extruding from root would incorrectly set the Connected flag when it wasn't needed.
------------------------------------------------------------------------
r14908 | theeth | 2008-05-21 12:11:10 +0200 (Wed, 21 May 2008) | 3 lines

[#12103] Force field moves when strength changes

Wind effects would modify the center vector, so the limit sphere was drawn from the position of the last "wind ring"
------------------------------------------------------------------------
r14907 | theeth | 2008-05-21 12:07:38 +0200 (Wed, 21 May 2008) | 5 lines

[#11892] track-to + "around selection" bug

Transform conversion was resetting constraints when used to calculate orbit center.

This is a tentative fix, it fixes this particular case but maybe not all.
------------------------------------------------------------------------
r14906 | theeth | 2008-05-21 12:02:07 +0200 (Wed, 21 May 2008) | 3 lines

[#11748] Bevel tool not snapping when holding down ctrl and adjusting value

Added proper gear support and fixed some misc errors in the setup of this transformation (negative values hav no effect, so use absolute value and other small things like that)
------------------------------------------------------------------------
r14905 | schlaile | 2008-05-20 23:30:16 +0200 (Tue, 20 May 2008) | 12 lines

== Sequencer ==

This fixes:
[#11745] Blender crashes when changing Scenes on Sequencer`s Strips

containing:

- last_seq was set to null by scene-render
- button handling wasn't very robust (didn't check for null)
- REDRAWBUTSSCENE was missing


------------------------------------------------------------------------
r14902 | campbellbarton | 2008-05-20 07:55:12 +0200 (Tue, 20 May 2008) | 2 lines

replacing epydoc generation script with one copied from bpy docs

------------------------------------------------------------------------
r14896 | campbellbarton | 2008-05-19 15:34:43 +0200 (Mon, 19 May 2008) | 2 lines

more updates to docs

------------------------------------------------------------------------
r14893 | campbellbarton | 2008-05-19 11:54:38 +0200 (Mon, 19 May 2008) | 2 lines

some updates to epy docs

------------------------------------------------------------------------
r14892 | schlaile | 2008-05-19 08:14:57 +0200 (Mon, 19 May 2008) | 6 lines

== Sequencer ==

This fixes:
[11750] "Translate" stops working when offset > image size


------------------------------------------------------------------------
r14889 | campbellbarton | 2008-05-18 20:44:02 +0200 (Sun, 18 May 2008) | 4 lines

memory corruption error fix when changing orderU/Vs with curves, this could crash blender or make odd display lists.
the problem was that the buttons would use the first nurb if there was no 'lastnu', but the makeknots function only checked for lastnu. this meant the knots would not get re-allocated on 
values would be written outside the array.

------------------------------------------------------------------------
r14888 | ton | 2008-05-18 20:05:55 +0200 (Sun, 18 May 2008) | 3 lines

Last part of the svn release commit. It's now in freeze... unless?


------------------------------------------------------------------------
r14887 | ton | 2008-05-18 20:05:16 +0200 (Sun, 18 May 2008) | 3 lines

Part one of the 2.46 release commit


------------------------------------------------------------------------
r14886 | letterrip | 2008-05-18 19:31:13 +0200 (Sun, 18 May 2008) | 8 lines

This is an updated french translation from,

Erwan Jacq

thanks,

LetterRip

------------------------------------------------------------------------
r14885 | lukep | 2008-05-18 18:00:13 +0200 (Sun, 18 May 2008) | 4 lines

temptative fix for the ndof bug
if vd.dist is null at a wrong time,
retore to last known good value

------------------------------------------------------------------------
r14883 | ton | 2008-05-18 15:57:47 +0200 (Sun, 18 May 2008) | 6 lines

Fix in mball last May 15th causes a hang (eternal loop) in mball.c,
a division by zero was not handled

(weird though, only shows in OSX PPC. no optimize, debug build.)


------------------------------------------------------------------------
r14881 | aligorith | 2008-05-18 12:41:42 +0200 (Sun, 18 May 2008) | 3 lines

Bugfix #11738: 

PoseLib Preview crashed when there was no active pose as there were no poses at all (i.e. on a newly created Pose Library) .
------------------------------------------------------------------------
r14880 | ton | 2008-05-18 09:30:51 +0200 (Sun, 18 May 2008) | 7 lines

Bugfix 11736

CTRL+Click on "load" for image node crashed.
NULL pointer test missing...



------------------------------------------------------------------------
r14879 | campbellbarton | 2008-05-18 00:37:34 +0200 (Sun, 18 May 2008) | 7 lines

fix for [#11691] No checks in curve code for "Number of points <= Order U"
added checks for a nurbes orderu being larger then pntsu.
This has the same effect as the curve having only 1 point. (its display list is not generated 
but it is still added but a dummy displist with zero points is made)
memcpy was also being used where the memory overlaped (probably worked in most cases but this is incorrect and valgrind complained), use memmove 
instead.

------------------------------------------------------------------------
r14878 | blendix | 2008-05-17 15:41:34 +0200 (Sat, 17 May 2008) | 4 lines


Fix for mistake in recent interface bugfix commit.


------------------------------------------------------------------------
r14877 | aligorith | 2008-05-17 02:35:30 +0200 (Sat, 17 May 2008) | 3 lines

Bugfix #11717:

Rendering (Internal/OGL) would crash when StampInfo was on and adding info about the active camera, if there was no camera in the scene.
------------------------------------------------------------------------
r14874 | campbellbarton | 2008-05-16 23:34:22 +0200 (Fri, 16 May 2008) | 2 lines

root level python tree menu's didnt work with seperators, would display SEPR text instead

------------------------------------------------------------------------
r14873 | schlaile | 2008-05-16 23:04:06 +0200 (Fri, 16 May 2008) | 10 lines

== Sequencer ==

This fixes: [#11642] VSE: crash with Speed Control and play head

Special sequence update (holding down left mouse button on a strip)
could lead to a crash when using the speed control effect, since
we didn't check properly for valid cfras (and therefore if
TStripElem is null... )


------------------------------------------------------------------------
r14872 | ianwill | 2008-05-16 22:57:06 +0200 (Fri, 16 May 2008) | 15 lines

== Nodes ==

- "Memoryblock free: attempt to free NULL pointer" messages related to the Material node (Add->Input->Material). Deleting it and quitting Blender would bring 2 or 3 of these warnings. Trivial fix (check if NULL) in blenkernel/intern/node.c, though Nodes devs may be interested. Found while testing to fix the following bug:

== PyNodes ==

- Bug #11715 reported by Alexanter Feterman:

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

Adding a Dynamic node and setting it to a pynode script would crash Blender if no Material Node (MatNode) was present.

Thanks Alexander for reporting and Brecht for assigning it to me.


------------------------------------------------------------------------
r14870 | blendix | 2008-05-16 19:36:06 +0200 (Fri, 16 May 2008) | 5 lines

Fix for two UI glitches:
Bug #11711: particle start frame could get NaN value.
Bug #11714: x-axis mirror button didn't work.


------------------------------------------------------------------------
r14868 | theeth | 2008-05-16 15:13:20 +0200 (Fri, 16 May 2008) | 3 lines

[#5743] Rotate dosnt work at high zoom

More precision added to previous fix through linear approximation of the angle at really small angle values.
------------------------------------------------------------------------
r14867 | campbellbarton | 2008-05-16 15:05:36 +0200 (Fri, 16 May 2008) | 3 lines

fix for [#11542] "Add -> Mesh -> Torus" adds corrupt mesh
previous fix only worked in object mode

------------------------------------------------------------------------
r14863 | theeth | 2008-05-16 12:20:30 +0200 (Fri, 16 May 2008) | 7 lines

[#11706] Camera IPO Lag

Broken in revision 14473

Camera IPO needs a special exception to be done earlier than others, that was removed in that revision.

I added a better comment to make sure nobody removes it again, unless they really understand what's happening.
------------------------------------------------------------------------
r14862 | blendix | 2008-05-16 11:55:09 +0200 (Fri, 16 May 2008) | 4 lines


Fix for bug #11682: active render vertex color not respected correctly.


------------------------------------------------------------------------
r14859 | khughes | 2008-05-16 01:33:30 +0200 (Fri, 16 May 2008) | 3 lines

Remove PLATFORM_LINKFLAGS for makesdna, was breaking debug builds with MSVC8.


------------------------------------------------------------------------
r14858 | campbellbarton | 2008-05-16 01:16:42 +0200 (Fri, 16 May 2008) | 2 lines

own error, off by 1 with string allocation

------------------------------------------------------------------------
r14857 | blendix | 2008-05-15 22:45:02 +0200 (Thu, 15 May 2008) | 6 lines


Fix for bug #11676: the Spread value for particles does nothing, as
far as I can see it would only do something if child particles could
be emitted from volume, so removed the button for now.


------------------------------------------------------------------------
r14856 | blendix | 2008-05-15 22:07:07 +0200 (Thu, 15 May 2008) | 5 lines


Fix for bug #11389: edgesplit modifier crash after subsurf when
no edges were being split.


------------------------------------------------------------------------
r14855 | campbellbarton | 2008-05-15 21:49:34 +0200 (Thu, 15 May 2008) | 5 lines

fix for [#11597] 2.46R5 and probably problem of all 2.46Rx - UNPREDICTED DRAW sculpt brush
front and back face test was reversed. This problem still shows up when sculpting from the inside of a mesh, but this 
cant be worked around unless its know which faces are visible or not. (tried some different workarounds but this 
seems acceptable)

------------------------------------------------------------------------
r14854 | campbellbarton | 2008-05-15 21:44:34 +0200 (Thu, 15 May 2008) | 2 lines

fix for [#11667] Minor problem with lightmap_uvpack, LC is getting out of control but keeping to annoy theeth

------------------------------------------------------------------------
r14853 | blendix | 2008-05-15 21:40:09 +0200 (Thu, 15 May 2008) | 5 lines


Fix for bug #11650: removing uv layers in editmode did not work correct.
Fix for bug #11661: bake to viewport uv layer instead of render uv layer.


------------------------------------------------------------------------
r14852 | briggs | 2008-05-15 21:35:17 +0200 (Thu, 15 May 2008) | 8 lines

-> FLT import bug  (loose vertices)

New faceweld code broke the import of meshes with loose
vertices. Also added exception handling to the importer
and exporter so that UI doesnt quite when errors are encountered.
Instead traceback is printed to stderr and control returns to
the script UI

------------------------------------------------------------------------
r14851 | jiri | 2008-05-15 21:30:30 +0200 (Thu, 15 May 2008) | 3 lines

Last bug fix of #10999. This should finaly work (tested by jesterking).


------------------------------------------------------------------------
r14850 | campbellbarton | 2008-05-15 16:44:39 +0200 (Thu, 15 May 2008) | 3 lines

Sculpt buttons had their events set to zero, this mean clicking on buttons would pass through to 3D view and sculpt, use B_NOP instead.
Opening many panels would print an error in the console, show an error message now so users dont get confused.

------------------------------------------------------------------------
r14849 | campbellbarton | 2008-05-15 15:18:56 +0200 (Thu, 15 May 2008) | 3 lines

changing between libraries with the append/link library selector didnt re-read a new blend file when it alredy had one loaded.
it looks like this only ever worked for the first library selected.

------------------------------------------------------------------------
r14848 | aligorith | 2008-05-15 10:05:56 +0200 (Thu, 15 May 2008) | 3 lines

Bugfix #11293: IPO-Driver Links Lost on Renaming Bones

IPO's were not being checked for drivers that linked to bones that were renamed when fixing dependencies after renaming bones. Note: PyDrivers will not benefit from this.
------------------------------------------------------------------------
r14847 | schlaile | 2008-05-15 08:47:54 +0200 (Thu, 15 May 2008) | 6 lines

== FFMPEG ==

Added additional entry, so that ffmpeg encoding options can
be added using their name instead of "the menu(tm)".


------------------------------------------------------------------------
r14846 | ben2610 | 2008-05-14 22:22:57 +0200 (Wed, 14 May 2008) | 1 line

Fix BGE bug #7532: TrackTo Actuator does not work correctly if it has a Vertex Parent.  This is only a partial fix: the user must put the parent vertex at the center of the parent object and disable the physics on the tracking object (use empty or collision free object).
------------------------------------------------------------------------
r14844 | briggs | 2008-05-14 21:29:33 +0200 (Wed, 14 May 2008) | 6 lines

-> FLT Export bugfix

Export of open faces on export was dropping
the last vertex. Also removed recursion from
function in order to make it safe for large polygons.

------------------------------------------------------------------------
r14841 | campbellbarton | 2008-05-14 18:49:33 +0200 (Wed, 14 May 2008) | 2 lines

forgot to use the thread setting function for rendering. (was only used for baking)

------------------------------------------------------------------------
r14840 | campbellbarton | 2008-05-14 18:40:25 +0200 (Wed, 14 May 2008) | 3 lines

uvcalc_lightmap would raise an error on meshes with no faces.
auto-threads wasnt working for baking.

------------------------------------------------------------------------
r14837 | theeth | 2008-05-14 16:53:12 +0200 (Wed, 14 May 2008) | 1 line

Missing hotkey in menu for Align to Transform Orientation
------------------------------------------------------------------------
r14836 | blendix | 2008-05-14 15:30:36 +0200 (Wed, 14 May 2008) | 7 lines


Minor particle system fixes:
- Changed some tooltips.
- Refresh with reactors and shared particle settings.
- Copying of child particles.


------------------------------------------------------------------------
r14835 | theeth | 2008-05-14 14:24:38 +0200 (Wed, 14 May 2008) | 5 lines

Final fix fo revision 14827

Fixing UV Quad Constraint when cancelling transform. Also, transdata conversion is a bit faster for all UV transforms.

Patch by Cambo, reviewed and revised.
------------------------------------------------------------------------
r14834 | theeth | 2008-05-14 11:30:27 +0200 (Wed, 14 May 2008) | 5 lines

== Transform orientation bugfix ==

Fallback to global if the selected orientation doesn't exists.

This only happens when switching between scenes or screens(orientations are per view3d)
------------------------------------------------------------------------
r14833 | aligorith | 2008-05-14 11:00:22 +0200 (Wed, 14 May 2008) | 1 line

NLA and IPO now have the "AfterTrans Keyframe" option that prevents the creation of duplicate keyframes after transform.
------------------------------------------------------------------------
r14829 | schlaile | 2008-05-13 22:32:52 +0200 (Tue, 13 May 2008) | 5 lines

== FFMPEG ==

Not all versions of ffmpeg seem to have av_find_opt. Added my own version... grmbl.


------------------------------------------------------------------------
r14828 | theeth | 2008-05-13 15:20:47 +0200 (Tue, 13 May 2008) | 5 lines

Todo [#5743] Rotate dosnt work at high zoom

Fixed by only conditionally resetting the start of the triangle used to calculate the angle to when an angle is actually measured (so really small angle don't result in continuous deltas of 0 degree).

However, the smallest rotation angle is still limited by the precision of the acos function (here: 0.02 degrees, 0.02 / 30 with Shift pressed).
------------------------------------------------------------------------
r14827 | campbellbarton | 2008-05-13 12:19:28 +0200 (Tue, 13 May 2008) | 2 lines

canceling UV transform would still run the be_square function

------------------------------------------------------------------------
r14826 | theeth | 2008-05-13 12:17:46 +0200 (Tue, 13 May 2008) | 3 lines

[#8146] Objects rotate in wrong direction when using numeric input (R x <num>)

Don't flip axis to face camera on num input.
------------------------------------------------------------------------
r14825 | campbellbarton | 2008-05-13 12:04:04 +0200 (Tue, 13 May 2008) | 2 lines

disabled drawing the 2d image cursor when painting, added copy bevel weight to the edge copy menu.

------------------------------------------------------------------------
r14824 | campbellbarton | 2008-05-13 08:12:33 +0200 (Tue, 13 May 2008) | 3 lines

[#11152] [C] key shortcut is broken in UV/Image Editor
Only allow this inside paint mode.

------------------------------------------------------------------------
r14823 | briggs | 2008-05-13 04:22:57 +0200 (Tue, 13 May 2008) | 5 lines

-> Fix for bug in 'Select Non-Manifold'

Select non-manifold would select stray vertices even when in
non-vertex modes. Fixed.

------------------------------------------------------------------------
r14819 | campbellbarton | 2008-05-12 23:12:10 +0200 (Mon, 12 May 2008) | 2 lines

last commit had a typo, also adjusted teh and colour instances

------------------------------------------------------------------------
r14818 | campbellbarton | 2008-05-12 22:59:46 +0200 (Mon, 12 May 2008) | 2 lines

confined unprofessional print to debug mode ;)

------------------------------------------------------------------------
r14816 | campbellbarton | 2008-05-12 20:30:50 +0200 (Mon, 12 May 2008) | 2 lines

mirror face UVs and color was rotating, shift for alternate axis also wasnt implimented

------------------------------------------------------------------------
r14815 | blendix | 2008-05-12 19:41:03 +0200 (Mon, 12 May 2008) | 4 lines


Fix for bug #11128: render window shows undithered image.


------------------------------------------------------------------------
r14814 | blendix | 2008-05-12 19:30:32 +0200 (Mon, 12 May 2008) | 5 lines


Fix for bug #11114: boids physics went wrong when the distance between
particles was exactly 0.0, for example with emission from verts.


------------------------------------------------------------------------
r14813 | schlaile | 2008-05-12 19:16:54 +0200 (Mon, 12 May 2008) | 6 lines

== Ipo ==

This fixes [#11118] Record Mouse in IPO Curve Editor 2.46rc3
and adds thereby a new feature: correct audio sync to IPO mouse recording :)


------------------------------------------------------------------------
r14812 | jiri | 2008-05-12 18:22:49 +0200 (Mon, 12 May 2008) | 3 lines

Bug fix of #10999. mbproc->start was useless.


------------------------------------------------------------------------
r14810 | blendix | 2008-05-12 13:48:55 +0200 (Mon, 12 May 2008) | 6 lines


Fix for bug #11140: explode modifier could run out of memory quite
quickly because it allocated a totvert*totvert size array, now uses
edgehash instead.


------------------------------------------------------------------------
r14809 | schlaile | 2008-05-12 11:01:15 +0200 (Mon, 12 May 2008) | 9 lines

== FFMPEG ==

Added (disabled) MKV support. Might come handy later, if someone finds
out, why it instantly crashes after 2 frames.

Made it impossible to set min_rate higher than max_rate in render buttons
panel.


------------------------------------------------------------------------
r14808 | campbellbarton | 2008-05-12 09:32:46 +0200 (Mon, 12 May 2008) | 2 lines

swapped the order of the UV snap menu so Cursor->Selection the 4th, as with the 3d view.

------------------------------------------------------------------------
r14807 | aligorith | 2008-05-12 06:25:53 +0200 (Mon, 12 May 2008) | 3 lines

Bugfix for Separate Armatures:

Constraint relinking now works correctly for this tool, so it should be safe to be used by users now.
------------------------------------------------------------------------
r14805 | khughes | 2008-05-12 00:51:56 +0200 (Mon, 12 May 2008) | 3 lines

Move variable declaration, wouldn't compiler with MSVC (reports by jms).


------------------------------------------------------------------------
r14801 | schlaile | 2008-05-11 22:40:55 +0200 (Sun, 11 May 2008) | 8 lines

== FFMPEG ==

Add ffmpeg expert option (meaning _all_ ffmpeg option) to render dialog
using properties.

Also adds: H264 preset, that doesn't screw up output.


------------------------------------------------------------------------
r14799 | campbellbarton | 2008-05-11 21:58:46 +0200 (Sun, 11 May 2008) | 4 lines

transform manipulator didnt follow the active face in some cases, also rotate about active mixed with normal did not work as it did in 2.45, where the active edge could be used 
as a rotation 
axis (this is quite useful)

------------------------------------------------------------------------
r14798 | ben2610 | 2008-05-11 20:45:30 +0200 (Sun, 11 May 2008) | 7 lines

fix BGE bug #8668: Behavior of os.getcwd() is not consistent between operating systems

Add a function GameLogic.expandPath() that works like Blender.sys.expandpath() and is also available in the BlenderPlayer.
Fix the game actuator in the BlenderPlayer to work like in Blender: 
- try first to load the .blend from the current working directory
- if not found, try to load from the startup .blend or runtime base directory

------------------------------------------------------------------------
r14797 | campbellbarton | 2008-05-11 16:29:11 +0200 (Sun, 11 May 2008) | 2 lines

bad mistake in last commit, though it still worked.

------------------------------------------------------------------------
r14796 | lukep | 2008-05-11 15:33:27 +0200 (Sun, 11 May 2008) | 2 lines

protecting by #ifdef0 debug prints for ndof

------------------------------------------------------------------------
r14795 | campbellbarton | 2008-05-11 15:28:57 +0200 (Sun, 11 May 2008) | 3 lines

revealing selected faces in the UV window with sync selection disabled and when both UV and editmode were are in face-sel-mode would result in selected faces having unselected 
edges.

------------------------------------------------------------------------
r14794 | ton | 2008-05-11 15:27:22 +0200 (Sun, 11 May 2008) | 5 lines

Bias for irregular lamp buffers now allow minimum of 0.001.
For larger architecture environments it was proved to be necessary.



------------------------------------------------------------------------
r14793 | campbellbarton | 2008-05-11 15:10:56 +0200 (Sun, 11 May 2008) | 2 lines

Shift+H in editmode with only faces selected would result in selected faces having unselected edges.

------------------------------------------------------------------------
r14792 | aligorith | 2008-05-11 15:07:40 +0200 (Sun, 11 May 2008) | 5 lines

NLA Transform Bugfixes:
* Scaling NLA-strips now resets their scale setting correctly at all times
* Added safe-guards against negative scaling being created through the use of the transform tools.

Note: at scale 0 or thereabouts, there will still be a little blip, when keyframes are scaled as if scale were 1.0f. It's quite harmless.
------------------------------------------------------------------------
r14791 | aligorith | 2008-05-11 14:57:01 +0200 (Sun, 11 May 2008) | 2 lines

Fix compiler warnings in particle.c and editface.c.
* unitialised/unused vars
------------------------------------------------------------------------
r14790 | campbellbarton | 2008-05-11 14:41:12 +0200 (Sun, 11 May 2008) | 7 lines

added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 
for running these scripts outside blender.

The error looked like this.
SyntaxError: Non-ASCII character '\xe4' in file ./3ds_export.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


------------------------------------------------------------------------
r14789 | aligorith | 2008-05-11 14:34:56 +0200 (Sun, 11 May 2008) | 3 lines

More bugfixes for Armature Separation/Joining:
* Move armatures out of posemode before joining/separating, so that bones don't mysteriously disappear after the operation
* Added an undo push and fixed up hotkey access for armature separation
------------------------------------------------------------------------
r14788 | ton | 2008-05-11 14:34:39 +0200 (Sun, 11 May 2008) | 3 lines

Anticipating the final final final rc build #5!


------------------------------------------------------------------------
r14787 | aligorith | 2008-05-11 14:17:52 +0200 (Sun, 11 May 2008) | 3 lines

Bugfix:

Found a little bug in the Armature Joining code due to the 'imat' var being defined twice and used for two different things. This was brought to light by Valgrind output (thanks Campbell) 
------------------------------------------------------------------------
r14786 | aligorith | 2008-05-11 13:53:12 +0200 (Sun, 11 May 2008) | 1 line

Separating armatures should now be more stable than it was, but is still too unstable to enable for release. So for now, the old warning stands. 
------------------------------------------------------------------------
r14785 | campbellbarton | 2008-05-11 13:34:39 +0200 (Sun, 11 May 2008) | 2 lines

fix for [#11136] Segmentation fault when copying objects with hairs

------------------------------------------------------------------------
r14784 | stiv | 2008-05-11 08:11:23 +0200 (Sun, 11 May 2008) | 3 lines

fix compiler warnings.
tsk tsk - implicit declaration of functions. 

------------------------------------------------------------------------
r14783 | stiv | 2008-05-11 06:15:21 +0200 (Sun, 11 May 2008) | 6 lines

Initial commit for BPy Particle patch #8557 from Cedric Paille
Thanks, Cedric!

*** WARNING ****   This is a Work In Progress   *** Warning ****


------------------------------------------------------------------------
r14782 | joeedh | 2008-05-11 04:28:01 +0200 (Sun, 11 May 2008) | 4 lines

=BPy bugfix=

Little python bugfix, events were never sent to space handlers when using the
manipulator.  This is necessary for e.g. movable pivot pyconstraints.
------------------------------------------------------------------------
r14781 | campbellbarton | 2008-05-10 21:05:46 +0200 (Sat, 10 May 2008) | 2 lines

fix for [#11121] mouse wheel dont work when playing animation

------------------------------------------------------------------------
r14779 | hos | 2008-05-10 16:05:35 +0200 (Sat, 10 May 2008) | 21 lines

Reverting vrml97_export.py to it's state at revision 14751 because:

1) Bug #6692 is actually a feature request. While I do think that
Michalis' patch is a worthy change, we don't have time to test
this at this stage in the release cycle (and svn is supposedly
closed to new features anyways). I'm sorry Michalis, this will
have to wait until after release.

2) I have looked at bug #8814 a while ago, but I have not yet found
a good solution (and perhaps the solution is to *not* export faces 
without materials assigned). I don't have time to assess whether
revision 14774 presents a worthwhile change or not, and I have no
time to test before release. Also I don't like that the 'fix' for
#8814 is mixed with a fix for a previous faulty commit.

3) Again, another commit to a script I maintain without consulting
me first. Not cool!

Chris


------------------------------------------------------------------------
r14778 | campbellbarton | 2008-05-10 15:09:34 +0200 (Sat, 10 May 2008) | 2 lines

added access to object alpha since there is alredy ipo access

------------------------------------------------------------------------
r14777 | campbellbarton | 2008-05-10 14:43:53 +0200 (Sat, 10 May 2008) | 2 lines

sequencer non-square-pixel display didnt offset correctly, also made this only work with images. (not luma waveforms etc)

------------------------------------------------------------------------
r14776 | blendix | 2008-05-10 14:33:15 +0200 (Sat, 10 May 2008) | 6 lines


Fix for second part of bug #11107: physics systems were referring to
vertex groups with a number, but this got out of sync if any vertex
group was deleted, now it properly updates it.


------------------------------------------------------------------------
r14775 | campbellbarton | 2008-05-10 12:57:22 +0200 (Sat, 10 May 2008) | 2 lines

fix for [#1473] align camera to view : no IPO update

------------------------------------------------------------------------
r14774 | campbellbarton | 2008-05-10 09:58:10 +0200 (Sat, 10 May 2008) | 5 lines

fix for [#8814] VRML 97 Exporter bug (empty coordIndex [] indexes) Blender V2.45
null materials were not exported, but would also mess up the assignment of materials for any valid materials after the empty slots.
also made a mistake last recently that Michalis Kamburelis pointed out, changing the default orientation incorrectly. this is now set 
back to what it was in Michalis's patch.

------------------------------------------------------------------------
r14772 | campbellbarton | 2008-05-09 22:08:28 +0200 (Fri, 09 May 2008) | 3 lines

fix for [#8359] Sequencer image preview: HOME hotkey zooming at output res, not at "full view"
also made image and sequencer account for aspect ratio and added numpad 1,2,4,8 keys for zooming.

------------------------------------------------------------------------
r14771 | sirdude | 2008-05-09 22:00:18 +0200 (Fri, 09 May 2008) | 7 lines

This is patch: [#9050] Single step .svn dir removal for Makefile (release)
From gsr.

It cleans up removing .svn dirs from the directorys that get copied over.

Kent

------------------------------------------------------------------------
r14770 | campbellbarton | 2008-05-09 19:37:01 +0200 (Fri, 09 May 2008) | 3 lines

fix for [#6104] CR generates space at String Creation
replace windows line endings (\r\n) with \n rather then inserting spaces.

------------------------------------------------------------------------
r14769 | campbellbarton | 2008-05-09 19:13:03 +0200 (Fri, 09 May 2008) | 3 lines

render layer saving script assumed scriptsdir existed.
apply def script assumed the mesh had all the objects vertex groups.

------------------------------------------------------------------------
r14768 | blendix | 2008-05-09 17:51:20 +0200 (Fri, 09 May 2008) | 5 lines


Fix for bug #7030: extrude region doesn't correctly compute
the average normal.


------------------------------------------------------------------------
r14767 | blendix | 2008-05-09 17:32:55 +0200 (Fri, 09 May 2008) | 5 lines


Fix for bug #7068: displace node crashes with procedural
texture input as vectors.


------------------------------------------------------------------------
r14766 | campbellbarton | 2008-05-09 17:21:23 +0200 (Fri, 09 May 2008) | 3 lines

missed modifier.c last commit, made explode copy some settings.
added back zr's depth buffer wire stuff, but only when wire is being drawn over solid mode. normal wire objects  will still display correctly.

------------------------------------------------------------------------
r14765 | campbellbarton | 2008-05-09 15:59:03 +0200 (Fri, 09 May 2008) | 4 lines

partial fix for [#11107] two problems with explode modifier and vertex group
tooltip patch from olivs - [#10218] Corrected a few tooltips in shading buttons


------------------------------------------------------------------------
r14764 | blendix | 2008-05-09 15:04:36 +0200 (Fri, 09 May 2008) | 5 lines


Fix for bug #10475: added more dependencies for physics systems
with deflectors and fields for proper dependency graph updates.


------------------------------------------------------------------------
r14763 | blendix | 2008-05-09 14:39:56 +0200 (Fri, 09 May 2008) | 6 lines


Fix for bug #8919: uv shadow mesh doesn't update without 3d view
open. Made it so that the dependency graph besides the visible
layers, also updates the edited object.


------------------------------------------------------------------------
r14762 | campbellbarton | 2008-05-09 14:37:26 +0200 (Fri, 09 May 2008) | 2 lines

need to recalc normals for meshes added in object mode

------------------------------------------------------------------------
r14759 | blendix | 2008-05-09 12:26:49 +0200 (Fri, 09 May 2008) | 6 lines


Fix for bug #10894: objects used as particle duplis couldn't be
transformed properly anymore if they had ipo's, same issue also
fixed for dupliframes.


------------------------------------------------------------------------
r14758 | campbellbarton | 2008-05-09 10:01:27 +0200 (Fri, 09 May 2008) | 3 lines

[#10998] Sequencer: some new features missing from the menu items
also added Shift+H for muting unselected and fixed a problem with marker selection not working in the sequencer (shift+rmb logic was reversed)

------------------------------------------------------------------------
r14757 | campbellbarton | 2008-05-09 08:02:39 +0200 (Fri, 09 May 2008) | 2 lines

chris want corrected some of the last commits changes

------------------------------------------------------------------------
r14756 | campbellbarton | 2008-05-09 00:07:00 +0200 (Fri, 09 May 2008) | 3 lines

fix for [#10330] Can't import packages or modules from a user defined script path in 2.46rc3, works in 2.45 (Windows)


------------------------------------------------------------------------
r14755 | genscher | 2008-05-08 23:39:08 +0200 (Thu, 08 May 2008) | 1 line

Fixes wrong menu entry text - fix provided by nudelZ
------------------------------------------------------------------------
r14754 | jiri | 2008-05-08 23:33:15 +0200 (Thu, 08 May 2008) | 3 lines

Potential bug fix of #10999.


------------------------------------------------------------------------
r14753 | elubie | 2008-05-08 22:55:16 +0200 (Thu, 08 May 2008) | 4 lines

== bugfix ==
fix for [#10284] Activate International font hiding text in bookmark window in image browser
- use same font handling for bookmarks as for the regular files.

------------------------------------------------------------------------
r14752 | campbellbarton | 2008-05-08 22:51:22 +0200 (Thu, 08 May 2008) | 3 lines

fix for [#6692] vrml (.wrl) export bug in V2.44 release
patch from Michalis Kamburelis with some minor edits

------------------------------------------------------------------------
r14751 | blendix | 2008-05-08 22:38:38 +0200 (Thu, 08 May 2008) | 4 lines


Bugfix: unwrap pinning did not work correct with aspect ratio option.


------------------------------------------------------------------------
r14750 | campbellbarton | 2008-05-08 22:10:50 +0200 (Thu, 08 May 2008) | 5 lines

fix for [#10581] 2.46 RC3 Sequence editor on OSX renders PNG files as black/empty
use BLI_join_dirfile which makes sure the slashes are there.



------------------------------------------------------------------------
r14749 | blendix | 2008-05-08 21:57:10 +0200 (Thu, 08 May 2008) | 6 lines


Fix for bug #11005: hue-sat-value node was doing unnecessary
clamping, which not only is suboptimal for working with hdr
images, it was also doing the clamping incorrect.


------------------------------------------------------------------------
r14747 | sirdude | 2008-05-08 20:38:21 +0200 (Thu, 08 May 2008) | 13 lines

Fixing up the webplugin defines for the Makefiles.

Now you can do one of the following to disable it:
export NAN_NO_PLUGIN=true
export WITH_BF_WEBPLUGIN=false

or
export WITH_BF_WEBPLUGIN=true to enable building it.
(Its set to false by default)

Kent


------------------------------------------------------------------------
r14746 | migius | 2008-05-08 19:36:08 +0200 (Thu, 08 May 2008) | 1 line

turn off debug mode
------------------------------------------------------------------------
r14745 | migius | 2008-05-08 19:08:28 +0200 (Thu, 08 May 2008) | 2 lines

Collada 1.4 importer script.
first try, minimal modifications for working in debug mode
------------------------------------------------------------------------
r14744 | campbellbarton | 2008-05-08 18:33:55 +0200 (Thu, 08 May 2008) | 5 lines

2.46 todo item, added back seam marking tools from UV-face mode.
Since these conflict with loop select its now an option from the mesh tools panel. also made it possible to alt+rmb and alt+shift+rmb to mark other edge flags (creases, 
bevel weights, sharp edges)


------------------------------------------------------------------------
r14743 | migius | 2008-05-08 17:58:00 +0200 (Thu, 08 May 2008) | 1 line

DXF-importer prepared for ProE files, which are outside of DXF-specification.
------------------------------------------------------------------------
r14742 | aligorith | 2008-05-08 10:59:36 +0200 (Thu, 08 May 2008) | 5 lines

NLA - Bugfix:

Scale and Repeat fields in NLA Transform Properties panel will now ignore negative values instead of clamping them to a near-zero value, which can easily be confused with the strip being 'destroyed'. This shouldn't affect other interface elements, as this change has only been used here. 

(Note: negative scaling should be avoided)
------------------------------------------------------------------------
r14741 | blendix | 2008-05-08 10:41:56 +0200 (Thu, 08 May 2008) | 5 lines


Fix for bug #11002: particle ipo clump did not allow negative values
like the button in the user interface.


------------------------------------------------------------------------
r14739 | campbellbarton | 2008-05-08 09:33:20 +0200 (Thu, 08 May 2008) | 2 lines

this script isnt needed anymore thanks to stivs and gsr

------------------------------------------------------------------------
r14738 | stiv | 2008-05-08 00:46:20 +0200 (Thu, 08 May 2008) | 3 lines

more shell script tweaking.
Thanks to gsrb3d for hints.

------------------------------------------------------------------------
r14737 | ben2610 | 2008-05-08 00:32:45 +0200 (Thu, 08 May 2008) | 1 line

Fix BGE bug #6054: Camera actuator crashes Blender.  The crash occurs when min,max << height (bad practice anyway).
------------------------------------------------------------------------
r14736 | theeth | 2008-05-08 00:26:47 +0200 (Thu, 08 May 2008) | 3 lines

[#10996] Wrong tooltip in "Fields" panel

Also fixed typo and insuficiant length of label Longitudinal
------------------------------------------------------------------------
r14733 | stiv | 2008-05-07 23:21:15 +0200 (Wed, 07 May 2008) | 7 lines

modify script to use long opts; --name vs -n, for example.

This makes epy_docgen.sh compatible with epy_docgen-3.sh.

I am not sure why we would need both scripts.  Perhaps 
someone with epdoc version 3 can test.

------------------------------------------------------------------------
r14731 | campbellbarton | 2008-05-07 22:34:34 +0200 (Wed, 07 May 2008) | 5 lines

was missing depgraph update for centering objects in editmode if they were unselected.
ctrl+num keys for switching subsurf didnt work in editmode if the object wasnt selected. changed this to only operate on the editmode object. also 
disallow ctrl+num to change layers for values above 4.


------------------------------------------------------------------------
r14730 | blendix | 2008-05-07 22:24:06 +0200 (Wed, 07 May 2008) | 5 lines


Fix for bug #10932: area light bug, points behind the lamp could
also get lit.


------------------------------------------------------------------------
r14727 | blendix | 2008-05-07 21:25:43 +0200 (Wed, 07 May 2008) | 5 lines


Possible fix for #9691: blender failing to allocate memory when rendering
particles on windows, now allocates smaller chunks of memory.


------------------------------------------------------------------------
r14726 | campbellbarton | 2008-05-07 20:33:10 +0200 (Wed, 07 May 2008) | 2 lines

fps timer was starting off at 0 fps

------------------------------------------------------------------------
r14723 | blendix | 2008-05-07 18:31:49 +0200 (Wed, 07 May 2008) | 5 lines


Fix for bug #9676: added warning that particles on multires are
not supported on anything else than the first level.


------------------------------------------------------------------------
r14722 | campbellbarton | 2008-05-07 17:38:40 +0200 (Wed, 07 May 2008) | 6 lines

* added support for exporting dupli objects
* option to export modifier applied objects
* option to export quads as tri's
* added back compress option (will default to enabled if you use .x3dz as the extension)


------------------------------------------------------------------------
r14721 | blendix | 2008-05-07 16:58:33 +0200 (Wed, 07 May 2008) | 4 lines


Fix for bug #10990: edge render AA issue.


------------------------------------------------------------------------
r14719 | blendix | 2008-05-07 14:23:51 +0200 (Wed, 07 May 2008) | 5 lines


Bugfix: modified the tooltip to indicate that the maximum length option
for particle paths applies to children.


------------------------------------------------------------------------
r14717 | campbellbarton | 2008-05-07 09:57:18 +0200 (Wed, 07 May 2008) | 3 lines

Setting frame in python allowed negative numbers (was casting to a short with no clamping!)
disable capslock option isnt used anywhere.

------------------------------------------------------------------------
r14715 | campbellbarton | 2008-05-07 02:37:38 +0200 (Wed, 07 May 2008) | 6 lines

fix for [#10290] Wire object hid in the back of soled obj.

reverse wire draworder logic from r4059, wire-only meshes were not using a depth buffer which meant they would not be visible at 
all, if they were after an overlapping solid object in the scene (had this problem for peach too).


------------------------------------------------------------------------
r14714 | campbellbarton | 2008-05-07 01:58:15 +0200 (Wed, 07 May 2008) | 4 lines

fix for [#10180] File Browser buttons disappear after clicking on Window Type button
Spent some time looking into what this could break and it seems like a safe change.


------------------------------------------------------------------------
r14713 | ben2610 | 2008-05-06 22:55:55 +0200 (Tue, 06 May 2008) | 1 line

BGE patch #10492 approved: getLinearVelocity() now can provide local velocity as well.  This patch is harmless and backward compatible; it can go safely into 2.46 release
------------------------------------------------------------------------
r14711 | elubie | 2008-05-06 21:29:37 +0200 (Tue, 06 May 2008) | 6 lines

== bugfix ==
[#10312] Append Link (image browser) bug if combined with Open window
The only place where the special handling in newspace is relevenant is when
opening it with the windowtype_pupmenu. All other overlaying windows( render in image space, scriptspace)
should leave imagebrowser/filebrowser space alone.

------------------------------------------------------------------------
r14710 | campbellbarton | 2008-05-06 20:57:24 +0200 (Tue, 06 May 2008) | 4 lines

patches
[#10529] -p command line option fix
[#8844] Glossy controls Python API

------------------------------------------------------------------------
r14709 | campbellbarton | 2008-05-06 19:54:55 +0200 (Tue, 06 May 2008) | 4 lines

made python add mesh module respect blenders user settings for editmode and view align.
added sys.cleanpath() was a patch in the tracker but blender's internal path cleaning is now more general and can be used from 
python.

------------------------------------------------------------------------
r14706 | blendix | 2008-05-06 17:31:17 +0200 (Tue, 06 May 2008) | 6 lines


Fix for bug: drawing x-ray and transparency with sets didn't
work well, now it draws those type of objects from sets also
at the end.


------------------------------------------------------------------------
r14705 | sirdude | 2008-05-06 11:43:28 +0200 (Tue, 06 May 2008) | 5 lines

Fixes Makefiles for mac_compat_glext.h by updating some include paths.

Kent


------------------------------------------------------------------------
r14704 | blendix | 2008-05-06 10:35:19 +0200 (Tue, 06 May 2008) | 5 lines


Fix for bug #10734: mirror modifier crash with no axis
enabled for mirroring around.


------------------------------------------------------------------------
r14703 | aligorith | 2008-05-06 09:10:30 +0200 (Tue, 06 May 2008) | 5 lines

Bugfixes: 

* NLA scaling was being incorrectly handled with fractional values. This was caused by clamping to integers instead of floats when making sure the scale value was positive. 

* Added checks to help prevent some weird cases that may sometimes occur and cause problems
------------------------------------------------------------------------
r14702 | schlaile | 2008-05-06 00:08:50 +0200 (Tue, 06 May 2008) | 6 lines

== FFMPEG ==

Fixes: [#10703] loading an .avi captured by dosbox causes a segfault
We shouldn't try to close a codec, if we haven't managed to open one... :)


------------------------------------------------------------------------
r14701 | ben2610 | 2008-05-05 23:33:06 +0200 (Mon, 05 May 2008) | 1 line

Add support for GLEXT in MSVC project files - continued: also support BlenderPlayer and release config
------------------------------------------------------------------------
r14700 | blendix | 2008-05-05 23:10:32 +0200 (Mon, 05 May 2008) | 6 lines


Fix for bug #10542: changing particle visualisation type from object to
something else didn't work correct.
Fix for bug #10478: particle system point cache problem.


------------------------------------------------------------------------
r14697 | blendix | 2008-05-05 19:43:13 +0200 (Mon, 05 May 2008) | 4 lines


Fix for bug #10444: environment map crash with qmc.


------------------------------------------------------------------------
r14696 | blendix | 2008-05-05 19:41:14 +0200 (Mon, 05 May 2008) | 5 lines


Fix for bug #10347: particles reset with orbit around selection
option, was doing unnecessary dependency graph calls.


------------------------------------------------------------------------
r14694 | sirdude | 2008-05-05 19:29:11 +0200 (Mon, 05 May 2008) | 6 lines

Fixed some indentation, I stumbled across (spaces vs tabs)
and also removed return 0 from a void stub.

Kent


------------------------------------------------------------------------
r14692 | sirdude | 2008-05-05 19:26:33 +0200 (Mon, 05 May 2008) | 7 lines

fix for bad indexing found by Cyril Brulebois

Its making the identity matrix so I just removed the initalizing values
that were out of bounds.

Kent

------------------------------------------------------------------------
r14688 | aligorith | 2008-05-05 08:38:19 +0200 (Mon, 05 May 2008) | 3 lines

Bugfix:

IPO-Smooth should now give better results. It uses a moving-window approach, which looks at two points on either side of the point in interest (a total of 5 in optimal conditions), and does a weighted average on it.
------------------------------------------------------------------------
r14687 | campbellbarton | 2008-05-05 08:30:19 +0200 (Mon, 05 May 2008) | 2 lines

fix for [#10458] Rc4 Blender crash when activate playback FPS than Alt+A to play animation.

------------------------------------------------------------------------
r14686 | campbellbarton | 2008-05-05 03:46:35 +0200 (Mon, 05 May 2008) | 2 lines

matt ebb found a case where removing the "Real" world button was bad.

------------------------------------------------------------------------
r14685 | khughes | 2008-05-05 02:42:18 +0200 (Mon, 05 May 2008) | 3 lines

Fix potential buffer overflow (found by Cyril Brulebois).


------------------------------------------------------------------------
r14684 | ben2610 | 2008-05-04 23:20:22 +0200 (Sun, 04 May 2008) | 1 line

BGE patch: add support for GLEXT in MSVC project files. User must update glext.h in SDK directory: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h. Get the latest glext.h from http://www.opengl.org/registry/
------------------------------------------------------------------------
r14683 | ben2610 | 2008-05-04 23:14:38 +0200 (Sun, 04 May 2008) | 1 line

Fix BGE bug in patch #8724 (memory optimization): serious problem with alpha texture when Use Blender Material is active and several objects have same texture.  This bug messes up greatly with OpenGL texture. The GE is not usable without this fix.
------------------------------------------------------------------------
r14682 | schlaile | 2008-05-04 19:03:10 +0200 (Sun, 04 May 2008) | 5 lines

== Sequencer ==

Added the missing directory selector button for proxy custom storage...


------------------------------------------------------------------------
r14681 | campbellbarton | 2008-05-04 17:56:59 +0200 (Sun, 04 May 2008) | 2 lines

hopefully the last one...

------------------------------------------------------------------------
r14680 | schlaile | 2008-05-04 17:39:27 +0200 (Sun, 04 May 2008) | 9 lines

== Sequencer ==

Fixed order of operation in 3-way color corrector according to

http://rebelsguide.com/forum/viewtopic.php?t=810

Thanks to mindrones for pointing this out.


------------------------------------------------------------------------
r14679 | campbellbarton | 2008-05-04 17:02:48 +0200 (Sun, 04 May 2008) | 2 lines

missed out on some BLI_convertstringcode's, also found that playing relative quicktime paths from the python api never worked, was using the 'Scene' type cast to a char.

------------------------------------------------------------------------
r14677 | khughes | 2008-05-04 16:14:09 +0200 (Sun, 04 May 2008) | 3 lines

More compiler fixes for BLI_convertstringcode calls


------------------------------------------------------------------------
r14675 | aligorith | 2008-05-04 13:09:30 +0200 (Sun, 04 May 2008) | 1 line

More compiler fixes for BLI_convertstringcode calls
------------------------------------------------------------------------
r14673 | campbellbarton | 2008-05-04 13:00:33 +0200 (Sun, 04 May 2008) | 3 lines

also look for ndof plugin in $HOME/.blender/plugins/3DxNdofBlender.plug, for linux distro's where blender is installed in /usr/bin/blender, installing plugins in /usr/bin/plugins would not be acceptable.


------------------------------------------------------------------------
r14671 | aligorith | 2008-05-04 12:48:45 +0200 (Sun, 04 May 2008) | 1 line

More fixes for compiling
------------------------------------------------------------------------
r14670 | aligorith | 2008-05-04 12:28:10 +0200 (Sun, 04 May 2008) | 1 line

Fix for compiling with FFMPEG enabled due to BLI_convertstringcode
------------------------------------------------------------------------
r14669 | campbellbarton | 2008-05-04 11:41:15 +0200 (Sun, 04 May 2008) | 7 lines

Changed frame numbering to only alter hashes if they are in the filename (not the directory name) to fix bug [#10566] File Open Dialog replaces '#' with '0' in directory names.

removed frame numbering from BLI_convertstringcode into its own function (BLI_convertstringframe), many uses of BLI_convertstringcode were passing dummy frames values anyway.
in cases where adding the current frame number to a filename is needed run BLI_convertstringframe(...) after BLI_convertstringcode(...)

There are some cases Im not sure BLI_convertstringframe is needed, these have been commented as todo, but at least have the same functionality they used to.

------------------------------------------------------------------------
r14668 | lukep | 2008-05-03 19:04:28 +0200 (Sat, 03 May 2008) | 2 lines

change default for darwin for better compatibility with gcc4.0

------------------------------------------------------------------------
r14667 | campbellbarton | 2008-05-03 11:35:20 +0200 (Sat, 03 May 2008) | 2 lines

own error assigning a value out of array bounds thanks Cyril Brulebois for pointing this out.

------------------------------------------------------------------------
r14666 | aligorith | 2008-05-03 04:50:07 +0200 (Sat, 03 May 2008) | 1 line

Added missing menu entries for Preview Range tools
------------------------------------------------------------------------
r14664 | ianwill | 2008-05-02 22:41:33 +0200 (Fri, 02 May 2008) | 9 lines

== PyNodes ==

More bug fixing, reports by Juho (bebraw) Vepsalainen (thanks!)

#10340: a recent fix I made broke handling of pynodes with buggy scripts when loaded from a .blend. (This may have been the reason for #10341, too, caused by saving buggy typeinfo.)

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


------------------------------------------------------------------------
r14663 | ben2610 | 2008-05-02 19:22:28 +0200 (Fri, 02 May 2008) | 1 line

BGE bug fix: set parent actuator change the orientation of object
------------------------------------------------------------------------
r14662 | ben2610 | 2008-05-02 17:47:08 +0200 (Fri, 02 May 2008) | 1 line

Partially revert BGE bug fix #8863: don't send keyboard sensor positive pulse on level, this would badly interfere with keyboard sensors controlling set scene/restart scene actuators. Only send negative pulse on level to stop actuators after scene suspend
------------------------------------------------------------------------
r14661 | lukep | 2008-05-02 17:45:15 +0200 (Fri, 02 May 2008) | 3 lines

 fix for #7314
solution provided by Leandro Inocencio

------------------------------------------------------------------------
r14660 | jiri | 2008-05-02 14:43:46 +0200 (Fri, 02 May 2008) | 6 lines

Fix for bug #8825. find_first_point() finds first points of implicite surface in better way now. It goes 
from center of every metalement to 26 directions and try to find every place, where implicite function 
crosses zero value. Size of step is size of polygonization cube. It can be proofed, that smaller size of step 
is useless.


------------------------------------------------------------------------
r14659 | campbellbarton | 2008-05-02 14:27:05 +0200 (Fri, 02 May 2008) | 2 lines

wizard_curve2tree was opening FBX wiki docs. leaf dupliface object was being offset each time the script ran.

------------------------------------------------------------------------
r14658 | lukep | 2008-05-02 12:48:14 +0200 (Fri, 02 May 2008) | 2 lines

remove a debug print

------------------------------------------------------------------------
r14657 | lukep | 2008-05-02 12:38:50 +0200 (Fri, 02 May 2008) | 3 lines

fix for #10080 copy/paste operations were
broken after first on os X

------------------------------------------------------------------------
r14656 | campbellbarton | 2008-05-02 12:33:32 +0200 (Fri, 02 May 2008) | 2 lines

used fixed width font, set the command history to ignore dupes when pressing up/down

------------------------------------------------------------------------
r14655 | blendix | 2008-05-02 12:22:44 +0200 (Fri, 02 May 2008) | 6 lines


Bugfix: reading in function pointers from a 64 bit .blend on 32 bit
gave "memory block reconstruct: end corrupt" errors. This bug was
harmless, just gave ugly error messages.


------------------------------------------------------------------------
r14654 | ianwill | 2008-05-02 03:01:51 +0200 (Fri, 02 May 2008) | 5 lines

== PyNodes ==

Fix to previous commit, that limited the number of sockets a script could add to a pynode). Remembered that the number of sockets should be limited to MAX_SOCKET - 1 (was MAX_SOCKET), since the pynodes code creates one more at the end to mark the end of the array.


------------------------------------------------------------------------
r14652 | ianwill | 2008-05-02 00:28:18 +0200 (Fri, 02 May 2008) | 11 lines

== PyNodes ==

Bug #10104 reported by bebraw: missing check for how many node sockets were being created by a pynode script. Too many (more than MAX_SOCKET == 64) would crash Blender.

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

Notes: moved the MAX_SOCKET define from node.c to BKE_node.h so I could use it in Node.c. Also improved error reporting in pynodes when errors occur in the init stage.

Thanks Juho (bebraw), Tom (assigned the bug to me) and Brecht (mentioned the MAX_SOCKET define).


------------------------------------------------------------------------
r14651 | ben2610 | 2008-05-01 22:43:18 +0200 (Thu, 01 May 2008) | 1 line

Fix BGE bug #8863: Keyboard Sensor does not send negative pulse if key released while scene suspended.  The fix covers keyboard and mouse sensor
------------------------------------------------------------------------
r14650 | campbellbarton | 2008-05-01 22:31:57 +0200 (Thu, 01 May 2008) | 2 lines

stop centering objects from moving children

------------------------------------------------------------------------
r14649 | campbellbarton | 2008-05-01 21:46:05 +0200 (Thu, 01 May 2008) | 4 lines

deleting a vertex group didn't update the buttons window when the 3d view wasnt open. it also didn't update the 3dview weight paint colors.
copying a group kept appending "_copy" and rose an error when the string was too long. now just add one _copy prefix and number uniquely.


------------------------------------------------------------------------
r14648 | khughes | 2008-05-01 20:52:26 +0200 (Thu, 01 May 2008) | 3 lines

Add library.name attribute, which returns the actual library name used by blender (this may be different from the library.filename attribute).


------------------------------------------------------------------------
r14647 | campbellbarton | 2008-05-01 20:46:50 +0200 (Thu, 01 May 2008) | 3 lines

fix for [#10148] 3D preview render does not update on mouse rotate and pan
(own fault when replacing magic numbers)

------------------------------------------------------------------------
r14646 | jesterking | 2008-05-01 20:20:00 +0200 (Thu, 01 May 2008) | 1 line

* add MSVC9 check for lib_vs2008. (CMake users, please verify. Provided by zebulon).
------------------------------------------------------------------------
r14645 | theeth | 2008-05-01 20:16:21 +0200 (Thu, 01 May 2008) | 7 lines

Surface bugfix (reported by jms on the french newsgroup)

Adding Donut or Sphere surfaces with the Align to View option turned on added broken surfaces.

Those two surface type were always aligned in the past and their creation method were not made to deal with this. Fixed now (that is, they are aligned to view and created correctly if the option is on).

There might be other cases of this bug elsewhere.
------------------------------------------------------------------------
r14644 | blendix | 2008-05-01 19:31:01 +0200 (Thu, 01 May 2008) | 11 lines


Fix for bug #10144: "set editable" on a disabled particle system
could cause crashes.
Fix related to bug #10198: particle mode didn't respect undo steps
set to 0.

Also made the memory statistics print (ctrl+alt+shift+q) use the
more human readable form to give an overview, instead of printing
out a python script.


------------------------------------------------------------------------
r14643 | ben2610 | 2008-05-01 18:00:59 +0200 (Thu, 01 May 2008) | 1 line

Fix BGE bug: dynamic-but-not-rigid objects are added as rigid body during the game.
------------------------------------------------------------------------
r14642 | campbellbarton | 2008-05-01 16:51:06 +0200 (Thu, 01 May 2008) | 3 lines

[#8397] "playback fps' jumps all over the map
average over the last 8 times to reduce flickering. ideally this would show how many frames were drawn in the last second. but I think this is good enough just to get an idea how fast the animation is playing without annoying flicker.

------------------------------------------------------------------------
r14641 | stiv | 2008-05-01 16:22:21 +0200 (Thu, 01 May 2008) | 4 lines

Change plugin.def to pluging.DEF for case sensitive operating systems.

File is source/blender/blenpluginapi/plugin.DEF

------------------------------------------------------------------------
r14640 | jesterking | 2008-05-01 15:54:25 +0200 (Thu, 01 May 2008) | 1 line

* copy plugin header stuffies too.
------------------------------------------------------------------------
r14638 | ben2610 | 2008-05-01 14:35:21 +0200 (Thu, 01 May 2008) | 1 line

Complement to bug fix #8869: crash with alpha mesh
------------------------------------------------------------------------
r14635 | jesterking | 2008-05-01 13:33:52 +0200 (Thu, 01 May 2008) | 1 line

* remove redundant line.
------------------------------------------------------------------------
r14634 | jesterking | 2008-05-01 10:11:08 +0200 (Thu, 01 May 2008) | 1 line

* add missing int rel to BPy_Library and BPy_LibraryData
------------------------------------------------------------------------
r14633 | khughes | 2008-05-01 07:52:35 +0200 (Thu, 01 May 2008) | 3 lines

Add support to bpy.library module for relative paths.


------------------------------------------------------------------------
r14631 | jesterking | 2008-05-01 00:42:12 +0200 (Thu, 01 May 2008) | 2 lines

* Fix Verse bug [#8959] Clients doesn't connect if libverse.a is compiled with -O2
  Merged from Verse SVN (r4524). See Verse bug tracker for bug report.
------------------------------------------------------------------------
r14630 | campbellbarton | 2008-05-01 00:30:52 +0200 (Thu, 01 May 2008) | 7 lines

fix for bugs
[bf-blender-Bug Tracker][6693] x3d export bug in V2.44 release
[bf-blender-Bug Tracker][7773] .x3d exporter problems (moving meshes away)
Updated how objects are transformed, and use Mesh rather then NMesh.
also removed vertex color saving since it was really slow and vcolors are stored per face in blender.


------------------------------------------------------------------------
r14629 | ben2610 | 2008-04-30 21:58:44 +0200 (Wed, 30 Apr 2008) | 4 lines

fix BGE bug #8869: Added objects are not lit correctly

The current layer information is now stored in KX_GameObject and inherited from the parent object when dynamically added. This information is used during the rendering the select the lamps. As the selected lamps are always coming from active layers, their position and orientation are correct. 

------------------------------------------------------------------------
r14624 | blendix | 2008-04-30 15:29:57 +0200 (Wed, 30 Apr 2008) | 4 lines


Fix for bug #9867: issues with making particle systems local.


------------------------------------------------------------------------
r14623 | ton | 2008-04-30 14:39:53 +0200 (Wed, 30 Apr 2008) | 3 lines

RC3 splash "Frank"


------------------------------------------------------------------------
r14622 | ton | 2008-04-30 14:39:41 +0200 (Wed, 30 Apr 2008) | 3 lines

RC3 splash "Frank"


------------------------------------------------------------------------
r14620 | blendix | 2008-04-30 14:02:09 +0200 (Wed, 30 Apr 2008) | 5 lines


Fix for bug #8963: there was still an issue with SSS and transparency
in the shading because of ramps.


------------------------------------------------------------------------
r14619 | elubie | 2008-04-29 23:43:17 +0200 (Tue, 29 Apr 2008) | 4 lines

== bugfix ==
fix for [#6580] invalid file names not handled consistently when saving
only affects windows, where invisible file stream could be created if filename contains ':'

------------------------------------------------------------------------
r14618 | blendix | 2008-04-29 21:51:23 +0200 (Tue, 29 Apr 2008) | 4 lines


Fix for bug #8910: FSA + spotlight halo not working correct together.


------------------------------------------------------------------------
r14617 | elubie | 2008-04-29 20:41:34 +0200 (Tue, 29 Apr 2008) | 4 lines

== mmap for win32 ==
replacement for mmap/munmap on Windows.
Implemented using CreateFileMapping/MapViewOfFile.

------------------------------------------------------------------------
r14616 | blendix | 2008-04-29 18:57:39 +0200 (Tue, 29 Apr 2008) | 5 lines


Fix for bug #9014: crash saving the depth pass with openexr or hdr,
both file formats crashed on saving images with less than 4 channels.


------------------------------------------------------------------------
r14615 | lukep | 2008-04-29 18:22:13 +0200 (Tue, 29 Apr 2008) | 5 lines

getting ARB shaders working again in GE.

This is is a kludge, and only to get a release
working. later solution is to use glew

------------------------------------------------------------------------
r14614 | blendix | 2008-04-29 17:19:58 +0200 (Tue, 29 Apr 2008) | 5 lines


Fix for octree filling print when rendering, the counter was per object,
now counts all faces as it did before.


------------------------------------------------------------------------
r14613 | blendix | 2008-04-29 15:51:47 +0200 (Tue, 29 Apr 2008) | 5 lines


Fix for bug #8949: diffuse tangent shading did not use correctly
normalized normal. Patch by André Pinto, thanks!


------------------------------------------------------------------------
r14612 | blendix | 2008-04-29 11:56:52 +0200 (Tue, 29 Apr 2008) | 5 lines


Fix for bug #9657: ipo's on the object in particle object visualisation
didn't always get correct time.


------------------------------------------------------------------------
r14611 | campbellbarton | 2008-04-29 10:24:33 +0200 (Tue, 29 Apr 2008) | 2 lines

fix gcc warnings

------------------------------------------------------------------------
r14610 | aligorith | 2008-04-29 05:19:11 +0200 (Tue, 29 Apr 2008) | 3 lines

Bugfix #9676; Assigning Driver to Own Object when Pinning IPO Editor

When the IPO Editor is pinned, drivers will now be handled as if they belonged to the object that the ipo-belonged to when the ipo was pinned. This behaviour is more predictable than using the active object.
------------------------------------------------------------------------
r14609 | jesterking | 2008-04-29 00:19:03 +0200 (Tue, 29 Apr 2008) | 2 lines

* make makesdna dependant on DNA header files too, instead of relying on makesdna dependency only.
  Fix through pointer by jaguarandi. Thanks!
------------------------------------------------------------------------
r14608 | campbellbarton | 2008-04-28 23:54:03 +0200 (Mon, 28 Apr 2008) | 2 lines

running scripts in background mode would crash blender when checking a scriptspace areas

------------------------------------------------------------------------
r14607 | campbellbarton | 2008-04-28 23:29:15 +0200 (Mon, 28 Apr 2008) | 3 lines

if a blend file was opened with /./ in the path (for example "some/./path/to/./model.blend" ) the relative paths from created from that location would be incorrect. This results in linked library paths being loaded incorrectly.


------------------------------------------------------------------------
r14606 | blendix | 2008-04-28 22:57:03 +0200 (Mon, 28 Apr 2008) | 14 lines


Fix for bug #8865: on mac os x, with certain processors (I'm guessing
Intel Xeon only), doing a lot of mutex locking is really slow. Getting
the image  buffer for each texture read then made using more threads
actually slow down the render. Now I've split up the function in two
parts, one parts that checks if the image is available, and another
that does a mutex lock and loading if needed.

Changes quite a lot of code, so hopefully doesn't break stuff, but it
seemed to survive test with rendering a number of frames using all
image types and many threads, though this kind of threading problem
only happens once in a while .. so hard to test for.


------------------------------------------------------------------------
r14605 | jesterking | 2008-04-28 21:48:44 +0200 (Mon, 28 Apr 2008) | 1 line

* improve the clean code. Instead of doing it the dumb way, do it smarter.
------------------------------------------------------------------------
r14603 | campbellbarton | 2008-04-28 21:13:38 +0200 (Mon, 28 Apr 2008) | 4 lines

fix for [#9649] svg2obj.py needs a patch,
slight change to the fix suggested, the svg imported was assuming that
"fill:" and "#" being in a string meant there was "fill:#", but the # could be used for other properties.

------------------------------------------------------------------------
r14602 | campbellbarton | 2008-04-28 19:14:56 +0200 (Mon, 28 Apr 2008) | 2 lines

vertex parents to a mesh that no verts would crash blender

------------------------------------------------------------------------
r14601 | jesterking | 2008-04-28 19:14:20 +0200 (Mon, 28 Apr 2008) | 1 line

* make sure makesdna executable gets removed on scons clean.
------------------------------------------------------------------------
r14600 | genscher | 2008-04-28 19:02:55 +0200 (Mon, 28 Apr 2008) | 1 line

Cloth: Old RC1 and RC2 files with cloth should open again and not crash (after the DNA rearrangement to fix a bug yesterday). But be carefull your settings get lost. Best thing to do: 1. write settings down, 2. open blend in new (>=17 subversion) blender and just save the file (and ignore warnings on the command line.) Take this as a good example why not to use svn blender versions for production purposes ;)
------------------------------------------------------------------------
r14598 | khughes | 2008-04-28 18:14:31 +0200 (Mon, 28 Apr 2008) | 5 lines

Add BF_X264_CONFIG and BF_XVIDCORE_CONFIG flags to scons, to allow passing
configuration info for cross-compiling to ./configure scripts.  Also let
makesdna use PLATFORM_LINKFLAGS.


------------------------------------------------------------------------
r14597 | campbellbarton | 2008-04-28 18:09:17 +0200 (Mon, 28 Apr 2008) | 5 lines

fix for [#9651] raw_export.py tooltip outdated?
own error, bpath looper was trying to free NULL pointer,
added fromOrig to python mtex api
made FromOrig and FromDupli tooltips be understandable 

------------------------------------------------------------------------
r14596 | blendix | 2008-04-28 16:54:24 +0200 (Mon, 28 Apr 2008) | 5 lines


Fix for displacement baking when it doesn't find a hit. Instead
of writing 0.0 it now writes the neutral value of 0.5.


------------------------------------------------------------------------
r14595 | blendix | 2008-04-28 15:33:52 +0200 (Mon, 28 Apr 2008) | 5 lines


Fix for bug #9652: "draw zbuffer values" in the image editor did
not work correct.


------------------------------------------------------------------------
r14594 | aligorith | 2008-04-28 14:26:41 +0200 (Mon, 28 Apr 2008) | 3 lines

Bugfix:

Restored Border-Select in the Action Editor for Action Channels. Was removed when doing the recode and never added back, hence a regression.
------------------------------------------------------------------------
r14592 | blendix | 2008-04-28 14:14:30 +0200 (Mon, 28 Apr 2008) | 7 lines


Fix for bug #9687: crash with FSA when compiling with openexr support.
FSA requires exr, so I've disabled the buttons too in that case. I also
noticed CMake doesn't enable openexr by default, but a lot of the render
code relies on it, so I've enabled it by default now.


------------------------------------------------------------------------
r14591 | aligorith | 2008-04-28 13:40:38 +0200 (Mon, 28 Apr 2008) | 3 lines

== Action Editor - Group Colors ==

Made option to show group colors the default. If this is too colourful for you, disable it in the View menu. 
------------------------------------------------------------------------
r14590 | blendix | 2008-04-28 13:05:01 +0200 (Mon, 28 Apr 2008) | 5 lines


Fix for bug #9504: compile error with verse on mingw, also fixed
in verse svn.


------------------------------------------------------------------------
r14589 | jesterking | 2008-04-28 12:47:45 +0200 (Mon, 28 Apr 2008) | 1 line

* try/except block around import of BoolOption, to make sure one can use scons-0.98.2 to compile with.
------------------------------------------------------------------------
r14588 | aligorith | 2008-04-28 12:35:51 +0200 (Mon, 28 Apr 2008) | 3 lines

Bugfix #8937: Action constraint for non-armatures shows lag on clear transform

The problem here was that the owner instead of the workob was being used to find the effect of the action constraint.
------------------------------------------------------------------------
r14587 | jesterking | 2008-04-28 11:41:51 +0200 (Mon, 28 Apr 2008) | 1 line

* add small bit of docs about BF_CONFIG
------------------------------------------------------------------------
r14586 | aligorith | 2008-04-28 09:38:06 +0200 (Mon, 28 Apr 2008) | 10 lines

== Action Editor - Action Groups finishing touches ==

* Added a new tool "Synchronise with Armature" (found under Channels->Grouping), which synchronises the grouping of action-channels and the grouping of their relevant bones. 

This only works when the active object is an armature, and the action isn't pinned. All of the action's action-channels are removed from their groups, and are added back into groups according to the current grouping of their corresponding bones. 

A bit of testing for weird cases is needed.


* Group colours are now not drawn if the group originally was using the 'default' colour-set. 
------------------------------------------------------------------------
r14585 | aligorith | 2008-04-28 07:14:26 +0200 (Mon, 28 Apr 2008) | 3 lines

Bugfix:

The Outliner was being built incorrectly, leading to fake "IPO-Driver"-linked objects being shown under IPO's. These were caused by a missing break statement, which lead to the IPO case flowing on to the Action case. This could cause crashes with undo on some computers.
------------------------------------------------------------------------
r14584 | aligorith | 2008-04-28 06:46:28 +0200 (Mon, 28 Apr 2008) | 1 line

Assorted tidy-ups for keyframing (including auto-keying), while trying to track down a bug.
------------------------------------------------------------------------
r14583 | aligorith | 2008-04-28 02:51:31 +0200 (Mon, 28 Apr 2008) | 1 line

Adding new poses to a PoseLib also creates Action Groups in the PoseLib, just like for keyframing.
------------------------------------------------------------------------
r14582 | aligorith | 2008-04-28 02:40:38 +0200 (Mon, 28 Apr 2008) | 3 lines

Compiler warning fixes:
* in scene.c in blenkernel, set_last_seq (defined in src - editseq.c) is called... this may/may not need some stubs for game-engine stuff
* removed unused vars due to old particle-effects stuff 
------------------------------------------------------------------------
r14581 | genscher | 2008-04-28 00:34:19 +0200 (Mon, 28 Apr 2008) | 1 line

Subversion bump because of big cloth struct change
------------------------------------------------------------------------
r14580 | lukep | 2008-04-28 00:05:53 +0200 (Mon, 28 Apr 2008) | 6 lines

follow-up for the universal darwin config.py


also added bal level call stub for set_last_seq,
player building was broken by recent commit

------------------------------------------------------------------------
r14579 | genscher | 2008-04-28 00:04:47 +0200 (Mon, 28 Apr 2008) | 1 line

Bugfix: 32bit cloth files were loaded bad in 64bit blenders and the way arround. The e.g. GUI-only variable 'mass' was reseted to 0. Problem: makesdna doesn't cry out on compile - I wonder why this differences could happen. Solution: Rearange cloth DNA, resort things, clear up and bug was gone - weird. Problem left: Every file having cloth enabled before this revision is incompatible with this version. If anyone know a better solution, please go ahead
------------------------------------------------------------------------
r14578 | campbellbarton | 2008-04-27 23:44:28 +0200 (Sun, 27 Apr 2008) | 2 lines

take 2, disable enter editmode and enter editmode in .B.blend, commited rev 14289 but had to be reverted because other changes were made.

------------------------------------------------------------------------
r14577 | lukep | 2008-04-27 23:21:21 +0200 (Sun, 27 Apr 2008) | 6 lines

attempt for an universal Os X config file
should work both on intel and powerpc
from 10.36 (ppc only) to 10.5

please test

------------------------------------------------------------------------
r14575 | campbellbarton | 2008-04-27 22:43:25 +0200 (Sun, 27 Apr 2008) | 5 lines

* Group unlinking wasnt removing groups from particle systems, or render layers light overrid.
* BPath sequencer strip looper was only operating on the active scene, now look through all scenes.
* The active sequence strip wasnt being reset when scenes switched, so you could see the previous scenes strip when switching to a new scene.


------------------------------------------------------------------------
r14574 | jesterking | 2008-04-27 22:17:14 +0200 (Sun, 27 Apr 2008) | 3 lines

* change BF_CONFIG so that it is understood as 'user-config.py' instead of config/platform-config.py it tried to do before. If defined, it overrides the search (and potential use) of user-config.py.
   It didn't work before anyway, so this change should affect nobody.
   usage: scons BF_CONFIG=someconfigfile
------------------------------------------------------------------------
r14573 | jesterking | 2008-04-27 21:51:49 +0200 (Sun, 27 Apr 2008) | 1 line

* make sure BF_CONFIG is an accepted ARGUMENT
------------------------------------------------------------------------
r14571 | khughes | 2008-04-27 21:20:35 +0200 (Sun, 27 Apr 2008) | 4 lines

Make "scons clean" remove config files for ffmpeg, x264, xvidcore.  Also
replace tabs with spaces.


------------------------------------------------------------------------
r14570 | jesterking | 2008-04-27 21:13:40 +0200 (Sun, 27 Apr 2008) | 1 line

* let's copy *all* FFMPEG libraries, shall we?
------------------------------------------------------------------------
r14568 | lukep | 2008-04-27 20:29:49 +0200 (Sun, 27 Apr 2008) | 2 lines

forgot to remove debug print

------------------------------------------------------------------------
r14567 | nicholasbishop | 2008-04-27 20:26:43 +0200 (Sun, 27 Apr 2008) | 7 lines

== Multires ==

Fixed bug #9680, Crash on render

Caused by multires sometimes looking at editmesh data rather than mesh data during render


------------------------------------------------------------------------
r14566 | campbellbarton | 2008-04-27 20:26:20 +0200 (Sun, 27 Apr 2008) | 3 lines

remove old particle system.
also removed quat, dquat, and sumohandle from the Object struct since they aren't used anywhere.

------------------------------------------------------------------------
r14565 | elubie | 2008-04-27 20:25:52 +0200 (Sun, 27 Apr 2008) | 6 lines

== imagebrowser ==
fix international font handling, filenames weren't displayed due to lack of utf8 conversion. Works like in filesel now.

For future release, iconv library (for Windows) needs to be updated to support locale_charset for getting the current system charset settings.


------------------------------------------------------------------------
r14564 | lukep | 2008-04-27 20:22:07 +0200 (Sun, 27 Apr 2008) | 14 lines

this commit allow to pass custom compile flags 
to all ffmpeg related libs

ffmpeg use it own build system and dont respect 
the flags in config.py

define BF_FFMPEG_EXTRA in config.py to pass 
those flags.

I use this on Os X to pass the SDK vars :
-isysroot
-mmacosx-version-min


------------------------------------------------------------------------
r14562 | jesterking | 2008-04-27 19:00:22 +0200 (Sun, 27 Apr 2008) | 1 line

* copy FFMPEG libraries on Windows to BF_INSTALLDIR when done.
------------------------------------------------------------------------
r14561 | ben2610 | 2008-04-27 17:02:37 +0200 (Sun, 27 Apr 2008) | 1 line

Update MSVC project files to support ffmpeg. Make sure you do svn update in lib/windows to link with latest ffmpeg libraries
------------------------------------------------------------------------
r14559 | campbellbarton | 2008-04-27 16:29:49 +0200 (Sun, 27 Apr 2008) | 2 lines

Make apply size/rot take children into account (apricot request)

------------------------------------------------------------------------
r14558 | campbellbarton | 2008-04-27 13:37:57 +0200 (Sun, 27 Apr 2008) | 8 lines

fix for own error when trying to fix python command line crash,
was calling screenmain() before executing the python script which meant it was never executed (therefore no crash :) )

Moved screenmain() back to the the end of main() and added a TESTBASELIB_BGMODE which checks for G.vd and uses the scene layer if its not there. Of course python should not be running stuff that uses G.vd :/

Also made python scripts stay attached to screens when LOAD UI is disabled. This means you can load a new blend file and the python console can stay open, has been tested for a while in the apricot branch.


------------------------------------------------------------------------
r14557 | ben2610 | 2008-04-26 22:41:25 +0200 (Sat, 26 Apr 2008) | 1 line

BGE bug: crash when an object being tracked-to is deleted (bad practice anyway).  Fix by creating a generic cross reference between actuators (only TrackTo uses it at the moment) and objects so that the actuator is informed when the target object is deleted
------------------------------------------------------------------------
r14555 | campbellbarton | 2008-04-26 15:08:57 +0200 (Sat, 26 Apr 2008) | 3 lines

BLI_split_dirfile was being used in cases it should not have been,
Added BLI_split_dirfile_basic, that only splits the path into directory and file. without checking the dir exists or creating it, without changing the original string that is passed to it.

------------------------------------------------------------------------
r14554 | blendix | 2008-04-25 22:52:40 +0200 (Fri, 25 Apr 2008) | 5 lines


Fix for bug #9664: switching to particle edit mode with ctrl+shift+tab
from paint modes didn't work correct.


------------------------------------------------------------------------
r14553 | khughes | 2008-04-25 21:18:24 +0200 (Fri, 25 Apr 2008) | 4 lines

Suggestion by GSR; move "extern C" into header file, remove "_" from
utf8towchar function name.


------------------------------------------------------------------------
r14550 | campbellbarton | 2008-04-25 19:52:25 +0200 (Fri, 25 Apr 2008) | 3 lines

removed BLI_split_dirfile, it dosnt work with relative paths.
it also makes a directory if its not there, need to look into other uses of this function.

------------------------------------------------------------------------
r14548 | khughes | 2008-04-25 19:11:37 +0200 (Fri, 25 Apr 2008) | 3 lines

Remove redundant utf8towchar() from FTGL code.


------------------------------------------------------------------------
r14546 | ianwill | 2008-04-25 18:35:52 +0200 (Fri, 25 Apr 2008) | 7 lines

== PyNodes ==

1) Added support for a var called "__node__" in pynode scripts, that can be used to point to the desired pynode object, to make sure it is chosen.

2) Fixed a semi-obscure crash that could happen when reparsing a pynode script that was used by multiple nodes in different scenes. Memory corruption would happen if the reparsing failed during the recreation of the pynode object, not when executing it.


------------------------------------------------------------------------
r14545 | campbellbarton | 2008-04-25 18:09:16 +0200 (Fri, 25 Apr 2008) | 5 lines

added sequencer paths to bpath iterator, This needed to use get/set filename callbacks internally because the sequencer stores dir/file separately.
This means when moving large projects with many images/videos/sounds is possible with 'File, External Data, Find Missing Files'.
- needed so we can put peach animatic, glrenders & testrenders on the dvd.
also datatoc.c - brecht's fixes from apricot.

------------------------------------------------------------------------
r14542 | campbellbarton | 2008-04-25 12:12:32 +0200 (Fri, 25 Apr 2008) | 2 lines

fix/workaround for blender crashing when running python runs  text.clear() in background mode. ideally python api would not use this function.

------------------------------------------------------------------------
r14541 | khughes | 2008-04-24 23:35:56 +0200 (Thu, 24 Apr 2008) | 3 lines

Fix compiler warning about nested C comments.


------------------------------------------------------------------------
r14540 | ben2610 | 2008-04-24 23:26:39 +0200 (Thu, 24 Apr 2008) | 1 line

BGE bug: fix a crash at game exit caused by inconsistent controller map after object deletion.  The bug became apparent since the memory leaks have been fixed.
------------------------------------------------------------------------
r14538 | khughes | 2008-04-24 22:10:01 +0200 (Thu, 24 Apr 2008) | 3 lines

Duplicating UTF-8 changes from Revision 14536 in another place in the source tree.  Pointed out in IRC by Kent. 


------------------------------------------------------------------------
r14537 | elubie | 2008-04-24 21:18:46 +0200 (Thu, 24 Apr 2008) | 6 lines

== cmake win32 ==
- fixed CMAKE files for Win32 for new ffmpeg libs
- ignore libc in debug build. 
TODO: debug build with OpenEXR still fails with unresolved externals due to /MTd flag.


------------------------------------------------------------------------
r14536 | khughes | 2008-04-24 20:54:59 +0200 (Thu, 24 Apr 2008) | 7 lines

Interface
---------
Bugfix #9222.  Conversion from UTF-8 to wchar for international fonts did not
check for valid encodings, so user strings with containing invalid characters
could cause crashes.


------------------------------------------------------------------------
r14535 | ben2610 | 2008-04-23 23:48:17 +0200 (Wed, 23 Apr 2008) | 1 line

Better fix for BGE bug #7892: dRot is reversed on dynamic objects.  Make sure that graphic, Bullet and Sumo(deprecated) objects rotate the same way.  This fix reverses the rotation of non-dynamic objects compared to 2.45: you will need to change the sign of dRot in 2.45 games for them to work correctly in 2.46
------------------------------------------------------------------------
r14534 | campbellbarton | 2008-04-23 23:17:47 +0200 (Wed, 23 Apr 2008) | 2 lines

disallow changes to linked groups

------------------------------------------------------------------------
r14531 | ianwill | 2008-04-23 22:06:25 +0200 (Wed, 23 Apr 2008) | 9 lines

== PyNodes ==

Finishing a few needed things before the release: changed ShadeInput vars access from a single getAttribute function to individual methods, one for each var, for faster access (needed, since these are accessed over and over during rendering).

Very repetitive code, so I used a few macros to write it. Compiles w/o warnings here (linux, gcc 4.3.0), please report any problems.

This is just an internal change, the Python API is still the same.


------------------------------------------------------------------------
r14530 | campbellbarton | 2008-04-23 16:04:05 +0200 (Wed, 23 Apr 2008) | 2 lines

added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers

------------------------------------------------------------------------
r14524 | aligorith | 2008-04-23 04:00:27 +0200 (Wed, 23 Apr 2008) | 4 lines

Added missing redraws for Outliner after transforming and Object/Bone with AutoKey on.

This doesn't fix the problems with the corrupted IPO-driver channels in the Outliner after AutoKeying though. I'm not sure what's causing them, but I cannot even seem to be able to disable those channels.

------------------------------------------------------------------------
r14520 | blendix | 2008-04-22 23:53:30 +0200 (Tue, 22 Apr 2008) | 5 lines


Fix for bug #9654: point cache was being reset too often, made
transforming unrelated objects slow.


------------------------------------------------------------------------
r14519 | sirdude | 2008-04-22 21:14:33 +0200 (Tue, 22 Apr 2008) | 6 lines

WITH_BULLET wasn't working for Makefiles.
I changed it so its tests are more inline with other defines.
Jesterking said this shouldn't affect scons so yell at him if it does. ;)

Kent

------------------------------------------------------------------------
r14518 | campbellbarton | 2008-04-22 17:37:54 +0200 (Tue, 22 Apr 2008) | 2 lines

Script templates, metaball creation script from forTe, and camera script from macouno

------------------------------------------------------------------------
r14517 | sirdude | 2008-04-22 16:53:15 +0200 (Tue, 22 Apr 2008) | 11 lines

Patch from Paprmh (Rob)

forgot to update the check for valid sequence plugin version #
(The version bump didn't affect sequence plugins so missed it)

This patch also brought the plugin includes back inline with
imbuf stuff.  I'm putting it on my todo to see if we can't
remove this duplication so that this is not a reoccuring issue.

Kent

------------------------------------------------------------------------
r14515 | campbellbarton | 2008-04-22 16:32:45 +0200 (Tue, 22 Apr 2008) | 4 lines

use detectable autorepeat for X11,
this way, holding a key will only give multiple down events, father then down,up,down,up.... etc.
This is needed for apricot so they can play games in blenders :)

------------------------------------------------------------------------
r14514 | blendix | 2008-04-22 12:34:41 +0200 (Tue, 22 Apr 2008) | 5 lines


Fix for bug #9489: particle uv coordinates were not correct
for children from particles on subsurf.


------------------------------------------------------------------------
r14513 | blendix | 2008-04-22 12:08:00 +0200 (Tue, 22 Apr 2008) | 6 lines


Fix for bug #9491: cancelling bake didn't reset the simulation properly,
now it also keeps the already baked frames in the cache up to the point
is was cancelled.


------------------------------------------------------------------------
r14512 | schlaile | 2008-04-22 09:40:04 +0200 (Tue, 22 Apr 2008) | 5 lines

== FFMPEG ==

Forgot to set audio_codec correctly on output. Shame on me.


------------------------------------------------------------------------
r14511 | aligorith | 2008-04-22 05:43:14 +0200 (Tue, 22 Apr 2008) | 1 line

Added a check to make sure repeat value isn't 0.
------------------------------------------------------------------------
r14510 | campbellbarton | 2008-04-22 00:17:49 +0200 (Tue, 22 Apr 2008) | 2 lines

bpy sequencer api can add color strips, changing strip length wasnt re-allocating stripdata which was causing memory free errors, added proxy options, directort read/write and some more flags.

------------------------------------------------------------------------
r14509 | genscher | 2008-04-22 00:02:15 +0200 (Tue, 22 Apr 2008) | 1 line

Cloth: Fix point cache memory leak when duplicating cloth
------------------------------------------------------------------------
r14506 | sirdude | 2008-04-21 22:57:23 +0200 (Mon, 21 Apr 2008) | 5 lines

Update of the Urainian translation
Submitted by: Serhij Dubyk 

Kent

------------------------------------------------------------------------
r14505 | elubie | 2008-04-21 21:24:30 +0200 (Mon, 21 Apr 2008) | 3 lines

== SCONS ==
added new ffmpeg libraries to scons win32  msvc build.

------------------------------------------------------------------------
r14503 | aphex | 2008-04-21 17:53:32 +0200 (Mon, 21 Apr 2008) | 20 lines

Bug fix for 8634, 6708, and 5989

This replaces the hard-coded '%PROFILE%\Application Data\..." path 
with the correct language-dependant CSIDL_APPDATA.

PLEASE NOTE!

Checks for the previous location have now been REMOVED. Any data
saved in the old hard-coded location will no longer be found by 
Blender (this will only affect users of non-english windows.)

The installer has been updated to help the user to migrate their data
to the new location of their choice, if necessary.

Order of preference for .blender on windows is now the following:

1) %HOME% environment var
2) Installation Directory (location of blender.exe)
3) "Current User" (CSIDL_APPDATA)
4) "All Users" (CSIDL_COMMON_APPDATA)
------------------------------------------------------------------------
r14502 | blendix | 2008-04-21 12:15:01 +0200 (Mon, 21 Apr 2008) | 5 lines


Fix for bug #9487: converting particle system with dupliverts
to the new system didn't work correct.


------------------------------------------------------------------------
r14500 | blendix | 2008-04-21 11:24:04 +0200 (Mon, 21 Apr 2008) | 5 lines


Fix for bug #9093: array modifier merging didn't work
entirely correct after a recent bugfix.


------------------------------------------------------------------------
r14498 | hos | 2008-04-21 05:56:34 +0200 (Mon, 21 Apr 2008) | 3 lines

CLRF fixes from GSR.


------------------------------------------------------------------------
r14497 | hos | 2008-04-21 05:55:39 +0200 (Mon, 21 Apr 2008) | 2 lines

Small fix from GSR for using pkg-config to find OpenEXR libraries

------------------------------------------------------------------------
r14496 | genscher | 2008-04-20 23:56:49 +0200 (Sun, 20 Apr 2008) | 1 line

Chance wind scaling to be the same as particles
------------------------------------------------------------------------
r14495 | ben2610 | 2008-04-20 23:01:13 +0200 (Sun, 20 Apr 2008) | 1 line

second attempt to fix compilation problem with 2D shaders on systems without GLExt or without shader support: use GL_ARB_shader_objects to conditionally compile the 2D shader code
------------------------------------------------------------------------
r14494 | campbellbarton | 2008-04-20 21:35:02 +0200 (Sun, 20 Apr 2008) | 2 lines

missing cleanup from last commit

------------------------------------------------------------------------
r14493 | campbellbarton | 2008-04-20 21:27:48 +0200 (Sun, 20 Apr 2008) | 2 lines

Patch from Mario Lapin, fixes [#7394] 3ds File Import is broken

------------------------------------------------------------------------
r14492 | genscher | 2008-04-20 21:25:23 +0200 (Sun, 20 Apr 2008) | 1 line

Cloth: Wind was working the way arround due to wrong formula, reported by nudel
------------------------------------------------------------------------
r14491 | campbellbarton | 2008-04-20 20:34:30 +0200 (Sun, 20 Apr 2008) | 2 lines

deleting an ipo vert didnt update the object/bones position

------------------------------------------------------------------------
r14489 | campbellbarton | 2008-04-20 20:19:15 +0200 (Sun, 20 Apr 2008) | 2 lines

missing check for NULL

------------------------------------------------------------------------
r14488 | schlaile | 2008-04-20 18:28:21 +0200 (Sun, 20 Apr 2008) | 6 lines

== FFMPEG / mp3lame ==

Added libmp3lame to extern. (Ton that was the last one for this release,
promised :) )


------------------------------------------------------------------------
r14487 | letterrip | 2008-04-20 18:18:43 +0200 (Sun, 20 Apr 2008) | 3 lines

The mdd exporter was skipping the first frame, fix from bill nieuwendorp (slow67)


------------------------------------------------------------------------
r14486 | schlaile | 2008-04-20 16:26:14 +0200 (Sun, 20 Apr 2008) | 5 lines

== X264 ==

Forgot ALTIVEC-flags for PPC.


------------------------------------------------------------------------
r14485 | genscher | 2008-04-20 11:57:28 +0200 (Sun, 20 Apr 2008) | 1 line

Reverting new epsilons since they had bad global impact - instead just remove the problematic normalize() call
------------------------------------------------------------------------
r14484 | blendix | 2008-04-19 23:59:15 +0200 (Sat, 19 Apr 2008) | 5 lines


Fix for bug #9081: SSS preprocess should not use material or
light overrides, since it works independent of render layers.


------------------------------------------------------------------------
r14483 | blendix | 2008-04-19 23:58:11 +0200 (Sat, 19 Apr 2008) | 6 lines


Fix for bug #8963: area light + cubic shading became darker
for values > 1.0, luckily for peach this bug was not present
for other light types.


------------------------------------------------------------------------
r14482 | ben2610 | 2008-04-19 23:15:37 +0200 (Sat, 19 Apr 2008) | 1 line

BGE bug fix: crash at exit when object with Radar/Near sensor has debug properties
------------------------------------------------------------------------
r14481 | ben2610 | 2008-04-19 23:09:40 +0200 (Sat, 19 Apr 2008) | 1 line

fix BGE bug #8094: Collision sensor on child object makes the object rotate or move very fast.  Collision sensor can now be set on child object without side effect.
------------------------------------------------------------------------
r14480 | campbellbarton | 2008-04-19 21:50:46 +0200 (Sat, 19 Apr 2008) | 2 lines

bug since 2.45 nobody noticed, canceling retopo would move the vert.

------------------------------------------------------------------------
r14479 | campbellbarton | 2008-04-19 21:19:39 +0200 (Sat, 19 Apr 2008) | 2 lines

fix for own error - [#9481] Active faces won't go away.

------------------------------------------------------------------------
r14478 | theeth | 2008-04-19 19:55:35 +0200 (Sat, 19 Apr 2008) | 3 lines

Removing wrong checks before NDofTransform call.

This would cause a very tiny inconvenience where ndof transform wouldn't work if there wasn't an active object (so, only a problem after you delete something and then select objects without setting active).
------------------------------------------------------------------------
r14477 | campbellbarton | 2008-04-19 19:38:40 +0200 (Sat, 19 Apr 2008) | 3 lines

[#6932] Cal3D Exporter Distort Vertex
Removing cal3d importer, since the soya3d maintain their own and I could not fix a bug in weird bone exporting.

------------------------------------------------------------------------
r14476 | campbellbarton | 2008-04-19 13:44:09 +0200 (Sat, 19 Apr 2008) | 2 lines

fix for [#7430] No way to back out of a PupStrInput() dialog

------------------------------------------------------------------------
r14474 | campbellbarton | 2008-04-19 13:23:50 +0200 (Sat, 19 Apr 2008) | 2 lines

bugfix for [#8256] Creating proxy from linked mesh object removes materials

------------------------------------------------------------------------
r14473 | campbellbarton | 2008-04-19 04:19:46 +0200 (Sat, 19 Apr 2008) | 3 lines

fix for [#8236] Lens Change by driver won't update in 3d View
Lamps would not update either.

------------------------------------------------------------------------
r14472 | campbellbarton | 2008-04-19 01:23:43 +0200 (Sat, 19 Apr 2008) | 2 lines

reversing accidental change to epy_docgen.sh, show world shading Paper button when Blend is disabled, (own oversight in last commit).

------------------------------------------------------------------------
r14471 | campbellbarton | 2008-04-19 01:04:54 +0200 (Sat, 19 Apr 2008) | 4 lines

applied patch from Boris van Schooten, [#8148] Animation bugfix for md2_export script
made some other small fixes while testing. (divide by zero errors)


------------------------------------------------------------------------
r14470 | ben2610 | 2008-04-19 00:22:50 +0200 (Sat, 19 Apr 2008) | 1 line

BGE: fix compilation error with 2D filters on System without GL extenstion: add conditional compile statements
------------------------------------------------------------------------
r14469 | campbellbarton | 2008-04-19 00:13:22 +0200 (Sat, 19 Apr 2008) | 4 lines

bugfix from Teppo Känsälä, makes moving textures up/down also move their enabled state.
bug: [#9437] Moving texture up/down bug
patch: [#8938] Moving texture up/down to also move 'enabled/disabled'-status of texture

------------------------------------------------------------------------
r14468 | campbellbarton | 2008-04-18 23:59:54 +0200 (Fri, 18 Apr 2008) | 3 lines

Blenderstorm: idea #164: Hide useless World Shading buttons
Simple button change

------------------------------------------------------------------------
r14465 | campbellbarton | 2008-04-18 22:55:29 +0200 (Fri, 18 Apr 2008) | 2 lines

ipo transform didnt take NLA scaling into account when getting the boundbox

------------------------------------------------------------------------
r14463 | sirdude | 2008-04-18 21:10:03 +0200 (Fri, 18 Apr 2008) | 33 lines

This is an expanded patch of this:

[#8067] external texture plugin thread-safe modifications
Submitted By: David Anderson (davywavy)

It makes it so the "result" array is passed in, instead of a global var.
I expanded the patch so it will play nice with older plugins  that are not
thread safe as well.

I also updated the existing plugins in the release, so they are thread safe.

---------------  What do people think of this.... ------------------
This should maybe be talked about in the functionality board or something,
but what do people think of adding in default texture/sequence plugins.
or making a seperate tree like lib for plugins.

The reason I ask is we have had a couple of upgrades to the plugin system.
(supporting float buffers for sequencer, and this one for textures)

http://www.cs.umn.edu/~mein/blender/plugins does not store revisions of 
plugins I just make sure they work with the latest version.  This is
getting messy.  I haven't upgraded a lot of them to use floats (I know,
I'm lazy, and now this will also make modifications to the plugins)
It would be nice to have some of the standard ones under revision control.

We also seem to be having an explosion of platforms supported.  It would
be nice to have platform maintainers compiling plugins as well for releases.
(Its getting to be more work for me to keep up with things...)

I'll go back to my corner now and be quite. ;)

Kent

------------------------------------------------------------------------
r14462 | genscher | 2008-04-18 20:25:11 +0200 (Fri, 18 Apr 2008) | 1 line

Fluid: got to the real problem of the issue --> wrong float epsilon resulted in normalizing a vector to fail, reverted other change from today
------------------------------------------------------------------------
r14461 | sirdude | 2008-04-18 16:25:36 +0200 (Fri, 18 Apr 2008) | 4 lines

Yesterday was not my day.  Forgot about end of string.

Kent

------------------------------------------------------------------------
r14460 | genscher | 2008-04-18 16:12:42 +0200 (Fri, 18 Apr 2008) | 1 line

Fluid bugfix [#8395] [#6200]: this should solve the popping/inconsistency/flickering issue with fluids, please give feedback :)
------------------------------------------------------------------------
r14459 | stiv | 2008-04-18 04:51:09 +0200 (Fri, 18 Apr 2008) | 2 lines

convert dos file to unix line endings

------------------------------------------------------------------------
r14458 | khughes | 2008-04-18 02:21:40 +0200 (Fri, 18 Apr 2008) | 5 lines

More changes to GET_INT_FROM_POINTER and SET_INT_IN_POINTER to get rid of
other warnings that only occurred with 64bit systems.  Wish I'd known about
these macros earlier!


------------------------------------------------------------------------
r14456 | campbellbarton | 2008-04-17 23:14:55 +0200 (Thu, 17 Apr 2008) | 3 lines

Used GET_INT_FROM_POINTER to get rid of many warnings that only occurred with 64bit os's
Also use Py_ssize_t which we might need to define for older python's

------------------------------------------------------------------------
r14455 | sirdude | 2008-04-17 22:29:57 +0200 (Thu, 17 Apr 2008) | 5 lines

I can't spell ;)
(typo fix in the comments)

Kent

------------------------------------------------------------------------
r14454 | campbellbarton | 2008-04-17 22:15:37 +0200 (Thu, 17 Apr 2008) | 2 lines

milkshape3d model importer, can import a textured model with materials and animation

------------------------------------------------------------------------
r14453 | khughes | 2008-04-17 21:01:00 +0200 (Thu, 17 Apr 2008) | 4 lines

Change scons so OpenMP library is appended at end of linkage line with other
libraries (fixes a problem with statically linking OpenMP).


------------------------------------------------------------------------
r14451 | sirdude | 2008-04-17 17:41:06 +0200 (Thu, 17 Apr 2008) | 6 lines

My last commit for the sscanf buffer overflow did not really fix the
problem.  Now the fixed length strings are limited in the sscanf so
it should be much better now.

Kent

------------------------------------------------------------------------
r14450 | campbellbarton | 2008-04-17 16:10:40 +0200 (Thu, 17 Apr 2008) | 4 lines

Bugfix for [#8962] Blender crashes on joining meshes with python
blenders screen needs initializing before running python scripts when not in background mode.


------------------------------------------------------------------------
r14448 | blendix | 2008-04-17 14:11:15 +0200 (Thu, 17 Apr 2008) | 5 lines


Fix for bug #9075: the crash with stars rendering was not
completely fixed yet.


------------------------------------------------------------------------
r14446 | campbellbarton | 2008-04-17 10:43:22 +0200 (Thu, 17 Apr 2008) | 2 lines

Mot importer from ZanQdo

------------------------------------------------------------------------
r14444 | hos | 2008-04-17 00:40:48 +0200 (Thu, 17 Apr 2008) | 4 lines

Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!

------------------------------------------------------------------------
r14443 | campbellbarton | 2008-04-16 22:03:59 +0200 (Wed, 16 Apr 2008) | 2 lines

ZanQdo fixed exporting of mot files

------------------------------------------------------------------------
r14442 | ben2610 | 2008-04-16 20:58:11 +0200 (Wed, 16 Apr 2008) | 1 line

BGE: SetCamera actuator tool tip updated to reflect new feature: ...Leave empty to refer to self object
------------------------------------------------------------------------
r14441 | ben2610 | 2008-04-16 20:47:36 +0200 (Wed, 16 Apr 2008) | 1 line

BGE: Fix restitution: object will now bounce according to material restitution setting
------------------------------------------------------------------------
r14440 | sirdude | 2008-04-16 19:53:09 +0200 (Wed, 16 Apr 2008) | 5 lines

This is a patch from the FreeBSD people:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/blender/files/patch-source_blender_blenlib_intern-storage.c

Kent

------------------------------------------------------------------------
r14439 | sirdude | 2008-04-16 19:40:59 +0200 (Wed, 16 Apr 2008) | 14 lines

This patch spawns from this game engine issue:
[#7113] GE crash pressing as soon as P on 64 bit


Note:         glext.h has been removed from the source
        If you get errors compiling with it you have 2 options
                download/install 	glext.h        (preferred method)
                or set WITH_BF_GLEXT=false
        If your a user and having problems with game engine try
                setting the env var: WITHOUT_GLEXT 1

Kent


------------------------------------------------------------------------
r14438 | aligorith | 2008-04-16 13:02:08 +0200 (Wed, 16 Apr 2008) | 5 lines

== Action Editor - Group Colours for Channels ==

It is now possible for Action Channels to be displayed using the colour of its group. The colour for an Action Group is only set when it is auto-created by keyframing (controls to tweak this may/may-not be added, time permitting). 

To enable the display of these colours, the View -> 'Use Group Colors' must be enabled. However, this is disabled by default.
------------------------------------------------------------------------
r14437 | blendix | 2008-04-16 11:08:02 +0200 (Wed, 16 Apr 2008) | 4 lines


Fix for bug #9017: crash in stars rendering.


------------------------------------------------------------------------
r14436 | campbellbarton | 2008-04-16 10:48:49 +0200 (Wed, 16 Apr 2008) | 2 lines

replace magic numbers with constants for (G.vd->persp), view naming was also using persp as a flag which worked but isnt correct.

------------------------------------------------------------------------
r14435 | aligorith | 2008-04-16 09:33:54 +0200 (Wed, 16 Apr 2008) | 5 lines

Bugfix #8948: Transformation constraint - destination rotation is in radians

Unfortunately, my previous fixes here to get gears working resulted in this problem. The flip side of that was that gears worked for quite a few cases. 

Alas, it is not to be... The bug is now fixed, but gears no longer work any more. Sadly, there is not much I can do about this.
------------------------------------------------------------------------
r14434 | campbellbarton | 2008-04-16 09:27:42 +0200 (Wed, 16 Apr 2008) | 2 lines

mistake in adding Ipo Extend mode menu

------------------------------------------------------------------------
r14433 | blendix | 2008-04-15 20:07:04 +0200 (Tue, 15 Apr 2008) | 6 lines


Bugfix: editmode mesh transform was doing slow x-axis mirror
computations with the option disabled. Also small memory usage
optimization for vertex groups.


------------------------------------------------------------------------
r14432 | sirdude | 2008-04-15 17:52:18 +0200 (Tue, 15 Apr 2008) | 18 lines

This fixes a Buffer Overflow Vulnerability reported by
 Secunia Research

SAID: SA29818 (http://secunia.com/advisories/29818/)
Credit: Stefan Cornelius, Secunia Research

The old code trys to do a sscanf %s %d %s %d from a line in the
image file.

Now it copies over that line to a max buffer of size 540 chars before doing
the sscanf.  
(I just picked a constant that was siginficatly large)

It also checks to see if it gets all 4 values if not return NULL.

Kent


------------------------------------------------------------------------
r14431 | campbellbarton | 2008-04-15 17:29:32 +0200 (Tue, 15 Apr 2008) | 2 lines

lock view area wasnt working when all bones were de-selected

------------------------------------------------------------------------
r14430 | campbellbarton | 2008-04-15 16:34:57 +0200 (Tue, 15 Apr 2008) | 2 lines

added a E as a key shortcut to IPO Extend Mode

------------------------------------------------------------------------
r14429 | campbellbarton | 2008-04-15 16:15:56 +0200 (Tue, 15 Apr 2008) | 2 lines

Ipo View Option - Loc View Area - stops using each ipo's view area when changing ipo's.

------------------------------------------------------------------------
r14428 | blendix | 2008-04-15 15:07:56 +0200 (Tue, 15 Apr 2008) | 6 lines


Bug #8950: dependency cycles weren't always printed correct. For
debugging, also added a name for each dependency relation, and when
a cycle is detected it now prints the full cycle to the console.


------------------------------------------------------------------------
r14427 | campbellbarton | 2008-04-15 11:20:13 +0200 (Tue, 15 Apr 2008) | 3 lines

made sculpt axis locking use local/global space (using the transform space)
also added some checks for sculpt mixing with other modes (was possible to mix sculpt+posemode)

------------------------------------------------------------------------
r14426 | ben2610 | 2008-04-15 00:45:28 +0200 (Tue, 15 Apr 2008) | 1 line

BGE fix: keep reference count consist on source object when replicating property copy actuator
------------------------------------------------------------------------
r14425 | campbellbarton | 2008-04-14 23:37:23 +0200 (Mon, 14 Apr 2008) | 2 lines

terrain sculpting enhancements, axis locking and brush strength multiply by grid

------------------------------------------------------------------------
r14424 | ben2610 | 2008-04-14 22:54:20 +0200 (Mon, 14 Apr 2008) | 7 lines

fix BGE bug #8309: After Parent Object added to the visual layer, Child Camera won't follow.

This bug fix is made of two parts:
1) It's now possible to dynamically add a camera.
2) Empty camera name on a SetCamera actuator now points to the actuator's parent object if this object is a camera. 
This trick is useful to make current a dynamically created camera: just add a SetCamera actuator on the camera itself and leave the name empty. Later, when the camera is added in the scene with an AddObject actuator, either directly or via a parent object, you just need to activate the actuator to make the newly created camera current. If you set a name on a SetCamera actuator, it will always point to the original camera, even after replication.

------------------------------------------------------------------------
r14423 | khughes | 2008-04-14 22:50:40 +0200 (Mon, 14 Apr 2008) | 3 lines

Similar change for ffmpeg: change -O3 to less frightening -O2


------------------------------------------------------------------------
r14422 | stiv | 2008-04-14 22:42:48 +0200 (Mon, 14 Apr 2008) | 4 lines

Change scary -O4 -ffast-math to less frightening -O2

Feel free to discuss if -ffast-math is OK here.

------------------------------------------------------------------------
r14421 | blendix | 2008-04-14 21:48:14 +0200 (Mon, 14 Apr 2008) | 7 lines


Patch #8034: "soft" option for halos, which avoids ugly intersections
with geometry, and makes halos look more volumetric.

Patch contributed by Markus Ilmola, thanks!


------------------------------------------------------------------------
r14420 | blendix | 2008-04-14 17:40:32 +0200 (Mon, 14 Apr 2008) | 7 lines


Fix for bug #7903 and #8960: arealight giving black borders and not
working correct with translucency. Removed a check that presumably
is an optimization, but can't work correct and also gives no noticable
performance difference in my tests.


------------------------------------------------------------------------
r14419 | blendix | 2008-04-14 15:09:08 +0200 (Mon, 14 Apr 2008) | 4 lines


Fix for bug #8957: undo lost scenes assigned to screens.


------------------------------------------------------------------------
r14418 | blendix | 2008-04-14 12:14:59 +0200 (Mon, 14 Apr 2008) | 8 lines


Attempted fix for bug #8349: QMC raytracing being very slow on some
computers, probably due to slow multithreaded malloc. Now each render
thread keeps a list of qmc samplers that it fills as needed while
rendering (since it is hard to predict the actual amount needed in
advance due to ray recursion).


------------------------------------------------------------------------
r14417 | blendix | 2008-04-14 12:09:44 +0200 (Mon, 14 Apr 2008) | 5 lines


Bugfix: modifier buttons in the particle panel were locked unnecessarily
with edited hair.


------------------------------------------------------------------------
r14416 | campbellbarton | 2008-04-14 10:51:10 +0200 (Mon, 14 Apr 2008) | 2 lines

minor output button layout changes for touch/no overwrite/extension/set

------------------------------------------------------------------------
r14415 | theeth | 2008-04-13 22:09:44 +0200 (Sun, 13 Apr 2008) | 3 lines

== Transform ==

adding missing init on handleEvent callback
------------------------------------------------------------------------
r14414 | campbellbarton | 2008-04-13 21:42:39 +0200 (Sun, 13 Apr 2008) | 5 lines

UV Editing
* Changed default UV wire drawing do be a grey line with a black outline, highlighting aroudn selected points.
* Moved some draw options out of the View menu into the View panel.
* Changed header buttons to make Vert/Face modes less confusing.

------------------------------------------------------------------------
r14413 | schlaile | 2008-04-13 20:50:16 +0200 (Sun, 13 Apr 2008) | 5 lines

== FFMPEG ==

Added flash video menu entries. (Encoder was compiled in anyways)


------------------------------------------------------------------------
r14412 | schlaile | 2008-04-13 19:45:56 +0200 (Sun, 13 Apr 2008) | 5 lines

== FFMPEG ==

Added XVid to trunk. Again: only works with scons.


------------------------------------------------------------------------
r14411 | schlaile | 2008-04-13 18:30:26 +0200 (Sun, 13 Apr 2008) | 5 lines

== X264 ==

Forgot version.sh script..


------------------------------------------------------------------------
r14410 | schlaile | 2008-04-13 18:12:23 +0200 (Sun, 13 Apr 2008) | 5 lines

== X264 ==

Forgot another unimportant file...


------------------------------------------------------------------------
r14409 | schlaile | 2008-04-13 18:06:09 +0200 (Sun, 13 Apr 2008) | 5 lines

== X264 ==

forgot SConscript, shame on me...


------------------------------------------------------------------------
r14408 | schlaile | 2008-04-13 17:17:06 +0200 (Sun, 13 Apr 2008) | 8 lines

== FFMPEG ==

Added H264-encoding support using libx264.

Beware: it currently only works with scons and it needs nasm or yasm as
an additional dependency!


------------------------------------------------------------------------
r14407 | campbellbarton | 2008-04-13 17:14:32 +0200 (Sun, 13 Apr 2008) | 6 lines

* Made Armature auto name L/R, Top/Bot, Fr/Bk remove existing, known extensions.
* Added fromDupli MTex setting to python api
* Shift+RMB was setting the active face in the UV view.
* Armature scripts menu was broken


------------------------------------------------------------------------
r14406 | briggs | 2008-04-13 07:51:13 +0200 (Sun, 13 Apr 2008) | 8 lines

-> Bevel transform crash fix

Transinfo transform event callback is not cleared once
a transform event is over, this casued handleEventBevel
to dereference a null pointer. Added a check for this,
but it seems the callbacks should be set to NULL when
transform loop is done?

------------------------------------------------------------------------
r14405 | campbellbarton | 2008-04-13 00:17:23 +0200 (Sun, 13 Apr 2008) | 3 lines

Made octree size always available since its used for baking.
Documented obscure environment variables

------------------------------------------------------------------------
r14404 | blendix | 2008-04-12 23:44:08 +0200 (Sat, 12 Apr 2008) | 6 lines


Fix for bug #8927: halo blending with solid has poor antialiasing,
which as far as I can see is an old issue, but with FSA it is quite
simple to do better.


------------------------------------------------------------------------
r14403 | ben2610 | 2008-04-12 23:18:58 +0200 (Sat, 12 Apr 2008) | 5 lines

fix BGE bug #8880: blenderplayer closing when esc is pressed 

ESC now quits the game by default in all modes unless a keyboard sensor is set on ESC. 
In this case, the game designer must arrange for an alternative way to quit the game.

------------------------------------------------------------------------
r14402 | campbellbarton | 2008-04-12 22:36:35 +0200 (Sat, 12 Apr 2008) | 2 lines

error in last commit. also use smaller fonts in the sequencer for frame numbers, number string was too long.

------------------------------------------------------------------------
r14401 | campbellbarton | 2008-04-12 21:56:53 +0200 (Sat, 12 Apr 2008) | 2 lines

active face can now be unselected, also extrude and copy keep the active face.

------------------------------------------------------------------------
r14400 | blendix | 2008-04-12 20:44:03 +0200 (Sat, 12 Apr 2008) | 8 lines


Fix for bug #8463: object texture mapping for duplis was changed to
act as if the object was in its original position, instead of being
different for all instances. However, this is desired behavior in
some cases and so breaks compatibility. Now it only does the new
behavior when enabling the "From Original" option.


------------------------------------------------------------------------
r14399 | blendix | 2008-04-12 20:15:10 +0200 (Sat, 12 Apr 2008) | 5 lines


Fix for bug #8936: particle system crash with vertex groups and
zero vertices in a mesh.


------------------------------------------------------------------------
r14398 | blendix | 2008-04-12 19:34:48 +0200 (Sat, 12 Apr 2008) | 7 lines


Fix for bug #7100: when rendering on solaris, pressing esc could
kill the process. Some time ago SIGVTALRM was replaced with SIGALRM
to solve issues on linux, but this signal can kill the process on
solaris, so now it uses SIGVTALRM again there.


------------------------------------------------------------------------
r14397 | blendix | 2008-04-12 18:31:29 +0200 (Sat, 12 Apr 2008) | 4 lines


Fix or bug #8712: transparency + sss gave too bright results.


------------------------------------------------------------------------
r14396 | campbellbarton | 2008-04-12 17:03:47 +0200 (Sat, 12 Apr 2008) | 10 lines

removed blenders backup feature.
 sprintf(str, "/bin/su root -c 'cd %s; /bin/tar cf - \"%s\" | (/bin/cd %s; /bin/tar xf -)'", from, file, to);
 return system(str);

This would ask for a password in blenders terminal, in ubuntu there is no root user...
If this feature is added back it should be written in a much nicer way.

Also made HKey toggle hidden files in the file selector.


------------------------------------------------------------------------
r14395 | blendix | 2008-04-12 16:53:29 +0200 (Sat, 12 Apr 2008) | 5 lines


Fix for bug #8934: parenting or connecting armature bones didn't really
sync tip and root selection intuitively.


------------------------------------------------------------------------
r14394 | blendix | 2008-04-12 16:30:17 +0200 (Sat, 12 Apr 2008) | 5 lines


Fix for bug #6753: metaballs instanced by a particle system did not
refresh properly, also fixed a memory leak.


------------------------------------------------------------------------
r14393 | blendix | 2008-04-12 15:49:00 +0200 (Sat, 12 Apr 2008) | 8 lines


Fix for bug #5862: crash rendering to quicktime h.264. This would need
an upgrade to the new quicktime api to work, but that's not really
compatible with rendering out frames sequentially. For now it sets the
compression to minimum quality, which doesn't need seeking forward and
backwards.


------------------------------------------------------------------------
r14392 | blendix | 2008-04-12 15:00:01 +0200 (Sat, 12 Apr 2008) | 4 lines


Fix for bug #8932: crash converting old particle system.


------------------------------------------------------------------------
r14391 | blendix | 2008-04-12 14:56:49 +0200 (Sat, 12 Apr 2008) | 4 lines


Fix for bug #8930: issue removing temporary pointcache directory on windows.


------------------------------------------------------------------------
r14390 | campbellbarton | 2008-04-12 12:55:10 +0200 (Sat, 12 Apr 2008) | 10 lines

simple fix for "Unable to make version backup" warning when saving files. missing a return.

For *nix sustems, recent physics pointcache refactor uses stdio.h's remove() rather then system("rm -f ...") for removing files, since it was a lot slower for removing pointcache.

Ton used the system command because there was some problem using remove() ~6years back, but he cant remember why, (maybe its not a problem now)

Simple error, remove wasn't returning a value, but keep an eye out for problems removing files, and if anyone can reproduce the "Unable to make version backup" problem when saving, we should look into it.

Also added a note about using # in the output path for blenders command line help text.

------------------------------------------------------------------------
r14389 | ben2610 | 2008-04-11 23:19:00 +0200 (Fri, 11 Apr 2008) | 4 lines

fix BGE patch #7892: dRot motion is reversed on non-dynamic objects

Positive dRot motion actuator will now make the dynamic and non-dynamic objects rotate counter-clock wise.

------------------------------------------------------------------------
r14388 | hos | 2008-04-11 22:46:12 +0200 (Fri, 11 Apr 2008) | 11 lines

Moved initialization of vertex flags up a bit in the subdivide
routine because they were trumping a fix I had made earlier
to deal with subdivide smooth and mirror modifiers.

Campbell, could you please check that this commit is compatible
with the results you were expecting from commit 14227? Here
is the log of that commit:

http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/editmesh_tools.c?root=bf-blender&view=log#rev14227


------------------------------------------------------------------------
r14387 | hos | 2008-04-11 21:58:54 +0200 (Fri, 11 Apr 2008) | 2 lines

Make blenderplayer link to binreloc on linux.

------------------------------------------------------------------------
r14386 | sirdude | 2008-04-11 20:07:27 +0200 (Fri, 11 Apr 2008) | 10 lines

This is patch [#8531] Change gamma node max value

Submitted By:
Stephane SOPPERA (soppera)

It just increases the max value for gamma correction to 10f.  Which
as noted in the patch is the same as the Gimp's color level tool.

Kent

------------------------------------------------------------------------
r14385 | campbellbarton | 2008-04-11 17:47:21 +0200 (Fri, 11 Apr 2008) | 9 lines

Changed BLI_convertstringcode to replace any number of hashes with the frame number.

somefile_##.png -> somefile_01.png
somefile_########-image.png -> somefile_00000001-image.png

Before, A hash at the end of the string would be replaced by a number with 4 characters. This is still default if no #'s are in the string, so nothing has changed.

To use this function from the python api use scene.render.getFrameFilename()

------------------------------------------------------------------------
r14384 | blendix | 2008-04-11 14:29:29 +0200 (Fri, 11 Apr 2008) | 4 lines


Fix for bug #8920: particles reactor crash and memory leak.


------------------------------------------------------------------------
r14383 | aligorith | 2008-04-11 09:27:52 +0200 (Fri, 11 Apr 2008) | 4 lines

Constraints-UI:

* Fixed typo in tooltip for IK Constraint
* Beautified Limit Distance constraint a little bit
------------------------------------------------------------------------
r14382 | ben2610 | 2008-04-10 22:17:12 +0200 (Thu, 10 Apr 2008) | 1 line

fix BGE bug #8813: new rayCastTo() function hits near sensor collision box
------------------------------------------------------------------------
r14381 | genscher | 2008-04-10 20:00:59 +0200 (Thu, 10 Apr 2008) | 1 line

Little cloth code cleanup needed because of from new cache code merge
------------------------------------------------------------------------
r14380 | genscher | 2008-04-10 18:42:19 +0200 (Thu, 10 Apr 2008) | 1 line

2nd Part: Partial commit of patch #8812 (static caused problems on sunOS)
------------------------------------------------------------------------
r14379 | genscher | 2008-04-10 18:36:46 +0200 (Thu, 10 Apr 2008) | 1 line

Partial commit of patch #8812 (fixing inlining on sunOS)
------------------------------------------------------------------------
r14378 | blendix | 2008-04-10 15:20:36 +0200 (Thu, 10 Apr 2008) | 4 lines


Fix for mistake in pointcache refactor commit.


------------------------------------------------------------------------
r14377 | blendix | 2008-04-10 14:52:48 +0200 (Thu, 10 Apr 2008) | 5 lines


Fix for bug #8898: QMC AO not working correct on objects pointing
directly at the camera in some cases.


------------------------------------------------------------------------
r14376 | blendix | 2008-04-10 13:39:20 +0200 (Thu, 10 Apr 2008) | 43 lines


Point Cache Refactoring
=======================

Caching and Baking:
- The point cache is now cleared on DAG_object_flush_update(), and not cleared for time dependency graph updates.
- There is now a Bake button instead of Protect. Also cache start and end frames were added to softbody and particles.
- The cloth autoprotect feature was removed.
- The Ctrl+B menu now also bakes cloth and particles next to softbody and fluids. Additionally there are now frree bake and free cache menu entries.
- The point cache api has been changed. There is now a PTCacheID struct for each point cache type that can be filled and then used to call the point cache functions.
- PointCache struct was added to DNA and is automatically allocated for each physics type.
- Soft body now supports Bake Editing just like cloth.
- Tried to make the systems deal consistently with time ipo's and offsets. Still not sure it all works correct, but too complicated to solve completely now.

Library Linking:
- Added some more warnings to prevent editing settings on library linked objects.
- Linked objects now read from the cache located next to the original library file, and never write to it. This restores old behavior for softbodies. For local simulation the mesh and not the object should be linked.
- Dupligroups and proxies can't create local point caches at the moment, how to implement that I'm not sure. We probably need a proxy point cache for that to work (ugh).

Physics UI:
- Renamed deflection panel to collision for consistency and reorganized the buttons. Also removed some softbody collision buttons from the softbody panel that were duplicated in this panel for cloth.
- Tweaked field panel buttons to not jump around when changing options.
- Tabbing e.g. Soft Body Collision into the Soft Body panel, it now only shows Collision to make the panel names readable.
- I tried to make enabled/disabling physics more consistent, since all three system did things different. Now the two modifier buttons to enable the modifier for the viewport and rendering are also duplicated in the physics panels. Toggling the Soft Body and Cloth buttons now both remove their modifiers.
- Fixed modifier error drawing glitch.

Particles:
- Particles are now recalculated more often than before. Previously it did partial updates based on the changes, but that doesn't work well with DAG_object_flush_update() ..
- Fixed memory leak loading keyed particle system. Now keys are not written to file anymore but always created after loading.
- Make particle threads work with autothreads.

Continue Physics:
- The timeline play now has a Continue Physics option in the playback menu, which keeps the simulations going without writing them to the cache.
- This doesn't always work that well, some changes are not immediately updated, but this can be improved later. Still it's fun to get a feel for the physics.

Todo:
- Point cache can get out of sync with and undo and changing a file without saving it.
- Change the point cache file format to store a version (so old point cache files can be either converted or at least ignored), and to do correct endian conversion.
- Menu item and/or buttons for Ctrl+B.
- A system("rm ..") was changed to remove() since the former is very slow for clearing point caches. These system() calls were already giving trouble in a bug in the tracker, but really most use of this system("") should be changed and tested.
- The Soft Body Collision and Clot Collision panel titles don't mention there's point cache settings there too, doing that makes them unreadable with the default panel setup.. but may need to make the names longer anyway.


------------------------------------------------------------------------
r14375 | blendix | 2008-04-10 13:34:36 +0200 (Thu, 10 Apr 2008) | 5 lines


Fix for render scemode in the python api, forgot to commit this file
when i changed it from a short to an int.


------------------------------------------------------------------------
r14374 | genscher | 2008-04-09 21:10:03 +0200 (Wed, 09 Apr 2008) | 1 line

Cloth bugfix for new timescaling feature
------------------------------------------------------------------------
r14373 | blendix | 2008-04-09 19:14:02 +0200 (Wed, 09 Apr 2008) | 5 lines


Bugfix: scaling images anti-aliased with either the width or height
staying the same did not work correct (showed up in the sequencer).


------------------------------------------------------------------------
r14372 | genscher | 2008-04-09 18:38:26 +0200 (Wed, 09 Apr 2008) | 1 line

Cloth enhancement for upcomming cache changes: support different speed using clmd->sim_parms->timescale
------------------------------------------------------------------------
r14371 | campbellbarton | 2008-04-09 17:46:26 +0200 (Wed, 09 Apr 2008) | 2 lines

Made aspx/y into floats so we can render precise regions (for apricot terrain baking)

------------------------------------------------------------------------
r14370 | genscher | 2008-04-09 17:28:46 +0200 (Wed, 09 Apr 2008) | 1 line

Cloth/Collision modifier now gets add to the tail of the modifier stack as that is normal behaviour for all other modifiers, too.
------------------------------------------------------------------------
r14369 | aligorith | 2008-04-09 12:33:15 +0200 (Wed, 09 Apr 2008) | 1 line

Action Editor - Renamed 'AfterTrans Delete Dupli-Frames' to 'AutoMerge Keys' for
------------------------------------------------------------------------
r14368 | stiv | 2008-04-09 09:27:37 +0200 (Wed, 09 Apr 2008) | 5 lines

API Doc for new Object attributes trackAxis and upAxis.
contributed by Cedric Paille.  Thanks!

Fix broken indentation in Constraint doc.

------------------------------------------------------------------------
r14367 | campbellbarton | 2008-04-08 22:08:46 +0200 (Tue, 08 Apr 2008) | 2 lines

minor edit to last commit, fixed a possible python error

------------------------------------------------------------------------
r14366 | briggs | 2008-04-08 21:58:17 +0200 (Tue, 08 Apr 2008) | 5 lines

-> Fix for last commit on FLT exporter (round 2)

Forgot to change some (more) dictionary keys in source which
would break export. Fixed

------------------------------------------------------------------------
r14365 | briggs | 2008-04-08 21:35:53 +0200 (Tue, 08 Apr 2008) | 5 lines

-> Fix for last commit on FLT exporter

Forgot to change some dictionary keys in source which
would break export. Fixed

------------------------------------------------------------------------
r14364 | campbellbarton | 2008-04-08 19:01:11 +0200 (Tue, 08 Apr 2008) | 2 lines

use mkdtemp for the scons tempfile path rather then '.sconf_temp', this way 2 blenders can be compiled at once from the same path. (debug and release for instance, as long as they build in their own dir)

------------------------------------------------------------------------
r14362 | stiv | 2008-04-08 18:50:20 +0200 (Tue, 08 Apr 2008) | 6 lines

fix compiler warnings - deja vu all over again.

buttons_object.c:2326: warning: too many arguments for format 
buttonns_object.c:3829: warning: ordered comparison of pointer with integer zero


------------------------------------------------------------------------
r14361 | blendix | 2008-04-08 18:36:50 +0200 (Tue, 08 Apr 2008) | 4 lines


Correction for mistake in last commit.


------------------------------------------------------------------------
r14360 | blendix | 2008-04-08 18:28:55 +0200 (Tue, 08 Apr 2008) | 5 lines


Optimization for the sequencer wipe effect, was doing a lot of unnecessary
computations for each pixel making it quite slow.


------------------------------------------------------------------------
r14359 | campbellbarton | 2008-04-08 17:07:40 +0200 (Tue, 08 Apr 2008) | 2 lines

setting the blend value for a sequencer strip would crash when the strip had both char and float buffers.

------------------------------------------------------------------------
r14358 | theeth | 2008-04-08 15:40:05 +0200 (Tue, 08 Apr 2008) | 3 lines

Proper fix for camera transform with snap.

Please email me or report a bug when such problem arise, it's simpler if done properly the first time.
------------------------------------------------------------------------
r14357 | genscher | 2008-04-08 14:58:25 +0200 (Tue, 08 Apr 2008) | 1 line

Sorry, reverting bad things in modifier.c
------------------------------------------------------------------------
r14356 | genscher | 2008-04-08 14:55:35 +0200 (Tue, 08 Apr 2008) | 1 line

Cloth bugfix: used old dm instead of new created result derivedmesh; Code cleanup + deactivation of unsued selfcollision code in kdop.c + little speedup there
------------------------------------------------------------------------
r14355 | campbellbarton | 2008-04-08 13:57:10 +0200 (Tue, 08 Apr 2008) | 2 lines

moving the camera on the local Z axis while in the camera view didn't work when snapping was enabled (even though the CTRL key was not pressed)

------------------------------------------------------------------------
r14354 | bjornmose | 2008-04-07 23:58:12 +0200 (Mon, 07 Apr 2008) | 3 lines

bug fix 
UI panel issues with soft bodies 
code cleaning .. remove some G.rt code
------------------------------------------------------------------------
r14353 | theeth | 2008-04-07 22:56:45 +0200 (Mon, 07 Apr 2008) | 7 lines

Potential fix for [#8113] Blender.Registry segfault when no permission to write

This converts exceptions in Warning in selected points of the registry module.

While I couldn't reproduce the segfault ( I received the Py error as expected), this isn't a bad idea anyway, since the BPy C counterpart was discarding the error anyway, making it a warning is a bit more inline with its meaning.

The exception is not preventable nor fixable from a script's point of view, so better to silence it and print a warning to the console instead.
------------------------------------------------------------------------
r14352 | blendix | 2008-04-07 17:21:25 +0200 (Mon, 07 Apr 2008) | 6 lines


Fix for bug #8073: texture nodes connected to a viewer could crash.
Also fixed a bug where procedural buffers did not convert correctly
to different buffer types (e.g. value -> rgba would give red).


------------------------------------------------------------------------
r14351 | stiv | 2008-04-07 16:16:26 +0200 (Mon, 07 Apr 2008) | 2 lines

Doh! Typo - replace [Y] with [Z].

------------------------------------------------------------------------
r14350 | campbellbarton | 2008-04-07 15:16:56 +0200 (Mon, 07 Apr 2008) | 2 lines

added an optional arg for object.getBoundBox(worldspace) - so you can get localspace boundboxes, this is useful when getting a dipli's boundbox where the objects worldspace matrix has no useful meaning.

------------------------------------------------------------------------
r14349 | campbellbarton | 2008-04-07 12:12:21 +0200 (Mon, 07 Apr 2008) | 2 lines

annoyance with python api, Blender.Library.Datablocks should always return an empty list, rather then None when there is no datablocks.

------------------------------------------------------------------------
r14348 | jhk | 2008-04-07 07:54:19 +0200 (Mon, 07 Apr 2008) | 1 line

Silly copypaste mistake. Thanks for noticing!
------------------------------------------------------------------------
r14347 | campbellbarton | 2008-04-06 22:13:14 +0200 (Sun, 06 Apr 2008) | 4 lines

fix for [#6342] Collada 1.4 import (of perhaps corrupt collada files) leads to a complete crash of Blender 2.43 under Windows XP

NMesh wasnt checking 16max material limit, also made collada import work with the user scripts dir.

------------------------------------------------------------------------
r14346 | ben2610 | 2008-04-06 22:02:41 +0200 (Sun, 06 Apr 2008) | 1 line

add KX_GameObject::rayCastTo() PyDoc
------------------------------------------------------------------------
r14345 | campbellbarton | 2008-04-06 21:48:15 +0200 (Sun, 06 Apr 2008) | 6 lines

fix for - [#7894] colladaExport14.py script export error.

Would fail on meshes with zero materials and textures with no images, and also when it is referred from the user scripts dir rather then the scripts dir.



------------------------------------------------------------------------
r14344 | ben2610 | 2008-04-06 21:14:04 +0200 (Sun, 06 Apr 2008) | 1 line

Removed my own patch #8208: export SCA_ISensor::Evaluate() to Python. It was only useful for the ray sensor and the new rayCastTo() function provides better functionality
------------------------------------------------------------------------
r14343 | campbellbarton | 2008-04-06 21:04:17 +0200 (Sun, 06 Apr 2008) | 2 lines

reversing 14289, it included Ton's homedir as a default path and disabled scriptlinks by default

------------------------------------------------------------------------
r14342 | ben2610 | 2008-04-06 20:30:52 +0200 (Sun, 06 Apr 2008) | 6 lines

Commit patch #8799: Realtime SetParent function in the BGE

This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc.
The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time.
The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.

------------------------------------------------------------------------
r14341 | campbellbarton | 2008-04-06 19:11:14 +0200 (Sun, 06 Apr 2008) | 2 lines

added a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar

------------------------------------------------------------------------
r14340 | stiv | 2008-04-06 15:44:50 +0200 (Sun, 06 Apr 2008) | 9 lines

fix compiler warnings.

I'm not sure about the intent for this one:

warning: too many arguments for format:
 sprintf(md->name, "FluidParticleSystem", BLI_countlist(&ob->particlesystem));

Something for Janne ?

------------------------------------------------------------------------
r14339 | ben2610 | 2008-04-06 00:08:15 +0200 (Sun, 06 Apr 2008) | 1 line

Patch #8740: enable negative axis radar sensor
------------------------------------------------------------------------
r14338 | stiv | 2008-04-05 23:33:06 +0200 (Sat, 05 Apr 2008) | 6 lines

Python API - read access to Track and Up axis attributes for Object.
Part of Patch 8557.  Contributed by Cedric Paille.  Thanks!

Still waiting for API doc for new attributes.  Finger is poised
over Revert button...

------------------------------------------------------------------------
r14337 | bjornmose | 2008-04-05 23:29:17 +0200 (Sat, 05 Apr 2008) | 2 lines

bug fix soft body can resume with point cache 
sneak in .. springs preload
------------------------------------------------------------------------
r14336 | stiv | 2008-04-05 16:49:41 +0200 (Sat, 05 Apr 2008) | 2 lines

fix compiler warning: comparison between signed and unsigned

------------------------------------------------------------------------
r14335 | ben2610 | 2008-04-05 15:33:08 +0200 (Sat, 05 Apr 2008) | 5 lines

Commit patch #2439: Mesh replacement in BGE will react properly to armature deform

Changing the mesh of an object that has a deform controller (armature) is now properly handled. The new mesh must have vertex groups matching the armature bones. In simple terms, the new mesh must deform correctly when you assign it to the object in Blender and you test the action. It will deform the same when you replace the object mesh during the game.


------------------------------------------------------------------------
r14334 | campbellbarton | 2008-04-05 12:55:18 +0200 (Sat, 05 Apr 2008) | 2 lines

fix for wrong rotation between branch joins

------------------------------------------------------------------------
r14333 | campbellbarton | 2008-04-05 01:12:20 +0200 (Sat, 05 Apr 2008) | 4 lines

PyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since replacing the string length of int, with Py_ssize_t or long prevented the crash. worked around the problem by removing the PyString_AsStringAndSize command.

wizard_curve2tree - removing id properties didnt work. exit button used a callback it didnt need to.

------------------------------------------------------------------------
r14332 | theeth | 2008-04-05 00:21:24 +0200 (Sat, 05 Apr 2008) | 5 lines

No need for unions in transform code.

Unneeded size optimisation.

There's much better way to tackle this if it really is a problem.
------------------------------------------------------------------------
r14331 | ben2610 | 2008-04-04 22:39:31 +0200 (Fri, 04 Apr 2008) | 1 line

BGE bug [#4839] fixed: joystick keeps working after an overlay scene is removed
------------------------------------------------------------------------
r14330 | campbellbarton | 2008-04-04 18:32:13 +0200 (Fri, 04 Apr 2008) | 2 lines

fix own bug with scripts drawing, could crash when a script failed

------------------------------------------------------------------------
r14329 | campbellbarton | 2008-04-04 18:11:27 +0200 (Fri, 04 Apr 2008) | 2 lines

selecting a new scripts dir didnt rebuild the menu's

------------------------------------------------------------------------
r14328 | campbellbarton | 2008-04-04 17:57:13 +0200 (Fri, 04 Apr 2008) | 2 lines

wire was being drawn for solid curve objects in editmode when it should not have been.

------------------------------------------------------------------------
r14327 | campbellbarton | 2008-04-04 17:22:19 +0200 (Fri, 04 Apr 2008) | 2 lines

moved some duplicate lines into their own function

------------------------------------------------------------------------
r14326 | campbellbarton | 2008-04-04 17:06:50 +0200 (Fri, 04 Apr 2008) | 4 lines

Restore bezier handles to their original flag if the transform is canceled, for IPO's and curve edit mode.
Also retopo was running of curve transform was canceled.


------------------------------------------------------------------------
r14325 | blendix | 2008-04-04 14:33:01 +0200 (Fri, 04 Apr 2008) | 6 lines


Fix for bug #8870: crash converting curve to mesh. The object was being
used for curve deform, but after conversion wasn't a curve anymore, and
there was no check for this.


------------------------------------------------------------------------
r14324 | blendix | 2008-04-03 02:40:53 +0200 (Thu, 03 Apr 2008) | 4 lines


Bugfix: crash with strand surface AAO and layer ipo's.


------------------------------------------------------------------------
r14323 | jhk | 2008-04-03 01:59:25 +0200 (Thu, 03 Apr 2008) | 2 lines

Fix for bug: [#8610] Hair Particle 'cut' edit mode not respecting backface culling / z-depth
-Cut-brush didn't use depth testing at all, now it does, but unfortunately this changes the behavior of the brush so that cutting is not perfect for hairs that are partly visible from behind an edge of the emitter (this change effects the brush only when z-buf clipping is used of course)
------------------------------------------------------------------------
r14322 | jhk | 2008-04-03 01:12:05 +0200 (Thu, 03 Apr 2008) | 1 line

Fix for bug: [#8576] Heir always in the back
------------------------------------------------------------------------
r14321 | blendix | 2008-04-03 00:18:32 +0200 (Thu, 03 Apr 2008) | 6 lines


Fix to make grass render the same on solaris as linux, by doing
pointer comparisons in qsort. This works for glibc according to
the documentation, and appears to work on solaris too.


------------------------------------------------------------------------
r14320 | jhk | 2008-04-02 19:48:46 +0200 (Wed, 02 Apr 2008) | 3 lines

Fix for bug: [#8117] Particles with fluid broken
-Handling of fluid particles was not coded at all
-Now things should work properly, but as fluid particles are not very familiar to me I'd appreciate some thorough testing
------------------------------------------------------------------------
r14319 | campbellbarton | 2008-04-02 18:22:43 +0200 (Wed, 02 Apr 2008) | 2 lines

removed printf

------------------------------------------------------------------------
r14318 | campbellbarton | 2008-04-02 18:19:12 +0200 (Wed, 02 Apr 2008) | 4 lines

Sculpts calc_area_normal() could result in a zero length vector if all faces were pointing away from the view.
deal with this by making 2 average vectors, one for front pointing faces, and another for back pointing faces,
also removed an unneeded acos().

------------------------------------------------------------------------
r14317 | sirdude | 2008-04-02 17:03:03 +0200 (Wed, 02 Apr 2008) | 9 lines

This commit reverts the #include <mesa/glu.h>
stuff used for peach to the standard <GL/glu.h>
the mesa stuff was needed for the machines for peach but its
not the stanard location of the headers, now that its not
needed were switching it back.

Kent


------------------------------------------------------------------------
r14316 | campbellbarton | 2008-04-02 14:56:23 +0200 (Wed, 02 Apr 2008) | 2 lines

dpx saving would fail if there was no float buffer, which is a problem when rendering from the sequencer because a float buffer can be generated for some frames but not others depending on their contents. 

------------------------------------------------------------------------
r14315 | blendix | 2008-04-02 14:03:31 +0200 (Wed, 02 Apr 2008) | 6 lines


Small last-minute peach feature: loading an image into the image node
now automatically detects if a sequence of images is selected, and sets
the frames and image type to sequence.


------------------------------------------------------------------------
r14314 | aligorith | 2008-04-02 06:31:41 +0200 (Wed, 02 Apr 2008) | 1 line

Whitespace commit for editarmature.c while I try to find the cause of some bugs here.
------------------------------------------------------------------------
r14313 | zaghaghi | 2008-04-02 05:17:52 +0200 (Wed, 02 Apr 2008) | 1 line

BUGFIX8847 Multires didn't free some memory.fixed
------------------------------------------------------------------------
r14312 | blendix | 2008-04-02 00:28:00 +0200 (Wed, 02 Apr 2008) | 8 lines


Fix for bug #7875: node editor creates links to nowhere, fixes at
least one instance where it happens, when dragging a link onto an
already taken socket, and the existing link being moved to a hidden
socket. Couldn't find other cases in testing, so assuming it's
fixed unless another case pops up.


------------------------------------------------------------------------
r14311 | blendix | 2008-04-01 23:16:24 +0200 (Tue, 01 Apr 2008) | 4 lines


Fix for bug #7368: flipping issue with dual quaternions and scaled bones.


------------------------------------------------------------------------
r14310 | zaghaghi | 2008-04-01 23:09:50 +0200 (Tue, 01 Apr 2008) | 3 lines

BUGFIX 8824: RGB Curves now work correctly with "use clipping" option 
on  with maximum values greater than 1.

------------------------------------------------------------------------
r14309 | blendix | 2008-04-01 23:07:32 +0200 (Tue, 01 Apr 2008) | 4 lines


Fix for #8806: strand shadow bug, only showed up on windows.


------------------------------------------------------------------------
r14308 | ben2610 | 2008-04-01 22:46:20 +0200 (Tue, 01 Apr 2008) | 1 line

Fix BGE bug: BGE will crash if objects with display debug property is deleted (bad practice anyway). The actual deletion is now postponed until end of scene
------------------------------------------------------------------------
r14307 | campbellbarton | 2008-04-01 15:35:52 +0200 (Tue, 01 Apr 2008) | 2 lines

added a sloppy option for getting the active face, which returns the last selected if none is active, made the uv calculation aspect correction use the active faces image rather then the last used image viewports.

------------------------------------------------------------------------
r14306 | campbellbarton | 2008-04-01 13:14:34 +0200 (Tue, 01 Apr 2008) | 2 lines

function for getting object texspace settings, without dealing with curve/mball/mesh separately.

------------------------------------------------------------------------
r14305 | blendix | 2008-04-01 13:08:48 +0200 (Tue, 01 Apr 2008) | 8 lines


Bugfix: the defocus node "no zbuffer" settings was automatically set
if there was no zbuffer input. However this means a user settings can
be permanently changed without a user knowing. Now it just runs as if
this option is set if there is no zbuffer, but doesn't change the
setting.


------------------------------------------------------------------------
r14304 | blendix | 2008-04-01 12:15:39 +0200 (Tue, 01 Apr 2008) | 7 lines


Fix for bug #8629: python object.boundingBox was not in worldspace
anymore for meshes due to a bugfix. The python code assumed ob->bb
was in worldspace while it isn't, also meant metaball bounding boxes
were wrong.


------------------------------------------------------------------------
r14303 | campbellbarton | 2008-04-01 12:10:37 +0200 (Tue, 01 Apr 2008) | 2 lines

add a button for object color access, previously could only be accessed via Ipos

------------------------------------------------------------------------
r14302 | campbellbarton | 2008-04-01 12:06:06 +0200 (Tue, 01 Apr 2008) | 2 lines

fix for [bf-blender-Bug Tracker][8833] View selected in UV editor

------------------------------------------------------------------------
r14301 | jhk | 2008-04-01 02:40:28 +0200 (Tue, 01 Apr 2008) | 3 lines

Fix for bug: [#8810] Sticky button in particle effector menu creates unexpected effect
-Particle dietime was calculated wrong when a collision killed particles before their natural death
-Collision code still had some issues with object vs. global space
------------------------------------------------------------------------
r14300 | jhk | 2008-04-01 00:11:10 +0200 (Tue, 01 Apr 2008) | 2 lines

Fix for bug: [#8816] File saved with Explode modifier crashes blender
-Explode modifier didn't check for empty psmd->dm at file loading
------------------------------------------------------------------------
r14299 | jhk | 2008-03-31 23:51:46 +0200 (Mon, 31 Mar 2008) | 2 lines

Fix for bug: [#8817] Particleradius doesn't update until changing the amount of particles
-Reactor particles didn't initialize their birth times etc. properly when cache was cleared
------------------------------------------------------------------------
r14298 | jhk | 2008-03-31 22:54:00 +0200 (Mon, 31 Mar 2008) | 1 line

Fix for bug: [#8818] Particle reflecting strange from a simple plane
------------------------------------------------------------------------
r14297 | blendix | 2008-03-31 22:02:27 +0200 (Mon, 31 Mar 2008) | 4 lines


Bugfix: world exposure and range settings were applied twice to SSS materials.


------------------------------------------------------------------------
r14296 | jhk | 2008-03-31 21:57:40 +0200 (Mon, 31 Mar 2008) | 3 lines

Fix for bug: [#8302] Particle atributes (Materials) wrong behavior
-Particle texture calculations weren't using the mtex->def_var properly
-Texture buttons didn't set proper update flags for hair
------------------------------------------------------------------------
r14295 | jhk | 2008-03-31 21:03:18 +0200 (Mon, 31 Mar 2008) | 1 line

Fix for bug: [#8782] particle mode issues
------------------------------------------------------------------------
r14294 | sirdude | 2008-03-31 19:01:08 +0200 (Mon, 31 Mar 2008) | 5 lines

I let a sqrtf in by accident when commiting this patch.
converted to sqrt for solaris and other platforms.

Kent

------------------------------------------------------------------------
r14293 | campbellbarton | 2008-03-31 16:57:09 +0200 (Mon, 31 Mar 2008) | 2 lines

fix for odd error with image loading broke normal file loading

------------------------------------------------------------------------
r14292 | campbellbarton | 2008-03-31 16:29:40 +0200 (Mon, 31 Mar 2008) | 2 lines

TimeLine PyType was not getting initialized, causing auto-completion in the interactive console to crash.

------------------------------------------------------------------------
r14291 | campbellbarton | 2008-03-31 10:30:10 +0200 (Mon, 31 Mar 2008) | 3 lines

fix for [#8795] Unable to load an image into Image Texture Type


------------------------------------------------------------------------
r14290 | aligorith | 2008-03-31 05:40:47 +0200 (Mon, 31 Mar 2008) | 6 lines

== Armature Tools - Separate (not yet functional) ==

Initial commit of Separate tool for Armatures. Currently, the functionality is hidden behind a temporary patch, as there are still issues to be worked out (crashes under certain conditions and a re-linking issue). It may remain like this for the release if I can't get it to work correctly.

Note:
- Hotkey for separate is Ctrl-Shift-P (it's a bit clumsy, and isn't consistent with P for separate for meshes, but Select Parent(s) is better as P)
------------------------------------------------------------------------
r14289 | ton | 2008-03-30 20:08:55 +0200 (Sun, 30 Mar 2008) | 11 lines

Fix for change in default behaviour of adding objects: (commit oct 2007)

- The new default remains to add not aligned, not in editmode.
  But, this is only for new users (in .B.blend default)
- It's nicer  we don't change this for everyone automatic.

  Means: people who like the new options have to set the buttons in user
  menu and save .B.blend. 



------------------------------------------------------------------------
r14288 | blendix | 2008-03-30 19:54:06 +0200 (Sun, 30 Mar 2008) | 5 lines


Fix for crash with UV unwrap without an image window open. It really
shouldn't be using the image window but for now this fixes the crash.


------------------------------------------------------------------------
r14287 | ton | 2008-03-30 19:31:48 +0200 (Sun, 30 Mar 2008) | 3 lines

Another test build splash "gamera".


------------------------------------------------------------------------
r14286 | ton | 2008-03-30 19:29:32 +0200 (Sun, 30 Mar 2008) | 7 lines

The next testing build, the 2.45-16, nicked "Gamera". :)

(Also: removed the ugly arbitrary 2 x rgb color hack that tried to make
shadeless color "useful" in opengl solid mode. Without overflowing
color it at least now shows the color you created.)


------------------------------------------------------------------------
r14285 | elubie | 2008-03-30 18:18:01 +0200 (Sun, 30 Mar 2008) | 6 lines

== bugfix ==
fix for [#6950] Blender crashes when .blog file top line is 160 characters or more
- made sure BLI_convertstringcode doesn't return more than 240 chars 
- went through all callers and fixed places where string passed to BLI_convertstringcode was too short
- TODO: look into increasing sample->name and sound->name too, I prevented crashes, but filename might get shortened.

------------------------------------------------------------------------
r14284 | schlaile | 2008-03-30 16:23:15 +0200 (Sun, 30 Mar 2008) | 5 lines

== Sequencer ==

Added IPO-support to color strip.


------------------------------------------------------------------------
r14283 | schlaile | 2008-03-30 11:06:56 +0200 (Sun, 30 Mar 2008) | 5 lines

== Sequencer ==

This fixes: [#8792] unable to de-assign ipo's from sequence-strips


------------------------------------------------------------------------
r14282 | theeth | 2008-03-30 03:53:05 +0200 (Sun, 30 Mar 2008) | 1 line

[#8796] 2.46RC1 -- Incorrect Tool Tip on Ray Transp Gloss Button
------------------------------------------------------------------------
r14281 | theeth | 2008-03-30 03:47:06 +0200 (Sun, 30 Mar 2008) | 6 lines

[#7289] Orbit around selected in edit mode goes crazy with no verts selected
[#8784] orbiting around selection bug + a few kind of a must features (partial fix)

As suggested by Ton, keep last center and use that when nothing selected.

I don't really like it though as it wouldn't work ok when changing scene  or when using a different 3D view and is somewhat non trivial to explain (it's not the last selection, it's the last used orbiting center).
------------------------------------------------------------------------
r14280 | campbellbarton | 2008-03-29 16:20:41 +0100 (Sat, 29 Mar 2008) | 2 lines

own typo in py api

------------------------------------------------------------------------
r14279 | campbellbarton | 2008-03-29 16:16:33 +0100 (Sat, 29 Mar 2008) | 2 lines

with displacement baking, white should be high

------------------------------------------------------------------------
r14278 | campbellbarton | 2008-03-29 15:50:05 +0100 (Sat, 29 Mar 2008) | 3 lines

some fixes for python baking function
needed to add a small value to the baking distance for it to include faces of that distance (maybe should make this happen from the user interface too)

------------------------------------------------------------------------
r14277 | ton | 2008-03-29 11:31:56 +0100 (Sat, 29 Mar 2008) | 3 lines

Deleted corrupted gz file.


------------------------------------------------------------------------
r14276 | aligorith | 2008-03-29 11:23:51 +0100 (Sat, 29 Mar 2008) | 1 line

Minor tweaks to action-groups code, while trying to track down some bug for broken.
------------------------------------------------------------------------
r14275 | briggs | 2008-03-29 00:06:00 +0100 (Sat, 29 Mar 2008) | 6 lines

-> FLT I/O: UI now undo safe

Both the FLT importer and exporter now store and retrieve
their settings from the blender python registry making
them safe for use with global undo.

------------------------------------------------------------------------
r14274 | briggs | 2008-03-28 22:04:27 +0100 (Fri, 28 Mar 2008) | 5 lines

-> FLT I/O: LOD hiding on import

LODS were not getting hidden correctly on import.
Fixed now.

------------------------------------------------------------------------
r14273 | briggs | 2008-03-28 20:45:07 +0100 (Fri, 28 Mar 2008) | 5 lines

-> FLT I/O: Hierarchy order fixed on export

Hierarchy was getting reversed on import/export cycle
for FLT files. Fixed now.

------------------------------------------------------------------------
r14271 | khughes | 2008-03-28 18:03:34 +0100 (Fri, 28 Mar 2008) | 6 lines

Tools
-----
Bugfix #6961: in certain circumstances, array modifier would use deleted
copies of merged vertices, resulting in memory corruption and crashes.


------------------------------------------------------------------------
r14270 | sirdude | 2008-03-28 15:55:49 +0100 (Fri, 28 Mar 2008) | 9 lines

This is patch:
[#8766] Scons build does not take into account WITH_BF_OPENEXR for 
	source/creator
Submitted By: Stephane SOPPERA

Fixes -F EXR on the commandline...

Kent

------------------------------------------------------------------------
r14269 | sirdude | 2008-03-28 15:50:59 +0100 (Fri, 28 Mar 2008) | 6 lines

This is patch:
[#8725] A revision of the greek UI .po file
Submitted By: Kostis Karvouniaris

Kent

------------------------------------------------------------------------
r14268 | sirdude | 2008-03-28 15:44:31 +0100 (Fri, 28 Mar 2008) | 10 lines

This is patches:

[#8578] imbuf for DDS textures: minor bugs fixed 
	(syncing with upstream nvidia texture tools)
[#8727] imbuf for DDS textures: fix for DXT5 alpha channel corruption

Submitted by our DDS person, Amorilia

Kent

------------------------------------------------------------------------
r14267 | briggs | 2008-03-28 01:30:46 +0100 (Fri, 28 Mar 2008) | 6 lines

-> Double Sided Faces fix for FLT import

Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.

------------------------------------------------------------------------
r14266 | briggs | 2008-03-28 01:26:48 +0100 (Fri, 28 Mar 2008) | 6 lines

-> Double Sided Faces fix for FLT import

Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.

------------------------------------------------------------------------
r14265 | briggs | 2008-03-28 01:08:41 +0100 (Fri, 28 Mar 2008) | 18 lines

-> Extension Node attribute support for FLT I/O

Extension node attributes are now read and stored as ID
props for the following Node types:

-Object Nodes
-Group Nodes
-LOD Nodes
-DOF Nodes
-Inline Light Point Nodes


The extension data is written back out on export.

Note that this commit only adds support for attribute extensions.
Completely new node types via the extension record are still
unsupported.

------------------------------------------------------------------------
r14264 | campbellbarton | 2008-03-27 17:38:14 +0100 (Thu, 27 Mar 2008) | 2 lines

typo in last commit

------------------------------------------------------------------------
r14263 | campbellbarton | 2008-03-27 17:28:21 +0100 (Thu, 27 Mar 2008) | 4 lines

baking normals could crash in rare cases because the intersection data wasn't copied when the lambda was bigger then the previous or initialized.

python baking script had a simple error.

------------------------------------------------------------------------
r14262 | campbellbarton | 2008-03-27 12:52:58 +0100 (Thu, 27 Mar 2008) | 3 lines

made editmode only force smooth shading when vcols are present (as joe suggested)
pythons api's image.unpack() was broken

------------------------------------------------------------------------
r14261 | blendix | 2008-03-27 12:44:36 +0100 (Thu, 27 Mar 2008) | 5 lines


Fix for bug #8769: SSS materials were sometimes not rendered with nodes
due to recent bugfix.


------------------------------------------------------------------------
r14260 | blendix | 2008-03-27 12:10:18 +0100 (Thu, 27 Mar 2008) | 6 lines


Fix for bug #8771: hide deselected in particle editmode didn't work
correct. Also made it not do a depth test when editing in wire mode,
was using outdated depth buffer even.


------------------------------------------------------------------------
r14259 | aligorith | 2008-03-27 06:12:14 +0100 (Thu, 27 Mar 2008) | 1 line

Fixed compiler warnings. (unused vars)
------------------------------------------------------------------------
r14258 | nicholasbishop | 2008-03-27 02:11:48 +0100 (Thu, 27 Mar 2008) | 5 lines

== Sculpt ==

Removed Painting Mask button from view3d header when in sculpt mode.


------------------------------------------------------------------------
r14257 | blendix | 2008-03-26 23:14:40 +0100 (Wed, 26 Mar 2008) | 5 lines


Fix for bug #8595: texture mipmaps with gauss filter didn't work correct,
gave black borders.


------------------------------------------------------------------------
r14256 | jesterking | 2008-03-26 22:31:33 +0100 (Wed, 26 Mar 2008) | 1 line

* add stub for GLUByte stipple_quarttone[];
------------------------------------------------------------------------
r14255 | blendix | 2008-03-26 21:17:50 +0100 (Wed, 26 Mar 2008) | 5 lines


Fix for bug #8746: the fake user button for datablocks was not a toggle
button, while it should be.


------------------------------------------------------------------------
r14254 | campbellbarton | 2008-03-26 21:17:20 +0100 (Wed, 26 Mar 2008) | 2 lines

make solid faces draw vertex colors in editmode (they used to use only one of the faces colors per face)

------------------------------------------------------------------------
r14253 | campbellbarton | 2008-03-26 20:38:59 +0100 (Wed, 26 Mar 2008) | 2 lines

resetting defaults didnt set the some colors, added face dot size and color as uv/image theme options

------------------------------------------------------------------------
r14252 | blendix | 2008-03-26 19:34:24 +0100 (Wed, 26 Mar 2008) | 7 lines


Fix for bug #8609: radius setting for hair child particles not symmetrical.
Bug might have actually caused more issues, there were some assumptions
that ParticleCacheKey and ParticleKey structs had members in the same order,
but the rotation was in a different place.


------------------------------------------------------------------------
r14251 | blendix | 2008-03-26 18:56:14 +0100 (Wed, 26 Mar 2008) | 5 lines


Fix for bug #8407: merging vertices at first/last did not
preserve UVs correct.


------------------------------------------------------------------------
r14250 | khughes | 2008-03-26 18:29:20 +0100 (Wed, 26 Mar 2008) | 7 lines

Python API
----------
Bugfix #8615: NMesh.update() did not check if faces had less than 3 vertices, so would create bogus faces.  

Also discovered in the process that documentation and error message for Mesh.assignVertsToGroup() was wrong.


------------------------------------------------------------------------
r14249 | blendix | 2008-03-26 17:46:04 +0100 (Wed, 26 Mar 2008) | 4 lines


Fix for bug #8713: edge loop delete did an undo push too much.


------------------------------------------------------------------------
r14248 | briggs | 2008-03-26 17:45:18 +0100 (Wed, 26 Mar 2008) | 4 lines

-> Slight fix for Face Weld code in FLT importer

Slight fix for welding of faces that only share one vertex

------------------------------------------------------------------------
r14247 | campbellbarton | 2008-03-26 17:06:25 +0100 (Wed, 26 Mar 2008) | 4 lines

made editmode face copy menu appier with when there is no active face (without options that required an active face)
active face drawing didnt always work since it used the last selected element for drawing.
moved stipple into glutil.c rather then using 128 bytes in the stack for each stipple draw.

------------------------------------------------------------------------
r14246 | briggs | 2008-03-26 16:59:56 +0100 (Wed, 26 Mar 2008) | 8 lines

-> New face weld code for FLT importer

Replaced the use of remove doubles with some new custom 'face welding'
code that wil clean up meshes on import.This will not remove any faces
or do any edge collapse and so is a more suitable method of cleaning
up imported meshes. This same code could potentially be of use when
importing other formats as well (such as DXF...)

------------------------------------------------------------------------
r14245 | blendix | 2008-03-26 16:25:56 +0100 (Wed, 26 Mar 2008) | 6 lines


Fix for bug #8750: depremul in the image texture code should check
with an epsilon rather than 0.0f, could give random spots otherwise
with e.g. calcalpha + negalpha.


------------------------------------------------------------------------
r14244 | blendix | 2008-03-26 15:58:34 +0100 (Wed, 26 Mar 2008) | 5 lines


Fix for bug #8747: normal map tangents didn't work correct with
splitting of non-flat quads.


------------------------------------------------------------------------
r14243 | campbellbarton | 2008-03-26 15:50:29 +0100 (Wed, 26 Mar 2008) | 4 lines

UV Unwrap (lscm, project from view, cube etc) now default to correcting for the active images aspect ratio.
This is now default but can be disabled in the UV Calculation panel. At the moment its called "Image Aspect" but another name could be better.


------------------------------------------------------------------------
r14242 | campbellbarton | 2008-03-26 12:56:41 +0100 (Wed, 26 Mar 2008) | 3 lines

fix for [#8732] Unwrap Project from View not matching View
the active face could be unselected. now unwrapping with no UV layer will assign the current image to the selected faces.

------------------------------------------------------------------------
r14241 | blendix | 2008-03-26 12:27:52 +0100 (Wed, 26 Mar 2008) | 6 lines


Bugfix: selecting or muting an ipo curve in the action editor
would be undone on redraw with an ipo window open in editmode,
or with show keys enabled in the ipo window.


------------------------------------------------------------------------
r14240 | campbellbarton | 2008-03-25 21:30:33 +0100 (Tue, 25 Mar 2008) | 2 lines

check for null data when using ffmpegs swscale (for corrupt/partially corrupt videos)

------------------------------------------------------------------------
r14239 | campbellbarton | 2008-03-25 20:27:49 +0100 (Tue, 25 Mar 2008) | 2 lines

lib error message was inconsistent when changing texture channels, enabled it for texture colorbands

------------------------------------------------------------------------
r14238 | campbellbarton | 2008-03-25 17:16:11 +0100 (Tue, 25 Mar 2008) | 2 lines

selecting similar edges (Shift+G in edge mode) didnt flush selection from edges to faces, so you could have all edges of a face selected without the face being selected.

------------------------------------------------------------------------
r14236 | aligorith | 2008-03-25 11:36:36 +0100 (Tue, 25 Mar 2008) | 8 lines

Two constraints related fixes
* Bugfix #8599d: 
When using the ChildOf constraint on bones without parents, with cyclic-offset in action the effect of the cyclic-offset was applied twice. Added a bone option to make the effect of cyclic-offset not be applied to rootbones which have the option 'enabled'. 

In the UI, this is presented in the opposite way. It is represented by the 'Offs' button beside the parent-bone selector in the Armature Bones panel when in EditMode.

* Head/Tail setting and Constraint Channels:
Added back in checks to see if the head/tail IPO-curves for Constraint Channels can get applied for the target constraint. I had removed these when applying the patch, but I'd overlooked the fact that users could add an IPO-curve for this from the IPO-editor, potentially mucking up the behaviour of some constraints. 
------------------------------------------------------------------------
r14235 | campbellbarton | 2008-03-25 10:40:06 +0100 (Tue, 25 Mar 2008) | 5 lines

Raise the limit for long filenames.
a few times peach guys have had the play button fail with "stack smash" warnings in the terminal and play button not working.

This fixes a reproducible crash where blender would segfault when pressing play on long filenames, and hopefully fixes odd user reports where pressing play quits X11 or reboots their system.

------------------------------------------------------------------------
r14234 | aligorith | 2008-03-25 10:17:58 +0100 (Tue, 25 Mar 2008) | 3 lines

Bugfix:

Resizing two text windows stacked one over the other, crashed in certain cases (i.e.  when dragging the border between them down to the header of the bottom one). Was caused by division by zero, resulting in a SIGFPE (floating point exception).
------------------------------------------------------------------------
r14233 | campbellbarton | 2008-03-25 10:00:00 +0100 (Tue, 25 Mar 2008) | 5 lines

fix for [bf-blender-Bug Tracker][8739] image selector never exits.
This fix was made to the file selector weren't applied to the image selector.
Made file and image selector use same python api function.


------------------------------------------------------------------------
r14232 | campbellbarton | 2008-03-25 09:30:39 +0100 (Tue, 25 Mar 2008) | 2 lines

patch only to redraw on mouse move, broke continues zoom.

------------------------------------------------------------------------
r14231 | broken | 2008-03-25 07:10:03 +0100 (Tue, 25 Mar 2008) | 1 line

Tweaks to labels on brightness/contrast node
------------------------------------------------------------------------
r14230 | aligorith | 2008-03-25 06:32:04 +0100 (Tue, 25 Mar 2008) | 6 lines

Bugfix #8736: Follow Path constraints does not work for Bones

This appears to be a long-standing bug, and it only affected the Follow-Path constraint as it was the only one which was dependant on time-based changes. An oversight in the depsgraph code meant that Follow-Path constraints on armature bones were not evaluated, unless there was an Action or some NLA-Strips for that armature. 

I've added a new flag to pose->flag (POSE_CONSTRAINTS_TIMEDEPEND) which only gets set/cleared by update_pose_constraint_flags. This flag indicates that the depsgraph needs to do an update for such cases, and will require going in/out of EditMode to set this for old files. 
It's been implemented as such to avoid having costly searches when trying to run animations realtime (as is done for modifiers).
------------------------------------------------------------------------
r14229 | schlaile | 2008-03-24 22:01:36 +0100 (Mon, 24 Mar 2008) | 5 lines

== Sequencer ==

Forgot directory in input panel for sound files...


------------------------------------------------------------------------
r14228 | schlaile | 2008-03-24 18:35:01 +0100 (Mon, 24 Mar 2008) | 11 lines

== Sequencer ==

A lot of fixes for anim_startofs / anim_endofs:
* crashed when striplen was 0 and startstill / endstill still in use
* made it work for Audio (HD and RAM)
* made it work for Image Sequences
* added a new cutting tool, that uses anim_startofs / endofs instead of
  startofs / endofs. This is now the default and called "hard cut"
* moved old cutting method to "Shift-K" and renamed it "soft cut"


------------------------------------------------------------------------
r14227 | campbellbarton | 2008-03-24 12:55:43 +0100 (Mon, 24 Mar 2008) | 2 lines

subdivide would give weired results especially when used after proportional edit mode because vertex temp flags wernt zero'd

------------------------------------------------------------------------
r14226 | aligorith | 2008-03-24 12:28:49 +0100 (Mon, 24 Mar 2008) | 1 line

Fix for transforming constraint-channel keys that appeared in a group-channel, but belonged to constraint channels that were collapsed and/or hidden.
------------------------------------------------------------------------
r14225 | aligorith | 2008-03-24 12:25:34 +0100 (Mon, 24 Mar 2008) | 5 lines

Peach Request: Fix for little bug in Action Editor

Quick patch for action-filtering system, so that the IKEY (Insert Key) -> "Key Only Selected" doesn't key in channels that are hidden. Documented the convoulted logic there a bit. 

Note: constraint channel keys in group channels seems to have become broken again at some point before this commit
------------------------------------------------------------------------
r14224 | campbellbarton | 2008-03-24 10:00:39 +0100 (Mon, 24 Mar 2008) | 5 lines

uv stretch display respect image aspect ratio,
tooltip correction (bug #8660)
ghostwinlay.c was missing string.h include


------------------------------------------------------------------------
r14223 | ben2610 | 2008-03-24 00:12:40 +0100 (Mon, 24 Mar 2008) | 15 lines

Commit patch #8724:

This patch modifies the BL_ConvertMesh method from the data conversion module in order to reduce the number of polygon
material objects that are created.

Normally, there should be only one material object for each material bucket(the group of meshes that are rendered together
with a single material). However, the number of materials that are created right now in the converter is much higher
and eats a lot of memory in scenes with large polygon counts. This patch deletes those material objects(KX_BlenderMaterial)
that are used only temporarily in the converter(and are now deleted only when the converter is destroyed, at the end
of the game).

For a cube that's subdivided 7 times(90+ k polygons) I get 200 MB usage in the game engine in 2.45 and 44 MB with a
svn build with this patch applied if the "Use Blender Materials" option is activated in the Game menu.


------------------------------------------------------------------------
r14222 | campbellbarton | 2008-03-23 19:53:45 +0100 (Sun, 23 Mar 2008) | 4 lines

[#8717] ZOOM with CTRL+mouse drag (consumes all cpu)
patch from André Pinto to stop zoom from redrawing when the mouse didnt move.


------------------------------------------------------------------------
r14221 | schlaile | 2008-03-23 19:32:20 +0100 (Sun, 23 Mar 2008) | 5 lines

== Sequencer ==

Additional fixes to metastrip handling. The code is now even shorter :)


------------------------------------------------------------------------
r14220 | nicholasbishop | 2008-03-23 19:08:20 +0100 (Sun, 23 Mar 2008) | 5 lines

Fixed bug #6079, sculpt mode thin mesh problem

Calculating the area normal now checks each normal against the angle of the camera. If the normal is pointing away from the camera, it is ignored.


------------------------------------------------------------------------
r14219 | schlaile | 2008-03-23 19:05:43 +0100 (Sun, 23 Mar 2008) | 6 lines

== Sequencer ==

Last commit didn't finish preprocess for metas completely when a proxy
was in use ...


------------------------------------------------------------------------
r14218 | schlaile | 2008-03-23 18:56:44 +0100 (Sun, 23 Mar 2008) | 13 lines

== Sequencer / ImBuf ==

Fixed a long standing bug in IMB_dupImBuf: refcounter should be better 0
within the duplicated ImBuf...

Finally removed this strange STRIPELEM_META mumbo jumbo.

On a way to asset management: made METAs behave like true input strips:
* proxying should work
* input filter options should work (including transform and color balance :)
* IPOs now work in replace mode


------------------------------------------------------------------------
r14217 | campbellbarton | 2008-03-23 17:27:34 +0100 (Sun, 23 Mar 2008) | 2 lines

fixed UV selection hide/reveal in the UV window.

------------------------------------------------------------------------
r14216 | sgefant | 2008-03-23 13:59:26 +0100 (Sun, 23 Mar 2008) | 2 lines

added support for linux on pa-risc

------------------------------------------------------------------------
r14215 | aligorith | 2008-03-23 03:28:24 +0100 (Sun, 23 Mar 2008) | 3 lines

Bugfix #8710:

Typo fix in PyConstraint template
------------------------------------------------------------------------
r14214 | genscher | 2008-03-22 23:08:46 +0100 (Sat, 22 Mar 2008) | 1 line

Collision Modifier: 1. Bugfix: Enable hiding in modifier stack again, 2. Bugfix: Recalculate bounding volume if GUI setting changed
------------------------------------------------------------------------
r14213 | campbellbarton | 2008-03-22 21:54:09 +0100 (Sat, 22 Mar 2008) | 2 lines

lasso select for nodes

------------------------------------------------------------------------
r14212 | ben2610 | 2008-03-22 15:47:42 +0100 (Sat, 22 Mar 2008) | 1 line

BGE correction: AddRef() on source object of property actuator to protect against crash if the source object is deleted (bad game design anyway)
------------------------------------------------------------------------
r14211 | theeth | 2008-03-22 14:27:34 +0100 (Sat, 22 Mar 2008) | 3 lines

[#8693] Align view to selected works differently called from menue then from shortcut

The header menu was sending the wrong axis (off by one) to the tool.
------------------------------------------------------------------------
r14210 | aligorith | 2008-03-22 12:06:51 +0100 (Sat, 22 Mar 2008) | 3 lines

== Action Editor - Preview Range (Ctrl-Alt-P) ==

Quick feature for setting Preview Range in Action Editor: the hotkey Ctrl-Alt-P sets the Preview Range so that it matches the extents of the active action.
------------------------------------------------------------------------
r14209 | campbellbarton | 2008-03-22 11:53:35 +0100 (Sat, 22 Mar 2008) | 2 lines

added stdio.h includes, gcc-4.3 is picky

------------------------------------------------------------------------
r14208 | lukep | 2008-03-22 02:39:11 +0100 (Sat, 22 Mar 2008) | 9 lines

NDOF support added to trunk from ndof branch.

The latter is now obsolete and will be soon 
removed.

Some tiny build tweaks for darwin committed
in preparation of bigger changes for proper
SDK suport both on intel and ppc

------------------------------------------------------------------------
r14207 | aligorith | 2008-03-22 00:10:23 +0100 (Sat, 22 Mar 2008) | 4 lines

Removing some compiler warnings. 

(Note to who-ever made all the changes referring to r.scemode:
r.scemode is an int, not a short!)
------------------------------------------------------------------------
r14206 | nicholasbishop | 2008-03-22 00:06:15 +0100 (Sat, 22 Mar 2008) | 5 lines

Fixed bug #8597, Subsurf error

This was actually an error with the array modifier. Merging vertices would sometimes create degenerate faces (e.g. face.v1 == face.v3)


------------------------------------------------------------------------
r14205 | ben2610 | 2008-03-21 23:44:12 +0100 (Fri, 21 Mar 2008) | 6 lines

Correction on BGE fixes:

- check that an object has been created before setting the physics environment
- check that there is an active camera before using it
- when a camera is deleted, remove it from m_cameras list

------------------------------------------------------------------------
r14204 | ton | 2008-03-21 23:26:26 +0100 (Fri, 21 Mar 2008) | 13 lines

This commit disables fix for revision 14202 effectively.

The claim was:
Bugfix: don't do full sample merging on re-rendered layers in
the compositor.

But result was that rendering didn't happen at all for scenes
with a composite.

I also don't understand the commit, seems like it's incomplete?



------------------------------------------------------------------------
r14203 | campbellbarton | 2008-03-21 22:03:31 +0100 (Fri, 21 Mar 2008) | 2 lines

added camera shiftx/y for the UVProject modifier

------------------------------------------------------------------------
r14202 | blendix | 2008-03-21 18:37:24 +0100 (Fri, 21 Mar 2008) | 5 lines


Bugfix: don't do full sample merging on re-rendered layers in
the compositor.


------------------------------------------------------------------------
r14201 | campbellbarton | 2008-03-21 18:13:35 +0100 (Fri, 21 Mar 2008) | 3 lines

use Z depth for the ortho border zoom also, if there is no depth values set then fallback to previous method.


------------------------------------------------------------------------
r14199 | campbellbarton | 2008-03-21 17:27:43 +0100 (Fri, 21 Mar 2008) | 2 lines

make border zoom ignore backfaces in texture mode and zero alpha areas of billboards.

------------------------------------------------------------------------
r14196 | schlaile | 2008-03-21 11:54:40 +0100 (Fri, 21 Mar 2008) | 5 lines

== Sequencer ==

Forgot REDRAW in obscure cases...


------------------------------------------------------------------------
r14195 | schlaile | 2008-03-21 11:47:59 +0100 (Fri, 21 Mar 2008) | 11 lines

== Sequencer ==

Reworked seq_cut completely. Now it is equivalent to: dup and set startofs /
endofs, which is what most people probably expected...

Fixes:
[#8388] Sequencer Cut on empty meta
[#8546] Sequencer: 2 different problems cutting some metastrips



------------------------------------------------------------------------
r14194 | aligorith | 2008-03-21 10:46:37 +0100 (Fri, 21 Mar 2008) | 4 lines

Two changes:
* Attempted fix for bug #8599c (inserting new keyframes mucked up existing IPO-Keys). Now it calls make_ipokey() regardless of whether they exist already (if ipokeys are being shown in the IPO-Editor). This might be a bit slower on some files.

* 'Auto-Sync PoseLib' button is now only visible when there's a PoseLib
------------------------------------------------------------------------
r14193 | nicholasbishop | 2008-03-21 04:08:04 +0100 (Fri, 21 Mar 2008) | 5 lines

Fixed bug #8180, Simple subdivide modifier performs catmull-clark on single edges

Removed an incorrect check for original vertices on whether any faces used them.


------------------------------------------------------------------------
r14192 | nicholasbishop | 2008-03-21 02:10:32 +0100 (Fri, 21 Mar 2008) | 5 lines

Fixed bug #8514, sculpt: pivot last and undo

Undoing in sculpt mode correctly returns to previous pivots now.


------------------------------------------------------------------------
r14191 | campbellbarton | 2008-03-20 22:43:32 +0100 (Thu, 20 Mar 2008) | 3 lines

Objects with transp and xray work with border zoom (shift+b),
zooming behind an object to one with xray now works, transp objects work like normal objects.

------------------------------------------------------------------------
r14190 | genscher | 2008-03-20 21:28:51 +0100 (Thu, 20 Mar 2008) | 1 line

Collision commit was messed up - reported by Mr. Barton :)
------------------------------------------------------------------------
r14189 | campbellbarton | 2008-03-20 21:03:13 +0100 (Thu, 20 Mar 2008) | 2 lines

shift+b zoom in perspective mode, (apricot feature for better navigation on large maps)

------------------------------------------------------------------------
r14188 | sirdude | 2008-03-20 20:10:14 +0100 (Thu, 20 Mar 2008) | 4 lines

Update of the Italian translation thanks to Fabio.

Kent

------------------------------------------------------------------------
r14187 | genscher | 2008-03-20 19:28:40 +0100 (Thu, 20 Mar 2008) | 1 line

Cloth structure names update: Sorry about this commit, it will kill all your cloth settings in old files but I had to do it before release because naming convention was really bad in cloth (e.g. using SimulationSettings instead of ClothSimSettings in DNA). Same for some structure in CollisionModifier but with no sideeffects.
------------------------------------------------------------------------
r14186 | genscher | 2008-03-20 19:16:11 +0100 (Thu, 20 Mar 2008) | 1 line

Collision modifier: Update from mvert was using only static update, now uses dynamic update and catches therefore also faster movements - reported by nudelZ (#blendercoders)
------------------------------------------------------------------------
r14185 | theeth | 2008-03-20 16:16:33 +0100 (Thu, 20 Mar 2008) | 3 lines

== Skeleton Generator ==

Not time for documention and polishing before release, hiding the panel behind (rt == 42) check.
------------------------------------------------------------------------
r14184 | stiv | 2008-03-20 15:54:57 +0100 (Thu, 20 Mar 2008) | 2 lines

typo for REDRAWBUTSOBJECT broke build.

------------------------------------------------------------------------
r14183 | themyers | 2008-03-20 13:27:15 +0100 (Thu, 20 Mar 2008) | 3 lines

Fix for Crash on X11.  Buffer was not the correct size. So strcpy would blow-up.


------------------------------------------------------------------------
r14182 | aligorith | 2008-03-20 12:31:52 +0100 (Thu, 20 Mar 2008) | 2 lines

Bugfix #8599b: 
Insert-Key in Action Editor didn't work correctly for Constraint Channels yet. This was because a pointer to constraint data was not being obtained (it's now hacked to assume that 'Influence' is being keyed all the time).
------------------------------------------------------------------------
r14181 | aligorith | 2008-03-20 11:50:46 +0100 (Thu, 20 Mar 2008) | 4 lines

* Bugfix #8599a:
Deleting the first Action Channel in an Action Group acted odd. In some cases it crashed, other times it corrupted stuff (removing all subsequent Action Channels). Was missing a call to remove the Action Channel from group(s).

* Fixed whitespace in many places...
------------------------------------------------------------------------
r14180 | khughes | 2008-03-20 05:59:59 +0100 (Thu, 20 Mar 2008) | 8 lines

Python API
----------
Bugfix #6543: Blender.Library.Load() could segfault if called more than once
with a library of different endian type.  In the process discovered an
invalid memory reference in other another function calling library_append().
Thanks to Brecht for the pointers on tracking this old bug down.


------------------------------------------------------------------------
r14179 | jesterking | 2008-03-19 23:59:11 +0100 (Wed, 19 Mar 2008) | 1 line

* add notification of new hotkey in object select menu
------------------------------------------------------------------------
r14178 | sgefant | 2008-03-19 23:58:16 +0100 (Wed, 19 Mar 2008) | 2 lines

test commit: fix autothreads on irix

------------------------------------------------------------------------
r14177 | jesterking | 2008-03-19 23:46:06 +0100 (Wed, 19 Mar 2008) | 2 lines

* add CTRL-I for Invert Selection in object mode.
* sanitise IKEY handling block for view3d (really weird if-structure)
------------------------------------------------------------------------
r14176 | jesterking | 2008-03-19 22:53:00 +0100 (Wed, 19 Mar 2008) | 1 line

* enable hotkey Ctrl+I (Invert Selection) in UV editor
------------------------------------------------------------------------
r14175 | briggs | 2008-03-19 22:14:49 +0100 (Wed, 19 Mar 2008) | 9 lines

-> Color Fixing tool in FLT toolbar

A new tool for for fixing colors on meshes imported from other files with
conflicting color palettes has been added to the FLT toolbar script. This
will find the closest match for all the colors in the faces of selected
meshes and update their baked vertex color representation.

Also added a small tweak to the 'update all' tool which will fix black faces

------------------------------------------------------------------------
r14174 | briggs | 2008-03-19 20:23:42 +0100 (Wed, 19 Mar 2008) | 5 lines

-> Path handling fix for External references in FLT import

FLT importer had problems with external references that used
relative paths. Fixed.

------------------------------------------------------------------------
r14173 | jesterking | 2008-03-19 18:23:14 +0100 (Wed, 19 Mar 2008) | 1 line

* BF_QUIET can now be set in user-config.py too.
------------------------------------------------------------------------
r14172 | blendix | 2008-03-19 16:50:50 +0100 (Wed, 19 Mar 2008) | 4 lines


Bugfix: scaling in posemode didn't translate bones properly.


------------------------------------------------------------------------
r14171 | blendix | 2008-03-19 14:32:16 +0100 (Wed, 19 Mar 2008) | 4 lines


Bugfix: cloth crash applying effector forces to quads.


------------------------------------------------------------------------
r14170 | campbellbarton | 2008-03-19 11:37:19 +0100 (Wed, 19 Mar 2008) | 2 lines

saveRenderedImage dosnt work in backgrond mode, so added a warning in the docs and an exception if called.

------------------------------------------------------------------------
r14169 | campbellbarton | 2008-03-19 10:26:01 +0100 (Wed, 19 Mar 2008) | 2 lines

added a warning in python api abot ipo curves. minor change to curve.c 

------------------------------------------------------------------------
r14168 | briggs | 2008-03-19 00:16:47 +0100 (Wed, 19 Mar 2008) | 6 lines

-> FLT importer hierarchy transform bugs

Several transform bugs in the flt importer have been fixed. This included
parent/child relationships and matrices not importing correctly along with
some problems with the import scale option.

------------------------------------------------------------------------
r14167 | briggs | 2008-03-18 23:55:40 +0100 (Tue, 18 Mar 2008) | 5 lines

-> FLT palette alpha bug

Default FLT palette had all colors with an alpha of zero
which caused problems with some versions of OpenSceneGraph.

------------------------------------------------------------------------
r14166 | campbellbarton | 2008-03-18 21:54:52 +0100 (Tue, 18 Mar 2008) | 4 lines

[#8596] curve editing is unstable
Though I could not reproduce the crash, the example file would always reference an invalid pointer.


------------------------------------------------------------------------
r14165 | campbellbarton | 2008-03-18 18:34:00 +0100 (Tue, 18 Mar 2008) | 2 lines

added a check so baking works in background mode (through a python script)

------------------------------------------------------------------------
r14164 | campbellbarton | 2008-03-18 17:12:43 +0100 (Tue, 18 Mar 2008) | 3 lines

Added null check to prevent crashing on paste.
Should look into why XGetWindowProperty isnt working also.

------------------------------------------------------------------------
r14163 | campbellbarton | 2008-03-18 15:49:31 +0100 (Tue, 18 Mar 2008) | 2 lines

fix for [#7962] anomalous mem usage with pydrivers.py scripts

------------------------------------------------------------------------
r14162 | campbellbarton | 2008-03-18 14:42:38 +0100 (Tue, 18 Mar 2008) | 3 lines

patch from Paul Rotering (pryon)
[#7124] knot vector access for SurfNurb

------------------------------------------------------------------------
r14161 | blendix | 2008-03-18 11:55:07 +0100 (Tue, 18 Mar 2008) | 4 lines


Fix for bug #7986: tab in edit introduces garbage values.


------------------------------------------------------------------------
r14160 | genscher | 2008-03-17 22:45:40 +0100 (Mon, 17 Mar 2008) | 1 line

Collision Modifier/KDOP: Rearrange things to be more generic. Also fix possible crash if not enough memory there.
------------------------------------------------------------------------
r14159 | blendix | 2008-03-17 21:57:16 +0100 (Mon, 17 Mar 2008) | 8 lines


Fix for bug #6758: material nodes were not working correct with
ray mirror and transparency, was using the same stack for all
recursion depths, now creates new stacks as needed.

Fix for bug #8592: crash saving non-float image as 16bit tiff.


------------------------------------------------------------------------
r14158 | campbellbarton | 2008-03-17 20:58:11 +0100 (Mon, 17 Mar 2008) | 2 lines

Running scripts with Blender.Run() would crash when reloading.

------------------------------------------------------------------------
r14157 | blendix | 2008-03-17 19:49:30 +0100 (Mon, 17 Mar 2008) | 5 lines


Fix for bug #8093: editmesh knife with axis constraint + snapping rounded
down some values unnecessarily, which made it not entirely exact.


------------------------------------------------------------------------
r14156 | blendix | 2008-03-17 19:43:10 +0100 (Mon, 17 Mar 2008) | 5 lines


Fix for bug #8464: particle system didn't attach to mesh in
case of a deforming modifier after subsurf.


------------------------------------------------------------------------
r14155 | campbellbarton | 2008-03-17 19:01:59 +0100 (Mon, 17 Mar 2008) | 5 lines

- [#8589] Scripts which use file selector not working correctly

Fix for another bug I introduced with persistent python windows.
also removed unused var.

------------------------------------------------------------------------
r14154 | campbellbarton | 2008-03-17 17:45:20 +0100 (Mon, 17 Mar 2008) | 2 lines

missing header

------------------------------------------------------------------------
r14153 | theeth | 2008-03-17 16:46:07 +0100 (Mon, 17 Mar 2008) | 5 lines

[#8586] 2.46 RC1 - Soft falloff problem

Manipulator event handler was out of sync with transform event handler.

The real hotkeys to increase/decrease the area of influence are Alt PAD+ / PAD- and PageUp / PageDown (has been that way in non-manipulator transform for years now).
------------------------------------------------------------------------
r14152 | blendix | 2008-03-17 14:43:03 +0100 (Mon, 17 Mar 2008) | 4 lines


Bugfix: sequencer gamma cross didn't work correct on float buffers.


------------------------------------------------------------------------
r14151 | blendix | 2008-03-17 14:02:48 +0100 (Mon, 17 Mar 2008) | 5 lines


Bugfix: keyframes of hidden actions in action groups were still
drawing in the group row.


------------------------------------------------------------------------
r14150 | blendix | 2008-03-17 13:27:17 +0100 (Mon, 17 Mar 2008) | 6 lines


Bugfix: image texture with texface would not render sometimes, wasn't
setting image user correct. Also found that this texface rendering was
not threadsafe for > 2 threads.


------------------------------------------------------------------------
r14149 | blendix | 2008-03-17 11:15:38 +0100 (Mon, 17 Mar 2008) | 4 lines


Fix for bug #8537: converting particles to a mesh didn't work well.


------------------------------------------------------------------------
r14148 | briggs | 2008-03-17 04:50:22 +0100 (Mon, 17 Mar 2008) | 4 lines

-> Bevel tools sharp flag fix

Sharp flags were not being preserved by bevel modifier. Fixed now.

------------------------------------------------------------------------
r14147 | blendix | 2008-03-16 21:49:10 +0100 (Sun, 16 Mar 2008) | 5 lines


Fix for bug #8560: grouping nodes could lead to multiple links to the
same input, if the nodes had been grouped separately before.


------------------------------------------------------------------------
r14146 | blendix | 2008-03-16 21:04:41 +0100 (Sun, 16 Mar 2008) | 5 lines


Fix for bug #8582: compositor math node did not output any result
without input connections.


------------------------------------------------------------------------
r14145 | blendix | 2008-03-16 21:01:52 +0100 (Sun, 16 Mar 2008) | 5 lines


Fix for bug #6850: after zooming into the curve widget it could
become impossible to zoom out (with clipping enabled).


------------------------------------------------------------------------
r14144 | blendix | 2008-03-16 20:38:04 +0100 (Sun, 16 Mar 2008) | 5 lines


Fix for bug #8516: mesh deform modifier didn't work correct with
transformed cage objects.


------------------------------------------------------------------------
r14143 | schlaile | 2008-03-16 18:43:59 +0100 (Sun, 16 Mar 2008) | 9 lines

== Align ==

Bugfix:

Fix for "Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand."

memory corruption... (theeth ? )


------------------------------------------------------------------------
r14142 | schlaile | 2008-03-16 18:34:39 +0100 (Sun, 16 Mar 2008) | 7 lines

== Sequencer ==

This fixes:  	

[#8554] Sequencer: some metastrip plays audio outside of its limits


------------------------------------------------------------------------
r14141 | ianwill | 2008-03-16 18:24:29 +0100 (Sun, 16 Mar 2008) | 14 lines

== PyNodes ==

Ongoing updates to the Blender.Node Python API:

- Changed Blender.Node.node to Blender.Node.Scripted to be more specific and conform to bpython API.
- Added a Blender.Node.Socket type to be used to define node sockets in a PyNode script. Also, socket type is inferred from the value(s) passed in, instead of also being defined by the script author.
- Added attr access to input and output sockets in the __call__ method. Ex: an input socket called 'color' can be accessed as self.input.color now.

These changes break existing pynode scripts, which shouldn't be a problem yet, of course, since we're still finishing this feature for 2.46. The wiki page and sample .blends have already been updated:

http://wiki.blender.org/index.php/BlenderDev/PyNodes
http://wiki.blender.org/index.php/BlenderDev/PyNodes/API


------------------------------------------------------------------------
r14140 | theeth | 2008-03-16 17:00:00 +0100 (Sun, 16 Mar 2008) | 3 lines

== Align ==

Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand.
------------------------------------------------------------------------
r14139 | campbellbarton | 2008-03-16 15:28:00 +0100 (Sun, 16 Mar 2008) | 4 lines

[8559] Python script that uses FIleSelector and has an error in it segfaults Blender
Want completely fixed, check if the script was removed before running the callback.


------------------------------------------------------------------------
r14137 | ton | 2008-03-16 13:42:54 +0100 (Sun, 16 Mar 2008) | 7 lines

Bugfix #8581

Edit mode stats draw, option "global stats", did not calculate correct
angles.



------------------------------------------------------------------------
r14135 | ton | 2008-03-16 12:36:43 +0100 (Sun, 16 Mar 2008) | 6 lines

Bugfix #8361

Menu with group names, object buttons, didn't support large amounts yet.
Now it switches to collumn view.


------------------------------------------------------------------------
r14134 | ton | 2008-03-16 12:09:34 +0100 (Sun, 16 Mar 2008) | 9 lines

Bugfix #8526

Sometimes a panel could not be moved, this caused by fact that its
parent was sometimes not visible. Old bug actually. :)

There's a lot of editbutton panels btw... so there it happened.



------------------------------------------------------------------------
r14133 | aligorith | 2008-03-16 11:26:13 +0100 (Sun, 16 Mar 2008) | 3 lines

Constraints PyAPI:

Added support for Limit Distance constraint
------------------------------------------------------------------------
r14132 | lukep | 2008-03-16 09:08:28 +0100 (Sun, 16 Mar 2008) | 6 lines

fixes for bugs #8496 & #8497 

large sources defines cannot be used on darwin 
and windows 


------------------------------------------------------------------------
r14131 | aligorith | 2008-03-16 07:28:40 +0100 (Sun, 16 Mar 2008) | 3 lines

Constraints Py-Api:

Fixed up Py-API access to PyConstraints. Also updated docs to reflect these changes. 
------------------------------------------------------------------------
r14130 | aligorith | 2008-03-16 04:51:00 +0100 (Sun, 16 Mar 2008) | 3 lines

== Proxies + Bone Groups ==

Bone Groups are now always copied from the source armature. This does mean that it isn't possible to have 'local' bone groups as for constraints, but it is better than losing bone groups from the original. 
------------------------------------------------------------------------
r14129 | aligorith | 2008-03-16 04:11:57 +0100 (Sun, 16 Mar 2008) | 5 lines

Todo #8511: Lock Transform Channels does not work with Clear Transforms

When transform channels (i.e. LocX, RotY, ScaleZ) are 'locked' in the Transform Properties panel, the Clear Transform Tools (Alt-G/R/S) didn't respect these.

Also fixed typo in 3D-View Menu item.
------------------------------------------------------------------------
r14128 | aligorith | 2008-03-16 02:31:14 +0100 (Sun, 16 Mar 2008) | 8 lines

== Action Editor - Fixed 2 Long-Standing Annoyances ==

This commit fixes two long-standing annoyances which were confusing to new users and also posed workflow bottlenecks:

* A 'Fake-User' button is now displayed beside the delete button. This makes it clear to the user that actions have a fake user (by default), and provides quicker access to them when 'deleting'.
** Related to this, I've adjusted the tooltips for the fake-user button when there is a fake user, to clear up any ambiguity over the purpose of the button.

* When an object has an Ob-IPO (i.e. keyframing object transforms), it is now possible to simply use the 'Add New' entry in the Action Editor to make a new action for the object, with the IPO assigned to a new Action. This removes the need to open an IPO-window just to do that.
------------------------------------------------------------------------
r14127 | genscher | 2008-03-15 23:55:49 +0100 (Sat, 15 Mar 2008) | 1 line

Bugfix in kdop - one leaf possible missing
------------------------------------------------------------------------
r14125 | blendix | 2008-03-15 21:59:26 +0100 (Sat, 15 Mar 2008) | 4 lines


Bugfix: radiosity was slower due to return lost in code refactor.


------------------------------------------------------------------------
r14124 | ben2610 | 2008-03-15 21:52:03 +0100 (Sat, 15 Mar 2008) | 1 line

BGE fix: ghost objects created with AddObject actuator will retain their ghost property
------------------------------------------------------------------------
r14123 | campbellbarton | 2008-03-15 19:53:42 +0100 (Sat, 15 Mar 2008) | 2 lines

fix for [#8559] Python script that uses FIleSelector and has an error in it segfaults Blender

------------------------------------------------------------------------
r14122 | campbellbarton | 2008-03-15 18:19:53 +0100 (Sat, 15 Mar 2008) | 2 lines

forgot to free memory for python api mesh.getTangents()

------------------------------------------------------------------------
r14121 | ben2610 | 2008-03-15 18:08:58 +0100 (Sat, 15 Mar 2008) | 16 lines

New rayCastTo() python method for KX_GameObject: 

rayCastTo(other,dist,prop)

Look towards another point/KX_GameObject and return first object hit within dist with a property that match prop, None if no object found or if it does not match prop.

Parameters:
  other = 3-tuple (xyz coordinates) or object reference (target=center of object)
          (type = list [x,y,z] or object reference)
  dist = max distance of detection (can be negative => look behind)
         If 0 or omitted => detect up to other
	 (type=float)
  prop = property name that object must have
         If empty or omitted => detect any object
         (type=string)

------------------------------------------------------------------------
r14120 | ben2610 | 2008-03-15 17:51:58 +0100 (Sat, 15 Mar 2008) | 1 line

fix bug with unitialized variable (thanks VS)
------------------------------------------------------------------------
r14119 | ben2610 | 2008-03-15 17:49:22 +0100 (Sat, 15 Mar 2008) | 1 line

fix bug in walking through script linked list (thanks VS)
------------------------------------------------------------------------
r14117 | blendix | 2008-03-15 17:29:49 +0100 (Sat, 15 Mar 2008) | 5 lines


Fix for bug #8565: bug rendering tangent space normal map on
solid faces, caused by recent commit to solve spikes problem.


------------------------------------------------------------------------
r14116 | stiv | 2008-03-15 15:41:47 +0100 (Sat, 15 Mar 2008) | 2 lines

compiler warning cleanup

------------------------------------------------------------------------
r14115 | sirdude | 2008-03-14 21:11:43 +0100 (Fri, 14 Mar 2008) | 5 lines

Added a WITH_BF_OPENMP option
to add in proper flags for openmp support.

Kent

------------------------------------------------------------------------
r14113 | campbellbarton | 2008-03-14 19:53:51 +0100 (Fri, 14 Mar 2008) | 2 lines

added mesh.getTangents() to the python api

------------------------------------------------------------------------
r14112 | blendix | 2008-03-14 19:21:06 +0100 (Fri, 14 Mar 2008) | 4 lines


Fix for bug #8467: a softbody hair crash.


------------------------------------------------------------------------
r14111 | campbellbarton | 2008-03-14 19:16:54 +0100 (Fri, 14 Mar 2008) | 2 lines

fixed a possible use of uninitialized orco coords if the mesh has more totverts then keyblock elements.

------------------------------------------------------------------------
r14110 | blendix | 2008-03-14 19:08:27 +0100 (Fri, 14 Mar 2008) | 7 lines


Fix for bug #8555: geometry node front/bake was broken.
Fix for bug #7418: texture ipo's didn't show for textures in node materials.
Fix for part of bug #6758: node materials in other node materials could
miss texture coordinates.


------------------------------------------------------------------------
r14109 | themyers | 2008-03-14 15:15:37 +0100 (Fri, 14 Mar 2008) | 3 lines

Fix for linking error when building with blenderplayer.


------------------------------------------------------------------------
r14108 | blendix | 2008-03-14 11:56:09 +0100 (Fri, 14 Mar 2008) | 5 lines


Bugfix: baking selected to active did not include materials with
Traceable disabled.


------------------------------------------------------------------------
r14105 | campbellbarton | 2008-03-14 10:46:53 +0100 (Fri, 14 Mar 2008) | 2 lines

my last commit to readfile.c crashes some files, must look further into this.

------------------------------------------------------------------------
r14104 | stiv | 2008-03-14 02:08:23 +0100 (Fri, 14 Mar 2008) | 3 lines

cleanup some warnings about signed vs unsigned comparison 


------------------------------------------------------------------------
r14103 | genscher | 2008-03-14 02:07:09 +0100 (Fri, 14 Mar 2008) | 1 line

Bugfix for cloth vectorblur (back to normal)
------------------------------------------------------------------------
r14099 | genscher | 2008-03-13 23:45:36 +0100 (Thu, 13 Mar 2008) | 1 line

Cloth header cleanup, bugfix (again) in wind calculation, bugfix for not working fields mindist GUI option
------------------------------------------------------------------------
r14098 | campbellbarton | 2008-03-13 22:41:28 +0100 (Thu, 13 Mar 2008) | 2 lines

line commented out with the orange merge is needed for library linking when linking in objects that indirectly point to groups that are already directly linked in. This has been a problem for many peach scenes. but saving and reloading made the objects appear.

------------------------------------------------------------------------
r14097 | blendix | 2008-03-13 22:14:11 +0100 (Thu, 13 Mar 2008) | 5 lines


Fix for bug #5641: edge slide doesn't work straight after remove
doubles. Also fixed some 64bit warnings in this file.


------------------------------------------------------------------------
r14096 | blendix | 2008-03-13 20:40:36 +0100 (Thu, 13 Mar 2008) | 6 lines


Two bugfixes:
- Clicking below the list of items in the shift+f4 databrowser could crash.
- Text window crashed when making it zero size.


------------------------------------------------------------------------
r14095 | theeth | 2008-03-13 19:47:55 +0100 (Thu, 13 Mar 2008) | 3 lines

Fix compiling error.

Typo in text.c
------------------------------------------------------------------------
r14094 | blendix | 2008-03-13 19:36:33 +0100 (Thu, 13 Mar 2008) | 4 lines


Fix for bug #8421: curve shape keys were resetting the curve radius to 0.0.


------------------------------------------------------------------------
r14093 | campbellbarton | 2008-03-13 19:34:23 +0100 (Thu, 13 Mar 2008) | 2 lines

wasnt returning the images in python bake api

------------------------------------------------------------------------
r14092 | themyers | 2008-03-13 18:30:29 +0100 (Thu, 13 Mar 2008) | 3 lines

Fix for bug #8548: txt_copy_sel in txt_cut_sel only copied string in a local buffer.
Changed txt_cut_sel to use the clipboard.

------------------------------------------------------------------------
r14091 | blendix | 2008-03-13 16:55:35 +0100 (Thu, 13 Mar 2008) | 6 lines


Fix for bug #8437: white borders in envmap reflection, cause was
change in imagewraposa that de-premuls colors, while envmap code
was expecting premultiplied colors.


------------------------------------------------------------------------
r14089 | themyers | 2008-03-13 16:12:19 +0100 (Thu, 13 Mar 2008) | 3 lines

Patch #8488: UserPref to switch between pan/paste on MMB in text editor.


------------------------------------------------------------------------
r14088 | genscher | 2008-03-13 15:38:29 +0100 (Thu, 13 Mar 2008) | 1 line

Fixing compiler wanring
------------------------------------------------------------------------
r14087 | blendix | 2008-03-13 15:36:17 +0100 (Thu, 13 Mar 2008) | 5 lines


Fix for bake texture antialiasing commit, AO with constant jitter
didn't work. Also fixed a warning.


------------------------------------------------------------------------
r14086 | blendix | 2008-03-13 13:38:00 +0100 (Thu, 13 Mar 2008) | 4 lines


Fix for use of uninitialized value in active edge drawing.


------------------------------------------------------------------------
r14085 | blendix | 2008-03-13 12:42:32 +0100 (Thu, 13 Mar 2008) | 4 lines


Fix for bug #8387: active uv layer index could become invalid in editmode.


------------------------------------------------------------------------
r14084 | blendix | 2008-03-13 12:26:18 +0100 (Thu, 13 Mar 2008) | 5 lines


Fix for bug #8385: vector inputs of texture node in the compositor did
not work correct, it should use bNodeStack inputs like other nodes.


------------------------------------------------------------------------
r14083 | blendix | 2008-03-13 11:58:36 +0100 (Thu, 13 Mar 2008) | 5 lines


Fix for bug #8476: changing lamp buttons or new W-key lamp editing
didn't update shaded mode, and W-key didn't update lamp preview render.


------------------------------------------------------------------------
r14082 | blendix | 2008-03-13 11:27:35 +0100 (Thu, 13 Mar 2008) | 8 lines


Attempted fix for bug #8441: editing in particle mode with limit visible
enabled is really slow on some cards. Cause might be the large number of
calls to glReadPixels, now it uses the same system as sculpt to store
the depths once, code was already there for the case those depths were
available, it just wasn't storing them.


------------------------------------------------------------------------
r14081 | aligorith | 2008-03-13 11:24:40 +0100 (Thu, 13 Mar 2008) | 3 lines

Bugfix #8543:

New keyframes were being added 1 place too early. With just two keyframes, this resulted in keyframes being added in reverse order (which lead to problems until scrubbing timeline)
------------------------------------------------------------------------
r14080 | blendix | 2008-03-13 10:58:21 +0100 (Thu, 13 Mar 2008) | 5 lines


Fix for bug #8502: AO was being computed unnecessarily if it was
excluded from the combined pass and the AO pass was disabled.


------------------------------------------------------------------------
r14079 | stiv | 2008-03-13 04:32:23 +0100 (Thu, 13 Mar 2008) | 6 lines

French text was breaking python interpreters.
Add character encoding to file like this:
# -*- coding: latin-1 -*-

Thanks to eago for the bug report.

------------------------------------------------------------------------
r14078 | genscher | 2008-03-13 02:24:59 +0100 (Thu, 13 Mar 2008) | 1 line

Temporary bugfix [#8474]: Smaller fluid objects had no velocity assigned for vectorblur usage. All zero elements now get the average velocity assigned. I tried to fix the real source - but that seems to be somewhere in the fluids code not reachable by me
------------------------------------------------------------------------
r14077 | schlaile | 2008-03-12 23:01:57 +0100 (Wed, 12 Mar 2008) | 8 lines

== Quicktime ==

Hopefully fixes:
[#8518] 2.46RC1: Blender doesn't render animation correctly with Quicktime and 30/1.001

FPS was off by a factor of 10 in export...


------------------------------------------------------------------------
r14076 | schlaile | 2008-03-12 22:53:09 +0100 (Wed, 12 Mar 2008) | 6 lines

== Sequencer ==

This fixes:
[#8521] Sequencer: numpad zoom is inconsistent


------------------------------------------------------------------------
r14075 | campbellbarton | 2008-03-12 22:38:51 +0100 (Wed, 12 Mar 2008) | 2 lines

oddly enough this printf was the only problem compiling blender with GCC 4.3

------------------------------------------------------------------------
r14074 | ben2610 | 2008-03-12 22:33:24 +0100 (Wed, 12 Mar 2008) | 44 lines

Delta Loc/Rot/Scale Ipo curve are now supporting in the BGE with the following limitations:

1. All Ipo channels are now independent. 
In Blender 2.45, all 3 Loc Ipo channels were automatically set
together. For example, having just a LocX Ipo channel was sufficient
to fix the X, Y and Z coordinates, with the Y and Z value taken
from the object original Y and Z location in Blender. The same
was true for the 3 Rot and the 3 Scale Ipo channels: the missing
channels were assumed to have constant value taken from the object
original orientation/scale in Blender.
With this patch, all Ipo channels are now independent. 
THIS WILL CREATE BACKWARD COMPATIBILITY PROBLEM if you omit to
define the 3 channels of a same type together in your Blend file:
the undefined Loc, Rot, Scale coordinates of the object will
be influenced by the parent/spawner Loc/Rot/Scale in case the
object is a child or dynamically created.

2. Delta Loc, Rot, Scale are now supported with the following
limitations:
- The delta Loc/Rot Ipo modify the object global (NOT local)
location/orientation
- The delta Scale change the object local scale
- The delta Ipo curves are relative to the object starting
Loc/Rot/Scale when the Ipo was first activated; after that, the
delta Ipo becomes global. This means that the object will return
to this initial Loc/Rot/Scale when you later restart the Ipo
curve, even if you had changed the object Loc/Rot/Scale in the
meantime. Of course this applies only to the specific Loc/Rot/Scale
coordinate that are defined in the Ipo channels as the channels
are now independent.

3. When the objects are converted from Blender to the BGE, the
delta Loc/Rot/Scale that might result from initial non-zero values
in delta Ipo Curves will be ignored. However, as soon as the
delta Ipo curve is activated, the non-zero values will be taken
into account and the object will jump to the same Loc/Rot/Scale
situation as in Blender. Note that delta Ipo curves with initial
non-zero values is bad practice; logically, a delta Ipo curver
should always start from 0.

4. If you define both a global and delta channel of the same
type (LocX and DLocX), the result will be a global channel equivalent
to the sum of the two channels (LocX+DLocX).

------------------------------------------------------------------------
r14073 | ben2610 | 2008-03-12 22:31:17 +0100 (Wed, 12 Mar 2008) | 1 line

Add CMP_premulkey.c to Win32 project
------------------------------------------------------------------------
r14072 | blendix | 2008-03-12 21:22:05 +0100 (Wed, 12 Mar 2008) | 5 lines


Baking now does material texture anti-aliasing if the OSA button is
enabled, result of that is mainly visible for image textures.


------------------------------------------------------------------------
r14071 | blendix | 2008-03-12 20:55:37 +0100 (Wed, 12 Mar 2008) | 8 lines


Added two UV features (Apricot request):

- Alt+click edge loop select.
- Next to Align X/Y, Align Auto which will pick X or Y automatically,
  should give the expected result for nearly all cases.


------------------------------------------------------------------------
r14070 | blendix | 2008-03-12 17:53:11 +0100 (Wed, 12 Mar 2008) | 5 lines


Bugfix: recent insert keyframe optimization had an error in it
that made replacing the last keyframe not work correct.


------------------------------------------------------------------------
r14069 | blendix | 2008-03-12 17:04:03 +0100 (Wed, 12 Mar 2008) | 5 lines


Action editor keys copy/paste did not create ipo curves if they didn't
exist yet, now it creates them if they are in the copy buffer.


------------------------------------------------------------------------
r14068 | aligorith | 2008-03-12 12:19:07 +0100 (Wed, 12 Mar 2008) | 5 lines

Insert Keyframe Optimisations:

Now a binary search is performed instead of a linear one to see where to insert a keyframe. It also checks first whether the keyframe is out of the bounds of the existing ones (as most of the time, keyframes are inserted at the end of the array). 

When using the .BVH importer to import a particularly large file, the time taken to add the keyframes improved by about 1 second. Other factors probably limited the improvement seen.
------------------------------------------------------------------------
r14067 | campbellbarton | 2008-03-12 12:13:57 +0100 (Wed, 12 Mar 2008) | 2 lines

Moved recent addition of get/setPixelF to get/setPixelHDR and kept get/setPixelF limited to 0.0-1.0 range, to prevent existing scripts breaking.

------------------------------------------------------------------------
r14066 | genscher | 2008-03-12 11:41:47 +0100 (Wed, 12 Mar 2008) | 1 line

Bugfix for wrong initial cloth settings pretending to be cotton
------------------------------------------------------------------------
r14065 | campbellbarton | 2008-03-12 11:20:45 +0100 (Wed, 12 Mar 2008) | 2 lines

quick fix for null check that crashed blender when reading some files.

------------------------------------------------------------------------
r14064 | campbellbarton | 2008-03-12 11:00:52 +0100 (Wed, 12 Mar 2008) | 2 lines

image render to billboard was rotating UV's incorrectly, also make use of texface alpha rather then making many materials with textures.

------------------------------------------------------------------------
r14063 | campbellbarton | 2008-03-12 10:04:07 +0100 (Wed, 12 Mar 2008) | 2 lines

Added python access to TEXFACE_ALPHA

------------------------------------------------------------------------
r14062 | genscher | 2008-03-12 02:42:39 +0100 (Wed, 12 Mar 2008) | 1 line

Cloth bugfix for 1. reset of cloth sim during render with vector blur when cache was not protected, 2. fix of bad vector blur for cloth, put fluidsim like function in to get real speed vectors
------------------------------------------------------------------------
r14061 | blendix | 2008-03-11 15:40:27 +0100 (Tue, 11 Mar 2008) | 5 lines


Added an Alpha Convert compositor node, to convert between
premultiplied and key alpha.


------------------------------------------------------------------------
r14060 | blendix | 2008-03-11 13:29:59 +0100 (Tue, 11 Mar 2008) | 5 lines


Bugfix: render instancing didn't work correct with layer ipo's,
each instance should have it's own layer.


------------------------------------------------------------------------
r14059 | aligorith | 2008-03-11 12:22:27 +0100 (Tue, 11 Mar 2008) | 5 lines

Bugfixes:

* Menus could no longer have their items accessed by number (i.e. W-5 didn't run merge tool in EditMode when accessed by keyboard). This was caused by my commit for BUTM (there was some extra code there that isn't really needed, but was causing havok). 
* NumPad can now be used for the above feature too now
* Typo in error message in Constraints PyAPI  
------------------------------------------------------------------------
r14057 | campbellbarton | 2008-03-11 10:00:09 +0100 (Tue, 11 Mar 2008) | 4 lines

fix for cam.setScale(), cam.setClipStart(), cam.setClipEnd() and
cam.setDrawSize(), they would raise errors when setting ints. but used not to.
better tooltips for Uv Stretch

------------------------------------------------------------------------
r14056 | broken | 2008-03-11 06:31:50 +0100 (Tue, 11 Mar 2008) | 1 line

Tiny tweak, added a space in the node title between custom name and node type.
------------------------------------------------------------------------
r14053 | broken | 2008-03-11 02:17:56 +0100 (Tue, 11 Mar 2008) | 1 line

* Small tweaks to the bevel modifier UI
------------------------------------------------------------------------
r14052 | broken | 2008-03-11 01:45:44 +0100 (Tue, 11 Mar 2008) | 1 line

Increased the maximum allowed 'Max Dist' value in raytraced reflections
------------------------------------------------------------------------
r14051 | ben2610 | 2008-03-10 22:30:35 +0100 (Mon, 10 Mar 2008) | 5 lines

BGE crash when using angV & linV actuator on static objects

The error was causing by the KINEMATIC flag not set automatically when the linear or angular velocity was set on static objects. Note that these actuators still won't work on static objects: the crash is fixed but not the actuator; linV and angV only work on dynamic objects. Fixing the linV and angV actuators on static object requires a bit more reflexion. For the time being, use dRot and dLoc on static objects.
Cleaned the code a bit: added systematic check on the physic controller presence before taking action.

------------------------------------------------------------------------
r14050 | campbellbarton | 2008-03-10 21:58:53 +0100 (Mon, 10 Mar 2008) | 2 lines

stupid mistake for setting the bake mask (only masked half the faces), also exposed a possible bug since the malloc and null checks were done without mutex locking.

------------------------------------------------------------------------
r14049 | blendix | 2008-03-10 21:12:45 +0100 (Mon, 10 Mar 2008) | 4 lines


Fix for msvc compiler error in tiff saving.


------------------------------------------------------------------------
r14048 | stiv | 2008-03-10 20:32:20 +0100 (Mon, 10 Mar 2008) | 3 lines

fix ugly code compiler warning:  empty body in an if-statement 


------------------------------------------------------------------------
r14047 | stiv | 2008-03-10 20:21:58 +0100 (Mon, 10 Mar 2008) | 3 lines

run dos2unix on CRLF files.
no change in functionality.

------------------------------------------------------------------------
r14046 | blendix | 2008-03-10 18:11:18 +0100 (Mon, 10 Mar 2008) | 4 lines


Fix for tiff 16bit saving commit, had memory leak.


------------------------------------------------------------------------
r14045 | sirdude | 2008-03-10 17:59:08 +0100 (Mon, 10 Mar 2008) | 5 lines

removed a duplicate line.

Kent


------------------------------------------------------------------------
r14044 | hos | 2008-03-10 17:04:34 +0100 (Mon, 10 Mar 2008) | 2 lines

Fix for the Finnish po from GSR.

------------------------------------------------------------------------
r14043 | hos | 2008-03-10 17:03:58 +0100 (Mon, 10 Mar 2008) | 9 lines

Change to Makefile logic for processing the po directory:
rather than processing it only when INTERNATIONAL is set
to true, instead only disabling processing it only if
INTERNATIONAL is set to false. The reason for this change is
because the Makefile in the top level directory doesn't
read all of the variables set in source/nan_definitions.mk,
and with the current scheme the po's would only get processed
if the user had explicitely set INTERNATIONAL to true.

------------------------------------------------------------------------
r14041 | genscher | 2008-03-10 13:30:24 +0100 (Mon, 10 Mar 2008) | 1 line

Another try to fix IRIX compile
------------------------------------------------------------------------
r14040 | campbellbarton | 2008-03-10 13:17:58 +0100 (Mon, 10 Mar 2008) | 4 lines

Applied [#7076] Updated Python Image API to use float buffers in getPixelF/setPixelF
and added an image.updateDisplay() function to update imbuf->rect from imbuf->rect_float
also corrected some docstrings and epydocs

------------------------------------------------------------------------
r14039 | blendix | 2008-03-10 12:39:37 +0100 (Mon, 10 Mar 2008) | 10 lines


Add an option for saving/loading DPX with in log color space with
reference black, reference white and gamma.

Added 16 bit TIFF saving.

This needs more work to cleanup code and add 16 bit TIFF reading, but
committing it now so it can be tested.


------------------------------------------------------------------------
r14038 | broken | 2008-03-10 06:22:18 +0100 (Mon, 10 Mar 2008) | 3 lines

* Updated the material preview so the 'hair' preview option 
 has UVs. Previously, it would show all noisy and messed up when
 using a UV texture.
------------------------------------------------------------------------
r14037 | theeth | 2008-03-10 01:27:17 +0100 (Mon, 10 Mar 2008) | 11 lines

== Align to Transform Orientation ==

New rotation alignement fonction

Rotates objects/Pose bones to match the selected transform orientation.

Can be used to align to view, active object (normal) and custom transform orientations.

Accessible in the Object -> Transform submenu and through the hotkey Ctrl-Alt-A (which was previously a fall through for Apply but only Ctrl-A and Ctrl-Shift-A did anything special).

Can be eventually made to work in edit mode (not too hard).
------------------------------------------------------------------------
r14036 | genscher | 2008-03-09 23:55:49 +0100 (Sun, 09 Mar 2008) | 1 line

Cloth: Fixed wind force/speed calculation (was exploding with openmp before)
------------------------------------------------------------------------
r14035 | ben2610 | 2008-03-09 23:02:32 +0100 (Sun, 09 Mar 2008) | 4 lines

BGE memleak fix: OpenGL Display Lists not deleted when switching scene

This fix also improves performance of Display List for replica objects: Display List ID caching is now enabled for replica objects which avoids a tree search on each frame and for each replica.

------------------------------------------------------------------------
r14034 | ben2610 | 2008-03-09 22:51:38 +0100 (Sun, 09 Mar 2008) | 5 lines

BGE fix: game object to controller links consistancy maintained regardless of order of deletion

AddObject actuator forces last created object to hang in memory even after object is removed from scene => bad link between object and physic controller that causes Blender to crash in case a python script tries to use it (bad programming anyway). 
This patch avoids the crash by maintaining consistent links at all time.

------------------------------------------------------------------------
r14033 | ben2610 | 2008-03-09 22:42:03 +0100 (Sun, 09 Mar 2008) | 1 line

BGE memleak fixed: mesh/material not deleted when switching scene
------------------------------------------------------------------------
r14032 | ben2610 | 2008-03-09 22:37:01 +0100 (Sun, 09 Mar 2008) | 1 line

BGE memleak fixed: game actuator does not release file buffer
------------------------------------------------------------------------
r14031 | ben2610 | 2008-03-09 22:05:05 +0100 (Sun, 09 Mar 2008) | 1 line

BlenderPlayer Win project was -again- damaged by the inclusion of libblenkey.lib, now removed
------------------------------------------------------------------------
r14030 | schlaile | 2008-03-09 21:50:43 +0100 (Sun, 09 Mar 2008) | 5 lines

== Sequencer ==

Added grab projection also to X- and Y-key to make it work like in 3d-view.


------------------------------------------------------------------------
r14028 | schlaile | 2008-03-09 21:25:57 +0100 (Sun, 09 Mar 2008) | 5 lines

== Sequencer ==

Removed sillyness on NUMPAD PERIOD that snapped CFRA to beginning of strip.


------------------------------------------------------------------------
r14027 | campbellbarton | 2008-03-09 19:06:48 +0100 (Sun, 09 Mar 2008) | 3 lines

masked/alpha baking commit was missing a null check for imbuf,
made textures also bake alpha

------------------------------------------------------------------------
r14026 | campbellbarton | 2008-03-09 18:32:32 +0100 (Sun, 09 Mar 2008) | 2 lines

adjusted uv stretch angle error to show more errors for low values.

------------------------------------------------------------------------
r14025 | campbellbarton | 2008-03-09 17:57:01 +0100 (Sun, 09 Mar 2008) | 2 lines

replaced zero comparisons with FLT_EPSILON

------------------------------------------------------------------------
r14024 | campbellbarton | 2008-03-09 16:07:01 +0100 (Sun, 09 Mar 2008) | 2 lines

removed printf and also removed some unneeded stuff, correct angles aren't needed since its only comparing the 2 angles

------------------------------------------------------------------------
r14023 | campbellbarton | 2008-03-09 15:49:12 +0100 (Sun, 09 Mar 2008) | 2 lines

optimized uv stretch display angle calculation

------------------------------------------------------------------------
r14022 | campbellbarton | 2008-03-09 08:35:12 +0100 (Sun, 09 Mar 2008) | 5 lines

fix for uninitialized variables in uv stretch drawing,
[#8428] 'Editmesh_active' theme colour not accessible via Python
bugfix problem where saving a theme would raise and error when ~/.blender didnt exist.
bugfix for file selector staying open (introduced with own undo resistant scripts)

------------------------------------------------------------------------
r14021 | campbellbarton | 2008-03-09 05:06:57 +0100 (Sun, 09 Mar 2008) | 2 lines

uv stretch area display could flicker red sometimes, removed some GL settings that aren't needed.

------------------------------------------------------------------------
r14020 | campbellbarton | 2008-03-09 04:55:46 +0100 (Sun, 09 Mar 2008) | 2 lines

fixed divide by zero problem with last commit

------------------------------------------------------------------------
r14019 | campbellbarton | 2008-03-09 04:42:59 +0100 (Sun, 09 Mar 2008) | 2 lines

Added UV Stretch (area/angle) display options

------------------------------------------------------------------------
r14018 | aligorith | 2008-03-09 04:41:13 +0100 (Sun, 09 Mar 2008) | 2 lines

* Numeric input now works better for TimeSlide
* Removed a compiler warning
------------------------------------------------------------------------
r14017 | campbellbarton | 2008-03-08 22:57:15 +0100 (Sat, 08 Mar 2008) | 2 lines

added snap cursor->active and adjusted snap menu order in toolbox and header menu's

------------------------------------------------------------------------
r14016 | campbellbarton | 2008-03-08 22:35:38 +0100 (Sat, 08 Mar 2008) | 3 lines

* Bakeing fix for apricot, stop pixels being extended for parts of the image that are not being baked (useful for multiple objects)
* Added support for baking alpha, as well as extending alpha margins.

------------------------------------------------------------------------
r14015 | letterrip | 2008-03-08 22:20:33 +0100 (Sat, 08 Mar 2008) | 5 lines

A small addition from macuno, if a full python install is not found when the 
user trys to run the Collada import/export scripts then it requests they install
python (right now a user might be a bit mystified as to why the Collada importer
or exporter is giving an error.

------------------------------------------------------------------------
r14014 | ton | 2008-03-08 20:02:08 +0100 (Sat, 08 Mar 2008) | 9 lines

Long on the wishlist, quite simple even, and there it finally is:

  Compositor:
  Muting option to temporary disable/enable nodes.
  Hotkey: press M on selection. It toggles.

Note: no menu entry yet, and drawing style could be tweakered...


------------------------------------------------------------------------
r14013 | aligorith | 2008-03-08 12:12:05 +0100 (Sat, 08 Mar 2008) | 1 line

Removed some extra code that wasn't needed in previous commit...
------------------------------------------------------------------------
r14012 | aligorith | 2008-03-08 12:08:24 +0100 (Sat, 08 Mar 2008) | 3 lines

Bugfix:

Time-Slide transform tool in the Action Editor now works as well as it did before the Action-Keys transform refactor. However, numeric input is now broken as a side-effect of this.
------------------------------------------------------------------------
r14011 | themyers | 2008-03-08 05:22:52 +0100 (Sat, 08 Mar 2008) | 7 lines

Changed getClipbaord and putClipboard functions to be more ghost like
Changed getClipboard to GHOST_getClipboard and putClipboard to GHOST_putClipboard

Removed ghost calls from blender and added the calls to winlay.h and ghostwinlay.c
This cleand up casts in drawtext.c


------------------------------------------------------------------------
r14010 | aligorith | 2008-03-08 04:02:36 +0100 (Sat, 08 Mar 2008) | 2 lines

* Clicking on constraint-buttons should now result in updates in the 3d-view without needing to move the mouse into the 3d-view first
* Added missing include
------------------------------------------------------------------------
r14009 | aligorith | 2008-03-08 03:38:35 +0100 (Sat, 08 Mar 2008) | 1 line

The BUTM button type (used for 'R' button in StretchTo/LimitDist constraints) now acts like a button when clicked on. 
------------------------------------------------------------------------
r14008 | aligorith | 2008-03-08 03:21:55 +0100 (Sat, 08 Mar 2008) | 1 line

Typo in previous commit broke compiling
------------------------------------------------------------------------
r14007 | aligorith | 2008-03-08 03:16:37 +0100 (Sat, 08 Mar 2008) | 8 lines

Bugfix #8478: Constraints PyApi for setting targetspace non-functional

Finishing off some unfinished business (from the multi-target constraints work), it is now possible to get/set target-space for constraints where this is relevant. 

For this to be possible, target-space setting(s) are now always presented as a list of ints, with each int representing the target-space setting for the relevant target. 

Constraints C-API note:
get_targets function now needs to return the number of targets the constraint can have 
------------------------------------------------------------------------
r14006 | jhk | 2008-03-08 00:08:15 +0100 (Sat, 08 Mar 2008) | 3 lines

Fix for bug [#8465] particle children for emitter particles doesn't render
-cached step didn't react to rendering and create child particles
-now emitter particle children can use the render amount too
------------------------------------------------------------------------
r14005 | jhk | 2008-03-07 23:39:54 +0100 (Fri, 07 Mar 2008) | 5 lines

Fix for bug [#8402] Hair particles don't react on changing of curve guides
-guide calculation was accessing wrong pointers in hair calculation
-now guides also respect the "apply effectors to children" - button, but not the "stiff" value
-disabled guide calculation for initial hair calculation as it's all done dynamically later
-few useless commented lines cleaned out
------------------------------------------------------------------------
r14004 | campbellbarton | 2008-03-07 23:39:45 +0100 (Fri, 07 Mar 2008) | 2 lines

own missing null check

------------------------------------------------------------------------
r14003 | campbellbarton | 2008-03-07 23:01:52 +0100 (Fri, 07 Mar 2008) | 3 lines

bugfix for [#8433] Retopo doesn't work with AutoMerge Editing.
Disable retopo while snapping, then run after. This means automerge happens first which is more useful.

------------------------------------------------------------------------
r14002 | blendix | 2008-03-07 17:28:51 +0100 (Fri, 07 Mar 2008) | 4 lines


Forgot two files in my last commit.


------------------------------------------------------------------------
r14001 | blendix | 2008-03-07 16:38:56 +0100 (Fri, 07 Mar 2008) | 8 lines


Normal map tangents are now not always averaged at vertices anymore,
but only when the UV's are connected. That fixes some artifacts when
baking and using tangent space normal maps. It does mean increased
memory usage because it now stores 4 tangents per face like UV's,
and increased processing time, but there's no simple way around that.


------------------------------------------------------------------------
r14000 | campbellbarton | 2008-03-07 10:33:18 +0100 (Fri, 07 Mar 2008) | 2 lines

snap menu order change, as suggested by Theeth, fix for own error with Window.TestBreak()

------------------------------------------------------------------------
r13999 | briggs | 2008-03-07 08:23:55 +0100 (Fri, 07 Mar 2008) | 7 lines

-> DOF from active tool

Creates (or modifies) a DOF node based upon the active object.
Requires two selected objects, the non-active one will get its
DOF coordinate system from the active selected object. This assumes
that 1 Blender unit == 10 meters

------------------------------------------------------------------------
r13998 | aligorith | 2008-03-07 04:24:23 +0100 (Fri, 07 Mar 2008) | 6 lines

Another big purge of warnings. (Main culprits this time were Campbell and Geoffrey):
* no newline at end of file (2-3)
* uninitialised vars (1)
* unused vars (1-2)
* assigning/comparing pointers and ints (numerous)
* etc.
------------------------------------------------------------------------
r13997 | briggs | 2008-03-07 03:40:12 +0100 (Fri, 07 Mar 2008) | 6 lines

-> Light points vert normal bug and DOF fixes

If light points are not given a unit normal they will
not show up correctly in some applications. Further DOF
nodes were not being exported correctly.

------------------------------------------------------------------------
r13996 | stiv | 2008-03-07 02:19:36 +0100 (Fri, 07 Mar 2008) | 4 lines

Remove extraneous class qualifiers for gcc 4.2 / 4.3 on OSX.
Thanks go to jensverwiebe via IRC.


------------------------------------------------------------------------
r13995 | campbellbarton | 2008-03-07 00:45:17 +0100 (Fri, 07 Mar 2008) | 4 lines

Attempt to fix [#6757] linked objects made "local" still not editable
But not sure exactly what the user is doing.
Made game logic work on linked objects and disabled "Add Material" for linked mesh data.

------------------------------------------------------------------------
r13994 | campbellbarton | 2008-03-06 23:45:11 +0100 (Thu, 06 Mar 2008) | 2 lines

PyAPI - Window.TestBreak() - True if the user pressed escape.

------------------------------------------------------------------------
r13993 | khughes | 2008-03-06 22:43:22 +0100 (Thu, 06 Mar 2008) | 6 lines

Python API
----------
Bugfix #8472: texture.image setter did not accept None to remove an image, or
set the image type once an image was assigned.


------------------------------------------------------------------------
r13992 | campbellbarton | 2008-03-06 22:25:15 +0100 (Thu, 06 Mar 2008) | 6 lines

Made python scripts save and load in the blend file so you can have the same scripts running when you open a blend file.
Also scripts will re-run on undo rather then closing.

This is done by saving and loading the name of the script or textblock of the 'Script' datablock, connected to the ScriptSpace. This way when there is a name but the script dosnt run.
Blender runs the script or text block if available.

------------------------------------------------------------------------
r13991 | jesterking | 2008-03-06 22:01:55 +0100 (Thu, 06 Mar 2008) | 2 lines

* on win32 with msvc USE_OPENAL was defined for the entire source. Made it so that it is defined only there where needed when needed.
* dxguid is necessary only when building WITH_BF_OPENAL=1. I already added the mingw version to our SVN in lib/windows/openal/lib and now I made sure it is linked against only when needed.
------------------------------------------------------------------------
r13989 | ton | 2008-03-06 20:26:44 +0100 (Thu, 06 Mar 2008) | 10 lines

FSA fix:

If you composite using multiple scenes, the "use FSA" button had to be set
or disabled for each scene. Now you can just set/disable FSA for the scene 
that does the compositing. You can only disable FSA in other scenes if it 
was set before though.

(Any understands these lines? :)


------------------------------------------------------------------------
r13988 | aligorith | 2008-03-06 11:02:25 +0100 (Thu, 06 Mar 2008) | 3 lines

Bugfix #8477: Reset button for StretchTo/Limit-Distance Constraints Broken

Unfortunately, using BUT instead of BUTM won't work for these buttons. Although they now work, there is less tactical feedback (i.e. button depresses when clicked), and their colouring doesn't suggest to the user that they do something (i.e. grey not 'orange').
------------------------------------------------------------------------
r13987 | themyers | 2008-03-06 02:54:04 +0100 (Thu, 06 Mar 2008) | 3 lines

Change the current line number to the cursor color when line numbers is toggled


------------------------------------------------------------------------
r13986 | genscher | 2008-03-06 02:21:40 +0100 (Thu, 06 Mar 2008) | 1 line

Cloth bugfix for jumpy cloth (users were complaining), so the mass can be changed on GUI now (reference: in old blendfiles, mass=1.0 was used)
------------------------------------------------------------------------
r13985 | sirdude | 2008-03-05 22:11:24 +0100 (Wed, 05 Mar 2008) | 11 lines

I didn't get any comments so I'm assuming its a good idea.

This makes it so the following are equal.
blender -w -p 0 0 500 500   
blender -p 0 0 500 500 -w

Just move initalization for full screen to before the loop starts.
so it doesn't matter where a -p shows up to override fullscreen.

Kent

------------------------------------------------------------------------
r13984 | hos | 2008-03-05 21:58:29 +0100 (Wed, 05 Mar 2008) | 5 lines

== Makefiles ==

Patch from GSR to correctly disable processing of po's when
international support is disabled. 

------------------------------------------------------------------------
r13983 | sirdude | 2008-03-05 20:54:19 +0100 (Wed, 05 Mar 2008) | 5 lines

Updated italian translation from Fiott(sorry if I'm getting the
name wrong)

Kent

------------------------------------------------------------------------
r13982 | blendix | 2008-03-05 18:51:35 +0100 (Wed, 05 Mar 2008) | 4 lines


Fix for undo optimization commit, compiler error on msvc.


------------------------------------------------------------------------
r13981 | blendix | 2008-03-05 18:19:57 +0100 (Wed, 05 Mar 2008) | 6 lines


Bugfix: shaded mode or baking could crash, didn't always create
memarena but it's being used now in more places so needs to be
created always.


------------------------------------------------------------------------
r13980 | blendix | 2008-03-05 18:12:09 +0100 (Wed, 05 Mar 2008) | 6 lines


Bugfix: crash inserting keyframes with missing pose channel. Also
changed some memcpy calls to memmove since memcpy doesn't allow
the buffers to overlap, but it's probably harmless.


------------------------------------------------------------------------
r13979 | blendix | 2008-03-05 16:13:41 +0100 (Wed, 05 Mar 2008) | 8 lines


Undo optimization: now big chunks of memory are not written as single
memory blocks anymore, but smaller fixed size blocks, so that diffing
can be more effective. For example helps in sculpt mode when making
only local changes to the mesh, previously it would copy the whole
MVert array for each undo step.


------------------------------------------------------------------------
r13978 | genscher | 2008-03-05 15:58:33 +0100 (Wed, 05 Mar 2008) | 1 line

Bugfix for wrong OpenMP flags when using icc (proposed by jensverwiebe via IRC)
------------------------------------------------------------------------
r13977 | blendix | 2008-03-05 12:42:40 +0100 (Wed, 05 Mar 2008) | 5 lines


Bugfix: recent command line changes broke running with ./blender -w,
was using uninitialized variables.


------------------------------------------------------------------------
r13976 | ton | 2008-03-05 11:03:31 +0100 (Wed, 05 Mar 2008) | 32 lines

Restored code from over a year ago, tests to allow anti-aliased
shadowbuffers. At the time the results were not satisfying enough,
but we now suffer a shadow problem that might well be solved with
this feature.

Problem:
Temporal aliasing of shadowbuffers when small details move (like strands).

In this case it doesn't work to simply increase the shadowbuffer size,
because strands are pixel-sized. Huge shadowbuffers make strand shadows
almost disappear. So... the shadowbuffer resolution has to be not too high.

Instead of increasing the buffer size, we then create multiple buffers,
each on different subpixel positions (a bit like "FSA" :).

So! Shadowbuffer sampling then works as follows;

1) You take multiple samples in the shadowbuffer, on different locations
   inside (or around) the rendered pixel. 
   That option was aready available as "Samp" button in Lamps

2) Set amount of sample buffers. It is default 1, but can be 4 or 9.

The results of setting it to '4' or '9' buffers you can see here:
http://www.blender.org/bf/filters/index3.html

Actually, deep shadowbuffers could solve it probably too! Anyhoo...





------------------------------------------------------------------------
r13975 | aligorith | 2008-03-05 07:11:00 +0100 (Wed, 05 Mar 2008) | 1 line

Enabled auto-snap (frame) for all newly created Action Editor instances
------------------------------------------------------------------------
r13974 | aligorith | 2008-03-05 04:59:44 +0100 (Wed, 05 Mar 2008) | 2 lines

* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding bones
* Fixes for compiler warnings
------------------------------------------------------------------------
r13973 | themyers | 2008-03-05 04:04:55 +0100 (Wed, 05 Mar 2008) | 3 lines

Fixed warning in drawtext.c


------------------------------------------------------------------------
r13972 | briggs | 2008-03-05 02:31:00 +0100 (Wed, 05 Mar 2008) | 5 lines

-> Short names fix

Short names (less than 8 characters) were not getting exported
correctly for blender objects with no FLT props attached

------------------------------------------------------------------------
r13971 | blendix | 2008-03-04 20:58:22 +0100 (Tue, 04 Mar 2008) | 8 lines


Bugfix: the shadow samplenr increment to reuse shadow results in
the renderer could lead to results being reused for unrelated
points, result was one wrong pixel or strand per part. Now instead
of setting the sample counter to 0 multiple times, it keeps a global
counter per thread for the whole render.


------------------------------------------------------------------------
r13970 | themyers | 2008-03-04 19:50:02 +0100 (Tue, 04 Mar 2008) | 4 lines

Fix bug where if you selected something then left clicked you would lose the selection buffer.
now when you left click it checks to see if there is text selected


------------------------------------------------------------------------
r13969 | sirdude | 2008-03-04 19:38:18 +0100 (Tue, 04 Mar 2008) | 4 lines

I broke it for the case where -w and -W are not called.  This should fix that up as well.

Kent

------------------------------------------------------------------------
r13968 | sirdude | 2008-03-04 19:31:57 +0100 (Tue, 04 Mar 2008) | 6 lines

Small change in the logic for -w -p The previous changes didn't quite work all the time.
This should simplify things.

Kent


------------------------------------------------------------------------
r13967 | blendix | 2008-03-04 14:33:19 +0100 (Tue, 04 Mar 2008) | 7 lines


Bugfix: auto IK + autokeyframe didn't work correct with the don't
inherit scale option yet, scale of the bone would slowly change.
Now it's still not 100% accurate, but that's unavoidable, at least
the effect is much reduced.


------------------------------------------------------------------------
r13966 | aligorith | 2008-03-04 12:29:32 +0100 (Tue, 04 Mar 2008) | 3 lines

Action Editor - malefico feature request:

Show Selected Action-Channels hidden in groups. Use the hotkey Shift ~  to do so. The name of this feature needs reviewing...
------------------------------------------------------------------------
r13965 | themyers | 2008-03-04 03:43:51 +0100 (Tue, 04 Mar 2008) | 4 lines

change error in typing
GlobalLock on line 914


------------------------------------------------------------------------
r13964 | themyers | 2008-03-04 01:41:30 +0100 (Tue, 04 Mar 2008) | 9 lines

Added Copy and Paste functions to GHOST.
- Moved WIN32 code to ghost and added code for other systems.
- Added functions getClipboard(flag), and putClipboard(buffer, flag)
    -Flag is used on X11 to request selection buffer or clipboard.
    -If any other system uses flag = 1 the function returns doing nothing.
- Changed ctrl +c/v and shift+ctrl + c/v to do the same thing (use the clipboard).
- Changed the menu items (copy, paste) to use the clipboard.


------------------------------------------------------------------------
r13963 | campbellbarton | 2008-03-03 22:43:31 +0100 (Mon, 03 Mar 2008) | 2 lines

PyAPI: create scene sequence data if its not there when getting scene.sequence

------------------------------------------------------------------------
r13962 | theeth | 2008-03-03 20:57:48 +0100 (Mon, 03 Mar 2008) | 9 lines

[#8434] Normal manipultor does not align with normals (like in 2.45)

Bring back multivert normal average for the normal manipulator/orientation.

When selecting more than three vertice, the averaged normal of all selected is used to get orientation Z-axis.

NOTE: This is only applicable when NO faces are selected, otherwise it uses the averaged normal of the faces (excluding vertice that aren't part of a face). This is not new behavior

CHANGES FROM 2.45: Selecting 2 or 3 vertice doesn't use normal averaging but uses virtual edge and face orientations instead.
------------------------------------------------------------------------
r13961 | genscher | 2008-03-03 20:02:01 +0100 (Mon, 03 Mar 2008) | 1 line

Cloth bugfix for linked deflector groups (reported by alchibal on #blendercoders incl. source) - please verify
------------------------------------------------------------------------
r13960 | blendix | 2008-03-03 19:53:06 +0100 (Mon, 03 Mar 2008) | 4 lines


Bugfix: displacement with object texture mapping could crash.


------------------------------------------------------------------------
r13959 | blendix | 2008-03-03 18:16:29 +0100 (Mon, 03 Mar 2008) | 4 lines


Fix for bug #8410: dupliframes didn't render.


------------------------------------------------------------------------
r13958 | blendix | 2008-03-03 17:38:27 +0100 (Mon, 03 Mar 2008) | 10 lines


Fix for bug #8366, render color sampling bugs and inconsistencies:
- renderwindow didn't show values of previous buffer correct.
- renderwindow only showed floats and no char values like image editor.
- renderwindow didn't show x,y values.
- image editor didn't show z values.

Patch to fix these problems provided by Rob Hausauer, thanks!


------------------------------------------------------------------------
r13957 | blendix | 2008-03-03 16:56:05 +0100 (Mon, 03 Mar 2008) | 6 lines


Bugfix: crash loading texture plugin, instance_init callback added some
time ago wasn't initialized to NULL correctly, in case the plugin was
not available.


------------------------------------------------------------------------
r13956 | sirdude | 2008-03-03 16:51:55 +0100 (Mon, 03 Mar 2008) | 4 lines

Were path issues with getversion script on some platforms.

Kent

------------------------------------------------------------------------
r13955 | blendix | 2008-03-03 15:19:58 +0100 (Mon, 03 Mar 2008) | 5 lines


Fix for bug #8412: clicking to active tabbed panels could still
go wrong with tabbed panels being hidden.


------------------------------------------------------------------------
r13954 | stiv | 2008-03-03 14:34:31 +0100 (Mon, 03 Mar 2008) | 2 lines

Minor corrections to help message.

------------------------------------------------------------------------
r13953 | aligorith | 2008-03-03 12:03:18 +0100 (Mon, 03 Mar 2008) | 3 lines

Action Editor - Group Selection (Harkyman Suggestion):

Now, when selecting Action Channel Groups while holding the Ctrl-Shift keys, all of the group's channels are selected. Any other channels/groups are deselected. Likewise, the related bones will also get selected.
------------------------------------------------------------------------
r13952 | aligorith | 2008-03-03 11:43:46 +0100 (Mon, 03 Mar 2008) | 3 lines

Bugfix:

Constraint Channel keyframes are now transformed when they appear in Action Channel Group summaries.
------------------------------------------------------------------------
r13951 | blendix | 2008-03-03 11:01:36 +0100 (Mon, 03 Mar 2008) | 4 lines


Bugfix: uv pack islands didn't work on islands without a boundary.


------------------------------------------------------------------------
r13950 | campbellbarton | 2008-03-03 09:55:45 +0100 (Mon, 03 Mar 2008) | 2 lines

updated the notes for blenders help message

------------------------------------------------------------------------
r13949 | aligorith | 2008-03-03 04:21:25 +0100 (Mon, 03 Mar 2008) | 4 lines

* Bugfix #8426: certain hooks options segfaulted 
This was caused by my previous commit for add_hook.

* Also, removed a compiler warning in the Python code
------------------------------------------------------------------------
r13948 | campbellbarton | 2008-03-03 02:44:35 +0100 (Mon, 03 Mar 2008) | 4 lines

Added a feature to the UV editor- Average UV islands, this averages selected UV islands, in proportion to the faces area in 3d space.

Renamed 'Pack Charts' to 'Pack Islands' (according to google, uv islands is a more common term)

------------------------------------------------------------------------
r13947 | genscher | 2008-03-03 01:43:37 +0100 (Mon, 03 Mar 2008) | 1 line

Cloth makefiles bugfix which lead in disabled collisions
------------------------------------------------------------------------
r13946 | genscher | 2008-03-03 00:20:20 +0100 (Mon, 03 Mar 2008) | 1 line

Cloth bugfix - stupid typo resulted in missing diagonal springs (reported by nudelZ on #blendercoders)
------------------------------------------------------------------------
r13945 | campbellbarton | 2008-03-02 23:09:40 +0100 (Sun, 02 Mar 2008) | 2 lines

blenders window argument -w / -W didnt use the last argument as command line arg should.

------------------------------------------------------------------------
r13944 | genscher | 2008-03-02 23:01:43 +0100 (Sun, 02 Mar 2008) | 1 line

Cloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared on triangles), _test_ for inlining on msvc
------------------------------------------------------------------------
r13943 | aphex | 2008-03-02 21:12:06 +0100 (Sun, 02 Mar 2008) | 5 lines

NSIS Installer:

Committing the changes used for 2.45 and the upcoming 2.46 release :) 

(Better late than never!)
------------------------------------------------------------------------
r13942 | campbellbarton | 2008-03-02 16:57:19 +0100 (Sun, 02 Mar 2008) | 2 lines

Py API - rename UndoPush to SaveUndoState

------------------------------------------------------------------------
r13941 | schlaile | 2008-03-02 15:58:18 +0100 (Sun, 02 Mar 2008) | 5 lines

== Sequencer ==

Forgot to handle dupli_seq in last commit... Sigh.


------------------------------------------------------------------------
r13940 | schlaile | 2008-03-02 15:54:45 +0100 (Sun, 02 Mar 2008) | 12 lines

== Sequencer ==

Fixed a bug with ibuf caching on startstill / endstill.

The new blend modes happened to force start and endstill to be rendered
over and over again. This could get very annoying especially on scene
strips.

We therefore now cache the original start or endstill ibuf seperately
and copy on demand.


------------------------------------------------------------------------
r13939 | jesterking | 2008-03-02 10:39:14 +0100 (Sun, 02 Mar 2008) | 1 line

* to be able to properly compile this, the friend needs 'class' too:  friend class CcdOverlapFilterCallBack
------------------------------------------------------------------------
r13938 | jesterking | 2008-03-02 09:49:39 +0100 (Sun, 02 Mar 2008) | 1 line

* temproary -> temporary topy fxi
------------------------------------------------------------------------
r13937 | aligorith | 2008-03-02 02:17:17 +0100 (Sun, 02 Mar 2008) | 3 lines

Bugfix:

Disabled fully OpenGl-based drawing of keyframes in the Action Editor. This was apparently causing problems on some Intel cards... 
------------------------------------------------------------------------
r13936 | campbellbarton | 2008-03-02 01:26:13 +0100 (Sun, 02 Mar 2008) | 3 lines

made it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Enabled for win32 and in the image browser.

------------------------------------------------------------------------
r13935 | ben2610 | 2008-03-01 20:46:50 +0100 (Sat, 01 Mar 2008) | 1 line

Various mem leaks related to CValue reference count fixed
------------------------------------------------------------------------
r13934 | ben2610 | 2008-03-01 20:29:01 +0100 (Sat, 01 Mar 2008) | 1 line

Mem leak fixed in sound buffer & parent invert node
------------------------------------------------------------------------
r13933 | ben2610 | 2008-03-01 20:17:37 +0100 (Sat, 01 Mar 2008) | 1 line

Radar/Near sensor performance problem fixed
------------------------------------------------------------------------
r13932 | ben2610 | 2008-03-01 20:05:41 +0100 (Sat, 01 Mar 2008) | 1 line

unknown property fixed in sensor/actuators
------------------------------------------------------------------------
r13931 | ben2610 | 2008-03-01 19:46:23 +0100 (Sat, 01 Mar 2008) | 1 line

random sensor fixed (patch 8414)
------------------------------------------------------------------------
r13930 | ben2610 | 2008-03-01 19:41:32 +0100 (Sat, 01 Mar 2008) | 1 line

_DEBUG defined in release build of node project
------------------------------------------------------------------------
r13929 | briggs | 2008-03-01 17:32:23 +0100 (Sat, 01 Mar 2008) | 7 lines

-> Bevel modifier cleanup

Bevel modifier had several problems. These should be fixed now. The bevel
modifier in editmode cannot have 'apply to cage' checked as the modifier
cannot possibly support mapping. Further, custom data preservation has been
turned off temporarily, but will be added back in soon.

------------------------------------------------------------------------
r13928 | ton | 2008-03-01 15:54:18 +0100 (Sat, 01 Mar 2008) | 13 lines

Bugfix:
New option "move texture channel up/down" lacked redraw calls.

Featurette:
There's still no manipulator handles for lamps to set cone size, dist, 
clipping. To save our poor Peach artists hours of work I've added a
quick method to at least be able to do it interactive.
Option is hidden behind Wkey, and uses a similar function like Scaling.
(Put mouse cursor close to start value, move mouse to center of lamp)

Ultimately this should move to custom manipulator handles...


------------------------------------------------------------------------
r13927 | campbellbarton | 2008-03-01 13:31:00 +0100 (Sat, 01 Mar 2008) | 2 lines

fix for [#8408] Indentation error in text editor when typing a colon anywhere

------------------------------------------------------------------------
r13926 | campbellbarton | 2008-03-01 11:59:38 +0100 (Sat, 01 Mar 2008) | 3 lines

Fix for bug [#8405] makeParentDeform segfaults Blender
linking armatures to objects didnt make pose data.

------------------------------------------------------------------------
r13925 | aligorith | 2008-03-01 05:03:06 +0100 (Sat, 01 Mar 2008) | 3 lines

'Bug'-fix #8404:

Action Editor now displays shapekey channels for curves/surfaces too now. This commit may be reverted if there are some corner cases which work really bad with this.
------------------------------------------------------------------------
r13924 | letterrip | 2008-03-01 04:56:16 +0100 (Sat, 01 Mar 2008) | 13 lines

This commit contains the addition of a greek translation thanks to


Κωστής Καρβουνιάρης
Kostas Gerontis

Also a patch from Markus Schulz that 

adds buttons to the material, light, and world texture panels to make it 
easy to rearrange the textures in the list without having to 
use copy and paste.


------------------------------------------------------------------------
r13923 | aligorith | 2008-03-01 04:45:04 +0100 (Sat, 01 Mar 2008) | 1 line

Split the add_hook function into two parts (user interaction + actual operations)
------------------------------------------------------------------------
r13922 | aligorith | 2008-03-01 04:42:09 +0100 (Sat, 01 Mar 2008) | 1 line

Removed warning from py-api code
------------------------------------------------------------------------
r13921 | campbellbarton | 2008-02-29 21:45:57 +0100 (Fri, 29 Feb 2008) | 2 lines

Wrap UndoPush with python, needed for apricot, so changes made be scripts can have undo's as well, otherwise users undo and loose changes the script made.

------------------------------------------------------------------------
r13920 | briggs | 2008-02-29 21:26:35 +0100 (Fri, 29 Feb 2008) | 11 lines

-> Bevel cleanup

Bevel and bmesh code is in need of some cleanup and fixing.

-Fixed potential crasher in BME_JEKV
-Sped up memory usage of BME_MF
-Removed unused structure members


More to come soon....

------------------------------------------------------------------------
r13919 | bdiego | 2008-02-29 20:19:31 +0100 (Fri, 29 Feb 2008) | 8 lines

Fix segmentation fault in Image node when change the Layer in EXR files.

The argument in the uiButSetFunc is a Image struct, but
BKE_image_multilayer_index expect a RenderResult struct, so when
you load a exr file and try change the Layer, Blender crash.
(image_layer_cb call BKE_image_multilayer_index)


------------------------------------------------------------------------
r13918 | blendix | 2008-02-29 17:52:46 +0100 (Fri, 29 Feb 2008) | 4 lines


Fix for bug #8403: a radiosity render crash.


------------------------------------------------------------------------
r13917 | campbellbarton | 2008-02-29 16:50:28 +0100 (Fri, 29 Feb 2008) | 5 lines

* Made BLI_join_dirfile() check before adding a slash between dir and file so as not to get /foo///bar.blend
* Pointcache now uses the process id to construct the path for unsaved files. (so 2 or more blender's open wont try to read/write the same pointcache)
* Temp pointcache is cleared when existing blender, added BIF_clear_tempfiles() for this. Should also be usedto clear EXR's in the temp dir (TODO), BIF_clear_tempfiles also needs to be added in more places. (On file load for instace)


------------------------------------------------------------------------
r13916 | bdiego | 2008-02-29 16:36:24 +0100 (Fri, 29 Feb 2008) | 10 lines

Fix segfault when save the render with Multilayer format.

The RE_WriteResult function don't call BLI_make_existing_file
like BKE_write_ibuf, so if you append a directory to the output
path and it don't exist, the exr_begin_write fail to create
the file and blender crash.

Note that this is only 1 line of code and don't touch
anything in the render code.

------------------------------------------------------------------------
r13915 | blendix | 2008-02-29 14:29:15 +0100 (Fri, 29 Feb 2008) | 5 lines


Fix for bug rendering scene layers from the compositor and scene sets,
two functions were both using the same LIB_DOIT flag, gave conflicts.


------------------------------------------------------------------------
r13914 | blendix | 2008-02-29 13:23:26 +0100 (Fri, 29 Feb 2008) | 5 lines


Bugfix: DPX menu entry for saving renders was missing, caused by
DDS saving not being uncommented consistently.


------------------------------------------------------------------------
r13913 | campbellbarton | 2008-02-29 11:13:34 +0100 (Fri, 29 Feb 2008) | 2 lines

Didnt set the image output node active before browsing the files.

------------------------------------------------------------------------
r13912 | jhk | 2008-02-29 09:31:11 +0100 (Fri, 29 Feb 2008) | 1 line

Particle weights weren't drawn properly in particle mode. There also was some lag in updating the colors when changing particle edit brushes.
------------------------------------------------------------------------
r13911 | campbellbarton | 2008-02-29 00:14:55 +0100 (Fri, 29 Feb 2008) | 5 lines

* Fix for own big, Adding group objects from the outliner didnt check they were externally linked.
* ping "~" in the fileselectors dir will take you to $HOME (non win32)
* Added a file selector for Node output image


------------------------------------------------------------------------
r13910 | genscher | 2008-02-29 00:12:50 +0100 (Fri, 29 Feb 2008) | 1 line

Cloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster + bugfix for explode), Changed: Collision response also put vertices back to surface now
------------------------------------------------------------------------
r13909 | genscher | 2008-02-28 22:57:24 +0100 (Thu, 28 Feb 2008) | 1 line

Possible bugfix for weird FFMPEG files, I have no idea if that cases can even occur - Please take a look Peter.
------------------------------------------------------------------------
r13908 | campbellbarton | 2008-02-28 22:27:48 +0100 (Thu, 28 Feb 2008) | 2 lines

changing default SDL audio driver for linux to alsa since its default in 2.6 kernel's and many users report problems if they dont specifically set it to alsa.

------------------------------------------------------------------------
r13907 | bdiego | 2008-02-28 21:26:00 +0100 (Thu, 28 Feb 2008) | 11 lines

Fix segfault with bad setting in the Image node.

The limit in the UI tooltips to set the amount of
images used in animation allow the zero value,
that cause a segfault.

This commit fix the UI, add a init value of 1 to
the node and also check in case that
node_composit_get_image return NULL.


------------------------------------------------------------------------
r13906 | genscher | 2008-02-28 19:57:14 +0100 (Thu, 28 Feb 2008) | 1 line

Cloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, #blendercoders)
------------------------------------------------------------------------
r13905 | blendix | 2008-02-28 19:54:25 +0100 (Thu, 28 Feb 2008) | 4 lines


Fix for bug #8357: metaball rendering + radiosity was broken.


------------------------------------------------------------------------
r13904 | blendix | 2008-02-28 16:23:44 +0100 (Thu, 28 Feb 2008) | 5 lines


Bugfix: compositor Blur node Bokeh option gave wrong results at the
bottom pixels of the image.


------------------------------------------------------------------------
r13903 | blendix | 2008-02-28 14:31:25 +0100 (Thu, 28 Feb 2008) | 7 lines


Bugfix: jitterd particle distribution was really slow for a large
number of particles/face. Now for > 25 particles/face it switches
to using a QMC hammersley distribution, much faster, for less
jitter still looks a bit better.


------------------------------------------------------------------------
r13902 | blendix | 2008-02-28 12:39:13 +0100 (Thu, 28 Feb 2008) | 4 lines


Bugfix: texture effectors didn't link in their textures.


------------------------------------------------------------------------
r13901 | aligorith | 2008-02-28 03:25:23 +0100 (Thu, 28 Feb 2008) | 3 lines

Bugfix:

Outliner drawing crashed after "Merge Bones" operation (Alt-M) if the end-bone of the merge had a child. 
------------------------------------------------------------------------
r13900 | genscher | 2008-02-28 01:01:19 +0100 (Thu, 28 Feb 2008) | 1 line

Cloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing list), 2. Bugfix for friction again, 3. Preset menu on GUI (thanks to help from nudelZ (#blendercoders), 4. Possibility to disable autoprotect cache, 5. Some cache bugs fixed, 6. Some speedup in generating cloth
------------------------------------------------------------------------
r13899 | campbellbarton | 2008-02-28 00:11:04 +0100 (Thu, 28 Feb 2008) | 2 lines

left in prints

------------------------------------------------------------------------
r13898 | campbellbarton | 2008-02-28 00:10:25 +0100 (Thu, 28 Feb 2008) | 5 lines

Fix for [#8382] UV unwrap & export puts seams on all edges.
Maya uses OBJ's UV's to generate seams, some people complained that models imported from blender didnt work well in maya.
It was faster to write every faces UV (without doing a remove doubles), but sharing UV coords makes smaller files and might also be more efficient in other applications.


------------------------------------------------------------------------
r13897 | genscher | 2008-02-27 21:17:03 +0100 (Wed, 27 Feb 2008) | 1 line

Bugfix: NewBooleanMesh() would return 'internal error' no matter what happened - real return values must have been lost on the way. I put the proper return in it's place. (reported by cptf on IRC)
------------------------------------------------------------------------
r13896 | blendix | 2008-02-27 21:10:05 +0100 (Wed, 27 Feb 2008) | 4 lines


Fix for bug #8373: using SSS the rendertime could be reported wrong.


------------------------------------------------------------------------
r13895 | blendix | 2008-02-27 20:35:27 +0100 (Wed, 27 Feb 2008) | 7 lines


Fix for bug #8380: snapping in the uv editor didn't work with
non-square images.

Fix for uv limit stitch, was broken since editmode integration.


------------------------------------------------------------------------
r13894 | blendix | 2008-02-27 18:43:23 +0100 (Wed, 27 Feb 2008) | 4 lines


Fix for making vectoquat threadsafe, missed a warning.


------------------------------------------------------------------------
r13893 | blendix | 2008-02-27 18:04:58 +0100 (Wed, 27 Feb 2008) | 5 lines


Bugfix: Copy Modifiers with particle systems crashed, it didn't copy
the particle systems.


------------------------------------------------------------------------
r13892 | blendix | 2008-02-27 15:26:47 +0100 (Wed, 27 Feb 2008) | 6 lines


Fix for part of bug #8376: shift+MMB dragging the view didn't work in
the node editor like other windows. Is already used for backdrop, but
if that isn't enabled it can still do it.


------------------------------------------------------------------------
r13891 | blendix | 2008-02-27 15:20:40 +0100 (Wed, 27 Feb 2008) | 4 lines


Last commit had some printfs left in.


------------------------------------------------------------------------
r13890 | blendix | 2008-02-27 15:17:32 +0100 (Wed, 27 Feb 2008) | 8 lines


Fix for bug: cross platform strand render differences with kink/branch.
This time is was due to different accuracy of floating point computation,
now it uses does a comparison a bit different to avoid this.

Also changed the vectoquat function to be threadsafe.


------------------------------------------------------------------------
r13889 | campbellbarton | 2008-02-27 15:15:14 +0100 (Wed, 27 Feb 2008) | 2 lines

added missing call to reset teh toolbox - Only effected Python treemenu's

------------------------------------------------------------------------
r13888 | briggs | 2008-02-27 12:52:19 +0100 (Wed, 27 Feb 2008) | 5 lines

-> Minification filter type for FLT attrib files

-Changed the minification filter type from Bilinear to
mipmap-trilinear

------------------------------------------------------------------------
r13887 | blendix | 2008-02-27 12:50:20 +0100 (Wed, 27 Feb 2008) | 5 lines


Fix for dupli rendering bug, with a duplicating particle system using
groups that were not in the scene. Also commented the code better.


------------------------------------------------------------------------
r13886 | lukep | 2008-02-27 12:47:07 +0100 (Wed, 27 Feb 2008) | 2 lines

adding stubs for player

------------------------------------------------------------------------
r13885 | ton | 2008-02-27 12:07:18 +0100 (Wed, 27 Feb 2008) | 3 lines

The 2.45-15-Rinky splash


------------------------------------------------------------------------
r13884 | ton | 2008-02-27 12:06:55 +0100 (Wed, 27 Feb 2008) | 11 lines

For the 2.46 pre-release testing builds: a funny Peach related splash.
I've tagged this splash 2.45-15 "Rinky", current version + the rodent's name.

We got 2 more rodents plus a bunny to make pre-release tests intersting
with. :)

Side note: This render is from a very complex shot with deforms and hair
that didn't work without errors for a long time... but now it finally works!



------------------------------------------------------------------------
r13883 | campbellbarton | 2008-02-27 11:02:40 +0100 (Wed, 27 Feb 2008) | 7 lines

Bugfix  [#8328] Python scripts from user defined location doesn't load
http://projects.blender.org/tracker/index.php?func=detail&aid=8328&group_id=9&atid=125

last commit had mistakes but tested this to fix the bug.
- Cam


------------------------------------------------------------------------
r13882 | campbellbarton | 2008-02-27 10:48:43 +0100 (Wed, 27 Feb 2008) | 2 lines

should fix bug on win32 with user python menu's not loading because stat() didnt like the trailing slash and returned the dir as missing.

------------------------------------------------------------------------
r13881 | genscher | 2008-02-27 04:23:17 +0100 (Wed, 27 Feb 2008) | 1 line

Cloth: fixed completely useless/wrong friction force; changed some initial settings
------------------------------------------------------------------------
r13880 | elubie | 2008-02-27 00:39:52 +0100 (Wed, 27 Feb 2008) | 4 lines

== MSVC 7.1 projectfiles ==
- added missing files rev. 13829 (Bevel tools and Bmesh kernel
) commit.

------------------------------------------------------------------------
r13879 | blendix | 2008-02-26 19:30:41 +0100 (Tue, 26 Feb 2008) | 8 lines


Going into vertex paint mode without vertex colors, now it doesn't
create vertex colors from shaded mode anymore. Instead there is
function in vertex paint mode to create them.

Also some fixes for previous commits.


------------------------------------------------------------------------
r13878 | blendix | 2008-02-26 18:46:22 +0100 (Tue, 26 Feb 2008) | 8 lines


Weight, vertex and texture paint modes now don't draw the active
object on top of everything anymore. It can be useful to see objects
that are in front too, and if you don't want to see them you can
just go into local viewmode. It's also more consistent with editmode
which doesn't draw on top either.


------------------------------------------------------------------------
r13877 | ianwill | 2008-02-26 18:23:56 +0100 (Tue, 26 Feb 2008) | 7 lines

== BPython ==

Another experiment to support threading properly. By default the Python Interpreter releases its lock every 100 instructions so that other threads get a chance to run Python code and API calls. But that is not enough to prevent race conditions causing artifacts (and maybe crashes) during threaded rendering, since all threads will access the same pynodes data.

So I'm disabling this automatic releasing of the lock (the GIL) by the interpreter, which seems to be a better option for how Blender uses Python.


------------------------------------------------------------------------
r13876 | blendix | 2008-02-26 17:20:36 +0100 (Tue, 26 Feb 2008) | 6 lines


Fix for bug #6854: meta object crash with preview render. Meta objects
were using an ugly trick to store render orco's, but there's really no
reason for it, now it works like other primitives.


------------------------------------------------------------------------
r13875 | genscher | 2008-02-26 15:25:29 +0100 (Tue, 26 Feb 2008) | 1 line

Cloth: make cloth more crash resistant if memory allocation failed
------------------------------------------------------------------------
r13874 | genscher | 2008-02-26 15:00:13 +0100 (Tue, 26 Feb 2008) | 1 line

Bugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects
------------------------------------------------------------------------
r13873 | blendix | 2008-02-26 14:05:18 +0100 (Tue, 26 Feb 2008) | 5 lines


Tweak bugfix #8347 a bit, the self intersection problem with raytraced
shadows and jittering.


------------------------------------------------------------------------
r13872 | blendix | 2008-02-26 12:48:12 +0100 (Tue, 26 Feb 2008) | 8 lines


Hair particles with object or group visualisation didn't take the
rotation settings into account. Now if rotation is not set to None,
instead of automatically deriving it from the particle path (which
is useful for feathers), it uses the rotation settings (useful for
distributing twigs randomly).


------------------------------------------------------------------------
r13871 | blendix | 2008-02-26 12:38:32 +0100 (Tue, 26 Feb 2008) | 11 lines


Bugfix: recent rollback of premul changes gave issues. The premul
flag bit was changed and not changed back, and the flag was moved
back from image user to image. This meant that files saved both
before and during the premul changes did not read premul settings
correct anymore.

Now it uses the old premul flag bit again, which also keeps forward
compatibility.


------------------------------------------------------------------------
r13870 | genscher | 2008-02-26 10:55:07 +0100 (Tue, 26 Feb 2008) | 1 line

Cloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix
------------------------------------------------------------------------
r13869 | aligorith | 2008-02-26 07:33:06 +0100 (Tue, 26 Feb 2008) | 1 line

Popup menus for displaying names of groups available for selection now draw with multiple columns when the number of entries cannot fit in a single column (and be editable).
------------------------------------------------------------------------
r13868 | joeedh | 2008-02-26 01:04:54 +0100 (Tue, 26 Feb 2008) | 5 lines

removed mingw from the list of platforms to use the
debug python lib, as it was causing link errors.

if someone wishes to figure out why this is messing up,
go ahead.
------------------------------------------------------------------------
r13867 | campbellbarton | 2008-02-25 19:35:35 +0100 (Mon, 25 Feb 2008) | 3 lines

Added PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Without them blender would crash when reloading scripts.

------------------------------------------------------------------------
r13866 | blendix | 2008-02-25 18:20:35 +0100 (Mon, 25 Feb 2008) | 5 lines


Bugfix: dupliparticles didn't respect the enabled button for the
particle system, could crash.


------------------------------------------------------------------------
r13865 | blendix | 2008-02-25 17:46:58 +0100 (Mon, 25 Feb 2008) | 4 lines


Bugfix for some particle system vertex group memory leaks.


------------------------------------------------------------------------
r13864 | blendix | 2008-02-25 16:08:46 +0100 (Mon, 25 Feb 2008) | 5 lines


Fix for bug #7914: when rendering ray transparency with premul or key,
the alpha channel was set wrong.


------------------------------------------------------------------------
r13863 | blendix | 2008-02-25 14:05:08 +0100 (Mon, 25 Feb 2008) | 5 lines


Fix for #6686: crash with array modifier fit to curve option, could
create a too large amount of duplicates.


------------------------------------------------------------------------
r13862 | blendix | 2008-02-25 13:55:50 +0100 (Mon, 25 Feb 2008) | 5 lines


Fix for stupid reference counting mistake in last commit, should have
read the docs properly.


------------------------------------------------------------------------
r13861 | blendix | 2008-02-25 12:55:51 +0100 (Mon, 25 Feb 2008) | 4 lines


Fix for bug #8081: python script crash writing MFace.uv.


------------------------------------------------------------------------
r13860 | blendix | 2008-02-25 11:58:12 +0100 (Mon, 25 Feb 2008) | 9 lines


Fix for bug #8347: bug in raytraced shadow with edgesplit. Problem
was the new jittering of the start position gave self intersections,
especially noticable with for example edgesplit because in that case
it can't detect them as well. 'Solution' now is to bias the start
position away from the surface a bit according to how much the start
position was jittered.


------------------------------------------------------------------------
r13859 | briggs | 2008-02-25 05:53:37 +0100 (Mon, 25 Feb 2008) | 21 lines

-> Bevel

Fixed the following problems with Bevel code

  -meshes with 2 edged faces left over at the end would cause buffer
   overrun whens converting from a Bmesh to a Derived Mesh. The
   conversion process now checks for both double edges and faces
   and removes them when present.

  -BME_reverse_loop euler had a bug that was causing the corruption of
   radial cycle. This would lead to the bevel tool hanging for a long time
   and possibly crashing.

  -Added optimization of BME_reverse loop so that it no longer does tiny
   allocations but instead uses an area of 'scratch' memory. The same thing
   will be done to the Make Face euler soon

  -Added proper call to selection flushing for editmode.

  -Some miscellaneous cleanups and removal of unneeded debug printfs.

------------------------------------------------------------------------
r13858 | aligorith | 2008-02-25 05:38:48 +0100 (Mon, 25 Feb 2008) | 3 lines

Purge of compiler warnings (number 2):
* initial values I added in radialcontrol.c might need to be reviewed if they cause problems(I used 200, as it seems many tools were setting that)
* #pragma warnings are the only warnings I still get, so that means we have a clean slate again
------------------------------------------------------------------------
r13857 | blendix | 2008-02-25 03:34:09 +0100 (Mon, 25 Feb 2008) | 5 lines


Fix for bug #8351: clicking to select a tabbed panel went
wrong if there were more, hidden panels tabbed also.


------------------------------------------------------------------------
r13856 | ianwill | 2008-02-25 02:35:50 +0100 (Mon, 25 Feb 2008) | 7 lines

== BPython ==

[#8354] Blender or Python25.dll crash on... quit, reported by David B. (myvain)

The BPy_FreeButtonsList() function is also called after we call Py_Finalize(). Calling PyGILState_Ensure()/Release() there crashes Blender. Added a test to prevent this, but note that function still runs Python API code to free a buttons list. Doesn't seem to give problems, though. Thanks, David.


------------------------------------------------------------------------
r13855 | blendix | 2008-02-24 23:27:40 +0100 (Sun, 24 Feb 2008) | 5 lines


Fix for bug #6747: make single button for node groups didn't work,
functionality was not implemented.


------------------------------------------------------------------------
r13854 | genscher | 2008-02-24 23:19:17 +0100 (Sun, 24 Feb 2008) | 1 line

CMakeList fix for fluids
------------------------------------------------------------------------
r13853 | blendix | 2008-02-24 22:29:20 +0100 (Sun, 24 Feb 2008) | 5 lines


Fix for bug #8353: switching particle hair with softbody to emit crashed.
Fix for bug #8355: crash zooming in render window.


------------------------------------------------------------------------
r13852 | genscher | 2008-02-24 22:24:39 +0100 (Sun, 24 Feb 2008) | 1 line

Bugfix [#8352]: My OpenMP additions seem to cause errors on MSVC, so I kick them leaving 'only' the original OpenMP additions from N_T
------------------------------------------------------------------------
r13851 | blendix | 2008-02-24 20:50:21 +0100 (Sun, 24 Feb 2008) | 6 lines


Fix for bug in settings particle reactor recalc.

Patch by Thomas Knight, thanks!


------------------------------------------------------------------------
r13850 | blendix | 2008-02-24 20:23:58 +0100 (Sun, 24 Feb 2008) | 9 lines


Fix for bug #8324: J-key render buffer switching had various issues.
One problem was that the previous render buffer was stored in the
render window or image window itself, which means that when closing
it, or switching from one to the other, things didn't work as expected.
Also in the image editor, color sampling the previous render buffer or
saving it didn't work correct.


------------------------------------------------------------------------
r13849 | theeth | 2008-02-24 18:13:52 +0100 (Sun, 24 Feb 2008) | 3 lines

== Transform Orientations ==

When doing normal orientations from three vertices, if there's a full edge selected, use that to define the tangent (more logical).
------------------------------------------------------------------------
r13848 | ianwill | 2008-02-24 17:19:39 +0100 (Sun, 24 Feb 2008) | 19 lines

== PyNodes ==

Small update to where a PyGILState_Ensure() call is made.

--

Let me use this commit to mention a couple things related to this change to make Python thread-safe in Blender:

1) This page explains the changes: http://wiki.blender.org/index.php/BlenderDev/BPythonAPI/Threads

2) If you experience hangs (deadlocks) when running anything related to Python in Blender, the related part in the code may need a proper Ensure/Release block, as explained in the above link.

From Joshua (aligorith)'s previous commit to this file:

"* various problems related to gilstate calls being added in strange places (could someone familiar with python double check that they're in the right places now)?"

I checked the two places you fixed, second one is ok, the first one needed to be before the call to create a py dict -- done. Thanks for catching them!


------------------------------------------------------------------------
r13847 | blendix | 2008-02-24 17:08:33 +0100 (Sun, 24 Feb 2008) | 5 lines


Fix for a recent bugfix, could crash automatic vertex weighting,
forgot to do NULL pointer check.


------------------------------------------------------------------------
r13846 | blendix | 2008-02-24 15:53:44 +0100 (Sun, 24 Feb 2008) | 7 lines


Fix for bug #8304: child distribution gave different results across
platforms. Cause was a function(rng_getFloat(), rng_getFloat()),
apparently the order in which rng_getFloat() is evaluated is not
compatible between operating systems.


------------------------------------------------------------------------
r13845 | schlaile | 2008-02-24 14:49:31 +0100 (Sun, 24 Feb 2008) | 13 lines

== Sequencer ==

Fixes 

[#5211] Sound scrubbing does not work after blend file load

also fixes:

if you hit the timeline playbutton, you can reseek by clicking on the timeline.
Now audio doesn't stop anymore and keeps on playing from the new position
instead.


------------------------------------------------------------------------
r13844 | schlaile | 2008-02-24 14:26:27 +0100 (Sun, 24 Feb 2008) | 7 lines

== Sequencer ==

* Fix button drawing in header finally, sigh.
* Fixes: 
  [#8262] Hide Meta Strip does not hide contained Audio


------------------------------------------------------------------------
r13843 | briggs | 2008-02-24 13:57:11 +0100 (Sun, 24 Feb 2008) | 3 lines

-> Bevel Crash Fix (again redux)

More fixes for 2 edged faces
------------------------------------------------------------------------
r13842 | blendix | 2008-02-24 13:23:47 +0100 (Sun, 24 Feb 2008) | 6 lines


Fix for bug #8346: compiling with verse enabled was broken.

Fix provided by Fabian Boehlke, thanks!


------------------------------------------------------------------------
r13841 | blendix | 2008-02-24 13:16:27 +0100 (Sun, 24 Feb 2008) | 7 lines


Fix for bug #8331: compositor nodes backdrop displays in material nodes.
Fix for bug #8083: backdrop not displaying centered in the window.

Fixes for both provided by Fabian Boehlke, thanks!


------------------------------------------------------------------------
r13840 | schlaile | 2008-02-24 13:12:05 +0100 (Sun, 24 Feb 2008) | 15 lines

== Sequencer ==

Fixes a lot of small things:
* zoom in/out in preview is more fine grained (use SHIFT)
* zebra scopes don't try to draw the border and fail
* lock/unlock now locks/unlocks all selected strips
* fix redraw problems of panel on lock/unlock
* buttons-panel is redrawn on translate, so that position information is shown
* added lock / hide to Strip-Menu
* fixed small drawing problems in header

TODO: find a good key for lock / unlock (Shift-L | Alt-Shift-L isn't that nice
      to press...)


------------------------------------------------------------------------
r13839 | briggs | 2008-02-24 13:02:58 +0100 (Sun, 24 Feb 2008) | 4 lines

-> Bevel Crash Fix (again)

Last crash fix would leave 2 edged faces laying around, which would cause ANOTHER
crash when converting back to a derived mesh. Fixed now.
------------------------------------------------------------------------
r13838 | aligorith | 2008-02-24 12:16:37 +0100 (Sun, 24 Feb 2008) | 1 line

Purge of compiler warnings... (hopefully everything still compiles, there are still more to remove)
------------------------------------------------------------------------
r13837 | aligorith | 2008-02-24 11:36:19 +0100 (Sun, 24 Feb 2008) | 3 lines

Purge of warnings from BPY_interface.c
* missing include for depsgraph from previous commit
* various problems related to gilstate calls being added in strange places (could someone familiar with python double check that they're in the right places now)?
------------------------------------------------------------------------
r13836 | aligorith | 2008-02-24 10:51:07 +0100 (Sun, 24 Feb 2008) | 1 line

Removing duplicate PyConstraints version-patch. I guess it was a result of some merge gone wrong or so.
------------------------------------------------------------------------
r13835 | aligorith | 2008-02-24 07:38:42 +0100 (Sun, 24 Feb 2008) | 10 lines

Patch #8344:
Submitted by: Thomas Knight (epat)

Parts committed:
1) Fixed a few misspellings in some error strings.
2) Fixed a (theoretical) bug with pyconstraints where a text object could be deleted from python but would remain linked
to the constraint it was assigned to - causing slight UI usage discontinuities!

Not committed yet:
3) Particle system bugfix in this patch has not been committed. Could jahka or brecht check this.
------------------------------------------------------------------------
r13834 | briggs | 2008-02-24 07:23:20 +0100 (Sun, 24 Feb 2008) | 4 lines

-> Bevel Crash Fix

Bevel code was making incorrect usage of the BME_loop_reverse euler.
Restructured the code in order to correct the problem.
------------------------------------------------------------------------
r13833 | lukep | 2008-02-24 00:14:41 +0100 (Sun, 24 Feb 2008) | 2 lines

adding the null body of the stubs

------------------------------------------------------------------------
r13832 | briggs | 2008-02-24 00:02:24 +0100 (Sun, 24 Feb 2008) | 4 lines

-> Bevel tools and Bmesh kernel

missing stubs

------------------------------------------------------------------------
r13831 | briggs | 2008-02-23 23:46:55 +0100 (Sat, 23 Feb 2008) | 4 lines

-> Bevel tools and Bmesh kernel

more missed files!

------------------------------------------------------------------------
r13830 | briggs | 2008-02-23 23:26:58 +0100 (Sat, 23 Feb 2008) | 3 lines

-> Bevel tools and Bmesh kernel

File missed in the first commit. Whoops!
------------------------------------------------------------------------
r13829 | briggs | 2008-02-23 23:11:16 +0100 (Sat, 23 Feb 2008) | 11 lines

-> Bevel tools and Bmesh kernel

The following is a commit of Levi Schooley's bevel code and 
the bmesh library it depends on. The current editmode bevel has 
been replaced with a new per edge bevel function. Vertex beveling is 
also availible.

To set weights for the modifier to use, use the ctrl-shift-e shortcut on either edges 
or vertices.

Recursive beveling is turned of for the time being.
------------------------------------------------------------------------
r13828 | letterrip | 2008-02-23 21:18:03 +0100 (Sat, 23 Feb 2008) | 3 lines

This is the rest of the updated french translation


------------------------------------------------------------------------
r13827 | letterrip | 2008-02-23 21:08:18 +0100 (Sat, 23 Feb 2008) | 7 lines

This is an update of the french translation, patch from 
Erwan Jacq (eon) - .mo to follow

This is also a partial fix of bug 8272 X3D export issues
the rest of the bug might be already fixed in CVS


------------------------------------------------------------------------
r13826 | schlaile | 2008-02-23 18:01:07 +0100 (Sat, 23 Feb 2008) | 9 lines

== Sequencer ==

This fixes:  	

[#8335] Sequence Strips Jump to Frame Zero on second drag (if start < 0)
[#8334] Cannot use Negative Values in the New Sequence Buttons Input Panel
[#8333] Cannot add Color Generator in Sequence Editor


------------------------------------------------------------------------
r13825 | jesterking | 2008-02-23 13:05:28 +0100 (Sat, 23 Feb 2008) | 3 lines

=== PyNodes ===

* Make PyNodes work with threaded renderer. This patch is by Willian. He has worked hard on getting this sorted out - now you should be able to render with PyNodes AND multiple threads.
------------------------------------------------------------------------
r13824 | bebraw | 2008-02-23 11:33:36 +0100 (Sat, 23 Feb 2008) | 13 lines

Nodes to be created at the location in which the mouse cursor was initially
This commit changes the way new nodes are created. Previously nodes were created
at the last location of the mouse cursor before creating a new node. After this
commit the nodes are created at the initial location in which the cursor was
before the menu used to add the node was opened.

This makes it possible for the user to predict where the new node appears without
having to move it to desired location like before. There is no option for this as
this behaviour is clearly superior to previous.

Codewise it uses static variables. This is something to fix during 2.50 rewrite.

Thanks to paprmh for contribution!
------------------------------------------------------------------------
r13823 | aligorith | 2008-02-23 05:09:34 +0100 (Sat, 23 Feb 2008) | 3 lines

== PoseLib - Action Editor Integration (Transform) ==

Now it is possible to transform Pose Markers in the Action Editor. (Note: it is a bit of a quick hack)
------------------------------------------------------------------------
r13822 | joeedh | 2008-02-23 03:12:50 +0100 (Sat, 23 Feb 2008) | 9 lines

=ID Property Bugfix=

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

This commit both fixes that and adds a version check to
fix group lengths for older .blends.  The subversion
was incremented to 15 for this change.
------------------------------------------------------------------------
r13821 | joeedh | 2008-02-22 23:23:58 +0100 (Fri, 22 Feb 2008) | 7 lines

=Reversion of premul bugfix=
Reversion of premul bugfix, as it was apparently not
working all that well.

Note that this brings back the bug where the erase alpha
paint tool won't display correctly, since the UV image
editor just draws images in key alpha now.
------------------------------------------------------------------------
r13820 | blendix | 2008-02-22 20:29:15 +0100 (Fri, 22 Feb 2008) | 4 lines


Fix for bug #8329: approximate AO with shadow disabled gave artifacts.


------------------------------------------------------------------------
r13819 | campbellbarton | 2008-02-22 19:26:51 +0100 (Fri, 22 Feb 2008) | 2 lines

tiny fix

------------------------------------------------------------------------
r13818 | blendix | 2008-02-22 17:31:10 +0100 (Fri, 22 Feb 2008) | 6 lines


Bugfix: effectors in dupligroups didn't work, if the particle didn't
specify a group of effectors. Now it goes into groups recursively to
find effectors.


------------------------------------------------------------------------
r13817 | blendix | 2008-02-22 16:09:24 +0100 (Fri, 22 Feb 2008) | 4 lines


Fix for mistake in last commit, using wrong flag.


------------------------------------------------------------------------
r13816 | campbellbarton | 2008-02-22 15:27:46 +0100 (Fri, 22 Feb 2008) | 5 lines

* Displacement baking wasnt working with negative distances.
* Added Normalize option for diplacement so everything in the 'Dist' range is mapped 0-1
* Increased the maximum Dist and Bias to1000.0 (was 10.0)
* Added python utility function in BPyRender.py - bakeToPlane(...), to automate heightmap, normalmap generation for Crystalspace.

------------------------------------------------------------------------
r13815 | blendix | 2008-02-22 14:21:42 +0100 (Fri, 22 Feb 2008) | 7 lines


Bugfix: objects in groups with texture mapping Object now get texture
coordinates from the object as if they were in their original position,
untransformed by dupligroups or dupliverts. Otherwise the textures of
such objects would change depending on their position.


------------------------------------------------------------------------
r13814 | ton | 2008-02-22 12:25:08 +0100 (Fri, 22 Feb 2008) | 4 lines

Fix: compositor events caused far too many recomposite signals, this
because it was tagging all nodes with same ID *.


------------------------------------------------------------------------
r13813 | campbellbarton | 2008-02-22 11:50:45 +0100 (Fri, 22 Feb 2008) | 2 lines

adding access to missing bake variables from python

------------------------------------------------------------------------
r13812 | blendix | 2008-02-22 11:43:40 +0100 (Fri, 22 Feb 2008) | 4 lines


Fix for bug #8326: SSS + fields crashed.


------------------------------------------------------------------------
r13811 | nicholasbishop | 2008-02-22 04:29:17 +0100 (Fri, 22 Feb 2008) | 7 lines

== Sculpt ==

Fixed bug #8243, sculpt mode crash

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


------------------------------------------------------------------------
r13810 | broken | 2008-02-22 02:28:48 +0100 (Fri, 22 Feb 2008) | 1 line

* Let 'Add' scripts appear in the Add header menu, not just the scripts window
------------------------------------------------------------------------
r13809 | campbellbarton | 2008-02-22 01:40:32 +0100 (Fri, 22 Feb 2008) | 3 lines

Bugfix for [#6823] Bake button broken - No image


------------------------------------------------------------------------
r13808 | campbellbarton | 2008-02-22 01:03:03 +0100 (Fri, 22 Feb 2008) | 2 lines

fix for [#7899] Quit doesn't report failure to save quit.blend

------------------------------------------------------------------------
r13807 | campbellbarton | 2008-02-22 00:19:06 +0100 (Fri, 22 Feb 2008) | 4 lines

Fix for [#8303] stamp gives wrong file name when using unsaved files
Also made alpha color work with OpenGL render caused by buf_rectfill_area not working on char rect's.


------------------------------------------------------------------------
r13806 | campbellbarton | 2008-02-21 22:28:54 +0100 (Thu, 21 Feb 2008) | 2 lines

autoThread was inverted at rendertime (forgot to change), added tooltips

------------------------------------------------------------------------
r13805 | blendix | 2008-02-21 21:59:35 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #8295: lock button in the sequencer buttons didn't do
proper redraw.


------------------------------------------------------------------------
r13804 | blendix | 2008-02-21 21:58:22 +0100 (Thu, 21 Feb 2008) | 4 lines


Fix for bug #8214: halo didn't render correct with FSA.


------------------------------------------------------------------------
r13803 | campbellbarton | 2008-02-21 21:13:33 +0100 (Thu, 21 Feb 2008) | 2 lines

Particles using Object or Group visualization would render with Disp value. - rather then using 100% of the objects.

------------------------------------------------------------------------
r13802 | blendix | 2008-02-21 18:52:03 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #6991: edge slide crash with the last vertex
missing rails.


------------------------------------------------------------------------
r13801 | blendix | 2008-02-21 17:57:58 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #6769: lattice editmode undo gave corrupt data
if the lattice resolution changed.


------------------------------------------------------------------------
r13800 | blendix | 2008-02-21 16:24:15 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #8120: edgeloop delete with automerge editing enabled
resulted in wrong selection state.


------------------------------------------------------------------------
r13799 | blendix | 2008-02-21 16:09:12 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #8014: in some cases text objects would not render without
being shown in the 3d view first.


------------------------------------------------------------------------
r13798 | blendix | 2008-02-21 15:50:07 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #8313: image editor alpha drawing + user aspect ratio was
not correct.


------------------------------------------------------------------------
r13797 | blendix | 2008-02-21 15:28:20 +0100 (Thu, 21 Feb 2008) | 5 lines


Fix for bug #5986: snap circle too big when far away from the origin
(e.g. 1000 blender units).


------------------------------------------------------------------------
r13796 | blendix | 2008-02-21 14:15:21 +0100 (Thu, 21 Feb 2008) | 4 lines


Fix for bug #8321: crash with fluidsim in shaded draw mode.


------------------------------------------------------------------------
r13795 | aligorith | 2008-02-21 12:34:39 +0100 (Thu, 21 Feb 2008) | 3 lines

PoseLib Preview - Bugfix:

PoseLib preview didn't correctly check if a bone was visible or not. Also, the check for when there were no selected bones (thus whole armature is affected) didn't work right.
------------------------------------------------------------------------
r13794 | aligorith | 2008-02-21 12:14:21 +0100 (Thu, 21 Feb 2008) | 3 lines

Following on from the commits yesterday for "Action Channel Settings" quick-toggle tools, bones now have this functionality too.

Use Shift-W to toggle, Ctrl-Shift-W to enable, and Alt-W to disable one of the bone's settings.
------------------------------------------------------------------------
r13793 | blendix | 2008-02-21 12:14:04 +0100 (Thu, 21 Feb 2008) | 6 lines


Fix for bug #6669: saving an image from the image editor and
automatically adding the extension didn't add it to the image
file path properly.


------------------------------------------------------------------------
r13792 | campbellbarton | 2008-02-21 09:43:13 +0100 (Thu, 21 Feb 2008) | 3 lines

made auto threads default (noob's get faster renders in their dual core CPU's)
changed env variable check order $TMP, $TMPDIR - aparently $TMP is more common.

------------------------------------------------------------------------
r13791 | khughes | 2008-02-21 02:35:20 +0100 (Thu, 21 Feb 2008) | 4 lines

Allow sequencer to use scene strips with no camera, if those scenes also use
the sequencer.  This time, actually apply patch to the file before submmiting.


------------------------------------------------------------------------
r13790 | khughes | 2008-02-21 02:19:42 +0100 (Thu, 21 Feb 2008) | 3 lines

Allow sequencer to use scene strips with no camera, if those scenes also use the sequencer.


------------------------------------------------------------------------
r13789 | blendix | 2008-02-20 21:37:20 +0100 (Wed, 20 Feb 2008) | 5 lines


Fix for bug #6897: radiosity or autosmooth + displace gave different results
than regular displace.


------------------------------------------------------------------------
r13788 | genscher | 2008-02-20 21:15:00 +0100 (Wed, 20 Feb 2008) | 1 line

Bugfix [#7847]: Fluid didn't work with ipo drivers
------------------------------------------------------------------------
r13787 | campbellbarton | 2008-02-20 21:07:37 +0100 (Wed, 20 Feb 2008) | 2 lines

Only use $TEMP for win32, for other os's use $TMP or $TMPDIR

------------------------------------------------------------------------
r13786 | campbellbarton | 2008-02-20 19:56:07 +0100 (Wed, 20 Feb 2008) | 4 lines

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.

------------------------------------------------------------------------
r13785 | lukep | 2008-02-20 17:07:42 +0100 (Wed, 20 Feb 2008) | 5 lines

making auto detection of threads working on Os X

sysconf exist but dont provide the needed flag
using sysctl instead

------------------------------------------------------------------------
r13784 | genscher | 2008-02-20 16:54:34 +0100 (Wed, 20 Feb 2008) | 1 line

Cloth: Bugfix for wrong number of bending springs, could result in visual artifacts
------------------------------------------------------------------------
r13783 | blendix | 2008-02-20 15:54:17 +0100 (Wed, 20 Feb 2008) | 4 lines


Fix for bug #7873: circle select highlights wrong vertices temporarily.


------------------------------------------------------------------------
r13782 | blendix | 2008-02-20 15:17:53 +0100 (Wed, 20 Feb 2008) | 6 lines


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.


------------------------------------------------------------------------
r13781 | blendix | 2008-02-20 15:10:41 +0100 (Wed, 20 Feb 2008) | 4 lines


Bugfix for duplivert render instancing with certain dupligroup setups.


------------------------------------------------------------------------
r13780 | campbellbarton | 2008-02-20 14:42:15 +0100 (Wed, 20 Feb 2008) | 5 lines

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.


------------------------------------------------------------------------
r13779 | aligorith | 2008-02-20 12:07:14 +0100 (Wed, 20 Feb 2008) | 3 lines

Tweak to last commit:

"Channels" menu now only draws when there is an active action. No space is reserved for it, so the items do shift around a little bit, which may not be so great for muscle memory...
------------------------------------------------------------------------
r13778 | aligorith | 2008-02-20 12:02:32 +0100 (Wed, 20 Feb 2008) | 5 lines

== 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!
------------------------------------------------------------------------
r13777 | broken | 2008-02-20 02:12:21 +0100 (Wed, 20 Feb 2008) | 1 line

* Added include for auto-threads to compile on Windows
------------------------------------------------------------------------
r13776 | theeth | 2008-02-20 00:05:24 +0100 (Wed, 20 Feb 2008) | 5 lines

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.
------------------------------------------------------------------------
r13775 | campbellbarton | 2008-02-19 23:59:52 +0100 (Tue, 19 Feb 2008) | 3 lines

added win32 check for number of processors, but cant test.
could somebody running win32 see if headers need to be added to threads.c?

------------------------------------------------------------------------
r13774 | campbellbarton | 2008-02-19 23:23:21 +0100 (Tue, 19 Feb 2008) | 2 lines

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.

------------------------------------------------------------------------
r13773 | campbellbarton | 2008-02-19 22:18:35 +0100 (Tue, 19 Feb 2008) | 2 lines

Patche from Giuseppe Ghibò to look in /usr/lib64

------------------------------------------------------------------------
r13772 | blendix | 2008-02-19 21:35:19 +0100 (Tue, 19 Feb 2008) | 6 lines


Possible fix for bug #6922: crash in displace compositor node,
possibly because it didn't handle the vector input correct if
it was translated.


------------------------------------------------------------------------
r13771 | blendix | 2008-02-19 20:26:49 +0100 (Tue, 19 Feb 2008) | 4 lines


Fix for bug #6911: radiosity pass can no be excluded.


------------------------------------------------------------------------
r13770 | blendix | 2008-02-19 19:47:09 +0100 (Tue, 19 Feb 2008) | 6 lines


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.


------------------------------------------------------------------------
r13769 | campbellbarton | 2008-02-19 19:44:40 +0100 (Tue, 19 Feb 2008) | 2 lines

error in last commit

------------------------------------------------------------------------
r13768 | campbellbarton | 2008-02-19 19:36:50 +0100 (Tue, 19 Feb 2008) | 6 lines

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.


------------------------------------------------------------------------
r13767 | blendix | 2008-02-19 18:51:58 +0100 (Tue, 19 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13766 | blendix | 2008-02-19 17:16:16 +0100 (Tue, 19 Feb 2008) | 6 lines


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.


------------------------------------------------------------------------
r13765 | blendix | 2008-02-19 16:30:33 +0100 (Tue, 19 Feb 2008) | 9 lines


Bugfix: vector blur blending of different times wasn't correct, didn't
show up much for characters on isolated layers but can make a big
difference on a full scene:

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


------------------------------------------------------------------------
r13764 | blendix | 2008-02-19 13:13:35 +0100 (Tue, 19 Feb 2008) | 8 lines


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.


------------------------------------------------------------------------
r13763 | blendix | 2008-02-19 12:07:09 +0100 (Tue, 19 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13762 | migius | 2008-02-19 11:47:29 +0100 (Tue, 19 Feb 2008) | 1 line

python API: added support for screen font 12(fix-width) as "normalfix"
------------------------------------------------------------------------
r13761 | campbellbarton | 2008-02-19 11:43:41 +0100 (Tue, 19 Feb 2008) | 5 lines

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.


------------------------------------------------------------------------
r13760 | ton | 2008-02-19 10:00:39 +0100 (Tue, 19 Feb 2008) | 6 lines

Crasher in patch for premul flag: missing NULL check

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


------------------------------------------------------------------------
r13759 | joeedh | 2008-02-19 00:50:12 +0100 (Tue, 19 Feb 2008) | 14 lines

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.
------------------------------------------------------------------------
r13758 | khughes | 2008-02-19 00:00:44 +0100 (Tue, 19 Feb 2008) | 5 lines

Tools
-----
Remove extra parenthesis from Cubic tooltip, reported on IRC.


------------------------------------------------------------------------
r13757 | blendix | 2008-02-18 21:00:42 +0100 (Mon, 18 Feb 2008) | 4 lines


Fix for bug #8047: convert metaballs to mesh often has holes.


------------------------------------------------------------------------
r13756 | blendix | 2008-02-18 20:32:57 +0100 (Mon, 18 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13755 | blendix | 2008-02-18 19:14:19 +0100 (Mon, 18 Feb 2008) | 11 lines


Fix for bug #7936: render baking selected to active now has a Bias
value that is an offset along the normal when looking for the nearest
face, which allows baking faces further away, e.g. an ID badge onto a
shirt.

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


------------------------------------------------------------------------
r13754 | elubie | 2008-02-18 18:56:41 +0100 (Mon, 18 Feb 2008) | 3 lines

== MSVC 7.1 projectfiles ==
- added missing files rev. 13738 (Transform Orientations) commit.

------------------------------------------------------------------------
r13753 | campbellbarton | 2008-02-18 18:20:04 +0100 (Mon, 18 Feb 2008) | 2 lines

moved LARGEFILE defines to BLI_storage.h

------------------------------------------------------------------------
r13751 | blendix | 2008-02-18 16:56:34 +0100 (Mon, 18 Feb 2008) | 5 lines


Disable particle time looping for hair, doesn't have any purpose there,
only gives weird results.


------------------------------------------------------------------------
r13750 | blendix | 2008-02-18 16:53:12 +0100 (Mon, 18 Feb 2008) | 5 lines


Fix for depremul function in last commit, give check for zero alpha an
epsilon instead of just comparing to zero.


------------------------------------------------------------------------
r13749 | blendix | 2008-02-18 16:21:59 +0100 (Mon, 18 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13748 | campbellbarton | 2008-02-18 15:06:45 +0100 (Mon, 18 Feb 2008) | 3 lines

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.

------------------------------------------------------------------------
r13747 | blendix | 2008-02-18 14:38:16 +0100 (Mon, 18 Feb 2008) | 8 lines


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.


------------------------------------------------------------------------
r13746 | blendix | 2008-02-18 14:05:27 +0100 (Mon, 18 Feb 2008) | 5 lines


Bugfix for own mistake in recent commit, halo render could crash
with no material assigned.


------------------------------------------------------------------------
r13745 | blendix | 2008-02-18 12:29:08 +0100 (Mon, 18 Feb 2008) | 4 lines


Bugfix for particle path drawing messing up opengl state in some cases.


------------------------------------------------------------------------
r13744 | blendix | 2008-02-18 12:16:20 +0100 (Mon, 18 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13743 | blendix | 2008-02-18 11:58:03 +0100 (Mon, 18 Feb 2008) | 5 lines


Bugfix: hair effector settings only showed when the hair was editable,
but they work also if the hair is not editable.


------------------------------------------------------------------------
r13742 | blendix | 2008-02-18 11:49:46 +0100 (Mon, 18 Feb 2008) | 9 lines


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!


------------------------------------------------------------------------
r13741 | campbellbarton | 2008-02-18 00:53:48 +0100 (Mon, 18 Feb 2008) | 4 lines

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.

------------------------------------------------------------------------
r13740 | schlaile | 2008-02-18 00:39:16 +0100 (Mon, 18 Feb 2008) | 7 lines

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


------------------------------------------------------------------------
r13739 | blendix | 2008-02-17 23:42:03 +0100 (Sun, 17 Feb 2008) | 4 lines


Fix for bug #8044: vertex colors weren't supported for hair.


------------------------------------------------------------------------
r13738 | theeth | 2008-02-17 23:19:02 +0100 (Sun, 17 Feb 2008) | 12 lines

== 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
------------------------------------------------------------------------
r13737 | blendix | 2008-02-17 23:11:05 +0100 (Sun, 17 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13736 | elubie | 2008-02-17 22:34:56 +0100 (Sun, 17 Feb 2008) | 5 lines

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

------------------------------------------------------------------------
r13735 | campbellbarton | 2008-02-17 22:22:42 +0100 (Sun, 17 Feb 2008) | 3 lines

bugfix [#8263] Video Sequence Editor > Sequence > Reassign Inputs > crash
just missing null checks

------------------------------------------------------------------------
r13734 | campbellbarton | 2008-02-17 21:44:07 +0100 (Sun, 17 Feb 2008) | 4 lines

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.

------------------------------------------------------------------------
r13733 | blendix | 2008-02-17 21:36:13 +0100 (Sun, 17 Feb 2008) | 9 lines


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.


------------------------------------------------------------------------
r13732 | bjornmose | 2008-02-17 21:13:58 +0100 (Sun, 17 Feb 2008) | 3 lines

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
------------------------------------------------------------------------
r13731 | campbellbarton | 2008-02-17 20:03:43 +0100 (Sun, 17 Feb 2008) | 2 lines

mistake in last commit. somehow pasted text in a wrong place

------------------------------------------------------------------------
r13730 | campbellbarton | 2008-02-17 19:50:45 +0100 (Sun, 17 Feb 2008) | 2 lines

meshes with nan verts could crash blender when building as mesh octree

------------------------------------------------------------------------
r13729 | jhk | 2008-02-17 19:33:20 +0100 (Sun, 17 Feb 2008) | 1 line

"From particles" children are again allowed for non-hair/keyed particles, although with some limitations like no separate render amount or rough/branching values.
------------------------------------------------------------------------
r13728 | campbellbarton | 2008-02-17 19:09:53 +0100 (Sun, 17 Feb 2008) | 4 lines

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.

------------------------------------------------------------------------
r13726 | jhk | 2008-02-17 16:46:03 +0100 (Sun, 17 Feb 2008) | 1 line

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.
------------------------------------------------------------------------
r13725 | jhk | 2008-02-17 15:44:12 +0100 (Sun, 17 Feb 2008) | 1 line

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.
------------------------------------------------------------------------
r13724 | jhk | 2008-02-17 14:41:42 +0100 (Sun, 17 Feb 2008) | 1 line

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.
------------------------------------------------------------------------
r13723 | jhk | 2008-02-17 13:46:09 +0100 (Sun, 17 Feb 2008) | 2 lines

Fix for bug: [#8287] crash duplicating softbody hair
-Duplicating a particle system with softbody didn't update the sb->particle pointer correctly.
------------------------------------------------------------------------
r13722 | aligorith | 2008-02-17 07:17:01 +0100 (Sun, 17 Feb 2008) | 3 lines

Bugfix: Limit Constraints

Rot/Scale-Limit Constraints with 'For Transform' option would sometimes act on location values too.
------------------------------------------------------------------------
r13721 | aligorith | 2008-02-17 07:00:18 +0100 (Sun, 17 Feb 2008) | 3 lines

== Action Editor Drawing - Optimisation Attempt ==

Another attempt at further optimising Action Editor drawing without doing any drastic changes. 
------------------------------------------------------------------------
r13720 | blendix | 2008-02-16 20:37:33 +0100 (Sat, 16 Feb 2008) | 5 lines


Fix for bug #8219: proportional edit circle was drawing
wrong in the uv editor since editmode integration.


------------------------------------------------------------------------
r13719 | campbellbarton | 2008-02-16 20:13:40 +0100 (Sat, 16 Feb 2008) | 2 lines

sculptmode mtex texture pointers are now duplicated too, should resolve scene copy errors.

------------------------------------------------------------------------
r13718 | blendix | 2008-02-16 19:49:54 +0100 (Sat, 16 Feb 2008) | 7 lines


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.


------------------------------------------------------------------------
r13717 | nicholasbishop | 2008-02-16 19:00:22 +0100 (Sat, 16 Feb 2008) | 3 lines

Fixed pointer type warning.


------------------------------------------------------------------------
r13716 | nicholasbishop | 2008-02-16 17:59:26 +0100 (Sat, 16 Feb 2008) | 5 lines

== Sculpt ==

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


------------------------------------------------------------------------
r13715 | joeedh | 2008-02-16 17:44:41 +0100 (Sat, 16 Feb 2008) | 2 lines

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.
------------------------------------------------------------------------
r13714 | campbellbarton | 2008-02-16 17:35:47 +0100 (Sat, 16 Feb 2008) | 8 lines

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.


------------------------------------------------------------------------
r13713 | aligorith | 2008-02-16 05:12:54 +0100 (Sat, 16 Feb 2008) | 3 lines

PoseLib - swapping keys:

Swapped the order of a few keys during PoseLib Preview, so that they made more sense.
------------------------------------------------------------------------
r13712 | bjornmose | 2008-02-16 01:07:05 +0100 (Sat, 16 Feb 2008) | 6 lines

cleaning up softbody.c code
- removed some 'hopes' on ODE solving
- no linking to open numeric library (ONL) should be required for now



------------------------------------------------------------------------
r13711 | ben2610 | 2008-02-16 00:12:03 +0100 (Sat, 16 Feb 2008) | 1 line

patch 8235 8218 8211 added: various gameengine improvements, fixed windows project files
------------------------------------------------------------------------
r13710 | campbellbarton | 2008-02-15 23:13:44 +0100 (Fri, 15 Feb 2008) | 2 lines

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.

------------------------------------------------------------------------
r13709 | ton | 2008-02-15 19:50:13 +0100 (Fri, 15 Feb 2008) | 3 lines

Fix for planar preview, to make Z=0 everywhere


------------------------------------------------------------------------
r13708 | ton | 2008-02-15 19:49:46 +0100 (Fri, 15 Feb 2008) | 3 lines

New preview blend c file, fixed Planar view texture coordinates (so Z=0)


------------------------------------------------------------------------
r13707 | blendix | 2008-02-15 19:21:30 +0100 (Fri, 15 Feb 2008) | 5 lines


Bugfix: alpha blending bug in vector blur, gave too dark areas using
input image with alpha.


------------------------------------------------------------------------
r13706 | hos | 2008-02-15 17:52:20 +0100 (Fri, 15 Feb 2008) | 4 lines

Set linking priority of libbinreloc to 226 for blenderplayer. Why?
Because libblenkernel_blc, which depends on binreloc, has priority
225.

------------------------------------------------------------------------
r13705 | campbellbarton | 2008-02-15 17:08:41 +0100 (Fri, 15 Feb 2008) | 2 lines

Python api addition PupTreeMenu() - for apricot

------------------------------------------------------------------------
r13704 | blendix | 2008-02-15 16:29:43 +0100 (Fri, 15 Feb 2008) | 6 lines


Bugfix for unnecessary missing object warnings for speed vectors,
caused by optimization that doesn't compute vectors for objects that
don't need them.


------------------------------------------------------------------------
r13703 | ton | 2008-02-15 16:20:50 +0100 (Fri, 15 Feb 2008) | 9 lines

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.



------------------------------------------------------------------------
r13702 | blendix | 2008-02-15 15:56:56 +0100 (Fri, 15 Feb 2008) | 6 lines


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.


------------------------------------------------------------------------
r13701 | ton | 2008-02-15 14:49:10 +0100 (Fri, 15 Feb 2008) | 8 lines

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.



------------------------------------------------------------------------
r13700 | blendix | 2008-02-15 13:54:43 +0100 (Fri, 15 Feb 2008) | 5 lines


Effectors on particle hair can now be applied to the children instead
of the parents, with the "Children" button next to Stiffness.


------------------------------------------------------------------------
r13699 | ianwill | 2008-02-15 13:41:27 +0100 (Fri, 15 Feb 2008) | 7 lines

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


------------------------------------------------------------------------
r13698 | joeedh | 2008-02-15 10:42:25 +0100 (Fri, 15 Feb 2008) | 3 lines

Fix for theoretical memory leak.  Oddly this leak didn't seem
to be happening, but might as well fix it anyway.

------------------------------------------------------------------------
r13697 | aligorith | 2008-02-15 07:06:08 +0100 (Fri, 15 Feb 2008) | 5 lines

== 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
------------------------------------------------------------------------
r13696 | aligorith | 2008-02-15 06:20:28 +0100 (Fri, 15 Feb 2008) | 3 lines

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.
------------------------------------------------------------------------
r13695 | aligorith | 2008-02-15 05:58:55 +0100 (Fri, 15 Feb 2008) | 5 lines

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)
------------------------------------------------------------------------
r13694 | aligorith | 2008-02-15 05:42:48 +0100 (Fri, 15 Feb 2008) | 3 lines

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. 
------------------------------------------------------------------------
r13693 | blendix | 2008-02-14 22:34:27 +0100 (Thu, 14 Feb 2008) | 5 lines


Bugfix: depsgraph cycle checking for armatures sometimes gave incorrect
cycle warnings.


------------------------------------------------------------------------
r13692 | blendix | 2008-02-14 20:08:24 +0100 (Thu, 14 Feb 2008) | 5 lines


Bugfix for depsgraph error leading to lagging, caused by local
constraint ipo drivers and proxies.


------------------------------------------------------------------------
r13691 | ton | 2008-02-14 19:56:14 +0100 (Thu, 14 Feb 2008) | 7 lines

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


------------------------------------------------------------------------
r13690 | ton | 2008-02-14 19:00:58 +0100 (Thu, 14 Feb 2008) | 5 lines

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)


------------------------------------------------------------------------
r13689 | joeedh | 2008-02-14 16:14:01 +0100 (Thu, 14 Feb 2008) | 2 lines

stupid me! if you move var declarations sometimes you have to add
assignments outside of the var declarations!
------------------------------------------------------------------------
r13688 | joeedh | 2008-02-14 15:57:41 +0100 (Thu, 14 Feb 2008) | 1 line

in my tiredness I didn't declare some vars at the top of the block.
------------------------------------------------------------------------
r13687 | joeedh | 2008-02-14 14:36:59 +0100 (Thu, 14 Feb 2008) | 9 lines

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?
------------------------------------------------------------------------
r13686 | joeedh | 2008-02-14 13:44:27 +0100 (Thu, 14 Feb 2008) | 12 lines

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

------------------------------------------------------------------------
r13685 | campbellbarton | 2008-02-14 13:34:54 +0100 (Thu, 14 Feb 2008) | 4 lines

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.


------------------------------------------------------------------------
r13684 | joeedh | 2008-02-14 13:19:37 +0100 (Thu, 14 Feb 2008) | 14 lines

The "premul" option for images had a very bad implementation.  It
basically flagged the image so that on next load/reload, the image
data would be converted to premul.  This was very confusing to the
user, as it meant premul wouldn't take effect will the image was
reloaded, and it would also change the image data, which the user
might've been painting.

To fix this, I've removed this behaviour and instead made the premul
option apply at render time.  During render while evaluating an image
texture, if the image has the premul flag set then the premul operation
is done on the texture result data, thus not touching the image data
at all.

Also, I've made premul be turned on by default.
------------------------------------------------------------------------
r13683 | aligorith | 2008-02-14 11:42:53 +0100 (Thu, 14 Feb 2008) | 3 lines

Bugfix #8283: PyConstraints menu problems

The menu listing the scripts available for use was not working correctly for newly created PyConstraints. This was caused by a missing initialisation for the 'active' index.
------------------------------------------------------------------------
r13682 | campbellbarton | 2008-02-14 11:18:18 +0100 (Thu, 14 Feb 2008) | 2 lines

make the file and image selector convert relative paths.

------------------------------------------------------------------------
r13681 | aligorith | 2008-02-14 07:31:40 +0100 (Thu, 14 Feb 2008) | 3 lines

== Shift-G - Select Grouped menu in PoseMode ==

In PoseMode, the Shift-G menu now presents options for selecting bones in the same layer or the same bone-group. 
------------------------------------------------------------------------
r13680 | aligorith | 2008-02-14 06:00:23 +0100 (Thu, 14 Feb 2008) | 7 lines

== Custom Bone Colours - Per Group Colour-Sets ==

Now it is possible to define a custom colour set per bone group. This allows rigs to look consistent across different computers with different themes. As such, the bone-groups buttons have been reshuffled to present the settings in a better way.

Colour sets are now selected from a menu with descriptive names, instead of using a slider. Choose the 'Custom Set' entry to use a custom set of colours for the active group. The sets of theme colours have been retained, and can be used directly, or as the basis for a new custom colour set (when any one of the colour controls is touched). 

For bone-groups that haven't had any custom colour set used yet, a default 'test' set is used. This uses bright versions of the RGB colours.
------------------------------------------------------------------------
r13679 | jhk | 2008-02-13 22:06:37 +0100 (Wed, 13 Feb 2008) | 1 line

Particles' angular velocity mode "velocity" was actually just a duplicate of "spin" without any angular velocity, so it was removed.
------------------------------------------------------------------------
r13678 | ianwill | 2008-02-13 21:42:36 +0100 (Wed, 13 Feb 2008) | 5 lines

== BPython API ==

Fixing mistake in Blender_ShowHelp() function: argument to Blender_Run() should be passed directly as a string, not encapsulated in a tuple (aka "s", not "(s)").


------------------------------------------------------------------------
r13677 | jhk | 2008-02-13 21:08:37 +0100 (Wed, 13 Feb 2008) | 1 line

Now I'm really starting to wonder if I should be allowed to code at all. How many things can you get wrong with a simple comparison of two variables? Hopefully this is the final fix for bug 8274.. sigh..
------------------------------------------------------------------------
r13676 | jhk | 2008-02-13 20:48:13 +0100 (Wed, 13 Feb 2008) | 3 lines

A second try at bug a fix for bug: [#8274] Particle System cannot be persuaded to recalculate
-This time with a correct ">" instead of the previous "<"

------------------------------------------------------------------------
r13675 | jhk | 2008-02-13 19:57:28 +0100 (Wed, 13 Feb 2008) | 1 line

It seems my fix for bug 8274 broke hair, so reverting that and opening the bug again in the tracker :)
------------------------------------------------------------------------
r13674 | jhk | 2008-02-13 16:33:37 +0100 (Wed, 13 Feb 2008) | 2 lines

Fix for bug: [#8274] Particle System cannot be persuaded to recalculate
-The exact time for a particle being unborn or alive needed some adjusting
------------------------------------------------------------------------
r13673 | blendix | 2008-02-13 15:40:43 +0100 (Wed, 13 Feb 2008) | 5 lines


Fix for bug #8206: crash with 0 particle hairs and softbody for the
particle system.


------------------------------------------------------------------------
r13672 | blendix | 2008-02-13 15:29:06 +0100 (Wed, 13 Feb 2008) | 7 lines


- Fix for bug #8264: SSS turned off by "default" render settings button,
  I also added a button to control enabling/disabling SSS for render.
- Fix for potential halo sorting crash.
- Add a newline at the end of a file to remove gcc warning.


------------------------------------------------------------------------
r13671 | campbellbarton | 2008-02-13 14:55:22 +0100 (Wed, 13 Feb 2008) | 4 lines

Added a global string to be used for the tempdir. since the user preference is not loaded in background mode and the user preference is not validated and has no fallback.
'btempdir' is set with BLI_where_is_temp() - This tries to use U.tempdir but falls back to $TEMP or /tmp/


------------------------------------------------------------------------
r13670 | broken | 2008-02-13 14:36:35 +0100 (Wed, 13 Feb 2008) | 5 lines

* fix for [#8085] Glare node crashes on inputs with < 4 colour channels

I had this assigned to Alfredo for a while, but he hasn't replied to the tracker at all, so I suspect he's not around. I'll commit this now to prevent crashes.

Some of the code in the glare node assumed that all buffers will be 4 channel RGBA, when in fact it was possible to give it a VEC3, such as a spec pass with no alpha, which would crash it. This fix just duplicates the input to a new temporary RGBA buffer to work on, if it's not already RGBA.
------------------------------------------------------------------------
r13669 | broken | 2008-02-13 14:26:46 +0100 (Wed, 13 Feb 2008) | 7 lines

* "Drag Immediately" transform user preference.

It's already supported within transform, was previously known as 'tweak mode' and for some odd reason was a compile time option. This brings it to a user preference (in 'Edit Methods' section).

Basically it means that you don't need the extra click at the end to confirm a drag-move transform, if you're already dragged, you can just let go of the mouse rather than needing to click again. It's a lot more comfortable when you're used to using other applications as well as blender, and much more sensible for tablets.

This started life as patch #7144 by Ed Britton, but this implementation has been changed considerably.
------------------------------------------------------------------------
r13668 | blendix | 2008-02-13 14:25:19 +0100 (Wed, 13 Feb 2008) | 5 lines


Fix for bug #7863: AO made normal map baking unnecessarily slow.
Fix for bug #8226: approximate AO doesn't bake.


------------------------------------------------------------------------
r13667 | blendix | 2008-02-13 12:18:08 +0100 (Wed, 13 Feb 2008) | 17 lines


Render Simplification

This adds a few settings to control global render quality, for faster
renders when tweaking lighting etc. The implementation is not so great,
and this should really be part of a proper render profile and preset
system. So for now it's a hidden Peach feature, enabled by setting rt
to 1. Before the next release, I'll either remove or improve it.

Settings are:

- Maximum subsurf level
- Child particles percentage
- Maximum shadow map samples
- AO and SSS quality factor


------------------------------------------------------------------------
r13666 | genscher | 2008-02-13 11:44:36 +0100 (Wed, 13 Feb 2008) | 1 line

Cloth: changes in editmode will influence the velocity by 10% now, changed/add some update calls for the implicit function
------------------------------------------------------------------------
r13665 | blendix | 2008-02-13 11:44:12 +0100 (Wed, 13 Feb 2008) | 5 lines


Bugfix: approximate AO with pixel cache & osa now should have fewer
black pixels.


------------------------------------------------------------------------
r13664 | aligorith | 2008-02-13 07:43:31 +0100 (Wed, 13 Feb 2008) | 3 lines

== Action Editor - Insert Key+ "Active Group" ==

"Insert Key" menu in Action Editor (IKEY) now has a new option: "In Active Group". This only inserts keyframes in the active action group (if available).
------------------------------------------------------------------------
r13661 | khughes | 2008-02-12 20:29:12 +0100 (Tue, 12 Feb 2008) | 5 lines

Python API
----------
Added missing lamp.falloffType attribute.  Also fixed typo in Render docs.


------------------------------------------------------------------------
r13660 | jesterking | 2008-02-12 19:56:32 +0100 (Tue, 12 Feb 2008) | 1 line

* fix provided by Stefan Birgmeier (qwequ777): int pos may lead to crashes on 64-bit systems. PyDict_Next takes a Py_ssize_t, not an int (tsk tsk).
------------------------------------------------------------------------
r13659 | blendix | 2008-02-12 18:24:15 +0100 (Tue, 12 Feb 2008) | 4 lines


Bugfix for use of unitinialized values when drawing hair dupli particles.


------------------------------------------------------------------------
r13658 | campbellbarton | 2008-02-12 18:11:45 +0100 (Tue, 12 Feb 2008) | 4 lines

Pointcache for unsaved files is saved in /tmp/blendcache_untitled/... instead of not generating pointcache at all, be careful since the temp path can be NULL or missing.

This is messy because the files can be left there when blender quits, however saveBuffers and sessions alredy do :/ Some cleanup function needs to Blender that deals with this!

------------------------------------------------------------------------
r13657 | jhk | 2008-02-12 17:36:03 +0100 (Tue, 12 Feb 2008) | 3 lines

Fix for bug: [#8271] Changes to the texture settings for particle attributes are not updated
- Material buttons code didn't set particles update flag
- Small change to how particle emit time is interpreted from textures, now the "time" texture output can actually be used for something
------------------------------------------------------------------------
r13656 | blendix | 2008-02-12 16:34:26 +0100 (Tue, 12 Feb 2008) | 5 lines


Bugfix: when defocus node had nothing to do and just passed on the buffer,
it didn't correctly deal with pointers, gave a crash in some circumstances.


------------------------------------------------------------------------
r13655 | jhk | 2008-02-12 16:26:20 +0100 (Tue, 12 Feb 2008) | 4 lines

Fix for bug: [#8269] Particle / Vizualization / Draw / Disp reduces rendered particles
- Hair didn't update the visibility flag of each particle
- Changing the disp value gave a too strong update call to particles
- Changed disp value behavior for dynamic particles a bit, now all particles are always calculated for uncached frames so that every particle gets it's data cached. Now the disp value actually does what it's supposed to do, it alters the amount of particles DISPlayed in viewport, but doesn't change the simulations. (With old particles it was possible to only calculate the disp amount of particles too as everything was always recalculated from scratch anyways, but now that particles are more complicated and cached etc. it's not an option anymore.)
------------------------------------------------------------------------
r13654 | campbellbarton | 2008-02-12 15:47:55 +0100 (Tue, 12 Feb 2008) | 6 lines

Added python access for baking
http://www.blender.org/documentation/246PythonDoc/
http://www.blender.org/documentation/246PythonDoc/Render.RenderData-class.html
http://www.blender.org/documentation/246PythonDoc/bpy_api_2_46.zip


------------------------------------------------------------------------
r13653 | jhk | 2008-02-12 14:38:07 +0100 (Tue, 12 Feb 2008) | 3 lines

Fix for bug: [#8247] Hairs that are added in particle mode act and render unpredictably when soft body is activated
-softbody BodyPoint indexes were created with a lag of one leading to use of wrong softbody points for particles when creating path cache
-interpolation points for softbody hair weren't chosen optimally when not yet at the end of a hair
------------------------------------------------------------------------
r13652 | genscher | 2008-02-12 13:02:39 +0100 (Tue, 12 Feb 2008) | 1 line

Cloth: Fix order in collision loop -> solving selfcollision could result in new cloth-object collisions, adjust 'collision quality' for the number of loops taken
------------------------------------------------------------------------
r13651 | genscher | 2008-02-12 12:31:22 +0100 (Tue, 12 Feb 2008) | 1 line

GUI fixes: some minor gui tweaks for collision modifier
------------------------------------------------------------------------
r13650 | genscher | 2008-02-12 12:04:58 +0100 (Tue, 12 Feb 2008) | 1 line

Cloth: New: *simple* (OpenMP enabled) Selfcollisions available
------------------------------------------------------------------------
r13649 | jhk | 2008-02-12 01:34:53 +0100 (Tue, 12 Feb 2008) | 1 line

Fix for bug #8245.
------------------------------------------------------------------------
r13648 | broken | 2008-02-12 00:24:16 +0100 (Tue, 12 Feb 2008) | 1 line

* Fix for crash, drawing particle systems with 'col' set to draw strands in material colour, but no material (null pointer).
------------------------------------------------------------------------
r13647 | theeth | 2008-02-11 23:18:41 +0100 (Mon, 11 Feb 2008) | 5 lines

== Warning/Bug Fix ==

Bone extension string was not long enough for new extensions .bot and .top. This was surely causing some stack memory to be overwritten...

Warning reported by JMS on french newsgroup.
------------------------------------------------------------------------
r13646 | genscher | 2008-02-11 21:40:22 +0100 (Mon, 11 Feb 2008) | 1 line

Cloth: 1. Speedup of collisions (up to 50%, see new dancing ballerina stats here: http://www.dldw.de/tmp/index.php?file=i_cloth-kdop-dancingb.jpg ; 2. changed vertex paint reset behaviour to only reset cloth if vertex group is really used
------------------------------------------------------------------------
r13645 | campbellbarton | 2008-02-11 20:53:04 +0100 (Mon, 11 Feb 2008) | 2 lines

sometimes a posebones BONE_TRANSFORM would be set and cause RelaxPose to add unexpected keyframes.

------------------------------------------------------------------------
r13644 | campbellbarton | 2008-02-11 19:26:19 +0100 (Mon, 11 Feb 2008) | 2 lines

IDP_CopyGroup wasn't copying the length, thanks Caedes for finding this one

------------------------------------------------------------------------
r13643 | jhk | 2008-02-11 18:24:03 +0100 (Mon, 11 Feb 2008) | 1 line

Fix for bug #8186.
------------------------------------------------------------------------
r13642 | jhk | 2008-02-11 15:38:30 +0100 (Mon, 11 Feb 2008) | 1 line

Fix for bug #7857.
------------------------------------------------------------------------
r13641 | genscher | 2008-02-11 14:30:52 +0100 (Mon, 11 Feb 2008) | 1 line

Pointcache: Fixed non-availability when blend file was loaded from command line and also another case where you startet from an unsaved blend and switched to a saved one; Cloth: Fixid mass init, little speedup for collisions; Collision Modifier: More generalized it
------------------------------------------------------------------------
r13640 | blendix | 2008-02-11 14:04:52 +0100 (Mon, 11 Feb 2008) | 4 lines


Bugfix: render crash with env material setting and ISB.


------------------------------------------------------------------------
r13639 | campbellbarton | 2008-02-11 13:01:14 +0100 (Mon, 11 Feb 2008) | 3 lines

python scriptlink for ObjectUpdate and ObDataUpdate, Redraw events are not practice in many real world cases, this can give more specific updates.
Discussed with Caedes, Brecht and Ton, can rework if needed.

------------------------------------------------------------------------
r13638 | blendix | 2008-02-11 12:00:09 +0100 (Mon, 11 Feb 2008) | 10 lines


Bugfix: FSA enabled in compositing scene but disabled in other
scenes could crash, there was code to make sure osa level is
the same in all scenes, but that was set too late, after sample
tables are created.

Fix for some unitinialized vector warnings with FSA, these were
harmless, unfortunately.


------------------------------------------------------------------------
r13637 | blendix | 2008-02-11 11:08:39 +0100 (Mon, 11 Feb 2008) | 7 lines


Bugfix: on loading proxies, the pose is often wrong initially, which
only becomes correct after a frame change. This also caused errors in
vector blur with strands. Cause was the BONE_UNKEYED flag, which is
not valid anymore after file read with proxies, and should be cleared.


------------------------------------------------------------------------
r13636 | jesterking | 2008-02-11 09:27:54 +0100 (Mon, 11 Feb 2008) | 2 lines

* change integral type of loop var in two cases so OpenMP support compiles with MSVC, too.
* remove wrong flag.
------------------------------------------------------------------------
r13635 | campbellbarton | 2008-02-11 04:16:22 +0100 (Mon, 11 Feb 2008) | 3 lines

World settings ambient occlusion could be set even when its a library
making local objects with a dupligroup didnt disable the indirect flag, also made the tool respect visible and restricted flags.

------------------------------------------------------------------------
r13634 | schlaile | 2008-02-11 00:40:58 +0100 (Mon, 11 Feb 2008) | 7 lines

== Sequencer ==

Align StripColorBalance correctly. Should fix

[#8242] new feature "3-way-color-correction" won't be saved with blend file


------------------------------------------------------------------------
r13633 | ianwill | 2008-02-10 22:12:44 +0100 (Sun, 10 Feb 2008) | 10 lines

== Pynodes ==

1) Trying to bring back compatibility with Python2.3.
2) Adding some stubs to compile blender player again on linux.

Please tell me if Blender still doesn't compile with py 2.3 or if the player isn't compiling. There was a binreloc related stub I needed to add, so probably the player wasn't compiling before the pynodes commit.

Thanks PanzerMKZ for reporting and testing part of the fix to py 2.3.


------------------------------------------------------------------------
r13632 | jesterking | 2008-02-10 21:50:50 +0100 (Sun, 10 Feb 2008) | 1 line

* make CMake compile again (after pynodes addition). Patch provided by skejoe.
------------------------------------------------------------------------
r13631 | jesterking | 2008-02-10 21:41:59 +0100 (Sun, 10 Feb 2008) | 1 line

* remove constness.
------------------------------------------------------------------------
r13630 | campbellbarton | 2008-02-10 21:16:35 +0100 (Sun, 10 Feb 2008) | 2 lines

added PyNode includes for Makefiles

------------------------------------------------------------------------
r13629 | jesterking | 2008-02-10 21:00:25 +0100 (Sun, 10 Feb 2008) | 1 line

* make some explicit casts to make some compilers happy
------------------------------------------------------------------------
r13628 | jesterking | 2008-02-10 19:48:29 +0100 (Sun, 10 Feb 2008) | 1 line

* remove redundant define.
------------------------------------------------------------------------
r13627 | migius | 2008-02-10 11:26:29 +0100 (Sun, 10 Feb 2008) | 1 line

ver.1.0.12a9 , minor bugfix
------------------------------------------------------------------------
r13626 | schlaile | 2008-02-10 11:17:46 +0100 (Sun, 10 Feb 2008) | 5 lines

== Sequencer ==

Make F10 key work with the new sequencer panel.


------------------------------------------------------------------------
r13625 | aligorith | 2008-02-10 11:08:14 +0100 (Sun, 10 Feb 2008) | 1 line

Reverting change to transform constraint... (argh!)
------------------------------------------------------------------------
r13624 | aligorith | 2008-02-10 11:01:57 +0100 (Sun, 10 Feb 2008) | 4 lines

Constraints Bugfixes/Tweaks:

* Optimised transform constraint a bit
* PyConstraints now show the script-selection menu correctly when a new constraint is added (i.e.  it now displays the correct initial value).
------------------------------------------------------------------------
r13623 | ianwill | 2008-02-10 04:40:24 +0100 (Sun, 10 Feb 2008) | 6 lines

== PyNodes ==

1) Including the Add->Dynamic submenu in the Nodes window header. Previously pynodes could only be added via toolbox.
2) Disabling pynodes execution when using more than one thread for rendering. This prevents the crashes while a proper fix isn't implemented.


------------------------------------------------------------------------
r13622 | ianwill | 2008-02-10 03:12:06 +0100 (Sun, 10 Feb 2008) | 5 lines

== BPy: scripts in menus ==

Fixing compile warning (about a var that was always true being used as condition in an "if" block).


------------------------------------------------------------------------
r13621 | ianwill | 2008-02-10 01:14:29 +0100 (Sun, 10 Feb 2008) | 7 lines

== PyNodes ==

First fix in trunk: The "Update" button that appears in the Material buttons -> Nodes panel when a pynode is selected wasn't forcing an immediate update. Added a BIF_preview_changed call to fix it.

Let's pretend I actually knew that button also appeared there :) ... weeks working on pynodes and only right after Nathan commits to trunk I realize that this part of node panels is drawn in the buttons window, too.


------------------------------------------------------------------------
r13620 | jesterking | 2008-02-10 00:17:15 +0100 (Sun, 10 Feb 2008) | 11 lines

* Merge of PyNodes to trunk. Finally!

  See http://wiki.blender.org/index.php/BlenderDev/PyNodes and
  http://wiki.blender.org/index.php/BlenderDev/PyNodes/API
  For current documentation.

  Very very big thanks go to William Germano for fixing the memory issues left
  and for improving on the code.

  In the coming time documentation will be finalised and further stabilising
  of PyNodes is to be expected.
------------------------------------------------------------------------
r13619 | schlaile | 2008-02-10 00:11:05 +0100 (Sun, 10 Feb 2008) | 8 lines

== Sequencer ==

Since mul changed into master gain slider, slightly raised limit, so that
color balance doesn't get too dark.

Fixed crash in float->float color balance.


------------------------------------------------------------------------
r13617 | nicholasbishop | 2008-02-09 21:50:25 +0100 (Sat, 09 Feb 2008) | 5 lines

== Multires ==

Fixed bug #8215, Crash with shaded view + multires mesh


------------------------------------------------------------------------
r13615 | theeth | 2008-02-09 20:00:12 +0100 (Sat, 09 Feb 2008) | 5 lines

=== Manipulator ===

Numinput working with the manipulator.

Someone suggested that on ba and it doesn't really hurt anyone/anything.
------------------------------------------------------------------------
r13614 | blendix | 2008-02-09 17:30:33 +0100 (Sat, 09 Feb 2008) | 6 lines


- Bugfix: scenes with SSS materials slowed down preview render
  unnecessarily.
- Small approximate AO optimization for sky colors/textures.


------------------------------------------------------------------------
r13612 | blendix | 2008-02-08 23:09:47 +0100 (Fri, 08 Feb 2008) | 5 lines


Potential bugfix for an exr tile writing crash. SSS preprocessing now
doesn't write tiles to disk anymore (there is no reason to do so).


------------------------------------------------------------------------
r13610 | aligorith | 2008-02-08 21:15:07 +0100 (Fri, 08 Feb 2008) | 1 line

Ctrl-PageUp/Down in 3D-view now behaves the same as for the Timeline for consistency. The old behaviour for this (jumping between ob-ipo keyframes (Draw/Show Keys)) was not used that often, and has now been remapped to Shift-PageUp/Down
------------------------------------------------------------------------
r13609 | genscher | 2008-02-08 16:47:47 +0100 (Fri, 08 Feb 2008) | 1 line

Cloth: Fixed another spring problem
------------------------------------------------------------------------
r13608 | blendix | 2008-02-08 16:39:29 +0100 (Fri, 08 Feb 2008) | 5 lines


Render optimization: approximate AO preprocessing is now partially
multithreaded.


------------------------------------------------------------------------
r13607 | sirdude | 2008-02-08 16:36:39 +0100 (Fri, 08 Feb 2008) | 4 lines

Just removed some unused vars cleaning up some little warnings.

Kent

------------------------------------------------------------------------
r13605 | aligorith | 2008-02-08 06:31:12 +0100 (Fri, 08 Feb 2008) | 3 lines

Bugfix for Custom Bone Shapes - 'Wire' Option:

Bones drawn using this mode can now be selected, and are drawn correctly in envelope mode. This may draw a bit slower, as it is done in a separate mode.
------------------------------------------------------------------------
r13604 | genscher | 2008-02-08 01:55:48 +0100 (Fri, 08 Feb 2008) | 1 line

Cloth: Hopefully fixed bug reported from bjornmose (2nd try)
------------------------------------------------------------------------
r13603 | blendix | 2008-02-07 17:29:08 +0100 (Thu, 07 Feb 2008) | 5 lines


Small render engine optimization: don't create objects in prev/next
frames if they are not part of a renderlayer that has a vector pass.


------------------------------------------------------------------------
r13602 | ton | 2008-02-07 13:14:58 +0100 (Thu, 07 Feb 2008) | 11 lines

FSA: tweaked merging samples with filter to correctly map edges of the
images. Found method that doesn't require image to be rendered larger.

Note: assembling pre-rendered parts that are result of FSA renders might 
still give minor visible artefacts on edges; however, we should include 
such render methods in the render pipeline, so multiple computers can
each render parts, save all samples, and have 1 computer assembling and
compositing all. This is for another project... :)



------------------------------------------------------------------------
r13601 | broken | 2008-02-07 07:00:08 +0100 (Thu, 07 Feb 2008) | 1 line

* fix: "only shadow" lamps still lit materials with "shadow" turned off. Now, they have no effect.
------------------------------------------------------------------------
r13599 | aligorith | 2008-02-07 00:27:03 +0100 (Thu, 07 Feb 2008) | 5 lines

== Action Editor - Bugfixes ==

* With "AfterTrans Delete Duplicates" and NLA-scaling on, IPO-curve handles were not updated after the operation.

* Sliders drew in the wrong places. Now they are drawn using the Action-Editor api stuff, so they should appear in the right places. I've also tweaked this so that sliders are now shown for ANY selected action channel's ipo-channels and constraint-channels, provided that the channel is in view. 
------------------------------------------------------------------------
r13598 | genscher | 2008-02-06 23:59:56 +0100 (Wed, 06 Feb 2008) | 1 line

Cloth: 1. fix problem with pinning (reported by ZanQdo), 2. fix cache protected + 'not saved' gui message bug (reported by Tobias Regenbrecht)
------------------------------------------------------------------------
r13597 | schlaile | 2008-02-06 23:45:46 +0100 (Wed, 06 Feb 2008) | 9 lines

== FFMPEG ==

Applied  	

[#8213] fix some library calls (freetype,ffmpeg)

to fix a segfault when linking against newer ffmpeg-libs.


------------------------------------------------------------------------
r13596 | schlaile | 2008-02-06 23:37:13 +0100 (Wed, 06 Feb 2008) | 5 lines

== Sequencer ==

Make glow-effect IPO driven (boost is multiplied by IPO-value). 


------------------------------------------------------------------------
r13595 | schlaile | 2008-02-06 23:36:34 +0100 (Wed, 06 Feb 2008) | 7 lines

== Sequencer ==

Fixes [8222] Sequencer crash

Scene didn't work without a proxy anymore... :)


------------------------------------------------------------------------
r13594 | sirdude | 2008-02-06 23:35:48 +0100 (Wed, 06 Feb 2008) | 7 lines

This is patch: [#8244] Add MultiLayer image type in python API documentation
Submitted By: Stephane SOPPERA (soppera)

Just updates the docs for previous commit.

Kent

------------------------------------------------------------------------
r13593 | blendix | 2008-02-06 18:43:32 +0100 (Wed, 06 Feb 2008) | 7 lines


Mouse-click in the ipo/action/timeline/.. to change the frame
used to round down, and select the previous frame even when
the mouse was very close to the next one. Now it snaps to the
closest frame instead.


------------------------------------------------------------------------
r13592 | blendix | 2008-02-06 18:29:16 +0100 (Wed, 06 Feb 2008) | 6 lines


Bugfix for closely zoomed in rotation transform, with the rotation
center far out of the view, gave integer overflow and wrong results,
now uses doubles to avoid the overflow.


------------------------------------------------------------------------
r13591 | blendix | 2008-02-06 17:45:51 +0100 (Wed, 06 Feb 2008) | 6 lines


Bugfix: IK solving could go in infinite loop in SVD decomposition,
the matrix library used didn't have a maximum iterations check for
degenerate cases.


------------------------------------------------------------------------
r13590 | blendix | 2008-02-06 14:45:07 +0100 (Wed, 06 Feb 2008) | 7 lines


- Removed the Save Buffers/FSA restriction that the width and height
  must be divisible by the number of parts.
- OpenEXR code also has some changes to allow writing mipmapped images,
  but that is unused at the moment.


------------------------------------------------------------------------
r13589 | aligorith | 2008-02-06 12:10:34 +0100 (Wed, 06 Feb 2008) | 7 lines

Bugfixes:

* Action Editor "Open/Close Level" now works with Action Groups. Groups have priority over Action Channels for collapsing/expanding.

* Custom bone shapes using the new 'wire' option, were drawing with the wrong wireframe colour at times (i.e.  when out of posemode, this happened quite often). 

* Fixed/added a few comments in various places
------------------------------------------------------------------------
r13588 | aligorith | 2008-02-06 06:27:23 +0100 (Wed, 06 Feb 2008) | 3 lines

== Action Editor - Drawing Optimisation ==

Keyframes are now drawn as GL_QUADS instead of using icons. The visual difference is slight, even though the new ones are slightly larger and have no fancy '3D-effects' (such as bevelling). However, they now seem to draw faster.
------------------------------------------------------------------------
r13587 | aligorith | 2008-02-06 02:25:56 +0100 (Wed, 06 Feb 2008) | 5 lines

It is now possible to compile a profiling build with mingw+scons. 

Here are the changes I've had to make:
* Added default settings for BF_PROFILE and BF_PROFILE_FLAGS for mingw
* Made makesdna.c link with profiling flags too. This fixes some linking problems related to guardedmalloc for linking it. I'm not sure if this breaks compiling with BF_PROFILE on other platforms.
------------------------------------------------------------------------
r13586 | blendix | 2008-02-05 23:46:26 +0100 (Tue, 05 Feb 2008) | 5 lines


Bugfix for infinite loop in Sample Keys function in the action editor,
with two keyframes on the same location.


------------------------------------------------------------------------
r13585 | aligorith | 2008-02-05 22:09:38 +0100 (Tue, 05 Feb 2008) | 1 line

Reverting some other changes zaghaghi made
------------------------------------------------------------------------
r13583 | aligorith | 2008-02-05 21:53:43 +0100 (Tue, 05 Feb 2008) | 1 line

Removed some files that Zaghaghi accidentally committed (sunsky stuff ;) )
------------------------------------------------------------------------
r13582 | zaghaghi | 2008-02-05 21:40:06 +0100 (Tue, 05 Feb 2008) | 1 line

SCA_ISencor::Evaluate in Python, patched by Benoit Bolsee
------------------------------------------------------------------------
r13581 | blendix | 2008-02-05 20:49:42 +0100 (Tue, 05 Feb 2008) | 4 lines


Fix for bug in strand shading, could give errors on border of parts.


------------------------------------------------------------------------
r13580 | sirdude | 2008-02-05 20:31:21 +0100 (Tue, 05 Feb 2008) | 7 lines

This is patch: [#8228] Add MultiLayer image type to python and batch rendering
Submitted By: Stephane SOPPERA (soppera)

Also fixes a small typo with wrong filetype for TIFF commandline rendering.

Kent

------------------------------------------------------------------------
r13579 | ton | 2008-02-05 19:11:16 +0100 (Tue, 05 Feb 2008) | 8 lines

When iserting rotations in poses, the quaternion sometimes rotates exactly
the opposite way as you want. Or even worse, you can never really define
which way it rotates (officially it should do shortest path).

This hotkey flips the quaternion (which means it rotates to same position
exactly via the other way). Hotkey ALT+F (flip) in 3d window posemode.


------------------------------------------------------------------------
r13578 | sirdude | 2008-02-05 18:37:52 +0100 (Tue, 05 Feb 2008) | 7 lines

This is patch [#8232] Memory leak in KX_Scene destructor fixed
Submitted By: Benoit Bolsee (ben2610)

Fixes a loop so that it removes objects properly from the scene.

Kent

------------------------------------------------------------------------
r13577 | genscher | 2008-02-05 16:43:20 +0100 (Tue, 05 Feb 2008) | 1 line

Cloth: resolve problems wheen opening old files which have deflection enabled
------------------------------------------------------------------------
r13576 | genscher | 2008-02-05 16:09:48 +0100 (Tue, 05 Feb 2008) | 1 line

Cloth: Fix for crash with meshes with no faces, 2. Fix for crash on switching from to another mesh
------------------------------------------------------------------------
r13575 | genscher | 2008-02-05 15:11:48 +0100 (Tue, 05 Feb 2008) | 1 line

Cloth: 1. Fix for deflection being enabled thourgh softbody interface, 2. Fix for wrong calculated friction, 3. Fix for some header which was accitently blown up by my editor
------------------------------------------------------------------------
r13574 | aligorith | 2008-02-05 04:10:46 +0100 (Tue, 05 Feb 2008) | 3 lines

Bugfix:

Pasting poses now refreshes dependencies correctly after pasting
------------------------------------------------------------------------
r13572 | aligorith | 2008-02-05 03:47:00 +0100 (Tue, 05 Feb 2008) | 9 lines

== Action Editor - Column Select tools ==

Added a new column-select type of tool: Select keys on current frame. 

As a result, I've changed the hotkeys for column select:
* KKEY - select keys on same frame as selected keys
* CTRL-KKEY - select keys on same frame as current frame
* SHIFT-KKEY - select keys on same frame as selected markers
* ALT-KKEY - select keys between selected markers
------------------------------------------------------------------------
r13571 | broken | 2008-02-05 02:35:55 +0100 (Tue, 05 Feb 2008) | 1 line

* small fix for a bug in the header render baking menu, baking texture only was doing the wrong thing.
------------------------------------------------------------------------
r13570 | campbellbarton | 2008-02-04 23:01:23 +0100 (Mon, 04 Feb 2008) | 2 lines

inverted the uv header mesh-sync-selection button, added face/vert selection popdown when sync selection is enabled.

------------------------------------------------------------------------
r13569 | sirdude | 2008-02-04 22:52:03 +0100 (Mon, 04 Feb 2008) | 9 lines

This is patch: [#8216] Make blender compile with gcc 4.3
minus one small include file that was commented out, I'm not
sure why it was commented out but I'm pretty sure its needed.
If there are still problems later we can sort it out, everything
else is pretty simple.

Kent


------------------------------------------------------------------------
r13568 | blendix | 2008-02-04 22:24:31 +0100 (Mon, 04 Feb 2008) | 4 lines


Fix for stupid copy-paste error in last commit.


------------------------------------------------------------------------
r13567 | blendix | 2008-02-04 22:17:15 +0100 (Mon, 04 Feb 2008) | 5 lines


Bugfix for recent alphaover premul commit, crashed existing files
and on adding a new node, maybe the commit was incomplete?


------------------------------------------------------------------------
r13566 | elubie | 2008-02-04 20:59:31 +0100 (Mon, 04 Feb 2008) | 3 lines

== MSVC 7.1 projectfiles ==
- added missing files rev. 13556 (game engine 2D filters) commit.

------------------------------------------------------------------------
r13565 | ton | 2008-02-04 19:37:40 +0100 (Mon, 04 Feb 2008) | 8 lines

AlphaOver node feature: "Premul" slider allows to mix between the
using alpha as premul or nonpremul. Quite useful for brightness
tweaks.

Todo: version-patch this so ConvertPremul button goes away
Todo: make entire compositer accept non-premul by default... or both


------------------------------------------------------------------------
r13564 | sirdude | 2008-02-04 16:52:47 +0100 (Mon, 04 Feb 2008) | 4 lines

Added missing include dir so it builds again.

Kent

------------------------------------------------------------------------
r13563 | jesterking | 2008-02-04 10:40:32 +0100 (Mon, 04 Feb 2008) | 1 line

* revert to r13013 - now everything compiles again
------------------------------------------------------------------------
r13562 | jesterking | 2008-02-04 10:34:08 +0100 (Mon, 04 Feb 2008) | 1 line

* remove return statement.
------------------------------------------------------------------------
r13561 | jesterking | 2008-02-04 08:00:11 +0100 (Mon, 04 Feb 2008) | 1 line

* make function signature like the one in .h. - zaghaghi, please check this again. I understand you merged accidently some old stuff.
------------------------------------------------------------------------
r13560 | jesterking | 2008-02-04 07:44:13 +0100 (Mon, 04 Feb 2008) | 1 line

* Building with FFMPEG-support on Windows works only for mingw. And those libs are static anyway.
------------------------------------------------------------------------
r13559 | jesterking | 2008-02-04 07:35:16 +0100 (Mon, 04 Feb 2008) | 2 lines

* define snprintf as _snprintf on windows.

------------------------------------------------------------------------
r13558 | broken | 2008-02-04 05:20:55 +0100 (Mon, 04 Feb 2008) | 3 lines

* Made the tablet pressure value default to 1.0 when not using 
 a tablet, rather than 0.0. This might help ease some 
 misbehaviour people have reported, especially in sculpt.
------------------------------------------------------------------------
r13557 | zaghaghi | 2008-02-04 04:48:46 +0100 (Mon, 04 Feb 2008) | 1 line

bugfix 8183, Ray sensor with material/property filter always triggers when hitting object without the required characteristic fixed by Benoit Blosee(ben2610), and some minor changes for 2d-filters.
------------------------------------------------------------------------
r13556 | zaghaghi | 2008-02-04 03:33:27 +0100 (Mon, 04 Feb 2008) | 1 line

merging game_engine branch changes into trunk, 2d-filters and opengl speedup
------------------------------------------------------------------------
r13555 | aligorith | 2008-02-04 02:30:44 +0100 (Mon, 04 Feb 2008) | 3 lines

Bugfix:

AfterTrans Delete Duplicates feature for Action Editor now doesn't remove duplicates if you cancelled the transform.
------------------------------------------------------------------------
r13554 | migius | 2008-02-04 01:44:31 +0100 (Mon, 04 Feb 2008) | 3 lines

Python API
----------
Correct sound into font in documentation to api2_2x/doc/Font.py.
------------------------------------------------------------------------
r13553 | broken | 2008-02-04 01:14:06 +0100 (Mon, 04 Feb 2008) | 1 line

* Change to the 'active line' drawing in colourbands. The wide strip was always ugly, inaccurate and jumped around. Now it uses a finely dashed line.
------------------------------------------------------------------------
r13552 | broken | 2008-02-04 01:03:38 +0100 (Mon, 04 Feb 2008) | 1 line

* Let HDRs get previewed by the image browser too
------------------------------------------------------------------------
r13551 | genscher | 2008-02-03 23:37:43 +0100 (Sun, 03 Feb 2008) | 1 line

Cloth: Fixed: [#8210] (includes bad spring calculation), only mesh can get cloth assigned, New: initial try of Bridson/Fedkiw friction formula implementation, better GUI feedback when e.g. cache is protected and settings too 
------------------------------------------------------------------------
r13550 | campbellbarton | 2008-02-03 22:24:48 +0100 (Sun, 03 Feb 2008) | 2 lines

Added single user ipos option - useful when you make linked duplicates with many objects and want them a unique ipo.

------------------------------------------------------------------------
r13549 | campbellbarton | 2008-02-03 21:57:52 +0100 (Sun, 03 Feb 2008) | 5 lines

fix for bug [#8065] Crash when baking.
http://projects.blender.org/tracker/index.php?func=detail&aid=8065&group_id=9&atid=125

Lamp ray_samp_method could be an invalid value while rendering because a check was only done in the user interface.

------------------------------------------------------------------------
r13548 | schlaile | 2008-02-03 20:25:43 +0100 (Sun, 03 Feb 2008) | 5 lines

== Sequencer ==

Fix for the fix.


------------------------------------------------------------------------
r13547 | schlaile | 2008-02-03 20:22:34 +0100 (Sun, 03 Feb 2008) | 6 lines

== Sequencer ==

Silenced compiler warnings and possibly fixed crash on broken
blend files.


------------------------------------------------------------------------
r13546 | schlaile | 2008-02-03 20:10:19 +0100 (Sun, 03 Feb 2008) | 6 lines

== Sequencer ==

Silently destroyed a null check in free_sequence in last commit,
getting old... :)


------------------------------------------------------------------------
r13545 | campbellbarton | 2008-02-03 20:03:18 +0100 (Sun, 03 Feb 2008) | 5 lines

feature request from peach, remove selected objects from 1 group.
Also made rem_from_group return if it removed the object which save some looping.

Added a node in the blender help message that background mode dosnt load the .B.blend file as a bug was reported recently because of this.

------------------------------------------------------------------------
r13544 | schlaile | 2008-02-03 19:58:46 +0100 (Sun, 03 Feb 2008) | 17 lines

== Sequencer ==

This adds low resolution proxy support to the blender sequencer, so
that even HD editing should be possible on slower machines.

The proxies are stored as directories of JPEG-files and are only
activated, if you use preview-resolution rendering.

For your final render, just switch back to full resolution and
the original files are used again.

It enables even proxying of whole effect pipelines and scene-strips
(but you have to your own custom directory for file storage then, 
since blender has no filename, which could be taken as a sensible
default directory reference)


------------------------------------------------------------------------
r13543 | khughes | 2008-02-03 19:50:03 +0100 (Sun, 03 Feb 2008) | 3 lines

More fixes for gcc warnings.


------------------------------------------------------------------------
r13541 | theeth | 2008-02-03 19:24:13 +0100 (Sun, 03 Feb 2008) | 5 lines

=== Custom Transform Orientation ===

Switch away from using selected list in editmesh, since it isn't always up to date.

This fixes the bug where CTO where not created correctly with box/lasso selecting elements and many others.
------------------------------------------------------------------------
r13540 | theeth | 2008-02-03 18:08:54 +0100 (Sun, 03 Feb 2008) | 1 line

Use proper projection for contrained scale snapping.
------------------------------------------------------------------------
r13538 | aligorith | 2008-02-03 08:43:00 +0100 (Sun, 03 Feb 2008) | 3 lines

2 Tweaks:
* Action Editor now doesn't draw channels which are out of view at all, which should help to provide (some minimal) improvements in some situations
* Typo in comment in constraints code
------------------------------------------------------------------------
r13536 | khughes | 2008-02-03 03:09:06 +0100 (Sun, 03 Feb 2008) | 3 lines

Missed reverting one extra assignment.


------------------------------------------------------------------------
r13535 | khughes | 2008-02-03 02:52:41 +0100 (Sun, 03 Feb 2008) | 4 lines

Reverting some of the previous commit: forgot some variables are used when 
btAssert() is active.


------------------------------------------------------------------------
r13534 | khughes | 2008-02-03 02:33:35 +0100 (Sun, 03 Feb 2008) | 3 lines

Clean-up for various gcc warnings under linux.


------------------------------------------------------------------------
r13533 | khughes | 2008-02-03 02:30:15 +0100 (Sun, 03 Feb 2008) | 6 lines

Python API
----------
renderData.removeRenderLayer() was not returning a Python object; make it
return None;


------------------------------------------------------------------------
r13532 | khughes | 2008-02-03 02:28:23 +0100 (Sun, 03 Feb 2008) | 4 lines

Remove in-line variable declaration in color_balance_byte_float(), not ISO
C90 compliant.  Also fix warning about pointer parameter mismatch.


------------------------------------------------------------------------
r13531 | khughes | 2008-02-03 01:55:39 +0100 (Sun, 03 Feb 2008) | 3 lines

Remove old debugging printf from node_make_addmenu().


------------------------------------------------------------------------
r13530 | nicholasbishop | 2008-02-03 01:51:25 +0100 (Sun, 03 Feb 2008) | 5 lines

== Sculpt ==

Fixed crasher in my previous commit; wasn't checking for NULL pointer.


------------------------------------------------------------------------
r13529 | theeth | 2008-02-03 01:42:00 +0100 (Sun, 03 Feb 2008) | 6 lines

== Transform Snap ==

Snapping for Resize
First draft, there might be some things to iron out.

Minor terminology fixes in CTO (custom transform orientation).
------------------------------------------------------------------------
r13528 | letterrip | 2008-02-03 00:58:05 +0100 (Sun, 03 Feb 2008) | 4 lines

== Python API - Mesh ==

This patch by Domino Maram adds the function addMultiresLevel

------------------------------------------------------------------------
r13527 | schlaile | 2008-02-03 00:28:50 +0100 (Sun, 03 Feb 2008) | 10 lines

== Sequencer ==

New feature: color balance aka 3-way-color-correction aka lift/gamma/gain 
on input (folded into byte -> float conversion, so _very_ fast in that case).
Interface is inspired from Rebel CC (but not as complete yet, you can't
choose white and black points right now).

Bugfix: clamp color seperated wave form display correctly.


------------------------------------------------------------------------
r13523 | jesterking | 2008-02-02 23:17:23 +0100 (Sat, 02 Feb 2008) | 1 line

* make sure opennl is in link list for player. I hope I got the priority for non-windows systems ok.
------------------------------------------------------------------------
r13521 | campbellbarton | 2008-02-02 12:19:34 +0100 (Sat, 02 Feb 2008) | 3 lines

Fix for indirectly linked libs being converted into direct linked libs. (tried to fix this before but didn't work).
fix_relpaths_library() needs to be called after loading libraries but not during recursive library load.

------------------------------------------------------------------------
r13519 | nicholasbishop | 2008-02-02 05:38:40 +0100 (Sat, 02 Feb 2008) | 5 lines

== Sculpt ==

Fix bug with layer brush + anchored.


------------------------------------------------------------------------
r13518 | campbellbarton | 2008-02-02 05:10:31 +0100 (Sat, 02 Feb 2008) | 2 lines

remoed testing line

------------------------------------------------------------------------
r13517 | campbellbarton | 2008-02-02 04:23:36 +0100 (Sat, 02 Feb 2008) | 2 lines

makefile was not adding openexr, so py api never enabled setting openexr image type when using make.

------------------------------------------------------------------------
r13516 | bjornmose | 2008-02-02 00:20:29 +0100 (Sat, 02 Feb 2008) | 2 lines

users feature request
-- material memory 
------------------------------------------------------------------------
r13515 | nicholasbishop | 2008-02-01 20:45:11 +0100 (Fri, 01 Feb 2008) | 5 lines

== Sculpt ==

Added a new brush option, "Anchored". When enabled, the brush doesn't move with the mouse, but rather stays in it's initial location and grows larger or smaller to follow the mouse. Good for brushing alphas on to the mesh. (Note that this option isn't available for the grab brush, and ignores the smooth stroke option.)


------------------------------------------------------------------------
r13513 | blendix | 2008-02-01 13:47:20 +0100 (Fri, 01 Feb 2008) | 5 lines


- For particle path visualization, set the default number of steps
  lower to save memory.


------------------------------------------------------------------------
r13512 | blendix | 2008-02-01 13:18:45 +0100 (Fri, 01 Feb 2008) | 5 lines


- Small approximate AO optimization for falloff, saves some percentages
  render time.


------------------------------------------------------------------------
r13511 | blendix | 2008-02-01 13:14:15 +0100 (Fri, 01 Feb 2008) | 5 lines


Memory usage debugging: now with the -d debug option enabled, at the end
of rendering it prints memory usage for images and all memory blocks.


------------------------------------------------------------------------
r13510 | aligorith | 2008-02-01 11:23:40 +0100 (Fri, 01 Feb 2008) | 16 lines

Patch #8177: Timeline Performance Patch
Patch by: Adriano Macchietto (macchiea)

This patch optimises the way keyframes are drawn in the Timeline, so that it is more responsive when working with heaps of keyframes (i.e. motion-capture data).

Detailed Description of Patch (from author):
* No longer uses a list to store the keys before drawing. Uses
less memory.
* Culls the drawing of keyframes outside of the visible window.
Good for dealing with long mocap tracks.
* Performs a check to avoid redrawing a line over a line which
has already been drawn to the same pixels. This speeds up the
scenario when you have many keyframes and are zoomed out.
* Batches the draws into one glBegin/glEnd block.

This is all done on a per IpoCurve basis.
------------------------------------------------------------------------
r13509 | nicholasbishop | 2008-02-01 00:22:57 +0100 (Fri, 01 Feb 2008) | 5 lines

== Sculpt ==

Added bilinear filtering to sculpt brushes when accessing textures.


------------------------------------------------------------------------
r13508 | bjornmose | 2008-02-01 00:00:08 +0100 (Fri, 01 Feb 2008) | 2 lines

--bug fix (own collection)
face collision did overreact on dagger edges
------------------------------------------------------------------------
r13507 | campbellbarton | 2008-01-31 23:53:31 +0100 (Thu, 31 Jan 2008) | 2 lines

last commit worked in test case but not in real world :/ - revert and will look further into it.

------------------------------------------------------------------------
r13506 | aligorith | 2008-01-31 23:47:03 +0100 (Thu, 31 Jan 2008) | 4 lines

Action Editor Bugs/Regressions:

* Insert Key and Column Select should be working again
* Last channel in group's keyframes now appear in summary too
------------------------------------------------------------------------
r13505 | campbellbarton | 2008-01-31 22:19:40 +0100 (Thu, 31 Jan 2008) | 9 lines

Fix for indirectly linked libraries.

When a.blend -> //../c.blend -> //d.blend
Blender would see d.blend as //d.blend which is wrong since that is relative to c.blend
This works, except when you make an indirectly linked group into a directly linked group. and then the incorrect path was saved into the blend file and the data not load up again (without copying it there or hex editing the path)

This loop makes all lib files relative to the blend you have open.


------------------------------------------------------------------------
r13504 | nicholasbishop | 2008-01-31 19:32:33 +0100 (Thu, 31 Jan 2008) | 5 lines

== Sculpt ==

Switched point projection used in brush texturing to floating point rather than integer; fixes some ugly artifacts in texture application.


------------------------------------------------------------------------
r13503 | ton | 2008-01-31 19:03:46 +0100 (Thu, 31 Jan 2008) | 4 lines

More logging prints while preparing scenes in background render.
Uses a timer, so nothing gets printed more than once a second.


------------------------------------------------------------------------
r13502 | blendix | 2008-01-31 17:32:15 +0100 (Thu, 31 Jan 2008) | 6 lines


- Bugfix in non-osa pass adding, for example AO got too high values.
  Now made it work more like the osa case, easier to verify it works
  correct then.


------------------------------------------------------------------------
r13501 | ton | 2008-01-31 16:35:24 +0100 (Thu, 31 Jan 2008) | 7 lines

Fix: render could crash when you enable 'do composite' without having
nodes in scene.

Feature: SHIFT+R in compositor reloads all full sample buffers, composites
and merges with filter. (ALso in Node menu).


------------------------------------------------------------------------
r13500 | schlaile | 2008-01-31 16:28:16 +0100 (Thu, 31 Jan 2008) | 13 lines

== Sequencer ==

Updated image preview a lot:
* Added a histogram-scope
* Added optional title-safe margins
* Re-arranged header, so that only usefull buttons are shown in image
  preview mode
* Added zebra-mode for visual feedback of over-exposure regions
  (helps in before and especially after color correction :)
* Added color-seperation-mode for waveform-display
* Show 10%, 70% and 90% hints in waveform-display


------------------------------------------------------------------------
r13499 | sirdude | 2008-01-31 15:25:52 +0100 (Thu, 31 Jan 2008) | 4 lines

Added missing header for offsetof function.

Kent

------------------------------------------------------------------------
r13498 | ton | 2008-01-31 15:14:03 +0100 (Thu, 31 Jan 2008) | 6 lines

Stupid error in commit of last weekend for zmasking:
You could not mask out anymore using the 'ctrl-click layer' without
having zmask on. 



------------------------------------------------------------------------
r13497 | genscher | 2008-01-31 13:29:57 +0100 (Thu, 31 Jan 2008) | 1 line

Replaced all *f geometric functions like sinf etc. with sin etc. (were used in 2 functions from the gnu scientific library)
------------------------------------------------------------------------
r13496 | genscher | 2008-01-31 13:13:58 +0100 (Thu, 31 Jan 2008) | 1 line

Fix: Compiling should work on SOLARIS again.
------------------------------------------------------------------------
r13495 | aligorith | 2008-01-31 11:43:21 +0100 (Thu, 31 Jan 2008) | 3 lines

Bugfix for Join Armatures:

When Join Armatures was called from the menu (Object -> Join Objects) problems were being cause by the use of BASEACT, causing some armatures to disappear and not be joined.
------------------------------------------------------------------------
r13494 | aligorith | 2008-01-31 10:59:05 +0100 (Thu, 31 Jan 2008) | 5 lines

== Bone Groups - Outliner Support ==

Bone groups are now drawn in the Outliner. The active group can be set from there, and groups can be renamed. 

(Hah... that was easy)
------------------------------------------------------------------------
r13493 | aligorith | 2008-01-31 10:36:59 +0100 (Thu, 31 Jan 2008) | 1 line

Forgot to commit changes in header for previous Action Editor commit
------------------------------------------------------------------------
r13492 | aligorith | 2008-01-31 07:21:33 +0100 (Thu, 31 Jan 2008) | 3 lines

Action Editor Bugfix:

Constraint Channels now have editable keyframes again. In the process, I've tweaked the Action Editor filtering logic a bit, so some regressions with other tools may have been caused.
------------------------------------------------------------------------
r13490 | aligorith | 2008-01-31 02:49:15 +0100 (Thu, 31 Jan 2008) | 3 lines

Bugfix #8070: blender crash when assigning driver to bone constraint

When there were no keyframes for a constraint on a bone, trying to add a driver to the influence curve would fail, as a new curve would be added the some mysterious place. The cause was a missing case, as the code assumed that no user would try to add from IPO-Editor in such a way.
------------------------------------------------------------------------
r13489 | genscher | 2008-01-30 23:00:12 +0100 (Wed, 30 Jan 2008) | 1 line

Cloth bugfix: enable stiffness scaling again even if cloth is not pinned
------------------------------------------------------------------------
r13488 | ton | 2008-01-30 22:14:36 +0100 (Wed, 30 Jan 2008) | 11 lines

Fixes in reading back rendered temp files ("Save buffers" and "FSA" options).

Press Rkey in compositor for reading back render results and invoke a compo.
This now correctly reads AO (skipped it sometimes) and it makes a correct
composite.

FSA todo:
- hotkey + button for reading all samples back + composite
- solve black border around image


------------------------------------------------------------------------
r13487 | elubie | 2008-01-30 21:19:40 +0100 (Wed, 30 Jan 2008) | 3 lines

== MSVC 7.1 projectfiles ==
- added missing files from cloth sim

------------------------------------------------------------------------
r13485 | ton | 2008-01-30 19:18:33 +0100 (Wed, 30 Jan 2008) | 5 lines

Speedup of filereading: when using large libraries (referenced data from
other blend files) lookups of data slowed down tremendously.
Added another bsearch for speedup. Makes a difference here (200+ MB files)!


------------------------------------------------------------------------
r13484 | harkyman | 2008-01-30 18:58:13 +0100 (Wed, 30 Jan 2008) | 3 lines

Small outliner enhancement: With items selected in the outliner, pressing the V, S or R key will toggle, respectively, the Visibility, Selectability or Renderability locks. Note that this functions independently of what is selected in the SCENE -- this is based on the RMB selection in the outliner. The options are also available from the RMB popup menu.

There are enough items in that popup now that this space should probably have its own header with a menu.
------------------------------------------------------------------------
r13483 | campbellbarton | 2008-01-30 17:25:50 +0100 (Wed, 30 Jan 2008) | 3 lines

some mistakes, also forgot to mention, this script can run from the command line and will print out the star,end,scene
otherwise if its imported it will just have the function read_blend_rend_chunk(path) which returns a list of [(start,end,scene),...]

------------------------------------------------------------------------
r13482 | campbellbarton | 2008-01-30 17:16:38 +0100 (Wed, 30 Jan 2008) | 5 lines

Standalone reads a list of scene, start frame, end frame from blend files without having to load them in blender.
Scenes must be tagged to render, (old render daemon button) but selecting scenes in the data browser (shoft+f4) sets this also.

Using this script to generate jobs for the renderfarm much faster then loading blender.

------------------------------------------------------------------------
r13481 | schlaile | 2008-01-30 16:53:13 +0100 (Wed, 30 Jan 2008) | 5 lines

== Sequencer ==

Show input geometry also on MOVIE and SCENE-strips.


------------------------------------------------------------------------
r13480 | schlaile | 2008-01-30 16:41:02 +0100 (Wed, 30 Jan 2008) | 23 lines

== Sequencer / Imbuf ==

Added a faster linear interpolation scaler to IMB_scaleImBuf.
Only handles common cases when we either

enlarge both, width and height or
shrink  both, width and height

but that is pretty fast:
* does only blit once instead of two passes like the old code
  (fewer cache misses)
* uses fixed point integer arithmetic for byte buffers
* doesn't branch in tight loops
  Should be comparable in speed to the ImBuf ..._fast functions at least 
  for byte-buffers.

For the rather seldom situations that e.g. width is enlarged and height 
is shrunken, the old code is still in use.

-------
Also small fix in sequencer: free float buffers on read now.


------------------------------------------------------------------------
r13479 | blendix | 2008-01-30 16:28:31 +0100 (Wed, 30 Jan 2008) | 5 lines


Further fix for bug #8124: now depsgraph relation was added correct,
but depsgraph didn't get updated immediately yet.


------------------------------------------------------------------------
r13478 | blendix | 2008-01-30 15:25:36 +0100 (Wed, 30 Jan 2008) | 5 lines


Bugfix for recent commit in strands, accidentally included code that
wasn't working yet, this should fix it.


------------------------------------------------------------------------
r13477 | ton | 2008-01-30 15:10:37 +0100 (Wed, 30 Jan 2008) | 7 lines

Two small fixes for FSA render:

- better warning for exr tiles not being equally sized (compositor scenes)
- better check for which exr temp files should be read during merging



------------------------------------------------------------------------
r13476 | genscher | 2008-01-30 15:01:05 +0100 (Wed, 30 Jan 2008) | 1 line

New: Collision Modifier and Cloth can be at any position on the modifier stack. BUT everytime the vertices count change, they will free themselves and internal build new (they rely on vertex count). Should be no problem anymore with e.g. subsurf modifier before collision modifier (tested). Fix: applied a patch from schlaile to get my bullet additions compiled with gcc 3.3
------------------------------------------------------------------------
r13475 | blendix | 2008-01-30 14:44:25 +0100 (Wed, 30 Jan 2008) | 4 lines


Fix for bug #8191: FSA + SSS didn't work.


------------------------------------------------------------------------
r13474 | blendix | 2008-01-30 14:35:28 +0100 (Wed, 30 Jan 2008) | 5 lines


- Bugfix for ztransp not being filled into the z-pass after FSA changes.
- Bugfix for speedvectors being not properly set for some strands.


------------------------------------------------------------------------
r13473 | aligorith | 2008-01-30 12:09:18 +0100 (Wed, 30 Jan 2008) | 2 lines

* Bone Groups - changed some of the options in the Ctrl-G menu so that it is more useful
* Tweaked one of the colours in the colour sets so that it is less similar to a colour in another set representing another state.
------------------------------------------------------------------------
r13472 | aligorith | 2008-01-30 11:43:44 +0100 (Wed, 30 Jan 2008) | 3 lines

Bugfix for Action Editor Optimisations:

Horizontal keyframe filtering is now optional per editor (off by default). This option may be removed in future, but currently it's there so that users can use it at their own risk. Apparently this has been causing people grief.
------------------------------------------------------------------------
r13471 | schlaile | 2008-01-30 11:27:16 +0100 (Wed, 30 Jan 2008) | 5 lines

== Sequencer ==

Fix blend opacity of old files, so that strips do not silently disappear.


------------------------------------------------------------------------
r13470 | aligorith | 2008-01-30 10:29:40 +0100 (Wed, 30 Jan 2008) | 3 lines

PyConstraint Bugfix:

Uncommented armature weakrefs stuff for PyConstraints. This should fix some erratic error messages a user found with these a few months ago.
------------------------------------------------------------------------
r13469 | aligorith | 2008-01-30 09:31:07 +0100 (Wed, 30 Jan 2008) | 1 line

Made the line between the start and end of IK-chains for bones display regardless of whether 'Relationship Lines' has been enabled for the view, if the IK-chain was temporarily added for Auto-IK. This is so that it is possible to see the length of Auto-IK chains.
------------------------------------------------------------------------
r13468 | aligorith | 2008-01-30 09:10:47 +0100 (Wed, 30 Jan 2008) | 6 lines

== Custom Bone Shape Drawing - 'Wireframe' Option ==

In production rigs, such as those for Peach and Plumiferos, custom bone shapes are often simple wireframe shapes (formed with a single line). These are only visible when the armature's drawtype is Wire, which means that this drawtype must be used for the display of those bones. On the other hand, 'normal' bones must also be drawn as wireframes.

I've added a small toggle beside the field for the name of the object to use. This is marked 'W' (this is not great, but it'll have to do for now). 
When activated, that bone's custom bone shape will always draw as a wireframe. As a result, the armature's drawtype doesn't have to be set to 'Wire' to see these bones. 
------------------------------------------------------------------------
r13467 | aligorith | 2008-01-30 06:38:55 +0100 (Wed, 30 Jan 2008) | 1 line

Added a few more bone colour sets
------------------------------------------------------------------------
r13466 | nicholasbishop | 2008-01-30 04:40:28 +0100 (Wed, 30 Jan 2008) | 5 lines

== Sculpt ==

Replace a 'magic number' used in several places with a proper constant


------------------------------------------------------------------------
r13465 | genscher | 2008-01-30 03:05:37 +0100 (Wed, 30 Jan 2008) | 1 line

Cloth: Bugfix: 1. Kicking esc again, 2. Collision modifier needed to be updated when going backward in time, 3. GUI change when no bullet there
------------------------------------------------------------------------
r13464 | genscher | 2008-01-30 00:17:11 +0100 (Wed, 30 Jan 2008) | 1 line

Sorry about this, still new here :) --> reverting CMake to standard
------------------------------------------------------------------------
r13463 | genscher | 2008-01-30 00:13:31 +0100 (Wed, 30 Jan 2008) | 1 line

makes bullet independant from gameengine for cmake, introduces esc-key during sim, disables collisions when no bullet there
------------------------------------------------------------------------
r13462 | aligorith | 2008-01-29 23:51:23 +0100 (Tue, 29 Jan 2008) | 3 lines

== Custom Bone Colours - Default Sets ==

Added 12 default color-sets for custom bone colours. There's a temporary button in the theme-buttons for generating the code for these, which should probably be removed once this is done. More colours to come soon...
------------------------------------------------------------------------
r13461 | genscher | 2008-01-29 22:07:50 +0100 (Tue, 29 Jan 2008) | 1 line

Nobody is perfect, I forgot 2 files :)
------------------------------------------------------------------------
r13460 | genscher | 2008-01-29 22:01:12 +0100 (Tue, 29 Jan 2008) | 1 line

Initial commit of cloth modifier from branch rev 13453
------------------------------------------------------------------------
r13459 | blendix | 2008-01-29 21:53:19 +0100 (Tue, 29 Jan 2008) | 6 lines


Bug #8178: in particle edit mode, select linked under the mouse should
only work with L-key, not ctrl+L, makes it seems as if ctrl+L type
selected linked is not working correct, while it is just not implemented.


------------------------------------------------------------------------
r13458 | blendix | 2008-01-29 20:49:03 +0100 (Tue, 29 Jan 2008) | 6 lines


Fix for bug #7965:
Array modifier could generate edges with twice the same vertex, fix
provided by Ken, thanks.


------------------------------------------------------------------------
r13457 | campbellbarton | 2008-01-29 20:25:10 +0100 (Tue, 29 Jan 2008) | 2 lines

oops, left in a line I shouldnt have

------------------------------------------------------------------------
r13456 | blendix | 2008-01-29 20:19:21 +0100 (Tue, 29 Jan 2008) | 5 lines


Fix for bug #8029: heat weighting clamps values below a threshold,
which could give discontinuities, now it does a blend instead.


------------------------------------------------------------------------
r13455 | campbellbarton | 2008-01-29 19:47:40 +0100 (Tue, 29 Jan 2008) | 2 lines

added a note for scons openexr compiling, because I had some trouble using our own exr build and had to work out whats goin on.

------------------------------------------------------------------------
r13454 | blendix | 2008-01-29 19:29:14 +0100 (Tue, 29 Jan 2008) | 6 lines


Fix for bug #8124: dupli particles were not rendering in some cases,
now added dependencies so they are passed to the render engine in
the right order to detect the duplis.


------------------------------------------------------------------------
r13451 | schlaile | 2008-01-29 13:26:42 +0100 (Tue, 29 Jan 2008) | 16 lines

== Sequencer ==

This fixes several crashes with the new tstripdata_start/endstill.
dupli_seq was cleaned up as well as add_scene_strip (moved to a 
seperate function)

New features: 
* opacity can be used in replace blend mode
* the scene within in a scene track can be changed now within the panel

Also:
* [#7842] Note: setCodec in FormatTab disappeared...
  should be fixed by this. (Not a big change, so I just commit and see :)
  http://peter.schlaile.de/blender/sequencer/codec_buttons.diff


------------------------------------------------------------------------
r13450 | blendix | 2008-01-29 13:20:42 +0100 (Tue, 29 Jan 2008) | 10 lines


Bounding box clipping in the render engine.

Now bounding boxes are computed per object, and checked first before
zbuffering objects. For strands, bounding boxes are computed per
original face in the mesh. Overall the speed improvement from this 
is quite small (zbuffering is rarely the bottleneck), but it seems a
sensible thing to do anyway.


------------------------------------------------------------------------
r13449 | aligorith | 2008-01-29 10:51:29 +0100 (Tue, 29 Jan 2008) | 3 lines

== PoseLib - Tab Key in Pose-Preview ==

Now when previewing poses with Ctrl-L, pressing the Tab key toggles whether the 'original' (i.e. the pose before previewing started) pose gets shown temporarily. This allows the user to quickly compare the pose being previewed to the 'original'. No pose browsing is possible while the original pose is shown.
------------------------------------------------------------------------
r13448 | blendix | 2008-01-29 10:44:26 +0100 (Tue, 29 Jan 2008) | 6 lines


Bugfix: quaternion angle calculation in python used the acos function.
This gives nan if the input is e.g. 1.00000001 due to rounding errors,
better is to use saacos (safe acos) that checks for the range first.


------------------------------------------------------------------------
r13447 | aligorith | 2008-01-29 09:57:41 +0100 (Tue, 29 Jan 2008) | 3 lines

Bugfix for Action Editor keys clipping: 

Keyframes in the NLA Editor could mysteriously disappear sometimes when manipulating the view in the NLA-editor, when an Action Editor was open beside it.
------------------------------------------------------------------------
r13446 | theeth | 2008-01-29 03:38:26 +0100 (Tue, 29 Jan 2008) | 5 lines

=== Mirror Tool ===

Fix calls to new mirror in UV window (it would segfault with invalid arguments).

Reported by Matt in the tracker (#8176)
------------------------------------------------------------------------
r13444 | aligorith | 2008-01-29 01:12:34 +0100 (Tue, 29 Jan 2008) | 1 line

Added menu entries to 3d-view for the auto-bone-extension tools I added yesterday.
------------------------------------------------------------------------
r13443 | blendix | 2008-01-28 23:43:16 +0100 (Mon, 28 Jan 2008) | 5 lines


- Fix for adding rendering passes. It seems the result was multiplied
  by alpha twice, which gave dark edges on an grass AO pass for example.


------------------------------------------------------------------------
r13442 | blendix | 2008-01-28 23:34:14 +0100 (Mon, 28 Jan 2008) | 5 lines


- Fix for approximate AO pixel cache crash.
- Fix in FSA pass sample adding (more fixes to come).


------------------------------------------------------------------------
r13441 | blendix | 2008-01-28 22:28:32 +0100 (Mon, 28 Jan 2008) | 6 lines


Handle OpenEXR exception and print it, for writeTile. It's sometimes
crashing there now with FSA, if it crashes again this should give
more info.


------------------------------------------------------------------------
r13440 | schlaile | 2008-01-28 22:24:08 +0100 (Mon, 28 Jan 2008) | 14 lines

== Sequencer ==

Fixed two issues with the sequencer:
* using blend modes with startstill / endstill in combination with IPOs
  failed, since there was no room to store the composited result. 
  (It was stored into the same TStripElem thereby effectively disabling the
  effect of the IPO)
  If you have no idea, what this is all about:
  A common case was: use a single PNG as a title, extrude and try to fade 
  in / out using IPOs. 
* startstill / endstill are always displayed, so that one can change them
  also on movie-strips and scene-strips.


------------------------------------------------------------------------
r13439 | campbellbarton | 2008-01-28 21:45:28 +0100 (Mon, 28 Jan 2008) | 2 lines

object in dupli instances were not getting modifiers applied with render settings

------------------------------------------------------------------------
r13438 | blendix | 2008-01-28 18:40:48 +0100 (Mon, 28 Jan 2008) | 5 lines


Bugfix for last commit, object index pass for strands did not
work correct.


------------------------------------------------------------------------
r13437 | blendix | 2008-01-28 17:54:52 +0100 (Mon, 28 Jan 2008) | 9 lines


Strands now mix together correctly with ZTransp.

They now also store a list of samples per pixel, and then get
shaded together with the ztransp samples. This comes with a
slight speed hit, but mainly memory might be a concern. However,
testing some peach scenes I haven't problems.


------------------------------------------------------------------------
r13436 | ton | 2008-01-28 17:33:59 +0100 (Mon, 28 Jan 2008) | 17 lines

New rendering option: FSA!

This completes the pipeline make-over, as started in 2006. With this
option, during rendering, each sample for every layer and pass is being
saved on disk (looks like non-antialiased images). Then the composite 
and color correction happens, then a clip to 0-1 range, and only in end 
all samples get combined - using sampling filters such as gauss/mitch/catmul.

This results in artefact-free antialiased images. Even Z-combine or
ID masks now work perfect for it! 

This is an unfinished commit btw; Brecht will finish this for strands.
Also Halo doesnt work yet.

To activate FSA: press "Save Buffers" and the new button next to it. :)


------------------------------------------------------------------------
r13435 | aligorith | 2008-01-28 12:38:12 +0100 (Mon, 28 Jan 2008) | 6 lines

== Action Editor - Overlapping Keyframes Bugfix ==

Now when moving keyframes in the Action Editor, any existing keyframes on the frames where a selected keyframe lands (after the transform) will be removed. This is to prevent stacks of keyframes which cause blips and headaches for animators (especially stressed animators with a looming deadline).

I've added an option to the Action Editor's View menu to turn this behaviour on/off (by default, it's on). This shouldn't need to be used too much, and may be removed in due course. If it stays, it'll need a better name...

------------------------------------------------------------------------
r13434 | campbellbarton | 2008-01-28 11:56:42 +0100 (Mon, 28 Jan 2008) | 2 lines

tooltips for some dual toggle buttons as well as tooltips from wim van hoydonck ([#8166] [python-scripts] fix for tooltips of torus primitive + newline)

------------------------------------------------------------------------
r13433 | bjornmose | 2008-01-28 10:39:55 +0100 (Mon, 28 Jan 2008) | 2 lines

fixing typo in tool tips

------------------------------------------------------------------------
r13432 | khughes | 2008-01-28 06:20:42 +0100 (Mon, 28 Jan 2008) | 3 lines

Fix syntax error in earlier commit.


------------------------------------------------------------------------
r13430 | theeth | 2008-01-28 02:15:21 +0100 (Mon, 28 Jan 2008) | 3 lines

=== Custom Orientations ===

Change selection icon in the panel to the more appropriate Checkbox icon.
------------------------------------------------------------------------
r13429 | theeth | 2008-01-28 02:02:38 +0100 (Mon, 28 Jan 2008) | 1 line

typo in text
------------------------------------------------------------------------
r13428 | aligorith | 2008-01-28 01:53:54 +0100 (Mon, 28 Jan 2008) | 10 lines

== Automatic Bone Extension Adder ==

Added three new tools to the WKEY menu for Armatures in EditMode/PoseMode. These add .* extensions to the names of selected bones based on their position in 3d-space on the axis considered by that tool.

The current naming schemes are based upon the extensions I normally apply. Some people may have slightly different preferences though.

There is one for:
* Left-Right names (along x-axis)
* Front-Back names (along y-axis)
* Top-Bottom names (along z-axis)
------------------------------------------------------------------------
r13427 | campbellbarton | 2008-01-28 01:07:59 +0100 (Mon, 28 Jan 2008) | 2 lines

some bugs with previous renderlayer api

------------------------------------------------------------------------
r13426 | campbellbarton | 2008-01-28 01:05:15 +0100 (Mon, 28 Jan 2008) | 2 lines

script to save renderlayers to a file so you can load them in other blend's - useful when applying settings in a pipeline (andy tells me ;) )

------------------------------------------------------------------------
r13425 | campbellbarton | 2008-01-27 23:22:41 +0100 (Sun, 27 Jan 2008) | 2 lines

renderLayer access for the render api, no epydocs yet

------------------------------------------------------------------------
r13424 | theeth | 2008-01-27 20:26:17 +0100 (Sun, 27 Jan 2008) | 4 lines

=== Custom Transform Orientation ===

Adding the possibility to use 2 or 3 vertice to define an edge or face-like orientation.
Adding the possibility to use 2 connected edges to define a face-like orientation.
------------------------------------------------------------------------
r13423 | theeth | 2008-01-27 18:24:03 +0100 (Sun, 27 Jan 2008) | 1 line

Cursor to Active, adding missing redraw call.
------------------------------------------------------------------------
r13422 | theeth | 2008-01-27 17:43:51 +0100 (Sun, 27 Jan 2008) | 5 lines

=== Snap Menu ===

New Cursor-> Active option

Useful on Edit Mesh too!
------------------------------------------------------------------------
r13421 | aligorith | 2008-01-27 11:34:35 +0100 (Sun, 27 Jan 2008) | 3 lines

VertexGroup Editing:

Added a new option to the "Vertex Groups" menu: "Remove Selected from All Groups". This menu can be accessed using Ctrl-G in EditMode for Meshes and Lattices.
------------------------------------------------------------------------
r13420 | aligorith | 2008-01-27 10:39:26 +0100 (Sun, 27 Jan 2008) | 3 lines

Bugfix:

Previous changes for Constraint Up/Down buttons broke the drawing of some constraints. It seems the lack of any buttons within an pair of uiBeginBlockAlign() and uiEndBlockAlign() caused problems.
------------------------------------------------------------------------
r13419 | aligorith | 2008-01-27 07:08:43 +0100 (Sun, 27 Jan 2008) | 3 lines

Bugfix:

Line-bones without any constraints-colours/custom-colours were being drawn the wrong colour (i.e.  they insides were drawn black)
------------------------------------------------------------------------
r13418 | aligorith | 2008-01-27 04:21:24 +0100 (Sun, 27 Jan 2008) | 6 lines

== Action Editor Drawing - Optimisations (Part 2 out of ?) ==

Keyframes are now checked for whether they are visible or not before they are prepared for drawing. This should provide some improvements for large data-sets... 

In general there don't appear to be any major issues, although in a few situations, long-keyframes may end up appearing/disappearing. 

------------------------------------------------------------------------
r13417 | campbellbarton | 2008-01-26 23:39:07 +0100 (Sat, 26 Jan 2008) | 2 lines

particle draw was doing glEnable(GL_DEPTH_TEST) which messed up the wire view, if this is needed for some particle drawing it needs to test the 3dview state.

------------------------------------------------------------------------
r13415 | campbellbarton | 2008-01-26 21:50:34 +0100 (Sat, 26 Jan 2008) | 2 lines

mistake in last commit

------------------------------------------------------------------------
r13414 | campbellbarton | 2008-01-26 21:36:14 +0100 (Sat, 26 Jan 2008) | 2 lines

solaris was crashing on file open because of statfs, aparently linux-standards-base and solaris have depricated statfs so probably all unix os's should use statvfs. for now only solaris does.

------------------------------------------------------------------------
r13413 | bjornmose | 2008-01-26 20:54:25 +0100 (Sat, 26 Jan 2008) | 4 lines

feature request-(PapaSmurf)
tiny little little thing 
allow negative gravity on input
for hot air balloons or under water plants
------------------------------------------------------------------------
r13412 | campbellbarton | 2008-01-26 18:05:38 +0100 (Sat, 26 Jan 2008) | 2 lines

render touch didnt work when the directory wasnt there.

------------------------------------------------------------------------
r13411 | campbellbarton | 2008-01-26 16:38:06 +0100 (Sat, 26 Jan 2008) | 2 lines

added function to get the full path for a rendered frame (before its rendered)

------------------------------------------------------------------------
r13410 | aligorith | 2008-01-26 12:29:44 +0100 (Sat, 26 Jan 2008) | 3 lines

== Action Editor Drawing - Optimisations (Part 1 out of ?) ==

Now the Action Editor doesn't bother drawing channels which are out of view. This should give some performance improvements when there are many channels with heaps of keyframes, as the keyframes that occur in that channel don't need to be sampled (which is a major performance bottleneck).
------------------------------------------------------------------------
r13409 | ton | 2008-01-26 11:58:31 +0100 (Sat, 26 Jan 2008) | 13 lines

Improvements in Zmask feature of yesterday:

- zmask now allows to have solid faces included too
- ctrl+click on render-layer layers (whats in a name!) now works better

Here's the revised and extended doc:

http://www.blender.org/development/current-projects/changes-since-244/rendering-features/

It's a difficult to explain feature... but important for a good compo pipeline
here. Being tested still!


------------------------------------------------------------------------
r13408 | aligorith | 2008-01-26 11:55:24 +0100 (Sat, 26 Jan 2008) | 3 lines

Bugfix #8155:

Selecting markers in the sequencer crashed Blender
------------------------------------------------------------------------
r13407 | hos | 2008-01-26 00:21:22 +0100 (Sat, 26 Jan 2008) | 13 lines

== Mirror Modifier & Subdivide ==

Vertices that are newly created by a subdivision of a mesh object
with mirror modifiers (with clipping option set) are projected to
the plane of symmetry when they are created on edges that lie on
that plane.

For regular subdivide this is trivial by linearity, so this mainly
effects subdivide smooth, loopcut smooth, and subdivide fractal.
This commit basically prevents nasty seam rips on the mirror when
doing these operations.


------------------------------------------------------------------------
r13405 | campbellbarton | 2008-01-25 21:44:36 +0100 (Fri, 25 Jan 2008) | 2 lines

sorry about this, 3rd commit to fix this small error.

------------------------------------------------------------------------
r13403 | ton | 2008-01-25 16:31:43 +0100 (Fri, 25 Jan 2008) | 10 lines

New feature: Zmask rendering

It's quite a complex feature for simple log, so here's the log as
it should be, with images:

http://www.blender.org/development/current-projects/changes-since-244/rendering-features/




------------------------------------------------------------------------
r13402 | ton | 2008-01-25 16:06:35 +0100 (Fri, 25 Jan 2008) | 7 lines

Feature: we're using "non linear lighting" now, using exposure/range in
world. That allows more extreme lamps (areas too). 

To make it work more intuitive, the preview renders in buttons now use
the settings for exposure too.


------------------------------------------------------------------------
r13401 | aligorith | 2008-01-25 12:27:38 +0100 (Fri, 25 Jan 2008) | 4 lines

Two bugfixes:
* Buttons to change position of constraints in constraint stack are now totally hidden if they don't do anything valid. It'll have to be this way until we get grey-able buttons.

* Duplicating keyframes in Action Editor now sets correct undo-string 
------------------------------------------------------------------------
r13400 | aligorith | 2008-01-25 12:23:36 +0100 (Fri, 25 Jan 2008) | 12 lines

== Limit Distance Constraint ==

Added a new constraint, "Limit Distance". This constraint defines a 'virtual sphere' around the target which the owner can be made to stay inside, outside, or on the surface of it. 

This constraint is best used when applied using the Ctrl-Alt-C hotkey, as the radius is set correctly that way. 
One usage, is to prevent the target of an IK-chain from straying away from the chain. Care should be taken to not use a member of the IK-chain as the target though.

Description of Variables:
* 'Dist' - Radius of virtual sphere
* 'R' - Click on this to recalculate the 'Dist' value (note: like the 'R' button in the StretchTo constraint, this is currently buggy)
' Mode' - This menu gives different options for how the limiting sphere should act. The mode names are self explanatory.
* 'Soft' and 'SoftDistance' - currently not functional (so settings are hidden). These are used to define a smaller radius around the sphere of influence where a non-linear relationship between input and resulting locations occurs to prevent the owner 'crashing' into the sphere.
------------------------------------------------------------------------
r13397 | theeth | 2008-01-25 05:38:08 +0100 (Fri, 25 Jan 2008) | 7 lines

=== Mirror Tool ===

Fix call order mix up.

That's what I get for doing "cleanup" before a commit.

Tested as working ok with this.
------------------------------------------------------------------------
r13396 | nicholasbishop | 2008-01-25 05:17:38 +0100 (Fri, 25 Jan 2008) | 5 lines

== Sculpt ==

Cleaned up some old parts of sculpt. Got rid of the old EditData struct in favor of two new "brush action" structures, which split the symmetry data out from everything else. Cleaned up various names and such as well. There should be no user-visible changes.


------------------------------------------------------------------------
r13395 | bjornmose | 2008-01-25 00:27:16 +0100 (Fri, 25 Jan 2008) | 11 lines

made correct physics visible on solver panel
i did not like the accusation blenders soft body module is too bad coded to not respect law of energy conservation.  
well .. animators most of the times don't care if there was a theoretical physics law .. they want to get things done 
hum i think 
on the other hand it is for sure raising confidence to the soft body module when simple physical rules can be verified
so i won't 'turn a hand' on either approach
IMHO the inaccurate soft approach serves best to animators 
anyhow 
you have both so you can decide devil or Beelzebub
have fun BM

------------------------------------------------------------------------
r13394 | campbellbarton | 2008-01-25 00:23:34 +0100 (Fri, 25 Jan 2008) | 4 lines

added a function to the outliner for groups - "Link Group Objects to Scene"
in some cases 
removed some globals from the 

------------------------------------------------------------------------
r13393 | campbellbarton | 2008-01-24 23:43:42 +0100 (Thu, 24 Jan 2008) | 2 lines

minor fix

------------------------------------------------------------------------
r13392 | campbellbarton | 2008-01-24 22:32:36 +0100 (Thu, 24 Jan 2008) | 2 lines

Select linked particles (Shift+L)

------------------------------------------------------------------------
r13391 | campbellbarton | 2008-01-24 21:53:12 +0100 (Thu, 24 Jan 2008) | 2 lines

oops, left in testing lines

------------------------------------------------------------------------
r13390 | campbellbarton | 2008-01-24 21:31:11 +0100 (Thu, 24 Jan 2008) | 2 lines

fix for lightwave object loader

------------------------------------------------------------------------
r13389 | theeth | 2008-01-24 21:11:54 +0100 (Thu, 24 Jan 2008) | 9 lines

=== Mirror Tool ===

Making the mirror tool axis selection interactive instead of using a popmenu.

Mirror is now just a constant -1 scaling transform, which enables you to choose the mirror axis through hotkeys (x,y,z) and with MMB. It also means it's easier to select the correct axis if you're not sure which is which and gives access to all the orientation supported in transform (including custom user orientations).

Mesh and Object header menus still have the individual axis as options but have an added "Interactive Mirror" which just enters transform and lets user pick the axis there. Ctrl-M enters "Interactive Mirror" too.

In a nutshell, this changes adds more possible mirroring axis and unifies the mirror axis selection process with transform constraint axis selection.
------------------------------------------------------------------------
r13388 | blendix | 2008-01-24 16:41:21 +0100 (Thu, 24 Jan 2008) | 7 lines


Fixes for SSS with render layers. Now in the preprocessing pass
it uses flags from all render layers added together, not fully
correct yet, but it's not so easy to separate passes cleanly with
SSS.


------------------------------------------------------------------------
r13387 | ton | 2008-01-24 16:03:34 +0100 (Thu, 24 Jan 2008) | 14 lines

Phase one of better masking support while rendering.

Problem: artist wants character to walk in grass, but still have all rendered
in seperate render-layers, for postpro effects and vblur. How to efficiently
create a mask image you can put *over* the character for the grass?

Solution has two parts; this commits allows any layer inside of the renderlayers
to become a Z-mask (Z values for solid gets filled in, but not rendered).

Second part of commit is render option "Only render stuff that's in front of
a zbuffer value that was filled in (saves render time)



------------------------------------------------------------------------
r13386 | blendix | 2008-01-24 15:16:52 +0100 (Thu, 24 Jan 2008) | 5 lines


Added an "effector" vertex group for hair, that defines how much
influence effectors have.


------------------------------------------------------------------------
r13385 | ton | 2008-01-24 14:43:12 +0100 (Thu, 24 Jan 2008) | 5 lines

Composite fix: the RenderLayer node option "rerender only this layer" did
not invoke a re-composite signal to the right window. Looked like as if the
re-render had no effect.


------------------------------------------------------------------------
r13384 | blendix | 2008-01-24 14:11:15 +0100 (Thu, 24 Jan 2008) | 8 lines


Fix for strand render + simplification + vector blur. With the number
of strands changing between frames, vector blur couldn't work. Now
speed vectors are interpolated from the surface. This also means
child particles don't have to be computed in the previous and next
frames, so saves time too.


------------------------------------------------------------------------
r13382 | jhk | 2008-01-24 11:44:21 +0100 (Thu, 24 Jan 2008) | 1 line

Particle instance modifier works again in path mode. There's still some work to do with rotations and twisting though.
------------------------------------------------------------------------
r13380 | jesterking | 2008-01-24 08:25:02 +0100 (Thu, 24 Jan 2008) | 1 line

* copy python25_d.dll when building BF_DEBUG=1
------------------------------------------------------------------------
r13378 | bjornmose | 2008-01-24 01:51:48 +0100 (Thu, 24 Jan 2008) | 8 lines

part 2 of n in the process 
to make the soft body UI consistent/understandable
that is ->
split material properties from solver settings 
this part deals with solver settings



------------------------------------------------------------------------
r13377 | aligorith | 2008-01-24 01:03:16 +0100 (Thu, 24 Jan 2008) | 3 lines

* Made the "mini axis" draw with lines proportional to it's size. Currently, the thick lines are a bit too thick at larger sizes, but it's better than having slower viewports.

* Fixed bug with IPO-transform. When "Switch Mouse Buttons" is on, click-drag transforms of keys didn't work.
------------------------------------------------------------------------
r13376 | blendix | 2008-01-23 23:46:09 +0100 (Wed, 23 Jan 2008) | 6 lines


Changed the way falloff for fields works, was hard to control well.
Specifically with maxdist set, the falloff is now from 1.0 to 0.0 at
the maxdist, so that there isn't a sudden discontinuity.


------------------------------------------------------------------------
r13375 | blendix | 2008-01-23 21:54:44 +0100 (Wed, 23 Jan 2008) | 4 lines


Bugfix to filter strands with solid correctly.


------------------------------------------------------------------------
r13373 | sirdude | 2008-01-23 16:51:25 +0100 (Wed, 23 Jan 2008) | 4 lines

Fixed small typo...  This is [#8138] Tiny typo

Kent

------------------------------------------------------------------------
r13371 | ton | 2008-01-23 16:06:44 +0100 (Wed, 23 Jan 2008) | 12 lines

Tiny fix in UI for editing actions/ipos:

Each Ipo block (actions, objects, etc) stores the last view
of the ipo window. Nice for selecting objects/bones and then getting
the previous view back.

When you use option "Lock time to other windows", this option is very
annoying; the action window then shifts all channels around, almost as
if this is a bug.



------------------------------------------------------------------------
r13370 | blendix | 2008-01-23 15:30:55 +0100 (Wed, 23 Jan 2008) | 5 lines


Bugfix for strand pass adding with non-box filter, same bug as
existed in ztransp.


------------------------------------------------------------------------
r13369 | campbellbarton | 2008-01-23 15:15:34 +0100 (Wed, 23 Jan 2008) | 2 lines

openexr, touch and noOverwrite setting access from py api

------------------------------------------------------------------------
r13368 | blendix | 2008-01-23 14:35:51 +0100 (Wed, 23 Jan 2008) | 5 lines


Minor render memory usage optimization, removed layer and
radface from VlakRen, saves about 100mb for 10 million faces.


------------------------------------------------------------------------
r13366 | blendix | 2008-01-23 12:51:18 +0100 (Wed, 23 Jan 2008) | 4 lines


Bugfix in render instancing for missing leaves.


------------------------------------------------------------------------
r13365 | aligorith | 2008-01-23 11:54:10 +0100 (Wed, 23 Jan 2008) | 2 lines

Constraints GUI:
Up/Down buttons which are disabled are now always drawn, but those that are disabled (cannot be done) now have their 'button backgrounds' not drawn. Also, they won't do anything when clicked.
------------------------------------------------------------------------
r13364 | aligorith | 2008-01-23 11:14:45 +0100 (Wed, 23 Jan 2008) | 19 lines

== "Custom Bone Colors" ==

This commit introduces the ability to give groups of bones different colour-sets, which enables them to be more easily identified in the 3d-view. Currently, custom bone colours have been implemented as a way to visualise bone-group membership (after all, colours and groups are both just ways of managing bones).

Usage Notes:
* Each theme currently has 20 Color-Sets available for Bones. 
These can be accessed from the "Bone Color Sets" option under the Theme buttons. (Note: currently, I haven't defined any default colour-sets. Donations welcome on this ;-) ) As such, colour sets are not saved per file! You will need to save the theme to preserve the color set for the next session.
* Each Bone-Group can use any one of these 20 sets, or just use the default colour-set. 
Use the "GroupCol" button to set this. When a set has been chosen, three little rectangles are drawn beside the button to preview the colours the set provides.
* A bone must belong to a Bone-Group to get that group's colours.
* "Colors" toggle on "Armature" panel must be enabled for these custom-colours to be shown for all bones that can have them. 
This toggle is off by default, but is there to allow rigs to be debugged (by colours) for example.
* The "Use 'Constraint' Colouring" option (per Colour Set), determines whether the colours denoting presences of constraints, ik, or keyframes are drawn in conjunction with the custom colours. It is off by default, as in many combinations, they look quite ugly when used in conjunction with custom colours.
* Custom colours are only shown in PoseMode

Assorted Notes:
* I've tested this thoroughly, and there shouldn't be any problems caused by this. 
* In the process, I found a bug with envelope bone drawmode. In wire-frame mode, all bones got scaled up by several types.
* I've cleaned up the armature drawing code a bit (mostly fixing messy white-space usage), but also creating a centralised method of setting colours for bones (currently only used for bones in PoseMode). 
------------------------------------------------------------------------
r13363 | bjornmose | 2008-01-23 01:04:59 +0100 (Wed, 23 Jan 2008) | 6 lines

soft body stuff
got really tired of users asking "why this on the XXX panel'
so i did try sort it out 
looks like UI is not my friend 
tsk

------------------------------------------------------------------------
r13362 | aligorith | 2008-01-23 00:24:55 +0100 (Wed, 23 Jan 2008) | 3 lines

Bugfix:

Grouping ungrouped channels in the Action Editor was broken by the previous commit to prevent hidden channels from showing.
------------------------------------------------------------------------
r13360 | campbellbarton | 2008-01-22 23:01:49 +0100 (Tue, 22 Jan 2008) | 2 lines

fix for bug where that caused vector blur to crash but could also cause problems elsewhere.

------------------------------------------------------------------------
r13359 | blendix | 2008-01-22 21:59:45 +0100 (Tue, 22 Jan 2008) | 4 lines


Bugfix for crazyspace correction of childof constraint on bones.


------------------------------------------------------------------------
r13355 | nicholasbishop | 2008-01-22 20:46:47 +0100 (Tue, 22 Jan 2008) | 5 lines

Fixed bug #8128, Sculpt Mode crash with Smooth Stroke

Disabled smooth stroke when the grab brush is active


------------------------------------------------------------------------
r13354 | blendix | 2008-01-22 15:01:50 +0100 (Tue, 22 Jan 2008) | 4 lines


Bugfix for approximate AO to deal better with degenerate geometry.


------------------------------------------------------------------------
r13353 | blendix | 2008-01-22 13:10:59 +0100 (Tue, 22 Jan 2008) | 5 lines


Bugfix for another issue with last render instancing commit,
objects could get created multiple times.


------------------------------------------------------------------------
r13352 | broken | 2008-01-22 07:27:27 +0100 (Tue, 22 Jan 2008) | 3 lines

* Fix for bilateral blur node

The 'Determinator' input didn't work at all - there was some quite weird code in there. I think the patch review process could have been quite a bit better on this one.
------------------------------------------------------------------------
r13351 | khughes | 2008-01-22 06:45:09 +0100 (Tue, 22 Jan 2008) | 5 lines

Python API
----------
Correct error in LibData module documentation.


------------------------------------------------------------------------
r13350 | hos | 2008-01-22 06:34:53 +0100 (Tue, 22 Jan 2008) | 2 lines

Fixes for CMake.

------------------------------------------------------------------------
r13349 | hos | 2008-01-22 05:27:23 +0100 (Tue, 22 Jan 2008) | 5 lines

CMake isn't fully working yet, just correcting a simple typo.

I see BINRELOC is set as a configurable option -- does this mean
that it is optional on linux? (I thought it was required.)

------------------------------------------------------------------------
r13348 | aligorith | 2008-01-22 04:35:14 +0100 (Tue, 22 Jan 2008) | 2 lines

* Menus for Bone-Groups
* Added missing #include in poseobject.c 
------------------------------------------------------------------------
r13347 | aligorith | 2008-01-22 04:16:48 +0100 (Tue, 22 Jan 2008) | 10 lines

== Action/Bone Groups - Ctrl-G Hotkey + Bugfixes ==

New Stuff:
* When in PoseMode, the Ctrl-G hotkey now presents a menu with options for manipulating Bone Groups. There are options to add/remove all selected bones from a certain group. 
 TODO - add appropriate entries to menus

Bugfixes:
* Renaming Bone-Groups in the buttons panel could cause segfaults or memory corruption. Wrong maximum-length for button used here (it's far too easy to miss).

* In the Action Editor, (re)grouping channels didn't take into account whether a group was expanded or not. This meant that selected channels from inside a collapsed group got added to the new group too.
------------------------------------------------------------------------
r13346 | broken | 2008-01-22 02:54:23 +0100 (Tue, 22 Jan 2008) | 1 line

* Fix button alignment in vecblur node after the excellent recent commit. Also gave it a proper button instead of just 'C'.
------------------------------------------------------------------------
r13345 | campbellbarton | 2008-01-22 02:07:13 +0100 (Tue, 22 Jan 2008) | 2 lines

minor error in last commits

------------------------------------------------------------------------
r13344 | campbellbarton | 2008-01-22 01:56:35 +0100 (Tue, 22 Jan 2008) | 2 lines

outliner messed up shift+clicking on linked objects - would display their library path rather then selecting them. displaying library path could be useful but should add elsewhere.

------------------------------------------------------------------------
r13343 | campbellbarton | 2008-01-22 01:53:10 +0100 (Tue, 22 Jan 2008) | 3 lines

Script to set timeoffset of all selected objects using the animated path of an active object.
This means you can have 100's of objects animations run by animating an empty over them, (needs docs to explain really) ... Easy to setup and time a Mexican wave for instance ;)

------------------------------------------------------------------------
r13341 | blendix | 2008-01-22 00:17:19 +0100 (Tue, 22 Jan 2008) | 10 lines


Fix for error in approximate AO in last commit, made it really slow.
Also, duplis are now taking into account, the proper way to exclude
them is to set the material to be not traceable.

Removed an unnecessary pointer from the VlakRen struct to save some
memory, not really that significant, but still, saves 70 mb for 10
million faces.


------------------------------------------------------------------------
r13340 | hos | 2008-01-22 00:09:23 +0100 (Tue, 22 Jan 2008) | 3 lines

Needed to add another instance of openNL/SuperLU to the link line
so that the softbody code in blenlib could see it.

------------------------------------------------------------------------
r13339 | campbellbarton | 2008-01-22 00:06:23 +0100 (Tue, 22 Jan 2008) | 4 lines

Added view2d_getscale function for getting the opengl x/y scale for 2d windows.
Display/Edit TimeOffset accounting for its added parent offset.
removed Extension button by mistake.

------------------------------------------------------------------------
r13338 | elubie | 2008-01-21 23:29:57 +0100 (Mon, 21 Jan 2008) | 5 lines

== MSVC 7.1 projectfiles ==
- added missing files to projectfiles:
    - source/blender/render/intern/occlusion.c 
    - source/blender/src/radialcontrol.c

------------------------------------------------------------------------
r13337 | campbellbarton | 2008-01-21 23:10:20 +0100 (Mon, 21 Jan 2008) | 3 lines

added function BLI_filepathsize - so you dont have to open the file to get its size.
made render Touch function remove the touched file if the animation is canceled.

------------------------------------------------------------------------
r13336 | blendix | 2008-01-21 23:10:14 +0100 (Mon, 21 Jan 2008) | 5 lines


Render instancing can now also handle the same object in multiple,
non-animated dupligroups.


------------------------------------------------------------------------
r13334 | campbellbarton | 2008-01-21 19:09:05 +0100 (Mon, 21 Jan 2008) | 2 lines

Added object mode select random (use for changing the group instances of many objects to vary them without selecting manually - leaves/sticks etc)

------------------------------------------------------------------------
r13333 | ton | 2008-01-21 19:08:57 +0100 (Mon, 21 Jan 2008) | 11 lines

Vector Blur now has option to be curved!

Especially for fast moving objects (as we have here in Peach) the
art department demanded nice curved vector blur. This formula uses
a quadratic bezier function, which is not giving perfect circles, but
certainly useful results.

Also on todo: get this blur code to do nicer accumulation...



------------------------------------------------------------------------
r13332 | blendix | 2008-01-21 15:18:24 +0100 (Mon, 21 Jan 2008) | 7 lines


Fixes:
- Particle system distribution wasn't flushed properly for non-edited hair.
- For instances in the renderer, also count their verts and faces in the stats.
- Fix for error in the "surface diffuse" formula for strand shading.


------------------------------------------------------------------------
r13331 | aligorith | 2008-01-21 12:30:54 +0100 (Mon, 21 Jan 2008) | 1 line

Now, when rearranging channels in the Action Editor, Action-Channel's only get rearranged if no groups were moved (i.e. not groups were selected). This should be less annoying for users.
------------------------------------------------------------------------
r13330 | aligorith | 2008-01-21 12:26:24 +0100 (Mon, 21 Jan 2008) | 3 lines

== Action/Pose Groups - Keyframing Integration ==

Now, when inserting keyframes (either IKEY or AutoKeying), if an ActionChannel has been newly created, it will get assigned to an Action-Group with the same name as the Bone-Group that the bone it represents belongs to.
------------------------------------------------------------------------
r13325 | aligorith | 2008-01-21 08:54:31 +0100 (Mon, 21 Jan 2008) | 5 lines

== Limit Rotation Constraint - Affects Transform ==

Now, the Limit Rotation Constraint can be made to work on the Transform values like the Limit Location/Rotation constraints. Use the "For Transform" button to activate.

Note: this does not really work as well as for the other constraints, as it currently does conversions between eulers/quats and matrices. This results in loss of rotation data.
------------------------------------------------------------------------
r13322 | campbellbarton | 2008-01-21 01:41:29 +0100 (Mon, 21 Jan 2008) | 2 lines

selecting keyframes in the ipo view didn't work well when zoomed in far, use pixel width rather then frame with when giving deselected frames a bias

------------------------------------------------------------------------
r13321 | aligorith | 2008-01-21 01:41:29 +0100 (Mon, 21 Jan 2008) | 1 line

Added missing header (stddef.h)
------------------------------------------------------------------------
r13320 | aligorith | 2008-01-21 00:53:13 +0100 (Mon, 21 Jan 2008) | 13 lines

[Coder API's]: Added a "generic unique name-finding function". 

Basically, this is based on the behaviour of the unique_constraint_name (or equivilant) functions, which have traditionally been duplicated everytime a new datatype needed this.

Currently, this is in use for the following things:
* Constraints
* Action/Bone Groups
* Local Action Markers / PoseLib poses

Usage Notes:
* The file in which this is to be used should include the standard header file <stddef.h>. This defines the offsetof() macro, which should be used to find the relative location of the "name" member of the structs
* This function is only designed for names of up to 128 chars in length (Most names are at most 32. TimeMarkers are 64). If a longer string needs to be handled, the function will need to be modified accordingly. 
* defname is the default name that should be used in case one hasn't been specified already
------------------------------------------------------------------------
r13319 | campbellbarton | 2008-01-21 00:52:48 +0100 (Mon, 21 Jan 2008) | 2 lines

opengl stamp wasnt working right, stamp assumed an alpha channel existed.

------------------------------------------------------------------------
r13318 | theeth | 2008-01-20 23:43:48 +0100 (Sun, 20 Jan 2008) | 11 lines

=== Transform Snap ===

Snapping Mode: Active

With this mode, the active element (at this time, object or vertice) is used as snapping target. If there is no active element in the selection, it reverts back to median mode.


Edit Mode snapping, other meshes no longer have to be selected to act as snapping point.


Fix a potential bug with snapping point from other meshes.
------------------------------------------------------------------------
r13317 | bjornmose | 2008-01-20 23:01:51 +0100 (Sun, 20 Jan 2008) | 14 lines

hiding some softbody options i did hope to get working 
that is : good enough to pass PQC = personal qualitiy control
*sigh*
before peach freeze
some of them almost did .. 
but hey we want to give 'em peachers something to rely on
not a mushy "may be it works" 
so 'implicit solver' is gone for now 
and from what i read between the lines in various papers
the main problem is the Jacobian has negative 'eigenvalues'
yeah that rings a bell .. the transition from a continuous system to a discrete one
bears that.
/* you did not read/understand that .. fine .. because this is something that might give me my late PhD */

------------------------------------------------------------------------
r13314 | campbellbarton | 2008-01-20 22:27:16 +0100 (Sun, 20 Jan 2008) | 2 lines

touch function that should also work on non unix os's, though I cant test here.

------------------------------------------------------------------------
r13312 | campbellbarton | 2008-01-20 21:09:06 +0100 (Sun, 20 Jan 2008) | 3 lines

draw muted strips faded. hkey added alt+hkey to mute and un-mute strips, Mkey is used for metastrips. would be nice to make this similar to object mode restrict render option.


------------------------------------------------------------------------
r13311 | schlaile | 2008-01-20 19:55:56 +0100 (Sun, 20 Jan 2008) | 10 lines

== Sequencer / FFMPEG ==

This fixes:

[#7989] Sequence editor preview and anim render output broken on Linux PPC

and also optimizes RGBA -> ABGR conversion function a little bit.
(Fixing also a crash, if there is no ibuf->rect available...)


------------------------------------------------------------------------
r13310 | campbellbarton | 2008-01-20 18:53:58 +0100 (Sun, 20 Jan 2008) | 10 lines

Made it so locked strips inside metastrips are transformed.

Removed FTYPE from render output panel - was some old format that did index colors, and wasn't even used anywhere.

Added 2 options to the render output panel that can be used for a really basic local renderfarm (even artists can use it!),
"NoOverwrite" and "Touch"
When both are enabled, rendering 1 scene between many pc's on a fast network will populate the directory with frames.
Also useful to delete frames that have errors and re-render (without manually re-rendering each frame)


------------------------------------------------------------------------
r13309 | ton | 2008-01-20 15:50:30 +0100 (Sun, 20 Jan 2008) | 10 lines

Two fixes for yesterday commit, new Mist pass:

- non OSA case didn't work
- ztransp adding was accidentally using an incorrect alpha value

NOTE: allmost all pass types rendered in OSA with a filter (not box!) were
incorrectly added on solid layers. Like diffuse, AO, etc.



------------------------------------------------------------------------
r13308 | campbellbarton | 2008-01-20 14:52:54 +0100 (Sun, 20 Jan 2008) | 8 lines

Cant use WHILE_SEQ when drawing,

drawing strips was setting the depth that would then incorrectly overlap when used with metastrips. - so metastrisp would grow when moved - showed up in peach animatic.

Now metastrips draw display differently- only immediate children are shown on the strip.

Also disabled overlap checking during transform for non zero depth strips since its not needed.

------------------------------------------------------------------------
r13307 | schlaile | 2008-01-20 09:59:06 +0100 (Sun, 20 Jan 2008) | 5 lines

== Sequencer ==

Fixed crash with metastrips where ibufs where null...


------------------------------------------------------------------------
r13306 | aligorith | 2008-01-20 06:10:35 +0100 (Sun, 20 Jan 2008) | 3 lines

== Action Editor - Copy/Paste Improvements ==

Changed the way the offsetting of pasted keys relative to the current time works. Now, all pasted frames are offset by the same amount. This is calculated as the difference in the times of the current frame and the 'first keyframe' (i.e. the earliest one in all channels to be pasted). The 'first keyframe' is found when doing the copying.  
------------------------------------------------------------------------
r13304 | aligorith | 2008-01-20 05:27:54 +0100 (Sun, 20 Jan 2008) | 3 lines

Action Editor - More Bugfixes for Action-Groups:
* Wrong selection functions were being used for borderselect when handling groups. This resulted in all of the keyframes for a group getting selected
* Select row was not working for groups either, as there was missing code there... 
------------------------------------------------------------------------
r13303 | aligorith | 2008-01-20 04:16:19 +0100 (Sun, 20 Jan 2008) | 3 lines

Bugfix for Action-Groups:

The way the end of a group's channels was being detected was wrong in many places, resulting in the group's last channel often being skipped.
------------------------------------------------------------------------
r13302 | aligorith | 2008-01-20 03:55:35 +0100 (Sun, 20 Jan 2008) | 13 lines

== Bone Groups ==

I'm committing some work-in-progress code for "bone groups" now, as I there have been are some major bugs caused by the timeoffset stuff (some of my test files were not loading, and other files were showing all sorts of weird problems). 

Anyway, in this commit, the following things for "bone groups" have been done:
* Bone groups are stored per armature (internally, this is per bPose block)
* Added controls for editing bone-groups per armature - "add", "remove", "rename". These can be found in the "Links and Materials" panel in PoseMode, beside the settings for PoseLib.
* Reorganised buttons for editing selected bones in PoseMode. I've replaced the "dist" and "weight" buttons (they existed in EditMode anyway) with a menu to choose the bone-group and the custom-shape-ob field. In the place of the old custom-shape-ob field, I've restored the "Hide" button. This might break muscle-memory a bit, but there isn't a lot of space to play with there.

Some stuff I'd been originally planning to do before committing:
* When adding keyframes for bones, an action-group with the same name as the bone's group will be added to the action, and the action-channel will be made a member of that. 
* New action/bone groups have unique names (renaming/adding new should check if name exists before assigning it)
* There's a setting under Bone-Groups stuff which sets which custom-colour set is used to colour that group's bones. Currently, this is non-functional, as the necessary drawing code for armatures is not in place yet.
------------------------------------------------------------------------
r13300 | campbellbarton | 2008-01-19 22:52:09 +0100 (Sat, 19 Jan 2008) | 4 lines

minor changes to address bugs
[#8109] Incorrect header information in exported X3D Files
[#8110] Illegal characters in exported X3D files

------------------------------------------------------------------------
r13299 | blendix | 2008-01-19 20:33:32 +0100 (Sat, 19 Jan 2008) | 4 lines


Bugfix for crash in approximate AO pixel cache.


------------------------------------------------------------------------
r13298 | campbellbarton | 2008-01-19 20:01:19 +0100 (Sat, 19 Jan 2008) | 2 lines

missing header from editipo.c

------------------------------------------------------------------------
r13297 | campbellbarton | 2008-01-19 19:52:39 +0100 (Sat, 19 Jan 2008) | 2 lines

made BINRELOC disabled by default with scons, only enable for linux

------------------------------------------------------------------------
r13295 | campbellbarton | 2008-01-19 17:32:29 +0100 (Sat, 19 Jan 2008) | 2 lines

add the option to add the parents time offset value.

------------------------------------------------------------------------
r13294 | campbellbarton | 2008-01-19 16:13:42 +0100 (Sat, 19 Jan 2008) | 8 lines

 find_group would only return the first group, this let to the assumption that an object was only in 1 group, made it easy to loop through all groups an object is in.

group = NULL;
while( (group = find_group(base->object, group)) ) {
	...
}


------------------------------------------------------------------------
r13293 | ton | 2008-01-19 12:17:12 +0100 (Sat, 19 Jan 2008) | 9 lines

Added new render pass: "Mist".
This is actually just the alpha value as currently being calculated
by the mist code. It is in many cases not very useful to have this as
alpha in shading result, also for postprocess and composite.

Note: this pass also works with "Mist" not set in World, of course.



------------------------------------------------------------------------
r13292 | aligorith | 2008-01-19 04:24:12 +0100 (Sat, 19 Jan 2008) | 1 line

Added "WITH_BF_BINRELOC = 'false'" for msvc+scons too
------------------------------------------------------------------------
r13291 | campbellbarton | 2008-01-19 00:31:18 +0100 (Sat, 19 Jan 2008) | 3 lines

don't display relative paths button when loading files.
this was silly anyway since it always gave an error.

------------------------------------------------------------------------
r13290 | aligorith | 2008-01-19 00:13:07 +0100 (Sat, 19 Jan 2008) | 1 line

Disabled "WITH_BF_BINRELOC" for mingw
------------------------------------------------------------------------
r13289 | sirdude | 2008-01-18 22:39:47 +0100 (Fri, 18 Jan 2008) | 7 lines

Fixing makefiles for binreloc  I made it use flags like other
things default on for linux.  ideasman helped me get scons working.
Cmake still needs some love...

Kent


------------------------------------------------------------------------
r13288 | migius | 2008-01-18 18:03:43 +0100 (Fri, 18 Jan 2008) | 32 lines

update with many improvements:
 v1.0.12: 2008.01.17 by migius
 a8 lately used INI-dir/filename persistently stored in Registry
 a8 lately used DXF-dir/filename persistently stored in Registry
 a7 fix missing layersmap{} for dxf-files without "section:layer"
 a6 added support for XREF external referenced BLOCKs
 a6 check for bug in AutoCAD2002:DXFr12export: ELLIPSE->POLYLINE_ARC fault angles
 a6 support VIEWs and VPORTs as cameras: ortho and perspective mode
 a6 save resources through ignoring unused BLOCKs (not-inserted or on frozen/blocked layers)
 a6 added try_finally: f.close() for all IO-files
 a6 added handling for TypeError raise
 a5 bugfix f_getOCS for (0,0,z!=1.0) (ellipse in Kai's dxf)
 a4 added to analyzeTool: report about VIEWs, VPORTs, unused/xref BLOCKs
 a4 bugfix: individual support for 2D/3DPOLYLINE/POLYMESH
 a4 added to UI: (*wip)BLOCK-(F): name filtering for BLOCKs
 a4 added to UI: BLOCK-(n): filter anoname/hatch BLOCKs *X...
 a2 g_scale_as is no more GUI_A-variable
 a2 bugfix "material": negative sign color_index
 a2 added support for BLOCKs defined with origin !=(0,0,0)
 a1 added 'global.reLocation-vector' option

 v1.0.11: 2007.11.24 by migius
 c8 added 'curve_resolution_U' option 
 c8 added context_sensitivity for some UI-buttons
 c8 bugfix ELLIPSE rotation, added closed_variant and caps
 c7 rebuild UI: new layout, grouping and meta-buttons
 c6 rewritten support for ELLIPSE mesh & curve representation
 c6 restore selector-buttons for DXF-drawTypes: LINE & Co
 c6 change header of INI/INF-files: # at begin
 c6 apply scale(1,1,1) after glob.Scale for all mesh objects, not for curve objects.
 c5 fixing 'material_on' option

------------------------------------------------------------------------
r13287 | campbellbarton | 2008-01-18 16:10:17 +0100 (Fri, 18 Jan 2008) | 5 lines

Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started.
This uses binreloc - http://autopackage.org/docs/binreloc/
it should also solve the problem of python scripts not being found.


------------------------------------------------------------------------
r13286 | blendix | 2008-01-18 15:30:26 +0100 (Fri, 18 Jan 2008) | 5 lines


Bugfix: particle settings didn't automatically link in associated
objects or groups.


------------------------------------------------------------------------
r13285 | campbellbarton | 2008-01-18 13:20:28 +0100 (Fri, 18 Jan 2008) | 3 lines

2 new timeoffset buttons in the animation panel "Ofs" and "Rand"
Useful when animating many objects falling at different times (for instance).

------------------------------------------------------------------------
r13284 | campbellbarton | 2008-01-18 12:51:46 +0100 (Fri, 18 Jan 2008) | 3 lines

bugfix didnt get committed somehow, appending a group assumed any indirectly linked objects were apart of the appended groups and the objects added to the scene.
Now there are recursive dupli's this is no longer true. so need to check the append flag.

------------------------------------------------------------------------
r13283 | campbellbarton | 2008-01-18 11:46:37 +0100 (Fri, 18 Jan 2008) | 2 lines

update to m3g exporter by Gerhard Völkl

------------------------------------------------------------------------
r13282 | aligorith | 2008-01-18 01:04:19 +0100 (Fri, 18 Jan 2008) | 3 lines

== Action-Groups - Drawing Tweak ==

Now action-group channels are drawn with a green-ish strip background instead of the usual colours to help distinguish them from other channels, making it easier to identify them.
------------------------------------------------------------------------
r13281 | aligorith | 2008-01-18 00:38:53 +0100 (Fri, 18 Jan 2008) | 1 line

Routine purge of compiler warnings
------------------------------------------------------------------------
r13279 | aligorith | 2008-01-18 00:02:11 +0100 (Fri, 18 Jan 2008) | 23 lines

== Action Editor - Groups for Action Channels (Peach Request) ==

Now, you can assign Action Channels to named (folder-like) groups, which help to organise the channels (important for more complex rigs). These are collapsible, can be "protected", and show a "summary" of the keyframes in the channels the Group contains. They are drawn as bright-green (active) or a darker shade of green (not active) channels.

* Each Action has its own set of Groups. 
* An Action-Channel can only occur in one Group at a time. It can also not occur in any group.
* Action-Channels can be moved between Groups
* Groups + grouped-channels always occur BEFORE un-grouped channels

Important Hotkeys:
* Shift-G  :  Adds the selected Action-Channels to the Active Group. This will create a new group if need be
* Ctrl-Shift-G : Always adds a new group, and adds the selected Action-Channels to it
* Alt-G : Removes selected Action-Channels from their groups
* Ctrl-Shift-Alt-G : (Note: this will be removed soon) This is a simple debugging-hotkey I added, which just prints a list of the groups, channels, and their addresses...
* NKey / Ctrl-LMB: While hovering over the name of a group, this shows a popup like for other channels, which allows the editing of the channel's name, etc.


Assorted Notes:
* Some tools may not work yet with this (Ctrl Numpad+/- for example)
* Fixed some bugs in various places in Action Editor code
* Added theme colours for group channels
* The nomenclature of these tools may change in future when a better alternative is found
* The ability to auto-assign action-channels to groups when they are keyframed will be coming up shortly
------------------------------------------------------------------------
r13278 | theeth | 2008-01-17 23:57:00 +0100 (Thu, 17 Jan 2008) | 3 lines

=== Custom Transform Orientation ===

Added orientation overwriting old ones didn't change correctly (weren't returning the correct index).
------------------------------------------------------------------------
r13277 | sirdude | 2008-01-17 22:25:25 +0100 (Thu, 17 Jan 2008) | 5 lines

Fixed some whitespace indentation I found while looking at something else.

Kent


------------------------------------------------------------------------
r13276 | blendix | 2008-01-17 20:27:16 +0100 (Thu, 17 Jan 2008) | 23 lines


Approximate Ambient Occlusion
=============================

A new approximate ambient occlusion method has been added, next to the
existing one based on raytracing. This method is specifically targetted
at use in animations, since it is inherently noise free, and so will
not flicker across frames.

http://www.blender.org/development/current-projects/changes-since-244/approximate-ambient-occlusion/
http://peach.blender.org/index.php/approximate-ambient-occlusion/

Further improvements are still needed, but it can be tested already. There
are still a number of known issues:

- Bias errors on backfaces.
- For performance, instanced object do not occlude currently.
- Sky textures don't work well, the derivatives for texture evaluation
  are not correct.
- Multiple passes do not work entirely correct (they are not accurate
  to begin with, but could be better).


------------------------------------------------------------------------
r13275 | ton | 2008-01-17 20:01:58 +0100 (Thu, 17 Jan 2008) | 12 lines

Render control feature: shader-level shadowbuffer bias

Lampbuffers require painful bias tweaking (to prevent aliasing or to
get shadow detail). Sometimes you want this different per object, like
for gras you want less shadow detail, but for the ground you want high
detail. This feature allows to tweak it.

The new "LBias" slider is in shader panel, bottom. Ugly! But, thats for
later...



------------------------------------------------------------------------
r13271 | ton | 2008-01-17 16:45:40 +0100 (Thu, 17 Jan 2008) | 5 lines

Tiny fix but took me hours to track down: render layer menu in Image Window
is not being reset when you render, so after render the layer you picked is
still visible in Image Window.


------------------------------------------------------------------------
r13269 | blendix | 2008-01-17 13:02:15 +0100 (Thu, 17 Jan 2008) | 6 lines


Bugfix for "ghost feathers" trailing one frame behind the character.
The derivedmesh and particle system needed to be evaluated at render
level before creating dupliparticles.


------------------------------------------------------------------------
r13268 | blendix | 2008-01-17 12:07:45 +0100 (Thu, 17 Jan 2008) | 4 lines


Bugfix for emitter with dupli particles not drawing in group.


------------------------------------------------------------------------
r13267 | jhk | 2008-01-17 11:44:23 +0100 (Thu, 17 Jan 2008) | 1 line

- A miss thought multiplication in hair effectors created a strong dependency on the draw/render steps value, now behavior is much better although a stronger effector force is needed for the effect to show.
------------------------------------------------------------------------
r13263 | jhk | 2008-01-17 01:28:14 +0100 (Thu, 17 Jan 2008) | 3 lines

- Regarding the Peach "hair effectors" request in the mailing list I coded quick support so that effectors now can effect combed hair too. Nothing special needed to use, just normal field effectors, although there is a new "stiff" parameter in extras panel. (Note, at least for now this only works with path visualization)
- Keyed particles work again for all visualizations (previously only "path"), they still need some work though to be fully operational.
- Keyed particles weren't saved or loaded correctly.
------------------------------------------------------------------------
r13262 | blendix | 2008-01-17 00:08:19 +0100 (Thu, 17 Jan 2008) | 19 lines


Dupli Bugfixes!

It seems everytime I try to fix something here I break something
else, but anyway, another try at getting this to work properly.

Fixes for:
- Getting dupliverts/faces derivedmesh with orco caused wrong results
  on meshes in linked dupligroups with proxy, because modifier stack
  was revaluated with wrong object matrix, now gets orco another way.
- Fix render instances being hidden when original object was not added
  to the object render list.
- Changed the way object instances find their original objects, now
  works the other way around, original objects look for their instances
  instead.

There's probably issues still with recursive dupligroups..


------------------------------------------------------------------------
r13260 | sirdude | 2008-01-16 15:28:20 +0100 (Wed, 16 Jan 2008) | 4 lines

added include for M_PI

Kent

------------------------------------------------------------------------
r13259 | blendix | 2008-01-16 15:25:59 +0100 (Wed, 16 Jan 2008) | 4 lines


Bugfix: strands didn't respect renderlayers.


------------------------------------------------------------------------
r13258 | campbellbarton | 2008-01-16 12:43:22 +0100 (Wed, 16 Jan 2008) | 2 lines

user pref to make relative paths an option you can save (peachers need to be strict with this for the farm)

------------------------------------------------------------------------
r13257 | nicholasbishop | 2008-01-16 08:19:21 +0100 (Wed, 16 Jan 2008) | 9 lines

== Radial Control ==

* Generalized the interactive brush property control from sculpt mode into a simple API
* Modified sculpt mode to take advantage of this (even fixes some minor bugs!)
* Added shortcuts in particle edit to set brush size/strength (FKEY/shift+FKEY)

Still todo are the other modes that have brushes...


------------------------------------------------------------------------
r13256 | khughes | 2008-01-16 04:02:54 +0100 (Wed, 16 Jan 2008) | 10 lines

Python API
----------
Added RenderData.activeLayer attribute, lets user access the active
rendering layer.  Also corrected description of RenderData.freeImages
attribute.

Note: doesn't seem like there is any support in the python API for accessing
the renderlayers settings....


------------------------------------------------------------------------
r13253 | campbellbarton | 2008-01-15 22:44:09 +0100 (Tue, 15 Jan 2008) | 2 lines

sequence transform buttons didnt correct for overlap, also made them account for color generator and single image types.

------------------------------------------------------------------------
r13249 | ton | 2008-01-15 20:00:09 +0100 (Tue, 15 Jan 2008) | 3 lines

Small feature: add a group -> object name gets derived from group name,


------------------------------------------------------------------------
r13247 | sirdude | 2008-01-15 19:54:34 +0100 (Tue, 15 Jan 2008) | 4 lines

changed sqrtf to sqrt to make solaris and other platforms happy.

Kent

------------------------------------------------------------------------
r13246 | sirdude | 2008-01-15 19:43:29 +0100 (Tue, 15 Jan 2008) | 4 lines

*sigh* from now on I think I need to run my commits through ispell ;)

Kent

------------------------------------------------------------------------
r13245 | sirdude | 2008-01-15 19:06:48 +0100 (Tue, 15 Jan 2008) | 5 lines

Forgot ""'s around string in error message.

Kent


------------------------------------------------------------------------
r13244 | campbellbarton | 2008-01-15 18:37:47 +0100 (Tue, 15 Jan 2008) | 2 lines

incorrect epydocs

------------------------------------------------------------------------
r13243 | sirdude | 2008-01-15 16:25:50 +0100 (Tue, 15 Jan 2008) | 9 lines

Adds a script to automatically determine the blender version #
from BKE_blender.h 
Now we just need to update the other build methods to use the script.
Once thats done we can remove the VERSION file since it will no longer
be needed.

Kent


------------------------------------------------------------------------
r13236 | ton | 2008-01-14 20:03:27 +0100 (Mon, 14 Jan 2008) | 19 lines

Feature + Fix:

- while sampling color in image window, you now get the sampled color as a line
drawn in the node editor Curve nodes, allowing quicker view of what values you
actually change.

- reverted temporary the patch [#6779] by Matthew Plough
  He replaced image drawing of backdrop-node-editor with our Texture drawing
  function. That call is extremely slow, and should be by definition slower
  than glDrawPixels (unless you don't upload the image each time to gfx mem).

  Drawing large frames (2k, 4k) in node editor became unacceptable slow, even 
  with the neatest hardware around. (tested nvidia, ati) 

  Probably (Campbell thinks) this is a bypass for Linux ATI cards? 
  Anyhoo, this should be investigated further before applying. It better then
  becomes a user pref, or even much better: part of the OpenGL profiler we need.


------------------------------------------------------------------------
r13235 | ton | 2008-01-14 16:16:59 +0100 (Mon, 14 Jan 2008) | 8 lines

Bad bad bug!

Newly added strip->scale was never initialized 1.0f on adding, causing
divide by zero in NLA/Action UI.

Bug since september or so... is nobody using NLA? :)


------------------------------------------------------------------------
r13234 | campbellbarton | 2008-01-14 14:48:43 +0100 (Mon, 14 Jan 2008) | 2 lines

bumped up max recursiveness, was needed for a peach shot

------------------------------------------------------------------------
r13233 | aligorith | 2008-01-14 12:23:03 +0100 (Mon, 14 Jan 2008) | 5 lines

== Limit Scale Constraint - Affects Transform ==

Now, the Limit Scale Constraint can be made to work on the Transform values like the Limit Location constraint. Use the "For Transform" button to activate.

For clarity, this means that when scaling with a Limit Scale Constraint with this option on, the relevant values in the Transform Properties will stop changing once the Limit defined in the Limit Constraint is reached.
------------------------------------------------------------------------
r13232 | blendix | 2008-01-14 12:07:59 +0100 (Mon, 14 Jan 2008) | 5 lines


Bugfix for rendering of duplis again, this time with multiple
dupligroups containing the same dupliverts.


------------------------------------------------------------------------
r13231 | campbellbarton | 2008-01-14 11:41:36 +0100 (Mon, 14 Jan 2008) | 2 lines

menu generation read and wrote to the same memory with sprintf(), use INIT_MINMAX in a few more places and centerview didnt take into account some bone tips in editmode.

------------------------------------------------------------------------
r13230 | blendix | 2008-01-14 11:00:20 +0100 (Mon, 14 Jan 2008) | 8 lines


Strand render shadow now only renders lines for shadow instead
of polygons, to avoid shadow flicker between frames.

Added some code that makes it possible to generate APixbuf's
from strands.


------------------------------------------------------------------------
r13229 | aligorith | 2008-01-14 06:58:38 +0100 (Mon, 14 Jan 2008) | 1 line

Missed a few lines in import_mdd.py
------------------------------------------------------------------------
r13228 | aligorith | 2008-01-14 06:55:24 +0100 (Mon, 14 Jan 2008) | 4 lines

MDD Importer/Exporter - Bugfixes:

* MDD export failed when using a particle-instance modifier due to the use of different ways of retrieving a mesh to count it's vertices. 
* MDD importer now shows up in menu of importers again
------------------------------------------------------------------------
r13227 | aligorith | 2008-01-14 03:49:25 +0100 (Mon, 14 Jan 2008) | 3 lines

Bugfix for Transform Orientation Panel:

Removed a pair of uiPanelPush()/uiPanelPop() calls from the Transform Orientation panel, which were causing minor redraw/refresh problems for the panel's buttons here.
------------------------------------------------------------------------
r13226 | theeth | 2008-01-13 23:57:36 +0100 (Sun, 13 Jan 2008) | 3 lines

Fix crash in previous commit for objects that don't have a boundbox.

In that case, the object's center is used.
------------------------------------------------------------------------
r13225 | bjornmose | 2008-01-13 23:51:48 +0100 (Sun, 13 Jan 2008) | 1 line

make solver UI more consistent ... that is what parameters are available and what is not
------------------------------------------------------------------------
r13224 | theeth | 2008-01-13 23:20:18 +0100 (Sun, 13 Jan 2008) | 14 lines

=== Transform Snap ===

Snapping for object mode

Changes:
- Transform snap now working in object mode and not just mesh edit mode
- Shift-Tab can be used to toggle snap on/off inside transform too (no more Esc,toggle,restart)
- Object mode snap: Closest uses the bounding box corners of all selected objects, Median uses object center and Center uses transform center (same as edit mode).
- Object mode snap: all visible meshes can be used to get the snapping point (unlike edit mode snap which is limited to selected mesh: this might be adjusted to make edit mode snap use all visible too).

To Do:
- Add "Active" snap target method: use active object (or mesh element) as snap target
- Add snapping capabilities to Scale
- (Maybe) Add "Near pointer" snap target method: use selected element that is closest to mouse pointer as snap target. Active could probably accomplish that already in a less confusing manner, so I might skip this.
------------------------------------------------------------------------
r13223 | theeth | 2008-01-13 19:24:09 +0100 (Sun, 13 Jan 2008) | 17 lines

=== Custom Transform Orientation ===

Custom Orientations can be added with Ctrl-Shift-C (hotkey suggestions are welcomed), this adds and select the new alignment. Custom Orientations can also be added, deleted, selected from the Transform Orientations panel (View -> Transform Orientations). Standard orientations (global, local, normal, view) can also be selected from this panel.

If you plan on using only a single custom orientation and don't really need a list, I suggest you use the hotkey as it adds and selects at the same time.

Custom Orientations are save in the scene and are selected per 3D view (like normal orientation).

Adding from an object, the orientation is a normalized version of the object's orientation.
Adding from mesh data, a single element (vertex, edge, face) must be selected in its respective selection mode. Vertex orientation Z-axis is based on the normal, edge Z-axis on the edge itself (X-axis is on the XoY plane when possible, Y-axis is perpendicular to the rest). Face orientation Z-axis is the face normal, X-axis is perpendicular to the first edge, Y-axis is perpendicular to the rest.
(More logical orientations can be suggested).

I plan to add: 2 vertice (connected or not) => edge orientation , 3 vertice = face orientation

Differences from the patch:
- orientations no longer link back to the object they came from, everything is copy on creation.
- orientations are overwritten based on name (if you add an orientation with the same name as one that already exists, it overwrites the old one)
------------------------------------------------------------------------
r13222 | campbellbarton | 2008-01-13 19:13:39 +0100 (Sun, 13 Jan 2008) | 2 lines

Bugfix, un-initialized variables for tubemap and spheremap mapping, affected textures

------------------------------------------------------------------------
r13221 | elubie | 2008-01-13 16:10:09 +0100 (Sun, 13 Jan 2008) | 5 lines

== MSVC 7.1 projectfiles ==
blenkernel needed opennl include (softbodies)
blenderplayer needed linking opennl too now.
replaces powf with pow in multires - MSVC isn't C99 compatible

------------------------------------------------------------------------
r13220 | campbellbarton | 2008-01-13 12:15:23 +0100 (Sun, 13 Jan 2008) | 4 lines

Bugfix
[#6861] Black dots when using small lamps on Mirror materials in 2.44 and 2.43.
some values were not initialized properly, for example, the window coordinates for reflections, this caused NAN color values for some pixels, (may also fix plumiferos bad pixel problem from last bconf)

------------------------------------------------------------------------
r13219 | nicholasbishop | 2008-01-13 02:29:45 +0100 (Sun, 13 Jan 2008) | 5 lines

== Sculpt ==

Added undo pushes for the items in the sculpt menu


------------------------------------------------------------------------
r13217 | nicholasbishop | 2008-01-12 22:59:18 +0100 (Sat, 12 Jan 2008) | 5 lines

== Sculpt ==

Added undo pushes after changing the brush type using the CTRL+TAB menu and after interactive change of brush size/strength/rotate.


------------------------------------------------------------------------
r13216 | nicholasbishop | 2008-01-12 22:51:23 +0100 (Sat, 12 Jan 2008) | 5 lines

== Sculpt ==

Fix for the initial brush shape; wasn't initialized properly on older files.


------------------------------------------------------------------------
r13215 | aligorith | 2008-01-12 12:06:51 +0100 (Sat, 12 Jan 2008) | 5 lines

== AutoKeying - Tidy Up ==

This commit restores the "big red button". When Auto-Keying is enabled (record button toggled on), a menu appears beside it to choose which behaviour for auto-keying should be used. This should be more efficient for quickly turning Auto-Keying on/off.

I've also added the relevant version-patches to fix up old files so that sensible default options are in use.
------------------------------------------------------------------------
r13214 | campbellbarton | 2008-01-12 10:22:02 +0100 (Sat, 12 Jan 2008) | 4 lines

fix for [#8019] Switching to Image Browser window crashes Blender
http://projects.blender.org/tracker/index.php?func=detail&aid=8019&group_id=9&atid=125


------------------------------------------------------------------------
r13213 | bjornmose | 2008-01-12 02:26:40 +0100 (Sat, 12 Jan 2008) | 3 lines

nice little thing -> have angular response on 'aero' 
made backward compatible for sure

------------------------------------------------------------------------
r13212 | khughes | 2008-01-12 01:54:42 +0100 (Sat, 12 Jan 2008) | 5 lines

Python API
----------
Correct error in Mathutils.Rand documentation (pointed out on IRC by masterofbytes).


------------------------------------------------------------------------
r13211 | campbellbarton | 2008-01-11 23:54:02 +0100 (Fri, 11 Jan 2008) | 2 lines

removed printf and added back a line removed by mistake

------------------------------------------------------------------------
r13210 | campbellbarton | 2008-01-11 19:33:52 +0100 (Fri, 11 Jan 2008) | 4 lines

removed "Insert Gap" shortcut - alt/shift+mousewheel 
It was too easy to Pan (Shift+MMB) but mousewheel without meaning to.
Extend - E-Key also does this in a more useful way.

------------------------------------------------------------------------
r13209 | campbellbarton | 2008-01-11 19:02:28 +0100 (Fri, 11 Jan 2008) | 2 lines

bugfix for cyclic curves

------------------------------------------------------------------------
r13206 | briggs | 2008-01-11 15:25:01 +0100 (Fri, 11 Jan 2008) | 3 lines

-> Fix for select Xref tool

Select Xref tool was broken. Should work now.
------------------------------------------------------------------------
r13201 | blendix | 2008-01-11 00:06:55 +0100 (Fri, 11 Jan 2008) | 5 lines


Bugfix: with non-random particle distribution, the first particle could
still end up on a zero weight face.


------------------------------------------------------------------------
r13200 | blendix | 2008-01-10 22:44:16 +0100 (Thu, 10 Jan 2008) | 6 lines


- Bugfix to make dupli particles for hair respect render amount.
- Allow Random and Even distribution settings to be set after hair
  is made editable, since they also affect children.


------------------------------------------------------------------------
r13199 | sirdude | 2008-01-10 22:35:33 +0100 (Thu, 10 Jan 2008) | 4 lines

Added extra include dir to get it compling again.

Kent

------------------------------------------------------------------------
r13193 | jesterking | 2008-01-10 13:31:40 +0100 (Thu, 10 Jan 2008) | 3 lines

* convert the nice enums to #defines for two reasons
  1)  < kaito> enums are not allowed in dna anyway
  2) linking fails for the yafray api.
------------------------------------------------------------------------
r13192 | ton | 2008-01-10 12:26:17 +0100 (Thu, 10 Jan 2008) | 4 lines

Adding the colorband Hue, Saturation, Value, Color blending modes 
to the Material Texture blending as well.


------------------------------------------------------------------------
r13191 | joeedh | 2008-01-10 06:30:55 +0100 (Thu, 10 Jan 2008) | 5 lines

=Wire render fix=

Fix for urgent problem found in wire render.

Hopefully it compiles and everything.
------------------------------------------------------------------------
r13190 | aligorith | 2008-01-10 02:36:22 +0100 (Thu, 10 Jan 2008) | 18 lines

== Auto-Keyframing Refactor (Peach Request) ==

Refactored Auto-Keyframing to make it easier to add more options. There are now three "states" for auto-keying: off, add/replace keys, replace keys.

Description of modes:
1) No auto-keying is done
2) Add new keyframes or replace existing ones if possible (old behaviour)
3) Only modify existing keys, but not insert new ones. 

Internally, I've moved the auto-keying settings out of G.flag and U.uiflag and moved them into their own variables in Userdef, and provided some macros to access those easily. As a result, old auto-keying settings are currently lost.

Also, removed the manual calls to insertkey done in pose-relax. The reason auto-keying didn't work before was because the bones didn't have the BONE_TRANSFORM flag applied. Now, these are set temporarily.


Todo(s):
* Make icons for the TimeLine header menu (currently just a text menu)
* Add version-patches for old files
* Double-check code for all places that use auto-keying (i.e. PoseLib) 
------------------------------------------------------------------------
r13189 | bjornmose | 2008-01-10 01:07:31 +0100 (Thu, 10 Jan 2008) | 1 line

resolving back compatibility issues 
------------------------------------------------------------------------
r13185 | broken | 2008-01-09 23:32:36 +0100 (Wed, 09 Jan 2008) | 1 line

* Updated makefile for OpenNL, used in new softbody.c
------------------------------------------------------------------------
r13184 | briggs | 2008-01-09 20:51:22 +0100 (Wed, 09 Jan 2008) | 3 lines

-> Fix for billboard faces

Faces with billboard render (axis with alpha) were not being preserved on import/export. Fixed
------------------------------------------------------------------------
r13181 | blendix | 2008-01-09 18:53:06 +0100 (Wed, 09 Jan 2008) | 5 lines


Fix for previous commit, accidentally left in debug code,
breaking orco.


------------------------------------------------------------------------
r13180 | blendix | 2008-01-09 15:40:25 +0100 (Wed, 09 Jan 2008) | 15 lines


Misc Render Features
====================

- "From Dupli" option for orco and uv texture coordinates. For dupliverts,
  duplifaces and dupli particles, this uses the orco and uv at the point
  on the parent surface. Can for example be used for texturing feathers
  and leafs. Note that uv only works for duplifaces and particles emitted
  from faces, these are not defined at vertices.

- "Width Fade" option for strand render, to fade out along the width of the
  strand. Committing this so it can be tested, might be changed or removed
  even, if it doesn't give nice results.


------------------------------------------------------------------------
r13179 | aligorith | 2008-01-09 13:07:38 +0100 (Wed, 09 Jan 2008) | 11 lines

== Action Editor - Editing Goodies ==

* Peach Request - Added Ctrl-PageUp/Down to jump to next/previous keyframe (respectively), just like elsewhere in Blender.

* As a result, Action Channel rearranging has been remapped so that:
  - Ctrl-Shift-PageUp/Down is move to top/bottom
  - Shift-PageUp/Down is move up/down

* Added a hotkey ("accentgravekey", i.e. ~/`) to toggle whether all Action Channel levels are expanded or not. This affects all visible Action Channels.

* Added Ctrl-Numpad+ and Ctrl-Numpad- to expand and collapse all Action Channel levels by one level (as appropriate). This only affect selected Action Channels.
------------------------------------------------------------------------
r13177 | bjornmose | 2008-01-09 01:25:51 +0100 (Wed, 09 Jan 2008) | 12 lines

quite a load is still hidden behind the define #ifdef _work_on_sb_solver
a glance to view is the "STU PID semi implicit euler"
most of the work to implement a semi implicit euler was done ..
now i am dealing  with the tradeoffs between 'calculation time' which is quite expensive .. inverting a 0(n*n) sparse matrix /* once agian thanks to brecht for his work on making sparse matrices LU decomposition and evaluating inverses that easy*/  putting it into and cropping works pretty nice .. argh off topic again
...
while i spent a little time on reading recent papers i found :

1. control on springs needs to be split in pushing and pulling  /* fabric pushes easy but pulls hard */
2. diagonals on 4-gons (in the current SB model) can be seen as shear .. thus need a contol to modify .. this commit wil add it
3. 2 nd order springs /*aka rigidity */ can focus on bending .. thus renaming 'em
 
i have no idea how i would provide backward compatiblity, but the spots i marked in code :)
------------------------------------------------------------------------
r13176 | aligorith | 2008-01-09 01:05:26 +0100 (Wed, 09 Jan 2008) | 3 lines

Bugfix #8021: Delete in Action Editor can remove pydrivers.py refs

Basically, Ipo-Curves are now not removed when deleting keyframes in the Action Editor, if there is still an attached IPO-Driver on that curve.
------------------------------------------------------------------------
r13175 | aligorith | 2008-01-09 00:32:13 +0100 (Wed, 09 Jan 2008) | 3 lines

== Action Editor - Sample Keyframes Bugfix ==

Improved the behaviour of this tool. Now it works correctly in nearly all cases (x----x----o---x----x  situations don't completely work yet though).
------------------------------------------------------------------------
r13174 | aligorith | 2008-01-09 00:11:32 +0100 (Wed, 09 Jan 2008) | 3 lines

Bugfix #8068: StretchTo constraints once again messed up

Removed the version-patches to reset the rest-lengths of StretchTo constraints when loading old files. I can't remember why I added these in the first place, but they seem to cause problems from time to time...
------------------------------------------------------------------------
r13173 | bebraw | 2008-01-08 20:06:46 +0100 (Tue, 08 Jan 2008) | 7 lines

Minor changes to node rename tool
Rename was changed to work on the last selected node. Also size of a couple of
character arrays was changed to avoid buffer overflows.

Custom name shows up now just fine in group header in case it is being edited
as it did not before.

------------------------------------------------------------------------
r13169 | aligorith | 2008-01-08 12:51:44 +0100 (Tue, 08 Jan 2008) | 8 lines

== Action Editor - Sample Keys ==

Cessen Request - Added a tool which inserts keyframes on every frame between two selected keyframes. This is useful for adding overlapping motion (apparently). 

Use Alt-O to run this tool. The name of this tool is also open to suggestions ;)

Note:
There is currently a bug with this. When there are 4 consecutive keyframes, it won't add keyframes between keyframes 2 and 3.
------------------------------------------------------------------------
r13167 | nicholasbishop | 2008-01-08 10:25:50 +0100 (Tue, 08 Jan 2008) | 5 lines

== Multires ==

Fixed loading files with multires from 2.45. Fixes bug #8056.


------------------------------------------------------------------------
r13163 | bebraw | 2008-01-07 20:38:01 +0100 (Mon, 07 Jan 2008) | 14 lines

Custom Names for Nodes
This commit makes it possible to add a custom name to a node. The feature can be
accessed either by using a menu or shortcut ctrl-r. It currently works only when
a single node is selected. Invoking the feature gives a popup menu in which a new
name can be entered. If the given name is not empty, it will be shown like
"(myCustomName) NodeName" in the node header.

This feature is particularly useful when documenting complex node setups.

I also fixed the size of blur node. It was too short before due to my previous
commit.

Thanks to David Millan Escriva for contribution!

------------------------------------------------------------------------
r13158 | blendix | 2008-01-07 19:15:57 +0100 (Mon, 07 Jan 2008) | 6 lines


Addition to last commit, now the length of the hair is used to
scale the object. Also, the direction is now derived from the
first and last keys on the hair, instead of first and second.


------------------------------------------------------------------------
r13156 | blendix | 2008-01-07 17:26:41 +0100 (Mon, 07 Jan 2008) | 9 lines


Particle object and group visualization now also work for hair, to
make for example feathers. Also made dupliparts work within groups.

One issue still is that in particle editmode, the duplis can interfere
with brushes and selection, though tweaking the dupli object position
can alleviate the problem.


------------------------------------------------------------------------
r13155 | bebraw | 2008-01-07 16:44:45 +0100 (Mon, 07 Jan 2008) | 5 lines

Blur Node to support Relative (percent) values
This commit makes it possible to use relative values when using a Blur node. There
is a new toggle in the node that can be used to enable the feature.

Thanks to David Millan Escriva for contribution!
------------------------------------------------------------------------
r13154 | bebraw | 2008-01-07 14:55:48 +0100 (Mon, 07 Jan 2008) | 7 lines

Black and White level inputs to RGB Curves compositing node
This commit adds possibility to define black and white level of the
mapping curve of the RGB Curves node. This functionality is exactly
the same found in the Curves tool of the UV/Image Editor. It can be
used to extract wanted color ranges out of the input easily.

Thanks to Björn C. Schaefer for contribution!
------------------------------------------------------------------------
r13153 | bebraw | 2008-01-07 13:55:37 +0100 (Mon, 07 Jan 2008) | 9 lines

Conversion of "Toggle Link" tool to "Make Link"
This commit alters the behaviour of "Toggle Link" tool found in the node
editor so that it only makes link between selected sockets. Links cannot
be deleted by using the tool again as before. Instead deleting links can
be done by using the old method (drag with lmb).

The delete functionality may require further investigation to see if it
should be improved.

------------------------------------------------------------------------
r13151 | blendix | 2008-01-07 10:47:52 +0100 (Mon, 07 Jan 2008) | 4 lines


Bugfix for difference between surface and particle orco.


------------------------------------------------------------------------
r13150 | aligorith | 2008-01-07 06:56:41 +0100 (Mon, 07 Jan 2008) | 1 line

Code cleanup - removed unused var that I forgot to remove from bPose struct
------------------------------------------------------------------------
r13146 | blendix | 2008-01-06 17:04:48 +0100 (Sun, 06 Jan 2008) | 5 lines


Bugfix: in the new image function, uv test grid option
didn't draw colored crosses correct.


------------------------------------------------------------------------
r13145 | aligorith | 2008-01-06 10:27:30 +0100 (Sun, 06 Jan 2008) | 3 lines

One-liner fix: 

IK-constraint was broken by code cleanups, as it required the pole-target to be set too.
------------------------------------------------------------------------
r13144 | aligorith | 2008-01-06 08:40:37 +0100 (Sun, 06 Jan 2008) | 3 lines

== Auto-IK Improvement (Peach Request) ==

Auto-IK can now operate on more then 1 selected bone at once, (as long as they are not a part of the same chain). 
------------------------------------------------------------------------
r13143 | blendix | 2008-01-05 22:56:28 +0100 (Sat, 05 Jan 2008) | 5 lines


Fix for use of uninitialized variable in shadow caching, could
sometimes give 1 nan pixel.


------------------------------------------------------------------------
r13142 | campbellbarton | 2008-01-05 22:49:09 +0100 (Sat, 05 Jan 2008) | 2 lines

Check for screen bounds clipping in particle editmode. (thanks to valgrind again)

------------------------------------------------------------------------
r13140 | campbellbarton | 2008-01-05 20:11:10 +0100 (Sat, 05 Jan 2008) | 2 lines

Used valgrind to find some uninitialized variables

------------------------------------------------------------------------
r13137 | aligorith | 2008-01-05 11:54:33 +0100 (Sat, 05 Jan 2008) | 9 lines

== PoseLib - Quick Search for Preview ==

Now, when Previewing/Browsing poses with Ctrl-L, it is possible to type in part of a name to limit the poses which can get chosen to hone in on the poses you wish to apply more quickly. 
* The search is case insensitive, and doesn't look for complete matches (it will 'match' if the whole search-string is found). 
* Only basic text manipulation capabilities are available for editing the search string (i.e.  backspace, del, home, end, move text-cursor forward ->, move text-cursor backwards <-).
* Pose browsing using the Scroll-Wheel and Page up/down can be used to browse through the matches
* View manipulation is only possible with MMB, as numpad keys are used for search-string input.

In the process, I've recoded the preview function to be more modular. It's now split up more, like the Transform core.
------------------------------------------------------------------------
r13136 | aligorith | 2008-01-05 11:01:05 +0100 (Sat, 05 Jan 2008) | 3 lines

Bugfix #7793: ChildOf Constraint works bad for bones

I hope this time I've fixed it once and for all. The cases which use to fail seem to work now, so I assume it's now fixed. In case it isn't, I'll leave the bug report open for a few days first.
------------------------------------------------------------------------
r13135 | aligorith | 2008-01-05 10:31:43 +0100 (Sat, 05 Jan 2008) | 12 lines

== Constraints - Code Cleanups ==

* Tidied up coding style of code in editconstraint.c 
- removed blank lines, made whitespace-use more consistent

* Shuffled code in editconstraint.c and BIF_editconstraint.h so that it was in a more orderly fashion

* Reduced code redundancy in test_constraints 
- tests which can apply to general constraints (target existance, and clashes with the owner) are not copied out for each constraint that needs it
- ChildOf constraint now gets validated too (before it was missing such checks)

* Recoded the way PyConstraints build the menu for displaying scripts available for use. It now uses dynstr instead of guessing how much memory to allocate for each entry
------------------------------------------------------------------------
r13134 | aligorith | 2008-01-05 05:07:28 +0100 (Sat, 05 Jan 2008) | 4 lines

Action Editor Bugfixes:
* NKEY popup for renaming channels was not working correctly. A typo meant that it only showed when the mouse was in the timeline area, not when it was over the channel names.

* Added a few safety checks to copy/paste to hopefully prevent crashes. Also, when there's only one channel in the buffer, it now copies all the data from that to all selected channels.
------------------------------------------------------------------------
r13132 | blendix | 2008-01-04 22:12:48 +0100 (Fri, 04 Jan 2008) | 6 lines


- Further fixes for duplivert rendering inside a dupligroup.
- Fix for integer overflow when allocating a lot of particles
  (9 million * 8 keys * sizeof cache key).


------------------------------------------------------------------------
r13131 | blendix | 2008-01-04 18:48:07 +0100 (Fri, 04 Jan 2008) | 5 lines


- Make dupliverts inside a dupligroup render and draw as instances.
- Possible fix for a dupli render memory leak, but i'm not sure.


------------------------------------------------------------------------
r13128 | campbellbarton | 2008-01-04 12:55:37 +0100 (Fri, 04 Jan 2008) | 3 lines

some changes needed to get blender compiling with 64bit libs, use the systems Mesa now.


------------------------------------------------------------------------
r13126 | aligorith | 2008-01-04 12:26:11 +0100 (Fri, 04 Jan 2008) | 1 line

Typo in previous commit made it impossible to edit normal Object constraints
------------------------------------------------------------------------
r13125 | aligorith | 2008-01-04 12:21:50 +0100 (Fri, 04 Jan 2008) | 11 lines

== Local Constraints for Proxies (Peach Request) ==

Proxy protected bones can now get local (per-file) constraints added to them, which will be preserved after a file load. This is necessary for adding constraints to proxy-protected bones for special purposes while animating (i.e.  adding CopyLocs to IK-hand controls to pick up an object). 

These must be added after any constraints from the proxy, as proxy constraints may come and go without warning. As such, the UI forbids this from happening by removing the relevant button.

I've also made UI-changes to show which constraints come from the proxy (the buttons to move the constraint up/down and delete it, are replace with two icons - a the proxy 'ghost' icon and a lock). Also, trying to change any settings of proxy-protected constraint will show an error.


Notes:
* Object constraints are still not playing nice with proxies yet. They didn't before this commit either...
------------------------------------------------------------------------
r13121 | blendix | 2008-01-03 23:43:51 +0100 (Thu, 03 Jan 2008) | 7 lines


- Bugfix for flickering shadow with strand simplification.
- On non-edited hair, don't generate child particles for
  each step, only at the end.
- Small optimization in the kd-tree.


------------------------------------------------------------------------
r13113 | campbellbarton | 2008-01-03 15:53:44 +0100 (Thu, 03 Jan 2008) | 2 lines

Split guardedalloc print into 2 funcs, 1 that prints on errors, another then prints the memory blocks as a python dict, minor changes to help text

------------------------------------------------------------------------
r13112 | blendix | 2008-01-03 13:45:56 +0100 (Thu, 03 Jan 2008) | 4 lines


Bugfix for crash in strand simplification code.


------------------------------------------------------------------------
r13111 | aligorith | 2008-01-03 12:05:46 +0100 (Thu, 03 Jan 2008) | 1 line

Applied name-changes of Auto-Snap menu to NLA-Editor too. 
------------------------------------------------------------------------
r13110 | aligorith | 2008-01-03 12:03:03 +0100 (Thu, 03 Jan 2008) | 6 lines

A few PoseLib and Action-Editor tweaks:
* Removed "snap" from the names of the entries in the "Auto-Snap" menu for the Action Editor. "No Snap" is still "No Snap" though.
* PoseLib is now referred to as "Pose Library" in the interface
* Tidied up whitespace in editaction.c


------------------------------------------------------------------------
r13109 | campbellbarton | 2008-01-03 11:27:29 +0100 (Thu, 03 Jan 2008) | 4 lines

Added a note to blender help text about argument order (pitfall I ran into when rendering)
also removed FTYPE as an optional format (TODO - remove FTYPE from render output panel since you cant use FTYPE anymore and its not used internally, hint hint)


------------------------------------------------------------------------
r13108 | campbellbarton | 2008-01-03 10:41:19 +0100 (Thu, 03 Jan 2008) | 4 lines

patch from John Croisant [#8045] Allows muting NLA strips via Python API
https://projects.blender.org/tracker/index.php?func=detail&aid=8045&group_id=9&atid=127


------------------------------------------------------------------------
r13106 | schlaile | 2008-01-03 00:12:37 +0100 (Thu, 03 Jan 2008) | 6 lines

== Sequencer ==

Fix crash on duplicate since crop, transform + proxy weren't taken into
account.


------------------------------------------------------------------------
r13105 | schlaile | 2008-01-02 23:45:38 +0100 (Wed, 02 Jan 2008) | 5 lines

== Sequencer ==

forgot to swap input on "Over drop".


------------------------------------------------------------------------
r13104 | schlaile | 2008-01-02 23:39:46 +0100 (Wed, 02 Jan 2008) | 9 lines

== Sequencer ==

Fixed:

* crash with gamma tabs and blend modes
* crash on rect -> rect_float blend mode input
* alpha over and under have now input swapped


------------------------------------------------------------------------
r13103 | campbellbarton | 2008-01-02 22:40:05 +0100 (Wed, 02 Jan 2008) | 2 lines

trackball rotate patch from bebraw so using the Shift key works as expected.

------------------------------------------------------------------------
r13102 | schlaile | 2008-01-02 22:36:51 +0100 (Wed, 02 Jan 2008) | 6 lines

== Sequencer ==

Bugfix: fixes crash if lowest strip was in blend mode "ALPHA OVER" (combined
with other blends above)


------------------------------------------------------------------------
r13101 | campbellbarton | 2008-01-02 19:44:13 +0100 (Wed, 02 Jan 2008) | 2 lines

displace modifier wasnt loading in linked textures/objects. missing calls to expand_doit

------------------------------------------------------------------------
r13100 | blendix | 2008-01-02 18:57:18 +0100 (Wed, 02 Jan 2008) | 4 lines


Bugfix for memory leak with particle roughness vertex groups.


------------------------------------------------------------------------
r13099 | campbellbarton | 2008-01-02 18:40:53 +0100 (Wed, 02 Jan 2008) | 4 lines

added utility function Blender.GetPaths( absolute=0 ) 
returns a list of files this blend file uses, wraps bpath functions.


------------------------------------------------------------------------
r13098 | blendix | 2008-01-02 16:44:28 +0100 (Wed, 02 Jan 2008) | 4 lines


Bugfix for some strand simplification popping.


------------------------------------------------------------------------
r13096 | blendix | 2008-01-02 15:20:15 +0100 (Wed, 02 Jan 2008) | 5 lines


Bugfix for incorrect strand clipping in shadow maps, not sure yet it
actually fixes the problem.


------------------------------------------------------------------------
r13091 | schlaile | 2008-01-01 19:38:41 +0100 (Tue, 01 Jan 2008) | 5 lines

== Sequencer ==

Added some additional NULL-checks. (se->ibuf can be null, shame on me :)


------------------------------------------------------------------------
r13088 | campbellbarton | 2008-01-01 17:14:08 +0100 (Tue, 01 Jan 2008) | 3 lines

while trying to debug memory leaks, extended MEM_printmemlist to print a python dict and some lines at the end to format it in a useful way when run as a python script.


------------------------------------------------------------------------
r13086 | ton | 2008-01-01 15:13:37 +0100 (Tue, 01 Jan 2008) | 10 lines

Bugfix #8032

The warning i've coded 1.5 year ago, to warn when a .blend was written
by newer executable, failed on the .B.blend load case... UI not property
initialized then.

This at least fixes the crash, a menu won't pop up correctly though...
luckily the warning works for regular load or ctrl-x


------------------------------------------------------------------------
r13084 | schlaile | 2008-01-01 12:44:42 +0100 (Tue, 01 Jan 2008) | 40 lines

== Sequencer ==

Attention! Rather large sequencer rewrite:

* Implemented layer blending using implicit effects. (works like layers 
  in "The Gimp" or Photoshop.)
* Fixed Space-Bar start-stop in preview windows.
  You can start playback using spacebar within a preview-window and it _works_!
* Fixed Flip Y (didn't work for float)
* Fixed premul (didn't work for float)
* Added IPOs to _all_ tracks. In blend-mode REPLACE it drives the 
  "mul"-parameter in all other blend modes it drives the effect.
* you can meta single tracks.
* moved "mute track" from "M" to "Shift-M"
* added "Shift-L" for "lock track"
* changed inner workings for Metas. Now all ImBufs have to use the
  reference counting mechanism. (Only interesting for coders :)

!!! Really important change, that affects current files!

Since you can mute tracks and now there is real layer blending capabilities
in place, I changed the silly behaviour that chose the output track.

Old behaviour: if we have an effect track visible, use the uppermost effect
track. If there is _no_ effect track visible, use the lowest input track.

New behaviour: always use the uppermost track. With blend modes active: 
work our way down starting from the uppermost track to the first 
"replace"-mode track. This is the way the gimp, photoshop, basically _all_
other applications work...

So if this change ruins your day: please try to fix your files using
"mute". If this doesn't work out, I can still restore the old behaviour,
but I really hope, that this is _not_ necessary!

Rational: most people won't get affected by this change, since you can't
really do anything usefull with the (old) sequencer without at least one 
effect track and then you are on the safe side...


------------------------------------------------------------------------
r13079 | campbellbarton | 2008-01-01 03:20:13 +0100 (Tue, 01 Jan 2008) | 3 lines

find external files wasnt finding the biggest screen area for the file selector,
other minor changes. renamed "Dump Screen" to "Screenshot" in the file menu.

------------------------------------------------------------------------
r13078 | jhk | 2008-01-01 02:00:05 +0100 (Tue, 01 Jan 2008) | 1 line

Recoded particles initial rotations to allow much more flexible settings.
------------------------------------------------------------------------
r13077 | campbellbarton | 2008-01-01 01:56:22 +0100 (Tue, 01 Jan 2008) | 2 lines

more tooltip changes

------------------------------------------------------------------------
r13076 | campbellbarton | 2007-12-31 23:18:04 +0100 (Mon, 31 Dec 2007) | 2 lines

Fix for check missing files, edited some tooltips - (Show key shortcuts for PLAY and RENDER)

------------------------------------------------------------------------
r13074 | campbellbarton | 2007-12-31 13:47:10 +0100 (Mon, 31 Dec 2007) | 3 lines

made dupli's respect render and view restrict flags (from the outliner)
This means one group can contain proxy objects to display in the 3d view as well as hi quality models that are only rendered. - again for peach tree's.

------------------------------------------------------------------------
r13073 | campbellbarton | 2007-12-31 13:13:30 +0100 (Mon, 31 Dec 2007) | 2 lines

disallow editing the path of an indirectly linked library in the outliner

------------------------------------------------------------------------
r13072 | campbellbarton | 2007-12-31 13:03:26 +0100 (Mon, 31 Dec 2007) | 7 lines

Improvements to File->External Data->Make Paths Relative & Make Paths Absolute,
made when testing peach blend files wont have path issues when sent to the renderfarm.
* log failed path conversions
* clean the path so //foo/../foo/ is removed (not sure why but some peach files had this problem)
Also added a function to util.c 
BLI_cleanup_file, same as BLI_cleanup_dir but dosnt add a slash at the end.

------------------------------------------------------------------------
r13067 | aligorith | 2007-12-31 00:27:35 +0100 (Mon, 31 Dec 2007) | 4 lines

Routine purge of compiler warnings
* Most were uninitialised vars
* Fixed whitespace in a few places 
* The change I made in rendercore.c -> do_bake_shade() was for an uninitialised var, but I hope it does't cause any rendering errors...
------------------------------------------------------------------------
r13064 | jhk | 2007-12-30 22:10:08 +0100 (Sun, 30 Dec 2007) | 2 lines

- Reactor particle target text was hidden in ui by distribution buttons.
- Particle system tab had wrong coloring of buttons.
------------------------------------------------------------------------
r13060 | khughes | 2007-12-30 17:47:38 +0100 (Sun, 30 Dec 2007) | 5 lines

Python API
----------
Fix warning about implicit declaration of function ‘set_mipmap’.


------------------------------------------------------------------------
r13059 | khughes | 2007-12-30 17:41:31 +0100 (Sun, 30 Dec 2007) | 6 lines

Python API
----------
tex->image attribute setter needed call to BKE_image_signal(), otherwise
image would not appear when render.


------------------------------------------------------------------------
r13057 | aligorith | 2007-12-30 13:08:28 +0100 (Sun, 30 Dec 2007) | 23 lines

== PoseLib - Overhauled Implementation ==

Based on feedback from Ton, I've recoded the way "PoseLibs" are implemented/exposed. Therefore, quite a bit of code has been changed to fit this in better.

Now, ANY ACTION can be a "PoseLib". A set of Markers which belong to the Action (it's taken a year, but they're finally back), are used to tag "poses" in the Action. These markers are shown using diamond-shaped blue icons (designed by Matt Ebb) in three shades - unselected/normal, selected, active. 

Notes:
* Each Armature Object has an Action which acts as a PoseLib.
* Improved UI presented in buttons panel for this
-- added proper buttons for action assigning
-- renamed "Validate PoseLib" to "Auto-Sync PoseLib" (this option auto-tags poses based on keyframes found) 

Like in the 3d-view, use the hotkeys:
* Shift-L to add a local marker 
* Ctrl-Shift-L to rename a local marker
* Alt-L to delete selected local markers

Note: transforms, etc. are not currently available with these markers 

== PoseLib Preview ==
Added a few features here:
* Left/Right-Arrow keys now change the poses too (previous and next respectively)
* Up/Down-Arrow keys also change the poses, but "jump" to a pose 5 steps away in their respective directions
------------------------------------------------------------------------
r13041 | broken | 2007-12-29 06:29:08 +0100 (Sat, 29 Dec 2007) | 1 line

Reverting mistaken CMakeLists.txt commit, woops!
------------------------------------------------------------------------
r13040 | broken | 2007-12-29 06:17:19 +0100 (Sat, 29 Dec 2007) | 5 lines

* Displacement map baking

This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:

http://www.blender.org/development/current-projects/changes-since-244/render-baking/
------------------------------------------------------------------------
r13039 | broken | 2007-12-29 06:16:00 +0100 (Sat, 29 Dec 2007) | 5 lines

* Displacement map baking

This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:

http://www.blender.org/development/current-projects/changes-since-244/render-baking/
------------------------------------------------------------------------
r13038 | campbellbarton | 2007-12-28 22:42:01 +0100 (Fri, 28 Dec 2007) | 2 lines

forgot to test if the paths absolute in last commit

------------------------------------------------------------------------
r13037 | campbellbarton | 2007-12-28 22:16:00 +0100 (Fri, 28 Dec 2007) | 8 lines

 	
Fix for [#7866] Relative Path to library from command line
http://projects.blender.org/tracker/index.php?func=detail&aid=7866&group_id=9&atid=125

where linked relative blend files would not load when the absolute path was not given.
Solved by constructing the absolute path from the command line argument given.


------------------------------------------------------------------------
r13036 | ton | 2007-12-28 20:38:47 +0100 (Fri, 28 Dec 2007) | 7 lines

Error in previous commit: the texture filter size should not be scaled
at all if you use new 'minimal' option. The new option works much nicer
if it only sets the minimum. (use texture with 'refl' map)

Added option to env map too!


------------------------------------------------------------------------
r13035 | ton | 2007-12-28 19:58:40 +0100 (Fri, 28 Dec 2007) | 11 lines

And there's another annoyance I got poked for:

Image texture "Filter size" was not well usable for making the
appearance soft filtered, this because it multiplied the sample 
values, and such values could be extreme small.

Added next to "Filter" buton a new "Min" option, which enforces
a filter size to be a minimum of 'filter' pixels in size.



------------------------------------------------------------------------
r13034 | campbellbarton | 2007-12-28 18:10:55 +0100 (Fri, 28 Dec 2007) | 6 lines

Added a new option for 'Apply Object', (Ctrl+A) Called "Apply Visual Transform to Loc/Size/Rot"
Since there was no easy way to apply a constraint's transformation back to the original objects transformation.

Also adjusted how Apply Scale/Rot works so that it wont change some objects then raise an error and leave others unchanged, better to check first so it changes everything or nothing.


------------------------------------------------------------------------
r13033 | jhk | 2007-12-28 17:13:52 +0100 (Fri, 28 Dec 2007) | 4 lines

- particle size changes weren't updated without a cache clear
- protecting the particle cache now actually protects the cache a bit better and not just prevent the clear button from working
- cache was being used for "none" physics.
- a bad tooltip for "reactor initial velocity"
------------------------------------------------------------------------
r13032 | ton | 2007-12-28 14:11:27 +0100 (Fri, 28 Dec 2007) | 6 lines

Render feature: the END OF DIFFUSE BANDING!
http://www.blender.org/development/current-projects/changes-since-244/rendering-features/

Thanks Andy for poking and analysing, and Nathan for feedback!


------------------------------------------------------------------------
r13031 | campbellbarton | 2007-12-28 13:11:45 +0100 (Fri, 28 Dec 2007) | 2 lines

small edits noticed when using linked objects, - Make undo string say linked and disallow editing PassIndex and changing the Parent of linked objects.

------------------------------------------------------------------------
r13030 | aligorith | 2007-12-28 10:57:06 +0100 (Fri, 28 Dec 2007) | 4 lines

== Action Editor - Header Buttons Shuffle ==

* Changed the order of Copy/Paste and AutoSnap buttons
* Auto-snap menu now has more descriptive names (off --> No Snap)
------------------------------------------------------------------------
r13029 | bebraw | 2007-12-28 09:04:37 +0100 (Fri, 28 Dec 2007) | 4 lines

Bugfix - Socket selection status was not updated properly on file load
This commit adds a missing initialization that caused "Toggle Link (f key)"
not to work properly in case a file with an existing selection status was
opened.
------------------------------------------------------------------------
r13028 | campbellbarton | 2007-12-27 23:58:32 +0100 (Thu, 27 Dec 2007) | 3 lines

Support for recursive dupli's, now dupliverts and duplifaces can instance empties that intern instance dupligroups.


------------------------------------------------------------------------
r13027 | bjornmose | 2007-12-27 23:48:30 +0100 (Thu, 27 Dec 2007) | 3 lines

fix .. hum not really a bug but waste of CPU
remove 6 multiplications and one square root in core spring calculation .. called for every solver step try 

------------------------------------------------------------------------
r13024 | bebraw | 2007-12-27 21:36:17 +0100 (Thu, 27 Dec 2007) | 27 lines

Bilateral Blur Node
Bilateral Blur node allows the user to blur images while retaining their
sharp edges. Blurring can be controlled by following controls:
*Iterations
*Color Sigma
*Space Sigma

Also image input to blur and a determinator image is provided. The node produces
a blurred image as its output.

The more iterations are provided, the smoother the result. Use color and space
sigmas to control the amount of blur. One way to use the determinator input is
to feed a mix (add) of Z and normal passes to it.

Examples of usage:
Ambient Occlusion smoothing - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_01.blend
Blurry Refraction - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_02.blend
Smoothed shadows and smoothed Ambient Occlusion combined - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_03.blend

If you check out the examples, render the image and alter the values to see how 
they affect.

More information about the algorithm can be found at 
http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html .

Thanks to Vilem Novak for contributing the patch.

------------------------------------------------------------------------
r13023 | campbellbarton | 2007-12-27 21:33:29 +0100 (Thu, 27 Dec 2007) | 6 lines

DupliGroups can now instance duplifaces and duplierts - not nice code, but this should help a move to proper recursive dupli's.
This is needed for peach project leaves on tree's

(space.c better tooltip for mipmaps)


------------------------------------------------------------------------
r13020 | bebraw | 2007-12-27 15:19:11 +0100 (Thu, 27 Dec 2007) | 44 lines

Directional Blur Node
Directional Blur node allows the users to do various blur operations on the input 
image. It essentially offers three different kind of ways of blurring in one node.
It is possible to blur using a certain direction, spin and zoom. These three ways 
can be used in conjunction.

The node contains following controls:
*Iterations, Wrap
*Center: X, Y
*Distance, Angle
*Spin
*Zoom

Iterations is used to determine the smoothness of the result. The more iterations,
the smoother result. Low values are good for preview.

Wrap means that the image is wrapped as if it was tiled on both x and y directions.
To see better what this means, try it with spin for instance.

Center values (X and Y) determine the location which is used as a pivot point for
the operations. It is center (0.5) of the image by default.

Distance and angle are used to adjust directional blur. The result can be described
as a sweep that varies based on given distance (bigger distance, longer sweep) and
angle. Angle is given in degrees.

Spin produces rotating blur based on given angle. Yet again it is in degrees. Also
negative values work.

Zoom causes the image to be zoomed towards set center point (Center values).

Thanks to Alfredo de Greef (eeshlo) for contribution.

Possible development ideas:
*Make an algorithm to extend image in case spin is used. Extend would temporarily
change the size of the canvas of the input image. Canvas would be filled based on
colors on the edges of the input image. After the blur operation has been done,
the image would be cropped back to normal size. The advantage of this would be nicer
result of spin (no problems with image size) on a computational cost.
*Make values animatable. This is something that is better solved on more general
level. ("everything is animatable" paradigm)
*Provide an option to calculate automatic value for iterations. A good value that
produces a smooth result could be calculated based on direction deltas. This would be
useful in conjuction of animatable values.
------------------------------------------------------------------------
r13019 | campbellbarton | 2007-12-27 14:35:14 +0100 (Thu, 27 Dec 2007) | 3 lines

==Python API==
added mipmap as an option for Blender.Get/Set

------------------------------------------------------------------------
r13018 | aligorith | 2007-12-27 12:20:37 +0100 (Thu, 27 Dec 2007) | 13 lines

== PoseLib - Bugfixes ==

* Fixed crash using Interactive Preview, on an armature without a PoseLib 

* Cancelling Interactive Preview now correctly restores the original Pose 

* Interactive Preview now sets the correct active pose after it is run

* Interactive Preview now also updates the buttons window after it is run

* Clicking on the "New PoseLib" button now creates a new PoseLib action, even when one existed before

* Poses can be applied using the Pose browsing menu (i.e. when a menu item from that list is clicked, that pose is assigned)
------------------------------------------------------------------------
r13017 | bebraw | 2007-12-27 11:17:33 +0100 (Thu, 27 Dec 2007) | 22 lines

Toggle links tool for Node Editor
This commit adds a new tool, Toggle Links, to the node editor. This tool
allows the user to toggle the status (linked/not linked) between desired
sockets. The tool can be used either by using the f key or the menus.

This functionality is analogue to one found in object editing modes except
for its additional toggle functionality.

To use this tool, the user has to first select an input and an output socket.
Selecting is done by clicking with right mouse button on a socket. After the 
tool has been invoked, the link between those two sockets is toggled. The 
result may vary based on existing linkage.

There can be only one input and one output selected at maximum in a node 
tree. This means that if the user selects a socket while one of the same 
type is already selected, the old one will be deselected.

The tool complements the current way of connecting nodes. One possible use
for it is to use it to review output of nodes by using a viewer node. Just
select wanted input socket of a viewer node, set it visible and use selection 
of an output socket in conjuction with f key to show the output in the viewer
node. Select another output and hit f to see its output and so on.
------------------------------------------------------------------------
r13016 | aligorith | 2007-12-27 09:36:27 +0100 (Thu, 27 Dec 2007) | 5 lines

== PoseLib - Added 2 features ==

* When previewing poses, it is now possible to manipulate the view to look at the pose from another angle. It is a known issue, that the normal header displays when using the MMB to do so.

* Added a tool to "validate" or sync its PoseLib data to the keys stored in the Action.
------------------------------------------------------------------------
r13015 | nicholasbishop | 2007-12-27 08:27:03 +0100 (Thu, 27 Dec 2007) | 5 lines

== Multires ==

Fixed a crash on adding a UV layer to a multires mesh while in editmode.


------------------------------------------------------------------------
r13014 | nicholasbishop | 2007-12-27 00:08:00 +0100 (Thu, 27 Dec 2007) | 5 lines

== Sculpt ==

Fixed a memory leak when using the interactive brush resize tool.


------------------------------------------------------------------------
r13013 | nicholasbishop | 2007-12-26 23:40:56 +0100 (Wed, 26 Dec 2007) | 5 lines

== Sculpt ==

Fixed bad level calls in sculptmode.


------------------------------------------------------------------------
r13012 | sirdude | 2007-12-26 22:46:30 +0100 (Wed, 26 Dec 2007) | 20 lines

This is patch: [#7975] imbuf for DDS textures: improved read support and a few bugs fixed

Kent

Notes From the author:
The attached patch syncs the DDS code in Blender with the latest revision 
(324) of the nvidia texture tools. This fixes a few minor issues and adds 
support for a more types of DDS textures, in particular uncompressed textures 
that don't have the standard 16, 24, or 32 bits per pixel.

Note: I have started using the nvidia texture tools convention for naming 
integer types (uint, uint16, uint8, uint64 etc.) because doing so makes it 
much easier to merge patches from upstream. Since the code is compiled 
separately from the rest of Blender, this likely does not pose a problem. 
However, if there turns out to be a good reason for avoiding those nvidia type 
names from upstream, I'd be happy to fix it.

Regards,
Amorilia

------------------------------------------------------------------------
r13011 | nicholasbishop | 2007-12-26 21:43:58 +0100 (Wed, 26 Dec 2007) | 5 lines

== Multires ==

Fixed multires_update_colors so it ignores the editmesh during render.


------------------------------------------------------------------------
r13010 | schlaile | 2007-12-26 20:30:49 +0100 (Wed, 26 Dec 2007) | 17 lines

== Sequencer ==

Moved status info bar into panels. It was always shown on the wrong place...
Added anim-startofs and anim-endofs, so that one can specify the range of 
_input_ that should be used. 

There is a subtle difference to start-ofs and end-ofs,
which will show, when you use "Reverse Frames" or "Speed Control". Both
effects operate on the input-range and _not_ on the display range! Now
you can control both in a comfortable way. Only thing missing: a button
to copy start-ofs and end-ofs to anim-startofs and anim-endofs.
(Andy: that was the feature you missed, when storyboarding with the sequencer
and the speed control effect :)

Also: added File-Name and Dir-Name to redirect input as needed.


------------------------------------------------------------------------
r13009 | elubie | 2007-12-26 20:19:51 +0100 (Wed, 26 Dec 2007) | 4 lines

== MSVC 7.1 projectfiles ==
- added missing files to projectfiles
- cleaned up thumbnail creation to avoid dependency on BKE_ 

------------------------------------------------------------------------
r13008 | bebraw | 2007-12-26 18:04:21 +0100 (Wed, 26 Dec 2007) | 4 lines

Node curves to maintain handle status after adding a control point
Node curves maintain handles status (normal, auto, vector) even after adding
a control point now. This makes the behavior the same as in case of removing a control
point. Previously the status of handles was reseted.
------------------------------------------------------------------------
r13007 | ton | 2007-12-26 17:15:27 +0100 (Wed, 26 Dec 2007) | 7 lines

Bugfix, Peach collection:

- new "preview" image in material caused crash because copy/paste material
  didn't support it yet.



------------------------------------------------------------------------
r13006 | schlaile | 2007-12-26 17:07:16 +0100 (Wed, 26 Dec 2007) | 10 lines

== Sequencer ==

Moved N-keys dialog into panel (sub panel of "Scene")
_much_ better :)

Since UI-code isn't directly my main field of coding, please check
thoroughly...



------------------------------------------------------------------------
r13005 | joeedh | 2007-12-26 16:25:30 +0100 (Wed, 26 Dec 2007) | 5 lines

=Particle bugfix=

Hair keys were saved via a non-sdna function, which resulted
in endian problems.  As ton pointed out on irc, he invented
sdna for a reason!
------------------------------------------------------------------------
r13004 | aligorith | 2007-12-26 12:17:26 +0100 (Wed, 26 Dec 2007) | 18 lines

== PoseLib - Pose-Library Tool for Blender ==
"A slightly late Christmas present for the Animators out there :-)"

This tool allows animators to store frequently used poses in an action, and be able to label those poses to help them retrieve them later. In a way, it acts as a glorified clipboard for poses.

One of the cool features with this is the ability to select which stored pose to use interactively in the 3d-view. Once a few poses have been stored in the PoseLib, simply use the "Ctrl L" hotkey to start previewing. Use the Mousewheel or the Page Up/Down keys to change poses, and confirm/cancel the preview in the same way as you do for transforms.

Usage Notes:
* Each Armature may get its own PoseLib. PoseLibs are simply actions with extra data, so they can get relinked.
* Manually editing actions used as PoseLibs is not a good idea, as some data may not be able to be found. Tools to automagically find poses in an action could be investigated...
* PoseLib will only apply/retrieve poses to/from selected bones
* A basic UI for this can be found in the "Links and Materials" panel. Most of the PoseLib tools are presented there.

Useful Hotkeys (also found in Pose->PoseLib menu):
* Ctrl L  - interactively preview poses
* Shift L - add a new pose or replace an existing pose in the PoseLib with the current pose
* Ctrl Shift L - rename an existing pose in the PoseLib 
* Alt L - remove a pose from the poselib.c
------------------------------------------------------------------------
r13003 | joeedh | 2007-12-26 11:59:08 +0100 (Wed, 26 Dec 2007) | 4 lines

=Scons ffmpeg link order update=

Update link order for ffmpeg on win32, patch provided by
Anders Nor "Debolaz" Berle on irc.
------------------------------------------------------------------------
r13002 | nicholasbishop | 2007-12-26 11:43:51 +0100 (Wed, 26 Dec 2007) | 5 lines

== Multires ==

Fixed bad level calls within multires usage.


------------------------------------------------------------------------
r13001 | nicholasbishop | 2007-12-26 10:39:15 +0100 (Wed, 26 Dec 2007) | 5 lines

== Multires ==

Cleaned up bad level calls for multires; moved most of multires functions to blenkern, where they should have been in the first place. Functionality of the tool is unchanged.


------------------------------------------------------------------------
r13000 | theeth | 2007-12-26 04:06:59 +0100 (Wed, 26 Dec 2007) | 9 lines

== Transform: Warp ==

Adding special hotkey (MMB) to reverse the direction of the warp.

Normal input is 0..360 mapped to the horizontal position of the mouse on the 3D view (the 3D view becomes a sort of giant horizontal slider), pressing MMB reverses the value to 0..-360 and back if you press it again.

I've used MMB mostly because it's unused in Warp, easily accessible and already used to switches mode for Shear (shear x/y).

Indirectly suggested by a user question on ba.
------------------------------------------------------------------------
r12999 | schlaile | 2007-12-25 21:31:07 +0100 (Tue, 25 Dec 2007) | 7 lines

== Sequencer ==

* Make Lock flag work for metastrips
* Fixes: flags are cleared on exit of metastrips
* Fixes (hopefully): red picture on big endian


------------------------------------------------------------------------
r12998 | schlaile | 2007-12-25 16:31:36 +0100 (Tue, 25 Dec 2007) | 24 lines

== Sequencer (includes a little bit of Peach :) ==

Reworked image / movie loading, to add the following features:

- Mute strip
- Lock strip (peach request :)
- Crop / Translate _before_ image rescaling
- N-keys editing of start, startofs, endofs, startstill, endstill

Added (currently disabled) data structures for

- proxy support
- strip blend modes (currently only "REPLACE" works, which always did :)

Planed:

- automatic FPS rescaling
- command keys to lock/mute a bunch of selected strips 
  (which would complete the peach request to lock tracks)

Caveats: now the N-keys dialog is four-tabbed. I think, we should move those
tabs into the panels dialog in the future...


------------------------------------------------------------------------
r12997 | joeedh | 2007-12-25 07:48:45 +0100 (Tue, 25 Dec 2007) | 12 lines

=Scons ffmpeg update and avi fix=

Updated scons to work with the ffmpeg binaries in
lib/windows/gcc again.  Also fixed a bug reported by
Debolaz on irc.  Blender's internal avi reading (which can
only read simple formats like motion jpeg) was telling the
video code it could read all avis, without checking their
codec.

To fix this, I copied AVI_open_movie(), and modified it to
to replace AVI_is_avi().  Now it properly checks the codec,
and validates the header.
------------------------------------------------------------------------
r12989 | theeth | 2007-12-24 18:35:54 +0100 (Mon, 24 Dec 2007) | 3 lines

== Skeletor ==

Commenting debug code that would output the harmonic weight to vertex color.
------------------------------------------------------------------------
r12988 | campbellbarton | 2007-12-24 18:07:52 +0100 (Mon, 24 Dec 2007) | 3 lines

Added 'File->External Data->Make all files Absolute'
OpenGL stamp also wasnt checking correctly (own error)

------------------------------------------------------------------------
r12986 | campbellbarton | 2007-12-24 12:43:09 +0100 (Mon, 24 Dec 2007) | 2 lines

patch from Vladimir Espinosa for keying object layers from python

------------------------------------------------------------------------
r12985 | campbellbarton | 2007-12-24 11:25:35 +0100 (Mon, 24 Dec 2007) | 6 lines

old bug in python api, Blender.Scene.Unlink() did not check if screens were using this scene or if it was used as a set elsewhere.

In both cases this resulted in invalid pointers and crashes.
Also was not freeing nodes or sequence data.


------------------------------------------------------------------------
r12984 | theeth | 2007-12-24 00:41:16 +0100 (Mon, 24 Dec 2007) | 3 lines

Missing change in previous BPy revert.

This was only the added build options in scons, so no harm done.
------------------------------------------------------------------------
r12983 | schlaile | 2007-12-23 22:27:12 +0100 (Sun, 23 Dec 2007) | 6 lines

== Sequencer ==

Fixed IPO calculation for threaded prefetch rendering. (do_seq_ipo used
global CFRA tststs...)


------------------------------------------------------------------------
r12982 | schlaile | 2007-12-23 20:21:43 +0100 (Sun, 23 Dec 2007) | 8 lines

== Sequencer ==

[#7861] Sequencer segfaults when trying to add images

Fixed some _really_ stupid bugs in transform_seq, that made it segfault
if one selected 0 images.


------------------------------------------------------------------------
r12981 | schlaile | 2007-12-23 19:44:32 +0100 (Sun, 23 Dec 2007) | 8 lines

== FFMPEG ==

Fixes [#7475] no video as background 
libswscale sets the alpha channel to 0 by default... grmbl.
Added a workaround. Big endian users please complain, if it doesn't work.



------------------------------------------------------------------------
r12980 | schlaile | 2007-12-23 18:27:06 +0100 (Sun, 23 Dec 2007) | 7 lines

== Playback (peach request) ==

Correct playback frames per second when "Play" is pressed. (Play spawns a new instance of blender, it could pass an argument that sets the frames per second)

(double credit :)


------------------------------------------------------------------------
r12979 | schlaile | 2007-12-23 18:01:44 +0100 (Sun, 23 Dec 2007) | 7 lines

== Sequencer (Peach request) ==

Make the "Sync" button work when sound is disabled, Animators use this as a way to play animations at the right speed, could be renamed to "Drop Frames" and work even when blender built without audio enabled.

(do not forget to give credit to me :)


------------------------------------------------------------------------
r12977 | nicholasbishop | 2007-12-23 04:03:54 +0100 (Sun, 23 Dec 2007) | 5 lines

Fixed bug #7981, Crash with multires

Caused by incorrect handling of multires with orco mapping


------------------------------------------------------------------------
r12975 | campbellbarton | 2007-12-22 18:16:06 +0100 (Sat, 22 Dec 2007) | 4 lines

Text draw assumed curarea->spacedata.first was always a text space - which in some cases is not correct.
This fixes a crash where python changing screens then raising an error would cause a crash.


------------------------------------------------------------------------
r12974 | briggs | 2007-12-22 13:05:27 +0100 (Sat, 22 Dec 2007) | 5 lines

-> Alpha Clip Tweak

Apparently on some cards/drivers setting alpha clip to 1.0 will make every 
pixel get clipped out regardless of its associated alpha value being 1.0. 
Added a fix for this.
------------------------------------------------------------------------
r12973 | campbellbarton | 2007-12-22 11:30:50 +0100 (Sat, 22 Dec 2007) | 3 lines

small cleanup for sequencer drawing,
text isn't drawn for strips when too narrow and some improvements to the strip draw loop.

------------------------------------------------------------------------
r12972 | aligorith | 2007-12-22 04:47:19 +0100 (Sat, 22 Dec 2007) | 3 lines

Bugfix #7854: Adding Meta/Text Object causes Blender to go into EditMode (setting disabled)

This was caused by a few missing checks for this setting in the appropriate places.
------------------------------------------------------------------------
r12969 | blendix | 2007-12-21 11:57:02 +0100 (Fri, 21 Dec 2007) | 6 lines


Bugfix for strand simplification, without random distribution enabled.
Bugfix (hopefully) for missing strands on render bug, probably related
to preview render.


------------------------------------------------------------------------
r12968 | campbellbarton | 2007-12-21 10:30:37 +0100 (Fri, 21 Dec 2007) | 2 lines

-m64 somehow made opengl headers have conflicting values when compiling.

------------------------------------------------------------------------
r12967 | theeth | 2007-12-21 02:53:55 +0100 (Fri, 21 Dec 2007) | 11 lines

== Transform feature test ==

Related to bug [#7792] ("Around Selection" user preference doesn't work for linked objects), this commit makes Linked objects be considered in Transform.

This has a couple of effects:
Linked objects are used to calculate the center of transformation and such but are skipped during the actual transformation.
Linked objects can be used as orbiting targets (see previously mentionned bug).

The offshot is that selecting a linked object and hitting G doesn't cancel immediately as it did before (this could eventually be worked around, but I don't think it's that much of a problem. Disagreeing people should express themselves).


------------------------------------------------------------------------
r12965 | sirdude | 2007-12-20 20:39:21 +0100 (Thu, 20 Dec 2007) | 5 lines

Need to propigate -m64 flags to compile verse.

Kent


------------------------------------------------------------------------
r12964 | nicholasbishop | 2007-12-20 20:07:47 +0100 (Thu, 20 Dec 2007) | 10 lines

== Sculpt Mode ==

Applying Stephan Kassemeyer's patch (#6750) to add a curve modifier for sculpting.

A few changes from the patch:
* The default curve is closer to the old behavior
* Fixed loading files already saved in sculpt mode
* Changed the interface; split the brush texture controls off into a third sculpt tab, and put the curve (and curve reset) into the Brush tab.


------------------------------------------------------------------------
r12963 | theeth | 2007-12-20 19:41:11 +0100 (Thu, 20 Dec 2007) | 3 lines

Reset GL lights are reloading defaults with Ctrl-X.

GL Lights defaults are read back from the file, they just weren't applied until the next recalc call.
------------------------------------------------------------------------
r12962 | jesterking | 2007-12-20 18:52:57 +0100 (Thu, 20 Dec 2007) | 3 lines

A little christmas present for the lazy coders.
In your user-config.py you can now set BF_FANCY='false' and enjoy the... lack of colors

------------------------------------------------------------------------
r12961 | blendix | 2007-12-20 18:08:17 +0100 (Thu, 20 Dec 2007) | 5 lines


Bugfix for strand simplification commit, made child particles
from particles crash.


------------------------------------------------------------------------
r12960 | blendix | 2007-12-20 18:04:10 +0100 (Thu, 20 Dec 2007) | 8 lines


Particle Edit Mode
==================

- Added a Remove Doubles tool, to remove two particles with the
  same root position.


------------------------------------------------------------------------
r12959 | blendix | 2007-12-20 17:35:27 +0100 (Thu, 20 Dec 2007) | 22 lines


Strand Render Simplification
============================

- Strand render now has options to remove child strands as
  the object's faces becomes smaller, in the Simplification
  particle panel.
- "Reference Size" is the approximate size of the object on
  screen, after which simplification starts.
- "Rate" is how fast strands are removed.
- "Transition" is the percentage of strands being faded out as
  they are removed.

- Another "Viewport" option removes strands on faces that are
  outside of the viewport. "Rate" again controls how fast these
  are removed.

- Strand render in Blender Units now has an adjustable minimum
  width. Below this minimum width, strands start fading out
  instead of getting smaller.


------------------------------------------------------------------------
r12958 | campbellbarton | 2007-12-20 17:33:45 +0100 (Thu, 20 Dec 2007) | 2 lines

change default solaris gcc args, use -m64 for 64bit arch, use -O2 rather then -O1

------------------------------------------------------------------------
r12957 | campbellbarton | 2007-12-20 13:37:15 +0100 (Thu, 20 Dec 2007) | 2 lines

hopefully fix compiling on win32

------------------------------------------------------------------------
r12956 | campbellbarton | 2007-12-20 11:52:56 +0100 (Thu, 20 Dec 2007) | 2 lines

make relative paths wasnt working, also disallowed it when the blend file isnt saved

------------------------------------------------------------------------
r12955 | campbellbarton | 2007-12-20 11:38:01 +0100 (Thu, 20 Dec 2007) | 5 lines

BLI_makestringcode dosnt need the first value to be a copy of G.sce since its a "const char"

Removed own script release/scripts/image_find_paths.py since last commit replaced its functionality.


------------------------------------------------------------------------
r12954 | campbellbarton | 2007-12-20 11:27:13 +0100 (Thu, 20 Dec 2007) | 10 lines

Render-farm and file utils for dealing with external data.
Useful to use before sending blend files to the renderfarm.

* Make all Paths Relative - makes any absolute paths relative.
* Report Missing Files - creates a textblock listing all missing files.
* Find Missing Files - searches a directory recursively for filenames that dont exist at their current path.

Added a path looper type and functions that currently loop on image, sound, font and external library paths.


------------------------------------------------------------------------
r12952 | aligorith | 2007-12-20 00:29:42 +0100 (Thu, 20 Dec 2007) | 7 lines

== Action Editor - Show Hidden Channels ==

This option (found in the View menu) shows all Action Channels, regardless of whether the data they represent is visible or not. 
It's better than having to have multiple pinned Action Editors open to be able to move all keyframes of all bones at once (when blocking for example).


Also, fixed some compile errors caused by previous commit...
------------------------------------------------------------------------
r12951 | schlaile | 2007-12-20 00:14:14 +0100 (Thu, 20 Dec 2007) | 14 lines

== Imbuf ==

The TIFF reader did error handling with assert which is a pretty bad
idea (tm).

This fixes the assert-crash, that the TIFF reader triggers, if one tries
to open a RAW-DV file within the compositor. (File extension is only
two characters long, which is enough for an assert... EVEN IF IT ISN'T
A TIFF FILE, WE ARE GOING TO OPEN. GRMBL)

Removed all other assertions and added proper error handling.
(using STDERR, where it belongs.)


------------------------------------------------------------------------
r12950 | schlaile | 2007-12-19 23:48:00 +0100 (Wed, 19 Dec 2007) | 8 lines

== FFMPEG ==

Fix for broken RAW-AVI support of ffmpeg. (libswscale is a little bit
over optimized...)

Fixes probably also Bug #7475.


------------------------------------------------------------------------
r12949 | aligorith | 2007-12-19 23:37:38 +0100 (Wed, 19 Dec 2007) | 5 lines

== Action Editor - Copy/Paste ==

Now the Copy/Paste functionality stores more info about where keyframes came from. This allows users to copy full poses in the Action Editor and paste them in another action. 

Peach request/bugfix for William. 
------------------------------------------------------------------------
r12948 | khughes | 2007-12-19 19:17:56 +0100 (Wed, 19 Dec 2007) | 6 lines

Rendering
--------
Bugfix #4863: AVI jpg would crash on really small images (less than 16x16).
Change it to pop up an error dialog and abort.


------------------------------------------------------------------------
r12947 | blendix | 2007-12-19 14:11:54 +0100 (Wed, 19 Dec 2007) | 7 lines


Bugfix: prevention of redraw of the 3d view or other windows while
rendering to the image editor missed one case, could result in
modifiers and particles being evaluated with G.rendering == 1 but
still showing in the viewport.


------------------------------------------------------------------------
r12946 | blendix | 2007-12-19 13:12:38 +0100 (Wed, 19 Dec 2007) | 6 lines


Bugfix for hinge bone transform for multiple selected bones: now
only transforms the children too if they are connected, otherwise
they get transformed twice.


------------------------------------------------------------------------
r12945 | aligorith | 2007-12-19 11:52:26 +0100 (Wed, 19 Dec 2007) | 4 lines

== Action Editor - Long Keyframes  ==

Now Long-Keyframes in the Action Editor (yellow/pink strips between keyframes) take into account whether the keyframe handles which help control the interpolation between the two keyframes stay at the same value as the keyframes do. 
This way, long keyframes are not drawn when the keys have the same value, but there's still movement between them.
------------------------------------------------------------------------
r12944 | aligorith | 2007-12-19 11:03:54 +0100 (Wed, 19 Dec 2007) | 3 lines

== Action Editor - Pinned Actions Bugfix ==

When using a pinned action, "Add New" now makes a new action. This new action is only assigned to the current Action Editor (i.e. not to any active object, as one might not exist, or might not be the object that the action is related to). 
------------------------------------------------------------------------
r12943 | aligorith | 2007-12-19 09:48:41 +0100 (Wed, 19 Dec 2007) | 4 lines

Changed the default hotkeys for playing animations to be more useful IMO (ported from AnimSys branch):
* Alt-A now only plays the animation in the active space, if that space is a 3D-view. Otherwise, it plays the animation in all spaces. The old behaviour simply didn't make sense for animation editors, where you'd simply see the current-frame marker moving...

* Alt-Shift-A now plays the animation in all spaces regardless of whether they are active (including 3d-views)
------------------------------------------------------------------------
r12942 | campbellbarton | 2007-12-19 08:44:37 +0100 (Wed, 19 Dec 2007) | 2 lines

Problem with OBJ import found by Mark Ivey - would not import an obj if all verts were int values.

------------------------------------------------------------------------
r12941 | bdiego | 2007-12-19 06:37:57 +0100 (Wed, 19 Dec 2007) | 14 lines

Add support for stampinfo to the JPEG format.

This is the review of the patch:
	[#5485] Invisibly stamp render information into jpg and png files.
		by Rob Hausauer (paprmh)

NOTE: I split this patch in 3 part:
	1) jpeg support
	2) python api
	3) sequence plugin

This is the first part, hope finish with the other two tomorrow night.


------------------------------------------------------------------------
r12940 | nicholasbishop | 2007-12-19 00:27:26 +0100 (Wed, 19 Dec 2007) | 5 lines

Fixed bug #7960, Sculpt Mode: Crash after Scaling brush to 1 ("Tile" mode)

Division by zero fix


------------------------------------------------------------------------
r12939 | nicholasbishop | 2007-12-18 22:56:17 +0100 (Tue, 18 Dec 2007) | 5 lines

Fixed bug #6711, Retopo problem when maximizing 3d view and still painting

Caused by some incorrect usage of the current v3d during updates


------------------------------------------------------------------------
r12937 | blendix | 2007-12-18 17:55:09 +0100 (Tue, 18 Dec 2007) | 13 lines


Particles
=========

- The render and realtime button for the particle system modifier
  and the enabled button for particles now work seperate again,
  made a bad design decision to tie them together. Now with only
  the render button and not realtime enabled it renders.
- Fix for bug #7948: particle mode crash while constraining axis.
- Fix for bug #7945: crash loading effector groups from an old file.
- Fix for bug #7942: crash for reactor particles emitting from particles.


------------------------------------------------------------------------
r12934 | blendix | 2007-12-17 22:19:17 +0100 (Mon, 17 Dec 2007) | 4 lines


Bugfix: the transform of a particle system in a dupli-group was wrong.


------------------------------------------------------------------------
r12933 | blendix | 2007-12-17 22:04:22 +0100 (Mon, 17 Dec 2007) | 11 lines


Threaded Shadowbuffers Creation
===============================

- One shadowbuffer per thread.
- Added more break tests in shadow buffer code.
- Removed R.clipcrop global, solution is not nice yet, but at
  least threadsafe.
- Fixed bug in strand render shadow buffer code.


------------------------------------------------------------------------
r12932 | theeth | 2007-12-17 21:21:06 +0100 (Mon, 17 Dec 2007) | 3 lines

Reverting to 2_2x BPY

I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.
------------------------------------------------------------------------
r12931 | theeth | 2007-12-17 19:20:48 +0100 (Mon, 17 Dec 2007) | 1 line

reverting revision 12930 & 12928
------------------------------------------------------------------------
r12930 | campbellbarton | 2007-12-17 17:43:21 +0100 (Mon, 17 Dec 2007) | 2 lines

bpy 2.4x api added back

------------------------------------------------------------------------
r12929 | blendix | 2007-12-17 17:25:15 +0100 (Mon, 17 Dec 2007) | 6 lines


Bugfix: with a lot of child particles (1500 per parent), some faces
would get no particles at all. Issue turns out to be precision of
floats for incrementing a number between 0 and 1, now uses doubles..


------------------------------------------------------------------------
r12928 | campbellbarton | 2007-12-17 17:05:59 +0100 (Mon, 17 Dec 2007) | 2 lines

reverting old py api, too many errors and not enough time to fix them. will continue work in the branch. 2-3 more commits to come

------------------------------------------------------------------------
r12927 | blendix | 2007-12-17 16:32:27 +0100 (Mon, 17 Dec 2007) | 6 lines


Bugfix: with particle distribution based on orco's, there was no
correction for them being 'squashed' to the bounding box of the
object, gave weird artifacts with child particle distribution.


------------------------------------------------------------------------
r12926 | campbellbarton | 2007-12-17 14:35:07 +0100 (Mon, 17 Dec 2007) | 2 lines

defines for compiling with py 2.4

------------------------------------------------------------------------
r12925 | blendix | 2007-12-17 13:54:39 +0100 (Mon, 17 Dec 2007) | 5 lines


Shift+O subdivision switching now also allows to switch
particle systems on/off if they exist.


------------------------------------------------------------------------
r12924 | blendix | 2007-12-17 12:47:24 +0100 (Mon, 17 Dec 2007) | 5 lines


Bugfix: memory leak with multi-modifier, if the modifier
using the previous coordinates was disabled.


------------------------------------------------------------------------
r12923 | campbellbarton | 2007-12-17 12:32:52 +0100 (Mon, 17 Dec 2007) | 2 lines

rename WITH_PYAPI_V24X to WITH_BPYAPI_V24X (because its blender's api version number not pythons), made 24x api use its own armature weakref list since pyobject types are different.

------------------------------------------------------------------------
r12922 | blendix | 2007-12-17 12:20:51 +0100 (Mon, 17 Dec 2007) | 5 lines


Bugfix: particle add brush in perspective mode would sometimes
not add particles, view ray was wrong.


------------------------------------------------------------------------
r12921 | aligorith | 2007-12-17 11:34:49 +0100 (Mon, 17 Dec 2007) | 6 lines

== Fill Bones - Bugfixes ==

* Some joints were identified multiple times, which caused a "too many joints" error when only 2 joints were selected
* When no joints were selected, "too many joints" error was displayed. This has been changed to "no joints selected"
* Fixed a memory leak that occurred when "too many joints selected"

------------------------------------------------------------------------
r12920 | aligorith | 2007-12-17 09:32:14 +0100 (Mon, 17 Dec 2007) | 3 lines

More BPyAPI compiling fixes again. 

* Added missing stubs so that blenderplayer can be linked.
------------------------------------------------------------------------
r12918 | aligorith | 2007-12-17 07:32:53 +0100 (Mon, 17 Dec 2007) | 3 lines

Bugfix #7918: Particles (svn) Crashing when adding particles in EditMode

This commit should fix the error. dm was used before being check if it was NULL.
------------------------------------------------------------------------
r12917 | aligorith | 2007-12-17 07:24:10 +0100 (Mon, 17 Dec 2007) | 2 lines

More compiling fixes for BPyApi on mingw:
* When using split-srcs hack, a linking error occurred as the 2_4x api sources weren't getting built
------------------------------------------------------------------------
r12916 | aligorith | 2007-12-17 07:12:01 +0100 (Mon, 17 Dec 2007) | 5 lines

More BPyApi (New/2_5x) compiling fixes for mingw.

* Mostly fixed a few more of the tp_base errors, in the manner that Ken did...
* There's still a weird warning in draw.c about some function being used but not defined
* I've included the source splitting hack here too, as I was getting problems getting it to link the files... 
------------------------------------------------------------------------
r12915 | nicholasbishop | 2007-12-17 05:52:46 +0100 (Mon, 17 Dec 2007) | 5 lines

== Sculpt Mode ==

Improved some memory allocation; it doesn't actually use less memory now, just avoids reallocating the same block of memory over and over again.


------------------------------------------------------------------------
r12914 | nicholasbishop | 2007-12-17 05:10:38 +0100 (Mon, 17 Dec 2007) | 5 lines

== Sculpt Mode ==

Minor refactoring of the overgrown sculpt() function.


------------------------------------------------------------------------
r12913 | nicholasbishop | 2007-12-17 04:21:25 +0100 (Mon, 17 Dec 2007) | 3 lines

Applied Ian Calvert's patch (#7801) to add a "rake" setting to sculpt mode; when used with a 2D brush texture, the texture is automatically rotated to follow the direction of the brush stroke.


------------------------------------------------------------------------
r12912 | khughes | 2007-12-17 01:54:22 +0100 (Mon, 17 Dec 2007) | 13 lines

Python API
----------
Removed references to PyObject_Del and PyFloat_Type from static structure
definitions.  mingw (and possibly other compilers) don't like this and won't
compile.  These reference have to be filled in at runtime inside the
structure initialization.

There was some discussion on IRC whether the explicit PyObject_Del assignment
is necessary, since PyTYpe_Ready() is supposed to fill in this field if left
blank.  Since we weren't sure why this was being done, it was decided to
put the run-time assignment in for now.


------------------------------------------------------------------------
r12911 | khughes | 2007-12-16 20:10:29 +0100 (Sun, 16 Dec 2007) | 5 lines

Python API
----------
Fix broken compile for WITH_BF_QUICKTIME=True and another warning.


------------------------------------------------------------------------
r12910 | khughes | 2007-12-16 18:54:34 +0100 (Sun, 16 Dec 2007) | 5 lines

Python API
----------
Compiler complaints about "ISO C90 forbids mixed declarations and code"


------------------------------------------------------------------------
r12908 | campbellbarton | 2007-12-16 07:50:49 +0100 (Sun, 16 Dec 2007) | 4 lines

* Added an option not to compile the 2.4x api (WITH_PYAPI_V24X for Makefiles and WITH_BF_PYAPI_V24X for scons)
* ghash wasnt being set to null when python stopped and was segfaulting on exit


------------------------------------------------------------------------
r12907 | campbellbarton | 2007-12-16 06:46:24 +0100 (Sun, 16 Dec 2007) | 2 lines

files were missing from api2_4x api also

------------------------------------------------------------------------
r12906 | campbellbarton | 2007-12-16 06:38:00 +0100 (Sun, 16 Dec 2007) | 2 lines

2 more py 2.4 compat defines

------------------------------------------------------------------------
r12905 | campbellbarton | 2007-12-16 06:25:52 +0100 (Sun, 16 Dec 2007) | 2 lines

makefile should work, (lenfunc) from PySequenceMethods seems not to be available everywhere use (inquiry)  instead since blender uses this elsewhere

------------------------------------------------------------------------
r12904 | campbellbarton | 2007-12-16 06:14:01 +0100 (Sun, 16 Dec 2007) | 2 lines

some of the files didnt get added, not sure why

------------------------------------------------------------------------
r12903 | campbellbarton | 2007-12-16 04:42:41 +0100 (Sun, 16 Dec 2007) | 14 lines

Python API Merged from branch,
http://wiki.blender.org/index.php/Rewriting_the_2.4x_BPython_API

Some areas are not yet finished, the 2.4 api can remain "import Blender" and the bpy api "import bpy" gives access to the new api.

Todo
* event, link, etc are not assigned to Blender.*
* Scripts need to be tested and updated.
* Scripts cannot mix bpy and Blender modules anymore.
* Makefiles need to be updated (only works with scons now)
* Make the 2.4 api optional with IFDEF's
* Lots of testing and small fixes


------------------------------------------------------------------------
r12902 | aligorith | 2007-12-16 01:59:06 +0100 (Sun, 16 Dec 2007) | 7 lines

== AutoIK - Fixes for MouseScroll Setting ==

* Added display of current chain-length setting to the header, when transforming with Auto-IK on

* Removed debug print accidentally left in 

* Fixed compiler warning in buttons_object.c 
------------------------------------------------------------------------
r12901 | joeedh | 2007-12-16 01:39:59 +0100 (Sun, 16 Dec 2007) | 4 lines

=Make fix=

Setting line ending style to LF (unix) on config.guess and guessconfig, to play nice with
gmake on cygwin.
------------------------------------------------------------------------
r12899 | campbellbarton | 2007-12-15 23:50:59 +0100 (Sat, 15 Dec 2007) | 2 lines

final renaming of variables before api merge

------------------------------------------------------------------------
r12898 | campbellbarton | 2007-12-15 22:44:40 +0100 (Sat, 15 Dec 2007) | 2 lines

more prefixing pyapi vars to merge in the new api

------------------------------------------------------------------------
r12897 | theeth | 2007-12-15 22:40:23 +0100 (Sat, 15 Dec 2007) | 5 lines

== Text Window ==

Patch [#7849] by Jetze van Beijma, strike 2.

The first patch fixed the size of the scroll bar, this one fixes drawing of selected text area (the redish area in the scrollbar).
------------------------------------------------------------------------
r12896 | blendix | 2007-12-15 21:41:45 +0100 (Sat, 15 Dec 2007) | 62 lines


Render Instancing
=================

Big commit, but little user visible changes.

- Dupliverts and duplifaces are now rendered as instances, instead
  of storing all of the geometry for each dupli, now an instance is
  created with a matrix transform refering to the source object.
  This should allow us to render tree leaves more memory efficient.

- Radiosity and to some degree raytracing of such objects is not
  really efficient still. For radiosity this is fundamentally hard
  to solve, but raytracing an octree could be created for each object,
  but the current octree code with it's fixed size doesn't allow this
  efficiently.

- The regression tests survived, but with I expect that some bugs will
  pop up .. hopefully not too many :).

Implementation Notes
====================

- Dupligroups and linked meshes are not rendered as instances yet,
  since they can in fact be different due to various reasons,
  instancing of these types of duplis that are the same can be added
  for them at a later point.

- Each ObjectRen now stores it's own database, instead of there being
  one big databases of faces, verts, .. . Which objects that are actually
  rendered are defined by the list of ObjectRenInstances, which all refer
  to an ObjectRen.

- Homogeneous coordinatess and clipping is now not stored in vertices
  anymore, but instead computed on the fly. This couldn't work for
  instances. That does mean some extra computation has to be done, but
  memory lookups can be slow too, and this saves some memory. Overall
  I didn't find a significant speed impact.

- OSA rendering for solid and ztransp now is different. Instead of e.g.
  going 8 times over the databases times and rendering the z-buffer, it
  now goes over the database once and renders each polygon 8 times. That
  was necessary to keep instances efficient, and can also give some
  performance improvement without instances.

- There was already instancing support in the yafray export code, now it
  uses Blender's render instances for export.

- UV and color layer storage in the render was a bit messy before, now
  should be easier to understand.

- convertblender.c was reorganized somewhat. Regular render, speedvector
  and baking now use a single function to create the database, previously
  there was code duplicated for it.

- Some of these changes were done with future multithreading of scene
  and shadow buffer creation in mind, though especially for scene creation
  much work remains to be done to make it threadsafe, since it also involves
  a lot of code from blenkernel, and there is an ugly conflict with the way
  dupli groups work here .. though in the render code itself it's almost there.


------------------------------------------------------------------------
r12895 | campbellbarton | 2007-12-15 21:08:41 +0100 (Sat, 15 Dec 2007) | 2 lines

last commit overwrote joeedh's, added the change back

------------------------------------------------------------------------
r12894 | campbellbarton | 2007-12-15 20:23:55 +0100 (Sat, 15 Dec 2007) | 2 lines

first pass prefixing PyC API variables with V24_ so the new api and old can co-exist, wont effect scripts

------------------------------------------------------------------------
r12893 | campbellbarton | 2007-12-15 19:24:16 +0100 (Sat, 15 Dec 2007) | 2 lines

removed macro, (was messing up a variable renaming script) 

------------------------------------------------------------------------
r12892 | joeedh | 2007-12-15 18:41:13 +0100 (Sat, 15 Dec 2007) | 4 lines

=Python API bugfix=
A copy-paste memory access error was causing crashes, especially with the skin 
faces/edge loops script (eh or at least that's where I first noticed the 
crashes)..  An isolated code fragment was accessing memory out-of-bounds.
------------------------------------------------------------------------
r12891 | campbellbarton | 2007-12-15 16:30:08 +0100 (Sat, 15 Dec 2007) | 2 lines

fix for own mistake when changing curve flags - Reported as [#7888] Extrude broken for vector handles

------------------------------------------------------------------------
r12890 | aligorith | 2007-12-15 08:48:30 +0100 (Sat, 15 Dec 2007) | 8 lines

Patch #7916: New Empty Types - Sphere and Cone
Submitted by: David Bryant (digikiller)

This patch adds two new drawtypes for empties in Blender:
* Sphere
* Cone

These draw with wireframes which are slightly more complicated than for other empties. However, this shouldn't really be an issue.
------------------------------------------------------------------------
r12889 | aligorith | 2007-12-15 08:35:16 +0100 (Sat, 15 Dec 2007) | 10 lines

== Auto-IK ==
-- Peach request (from wiki feature request list) --

When translating a bone using Auto-IK, you can now use the ScrollWheel on the Mouse or the Page Up/Down keys to adjust the chain length. 

Notes:
* Up decreases the length, while Down increases it.
* The previously used chain-length is stored per scene
* Currently, it might be too sensitive. Also, it would help to have some kind of indication of the current chain-length somewhere...
* The chain length specified this way determines the MAXIMUM chain length possible for all chains (if 0, then the default chain-length is used). Chains are clamped to have a chain length which does not exceed the default chain length. This restriction may be removed following further feedback...
------------------------------------------------------------------------
r12888 | campbellbarton | 2007-12-14 18:47:58 +0100 (Fri, 14 Dec 2007) | 2 lines

match solaris 10 x86-64 library name change

------------------------------------------------------------------------
r12887 | campbellbarton | 2007-12-14 18:28:53 +0100 (Fri, 14 Dec 2007) | 2 lines

updated guessconfig for solaris-x86_64 name change

------------------------------------------------------------------------
r12884 | campbellbarton | 2007-12-14 16:36:11 +0100 (Fri, 14 Dec 2007) | 2 lines

include <ieeefp.h> on solaris and remove incorrect macro so finite() is now correct

------------------------------------------------------------------------
r12882 | campbellbarton | 2007-12-14 14:56:06 +0100 (Fri, 14 Dec 2007) | 2 lines

chenge the default location of mesa/gl header, added to lib path

------------------------------------------------------------------------
r12881 | campbellbarton | 2007-12-14 13:27:10 +0100 (Fri, 14 Dec 2007) | 2 lines

typo for guessconfig

------------------------------------------------------------------------
r12880 | campbellbarton | 2007-12-14 13:09:01 +0100 (Fri, 14 Dec 2007) | 6 lines

revert change to bash (I wasnt aware all shells supported the same conditionals)
only add _64 to the $CPU variable, not 32
so resulting solaris CPU names can be
sparc, sparc_64
i386, i386_64

------------------------------------------------------------------------
r12878 | aligorith | 2007-12-14 01:09:07 +0100 (Fri, 14 Dec 2007) | 3 lines

== Fill Bones ==

This commit fixes/implements this feature. It is restricted to using 1-2 joints selected joints only.
------------------------------------------------------------------------
r12874 | campbellbarton | 2007-12-13 23:36:10 +0100 (Thu, 13 Dec 2007) | 3 lines

made guessconfig add use bash (not sh) and return a CPU as i386-32 or i386-64 (was just i386)
default python to 2.5

------------------------------------------------------------------------
r12873 | theeth | 2007-12-13 22:10:00 +0100 (Thu, 13 Dec 2007) | 5 lines

Correct aweful bug in transform snapping code. How that even work is beyond magic!

Reported by some (crash) and pin pointed by Briggs, thanks a lot!

This should fix the apparently completely random crashes.
------------------------------------------------------------------------
r12867 | campbellbarton | 2007-12-13 16:06:02 +0100 (Thu, 13 Dec 2007) | 2 lines

misc warning fixes and one fix for a big in curve allocation

------------------------------------------------------------------------
r12866 | campbellbarton | 2007-12-13 13:50:36 +0100 (Thu, 13 Dec 2007) | 2 lines

fix for own warning

------------------------------------------------------------------------
r12865 | aligorith | 2007-12-13 11:55:10 +0100 (Thu, 13 Dec 2007) | 9 lines

== 2 New Rigging Tools ==

This commit introduces two (currently only one is actually functional) new features for working with armatures.

* Bone Merging (Alt-M)
It is now possible to select a bunch of linked bones and "merge" them together. Currently, there's only one option to merge bones that are selected and linked to each other in a chain.

* Add Bone Between Joints (FKEY)
This allows you to select a few joints, and have a bone created between them. Currently, this is not yet functional (but the code is there)
------------------------------------------------------------------------
r12864 | campbellbarton | 2007-12-13 10:23:06 +0100 (Thu, 13 Dec 2007) | 2 lines

finite isnt defined on solaris 10, check and define - does the same as Win32

------------------------------------------------------------------------
r12863 | campbellbarton | 2007-12-13 09:49:09 +0100 (Thu, 13 Dec 2007) | 2 lines

own error, sequencer set images - didnt clear error when finished

------------------------------------------------------------------------
r12861 | aligorith | 2007-12-13 03:11:26 +0100 (Thu, 13 Dec 2007) | 1 line

Whoops! Temporarily uncommitting some work-in-progress code (it would have broken compiling)
------------------------------------------------------------------------
r12860 | aligorith | 2007-12-13 03:08:47 +0100 (Thu, 13 Dec 2007) | 3 lines

Added a 'LinkData' struct for use with ListBases. 

It is used to store a reference to some data that is already in another ListBase. Sometimes, these are needed for small one-off situations, where a custom struct seems overkill...
------------------------------------------------------------------------
r12859 | blendix | 2007-12-12 22:49:48 +0100 (Wed, 12 Dec 2007) | 6 lines


Fix for bug #7872: setting particles disp to 100 has no effect.
Fix for bug #7878: particle panels do not update properly when
chaning particle types.


------------------------------------------------------------------------
r12855 | blendix | 2007-12-12 18:01:46 +0100 (Wed, 12 Dec 2007) | 4 lines


Bugfix for particle adding + mirror crash.


------------------------------------------------------------------------
r12854 | campbellbarton | 2007-12-12 15:20:12 +0100 (Wed, 12 Dec 2007) | 3 lines

Patch from ILdar AKHmetgaleev (akhil) - [#7864] correct scale in sequencer's glow
Added py-api write access to sequencer images.

------------------------------------------------------------------------
r12853 | zaghaghi | 2007-12-12 15:07:24 +0100 (Wed, 12 Dec 2007) | 1 line

missing null check in node editor.
------------------------------------------------------------------------
r12851 | campbellbarton | 2007-12-12 12:00:39 +0100 (Wed, 12 Dec 2007) | 2 lines

incorrectly set the toolbox not to quit on mousemove

------------------------------------------------------------------------
r12850 | theeth | 2007-12-12 00:31:55 +0100 (Wed, 12 Dec 2007) | 3 lines

== Skeletor ==

Fix crash reported by Brecht in symmetry detection code.
------------------------------------------------------------------------
r12849 | campbellbarton | 2007-12-12 00:05:10 +0100 (Wed, 12 Dec 2007) | 2 lines

for button popups, dont close unless you click or press escape, this would often close when dragging a button value (or when using a tablet I am told)

------------------------------------------------------------------------
r12848 | theeth | 2007-12-11 22:39:31 +0100 (Tue, 11 Dec 2007) | 3 lines

Increment subversion to deal with skeleton generation correctly.

Bug reported by Brecht on IRC.
------------------------------------------------------------------------
r12847 | blendix | 2007-12-11 21:02:21 +0100 (Tue, 11 Dec 2007) | 10 lines


Fix for mirroring issues in particle mode, where the particles were
not mirrored exactly, though the problem is not completely solved.
The way local frames are computed for particles is still not fully
symmetric, which shows especially on long hairs...

Also made the shift+o subsurf switch work recursively into
dupli-groups, did only the first level before.


------------------------------------------------------------------------
r12846 | stiv | 2007-12-11 16:35:39 +0100 (Tue, 11 Dec 2007) | 2 lines

fix mixed declarations and code warning that breaks strict compilers

------------------------------------------------------------------------
r12845 | blendix | 2007-12-11 16:03:45 +0100 (Tue, 11 Dec 2007) | 6 lines


Bugfixes for:
- Disabled particle modifiers in particle mode.
- Particle col option without material.


------------------------------------------------------------------------
r12844 | blendix | 2007-12-11 15:58:23 +0100 (Tue, 11 Dec 2007) | 7 lines


Bugfix for constraint lagging with local ipo's. For some reason
the depsgraph relations for constraints with a local ipo were being
skipped, but I have no idea why this code was added? Uncommenting
it seems to work fine.


------------------------------------------------------------------------
r12843 | blendix | 2007-12-11 15:35:08 +0100 (Tue, 11 Dec 2007) | 4 lines


Bugfix for SSS crash with nan's.


------------------------------------------------------------------------
r12842 | campbellbarton | 2007-12-11 15:19:05 +0100 (Tue, 11 Dec 2007) | 4 lines

display real fps in 3d view option
replace 1 with SELECT
edited DVar texture tooltip

------------------------------------------------------------------------
r12840 | khughes | 2007-12-11 02:58:22 +0100 (Tue, 11 Dec 2007) | 6 lines

Python API
----------
Bugfix #7898: added access to DISPLACE modifiers, add ARRAY constant to
modifier documentation.


------------------------------------------------------------------------
r12839 | aligorith | 2007-12-11 00:25:21 +0100 (Tue, 11 Dec 2007) | 5 lines

Fixing compiler warnings:
* BLI_arithb.h - isnan definition is only needed for MSVC, but gcc/mingw complains about it

* file-selectors - moved BLI_storage_types.h or sys/stat.h includes before BLI_winstuff.h includes,  to silence warnings about S_ISDIR. 

------------------------------------------------------------------------
r12838 | theeth | 2007-12-10 22:14:19 +0100 (Mon, 10 Dec 2007) | 7 lines

Merge from Harmonic Skeleton branch

This code adds a basic and simple skeleton generator.

Examples and links are in the wiki, docs will come eventually: http://wiki.blender.org/index.php/User:Theeth/skeletor

In a nutshell, select a vertex at the top of the head and press "Generate Skeleton". UI Panel is in the Editing buttons in Edit Mode, tooltips and semi-useful.
------------------------------------------------------------------------
r12837 | theeth | 2007-12-10 22:04:48 +0100 (Mon, 10 Dec 2007) | 3 lines

== Code sweeping ==

BLI_sortlist simplifications
------------------------------------------------------------------------
r12835 | sirdude | 2007-12-10 17:45:37 +0100 (Mon, 10 Dec 2007) | 4 lines

Typo fix from Tanner Jotblad for testing FREE_WINDOWS

Kent

------------------------------------------------------------------------
r12834 | aligorith | 2007-12-10 09:53:15 +0100 (Mon, 10 Dec 2007) | 1 line

Fixing compiler warnings, and bad button placement from previous commit for ghosting. Also general code tidying in editaction.c
------------------------------------------------------------------------
r12833 | broken | 2007-12-10 05:50:22 +0100 (Mon, 10 Dec 2007) | 1 line

* fix for compiling in windows with makefiles
------------------------------------------------------------------------
r12831 | theeth | 2007-12-09 23:12:01 +0100 (Sun, 09 Dec 2007) | 8 lines

[#6779] Fix backdrop draw in nodes
by Matthew Plough

Replaces the glDrawPixel call with glaDrawPixelsTex for faster and interpolated drawing.

Adds autocenter and autozoom instead of the clipping that happened previously.

Fixes the button event for timely redraw.
------------------------------------------------------------------------
r12830 | elubie | 2007-12-09 19:42:44 +0100 (Sun, 09 Dec 2007) | 2 lines

== MSVC 7.1 project files ==
- added file strand.c to render lib
------------------------------------------------------------------------
r12829 | aligorith | 2007-12-09 12:53:07 +0100 (Sun, 09 Dec 2007) | 5 lines

== Armature - Ghosting Feature (Cessen request) ==

Added a new option for Armature Ghosting: Only draw ghosts for selected bones. This is activated by toggling the "Sel" button beside the GStep: field. 

Note: this does not give any speed increases, as the whole pose must be recalculated for each ghost. In fact, it might even cause minor performance decreases, due to the need to tag and un-tag bones before/after drawing the set of ghosts.
------------------------------------------------------------------------
r12828 | aligorith | 2007-12-09 09:46:23 +0100 (Sun, 09 Dec 2007) | 5 lines

== Armature Visualisation - A few additions ==

* Added an option to make frame numbers of keyframes draw on bone-paths even when frame numbers for other points are not shown.

* Added a new ghosting method, which only shows the keyframes within a range.
------------------------------------------------------------------------
r12826 | nicholasbishop | 2007-12-08 22:53:17 +0100 (Sat, 08 Dec 2007) | 5 lines

Fixed bug #6870, Sculpt mode + wireframe = nothing

When sculpt object is in wireframe mode (including if the current view is in wireframe mode) a second copy is drawn only to the depth buffer so that sculpting can take place as normal.


------------------------------------------------------------------------
r12825 | blendix | 2007-12-08 19:46:44 +0100 (Sat, 08 Dec 2007) | 8 lines


Mesh Deform Modifiers
=====================

Tweak for somewhat improved results with dynamic binding, and added
a rt value (527) for debugging mdef accuracy.


------------------------------------------------------------------------
r12824 | blendix | 2007-12-08 16:44:47 +0100 (Sat, 08 Dec 2007) | 10 lines


Bone Transform
==============

When pressing the g key on a bone that can't be translated, rotation
is automatically activated. However, with multiple bone selected, it
did this even if some bones can be translated. Now it only switches
to rotation if no bones can translated.


------------------------------------------------------------------------
r12823 | aligorith | 2007-12-08 06:20:40 +0100 (Sat, 08 Dec 2007) | 5 lines

interface.c - silencing warnings:
- 577: control reaches end of non-void function (in ui_but_copy_paste)

- 138: initialization makes integer from pointer without a cast
(I'm not sure whether the fix might cause errors on some systems/builds, but it works fine here)
------------------------------------------------------------------------
r12822 | nicholasbishop | 2007-12-07 22:45:34 +0100 (Fri, 07 Dec 2007) | 5 lines

Committed patch #7838, Fix for window header redraw in sculpt mode from aurel.

Fixes flickering in the 3D view header after using the interactive brush size tool.


------------------------------------------------------------------------
r12820 | campbellbarton | 2007-12-07 20:48:53 +0100 (Fri, 07 Dec 2007) | 2 lines

EnV requests, copy and paste for colorbands, world ambient colorpicker 

------------------------------------------------------------------------
r12819 | theeth | 2007-12-07 15:58:36 +0100 (Fri, 07 Dec 2007) | 3 lines

[#7140] Scrollbar not stopping ok on the bottom of the text editor window

Fixed by patch #7849 by Jetze van Beijma
------------------------------------------------------------------------
r12818 | blendix | 2007-12-07 13:05:12 +0100 (Fri, 07 Dec 2007) | 5 lines


Accidentaly left in a line of debug code, which broke deform modifiers
after e.g. subsurf.


------------------------------------------------------------------------
r12817 | campbellbarton | 2007-12-07 12:56:51 +0100 (Fri, 07 Dec 2007) | 2 lines

UV texture blending was being used when materials were disabled.

------------------------------------------------------------------------
r12816 | aligorith | 2007-12-07 11:50:02 +0100 (Fri, 07 Dec 2007) | 8 lines

== NLA - Scale Related Fixes ==

* Old files now get initialised with the correct scale. The wrong calculation was being used

* Added a new tool to Alt-S menu: "Apply Scale"
This tool causes all the keyframes in the active strip to be moved to their NLA-scaled times, the scale to be set to 1.0, and the frame ranges recalculated accordingly (to remove any nasty weird errors)

* Scale field now draws red when the action-range is < 1, and the tooltip in this case instructs the user how to fix this (by using "Apply Scale"). 
------------------------------------------------------------------------
r12813 | campbellbarton | 2007-12-07 10:51:02 +0100 (Fri, 07 Dec 2007) | 2 lines

miscellaneous edits from python development branch merged back into trunk

------------------------------------------------------------------------
r12812 | aligorith | 2007-12-07 05:24:02 +0100 (Fri, 07 Dec 2007) | 14 lines

== NLA - Scale Setting for Strips ==

NLA-Strips now have a new setting: Scale. 

It determines how much the action-range is scaled for each repeat, instead of the scaling being implicitly determined based on repeats + strip-length. 

One of the instant benefits of this, is that when increasing the number of repeats, the strip length increases by the right amount. Thus, increasing the number of repeats retains a constant speed.

Hopefully we can prevent weirdly scaled actions this way. (i.e.  0.00001 frames long action * 10000 or so)

Todo:
- Transform code needs to be able to set the scale setting (it doesn't yet)
- Add a new option to "apply scaling", to fix up problems with old files that have really bad scaling. Situations when this is needed could get indicated in the interface too... (red background for "Scale" field?)

------------------------------------------------------------------------
r12811 | sirdude | 2007-12-06 22:41:22 +0100 (Thu, 06 Dec 2007) | 9 lines

This is patch: [#7129] Solaris build is linking with c instead of c++ compiler

I talked to Jesterking and he may switch this to a more global
solution later.  I figured in the meantime its ok to commit this
and consider the issue resolved.

Kent


------------------------------------------------------------------------
r12810 | khughes | 2007-12-06 21:15:03 +0100 (Thu, 06 Dec 2007) | 7 lines

Python API
----------

Bugfix #7877: fix for lamp.setMode() and lamp.setType(): need to build
tuples instead of just int or float objects.


------------------------------------------------------------------------
r12809 | blendix | 2007-12-06 20:44:17 +0100 (Thu, 06 Dec 2007) | 9 lines


Bugfix for IK locked axes with an initial rotation, gave wrong
starting angle in some cases, but wasn't always noticeable due
to the IK solver changing it anyway.

Bugfix for hidden bones in pose mode still being active, and
preventing other bones from becoming active.


------------------------------------------------------------------------
r12808 | blendix | 2007-12-06 18:43:47 +0100 (Thu, 06 Dec 2007) | 11 lines


Particles
=========

- Normalize strand coordinates over the length of the strand, not
  cut off when with e.g. length texture control.
- Weight paint and particle mode x-mirror now works with deformation
  and shape keys active.
- X-ray is now disabled in particle mode, messed up depth tests.


------------------------------------------------------------------------
r12807 | blendix | 2007-12-06 15:22:22 +0100 (Thu, 06 Dec 2007) | 5 lines


Bugfix: the sticky and use rot buttons for the floor constraint were
not working anymore after constraint refactor.


------------------------------------------------------------------------
r12806 | blendix | 2007-12-06 13:46:10 +0100 (Thu, 06 Dec 2007) | 8 lines


Bugfix: rotation difference ipo drivers could give sudden jump. This
was actually due to a numerical issue in the matrix to quaternion
conversion code (which was from siggraph '85), now uses an improved
version. I hope nothing depends on the previous behavior.. though
it should only affect corner cases.


------------------------------------------------------------------------
r12805 | aligorith | 2007-12-06 11:20:03 +0100 (Thu, 06 Dec 2007) | 7 lines

Constraints Bugfix:

IK-constraint "flush_targets" function was causing segfaults on debug builds from certain MSVC compilers. 

The cause of this, is that ct is freed in the SINGLETARGET_FLUSH_TARS macro already, but ct is accessed in the following line to get the next target (ct= ct->next). Caused by brecht's commit for the pole-target stuff for IK-constraint.

Now the SINGLETARGET_FLUSH_TARS macro, and the SINGLETARGETNS_FLUSH_TARS macro will correctly advance the location that ct points to. 
------------------------------------------------------------------------
r12804 | aligorith | 2007-12-06 10:41:46 +0100 (Thu, 06 Dec 2007) | 3 lines

== Action Editor - Snap Current-Frame Marker to Keys ==

This little feature snaps the current frame marker to the average frame of all the selected keyframes. Use the hotkey Ctrl-Shift-S to use it. 
------------------------------------------------------------------------
r12803 | aligorith | 2007-12-06 03:57:47 +0100 (Thu, 06 Dec 2007) | 6 lines

== LimitLoc Transform - Tweaks ==

* Made 'cob' be a stack var instead of allocating memory (as suggested by Martin)
* Adjusted the position of "Trans" button in panel, and changed its name/tooltip to better describe its function

* 'Active' constraint now draws brighter than other constraints... this is still not clear enough though. 
------------------------------------------------------------------------
r12801 | blendix | 2007-12-05 22:50:23 +0100 (Wed, 05 Dec 2007) | 7 lines


Bugfix for mysteriously disappearing left eyeball. Bounding boxes
used for clipping were being stored in the mesh, but modifiers
can result in two objects with the same mesh having a different
bounding box. Solution is to store bounding box in the object.


------------------------------------------------------------------------
r12800 | sirdude | 2007-12-05 22:46:34 +0100 (Wed, 05 Dec 2007) | 9 lines

Fixed up NOPLUGINS and NOSTRIP so they are hints to make release instead of
hardcoded.  Also removed ""'s from around the defines so they were more like
all of the others.

Thanks to Tanner Jotblad for pointing this out...

Kent


------------------------------------------------------------------------
r12799 | campbellbarton | 2007-12-05 21:54:26 +0100 (Wed, 05 Dec 2007) | 5 lines

[#7805] VSE: "snap to current frame" doesn't work for startframe/endframe

Added this functionality.


------------------------------------------------------------------------
r12798 | campbellbarton | 2007-12-05 21:21:25 +0100 (Wed, 05 Dec 2007) | 8 lines

- fix for [#7327] Problem/issue with .PLY export,
editmode was not exited, and vertex normals would not write at all! (probably own error)

- Edited tooltip for texture DVar (was some user confusion in the studio as to its purpose)

- Set render border is disabled when it has no area - so drawing a box outside the camera disables .


------------------------------------------------------------------------
r12796 | sirdude | 2007-12-05 17:58:52 +0100 (Wed, 05 Dec 2007) | 12 lines

This is a modified version of this patch:
[#7660] Solaris 10 x86 support (Makefiles)

Hopefully it will not mess up anything for anyone else.  I removed
some hardcoded static libs and made NAN_*_LIB definitions so they could be 
overridden, to allow greater flexability.

Let me know if there are any problems/questions.

Kent


------------------------------------------------------------------------
r12795 | blendix | 2007-12-05 16:48:49 +0100 (Wed, 05 Dec 2007) | 8 lines


Particles
=========

- Added texture control for child particle roughness.
- Fix some use of uninitialized variables in particle texture code.


------------------------------------------------------------------------
r12794 | blendix | 2007-12-05 13:40:54 +0100 (Wed, 05 Dec 2007) | 15 lines


Particles
=========

- Texture orco coordinates for particles are now actual orcos instead
  of just the vertex positions, which means they are the same under
  deformations and the same as the ones on the mesh.
- Particle distribution now uses these orcos to get consistent
  distributions independent of deformation.
- This required changing the way orco's are computed for meshes. Now
  instead of generating an orco derivedmesh separately, the derivedmesh
  is generated alongside the regular one and stored in an orco custom
  data layer.


------------------------------------------------------------------------
r12793 | campbellbarton | 2007-12-05 13:04:14 +0100 (Wed, 05 Dec 2007) | 4 lines

fix for 2 problems with pose relax,
* Auto key wasnt working, it made the bone not move at all (not sure why used same code as snap to), now check G_RECORDKEYS and add keys manually.
* was ignoring keys that were 1.0 behind the current key. made the limit 0.5, fixes this.

------------------------------------------------------------------------
r12792 | aligorith | 2007-12-05 12:19:36 +0100 (Wed, 05 Dec 2007) | 10 lines

Two transform tweaks:

* [Peach Request] AutoIK now respects axis locking (rotation locks).
- Temporary DOF-Locks are turned on for those bones that are part of an AutoIK chain while transforming. These locks get cleared after transforming.
- This works for all bones except the root bone of the chain, which doesn't seem to be able to be locked.

* Limit Location constraint can now optionally affect Translations too (i.e. NKEY panel values won't change). 
- LimitRot,LimitScale support (for their respective transforms) will be done at a later date
- This only works if the constraint is using World/Local space (the other spaces are not supported yet).
- I've added a temporary button in the LimitLoc panel to enable this option (it is disabled by default). This button will be properly assigned a place in that panel sometime.
------------------------------------------------------------------------
r12791 | campbellbarton | 2007-12-05 11:52:14 +0100 (Wed, 05 Dec 2007) | 3 lines

dont draw face dots when solidtex is enabled - added a macro to check this.
relax pose was crashing - missing a check.

------------------------------------------------------------------------
r12790 | harkyman | 2007-12-05 01:03:39 +0100 (Wed, 05 Dec 2007) | 1 line

Little workflow goody for animators. Adds Alt-RMB select to Action Editor. Alt-RMB in the key area selects all keys on that side of the current frame line. Shift-Alt-RMB builds selection. Commands are also in the headers.
------------------------------------------------------------------------
r12789 | broken | 2007-12-05 00:50:51 +0100 (Wed, 05 Dec 2007) | 1 line

* Menu entry for relax pose
------------------------------------------------------------------------
r12788 | campbellbarton | 2007-12-04 22:12:23 +0100 (Tue, 04 Dec 2007) | 2 lines

peach request, pose relax - similar to mesh smooth, moves selected pose bones to closer match keyframes on either side.

------------------------------------------------------------------------
r12787 | ton | 2007-12-04 20:06:00 +0100 (Tue, 04 Dec 2007) | 4 lines

Bugfix: de-premul for image texture didn't happen for non-osa case.



------------------------------------------------------------------------
r12786 | ton | 2007-12-04 19:34:28 +0100 (Tue, 04 Dec 2007) | 6 lines

Blender Play feature:

- Hold shift prints filename/frame nr + speed
- SHIFT+NumPad-4: playback speed 24 frs/sec


------------------------------------------------------------------------
r12785 | blendix | 2007-12-04 18:53:03 +0100 (Tue, 04 Dec 2007) | 7 lines


Strand render bugfixes:
- Fix compile error.
- Some changes to bucketing.
- Tweak acceleration button increase size.


------------------------------------------------------------------------
r12784 | blendix | 2007-12-04 18:19:30 +0100 (Tue, 04 Dec 2007) | 4 lines


Addition to previous strand render bugfix.


------------------------------------------------------------------------
r12783 | blendix | 2007-12-04 17:55:01 +0100 (Tue, 04 Dec 2007) | 7 lines


Strand render bugfixes:

- Accidentally made minimum blender unit strand size bigger again.
- Make layer option for lamps work.


------------------------------------------------------------------------
r12782 | blendix | 2007-12-04 16:57:20 +0100 (Tue, 04 Dec 2007) | 4 lines


Fix for bug #7859: texture render baking crash.


------------------------------------------------------------------------
r12781 | blendix | 2007-12-04 16:11:33 +0100 (Tue, 04 Dec 2007) | 5 lines


SSS now uses oversampling for textures in the preprocessing pass,
to fix noisy renders, to solve patch #7865.


------------------------------------------------------------------------
r12780 | blendix | 2007-12-04 15:21:58 +0100 (Tue, 04 Dec 2007) | 8 lines


Particles
=========

- Like sculptmode, a brush can now be selected from a menu with
  Ctrl+Tab in particle mode.


------------------------------------------------------------------------
r12779 | blendix | 2007-12-04 14:57:28 +0100 (Tue, 04 Dec 2007) | 23 lines


Particles
=========

- Fix crash in particle transform with the particle system not editable.
- Particle child distribution and caching is now multithreaded.
- Child particles now have a separate Render Amount next to the existing
  Amount. The render amount particles are now only distributed and cached
  at render time, which should make editing with child particles faster.

- Two new options for diffuse strand shading:
	- Surface Diffuse: computes the strand normal taking the normal at
	  the surface into account.
	- Blending Distance: the distance in Blender units over which to
	  blend in the normal at the surface.
- Special strand rendering for more memory efficient and faster hair and
  grass. This is a work in progress, and has a number of known issues,
  don't report bugs to me for this feature yet.

More info:
http://www.blender.org/development/current-projects/changes-since-244/particles/


------------------------------------------------------------------------
r12778 | blendix | 2007-12-04 13:39:27 +0100 (Tue, 04 Dec 2007) | 16 lines


Mesh Deform Modifier
====================

Bugfix for mdef + groups. The mdef modifier treated the cage object as
a sort of parent, which meant that transforming the cage object also
transformed the mesh. However, this behaviour is different from e.g.
armatures, where transforming the armature object has no effect for
the modifier, but instead this transform is taken into account by the
fact that the armature is usually the parent of the mesh.

For groups and duplis, this basically lead to the parent transform
being applied twice. So, now transforming the cage object will have no
effect, except if you make the cage object the parent of the object.


------------------------------------------------------------------------
r12777 | aligorith | 2007-12-04 12:34:26 +0100 (Tue, 04 Dec 2007) | 7 lines

== Bone Paths - Auto-Recalc Improvements ==

Added a new function which specially caters for auto-recalculation of paths after updates (such as keyframing). 

Currently, all that differs between this and pose_calculate_path, is that it only recalculates for bones with paths. Also, it only updates what it needs to (minimum frame range affected).

Warning: WIP commit (hopefully it compiles ok)
------------------------------------------------------------------------
r12776 | aligorith | 2007-12-04 09:54:42 +0100 (Tue, 04 Dec 2007) | 1 line

Ack... a debugging print was left in...
------------------------------------------------------------------------
r12775 | aligorith | 2007-12-04 09:53:41 +0100 (Tue, 04 Dec 2007) | 5 lines

Bugfix:

* Bone Paths calculation should now work on unsaved files. This long standing bug has been hacked around by manually forcing OB_RECALC to be set for the active object (depsgraph should really do this, but it doesn't!)

* Added waitcursor for calculating paths (useful on longer paths). I was going to add a progressbar as well, but that decreased performance overall.
------------------------------------------------------------------------
r12774 | khughes | 2007-12-04 06:53:32 +0100 (Tue, 04 Dec 2007) | 5 lines

Tools
-----
Make FFMPEG image save use PNG format instead of JPEG.


------------------------------------------------------------------------
r12773 | khughes | 2007-12-04 00:37:33 +0100 (Tue, 04 Dec 2007) | 5 lines

Tools
-----
Bugfix #7831: fix image filename extensions on saved files.  Make FFMPEG save JPEG images by default, allow JPEG images to have either ".jpg" or ".jpeg" extension.


------------------------------------------------------------------------
r12772 | campbellbarton | 2007-12-04 00:26:45 +0100 (Tue, 04 Dec 2007) | 2 lines

curve proportional edit mode wasn't working with draw handles disabled (own error)

------------------------------------------------------------------------
r12771 | campbellbarton | 2007-12-03 23:42:48 +0100 (Mon, 03 Dec 2007) | 2 lines

bugfix, curve radius would display incorrectly when there were single point's before a curve. now allow the bevel list to have zero point BevList's to keep in sync with curve->nurb as was expected in a few places.

------------------------------------------------------------------------
r12769 | campbellbarton | 2007-12-03 17:43:58 +0100 (Mon, 03 Dec 2007) | 2 lines

import all math funcs (sin/cos/tan/e... etc) by default into buttons and drivers

------------------------------------------------------------------------
r12768 | ton | 2007-12-03 17:21:16 +0100 (Mon, 03 Dec 2007) | 4 lines

Group instancing usablitity issue: Hotkey SHIFT+O to set subsurf on/off
should not work if object had not a subsurf modifier before.


------------------------------------------------------------------------
r12767 | ton | 2007-12-03 17:06:34 +0100 (Mon, 03 Dec 2007) | 3 lines

Blending mode "Overlay" was not coded yet for material blending.


------------------------------------------------------------------------
r12766 | aligorith | 2007-12-03 11:52:56 +0100 (Mon, 03 Dec 2007) | 6 lines

== Bone Paths - Bugfixes ==

* "Show Keys" - increased the size of keyframe dots once again (now 5.0). 

* WKEY (specials menu) - still used "Clear All Paths"

------------------------------------------------------------------------
r12762 | theeth | 2007-12-02 20:42:08 +0100 (Sun, 02 Dec 2007) | 1 line

Fixing compiling error in my last commit. *grumble*
------------------------------------------------------------------------
r12761 | ton | 2007-12-02 19:33:14 +0100 (Sun, 02 Dec 2007) | 7 lines

Another Proxy Armature bugfix:

- Library referencing didn't add the new local Ipo for constraints
- Proxy command didn't set the driver object in constraint ipo to be 
  the new proxy object.


------------------------------------------------------------------------
r12760 | theeth | 2007-12-02 18:51:49 +0100 (Sun, 02 Dec 2007) | 4 lines

Patch [#7849] Fix for bug #7140 Scrollbar not stopping ok on the bottom of the text editor window
By Jetze van Beijma

It doesn't quite fix the bug (some slight quirks left), but it's much better already, so I'm committing it.
------------------------------------------------------------------------
r12759 | blendix | 2007-12-02 16:54:54 +0100 (Sun, 02 Dec 2007) | 8 lines


Particles
=========

Bugfix for crash with disabling the particles system and saving/loading
files, the way it detected if the mesh had changed could not work correct.


------------------------------------------------------------------------
r12758 | blendix | 2007-12-02 15:48:24 +0100 (Sun, 02 Dec 2007) | 5 lines


Bugfix for earlier commit, with OpenGL render the 3d view transforms
were not always set correct.


------------------------------------------------------------------------
r12757 | aligorith | 2007-12-02 10:54:01 +0100 (Sun, 02 Dec 2007) | 1 line

A few little tweaks in drawarmature.c
------------------------------------------------------------------------
r12756 | aligorith | 2007-12-02 07:29:57 +0100 (Sun, 02 Dec 2007) | 5 lines

Bugfix:

"Show Keyframes" option for Bone Path Drawing was broken. It seems that I forgot to update this code when the Action Editor's drawing code went from using CfraElem structs to ActKeyColumn structs for storing keyframes for drawing. 

Also, now Keyframe dots on the path are drawn slightly larger to make them stand out more.
------------------------------------------------------------------------
r12755 | aligorith | 2007-12-02 06:50:38 +0100 (Sun, 02 Dec 2007) | 13 lines

== Bone Path Drawing - More Tweaks Again ==

Bugfixes:
* "Clear Paths" change from last commit wasn't complete yet. Now it REALLY only clears the paths of the selected bones

* Button layout in "Armature Visualisation" panel has been reorganised a bit to better present the options (clearer separation between Display and Calculation buttons)

New Stuff (Yay!):
* Paths of active bones now draw more visibly than those of unselected bones. This makes it easier to identify the path that is taken by the bone

* The part of path on the current frame is now drawn in green (the same shade that is used for the current-frame line in the Animation Editors). This nicely blends between the black and blue parts of the path (before and after current frame, respectively), and looks much nicer.

* The colour of the current-frame marker in the Animation Editors and the 3D-View, are now theme-colours. This is needed to make the previous option work. 
------------------------------------------------------------------------
r12752 | campbellbarton | 2007-12-02 00:25:00 +0100 (Sun, 02 Dec 2007) | 2 lines

minor update, "Draw Handles" wasnt working when disabled everywhere and replaced some magic numbers

------------------------------------------------------------------------
r12751 | campbellbarton | 2007-12-01 23:00:09 +0100 (Sat, 01 Dec 2007) | 4 lines

wizard_curve2tree.py - bounding twig mesh didnt work if it had some transformation.
buttons_shading.c - premul button was overlapping movie buttons


------------------------------------------------------------------------
r12750 | campbellbarton | 2007-12-01 22:02:33 +0100 (Sat, 01 Dec 2007) | 2 lines

max selectable vgroups were 99, raised limit to 999 (lucky we have 2 screens)

------------------------------------------------------------------------
r12748 | blendix | 2007-12-01 21:08:31 +0100 (Sat, 01 Dec 2007) | 5 lines


Bugfix:
Duplicating or separating objects with a particle system could crash.


------------------------------------------------------------------------
r12747 | blendix | 2007-12-01 20:29:50 +0100 (Sat, 01 Dec 2007) | 5 lines


For the OpenGL render option in the 3d view, if a camera is active,
it now sets the viewport exactly the same as if rendering.


------------------------------------------------------------------------
r12746 | campbellbarton | 2007-12-01 20:19:49 +0100 (Sat, 01 Dec 2007) | 3 lines

mesh_edges2curves.py - fix for duplicate points
renderwin.c - stamp info in openGL render

------------------------------------------------------------------------
r12745 | ton | 2007-12-01 18:55:16 +0100 (Sat, 01 Dec 2007) | 8 lines

Italian community request: Area light fix!

http://peach.blender.org/index.php/area-light-fix-light-not-shadow/

Now, for every possible shadow sample, an area light calculation is 
done from that position.


------------------------------------------------------------------------
r12744 | ton | 2007-12-01 15:36:06 +0100 (Sat, 01 Dec 2007) | 5 lines

Bugfix in library linking and subversions (#2)
Now reading files with many references to other files uses correct
version patching.


------------------------------------------------------------------------
r12743 | campbellbarton | 2007-12-01 14:40:59 +0100 (Sat, 01 Dec 2007) | 3 lines

rewrote strip cut, now it works on metastrips and selects the strips depending on the side of the frame your mouse is on.
also removed WHILE_SEQ from transform loops - about 5 or so because it allocates memory each time.

------------------------------------------------------------------------
r12742 | blendix | 2007-12-01 13:34:15 +0100 (Sat, 01 Dec 2007) | 7 lines


Bugfix: baking ambient occlusion was broken without selected to active.

Increased the size limit (to 16384) and the default size (to 1024) for
the New Image function.


------------------------------------------------------------------------
r12741 | blendix | 2007-12-01 13:08:46 +0100 (Sat, 01 Dec 2007) | 5 lines


Fix for bug #7851: crash with LSCM unwrap, due to opennl refactor.
Fix for bug #7856: crash hitting "neg" button for particle vertex groups.


------------------------------------------------------------------------
r12740 | aligorith | 2007-12-01 12:59:53 +0100 (Sat, 01 Dec 2007) | 1 line

Removed a useless comment left in by mistake in previous commit...
------------------------------------------------------------------------
r12739 | aligorith | 2007-12-01 12:57:16 +0100 (Sat, 01 Dec 2007) | 12 lines

== Bone Paths - More Tweaks (Cessen requests) ==

* "Around Current Frame" option now works differently. When this option is activated, the path range calculated remains the same (PSta -> PEnd), but only PPre and PPost amount of path-points on either side of the current frame get shown. This is less clumsy to use, and looks quite neat!

* "Clear Paths" now only clears the paths of the selected bones, not all bones. The old behaviour can still be obtained by selecting all bones, but previously there was no way to only clear paths of selected bones.

* Own fix: path colours are now drawn less saturated, as they were showing up TOO strongly.


TODO:
* Fix up interface for "Around current..." option. It's quite confusing atm.
* Selective recalculation of path on certain operations could also be investigated further...
------------------------------------------------------------------------
r12738 | ton | 2007-12-01 12:33:55 +0100 (Sat, 01 Dec 2007) | 4 lines

Ack, fix for error in previous commit. Parent-less bones did not
get real local transform for driver channels LoCXYZ


------------------------------------------------------------------------
r12737 | ton | 2007-12-01 11:48:33 +0100 (Sat, 01 Dec 2007) | 11 lines

Two fixes:

- new option for Local Constraint Ipos did not set user counter in
  Ipo at file reading, causing data to get lost (not saved).

- Driver feature: the channels "Loc X Y Z" now also use the result
  of constraints, but transformed back into local space, as if it 
  was action X Y Z. Nice stuff for those who understand this... 
  it means you can drive something with a bone that has constraints.


------------------------------------------------------------------------
r12735 | ton | 2007-11-30 16:12:31 +0100 (Fri, 30 Nov 2007) | 4 lines

Fileversions now have subversions (like 2.45.10), this was not correctly
supported with library referencing yet.


------------------------------------------------------------------------
r12734 | campbellbarton | 2007-11-30 15:10:36 +0100 (Fri, 30 Nov 2007) | 2 lines

dupliFaceScale wasnt being initialized for new objects, added Python api access

------------------------------------------------------------------------
r12733 | blendix | 2007-11-30 14:45:23 +0100 (Fri, 30 Nov 2007) | 6 lines


Bugfix:
Another one in the particle distribution, the last particle could be
placed on faces with zero weight.


------------------------------------------------------------------------
r12732 | harkyman | 2007-11-30 14:43:12 +0100 (Fri, 30 Nov 2007) | 1 line

Fixing small header oversight -- Remap Paths was masked from movie type strips. It was still available via hotkey, but if you didn't know it, it wasn't in the header menus to see. Now it is.
------------------------------------------------------------------------
r12731 | blendix | 2007-11-30 14:28:33 +0100 (Fri, 30 Nov 2007) | 6 lines


Bugfix:
Random particle distribution did not normalize weights properly,
could give particles on invalid faces.


------------------------------------------------------------------------
r12730 | campbellbarton | 2007-11-30 11:38:59 +0100 (Fri, 30 Nov 2007) | 5 lines

anim.c, buttons_object.c, readfile.c, BKE_blender.h - dupliFace scale option, needed for leaves.
modifier.c, BKE_modifier.h - flag for modifiers to say they use pointcache, also new func modifiers_usesPointCache
renamed //pointcache to //blendcache_blendfilename so blendfiles in the same dir dont conflict, and other to show this dir isnt limited to pointcache only (nodes way want to use this)
wizard_curve2tree.py - better defaults for pretty tree's

------------------------------------------------------------------------
r12729 | jhk | 2007-11-30 08:41:22 +0100 (Fri, 30 Nov 2007) | 2 lines

Point cache was reset in many updates where it shouldn't have been reset.
Preview render crashed with "only render" children.
------------------------------------------------------------------------
r12728 | jhk | 2007-11-29 23:04:07 +0100 (Thu, 29 Nov 2007) | 1 line

Fix for bug #7846
------------------------------------------------------------------------
r12727 | jhk | 2007-11-29 22:09:16 +0100 (Thu, 29 Nov 2007) | 7 lines

2nd try at committing to trunk (instead of particles branch) :)

Fixes for bugs in #7833
- Hair softbody cache was reset on rendering.
- When Alt-a playback is synced to audio frames are skipped. This caused dynamics caching to go crazy. Now the first loop of playback goes through all frames if there are non cached dynamic systems.

Invalid point caches weren't cleared when new systems were created. This caused messed up shapes when softbody was added.
------------------------------------------------------------------------
r12724 | blendix | 2007-11-29 20:35:30 +0100 (Thu, 29 Nov 2007) | 10 lines


Shape Keys
==========

- Added a Mute button for shape keys, useful for debugging the influence
  of driven shape keys.
- Bugfix for the shape keys relative to others keys, was hanging in
  an eternal loop when deleting the other key.


------------------------------------------------------------------------
r12723 | sirdude | 2007-11-29 17:56:09 +0100 (Thu, 29 Nov 2007) | 6 lines

This is patch: [#7823] Improvements for the German translation
and also a small part of a patch from sgefant that fixes a typo
in the Makefiles.

Kent

------------------------------------------------------------------------
r12722 | sirdude | 2007-11-29 17:42:36 +0100 (Thu, 29 Nov 2007) | 5 lines

Solaris had a problem finding finite so had to conditionally 
#include <ieeefp.h>

Kent

------------------------------------------------------------------------
r12721 | campbellbarton | 2007-11-29 15:41:33 +0100 (Thu, 29 Nov 2007) | 3 lines

 - better weighting for fill twig placement
 - curve direction isnt used anymore - just make the small end the last.

------------------------------------------------------------------------
r12720 | ton | 2007-11-29 14:57:41 +0100 (Thu, 29 Nov 2007) | 5 lines

Bug in new option to assign materials right away to a face; it
didn't make a correct new slot in a Mesh (ADD NEW did, but not browsing
a material that didn't exisit in one of slots yet)


------------------------------------------------------------------------
r12719 | blendix | 2007-11-29 14:34:38 +0100 (Thu, 29 Nov 2007) | 6 lines


Bugfix:
Particle edit mode option interpolated for the add brush crashed with
no existing particles.


------------------------------------------------------------------------
r12718 | ton | 2007-11-29 14:05:38 +0100 (Thu, 29 Nov 2007) | 6 lines

With faceselecting merged in editmode, we should also allow the active
material slot ("index") to update in the UI when you select a single face.
Works nice!



------------------------------------------------------------------------
r12715 | campbellbarton | 2007-11-29 12:00:38 +0100 (Thu, 29 Nov 2007) | 2 lines

Non square pixel display in the sequencer (uses render aspect setting), needed for displaying some DV footage correctly.

------------------------------------------------------------------------
r12714 | aligorith | 2007-11-29 07:31:36 +0100 (Thu, 29 Nov 2007) | 3 lines

Scons Compiling Hack:

Restoring the "evil src splitting hack" for scons+mingw systems. By default, it is not used, but if your system is choking when trying to link src, then add BF_SPLIT_SRC=1 to your user-config.py to use this hack. 
------------------------------------------------------------------------
r12713 | broken | 2007-11-29 02:41:20 +0100 (Thu, 29 Nov 2007) | 1 line

* Fixed stub for the changed RE_database_baking function
------------------------------------------------------------------------
r12711 | blendix | 2007-11-28 23:21:12 +0100 (Wed, 28 Nov 2007) | 19 lines


Render Baking
=============

A new "Selected to Active" option in the Bake panel, to (typically) bake
a high poly object onto a low poly object. Code based on patch #7339 by
Frank Richter (Crystal Space developer), thanks!.

Normal Mapping
==============

Camera, World, Object and Tangent space is now supported for baking, and
for material textures. The "NMap TS" setting is replaced with a dropdown
of the four choices in the image texture buttons.


http://www.blender.org/development/current-projects/changes-since-244/render-baking/


------------------------------------------------------------------------
r12710 | blendix | 2007-11-28 22:42:27 +0100 (Wed, 28 Nov 2007) | 4 lines


Bugfix: crash with textured drawing in editmode and linked duplicates.


------------------------------------------------------------------------
r12709 | briggs | 2007-11-28 20:06:00 +0100 (Wed, 28 Nov 2007) | 4 lines

-> Fix for FLT export

Silly mistake on FLT export meant that when copying textures no check was done
to see if the file being copied existed or not. Fixed
------------------------------------------------------------------------
r12708 | ton | 2007-11-28 19:43:09 +0100 (Wed, 28 Nov 2007) | 11 lines

Small material assigning feature:

in EditButtons, panel "Links and Materials", there's now a browse button
to directly assign a material to selected faces. It does:

- check if material was already in one of the 'slots' of the object
- if so, then use this as index to assign
- if not, then add a new slot, and assign the new index



------------------------------------------------------------------------
r12707 | campbellbarton | 2007-11-28 16:26:02 +0100 (Wed, 28 Nov 2007) | 2 lines

curve re-meshing had some errors when making joins, now collapse surrounding overlapping segments when adding joins to allow room for the join, joint rotation was also wrong between branches.

------------------------------------------------------------------------
r12706 | ton | 2007-11-28 14:33:59 +0100 (Wed, 28 Nov 2007) | 4 lines

Blender interface code in Game Engine, who would that have thought!
(this fixes compile error in GE)


------------------------------------------------------------------------
r12705 | ton | 2007-11-28 13:42:36 +0100 (Wed, 28 Nov 2007) | 4 lines

Previous commit (for ipos) missed python code fixes. Apparently makefiles
for python are broken...


------------------------------------------------------------------------
r12704 | ton | 2007-11-28 13:32:25 +0100 (Wed, 28 Nov 2007) | 4 lines

Images now have option to be tagged "convert to premul".
Option available in the Image (properties) panel. 


------------------------------------------------------------------------
r12703 | ton | 2007-11-28 13:11:06 +0100 (Wed, 28 Nov 2007) | 20 lines

Tiny feature, but loadsa code, and big impact for the Blender riggers:

-> Constraint Influence Ipo now can be local, linked to constraint itself

You enable this in the IpoWindow header, with the Action icon to the left
of the Ipo Type menu. The button tooltips give the clue as well.

Tech note: the Ipo now can get directly linked to a constraint, and is
being called during regular pose constraint solving.
Actions (and drivers in actions) are being calculated *before* pose 
constraint solving. Result of actions then is written in bones, which
then solves the entire pose.
This means you can have a driver on both the constraint, as on the action
channel for the constraint! Not that I'm going to debug that easily :)

Additional fix: Joshua added a copy/paste IpoCurve feature, but he broke
the functionality to be able to paste in an empty ipo channel. That now
works again


------------------------------------------------------------------------
r12702 | campbellbarton | 2007-11-28 00:15:51 +0100 (Wed, 28 Nov 2007) | 3 lines

 	
Patch [#7829] "compressfile" parameter for Blender.Set() from JMS

------------------------------------------------------------------------
r12701 | campbellbarton | 2007-11-27 23:09:42 +0100 (Tue, 27 Nov 2007) | 2 lines

fixed bug that only happened when a curve had 2 points in the same place

------------------------------------------------------------------------
r12699 | elubie | 2007-11-27 22:48:14 +0100 (Tue, 27 Nov 2007) | 6 lines

== MSVC 7.1 projectfiles ==
- update for new particle system
- made blenderplayer.exe compile again (DDS library missing)
- exchanged a few float math functions (logf, sinf, cosf, expf, powf) with their double counterparts in CMP_nodes 
  (MSVC chokes on them, because the compiler is not C99 compliant)

------------------------------------------------------------------------
r12698 | campbellbarton | 2007-11-27 22:19:58 +0100 (Tue, 27 Nov 2007) | 2 lines

minor errors fixed

------------------------------------------------------------------------
r12697 | blendix | 2007-11-27 22:16:47 +0100 (Tue, 27 Nov 2007) | 8 lines


Heat Weighting
==============

Now takes b-bones into account, solving as if each bone segment was
an individual bone, and then adding the weights together.


------------------------------------------------------------------------
r12696 | campbellbarton | 2007-11-27 20:23:26 +0100 (Tue, 27 Nov 2007) | 9 lines

new function object_is_libdata - checks ob->id.lib but also accounts for proxy's.
Object panels were using object_data_is_libdata, which meant linked obdata could not have object settings changed.

curve2tree 
- option to face leaves up or down
- random pitch and roll options
- place 2 leaves on a point for denser leaves
- random seed entry so you can get reproducible results

------------------------------------------------------------------------
r12695 | blendix | 2007-11-27 18:20:35 +0100 (Tue, 27 Nov 2007) | 8 lines


Particles
=========

- Fix for child particles disappearing with right mouse drag translation.
- Added partial cache updates for selection, should make it a bit faster.


------------------------------------------------------------------------
r12694 | blendix | 2007-11-27 17:16:47 +0100 (Tue, 27 Nov 2007) | 8 lines


Particles
=========

- Fix for bug in emission from vertices.
- Fix for undo/redo refresh glitch.


------------------------------------------------------------------------
r12693 | blendix | 2007-11-27 15:12:56 +0100 (Tue, 27 Nov 2007) | 9 lines


Particles
=========

- Fix crash with the cut tool and child particle drawing.
- Make the "Col" option to use material colors work for
  the path/hair visualisation type.


------------------------------------------------------------------------
r12691 | blendix | 2007-11-27 14:20:51 +0100 (Tue, 27 Nov 2007) | 13 lines


Particles
=========

- Fix for bug #7837: circle drawtype + velocity crashed.
- Setting density vertex group didn't do proper refresh.

Mesh Deform Modifier
====================

- Make it work for nurbs and curves.


------------------------------------------------------------------------
r12690 | campbellbarton | 2007-11-27 14:08:20 +0100 (Tue, 27 Nov 2007) | 2 lines

reference leaf object rather then group (which wasnt working and only used the last object). for dupli - leaves

------------------------------------------------------------------------
r12689 | blendix | 2007-11-27 13:34:59 +0100 (Tue, 27 Nov 2007) | 8 lines


Particles
=========

- Bugfix: synchronize modifier enable with particle enable flag to
  prevent crash.


------------------------------------------------------------------------
r12688 | campbellbarton | 2007-11-27 12:57:18 +0100 (Tue, 27 Nov 2007) | 3 lines

* Improved Fill Twigs, they now join to make a continues skin like other branches.
* Improved dupli-leaf placement - (should be good enough to use for final renders)

------------------------------------------------------------------------
r12687 | blendix | 2007-11-27 12:17:52 +0100 (Tue, 27 Nov 2007) | 13 lines


Particles
=========

- Fix for bug #7840: adding particle system to nurbs, curves crashes.
  Now simply doesn't allow to add a particle system to a non-mesh
  object, the current code does not support it.
- Fix for bug #7834: deleting vertices of an object with a particle
  system crashes. Fixed by disabling particle display for objects in
  editmode.
- Fix for the particle add brush on subsurfed objects.


------------------------------------------------------------------------
r12686 | blendix | 2007-11-27 10:59:18 +0100 (Tue, 27 Nov 2007) | 11 lines


Particles
=========

- Fix for bug #7832: boids physics crashed.
- Bugfix for child particles not getting orco texture coords.
- Allow smaller strand sizes in blender units.
- Fix for a common but harmless uninitialized value warning in
  valgrind, in the event queue.


------------------------------------------------------------------------
r12685 | broken | 2007-11-27 03:13:56 +0100 (Tue, 27 Nov 2007) | 3 lines

* Don't swap mouse buttons for particle painting - similar thing
was done a while ago in trunk, but this probably never made
it through to particle branch.
------------------------------------------------------------------------
r12682 | blendix | 2007-11-26 23:09:57 +0100 (Mon, 26 Nov 2007) | 41 lines


Particles
=========

Merge of the famous particle patch by Janne Karhu, a full rewrite
of the Blender particle system. This includes:

- Emitter, Hair and Reactor particle types.
- Newtonian, Keyed and Boids physics.
- Various particle visualisation and rendering types.
- Vertex group and texture control for various properties.
- Interpolated child particles from parents.
- Hair editing with combing, growing, cutting, .. .
- Explode modifier.
- Harmonic, Magnetic fields, and multiple falloff types.

.. and lots of other things, some more info is here:

http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite
http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite_Doc

The new particle system cannot be backwards compatible. Old particle
systems are being converted to the new system, but will require
tweaking to get them looking the same as before.

Point Cache
===========

The new system to replace manual baking, based on automatic caching
on disk. This is currently used by softbodies and the particle system.

See the Cache API section on:
http://wiki.blender.org/index.php/BlenderDev/PhysicsSprint

Documentation
=============

These new features still need good docs for the release logs, help
for this is appreciated.


------------------------------------------------------------------------
r12676 | theeth | 2007-11-26 02:52:48 +0100 (Mon, 26 Nov 2007) | 11 lines

Fixes for some long standing transform bugs.

- [#6112] is this an extrusion bug?

When extruding, x-mirror was giving weird behavior since the extruded vertice could match with their non-extruded counterpart on the other side.

The solution is to disable x-mirror (with a transform context flag, like disabling PET) in that case.

- External constraint setup calls (BIF_*) didn't setup some internal structs properly.

For the user, this resulted in some transform (extrude particularly) showing a full 3d vector in the header instead of a scalar along the constraint axis (this messed up num input a bit too, you could type values in unused axis).
------------------------------------------------------------------------
r12671 | campbellbarton | 2007-11-25 21:49:38 +0100 (Sun, 25 Nov 2007) | 2 lines

new twig type that gives more even results - "Fill Twigs" option

------------------------------------------------------------------------
r12669 | genscher | 2007-11-25 18:10:11 +0100 (Sun, 25 Nov 2007) | 1 line

Bugfix: Wrong 32/64bit check was used which resulted in a 2GB limit for some 64bit architecture
------------------------------------------------------------------------
r12668 | schlaile | 2007-11-25 17:35:33 +0100 (Sun, 25 Nov 2007) | 6 lines

== Sequencer ==

Added malloc mutex handling. (Sorry, had to patch threads.c a bit,
since otherwise scene tracks will completely screw things up...)


------------------------------------------------------------------------
r12667 | campbellbarton | 2007-11-25 14:43:14 +0100 (Sun, 25 Nov 2007) | 2 lines

replace macro's with functions for UV editmode checks, this wasn't nice code and broke building on solaris

------------------------------------------------------------------------
r12664 | campbellbarton | 2007-11-24 19:29:33 +0100 (Sat, 24 Nov 2007) | 4 lines

==Python API==
Added a keyword argument for mesh.pointInside(point, selected_only=True)
This means only selected faces are tested when doing the inside/outside test, disabled by default.

------------------------------------------------------------------------
r12663 | n_t | 2007-11-24 18:10:48 +0100 (Sat, 24 Nov 2007) | 3 lines

- forgot to include a file in the last commit


------------------------------------------------------------------------
r12662 | elubie | 2007-11-24 18:08:40 +0100 (Sat, 24 Nov 2007) | 4 lines

Bugfix #7804 : Opened file is not registered correctly when started from command line
- treat file passed as parameter the same as if loaded from UI if Blender isn't running in background mode.
- only set relative base as valid if file loaded successfully.

------------------------------------------------------------------------
r12661 | ton | 2007-11-23 15:48:26 +0100 (Fri, 23 Nov 2007) | 11 lines

Bugfix #7802

Fixed very old annoyance in alpha render: when using alpha textures images,
nicely premulled as Blender wants it, you still got dark outlines at the
edges. This because the blender shading pipeline also premultiplies.

Solution: de-premul image texture colors after sampling.




------------------------------------------------------------------------
r12660 | blendix | 2007-11-23 15:10:05 +0100 (Fri, 23 Nov 2007) | 6 lines


Fix for bugs #6709 and #7005:
- SSS not working with negative scale objects.
- Fluids + SSS not always rendering smooth normals correct.


------------------------------------------------------------------------
r12659 | aligorith | 2007-11-23 12:07:57 +0100 (Fri, 23 Nov 2007) | 3 lines

Bugfix #7654: Keyframe translation in (Action/NLA) wasn't working correctly for scaled actions

Scaled action times were getting calculated twice, which meant that translating a keyframe resulted in the keyframe "not following the mouse position".
------------------------------------------------------------------------
r12657 | campbellbarton | 2007-11-22 23:07:41 +0100 (Thu, 22 Nov 2007) | 5 lines

==Python API==
made it possible to remove curves from python with "del curve[i]"
mesh_edges2curves.py - remove unused function.


------------------------------------------------------------------------
r12654 | ton | 2007-11-22 21:25:59 +0100 (Thu, 22 Nov 2007) | 9 lines

Bugfix #7573

NLA Window, Strip blending mode "Add" didn't work at all.
It was using very bad quaternion addition. Replaced with proper code.

For devs; new is the function QuatMulFac(quat, factor) which allows to
multiply a rotation with a value (make it rotate more or less)


------------------------------------------------------------------------
r12652 | campbellbarton | 2007-11-22 17:30:14 +0100 (Thu, 22 Nov 2007) | 5 lines

mesh_wire.py - gave an error with no faces,
wizard_curve2tree.py - didnt work with no bevel object
Curve.py - ext1, ext2 didnt reference the interface names.


------------------------------------------------------------------------
r12651 | campbellbarton | 2007-11-22 15:10:51 +0100 (Thu, 22 Nov 2007) | 3 lines

wizard_curve2tree - mistake while debugging.
buttons_shading.c - short names for world settings were not needed.

------------------------------------------------------------------------
r12650 | campbellbarton | 2007-11-22 11:10:57 +0100 (Thu, 22 Nov 2007) | 3 lines

SetPivot, patch from malefico, #7785 also added GetPivot


------------------------------------------------------------------------
r12649 | briggs | 2007-11-22 02:43:24 +0100 (Thu, 22 Nov 2007) | 11 lines

-> Updated FLT scripts

Blender FLT I/O scripts have been updated to have more features.In addition
several utility scripts/applets have been added to aid in working with FLT 
databases within Blender.

Documentation can be found here:

http://wiki.blender.org/index.php/Scripts/Manual/Import/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/Export/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/FLTools
------------------------------------------------------------------------
r12648 | aligorith | 2007-11-22 01:58:57 +0100 (Thu, 22 Nov 2007) | 3 lines

== Armature Path Drawing Tweak ==

Peach Request: Bone path lines are now drawn using two colours to show the parts of the path before and after the current frame. Those before the current frame are drawn darker, while those after are drawn in a blue colour. 
------------------------------------------------------------------------
r12647 | aligorith | 2007-11-22 00:22:56 +0100 (Thu, 22 Nov 2007) | 9 lines

Patch #7794: X-Axis Mirror Support for Various Operations in Armature EditMode
Patch by: Teppo Kansala (teppoka)

This patch adds X-Axis Mirror support for the following tools:
- Delete Bone (X)
- Recalculate Bone Roll Angles... (Ctrl-N)
- Duplicate Bone (Shift-D)
- Clear Parent... (Alt-P)
- Move Bone To Layer (M)
------------------------------------------------------------------------
r12645 | n_t | 2007-11-21 23:12:16 +0100 (Wed, 21 Nov 2007) | 26 lines


- Added OpenMP code, it is enabled by defining PARALLEL=1 for the elbeem
  compilation.  Currently, it is not yet active by default, but 
  Genscher wanted to do some tests. 
  It can be used to distribute the computation load onto multiple shared-
  memory CPUs by splitting the domain along the y-axis (assuming a 
  gravity force along z). However, there is no load balancing: so
  if there's fluid only in one of the y-axis halves you will not get 
  a speedup for 2 CPUs.  

- Added a fix for the memory allocation bugs #7120 and #6775. In 
  solver_init.cpp there are now several variables max___MemChunk 
  (line 692+), that set upper limits for various systems. The same
  problem existed for mac & linux, but the limit is higher, so 
  it probably went by undetected. The windows limit is currently 1GB,
  if the strange 700MB limit problems mentioned in the bug regports the 
  bugs persist, this could be further reduced. For 64bit compilations 
  this problem shouldn't exist anyway.
  What's still missing is a display of how much the resolution was 
  reduced to fit into memory...

- And some minor solver code cleanup.




------------------------------------------------------------------------
r12644 | campbellbarton | 2007-11-21 17:07:47 +0100 (Wed, 21 Nov 2007) | 2 lines

initial support for leaves as duplifaces as well as some a bugfix for loading settings

------------------------------------------------------------------------
r12643 | campbellbarton | 2007-11-21 12:53:30 +0100 (Wed, 21 Nov 2007) | 4 lines

wizard_curve2tree.py - always use active object (local view was messing up the context)
Mesh.c - mesh.faces.extend([..., smooth=True]) - smooth keyword argument, in a number of places was looping through all faces just to smooth them.
mesh_skin.py - smooth by default

------------------------------------------------------------------------
r12642 | campbellbarton | 2007-11-21 10:46:08 +0100 (Wed, 21 Nov 2007) | 2 lines

made twig taper a float rather then a bool, added type conversion when loading settings.

------------------------------------------------------------------------
r12640 | aligorith | 2007-11-21 05:49:13 +0100 (Wed, 21 Nov 2007) | 13 lines

Patch #7779: Make the 'Hold' option work with NLA action modifiers
Patch by: Matt Ebb (broken)

Currently in Blender, NLA action modifiers can work in very wacky and mysterious ways.

If an action is being modified with a path deform, when it reaches the end of that strip, it will snap back to the original un-modified location, regardless of whether the strip 'Hold' option is on. It's very frustrating to work with, and causes all sorts of problems - if you use a path to make a character walk from point A to point B, you generally want him to stay at point B, and not jump somewhere completely different, just because the strip ended.

This patch fixes this behaviour, and makes it much more sensible and predictable. There is a chance that this will break old files that were reliant on the old broken behaviour though, but I think it's definitely worthwhile to fix this problem.

Check the demo file in Blender 2.45 vs one with this patch applied - you can see the difference in behaviour.

Demo File Link (attachment in original tracker post):
https://projects.blender.org/tracker/download.php/9/127/7779/4856/wheelsetup2.zip
------------------------------------------------------------------------
r12639 | aligorith | 2007-11-21 05:08:00 +0100 (Wed, 21 Nov 2007) | 5 lines

== Auto-Keyframing - 'Only Needed' Improvements ==

The 'Only Needed' option for Auto-Keyframing now works better with a few of the different transform options. 

Rotating/Scaling using a pivot point that is not the center of the Object/Bone (3d-cursor, active), also inserts location keyframes if the location also changes. If "Only Centers" option is activated, then only location keyframes are inserted.
------------------------------------------------------------------------
r12636 | ton | 2007-11-20 17:58:25 +0100 (Tue, 20 Nov 2007) | 12 lines

Another feature request from the animation dept:

Relative shapekeys now allow to define the Shape it is relative to!
(It used to be relative with respect to the first key, which is still
default).

The reason for this feature is that keys don't always add together
well when they're all derived from the same base shape. A clear
example is hard to make... will wait for someone posting it. :)



------------------------------------------------------------------------
r12635 | ton | 2007-11-20 16:01:44 +0100 (Tue, 20 Nov 2007) | 9 lines

Tiny group-proxy update:

When you make proxy, the group-update tags should be set OK. 

Symptom: you could not move proxy around until you set keys 
in bones and advance frame.



------------------------------------------------------------------------
r12634 | campbellbarton | 2007-11-20 15:09:34 +0100 (Tue, 20 Nov 2007) | 3 lines

draw image path and size stats in the sequencer again (removed when making single images act differently)
sequencer marker selection didn't work like the marker view.

------------------------------------------------------------------------
r12628 | elubie | 2007-11-19 21:13:14 +0100 (Mon, 19 Nov 2007) | 6 lines

Bugfix #7510: Doesn't save .blend file name with [
* Added Windows specific implementation for fnmatch taken from GNU/MINGW/MSYS C library
* behaviour should now be the same as under Linux and other OSs
* changed filename for fnmatch.h to ensure we include the correct one if we link with the included implementation
* tested compile with MSVC 7.1 and gcc(MinGW-5.1.3) on Windows.

------------------------------------------------------------------------
r12627 | campbellbarton | 2007-11-19 20:00:28 +0100 (Mon, 19 Nov 2007) | 4 lines

==Python API==
removing vertex groups was broken, the function being called was for editmode, this would remove the vertex group but apply the weights from the removed group to the next vertex group.


------------------------------------------------------------------------
r12625 | ton | 2007-11-19 19:00:48 +0100 (Mon, 19 Nov 2007) | 7 lines

Revamp of multi modifier option!

- error fix: overall weight group value was used inverted
- added "Inv" button to make weight group work inverted
- added bigger, more clear Multi Modifier button


------------------------------------------------------------------------
r12624 | campbellbarton | 2007-11-19 18:39:52 +0100 (Mon, 19 Nov 2007) | 24 lines

Update v1.0.11 from Migius

You can find the update v1.0.11 on http://wiki.blender.org/index.php/Scripts/Manual/Import/DXF-3D

changelog:
c4 added "analyse DXF-file" UI-option: print LAYER/BLOCK-dependences into a textfile
c3 human-formating of data in INI-Files
c2 added "caps" for closed Bezier-curves
c2 added "set elevation" UI-option
c1 rewrite POLYLINE2d-arc-segments Bezier-interpreter
b9 many bugs fixed
b9 rewrite POLYLINE2d-arc-segments trimming (clean-trim)
b8 added "import from frozen layers" UI-option
b8 added "import from paper space" UI-option
b8 support Bezier curves for LINEs incl.thickness(0.0-10.0)
b8 added meshSmooth_on for circle/arc/polyline
b8 added vertexGroups for circle/arc
b7 added width_force for ARCs/CIRCLEs = "thin_box" option
b3 cleanup code, rename f_drawArc/Bulg->f_calcArc/Bulg
b2 fixing material assignment by LAYER+COLOR
b1 fixing Bezier curves representation of POLYLINEs-arc-segments
b0 added global_scale_presets: "yard/feet/inch to meter"


------------------------------------------------------------------------
r12623 | campbellbarton | 2007-11-19 15:00:48 +0100 (Mon, 19 Nov 2007) | 3 lines

initial leaf support (need to use in production, at the moment its really simple)
Option to generate variation's - This modifies the original shape to make a variation on the original.

------------------------------------------------------------------------
r12622 | campbellbarton | 2007-11-19 11:49:12 +0100 (Mon, 19 Nov 2007) | 2 lines

typo in Text3d, weightpaint_invert wasnt working properly

------------------------------------------------------------------------
r12621 | campbellbarton | 2007-11-19 11:17:55 +0100 (Mon, 19 Nov 2007) | 2 lines

simple weight invert script for the weightpaint menu, removed a print from weightpaint_average.py

------------------------------------------------------------------------
r12616 | schlaile | 2007-11-18 18:44:48 +0100 (Sun, 18 Nov 2007) | 5 lines

== Sequencer ==

Well, added unnecessary pad variables after a fight with makesdna...


------------------------------------------------------------------------
r12615 | schlaile | 2007-11-18 18:39:30 +0100 (Sun, 18 Nov 2007) | 18 lines

General cleanup in sequencer:

- Seperated StripData into
  StripData
  TStripData
  where StripData holds only image-filenames and TStripData holds
  the working information needed for ImBuf caching.
  => Large drop in memory usage, if you used a lot of movie and meta strips.
  => Fixed bugs in "duplicate" on the way (imbufs where copied around without
     taking reference counting seriously...)
  => Code is much cleaner now
- Added defines for TStripData->ok
  Finally figured out, what the magic values ment and named them properly :)
- Got rid of Sequence->curelem.
  Reason: very bad idea(tm) for multi threading with more than one render
  thread. Still not there, but this was a real show stopper on the way.


------------------------------------------------------------------------
r12614 | blendix | 2007-11-17 22:12:25 +0100 (Sat, 17 Nov 2007) | 4 lines


Fix for multimodifier commit breaking game engine compile.


------------------------------------------------------------------------
r12613 | campbellbarton | 2007-11-17 15:21:53 +0100 (Sat, 17 Nov 2007) | 2 lines

Selecting an image in editmode now adds UV's if they are not there (before assigning the image)

------------------------------------------------------------------------
r12612 | campbellbarton | 2007-11-17 02:17:23 +0100 (Sat, 17 Nov 2007) | 8 lines

wizard_curve2tree - more twig options
- gravity (like particles)
- follow parent (like gravity but use the parent normal)
- limit the number of twigs on each branch
- limit the radius that a twig may be placed on a branch
- trim the base of branches in a way that better deals with small branches on large branches


------------------------------------------------------------------------
r12610 | ton | 2007-11-16 16:46:59 +0100 (Fri, 16 Nov 2007) | 19 lines

Long outstanding feature request: "Multi Modifier"

This allows to mix between the result of 2 modifiers, with both
using the same input state. This is useful for having a mesh deform
and armature deform working together.

However! This functionality could have been presented better...
this is actually Node editor stuff!

Now it works by adding a "MM" button, next to the "overall vgroup"
option. If MM is pressed, the input of this modifier is the same as
the input of the previous modifier.
Only the armature modifier has this option now...






------------------------------------------------------------------------
r12609 | campbellbarton | 2007-11-16 15:47:31 +0100 (Fri, 16 Nov 2007) | 7 lines

* wizard_curve2tree.py - Automatic alpha blended, textured image joins using material textures and UV layers.  Also added some detail options and made it easier to get low poly results.

* Mesh.c bugfix, "mesh.verts = None" didn't set the mesh->mselect pointer to NULL, wizard_curve2tree so would crash when in editmode.
* Texture.py - MTex.uvlayer doc was missing
* buttons_shading.c - Stencil tooltip was stupid.


------------------------------------------------------------------------
r12606 | bebraw | 2007-11-16 13:35:48 +0100 (Fri, 16 Nov 2007) | 4 lines

= Added missing defines to buttons_object.c =

Added some defines to buttons_object.c I forgot to add in previous commit.

------------------------------------------------------------------------
r12605 | bebraw | 2007-11-16 13:23:00 +0100 (Fri, 16 Nov 2007) | 8 lines

= Fix for softbody collision mode selector =

This commit makes all softbody collision modes work as they should.

Thanks to Genscher for noticing the issue.

bjornmose, please check this commit.

------------------------------------------------------------------------
r12601 | ton | 2007-11-15 20:02:31 +0100 (Thu, 15 Nov 2007) | 6 lines

Bugfix #7552

Panels with different width or height, should give a re-align call 
when tabbed and tabs switch 


------------------------------------------------------------------------
r12599 | ton | 2007-11-15 14:38:35 +0100 (Thu, 15 Nov 2007) | 6 lines

Bugfix #7631

Outliner: change name of library path to become relative gave 
incorrect warning.


------------------------------------------------------------------------
r12598 | campbellbarton | 2007-11-15 13:16:03 +0100 (Thu, 15 Nov 2007) | 2 lines

put the revision number in the splash screen (scons and make)

------------------------------------------------------------------------
r12597 | ton | 2007-11-15 13:15:28 +0100 (Thu, 15 Nov 2007) | 6 lines

Proxy fix:

Armature Proxy: the 'free pose channel' didn't restore the custom shapes
when reloading file.


------------------------------------------------------------------------
r12596 | broken | 2007-11-15 07:07:02 +0100 (Thu, 15 Nov 2007) | 5 lines

* Fixed own bug: glossy reflections was erroneously giving a 
distorted copy of the original face normal, meaning that on 
smooth shaded faces, sometimes the check to keep rays 
reflected out away from the face wasn't working, and the ray 
would intersect when it shouldn't. 
------------------------------------------------------------------------
r12595 | broken | 2007-11-15 01:11:00 +0100 (Thu, 15 Nov 2007) | 16 lines

* New material option: TexFace Alpha

This is an additional option for 'TexFace', which uses the alpha of 
the UV assigned faces as well as the colour. It appears in material 
buttons as a little 'A' button next to 'TexFace', when 'TexFace is 
switched on. It's a bit horrible, but no point tweaking that layout in 
isolation at this stage.

This image is using texface alpha, with different assigned images, all 
sharing the one material:
http://mke3.net/blender/devel/rendering/texface_alpha.jpg

Usually I consider texface (and teaching people to use it for UV 
mapping) to be pretty evil, but in some cases, when you have lots of 
separate images that you want to control in the one material, it can 
be quite handy.
------------------------------------------------------------------------
r12594 | aligorith | 2007-11-15 00:46:18 +0100 (Thu, 15 Nov 2007) | 5 lines

Bugfix #7781: "IPO-Broom" effect

This commit *should* fix these problems for good. It seems that my attempts at optimising the code (by exiting a loop once the first match was found) were causing it to fail. 

I've also made the code aware of handle swapping. I noticed that the handles were not being corrected appropriately after negative scaling.
------------------------------------------------------------------------
r12593 | blendix | 2007-11-14 23:56:32 +0100 (Wed, 14 Nov 2007) | 8 lines


Bugfix:

Drawing linked duplicates in editmode leaked memory, and could
also crash. This fixes the memory leak, and hopefully also the
crash.


------------------------------------------------------------------------
r12592 | aligorith | 2007-11-14 23:44:30 +0100 (Wed, 14 Nov 2007) | 1 line

Just a little comment commit explaining where "samples" comes from...
------------------------------------------------------------------------
r12589 | elubie | 2007-11-14 22:19:49 +0100 (Wed, 14 Nov 2007) | 3 lines

- fix for crash with MSVC compiler, global array constraintsTypeInfo overwriting caused memory corruption
Aligorith: please check, I think fix is quite obvious though.

------------------------------------------------------------------------
r12588 | ton | 2007-11-14 17:50:51 +0100 (Wed, 14 Nov 2007) | 4 lines

Small feature added to new "show bone paths around cfra":
- after a insert-key (autokey mode) it updates paths.


------------------------------------------------------------------------
r12587 | ton | 2007-11-14 17:20:19 +0100 (Wed, 14 Nov 2007) | 3 lines

Bugfix in MeshDeform file reading, should check for NULL pointer case...


------------------------------------------------------------------------
r12586 | ton | 2007-11-14 11:20:13 +0100 (Wed, 14 Nov 2007) | 6 lines

Bugfix #7686

Render, Ortho, lamphalo position was off a bit due to missing correction
factor.


------------------------------------------------------------------------
r12584 | broken | 2007-11-14 02:13:30 +0100 (Wed, 14 Nov 2007) | 1 line

* Visualise the Map Old/Map New setting in the timeline with a stippled overlay in the stretched section
------------------------------------------------------------------------
r12583 | broken | 2007-11-14 00:53:58 +0100 (Wed, 14 Nov 2007) | 9 lines

* New feature on compo scale node: "Scene Size %"

This option sets the relative scaling factor to the amount set in the 
scene "100%/75%/50%/25%" buttons. It's useful when you've got a fixed 
background image, and want to do preview renders at a lesser 
percentage, so you don't have to go and change the scale node each 
time you change the %.

Also removed unnecessary use of a global from texture node.
------------------------------------------------------------------------
r12581 | campbellbarton | 2007-11-13 22:32:53 +0100 (Tue, 13 Nov 2007) | 5 lines

- bounding meshes with loc/size/rot  didnt work.
- better sorting of twigs (for recursive twigs)
- An option to lengthen child twigs.


------------------------------------------------------------------------
r12579 | blendix | 2007-11-13 19:50:57 +0100 (Tue, 13 Nov 2007) | 5 lines


Bugfix for endian bug in mdef file writing.
Also an unrelated warning fix.


------------------------------------------------------------------------
r12578 | ton | 2007-11-13 19:01:01 +0100 (Tue, 13 Nov 2007) | 6 lines

Bugfix 7733

New mouse scrollwheels allowing higher precision didn't work in Windows.
Code was assuming only value of +120 or -120 were returned.


------------------------------------------------------------------------
r12577 | campbellbarton | 2007-11-13 17:50:43 +0100 (Tue, 13 Nov 2007) | 3 lines

- new UV scaling option works better for big/small branches.
- Can constrain twigs to only grow in a bounding mesh. And an option to prune twigs that grow out.

------------------------------------------------------------------------
r12576 | campbellbarton | 2007-11-13 16:32:27 +0100 (Tue, 13 Nov 2007) | 3 lines

==Python API==
mesh.pointInside(vec)  wasnt working in all cases. (own mistake)

------------------------------------------------------------------------
r12575 | aligorith | 2007-11-13 12:54:20 +0100 (Tue, 13 Nov 2007) | 8 lines

== Peach Feature Requests (Bone-Path Drawing) ==

* Added a new option to only calculate a certain number of frames before/after the current frame instead of defining a frame range. This is useful in certain cases on longer timelines, to be able to view the paths for certain regions quicker.

* When inserting a keyframe, if a bone already has path drawing on, the path for that bone will get automatically recalculated. More testing is required to see if there are any more cases where this would be useful. Also, a global setting to turn this on/off would be a good idea.

Todo (requested but not yet implemented):
* Parts of path before/after current frame could get drawn with different colours
------------------------------------------------------------------------
r12574 | hos | 2007-11-13 07:56:55 +0100 (Tue, 13 Nov 2007) | 12 lines

==Mirror Modifier==

Support for using the axes of a different object as the line of mirror
symmetry for a mirror modifier. As a nice consequence, this allows
"clipping" to arbitrary planes in editmode.

A fun example of using a couple of mirror modifiers and an array
modifier to easily make a nice flower type model is here:

http://bebop.cns.ualberta.ca/~cwant/chocolateC05.blend


------------------------------------------------------------------------
r12573 | campbellbarton | 2007-11-13 00:19:33 +0100 (Tue, 13 Nov 2007) | 5 lines

Tree Wizard. 
'Twigs' - branch's added to the existing, made from blending existing branches into new ones.

Some user settings for scale, orientation randomness, number of twigs and recursive twigs.

------------------------------------------------------------------------
r12571 | campbellbarton | 2007-11-12 21:08:48 +0100 (Mon, 12 Nov 2007) | 2 lines

mistake in last commit

------------------------------------------------------------------------
r12570 | campbellbarton | 2007-11-12 21:02:36 +0100 (Mon, 12 Nov 2007) | 5 lines

added options to weightpaint normalize script
- armature only - so when using weight groups for other things only armature groups are affected,
- Active only - so you can normalize all weight groups


------------------------------------------------------------------------
r12567 | bebraw | 2007-11-12 13:54:37 +0100 (Mon, 12 Nov 2007) | 3 lines

= Changed Icosphere max to 8 and fixed Remove Doubles =
This commit changes icosphere maximum to 8 (was 500 before).
Also made Remove Doubles button found in the Buttons Window work again.
------------------------------------------------------------------------
r12566 | ton | 2007-11-12 12:45:48 +0100 (Mon, 12 Nov 2007) | 6 lines

Bugfix #7756

Sequencer: changing the Scene strip length (Ckey) crashed.
This is very confused code here... ancient allocation issues. :)


------------------------------------------------------------------------
r12565 | ton | 2007-11-12 10:37:46 +0100 (Mon, 12 Nov 2007) | 9 lines

Bugfix #7735

Spothalo sometimes gave black pixels. Error was using floating point
32 bits precision checks where double should be used.

(10e-7 vs 10e-16)



------------------------------------------------------------------------
r12564 | blendix | 2007-11-12 10:12:37 +0100 (Mon, 12 Nov 2007) | 8 lines


Mesh Deform Modifier
====================

Forgot to uncomment line again for the weight threshold before I committed,
this should save some time and memory space.


------------------------------------------------------------------------
r12561 | aligorith | 2007-11-12 05:17:03 +0100 (Mon, 12 Nov 2007) | 17 lines

Patch #7767: Constraint Subtargets can now target anywhere on a bone, not just the head or tail
Patch by: Roland Hess (harkyman)

For example, a constraint can be sub-targeted at the 50% (or 31.2% or 85% etc.) point of its target bone, giving you enormous rigging flexibility and removing the need for complex contraptions to do such things as:

- A bone whose base slides only between to points on a rig (CopyLoc with a variable, animated subtarget point)
- Bones that attach to multiple points along another bone (CopyLocs, each with a different head/tail percentage)
- Bones that need to stretch to a point midway between specific spots on two other bones (old way: too crazy to mention; new way: stretch bone between points on end bones, then another stretch to the midpoint of the first stretch)

It is only used for the constraint types for which it is relevant: CopyLoc, TrackTo, StretchTo and MinMax, TrackTo, and Floor.

Notes:
- This is accessed by the Head/Tail number-slider. 
- This value can be animated per constraint
- The old "Copy Bone Tail" option for the CopyLoc constraint has been automatically converted to 1.0 Head/Bone values for the affected constraints
- In the code, this value is in the bConstraint struct, so it is available for all constraints, even though only a few implement it.

------------------------------------------------------------------------
r12559 | blendix | 2007-11-11 23:54:14 +0100 (Sun, 11 Nov 2007) | 13 lines


Mesh Deform Modifier
====================

Dynamic binding support. This means that the mesh can move _within_
the cage and still deform correct. If the mesh goes out of the cage,
don't expect correct result. Must be enabled with the 'Dynamic'
option, because it is slower and consumes more memory.

This is useful to use e.g. the cage mesh for main deformations and
still have shape keys for facial deformation working.


------------------------------------------------------------------------
r12558 | campbellbarton | 2007-11-11 22:14:44 +0100 (Sun, 11 Nov 2007) | 2 lines

Loop in parents cant happen anymore, better dealing with segments with more then 4 children. print timing stats.

------------------------------------------------------------------------
r12556 | pidhash | 2007-11-11 17:56:22 +0100 (Sun, 11 Nov 2007) | 3 lines

dropped some unused lines, if that was some new feature witch I no found mentions in svn logs please to commit 
for trunk when ready

------------------------------------------------------------------------
r12553 | ton | 2007-11-11 17:13:27 +0100 (Sun, 11 Nov 2007) | 11 lines

Proper code for bugfix revision 12365 (which was uncommitted today).

Old log Message:
-----------
bug fix, when opening blender with a file (by double clicking or from the 
command line) - the initial undo state would be set to the default scene.
So holding Ctrl+Z would go back to the default .B.blend rather then the 
file that the user opened.



------------------------------------------------------------------------
r12552 | campbellbarton | 2007-11-11 16:18:53 +0100 (Sun, 11 Nov 2007) | 9 lines

Undoing 'undo' fix 12365, it didn't work the same on mac's, Ton would like to fix the bug himself.

Tree From Curve,
- report error when nurbs or poly curves are used.
- don't throw errors when >4 branch's per segment are used. also try deal with this better. though no nice solution exists.
- default speed is 10x slower then before.



------------------------------------------------------------------------
r12550 | campbellbarton | 2007-11-10 21:00:15 +0100 (Sat, 10 Nov 2007) | 8 lines

Rewrote the part that converted blenders curves into branches, 
Was converting into a mesh and then doing location checks, to figure out what the radius should be and then interpolating. this was the slowest part of the script and it made a mesh every time.

Now use blenders bezier interpolation function and calculate points like blender does.

fixed a driver syntax error for the Z axis (typo)


------------------------------------------------------------------------
r12549 | campbellbarton | 2007-11-10 20:56:06 +0100 (Sat, 10 Nov 2007) | 2 lines

Exclude generated images when checking if an image is already loaded, it can be very confusing when you don't appear to have the image loaded anywhere.

------------------------------------------------------------------------
r12548 | campbellbarton | 2007-11-10 16:31:41 +0100 (Sat, 10 Nov 2007) | 3 lines

added buttons in the Transform Properties for changing curve handle types, (Similar to how Metaballs can be selected) for easier access then H,Shift H, V keys


------------------------------------------------------------------------
r12547 | elubie | 2007-11-10 12:45:25 +0100 (Sat, 10 Nov 2007) | 5 lines

Bugfix #6797: Relative paths load problem on new file (fix included)
- brought back the check for a valid relative base when selecting.
- kept the check for when file is saved too and warning message is printed to console instead of popping up.
Also fixed BLI_split_filedir overwriting parameter passed as const char*

------------------------------------------------------------------------
r12546 | campbellbarton | 2007-11-10 12:05:44 +0100 (Sat, 10 Nov 2007) | 7 lines

==Python API==
added .smooth setting to CurNurb's

so you can do....
for curNurb in Curve.Get('foo'): curNurb.smooth = True


------------------------------------------------------------------------
r12544 | elubie | 2007-11-10 10:11:42 +0100 (Sat, 10 Nov 2007) | 5 lines

== imagebrowser ==
* bugfix: calling imagebrowser with relative path results in non-existing dir
* cleanup: removed unneeded BIF_filelist_appenddir function
* added check for valid relative base when activating imagebrowser (like in filebrowser)

------------------------------------------------------------------------
r12543 | aligorith | 2007-11-10 03:53:19 +0100 (Sat, 10 Nov 2007) | 3 lines

CopyRot Constraint and Transforms:

Now, when rotating along local axes of an object/bone with a copy-rot constraint that has offset on, the results are more predicatable. However, doing so with global axes is still in CrazySpace (TM).
------------------------------------------------------------------------
r12542 | campbellbarton | 2007-11-10 00:06:31 +0100 (Sat, 10 Nov 2007) | 3 lines

better segment collapsing (check for radius/angle difference) 
remove vert groups from existing mesh when its being reused

------------------------------------------------------------------------
r12541 | campbellbarton | 2007-11-09 17:51:24 +0100 (Fri, 09 Nov 2007) | 2 lines

branch cap ends, UV scale options, Automatic update option added. as well as some bugs fixed.

------------------------------------------------------------------------
r12540 | campbellbarton | 2007-11-09 17:05:04 +0100 (Fri, 09 Nov 2007) | 2 lines

mistake in last commit 

------------------------------------------------------------------------
r12539 | ton | 2007-11-09 17:02:31 +0100 (Fri, 09 Nov 2007) | 4 lines

Feature: transform manipulator (align normal option) aligns with bezier 
handles now. Needed & useful for modeling trees here...


------------------------------------------------------------------------
r12538 | campbellbarton | 2007-11-09 16:56:41 +0100 (Fri, 09 Nov 2007) | 2 lines

PyTuple_Pack dosnt work with python 2.3 - removed

------------------------------------------------------------------------
r12537 | ton | 2007-11-09 15:58:55 +0100 (Fri, 09 Nov 2007) | 7 lines

Quick added feature: the "do not get scaling from parent bone" option.

It's next to the 'hinge' button, a small 'S'. No more space here... will
make it nicer inferface later. :)
Let's first see if this works as expected.


------------------------------------------------------------------------
r12536 | campbellbarton | 2007-11-09 13:19:10 +0100 (Fri, 09 Nov 2007) | 2 lines

saving and loading of settings per tree, also added a way to get unique animation using object locations in drivers

------------------------------------------------------------------------
r12535 | campbellbarton | 2007-11-09 11:29:19 +0100 (Fri, 09 Nov 2007) | 3 lines

curve2tree - animation settings - speed and magnitude
Python api - texture.evaluate can now accept tuples of numbers as well as vectors

------------------------------------------------------------------------
r12533 | campbellbarton | 2007-11-09 02:35:00 +0100 (Fri, 09 Nov 2007) | 3 lines

tree branch bones can now animate using drivers that reference textures, so animation can be controlled from clouds, noise settings after being created. still need to add user preferences for animation speed and magnitude.


------------------------------------------------------------------------
r12532 | campbellbarton | 2007-11-09 01:05:15 +0100 (Fri, 09 Nov 2007) | 2 lines

Branch's now have weights assigned to the mesh and an armature modifier applied so the bones effect the tree.

------------------------------------------------------------------------
r12531 | campbellbarton | 2007-11-08 23:13:40 +0100 (Thu, 08 Nov 2007) | 2 lines

automatic armature generation follows branch's

------------------------------------------------------------------------
r12529 | campbellbarton | 2007-11-08 21:25:56 +0100 (Thu, 08 Nov 2007) | 2 lines

bug fix with trimming intersecting branches, added setting for branch joint smoothing. some speedups

------------------------------------------------------------------------
r12528 | blendix | 2007-11-08 19:02:15 +0100 (Thu, 08 Nov 2007) | 5 lines


Bugfix:
Issue with dual quaternion scaling + vertex group influence.


------------------------------------------------------------------------
r12527 | theeth | 2007-11-08 16:57:18 +0100 (Thu, 08 Nov 2007) | 2 lines

Fix for bug [#7741] new colorband for weightpainting overlaps with verse settings

------------------------------------------------------------------------
r12526 | campbellbarton | 2007-11-08 16:41:11 +0100 (Thu, 08 Nov 2007) | 3 lines

user interface added for 'Tree from curves' tool.
renamed Filter to Blur to Filter for #define as well

------------------------------------------------------------------------
r12525 | bebraw | 2007-11-08 14:49:11 +0100 (Thu, 08 Nov 2007) | 4 lines

Fix for bug #7697 Appending screen crashes when appended screen is accessed:
This commit fixes the issue by disabling access to screens via the path input field.

Note that appending screens might actually be a useful feature to implement at some point.
------------------------------------------------------------------------
r12524 | campbellbarton | 2007-11-08 14:02:59 +0100 (Thu, 08 Nov 2007) | 6 lines

* new stamp option to stamp forground sequence strip name.
* made stamp filename optional
* renamed weightpaint "Filter" to "Blur"
* made the defailt weightpaint opacity 1.0 rather then 0.2 so when you select 1.0 weight you can paint it with without multiple clicks.


------------------------------------------------------------------------
r12523 | aligorith | 2007-11-08 10:49:49 +0100 (Thu, 08 Nov 2007) | 3 lines

Bugfix #7682: Constraint.InsertKey works odd for PoseBones

Constraint.InsertKey was inserting keyframes for the wrong action-channel. It was doing so for the active bone, not the owner of the constraint. 
------------------------------------------------------------------------
r12522 | aligorith | 2007-11-08 09:27:21 +0100 (Thu, 08 Nov 2007) | 5 lines

Patch #7722: no 'Auto IK' for solitary (unconnected) bone

'Auto IK' is a great feature, however when solitary unconnected bone (without connected child bones) is grabbed it can't be moved because of IK. This can be really annoying. Preventing 'Auto IK' for solitary bones would improve user-experience by making mixing of FK and IK  more convenient while using 'Auto IK'.

Patch by Teppo Kansala (teppoka). 
------------------------------------------------------------------------
r12521 | aligorith | 2007-11-08 09:06:50 +0100 (Thu, 08 Nov 2007) | 5 lines

Patch #7760: X-Axis-Mirror support for 'make bone parent'

This patch by Teppo Känsälä (teppoka) makes parenting bones with Ctrl-P support the X-Axis-Mirror option for Armatures. It will cause the mirror-bone of the selected bone to also get parented. i.e. if "bone.R" was selected and being parented, "bone.L" would also get parented.

I've made an addition to this patch, which means that if the bone that acts as the parent also has a mirror-bone (i.e. when parenting "lowerArm.L" to "upperArm.L", "lowerArm.R" gets parented to "upperArm.R"). Otherwise, they both get parented to the same parent bone (i.e. a parent bone that doesn't belong on either side such as "upperSpine")
------------------------------------------------------------------------
r12519 | campbellbarton | 2007-11-08 01:06:48 +0100 (Thu, 08 Nov 2007) | 4 lines

New Curve function in the curve specials menu - "Smooth Radius" this smooth's the radius of selected curve points to unselected or endpoints. useful when changing the taper of a long curve 
with many points (think treetrunk), it would be nice to take into account distance on the path when doing the curve interpolation.
Also moved added undo call's that were missing for 2 of the other curve specials.

------------------------------------------------------------------------
r12516 | campbellbarton | 2007-11-07 22:39:23 +0100 (Wed, 07 Nov 2007) | 4 lines

(work in progress commit) - tree wizard, makes a subsurfed skin from curves. also adds UV's (and soon bones)
needs a user interface.


------------------------------------------------------------------------
r12513 | joeedh | 2007-11-07 19:52:23 +0100 (Wed, 07 Nov 2007) | 7 lines

=Python API bugfix=

Scene.update(full=1) was pretty useless as it didn't actually evaluate the
depsgraph DAG.  This meant, for example, that re-evaluating the parenting
tree for an armature pose could only be done by redrawing the view (which
evaluates the depsgraph). scene_update_for_newframe() is now called when Scene.update is in "full" mode; to prevent firing off newframe scriptlink events, scriptlinks are
temporarily disabled while scene_update_for_newframe() is being called.
------------------------------------------------------------------------
r12511 | campbellbarton | 2007-11-07 14:02:50 +0100 (Wed, 07 Nov 2007) | 2 lines

own silly error, was reusing an existing flag for the draw curve handles setting.

------------------------------------------------------------------------
r12510 | ton | 2007-11-07 12:14:52 +0100 (Wed, 07 Nov 2007) | 4 lines

Small fix for feature 'custom weight paint range': the range was not
initialized on starting Blender.


------------------------------------------------------------------------
r12505 | campbellbarton | 2007-11-06 20:56:25 +0100 (Tue, 06 Nov 2007) | 3 lines

curve selection wasnt checking if the screen coords were clipped. made selecting off screen verts possible. This looks like an old bug (at least it existed before I added 
hide handles option).

------------------------------------------------------------------------
r12504 | campbellbarton | 2007-11-06 19:53:46 +0100 (Tue, 06 Nov 2007) | 6 lines

==Python API==
Blender.Geometry.ClosestPointOnLine(pt, vec1, vec2) -> (pt, lambda)
This wraps lambda_cp_line_ex

Needed for experemental tree generator

------------------------------------------------------------------------
r12499 | blendix | 2007-11-06 15:15:45 +0100 (Tue, 06 Nov 2007) | 5 lines


Bugfix:
Mesh deform invert vertex group influence didn't work entirely correct.


------------------------------------------------------------------------
r12498 | campbellbarton | 2007-11-06 14:44:26 +0100 (Tue, 06 Nov 2007) | 4 lines

==Python API==
Bugfix, Space Handlers could crash blender when used with armatures.
also fixed some possible bugs in other areas.

------------------------------------------------------------------------
r12494 | aligorith | 2007-11-06 12:41:09 +0100 (Tue, 06 Nov 2007) | 6 lines

== "Extend" Transform Mode for Action + NLA Editors ==

Peach Request:
Now the Action and NLA editors have the "Extend" transform mode first seen in the Sequence Editor. Just use the EKEY to start transforming.

It works like Grab, except it only moves the keyframes/side of NLA-strip that was on the same side of the current-frame marker as the mouse was when transform started.
------------------------------------------------------------------------
r12492 | blendix | 2007-11-06 12:25:48 +0100 (Tue, 06 Nov 2007) | 5 lines


Bugfix:
Mesh deform modifier crashed when applied to lattices.


------------------------------------------------------------------------
r12491 | blendix | 2007-11-06 10:44:34 +0100 (Tue, 06 Nov 2007) | 8 lines


Mesh Deform Modifier
====================

Added a button to invert the vertex group influence, to make blending
between mdef and armature deform easier.


------------------------------------------------------------------------
r12487 | campbellbarton | 2007-11-05 22:06:27 +0100 (Mon, 05 Nov 2007) | 3 lines

sequencer snap was crashing when no last selected was available (own mistake)
material names spelling was odd - HalveGreen -> HalfGreen

------------------------------------------------------------------------
r12486 | elubie | 2007-11-05 21:16:23 +0100 (Mon, 05 Nov 2007) | 3 lines

== MSVC 7.1 projectfiles ==
- added missing CMP_crop.c

------------------------------------------------------------------------
r12483 | blendix | 2007-11-05 19:44:42 +0100 (Mon, 05 Nov 2007) | 7 lines


Bugfix:
B-bones didn't work well with non-uniform scaling applied to them.
The code to solve this is not too pretty, but don't know how to do
it simpler, and at least it makes that stretchy spine work.


------------------------------------------------------------------------
r12482 | blendix | 2007-11-05 18:38:07 +0100 (Mon, 05 Nov 2007) | 5 lines


Bugfix:
Dual quaternions + armature modifier vgroup didn't work together correct.


------------------------------------------------------------------------
r12481 | sirdude | 2007-11-05 18:27:11 +0100 (Mon, 05 Nov 2007) | 5 lines

Tweaks I needed to get blender compiling on my new macbook running leopard.

Kent


------------------------------------------------------------------------
r12480 | sirdude | 2007-11-05 17:46:48 +0100 (Mon, 05 Nov 2007) | 6 lines

Tweak for MSVC2005 people:

http://www.blender.org/forum/viewtopic.php?t=12408

Kent

------------------------------------------------------------------------
r12477 | blendix | 2007-11-04 23:00:24 +0100 (Sun, 04 Nov 2007) | 21 lines


Mesh Deform Modifier
====================

The MeshDeform modifier can deform a mesh with another 'cage' mesh.
It is similar to a lattice modifier, but instead of being restricted
to the regular grid layout of a lattice, the cage mesh can be modeled
to fit the mesh better.

http://www.blender.org/development/current-projects/changes-since-244/modifiers/

Implementation Notes:
- OpenNL has been refactored a bit to allow least squares matrices to
  be built without passing the matrix row by row, but instead with
  random access. MDef doesn't need this actually, but it's using this
  version of OpenNL so I'm just committing it now.
- Mean value weights for polygons have been added to arithb.c, a type
  of barycentric coordinates for polygons with >= 3 vertices. This
  might be useful for other parts of blender too.


------------------------------------------------------------------------
r12473 | ton | 2007-11-04 20:41:21 +0100 (Sun, 04 Nov 2007) | 5 lines

A different approach for the new driver option: it now uses pose-space
instead of bone-space. This makes it visual easier to use. For the todo:
a large array of buttons for users to pick what kind of 'space' is used?


------------------------------------------------------------------------
r12471 | ton | 2007-11-04 20:01:31 +0100 (Sun, 04 Nov 2007) | 4 lines

Small error in previous commit: button label in IpoWindow panel overlap.



------------------------------------------------------------------------
r12470 | ton | 2007-11-04 18:14:39 +0100 (Sun, 04 Nov 2007) | 12 lines

New driver option for the poor suffering riggers:

"Rotation Difference"

This option, for Bones, allows the angle between two Bones to be
the driver for another Ipo channel. This angle now is hardcoded 
based on the Bone-space orientation (without parenting rotation).

Thanks to nathan for poking and test!



------------------------------------------------------------------------
r12466 | hos | 2007-11-04 03:25:32 +0100 (Sun, 04 Nov 2007) | 8 lines

Bug fix to handle extruding with a mirror modifier, now that axes are
specified with a bitmask rather than only operating on a single axis.
This is a reworking of the fix done in blender 2.42 that was mentioned
in the sixth on item on this page:

http://www.blender.org/development/release-logs/blender-242/mesh-tools/


------------------------------------------------------------------------
r12454 | aligorith | 2007-11-02 04:00:35 +0100 (Fri, 02 Nov 2007) | 1 line

Typo fix for my previous commit... wrong-sized array was being allocated, but somehow this still managed to work fine last night. 
------------------------------------------------------------------------
r12453 | theeth | 2007-11-01 22:44:41 +0100 (Thu, 01 Nov 2007) | 9 lines

== utils ==

New listbase functions:
	void BLI_insertlinkafter(struct ListBase *listbase, void *vprevlink, void *vnewlink);
		- corrolary to insertlinkbefore
		
	BLI_sortlist(struct ListBase *listbase, int (*cmp)(void *, void *));
		- simple in place sorting method. NOT optimized, so use for small lists only. Uses a variant of insertion sort (I was lazy, people should feel free to rewrite).

------------------------------------------------------------------------
r12451 | blendix | 2007-11-01 13:55:47 +0100 (Thu, 01 Nov 2007) | 10 lines


Hinge Bone Transform
====================

This changes the way hinge bones are transformed when their parent bones
are also selected. Before it just disabled transform for these, now they
are rotated and scaled as well, but without influencing the transform
center, which gives behaviour as if they were regular bones.


------------------------------------------------------------------------
r12450 | blendix | 2007-11-01 13:40:46 +0100 (Thu, 01 Nov 2007) | 11 lines


IK
==

Solving is now done independent of scale, by scaling the chain to have a
size of about 1.0. This solves some issues with small or big chains, and
also makes the IK stretch setting independent of scale. The latter breaks
backwards compatibility somewhat, but is an improvement over what it did
before.


------------------------------------------------------------------------
r12449 | aligorith | 2007-11-01 12:40:56 +0100 (Thu, 01 Nov 2007) | 3 lines

Bugfix - Ipo-Editor Scaling:

When scaling all the control-points in the IPO Editor with negative scales, the control-points would end up "sticking together", and cancelling/undo would not help. 
------------------------------------------------------------------------
r12448 | aligorith | 2007-11-01 12:08:07 +0100 (Thu, 01 Nov 2007) | 7 lines

Bugfix #7639: Visual Rot keyframing not working properly

When using targetless-ik, the offset in rotation of the final transform from the rest-position was being incorrectly calculated. 

Now, visual-rotation keyframing uses the space-switching code I wrote for constraints, to calculate the value to keyframe. So far, it seems to work quite well. 

As the constraint space-switcher correctly handles hinged bones too (I think it should!), I've also removed the restriction of only allowing visual-rotation keying on bones that didn't have hinge set. 
------------------------------------------------------------------------
r12447 | broken | 2007-10-31 22:55:06 +0100 (Wed, 31 Oct 2007) | 54 lines

* Two usability tweaks in adding objects, with user prefs

This changes the default behaviour in adding new objects, which has been
discussed for a long time, in person, on the funboard, and in the tracker,
and was agreed to be implemented during the 2.5 release cycle, so here it is.
They have been made default, with preferences to bring back old behaviour since 
although people like myself still prefer the new default anyway, it will benefit 
new users the most. 

The preferences are in the 'Edit Methods' section, changing back to old behaviour
is as simple as a click of a button.

- Switch to edit mode preference 

By default, now adding a new object doesn't automatically switch to edit mode.
Not only can this be annoying (most of the time when setting up scenes and models
I don't want to edit it straight away anyway), but it's a major hurdle in the learning
curve that new users have had to deal with at a very early stage.

Blender's different modes are an important part of understanding how the software works
and should have clear behaviour. The problem is that when a user selects something from
the add menu, he's not telling Blender to change modes, he wants to add an object.
But Blender then goes ahead and changes modes underneath him anyway, something that was 
never explicitly asked for, something that's unrelated to the mental task at hand, and 
fundamentally important to the operation of the software.

We observed plenty of people struggling with this during the training sessions that 
we ran during Project Orange, and there's also no shortage of "why can't I select 
other objects" questions on the forums.

- Aligned to View preference

Now by default, adding a new object doesn't rotate it so it's aligned facing the view, 
but rather, it's remains unrotated in world space. This is something that's more of 
a convenience issue (allowing people like me to stop the 'Add->Tab->Alt R dance), 
but also makes things easier for new users, especially when doing things like rigging.

For a lot of tools in Blender, like curve deform, path cycling, constraints, it's necessary
for your objects' local axes to be aligned. This requirement isn't that obvious, and I've 
had to debug rigs a few times from the animator in our studio, who has everything set up
correctly, but he just happened to be in a different vie at the time he added the object,
so they're misaligned and causing problems. Having all objects get created aligned to
worldspace, by default, makes a lot of these problems go away. It's much more understandable
when rotations are caused by something you've done explicitly, rather than as a side effect
of the software.

For convenience as well, most of the time, when I'm working in context and I decide I need a new object, 
particularly working on production scenes that involve more than just one model, an Alt R 
is almost always required after adding, since I don't want to have to disrupt the current 
view of the scene by switching to top view, just to add an object. It's a bit arbitrary, 
the view from which you want to look at your objects isn't usually the way you want them to
be looking at you.


------------------------------------------------------------------------
r12443 | bdiego | 2007-10-31 17:28:07 +0100 (Wed, 31 Oct 2007) | 3 lines

Fix typo in "#include" file.


------------------------------------------------------------------------
r12441 | ton | 2007-10-31 14:56:07 +0100 (Wed, 31 Oct 2007) | 9 lines

New feature:

Weightpaint drawing now allows to define your own range of colors;
using a ColorBand, available in the User settings.

Log:
http://www.blender.org/development/current-projects/changes-since-244/animation-features/


------------------------------------------------------------------------
r12440 | aligorith | 2007-10-31 11:04:57 +0100 (Wed, 31 Oct 2007) | 10 lines

== Copy Scale Constraint - Offset ==

Now the Copy Scale Constraint also has the Offset functionality that Copy Loc/Rot have. 


== Copy Rotation Constraint == 

Also, fixed the tooltip for the CopyRot Offset button.

Note: when working with pose-bones, and using offset, setting both owner+target spaces to pose-space should cancel any unwanted rotations visible.
------------------------------------------------------------------------
r12436 | aligorith | 2007-10-30 12:18:50 +0100 (Tue, 30 Oct 2007) | 3 lines

== Copy Rotation Constraint - Peach (Cessen) Request ==

Copy Rotation constraint now has ability for the owner's rotation to be added on top of the copied rotation (i.e. an 'offset' like for the Copy Location constraint). 
------------------------------------------------------------------------
r12435 | aligorith | 2007-10-30 06:58:25 +0100 (Tue, 30 Oct 2007) | 3 lines

Bugfix #7685: Stamp info displays incorrect label for scene.

Copy+Paste error, wrong prefix used. Patch provided by Malcolm Tredinnick (malcolmt)
------------------------------------------------------------------------
r12434 | aligorith | 2007-10-30 06:22:46 +0100 (Tue, 30 Oct 2007) | 3 lines

Bugfix: "exploding candy"

Missed a case where I converted set_constraint_target incorrectly. This resulted in mancandy "exploding" on loading proxy-linked mancandy files.
------------------------------------------------------------------------
r12431 | zaghaghi | 2007-10-29 20:41:25 +0100 (Mon, 29 Oct 2007) | 1 line

GE Patch(#7684) by Ovidiu Sabou, Speedup patch for GE in OpenGL Display Lists.
------------------------------------------------------------------------
r12429 | bebraw | 2007-10-29 15:37:19 +0100 (Mon, 29 Oct 2007) | 15 lines

Crop Compositing Node:

This commit adds a new node, crop, to the compositor. This node can be used to
crop input image. It has two modes of operation. It can either crop image
size (Crop Image Size option) or crop while retaining original size of the
image. This latter mode can be used to preview the crop.

Use X1, Y1, X2, Y2 controls to manage the area to be cropped.

Note that I added a check for image preview min and max values to node_update.
This is because it could give inappropriate values in certain cases when
Crop Image Size option was toggled (values such as x1=0, y1=0, x2=60, y2=0 would
result in eternal loop due to bad min and max (min bigger than max!)). The check 
makes sure that min and max values are always valid.

------------------------------------------------------------------------
r12428 | ton | 2007-10-29 14:11:42 +0100 (Mon, 29 Oct 2007) | 6 lines

Stampinfo: added correct redraw after adding stamp.

The issue: while renderprogress is in use, the rr->renlay has to be set



------------------------------------------------------------------------
r12427 | campbellbarton | 2007-10-29 11:59:26 +0100 (Mon, 29 Oct 2007) | 4 lines

- handle size on last commit was incorrect at times, intended 
functionality now works
- sequencer transform markers now redraws other views

------------------------------------------------------------------------
r12426 | ton | 2007-10-29 11:48:50 +0100 (Mon, 29 Oct 2007) | 7 lines

Small fix:

Commit I did in March (10378) tried to fix typedef callback for Group
nodes, but it missed a case, causing group node display to be wrong on
load (only first drawing was wrong).


------------------------------------------------------------------------
r12425 | aligorith | 2007-10-29 06:59:26 +0100 (Mon, 29 Oct 2007) | 1 line

Routine purge of compiler warnings. Yet again, they were mostly uninitialised vars.
------------------------------------------------------------------------
r12424 | aligorith | 2007-10-29 06:26:53 +0100 (Mon, 29 Oct 2007) | 3 lines

Bugfix #7629:

Version patch for Constraints Refactor I was getting called for too many cases. This was noticeable in the way the StretchTo constraint got reset on loading.
------------------------------------------------------------------------
r12421 | campbellbarton | 2007-10-28 23:27:07 +0100 (Sun, 28 Oct 2007) | 5 lines

render stamp drawing is now done everywhere - (not just when saving 
images)
separated stamp metadata and stamp draw functions.


------------------------------------------------------------------------
r12418 | campbellbarton | 2007-10-28 17:00:23 +0100 (Sun, 28 Oct 2007) | 4 lines

sequencer strip selection didnt work well for verry thin strips.
Improved the logic that deciedes when to select handles.


------------------------------------------------------------------------
r12414 | aligorith | 2007-10-28 02:01:46 +0100 (Sun, 28 Oct 2007) | 5 lines

Bugfix #7674: Making proxy from linked armature ruins local armature

This was caused by an error I made when converting old code during the constraints recode 2. As a result, constraint subtargets got cleared, messing up proxies.

(set_constraint_target didn't use to clear the subtarget of a constraint when passed NULL for the subtarget argument) 
------------------------------------------------------------------------
r12413 | elubie | 2007-10-27 12:06:03 +0200 (Sat, 27 Oct 2007) | 10 lines

== imagebrowser ==
* added support for .dds image files
* added support for .int, .inta and .rgba image files

== MSVC 7.1 project files ==
* added WITH_DDS to support .dds files when compiling with the project files by default
* added the dds source files to imbuf project
* also added CMP_glare, CMP_lensdist, CMP_tonemap nodes to nodes.vcproj


------------------------------------------------------------------------
r12412 | campbellbarton | 2007-10-27 00:38:15 +0200 (Sat, 27 Oct 2007) | 4 lines

==Python API==
layerMask access for pose bones, even though this is a Bone property, its much more convenient to add access from the poseBone, it also matches how the 
user interface works.

------------------------------------------------------------------------
r12411 | campbellbarton | 2007-10-27 00:11:08 +0200 (Sat, 27 Oct 2007) | 2 lines

fix for msvc

------------------------------------------------------------------------
r12410 | khughes | 2007-10-26 22:04:04 +0200 (Fri, 26 Oct 2007) | 4 lines

Replace ceilf()/floorf() with ceil()/floor() to fix VC7 compilation problems 
reported by Stephane Soppera.


------------------------------------------------------------------------
r12409 | khughes | 2007-10-26 21:53:55 +0200 (Fri, 26 Oct 2007) | 7 lines

Python API
----------
Document Peter's fps_base attribute for scene rendering objects; also remove
framesPerSecBase() method (preference is to add only attributes, and he did
add fps_base attribute).


------------------------------------------------------------------------
r12408 | campbellbarton | 2007-10-26 17:46:13 +0200 (Fri, 26 Oct 2007) | 2 lines

error in last commit. didnt remove a header that was merged with CMP_utils.h

------------------------------------------------------------------------
r12407 | campbellbarton | 2007-10-26 17:32:36 +0200 (Fri, 26 Oct 2007) | 11 lines

nodes from eechlo
* glare
* tonemap
* lense distort
* fast gauss blur

http://projects.blender.org/tracker/?func=detail&atid=127&aid=7505&group_id=9

made fast gauss blur an option for the blur node rather then a separate node.


------------------------------------------------------------------------
r12404 | aligorith | 2007-10-26 13:37:29 +0200 (Fri, 26 Oct 2007) | 1 line

Whitespace commit
------------------------------------------------------------------------
r12400 | campbellbarton | 2007-10-26 11:22:07 +0200 (Fri, 26 Oct 2007) | 3 lines

missing header from last commit.
possible fix for suspicious crash, dont draw the cursor when there are no UV's.

------------------------------------------------------------------------
r12399 | campbellbarton | 2007-10-26 10:19:40 +0200 (Fri, 26 Oct 2007) | 5 lines

==Python API==
layerMask access for bone and armatures
Window.PoseMode() similar to Window.EditMode()


------------------------------------------------------------------------
r12395 | campbellbarton | 2007-10-25 22:30:18 +0200 (Thu, 25 Oct 2007) | 3 lines

fix for valgrind warning - strcpy was trying to copy to/from the same value (aparently this can corrupt the value in some cases)
Fixed problem where hidden curve handles could still be transformed.

------------------------------------------------------------------------
r12391 | campbellbarton | 2007-10-25 17:23:52 +0200 (Thu, 25 Oct 2007) | 9 lines

==Curve Editing==
Curve select lasso and border didnt work with hide handles enabled.

Hiding handles was using the scene->selectmode variable, but looking at this now, I see there are places where selectmode is compared with 
SCE_SELECT_VERTEX, EDGE, FACE etc. as well as being.
Better to use a global flag, same as G_DRAWFACES.
This is not good since anyone using this in the few days will have an invalid selectmode variable. simple way to fix is to change modes, so do_versions shouldnt be needed.


------------------------------------------------------------------------
r12390 | blendix | 2007-10-25 17:19:06 +0200 (Thu, 25 Oct 2007) | 4 lines


Fix for pole target commit, broke blenderplayer compile.


------------------------------------------------------------------------
r12389 | campbellbarton | 2007-10-25 11:37:52 +0200 (Thu, 25 Oct 2007) | 3 lines

checkers being drawn as many glRects is slow when zoomed in, use 
glPolygonStipple draw checkers.

------------------------------------------------------------------------
r12387 | campbellbarton | 2007-10-24 23:51:49 +0200 (Wed, 24 Oct 2007) | 3 lines

==UV/Image Window==
nice alpha grid drawing. dont follow image.

------------------------------------------------------------------------
r12386 | theeth | 2007-10-24 21:25:34 +0200 (Wed, 24 Oct 2007) | 3 lines

[#7531] Linked Flat Faces doesn't work anymore

Modifier checks weren't done properly, so it fell into edge_flip instead.
------------------------------------------------------------------------
r12385 | campbellbarton | 2007-10-24 20:58:26 +0200 (Wed, 24 Oct 2007) | 8 lines

* Changing images in the UV view didnt work properly - reported as bug 7467 (own error, broke on UV in editmode conversion)
* when setting the face, images with alpha's will set the texface's alpha option. 
* added a draw even to redraw view3d and uv/image view - so the Draw Faces button redraws properly.
* made a macro for checking if the object will draw with textures
* textured meshes in editmode only draw a selected face overlay (otherwise the entire mesh would get a plue tint wich isnt 
nice for viewing textures), the selected highlight is still there, this is how Face/UV mode looked.
* Alpha clipping STILL had a case where it wasnt disabled and the interface had its alpha clipped, this should be fixed now.

------------------------------------------------------------------------
r12378 | blendix | 2007-10-24 16:58:31 +0200 (Wed, 24 Oct 2007) | 13 lines


Pole Target for IK
==================

This adds an extra target to the IK solver constraint to define the
roll of the IK chain.

http://www.blender.org/development/current-projects/changes-since-244/inverse-kinematics/

Also fixes a crashes using ctrl+I to set an IK constraint on a bone
due to the recent constraints refactor.


------------------------------------------------------------------------
r12377 | campbellbarton | 2007-10-24 15:12:07 +0200 (Wed, 24 Oct 2007) | 6 lines

==Sequencer==
added an option to reload selected strip data (Alt+R - same as reloading images in the imaeg 
viewer)
made the sequencer max memory limit 16gig for 64bit's.


------------------------------------------------------------------------
r12376 | broken | 2007-10-24 15:09:02 +0200 (Wed, 24 Oct 2007) | 3 lines

Oops, left in some unrelated testing stuff by mistake.

By the way, should have mentioned in the previous commit, the 'adapt vec' requires a Vec pass enabled to work, and there was also some shuffling in the ao panel.
------------------------------------------------------------------------
r12375 | broken | 2007-10-24 14:42:08 +0200 (Wed, 24 Oct 2007) | 23 lines

* Adaptive QMC AO feature - "Adapt from speed vectors"

This is a new feature that can make using AO a lot more attractive when rendering 
animations with vector blur. It uses the speed vector info calculated in the 'Vec' 
speed vector pass, in order to reduce AO samples where pixels are moving more 
quickly. There's not much point calculating all those AO samples when the result is 
going to be smeared anyway, so you can save a bit of render time by doing 
a more noisy render in those areas.


You can use this with a new slider in the Adaptive QMC settings 'Adapt Vec'. The 
higher the value, the more aggressively it will reduce samples. 0.0 means no 
reduction, and 1.0 reduces one sample per pixel of average displacement for that 
pixel. 0.25 or so generally gives decent results, but it depends on how fast things 
are moving.

Here's a demo (compare the final blurred result, and render times):
http://mke3.net/blender/devel/raytracing/adapt_speed_off2.jpg
http://mke3.net/blender/devel/raytracing/adapt_speed_on2.jpg

And a less contrived example, a short clip from macouno's 'petunia' bconf animation:
http://mke3.net/blender/devel/raytracing/petunia-adaptvec-noblur-h264.mov
http://mke3.net/blender/devel/raytracing/petunia-adaptvec-blur-h264.mov
------------------------------------------------------------------------
r12374 | campbellbarton | 2007-10-24 13:16:48 +0200 (Wed, 24 Oct 2007) | 3 lines

set the alpha value of text, so stamps are always visible in RGBA 
images, (reported by basse)

------------------------------------------------------------------------
r12373 | aligorith | 2007-10-24 12:03:19 +0200 (Wed, 24 Oct 2007) | 3 lines

PyConstraints Bugfixes (again!):

Files saved with PyConstraints with multiple targets crashed on load, as the targets didn't actually get saved. 
------------------------------------------------------------------------
r12372 | campbellbarton | 2007-10-24 11:02:58 +0200 (Wed, 24 Oct 2007) | 5 lines

==Unfolder python script update==

Patch from Matthew Chadwick (celeriac) [#7603] fix for bug#7520
Replaced overlap detection code with code using Geometry.LineIntersect2D

------------------------------------------------------------------------
r12371 | campbellbarton | 2007-10-24 10:45:23 +0200 (Wed, 24 Oct 2007) | 14 lines

==Image Stamp - Patch by GSR==

When using non opaque background, some overlap lines appear
due to filling some pixel lines twice. Before it did not matter
as only opaque bg was allowed, and it even compacted the text
a bit. The fix spreads a bit the lines to overcome the issue.
As a plus no text should touch the top edge ever (slashes did,
for example).

Compare:
http://www.infernal-iceberg.com/blender/stamp-alpha-overlap.png
http://www.infernal-iceberg.com/blender/stamp-alpha-cleanup.png


------------------------------------------------------------------------
r12367 | campbellbarton | 2007-10-24 00:51:50 +0200 (Wed, 24 Oct 2007) | 24 lines

Patch by GSR #7628, I also added alpha for text background.
The list of changes (some are fixes):
- Properly horizontally centered tags in all fields (bug?).
- File area does not have trailing space and has leading "File " at
start instead (probably a bug).
- Small separation between to time related fields, space saving.
- Removed colons, for consistency and space saving again.
- Frame field is zero aligned for higher visual stability.
- Marker name shows a rarer name, "<none>" (using <> is typical for cases
in which there is nothing: <none>, <empty>, <blank>, etc).
- Top area for misc info that can be really long (file, note and render date).
- Bottom area for more constantly changing but short ones (marker, SMPTE,
frame, camera and scene).
- Only render date moves a line (when note field is not used), and frame one
moves if no SMPTE (still in same line, so no big jump), for extra visual
stability (marker is fixed, assuming most people would show frame and or
SMPTE).
- ISO 8601 date format for render date, localization independant.

Comparision images:
http://www.infernal-iceberg.com/blender/stamp-original.png
http://www.infernal-iceberg.com/blender/stamp-cleanup.png


------------------------------------------------------------------------
r12365 | campbellbarton | 2007-10-23 23:31:59 +0200 (Tue, 23 Oct 2007) | 4 lines

bug fix, when opening blender with a file (by double clicking or from the command line) - the initial undo state would be set to the default scene.
So holding Ctrl+Z would go back to the default .B.blend rather then the file that the user opened.


------------------------------------------------------------------------
r12364 | theeth | 2007-10-23 21:57:41 +0200 (Tue, 23 Oct 2007) | 1 line

Unwrap menu (ukey) only in MESH edit mode, not all edit mode.
------------------------------------------------------------------------
r12363 | campbellbarton | 2007-10-23 21:47:30 +0200 (Tue, 23 Oct 2007) | 2 lines

patch from gensher - UV menu from the header

------------------------------------------------------------------------
r12362 | campbellbarton | 2007-10-23 21:30:22 +0200 (Tue, 23 Oct 2007) | 2 lines

made color generated strips work like single image strips - no center frame limitation

------------------------------------------------------------------------
r12361 | campbellbarton | 2007-10-23 20:56:43 +0200 (Tue, 23 Oct 2007) | 3 lines

made drawing curve handles in the 3d view optional - this is much nicer for editing curves with Automatic handles so you dont select a handle by mistake and change its type.


------------------------------------------------------------------------
r12359 | campbellbarton | 2007-10-23 17:25:59 +0200 (Tue, 23 Oct 2007) | 3 lines

automerge wasnt maintaining totverts (bug #7608)


------------------------------------------------------------------------
r12355 | pidhash | 2007-10-23 12:49:47 +0200 (Tue, 23 Oct 2007) | 2 lines

normal size of vertice when active

------------------------------------------------------------------------
r12354 | aligorith | 2007-10-23 12:16:46 +0200 (Tue, 23 Oct 2007) | 4 lines

More constraints bugfixes:
* Fixed crash that occurs when using an unknown constraint type or a Null constraint - missing NULL check
* ClampTo constraint now draws ok again
* Null constraints now get drawn in the stack again
------------------------------------------------------------------------
r12353 | aligorith | 2007-10-23 10:23:57 +0200 (Tue, 23 Oct 2007) | 7 lines

== PyConstraints - Now working again ==

I've finally traced down the causes of several of the bugs which caused PyConstraints to work incorrectly (or not at all).

* Freeing is now done using BLI_freelistN inside the pycon_free function, instead of looping through the targets ourselves. This fixes all of those Memblock free: pointer not in list errors.
* BPY_pyconstraint_update now correctly creates/frees the constraint's targets as needed. Previously, it was creating/removing the wrong number of targets. Also, pyconstraints no longer get disabled when using armatures (not bones)
* The panel drawing was also not working right, as there were still some offset issues. 
------------------------------------------------------------------------
r12352 | aligorith | 2007-10-23 08:24:29 +0200 (Tue, 23 Oct 2007) | 1 line

Compiler warnings silencing - mostly uninitialised vars
------------------------------------------------------------------------
r12351 | broken | 2007-10-23 05:13:34 +0200 (Tue, 23 Oct 2007) | 7 lines

* Fix for bug #7633: SSS makes QMC crash

This occurred when using qmc shadows, full OSA, and sss - it was 
assuming full OSA was being used, even when (during the SSS prepass) 
osa is set to 0.

Fixed by tightening up the checks for full OSA.
------------------------------------------------------------------------
r12350 | broken | 2007-10-23 03:52:26 +0200 (Tue, 23 Oct 2007) | 1 line

* Brought eeshlo's halton_sample fix into trunk
------------------------------------------------------------------------
r12349 | mal_cando | 2007-10-23 02:02:29 +0200 (Tue, 23 Oct 2007) | 5 lines

ConvertToMesh for text ( and possibly curves ) was generating the wrong normals - the fact that the generated model was being set to double sided helped hide this.

To test for this in Blender, just add text, TAB out of edit mode, then convert to mesh ( ALT+C ), and press P for the game engine.  Alternatively select Textured Draw Mode.  You'll notice that the text is only visible from the back.  This patch reverses this, to be more correct.

Based on discussions on IRC, I'm now trying to fix another aspect of the extrude code - the fact that the faces at the front and back of the extruded curve face the same way ( ie one of them will be wrong ).  I'll keep working on this, but if someone can help out, feel free!
------------------------------------------------------------------------
r12346 | hos | 2007-10-22 22:54:19 +0200 (Mon, 22 Oct 2007) | 4 lines

== CMake ==

Fix by Stéphane SOPPERA to find bmfont includes.

------------------------------------------------------------------------
r12344 | campbellbarton | 2007-10-22 18:16:16 +0200 (Mon, 22 Oct 2007) | 2 lines

stub added by Hamed Zaghaghi in the ge branch, (fix own error)

------------------------------------------------------------------------
r12343 | ton | 2007-10-22 16:30:40 +0200 (Mon, 22 Oct 2007) | 4 lines

Missing check for constraint target (ct->tar) caused crash.
Caused in Joshua's work on constraint, committed yesterday.


------------------------------------------------------------------------
r12342 | campbellbarton | 2007-10-22 15:26:47 +0200 (Mon, 22 Oct 2007) | 2 lines

small changes suggested by ton ans gsr

------------------------------------------------------------------------
r12341 | campbellbarton | 2007-10-22 13:50:05 +0200 (Mon, 22 Oct 2007) | 3 lines

dna error was not being set, allowing build to finish with DNA 
allignment errors.

------------------------------------------------------------------------
r12340 | aligorith | 2007-10-22 12:51:00 +0200 (Mon, 22 Oct 2007) | 1 line

This file goes with the previous commit... it had a few line-ending problems I needed to fix first
------------------------------------------------------------------------
r12339 | aligorith | 2007-10-22 12:49:34 +0200 (Mon, 22 Oct 2007) | 7 lines

== Constraints Bugfixes ==

* Removed the old get_con_subtarget_name function and fixed the places that used it. This was only suitable for single-target constraints.

* PyConstraints interface drawing should now no longer draw multiple-target fields on top of each other

* Removed double call to BPY_pyconstraint_update when the Update button was clicked. I found this while debugging why PyConstraints didn't seem to be working yet...
------------------------------------------------------------------------
r12338 | aligorith | 2007-10-22 08:28:39 +0200 (Mon, 22 Oct 2007) | 10 lines

Several fixes:
* DNA_action_types.h - fixes for typos that broke compiling (own error)

* transform.c - fix for implicit definition of a function (missing header)

* outliner.c - commented out a few unused vars (as a result of constraints refactor)

* editsima.c - fixed uninitialised var warning

* drawview.c - bugfix #7598 load without ui crashes if there is no camera. Patch provided by Daniel Genrich (genscher)
------------------------------------------------------------------------
r12337 | aligorith | 2007-10-22 07:35:59 +0200 (Mon, 22 Oct 2007) | 1 line

Updating a few comments affected by the previous commit.
------------------------------------------------------------------------
r12336 | aligorith | 2007-10-22 07:32:17 +0200 (Mon, 22 Oct 2007) | 4 lines

== Action/NLA Transform ==

Added a new auto-snapping mode: snap to nearest marker. 
This mode can be toggled using the ALTKEY.
------------------------------------------------------------------------
r12335 | aligorith | 2007-10-22 04:43:07 +0200 (Mon, 22 Oct 2007) | 3 lines

== Action Constraint ==

Now the Action Constraint can be applied to Objects as well as Bones!
------------------------------------------------------------------------
r12334 | aligorith | 2007-10-22 01:00:29 +0200 (Mon, 22 Oct 2007) | 12 lines

== Constraints System - Recode 2 ==

Once again, I've recoded the constraints system. This time, the goals were:
* To make it more future-proof by 'modernising' the coding style. The long functions filled with switch statements, have given way to function-pointers with smaller functions for specific purposes.
* To make it support constraints which use multiple targets more readily that it did. In the past, it was assumed that constraints could only have at most one target.

As a result, a lot of code has been shuffled around, and modified. Also, the subversion number has been bumped up.

Known issues:
* PyConstraints, which were the main motivation for supporting multiple-targets, are currently broken. There are some bimport() error that keeps causing problems. I've also temporarily removed the doDriver support, although it may return in another form soon. 
* Constraints BPy-API is currently has a few features which currently don't work yet
* Outliner currently only displays the names of the constraints instead of the fancy subtarget/target/constraint-name display it used to do. What gets displayed here needs further investigation, as the old way was certainly not that great (and is not compatible with the new system too) 
------------------------------------------------------------------------
r12332 | schlaile | 2007-10-21 22:18:54 +0200 (Sun, 21 Oct 2007) | 6 lines

== Core ==

Tried to fix renderlayer crash, that was introduced with NTSC-patch
on 64bit platforms.


------------------------------------------------------------------------
r12331 | schlaile | 2007-10-21 22:05:01 +0200 (Sun, 21 Oct 2007) | 6 lines

== Sequencer ==

Peach request: display last mapped frame in status bar of speed control
effect. (To come: auto-resize based on this information)


------------------------------------------------------------------------
r12330 | schlaile | 2007-10-21 21:19:53 +0200 (Sun, 21 Oct 2007) | 6 lines

== Core ==

Fixed fixup code in readfile, that makes old files load with
correct FPS.


------------------------------------------------------------------------
r12329 | campbellbarton | 2007-10-21 19:38:17 +0200 (Sun, 21 Oct 2007) | 4 lines

changed default nan_definitions.mk to use python 2.5 for linux (ai64 default was py 2.2 which probably wont even compile anymore)
pose.c - left a print here
export obj would ask about file overwriting twice.

------------------------------------------------------------------------
r12326 | campbellbarton | 2007-10-21 18:48:12 +0200 (Sun, 21 Oct 2007) | 3 lines

own error, was returning the wrong python error type


------------------------------------------------------------------------
r12325 | stiv | 2007-10-21 18:43:21 +0200 (Sun, 21 Oct 2007) | 4 lines

warning cleanup:
 unused var
 return makes integer from pointer without cast

------------------------------------------------------------------------
r12322 | elubie | 2007-10-21 18:17:33 +0200 (Sun, 21 Oct 2007) | 2 lines

added missing include dir from stampinfo patch to msvc project files and SConscript file.

------------------------------------------------------------------------
r12321 | campbellbarton | 2007-10-21 17:48:09 +0200 (Sun, 21 Oct 2007) | 2 lines

change in the include for stamping (image.c needs to call font drawing)

------------------------------------------------------------------------
r12320 | schlaile | 2007-10-21 17:42:08 +0200 (Sun, 21 Oct 2007) | 38 lines

== Core ==

This adds fractional FPS support to blender and should finally
make NTSC work correctly.

NTSC has an FPS of 30.0/1.001 which is approximately 29.97 FPS.
Therefore, it is not enough to simply make frs_sec a float, since
you can't represent this accurately enough. 
I added a seperate variable frs_sec_base and FPS is now 
frs_sec / frs_sec_base.

I changed all the places, where frs_sec was used to my best knowledge.

For convenience sake, I added several macros, that should make life
easier in the future:

FRA2TIME(a) : convert frame number to a double precision time in seconds
TIME2FRA(a) : the same in the opposite direction
FPS         : return current FPS as a double precision number 
              (last resort)

This closes bug #6715 
Standard framerates not supported / breaks sync -- 23.967 29.967 etc.

https://projects.blender.org/tracker/?func=detail&aid=6715&group_id=9&atid=125

Please give this heavy testing with NTSC files, quicktime in/export
and the python interface.
Errors are most probably only spotted on longer timelines, so that is
also important.

The patch was tested by Troy Sobotka and me, so it most probably should
work out of the box, but wider testing is important, since errors are
very subtle.

Enjoy!


------------------------------------------------------------------------
r12318 | campbellbarton | 2007-10-21 11:32:18 +0200 (Sun, 21 Oct 2007) | 13 lines

fix for crash's in file selector.
- on unix BLI_diskfree was only using 100 chars for the dir name, and 
not checking if the name given was longer, increased to FILE_MAXDIR 
(160) and added a check, return -1 if its too long.

The file selector only allowed 80 chars to be typed into the directory 
entry.

Made the file selector check that the path is less then FILE_MIXDIR, if 
you try and enter a path thats longer it will tell you that the path is 
too long, before it was writing into other memory and crashing.


------------------------------------------------------------------------
r12314 | campbellbarton | 2007-10-20 22:24:09 +0200 (Sat, 20 Oct 2007) | 10 lines

python api, slicing works differently on the 64bit ubuntu gutsy system, compared to the 32bit 
install.
face.uv[:] was returning a blank list. and making smart UV projection script fail.

On one system Python is giving the slice function positive values, whereas on the 64bit system its 
passing negative which are then clamped to zero.
made mathutils types accept negative values for slicing. This is very odd because both systems are 
running ubuntu gutsy with python 2.5


------------------------------------------------------------------------
r12313 | campbellbarton | 2007-10-20 21:47:19 +0200 (Sat, 20 Oct 2007) | 3 lines

python console, removed word wrap - was far too slow
when console_autoexec.py wasnt present, the standard blender import wasnt executed.

------------------------------------------------------------------------
r12310 | campbellbarton | 2007-10-20 20:57:40 +0200 (Sat, 20 Oct 2007) | 3 lines

adding the glalphaclip variable didnt allign on 32 bit linux but worked 
in 64bits. added a pad value.

------------------------------------------------------------------------
r12309 | campbellbarton | 2007-10-20 20:01:57 +0200 (Sat, 20 Oct 2007) | 4 lines

added an option to adjust the alpha clipping value in the oprnGL preferenes. in some cases you might 
want to use 0.5 to see through more of the texture. (less halo's with clipmaps), defailt is 0.0 so it 
will only clip 0 alpha.

------------------------------------------------------------------------
r12308 | campbellbarton | 2007-10-20 18:58:48 +0200 (Sat, 20 Oct 2007) | 2 lines

some mistakes in stamp commit

------------------------------------------------------------------------
r12307 | campbellbarton | 2007-10-20 18:47:07 +0200 (Sat, 20 Oct 2007) | 3 lines

allocating memory for the time line was still crashing blender (not sure why), added more checks and 
I cant get it to crash anymore.

------------------------------------------------------------------------
r12306 | campbellbarton | 2007-10-20 18:17:27 +0200 (Sat, 20 Oct 2007) | 19 lines

Image Stamping patch by Diego (and peach request)- stamps image info into metadata and optionally
draws into the
frame.

This patch includes some changes I made...   
* use blenders bitmap fonts (rather then own fonts)
* select font size
* user interface layout changes
* Marker as another image stamp option

Also added some new API calls   
BMF_GetFontHeight(font);
BMF_DrawStringBuf(...);  - so we can draw text into an imbuf's image buffer.
get_frame_marker(frame) - get the last marker from the frame.
IMB_rectfill_area(...) - fill in an image buffer with a rectangle area of color.

TODO - draw stamp info in 3d view, at the moment it just displays in the animation.


------------------------------------------------------------------------
r12303 | bebraw | 2007-10-20 14:16:54 +0200 (Sat, 20 Oct 2007) | 5 lines

Fix "Remove Doubles" of w menu and a couple of typos:
This commit makes "Remove Doubles" of w menu to work again.
Also renamed "AutoMarge" to "AutoMerge".
Added shortcut of "Select Inverse" to menus and renamed 
"Select/Deselect All" to be consistent with rest of Blender.
------------------------------------------------------------------------
r12302 | campbellbarton | 2007-10-20 13:28:58 +0200 (Sat, 20 Oct 2007) | 4 lines

made setting the pose_bone.poseMatrix possible, this does not set the matrix directly, only the pose 
bones loc/size/rot, when dealing with an armature without constraints this works as expected. it uses 
the same code as Copy Visual Loc/Size/Rot.

------------------------------------------------------------------------
r12301 | theeth | 2007-10-19 19:31:57 +0200 (Fri, 19 Oct 2007) | 3 lines

Cosmetic change for Copy Attributes menu (Ctrl-C).

The "drawtype" options copies all the draw extra (x-ray, wire, ...) too, so I've renamed the menu entry "draw options".
------------------------------------------------------------------------
r12293 | bjornmose | 2007-10-19 00:47:55 +0200 (Fri, 19 Oct 2007) | 7 lines

added point to edge collision in case point to face missed
/* special hidden feature! shrink to fit */
if (G.rt > 500){
	scale = (G.rt - 500) / 100.0f;
}
-- shrink a T shirt to fit .. evil grin
-- by the way i did set up the rule 'if any *outer object* hits no *inner* will be regarded' ... pretty poor IMHO .. well but it works
------------------------------------------------------------------------
r12290 | campbellbarton | 2007-10-18 23:47:55 +0200 (Thu, 18 Oct 2007) | 4 lines

Mesh edit option 'AutoMerge' - access from the mesh menu, basically runs remove doubles after transform. but only merges 
unselected verts into selected verts, so it wont merge verts your not editing.


------------------------------------------------------------------------
r12289 | campbellbarton | 2007-10-18 22:43:39 +0200 (Thu, 18 Oct 2007) | 2 lines

(own mistake) transform markers wasnt working, bad memory use.

------------------------------------------------------------------------
r12288 | campbellbarton | 2007-10-18 22:03:12 +0200 (Thu, 18 Oct 2007) | 2 lines

(bad mistake) - didnt read docs and removed lib from Sequence struct

------------------------------------------------------------------------
r12287 | campbellbarton | 2007-10-18 21:40:59 +0200 (Thu, 18 Oct 2007) | 2 lines

adding a sequence would grab the markers, workaround for this.

------------------------------------------------------------------------
r12282 | campbellbarton | 2007-10-18 15:51:10 +0200 (Thu, 18 Oct 2007) | 3 lines

Use GL_ALPHA_TEST when drawing alpha faces in the 3d view, as suggested by Eskil, some scenes are unusable without this.
at the moment it wont draw totally transperent pixels, this may need to be adjusted or made into a preference.

------------------------------------------------------------------------
r12281 | campbellbarton | 2007-10-18 15:07:21 +0200 (Thu, 18 Oct 2007) | 3 lines

removed some warnings from last commit. renamed a pointer in DNA which is only used for temp storage.


------------------------------------------------------------------------
r12279 | campbellbarton | 2007-10-18 14:35:58 +0200 (Thu, 18 Oct 2007) | 7 lines

Sequencer...
snapping to unselecrted strips didnt work (I didnt notice find_neighboring_sequence needed them to be touching, added find_next_prev_sequence to get the next/prev seq)
added select linked (L and Ctrl+L)
added Ctrl +/- select more/less



------------------------------------------------------------------------
r12278 | broken | 2007-10-18 11:18:04 +0200 (Thu, 18 Oct 2007) | 3 lines

* Fix for bug # 7396 "Refraction Pass Being added to combined when not told to"

For the record, I think the way these reflection and refraction passes are handled (as a difference against the diffuse pass) is not very useful - especially if you want to do colour corrections, blurring, etc. It would be much more practical for the passes to contain the ray result returned by the raytrace... 
------------------------------------------------------------------------
r12277 | campbellbarton | 2007-10-18 09:06:01 +0200 (Thu, 18 Oct 2007) | 6 lines

Sequencer 
- snap to strips before and after the active strip,
- Made max handle draw size 40px, instead of 28 (somtimes its hard to 
select handles)


------------------------------------------------------------------------
r12276 | campbellbarton | 2007-10-18 01:24:09 +0200 (Thu, 18 Oct 2007) | 2 lines

made sequence handle calculation into a function, (lines were being copied around)

------------------------------------------------------------------------
r12275 | campbellbarton | 2007-10-18 00:31:59 +0200 (Thu, 18 Oct 2007) | 4 lines

Sequencer transform snap to marker, works with grab and extend, takes handle selection into account.
this will snap one if 2/4 points to the marker when transforming. the active sequences bounds and the bounds of all selected clips.


------------------------------------------------------------------------
r12274 | blendix | 2007-10-17 20:33:01 +0200 (Wed, 17 Oct 2007) | 6 lines


Fix for bug #7331

Texture painting could crash due to missing check for valid imbuf.


------------------------------------------------------------------------
r12273 | campbellbarton | 2007-10-17 20:32:54 +0200 (Wed, 17 Oct 2007) | 5 lines

Sequencer
- Draw a verticle line for markers
- Added an option to transform selected markers in the sequencer - useful for Extending time


------------------------------------------------------------------------
r12272 | blendix | 2007-10-17 19:53:59 +0200 (Wed, 17 Oct 2007) | 7 lines


Bugfix:

The roll of a B-Bone relative to a previous regular bone was not matched
correctly.


------------------------------------------------------------------------
r12270 | campbellbarton | 2007-10-17 17:27:38 +0200 (Wed, 17 Oct 2007) | 6 lines

markers in the sequencer

- added a new redraw type - REDRAWMARKER, at the moment this draws the same windows as REDRAWANIM, but this may not always be true, and it is more explicit whats 
happening, This replaced 5 or so draw calls in quite a few places.


------------------------------------------------------------------------
r12268 | campbellbarton | 2007-10-17 13:17:11 +0200 (Wed, 17 Oct 2007) | 7 lines

patch 7145 - Copy Select objects by PassIndex, Ctrl+C, Ctrl+G

Sequencer Feature, Split Image Sequence.
Splits a image sequence into strips. useful for importing frames for animatics.
 Also added undo calls in a few places that did not have it.


------------------------------------------------------------------------
r12267 | campbellbarton | 2007-10-17 11:51:13 +0200 (Wed, 17 Oct 2007) | 2 lines

patch, 7340 from frank richter add glPush/PopClientAttrib

------------------------------------------------------------------------
r12266 | aligorith | 2007-10-17 10:23:08 +0200 (Wed, 17 Oct 2007) | 5 lines

IPO-Transform Bugfix:

Peach/ideasman_42 report... 

After transforming sequence IPO's, there were occasional crashes.
------------------------------------------------------------------------
r12265 | campbellbarton | 2007-10-16 20:04:56 +0200 (Tue, 16 Oct 2007) | 2 lines

ipo error kept popping up and lock ipo didnt redraw the sequencer view (note, still not realtime, but at least it redraws now)

------------------------------------------------------------------------
r12264 | campbellbarton | 2007-10-16 02:10:37 +0200 (Tue, 16 Oct 2007) | 5 lines

sequencer,
simple fix for extend (aka ripple editing)
dont operate on metastrips makes them work as expected (since the seq's inside are moved).


------------------------------------------------------------------------
r12263 | campbellbarton | 2007-10-15 17:28:09 +0200 (Mon, 15 Oct 2007) | 5 lines

updated pyconstraint template from nathan (cessen) which exposed some 
bugs with pyconstraints, also added a missing decref from python (wasnt freeing the return value from the settings 
button).


------------------------------------------------------------------------
r12262 | campbellbarton | 2007-10-15 16:41:29 +0200 (Mon, 15 Oct 2007) | 3 lines

pyconstraints USE_TARGET wasnt being checked for true/false, was assumed True whenever it was assigned in the 
script

------------------------------------------------------------------------
r12261 | campbellbarton | 2007-10-15 16:19:11 +0200 (Mon, 15 Oct 2007) | 3 lines

pyconstraints doTarget function was getting an uninitialized matrix.


------------------------------------------------------------------------
r12260 | blendix | 2007-10-15 12:36:30 +0200 (Mon, 15 Oct 2007) | 8 lines


Bugfix:

Object constraints with a driven influence ipo were not being evaluated
properly. The code for adding the depsgraph relation and updating without
time changes was simply missing.


------------------------------------------------------------------------
r12259 | khughes | 2007-10-14 22:58:57 +0200 (Sun, 14 Oct 2007) | 7 lines


Tools
-----
Bugfix #7493:  boolean difference operator was being applied in the wrong
order (difference modifier worked correctly).


------------------------------------------------------------------------
r12257 | sirdude | 2007-10-12 18:28:19 +0200 (Fri, 12 Oct 2007) | 12 lines

This fixes make release so that it does not package .svn dirs with the
build.
This is bug [#7387] Release files pack the .svn metadata directories

I took a breif look at the scons files and it looks like it has a fix
for them already.  It would be great if someone that uses scons could
just do a quick double check and let me know if there are problems with it
and or just fix whatever slips through.

Kent


------------------------------------------------------------------------
r12256 | sirdude | 2007-10-12 18:09:59 +0200 (Fri, 12 Oct 2007) | 7 lines

This is patch [#7483] imbuf support for uncompressed DDS images
provided by Amorilia

NVIDIA updated the dds stuff so we get a nice new patch.

Kent

------------------------------------------------------------------------
r12255 | schlaile | 2007-10-12 09:29:38 +0200 (Fri, 12 Oct 2007) | 6 lines

== FFMPEG ==

Added my yuv -> bgra32 patch as a seperate file, so that people can
patch their own version of ffmpeg with it


------------------------------------------------------------------------
r12254 | schlaile | 2007-10-12 08:37:20 +0200 (Fri, 12 Oct 2007) | 11 lines

== IMBuf fix ==

Fixed Campbell's patch for IMB_flipx:
- header file declaration is corrected
- reordered loops to make things faster (less cache misses 
  and no tests for float-buffers on a _per pixel basis_!)

(Campbell: it'd be nice, if you could check with me before patching
the sequencer. Or at least pay attention to compiler warnings :) )


------------------------------------------------------------------------
r12253 | eeshlo | 2007-10-12 04:53:21 +0200 (Fri, 12 Oct 2007) | 8 lines

Some minor modifications, and a fix for the valgrind unitialized padding var
'bug' in the Attributes class again.
Also adapted the example ribfiles a bit, shadowmaps are now rendered
before the main image, without the need to render them separately.




------------------------------------------------------------------------
r12252 | blendix | 2007-10-11 01:36:58 +0200 (Thu, 11 Oct 2007) | 4 lines


Fix for error in recent b-bone rest pose commit.


------------------------------------------------------------------------
r12251 | campbellbarton | 2007-10-11 01:34:40 +0200 (Thu, 11 Oct 2007) | 5 lines

Peach request
new option for the image sequencer's image strips, flip x/y, (useful when making animatics to test the direction characters walk across the screen)
added IMB_flipy was alredy there, needed to add IMB_flipx.


------------------------------------------------------------------------
r12250 | blendix | 2007-10-11 00:24:26 +0200 (Thu, 11 Oct 2007) | 7 lines


Fix for bug #7447

Pressing twice on a constraint or modifier button did 2 undo pushes,
the ROUNDBOX button they use also generated an undo push.


------------------------------------------------------------------------
r12249 | schlaile | 2007-10-10 15:43:42 +0200 (Wed, 10 Oct 2007) | 6 lines

== FFMPEG ==

Made some changes in configure switches to make Carsten with mingw a little bit
happier...


------------------------------------------------------------------------
r12248 | aligorith | 2007-10-10 12:22:43 +0200 (Wed, 10 Oct 2007) | 5 lines

Bugfix for Auto-Keying: (blenderartists.org report)

When auto-keyframing AND 'around selected' were both activated, extra keyframes were being added when the view was moved. 

This was because the transform code was being used for special center calculations (using TFM_DUMMY), so auto-keying is not skipped for that mode.
------------------------------------------------------------------------
r12246 | blendix | 2007-10-10 11:00:47 +0200 (Wed, 10 Oct 2007) | 10 lines


Make B-Bones not deform in rest position by default.

B-Bones already deformed the mesh in the armature rest position, which is
unconvenient. For backwards compatibility existing .blend files still have
a button for the old behavior enabled.

(peach feature request)


------------------------------------------------------------------------
r12245 | campbellbarton | 2007-10-09 22:37:53 +0200 (Tue, 09 Oct 2007) | 11 lines

Sequence editor, (peach request)
Grab/Extend from frame - similar to a feature thats know as ripple editing in other applications. this is a fast way to add or remove frames 
from 
clips. to use.

Select all, drag the playbak head to the area you want to extend and press Ekey, the clips will be extended on the side the playhead that 
the mouse is on.

Also did more cleanups to sequencer transform code.


------------------------------------------------------------------------
r12244 | aligorith | 2007-10-09 11:30:22 +0200 (Tue, 09 Oct 2007) | 3 lines

IPO-Transform Bugfix:

Now MMB-constraint select should now work better than it did after the refactor. I've made some changes to setNearestAxis so that it is now an entrypoint from which spacetype (currently divided into 3D or 2D) specific methods can be used. The old code for this (IPO MMB-constraint) has effectively been restored.
------------------------------------------------------------------------
r12243 | aligorith | 2007-10-09 09:49:54 +0200 (Tue, 09 Oct 2007) | 5 lines

Bugfix:

When transforming on one axis in a 2d-editor, it no longer mentions 'global' in the header print.

Un-related note: the mmb constraint selection in 2d-editors is currently quite wonky, as the current code for this only suits the 3d-view.
------------------------------------------------------------------------
r12242 | aligorith | 2007-10-09 08:21:26 +0200 (Tue, 09 Oct 2007) | 3 lines

Bugfix #7482:

Trackball transform did not work correctly for "individual centers" pivot mode in face-select mode. It was missing a case that would allow this happen.
------------------------------------------------------------------------
r12241 | aligorith | 2007-10-09 07:54:31 +0200 (Tue, 09 Oct 2007) | 3 lines

Bugfix #7489:

Warp Tool (Shift-W) suffered from 'division-by-zero' (TM) problems when there was only one element (selected object or selected vertex) to transform. 
------------------------------------------------------------------------
r12240 | campbellbarton | 2007-10-09 02:54:37 +0200 (Tue, 09 Oct 2007) | 2 lines

made sure sequencer header is always visible

------------------------------------------------------------------------
r12239 | campbellbarton | 2007-10-09 02:22:59 +0200 (Tue, 09 Oct 2007) | 11 lines

Sequencer

changed teh way single images operate,
* they dont act like a sequence of 1 image - so you can drag and resize without the trouble of having teh center image.
* they draw without the single frame in them. and no 'gutter?' strip drawing.
* the start frame is always set to be where the handles start.

This is done in the transform and draw areas of the sequencer. added 2 functions,
fix_single_image_seq - moves the seq start without any visible change - so it will load in older blend's
check_single_image_seq - quick way to check for single image.

------------------------------------------------------------------------
r12238 | campbellbarton | 2007-10-09 01:38:50 +0200 (Tue, 09 Oct 2007) | 5 lines

Sequence editor,
rewrote the part that deals with moving the strips on the X axis - only user visible functionality is that you can move the seq bounds in one step now.
internally added macro's to make dealing with sequence's less touble.


------------------------------------------------------------------------
r12237 | broken | 2007-10-09 00:17:51 +0200 (Tue, 09 Oct 2007) | 6 lines

* Patch #6877: Zoom to Mouse Position
by Fahrezal Effendi (exavolt)

This adds an additional preference to the view and controls section, which uses the mouse's position as the centre of the zoom when zooming in the 3D View with Ctrl-MMB or the mouse wheel. It's very nice for big scenes, thanks Fahrezal!

A nice todo would be to add this for 2D views as well.
------------------------------------------------------------------------
r12236 | broken | 2007-10-09 00:14:22 +0200 (Tue, 09 Oct 2007) | 1 line

* Replaced some hard-coded 10000.0 with MAXFRAMEF in the Image sequence node
------------------------------------------------------------------------
r12235 | sirdude | 2007-10-08 21:07:50 +0200 (Mon, 08 Oct 2007) | 6 lines

This is a fix for the following bug:

7096  	bitfields not c++ standard compliant, can't compile using sun CC

Kent

------------------------------------------------------------------------
r12234 | campbellbarton | 2007-10-08 19:37:04 +0200 (Mon, 08 Oct 2007) | 2 lines

gridsubdiv was not initialized properly

------------------------------------------------------------------------
r12233 | campbellbarton | 2007-10-08 17:13:07 +0200 (Mon, 08 Oct 2007) | 4 lines

UV Editmode
made UV face selecting into a generic function that respects UV sticky modes.
moved this out of lasso so border select uses too.

------------------------------------------------------------------------
r12230 | broken | 2007-10-08 11:24:29 +0200 (Mon, 08 Oct 2007) | 5 lines

* Fix for NLA with Map Old/Map New

NLA wasn't getting the correct strip start/end times when Map 
Old/Map New was being used. This fixes it and makes the animation
get scaled properly.
------------------------------------------------------------------------
r12229 | eeshlo | 2007-10-08 06:40:31 +0200 (Mon, 08 Oct 2007) | 7 lines

Made a few overly verbose names of classes shorter.
Also shortened some methodnames and tried to make them a bit more
similar to stl style names.




------------------------------------------------------------------------
r12227 | eeshlo | 2007-10-08 02:58:46 +0200 (Mon, 08 Oct 2007) | 3 lines

Updated README, removed the CImg.h include file.


------------------------------------------------------------------------
r12226 | eeshlo | 2007-10-08 02:48:15 +0200 (Mon, 08 Oct 2007) | 7 lines

Removed the CImg.h file, it's not essential anyway.
It was only used as framebuffer, if anyone really wants to compile the
standalone program with display support, then they can download the file from:
http://cimg.sourceforge.net



------------------------------------------------------------------------
r12223 | eeshlo | 2007-10-07 19:40:11 +0200 (Sun, 07 Oct 2007) | 5 lines

...
very extremely important revision indeed... ;)



------------------------------------------------------------------------
r12222 | eeshlo | 2007-10-07 19:36:20 +0200 (Sun, 07 Oct 2007) | 3 lines

README revised again...


------------------------------------------------------------------------
r12221 | eeshlo | 2007-10-07 19:26:20 +0200 (Sun, 07 Oct 2007) | 3 lines

Added some extra info in the README file.


------------------------------------------------------------------------
r12220 | eeshlo | 2007-10-07 19:17:57 +0200 (Sun, 07 Oct 2007) | 6 lines

Added README file with some extra information and links to all external
files included.




------------------------------------------------------------------------
r12219 | eeshlo | 2007-10-07 17:54:42 +0200 (Sun, 07 Oct 2007) | 3 lines

initial commit


------------------------------------------------------------------------
r12218 | schlaile | 2007-10-07 16:42:14 +0200 (Sun, 07 Oct 2007) | 5 lines

== Sequencer ==

Raised the number of prefetch frames for people with a _lot_ of memory :)


------------------------------------------------------------------------
r12217 | aligorith | 2007-10-07 11:21:28 +0200 (Sun, 07 Oct 2007) | 3 lines

Removed a variable that wasn't really needed 

(Note: gcc doesn't give any more compile warnings about the new code here, but other compilers may)
------------------------------------------------------------------------
r12216 | campbellbarton | 2007-10-07 11:16:08 +0200 (Sun, 07 Oct 2007) | 2 lines

minor change to UV lasso select - dont need to index verts twice

------------------------------------------------------------------------
r12215 | aligorith | 2007-10-07 10:44:14 +0200 (Sun, 07 Oct 2007) | 3 lines

== Anim Editor Transform ==

Restoring the 'force redraw' functionality, which is only active when the 'lock' icon on the header of the respective editor is turned on. 
------------------------------------------------------------------------
r12213 | campbellbarton | 2007-10-07 04:49:03 +0200 (Sun, 07 Oct 2007) | 3 lines

This did not work how brecht intended - shared location sticky mode first uses the vert then checks the locations match, not just the locations. 
updated lasso tool to support this.

------------------------------------------------------------------------
r12210 | aligorith | 2007-10-05 11:03:37 +0200 (Fri, 05 Oct 2007) | 7 lines

Action Editor - Sliders Bugfix:

Pasting values into/onto sliders in the Action Editor didn't insert new keyframes for the related channels. 

I've added a one-liner to the interface/buttons code which calls the button callback upon pasting values, thus fixing this bug and perhaps some others in the future. This shouldn't cause any problems in general (I haven't seen any yet!).

Thanks to venomgfx (Pablo Vazquez) for reporting this. 
------------------------------------------------------------------------
r12207 | aligorith | 2007-10-04 12:50:15 +0200 (Thu, 04 Oct 2007) | 10 lines

Some code cleanups:

* editaction.c - merged the functions for channel properties (renaming, slider limits, protect/mute, etc.) 

* blenlib
- added a new function BLI_findindex which finds the index position of a given item in a list. It will return -1 if it can't find the item 
- tidied up code formatting so that (the bits I have checked) have a single formatting style instead of a few different ones
- added a few paranoia checks for NULL in one of the listbase-related functions
- removed some half-dutch variable names still lurking around
- culled a few compiler warnings... there are still two in util.c related to (const char *) and (char *) type things 
------------------------------------------------------------------------
r12206 | aligorith | 2007-10-04 11:30:52 +0200 (Thu, 04 Oct 2007) | 1 line

Fixing incorrect tooltips for bone layers in Buttons Window
------------------------------------------------------------------------
r12205 | aligorith | 2007-10-04 11:20:01 +0200 (Thu, 04 Oct 2007) | 3 lines

Bugfix for Move Bone to Layer:

The case for EditMode needed to occur before the one for PoseMode as PoseMode can still be 'on' for an armature even while it is in EditMode.
------------------------------------------------------------------------
r12204 | aligorith | 2007-10-04 03:36:12 +0200 (Thu, 04 Oct 2007) | 1 line

Added menu entries for armature/bone layer changing
------------------------------------------------------------------------
r12201 | bjornmose | 2007-10-03 23:01:14 +0200 (Wed, 03 Oct 2007) | 2 lines

bug fix #7399 crash with certain Physics button settings
-- on the fly allocating of ob->pd data was missing in SB_II panel .. still is ugly that .. shudder
------------------------------------------------------------------------
r12200 | broken | 2007-10-03 16:55:00 +0200 (Wed, 03 Oct 2007) | 3 lines

* Fix for bug #7445, black dots when using Constant QMC AO sampling

Was a bit of a typo that only showed up when ao samples UI value was less than oversample level
------------------------------------------------------------------------
r12198 | campbellbarton | 2007-10-03 12:36:04 +0200 (Wed, 03 Oct 2007) | 6 lines

UV EditMode
-lasso tool now respects sticky selection setting when used 
with face 
mode
-use constants for sticky value.

------------------------------------------------------------------------
r12197 | aligorith | 2007-10-03 05:50:46 +0200 (Wed, 03 Oct 2007) | 1 line

Weekly purge of compiler warnings
------------------------------------------------------------------------
r12196 | aligorith | 2007-10-03 05:48:04 +0200 (Wed, 03 Oct 2007) | 5 lines

== TimeLine ==

Added an option to only display keyframes of the selected action-channels and/or the active material. This is should offer some speedups on really heavy datasets. Use the (View)->(Only Selected Data Keys) option to turn this on. 

In future, more filtering options could be added here too...
------------------------------------------------------------------------
r12195 | aligorith | 2007-10-03 02:05:34 +0200 (Wed, 03 Oct 2007) | 8 lines

== Armature Layer/Move Bone to Layer Popups ==

This commit adds a few quick tools for riggers. In Editmode for Armatures, I've added the popups that show up in PoseMode when Shift-MKEY and MKEY are used. This should speed up the workflow a bit, by requiring less trips between the 3d-view and the buttons panel, as well as providing a 'batch' move-bones-to-layer functionality.

Usage Notes:
* MKEY - move selected bones to layer(s)
* SHIFT-MKEY - change the currently visible armature layers
* CTRL-MKEY - mirror selected bones 
------------------------------------------------------------------------
r12193 | schlaile | 2007-10-02 14:36:53 +0200 (Tue, 02 Oct 2007) | 15 lines

== Sequencer ==

Added include compiler switches for windows to make pthread.h accessible
and reverted Joshua's patch.
(Joshua: the prefetch buffering has _nothing_ to do with FFMPEG!)

If this still does not fix the problem, please send an email to me!

I also fixed 
source\blender\src\sequence.c(1405) : error C2275: 'PrefetchThread'

GCC is way to gracefully in latest versions... :)



------------------------------------------------------------------------
r12192 | aligorith | 2007-10-02 13:19:01 +0200 (Tue, 02 Oct 2007) | 5 lines

Patch #7436 by Changlin Zhou (shzhc):

The patch submitter found a case where freed memory was being accessed again later. Fortunately (or unfortunately), this bug has not shown itself so far, and has therefore been easy to miss. In fact, somehow, everything still manages to work correctly without it.


------------------------------------------------------------------------
r12191 | aligorith | 2007-10-02 13:14:12 +0200 (Tue, 02 Oct 2007) | 3 lines

Bugfix #7437:

Bumped the version-patch for constraints recode from 2.44.3 to 2.45. 
------------------------------------------------------------------------
r12190 | aligorith | 2007-10-02 12:59:02 +0200 (Tue, 02 Oct 2007) | 3 lines

IPO Transform Bugfix:

When IPO-Keys were being shown, the y-values of the keyframes should not change during transform.
------------------------------------------------------------------------
r12189 | aligorith | 2007-10-02 12:45:22 +0200 (Tue, 02 Oct 2007) | 9 lines

== Bone Size Transform Tool ==

Fixed a few bugs with the Alt-S transform tool when the armature drawtype is set to B-Bone:

* Transform constraints seem to have been turned off for this sometime in the past few weeks. Re-enabled this.
* Numeric input for this tool was not working correctly. You could only set the value of the x-axis width only. Also, giblish was being displayed for the other channels
* The char array used in the BoneSize function was smaller than the one used in the headerBoneSize (new function added for this transform mode instead of reusing some old one).

Also, I've added some menu entries for both Alt-S tools in editmode, which did not exist in the past. How were the users supposed to figure this out???
------------------------------------------------------------------------
r12187 | elubie | 2007-10-02 11:11:50 +0200 (Tue, 02 Oct 2007) | 8 lines

== imagebrowser ==
- activated image browser for texture databrowse (texture buttons)
- activated image browser for brush texture databrowse (+small fix of callback function)
- activated image browser for image databrowse in UV/image editor
- fixed: filter didn't work with databrowse and append/link. 
- filter buttons in header now don't appear when doing databrowse or append/link
- loading previews for textures added when linking/appending.

------------------------------------------------------------------------
r12186 | schlaile | 2007-10-02 09:12:48 +0200 (Tue, 02 Oct 2007) | 5 lines

== FFMPEG ==

Changed build priority of ffmpeg-libs for blenderplayer.


------------------------------------------------------------------------
r12185 | aligorith | 2007-10-02 08:30:33 +0200 (Tue, 02 Oct 2007) | 3 lines

Bone/Envelope Size Bugfix:

When in envelope draw-mode for an armature, it would not be possible to change the envelope distance of a bone using Alt-S if the distance was 0. 
------------------------------------------------------------------------
r12184 | aligorith | 2007-10-02 02:43:35 +0200 (Tue, 02 Oct 2007) | 3 lines

Action Editor - Sliders Bugfix:

The Action Editor slider callbacks were missing depsgraph update calls, so the 3d-view wasn't correctly updated after using to sliders to add keyframes
------------------------------------------------------------------------
r12183 | aligorith | 2007-10-02 02:00:06 +0200 (Tue, 02 Oct 2007) | 3 lines

sequence.c - compiling bugfix/hack

When compiling Blender without FMMPEG here, compiling broke on this file after the prefetch buffering commit. I've added some #ifdefs to fix this in the meantime, but Peter should check.
------------------------------------------------------------------------
r12182 | genscher | 2007-10-02 01:13:48 +0200 (Tue, 02 Oct 2007) | 1 line

Bugfix #7371
------------------------------------------------------------------------
r12179 | campbellbarton | 2007-10-01 11:51:45 +0200 (Mon, 01 Oct 2007) | 4 lines

made changing mesh vert/edge/face modes redraw the image view since, 
draw verts and faces in UV mode when face select is enabled but syncing 
with the mesh selection is not.

------------------------------------------------------------------------
r12178 | aligorith | 2007-10-01 10:10:08 +0200 (Mon, 01 Oct 2007) | 5 lines

IPO Editor Transform - More bugfixes:

* Rotation/Scaling now use the correct center-point. The helpline is now drawn correctly too for this 

* For Rotation in UV/IPO editors, constraints are now disabled as they didn't make sense
------------------------------------------------------------------------
r12177 | schlaile | 2007-10-01 10:03:11 +0200 (Mon, 01 Oct 2007) | 29 lines

== Sequencer ==

This patch adds prefetch buffering to the sequencer
(see the tracker for additional details:

https://projects.blender.org/tracker/?func=detail&aid=7307&group_id=9&atid=127
)

We create seperate render threads (currently one, because of the fact,
that sequence rendering modifies global structures...), that
render up to the defined userpref value "Prefetch frames" in advance.
(Pressing Alt-A will _first_ fill the buffer and then start playing.)

Bassam and I did some extensive testing, so it should work.

If you don't configure your number of prefetch frames, prefetching is disabled!
(Sane defaults... :)

Also: if the machine is definitely too slow and runs out of the prefetch
area, prefetching is disabled automatically and we are back to good old
frame skipping mode.

My Dual Athlon is able to handle 4 parallel DV streams at once (sometimes
a little bit choppy, but prefetching is never disabled!)

I fixed also a long standing bug in the audio code, that made playback run
backwards at the beginning...


------------------------------------------------------------------------
r12176 | aligorith | 2007-10-01 09:10:50 +0200 (Mon, 01 Oct 2007) | 5 lines

== IPO Editor Transform ==

* It is now possible to rotate the Bezier controls for the IPO Editor (RKEY)
* IPO Record has now been remapped to Ctrl R.

------------------------------------------------------------------------
r12175 | aligorith | 2007-10-01 05:11:11 +0200 (Mon, 01 Oct 2007) | 3 lines

== IPO Editor Transform - Bugfix ==

This commit fixes one of the bugs mentioned yesterday. Now cancelling a transform will result in the right behaviour. 
------------------------------------------------------------------------
r12174 | schlaile | 2007-09-30 17:20:45 +0200 (Sun, 30 Sep 2007) | 5 lines

== FFMPEG ==

Another try at mingw...


------------------------------------------------------------------------
r12173 | schlaile | 2007-09-30 16:55:47 +0200 (Sun, 30 Sep 2007) | 5 lines

== FFMPEG ==

Changed configure call, in the hope, mingw likes it.


------------------------------------------------------------------------
r12172 | aligorith | 2007-09-30 13:45:09 +0200 (Sun, 30 Sep 2007) | 1 line

Removed unused vars in previous commit
------------------------------------------------------------------------
r12171 | aligorith | 2007-09-30 13:43:16 +0200 (Sun, 30 Sep 2007) | 13 lines

== IPO Editor Transform Refactor ==

As with the Action and NLA editors, I've refactored the transform code for the IPO editor to get rid of the special (and clunky) transform loop that had been created. The approach this time is closer to the one taken for the UV/Image editor.

What's New/Will-be-possible-in-the-future:
* Numeric input now works for the IPO editor
* Proportional Edit support for the IPO editor will eventually be added. 
* Rotation (hopefully), once some hotkeys have been remapped

Known Problems:
* If a keyframe moves past neighbouring keyframes and the transform gets cancelled, it doesn't get restored correctly. This problem is quite icky to resolve (I've got a large hack for this, but that currently segfaults randomly).
* When scaling, the dashed-line (helpline) is drawn from the wrong starting co-ordinates. This does not affect the actual scaling though
* Trying to scale BezTriples with autohandles still doesn't work if either of the handles haven't been transformed yet. This behaviour was already present prior to this commit.
------------------------------------------------------------------------
r12170 | campbellbarton | 2007-09-30 10:28:15 +0200 (Sun, 30 Sep 2007) | 8 lines

- rewrote UV Stitch, (seperate from limit stitch now), does much less 
work for same results.
- UV Stitch with the V key was not working (as stated in the menu)
- Rotate UV's and Colors now have an option for CCW (was in the menu 
but not implimented)
- Draw face dot in UV when in face mode


------------------------------------------------------------------------
r12169 | mal_cando | 2007-09-29 20:51:01 +0200 (Sat, 29 Sep 2007) | 9 lines

GE Patch by Hamed Zaghaghi - Adding Motion Blur to the Game Engine.

I reviewed the code, suggested an update ( initialising accumulation buffer ), and tested the resulting update successfully.

It's great to see more GE developers!GE Patch by Hamed Zaghaghi to add motion blur to the GE ( using the accumulation buffer ).

I reviewed code and tested, gave some feedback ( initialising accumulation buffer ) which was implemented straight away, and re-reviewed.

It's great to have another GE coder on the team!
------------------------------------------------------------------------
r12168 | briggs | 2007-09-29 07:49:51 +0200 (Sat, 29 Sep 2007) | 4 lines

-> Active face wasn't getting set properly on editmode exit

Active face was being set for the editmesh instead of the mesh on editmode
exit. Fixed.
------------------------------------------------------------------------
r12167 | aligorith | 2007-09-29 05:52:25 +0200 (Sat, 29 Sep 2007) | 5 lines

Bugfix:

For transform in UV/Image editor (and soon, the IPO editor), transformations on 'local' axes (i.e. GXX, or GYY) won't work. Therefore, I've disabled this for those cases.

Note: A small part of the IPO editor transform-code port is in this commit too.
------------------------------------------------------------------------
r12165 | schlaile | 2007-09-28 10:06:38 +0200 (Fri, 28 Sep 2007) | 6 lines

== FFMPEG ==

Fix by Ken Hughes, that disables Blender CFLAGS for ffmpeg
(hopefully increases the number of people, where the compile does not fail :)


------------------------------------------------------------------------
r12164 | khughes | 2007-09-28 01:42:21 +0200 (Fri, 28 Sep 2007) | 5 lines

Python API
----------
* changed a few hardcoded low frame limits in wave modifier to use MAXFRAMEF


------------------------------------------------------------------------
r12163 | aligorith | 2007-09-28 01:36:17 +0200 (Fri, 28 Sep 2007) | 3 lines

Bugfix #7419:

Adding missing NULL checks for the Geometry Targets feature for Constraints.
------------------------------------------------------------------------
r12162 | broken | 2007-09-28 01:33:19 +0200 (Fri, 28 Sep 2007) | 1 line

* changed a few hardcoded low frame limits in wave modifier to use MAXFRAMEF
------------------------------------------------------------------------
r12161 | campbellbarton | 2007-09-27 22:41:56 +0200 (Thu, 27 Sep 2007) | 6 lines

bugfix from 11860, the derived mesh was getting free'd twice (crashed 
editmode + linked-dupes + texture-drawtype)

Also fixed own bug with face mode setting (wasnt checking for texface)


------------------------------------------------------------------------
r12160 | theeth | 2007-09-27 19:45:53 +0200 (Thu, 27 Sep 2007) | 4 lines

Improve consistency in editmesh tmp unions.

EditVert had "float *fp" while the others had "float p".
changed to "float p" and made all code using the float pointer use the already existing tmp.p (void*) instead.
------------------------------------------------------------------------
r12159 | campbellbarton | 2007-09-27 18:47:08 +0200 (Thu, 27 Sep 2007) | 4 lines

glitches with UV tools fixed - P was grabbing, snap cursor to selection 
didnt work, and constants for black and white were reversed (not user 
visible error)

------------------------------------------------------------------------
r12158 | schlaile | 2007-09-27 09:19:10 +0200 (Thu, 27 Sep 2007) | 5 lines

== FFMPEG ==

Another fix for external ffmpeg building.


------------------------------------------------------------------------
r12157 | schlaile | 2007-09-27 09:08:22 +0200 (Thu, 27 Sep 2007) | 6 lines

== FFMPEG ==

External ffmpeg would have linked against both internal and external
libs.


------------------------------------------------------------------------
r12156 | schlaile | 2007-09-27 08:53:21 +0200 (Thu, 27 Sep 2007) | 5 lines

== FFMPEG ==

Minor fix for using system's ffmpeg.


------------------------------------------------------------------------
r12155 | schlaile | 2007-09-27 08:48:50 +0200 (Thu, 27 Sep 2007) | 5 lines

== FFMPEG ==

Scons support for internal ffmpeg.


------------------------------------------------------------------------
r12154 | schlaile | 2007-09-27 08:48:28 +0200 (Thu, 27 Sep 2007) | 5 lines

== FFMPEG ==

Scons support for internal ffmpeg


------------------------------------------------------------------------
r12153 | schlaile | 2007-09-27 08:47:59 +0200 (Thu, 27 Sep 2007) | 5 lines

== FFMPEG ==

First round of scons support for internal ffmpeg.


------------------------------------------------------------------------
r12152 | broken | 2007-09-26 15:40:38 +0200 (Wed, 26 Sep 2007) | 1 line

* Fix for typo in AA curve commit. Thanks Stephan K for the notice!
------------------------------------------------------------------------
r12150 | campbellbarton | 2007-09-26 09:35:04 +0200 (Wed, 26 Sep 2007) | 2 lines

mistake in my last commit - reversed black/white UV line draw

------------------------------------------------------------------------
r12149 | aligorith | 2007-09-26 09:33:31 +0200 (Wed, 26 Sep 2007) | 5 lines

== Clamp To Constraint ==

Now there's an option for the owner to follow the path of the target cyclically. Previously, if the owner moved past the extents of the side of the bounding-box used for the calculations, the object was placed on the curve at the nearest extent. 

This option is only really useful if the curve itself is cyclic, although you can still use it otherwise. To enable, just turn on the cyclic option. 
------------------------------------------------------------------------
r12148 | broken | 2007-09-26 08:49:16 +0200 (Wed, 26 Sep 2007) | 1 line

* Made the UV editor dashed lines a little less overbearing
------------------------------------------------------------------------
r12147 | campbellbarton | 2007-09-26 08:46:08 +0200 (Wed, 26 Sep 2007) | 2 lines

re-arranged buttons from matts suggestions. removed some unused vars and added some constants to replaced magick numbers for draw types.

------------------------------------------------------------------------
r12146 | campbellbarton | 2007-09-25 16:39:04 +0200 (Tue, 25 Sep 2007) | 2 lines

mistake when setting the active vert color (was setting the color value outside the range of the value)

------------------------------------------------------------------------
r12144 | aligorith | 2007-09-25 11:12:02 +0200 (Tue, 25 Sep 2007) | 3 lines

Track-To Constraint - Bugfix:

Now this should work nicely again. Somehow I thought I'd committed this change already, but anyways, here it is.
------------------------------------------------------------------------
r12143 | campbellbarton | 2007-09-25 09:42:55 +0200 (Tue, 25 Sep 2007) | 2 lines

snap transform for UV editing, missing the draw circle at the moment.

------------------------------------------------------------------------
r12142 | broken | 2007-09-25 08:36:02 +0200 (Tue, 25 Sep 2007) | 1 line

* Use nice AA lines for curve ui control
------------------------------------------------------------------------
r12141 | aligorith | 2007-09-25 07:04:34 +0200 (Tue, 25 Sep 2007) | 11 lines

== Armature Animation Fixes ==

This commit fixes several bugs related to animating armatures. I've also tidied up the formatting in a few files along the way, and also commented the flags for this pose->flag.

What's new/fixed:
* Undo will no longer destroy entire un-keyframed poses. Now it behaves as expected, and only reverses the most recent change.
* On some files, POSE_DO_UNLOCK somehow got set on files and never cleared. The symptom of this was a file in which you suddenly could no longer pose an armature at all without using auto-keyframing. A check to prevent this from happening again has been added (it will also fix old files too)

Notes:
- Now, all PoseChannels get tagged with BONE_UNKEYED after they have been transformed. This flag prevents IPO data being flushed over these new values, even after undo. 
- These tags only get removed on frame-changes or inserting new keyframes. 
------------------------------------------------------------------------
r12140 | campbellbarton | 2007-09-25 06:11:57 +0200 (Tue, 25 Sep 2007) | 2 lines

store snapping in the scene, (theeth's suggestion)

------------------------------------------------------------------------
r12139 | campbellbarton | 2007-09-25 05:31:12 +0200 (Tue, 25 Sep 2007) | 3 lines

made active vert/edge/face draw properly with modifiers applied and made their theme default white.
removed active face draw in Face/UV (which is now paint mask mode) mode.

------------------------------------------------------------------------
r12138 | broken | 2007-09-25 03:33:29 +0200 (Tue, 25 Sep 2007) | 2 lines

* Changed the "Not allowed" error message in the Scene set chooser to 
something a little more meaningful
------------------------------------------------------------------------
r12137 | aligorith | 2007-09-25 02:15:21 +0200 (Tue, 25 Sep 2007) | 3 lines

Copy Rot. Constraint - Bugfix:

I've removed the quaternion-based rotation copying that I added during the recode as it was causing artifacts on some rigs.
------------------------------------------------------------------------
r12136 | aligorith | 2007-09-25 02:05:53 +0200 (Tue, 25 Sep 2007) | 3 lines

This commit might fix some compile errors reported by jms on MSVC 8.0.

error C2036 : http://msdn2.microsoft.com/en-us/library/1kay26wa(vs.71).aspx
------------------------------------------------------------------------
r12134 | broken | 2007-09-24 15:17:42 +0200 (Mon, 24 Sep 2007) | 1 line

* Adaptive QMC ray shadow sampling wasn't working with transparent shadows - fixed.
------------------------------------------------------------------------
r12133 | theeth | 2007-09-24 14:25:13 +0200 (Mon, 24 Sep 2007) | 1 line

fix typo that broke compilation
------------------------------------------------------------------------
r12132 | aligorith | 2007-09-24 14:14:36 +0200 (Mon, 24 Sep 2007) | 10 lines

== NLA Editor ==

Added some features to the NLA Editor that had previously only been added for the Action Editor.

* It is now possible to choose whether timing is displayed in Frames or Seconds like in many of the other Animation Editors. Use Ctrl-T or the View menu to change this.

* Autosnap behaviour from Action Editor is now also available for the NLA Editor. It was partially done in the previous commit (for transform). Use the new combo-box on the NLA Editor header (like the one on the Action Editor header) to set this.


* editaction.c: silenced a compiler warning from the previous commit related to a function which is no longer needed.
------------------------------------------------------------------------
r12131 | aligorith | 2007-09-24 13:29:25 +0200 (Mon, 24 Sep 2007) | 9 lines

== Action and NLA Editor Transform ==

I've refactored the Action and NLA Editor Transform tools to use the Transform System instead of setting up their own transform loops. This should have happened ages ago, but no-one got around to doing so. 

* There are still a few bugs left to iron out of a few features, but on the whole it should work as well as it used to. These are: the values which get displayed when working with NLA-scaled actions may not all be correct yet; and the Time-Slide tool in the Action Editor is currently kindof broken.

* One of the main benefits of this work, is that it is now possible to use Numeric Input during Transforms.

* Also, a bug that meant that it was not possible to negatively scale keyframes in the Action Editor has been resolved.
------------------------------------------------------------------------
r12129 | campbellbarton | 2007-09-24 11:40:09 +0200 (Mon, 24 Sep 2007) | 4 lines

Made the remaining UV py scripts work with editmesh now.
DrawShadow option didnt check the final derived mesh had CD_MTFACE's can would crash when enabled with mirror modifier.


------------------------------------------------------------------------
r12128 | broken | 2007-09-24 05:03:43 +0200 (Mon, 24 Sep 2007) | 5 lines

* Changed the "Make Links -> To Scene..." menu to use a columned
popup menu - more manageable when you've got a lot of scenes.

Also changed an error message from using a popup menu to the proper
error() function with icon etc.
------------------------------------------------------------------------
r12127 | broken | 2007-09-24 04:18:00 +0200 (Mon, 24 Sep 2007) | 12 lines

* Change/fix to texture comp node

Previously if the texture node was not connected directly as the 
second input to a node like Mix, the size of the generated image 
was initialised to 140x140, which is not that useful. It now is 
initialised to the size of the render result if it exists, and if 
not, the size of the scene render sizeX/sizeY.

This alleviates bug #7068, which is caused by the displace node 
trying to get pixels from a texture node, where the texture node 
doesn't contain pixels to cover the entire image (only 140x140) 
but it's not really a bulletproof solution...
------------------------------------------------------------------------
r12126 | campbellbarton | 2007-09-24 00:02:18 +0200 (Mon, 24 Sep 2007) | 17 lines

bugfix - running scriptlinks did not initialize the armature weakref dict, thanks for finding caedes!

this bug is in 2.45 but can work around by setting it manually
---
import sys as pysys
try:
	pysys.modules['__main__'].__arm_weakrefs
except:
	pysys.modules['__main__'].__arm_weakrefs = {}
---

changed how draw modes work - when displaying textured meshes in editmode, only draw selected edges when "Edge Draw" is not enabled. this makes it easy to see the texture/mapping without edges getting in the way.
This means editmode can draw like UV/Face mode did when "Draw Edges" was disabled.

Also made the active vert/edge/face color themeable, still need to set the default to somthing other then pink.


------------------------------------------------------------------------
r12125 | campbellbarton | 2007-09-23 20:27:01 +0200 (Sun, 23 Sep 2007) | 6 lines

Dof Object - set the depth of field to an object - set in the camera edit panel but the distance is calculated on the camera object only so linked cameras work.
Alt+Period - sets active pivot

some tooltips didnt make much sense, edited a few.


------------------------------------------------------------------------
r12124 | schlaile | 2007-09-23 20:22:18 +0200 (Sun, 23 Sep 2007) | 5 lines

== Sequencer / FFMPEG ==

Forgotten files for ffmpeg upgrade. Have to really learn SVN... Sorry!


------------------------------------------------------------------------
r12123 | schlaile | 2007-09-23 19:46:58 +0200 (Sun, 23 Sep 2007) | 5 lines

== Sequencer / FFMPEG ==

This adds BGRA32 MMX acceleration to ffmpeg :)


------------------------------------------------------------------------
r12121 | schlaile | 2007-09-23 19:26:22 +0200 (Sun, 23 Sep 2007) | 5 lines

== Sequencer / FFMPEG ==

Confused RGBA32 with RGBA.


------------------------------------------------------------------------
r12120 | schlaile | 2007-09-23 19:16:13 +0200 (Sun, 23 Sep 2007) | 5 lines

== Sequencer / FFMPEG ==

Updated to latest FFMPEG-version, which uses new swscaler.


------------------------------------------------------------------------
r12119 | campbellbarton | 2007-09-23 17:10:41 +0200 (Sun, 23 Sep 2007) | 3 lines

drawimage wasnt updating when shadow mesh was enabled
transform manipulator was shown in sculpt mode which is inconsistant sicne G key dosnt work and other painting modes have this disabled. - thanks theeth for finding this.

------------------------------------------------------------------------
r12118 | schlaile | 2007-09-23 16:19:54 +0200 (Sun, 23 Sep 2007) | 5 lines

== Sequencer / FFMPEG ==

Removing old FFMPEG files, that are no longer in repository.


------------------------------------------------------------------------
r12117 | schlaile | 2007-09-23 16:05:22 +0200 (Sun, 23 Sep 2007) | 5 lines

== Sequencer / FFMPEG ==

Updating to latest FFMPEG version.


------------------------------------------------------------------------
r12116 | schlaile | 2007-09-23 16:04:23 +0200 (Sun, 23 Sep 2007) | 9 lines

== Sequencer / FFMPEG ==

Updated FFMPEG to latest version.

Since we now use swscaler, things should be a lot faster!

Please check on Big-Endian, if this still works!


------------------------------------------------------------------------
r12115 | schlaile | 2007-09-23 16:02:25 +0200 (Sun, 23 Sep 2007) | 6 lines

== Sequencer / FFMPEG ==

Updated FFMPEG to latest version. (And fixed some Tab-codes, that Emacs
didn't like in OPENEXR-related lines)


------------------------------------------------------------------------
r12114 | schlaile | 2007-09-23 16:00:48 +0200 (Sun, 23 Sep 2007) | 6 lines

== Sequencer / FFMPEG ==

Updated FFMPEG to latest version (ffmpeg SVN of today).



------------------------------------------------------------------------
r12113 | elubie | 2007-09-23 15:52:08 +0200 (Sun, 23 Sep 2007) | 6 lines

fixing some compile problems with MSVC7.1/scons
* stupid misplacement of declaration
* replacing fmodf with fmod (fmodf not available with MSVC7.1 when compiling C-code)
* appending CXXFLAGS to CCFLAGS in tools/Blender.py to avoid linking errors with runtime library (/MT not set) 
  - jesterKing, could you please check if that's ok?

------------------------------------------------------------------------
r12112 | campbellbarton | 2007-09-23 15:00:35 +0200 (Sun, 23 Sep 2007) | 2 lines

added lasso selection for UV coords

------------------------------------------------------------------------
r12111 | campbellbarton | 2007-09-23 12:38:09 +0200 (Sun, 23 Sep 2007) | 2 lines

missing null check

------------------------------------------------------------------------
r12110 | nicholasbishop | 2007-09-23 08:02:58 +0200 (Sun, 23 Sep 2007) | 5 lines

== Retopo ==

Changed some of the retopo functions to use doubles instead of shorts; this makes the transformation more accurate if the view is zoomed out far enough to have multiple vertices appear at the same pixel location.


------------------------------------------------------------------------
r12109 | campbellbarton | 2007-09-22 21:28:36 +0200 (Sat, 22 Sep 2007) | 6 lines

new snap tool in UV mode "Selection -> Adjacent Unselected"
(functionality from recently removed python script: uvcalc_from_adjacent.py)

This is useful when adding faces in areas that are alredy UV mapped, this can be used to snap the selected face to the existing face's UV's.


------------------------------------------------------------------------
r12108 | campbellbarton | 2007-09-22 19:54:13 +0200 (Sat, 22 Sep 2007) | 13 lines

added an active face for the mesh editmode and normal mesh - this is needed because the TFace flag was not always easy to access from editmode.
using the last selected face was almost good enough however when selecting verts and edges the last selected face would become inactive and the space image would flicker about too much.
The active face is used for getting the space image at the moment and keeps scripts that use this flag working also.

This has 2 commands to get and set, so the variable is not accessed directly.

all "UV Calculate" scripts work now

last commit crashed when in solid draw mode, it seems subsurf modifier is ignoring the displayMask since MTFACE is available. just made it do a null check for now.

uvcalc_follow_active_coords.py - should be done inC and put in the snap menu.


------------------------------------------------------------------------
r12107 | campbellbarton | 2007-09-22 17:42:28 +0200 (Sat, 22 Sep 2007) | 2 lines

mistake, testing stuff left in last commit

------------------------------------------------------------------------
r12106 | campbellbarton | 2007-09-22 17:32:08 +0200 (Sat, 22 Sep 2007) | 5 lines

made draw shadow work as it used to (I didnt understand at first that this was to draw the subsurfed UV faces)

this is really slow, its unuseable on suzanne subdivided twice on my computer with 2.45 and trunk, this could be sped up however it would need to be subsurf spesific.


------------------------------------------------------------------------
r12105 | campbellbarton | 2007-09-22 10:34:40 +0200 (Sat, 22 Sep 2007) | 2 lines

fix for some button overlap problems

------------------------------------------------------------------------
r12104 | campbellbarton | 2007-09-22 08:58:40 +0200 (Sat, 22 Sep 2007) | 10 lines

made sticky UV editing options more accessible by adding them to a popup in the header.
Changed how the sticky setting is stored in DNA - (as a char rather then 2 flags).
replaced the UV/FACE icon with another needed for the sticky menu.
removed 2 unused icons.

commented the UV transform panel since it only had 2 buttons in it.

depgraph update calls needed to be added to Ctrl+V/E/F menu's because some commands were crashing.


------------------------------------------------------------------------
r12103 | khughes | 2007-09-21 22:46:17 +0200 (Fri, 21 Sep 2007) | 7 lines

Python API
----------

Bgfix #7386: added support for texture flags TEX_PRV_ALPHA, TEX_REPEAT_XMIR and
TEX_REPEAT_YMIR to tex.flags attribute.


------------------------------------------------------------------------
r12102 | campbellbarton | 2007-09-21 16:34:29 +0200 (Fri, 21 Sep 2007) | 2 lines

unwrapping would crash if there was no space image

------------------------------------------------------------------------
r12100 | campbellbarton | 2007-09-21 15:30:38 +0200 (Fri, 21 Sep 2007) | 3 lines

last commit had an error that crashed blender.
some of the UV/image drawomg checks for editmode were redundant

------------------------------------------------------------------------
r12099 | campbellbarton | 2007-09-21 12:28:04 +0200 (Fri, 21 Sep 2007) | 4 lines

added draw types for UVs
speedup for UV display (the MTFace loopup is only done once and stored in the EditFaces temp pointer)


------------------------------------------------------------------------
r12098 | campbellbarton | 2007-09-21 01:31:58 +0200 (Fri, 21 Sep 2007) | 2 lines

2 warnings removed, one from last commit

------------------------------------------------------------------------
r12097 | campbellbarton | 2007-09-21 00:38:04 +0200 (Fri, 21 Sep 2007) | 7 lines

image display option for viewing non square pixels (x/y aspect for each image) - useful when editing UV coords with textures that have been resized to values that run fast in openGL (256/512/1024) but have lost their original aspect ratio, especially useful when rotating UV's.
Bumped the subversion to 2, so the default aspect is set to 1:1.

Made "Repeat Image" option time image drawing and bail out early if its taking too long. (quater of a sec max) this could be avoided if the texture was drawn on a quad, but that wouldnt support other image draw options.
This is a good short term solution because it was possibly to lock up blender if you zoomed out a long way then enabled "Repeat Image".


------------------------------------------------------------------------
r12096 | broken | 2007-09-20 07:56:57 +0200 (Thu, 20 Sep 2007) | 2 lines

* Fix for old files loading up with gloss = 0.0 and gloss samples = 0.
I blame the 2.45 version-raising!
------------------------------------------------------------------------
r12095 | campbellbarton | 2007-09-20 01:50:46 +0200 (Thu, 20 Sep 2007) | 4 lines

added a view properties panel for image/uv. moved the cursor x/y there to match the 3d view.
added an optional view setting - Repeat/Tile image display so mapping with tiled textures you dont have to guess the locations or look in the 3d view to see what your mapping to.
copy and face menu was missing depgraph update calls.

------------------------------------------------------------------------
r12094 | campbellbarton | 2007-09-19 18:28:52 +0200 (Wed, 19 Sep 2007) | 17 lines

reworked how tile functions, seperated image and tile setting functions/events and made tile work with image pinning.

changed how image replace works,
it used to load a new image and then assign that image to all faces in meshes active UV layer.
without replacing images in textures or images on inactive UV layers

now it simply changes the filename of the existing image and reloads the contense.

This is different in some other subtle ways, 
1) replace used to use an existing image if it was available,
this could be confusing because when I replaced with an image I didnt like, but had alredy applied to objects in some other scene, replacing again would alter the images from models unintentionally.
2) since replace used to load a new image, it would load with a new name. at the moment the name is left unchanged,
This is better when dealing with linked libraries. because when replacing a images, anything linking to that texture gets broken. since imaged can get automatically named strings longer then its possible to enter into the user interface, you could wind up with some really annoying cases where it wasnt possible to type in the original name again.

Since this replace effects everything usiung the image, we may want to have 2 replace functions, "Replace Globaly" and "Replace in Mesh"


------------------------------------------------------------------------
r12092 | campbellbarton | 2007-09-19 12:54:49 +0200 (Wed, 19 Sep 2007) | 6 lines

Local Image View for UV/Editmode

When mapping multiple images on 1 mesh, the UV coordinates often overlap and in many cases you only want to edit the uv coords for the faces applied to that image,
this is an option that only displays UV's for faces use the currently displayed image.


------------------------------------------------------------------------
r12091 | campbellbarton | 2007-09-19 11:15:16 +0200 (Wed, 19 Sep 2007) | 2 lines

meshes with no faces would raise an eror when setting their .faceUV to true.

------------------------------------------------------------------------
r12089 | broken | 2007-09-19 08:07:54 +0200 (Wed, 19 Sep 2007) | 2 lines

* Documented scene.objects.camera , used for getting the active camera
of a scene.
------------------------------------------------------------------------
r12087 | campbellbarton | 2007-09-18 21:39:25 +0200 (Tue, 18 Sep 2007) | 4 lines

fixed copy between UV layers.
made the UV layer menu a generic functions (can make a menu from the names of any custimdata layer type)
added a menu in the UV window for selecting teh editnmode UV layer - If there ends up not being enough room in the header this may need to be removed.

------------------------------------------------------------------------
r12086 | bdiego | 2007-09-18 16:34:17 +0200 (Tue, 18 Sep 2007) | 4 lines

In my last commit, i forget more case of "insert_vert_icu".
Fixed, compiled and tested ;)


------------------------------------------------------------------------
r12084 | bdiego | 2007-09-18 16:01:33 +0200 (Tue, 18 Sep 2007) | 3 lines

Fix insert_vert_icu, missing the new "fast" argument.


------------------------------------------------------------------------
r12083 | campbellbarton | 2007-09-18 15:10:17 +0200 (Tue, 18 Sep 2007) | 3 lines

added pin for images, this is useful because you might want to edit a model's verts without the image changing.


------------------------------------------------------------------------
r12082 | campbellbarton | 2007-09-18 14:24:22 +0200 (Tue, 18 Sep 2007) | 2 lines

The option to automatically run scriptlinks wasnt in the preferences so it was not at all obvious that it was a preference. added a button for this in the prefs.

------------------------------------------------------------------------
r12080 | aligorith | 2007-09-18 10:29:18 +0200 (Tue, 18 Sep 2007) | 1 line

Missing newline character in printf
------------------------------------------------------------------------
r12078 | campbellbarton | 2007-09-18 08:41:29 +0200 (Tue, 18 Sep 2007) | 12 lines

A user submitted a BVH file that took a long time to import (I didnt end up finishing since it was so slow)
this is mainly because adding pose keyframes recalculates every handle so importing became increasingly slow.

added a 'fast' argument to insertkey that python api's insertPoseKey can make use of since it alredy accepts a 'fast' option.

The ~4450 frame, 31 bone BVH imports in ~108sec now

Seperated editmode switch statement in space.c's event handling,
if editmode is disabled, or the images is a render or composite, UV editing operations are ignored.
In previous releases it has given an annoying warning if selecting or scaling is attempted when out of UV/Face mode.


------------------------------------------------------------------------
r12077 | aligorith | 2007-09-18 08:33:24 +0200 (Tue, 18 Sep 2007) | 1 line

Another purge of compiler warnings (some of which I've been getting for a while) as a warmup exercise.
------------------------------------------------------------------------
r12075 | campbellbarton | 2007-09-18 04:59:57 +0200 (Tue, 18 Sep 2007) | 4 lines

unwrapper wasnt working properly when UVSyncSelection was NOT enabled.
unwrapper and UV mapping menu items were not selecting UV's when initializing a new UV layer
selecting with the brush (BB) in the UV window did not update in the 3D view realtime, use the lock settings to make this work.

------------------------------------------------------------------------
r12071 | campbellbarton | 2007-09-17 20:24:53 +0200 (Mon, 17 Sep 2007) | 2 lines

small text cleanup

------------------------------------------------------------------------
r12070 | campbellbarton | 2007-09-17 20:22:06 +0200 (Mon, 17 Sep 2007) | 11 lines

New feature for UV/Editmode - 'Sync Mesh Selection' a button in the UV header this mode is disabled by default.
This is implimented by defining macro's that take the mode into account when get/set/checking the selection and that a face can be drawn.

When this is enabled, things work a bit differently
* all faces are drawn in the UV view (except hidden faces).
* selecting faces/verts in the UV window selects them on the mesh also and vice vercer.
* when EditMode (Face only) is enabled, selecting faces in the UV view is not sticky.
* hiding/(de)select all and invert selection simle call the editmesh functions.
* there is no way to select 1 uv corner of 1 face (because a mesh cannot have this as a valid selection) either all UV's that use a vert (sticky), or the whole face.


------------------------------------------------------------------------
r12069 | sirdude | 2007-09-17 17:39:03 +0200 (Mon, 17 Sep 2007) | 5 lines

Added a NULL check that was needed.

Kent


------------------------------------------------------------------------
r12068 | sirdude | 2007-09-17 17:32:10 +0200 (Mon, 17 Sep 2007) | 6 lines

Updated calls to insert_vert_ipo to be
insert_vert_icu since insert_vert_ipo no longer exists.

Kent


------------------------------------------------------------------------
r12066 | aligorith | 2007-09-17 13:43:48 +0200 (Mon, 17 Sep 2007) | 1 line

Attempted bugfix for TrackTo constraint - reverting the only change (that I've picked up so far) that I made to the code of the TrackTo constraint. Apparently the Align to Target feature was broken...
------------------------------------------------------------------------
r12065 | aligorith | 2007-09-17 13:41:12 +0200 (Mon, 17 Sep 2007) | 16 lines

== Action Editor - Copy and Paste Tools ==

Now it is possible to do Copy+Paste in the Action Editor, like in the IPO Editor. There are two new buttons in the Action Editor header for this, using the familiar icons.

* To copy...
Select the keyframes you wish to copy, and the channels that they occur in (except for ShapeKey mode, where it is not possible to select channels). Click copy button.
* To paste... 
Place the current frame where you want the first of the keyframes from the buffer is to be pasted. Select all channels you wish the keyframes to be pasted into. Click paste button. 

Currently, keyframes are only pasted into 'compatible' curves (i.e.  LocX keyframes can only go to LocX, and so on). This may change after user feedback, if this is found to be too restrictive.

== Code Changes ==
I've made a few changes which allow this code to be nicer. 
* renamed insert_vert_ipo to insert_vert_icu, as that represents its actual purpose better (and changed all occurrences I could find)
* created a new function, insert_bezt_icu, which does the actual inserting of provided BezTriple data to a given IpoCurve 
* recoded insert_vert_icu to use this new function, and also the IPO-Editor keyframe pasting (i.e.  pasting in Editmode) 
------------------------------------------------------------------------
r12064 | broken | 2007-09-17 13:30:45 +0200 (Mon, 17 Sep 2007) | 2 lines

* For some reason this didn't go through last night - bumped the 
 subversion for lamp curve mapping loading.
------------------------------------------------------------------------
r12060 | elubie | 2007-09-17 13:07:28 +0200 (Mon, 17 Sep 2007) | 4 lines

fix compile on not-windows platforms, accidentally removed declaration 
in warning fix.


------------------------------------------------------------------------
r12059 | broken | 2007-09-17 13:07:21 +0200 (Mon, 17 Sep 2007) | 7 lines

* Tiny tweak to 'set border render (shift B)'. It was always 
annoying to have no hotkey to disable render border, having to 
switch to render buttons to disable it even though you used a 
hotkey shift B to enable it.

This change makes it so that if you drag the border to cover the 
entire camera view, it will automatically disable border rendering.
------------------------------------------------------------------------
r12057 | elubie | 2007-09-17 12:26:09 +0200 (Mon, 17 Sep 2007) | 3 lines

thumbs.c: warning fixes
filelist.c: warning fixes

------------------------------------------------------------------------
r12056 | aligorith | 2007-09-17 08:11:06 +0200 (Mon, 17 Sep 2007) | 3 lines

Patch/Bugfix #7334 by 'gsr b3d:

Some more compiler warning fixes. Some of these seem to be specific to GCC 4.1
------------------------------------------------------------------------
r12055 | aligorith | 2007-09-17 07:26:18 +0200 (Mon, 17 Sep 2007) | 1 line

With the scons compiling option 'BF_NO_YAFRAY' or so turned on, there were a few unneeded functions still being compiled in buttons_scene. #ifdef'ing them now to reduced compiler warnings
------------------------------------------------------------------------
r12054 | aligorith | 2007-09-17 07:16:34 +0200 (Mon, 17 Sep 2007) | 3 lines

filelist.c - culled some compiler warnings. 

Elubie, could you check to see if any of these cause problems?
------------------------------------------------------------------------
r12053 | broken | 2007-09-17 07:12:57 +0200 (Mon, 17 Sep 2007) | 1 line

removed an unused function, was giving warnings.
------------------------------------------------------------------------
r12052 | aligorith | 2007-09-17 07:00:36 +0200 (Mon, 17 Sep 2007) | 3 lines

Bugfix #7360:

In svn-trunk, deleting a lamp crashed when the Lamp Buttons were active. Also, removed and old duplicate variable.
------------------------------------------------------------------------
r12051 | campbellbarton | 2007-09-17 06:46:58 +0200 (Mon, 17 Sep 2007) | 2 lines

when importing sys failed blender could crash on startup. Blender will now exit with an error rather then crashing.

------------------------------------------------------------------------
r12045 | broken | 2007-09-16 15:50:34 +0200 (Sun, 16 Sep 2007) | 33 lines

* Extra lamp falloff options, including custom curve!

This adds some new lamp attenuation options to the Lamp panel, replacing the old 'Quad' button. Yes, the panel layout is still nasty here, but I've ignored it for now to address properly in the panels cleanup work.

* Constant
http://mke3.net/blender/devel/rendering/falloff-constant.jpg
Lamp doesn't decay with distance

* Inverse Linear
http://mke3.net/blender/devel/rendering/falloff-invlinear.jpg
Default, and same as in older Blender without 'Quad' on. Decays linearly, with 'Dist' value as the lamp's half-energy-distance

* Inverse Square
http://mke3.net/blender/devel/rendering/falloff-invsquare.jpg
A sharper, more realistic decay, good for most electric lights (i.e. not sunlight). This is similar to the old Quad option with slight changes.

* Lin/Quad weighted
Exactly the same as in older Blenders with the old 'Quad' button enabled. When this setting is chosen, two sliders are shown, 'Linear' and 'Quad' (previously Quad1 and Quad2), which controls the 'linearness' or 'quadraticness' of the falloff curve. Lamps in old files with the 'Quad' button on will be initialised to this setting.

But much better for precise control over the lamp falloff now is:

* Custom Curve
This shows an extra 'Falloff Curve' panel, where you can use the standard Blender curve UI control to precisely control how the light falls off. The Y axis is intensity, and the X axis is distance, stretched over the length of the 'Dist' value.

Some example curves and renders:
http://mke3.net/blender/devel/rendering/falloff-curve1-curve.png
http://mke3.net/blender/devel/rendering/falloff-curve1.jpg

http://mke3.net/blender/devel/rendering/falloff-curve2-curve.png
http://mke3.net/blender/devel/rendering/falloff-curve2.jpg

http://mke3.net/blender/devel/rendering/falloff-curve3-curve.png
http://mke3.net/blender/devel/rendering/falloff-curve3.jpg (whee)
------------------------------------------------------------------------
r12043 | schlaile | 2007-09-15 20:54:03 +0200 (Sat, 15 Sep 2007) | 8 lines

== Sequencer ==

Bugfix for transform effect by Damiles.

Fixes crash with float buffers. (Don't try to render into output buffers,
that do not exist...)


------------------------------------------------------------------------
r12042 | campbellbarton | 2007-09-15 20:12:16 +0200 (Sat, 15 Sep 2007) | 11 lines

new view option, SolidTex, to draw textures in solid mode.
In the view panel as well as the shortcut Shift+T

this works in editmode as well as object mode

giving results like this
http://members.optusnet.com.au/cjbarton/temp1.jpg

where before you could only see textures in textured draw type like this
http://members.optusnet.com.au/cjbarton/temp2.jpg

------------------------------------------------------------------------
r12041 | campbellbarton | 2007-09-15 12:43:13 +0200 (Sat, 15 Sep 2007) | 5 lines

added a transform panel to the UV/Image window - at the moment it sets UV and teh cursor location.
added a stap menu to the UV/Image window for snapping the selection and cursor.
reverted to drawing face dots in editmode when Limit Selection is enabled. even though its not needed for selection its consistent and dosnt look like modes are being changed.


------------------------------------------------------------------------
r12040 | elubie | 2007-09-14 20:41:00 +0200 (Fri, 14 Sep 2007) | 3 lines

== imagebrowser ==
* activate imagebrowser for image node with CTRL+LMB on load button in image node.

------------------------------------------------------------------------
r12039 | elubie | 2007-09-14 20:21:23 +0200 (Fri, 14 Sep 2007) | 6 lines

== imagebrowser ==
* fix for do_versions, bump correction of old imasel to all files including version 2.44 
* refactoring of filtering code using indices instead of copying entries in filelist 
* memleak fix.


------------------------------------------------------------------------
r12038 | campbellbarton | 2007-09-14 18:20:02 +0200 (Fri, 14 Sep 2007) | 2 lines

mistake in last commit. 2d cursor was displayed in the UV out of editmode but could not be moved.

------------------------------------------------------------------------
r12037 | campbellbarton | 2007-09-14 18:12:17 +0200 (Fri, 14 Sep 2007) | 6 lines

2D Cursor in UV window
this can be placed by the moused and used for transforming around.

still need numeric location input but no room left in the image panel.


------------------------------------------------------------------------
r12036 | campbellbarton | 2007-09-14 15:25:39 +0200 (Fri, 14 Sep 2007) | 4 lines

reverted Mesh Specials WKey menu.
Ctrl+V/E/F are still there but Andy and Ton requested this unchanged.


------------------------------------------------------------------------
r12035 | campbellbarton | 2007-09-14 13:39:53 +0200 (Fri, 14 Sep 2007) | 7 lines

changed how shading works in editmode

Texture Draw; no shading only textures (better for mapping work)
Shaded Draw; textured with shading (in editmode it used to be like solid draw mode)
ZClip Option; dont draw face center dots.


------------------------------------------------------------------------
r12034 | campbellbarton | 2007-09-14 08:46:57 +0200 (Fri, 14 Sep 2007) | 7 lines

* minor changes, edited some tooltips (exr half and zbuf were not that helpful)
* UV coord buttons overlapped others since merging uv/face and editmode.
* added some quad join and triangulate into the Ctrl+F face menu.
* active face cant be hidden anymore.



------------------------------------------------------------------------
r12033 | sirdude | 2007-09-13 22:44:00 +0200 (Thu, 13 Sep 2007) | 8 lines

This should hopefully fix bug 
[#7310] FluidSim Domain/Fluid from Duplicate Object Bug Monitor 

patch provided by Genscher

Kent


------------------------------------------------------------------------
r12032 | campbellbarton | 2007-09-13 19:02:42 +0200 (Thu, 13 Sep 2007) | 4 lines

Selecting faces in editmode did not delimit seams as it does in Face/UV mode.
added this to editmode, only delimit seams if face selectmode is enabled.


------------------------------------------------------------------------
r12031 | sirdude | 2007-09-13 18:49:59 +0200 (Thu, 13 Sep 2007) | 7 lines

Bug spotted by genscher

fluidsimCopyMesh didn't actually do what it was suppose to.
(obvious cut and paste error)

Kent

------------------------------------------------------------------------
r12030 | sirdude | 2007-09-13 16:33:21 +0200 (Thu, 13 Sep 2007) | 12 lines

This is patch [#6772] Background image drawing speedup
Thanks goto Matthew Plough (meestaplu)

I've tested it on linux with both an nvidia and an ATI card,
I've also tested it on a mac and solaris, as well as through a
remote display.  So I think this one is pretty safe.  
If it causes problems on older systems we can revert it
but I don't think we will have any issues with it.

Kent


------------------------------------------------------------------------
r12028 | aligorith | 2007-09-13 07:15:55 +0200 (Thu, 13 Sep 2007) | 1 line

Some more tip->tail naming conversions for consistency in the UI.
------------------------------------------------------------------------
r12027 | sirdude | 2007-09-12 22:31:13 +0200 (Wed, 12 Sep 2007) | 12 lines

Updated make release so that it adds in python version info:

blender-2.44-linux-glibc2.5-x86_64.tar.bz2
is now:
blender-2.44-linux-glibc2.5-x86_64-py2.5.tar.bz2

I know know the same as scons builds but its cleaner with the Makefiles
this way.  I could make it like the scons versions but will be more hackish

Kent


------------------------------------------------------------------------
r12026 | sirdude | 2007-09-12 17:22:34 +0200 (Wed, 12 Sep 2007) | 9 lines

Fixed a typo:
This is patch [#7033] Fiz overzealous americanization of PLA_get_foreground_colour -> PLA_get_foreground_color

Function call was not calling the actual function.

Thanks goto Ted Schundler (tschundler)

Kent

------------------------------------------------------------------------
r12024 | campbellbarton | 2007-09-12 12:35:48 +0200 (Wed, 12 Sep 2007) | 13 lines

Added UV face rotate and mirror to editmode and re arranged some of the editmode keys

The WKey menu was way too big and not well organized, re-arranged keys like this.

Ctrl+V - Vert Menu  (remove doubles, smooth...)
Ctrl+E - Edge Menu - left as is
Ctrl+F - Face Menu - (flip normals, shading, Rotate and Mirror UV's/Colors)

Wkey menu only has subdivide in it now.

filesel.c - only show the relative paths option if the file is saved, (flag on by default caused the image to silently fail loading on my system, and gave permission errors on a users), also removed a warning.


------------------------------------------------------------------------
r12023 | aligorith | 2007-09-12 09:33:18 +0200 (Wed, 12 Sep 2007) | 1 line

Renamed Root/Tip X/Y/Z buttons in Armature Editmode Transform Panel (NKEY) to Head/Tail for consistency with the rest of Blender.
------------------------------------------------------------------------
r12018 | broken | 2007-09-12 05:27:03 +0200 (Wed, 12 Sep 2007) | 7 lines

* Small fix for a slowdown when rendering fully glossy (1.0) 
reflecting/refracting materials with ray shadows. Fully glossy 
materials get Full OSA on automatically, so extra redundant samples 
were being calculated for the shadows. This has now been fixed by 
reducing the shadow samples accordingly if Full OSA is on.

Thanks to Benjamin Thery who notified me of this!
------------------------------------------------------------------------
r12017 | campbellbarton | 2007-09-12 04:13:35 +0200 (Wed, 12 Sep 2007) | 7 lines

* added functions to copy between UV and vertex color layers.
* added CustomData_set_layer_active_index and CustomData_set_layer_render_index
  since they did not accept values from CustomData_get_active_layer_index and CustomData_get_render_layer_index
* fixed some warnings
* made the colored edge in active face draw mode only display when texture mode enabled.


------------------------------------------------------------------------
r12016 | stiv | 2007-09-12 03:56:50 +0200 (Wed, 12 Sep 2007) | 7 lines

more gcc 4.1.x warning cleanup:
applied MT_QueryAssert_patch.diff part of
patch [#6994] Fixing warnings: conversion from string constant to char *

Submitted by Renato Perini (mjordan).
Thanks, Renato!

------------------------------------------------------------------------
r12015 | stiv | 2007-09-12 03:14:31 +0200 (Wed, 12 Sep 2007) | 3 lines

warning cleanup:
implicit declaration of function 'EM_add_data_layer'

------------------------------------------------------------------------
r12014 | stiv | 2007-09-12 03:01:15 +0200 (Wed, 12 Sep 2007) | 5 lines

apply first part of patch #6994 - elbeem_warning_patch.diff

Fixing warnings: conversion from string constant to char *
This should make gcc 4.1.x a little happier.

------------------------------------------------------------------------
r12013 | briggs | 2007-09-11 22:58:00 +0200 (Tue, 11 Sep 2007) | 4 lines

-> Fix for Mesh Properties Python API

When switching Mesh properties over to METH_O from METH_VARARGS certain method definitions
didn't get switched over correctly, causing calls to mesh property functions to fail.
------------------------------------------------------------------------
r12011 | briggs | 2007-09-11 19:01:09 +0200 (Tue, 11 Sep 2007) | 4 lines

-> Selection History Fix

Old bug in selection history meant that face selections were getting erased from 
history on editmode toggle.
------------------------------------------------------------------------
r12010 | campbellbarton | 2007-09-11 16:36:03 +0200 (Tue, 11 Sep 2007) | 10 lines

Added active drawing in editmode (may need some more work), this hilightes the last selected  vert/edge/face, which is needed for moving some of the UV tools into editmode.

Added copy menu for editmode for copying from the active faces material, image, UV's vcols etc,
improved on the current vertex color copy by averaging the 4th color when copying color from a tri to a quad.

And added edge crease and length copy

cerrently verts dont have a copy menu but eventually copy weights would be good.


------------------------------------------------------------------------
r12009 | campbellbarton | 2007-09-11 12:22:00 +0200 (Tue, 11 Sep 2007) | 2 lines

udates from stable

------------------------------------------------------------------------
r12007 | aligorith | 2007-09-11 11:36:47 +0200 (Tue, 11 Sep 2007) | 3 lines

Bugfix: 

Copy/pasting multiple ipo curves in editmode, segfaulted due to some misplaced code.
------------------------------------------------------------------------
r12006 | sirdude | 2007-09-11 06:05:44 +0200 (Tue, 11 Sep 2007) | 5 lines

This does nothing to fix the irix stuff but gets rid of a couple of simple
warnings that showup on irix.

Kent

------------------------------------------------------------------------
r12005 | broken | 2007-09-11 02:26:15 +0200 (Tue, 11 Sep 2007) | 1 line

* AO bugfix - Constant QMC sampling wasn't getting initialised for bake rendering, causing a crash.
------------------------------------------------------------------------
r12003 | briggs | 2007-09-11 01:03:32 +0200 (Tue, 11 Sep 2007) | 4 lines

-> Multires Editmode fix

Typo in Multires Editmode integration meant that way too much memory
was getting allocated for a pointer array (more than 10 times as much).
------------------------------------------------------------------------
r12002 | briggs | 2007-09-11 00:56:29 +0200 (Tue, 11 Sep 2007) | 3 lines

-> Added mesh properties to modifiers

Mesh properties layers were not getting copied in the modifier stack.
------------------------------------------------------------------------
r12001 | briggs | 2007-09-11 00:52:32 +0200 (Tue, 11 Sep 2007) | 4 lines

-> Fixed initialization of Octree Resolution and Tri2Quad threshold

add_scene() in scene.c didn't properly initialize the octree resolution
for new scenes or the join threshold for Triangle to Quad conversions.
------------------------------------------------------------------------
r12000 | campbellbarton | 2007-09-11 00:33:14 +0200 (Tue, 11 Sep 2007) | 7 lines

some button arranging

(UV Calculation tab is nolonger relevent to FaceSelect draw modes.)
Move FaceSelect draw options into WeightPaint and VertexPaint panels.
Moved UV Calculation panel in with shape keys tab.


------------------------------------------------------------------------
r11998 | campbellbarton | 2007-09-10 22:12:38 +0200 (Mon, 10 Sep 2007) | 2 lines

draw shadowmesh wasnt working and the button in the header for selecting faces in paint mode was drawn in editmode.

------------------------------------------------------------------------
r11997 | campbellbarton | 2007-09-10 21:32:44 +0200 (Mon, 10 Sep 2007) | 15 lines

Changes to "Face Select" mode
* Does not indicate that UV's exist, nor does it add UV's when used.
* Only accessible for texturepaint, vertexpaint and weightpaint from a button in the header (Paint Selection Mask)
* Not accessible from the mode menu, this is only an option that applies to paint modes.

This dosnt effect DNA, face select (G_FACESELECT) can be enabled at any time but is only used when paint modes are enabled.

Other changes
* UKey is uv unwrap in editmode, Ukey for undo was editmode only anyway.
* UVCalc in editmode adds a UV Layer if there is not one alredy.
* texture draw in editmode does not draw the face dots (they are get in the way of texturing)
* some missing updates were added.
* removed manipulator from when paint modes are enabled since the manipulator is not drawn in the 3d view.


------------------------------------------------------------------------
r11993 | theeth | 2007-09-10 18:29:31 +0200 (Mon, 10 Sep 2007) | 1 line

Version bump to 2.45 and splash screen for stable release
------------------------------------------------------------------------
r11992 | campbellbarton | 2007-09-10 14:26:36 +0200 (Mon, 10 Sep 2007) | 12 lines

UV Editing is now done in editmode rather then UV/Face Select mode.
Notes
* you cant edit UV's in the image window in "UV Face Select" mode. (removed UV from the name)
* going into Face Select mode no longer adds UV's and does not need UV's to work.
* The UV Calculation menu is now in editmode (Alt+W)

Todo..
* Image replace - partly broken in stable also.
* Rotate/Mirror UV/VCol are still only in Face Select mode.
* Hide/Reveal is not quite right, (issue with editmode flushing)


------------------------------------------------------------------------
r11991 | aligorith | 2007-09-10 14:12:38 +0200 (Mon, 10 Sep 2007) | 5 lines

IPO Copy/Paste Bugfix:

This commit fixes two minor mistakes made in the previous commit for this:
* forgot to advance to next ipo curve from buffer
* handles on the curves that got data pasted were not recalculated (those from the buffer were instead!)
------------------------------------------------------------------------
r11990 | aligorith | 2007-09-10 12:47:09 +0200 (Mon, 10 Sep 2007) | 1 line

Action Editor - minor cleanups of transform code...
------------------------------------------------------------------------
r11989 | aligorith | 2007-09-10 09:24:26 +0200 (Mon, 10 Sep 2007) | 5 lines

Bugfix #7294:

When resizing an Outliner window, the contents would eventually get 'pushed out of view' when shrinking the view. 

I've added a bit of a 'hack', which will ensure that this doesn't happen, by forcing the view to look at the left-side of the outliner tree, when the width of the outliner window decreses due to resizing. 
------------------------------------------------------------------------
r11988 | broken | 2007-09-10 08:09:48 +0200 (Mon, 10 Sep 2007) | 1 line

* Raised some hard coded limits such as mist/envmap clipping ranges
------------------------------------------------------------------------
r11986 | artificer | 2007-09-09 20:03:58 +0200 (Sun, 09 Sep 2007) | 11 lines

Fix for edgesplit crashes reported in bugs 6695 and 7142. The problem, as
found by Riku Palomäki, was that "bridge" vertices (which connect two or more
faces that don't share edges) were not being included in the maximum final
vertex count calculation (used for memory allocation, hence the crashes).

Unfortunately Riku's patch actually stopped bridge vertices from being split
correctly, so I have fixed the problem by adding the maximum number of vertices
that can be generated from bridge vertices to the maximum final vertex count.

Thanks to Riku Palomäki for finding the cause!

------------------------------------------------------------------------
r11983 | aligorith | 2007-09-09 13:58:03 +0200 (Sun, 09 Sep 2007) | 1 line

Reverting commit 11974 as the setting in question, apparently causes major performance bottlenecks.
------------------------------------------------------------------------
r11982 | aligorith | 2007-09-09 13:54:12 +0200 (Sun, 09 Sep 2007) | 8 lines

Bugfix #6923: 

NLA was calculating extensions of strips in the wrong order. This was not an issue in many cases, although it is highlighted in the following case:

[strip 1 - 'hold' is on] ----------------------------
                               [strip 2        ]

Logically, the end of strip 1 would hold on until the start of strip 2. However, the start of strip 2 was extended to the end of strip 1 instead.
------------------------------------------------------------------------
r11981 | aligorith | 2007-09-09 13:05:21 +0200 (Sun, 09 Sep 2007) | 5 lines

Patch #6794: Subdivide Multi for Armatures

This patch, by Juho Vepsalainen (BeBraw), introduces subdivide multi functionality for armatures. It lets you specify the number of divisions that selected bones should be divided into. 

I've slightly optimised the code a bit, though the change shouldn't make much of a difference. I've also fixed a minor bug in the menu highlighting, due to duplicate menu event-codes.
------------------------------------------------------------------------
r11978 | aligorith | 2007-09-08 14:34:27 +0200 (Sat, 08 Sep 2007) | 7 lines

== IPO Copy/Paste ==

When in EditMode for IPO-curves, keyframes are now pasted from the IPO-editor's copy/paste buffer instead of the entire curves being pasted. This makes it possible to 'move' keyframes from one IPO-curve to another. 

* Only keyframes in the copy/paste buffer that are selected, are pasted
* All keyframes that are pasted, are pasted relative to the current frame, with the current frame being the location of the first pasted keyframe.
* Pasted keyframes replace exisitng keyframes if they occur at the same location.
------------------------------------------------------------------------
r11977 | campbellbarton | 2007-09-08 14:09:51 +0200 (Sat, 08 Sep 2007) | 2 lines

update from stable

------------------------------------------------------------------------
r11974 | aligorith | 2007-09-08 13:04:23 +0200 (Sat, 08 Sep 2007) | 1 line

Materials setting "TraShad" is now on by default for all newly created materials. 
------------------------------------------------------------------------
r11973 | campbellbarton | 2007-09-08 10:59:10 +0200 (Sat, 08 Sep 2007) | 2 lines

type in last commit

------------------------------------------------------------------------
r11971 | campbellbarton | 2007-09-08 10:49:56 +0200 (Sat, 08 Sep 2007) | 2 lines

fbx update from stable (parent/child hierarchy isnt flattened anymore)

------------------------------------------------------------------------
r11969 | broken | 2007-09-08 04:08:51 +0200 (Sat, 08 Sep 2007) | 1 line

* Tweaked the knife tool header info text, making mention of the previously hidden ability to use MMB to constrain to screen axes.
------------------------------------------------------------------------
r11967 | joeedh | 2007-09-08 02:57:34 +0200 (Sat, 08 Sep 2007) | 4 lines

=Epydoc Fix=

epydoc changes for last commit weren't entirely clear.  Reworked a paragraph
to be a bit clearer.
------------------------------------------------------------------------
r11966 | bdiego | 2007-09-08 02:54:42 +0200 (Sat, 08 Sep 2007) | 4 lines

Fix compile warning.
The function newVectorObject is declare in the vector.h.


------------------------------------------------------------------------
r11964 | joeedh | 2007-09-08 02:04:32 +0200 (Sat, 08 Sep 2007) | 11 lines

=Python Bugfix=
The python wrapper code for shape keys was really bad; whoever wrote it
(mis)read the wrong section of blender's codebase and got the totally wrong
idea.  The code was definitely broken to the point where either it had to be
fixed for 2.45, or else the entire keyblock wrapper would have to be removed
from the stable branch.  The fact that it didn't crash is just sheer luck;
the code assume mesh keys were MVerts, when in fact mesh keys are just
arrays of three-float vectors.

So shapekey data can now be editing directly, and is exposed as Mathutils.Vectors.
Also I updated the epydocs to explain how it all works now.
------------------------------------------------------------------------
r11963 | campbellbarton | 2007-09-08 01:33:30 +0200 (Sat, 08 Sep 2007) | 2 lines

update from mingus

------------------------------------------------------------------------
r11959 | campbellbarton | 2007-09-07 10:04:15 +0200 (Fri, 07 Sep 2007) | 2 lines

last commit broke Object,c, also realized that calling getScale would break scriptlinks (my fault from a while back :/)

------------------------------------------------------------------------
r11958 | campbellbarton | 2007-09-07 09:55:36 +0200 (Fri, 07 Sep 2007) | 2 lines

matrix to scale fixes from stable

------------------------------------------------------------------------
r11955 | broken | 2007-09-07 05:48:50 +0200 (Fri, 07 Sep 2007) | 16 lines

* QMC Raytracing

This introduces QMC sampling for use in glossy reflections/refractions, soft raytraced shadows, and ambient occlusion.

This work includes many new features and speed-ups, so check out the nice docs here:

Glossy Reflection/Refraction
http://www.blender.org/development/current-projects/changes-since-244/glossy-reflectionrefraction/

Raytraced Soft Shadows
http://www.blender.org/development/current-projects/changes-since-244/raytraced-soft-shadows/

QMC Sampling
http://www.blender.org/development/current-projects/changes-since-244/qmc-sampling/

Many thanks to Brecht van Lommel for some initial code snippets and for reviewing the patch, and especially to Alfredo de Greef who gave me a lot of guidance and help along the way!
------------------------------------------------------------------------
r11953 | campbellbarton | 2007-09-07 02:36:56 +0200 (Fri, 07 Sep 2007) | 2 lines

When Optimize keyframes was enabled, the comma's wernt written in the right place, oddly enough this still loaded in the FBX SDK.

------------------------------------------------------------------------
r11950 | theeth | 2007-09-06 23:35:51 +0200 (Thu, 06 Sep 2007) | 11 lines

[#7299] Orbit around selected causes panning to be reversed

The actual "bug" is much more general than simple viewmove. In fact, any time the center (for viewmove, or transform, or ...) on which initgrabz is called was behind the camera (in perspective, then), all mouse motion where reversed.

What I added is a special handling case that reverts those situation to the default case (center = viewport offset).

This changes the behavior for those case to something much more predictable/useable, but I doubt anyone expected it to work incorrectly, so I'd say that's alright.

This covers other cases than transform and viewmove (which are the only ones I really tested), but I don't expect breakage elsewhere.

If anyone disagrees with the change, feel free to offer a better solution.
------------------------------------------------------------------------
r11947 | bdiego | 2007-09-06 05:18:07 +0200 (Thu, 06 Sep 2007) | 5 lines

BugFix #7303

More fix to solaris build, patch by Vladimar Marek


------------------------------------------------------------------------
r11945 | elubie | 2007-09-05 19:55:44 +0200 (Wed, 05 Sep 2007) | 3 lines

fix svn properties for line endings
fix a few no newlines at end of file warnings

------------------------------------------------------------------------
r11944 | sirdude | 2007-09-05 16:31:04 +0200 (Wed, 05 Sep 2007) | 5 lines

removed dos line endings.

Kent


------------------------------------------------------------------------
r11943 | campbellbarton | 2007-09-05 06:17:55 +0200 (Wed, 05 Sep 2007) | 4 lines

printing a pose's bone dict was limited to 4096 characters otherwise it would crash.
malloc the string instead.


------------------------------------------------------------------------
r11942 | campbellbarton | 2007-09-05 03:02:03 +0200 (Wed, 05 Sep 2007) | 2 lines

constant name was wrong. possibly changed between blender versions

------------------------------------------------------------------------
r11941 | elubie | 2007-09-04 22:27:43 +0200 (Tue, 04 Sep 2007) | 4 lines

== imagebrowser ==
- fix: deleting bookmark didn't update .Bfs file (see tracker #7298)
- also fixed memleak, thanks to the guardedalloc :)

------------------------------------------------------------------------
r11940 | elubie | 2007-09-04 21:07:51 +0200 (Tue, 04 Sep 2007) | 6 lines

== imagebrowser ==
- nicer drawing of highlight for bookmarks
- fix slight positioning issue of bookmark highlight
- resetting bookmark highlight when mouse outside bookmark area
- cleaned up define that isn't needed anymore

------------------------------------------------------------------------
r11939 | bebraw | 2007-09-04 19:42:33 +0200 (Tue, 04 Sep 2007) | 5 lines

Fix for bug [#7135] Compositor crash when adding a time node:
This commit replaces the old function used to draw time node
user interface with new one. This should fix the issue. The
function can later be reused time node for material node 
system.
------------------------------------------------------------------------
r11938 | stiv | 2007-09-04 17:53:22 +0200 (Tue, 04 Sep 2007) | 5 lines

more warning cleanup:
unused variables
undefined variables
discarded qualifiers

------------------------------------------------------------------------
r11937 | campbellbarton | 2007-09-04 09:26:25 +0200 (Tue, 04 Sep 2007) | 2 lines

Made ~ view all IPO's (similar to view all layers in the 3d view)

------------------------------------------------------------------------
r11933 | stiv | 2007-09-03 21:12:36 +0200 (Mon, 03 Sep 2007) | 4 lines

more warning fixes.
sprinkle a few 'const char*'s around to remove warnings 
about discarding qualifiers in imbuf code. 

------------------------------------------------------------------------
r11932 | stiv | 2007-09-03 19:28:50 +0200 (Mon, 03 Sep 2007) | 2 lines

fix warning: no newline at end of file

------------------------------------------------------------------------
r11931 | khughes | 2007-09-03 18:56:09 +0200 (Mon, 03 Sep 2007) | 3 lines

Update Python API to change to curve 'extrude' limit from 5 to 100.


------------------------------------------------------------------------
r11929 | stiv | 2007-09-03 18:00:12 +0200 (Mon, 03 Sep 2007) | 2 lines

another warning: no newline at end of file  

------------------------------------------------------------------------
r11928 | stiv | 2007-09-03 16:23:05 +0200 (Mon, 03 Sep 2007) | 2 lines

fix No newline at end of file

------------------------------------------------------------------------
r11927 | broken | 2007-09-03 08:27:51 +0200 (Mon, 03 Sep 2007) | 1 line

* Raised hardcoded limit for curve 'extrude' from 5 to 100.
------------------------------------------------------------------------
r11926 | campbellbarton | 2007-09-03 02:03:29 +0200 (Mon, 03 Sep 2007) | 2 lines

shell script that works with epydoc 3.0

------------------------------------------------------------------------
r11925 | campbellbarton | 2007-09-03 00:53:59 +0200 (Mon, 03 Sep 2007) | 7 lines

adding 2 new functions
Mat3ToScalef and Mat4ToScalef

These return a floating point scale value which is the average of the 3 axies.
Use this to adjust curve radius when applying scale/rot


------------------------------------------------------------------------
r11923 | schlaile | 2007-09-02 21:32:22 +0200 (Sun, 02 Sep 2007) | 9 lines

== Sequencer ==

Bugfix:

The mem cache limitor didn't take mmap-allocated memory into account,
resulting in effectively disabling it, since all imbuf-data is
currently allocated using mmap.


------------------------------------------------------------------------
r11922 | ton | 2007-09-02 19:47:03 +0200 (Sun, 02 Sep 2007) | 6 lines

Bugfix #7020

Buttons window, Object context, Anim Settings panel, "draw key"
did not work. Bug since year zero...


------------------------------------------------------------------------
r11921 | elubie | 2007-09-02 19:41:25 +0200 (Sun, 02 Sep 2007) | 4 lines

== imagebrowser ==
fix for missing null pointer check in IMB_thumb_create.
found by Diego Borghetti (bdiego) - thanks!

------------------------------------------------------------------------
r11920 | elubie | 2007-09-02 19:25:03 +0200 (Sun, 02 Sep 2007) | 31 lines

== imagebrowser ==
Initial commit of imagebrowser in trunk.
BIG COMMIT!

Main changes:
* completely reworked imasel space
* creation and storage of the preview images for materials, textures, world and lamp
* thumbnails of images and movie files when browsing in the file system
* loading previews from external .blend when linking or appending
* thumbnail caching according to the Thumbnail Managing Standard: http://jens.triq.net/thumbnail-spec/
* for now just kept imasel access mostly as old imgbrowser (CTRL+F4, CTRL+F1) a bit hidden still.
* filtering of file types (images, movies, .blend, py,...)
* preliminary managing of bookmarks ('B' button to add, XKEY while bookmark active to delete)

More detailed info which will be updated here: http://wiki.blender.org/index.php/User:Elubie/PreviewImageBrowser

Places that need special review (and probably fixes):
* BLO_blendhandle_get_previews in readblenentry
* readfile.c: do_version and refactorings of do_library_append
* UI integration

TODO and known issues still:
* Accented characters do not display correctly with international fonts
* Crash was reported when browsing in directory with movie files
* Bookmark management still needs some UI work (second scrollbar?), feedback here is welcome!

Credits:
Samir Bharadwaj (samirbharadwaj@yahoo.com) for the icon images.

Many thanks to everyone who gave feedback and helped so far!

------------------------------------------------------------------------
r11919 | ton | 2007-09-02 18:34:02 +0200 (Sun, 02 Sep 2007) | 9 lines

Bugfix #7125

The conversion from float to char (byte) was not correct. It should include
the possibility for colors like 0.999999 to become 255 still. The correct
multiplication factor I don't know though... and this should become a system
wide definition!



------------------------------------------------------------------------
r11917 | ton | 2007-09-02 13:55:56 +0200 (Sun, 02 Sep 2007) | 7 lines

Bugfix #7072

Outliner "make local" was not coded properly. Removed it for now...
Proper implementation would check all other used pointers, to indicate
the data is now local, and ID pointers should be of type "lib extern"


------------------------------------------------------------------------
r11915 | elubie | 2007-09-02 11:50:09 +0200 (Sun, 02 Sep 2007) | 3 lines

== MSVC 7.1 projectfiles ==
added SHD_hueSatVal.c

------------------------------------------------------------------------
r11914 | campbellbarton | 2007-09-01 22:32:53 +0200 (Sat, 01 Sep 2007) | 2 lines

mistake in last commit, getting matrix from the wrong object

------------------------------------------------------------------------
r11913 | campbellbarton | 2007-09-01 22:27:50 +0200 (Sat, 01 Sep 2007) | 2 lines

apply envelope to weigh group didnt take armature scale into account

------------------------------------------------------------------------
r11912 | campbellbarton | 2007-09-01 20:50:40 +0200 (Sat, 01 Sep 2007) | 1 line

svn-commit.2
------------------------------------------------------------------------
r11911 | aligorith | 2007-09-01 06:24:16 +0200 (Sat, 01 Sep 2007) | 3 lines

Bugfix: 

Snap Cursor to Selected in EditMode for bone was still not working correctly. A missing check made it impossible to snap to joints in some situations.
------------------------------------------------------------------------
r11910 | campbellbarton | 2007-09-01 01:23:38 +0200 (Sat, 01 Sep 2007) | 3 lines

Bugfix for [#7018] Hiding, unhiding a spot lamp and then setting it to buf shadow segfaults
buttons were not redrawing so it was possible to use them without an active object, this crashed blender.

------------------------------------------------------------------------
r11909 | campbellbarton | 2007-08-31 23:54:56 +0200 (Fri, 31 Aug 2007) | 7 lines

my commit 11122 broke scriptlinks. was returning before re-enabling scriptlinks.
Bug [#6978] Scene script link doesn't work for Redraw event

made a script to automate building a range of revisions.
http://wiki.blender.org/index.php/User:Ideasman42#SVN_TimeWarp_Script


------------------------------------------------------------------------
r11908 | campbellbarton | 2007-08-31 21:17:22 +0200 (Fri, 31 Aug 2007) | 2 lines

scons clean would throw an error if there was nothing to do. print a message instead.

------------------------------------------------------------------------
r11907 | campbellbarton | 2007-08-31 20:21:12 +0200 (Fri, 31 Aug 2007) | 2 lines

fix from stable - was missing a NULL check

------------------------------------------------------------------------
r11904 | sirdude | 2007-08-31 18:16:33 +0200 (Fri, 31 Aug 2007) | 6 lines

Updated the Makefiles removing some of the gcc specific stuff...
Basically I moved  -funsigned-char -fno-strict-aliasing
from individual Makefiles to nan_compile.mk defines for CFLAGS and CCFLAGS

Kent

------------------------------------------------------------------------
r11903 | sirdude | 2007-08-31 17:47:45 +0200 (Fri, 31 Aug 2007) | 8 lines

This covers bugs # 7130 7131 7132 7133
All small patches submitted by Vladimar Marek (neuron)

Basically fixes up some headers for Solaris's compiler.

Kent


------------------------------------------------------------------------
r11902 | bebraw | 2007-08-31 09:42:06 +0200 (Fri, 31 Aug 2007) | 4 lines

Hue Saturation Value node - port to material node system
This commit ports Hue Saturation Value node to the material node system.
Unlike in composite version, each value is an input. Composite node version
will be updated later to use the same scheme.
------------------------------------------------------------------------
r11898 | elubie | 2007-08-30 22:32:43 +0200 (Thu, 30 Aug 2007) | 3 lines

* updated MSVC projectfiles with SHD_sepcombRGB.c shader nodes.vcproj
* fix for possible double free.

------------------------------------------------------------------------
r11896 | lukep | 2007-08-30 20:59:33 +0200 (Thu, 30 Aug 2007) | 2 lines

change to darwin base config that stayed in the pipe

------------------------------------------------------------------------
r11892 | campbellbarton | 2007-08-30 19:16:09 +0200 (Thu, 30 Aug 2007) | 3 lines

* dupli-objects were not exporting (animated dipli's and armatures that are dupli's still dont work)
* added support for exporting blenders groups (will export groups that any of the selected objects are apart of)

------------------------------------------------------------------------
r11890 | broken | 2007-08-30 03:47:14 +0200 (Thu, 30 Aug 2007) | 8 lines

* Slight change to lamp energy calculation - make lamps invisible
for shading if their 'visibility factor' is below 0.001. This
gives no perceptible visual difference in my tests, but can 
significantly speed up shading when using lots of omni lights 
with quad falloff over a large area. Since quad lamps never
actually fall off to 0, previously every lamp would be considered 
for shading each pixel, even if such lamps had a tiny falloff 
distance, and were miles away.
------------------------------------------------------------------------
r11888 | campbellbarton | 2007-08-29 21:53:49 +0200 (Wed, 29 Aug 2007) | 2 lines

sync with stable

------------------------------------------------------------------------
r11881 | campbellbarton | 2007-08-29 11:50:08 +0200 (Wed, 29 Aug 2007) | 6 lines

Objects can now be animated (camera paths, lamps etc)
However meshes that use an armature cant use object animation.

faster exporting for non modifier applied, armature meshes (transform all verts using wrapped C func)


------------------------------------------------------------------------
r11880 | campbellbarton | 2007-08-29 07:42:39 +0200 (Wed, 29 Aug 2007) | 4 lines

* added a bindpose (3ds max was complaining)
* export materials emit value


------------------------------------------------------------------------
r11879 | broken | 2007-08-29 07:01:20 +0200 (Wed, 29 Aug 2007) | 2 lines

*Added 'Zoom within border (Shift B)' to the 3d view menus.
Can people *please* not commit tools with only hotkeys to access them?
------------------------------------------------------------------------
r11878 | campbellbarton | 2007-08-29 05:56:22 +0200 (Wed, 29 Aug 2007) | 8 lines

* added some missing tooltips
* made name string cleaning function allow chars ,.()[]{} in fbx model names
* clamped export lamp intensity to 200
* each mesh only links to the image-textures it uses. (before it linked to ALL textures)
* added support for AllSame mapping, this means when a material or texture only uses one, a single mapping index can be given rather then a big list with the same value in it.
* improved material and texture mapping method


------------------------------------------------------------------------
r11877 | campbellbarton | 2007-08-29 05:09:22 +0200 (Wed, 29 Aug 2007) | 2 lines

hash update from stable

------------------------------------------------------------------------
r11874 | campbellbarton | 2007-08-29 02:10:23 +0200 (Wed, 29 Aug 2007) | 2 lines

scaling the model by 10 by default didnt work for some people, scaling 1.0 by default for now.

------------------------------------------------------------------------
r11868 | aligorith | 2007-08-28 13:29:54 +0200 (Tue, 28 Aug 2007) | 6 lines

Patch #7081:
Submitted by: David Bryant

This patch adds 2 new drawtypes for empties (circle draws a 2d-circle on the x-z plane, and cube draws a regular cube), and allows empties to be used as custom bone shapes.

I've modified the patch a bit to fix up weird formatting, optimising the circle-drawing method, but the cube-drawing function has been maintained. In the process, I also moved the mesh-specific code in draw_object_instance to draw_object_mesh_instance so that empties can be used by whatever else might use draw_object_instance too.
------------------------------------------------------------------------
r11867 | sirdude | 2007-08-28 13:11:07 +0200 (Tue, 28 Aug 2007) | 8 lines

This is patch #7056
Submitted by Davide Vercelli (unclezeiv)

removes the restriction of using the screw tool only in front view.

Kent


------------------------------------------------------------------------
r11864 | sirdude | 2007-08-28 12:07:08 +0200 (Tue, 28 Aug 2007) | 8 lines

This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone.
Patch provied by gsrb3d

bug tracker #7061

Kent


------------------------------------------------------------------------
r11863 | blendix | 2007-08-28 11:30:46 +0200 (Tue, 28 Aug 2007) | 5 lines


Another fix for the editmode textured draw commit, subsurf vertex color
drawing didn't work.


------------------------------------------------------------------------
r11862 | blendix | 2007-08-28 10:59:33 +0200 (Tue, 28 Aug 2007) | 4 lines


Fix for editmode textured draw commit.


------------------------------------------------------------------------
r11861 | campbellbarton | 2007-08-28 10:54:29 +0200 (Tue, 28 Aug 2007) | 2 lines

left in test, should not be working when tired.

------------------------------------------------------------------------
r11860 | blendix | 2007-08-28 10:53:36 +0200 (Tue, 28 Aug 2007) | 17 lines


Textured drawing in Edit Mode
=============================

- In textured drawmode it now draws the texture, with solid mode lighting.
- UVs and vertex colors for subsurf are not computed incremental yet, so
  editing in textured drawmode then may not be as fast as the other modes.

Implementation Notes:
- Added textured drawing functions to the editmesh and subsurf derivedmeshes.
- Removed some unused, legacy subsurf code that directly used Mesh.
- Restructured texture drawing a bit to make it more clear and allow for
  editmode drawing.

(Peach feature request)


------------------------------------------------------------------------
r11859 | aligorith | 2007-08-28 10:43:38 +0200 (Tue, 28 Aug 2007) | 3 lines

Bugfix: Constraint Geometry Targets didn't work yet when the Target Mesh was in EditMode

It turns out that a DerivedMesh needs to be generated explicitly if one needs to be used when the Mesh is in EditMode.  
------------------------------------------------------------------------
r11857 | campbellbarton | 2007-08-28 10:30:37 +0200 (Tue, 28 Aug 2007) | 2 lines

thaught Id run the colbits test but that part wasnt running, tested and error fixed now.

------------------------------------------------------------------------
r11855 | campbellbarton | 2007-08-28 07:32:00 +0200 (Tue, 28 Aug 2007) | 5 lines

* texture indicies were exported incorrectly
* copy textures didnt work
* Export blenders ClampX/Y settings
* removed unneeded imports

------------------------------------------------------------------------
r11853 | campbellbarton | 2007-08-28 04:11:49 +0200 (Tue, 28 Aug 2007) | 15 lines

Fixes
* material indicies were incorrectly exported
* export object materials using colbits
* scaled armatures would scale bones twice
* scenes with no world would raise an error

Additions
* added options for global scaling and rotating, defaults will load correctly in MotionBuilder
* modifiers can be applied to skinned meshes, the armatures are set to their rest positions for python to get the un-deformed mesh. This makes exporting a mesh with subsurf and armature applied work as expected.
* meshes with parent bones are exported as weighted meshes.
* use lamp modes for cast light and cast shadow FBX settings.
* batch exporter, scenes or groups can be exporter to a file each.
* help button to load the wiki exporter page.


------------------------------------------------------------------------
r11847 | campbellbarton | 2007-08-27 22:05:05 +0200 (Mon, 27 Aug 2007) | 2 lines

getting the mesh for all curves/surfs/text raised an error every time because it was checking the wrong object was converted to a mesh. might be own fault.

------------------------------------------------------------------------
r11841 | campbellbarton | 2007-08-27 18:09:02 +0200 (Mon, 27 Aug 2007) | 7 lines

armature weakref evilness again, using editmode in python is not the best.
replacing PyWeakref_NewProxy with PyWeakref_NewRef fixes this problem.

list(bpy.data.armatures) # would mess up weakrefs
[arm for arm in bpy.data.armatures] # didnt.


------------------------------------------------------------------------
r11839 | bdiego | 2007-08-27 05:20:16 +0200 (Mon, 27 Aug 2007) | 13 lines

BugFix #7115

The "Strands" settings is a BlockBut and never return B_MATPRV like the others buttons, because of this,
never call BIF_preview_changed.

It's posible two fix for this:
	1) make all the buttons into the "Strands" panel return B_MATPRV (this modify the "work mode" of the panel)
	2) Add a call to BIF_preview_changed to the end of strands_menu function (as do_matbuts).

The problem with the first options, is that the panel "close" when you press/release some of the buttons, so
to preserve the current "work mode" of the panel, i choose the second option.


------------------------------------------------------------------------
r11834 | campbellbarton | 2007-08-26 03:35:03 +0200 (Sun, 26 Aug 2007) | 2 lines

cleanup and fixed more problems with namespace collisions (should be all solved by name)

------------------------------------------------------------------------
r11832 | campbellbarton | 2007-08-25 21:05:18 +0200 (Sat, 25 Aug 2007) | 8 lines

getting the armature twice would cause a weakref error and crash after 2-4 runs..

data = arm_ob.data
bones = arm_ob.data.bones.values()

Fixed by returning existing armatures if they exist in the weakref list. tested with FBX and BVH support.


------------------------------------------------------------------------
r11819 | campbellbarton | 2007-08-24 23:52:56 +0200 (Fri, 24 Aug 2007) | 2 lines

fix from stable - if modules cant be imported- popup an error rather then nasty python message

------------------------------------------------------------------------
r11814 | stiv | 2007-08-24 20:12:07 +0200 (Fri, 24 Aug 2007) | 3 lines

correct tooltip: startingspeed => starting speed
Noticed by mjordan.

------------------------------------------------------------------------
r11805 | campbellbarton | 2007-08-24 14:13:34 +0200 (Fri, 24 Aug 2007) | 4 lines

armature animation is not messed up when the mesh and armature objects have transformation.
python 2.4+ without any modules should work.
python 2.3 should work now also (need to import the sets module).

------------------------------------------------------------------------
r11803 | campbellbarton | 2007-08-24 13:57:26 +0200 (Fri, 24 Aug 2007) | 2 lines

own dumb mistake missing a return

------------------------------------------------------------------------
r11802 | campbellbarton | 2007-08-24 09:07:18 +0200 (Fri, 24 Aug 2007) | 5 lines

fbx export update
* normalize bone weights (deep exploration 5 assumed they were normalized and does crazy stuff otherwise)
* fixed some mistakes in last commit.


------------------------------------------------------------------------
r11797 | campbellbarton | 2007-08-23 18:34:15 +0200 (Thu, 23 Aug 2007) | 7 lines

FBX export update
* added a user interface
* added support for exporting multiple actions as FBX's 'Takes'
* added support for one armature effecting multiple meshes
* added support for multiple armatures (bone names wont have namespace collisions)


------------------------------------------------------------------------
r11796 | sirdude | 2007-08-23 15:43:09 +0200 (Thu, 23 Aug 2007) | 4 lines

Another update to the italian translation from fiott.

Kent

------------------------------------------------------------------------
r11795 | aligorith | 2007-08-23 11:42:21 +0200 (Thu, 23 Aug 2007) | 5 lines

Several Minor Fixes:

* Grouped Up/Down buttons in constraint panel headers, and fixed their tooltips
* Removed unused variable from action editor code
* Minor formatting in constraint.c 
------------------------------------------------------------------------
r11794 | aligorith | 2007-08-23 11:37:58 +0200 (Thu, 23 Aug 2007) | 1 line

Fix for a compiler warning caused by one of my commits yesterday.
------------------------------------------------------------------------
r11793 | aligorith | 2007-08-23 08:25:45 +0200 (Thu, 23 Aug 2007) | 3 lines

Bugfix #7091: "blender crashes when i put a constraint between two armatures"

This crash only occurred when the RigidBody constraint was used, and the toObject field was set to an armature, as the RigidBody constraint doesn't use subtargets.  
------------------------------------------------------------------------
r11791 | sirdude | 2007-08-22 20:34:47 +0200 (Wed, 22 Aug 2007) | 4 lines

Added a couple of missing stubs to clean up some warnings...

Kent

------------------------------------------------------------------------
r11783 | aligorith | 2007-08-22 12:07:42 +0200 (Wed, 22 Aug 2007) | 3 lines

Minor Code Cleanup (ShapeKeys):

Added a new API method for ShapeKeys, which is useful for finding a certain KeyBlock from a Key. 
------------------------------------------------------------------------
r11782 | aligorith | 2007-08-22 10:52:57 +0200 (Wed, 22 Aug 2007) | 3 lines

Bugfix #7083:

The menu entries for changing Interpolation and Extrapolation modes in the Action Editor weren't working properly (at all).
------------------------------------------------------------------------
r11781 | bebraw | 2007-08-22 08:26:37 +0200 (Wed, 22 Aug 2007) | 5 lines

Autocompletion to Geometry input node:
This commit adds autocompletion and "red alert" feature to text input
fields (UV and VCol) of the Geometry material input node. The functionality
is similar to one found in UV part of the "Map Input" panel found in Material
buttons context of the Buttons Window.
------------------------------------------------------------------------
r11778 | campbellbarton | 2007-08-21 21:37:03 +0200 (Tue, 21 Aug 2007) | 2 lines

obj export had the overwrite confirmation commented out from testing, UIBlock needed to clear the events so tooltips show.

------------------------------------------------------------------------
r11762 | broken | 2007-08-21 03:57:15 +0200 (Tue, 21 Aug 2007) | 14 lines

* Curve tilt interpolation types
Just a quickie feature I needed here at work- the previous linear 
interpolation of tilt in curves can give nasty pinching problems 
when trying to do flowing curves like a ribbon. This commit lets 
you choose the interpolation type, between Linear, Cardinal, and 
BSpline. The code was already set up for it pretty easily, mainly 
needed to make the choice visible to the user.

Example:
http://mke3.net/blender/devel/etc/tilt_interp_types.png

Works on selected curve 'lines', menu in 'curve tools' panel in
edit mode.

------------------------------------------------------------------------
r11760 | campbellbarton | 2007-08-21 01:38:39 +0200 (Tue, 21 Aug 2007) | 9 lines

FBX armature + mesh + weights works now.
So it can be used to export walk cycles etc.
Animated armatures also work (import BVH and export as FBX for instance)

Pose data is transformation is key'd on every frame at the moment, so IK's and constraints are applied but blenders keyframes are not used.

at the moment one armature applied multiple meshes wont work properly and armatures cant have transformation.


------------------------------------------------------------------------
r11746 | blendix | 2007-08-20 19:50:04 +0200 (Mon, 20 Aug 2007) | 7 lines


Add "View Selected" in the IPO editor
- Numpad dot is shortcut key, same as in other windows.

(Peach feature request)


------------------------------------------------------------------------
r11738 | bebraw | 2007-08-20 13:24:05 +0200 (Mon, 20 Aug 2007) | 2 lines

Added missing node file:
This commit adds the file missing in previous one.
------------------------------------------------------------------------
r11737 | bebraw | 2007-08-20 13:05:14 +0200 (Mon, 20 Aug 2007) | 6 lines

"Combine RGB" and "Separate RGB" material nodes:
These nodes allow the user to separate and combine RGB color channels
as in the composite node editor. However they don't contain Alpha
channel as it is treated separately in case of material nodes.
"Combine RGB" allows the user to use values beyond standard float range 
([0.0, 1.0]) if value input node is used to feed the value to it.
------------------------------------------------------------------------
r11732 | campbellbarton | 2007-08-20 12:08:59 +0200 (Mon, 20 Aug 2007) | 3 lines

added face sorting to mesh so you can do mesh.faces.sort(...)
uses list sorting internally so is exactly the same as list sorting.

------------------------------------------------------------------------
r11731 | campbellbarton | 2007-08-20 10:40:14 +0200 (Mon, 20 Aug 2007) | 4 lines

VRML and DXF were saving all meshes that had at least one user - so all meshes in other scenes, and meshes without object users like textmesh.
used the flag LIB_DOIT to tag meshes used in the current scene and only write those.


------------------------------------------------------------------------
r11727 | broken | 2007-08-20 05:03:34 +0200 (Mon, 20 Aug 2007) | 3 lines

* Updated the max particle amount to 1 million. I've been using it 
here for a while and it's been fine - I'm pretty sure it's safe, as
long as you've got enough RAM :)
------------------------------------------------------------------------
r11726 | broken | 2007-08-20 03:32:15 +0200 (Mon, 20 Aug 2007) | 15 lines

* Change to the working of the left mouse select preference 

Previously, the implementation of this was quite awkward, with
the preference swapping mouse buttons globally, rather than just 
selection, as is advertised on the pref. This had the effect of 
changing the painting in sculpt/texture paint/weight paint/etc to 
the left mouse button. This was totally silly, since when using a 
tablet, left mouse select is the sane way to go, but it meant 
that every time you wanted to sculpt or paint, you had to switch 
the mouse buttons around so you could actually use the tablet as 
normal.

This commit fixes that, and makes the preference do just what it 
says, use left mouse for selection (i.e. in object/edit mode) and 
only that.
------------------------------------------------------------------------
r11725 | broken | 2007-08-20 03:02:12 +0200 (Mon, 20 Aug 2007) | 7 lines

Patch #6770 by James C (sheep)
Tooltip getStringSize and getBoundingBox correction

Not really any user-visible changes here, but a nice clean-up of 
internal font drawing functions, in this case used in tooltips.

Thanks!
------------------------------------------------------------------------
r11723 | campbellbarton | 2007-08-20 01:49:48 +0200 (Mon, 20 Aug 2007) | 2 lines

path seperator check was wrong

------------------------------------------------------------------------
r11722 | broken | 2007-08-20 01:47:14 +0200 (Mon, 20 Aug 2007) | 6 lines

patch #6795 by James C (sheep):
This converts the Ipo editor and Timeline windows to use the BIF_ 
API for drawing international/antialiased text, following the user 
preference or being drawn in Bitmap/Pixmap/Texture mode.

Thanks James!
------------------------------------------------------------------------
r11713 | campbellbarton | 2007-08-19 21:06:42 +0200 (Sun, 19 Aug 2007) | 2 lines

aparently mingw was still having problems, fixed this properly by using PyType_Ready, this needed some changes to the PyType to work.

------------------------------------------------------------------------
r11711 | lukep | 2007-08-19 20:48:42 +0200 (Sun, 19 Aug 2007) | 2 lines

new default for using openexr lib in our svn

------------------------------------------------------------------------
r11707 | pidhash | 2007-08-19 18:24:52 +0200 (Sun, 19 Aug 2007) | 2 lines

fixing mute ipo icon 

------------------------------------------------------------------------
r11706 | pidhash | 2007-08-19 18:20:16 +0200 (Sun, 19 Aug 2007) | 2 lines

fix the mute ipo icon 

------------------------------------------------------------------------
r11697 | elubie | 2007-08-19 13:15:33 +0200 (Sun, 19 Aug 2007) | 3 lines

- fix for missing include dir in MSVC 7 project files
- small warning fix for unreferenced variable.

------------------------------------------------------------------------
r11671 | aligorith | 2007-08-19 08:13:19 +0200 (Sun, 19 Aug 2007) | 5 lines

Bugfix #7051: Stars' preview doesn't update in real time.

Added a new event code (B_WORLDPRV2) that forces an update of the world buttons-window preview AND the 3d-view, instead of having only one of the two getting updated (with REDRAWVIEW3D or REDRAWBUTSSHADING)


------------------------------------------------------------------------
r11670 | aligorith | 2007-08-19 06:41:22 +0200 (Sun, 19 Aug 2007) | 5 lines

== Action Editor - Borderselect ==

This commit restores a few useful borderselect tools:
* When borderselect is activated while the mouse cursor is in the horizontal scrollbar, all the keyframes in that occur in the range of frames encompassed by the border get selected.
* When borderselect is activated while the mouse cursor is in the vertical scrollbar, all the keyframes, that occur in the channels that are within the border get selected.
------------------------------------------------------------------------
r11668 | aligorith | 2007-08-19 05:29:51 +0200 (Sun, 19 Aug 2007) | 4 lines

Action Editor Bugfixes:

* Insert Key (IKEY) menu was inserting keyframes on all channels when menu was dismissed, instead of not doing anything
* Clean IPO and Insert Key now only work on selected channels (when asked to). Was a missing line of code.
------------------------------------------------------------------------
r11666 | aligorith | 2007-08-19 03:56:31 +0200 (Sun, 19 Aug 2007) | 1 line

This might fix some of the problems encountered compiling with blenderplayer or so.
------------------------------------------------------------------------
r11665 | khughes | 2007-08-19 02:12:34 +0200 (Sun, 19 Aug 2007) | 8 lines

Undefined reference to subtarget in last PyConstraint commit:

https://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11653

I think this commit make it do what it was intended to, but Joshua should
recheck this ASAP.


------------------------------------------------------------------------
r11653 | aligorith | 2007-08-18 08:17:50 +0200 (Sat, 18 Aug 2007) | 7 lines

== PyConstraints ==

I've added the ability for PyConstraints to define a function (doDriver) that is able to directly modify values of the owner/target, so that certain setups can be created reliably. Users should take note that this is against the basic concept of what a constraint does, and that under no circumstances may they set the values of any variables controlling the transforms. For more details, check out the information in the PyConstraint template script.

I've also updated PyConstraints to be aware of geometry targets. The script template has been updated with this information.


------------------------------------------------------------------------
r11649 | aligorith | 2007-08-18 06:03:03 +0200 (Sat, 18 Aug 2007) | 6 lines

== Constraints - Geometry Targets Improvements ==

This commit features fixes/improvements for problems I didn't manage to fix in time for the commit yesterday.

* Now for Meshes, the normals of the vertices in the VertexGroup are averaged and used to find the 'rotation' that needs to be applied. Unfortunately, this does not work with Lattices as they do not have normals.
* Depsgraph should now play nicely with geometry targets. Before, the constrained object's location wasn't being updated after the target's geometry was modified.
------------------------------------------------------------------------
r11646 | stiv | 2007-08-18 02:02:50 +0200 (Sat, 18 Aug 2007) | 18 lines

New command line switch --

Add a new command line switch "--" for passing arguments to scripts.
Any arguments after -- are not processed and passed unchanged via
the usual argv mechanism.

Custom arguments can be accessed from a bpy script in python's 
sys.argv.  Example:

import sys

# slice argv after '--'
i = sys.argv.index('--')
my_args = sys.argv[i+1:]  




------------------------------------------------------------------------
r11637 | stiv | 2007-08-17 15:53:09 +0200 (Fri, 17 Aug 2007) | 2 lines

fix warning: initialization makes integer from pointer without a cast

------------------------------------------------------------------------
r11636 | aligorith | 2007-08-17 13:23:48 +0200 (Fri, 17 Aug 2007) | 9 lines

== Constraints - Geometry Targets ==

It is now possible to use the geometry of Meshes and/or Lattices as the target of a constraint. All you need to do, is to create a new Vertex-Group and assign all the points that you wish to use as the target, then type that name into the VG: field for the relevant constraints.

One of the cases where this is beneficial is when you need to copy the location of a vertex. Now you don't need to make extra vertex-parents for that.

Additional Notes:
* The code takes the average of the locations of the nominated vertices, and puts that in world-space for constraint solving (and regular space-conversion stuff).
* Currently, rotation and scaling of points is not taken into account. The rotation/scaling used is from the object's matrix. Hopefully, this will only be a temporary problem (will be fixed soon)
------------------------------------------------------------------------
r11633 | campbellbarton | 2007-08-17 09:14:36 +0200 (Fri, 17 Aug 2007) | 2 lines

this broke on some compilers

------------------------------------------------------------------------
r11625 | campbellbarton | 2007-08-16 14:55:40 +0200 (Thu, 16 Aug 2007) | 2 lines

material leak fix from stable tree

------------------------------------------------------------------------
r11616 | aligorith | 2007-08-15 12:38:46 +0200 (Wed, 15 Aug 2007) | 1 line

Fix for 'undefined function' compiler warning in poseobject.c, introduced by Brecht's cool heat-skinning stuff.
------------------------------------------------------------------------
r11615 | aligorith | 2007-08-15 12:04:45 +0200 (Wed, 15 Aug 2007) | 9 lines

== Action Editor Bugfixes (BugReport #7049) ==

This commit fixes several issues related to using the Action Editor with Shapekeys. I've known about most of them for a while, so now's the time to fix that.

1) When the shapekey anim data for an object comes from an Action (key's IPO block is linked to the "Shape" action-channel), the names of the individual shapekeys is now shown. They will only do so if the Action Editor is not pinned though.

2) Slider limits for the case described above should now be sane again

3) "Add New" option from the popup menu in the Action Editor header will now convert shapekey animation data from IPO to Action if the action editor is displaying Shapekey data at the time. Many users have often found the old way of having to toggle the "running man" in the IPO-editor header, too clumsy and confusing.
------------------------------------------------------------------------
r11608 | aligorith | 2007-08-15 06:59:46 +0200 (Wed, 15 Aug 2007) | 3 lines

== Child-Of Constraint ==

Now 'Set Inverse' works correctly for PoseChannels in all cases. Previously, it was still using a temporary hack that failed when 'parent' bone had any transforms.
------------------------------------------------------------------------
r11606 | campbellbarton | 2007-08-15 02:48:33 +0200 (Wed, 15 Aug 2007) | 2 lines

initial support for baked bone animation - works for simple tests

------------------------------------------------------------------------
r11603 | lukep | 2007-08-14 22:55:59 +0200 (Tue, 14 Aug 2007) | 10 lines

add the option of not installing to scons build system

 settting WITHOUT_BF_INSTALL='true' will disable
 the copying to INSTALL_DIR

you can use that in your user-config.py or commandline

slipping in minor cleaning for Os X builds
 

------------------------------------------------------------------------
r11589 | aligorith | 2007-08-14 14:17:46 +0200 (Tue, 14 Aug 2007) | 4 lines

Removed useless check from outliner searching code...

This fixes the following compiler warning - 
source/blender/src/outliner.c:2242: warning: the address of 'name' will always evaluate as 'true'
------------------------------------------------------------------------
r11588 | aligorith | 2007-08-14 13:48:12 +0200 (Tue, 14 Aug 2007) | 1 line

Oops... missing semicolon broke compiling
------------------------------------------------------------------------
r11587 | aligorith | 2007-08-14 13:19:35 +0200 (Tue, 14 Aug 2007) | 1 line

constraint_mat_convertspace is now no longer static/private to constraint.c
------------------------------------------------------------------------
r11586 | aligorith | 2007-08-14 13:16:11 +0200 (Tue, 14 Aug 2007) | 1 line

Whitespace commit in constraints code.
------------------------------------------------------------------------
r11585 | aligorith | 2007-08-14 13:14:00 +0200 (Tue, 14 Aug 2007) | 5 lines

Bugfix - Transform Properties (ParBone):

Editing the value of the ParBone field in the Transform Properties panel was not stable. The problem seems to have been buffer-overflow type problems caused by maximum character limit that was set too high.

I've also added auto-complete functionality for this field while I was tinkering around there.
------------------------------------------------------------------------
r11582 | campbellbarton | 2007-08-14 08:38:44 +0200 (Tue, 14 Aug 2007) | 2 lines

added bone comparison for the python api

------------------------------------------------------------------------
r11581 | campbellbarton | 2007-08-14 07:01:39 +0200 (Tue, 14 Aug 2007) | 2 lines

superficial changes, button alignment and minor tooltip changes. sculpt mode moved the ParBone button when it didnt need to.

------------------------------------------------------------------------
r11580 | broken | 2007-08-14 06:38:31 +0200 (Tue, 14 Aug 2007) | 7 lines

Fix for bug #7406 'Compositor Crash'

Previously when deleting a scene, no checks were made to see if 
any render layer nodes in other scenes were referencing them,
leaving them pointing to bad memory. Now, this checks all other
scenes' nodetrees and sets pointers to the to-be-deleted scene to
NULL, which gets taken care of elsewhere.
------------------------------------------------------------------------
r11579 | broken | 2007-08-14 01:25:15 +0200 (Tue, 14 Aug 2007) | 3 lines

Added selection by similar edge seams and sharpness to the "Select 
Similar" menu (Shift G). Also did some tweaking in there to make 
the menu a bit more sensible.
------------------------------------------------------------------------
r11576 | nicholasbishop | 2007-08-13 23:08:52 +0200 (Mon, 13 Aug 2007) | 9 lines

== Multires ==

Partial fix for bug #7013, adding multires removes all vertex color layers

* Added a warning when adding multires levels to a mesh with more than one vcol layer. The user can choose to allow multires to delete the non-active layer(s), or cancel.

Note that this is a temporary fix; a better solution will be to make multiple vcol layers work with multires.


------------------------------------------------------------------------
r11573 | campbellbarton | 2007-08-13 16:52:17 +0200 (Mon, 13 Aug 2007) | 2 lines

added a 2 error messages when the user tries to join objects that dont support joining and when there is no active object

------------------------------------------------------------------------
r11570 | nicholasbishop | 2007-08-13 03:01:32 +0200 (Mon, 13 Aug 2007) | 8 lines

== Sculpt Mode ==

Fixed bug reported here:
http://blenderartists.org/forum/showthread.php?t=102975

* Removed an opengl texture attribute change used while drawing the propset sculpt brush; was causing model shading to disappear on textured models.


------------------------------------------------------------------------
r11558 | campbellbarton | 2007-08-12 10:10:26 +0200 (Sun, 12 Aug 2007) | 7 lines

only draw the xor line when the mouse moves (border moving).
This is the only thing that made software GL unuseable, and would even hang blender when using some debugging tools.
The lag was noticibel on some cheap graphics cards also.

There is a problem with blenders events that means the mouse movement events are sent while the mouse button release event isnt for some time. This could make resizing a border take a fairly long time... 4-10sec.
even though this is a workaround, only redrawing when the mouse is moved is logical.

------------------------------------------------------------------------
r11557 | aligorith | 2007-08-12 09:30:11 +0200 (Sun, 12 Aug 2007) | 4 lines

Action Editor - Code Cleanups:

* I've replaced the long lists of #defines in header_action.c with enums, which should make that easier to maintain/add new items as needed.
* Added a few comments also
------------------------------------------------------------------------
r11556 | campbellbarton | 2007-08-12 08:14:33 +0200 (Sun, 12 Aug 2007) | 3 lines

move mesh_vgroup_average to the weightpaint menu and rename. also added an option to add the active weight group or all groups.
 - fix from 2.44 so makeDisplayList updates 3d text

------------------------------------------------------------------------
r11554 | campbellbarton | 2007-08-12 03:38:12 +0200 (Sun, 12 Aug 2007) | 2 lines

left a print in and didnt account for no vgroups BPyMesh also had an error when meshWeight2List was called on a mesh with no vgroups

------------------------------------------------------------------------
r11553 | campbellbarton | 2007-08-12 03:30:14 +0200 (Sun, 12 Aug 2007) | 5 lines

script submitted by Johnny Matthews (guitargeek) - but I rewrote to make use of some existing functions in BPyMesh.py
This averages the weights of vert groups per island (based on face connectivity)
Nice for making scales and works well with new dual-quat interpolation


------------------------------------------------------------------------
r11552 | bdiego | 2007-08-11 22:45:27 +0200 (Sat, 11 Aug 2007) | 5 lines

Fix compiler warning.

bb and mselect are different struct, gcc warning about assignment
incompatible pointer.

------------------------------------------------------------------------
r11549 | campbellbarton | 2007-08-11 14:58:35 +0200 (Sat, 11 Aug 2007) | 2 lines

when applying size/rotation the envelope and bone radius wasnt being scaled.

------------------------------------------------------------------------
r11548 | aligorith | 2007-08-11 14:09:09 +0200 (Sat, 11 Aug 2007) | 1 line

Restoring a part of BeBraw's patch that I removed before committing as it didn't seem to be working at the time.
------------------------------------------------------------------------
r11547 | aligorith | 2007-08-11 13:50:31 +0200 (Sat, 11 Aug 2007) | 3 lines

Patch #7035 by Juho Vepsalainen (bebraw): 

Multiple selected bones are now able to be parented to the active bone in EditMode. Previously, only one selected bone could be parented to another at a time. 
------------------------------------------------------------------------
r11546 | aligorith | 2007-08-11 13:25:15 +0200 (Sat, 11 Aug 2007) | 1 line

Fix a typo that broke compiling, from last commit.
------------------------------------------------------------------------
r11545 | aligorith | 2007-08-11 11:20:56 +0200 (Sat, 11 Aug 2007) | 3 lines

== Action Editor - Time Stuff for Tools ==

Part 2 of work from yesterday. Now tools in Action Editor are aware of (work well) with time display in seconds as well.
------------------------------------------------------------------------
r11534 | aligorith | 2007-08-10 14:12:00 +0200 (Fri, 10 Aug 2007) | 1 line

Changed a few comments for Action Editor flags.
------------------------------------------------------------------------
r11533 | aligorith | 2007-08-10 14:10:03 +0200 (Fri, 10 Aug 2007) | 9 lines

== Action Editor - Time Display ==

The Action Editor can now display timing in seconds too. By default, it still displays timing in frames, but it is possible to switch the time display to seconds.

The hotkey to toggle this is  Ctrl T.

Notes:
- Many of the Action Editor's tools have yet to be made aware of this. Therefore, they will still work as though frames are used. Only Transform, Snap, and Mirror should really be affected. This will be fixed when I wake up.
- Nothing *should* be broken, but I might have missed something.
------------------------------------------------------------------------
r11526 | campbellbarton | 2007-08-09 15:46:38 +0200 (Thu, 09 Aug 2007) | 2 lines

left some mistakes in

------------------------------------------------------------------------
r11525 | campbellbarton | 2007-08-09 15:34:44 +0200 (Thu, 09 Aug 2007) | 3 lines

Mesh.c - getVertFromGroup ~25% speedup.
export_fbx.py - initial support for bones applied to weighted meshes.

------------------------------------------------------------------------
r11524 | aligorith | 2007-08-09 11:09:25 +0200 (Thu, 09 Aug 2007) | 3 lines

Bugfix:

Made inserting new keyframes use a coarser threshold for determining when to replace existing keyframes with new ones. Now, it shouldn't create so many keyframes stacked on top of each other, but yet still keep some bizzare cases working.
------------------------------------------------------------------------
r11523 | theeth | 2007-08-09 03:07:27 +0200 (Thu, 09 Aug 2007) | 8 lines

Small Transform code cleanup and addins for future features.

- Removing evil InitTransModeFlags (I would always forget to update that when adding new stuff). It's properly done in the per transform init now.
- Add toggleable mode for Shear (with MMB) for horizontal or vertical shear. Toggle shear mode also changes the input mode from vertical to horizontal and vice versa (it's intuitiver that way). (This was suggested in a really old patch but never implemented because I disliked adding transform specific handling in the main event switch).
- Add custom event handlers per transform (currently only used for Shear)
- Add custom data pointer and freeing flag (only (a)bused by Shear).

NOTE to Levi Schooley: Some stuff in there might be useful for you.
------------------------------------------------------------------------
r11517 | aligorith | 2007-08-08 09:14:27 +0200 (Wed, 08 Aug 2007) | 1 line

Added comments documenting a few variables in the DNA_curve_types.h structs
------------------------------------------------------------------------
r11516 | aligorith | 2007-08-08 09:00:20 +0200 (Wed, 08 Aug 2007) | 3 lines

== Snap Cursor to Selected -> EditMode Bones ==

After complaints from wavez, Snap Cursor to Selected for Bones in EditMode now results in the cursor being snapped to the midpoint of the selected joint(s) like it did before my no zero-length bones commit.
------------------------------------------------------------------------
r11515 | aligorith | 2007-08-08 08:36:23 +0200 (Wed, 08 Aug 2007) | 3 lines

Bugfix #7019: Mirror Function for IPO curves gives strange results

This problem was resulted from the handles on keyframes not being mirrored as well. I thought that the handle resetting function would solve that, but obviously it didn't.
------------------------------------------------------------------------
r11514 | sirdude | 2007-08-07 18:34:45 +0200 (Tue, 07 Aug 2007) | 11 lines

This should fix up saving a blender runtime.

If you look at the log, the last change to this file I was trying to fix
game engine bug #6667.  In so doing I added a print usage if you do not
pass any arguments to the gameplayer.

Things should work better now.

Kent


------------------------------------------------------------------------
r11512 | campbellbarton | 2007-08-07 15:20:46 +0200 (Tue, 07 Aug 2007) | 2 lines

getVertsFromGroup was vaguely documented

------------------------------------------------------------------------
r11511 | aligorith | 2007-08-07 13:26:39 +0200 (Tue, 07 Aug 2007) | 5 lines

== IPO Cleaning - Refactor ==

I've finally come to the conclusion that the old code used to clean up IPO-curves was utterly unsafe/unstable. It used to have a lot of memory-related bugs early on, which I had resolved, but still I found a file where this broke quite badly (thanks Cessen).

Now the code should be saner, as it does away with that evil memory copying that seems to be at fault. It would be advisable to have this properly tested for a few days before considering it for inclusion in 2.45 (stable) branch. 
------------------------------------------------------------------------
r11509 | campbellbarton | 2007-08-06 22:21:40 +0200 (Mon, 06 Aug 2007) | 2 lines

changed rotation order setting by mistake

------------------------------------------------------------------------
r11508 | campbellbarton | 2007-08-06 22:20:20 +0200 (Mon, 06 Aug 2007) | 3 lines

* added armature (bones) support to the fbx exporter. Only rest state, no animation yet.
* fix for PLY from 2.44

------------------------------------------------------------------------
r11504 | sirdude | 2007-08-06 17:32:21 +0200 (Mon, 06 Aug 2007) | 7 lines

Added include path ../include

reported by Melchior FRANZ.

Kent


------------------------------------------------------------------------
r11503 | blendix | 2007-08-06 16:32:10 +0200 (Mon, 06 Aug 2007) | 5 lines


Bugfix:
Crazyspace correction for quaternion deform interpolation was broken.


------------------------------------------------------------------------
r11502 | khughes | 2007-08-06 16:27:08 +0200 (Mon, 06 Aug 2007) | 3 lines

Fix minor typo in error messages for Mathutils.DotVecs(), reported on python ML.


------------------------------------------------------------------------
r11500 | aligorith | 2007-08-06 09:13:34 +0200 (Mon, 06 Aug 2007) | 3 lines

== Preview Range Bugfix ==

Preview Range could get set with frame numbers less than 1. This caused problems with playback in a few cases, and also gave gibblish in the counter-cursor thing.
------------------------------------------------------------------------
r11499 | blendix | 2007-08-06 02:51:17 +0200 (Mon, 06 Aug 2007) | 5 lines


Fix for bug #6977:
Drawing float images with the tiles option crashed.


------------------------------------------------------------------------
r11498 | blendix | 2007-08-06 02:38:29 +0200 (Mon, 06 Aug 2007) | 5 lines


Fix for bug #6604:
Texture painting location was not accurate in perspective mode.


------------------------------------------------------------------------
r11497 | letterrip | 2007-08-06 00:45:25 +0200 (Mon, 06 Aug 2007) | 1 line

hmm just tested and with it removed it seems to fail so adding it back for now until i get more clarification from the Collada devs...
------------------------------------------------------------------------
r11496 | letterrip | 2007-08-06 00:09:45 +0200 (Mon, 06 Aug 2007) | 1 line

removed depricated file for Collada import/export
------------------------------------------------------------------------
r11494 | letterrip | 2007-08-05 22:01:30 +0200 (Sun, 05 Aug 2007) | 15 lines

Collada bug fix updates thanks to the Collada plugin script developers 

Materials imported correctly. And now are Exported in Collada 1.4.1 format not 1.4.0 format (You may need to make some updates to your code if your not compatible with 1.4.1 yet)

Skeletal non-animated dae's import better and crash less.

Skeletal Animation export when baking matrices fixed.

Texture and materials exported better when using "Use UV"

Basic Skeletal animation exporting.

Object Properties exporting and importing.

Countless bug fixes.
------------------------------------------------------------------------
r11493 | letterrip | 2007-08-05 21:54:06 +0200 (Sun, 05 Aug 2007) | 1 line

bug fix of the quickstart guide
------------------------------------------------------------------------
r11492 | schlaile | 2007-08-05 21:13:34 +0200 (Sun, 05 Aug 2007) | 15 lines

== Sequencer ==

This fixes [#6996] Sequence Nesting and enables sequence nesting for the
first time :)

The old hack done by Ton prevented eternal loops by preventing Sequence
tracks being added to Sequence scenes.

We now disable "Do sequence" temporarily for the _current_ scene, which
has the same effect but leaves the possibility of sequence nesting 
untouched.

Also fixes a warning in editseq (uninitialized variable).


------------------------------------------------------------------------
r11491 | schlaile | 2007-08-05 20:53:41 +0200 (Sun, 05 Aug 2007) | 7 lines

== Sequencer ==

This fixes [#6876] snapping to current frame crashes when one end of strip selected.

Some null checks were missing, that made generator strips fail...


------------------------------------------------------------------------
r11490 | schlaile | 2007-08-05 20:22:45 +0200 (Sun, 05 Aug 2007) | 13 lines

== Sequencer ==

This adds "[#6766] Transform Sequencer effect" by damiles.
* Configurable interpolation: no, linear, bicubic
* Makes it possible to specify coordinates in units of pixels or by percent
  of the picture size

It makes the code a lot more clean, since new imbuf functions are used.

This patch also fixes
[#6829] Limit on VSE Transform Effect


------------------------------------------------------------------------
r11489 | erwin | 2007-08-05 19:44:32 +0200 (Sun, 05 Aug 2007) | 2 lines

reverted to old hinge constraint, it breaks several tests/demos

------------------------------------------------------------------------
r11487 | khughes | 2007-08-05 18:48:55 +0200 (Sun, 05 Aug 2007) | 6 lines

Python API
----------
Fix documentation for Blender.CountPackedFiles(), incorrectly referred to
Blender.Blender_CountPackedFiles() instead.


------------------------------------------------------------------------
r11485 | aligorith | 2007-08-05 11:21:29 +0200 (Sun, 05 Aug 2007) | 5 lines

Little code cleanup. 

bsystem_time was being called with an extra variable, which was useless. Most of the places that called it, were passing NULL for that variable anyway.

I've also cleaned up that function a bit, but the underlying problems with that part of the code still exist (EVIL GLOBALS that are exported for frame_to_float), for mblur and fields rendering features. That remains for another time.
------------------------------------------------------------------------
r11484 | nicholasbishop | 2007-08-05 07:28:02 +0200 (Sun, 05 Aug 2007) | 5 lines

== Multires ==

Fixed bug #6939, Multires doesn't set level of edges to display properly.


------------------------------------------------------------------------
r11481 | khughes | 2007-08-03 23:34:13 +0200 (Fri, 03 Aug 2007) | 8 lines

Tools
-----
Bugfixes for #6816 and #6988: Under Windows, Blender would crash if boolean
operations were done on objects which resulted in an empty mesh.  Problem was
"iterators" created for ConvertCSGDescriptorsToDerivedMesh() tried to access
invalid memory.


------------------------------------------------------------------------
r11480 | campbellbarton | 2007-08-03 18:33:08 +0200 (Fri, 03 Aug 2007) | 2 lines

fixes from 2.4x

------------------------------------------------------------------------
r11478 | aligorith | 2007-08-03 14:04:25 +0200 (Fri, 03 Aug 2007) | 3 lines

Bugfix #6983: Incorrect behavior of cancelling transform of IPO CVs

Woops! The code was using the wrong variable in one place.
------------------------------------------------------------------------
r11477 | aligorith | 2007-08-03 13:16:12 +0200 (Fri, 03 Aug 2007) | 7 lines

== Bone Roll - Align to Cursor ==

In this commit, a new way to set the bone roll is introduced. It aligns the z-axis of the selected bone(s) to the 3D-Cursor, so that the cursor intersects with the YZ plane. 

This makes it easier to align bone rolls to a target, for use in rigs where arms/legs are not horizontal/vertical. To use this, just press Ctrl N, and choose the "Align Z-Axis to 3D-Cursor" option.

Credits go to Robert Christian (wavez) for providing the method as a working BPy script, that demonstrated this in action.
------------------------------------------------------------------------
r11476 | aligorith | 2007-08-03 06:04:00 +0200 (Fri, 03 Aug 2007) | 4 lines

Bone Roll Bugfixes (Ctrl R transform mode):

* Now, when X-Mirror is turned on for the armature, the roll from bones being 'rolled' is also mirrored.
* Disabled transform-constraints for this mode, as it didn't really make sense. 
------------------------------------------------------------------------
r11465 | campbellbarton | 2007-08-01 20:04:44 +0200 (Wed, 01 Aug 2007) | 2 lines

misc changes from stable

------------------------------------------------------------------------
r11461 | jiri | 2007-08-01 15:13:35 +0200 (Wed, 01 Aug 2007) | 1 line

Update of czech translation from Genom
------------------------------------------------------------------------
r11460 | campbellbarton | 2007-08-01 14:57:59 +0200 (Wed, 01 Aug 2007) | 3 lines

armature weakref fix from stable, Curve.c removed unneeded cruft


------------------------------------------------------------------------
r11458 | aligorith | 2007-08-01 13:38:47 +0200 (Wed, 01 Aug 2007) | 8 lines

== Outliner - Patch #4364 ==

Now the Outliner can be scrolled horizontally too. This was the first patch I ever submitted, but it's gone through many revisions due to ugly Blender bugs that needed to be fixed.

Code Notes:
* I discovered an ancient bug which would cause Blender to hang when loading a file saved with horizontal scrollbars turned on for the Outliner/OOPS. 
* Therefore, I've added special B_SCROLLO and HOR_SCROLLO defines for use by the Outliner only. These are used in place of B_SCROLL and HOR_SCROLL so that older Blender's won't choke on this stuff. Thanks for this suggestion Ton.
* The hanging occurred in draw_scroll in draw_ipo.c
------------------------------------------------------------------------
r11457 | joeedh | 2007-08-01 12:33:01 +0200 (Wed, 01 Aug 2007) | 4 lines

=Lack of #ifdef INTERNATIONAL=

Recent font preview commit didn't have the proper enclosing #ifdef INTERNATIONAL
blocks.  Honestly, I have no idea why we bother, but added them anyway.
------------------------------------------------------------------------
r11456 | campbellbarton | 2007-08-01 12:19:16 +0200 (Wed, 01 Aug 2007) | 2 lines

minor changes from stable

------------------------------------------------------------------------
r11454 | blendix | 2007-08-01 11:49:17 +0200 (Wed, 01 Aug 2007) | 4 lines


Fix for bug in raytrace code refactoring, crash with empty octree.


------------------------------------------------------------------------
r11453 | jesterking | 2007-08-01 07:05:34 +0200 (Wed, 01 Aug 2007) | 1 line

* put declaration at *begin* of code block. Now MSVC shouldn't barf anymore.
------------------------------------------------------------------------
r11450 | blendix | 2007-07-31 21:28:52 +0200 (Tue, 31 Jul 2007) | 16 lines


Quaternion Deform Interpolation
===============================

This is a new armature deform interpolation method using Dual Quaternions,
which reduces the artifacts of linear blend skinning:

http://www.blender.org/development/current-projects/changes-since-244/skinning/

Based on the paper and provided code:

Skinning with Dual Quaternions
Ladislav Kavan, Steven Collins, Jiri Zara, Carol O'Sullivan.
Symposium on Interactive 3D Graphics and Games, 2007.


------------------------------------------------------------------------
r11444 | harkyman | 2007-07-31 15:37:59 +0200 (Tue, 31 Jul 2007) | 27 lines

Visual Keying refactor

This code was always kludgy and this clean it up a bit.

insertmatrixkey() has been properly renamed insertkey_float().

Matrix calculations have been excised from the interface code,
and placed in insertmatrixkey(), so that you can call it from
anywhere without preliminaries and the proper values are calced
based on the passed adr code.

By much request, several semi-bug reports and discussion with
production animators, visual keying is now used automatic
for objects and bones that have constraints that cause them
to ignore their Ipos (CopyLoc, TrackTo, etc.). In those cases,
visual keying is used instead of the normal Ipo insertion
method. This "auto" functionality is toggled from the 
"Use Visual Keying" button found along with "Needed" and
"Available" in the Edit Methods prefs.

Logic as to which constraints trigger visual keying on
which adrcodes can be tweaked in match_adr_constraint()
src/editipo.c

This has been tested by a couple of people, myself included,
but I may not have hit every constraint case, so evolutionary
feedback is welcome.
------------------------------------------------------------------------
r11443 | aligorith | 2007-07-31 14:36:03 +0200 (Tue, 31 Jul 2007) | 5 lines

Constraints UI:

* Swapped the order of the CSpace menus. This is so that it makes more sense with the Transform Constraint, to follow a source (target) -> destination (owner) flow.

* 'Local Space' option for Objects has been renamed 'Local (Without Parent) Space'
------------------------------------------------------------------------
r11441 | joeedh | 2007-07-31 07:27:41 +0200 (Tue, 31 Jul 2007) | 6 lines

=Render Bugfix=

Previous bugfix of spec not being included in only shadow lamps had 2 errors.
There weren't any checks for if shi->spec and shi->shad go below 0 because of
an only shadow lamp, and also the code for including spec in only shadow lamps
was slightly wrong.
------------------------------------------------------------------------
r11436 | pidhash | 2007-07-30 21:40:23 +0200 (Mon, 30 Jul 2007) | 2 lines

new ICON_FONTPREVIEW

------------------------------------------------------------------------
r11435 | pidhash | 2007-07-30 21:38:03 +0200 (Mon, 30 Jul 2007) | 2 lines

bitmap to fontpreview button

------------------------------------------------------------------------
r11430 | pidhash | 2007-07-30 18:44:35 +0200 (Mon, 30 Jul 2007) | 2 lines

Reverting to python 2.5 and openEXR true as default

------------------------------------------------------------------------
r11429 | pidhash | 2007-07-30 17:59:16 +0200 (Mon, 30 Jul 2007) | 2 lines

Font preview

------------------------------------------------------------------------
r11428 | campbellbarton | 2007-07-30 17:19:42 +0200 (Mon, 30 Jul 2007) | 3 lines

nested comment


------------------------------------------------------------------------
r11427 | campbellbarton | 2007-07-30 15:26:22 +0200 (Mon, 30 Jul 2007) | 3 lines

removing unused dna


------------------------------------------------------------------------
r11425 | aligorith | 2007-07-30 13:10:30 +0200 (Mon, 30 Jul 2007) | 1 line

Removing some useless code, and fixed a few compiler warnings.
------------------------------------------------------------------------
r11424 | campbellbarton | 2007-07-30 04:24:17 +0200 (Mon, 30 Jul 2007) | 3 lines

this importer tried to be smart by splitting quads that were not planer. - This is not somthing an importer should do and a user was having problems importing meshes to subsurf from lightwave.
also some other updates, and small cleanup.

------------------------------------------------------------------------
r11414 | aligorith | 2007-07-29 13:15:37 +0200 (Sun, 29 Jul 2007) | 5 lines

More Constraints Bugfixes:

* Transform Constraint should now work in more cases. Somehow the old code (for location case) wasn't working correctly.
* ChildOf Constraint applied on objects, should now get the right 'inverse'/'offset' matrix set. It now uses the same code that is used by Blender's parenting method to do so.

------------------------------------------------------------------------
r11410 | blendix | 2007-07-28 23:35:32 +0200 (Sat, 28 Jul 2007) | 4 lines


Forgot to commit file in the game engine.


------------------------------------------------------------------------
r11409 | blendix | 2007-07-28 23:04:30 +0200 (Sat, 28 Jul 2007) | 18 lines


Armature CrazySpace Improvement
===============================

An improved CrazySpace correction is now used for Armature modifiers that use
vertex groups, and that are the first enabled modifiers in the stack. This is
a a specific case, but also a common one.

http://www.blender.org/development/current-projects/changes-since-244/skinning/

Implementation Notes:

- The quaternion crazyspace correction is still used for modifiers other than
  the armature modifier.
- Modifiers can now provide a deform matrix per vertex to be used for
  crazyspace correction, only the armature modifier implements this now.


------------------------------------------------------------------------
r11407 | elubie | 2007-07-28 18:28:40 +0200 (Sat, 28 Jul 2007) | 5 lines

== MSVC 7.1 projectfiles ==
- new files rayshade.c and raytrace.c replace ray.c
- new file meshlaplacian.c


------------------------------------------------------------------------
r11405 | blendix | 2007-07-28 16:51:22 +0200 (Sat, 28 Jul 2007) | 4 lines


Fix for wrong capitalization in #include.


------------------------------------------------------------------------
r11404 | blendix | 2007-07-28 16:39:30 +0200 (Sat, 28 Jul 2007) | 5 lines


Updates to opennl for mesh laplacian matrix building, to make matrix
building with random access work together with variable locking.


------------------------------------------------------------------------
r11403 | blendix | 2007-07-28 16:04:02 +0200 (Sat, 28 Jul 2007) | 24 lines


Bone Heat Weighting
===================

This is a new automatic vertex weighting method, next to the existing
envelope based method. The details are here:

http://www.blender.org/development/current-projects/changes-since-244/skinning/

This is based on section 4 of the paper:

"Automatic Rigging and Animation of 3D Characters"
Ilya Baran and Jovan Popovic, SIGGRAPH 2007

Implementation Notes:

- Generic code for making mesh laplacian matrices has been added, which
  is only used by bone heat weighting at the moment.
- Bone to vertex visibility checking is done with the raytracing code.
- Fixed an issue in the subsurf limit calculation function, where the
  position of vertices on boundary edges was wrong. It is still not the
  correct position, but at least it's in the neighbourhood now.


------------------------------------------------------------------------
r11401 | aligorith | 2007-07-28 12:44:03 +0200 (Sat, 28 Jul 2007) | 9 lines

== Constraints - Important Bugfix ==

At last, the 'Local' option for Armatures works properly! 
Tonight I went through carefully and cross-checked the code once again, and found several bad mistakes I had made. These were:
* the value of one variable from the armatures code was not what I expected it to be, based off the name). 
* Mat4MulSerie swaps the first two args! Grrr...

Note: 
There's only one rig that I've tested that was broken. That was slikdigit's "mancandy", and the part in question was the jaw. It is likely that a few more rigs out there (in particular, their 'local' action constraints) relied on the wacky rotation values that used to be used, so are now broken.
------------------------------------------------------------------------
r11400 | campbellbarton | 2007-07-28 11:26:53 +0200 (Sat, 28 Jul 2007) | 6 lines

Draw.py - typo
sceneSequence.h - bad type check, dosnt matter really since that define isnt used yet.
SurfNurb.c - was using lib hashing function and surfNurbs not a lib! (own mistake)
buttons_editing.c - Curves PathLen button was MAXFRAMEF and pathlen is a short so the button wrapped around.


------------------------------------------------------------------------
r11399 | aligorith | 2007-07-28 11:00:15 +0200 (Sat, 28 Jul 2007) | 1 line

A few little code cleanups for constraints code. I've just removed some lines that weren't needed.
------------------------------------------------------------------------
r11396 | joeedh | 2007-07-27 23:54:01 +0200 (Fri, 27 Jul 2007) | 8 lines

Previous bugfix for shadows cast on objects with diffuse reflectivity set to 0 
caused errors on only shadow lamps; fixed this by adding back in the original 
intensity > 0.0 check in the only shadow if statement, where it belonged in the
first place.

In addition, the specular pass was not correctly affected by only shadow lamps,
severely reducing the usefulness of this feature.  For example, using four
spotlamps to create an omnidirectional buffered shadow lamp didn't work.
------------------------------------------------------------------------
r11395 | khughes | 2007-07-27 20:29:58 +0200 (Fri, 27 Jul 2007) | 3 lines

Remove spurious ";" in declaration, which causes warning in gcc and MSVC.  Thanks Levi for catching this.


------------------------------------------------------------------------
r11390 | jiri | 2007-07-27 15:58:41 +0200 (Fri, 27 Jul 2007) | 3 lines

Small optimalization of drawing bones (drawsolidcube_size and drawcube_size) uses OpenGL displaylists.


------------------------------------------------------------------------
r11388 | campbellbarton | 2007-07-27 11:30:54 +0200 (Fri, 27 Jul 2007) | 2 lines

missing include and added a warning to UIBlock

------------------------------------------------------------------------
r11387 | joeedh | 2007-07-27 08:14:25 +0200 (Fri, 27 Jul 2007) | 15 lines

=Draw Module Fixed=

This commit fixes the Draw module.  All buttons/widgets created via the Draw
module in a SpaceScript area are now inserted into a global list attached to
the SpaceScript data.  This list is cleared before each draw, when freeing
the space, and when the area is switched to another space.c

This is necessary to prevent Blender's internal UI code from getting invalid
pointers to python data.  In addition, it allows storing widget tooltips
inside the python Button objects, which solves that little bit of stupidity.

Note that this reverts the previous weaklist solution.  In fact, I had to go
over each previous commit by Campbell after this code originally branched
before the weaklist commit and re-add each commit.  So if anything is
missing, just tell me, or feel free to re-add it.
------------------------------------------------------------------------
r11386 | aligorith | 2007-07-27 07:06:05 +0200 (Fri, 27 Jul 2007) | 2 lines

Oops... missing semicolon in last commit broke compiling

------------------------------------------------------------------------
r11385 | aligorith | 2007-07-27 07:03:57 +0200 (Fri, 27 Jul 2007) | 3 lines

Object Transform:

If object has a parent, and constraints should not be inversed for transform, then constraints are now disabled like tracking is. 
------------------------------------------------------------------------
r11378 | campbellbarton | 2007-07-26 16:32:32 +0200 (Thu, 26 Jul 2007) | 2 lines

fix from 2.44 for adding new curves.

------------------------------------------------------------------------
r11376 | blendix | 2007-07-26 15:38:24 +0200 (Thu, 26 Jul 2007) | 8 lines


Refactor the raytracing code to split the tracing and shading parts into
two separate files, raytrace.c and rayshade.c. The tracing code can now
be used separately from the renderer (will be used in a later commit),
and the raytracing acceleration structure can now also be easily replaced,
if someone wants to experiment with that.


------------------------------------------------------------------------
r11375 | aligorith | 2007-07-26 14:15:55 +0200 (Thu, 26 Jul 2007) | 3 lines

== PyAPI - Constraints Space Conversion Access ==

Now, for the constraints that support Constraint Space Conversion, those settings can now be set from the PyAPI too. 
------------------------------------------------------------------------
r11374 | jiri | 2007-07-26 12:15:06 +0200 (Thu, 26 Jul 2007) | 1 line

Forgot to commit czech blender.mo in previous commit
------------------------------------------------------------------------
r11373 | jiri | 2007-07-26 12:04:56 +0200 (Thu, 26 Jul 2007) | 1 line

Updated czech translation from Petr Pluhacek (pitris)
------------------------------------------------------------------------
r11371 | aligorith | 2007-07-26 08:11:58 +0200 (Thu, 26 Jul 2007) | 3 lines

PyAPI Simple Bugfix:

This fixes a bug reported in IRC. getParentBoneName() was returning a string (most likely from an old bone-parent that got removed), even when the parent wasn't an Armature.
------------------------------------------------------------------------
r11366 | aligorith | 2007-07-25 13:38:50 +0200 (Wed, 25 Jul 2007) | 3 lines

Transform - Objects with Old-Tracking:

Tracking is now tempolarily disabled while an object matrix used for space conversions stuff is calculated. This used to be done before the constraints recode.
------------------------------------------------------------------------
r11365 | campbellbarton | 2007-07-25 06:45:20 +0200 (Wed, 25 Jul 2007) | 2 lines

removing unneeded checks

------------------------------------------------------------------------
r11359 | sirdude | 2007-07-24 17:24:19 +0200 (Tue, 24 Jul 2007) | 5 lines

Cleaned up some case issues with language files...

Kent


------------------------------------------------------------------------
r11358 | aligorith | 2007-07-24 14:15:23 +0200 (Tue, 24 Jul 2007) | 3 lines

Transform Bugfixes Part 2 (Constraints Related):

Now PoseBones should transform normally again with constraints applied and in other cases. I've gone back to the old code that used to be there before the recode, and added the constraint inverse (as appropriate) into that.
------------------------------------------------------------------------
r11357 | aligorith | 2007-07-24 13:39:40 +0200 (Tue, 24 Jul 2007) | 4 lines

Bugfixes for Transform (related to Constraints):
* Reverting a previous commit where I wrongly assumed that the code was not doing things the right way. This makes a few cases work better normally again.
* Object-level Transforms should now perform normally again. Now, transforms are only get inverse-corrected for constraints if certain constraints are the first 'active' constraint. 
* PoseBone-level Transforms still need to be fixed, although I might have done a few tweaks here.
------------------------------------------------------------------------
r11356 | aligorith | 2007-07-24 12:24:25 +0200 (Tue, 24 Jul 2007) | 3 lines

More constraints bugfixes:
* Action constraints on some older files (namely mancandy) should now get correctly loaded. Wrong check for subversion number was being used
* Removed unneeded version patches
------------------------------------------------------------------------
r11355 | aligorith | 2007-07-24 07:08:55 +0200 (Tue, 24 Jul 2007) | 5 lines

== Constraints - Important Bugfix ==

I've finally fixed the bug with the Constraint Space Conversion. It was a single matrix multiplication in the wrong order (for local->pose). 

Also, there is more code added for the space conversion process when bones have 'hinge' on. (NOTE: this stuff for hinge bones may still not work really nice yet) 
------------------------------------------------------------------------
r11353 | khughes | 2007-07-23 22:38:04 +0200 (Mon, 23 Jul 2007) | 4 lines

Removing what appears to be useless code which causes gcc warnings.  Appears
to be a cut-n-paste error: Joshua, please double-check.


------------------------------------------------------------------------
r11351 | scourage | 2007-07-23 17:22:34 +0200 (Mon, 23 Jul 2007) | 3 lines

Changed logic for early out to require only one input, not two.  This allows for an image to be processed with a value.


------------------------------------------------------------------------
r11349 | ton | 2007-07-23 16:16:41 +0200 (Mon, 23 Jul 2007) | 11 lines

Bugfix #6918

- Multilayer EXR files:
  Rendering without "do composite" skipped to render the vector pass

- Also found a wrong loop, missing to clear speed vectors in the first 
  pixel of a tile, causing error print:
  "Found uninitialized speed in vector buffer... fixed"



------------------------------------------------------------------------
r11348 | aligorith | 2007-07-23 13:45:13 +0200 (Mon, 23 Jul 2007) | 5 lines

== Action Editor - Bugfixes ==

* It is now possible to work on keyframe data/scrub the timeline when the Action Editor is squished up so that the left-hand panel disappears. 
* I'm not sure whether I've eliminated a bug with long-keyframes where sometimes the selection status was show incorrectly (keyframe after keyframe marking end of long-keyframe is selected, results in long-keyframe selection).
* Changed a few obscure comments
------------------------------------------------------------------------
r11347 | aligorith | 2007-07-23 13:28:43 +0200 (Mon, 23 Jul 2007) | 3 lines

== Constraints - Bugfixes ==

Here are some attempts at fixing bugs being encountered with the constraint system after the recode. I've just fixed a few typos (where relevant), and added some extra checks for things.
------------------------------------------------------------------------
r11343 | joeedh | 2007-07-23 04:28:47 +0200 (Mon, 23 Jul 2007) | 8 lines

=Rendering Bugfix=

For some odd reason, shadow calculation was skipped if diffuse was 0.0.  This
however would cause errors where specularity would ignore shadows.  After all,
just because the shaded diffuse of a point is fully black, doesn't mean
the specularity highlight doesn't include that point.

Ton: you might want to look at this, though it's just a one-liner.
------------------------------------------------------------------------
r11340 | theeth | 2007-07-23 03:34:07 +0200 (Mon, 23 Jul 2007) | 5 lines

Partial fix for #6875 Normal aligned transform-constraining not working for bone scaling in pose mode

Bone matrix wasn't being applied properly.

There's still a bug left with the translation part of the resize but that is a less frequent situation, so I'll commit this while I figure out a fix.
------------------------------------------------------------------------
r11339 | theeth | 2007-07-23 03:12:07 +0200 (Mon, 23 Jul 2007) | 3 lines

Fix for #6946 Save UV layout broken for large wire sizes

This also helped me pinpoint a couple of off by one errors in the UV rasterizing code. One especially noteworthy was that all UV at 1.0 (on the 0..1 scale) didn't render properly.
------------------------------------------------------------------------
r11332 | aligorith | 2007-07-22 12:54:00 +0200 (Sun, 22 Jul 2007) | 3 lines

Just a few little code cleanups for IPO cleaning code:
* Replaced magic numbers (3rd argument for memcpy functions) with sizeof(float)*2 just to be safe, in case some weirdo compiler out there doesn't like them.
* Made a few comments a bit more descriptive
------------------------------------------------------------------------
r11330 | campbellbarton | 2007-07-22 01:24:08 +0200 (Sun, 22 Jul 2007) | 6 lines

fixed some bugs in Draw.c
* incorrect args to Draw.Create() would crash blender because it wasnt deallocating the value properly.
* deallocation of an uninitialized button could also try and free uninitialized memory if the type happened to be a STRING.
* removed the unused tooltip pointer from teh Draw.h's Button struct.


------------------------------------------------------------------------
r11327 | aligorith | 2007-07-21 09:26:15 +0200 (Sat, 21 Jul 2007) | 13 lines

== Transformation Constraint ==

This commit adds a new constraint to Blender: the Transformation Constraint. This constraint gives you more freedom to choose how transforms are copied from one object/bone to another object/bone. 

You can assign the Loc/Rot/Scale channels of a source to the Loc/Rot/Scale channels of a destination, specifying the range of motion (per axis) from the source to consider, and the range of motion (per axis) that will be applied to the destination. Also, for each destination axis, you can choose which of the source axes to copy from. 

A similar constraint was coded by Jason Blary (snark), as Patch #4991. This constraint is basically rewritten from scratch, although there are some elements of the original patch which may be borrowed in future.

Various notes:
* PyAPI access has been coded. 
* Space conversion is also enabled for this constraint.
* Also the useless get_constraint_col function has been removed
* Doing a rotation copy with a ratio that is not 1:1 doesn't always work correctly yet (like for the Copy Rotation constraint).
------------------------------------------------------------------------
r11326 | campbellbarton | 2007-07-21 05:54:20 +0200 (Sat, 21 Jul 2007) | 2 lines

fix for Curve appendNurb

------------------------------------------------------------------------
r11321 | campbellbarton | 2007-07-20 04:23:55 +0200 (Fri, 20 Jul 2007) | 2 lines

removing 2 getset duplicates 

------------------------------------------------------------------------
r11320 | campbellbarton | 2007-07-20 00:02:22 +0200 (Fri, 20 Jul 2007) | 2 lines

Use texture constants in the interface and added some missing texture constants.

------------------------------------------------------------------------
r11315 | campbellbarton | 2007-07-19 16:28:57 +0200 (Thu, 19 Jul 2007) | 2 lines

was missing header

------------------------------------------------------------------------
r11314 | campbellbarton | 2007-07-19 14:29:28 +0200 (Thu, 19 Jul 2007) | 2 lines

removing duplicate constants

------------------------------------------------------------------------
r11313 | aligorith | 2007-07-19 13:46:37 +0200 (Thu, 19 Jul 2007) | 3 lines

== SDNA - Code Comments ==

Added a few comments about various Animation-System Related structs. Hopefully, these will be helpful for people trying to get familiar with the code.
------------------------------------------------------------------------
r11312 | campbellbarton | 2007-07-19 02:42:01 +0200 (Thu, 19 Jul 2007) | 3 lines

added commends to some DNA_*.h files - as well as some TODO's for removal.
header_view3d.c was doign an implicit declaration also.

------------------------------------------------------------------------
r11304 | joeedh | 2007-07-18 17:22:42 +0200 (Wed, 18 Jul 2007) | 5 lines

=Shapekey Missing Undopush bugfix=

Added some missing undo pushes in editkey.c.  Now when you add/delete
shapekeys, you can do undo and actually have it undo adding/deleting the
shade keys.
------------------------------------------------------------------------
r11297 | aligorith | 2007-07-17 14:09:36 +0200 (Tue, 17 Jul 2007) | 1 line

Argh... coding while sleepy.. con->max not con->min.
------------------------------------------------------------------------
r11296 | aligorith | 2007-07-17 14:03:17 +0200 (Tue, 17 Jul 2007) | 3 lines

== Constraints Work - PyAPI ==

A few tweaks to documentation and implementation of PyAPI access for constraints following Constraints recode. Just doing a little bit of cleanup.
------------------------------------------------------------------------
r11295 | aligorith | 2007-07-17 13:51:11 +0200 (Tue, 17 Jul 2007) | 1 line

Removed a variable that wasn't needed, but somehow ended up in the commit the other day.
------------------------------------------------------------------------
r11292 | bdiego | 2007-07-16 21:04:42 +0200 (Mon, 16 Jul 2007) | 3 lines

Small fix: need set the color before call glRasterPos or don't work.


------------------------------------------------------------------------
r11289 | aligorith | 2007-07-16 14:20:57 +0200 (Mon, 16 Jul 2007) | 3 lines

Bugfix #6831: Crash when combining duplivert and mirror

I've added checks which should prevent crashes in this case. Sometimes vertex_dupli__mapFunc is called with no_f being NULL, but no_s should not be NULL in those cases.
------------------------------------------------------------------------
r11288 | jiri | 2007-07-16 11:09:01 +0200 (Mon, 16 Jul 2007) | 1 line

updated scons build system, neccesary after erwin's commit
------------------------------------------------------------------------
r11287 | erwin | 2007-07-16 07:56:51 +0200 (Mon, 16 Jul 2007) | 4 lines

bugfixes for generic (experimental) Bullet rigidbody constraint: use cone-twist instead (needs a few more minor fixes)

Note: Visual Studio projectfiles and other buildsystems need to add extern/bullet2/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp to the project!

------------------------------------------------------------------------
r11286 | aligorith | 2007-07-16 07:49:04 +0200 (Mon, 16 Jul 2007) | 3 lines

Bugfix #6945: Weight painting bug

Trying to Clear Rotation of a armature bone while in Weight Painting mode didn't work anymore due to Bugfix #6486. Now it checks if ob==active_object and also if weightpainting is on.
------------------------------------------------------------------------
r11282 | campbellbarton | 2007-07-15 21:31:45 +0200 (Sun, 15 Jul 2007) | 2 lines

was missing colorband from the flags in the epy docs

------------------------------------------------------------------------
r11279 | elubie | 2007-07-15 18:28:25 +0200 (Sun, 15 Jul 2007) | 3 lines

== MSVC 7.1 project files ==
- updated bullet files with btConeTwistConstraint.h and btConeTwistConstraint.cpp

------------------------------------------------------------------------
r11278 | elubie | 2007-07-15 16:55:09 +0200 (Sun, 15 Jul 2007) | 6 lines

== MSVC compilation ==
two small fixes in this commit:
- added new file for nodes 
- fixed compile error in readfile.c, as reported by Jean-Michel Soler here:
  http://lists.blender.org/pipermail/bf-committers/2007-July/018849.html

------------------------------------------------------------------------
r11276 | aligorith | 2007-07-15 09:05:24 +0200 (Sun, 15 Jul 2007) | 4 lines

A few minor changes:

* Removed obsolete comments from constraints code
* ChildOf constraint buttons: Set/Clear Inverse are now Set/Clear Offset. Hopefully that makes it a bit clearer for users.
------------------------------------------------------------------------
r11275 | aligorith | 2007-07-15 06:35:56 +0200 (Sun, 15 Jul 2007) | 4 lines

Bugfix #6915:

Passepartout function hides camera name (show name).
Now it uses the Text-Highlighted theme colour instead.
------------------------------------------------------------------------
r11274 | aligorith | 2007-07-15 06:31:47 +0200 (Sun, 15 Jul 2007) | 3 lines

== TrackTo Constraint ==

Now this constraint has the space-conversion buttons too (by special request of joeedh).
------------------------------------------------------------------------
r11273 | aligorith | 2007-07-15 05:35:37 +0200 (Sun, 15 Jul 2007) | 27 lines

== Constraints System ==

After just over a week of coding, I've finished doing a major refactor/cleanup of the constraints code. In the process, quite a few old kludges and ugly hacks have been removed. Also, some new features which will greatly benefit riggers have been implemented.

=== What's New ===
* The long-awaited ``ChildOf Constraint'':
This allows you to animate parent influences, and choose which transformation channels the parent affects the child on (i.e. no translation/rotation/scaling). It should be noted that disabling some combinations may not totally work as expected. Also, the 'Set Inverse' and 'Clear Inverse' buttons at the bottom of this constraint's panel set/clear the inverse correction for the parent's effects. Use these to make the owner not stick/be glued to the parent.
* Constraint/Target Evaluation Spaces:
In some constraints, there are now 1-2 combo boxes at the bottom of their panel, which allows you to pick which `co-ordinate space' they are evaluated in. This is much more flexible than the old 'local' options for bones only were.
* Action Constraint - Loc/Rot/Size Inputs
The Action Constraint can finally use the target's location/rotation/scaling transforms as input, to control the owner of the constraint. This should work much more reliably than it used to. The target evaluation should now also be more accurate due to the new space conversion stuff.
* Transform - No longer in Crazy Space (TM)
Transforming objects/bones with constraints applied should no longer occur in Crazy Space. They are now correctly inverse-corrected. This also applies to old-style object tracking.

=== General Code Changes ===
* solve_constraints is now in constraints.c. I've removed the old `blend consecutive constraints of same type' junk, which made the code more complex than it needed to be.
* evaluate_constraint is now only passed the constraint, and two matrices. A few unused variables have been removed from here.
* A tempolary struct, bConstraintOb, is now passed to solve_constraints instead of relying on an ugly, static workobject in some cases. This works much better.
* Made the formatting of constraint code consistent
* There's a version patch for older files so that constraint settings are correctly converted to the new system. This is currently done for MajorVersion <= 244, and SubVersion < 3. I've bumped up the subversion to 3 for this purpose. However, with the imminent 2.45 release, this may need to be adjusted accordingly.
* LocEulSizeToMat4 and LocQuatSizeToMat4 now work in the order Size, Rot, Location. I've also added a few other math functions.
* Mat4BlendMat4 is now in arithb. I've modified it's method slightly, to use other arithb functions, instead of its crazy blending scheme. 
* Moved some of the RigidBodyJoint constraint's code out of blenkernel, and into src. It shouldn't be setting its target in its data initialisation function based + accessing scene stuff where it was doing so.

=== Future Work ===
* Geometry to act as targets for constraints. A space has been reserved for this already. 
* Tidy up UI buttons of constraints
------------------------------------------------------------------------
r11263 | khughes | 2007-07-13 16:38:44 +0200 (Fri, 13 Jul 2007) | 5 lines

Python API
----------
Remove unused variable declaration which caused gcc warnings.


------------------------------------------------------------------------
r11259 | sirdude | 2007-07-12 23:39:19 +0200 (Thu, 12 Jul 2007) | 5 lines

Another update of the Italian translation from fiott.

Kent


------------------------------------------------------------------------
r11258 | campbellbarton | 2007-07-12 22:49:36 +0200 (Thu, 12 Jul 2007) | 3 lines

Revision: 11257 from 2.44 stable


------------------------------------------------------------------------
r11245 | khughes | 2007-07-12 17:32:15 +0200 (Thu, 12 Jul 2007) | 6 lines

Python API
----------

Fix uninitialized variable in MEdge_setSel.


------------------------------------------------------------------------
r11244 | khughes | 2007-07-12 17:24:08 +0200 (Thu, 12 Jul 2007) | 14 lines

Tools
-----
More improvements to boolean tools.  The main change (although very little in
code) is changing fuzzy comparisons of floating point values.  For testing, a
new define is added in intern/boolop/intern/BOP_MathUtils.h called
VAR_EPSILON, which enables better comparisons.  This is turned on by default;
undefining it will revert to using the previous comparisons.  The downside of
these new comparisons is a loss in speed, but the resulting meshes are more
likely to be manifold (although still not always).

The other changes include speed improvements based on profiling results and
fixes for the improper creation of triangular faces with only two vertices.


------------------------------------------------------------------------
r11243 | sirdude | 2007-07-12 17:18:14 +0200 (Thu, 12 Jul 2007) | 5 lines

Added only's to the tooltips

Kent


------------------------------------------------------------------------
r11242 | sirdude | 2007-07-12 16:46:14 +0200 (Thu, 12 Jul 2007) | 5 lines

Removing the double negitives in the tooltips talked about last night.

Kent


------------------------------------------------------------------------
r11241 | campbellbarton | 2007-07-12 13:51:21 +0200 (Thu, 12 Jul 2007) | 13 lines

From stable

Revision: 11237
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11237
Author:   campbellbarton
Date:     2007-07-12 13:05:31 +0200 (Thu, 12 Jul 2007)

Log Message:
-----------
PyObject_IsTrue was missing a check for an error return value in many cases.



------------------------------------------------------------------------
r11233 | sirdude | 2007-07-11 23:18:37 +0200 (Wed, 11 Jul 2007) | 7 lines

Little typo found by Renato Perini

I hate the wording of these tooltips but can not think
of something better currently so I'm just fixing the spelling.

Kent

------------------------------------------------------------------------
r11231 | sirdude | 2007-07-11 20:45:39 +0200 (Wed, 11 Jul 2007) | 7 lines

Added a flush after fprintf  
This is patch [#6921] Make error printing a bit more reliable
from GSR
http://projects.blender.org/tracker/index.php?func=detail&aid=6921&group_id=9&atid=127

Kent

------------------------------------------------------------------------
r11226 | aligorith | 2007-07-11 12:13:59 +0200 (Wed, 11 Jul 2007) | 3 lines

Bugfix #6931:

I-Key on Fields not working for Empty Object. Was wrongly only checking for Meshes.
------------------------------------------------------------------------
r11225 | scourage | 2007-07-11 05:33:28 +0200 (Wed, 11 Jul 2007) | 5 lines

One more time....I misunderstood the guidance about values as inputs for 
the math node.  Now it functions with two values as inputs (no image 
neccissary).  Kinda back where it started ;)


------------------------------------------------------------------------
r11224 | scourage | 2007-07-11 05:00:39 +0200 (Wed, 11 Jul 2007) | 13 lines

After chatting with Broken about grs comments on  the default behavior 
of the nodes, I realized I had strayed from the path of enlightened blending 
by causing the math node to create an output the size of the larger of the 
two inputs.  

It has been corrected create the output the size of the 
first image, and in its abscense the second image.  In the event of 
nether input containing image data the node does not function.  I also 
added some early out checks at the beginning of the function to speed it 
up a tad in these cases and commented the code a bit more.  



------------------------------------------------------------------------
r11222 | scourage | 2007-07-11 03:03:39 +0200 (Wed, 11 Jul 2007) | 4 lines

Updated Contributor line in GPL header to reflect original source. This 
closes patch #6215-Normalize.


------------------------------------------------------------------------
r11217 | sirdude | 2007-07-10 21:34:41 +0200 (Tue, 10 Jul 2007) | 8 lines

Removed comments with non ascii chars...

I left the link that points to documentation on the web so not really needed 
anyway.

Kent


------------------------------------------------------------------------
r11215 | sirdude | 2007-07-10 21:13:03 +0200 (Tue, 10 Jul 2007) | 13 lines

This is patch [#6929] Interpolation Methods
http://projects.blender.org/tracker/index.php?func=detail&aid=6929&group_id=9&atid=127
Its a subset of patch [#6766] Transform Sequencer effect

It adds 3 image functions for different types of interpolation.
For people that like pictures:
http://wiki.blender.org/index.php/User:Damiles#Interpolations_Algorithms

Patch provided by David Millán Escrivá (damiles)

Kent


------------------------------------------------------------------------
r11209 | sirdude | 2007-07-10 17:34:43 +0200 (Tue, 10 Jul 2007) | 5 lines

patch #6926 update to the fr translation 
Provided by Erwan Jacq (eon)

Kent

------------------------------------------------------------------------
r11208 | bdiego | 2007-07-10 17:24:48 +0200 (Tue, 10 Jul 2007) | 11 lines

Fix regression reported by Early Ehlinger on ML.
Original bug:
	https://projects.blender.org/tracker/?group_id=9&atid=127&func=detail&aid=3760

Code remove in revision 6654:
	http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6491&r2=6654

and return in revision 6839 (without the point checking):
	http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6835&r2=6839


------------------------------------------------------------------------
r11207 | sirdude | 2007-07-10 17:10:32 +0200 (Tue, 10 Jul 2007) | 10 lines

Update to the translation code.  Patch provided by dripstone.
Basically move stuff out of filesel.c and into language.c and changes
when exactly it does the conversion.  It was doing it when not needed for
some machines.  It probably still needs work but its slowly getting better.

I also removed some commented out code.

Kent


------------------------------------------------------------------------
r11204 | scourage | 2007-07-10 04:33:00 +0200 (Tue, 10 Jul 2007) | 3 lines

Fixed typo.  Ooops.


------------------------------------------------------------------------
r11203 | scourage | 2007-07-10 04:27:37 +0200 (Tue, 10 Jul 2007) | 2 lines

Added normalize compositing node. 

------------------------------------------------------------------------
r11202 | scourage | 2007-07-10 04:06:10 +0200 (Tue, 10 Jul 2007) | 3 lines

Committed patch fixing bug #6900.  Math node now has reflective 
behavior. 

------------------------------------------------------------------------
r11200 | joeedh | 2007-07-09 22:42:14 +0200 (Mon, 09 Jul 2007) | 11 lines

=ID Property update=

ID Properties weren't being duplicated (by shift-D or any of the other
duplication functions).  So now ID properties are duplicated in the 
main copy_libblock function, which (as far as I can check) covers all
ID-contained ID properties.

I also updated the constraint system to copy pyconstraint ID properties
on shift-D.

This would probably be a good thing to add to the stable branch, btw.
------------------------------------------------------------------------
r11199 | campbellbarton | 2007-07-09 19:33:38 +0200 (Mon, 09 Jul 2007) | 5 lines

bugfix's for 6917 and 6913 - Both were because I forgot to check all other selected meshes for faceUV's

Also made image_auto_layout.py use blenders internal boxpacking rather then the slower python one.


------------------------------------------------------------------------
r11198 | sirdude | 2007-07-09 18:17:33 +0200 (Mon, 09 Jul 2007) | 5 lines

Was a missing -DWITH_FFMPEG here so I added it.

Kent


------------------------------------------------------------------------
r11197 | khughes | 2007-07-09 18:03:26 +0200 (Mon, 09 Jul 2007) | 6 lines

Bug #6924: Add WITH_FFMPEG compilation switch when WITH_BF_FFMPEG is true for
scons.  

Can someone verify that other build systems are also including this?


------------------------------------------------------------------------
r11191 | khughes | 2007-07-07 19:33:46 +0200 (Sat, 07 Jul 2007) | 4 lines

Correct comments in example for Python Ipo module doc.
Remove redundant description of yafrayGIMethod in Python Render module doc.


------------------------------------------------------------------------
r11188 | erwin | 2007-07-06 22:29:26 +0200 (Fri, 06 Jul 2007) | 2 lines

removed "btHingeConstraint::" prefix, in btHingeConstraint::btHingeConstraint(btRigidBody& rbA,const btVector3& pivotInA,btVector3& axisInA);

------------------------------------------------------------------------
r11187 | sirdude | 2007-07-06 20:20:48 +0200 (Fri, 06 Jul 2007) | 10 lines

I cleaned up make release a little bit, now
its not hard coded if it trys to do a static build or not.  It
uses the same vars that decide if your building a static blender to
determine if it should make a static package.

I also found a typo on OSX for make release and thats fixed now

Kent


------------------------------------------------------------------------
r11184 | aligorith | 2007-07-06 12:43:17 +0200 (Fri, 06 Jul 2007) | 1 line

Bother... previous commit still didn't solve the problem.
------------------------------------------------------------------------
r11183 | aligorith | 2007-07-06 11:59:18 +0200 (Fri, 06 Jul 2007) | 9 lines

== Action Editor Bugfixes ==

Resolved Issues:
* My drawing cleanup commit the other day broke shapekey keyframe selection - was using wrong filter for Action Editor data
* Removed the old hack to limit vertical scrolling so that shapekeys were visible. It wasn't really needed anymore, and was causing problems with HomeKey.

Unresolved Issues:
* Vertical placement of sliders is slightly off
* In a test file I obtained, shapekey sliders don't work immediately after the file is loaded.
------------------------------------------------------------------------
r11182 | erwin | 2007-07-06 06:45:57 +0200 (Fri, 06 Jul 2007) | 1 line

//someone reversed axle direction conventions inside Bullet (axle winding), so need to compensate to keep game blender vehicles working the same.
------------------------------------------------------------------------
r11181 | erwin | 2007-07-06 06:30:25 +0200 (Fri, 06 Jul 2007) | 1 line

fixed issue with kinematic objects
------------------------------------------------------------------------
r11178 | erwin | 2007-07-06 05:12:31 +0200 (Fri, 06 Jul 2007) | 1 line

synchronized to latest version of Bullet. added btConeTwistConstraint (useful for ragdolls etc)
------------------------------------------------------------------------
r11172 | campbellbarton | 2007-07-05 13:28:11 +0200 (Thu, 05 Jul 2007) | 2 lines

Ipo doc correction thanks to kempoller

------------------------------------------------------------------------
r11167 | elubie | 2007-07-04 21:29:59 +0200 (Wed, 04 Jul 2007) | 3 lines

== MSVC 7.1 project files ==
- removed unused project keymaker

------------------------------------------------------------------------
r11165 | aligorith | 2007-07-04 09:07:12 +0200 (Wed, 04 Jul 2007) | 5 lines

Bugfix: 'Random' crashes after duplicating bones

This commit should fix some seemingly random crashes broken and I have been experiencing while editing armatures.

A backtrace revealed that autosave was choking on the PoseChannels that didn't have a Bone assigned to them. This was caused by the bone duplication code making a new PoseChannel for a duplicated bone, but that new bone not getting assigned to the PoseChannel yet, as the user was still in EditMode.
------------------------------------------------------------------------
r11160 | sirdude | 2007-07-03 19:55:32 +0200 (Tue, 03 Jul 2007) | 17 lines

Updated Italian translation submitted by fiott

Just for instructions for other people on how to do this, incase Tom
is away. ;)
first update the po in blender/po
Then if your using the Makefiles you need to copy The mo from
blender/obj/(platform)/bin/.blender/locale to blender/bin/.blender/locale

alternately you can create it by hand with msgfmt -o blender.mo (your.po)
and then copy it over...

We should really clean this up and or come up with a better way to do it
eventually.

Kent


------------------------------------------------------------------------
r11158 | campbellbarton | 2007-07-03 18:04:41 +0200 (Tue, 03 Jul 2007) | 2 lines

was missing a decref and leaking ram when building the static particle list

------------------------------------------------------------------------
r11157 | bebraw | 2007-07-03 16:49:41 +0200 (Tue, 03 Jul 2007) | 3 lines

Fix for bug #6907:
Compile was broken due to two variable names being inappropriate. I renamed
them fixing the issue.
------------------------------------------------------------------------
r11155 | aligorith | 2007-07-03 13:53:17 +0200 (Tue, 03 Jul 2007) | 3 lines

Icons Bugfix: 

Remove a single annoying 1x16 unwanted pixel column from one of the icons I added earlier today.
------------------------------------------------------------------------
r11154 | bebraw | 2007-07-03 13:39:36 +0200 (Tue, 03 Jul 2007) | 4 lines

"Render to image editor" to render to Buttons Window as the last alternative:
"Render to image editor" renders to Buttons Window only if no other suitable
windows are available. Other window types are prioritized before Buttons
Window.
------------------------------------------------------------------------
r11153 | broken | 2007-07-03 09:39:17 +0200 (Tue, 03 Jul 2007) | 3 lines

* Added a bit more 'padding' around the node sockets, so there's a
larger area to drop the noodle connection on. This helps a lot when 
working with lots of nodes and the view zoomed out to maximum.
------------------------------------------------------------------------
r11152 | broken | 2007-07-03 09:30:42 +0200 (Tue, 03 Jul 2007) | 3 lines

* Added a hotkey (T) for the sculpt mode flatten brush

(part of this commmit snuck in the last one)
------------------------------------------------------------------------
r11151 | broken | 2007-07-03 09:24:55 +0200 (Tue, 03 Jul 2007) | 3 lines

* Removed the 'Beautify Fill' confirmation. None of the other fill 
tools have them any more, it was an annoying historical artifact
from before undo.
------------------------------------------------------------------------
r11150 | broken | 2007-07-03 09:22:28 +0200 (Tue, 03 Jul 2007) | 2 lines

* Added the invisible 'Bone envelopes to vertex groups' command to
the 3D View Weight Paint -> Paint menu.
------------------------------------------------------------------------
r11147 | aligorith | 2007-07-03 03:23:30 +0200 (Tue, 03 Jul 2007) | 3 lines

== Action/IPO Mute Icons ==

Added new defines for the icons used to show this, on the request of Matt Ebb. For now, the eye icons have simply been duplicated to the new spaces, but 'more descriptive' icons should be made.
------------------------------------------------------------------------
r11146 | aligorith | 2007-07-03 02:58:38 +0200 (Tue, 03 Jul 2007) | 4 lines

== Constraints/Arithb Code ==

* Formatting 'fixes' for more consistency with rest of code
* Moved Mat4BlendMat4 from constraint.c to arithb.c/h
------------------------------------------------------------------------
r11144 | aligorith | 2007-07-02 14:04:22 +0200 (Mon, 02 Jul 2007) | 5 lines

== Action Editor ==

Some cleanups of the Action Editor drawing methods. These now make use of the filtering stuff I added for the backend cleanup.

Unfortuantely I still cannot get Blender's ui widgets to really work properly, so that toggle icons can have tooltips. There were some severe scaling issues.
------------------------------------------------------------------------
r11138 | jesterking | 2007-07-01 10:55:50 +0200 (Sun, 01 Jul 2007) | 1 line

* make sure stdc++ is linked against.
------------------------------------------------------------------------
r11137 | campbellbarton | 2007-07-01 10:08:16 +0200 (Sun, 01 Jul 2007) | 4 lines

edits from zanqdo as well as randomize on single axis was broken.
and some other minor tweaks from me


------------------------------------------------------------------------
r11136 | campbellbarton | 2007-07-01 07:41:23 +0200 (Sun, 01 Jul 2007) | 5 lines

replace PyInt_CheckExact with PyInt_Check, same for floats and strings so subclass and C/subtypes work.

was reported as a bug a while ago.


------------------------------------------------------------------------
r11134 | khughes | 2007-06-30 23:32:24 +0200 (Sat, 30 Jun 2007) | 11 lines

Tools:
------
Bugfix #6847: Previous fix for "spikes" when using booleans caused creation
of faces with only two unique vertices ("eekadoodles").  This patch cleans up
the test for triangles with near-colinear vertices so PHANTOM faces can be
used again, and also adds a hack for now which removes any eekadoodle faces.

I haven't figured out yet exactly how the faces are being created; if I can
do so and fix it the hack will be removed.


------------------------------------------------------------------------
r11132 | aligorith | 2007-06-30 05:26:18 +0200 (Sat, 30 Jun 2007) | 1 line

readfile.c - fixed a indentention on a few lines
------------------------------------------------------------------------
r11130 | campbellbarton | 2007-06-30 02:18:10 +0200 (Sat, 30 Jun 2007) | 2 lines

reversing unintentional changes.

------------------------------------------------------------------------
r11129 | campbellbarton | 2007-06-30 02:00:04 +0200 (Sat, 30 Jun 2007) | 2 lines

mixed decloration, own Lattice typo's

------------------------------------------------------------------------
r11125 | campbellbarton | 2007-06-29 15:46:15 +0200 (Fri, 29 Jun 2007) | 2 lines

same as 2.44 stable - missing NULL checks.

------------------------------------------------------------------------
r11123 | campbellbarton | 2007-06-29 10:59:26 +0200 (Fri, 29 Jun 2007) | 2 lines

remove unneeded checks from the python API

------------------------------------------------------------------------
r11120 | campbellbarton | 2007-06-29 07:33:43 +0200 (Fri, 29 Jun 2007) | 6 lines

patch from harkyman to make it possible to extend images to span more frames in the sequencer.

Link includes example script
https://projects.blender.org/tracker/?func=detail&aid=6893&group_id=9&atid=127


------------------------------------------------------------------------
r11101 | sirdude | 2007-06-28 17:57:54 +0200 (Thu, 28 Jun 2007) | 10 lines

Code cleanup's done by bedraw
This is patch #6886
https://projects.blender.org/tracker/index.php?func=detail&aid=6886&group_id=9&atid=127

removes some unused define's and some code that is no longer used and fixes some
formatting issues.

Kent


------------------------------------------------------------------------
r11099 | campbellbarton | 2007-06-28 15:46:42 +0200 (Thu, 28 Jun 2007) | 4 lines

Mesh.c - added missing error checking for vert ranges and that verts are valid.
Mesh.c - removed unneeded checks for creating ints.
Text3d.c - own error - setting the 3d text didnt work, 1 liner fix.

------------------------------------------------------------------------
r11098 | sirdude | 2007-06-28 14:24:00 +0200 (Thu, 28 Jun 2007) | 5 lines

Just cleaning up dirs no longer in use.

Kent


------------------------------------------------------------------------
r11094 | jesterking | 2007-06-28 10:33:04 +0200 (Thu, 28 Jun 2007) | 1 line

* adds EmptyMesh to the menu
------------------------------------------------------------------------
r11091 | sirdude | 2007-06-27 17:08:31 +0200 (Wed, 27 Jun 2007) | 10 lines

This is a fix for game engine bug #6667
http://projects.blender.org/tracker/index.php?func=detail&aid=6667&group_id=9&atid=306

I moved some of the X11 initation code down a little bit so that
if you run gameplayer with no args or gameplayer -h 
it will not crash even if you do not have X11 present.
(All it does is print usage)

Kent

------------------------------------------------------------------------
r11080 | sirdude | 2007-06-26 20:40:41 +0200 (Tue, 26 Jun 2007) | 6 lines

Not all systems it seems has socklen_t defined.  If its missing 
typedef it as an int.

Kent


------------------------------------------------------------------------
r11077 | sirdude | 2007-06-26 20:15:45 +0200 (Tue, 26 Jun 2007) | 6 lines

a var was declared twice in the same function, just removing the
second declaration.

Kent


------------------------------------------------------------------------
r11076 | harkyman | 2007-06-26 19:46:12 +0200 (Tue, 26 Jun 2007) | 9 lines

Adds the following selection methods to the Sequence Editor:

Ctrl-RMB and Alt-RMB now call for different selection methods that are helpful when working within a single channel that holds several strips. The Ctrl modifier signals "Right" and the Alt modifier signals "Left".

Ctrl-RMB clicking a strip will select that strips left handle and the adjacent handle of any strip that abuts it on the left, allowing you to move the boundary between the strips without changing their outer endpoints. Ctrl-RMB clicking again on that strip will add to the selection all strips to the left of it, allowing you to slide the entire set of strips out of the way for a new one.

Alt-RMB works the same, but to the right.

Ctrl-Alt-RMB on a strip selects the surrounding handles only, allowing you to move the targeted strip and have the surrounding two strips adjust to follow.
------------------------------------------------------------------------
r11075 | sirdude | 2007-06-26 18:16:13 +0200 (Tue, 26 Jun 2007) | 14 lines

This is patch #6833
https://projects.blender.org/tracker/index.php?func=detail&aid=6833&group_id=9&atid=127

It adds the option when creating a new "screen" to create an empty one
(one with one window)

While its one more click, I think this is pretty dang useful.  If people
want to revert it feel free, and we can talk about it.
This seems more consistant with the Scene bar though so I figured it was safe 
to add it.

Kent


------------------------------------------------------------------------
r11072 | sirdude | 2007-06-26 17:15:41 +0200 (Tue, 26 Jun 2007) | 9 lines

This is for bug #6883 Add usefull error message to GL failure...
https://projects.blender.org/tracker/index.php?func=detail&aid=6883&group_id=9&atid=125

I just cut and paste the printf provided in the bug report.  Its usefull info
at this point.

Kent


------------------------------------------------------------------------
r11071 | sirdude | 2007-06-26 17:08:40 +0200 (Tue, 26 Jun 2007) | 10 lines

This is a fix for bug #6856 (Verse crashing on 64bit linux)

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

I basically fixed some warnings about imcompatable types on 64bit linux
and the crashing stopped.

Kent


------------------------------------------------------------------------
r11067 | jiri | 2007-06-26 14:19:19 +0200 (Tue, 26 Jun 2007) | 4 lines

- Added several new callback functions for geometry node.
- Refactored geometry layers.
- Removed several unused debug prints.

------------------------------------------------------------------------
r11061 | aligorith | 2007-06-26 12:08:58 +0200 (Tue, 26 Jun 2007) | 3 lines

== Action/IPO Editors - Code Cleanup ==

Added two macros which are used to test if the active Action/IPO editor is displaying data from a scaled NLA-strip.
------------------------------------------------------------------------
r11056 | khughes | 2007-06-25 23:51:13 +0200 (Mon, 25 Jun 2007) | 3 lines

Stupid mistake, forgot windows compilers may not like "-D" before defines.


------------------------------------------------------------------------
r11055 | khughes | 2007-06-25 23:25:28 +0200 (Mon, 25 Jun 2007) | 3 lines

For scons: Add "-DWITH_DDS" to compile flags when dds is enabled.


------------------------------------------------------------------------
r11054 | sirdude | 2007-06-25 22:15:36 +0200 (Mon, 25 Jun 2007) | 8 lines

This is patch #6825 (The patch missed a couple of them but
this should get it all.

recurse was spelled resurse in a couple of places.

Kent


------------------------------------------------------------------------
r11052 | sirdude | 2007-06-25 21:50:25 +0200 (Mon, 25 Jun 2007) | 6 lines

This commit is a modified version of patch #6860
It adds read only dds support.  (Writing will come later)

Kent


------------------------------------------------------------------------
r11044 | elubie | 2007-06-25 19:51:37 +0200 (Mon, 25 Jun 2007) | 4 lines

==== MSVC 7.1 projectfiles ====
- bullet update to version 2.53 cleanup
- added file sculptmode-stroke.c

------------------------------------------------------------------------
r11042 | sirdude | 2007-06-25 19:36:04 +0200 (Mon, 25 Jun 2007) | 3 lines

Make it so that we link with the same compiler for verse as everything else.
(was using $(CC) while the rest of blender is using $(CCC)

------------------------------------------------------------------------
r11041 | ton | 2007-06-25 15:01:46 +0200 (Mon, 25 Jun 2007) | 15 lines

Whoa, a new feature!

Sequence Editor: SHIFT+R, Remap Paths (also in pull down menu)

This allows to remap the root of a path to another directory.
Works on all selected Image strips. That way you can make absolute
paths relative, for example.

Example:
original path: /mnt/orange/finals/06_which_way/06_03b/
to be remapped: /mnt/orange/finals/
remap to: //
new path: //06_which_way/06_03b/


------------------------------------------------------------------------
r11040 | nicholasbishop | 2007-06-25 13:07:12 +0200 (Mon, 25 Jun 2007) | 7 lines

== Sculpt Mode ==

Refactored and improved sculptmode-stroke.c.

* With smooth stroke on, the Spacing value is now taken into account (if zero, the default value of two is still used)


------------------------------------------------------------------------
r11039 | nicholasbishop | 2007-06-25 06:55:09 +0200 (Mon, 25 Jun 2007) | 6 lines

== Sculpt Mode ==

* Made partial redraw mode a bit more robust, fixed a couple of potential problem spots
* Fixed display of smooth stroke with partial redraw.


------------------------------------------------------------------------
r11037 | nicholasbishop | 2007-06-25 01:02:58 +0200 (Mon, 25 Jun 2007) | 5 lines

== Sculpt Mode ==

Removed the draw_flag field from SculptData, moved the two draw flags over to SculptData.flags


------------------------------------------------------------------------
r11036 | nicholasbishop | 2007-06-25 00:28:28 +0200 (Mon, 25 Jun 2007) | 18 lines

== Sculpt Mode ==

Added a new input control that smooths the brush stroke.

This option controlled by the menu item Sculpt>Input Control>Smooth Stroke. When enabled, the brush has a delayed effect on the model; a green line is drawn to indicate the smoothed path of the stroke. After ~200 pixels, the first half of the stroke will be applied to the model; the process then repeats, with a new segment of the stroke being applied to the model after every 200 pixels. On mouse up, any remaining portion of the stroke will be applied.

Other changes:
* Added a flags field to SculptData; currently only used for smooth stroke but other flags can be moved into it
* Moved the damaged_rects/verts into SculptSession
* Simplified brush application by moving init_editdata into do_symmetrical_brush_actions
* Removed Averaging from sculpt Input menu; smooth stroke should take its place

TODO:
* Fix display of the smooth line in Partial Redraw mode
* Make the smoothing and delay factors adjustable
* Optimize the stroke application (currently using the old 'dot' style of applying the brush)


------------------------------------------------------------------------
r11031 | campbellbarton | 2007-06-23 14:39:22 +0200 (Sat, 23 Jun 2007) | 2 lines

PyAPI - incorrect docstrings for colorbands

------------------------------------------------------------------------
r11030 | aligorith | 2007-06-23 14:09:41 +0200 (Sat, 23 Jun 2007) | 3 lines

== Action Editor - Keyframe Selection ==

Recoded this again to further simplify it. This method could apply to the NLA editor if keyframes remain in there after a redesign.
------------------------------------------------------------------------
r11029 | aligorith | 2007-06-23 09:12:09 +0200 (Sat, 23 Jun 2007) | 3 lines

== Action Editor ==

Fixed a few little memory leaks introduced during my recode. They were only likely to occur in a few cases that don't happen very often.
------------------------------------------------------------------------
r11028 | aligorith | 2007-06-23 08:56:16 +0200 (Sat, 23 Jun 2007) | 5 lines

== Auto-Keyframing ==

I've moved the Auto-Keyframing functionality out of the special_aftertrans_update function into two separate functions, which can be called independent of the Transform system. One is for Bones, while the other is for Objects.

This now means that the Shift-S Snapping Tools will now work with auto-keyframing. 
------------------------------------------------------------------------
r11027 | erwin | 2007-06-23 07:28:07 +0200 (Sat, 23 Jun 2007) | 1 line

upgrade to latest Bullet 2.53. cross the fingers it doesn't break one of the exotic or less exotic platforms
------------------------------------------------------------------------
r11026 | erwin | 2007-06-23 07:02:31 +0200 (Sat, 23 Jun 2007) | 1 line

preparation to upgrade to Bullet 2.53
------------------------------------------------------------------------
r11025 | erwin | 2007-06-23 06:49:17 +0200 (Sat, 23 Jun 2007) | 1 line

bugfix: adding static objects will 'replace' previously added static object in game engine. need to use new motion state.
------------------------------------------------------------------------
r11006 | campbellbarton | 2007-06-22 15:38:15 +0200 (Fri, 22 Jun 2007) | 4 lines

(Python Object API)
setting object layers didnt break once the base of an object was found.
DAG update and countall ran even when the object wasnt in the scene.

------------------------------------------------------------------------
r11004 | aligorith | 2007-06-22 13:55:00 +0200 (Fri, 22 Jun 2007) | 3 lines

== NLA/IPO Muting ==

This commit adds a few open/closed 'eye' icons to the NLA editor to toggle IPO-block muting on Object (IPO) channels, and Action Strip muting on Action Strips, like in the Action Editor.
------------------------------------------------------------------------
r11003 | aligorith | 2007-06-22 13:09:31 +0200 (Fri, 22 Jun 2007) | 11 lines

== IPO Muting ==

It is now possible to temporarily 'mute' and IPO-block or IPO-curve. This functionality has been requested by the Plumiferos team, and is based off Patch #6866 by Juho Vepsäläinen (bebraw).


Usage:
* In the IPO Editor header, there is a toggle button (open/closed eye used for Outliner Visibility restriction) beside the IPO-blocktype menu, when there is an active IPO-block in the IPO Editor.

* In the Action Editor, beside the 'lock' icon for channel protection on Action/Constraint channels, there is the open/closed 'eye' that can be toggled to set the mute status of said channel's IPO-block.

* Also in the Action Editor, you can mute individual IPO-curve channels in a similar manner.
------------------------------------------------------------------------
r11002 | khughes | 2007-06-21 23:58:04 +0200 (Thu, 21 Jun 2007) | 12 lines

Tools
-----
Bugfix #6847: Boolean code was marking some valid faces as "PHANTOM" when the
three vertices were nearly co-linear (according to its tests).  This
introduced holes into one or both meshes which could then result in either
holes in the final results and/or spurrious faces which should have been
split.

This commit removes the code in question until either an alternative test is
coded.


------------------------------------------------------------------------
r10992 | aligorith | 2007-06-21 13:24:42 +0200 (Thu, 21 Jun 2007) | 1 line

Silenced a few compiler warnings
------------------------------------------------------------------------
r10991 | aligorith | 2007-06-21 08:23:38 +0200 (Thu, 21 Jun 2007) | 5 lines

== Clamp To Constraint - Depsgraph Fix Part2 ==

Now when editing the curve that a Bone with a Clamp To Constraint uses as its target, the Bones's position will be updated in realtime to match to changes in the curve. 

This should also work for the FollowPath constraint now too.
------------------------------------------------------------------------
r10984 | aligorith | 2007-06-20 14:09:05 +0200 (Wed, 20 Jun 2007) | 5 lines

== Clamp To Constraint ==

Now when editing the curve that an Object with a Clamp To Constraint uses as its target, the Object's position will be updated in realtime to match to changes in the curve. 

I was going to have this working for bones too, but I haven't got that quite working yet. 
------------------------------------------------------------------------
r10982 | aligorith | 2007-06-20 11:58:16 +0200 (Wed, 20 Jun 2007) | 4 lines

== PyConstraints - 2 Fixes ==

* Error print for getSettings was lacking a newline
* When adding a PyConstraint using Ctrl-Alt-C, the script is now queried to find out whether it uses a target.
------------------------------------------------------------------------
r10981 | aligorith | 2007-06-20 09:33:25 +0200 (Wed, 20 Jun 2007) | 3 lines

Action Editor:

Removed a little bit of old code I forgot to remove :)
------------------------------------------------------------------------
r10980 | aligorith | 2007-06-20 09:17:24 +0200 (Wed, 20 Jun 2007) | 1 line

Oops... error in last commit - missing check.
------------------------------------------------------------------------
r10979 | aligorith | 2007-06-20 09:11:31 +0200 (Wed, 20 Jun 2007) | 3 lines

== Constraints - Code Cleanup ==

Simplified the code in two functions where checking for targets/subtargets could really have been done using Constraint API methods (constraint_has_target, get_constraint_target).
------------------------------------------------------------------------
r10978 | aligorith | 2007-06-20 07:23:31 +0200 (Wed, 20 Jun 2007) | 3 lines

Bugfix #6864:

Copying Displace modifiers by themselves did not work correctly. The code was incorrectly just copying memory for source modifier to the new copy, causing problems due to the ModifierData struct at the start of the DisplaceModifierData struct (linked list pointers still referring to old stack).
------------------------------------------------------------------------
r10977 | broken | 2007-06-20 02:36:53 +0200 (Wed, 20 Jun 2007) | 7 lines

When saving render result images from the image editor with 
image->save as, default to the scene image type settings (just like 
with F3: save rendered image).

Multilayer is still available in the list but most of the time, 
it's not what you want by default. Too many times I've saved out a  
render and frustratingly ended up with a huge 'filename.png.exr'.
------------------------------------------------------------------------
r10976 | bdiego | 2007-06-20 00:03:08 +0200 (Wed, 20 Jun 2007) | 3 lines

Fix segfaul reported by slikdigit in irc.


------------------------------------------------------------------------
r10973 | campbellbarton | 2007-06-19 20:40:17 +0200 (Tue, 19 Jun 2007) | 2 lines

changed floating point values in python to display one more decimal place- BMAE script needed to display more (as it worked with 2.41) and it seems resionable to add.

------------------------------------------------------------------------
r10968 | aligorith | 2007-06-19 14:25:44 +0200 (Tue, 19 Jun 2007) | 3 lines

== NLA Editor - Bugfix 6780 ==

Deleting a marker using DELKEY or XKEY requires undoing action twice. Changed order of deleting markers and deleting keys/strips to be in line with Action Editor.
------------------------------------------------------------------------
r10967 | aligorith | 2007-06-19 13:52:14 +0200 (Tue, 19 Jun 2007) | 5 lines

== Action Editor - Scrolling Fix ==

This fixes a problem introduced in http://lists.blender.org/pipermail/bf-blender-cvs/2007-May/010005.html

Now channels in older files will be in the view again upon loading.
------------------------------------------------------------------------
r10966 | aligorith | 2007-06-19 11:46:52 +0200 (Tue, 19 Jun 2007) | 3 lines

== Action Editor - Long Keyframes ==

I've recoded the way long keyframes work a bit, so that more cases are handled accurately. Now, it takes into account the number of IPO-curves that have keyframes in them on the start/end frame of the long-keyframe, instead of just taking the total number of IPO-curves present for the channel being drawn.
------------------------------------------------------------------------
r10960 | hos | 2007-06-18 22:03:23 +0200 (Mon, 18 Jun 2007) | 2 lines

For a texture, write out the Image.filename instead of Image.name.

------------------------------------------------------------------------
r10959 | hos | 2007-06-18 22:02:18 +0200 (Mon, 18 Jun 2007) | 2 lines

Change by Martin Capitanio to find Freetype2 on gentoo

------------------------------------------------------------------------
r10956 | aligorith | 2007-06-18 13:36:05 +0200 (Mon, 18 Jun 2007) | 3 lines

== PyConstraints - Script Template ==

Here is a script template for the "Script Templates" menu in the Text Editor. It provides you with the necessary functions for a PyConstraint set up, and also includes descriptions on what is required in each function.
------------------------------------------------------------------------
r10955 | aligorith | 2007-06-18 12:39:50 +0200 (Mon, 18 Jun 2007) | 5 lines

== PyConstraints - BPy API Access ==

The BPy Access to PyConstraints. I have not implemented the setter for the PyC-ID-Properties access as I'm not too sure how this should be done.

Also fixed a few typos in the py-docs for the Limit Scale constraint.
------------------------------------------------------------------------
r10954 | aligorith | 2007-06-18 09:41:21 +0200 (Mon, 18 Jun 2007) | 13 lines

== PyConstraints ==

At last! The ability to code constraints in Python. This opens up many interesting rigging possibilities, as well as making prototyping constraints easier.

* A PyConstraint script must begin with the line 
#BPYCONSTRAINT
* It must also define a doConstraint function, which performs the core actions of the constraint.
* PyConstraints use IDProperties to store custom properties for each PyConstraint instance. The scripter can choose which of these ID-Properties to expose to a user to control the behaviour of the constraint. This must be done using the Draw.PupBlock method.

Credits to Joe Eager (joeedh) for coding the original patch on which this is based. I've made heavy revisions to large parts of the patch.

For more detailed information, and some demo scripts, see the following page:
http://aligorith.googlepages.com/pyconstraints2
------------------------------------------------------------------------
r10948 | campbellbarton | 2007-06-16 15:57:39 +0200 (Sat, 16 Jun 2007) | 2 lines

missing decref.. win Window.RedrawAll() pointed out by ken

------------------------------------------------------------------------
r10946 | campbellbarton | 2007-06-16 15:24:25 +0200 (Sat, 16 Jun 2007) | 2 lines

Typo in last commit

------------------------------------------------------------------------
r10945 | campbellbarton | 2007-06-16 15:17:41 +0200 (Sat, 16 Jun 2007) | 2 lines

Python API, more METH_VARARGS to METH_O

------------------------------------------------------------------------
r10944 | khughes | 2007-06-16 15:01:10 +0200 (Sat, 16 Jun 2007) | 3 lines

Fix a Python memory leak with the armature weakref code.  setup_armature_weakrefs() wasnt't deallocating the old list, instead just adding a new one to the dictionary. 


------------------------------------------------------------------------
r10943 | campbellbarton | 2007-06-16 14:24:41 +0200 (Sat, 16 Jun 2007) | 3 lines

Python PyMethodDef supports single argument methods (METH_O) but was using METH_VARARGS everywhere and getting the single args from the tuple.
Use METH_O where applicable.

------------------------------------------------------------------------
r10935 | jesterking | 2007-06-15 08:37:21 +0200 (Fri, 15 Jun 2007) | 1 line

* .base makes scons 0.97 puke. It is not needed anyway, so removing.
------------------------------------------------------------------------
r10928 | jesterking | 2007-06-14 17:26:40 +0200 (Thu, 14 Jun 2007) | 1 line

* make sure zlib.pyd is copied on windows
------------------------------------------------------------------------
r10925 | khughes | 2007-06-14 16:42:35 +0200 (Thu, 14 Jun 2007) | 8 lines

Fix for very old bug in Boolean code.  BSP trees were calculated incorrectly,
which caused faces of convex objects to be classified wrongly.  Also removed
some dead code.  For convex objects, the BSP trees would also be literally
orders of magnitude larger than they were supposed to be (one test with a
5000 face torus reduced the BSP tree size from 5.96 million nodes to just 72.1
thousand).


------------------------------------------------------------------------
r10924 | bebraw | 2007-06-14 16:36:27 +0200 (Thu, 14 Jun 2007) | 12 lines

Curve Selection Tool Refactor:
This commit refactors curve selection system to use certain curve selections
functions that encapsulate setting of selection flags. New function to select
adjacent control points was introduced too. Refactoring made it possible to 
simplify certain existing selection functions quite a bit. 
New functionality was delivered as well. Select more/less works now with NURBS 
as expected. Also two new curve selection functions were added: Select Every Nth 
and Select Random. 

See http://wiki.blender.org/index.php/BlenderDev/Curve_Selection_Tools for 
further information. 

------------------------------------------------------------------------
r10923 | aligorith | 2007-06-14 14:29:56 +0200 (Thu, 14 Jun 2007) | 5 lines

== Armature - Duplicating Bones ==

Duplicating bones now also duplicates the Transform Locks, and IK DOF settings, along with constraints. 

I have noticed a few random crashes while editing armatures recently, that seem to occur after duplicating a chain of bones. I've yet to find the cause though.
------------------------------------------------------------------------
r10921 | elubie | 2007-06-13 21:25:15 +0200 (Wed, 13 Jun 2007) | 3 lines

==== MSVC 7.1 projectfiles ====
- adding verse_method.c to blenkernel.vcproj

------------------------------------------------------------------------
r10918 | campbellbarton | 2007-06-12 07:59:37 +0200 (Tue, 12 Jun 2007) | 3 lines

draw_mesh_fancy was using the original meshes stats rather then the derived mesh (that is being drawn)
This should not change teh way it works currently, however modifiers that add faces or edges need this so they render properly.

------------------------------------------------------------------------
r10917 | campbellbarton | 2007-06-12 07:17:35 +0200 (Tue, 12 Jun 2007) | 2 lines

fix own error - EXPP_getScriptLinks, was returning an unset list.

------------------------------------------------------------------------
r10916 | jesterking | 2007-06-11 12:42:38 +0200 (Mon, 11 Jun 2007) | 3 lines

=== Verse ===

* add preliminary verse method support to Blender. This gets really interesting whenever I get Verse Chat completed.
------------------------------------------------------------------------
r10915 | jesterking | 2007-06-11 10:42:54 +0200 (Mon, 11 Jun 2007) | 1 line

* update version numbers for scons official stable.
------------------------------------------------------------------------
r10914 | nicholasbishop | 2007-06-11 03:30:00 +0200 (Mon, 11 Jun 2007) | 5 lines

== Multires ==

* When loading multires files, clear the temporary connectivity data


------------------------------------------------------------------------
r10913 | nicholasbishop | 2007-06-11 01:31:38 +0200 (Mon, 11 Jun 2007) | 5 lines

== Multires ==

* In add_levels, moved the call to update_levels to the beginning rather than the end. This is slightly faster, as there's one less level to update. Also fixes a bug (introduced in rev. 10836?) that made multires's add_level differ slightly from the subdivide modifier.


------------------------------------------------------------------------
r10912 | nicholasbishop | 2007-06-11 01:01:23 +0200 (Mon, 11 Jun 2007) | 9 lines

== Multires ==

* Removed two unused structs from multires

* Replaced one-line get_float function with a macro

* During add_level, move the freeing of temp data to after the update_level, so that this data isn't calculated twice


------------------------------------------------------------------------
r10911 | nicholasbishop | 2007-06-10 23:51:11 +0200 (Sun, 10 Jun 2007) | 7 lines

== Multires ==

* Small optimization to multires based on profiling data; calculation of edge boudndaries is now cached along with multires mapping data to improve the performance of the catmull-clark code.

* Removed an unneeded call to create the temporary data when loading files.


------------------------------------------------------------------------
r10910 | campbellbarton | 2007-06-10 19:28:21 +0200 (Sun, 10 Jun 2007) | 2 lines

was missing editmode exit in script template

------------------------------------------------------------------------
r10909 | blendix | 2007-06-10 16:06:34 +0200 (Sun, 10 Jun 2007) | 5 lines


Patch #6717:
Select Inverse function in the UV editor, by Juho Vepsalainen.


------------------------------------------------------------------------
r10907 | nicholasbishop | 2007-06-10 11:23:50 +0200 (Sun, 10 Jun 2007) | 5 lines

== Multires ==

Removed an unused integer from MultiresFace


------------------------------------------------------------------------
r10906 | nicholasbishop | 2007-06-10 08:00:42 +0200 (Sun, 10 Jun 2007) | 6 lines

== Multires ==

Modified the vert_edge_map and vert_face_map arrays in MultiresLevel so that the data is stored only for as long as it is needed -- for adding levels and updating levels. Once the modifications are 
complete, the mapping data is deleted, which provides a large reduction in memory usage for a minor increase in processing time for updating levels.


------------------------------------------------------------------------
r10905 | campbellbarton | 2007-06-10 06:10:25 +0200 (Sun, 10 Jun 2007) | 3 lines

bugfix for [#6818] object_find.py assumes active uv layer is set
was assuming meshes had UVs

------------------------------------------------------------------------
r10902 | campbellbarton | 2007-06-09 16:25:05 +0200 (Sat, 09 Jun 2007) | 2 lines

only shadow didnt redraw

------------------------------------------------------------------------
r10901 | campbellbarton | 2007-06-09 12:51:02 +0200 (Sat, 09 Jun 2007) | 3 lines

subsurfs EDGE_getSharpness function was looping when it didnt need to and also took an unused value.
removed loop and unused var, since this is a sensitive (and not my) area - I did some mesh comparisons and ran a comparison with the old function passing random values, so this should be ok.

------------------------------------------------------------------------
r10900 | aligorith | 2007-06-09 09:24:08 +0200 (Sat, 09 Jun 2007) | 3 lines

== NLA Editor ==

Yet another commit to fix Shift-S snapping for keyframes. The code to snap an Object's IPO block's keyframes to the current frame should be evaluated before the expanded/collapsed status of said object is evaluated.
------------------------------------------------------------------------
r10899 | bebraw | 2007-06-09 07:56:43 +0200 (Sat, 09 Jun 2007) | 7 lines

Fix for bug #6828:
It was missing checks for screen status.

Log for my previous commit.
Sorry for the hassle.


------------------------------------------------------------------------
r10898 | bebraw | 2007-06-09 07:51:11 +0200 (Sat, 09 Jun 2007) | 23 lines

Index: source/blender/src/editscreen.c
===================================================================
--- source/blender/src/editscreen.c	(revision 10896)
+++ source/blender/src/editscreen.c	(working copy)
@@ -1403,7 +1403,7 @@
 				if(sc == NULL)
 					sc= G.main->screen.first;
 				
-				setscreen(sc);
+				if(is_allowed_to_change_screen(sc)) setscreen(sc);
 				g_activearea= NULL;
 				towin= 0;
 			}
@@ -1416,7 +1416,7 @@
 				if(sc == NULL)
 					sc= G.main->screen.last;
 				
-				setscreen(sc);
+				if(is_allowed_to_change_screen(sc)) setscreen(sc);
 				g_activearea= NULL;
 				towin= 0;
 			}

------------------------------------------------------------------------
r10897 | bebraw | 2007-06-09 07:41:55 +0200 (Sat, 09 Jun 2007) | 9 lines

Fixed following issues:
*if a vertex group was renamed in the outliner, the name was not updated 
correctly in visible buttons window
*certain buttons in Render panel didn't update other buttons windows in 
case their value was changed
*same goes for Logic context of the Buttons Window
*also cleaned up unnecessary code from Logic context and made Timer 
field to work correctly when pressed with left mouse button

------------------------------------------------------------------------
r10894 | campbellbarton | 2007-06-08 17:41:31 +0200 (Fri, 08 Jun 2007) | 2 lines

added an optional window ID arg to Window.ViewLayers so you can set the layer for each viewport.

------------------------------------------------------------------------
r10893 | jiri | 2007-06-08 16:17:13 +0200 (Fri, 08 Jun 2007) | 1 line

Patch [#6729] from Juho Vepsäläinen. It adds inverse and random select for metaelems. I simplified random select a little.
------------------------------------------------------------------------
r10892 | jiri | 2007-06-08 13:52:44 +0200 (Fri, 08 Jun 2007) | 1 line

Missing menu items in header menu, Mark Sharp and Clear Sharp. Removed one debug print
------------------------------------------------------------------------
r10891 | aligorith | 2007-06-08 13:26:59 +0200 (Fri, 08 Jun 2007) | 1 line

Removed useless comment from previous commit.
------------------------------------------------------------------------
r10890 | aligorith | 2007-06-08 09:31:03 +0200 (Fri, 08 Jun 2007) | 5 lines

== Action/NLA ==

* Snap and Mirror tools for the Action Editor, now respect NLA scaling again. I accidentally omitted the relevant code when recoding.

* Snap tool in the NLA Editor, now works for the keyframes displayed for each object too. There's one case I've to check up on later, as there might be interesting conflicts.
------------------------------------------------------------------------
r10889 | sirdude | 2007-06-07 04:00:11 +0200 (Thu, 07 Jun 2007) | 7 lines

Some more coverity fixes.
This one moves some pointer checks up in the code 
(they were after the pointer was used, kind of useless at that point) ;)

Kent


------------------------------------------------------------------------
r10888 | campbellbarton | 2007-06-06 21:12:07 +0200 (Wed, 06 Jun 2007) | 2 lines

yafray settings access from Py API

------------------------------------------------------------------------
r10887 | elubie | 2007-06-06 21:09:45 +0200 (Wed, 06 Jun 2007) | 4 lines

==== MSVC 7.1 projectfiles ====
- small update for missing nodes.vcproj
- also first commit to svn

------------------------------------------------------------------------
r10886 | bdiego | 2007-06-06 17:11:16 +0200 (Wed, 06 Jun 2007) | 6 lines

Fix possible segfault in blender.

tname can be bigger of 21 character, in that case
strncpy don't put the final '\0' to the name this.


------------------------------------------------------------------------
r10884 | jesterking | 2007-06-06 09:07:58 +0200 (Wed, 06 Jun 2007) | 1 line

* put a try block around import subprocess. Apparently there can be broken python installs without the subprocess module. This is useful on win32 with mingw only anyway.
------------------------------------------------------------------------
r10883 | campbellbarton | 2007-06-06 06:34:59 +0200 (Wed, 06 Jun 2007) | 3 lines

exporting normals wit the "High Quality Normals" option disabled, exported localspace normals.
not too bad since HQNormals were enabled by default.

------------------------------------------------------------------------
r10882 | aligorith | 2007-06-06 06:13:02 +0200 (Wed, 06 Jun 2007) | 3 lines

Bugfix #6809: K key in 3d viewport does not exit keyframe mode in Ipo Editor

Patch by Juho Vepsäläinen (BeBraw) included with the report fixes this issue.
------------------------------------------------------------------------
r10881 | sirdude | 2007-06-05 21:39:19 +0200 (Tue, 05 Jun 2007) | 6 lines

initalize texvec[2] even though its not used, imagewrap checks to make sure its
in a given range.

Kent


------------------------------------------------------------------------
r10880 | sirdude | 2007-06-05 17:51:24 +0200 (Tue, 05 Jun 2007) | 5 lines

Again lets check for -1 from BLI_filesize before continuing.

Kent


------------------------------------------------------------------------
r10879 | sirdude | 2007-06-05 17:43:20 +0200 (Tue, 05 Jun 2007) | 9 lines

filelen is set to the return result of BLI_filesize
which can return -1.  So lets check for -1 before calling malloc
and doing more work.

Another coverity fix.

Kent


------------------------------------------------------------------------
r10878 | sirdude | 2007-06-05 17:11:39 +0200 (Tue, 05 Jun 2007) | 7 lines

Another bug found thanks to Coverity.

typo was indexing past last element in an array.

Kent


------------------------------------------------------------------------
r10877 | aligorith | 2007-06-05 14:11:00 +0200 (Tue, 05 Jun 2007) | 17 lines

== Action Editor - Major Recode ==

I've just spent two days rewriting the Action Editor to unify its code and bring it under control again (it was 107kb, now it is around 73 kb). 
* This means that there are no longer separate functions for each tool for Actions and Shapekeys in the Action Editor, and also no more missing tools for either. 
* Also, I've gotten rid of the need for those complicated, hierarchial loops used for action channels, as they were a pain to keep consistent with each other.
* Baking functions have been removed. See user-level-changes for more details.
* Reorganised and completely rewrote code in editaction.c, thus the lengthy diff.

User Level Changes:
* For the meantime, border-selecting Action Channels has been disabled
* Baking functions have been removed. As far as I have been able to find out, these were really non-functional anyway. Besides, I don't think they really belonged in editaction.c
* Editing Shapekey keyframes now yields the same feature set as for those in Action Channels.
* There shouldn't be any major bugs left, but I might have missed something.

Further Work:
* Do a cleanup like this to the Action Editor drawing code in drawaction.c
* Baking??? (harkyman seems to be doing something about this)
------------------------------------------------------------------------
r10876 | bebraw | 2007-06-05 10:26:18 +0200 (Tue, 05 Jun 2007) | 2 lines

Fixed outliner to update when scriptlinks are altered.

------------------------------------------------------------------------
r10875 | campbellbarton | 2007-06-05 01:20:07 +0200 (Tue, 05 Jun 2007) | 2 lines

minor decref'ing leak with Brigg's last commit. (Be carefull using PyList_Append)

------------------------------------------------------------------------
r10874 | briggs | 2007-06-04 21:18:19 +0200 (Mon, 04 Jun 2007) | 32 lines

-> Custom Properties for Mesh entities

In order to give import/export script authors the ability to add properties
to inidividual faces, vertices and edges in the same manner as they are able
to do with ID structures three new custom data types have been added to blender
for floats, integers and strings.

Things to note:

-Since property Layers are custom data, they are added to all verts, edges 
 or faces at once.
-Only one property layer for each unique property name may exist. In  other 
 words, you cannot have a float layer as well as an integer layer
 both with the same name.
-No user interface for this exists at the moment.

The following methods and attributes have been added to the Blender.Mesh
Python module and it's object types:

->MVert/Edge/FaceSeq:
	addPropertyLayer(name, type)
	removePropertyLayer(name)
	renamePropertyLayer(original name, new name)
	properties(readonly list.)

->MVert/Edge/Face
	getProperty(name)
	setProperty(name, value)

->Mesh module
	PropertyTypes (readonly dictionary)

------------------------------------------------------------------------
r10873 | campbellbarton | 2007-06-04 12:53:37 +0200 (Mon, 04 Jun 2007) | 3 lines

interface_draw.c - when the char panel was displayed it would mess up font size for other panels.
drawview.c - removed unneeded comment (as GSR pointed out)

------------------------------------------------------------------------
r10872 | campbellbarton | 2007-06-04 10:15:27 +0200 (Mon, 04 Jun 2007) | 4 lines

OBJ smooting groups exported enabled for by default for the first smooth group (should have been disabled)
gen_library.c - Own error, hashing did not decref the tuple it created.
Draw.c - callback also missed a decref

------------------------------------------------------------------------
r10871 | nicholasbishop | 2007-06-04 10:03:37 +0200 (Mon, 04 Jun 2007) | 7 lines

== Sculpt Mode ==

Kind of fixed [#6688] sculpt - if 2.44 blend is openned in 2.43 with flatten brush selected causes crash

* Added better handling for new brushes; if more brushes are added they will no longer cause a crash (but this doesn't help older Blenders compiled without this fix.)


------------------------------------------------------------------------
r10869 | campbellbarton | 2007-06-04 02:35:19 +0200 (Mon, 04 Jun 2007) | 2 lines

Patch from GSR [#6595] Ortho/Persp reporting in the View names

------------------------------------------------------------------------
r10868 | campbellbarton | 2007-06-04 02:09:41 +0200 (Mon, 04 Jun 2007) | 3 lines

[#6787] OOPS window draw changes patch from Matthew Plough (meestaplu)
And added groups to the oopsview

------------------------------------------------------------------------
r10867 | nicholasbishop | 2007-06-03 22:24:09 +0200 (Sun, 03 Jun 2007) | 7 lines

== Multires ==

Fixed bug [#6798] Multires eventually destroys Meshes with Shapekys

* Moved the check for multires on adding shapekeys into insert_shapekeys rather than on the "Add Shape" button click


------------------------------------------------------------------------
r10864 | ton | 2007-06-03 10:34:32 +0200 (Sun, 03 Jun 2007) | 10 lines

Bugfix #6799

Particle system was messing up depsgraph tags, causing bad results
in commandline renders especially (or in rendering first frame of
animation).

Fixed with introducing a temp storage tag in Objects. The real fix
should be to make particle systems behave nice inside the depsgraph.


------------------------------------------------------------------------
r10863 | blendix | 2007-06-03 00:53:19 +0200 (Sun, 03 Jun 2007) | 4 lines


Bugfix: SSS with negative lights gave artifacts.


------------------------------------------------------------------------
r10858 | guitargeek | 2007-06-02 15:46:16 +0200 (Sat, 02 Jun 2007) | 1 line

Put declarations at the top of the block to save some compile problems.
------------------------------------------------------------------------
r10857 | aligorith | 2007-06-02 06:09:10 +0200 (Sat, 02 Jun 2007) | 3 lines

== Action Editor - IKEY ==

Modified behaviour of IKEY in Action Editor a bit, so that the keyframes added have been updated to reflect the current state of an object/bone. Previously, it only used the current values of the ipo-curves they were being keyframed (maintained as fallback method now).
------------------------------------------------------------------------
r10856 | campbellbarton | 2007-06-02 04:02:33 +0200 (Sat, 02 Jun 2007) | 2 lines

made change to NMesh decrefing suggested by theeth, and added 2 more missing decrefs in new_NMFace

------------------------------------------------------------------------
r10855 | campbellbarton | 2007-06-02 02:31:20 +0200 (Sat, 02 Jun 2007) | 2 lines

pointInside wasnt working properly (did work with the examples I was using with many small faces)

------------------------------------------------------------------------
r10849 | blendix | 2007-06-01 18:53:55 +0200 (Fri, 01 Jun 2007) | 4 lines


Fix error in the version patch for the SSS scene flag.


------------------------------------------------------------------------
r10841 | aligorith | 2007-06-01 12:38:17 +0200 (Fri, 01 Jun 2007) | 3 lines

== NLA Editor ==

When adding a new Action Strip to an Object which didn't have any Action Strips previously, NLA-override mode is turned on by default for that object (the Action/NLA-icon beside the expand/collapse triangle).
------------------------------------------------------------------------
r10840 | bjornmose | 2007-06-01 11:20:46 +0200 (Fri, 01 Jun 2007) | 1 line

surface objects are allowed to be softbodies too 
------------------------------------------------------------------------
r10839 | campbellbarton | 2007-06-01 07:54:16 +0200 (Fri, 01 Jun 2007) | 2 lines

when removing py_build value I removed this but shouldnt have, however theres no need to parse the value in Blender_Redraw since its done in the Window module.

------------------------------------------------------------------------
r10838 | campbellbarton | 2007-06-01 04:48:36 +0200 (Fri, 01 Jun 2007) | 3 lines

buttons editing didnt let lib-obdata to changed once set (thanks for the report broken)
NMesh (error in last commit).

------------------------------------------------------------------------
r10837 | campbellbarton | 2007-06-01 04:33:23 +0200 (Fri, 01 Jun 2007) | 6 lines

When converting from TF_SELECT to use the mfaces selection flag only I missed getSelectedFaces.

This broke theeths UV-Exportscript.
updated and added 2 missing decref's, as well as a check not to write a list of faces greater then the size of the NMesh (mesh and NMesh face lengths can differ)


------------------------------------------------------------------------
r10836 | nicholasbishop | 2007-06-01 04:21:11 +0200 (Fri, 01 Jun 2007) | 8 lines

== Multires ==

* Moved the multires vertex data from struct MultiresLevel to struct Multires. There's no longer any reason to store data seperately for each level; it was just taking up extra memory.

* Incremented the subversion to 2 and adjusted do_versions to correctly load older files.

* Refactored the multires update process (which handles propagating changes to other levels)

------------------------------------------------------------------------
r10835 | bjornmose | 2007-06-01 02:40:52 +0200 (Fri, 01 Jun 2007) | 3 lines

test commit
knit picking users complained about available options
with non softbody able objects
------------------------------------------------------------------------
r10834 | snailrose | 2007-05-31 22:40:59 +0200 (Thu, 31 May 2007) | 1 line

Applied patch [#5795] Parent to bone - Supplied by Monster.
------------------------------------------------------------------------
r10833 | blendix | 2007-05-31 16:02:43 +0200 (Thu, 31 May 2007) | 10 lines


Fix for memory leak:

Manipulator drawing, enabled or disabled, with the exception of the
combo manipulator, was leaking a GLU quadric on every redraw.

I don't think this caused trouble in practical situations though, it
leaked about 1 MB when running Alt+A for 20 minutes here.


------------------------------------------------------------------------
r10832 | campbellbarton | 2007-05-31 15:48:16 +0200 (Thu, 31 May 2007) | 3 lines

scene.camera was missing from docs
bad bad mistake- key wasnt returning IPO's

------------------------------------------------------------------------
r10831 | aligorith | 2007-05-31 14:03:55 +0200 (Thu, 31 May 2007) | 1 line

Added sanity checks for possible cases where previous commit could segfault.
------------------------------------------------------------------------
r10830 | aligorith | 2007-05-31 13:47:04 +0200 (Thu, 31 May 2007) | 3 lines

== Action Editor ==

Small Action Editor feature to hopefully make keyframing quicker. Just press the IKEY in the Action Editor. Feedback on the (annoyance factor of the) popups welcome. 
------------------------------------------------------------------------
r10829 | mal_cando | 2007-05-31 13:20:35 +0200 (Thu, 31 May 2007) | 1 line

Test commit by myself ( whitespace ), just spreading my new Blender commit wings!
------------------------------------------------------------------------
r10828 | jesterking | 2007-05-31 13:15:47 +0200 (Thu, 31 May 2007) | 7 lines

=== SCons ===

* Finally cleaned up the NSIS installer creation process
  This is now a proper action and command, with simple printout
  The 'nsis' target (only on Windows) now properly depends on
  all the build process, and will be done as very last.
* Make LZMA (Solid) default compressor for installer (= the best)
------------------------------------------------------------------------
r10826 | jesterking | 2007-05-31 09:42:54 +0200 (Thu, 31 May 2007) | 4 lines

=== SCons ===

FINALLY! With this commit command-length problems are History. Thanks go to xuru from #scons for giving the nice pointer.
src is now again one lib, and further libsplitting should be rather unnecessary, unless we somehow reach the 37K limit (for internally used CreateProcess, by subprocess module)
------------------------------------------------------------------------
r10825 | broken | 2007-05-31 09:33:18 +0200 (Thu, 31 May 2007) | 1 line

Fix for invert comp node, was allocating a compbuf unnecessarily.
------------------------------------------------------------------------
r10824 | broken | 2007-05-31 08:55:02 +0200 (Thu, 31 May 2007) | 24 lines

== Shader nodes ==

* Geometry node: Front/back output
This is used as a mask for determining whether you're looking at the front side or back side of a mesh, useful for blending materials, my practical need was giving different materials to the pages of a magazine: http://mke3.net/blender/etc/frontback-h264.mov

Give 1.0 if it's the front side, and 0.0 if it's the back side.

* Extended material node
This is the same as the material node, but gives more available inputs and outputs, (basically just connecting up more of ShadeInput and ShadeResult to the node). I didn't want to add it to the normal simple Material node since you don't always need all that stuff, and it would make the node huge, but when you do need it, it's nice to have it.

== Comp nodes ==

* Invert node
Inverting is something that happens all the time in a node setup, and this makes it easier. It's been possible to invert previously by adding a mix node and subtracting the input from 1.0, but it's not the best way of doing it. This node:
 - makes it a lot faster to set up, rather than all the clicking required with the mix node
 - is a lot more usable amidst a complex comp setup, when you're looking at a node tree, it's very helpful to be able to see at a glance what's going on. Using subtract for inverting is easily mixed up with other nodes in which you are actually subtracting, not inverting, and looks very similar to all the other mix nodes that usually litter a comp tree.
 - has options to invert the RGB channels, the Alpha channel, or both. This saves adding lots of extra nodes (separate RGBA, subtract, set alpha) when you want to do something simple like invert an alpha channel. I'd like to add this option to other nodes too.

There's also a shader node version too.


* Also a few fixes that I committed ages ago, but seems to have been overwritten in Bob's node refactor:
 - adding new compbufs to the set alpha and alphaover nodes when you have only one noodle connected to the lower input
 - making the fac value on RGB curves still work when there's nothing connected to it
------------------------------------------------------------------------
r10823 | campbellbarton | 2007-05-31 08:12:09 +0200 (Thu, 31 May 2007) | 4 lines

Updated this script not to choke on some blank lines (example file from Lekane)
Also removed the use of list.index() all over the place where the index was known. (saves searching the file and the possibility of duplicates messing it up)


------------------------------------------------------------------------
r10821 | lukep | 2007-05-30 23:34:21 +0200 (Wed, 30 May 2007) | 6 lines

**blush**

I never committed the depth buffer changes from 16 to 32

thanks to meestaplu for spotting it

------------------------------------------------------------------------
r10817 | aligorith | 2007-05-30 12:36:17 +0200 (Wed, 30 May 2007) | 5 lines

Patch #6759: this speeds up the vertex group editing workflow a bit. 

The hotkey Ctrl-G in EditMode for Meshes and Lattices, brings up a menu giving the user options to assign/remove selected vertices to a new/the active Vertex Group.

The hotkey Ctrl-Shift-G in EditMode for Meshes and Lattices, brings up a menu giving the user options to change the active Vertex Group and delete the current Vertex Group.
------------------------------------------------------------------------
r10816 | jesterking | 2007-05-30 08:11:25 +0200 (Wed, 30 May 2007) | 2 lines

* Fix for #6707
This fix is windows specific. AVIs are now evaluated by the pre-FFMPEG code first, failing that only by FFMPEG. Adding the 200 frame testfile from the bugreport http://projects.blender.org/tracker/?func=detail&aid=6707&group_id=9&atid=125 now goes fine with Add>Movie. Add>Movie+Audio will complain about the fail first, but it will be added anyway.
------------------------------------------------------------------------
r10815 | campbellbarton | 2007-05-29 23:39:29 +0200 (Tue, 29 May 2007) | 6 lines

Script from Gerhard for exporting blender to m3g and java source,
see website for examples
http://www.nelson-games.de/bl2m3g/default.html



------------------------------------------------------------------------
r10813 | aligorith | 2007-05-29 12:28:19 +0200 (Tue, 29 May 2007) | 3 lines

== PY API ==

Added some braces to silence gcc warnings about scene.c
------------------------------------------------------------------------
r10812 | snailrose | 2007-05-29 09:46:07 +0200 (Tue, 29 May 2007) | 2 lines

Test commit...

------------------------------------------------------------------------
r10811 | nicholasbishop | 2007-05-29 08:42:10 +0200 (Tue, 29 May 2007) | 7 lines

== Multires ==

Fixed bug [#6737] facecount is reported incorrectly when using multires

* Added a call to update the derivedmesh after updating a multires mesh.


------------------------------------------------------------------------
r10810 | aligorith | 2007-05-29 08:30:33 +0200 (Tue, 29 May 2007) | 6 lines

== PY-API Docs ==

Fixed bad description for a function.

As reported here:
http://www.blender.org/forum/viewtopic.php?t=11752
------------------------------------------------------------------------
r10805 | campbellbarton | 2007-05-29 06:15:45 +0200 (Tue, 29 May 2007) | 2 lines

remove xreadline, some other small updates (testing new svn)

------------------------------------------------------------------------
r10801 | campbellbarton | 2007-05-28 23:53:49 +0200 (Mon, 28 May 2007) | 2 lines

passing None to Blender.Mathutils.Quaternion would segfault

------------------------------------------------------------------------
r10800 | campbellbarton | 2007-05-28 19:52:53 +0200 (Mon, 28 May 2007) | 2 lines

lamp import was broken.

------------------------------------------------------------------------
r10799 | pidhash | 2007-05-28 19:06:03 +0200 (Mon, 28 May 2007) | 2 lines

Adding Text3d.JUSTIFY, thanks "Oliver Schneider" <oliffm@web.de>

------------------------------------------------------------------------
r10798 | campbellbarton | 2007-05-28 18:49:48 +0200 (Mon, 28 May 2007) | 4 lines

fix for a crash in Blender.Mesh,
getting curve data from an object failed (with only 1 curve vertex)
Blender.Mesh didnt check this and crashed.

------------------------------------------------------------------------
r10797 | campbellbarton | 2007-05-28 18:10:40 +0200 (Mon, 28 May 2007) | 2 lines

Added 48x48 blender icon for X11

------------------------------------------------------------------------
r10796 | aphex | 2007-05-28 13:11:15 +0200 (Mon, 28 May 2007) | 3 lines

Copying python25.zip to install folders for win32.
Also, nsis installer now copies plugin include headers.

------------------------------------------------------------------------
r10795 | campbellbarton | 2007-05-28 06:50:30 +0200 (Mon, 28 May 2007) | 2 lines

Made it that hidden bones should arnt selected armature and posemode

------------------------------------------------------------------------
r10794 | campbellbarton | 2007-05-28 05:09:46 +0200 (Mon, 28 May 2007) | 2 lines

adding object.matrixParentInverse

------------------------------------------------------------------------
r10787 | campbellbarton | 2007-05-27 23:33:48 +0200 (Sun, 27 May 2007) | 2 lines

more memory leak fixes, though only a few are likely to happen

------------------------------------------------------------------------
r10786 | theeth | 2007-05-27 16:42:17 +0200 (Sun, 27 May 2007) | 5 lines

=== Patch ===

[#6666] Updates to UV layout export script

Moving from NMesh API to Mesh
------------------------------------------------------------------------
r10784 | campbellbarton | 2007-05-26 19:52:35 +0200 (Sat, 26 May 2007) | 3 lines

drawmesh.c - change from mal_CanDo that makes lighting work the same as in blender 2.44.
header_view3d.c - smoothview wasnt working with the camera menu

------------------------------------------------------------------------
r10783 | campbellbarton | 2007-05-26 14:58:46 +0200 (Sat, 26 May 2007) | 8 lines

Key.c/h - Removed unneeded functions. and ipo in struct wasnt being used.
Lattice.c - removed warning
Mesh.c - (own error) when running me.update(key="...") didnt update the right keyframe.

mesh_cleanup.py - Bugfix from a report by plumiferos that started uncovering all the memory leaks.
Removing NAN verts didnt work with mesh keyframes.


------------------------------------------------------------------------
r10782 | campbellbarton | 2007-05-26 06:39:31 +0200 (Sat, 26 May 2007) | 4 lines

More memory leaks fixed - in IDProp, Bone.head, tail, matrix, ob.DupObjects (my fault) and in Effect module as well as a few others.
Also stopped using Py_BuildValue for strings, ints and floats.


------------------------------------------------------------------------
r10781 | khughes | 2007-05-25 22:54:48 +0200 (Fri, 25 May 2007) | 3 lines

Fix segfault in PyBonesDict_FromPyArmature() caused by uninitialized memory.


------------------------------------------------------------------------
r10780 | jesterking | 2007-05-25 19:32:41 +0200 (Fri, 25 May 2007) | 1 line

* playback of image sequence now also for OpenEXR images (but not multilayer).
------------------------------------------------------------------------
r10779 | jesterking | 2007-05-25 19:11:24 +0200 (Fri, 25 May 2007) | 2 lines

* fix for #6714
  - don't handle images with ffmpeg, blender knows itself perfectly fine how to do that. This fix is done as per Qt handling (skip non-Qt files).
------------------------------------------------------------------------
r10778 | campbellbarton | 2007-05-25 18:43:25 +0200 (Fri, 25 May 2007) | 9 lines

Many long standing memory leaks fixed in the BPY api.

Data from Armature.c and logic.c still leaks.

Mostly todo with PyList_Append adding a refcount and the bpython api not decrefing.

Also added some features needed to fix a bug in mesh_clean.py (ob.pinShape and ob.activeShape)


------------------------------------------------------------------------
r10777 | aligorith | 2007-05-25 13:48:27 +0200 (Fri, 25 May 2007) | 3 lines

Bugfix #6735: 

Removed the error that showed up when trying to paste a pose onto protected proxy bones. By definition, you shouldn't be able to keyframe/pose protected proxy bones, but nothing obeys that currently.
------------------------------------------------------------------------
r10776 | aligorith | 2007-05-25 13:14:58 +0200 (Fri, 25 May 2007) | 3 lines

'Hack' to fix bug #6718:

The Outliner didn't refresh after adding loading a new image from disk for use as an image texture. 
------------------------------------------------------------------------
r10775 | bebraw | 2007-05-25 08:08:13 +0200 (Fri, 25 May 2007) | 9 lines

Fixed following issues:
*if a vertex group was renamed in the outliner, the name was not updated 
correctly in visible buttons window
*certain buttons in Render panel didn't update other buttons windows in 
case their value was changed
*same goes for Logic context of the Buttons Window
*also cleaned up unnecessary code from Logic context and made Timer 
field to work correctly when pressed with left mouse button

------------------------------------------------------------------------
r10773 | khughes | 2007-05-24 17:00:10 +0200 (Thu, 24 May 2007) | 5 lines

Python API
==========
Bugfix #6682: some Mesh.Primitive default values didn't match UI values.


------------------------------------------------------------------------
r10768 | theeth | 2007-05-24 01:09:57 +0200 (Thu, 24 May 2007) | 5 lines

=== Bugfix ===

[ #6690 ] Shift and widget translation cause an uncontrolled move in side or front view

There was a tentative fix for that earlier, but the limit used was too low. This fixes it and ensures sane output.
------------------------------------------------------------------------
r10766 | ton | 2007-05-23 17:27:34 +0200 (Wed, 23 May 2007) | 9 lines

Bugfix #6739

Vector blur error in Ztransp: sometimes black lines (on edges) appeared,
which didn't get blurred away. Caused by zero-init of speed vectors in
sample buffers. (Zero speed -> no motion).

Error in Blender since vblur was added.


------------------------------------------------------------------------
r10765 | aligorith | 2007-05-23 11:21:32 +0200 (Wed, 23 May 2007) | 3 lines

== Action Editor ==

Now Action/IPO-Curve/Constraint Channels draw so that they open downwards. The only noticeable differences are that when expanding/collapsing channels, all the channels above won't get shunted out of the way again. Also, on loading some older files, all the channels may be out of view (TODO: make version patch for this...)
------------------------------------------------------------------------
r10764 | aligorith | 2007-05-23 06:42:18 +0200 (Wed, 23 May 2007) | 4 lines

== OOPS Editor ==

Hardly anyone uses it, so until now, no-one has noticed that selection is broken. Just a simple variable typo caused bug #6738. Fixed.

------------------------------------------------------------------------
r10763 | jesterking | 2007-05-23 01:15:27 +0200 (Wed, 23 May 2007) | 1 line

* Applying [ #6730 ] Fixing in-Blender displaying of GE bitmap text by Mal Duffin (mal_CanDo)
------------------------------------------------------------------------
r10762 | jesterking | 2007-05-23 00:20:35 +0200 (Wed, 23 May 2007) | 1 line

* svn+ssh test
------------------------------------------------------------------------
r10759 | campbellbarton | 2007-05-22 21:40:11 +0200 (Tue, 22 May 2007) | 7 lines


Bugfix for python Image.save()
[ #6702 ] Image doesn't get saved after painting & packing
IMB_saveiff - (general saving function), does not write a file when the image is packed.
so write a file with writePackedFile for packed files.


------------------------------------------------------------------------
r10758 | khughes | 2007-05-22 19:41:32 +0200 (Tue, 22 May 2007) | 1 line


------------------------------------------------------------------------
r10757 | campbellbarton | 2007-05-22 16:20:18 +0200 (Tue, 22 May 2007) | 2 lines

option to limit the size of textures loaded into GL memory, usefull when a scene's models wont fit into GFX memory.

------------------------------------------------------------------------
r10756 | jesterking | 2007-05-22 12:58:30 +0200 (Tue, 22 May 2007) | 1 line

* remove very confusing comments. We will *not* 'fase into' MTC_*.
------------------------------------------------------------------------
r10755 | joeedh | 2007-05-22 06:41:21 +0200 (Tue, 22 May 2007) | 8 lines

=ID Properties=
The code for preserving ID properties was apparently not
working.  Fixed that by adding a new function,
IDP_ReplaceInGroup, that automatically handles overriding a
property in a group while preserving the property order.

Its odd though that the previous fix I had wasn't
working :/
------------------------------------------------------------------------
r10754 | pidhash | 2007-05-22 05:13:01 +0200 (Tue, 22 May 2007) | 2 lines

adding python icon on torus in toolbox

------------------------------------------------------------------------
r10753 | theeth | 2007-05-21 21:42:11 +0200 (Mon, 21 May 2007) | 3 lines

=== Bugfix ===

Coverity bugfix (missing NULL check) and ref counting errors. (on module constants, so not really leaking, just not good.)
------------------------------------------------------------------------
r10752 | theeth | 2007-05-21 21:41:14 +0200 (Mon, 21 May 2007) | 3 lines

=== Bugfix ===

Fix potential problem with Matrix initializer (can't call Matrix_Identity on non square matrices).
------------------------------------------------------------------------
r10751 | theeth | 2007-05-21 20:45:28 +0200 (Mon, 21 May 2007) | 3 lines

=== Bugfix ===

coverity bugfix: Dead Code
------------------------------------------------------------------------
r10750 | theeth | 2007-05-21 20:42:47 +0200 (Mon, 21 May 2007) | 1 line

old typo in comment
------------------------------------------------------------------------
r10749 | theeth | 2007-05-21 20:15:24 +0200 (Mon, 21 May 2007) | 3 lines

=== Bugfix ===

Fix float error in Transform Contraint with planar constraints when the plane was perpendicular to the viewport. This could cause some weird erratic behavior.
------------------------------------------------------------------------
r10748 | campbellbarton | 2007-05-21 18:01:49 +0200 (Mon, 21 May 2007) | 2 lines

renaming to match JMS's names

------------------------------------------------------------------------
r10747 | campbellbarton | 2007-05-21 17:26:50 +0200 (Mon, 21 May 2007) | 2 lines

updated rvk1_torvk2 from JMS and added GPL headers

------------------------------------------------------------------------
r10746 | joeedh | 2007-05-20 23:40:57 +0200 (Sun, 20 May 2007) | 3 lines

=IDProperty Script GPL Update=
ID Property browser script updated to have a GPL license block.
Heh I can't believe I forgot this. :)
------------------------------------------------------------------------
r10745 | campbellbarton | 2007-05-20 23:30:29 +0200 (Sun, 20 May 2007) | 7 lines

closing bug #6680 - This feature didnt work as advertised.

When setting the filename for export foo_#_bar would not be renamed to foo_00001_bar, It only worked when # what the last char of the name.

removed the text from --help that says this is supported.


------------------------------------------------------------------------
r10744 | blendix | 2007-05-20 21:01:34 +0200 (Sun, 20 May 2007) | 4 lines


Bugfix: SSS did not work with panorama render.


------------------------------------------------------------------------
r10743 | campbellbarton | 2007-05-20 19:30:30 +0200 (Sun, 20 May 2007) | 2 lines

adding GPL headers

------------------------------------------------------------------------
r10742 | ton | 2007-05-20 17:55:49 +0200 (Sun, 20 May 2007) | 9 lines

Fix provided by Mal:

- 3D Window, textured drawmode shows lighted again for non-textured faces
- Engine: faces show lighted again when 3d windows was Solid draw mode

Example:
http://www.candointeractive.com/blender/BlenderViewport.jpg


------------------------------------------------------------------------
r10741 | eeshlo | 2007-05-20 17:52:29 +0200 (Sun, 20 May 2007) | 3 lines

removing test commit comment...


------------------------------------------------------------------------
r10740 | eeshlo | 2007-05-20 17:47:27 +0200 (Sun, 20 May 2007) | 3 lines

Just testing svn...


------------------------------------------------------------------------
r10739 | campbellbarton | 2007-05-20 14:29:19 +0200 (Sun, 20 May 2007) | 3 lines

I added a duplicate script, not realizing "Python Reference" was refering to "Blender Python API"
removign the other one anyway since it would make URL's including subversions and I dont think we want that.

------------------------------------------------------------------------
r10738 | campbellbarton | 2007-05-20 11:02:16 +0200 (Sun, 20 May 2007) | 2 lines

own bad error. calling scene.timeline would crash blender.

------------------------------------------------------------------------
r10737 | campbellbarton | 2007-05-20 09:41:21 +0200 (Sun, 20 May 2007) | 2 lines

Blenders installs where the scripts dir was not writable could not load the console. This should fix it.

------------------------------------------------------------------------
r10735 | lukep | 2007-05-20 00:57:28 +0200 (Sun, 20 May 2007) | 4 lines

post release update of the scons build system for os x powerpc

assume os x 10.4 as defaut

------------------------------------------------------------------------
r10734 | khughes | 2007-05-19 18:13:20 +0200 (Sat, 19 May 2007) | 1 line


------------------------------------------------------------------------
r10733 | hos | 2007-05-18 17:57:40 +0200 (Fri, 18 May 2007) | 5 lines

Disable copying plugins, et al, to the CMake bin directory -- the
.svn directory would get copied and it has some files that are
write protected, which means that the build would fail the second
time you run make. Needs a better solution.

------------------------------------------------------------------------
r10732 | aligorith | 2007-05-18 13:50:04 +0200 (Fri, 18 May 2007) | 1 line

Fixed a few typos in the documentation for Draw module of Python API.
------------------------------------------------------------------------
r10731 | hos | 2007-05-17 23:28:33 +0200 (Thu, 17 May 2007) | 19 lines

Plumifero's wishlist:

* When duplicating bones that have constraints (edit mode),
duplicate them too with TARGET field updated.

This is code that I wrote a few years ago before the armature
refactor. It is simple code that compiles and seems to work fine,
but should be checked by Ton or somebody else with better knowledge
of the current armature system.

Usage description, (stolen from the first time this code was
committed):

"Duplicating bones in edit mode now also duplicates the constraints
associated with that bone ... if the constraint subtarget bone is
also duplicated the new constraint points to this new bone as it's
subtarget."


------------------------------------------------------------------------
r10730 | blendix | 2007-05-17 19:15:22 +0200 (Thu, 17 May 2007) | 8 lines


Added highlighting of non-existant names and autocomplete for
specifying the uv layer name in a material.

Also added generic autocomplete_begin/do_name/end functions,
this code was copied five times.


------------------------------------------------------------------------
r10729 | blendix | 2007-05-17 18:51:09 +0200 (Thu, 17 May 2007) | 12 lines


Disable SSS better for preview rendering, so it does not slow down
other preview renders at all.

Also added a flag to enable/disable SSS per scene. There is no
button for it yet, the Render panel has no space left .. will find
a place for it later.

The subversion number was also increased to enable the flag for
older .blends.


------------------------------------------------------------------------
r10728 | aligorith | 2007-05-17 08:45:16 +0200 (Thu, 17 May 2007) | 3 lines

== Constraints Code ==

Relatively harmless removal of useless code. Also formatted things in a few places.
------------------------------------------------------------------------
r10727 | broken | 2007-05-17 03:18:12 +0200 (Thu, 17 May 2007) | 1 line

Added Menu entries for Object Mode Show/Hide hotkeys
------------------------------------------------------------------------
r10726 | desoto | 2007-05-17 03:09:52 +0200 (Thu, 17 May 2007) | 4 lines

This commit sets Python version to 2.5 for Windows/Cygwin/GCC builds.



------------------------------------------------------------------------
r10725 | aligorith | 2007-05-17 02:23:24 +0200 (Thu, 17 May 2007) | 3 lines

== Action Editor ==

Hiding bones in the 3d-view with the (HKEY) now hides the corresponding Action Channels too.
------------------------------------------------------------------------
r10724 | hos | 2007-05-17 00:30:20 +0200 (Thu, 17 May 2007) | 5 lines

'Copy Images' option for the .obj exporter would fail.

Changing Material ==> Blender.Material fixed it.


------------------------------------------------------------------------
r10723 | artificer | 2007-05-16 19:20:02 +0200 (Wed, 16 May 2007) | 4 lines

Fixed editmode post-modifier normal calculation for the case where there are
only deform modifiers in the stack. This was an old bug: a typo caused quad
face normals to be calculated using the same vertex twice, giving bad normals.

------------------------------------------------------------------------
r10722 | artificer | 2007-05-16 17:19:54 +0200 (Wed, 16 May 2007) | 4 lines

Fixed the "Enable modifier during editmode" button for the case when there are
only deform modifiers in the stack. The code that copied the cage mesh to the
final mesh didn't check for vertex coordinates; I have added this check.

------------------------------------------------------------------------
r10721 | campbellbarton | 2007-05-16 14:26:17 +0200 (Wed, 16 May 2007) | 4 lines

Python bugfix reported by reD_Fox1
ob1.shareFrom(ob2) - didnt work with the new type/realtype method of making sure all new objects were emptys until they were linked to data and the realtype is used.


------------------------------------------------------------------------
r10720 | aligorith | 2007-05-16 07:03:33 +0200 (Wed, 16 May 2007) | 2 lines

Test-commit/Bugfix #6698: 
Wrong hotkey given in for the Remove Doubles entry in the 3d-view toolbox->edit->vertices menu.
------------------------------------------------------------------------
r10719 | hos | 2007-05-15 23:24:19 +0200 (Tue, 15 May 2007) | 5 lines


Test commit: Changes to CMake for Python 2.5 under windows 
from Eugene.


------------------------------------------------------------------------
r10718 | jesterking | 2007-05-15 14:53:44 +0200 (Tue, 15 May 2007) | 3 lines

=== SCons ===

* cvs->svn conversion: handle properly also release/scripts .svn dir (= skip it!)
------------------------------------------------------------------------
r10717 | ton | 2007-05-14 21:52:21 +0200 (Mon, 14 May 2007) | 4 lines

Second commit, now it should not bother me with passwords, according
to some person... :)


------------------------------------------------------------------------
r10716 | ton | 2007-05-14 21:50:33 +0200 (Mon, 14 May 2007) | 5 lines

Testing commit to see how it goes...




------------------------------------------------------------------------
r10706 | jesterking | 2007-05-12 16:11:27 +0200 (Sat, 12 May 2007) | 1 line

* handle move CVS->SVN, skip .svn administrative directories
------------------------------------------------------------------------
r10703 | ton | 2007-05-10 19:27:40 +0200 (Thu, 10 May 2007) | 3 lines

Showstoppper... mballs didn't get remade correct after render... it was
showing the orcos (size usally smaller).

------------------------------------------------------------------------
r10702 | ton | 2007-05-10 11:54:05 +0200 (Thu, 10 May 2007) | 2 lines

Part 2 of release 2.44 commit

------------------------------------------------------------------------
r10701 | ton | 2007-05-10 11:52:44 +0200 (Thu, 10 May 2007) | 2 lines

Part one of 2.44 release commit.

------------------------------------------------------------------------
r10700 | aligorith | 2007-05-10 08:51:08 +0200 (Thu, 10 May 2007) | 9 lines

Bugfix #6674:

Action Editor: editing of action-channel keys is impossible if shapekeys are present
for that object.

Also, after toggling the 'swimmer' icon in the IPO editor header,on and then off again, then trying to expand/collapse/select/deselect the 'Shape' action channel, Blender would crash.

Not really a showstopper, but still nice to fix. ;-)

------------------------------------------------------------------------
r10699 | bebraw | 2007-05-10 07:44:44 +0200 (Thu, 10 May 2007) | 2 lines

Fixed the hotkey of "Hide Selected" found in the menu activated by space.

------------------------------------------------------------------------
r10698 | blendix | 2007-05-09 23:34:35 +0200 (Wed, 09 May 2007) | 5 lines


Bug reported on irc:

Border select in face select mode was broken.

------------------------------------------------------------------------
r10697 | ton | 2007-05-09 18:38:04 +0200 (Wed, 09 May 2007) | 6 lines

bugfix #6672

Object with object-action:
Crash after unlinking an Ipo, and then inserting new key positions in 3d
window.

------------------------------------------------------------------------
r10696 | blendix | 2007-05-09 18:25:58 +0200 (Wed, 09 May 2007) | 7 lines


Fix preview rendering for SSS to not show preprocessing pass that
leads to flickering, and a bug that would display parts of the
preview render as black for interrupted preview renders.

(sorry for the late fix, i've triple checked the code ..)

------------------------------------------------------------------------
r10695 | sirdude | 2007-05-09 17:32:33 +0200 (Wed, 09 May 2007) | 8 lines



another coverity issue.
scriptlinks_pupmenu(ScriptLink *slink) could get passed null and
did not check for it.

Kent

------------------------------------------------------------------------
r10694 | sirdude | 2007-05-09 16:57:26 +0200 (Wed, 09 May 2007) | 6 lines



Another small cleanup of dead code thanks to coverity.

Kent

------------------------------------------------------------------------
r10693 | ton | 2007-05-09 16:12:29 +0200 (Wed, 09 May 2007) | 2 lines

Bugfix #6663 yesterday, error: forgot to put back in if() for freeing data

------------------------------------------------------------------------
r10692 | ton | 2007-05-09 13:16:32 +0200 (Wed, 09 May 2007) | 6 lines

In very rare cases, an offset-bone could not exist, whilst the action
channel does. Then it crashes...

This commit adds a NULL test, but now trying to solve how this case
can happen.

------------------------------------------------------------------------
r10691 | campbellbarton | 2007-05-09 09:03:05 +0200 (Wed, 09 May 2007) | 2 lines

had debugging test enabled.

------------------------------------------------------------------------
r10690 | bebraw | 2007-05-08 21:31:39 +0200 (Tue, 08 May 2007) | 4 lines

Bugfix [ #6593 ] Texture panel does not appear as soon as expected

Texture paint mode toggles were missing some redraws.

------------------------------------------------------------------------
r10689 | ton | 2007-05-08 20:51:40 +0200 (Tue, 08 May 2007) | 8 lines

Bugfix #6663

Metaballs, when in editmode, didnt show correct after a render (it was
drawing render resol then).

The code here was confused some... this works, although it will take a
bit more cpu cycles when render resol = display resol. No biggie.

------------------------------------------------------------------------
r10688 | sirdude | 2007-05-08 19:35:18 +0200 (Tue, 08 May 2007) | 7 lines



I goofed last time and commited wrong version of the patch.
This one should be the right one.

Kent

------------------------------------------------------------------------
r10687 | sirdude | 2007-05-08 18:31:51 +0200 (Tue, 08 May 2007) | 9 lines



another little coverity fix.
unused var doredraw  removed and the call to do a redraw, since
its never called I figured we can remove it and if we need it later
put it back in.  (this is in function winqreadbutspace)

Kent

------------------------------------------------------------------------
r10686 | sirdude | 2007-05-08 18:14:41 +0200 (Tue, 08 May 2007) | 7 lines



This is patch #5968
letterrip asked me to commit for him.

Kent

------------------------------------------------------------------------
r10685 | sirdude | 2007-05-08 18:00:13 +0200 (Tue, 08 May 2007) | 8 lines



First fix from coverity, removing one line of dead code.
The if statement above this line makes it so this line will never be
true, so its not needed.

Kent

------------------------------------------------------------------------
r10684 | ton | 2007-05-08 12:26:55 +0200 (Tue, 08 May 2007) | 5 lines

Bugfix #6658

Node UI for Image sequences also allows negative offset value, so you can
have first image be 0000 too (3dsmax)

------------------------------------------------------------------------
r10683 | blendix | 2007-05-08 12:24:39 +0200 (Tue, 08 May 2007) | 3 lines


These files should have been part of my last commit.

------------------------------------------------------------------------
r10682 | blendix | 2007-05-08 12:15:51 +0200 (Tue, 08 May 2007) | 12 lines


SSS fixes:
- Radius R, G, B sliders had too small number increase on clicking.
- Preview render now renders with higher SSS error setting to speed it up a
  bit.
- bug #6664: 3d preview render had artifacts. re->viewdx/dy wasn't set then,
  which is needed to estimate the area of each point. Have set this now, not
  in the nicest way, there is some bit duplicated code, but I don't want to
  refactor existing code with the chance of breaking it at this point.
- bug #6665: grid like artifacts with parts rendering. The two extra pixels
  around parts used for filtering were used as well, leading to double points.

------------------------------------------------------------------------
r10681 | sirdude | 2007-05-07 23:11:21 +0200 (Mon, 07 May 2007) | 7 lines


Made it so blenderplayer is stripped if it exists as well as just blender.
(I skipped it on OSX not sure where blenderplayer is in that
instance, someone on the platform should be able to figure it out though.)

Kent

------------------------------------------------------------------------
r10680 | erwin | 2007-05-07 19:10:44 +0200 (Mon, 07 May 2007) | 5 lines

two minor changes, hopefully before release:

- reset randseed, which should make simulations more predictable
- re-activate substeps (for more accurate simulations)

------------------------------------------------------------------------
r10679 | campbellbarton | 2007-05-07 18:34:57 +0200 (Mon, 07 May 2007) | 2 lines

thanks venomgfx for picking up on this one, reset didnt work - my mface/tface selection switchover mistake.

------------------------------------------------------------------------
r10677 | aligorith | 2007-05-07 13:59:43 +0200 (Mon, 07 May 2007) | 8 lines

== Action Editor - Bugfix #6660 ==

When trying to expand the IPO-curves for Shapekey Action Channels, Blender crashed due to that being a previously un-handled case.

For some reason, the names of IPO curve channels are still not drawing on some machines.

I've also disabled the display of shapekey channels when there is an action as the two used to overlap and muck up the drawing matrices of each other.

------------------------------------------------------------------------
r10676 | eeshlo | 2007-05-07 07:08:41 +0200 (Mon, 07 May 2007) | 5 lines

bug #6656, caused by two problems, one of which was that when the old
node_composite.c file was split into separate files for each node, it didn't
include a recent defocus node commit.
For the other half of the problem, see comments in code.

------------------------------------------------------------------------
r10675 | jesterking | 2007-05-07 00:13:38 +0200 (Mon, 07 May 2007) | 4 lines

=== FFMPEG on Win32 ===

* rebuilt ffmpeg libraries. h264 now actually works.

------------------------------------------------------------------------
r10674 | khughes | 2007-05-06 23:42:43 +0200 (Sun, 06 May 2007) | 5 lines



check_for_dupid() was checking wrong variables for on name changes; could
allow IDs will null names ("") to be entered into listbases multiple times.

------------------------------------------------------------------------
r10673 | campbellbarton | 2007-05-06 22:03:18 +0200 (Sun, 06 May 2007) | 2 lines

updates from JMS. scripts assumed new data would be last in the list.

------------------------------------------------------------------------
r10672 | aphex | 2007-05-06 18:43:50 +0200 (Sun, 06 May 2007) | 7 lines

Added a check to installer for runtime dlls required to run blender. If
not found on their system, it will open a browser window to point them
at the download site.

DEV NOTES: Anyone building the NSIS installer will need the Moreinfo
plugin - http://nsis.sourceforge.net/MoreInfo_plug-in

------------------------------------------------------------------------
r10671 | ianwill | 2007-05-06 17:47:07 +0200 (Sun, 06 May 2007) | 4 lines

Scripts:
- Scripts config editor was not working due to changes in module BPyRegistry.py.
- AC3D exporter: a little cleanup + small improvements like sorting objects.

------------------------------------------------------------------------
r10670 | campbellbarton | 2007-05-06 11:54:17 +0200 (Sun, 06 May 2007) | 2 lines

corrected wrong variabel name

------------------------------------------------------------------------
r10669 | ton | 2007-05-06 10:52:04 +0200 (Sun, 06 May 2007) | 3 lines

The commit from Campbell for consistant american english missed 1 variable,
causing plugin to not compile.

------------------------------------------------------------------------
r10668 | blendix | 2007-05-06 07:04:07 +0200 (Sun, 06 May 2007) | 7 lines


Assorted SSS fixes:
- Bug #6652: SSS artifacts with ray shadow.
- Bug #6643: AO + SSS crash. couldn't redo this crash myself, but did find a
             bug that may cause a crash, please test.
- Tweak backscattering to avoid thin surfaces rendering too dark.

------------------------------------------------------------------------
r10667 | campbellbarton | 2007-05-06 04:19:43 +0200 (Sun, 06 May 2007) | 3 lines

many 3ds files would not open in other applications because of the 12 character limit of names and filenames in 3ds files.
fixed this and optimized dictionary access some.

------------------------------------------------------------------------
r10666 | campbellbarton | 2007-05-05 16:48:45 +0200 (Sat, 05 May 2007) | 2 lines

mad logic in tface to mface commit from a while ago. non UV meshes didnt render in textured view.

------------------------------------------------------------------------
r10665 | ton | 2007-05-05 15:14:10 +0200 (Sat, 05 May 2007) | 5 lines

Bugfix: SSS render crashed with option "Save buffers".

Apparently brecht wanted to disable it... but enabling it works just OK.
Gives at least uniform code for now.

------------------------------------------------------------------------
r10664 | elubie | 2007-05-05 12:15:07 +0200 (Sat, 05 May 2007) | 4 lines

==== MSVC 7.1 projectfiles ====
- small maintenance, added sss.c and sss.h
(does not affect release build)

------------------------------------------------------------------------
r10663 | aligorith | 2007-05-05 12:07:05 +0200 (Sat, 05 May 2007) | 5 lines

== IPO Editor ==

Ctrl-Click to add a keyframe in the active ipo-curve only made sense when showkeys
 was off. Otherwise the drawmode would change from keys to curves then back to keys when some other tool was used.

------------------------------------------------------------------------
r10662 | aligorith | 2007-05-05 11:31:01 +0200 (Sat, 05 May 2007) | 5 lines

Bugfix (reported on BA forums):

Blender crashed when the Armature Modifier was supplied with the name of a Vertex
Group which did not have any verts assigned to it.

------------------------------------------------------------------------
r10661 | campbellbarton | 2007-05-05 09:23:28 +0200 (Sat, 05 May 2007) | 2 lines

mistake in my last commit

------------------------------------------------------------------------
r10660 | campbellbarton | 2007-05-05 08:09:03 +0200 (Sat, 05 May 2007) | 3 lines

more epy doc updates
added a constant dict "Blender.Object.IpoKeyTypes" to pass to ob.insertIpoKey(keytype), previously these constants were not documented well and added to Blender.Object directly

------------------------------------------------------------------------
r10659 | aligorith | 2007-05-05 07:10:35 +0200 (Sat, 05 May 2007) | 2 lines

AutoKey Avail was also not working correctly for Object with ObActions.

------------------------------------------------------------------------
r10658 | aligorith | 2007-05-05 06:46:47 +0200 (Sat, 05 May 2007) | 15 lines

Quite a few bugfixes:

* Constraint sliders in Action Editor didn't update buttons window

* Homekey in IPO Editor didn't respect scaling.

* With Preview Range set, using the SKEY and EKEY hotkeys in the Timeline
to change the extents of it, resulted to the NLA editor not being
refreshed. (Note: I haven't actually seen this happening)

* Keyframing options 'Avail' and 'Needed' didn't work for Objects
when they had an ObAction. The problem was that the code assumed
that the object had an ipo-block associated with it, but that is
not the case when you have an Object Action for that object.

------------------------------------------------------------------------
r10657 | campbellbarton | 2007-05-05 05:35:12 +0200 (Sat, 05 May 2007) | 2 lines

updated epydocs

------------------------------------------------------------------------
r10656 | khughes | 2007-05-04 18:59:01 +0200 (Fri, 04 May 2007) | 4 lines



Fix gcc warning about implicit declaration of function ‘object_data_is_libdata'

------------------------------------------------------------------------
r10655 | artificer | 2007-05-04 18:36:39 +0200 (Fri, 04 May 2007) | 9 lines

Fix for bug #6629 - modifiers and vertex-parenting

I have changed the vertex parenting code to use the derivedFinal mesh rather
than derivedDeform; this gives the result after all modifiers have been
applied, rather than the result up to the first non-deforming modifier as it
did before. Since the derivedFinal mesh can have more than one vertex
corresponding to a single vertex in the base mesh, the average of all such
vertices is used.

------------------------------------------------------------------------
r10654 | sirdude | 2007-05-04 17:58:20 +0200 (Fri, 04 May 2007) | 12 lines



Stupid fix...  Back when I introduced new env vars for what
targets to build, the definitions file had different names from the
Makefiles, so these two were broken.
WITH_BF_BLENDERGAMEENGINE
WITH_BF_BLENDERPLAYER

Fixed now.

Kent

------------------------------------------------------------------------
r10653 | khughes | 2007-05-04 15:53:06 +0200 (Fri, 04 May 2007) | 6 lines



Python API
----------
Correct some typos.

------------------------------------------------------------------------
r10652 | aligorith | 2007-05-04 13:35:37 +0200 (Fri, 04 May 2007) | 13 lines

Curves in Editmode:

HKEY and Shift HKEY are used to change the handle type of curve control points in the IPO and Action Editors, and also for curves in the 3d view until recently.

This commit reverses the hotkey changes in:
http://projects.blender.org/pipermail/bf-blender-cvs/2007-May/009879.html

For curves, I've changed the show/hide points hotkeys to:
* Ctrl Alt HKEY  == Hide Point(s)
* Alt HKEY == Show All Points

These aren't optimal, but at least there are usable hotkeys for this for now. Before, there had been a long-standing hotkey conflict. Better hotkeys can be designed as part of 2.5 work.

------------------------------------------------------------------------
r10651 | blendix | 2007-05-04 11:17:46 +0200 (Fri, 04 May 2007) | 4 lines


Fix SSS panel docking. Didn't seen to go well with a clean .B.blend.
Replace the R,G,B sliders with a color button, patch by Matt, thanks!

------------------------------------------------------------------------
r10650 | aligorith | 2007-05-04 09:26:57 +0200 (Fri, 04 May 2007) | 3 lines

Hopefullly this commit shall resolve the issues drawing issues I saw with the Action
Editor IPO-Curve channel names on a computer with an Intel G965 Express graphics card.

------------------------------------------------------------------------
r10649 | campbellbarton | 2007-05-04 05:23:40 +0200 (Fri, 04 May 2007) | 3 lines

added access to SSS settings in Python
buttons_shading.c - 2 tooltips elaborated

------------------------------------------------------------------------
r10648 | blendix | 2007-05-03 23:37:52 +0200 (Thu, 03 May 2007) | 7 lines


Subsurface scattering:

Documentation on the settings, known limitations and implementation
info can be found here:
http://www.blender.org/development/current-projects/changes-since-243/subsurface-scattering/

------------------------------------------------------------------------
r10647 | nicholasbishop | 2007-05-03 21:39:23 +0200 (Thu, 03 May 2007) | 6 lines

== Sculpt Mode ==

Fixed bug #6631, Sculpt Tool don't works correctly on a mesh with Armature modifier

* Modified the calculation of projected (2D) vertex locations to use deformed vertex locations when appropriate

------------------------------------------------------------------------
r10646 | nicholasbishop | 2007-05-03 21:11:54 +0200 (Thu, 03 May 2007) | 7 lines

== Sculpt Mode ==

Fixed bug #6639 ] Sculpt mode clearing brush texture causes a crash (null pointer)

* Added code to clear the brush texture preview (used for propset) when deleting a brush texture
* Added a check in tex_strength() for an empty (NULL) texture slot to prevent the crash

------------------------------------------------------------------------
r10645 | bebraw | 2007-05-03 17:10:44 +0200 (Thu, 03 May 2007) | 6 lines

== UV/Image Editor ==

Patch #6570.

This patch adds color and alpha selectors to Image -> "New..." dialog.

------------------------------------------------------------------------
r10644 | aligorith | 2007-05-03 12:50:51 +0200 (Thu, 03 May 2007) | 6 lines

== Insert-Key Menu for Textures ==

Two minor naming tweaks:
* Cloud -> Clouds
* DistNoise -> DistortedNoise

------------------------------------------------------------------------
r10643 | aligorith | 2007-05-03 12:31:20 +0200 (Thu, 03 May 2007) | 5 lines

Armature Drawing Tweak:

I've always found it hard to see the armature bones in 'Line' mode that don't have any constraints/ik/keyframes/etc. colour indications as they were set to the colour of the background. This tweak makes these particular bones draw slightly darker than
the minor-gridlines in the 3d-view, but not as dark as the major gridlines.

------------------------------------------------------------------------
r10642 | aligorith | 2007-05-03 12:19:37 +0200 (Thu, 03 May 2007) | 5 lines

== IPO Editor - Scaled IPOs ==

Last few bits and pieces - transforms should now work correctly with scaled IPO's
now.

------------------------------------------------------------------------
r10641 | aligorith | 2007-05-03 09:26:38 +0200 (Thu, 03 May 2007) | 4 lines

== IPO Editor - IPO Scaling ==

Cleanups of code for this. Just removed un-necesarry checks.

------------------------------------------------------------------------
r10640 | aligorith | 2007-05-03 08:55:34 +0200 (Thu, 03 May 2007) | 6 lines

Bugfix #6624:

When the databrowser was used for displaying available IPO-blocks, when called from the IPO-editor header, only Object IPO blocks were shown. This bug has apparently been around for quite a few releases, probably due to few people using
this feature (it only occurs on files with > 60 IPO-blocks of one type, and only
when you try to reassign ipo-blocks too).

------------------------------------------------------------------------
r10639 | campbellbarton | 2007-05-03 02:06:07 +0200 (Thu, 03 May 2007) | 20 lines

Update to svg import from JMS

     0.5.9d : - 2007/4/5
              -  when a svg file containts several curves they can be imported in
                 separate object.
              -  managment of paths' name when paths are imported as separate curves.
              -  a menu was added to select between separate or joined curves
              -  management of colors

     0.5.9e : - 2007/4/7
              - corrected a scale problem that only appears when one uses beveldepth
              - in separate curve option, name is also given to the curve data
              - added the list of svg's color names (147) and modified the color's method
                to work with.

     0.5.9h : - 2007/5/2
              - script was updated with the modifs by cambo
              - removed all debug statements
              - correction of a zero division error in the calc_arc function.

------------------------------------------------------------------------
r10638 | campbellbarton | 2007-05-03 01:45:09 +0200 (Thu, 03 May 2007) | 2 lines

bug fixed when calculating animation bone offsets

------------------------------------------------------------------------
r10637 | jesterking | 2007-05-02 18:45:13 +0200 (Wed, 02 May 2007) | 2 lines

Ortho type of camera is now also controlled by CAM_LENS ipo.

------------------------------------------------------------------------
r10636 | campbellbarton | 2007-05-02 05:33:49 +0200 (Wed, 02 May 2007) | 7 lines

rewrote most of this script.
* Export edges instead of faces
* dont export fgon edges
* export all objects (not just active) including Dupli Objects and static particles
* use PupBlock rather then a gui that uses a window.
* write the file normaly rather then redirecting stdout

------------------------------------------------------------------------
r10635 | campbellbarton | 2007-05-02 03:40:27 +0200 (Wed, 02 May 2007) | 2 lines

missed out with 2 active layers that should be active_rnd

------------------------------------------------------------------------
r10634 | campbellbarton | 2007-05-02 02:49:41 +0200 (Wed, 02 May 2007) | 3 lines

PyAPI, Mesh.c - added renderColorLayer and renderUVLayer to the mesh
buttons_editing.c - use icons for mesh viewport layer/render layer

------------------------------------------------------------------------
r10633 | campbellbarton | 2007-05-02 02:01:23 +0200 (Wed, 02 May 2007) | 7 lines

Made it so blender has an active render layer for Uv and Vertex color mesh layers.

This means changing the active UV/VCol layers wont change what renders.
needed to adjust the minor version so old files will copy the active layer to the render-uv/vcol layer.

boxpack2d.py - redoen in C now, dont need python version.

------------------------------------------------------------------------
r10632 | theeth | 2007-05-02 01:03:17 +0200 (Wed, 02 May 2007) | 7 lines

== Bug Fixes ==

[ #6620 ] Problems to select faceloops in Select Only Visible mode
[ #6131 ] Vertex snapping broken in shaded face + edge select mode

Second bug was already "fixed", but that caused the other problem. Forced me to look more deeply into it find the real cause. So, faceloop problem is fixed by revert, the other is fixed by drawing vertice selection colors when in transform (previously was only when vert select was on).

------------------------------------------------------------------------
r10631 | aphex | 2007-05-01 20:36:06 +0200 (Tue, 01 May 2007) | 2 lines

Adding python25.zip for win distro.

------------------------------------------------------------------------
r10630 | bebraw | 2007-05-01 16:37:59 +0200 (Tue, 01 May 2007) | 12 lines

Log:
This commit fixes following issues:
* Undo push of "deselect" does not work correctly with curves. [#6632]
* Hotkey (h) does not work correctly with curves. [#6633]
* If control points are hidden partially (not all are hidden at once),
curve object is not hidden. [#6633]

Issue regarding the way curve objects are shown in the object mode
when they are hidden remains to be solved. [#6633]

First commit!

------------------------------------------------------------------------
r10629 | campbellbarton | 2007-05-01 11:40:10 +0200 (Tue, 01 May 2007) | 4 lines

uvcalc_smart_project.py - fixed error in rare cases.
xfig_export.py - NMesh to Mesh, minor improvements/cleanup.
unweld.py - fixed error when a vert had no faces, also some small speedups and changes.

------------------------------------------------------------------------
r10628 | campbellbarton | 2007-05-01 08:57:20 +0200 (Tue, 01 May 2007) | 3 lines

header_filesel - pressing buttons made the file select header title change color.
scripttemplate_object_edit.py - new script template for objects.

------------------------------------------------------------------------
r10627 | campbellbarton | 2007-05-01 02:30:48 +0200 (Tue, 01 May 2007) | 2 lines

fix for adding a 0,0,0 dummy vertex, pointed out in [ #6607 ]

------------------------------------------------------------------------
r10626 | campbellbarton | 2007-05-01 02:01:20 +0200 (Tue, 01 May 2007) | 4 lines

tweaks to fly mode.
* acceleration made it a bit fast. halved the speed.
* holding shift make mouse wheel effect 1/10th as well as MMB mouse panning.

------------------------------------------------------------------------
r10625 | campbellbarton | 2007-05-01 01:06:07 +0200 (Tue, 01 May 2007) | 2 lines

own mistake, typo in checking mface's selection

------------------------------------------------------------------------
r10624 | ianwill | 2007-04-30 21:20:43 +0200 (Mon, 30 Apr 2007) | 12 lines

Really minor updates related to code I wrote for the Cast modifier:

- modifier.c: moved a check out of a loop, removed an unneeded var, made a couple cosmetic changes.

- DNA_modifier_types.h: added parentheses to cast and smooth modifier defines that used bit-shifting (like 1<<1, etc.).

Note: realized they were needed when I tried to use "flag &= ~MOD_CAST_Z" in modifier.c. Since MOD_CAST_Z is #defined as 1<<3, ~MOD_CAST_Z ended up as ~1<<3 while I wanted ~(1<<3). There are other places in that header file and others in Blender where it'd be safer to add the parentheses...

- Updated the epydoc documentation for the features added by Ben Batt to the cast modifier; fixed small typo in API_intro.py.

BTW, thanks Ben Batt (artificer) for checking, improving with a couple features and committing these modifiers :).

------------------------------------------------------------------------
r10623 | artificer | 2007-04-30 19:03:15 +0200 (Mon, 30 Apr 2007) | 2 lines

Removed some unused flags accidentally included in the previous commit.

------------------------------------------------------------------------
r10622 | artificer | 2007-04-30 18:49:12 +0200 (Mon, 30 Apr 2007) | 7 lines

Patch #6192 - Wave Modifier Option to move verts along normals

This patch adds an option to the wave modifier to displace along the normals
of the base mesh, rather than in the local Z direction.

Thanks to Michael Fox (mfoxdoggg) for the patch!

------------------------------------------------------------------------
r10621 | artificer | 2007-04-30 17:20:05 +0200 (Mon, 30 Apr 2007) | 7 lines

Patch #6582 - Weight groups in the wave modifier

This patch adds vertex group functionality to the wave modifier, allowing the
user to specify a vertex group with which to modulate the wave deformation.

Thanks to Michael Fox (mfoxdoggg) for the patch!

------------------------------------------------------------------------
r10620 | campbellbarton | 2007-04-30 10:00:48 +0200 (Mon, 30 Apr 2007) | 5 lines

Scene.c - scene.objects.context how dosnt include hidden objects
editview.c - deselect all ignores restricted objects
headerbuttons.c - removing a material didnt redraw the 3d view
vpaint.c - disable vpaint for mesh libdata as well as object libdata

------------------------------------------------------------------------
r10619 | broken | 2007-04-30 08:51:24 +0200 (Mon, 30 Apr 2007) | 3 lines

* Small tweak - initialise mirror modifier to use X axis by default, 
as it was previously.

------------------------------------------------------------------------
r10618 | aligorith | 2007-04-30 06:45:18 +0200 (Mon, 30 Apr 2007) | 7 lines

== Preview Range ==

Removing the ability to have the Preview Range affecting the Preview Renders (OpenGL renders) as it is unstable in certain cases. It was only a problem when rendering to movie-file formats with a preview range set greater than the normal range, as it would consume increasing amounts of memory for each frame rendered.

Preventing this from happening would have required too much disruption of the avi
writing code to be worthwhile.

------------------------------------------------------------------------
r10617 | broken | 2007-04-30 06:30:41 +0200 (Mon, 30 Apr 2007) | 5 lines

* Only reset local view near camera clipping to 0.1 if it was previously larger. 

i.e. if I'm zoomed in working on something zoomed in close with a short near 
clipping distance, don't suddenly clip off my work when I enter local view.

------------------------------------------------------------------------
r10616 | artificer | 2007-04-29 20:32:40 +0200 (Sun, 29 Apr 2007) | 2 lines

Fixed editmode transform clipping for new Mirror modifier axis options.

------------------------------------------------------------------------
r10615 | artificer | 2007-04-29 20:13:55 +0200 (Sun, 29 Apr 2007) | 13 lines

Patch #6113 - Cast & Smooth modifiers

This patch adds two modifiers: Cast and Smooth.

The Cast modifier deforms vertices into a sphere, cylinder or cuboid shape.
The location and orientation of the projection shape can be controlled by a
specified control object.

The Smooth modifier smooths the mesh in a similar way to the Edit mode "Smooth"
button.

Thanks to Willian Padovani Germano (ianwill) for the patch!

------------------------------------------------------------------------
r10614 | campbellbarton | 2007-04-29 19:42:04 +0200 (Sun, 29 Apr 2007) | 2 lines

own error in last commit, was using tface as mface. also removed some unused variables GCC reported.

------------------------------------------------------------------------
r10613 | artificer | 2007-04-29 18:15:50 +0200 (Sun, 29 Apr 2007) | 7 lines

Patch #6584 - Texture functionality in the wave modifier

This patch allows the user to use a texture to modulate the wave modifier's
amplitude.

Thanks to Michael Fox (mfoxdoggg) for the patch!

------------------------------------------------------------------------
r10612 | campbellbarton | 2007-04-29 18:00:08 +0200 (Sun, 29 Apr 2007) | 4 lines

Patch [ #6623 ] Fixed one error, one typo in mesh_cleanup.py

Also added an option to remove all white vcol layers. this is usefull when loading old blend files where every mesh has vcolor's even if they are all white (because of how texface used to be stored before vcol layers)

------------------------------------------------------------------------
r10611 | artificer | 2007-04-29 16:00:30 +0200 (Sun, 29 Apr 2007) | 11 lines

Patch #5629 - Mirror modifier axis' to be toggleable

This patch makes the X, Y and Z axes of the mirror modifier individually
toggleable, so it is possible to mirror in more than one direction with a
single modifier.

Thanks to Juho Vepsäläinen (bebraw) for the patch!

NOTE: BLENDER_SUBVERSION has been incremented to support translation from old
      to new axis specification.

------------------------------------------------------------------------
r10610 | campbellbarton | 2007-04-29 15:39:46 +0200 (Sun, 29 Apr 2007) | 5 lines

dont use tface hide or select anymore, since maintaining 2 sets of hide/select data for each face is annoying.
using mface->flag for both.

Also found that the cdDM_drawMappedFaces and cdDM_drawFacesTex_common could get normals mixed up when rendering hidden faces. because hidden/invisible faces used continue without advancing to the next normal.

------------------------------------------------------------------------
r10609 | ton | 2007-04-29 12:49:02 +0200 (Sun, 29 Apr 2007) | 3 lines

Casting fixes for 64 bits. Incomplete commit, discussion on proper casting
has to be finished.

------------------------------------------------------------------------
r10608 | aligorith | 2007-04-29 05:35:39 +0200 (Sun, 29 Apr 2007) | 4 lines

== IPO Editor ==

Inser Keyframe on Current Frame now takes NLA/IPO scaling into account.

------------------------------------------------------------------------
r10607 | aligorith | 2007-04-29 04:49:49 +0200 (Sun, 29 Apr 2007) | 4 lines

== IPO Editor ==

IPO-Keys (K) should now work with scaled IPO curves.

------------------------------------------------------------------------
r10606 | eeshlo | 2007-04-29 03:59:19 +0200 (Sun, 29 Apr 2007) | 4 lines

bug #6615, not complete solution, but slightly improves the result at least.
Additionally fixed another bug, never reported, but a zero bokeh rotation
offset seemed to cause missing center lines.

------------------------------------------------------------------------
r10605 | campbellbarton | 2007-04-28 20:20:43 +0200 (Sat, 28 Apr 2007) | 2 lines

windows needed M_PI defined.

------------------------------------------------------------------------
r10604 | campbellbarton | 2007-04-28 19:21:00 +0200 (Sat, 28 Apr 2007) | 8 lines

removed doc_browser.py - since it covers ~half the BPY api, not documenting any of blenders data types.
replaced with a help_bpy_api.py, that opens a web browser at the Blender Python API page.
Camera.c - added a veriable .angle to camera, same as .lens but adjusts the camera angle in degrees (like the D button)
export_fbx.py - use the the camera angle property.
object_cookie_cutter.py - use PointInTriangle2D rather then own function.
buttons_shading.c - added OB: and tooltip to object world mapping.
interface_draw.c - (Simple theme) text buttons looked exactly like normal buttons (more confusing when they had no text), made the text and ID buttons render inset so you can tell them apart.

------------------------------------------------------------------------
r10603 | ton | 2007-04-28 18:15:12 +0200 (Sat, 28 Apr 2007) | 18 lines

Part 2 of 64 bits fixing; the files.

The good news; previously written 64 bits are still valid! All fixes
appeared to be possible in code, no versioning patches needed. :)
That also removes the I AM STUPID 64 bits ban from the code.

The bad news:
I couldn't get a 64 bits Blender running here (ghost-mac issues... it
has to be recoded using Quartz to be able to run 64 bits). So what I
have tested was:

32 bits binary:
  - Appending/linking data from 64 bits file.
  - Reading 64 bits chained library-linked files (file -> file -> etc)
  - Linking 32 bits files with 64 bits files

This has to be tested for 64 bits too. Will drop in IRC now to help.

------------------------------------------------------------------------
r10602 | ton | 2007-04-28 18:15:00 +0200 (Sat, 28 Apr 2007) | 21 lines

Part 2 of 64 bits fixing; the files.

The good news; previously written 64 bits are still valid! All fixes
appeared to be possible in code, no versioning patches needed. :)
That also removes the I AM STUPID 64 bits ban from the code.

The bad news:
I couldn't get a 64 bits Blender running here (ghost-mac issues... it
has to be recoded using Quartz to be able to run 64 bits). So what I
have tested was:

32 bits binary:
  - Appending/linking data from 64 bits file.
  - Reading 64 bits chained library-linked files (file -> file -> etc)
  - Linking 32 bits files with 64 bits files

This has to be tested for 64 bits too. Will drop in IRC now to help.

Note: part 3 is fixing memory issues for addressing > 4 GB data. A first
start has been made for a blenlib API function.

------------------------------------------------------------------------
r10601 | aligorith | 2007-04-28 11:35:16 +0200 (Sat, 28 Apr 2007) | 21 lines

== IPO Editor - Scaled Curves for NLA-Strip Curves ==

This commit resolves an issue dating back a few releases. When the IPO block being displayed in the IPO editor came from an Action being used as an Action Strip
in the NLA editor, the keyframes in the IPO editor were not displayed in 'NLA-time'.

There are however a number of things that still need work on so that they will play
nicely with these changes. Having said that, the IPO editor is still generally stable
for use (or should be). In case anything plays up, 'pin' the IPO view you're using
to turn off these changes.

This resolves Todo #4335.

Known Issues:
* When 'K' (show keys) mode is on, it doesn't work too too well yet. The display
 in such situations will be a bit confusing.
* Pressing IKEY in the IPO editor (for inserting a keyframe on the current frame)
 also doesn't work too well yet. It will insert a keyframe on the wrong frame.
* Transforms don't get any correction for scaling yet. This is only an issue when
 snapping transforms to the grid, or relying on the delta numbers printed in the
 header.

------------------------------------------------------------------------
r10600 | khughes | 2007-04-28 07:09:09 +0200 (Sat, 28 Apr 2007) | 8 lines



Python API
----------
Draw.c: Fix some gcc warnings
Bone.c: Bone_getAllChildren() was calling EXPP_incr_ret() but not returning
	the value

------------------------------------------------------------------------
r10599 | aligorith | 2007-04-28 05:01:12 +0200 (Sat, 28 Apr 2007) | 7 lines

Bugfix #6614:

spurious "can't edit external libdata" for normal operations on proxy armature


Also, fixed two typos in code comments.

------------------------------------------------------------------------
r10598 | campbellbarton | 2007-04-28 01:54:30 +0200 (Sat, 28 Apr 2007) | 5 lines

Draw.c - error setting the callback button values when using UIBlock (was not offset)
BPyMesh.py - own dumb error, was using dir as an arg (which is a py keyword)

object_drop.py - new script, the first to use UIBlock, it drops objects into terrain, either a group or the active object. on teh Z axis or view axis.

------------------------------------------------------------------------
r10597 | campbellbarton | 2007-04-27 22:48:23 +0200 (Fri, 27 Apr 2007) | 2 lines

Adding Blender.Geometry function PointInTriangle2D

------------------------------------------------------------------------
r10596 | campbellbarton | 2007-04-27 19:19:26 +0200 (Fri, 27 Apr 2007) | 7 lines

export_cal3d - exporting all actions (option) wasnt working
export_fbx - blender cameras now work properly (converted lens angle, rotate to the right axis)
	Made meshes, armatures and cameras use the same namespace.
DirectX8Exporter - update from David Teviotdale, change names of exported objects so some DX readers dont fail
xsi_export - Null materials made the export fail (python error).
	This may not be a correct solution since material indicies could be messed up now. I have no way of reading these files.

------------------------------------------------------------------------
r10595 | bdiego | 2007-04-27 18:56:29 +0200 (Fri, 27 Apr 2007) | 2 lines

Fix hide/show don't work in object mode.

------------------------------------------------------------------------
r10594 | jiri | 2007-04-27 16:04:30 +0200 (Fri, 27 Apr 2007) | 8 lines


- support for fake verse edges (subsurf modifier should work now)
   - edges are generated from verse faces
   - no support for lose edge!
   - informations about edges aren't sent to verse server (other applications
     can't share edges with blender)
- better sending/receiving vertex position

------------------------------------------------------------------------
r10593 | aligorith | 2007-04-27 14:05:06 +0200 (Fri, 27 Apr 2007) | 5 lines

"Bugfix" #6610:

Typo in Fluidsim Tooltips. Also fixed a few other similar issues with the tooltips
there.

------------------------------------------------------------------------
r10592 | aligorith | 2007-04-27 13:54:09 +0200 (Fri, 27 Apr 2007) | 10 lines

== 2 Bugfixes ==

Bug #6611:
Renaming bones didn't rename corresponding action-channels in NLA strips for that
object. Was even marked in code as todo ;-)

Bugfix #6599:
Vgroup button does not update the panels in 3d viewports.
Fix provided by Juho Vepsäläinen

------------------------------------------------------------------------
r10591 | aligorith | 2007-04-27 13:32:11 +0200 (Fri, 27 Apr 2007) | 2 lines

Removed unused variable and reorganised another

------------------------------------------------------------------------
r10590 | aligorith | 2007-04-27 13:16:35 +0200 (Fri, 27 Apr 2007) | 13 lines

Bugfix:

Previous versions of Blender allowed Vertex Groups to be nameless, which
shouldn't be allowed. This caused problems with rigs from previous versions of Blender being loaded in 2.43+ versions, as the new VGroup feature for the
Armature modifier mis-identified these nameless group(s) as being the Vertex Group
to be used. As well as the checks done when renaming VGroups (from another commit), files created prior to and in 2.43 will have all such groups given default
names.

Code notes:
* I've moved the unique_vertexgroup_name function from src to blenkernel like for
 constraints
* Formatting in deform.c tidied up a bit

------------------------------------------------------------------------
r10589 | campbellbarton | 2007-04-27 02:33:07 +0200 (Fri, 27 Apr 2007) | 3 lines

added blender-camera export to fbx
py api was massing shiftX/Y

------------------------------------------------------------------------
r10588 | campbellbarton | 2007-04-26 21:05:22 +0200 (Thu, 26 Apr 2007) | 5 lines

drawview.c - Passepartout, only do GL alpha when not 1.0 alpha
buttons_editing.c - negative camera lense was possible with (Deg) button enabled
export_cal3d.c - minor changes
object_batch_name_edit.py - check for data and object libdata before renaming.

------------------------------------------------------------------------
r10587 | bdiego | 2007-04-26 16:03:28 +0200 (Thu, 26 Apr 2007) | 3 lines

If you are in PoseMode and use BKEY the selection is now limited to the
bones of the armature.

------------------------------------------------------------------------
r10586 | ton | 2007-04-26 11:01:37 +0200 (Thu, 26 Apr 2007) | 8 lines

Bugfix:

Specular pass was excluded from Shaded drawmode, missing initialize of
new 'exclude passes from result' option. Bug in 2.43 release...

Added warning in code, ShadeInput is initialized here locally, need an API
call for it.

------------------------------------------------------------------------
r10585 | campbellbarton | 2007-04-26 01:51:53 +0200 (Thu, 26 Apr 2007) | 6 lines

fixed many errors in Cal3D that didnt show up with the testmodel I was using.
Mostly problems with vertex index, and splitting off new verts.

removing truespace_export.py truespace_import.py, (decieded by letterrip and myself)
both truespace and blender have enough formats in common that we dont need to support this format thats spesific to truespace and not used for 3d data interchange.

------------------------------------------------------------------------
r10584 | campbellbarton | 2007-04-25 23:19:43 +0200 (Wed, 25 Apr 2007) | 2 lines

darn, had some debug stuff left in.

------------------------------------------------------------------------
r10583 | campbellbarton | 2007-04-25 23:17:49 +0200 (Wed, 25 Apr 2007) | 5 lines

rewrote vertex/face creation (should be faster now)
* added support for blenders materials
* added support for multiple materials per mesh
* added Multiple UV's per vert, as well as using multiple images (Blenders TEXFace)

------------------------------------------------------------------------
r10582 | bdiego | 2007-04-25 18:52:20 +0200 (Wed, 25 Apr 2007) | 2 lines

SubSurf can be enable/disable in linked data.

------------------------------------------------------------------------
r10581 | ton | 2007-04-25 18:12:34 +0200 (Wed, 25 Apr 2007) | 5 lines

Bugfix, plumiferos report:

Strand texture coords (static particles) did not precisely go from -1 to 1
when random lifetime was used.

------------------------------------------------------------------------
r10580 | campbellbarton | 2007-04-25 16:47:29 +0200 (Wed, 25 Apr 2007) | 9 lines

hiding objects in texture paint mode was buggy - (you couldnt exit texxture paint) - so only hide/show objects in object mode.
removed radiosity support.

According to the author -

"The Radiosity file format is my own personal format. I created it to
learn how meshes and vertex colors were stored. See IO-Examples.zip, the
example *.radio files on my web page."

------------------------------------------------------------------------
r10579 | aligorith | 2007-04-25 13:57:02 +0200 (Wed, 25 Apr 2007) | 11 lines

== Action Editor ==

In the Action Editor, sliders are now drawn beside IPO-Curve and Constraint Channels and for the active Action Channel when the 'Show Sliders' option in the View menu is turned on. This behaves like for shapekeys.

You can change the limits of the sliders by either Ctrl-Clicking or NKEY over the
name of the relevant IPO-Curve channel.


Also, documented the IPO-curve struct a bit. There are a few variables there that
I'm not sure what they are used for.

------------------------------------------------------------------------
r10578 | campbellbarton | 2007-04-25 07:13:03 +0200 (Wed, 25 Apr 2007) | 3 lines

BPyArmature - has a function that gets final pose locations/rotations. the data it returns can be swaped with IPO curve/locations, so exporters can use this to export bones with IK's/constraints.
export_cal3d.py - option to export with baked animation from posebones, added popup UI with some options, fixed object scaling, get the meshes armature if its not selected.

------------------------------------------------------------------------
r10577 | campbellbarton | 2007-04-25 04:20:55 +0200 (Wed, 25 Apr 2007) | 7 lines

made blender take hidden objects into account in more situations.
Ctrl+RMB used to select a hidden object as well as "Select Grouped -> Parent"

Also made OOps and data browser check for hidden objects.

Added a countall to hide/unhide objects.

------------------------------------------------------------------------
r10576 | campbellbarton | 2007-04-25 02:37:19 +0200 (Wed, 25 Apr 2007) | 4 lines

Object.c - made object action writable
gen_library - fixed bug, wasnt adjusting user counts properly.
bpy_data.c - added default new names for new data

------------------------------------------------------------------------
r10575 | campbellbarton | 2007-04-24 19:28:40 +0200 (Tue, 24 Apr 2007) | 4 lines

editface.c & buttons_logic.c & Draw.c & verse_session.c - added missing header
Bone.c - return an empty list rather then None for bone.children bone.getAllChildren()
Draw.c - per button callbacks are now have (event, value) passed

------------------------------------------------------------------------
r10574 | ton | 2007-04-24 16:52:35 +0200 (Tue, 24 Apr 2007) | 5 lines

64 bits safety:

- makesdna now checks for struct-in-struct alignment (default 8 byte align)
- fixed two occurances of such struct-in-struct align errors

------------------------------------------------------------------------
r10573 | campbellbarton | 2007-04-24 04:09:25 +0200 (Tue, 24 Apr 2007) | 2 lines

had debug oprions enabled for cal3d, small updates to epydoc

------------------------------------------------------------------------
r10572 | campbellbarton | 2007-04-24 04:05:40 +0200 (Tue, 24 Apr 2007) | 3 lines

Cal3d exporter
Updated this script to work with the new python API, Mesh from NMesh and lots of other improvements + some bug fixes.

------------------------------------------------------------------------
r10571 | campbellbarton | 2007-04-23 00:08:19 +0200 (Mon, 23 Apr 2007) | 8 lines

Changed TESTBASE and TESTBASE_LIB to check the hidden flag
  Checked every instance of testbase to see this dosnt break anything, also changed TESTBASE and TESTBASELIB, both were used incorrectly in places.

added error_libdata() for library error messages that are everywhere.
added object_data_is_libdata to test if the object and its data's are from a library.
fixed 2 crashs in adding Curve points to a library object (remember to check, verify_ipocurve returns NULL!)
made duplicating and making dupli's real for lib objects possible, disabled joining into lib armatures and meshes.

------------------------------------------------------------------------
r10570 | campbellbarton | 2007-04-22 19:14:23 +0200 (Sun, 22 Apr 2007) | 3 lines

6488 - Interface - Theme controls corner style
Made some other changes too, to border redraw, and dont draw antialiased squares when the minimal themes enabled.

------------------------------------------------------------------------
r10569 | campbellbarton | 2007-04-22 18:27:45 +0200 (Sun, 22 Apr 2007) | 5 lines

Commit [ #6576 ] Hide "Join Areas" when areas cannot be joined,
modified the way string/menu, but othern then that patch's functionality is good.

Seems to loop a fair but on screen edge data, but I tried to make it run slow and couldnt..

------------------------------------------------------------------------
r10568 | campbellbarton | 2007-04-22 15:48:40 +0200 (Sun, 22 Apr 2007) | 3 lines

New UI popup block Blender.Draw.UIBlock(func) - similar to PupBlock but less restrictive since it uses user defined buttons.
Also added per button callbacks, so each button can have its own python functions.

------------------------------------------------------------------------
r10567 | campbellbarton | 2007-04-21 13:23:45 +0200 (Sat, 21 Apr 2007) | 5 lines

lightwave_import - tested with many more new files, fixed a rare error (probably bad file)
export_fbx - export lamps, (point/spot/sun), Mesh edges, Dupli'Objects and static particles as edges. bug fix in material export and better reuse of some standard text chunks.
fly mode, added acceleration on mouse-wheel and +/- so flicking the mousewheel has more effect and dosnt feel so slugish.
BPySys.py - cleanName, dumb mistake.

------------------------------------------------------------------------
r10566 | aligorith | 2007-04-21 05:54:16 +0200 (Sat, 21 Apr 2007) | 10 lines

== Preview Range ==

2 Bugfixes:
* EKEY in Timeline changed start frame of Preview Range too. Reported by slikdigit
 on IRC
* SKEY in Timeline also didn't work correct as it was changing the end frame.

New Feature:
* Now OGL preview-render obeys Preview-Range settings.

------------------------------------------------------------------------
r10565 | aligorith | 2007-04-21 02:08:33 +0200 (Sat, 21 Apr 2007) | 4 lines

== Action Editor ==

Now you can also rename channels by holding the Ctrl-Key and clicking on a channel.

------------------------------------------------------------------------
r10564 | campbellbarton | 2007-04-21 01:33:56 +0200 (Sat, 21 Apr 2007) | 5 lines

2 new python functions for the NLA.
action.getChannelNames() and action.renameChannel(from, to)

editaction.c - maximum new name length was too short

------------------------------------------------------------------------
r10563 | campbellbarton | 2007-04-20 22:15:54 +0200 (Fri, 20 Apr 2007) | 5 lines

dumb mistake, wasnt UN-setting the flag to zero LIB_APPEND_TAX

Fixed an error that could cause a possible memory corruption,
library filenames were being used to make a menu, but memory was only being allocated FILE_MAX per lib rather then FILE_MAXDIR+FILE_MAX, since lib->name is the full path. was also doing lib->name+2 which isnt needed for a path.

------------------------------------------------------------------------
r10562 | campbellbarton | 2007-04-20 20:48:30 +0200 (Fri, 20 Apr 2007) | 6 lines

export_fbx.py - support scene start/end frames, fpx, mist settings, better default camera writing.
BPyObject.py - function for getting an objects armature, look at both parent and modifier.
editmesh_add.c and BPyAddMesh.py - check for multires
filesel.c, Append/Link had a bug where files linked in, didnt have the LIB_APPEND_TAG unset, and appending these into a new blend file would link instead.
BKE_library.h, library.c - utility functions for flagging listbases flag_all_listbases_ids and and flag_listbase_ids

------------------------------------------------------------------------
r10561 | elubie | 2007-04-20 18:53:57 +0200 (Fri, 20 Apr 2007) | 4 lines

==== MSVC 7.1 project files ====
- cleanup of the python included files
- update for some recently added files

------------------------------------------------------------------------
r10560 | jiri | 2007-04-20 14:56:51 +0200 (Fri, 20 Apr 2007) | 6 lines



Buf fix for #6571

 - metaball_tree= NULL; was missing in code

------------------------------------------------------------------------
r10559 | campbellbarton | 2007-04-20 01:45:33 +0200 (Fri, 20 Apr 2007) | 5 lines

[ #6442 ] image.repack (Python)
- Modified pack so it can repack too, rather the n raising an error.

editobject - Dont need to recalc data when hiding and unhiding. rather do what layers do and re-sort the scene.

------------------------------------------------------------------------
r10558 | joeedh | 2007-04-20 00:49:48 +0200 (Fri, 20 Apr 2007) | 6 lines

=ID Properties bugfix=

The array resizing function, meant to be used with strings, 
didn't work.  This  is because the id property size table 
had the wrong value for strings.

------------------------------------------------------------------------
r10557 | campbellbarton | 2007-04-19 22:58:09 +0200 (Thu, 19 Apr 2007) | 4 lines

adding a python function for cleaning strings (for filenames and export names) BPySys.py - used fotr obj and fbx export.
view.c - missed one smoothview/camera.
Brigg's hide object patch didnt change the object selection flag, other minor changes also.

------------------------------------------------------------------------
r10556 | briggs | 2007-04-19 21:47:51 +0200 (Thu, 19 Apr 2007) | 9 lines

-> Keybindings for hiding objects

Small feature, added keybindings for setting the visibility restriction flags
that were previously only accesible via the outliner

HKEY 		Hides all selected
SHIFT-HKEY 	Hides all unselected
ALT-HKEY 	Shows all hidden

------------------------------------------------------------------------
r10555 | campbellbarton | 2007-04-19 19:27:18 +0200 (Thu, 19 Apr 2007) | 3 lines

update for exporting material settings, everything was exporting green,
now use spec,diffuse,ambient,alpha,shadeless settings as well as some others that match

------------------------------------------------------------------------
r10554 | campbellbarton | 2007-04-19 17:02:54 +0200 (Thu, 19 Apr 2007) | 3 lines

moving from camera view with home and astrix keys now uses smooth view (This should be the last one).
Fix for own error from a wile ago Numpad-Astrix would set to size view of selected faces, rather then front.

------------------------------------------------------------------------
r10553 | campbellbarton | 2007-04-19 14:31:12 +0200 (Thu, 19 Apr 2007) | 2 lines

selecting all new faces broke this, fixed and optimized a bit.

------------------------------------------------------------------------
r10552 | campbellbarton | 2007-04-19 09:58:42 +0200 (Thu, 19 Apr 2007) | 2 lines

recent smoothview update broke pan in camera view, some vars used in the function needed to be used after, reverting this change.

------------------------------------------------------------------------
r10551 | campbellbarton | 2007-04-19 09:22:28 +0200 (Thu, 19 Apr 2007) | 2 lines

last commit broke 'set camera to view', teh max smoothview time was set to 10sec by mistake also.

------------------------------------------------------------------------
r10550 | campbellbarton | 2007-04-19 00:53:20 +0200 (Thu, 19 Apr 2007) | 3 lines

remove warnings from last commit.
smooth view now works for change between cameras, smooth view now blends the lens angle too.

------------------------------------------------------------------------
r10549 | hos | 2007-04-18 19:49:42 +0200 (Wed, 18 Apr 2007) | 2 lines

Added libIlmThead.a to link line to the osx-intel build.

------------------------------------------------------------------------
r10548 | khughes | 2007-04-18 17:34:03 +0200 (Wed, 18 Apr 2007) | 6 lines



Python API
----------
Fix bpy.libraries so that .append() doesn't affect linked data.

------------------------------------------------------------------------
r10547 | jiri | 2007-04-18 17:30:33 +0200 (Wed, 18 Apr 2007) | 6 lines



 == Python API ==

Bug fix for Effect.setStype().

------------------------------------------------------------------------
r10546 | campbellbarton | 2007-04-18 16:40:01 +0200 (Wed, 18 Apr 2007) | 4 lines

PyAPI.
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module.
currently we have bpy.library bpy.config and bpy.data

------------------------------------------------------------------------
r10545 | bdiego | 2007-04-18 14:39:04 +0200 (Wed, 18 Apr 2007) | 3 lines

When press ESC in Blur or Defocus node the output buffer is incomplete.
This cleanup the output buffer to execute the node again until it's complete.

------------------------------------------------------------------------
r10544 | campbellbarton | 2007-04-17 21:04:55 +0200 (Tue, 17 Apr 2007) | 5 lines

maving too many objects for the select buffer would crash blender.

added checks for an error value returned from view3d_opengl_select so as not to act on bad data.
also the error message didnt display because of where it was, delayed the error so it displays right.

------------------------------------------------------------------------
r10543 | campbellbarton | 2007-04-17 20:15:31 +0200 (Tue, 17 Apr 2007) | 2 lines

Starting blender with -w does not switch of maximize anymore, so with and without the -w arg, the window should start maximized.

------------------------------------------------------------------------
r10542 | campbellbarton | 2007-04-17 18:14:41 +0200 (Tue, 17 Apr 2007) | 4 lines

added a hook menu for object mode, more commands can be added here but currently there is only Reset Offset and Recenter at Cursor

This functionality was requested by malfico when dealing with many hooks.

------------------------------------------------------------------------
r10541 | campbellbarton | 2007-04-17 16:23:19 +0200 (Tue, 17 Apr 2007) | 7 lines

Python API registry SetKey() had a limit of 60 that would keep counting up every time you used SetKey() until it would always be 60 and nothing would save.

removing limits for now, no other areas of blenders API have limits like this (even if those limits make sense in most cases)
we may add warnings later.

also use faster dict syntax too.

------------------------------------------------------------------------
r10540 | campbellbarton | 2007-04-17 08:12:26 +0200 (Tue, 17 Apr 2007) | 2 lines

fixed a python-api bug with adding a new image sequence strip crashing blender.

------------------------------------------------------------------------
r10539 | jesterking | 2007-04-17 07:21:37 +0200 (Tue, 17 Apr 2007) | 2 lines

* update link to dependencies page.

------------------------------------------------------------------------
r10538 | pidhash | 2007-04-17 04:34:40 +0200 (Tue, 17 Apr 2007) | 2 lines

not search openEXR with WITH_OPENEXR=false in linux

------------------------------------------------------------------------
r10537 | campbellbarton | 2007-04-16 18:36:39 +0200 (Mon, 16 Apr 2007) | 3 lines

removed 'reverse' menu items from face sort, instead hold Ctrl to reverse the sort.
added material sort and fixed an unlikely but possible memory leak.

------------------------------------------------------------------------
r10536 | ton | 2007-04-16 12:55:59 +0200 (Mon, 16 Apr 2007) | 7 lines

Bugfix #6565

Nice discovery by Ralf (cheleb): crasher with colorband, caused by NULL
pointer reading. It actually reveiled a weakness in code too, the
buttonswindow context was not set appropriate when buttons window had not
a header...

------------------------------------------------------------------------
r10535 | broken | 2007-04-16 09:01:51 +0200 (Mon, 16 Apr 2007) | 11 lines

* Create autosave dir on windows if it doesn't exist

For a long time, Blender has shipped with a .B.blend with a default .B.blend
that has "/tmp" as a default temp directory. This, of course, doesn't usually 
exist on Windows, so anyone who used Blender on Windows and didn't know 
to manually update it, lost all auto save files.

Now on Windows, Blender checks to see if the directory in U.tmpdir exists, 
and if it doesn't, it will create a new 'autosave' dir underneath the .blender
home directory and save auto save files in there.

------------------------------------------------------------------------
r10534 | nicholasbishop | 2007-04-16 07:57:06 +0200 (Mon, 16 Apr 2007) | 6 lines

== Sculpt Mode ==

Fix for bug #6556, Sculpt draw/inflate brush strength is dependent on object scale value

Added a scaling factor to brushes that adjusts for objects which have been scaled. Usually this means that the vertex locations are also scaled up or down.

------------------------------------------------------------------------
r10533 | blendix | 2007-04-15 17:33:17 +0200 (Sun, 15 Apr 2007) | 4 lines


Fix for bug #6461:
quadToTriangle() crash, was a missing depsgraph update.

------------------------------------------------------------------------
r10532 | aligorith | 2007-04-15 13:23:21 +0200 (Sun, 15 Apr 2007) | 3 lines

A few little tweaks to NLA editor when transforming keyframes, so that it now in line
with what the Action Editor is now doing.

------------------------------------------------------------------------
r10531 | aligorith | 2007-04-15 11:48:53 +0200 (Sun, 15 Apr 2007) | 17 lines

== NLA Editor - Auto-Blending for ActionStrips ==

This is just a little time-saver for NLA-workflow. With the 'Auto-Blending' option
turned on in the Transform Properties (NKEY) for an ActionStrip, that strip's blendin/blendout values are determined based on the number of frames that the previous and/or next actionstrip(s) on overlap over the start and end of it.

It is turned on by default for new actionstrips added using the Shift-N hotkey.

Caveats:
* Only the actionstrips immediately on either side of the strip being evaluated, will
 have any effect
* A strip that is longer-than, and extends over the sides of the strip being evaluated,
 will have no effect

Additional Notes:
* Blendin/Blendout have been renamed In/Out in UI for brevity
* Button layout in NLA Transform Properties has changed slightly again, but hopefully that shouldn't be too much of an issue.

------------------------------------------------------------------------
r10530 | campbellbarton | 2007-04-15 08:02:12 +0200 (Sun, 15 Apr 2007) | 2 lines

last commit didnt include this file.

------------------------------------------------------------------------
r10529 | campbellbarton | 2007-04-15 07:01:34 +0200 (Sun, 15 Apr 2007) | 5 lines

Made X11 use _NET_WM_STATE_MAXIMIZED_HORZ and _NET_WM_STATE_MAXIMIZED_VERT when opening (if -p isnt given as an arg)
gsr and myself both wrote a patch for this, using gsr's.

import_obj - another error in splitting fixed.

------------------------------------------------------------------------
r10528 | theeth | 2007-04-14 22:56:24 +0200 (Sat, 14 Apr 2007) | 8 lines

=== Transform ===

Fixed a bug with PET with connectivity, Mesh Face Select mode and Individual Centers.

Those three together could give negative factors, which is a big no no (this is due to some approximation in the connectivity code). Clamping the factor makes everything fine.

Bug reported by someone on BA

------------------------------------------------------------------------
r10527 | nicholasbishop | 2007-04-14 21:54:26 +0200 (Sat, 14 Apr 2007) | 8 lines

== Multires ==

Possible fix for bug #6208, Blender crashes in sculpt tool

* make_orco_mesh_internal was using the render level rather than the pin level to create orcos

Note that since this bug never caused a crash on my system, I can't confirm that this fixes 6208.

------------------------------------------------------------------------
r10526 | campbellbarton | 2007-04-14 19:44:50 +0200 (Sat, 14 Apr 2007) | 3 lines

import_obj - bugfix, split by groups didnt work.
disabled lamp panel and camera panel from editing lib data

------------------------------------------------------------------------
r10525 | campbellbarton | 2007-04-14 17:42:51 +0200 (Sat, 14 Apr 2007) | 4 lines

2 minor changes, when an object is active, dont draw its text highlighted. (previously the active object was always drawn teh same weather selected or not, making it hard to use the outliner to modify the selection)

Show an error if the user types in a library path that dosnt exist. (loading with a missing library path and saving can loose all your objects so a warning is best)

------------------------------------------------------------------------
r10524 | campbellbarton | 2007-04-14 15:18:24 +0200 (Sat, 14 Apr 2007) | 4 lines

update to center view.
 - Dont do anything if no verts or faces are selected (used to zoom into 0,0,0)
 - use the centers of dupli objects (should eventually use their bound boxes), much nicer when dealing with many dupli-objects

------------------------------------------------------------------------
r10523 | campbellbarton | 2007-04-14 12:37:58 +0200 (Sat, 14 Apr 2007) | 3 lines

added missing 'import bpy' from uvcalc_smart_project
removed 2 unused vars from DNA_object_types.h

------------------------------------------------------------------------
r10522 | ton | 2007-04-14 12:21:05 +0200 (Sat, 14 Apr 2007) | 13 lines

Bugfix #6559

Issue in Blender 10 years ago already:

CTRL+L "Link Materials" reduced total amount of materials in cases, which
it should not.

It now just copies Material links from the active to selected Objects.

Note for developers: see how this now is 3 lines of code, instead of
like 30. I have no idea what I was thinking back then... the current
solution could have been coded back then too.

------------------------------------------------------------------------
r10521 | ton | 2007-04-13 21:14:20 +0200 (Fri, 13 Apr 2007) | 12 lines

Error in commit from Jason for new action sub-channels: selecting keys  did
not work anymore (mouse, bkey).

Fix provided by Diego from Plumifiros.

Important note: get_nearest_icu_key() requires to get an array as arg.
Doing it like:

float min, max; get_nearest_icu_key( , , , &min);

is not reliable or correct.

------------------------------------------------------------------------
r10520 | elubie | 2007-04-13 19:16:23 +0200 (Fri, 13 Apr 2007) | 3 lines

==== MSVC 7.1 Projectfiles ====
- small maintenance: added two new node files to project

------------------------------------------------------------------------
r10519 | aligorith | 2007-04-13 13:15:08 +0200 (Fri, 13 Apr 2007) | 16 lines

== Action Editor - Individual IPO-Curves Now Shown ==

Continuing on from my previous 'Expandable/Collapsable Action Channel' commit, this commit introduces the ability to show/hide the keyframes in each ipo-curve represented by an Action Channel.

When you expand an Action-Channel by clicking on the triangle beside its name, you will now be presented with options to show/hide the ipo-curves represented by
the Action-Channel, and/or the Constraint Channels belonging to that Action-Channel. Actual ipo-curves will not be drawn in the Action-Editor, but the keyframes
will be shown.

Screenshot:
* http://wiki.blender.org/index.php/Image:244_ActionEditor_SubTracks_01.png

Possibly Coming Soon/Further Work:
* 'Protection' options for ipo-curves (currently disabled in code, as all IPO-related
 tools will need to be made aware of this)
* Sliders for IPO-Curve Channels of the active Action-Channel

------------------------------------------------------------------------
r10518 | campbellbarton | 2007-04-13 11:39:25 +0200 (Fri, 13 Apr 2007) | 13 lines

external library, block locking spree. Many areas of blender allow changing of library data.

Added checks to the following areas
* half the material buttons
* multires, shapekeys, vert groups
* renaming a linked Object in the links could loose the object on next reload.

Made center functions check for library data as well as changing
the way it works.

Rather then centering all objects in the selection and stopping if it finds libdata, or a multiuser mesh.
It centers all that it can, and reports any objects that didnt center and why.

------------------------------------------------------------------------
r10517 | stiv | 2007-04-13 08:30:34 +0200 (Fri, 13 Apr 2007) | 7 lines

fix mashup of CCFLAGS and CXXFLAGS for scons builds.

CXXFLAGS defaults to CCFLAGS which was causing duplicated or
extra compile flags being set for g++.  Fix is to use
env.Replace() rather than .Append() the first time we
set CXXFLAGS in the build environment.

------------------------------------------------------------------------
r10516 | scourage | 2007-04-13 06:22:32 +0200 (Fri, 13 Apr 2007) | 3 lines


Added gamma, fixed typos in brightness

------------------------------------------------------------------------
r10515 | scourage | 2007-04-13 05:23:39 +0200 (Fri, 13 Apr 2007) | 3 lines


Added brightness/contrast node

------------------------------------------------------------------------
r10514 | ton | 2007-04-12 23:10:19 +0200 (Thu, 12 Apr 2007) | 7 lines

Bugfix

Node system: new typedefinition system caused button callbacks for group
node not to work.
Since this is not configurable, added it hardcoded. with a "XXX Ugly Hack"
note.

------------------------------------------------------------------------
r10513 | stiv | 2007-04-12 20:20:00 +0200 (Thu, 12 Apr 2007) | 2 lines

add -Wdeclaration-after-statement to warning flags for gcc

------------------------------------------------------------------------
r10512 | campbellbarton | 2007-04-12 19:45:37 +0200 (Thu, 12 Apr 2007) | 2 lines

1 liner, dont go closer then the clipping when centering the view (PADPERIOD) - make centering on a vert a lot more useful

------------------------------------------------------------------------
r10511 | ton | 2007-04-12 19:22:08 +0200 (Thu, 12 Apr 2007) | 4 lines

Plumiferos report:

Compositor. New ESC feature did not work Ok for groups

------------------------------------------------------------------------
r10510 | khughes | 2007-04-12 16:51:04 +0200 (Thu, 12 Apr 2007) | 4 lines



Fix gcc warning about swab() on linux.

------------------------------------------------------------------------
r10509 | ton | 2007-04-12 11:35:56 +0200 (Thu, 12 Apr 2007) | 5 lines

Bugfix #6531

Dupli-verts for mball: when setting "dupli verts" for first time, the deps
graph had to be remade.

------------------------------------------------------------------------
r10508 | ton | 2007-04-12 10:19:28 +0200 (Thu, 12 Apr 2007) | 5 lines

Bugfix #6549

Proxy for Armature: the proxy synchronize was missing local loc/rot/size
vectors, so local constraints did not work.

------------------------------------------------------------------------
r10507 | campbellbarton | 2007-04-12 09:59:14 +0200 (Thu, 12 Apr 2007) | 6 lines

split draw_dupli_objects into 2 functions (draw_dupli_objects and draw_dupli_objects_color)

so when a dupli is drawn from a set, its selection state wont make it draw selected.

draw_dupli_objects works the same as before

------------------------------------------------------------------------
r10506 | aligorith | 2007-04-12 09:22:23 +0200 (Thu, 12 Apr 2007) | 2 lines

Added comments to the pose_copy_menu function (i.e. Ctrl C in PoseMode) for clarity.

------------------------------------------------------------------------
r10505 | aligorith | 2007-04-12 09:14:42 +0200 (Thu, 12 Apr 2007) | 2 lines

Some missing values for theme colours (Action Editor - Long Keyframes)

------------------------------------------------------------------------
r10504 | aligorith | 2007-04-12 08:51:48 +0200 (Thu, 12 Apr 2007) | 2 lines

Removed some un-needed code for Limit constraints from file-reading code.

------------------------------------------------------------------------
r10503 | djcapelis | 2007-04-12 08:21:31 +0200 (Thu, 12 Apr 2007) | 8 lines

Applying consistent default window behavior across platforms.

Now all windows open in a border as opposed to fullscreen.  blender -W restores
old functionality, blender -w is now default.  This lets each platform's window
manager deal with it's own issues.

As per issue 6391 in the patch tracker.

------------------------------------------------------------------------
r10502 | campbellbarton | 2007-04-12 08:12:17 +0200 (Thu, 12 Apr 2007) | 2 lines

added another copy option 'protected transform' makes changing the protection values all at once possible

------------------------------------------------------------------------
r10501 | broken | 2007-04-12 04:58:41 +0200 (Thu, 12 Apr 2007) | 2 lines

* Old old typo fix in Wave modifier

------------------------------------------------------------------------
r10500 | ton | 2007-04-11 19:49:08 +0200 (Wed, 11 Apr 2007) | 6 lines

Plumiferos report (2.43 release bug):

Compsitor:
Making groups from Image nodes accidentally reveiled the hidden output
sockets (for when image has passes)

------------------------------------------------------------------------
r10499 | campbellbarton | 2007-04-11 19:10:57 +0200 (Wed, 11 Apr 2007) | 8 lines

the input fields for data name had an inconsistant limit for input fields, making it hard to fix problems with library linking when a name changed.
some were 18, most 19, and others 21. made all 21 since this is the real limit.

Also new image name limit length of input field to 21 (was 255 but shortened to 21)

The one place this could be useful is if somebody names a metaball with a 21 char name, the copy will not use the motherball.
but this is not as bad as having to use the python console for fixing library linking problems.

------------------------------------------------------------------------
r10498 | campbellbarton | 2007-04-11 16:00:11 +0200 (Wed, 11 Apr 2007) | 3 lines

mesh_wire, fixed error with zero area edges
Holding Ctrl flips the align view in editmode. (patch from BeBraw)

------------------------------------------------------------------------
r10497 | ton | 2007-04-11 15:13:48 +0200 (Wed, 11 Apr 2007) | 2 lines

Create a new scene did not call a 'countall' correctly.

------------------------------------------------------------------------
r10496 | ton | 2007-04-11 14:44:03 +0200 (Wed, 11 Apr 2007) | 5 lines

Bugfix #6547

Constraint "limit location" was using type "No parent" without checking
a pointer for NULL, causing crashes on append.

------------------------------------------------------------------------
r10495 | campbellbarton | 2007-04-10 13:45:07 +0200 (Tue, 10 Apr 2007) | 6 lines

Found a bug where "make dupes real" would crash, when the group was an extternal link. - 1 liner fix from Ton.
Also added "sort faces by selection" to the sort menu.


DNA_meshdata_types use C comments for GCC verbose warnings to be quiet

------------------------------------------------------------------------
r10494 | campbellbarton | 2007-04-09 14:22:22 +0200 (Mon, 09 Apr 2007) | 2 lines

Use smoothview For * (align to object) and editmode align to selected.

------------------------------------------------------------------------
r10493 | ton | 2007-04-09 13:43:46 +0200 (Mon, 09 Apr 2007) | 12 lines

Patch #6140

Transform Properties panel in 3d window.
New button "Parbone" showing when parent relation is to a specific bone.
This information was nowhere reveiled in the UI until now.

Code remark:
The code isn't getting more beautiful now with all if() options added.
The idea to move the rotation buttons down when a parent bone was set isn't
very good, buttons should stay as much as possible on the same location.
However, I dont have time for a solution either...

------------------------------------------------------------------------
r10492 | jbinto | 2007-04-09 13:30:06 +0200 (Mon, 09 Apr 2007) | 2 lines

CMake: Fix build after nodes changes (including GE linking)

------------------------------------------------------------------------
r10491 | campbellbarton | 2007-04-09 13:15:23 +0200 (Mon, 09 Apr 2007) | 2 lines

smooth view transformations, set the smoothview value to about 250 and the view animates when you switch between side, top etc.

------------------------------------------------------------------------
r10490 | ton | 2007-04-09 12:52:22 +0200 (Mon, 09 Apr 2007) | 5 lines

Patch #6325

Cleanup of Logic buttons, for dynamic actors. Plenty of options have become
obsolete with bullet, so not drawn.

------------------------------------------------------------------------
r10489 | ton | 2007-04-09 12:01:46 +0200 (Mon, 09 Apr 2007) | 6 lines

Bugfix #6078

Transform Properties panel in 3d window:
Using TAB on size buttons didn't work well; the code was assuming events
with only 1 change per event.

------------------------------------------------------------------------
r10488 | ton | 2007-04-09 10:49:42 +0200 (Mon, 09 Apr 2007) | 6 lines

Bugfix #6503

Displacement option for render only works without Nodes (it is calculated
as a Texture effect in advance, not a render option). To illustrate that,
the button to enable diplacement mapping is hidden for Node materials.

------------------------------------------------------------------------
r10487 | campbellbarton | 2007-04-09 09:03:26 +0200 (Mon, 09 Apr 2007) | 4 lines

Anti - NMesh commit.
unweld - warn that this tool destroys MultiUV/Col's (because of NMesh)
API_intro and NMesh - note that NMesh is maintained but deprecated.

------------------------------------------------------------------------
r10486 | campbellbarton | 2007-04-09 03:43:33 +0200 (Mon, 09 Apr 2007) | 7 lines

mesh_wire.py
* Support for fgons (dont make wire on fgon edges)
* added new wire type (extra sharp)
* also fixed editnmesh problem

* mistake in previous commit log (mesh_solidifym meant mesh_wire)

------------------------------------------------------------------------
r10485 | campbellbarton | 2007-04-08 22:40:08 +0200 (Sun, 08 Apr 2007) | 4 lines

mesh_solidify - added a different wire type, can make 4 and 6 sided wire segments. also made solid wire an option.

uvcalc_smart_project - removed import of Main, was causing error

------------------------------------------------------------------------
r10484 | nicholasbishop | 2007-04-08 21:14:22 +0200 (Sun, 08 Apr 2007) | 4 lines

== Sculpt Mode ==

Added the layers shortcuts (0-9, minus, equals, accent) for Sculpt Mode.

------------------------------------------------------------------------
r10483 | hos | 2007-04-08 19:16:52 +0200 (Sun, 08 Apr 2007) | 3 lines

It seems that some darwin bundle creation routines were being performed
when building for cygwin. Please test.

------------------------------------------------------------------------
r10482 | campbellbarton | 2007-04-08 11:35:05 +0200 (Sun, 08 Apr 2007) | 3 lines

Adding a 'solid wire' script.
http://members.optusnet.com.au/cjbarton/teapot.jpg

------------------------------------------------------------------------
r10481 | campbellbarton | 2007-04-07 19:35:47 +0200 (Sat, 07 Apr 2007) | 12 lines

appending libdata no longer breaks all external references.

Existing data is flagged with LIB_APPEND_TAG and all_local only has an option to only operate on un-flagged data.

If you append an object thats linked to a material alredy linked in your scene, the material will not be made local.
So at worst youll need to make local some of the datablocks.

This is fairly simple and though my tests show it to work, do some tests on your own libraries before assuming its problem free.


scripttemplate_mesh_edit wasnt updated with PyAPI changes and moved some functions into generic places.

------------------------------------------------------------------------
r10480 | aligorith | 2007-04-07 06:25:31 +0200 (Sat, 07 Apr 2007) | 2 lines

Missing ; at the end of a line in initial commit for ClampTo constraint.

------------------------------------------------------------------------
r10479 | aligorith | 2007-04-07 06:21:12 +0200 (Sat, 07 Apr 2007) | 5 lines

== Clamp To Constraint ==

* PyApi access to this constraint
* Also, a minor tweak to one of the comments about one of this constraint's variables.

------------------------------------------------------------------------
r10478 | aligorith | 2007-04-07 05:32:57 +0200 (Sat, 07 Apr 2007) | 20 lines

== Clamp-To Constraint (was Patch #4818) ==

This (new) constraint limits the location of an object/bone to the range of locations
on a given curve. It works by comparing the location of the owner on one axis, to
the extents of the curve's bounding-box on the same axis, to find the location on
the curve.

Usage Notes:
* 'Ob:' field must point to a valid curve object
* This curve should have 'Path' turned on in order for this constraint to work. You
don't really need to do this as it will be taken care of by the code.
* 'Auto' toggle automically determines which axis should be used for the distance estimations/calculations. It is the default option, but may not work that well for
some cases.
* X/Y/Z toggles can be used to select the axis to use for these calculations. Try
to choose the axis along which the curve stretches out for most.

Python Notes:
Python API access for this constraint is not included in this commit. Will be coming
soon.

------------------------------------------------------------------------
r10477 | guitargeek | 2007-04-06 22:42:17 +0200 (Fri, 06 Apr 2007) | 2 lines

Save PET state before ripping and disable it, so that post rip transform works better. Restore PET state after finished.

------------------------------------------------------------------------
r10476 | theeth | 2007-04-06 21:42:46 +0200 (Fri, 06 Apr 2007) | 8 lines

=== BPY ===

Adding Python counterparts to the Invert params for Copy Rot and Copy Loc.

I had to align the constants being used, so if you had files using those options (introduced after 2.43), you'll have to modify the INVERT settings for ROTLIKE constraints (didn't feel like making a minor version bump for this, if people thing otherwise, please say so).

Based on a patch by Juho Vepsäläinen (bebraw)

------------------------------------------------------------------------
r10475 | aligorith | 2007-04-06 12:24:14 +0200 (Fri, 06 Apr 2007) | 4 lines

== Auto-Keyframing - Needed ==

Now, the 'Only Needed' Auto-Keyframing tool only adds keyframes for the relevant transforms when working with bones in PoseMode. Previously, all transform channels were keyed in such cases, as Auto-IK used to make things difficult.

------------------------------------------------------------------------
r10474 | campbellbarton | 2007-04-06 12:08:48 +0200 (Fri, 06 Apr 2007) | 6 lines

All data in blender's libBlock linked lists are supposed to be sorted but in some cases wernt.

The problem was that new ID's that didnt have any naming collisions whould not run sort_alpha_id, which lead to most images not being sorted.

Simple fix is to make sort_alpha_id run on all new ID's. but we need to make sure all data is kept sorted. maybe a check when running in debug mode would help.

------------------------------------------------------------------------
r10473 | aligorith | 2007-04-06 08:52:00 +0200 (Fri, 06 Apr 2007) | 4 lines

== Preview Range ==

Preview Range now works in the IPO editor.

------------------------------------------------------------------------
r10472 | broken | 2007-04-06 07:31:46 +0200 (Fri, 06 Apr 2007) | 2 lines

* Tablet sensitivity for number field dragging now revealed from behind rt.

------------------------------------------------------------------------
r10471 | elubie | 2007-04-05 22:28:07 +0200 (Thu, 05 Apr 2007) | 3 lines

==== MSVC 7.1 project files ====
- update for nodes_util.c and nodes_util.h

------------------------------------------------------------------------
r10470 | campbellbarton | 2007-04-05 19:55:07 +0200 (Thu, 05 Apr 2007) | 2 lines

Export object loc,size,rot rather then apply the matrix to the mesh.

------------------------------------------------------------------------
r10469 | campbellbarton | 2007-04-05 18:04:40 +0200 (Thu, 05 Apr 2007) | 2 lines

PyAPI adding .reset() for hook modifiers (request from malefico)

------------------------------------------------------------------------
r10468 | broken | 2007-04-05 15:54:23 +0200 (Thu, 05 Apr 2007) | 6 lines

* Tablet pressure sensitivity in number field dragging (again!)

This time, it's temporarily hidden by default, but active with rt: set to 5.
If anyone that was having probs with it before could test and let me know if
things go without issues, that would be appreciated!

------------------------------------------------------------------------
r10467 | campbellbarton | 2007-04-05 15:35:05 +0200 (Thu, 05 Apr 2007) | 2 lines

respect location protect flags, makes reviewing models on terrain much nicer because you can lock the Z and look down on them while moving around.

------------------------------------------------------------------------
r10466 | broken | 2007-04-05 14:42:07 +0200 (Thu, 05 Apr 2007) | 26 lines

* Tablet support fixup

This commit should hopefully fix some of the problems some people were
having with tablet support in sculpt mode, and also the problems I made
visible with my previous commit related to number field dragging.

Now, all the ghost related stuff is tucked away in ghostwinlay.c and a
simple Blender API, similar to the existing get_mbut() for example, is
provided to access the tablet data. As with the other mouse related data in
Blender, the tablet data is cached upon each mouse move or click, in the
Window struct.

You can now just use:

float get_pressure(void);
void get_tilt(float *xtilt, float *ytilt);
short get_activedevice(void);

to get such data from the tablet. Documentation on the returned data
is in ghostwinlay.c in the _Window struct definition.


Brecht and Nicholas, I've updated the painting and sculpt code and it works
just fine here, you may want to give it a check though to make sure I
haven't done anything silly.

------------------------------------------------------------------------
r10465 | campbellbarton | 2007-04-05 13:20:03 +0200 (Thu, 05 Apr 2007) | 2 lines

renaming obdata was toggling editmode and activating it.

------------------------------------------------------------------------
r10464 | jesterking | 2007-04-05 12:49:25 +0200 (Thu, 05 Apr 2007) | 2 lines

* pointer convention commit: bNode* node -> bNode *node.

------------------------------------------------------------------------
r10463 | ton | 2007-04-05 11:50:12 +0200 (Thu, 05 Apr 2007) | 4 lines

Change in the nodes api causes linking order to change too.

(Note; Makefiles in Blender treat .a creating very strange...)

------------------------------------------------------------------------
r10462 | campbellbarton | 2007-04-05 09:45:11 +0200 (Thu, 05 Apr 2007) | 5 lines

* Changed mesh so all new data is selected (fits in with blender's UI and other areas of Python API), this could break existing scripts that count on new data being unselected (unlikely)
* Added a keyword argument to mesh.transform() - "selected_only" so you can transform the selected verts. this wont break existing scripts.
* Documented these changes in epydocs.
* used these functions in BPyAddMesh

------------------------------------------------------------------------
r10461 | jesterking | 2007-04-05 07:14:50 +0200 (Thu, 05 Apr 2007) | 4 lines

=== SCons ===

* enable TWEAK_MODE with BF_TWEAK_MODE=1 on cmd-line. Can also be specified in user-config.py

------------------------------------------------------------------------
r10460 | jesterking | 2007-04-05 06:48:32 +0200 (Thu, 05 Apr 2007) | 4 lines

=== SCons ===

* Fix for [ #6490 ] "Building with Python 2.4 on Win32 doesn't copy the proper python DLL file"

------------------------------------------------------------------------
r10459 | khughes | 2007-04-05 06:34:41 +0200 (Thu, 05 Apr 2007) | 6 lines



Python API
----------
Fix memleak caused by missing Py_DECREFs (good catch, Campbell).

------------------------------------------------------------------------
r10458 | ton | 2007-04-04 18:10:53 +0200 (Wed, 04 Apr 2007) | 5 lines

Bugfix #6487

Editmode armature: button "child of" did not show the actual parent if the
parent was in invisible bone-layer.

------------------------------------------------------------------------
r10457 | jesterking | 2007-04-04 16:25:10 +0200 (Wed, 04 Apr 2007) | 2 lines

* spelling commit by ideasman did accidental rename of one var, but not properly :)

------------------------------------------------------------------------
r10456 | jesterking | 2007-04-04 15:58:12 +0200 (Wed, 04 Apr 2007) | 7 lines

=== Node editor ===

* refactor copying and freeing of node->storage by handlerizing them.
  - freestoragefunc
  - copystoragefunc
  - node_util.c/h have generic handlers for these.

------------------------------------------------------------------------
r10455 | campbellbarton | 2007-04-04 15:18:41 +0200 (Wed, 04 Apr 2007) | 6 lines

moved source and text to american spelling
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling

------------------------------------------------------------------------
r10454 | jesterking | 2007-04-04 13:27:43 +0200 (Wed, 04 Apr 2007) | 7 lines

* sneaky commit III
* refactor of shi access
* extension of shi access (see http://wiki.blender.org/index.php/BlenderDev/PyNodes#ShadeInput).
 Note: tex_coords and global_tex_coords have been renamed: texture, texture_global

* patch still needed. Uploading after commit

------------------------------------------------------------------------
r10453 | ton | 2007-04-04 12:37:28 +0200 (Wed, 04 Apr 2007) | 9 lines

Bugfix #6486

Posemode: you can get a situation of an active object, in posemode, which
is not selected. That is very invisible, and gives issues for tools like
'clear rotation', because it checks for selected objects.

Als fixed clear (alt+g,r,s) options to only work on posemode for the active
object.

------------------------------------------------------------------------
r10452 | campbellbarton | 2007-04-04 11:11:03 +0200 (Wed, 04 Apr 2007) | 3 lines

ZanQdo made the mesh import rge right way up,
I updated to use new API calls and removed unneeded debug print thrashing.

------------------------------------------------------------------------
r10451 | schlaile | 2007-04-04 08:27:36 +0200 (Wed, 04 Apr 2007) | 8 lines

== Sequencer ==

Added patch #5231 Insert multiple movies / audio tracks in video sequence
editor by Diego Borghetti.

Opening several movie / audio (HD) tracks in the file selector results in
adding them in a row to the timeline.

------------------------------------------------------------------------
r10450 | n_t | 2007-04-03 21:56:57 +0200 (Tue, 03 Apr 2007) | 5 lines

Fixed bug #6068 (fluids & separate vertices)
* Also reset the fluidsimFlag to zero.
  The fluidsim settings are now disabled before duplicating the mesh
  for separate_mesh and separate_mesh_loose.

------------------------------------------------------------------------
r10449 | jesterking | 2007-04-03 13:24:11 +0200 (Tue, 03 Apr 2007) | 4 lines

* still silent code (enabled through seperate patch)
* changes in alloc/dealloc of pynode internal objects
* changes to shd_dynamic.

------------------------------------------------------------------------
r10448 | campbellbarton | 2007-04-03 10:20:17 +0200 (Tue, 03 Apr 2007) | 4 lines

curve center didnt update curve data.
add_mesh_torus - print's wernt removed
others, changed user visible text to american spelling - center

------------------------------------------------------------------------
r10447 | campbellbarton | 2007-04-03 07:57:04 +0200 (Tue, 03 Apr 2007) | 2 lines

Python Add Mesh Script, adds a Torus with radius and segment options.

------------------------------------------------------------------------
r10446 | khughes | 2007-04-02 23:04:53 +0200 (Mon, 02 Apr 2007) | 6 lines



Python API
----------
Added missing definition for NMEdgeType in Types modules.

------------------------------------------------------------------------
r10445 | campbellbarton | 2007-04-02 20:51:17 +0200 (Mon, 02 Apr 2007) | 11 lines

This script 2 functions for use with the add mesh slot in the menu.

*add_mesh_simple* - add a mesh from vert/edge/face data.
It deals with setting the mesh rotation and location based on the cursor and view rotation, vertex and object selection etc.
so adding a python object works just like other blenders internal add functions, in editmode and object mode.

*write_mesh_script* - writes a Py script containing the active mesh, this can be put in the user scripts dir so users can define their own objects in the addd menu.

Currently neither of these are accessed by the user however heres a script that uses add_mesh_simple and was written with write_mesh_script.
http://members.optusnet.com.au/cjbarton/add_mesh_teapot.py

------------------------------------------------------------------------
r10444 | campbellbarton | 2007-04-02 18:32:05 +0200 (Mon, 02 Apr 2007) | 4 lines

editmesh_add - cone, cylinder and circle remember their 'Cap Ends' setting, each type remembers its own cap ends setting per session. adding a Cylinder with cap ends disabled names a new object cube.
console - Ctrl+Tab was autocomplete but that conflicted with weightpaint. Use Ctrl+Enter and Shift+Enter for newline without executing.
 also made console.py import bpy.

------------------------------------------------------------------------
r10443 | campbellbarton | 2007-04-02 11:58:01 +0200 (Mon, 02 Apr 2007) | 2 lines

added a python slot to the "Add->Mesh" menu.

------------------------------------------------------------------------
r10442 | khughes | 2007-04-02 07:10:32 +0200 (Mon, 02 Apr 2007) | 8 lines



Python API
----------
Convert charRGBA to tp_getseters, update PyTypeObject structure to initialize
all the proper values, and use PyType_Ready to initialize (this means we can
remove the local tp_dealloc function again).

------------------------------------------------------------------------
r10441 | campbellbarton | 2007-04-02 04:45:57 +0200 (Mon, 02 Apr 2007) | 3 lines

PyAPI
reverting python dealloc function removal, caused Save Theme to crash.

------------------------------------------------------------------------
r10440 | nicholasbishop | 2007-04-02 02:52:38 +0200 (Mon, 02 Apr 2007) | 6 lines

== Multires ==

Fixed bug #6358, UV face select + Multires level change crashes

* Reading in multires files wasn't relinking the MTFace customdata stored for level 1. This was leaving tpage as a bad pointer.

------------------------------------------------------------------------
r10439 | nicholasbishop | 2007-04-02 01:59:42 +0200 (Mon, 02 Apr 2007) | 4 lines

== Multires ==

Fixed bug in the set-level callback; was incorrectly treating it as though a render was in progress.

------------------------------------------------------------------------
r10438 | elubie | 2007-04-01 21:00:10 +0200 (Sun, 01 Apr 2007) | 3 lines

==== bugfix ====
small fix for uninitialized variable curlib

------------------------------------------------------------------------
r10437 | campbellbarton | 2007-04-01 19:08:05 +0200 (Sun, 01 Apr 2007) | 5 lines

This script is accessed from the object menu, used for finding an object by the data its linked to.
obdata/group/dupgroup/image/material/texture

This or similar functionality should eventualy be added to the outliner.

------------------------------------------------------------------------
r10436 | khughes | 2007-04-01 05:58:42 +0200 (Sun, 01 Apr 2007) | 6 lines



Python API
----------
Replace extern declarations for IDProp types with header include.

------------------------------------------------------------------------
r10435 | ton | 2007-03-31 20:18:30 +0200 (Sat, 31 Mar 2007) | 5 lines

Bugfix:

Freeing memory for node typedefinitions should be not in usiblender.c (that
is for UI-only stuff) but in kernel.

------------------------------------------------------------------------
r10434 | khughes | 2007-03-31 17:31:37 +0200 (Sat, 31 Mar 2007) | 9 lines



Python API
----------
Change deprecation printfs to print warning once instead of everytime the
deprecated method is called.  Also commented out deprecation warnings for
code which will eventually be replaced by experimental Blender.Main/bpy
module.

------------------------------------------------------------------------
r10433 | campbellbarton | 2007-03-31 14:23:46 +0200 (Sat, 31 Mar 2007) | 2 lines

added multilayer vertexColor support to fbx and removed videoscape_export.py

------------------------------------------------------------------------
r10432 | campbellbarton | 2007-03-31 13:19:18 +0200 (Sat, 31 Mar 2007) | 35 lines

Updating JMS's SVG Importer script from 0.5.6 to 0.5.9b

Changelog

0.5.7 : - Wash down of some handle problems.

0.5.8 : - 2007/3/9
        Wash down of the last exec and correction of a
        problem with the curve's first beztriple handle
        which was not recorded at first time .
       - Added some units managements
       - Correction of the  rotate matrix
       - Correction of the  skew  matrix
       - change in the wash_DATA function suggested by cambo
       - added __slot__ in class Bez, ITEM and CURVE suggested by cambo
       - remove unused properties in class ITEM and CURVE

0.5.9 : - 2007/3/28
        -  many improvements for faster and clearer code suggested by cambo and martin.
           replacement of "%s" statement by str function.
        -  correction of an error in the scale transform management
        -  correction in the management of the stack transformation that rise an error
           under python 2.5 but curiously not with  python 2.4

.5.9a : - 2007/3/29
        -  Again a lot of minors corrections
        -  Backward to 0.5.8 of the function that manages float numbers exported
           by the  Adobe Illustrator's SVG.  After a lot of tests it seems that this oldest
           version is also faster too .
        -  correction (bad) on handle management with V and H commands.
.5.9b : - 2007/3/31
       -  one or two minor corrections :
          now the new object curve is added in the current layer.
          short modif in the scale menu...

------------------------------------------------------------------------
r10431 | ton | 2007-03-31 12:37:15 +0200 (Sat, 31 Mar 2007) | 3 lines

Yesterday's fix for Composite preview had bug for render output drawing in
Image window... variable 'draw cropped' was hanging.

------------------------------------------------------------------------
r10430 | campbellbarton | 2007-03-31 06:20:00 +0200 (Sat, 31 Mar 2007) | 3 lines

Mesh.py - Updated doc and example about faceUV/vertexColor
image_billboard.py - was broken because textures dont accept the antialias flag anymore

------------------------------------------------------------------------
r10429 | guitargeek | 2007-03-30 20:24:00 +0200 (Fri, 30 Mar 2007) | 5 lines

Bug #5607
fkey - automatic quad from 4 verts does so on a tetrahedron

Added a case where there are 4 verts selected but > 4 edges selected. Uses addfaces_from_edgenet in that case now. This fixes the example blend that was given.

------------------------------------------------------------------------
r10428 | campbellbarton | 2007-03-30 18:47:42 +0200 (Fri, 30 Mar 2007) | 2 lines

allow dealing with vertex groups once an object is created from a mesh.

------------------------------------------------------------------------
r10427 | ton | 2007-03-30 15:56:24 +0200 (Fri, 30 Mar 2007) | 7 lines

Bugfix #6469

Crashes in composite; caused by bad bad bug in freeing "passed on" buffers,
only happens with option "Free unused" set though.

Appeared to be mixup of variable names. Code changes with 2 bytes... :)

------------------------------------------------------------------------
r10426 | campbellbarton | 2007-03-30 14:39:21 +0200 (Fri, 30 Mar 2007) | 2 lines

vec *= matrix would crash blender when multiplying a 3d vec by a 4x4 matrix because it wrote the 4th value in a 3d vector.

------------------------------------------------------------------------
r10425 | aligorith | 2007-03-30 14:22:06 +0200 (Fri, 30 Mar 2007) | 6 lines

== Action Editor - Long Keyframes Bugfix (#6455) ==

Long keyframes didn't always display correctly when keyframes were being transformed. The old code assumed that the keyframes were all sorted chronologically. However, for technical reasons, this is not the case during transforms, causing problems.

Some slowdowns may be experienced on actions with large numbers of keyframes. I've only noticed a minor slowdown on some test-animations from Plumiferos I've got, but those files had a LOT of keyframes.

------------------------------------------------------------------------
r10424 | campbellbarton | 2007-03-30 10:20:37 +0200 (Fri, 30 Mar 2007) | 2 lines

added Window.Get/SetActiveLayer() and changed how scn.objects.new() works, if scn is the active scene it uses the 3d views active layer to create the object in.

------------------------------------------------------------------------
r10423 | stiv | 2007-03-30 06:53:49 +0200 (Fri, 30 Mar 2007) | 3 lines

run dos2unix on BKE_idprop.h
remove unused var from Library.c

------------------------------------------------------------------------
r10422 | jesterking | 2007-03-30 06:06:06 +0200 (Fri, 30 Mar 2007) | 2 lines

* dos2unix (from now on patches shouldn't break on this file).

------------------------------------------------------------------------
r10421 | stiv | 2007-03-30 05:07:49 +0200 (Fri, 30 Mar 2007) | 2 lines

re-remove removed comment.

------------------------------------------------------------------------
r10420 | ianwill | 2007-03-30 02:57:07 +0200 (Fri, 30 Mar 2007) | 8 lines

BPython: pydrivers

-Adding name "self" to the pydriver's dictionary, so that objects can be easily referenced in their own expressions. For example, the expression:

self.LocY

for the LocX channel of an object would force this object's location in X to be equal to its location in Y. As always, feedback welcomed.

------------------------------------------------------------------------
r10419 | campbellbarton | 2007-03-29 19:51:32 +0200 (Thu, 29 Mar 2007) | 2 lines

added named multilayer UV Layer export.

------------------------------------------------------------------------
r10418 | campbellbarton | 2007-03-29 16:35:01 +0200 (Thu, 29 Mar 2007) | 6 lines

ICVS: ----------------------------------------------------------------------
import OBJ dosnt raise a Py Error when no image is given for a material
export FBX works much better, tested 179 models and dosnt crash on any now. tested import export with large scene, 375,000 tri's.
Mesh.py doc note about UV coords,,
editmesh_add minor typo

------------------------------------------------------------------------
r10417 | ton | 2007-03-29 14:57:15 +0200 (Thu, 29 Mar 2007) | 6 lines

Bugfix #6426

Clearing number buttons and press enter (for assigning zero) did not give
a button event anymore. Caused by code for python eval, it treated this
as an error.

------------------------------------------------------------------------
r10416 | ton | 2007-03-29 14:42:30 +0200 (Thu, 29 Mar 2007) | 5 lines

Bugfix #6419

When adding images, there was no check if image file was a directory.
Result was an Image without name even. Fixed!

------------------------------------------------------------------------
r10415 | ton | 2007-03-29 14:16:03 +0200 (Thu, 29 Mar 2007) | 5 lines

Bugfix #6333

When using headerbuttons to switch to Material context buttons, the preview
was not re-rendered correctly.

------------------------------------------------------------------------
r10414 | ton | 2007-03-29 14:08:14 +0200 (Thu, 29 Mar 2007) | 11 lines

Bugfix #6308

Composite preview in Image window didn't work OK when making a window
fullscreen. That because it depended too much on a composite editor to be
open, for refresh events.

Now you can use preview panels in a full-screen image window too.

It also works a bit different... noticable while dragging preview panel
around.

------------------------------------------------------------------------
r10413 | ton | 2007-03-29 12:09:44 +0200 (Thu, 29 Mar 2007) | 7 lines

Bugfix #6312

When saving files (images), the filewindow was giving relative paths on
a save-over menu.

Also: added in group.c a note about problems with timeoffset.

------------------------------------------------------------------------
r10412 | ton | 2007-03-29 10:34:03 +0200 (Thu, 29 Mar 2007) | 4 lines

Bugfix #6456

Boolean modifier on its own object crashes. Easy to prevent this user error

------------------------------------------------------------------------
r10411 | campbellbarton | 2007-03-29 08:01:03 +0200 (Thu, 29 Mar 2007) | 2 lines

fixed a bug was writing 1 extra UV index, thus crashed the FBX SDK

------------------------------------------------------------------------
r10410 | stiv | 2007-03-29 07:08:09 +0200 (Thu, 29 Mar 2007) | 2 lines

add some details for new sequence type

------------------------------------------------------------------------
r10409 | khughes | 2007-03-29 06:55:29 +0200 (Thu, 29 Mar 2007) | 17 lines



Revisions to previous change of new_id().

Note: the intent of the original modification (and these updates) is not to
change how new_id() functions.  What has been done is to pull out the code
which calculates a new name for an ID in the case of duplicate, as would
happen when you copy any datablock, into a separate function.  This code is
necessary in the new Python Library module, since it otherwise is extremely
difficult to locate a new datablock appended from a library.  new_id() calls
this separate function to generate a name for the new ID if necessary, just
as it previously did.

To make the purpose of this new function clearer, I renamed it
check_for_dupid() and added more extensive comments.  I repeat, it's not
meant to be a substitute for new_id().

------------------------------------------------------------------------
r10408 | jesterking | 2007-03-29 06:28:29 +0200 (Thu, 29 Mar 2007) | 6 lines

=== SCons ===

Patch provided by Emmanuel Turquin: copy a proper bundle
 on OSX. I take it he has tested
 this on OSX :) Other OSX-ers, please do verify :) (/me hugs his Windows)

------------------------------------------------------------------------
r10407 | khughes | 2007-03-29 05:47:50 +0200 (Thu, 29 Mar 2007) | 6 lines



Python API
----------
Fix gcc compiler warnings.

------------------------------------------------------------------------
r10406 | campbellbarton | 2007-03-29 02:10:53 +0200 (Thu, 29 Mar 2007) | 2 lines

adding a cone with no and cap crashed, fixed and added some comments

------------------------------------------------------------------------
r10405 | sirdude | 2007-03-28 22:49:15 +0200 (Wed, 28 Mar 2007) | 14 lines



I switched the linux side of things to use pkg-config for
OpenEXR, and I switched all of the other platforms back to
no ThreadLib.  I really was trying to make this easier for people not
harder, and I'm afraid I failed.  Hopefully this clears things up for
people and everyone will switch to using the Makefiles. ;)

If your having problems you should be able to just add the IlmThread lib
back into your NAN_OPENEXR_LIBS inside of your user-def.mk and be good to
go.  let me know if you have problems with it.

Kent

------------------------------------------------------------------------
r10404 | ton | 2007-03-28 21:47:59 +0200 (Wed, 28 Mar 2007) | 6 lines

Option "New" in editbuttons, material panel, did not create a new unique
Material, but relinked the active. Was an old confusing annoying actually.
(And not useful, when do you want 2 material indices with same material?)

Now the 'new' duplicates material, if there is an active material.

------------------------------------------------------------------------
r10403 | campbellbarton | 2007-03-28 17:25:07 +0200 (Wed, 28 Mar 2007) | 2 lines

added options to add mesh (cap ends, radius and depth)

------------------------------------------------------------------------
r10402 | ton | 2007-03-28 15:48:01 +0200 (Wed, 28 Mar 2007) | 18 lines

Long wanted feature; decent ESC processing in composite nodes.

Works simple; just check for

		if(node->exec & NODE_BREAK)
			break;

The main process (node processor) sets such a flag, checking for esc
20 times per second. That means you can check for ESC while doing image
processing without much cpu overhead.

Currently only added in blur nodes and defocus. Needs to be added all over,
nice for others... needs careful tests too.

What we now could do is even calling ESC on editing commands or mouseclicks
in composite editor? Could give user feeling of interactive app :) Further,
finished nodes are kept in memory anyway.

------------------------------------------------------------------------
r10401 | scourage | 2007-03-28 15:07:59 +0200 (Wed, 28 Mar 2007) | 3 lines


moved node_shader_lamp_loop to node.c and put an extern declaration in BKE_node.h to prevent multiple definition link errors.

------------------------------------------------------------------------
r10400 | jesterking | 2007-03-28 14:04:20 +0200 (Wed, 28 Mar 2007) | 3 lines

* this is a 'silent' commit, so it is easier to issue patches for pynodes. This code
 is not activated unless patch is applied

------------------------------------------------------------------------
r10399 | campbellbarton | 2007-03-28 09:08:18 +0200 (Wed, 28 Mar 2007) | 3 lines

FBX Exporter, blender can write meshes with materials, textures and UV coords.
Armatures bone weights and animation not supported yet.

------------------------------------------------------------------------
r10398 | campbellbarton | 2007-03-28 06:18:58 +0200 (Wed, 28 Mar 2007) | 2 lines

made the add mesh functions use do_clever_numbuts so multiple options can be in the one popup

------------------------------------------------------------------------
r10397 | stiv | 2007-03-28 05:18:21 +0200 (Wed, 28 Mar 2007) | 5 lines

Make a nice version number for printing Python version.
some py versions are formated as major.minor.subversion.

Clean up some old comments.

------------------------------------------------------------------------
r10396 | scourage | 2007-03-28 03:48:47 +0200 (Wed, 28 Mar 2007) | 3 lines


removed unused variable from function that was left over from static node list

------------------------------------------------------------------------
r10395 | scourage | 2007-03-28 03:45:57 +0200 (Wed, 28 Mar 2007) | 3 lines


Removed unused button code since it is set in drawnode.c

------------------------------------------------------------------------
r10394 | hos | 2007-03-27 23:58:02 +0200 (Tue, 27 Mar 2007) | 2 lines

Change link order (nodes<-->blenkernel) for cmake build.

------------------------------------------------------------------------
r10393 | sirdude | 2007-03-27 20:34:57 +0200 (Tue, 27 Mar 2007) | 8 lines



patch to get cmake working with nodes now.  Provided by Genscher.
I still have linking issues with it but it is better as is so I'm
commiting it.  Hopefully will have it fixed fully shortly.

Kent

------------------------------------------------------------------------
r10392 | elubie | 2007-03-27 20:04:51 +0200 (Tue, 27 Mar 2007) | 3 lines

==== MSVC 7.1 projectfiles ====
- Python API changes: removed Main.c, added BPyModule.c

------------------------------------------------------------------------
r10391 | briggs | 2007-03-27 19:09:10 +0200 (Tue, 27 Mar 2007) | 5 lines

-> Fix for bug #6327

Small fix for edge subdivide code. Handling of visibility flags was never
handled properly, this should fix.

------------------------------------------------------------------------
r10390 | sirdude | 2007-03-27 17:42:27 +0200 (Tue, 27 Mar 2007) | 25 lines



This commit does a couple of things to the Makefiles.

The first is it adds libIlmThread.a to the OpenEXR libs.

The second thing it does, is make it possible to define what TARGETS
you want to build inside of your user-def.mk file.  This simplifies
source/Makefile quite a bit.  I made each platform have the same
defaults (build dynamic blender, gameengine and gameplayer)  I think
most platforms should be building this combo anyway and if you need to
change it its trivial so no need to have different defaults for each platform.
The new defines are as follows with their default settings in:
         source/nan_definitions.mk

    export WITH_BF_DYNAMICOPENGL ?= true
    export WITH_BF_STATICOPENGL ?= false
    export WITH_BF_GAMEENGINE ?= true
    export WITH_BF_GAMEPLAYER ?= true
    export WITH_BF_WEBPLUGIN ?= false

Let me know if you have any problems with it.

Kent

------------------------------------------------------------------------
r10389 | campbellbarton | 2007-03-27 16:49:37 +0200 (Tue, 27 Mar 2007) | 4 lines

py api
bpy.*libBlickSeq*.new() - name is now an optiona arg.
moved some more scripts to bpy.* api.

------------------------------------------------------------------------
r10388 | campbellbarton | 2007-03-27 13:37:54 +0200 (Tue, 27 Mar 2007) | 6 lines

PyAPI
curve - added curve_type() to return the curve type
BPyModule & gen_library - works with text3d now, can also make new text3d through bpy.curves.new
Added Draw.Label() so scripts can draw can using freetype.
widgetwizard - use Draw.Label

------------------------------------------------------------------------
r10387 | jesterking | 2007-03-27 12:50:03 +0200 (Tue, 27 Mar 2007) | 7 lines

=== SCons ===

Bugfix #6168

* instead of compiling mallocn manually for makesdna, use the bf_guardedalloc lib
 that was already created looooooong time ago.

------------------------------------------------------------------------
r10386 | jesterking | 2007-03-27 12:13:57 +0200 (Tue, 27 Mar 2007) | 8 lines

=== OpenEXR ===

* fix [ #6105 ] Blender crashes when opening multilayer with node in compositor
  - Mem_IStream membuf was allocated on the stack, so it caused major troubles when
 out of the function scope. Now allocate it on the heap and let OpenEXR deal with
 freeing it.
  - moved + added delete file;'s for completeness

------------------------------------------------------------------------
r10385 | ton | 2007-03-27 11:13:18 +0200 (Tue, 27 Mar 2007) | 5 lines

Bugfix #6453

Panel name of "transform properties" can change based on mode. This was
not drawn correct when panel minimized.

------------------------------------------------------------------------
r10384 | nicholasbishop | 2007-03-27 05:52:34 +0200 (Tue, 27 Mar 2007) | 4 lines

Fixed bug #6421, Layout of "Sculpt Properties" panel is broken in CVS

* Removed overlapping buttons (texture controls) from the floating palette for Sculpt Mode.

------------------------------------------------------------------------
r10383 | ton | 2007-03-26 22:35:56 +0200 (Mon, 26 Mar 2007) | 5 lines

Bugfix #6293

Multires Meshes crashed badly when joined.
Added check in join code to escape with a warning.

------------------------------------------------------------------------
r10382 | campbellbarton | 2007-03-26 21:44:44 +0200 (Mon, 26 Mar 2007) | 6 lines

py api
* stopped bpy from importing automaticaly as decieded in the meeting.
* removed Blender.Main, since we agree it will be called bpy, renamed files also.
* updated epydocs from this and last commit.
* updated scripts to use bpy.*, and bugfix's for widgetwizard

------------------------------------------------------------------------
r10381 | ton | 2007-03-26 21:44:21 +0200 (Mon, 26 Mar 2007) | 5 lines

Uninitialized variable fix. Might fix bug #6431, error in rendering of
irregular shadowbuffers.

Found by valgrind session, provided by Mathias 'Lynx3d' Wein

------------------------------------------------------------------------
r10380 | elubie | 2007-03-26 20:34:25 +0200 (Mon, 26 Mar 2007) | 11 lines

==== MSVC 7.1 projectfiles ====
maintenance work:
- internally renamed nodes lib to BL_nodes to follow naming of other libs, renaming of
  actual projectfile will follow after move to svn.
- added missing include dirs for new BL_nodes lib
- removed hardcoded include dir in nodes lib
- changed nodes lib to not 'compile as C++', but as default, so .c as C, .cpp as C++
- still found PHY_Ode dependency in ActiveX plugin which I removed
summary:
All should compile fine again now, let me know of any problems.

------------------------------------------------------------------------
r10379 | theeth | 2007-03-26 17:55:23 +0200 (Mon, 26 Mar 2007) | 10 lines

=== Export UV Layout ===

[ #6450 ] Save UV Layout: Overflow Error

This error was caused by excentric UV faces being exported (I'm talking things like 3443870976 as UV coord, in a range of 0..1).

Edges with extreme coordinates are now ignored (for TGA only, they are exported to SVG) and a warning is printed (at most once) to the console.

I chose to still export them to SVG because they don't affect the running time of the script while exporting them to TGA is just insanely long.

------------------------------------------------------------------------
r10378 | ton | 2007-03-26 17:07:38 +0200 (Mon, 26 Mar 2007) | 12 lines

Changed node type definitions to use a dynamic list.
This will allow python or plugin defined nodes to work as well.
(And fixes compile issues with MSVC in yesterdays commit for nodes)

Code provided by Nathan L.
Fixes in his code:
- free_nodesystem() was called too late (after guarded alloc was closed)
- free_nodesystem() was freeing nodes that were not malloced even
- free_nodesystem was using free, not freeN :)
- the typedefs needed to be malloced yes, to allow duplicate nodes like
  group but also for dynamic nodes.

------------------------------------------------------------------------
r10377 | ton | 2007-03-26 15:02:43 +0200 (Mon, 26 Mar 2007) | 5 lines

Bugfix: function new_id() was allowed to be called with NULL.
Caused by Ken Hughes commit of 5 days ago

Note; dup_id() will go away, is not according to Blender spec.

------------------------------------------------------------------------
r10376 | campbellbarton | 2007-03-26 13:24:52 +0200 (Mon, 26 Mar 2007) | 3 lines

removed commenst from space.c
removed .load() from bpy.*dataseq* - Use .new(filename='') instead as discussed at the meeting.

------------------------------------------------------------------------
r10375 | ton | 2007-03-26 13:17:15 +0200 (Mon, 26 Mar 2007) | 2 lines

Restored this file to use unix LF

------------------------------------------------------------------------
r10374 | campbellbarton | 2007-03-26 10:54:03 +0200 (Mon, 26 Mar 2007) | 3 lines

Matthew Chadwick's update to the mesh unfolder, minor tidyups and stopped an error when brightness setting was used with no vertex colors.
made some very minor edits myself.

------------------------------------------------------------------------
r10373 | campbellbarton | 2007-03-26 10:33:31 +0200 (Mon, 26 Mar 2007) | 2 lines

corrected text for mesh.rename*Layer and added note for mesh.active*Layer

------------------------------------------------------------------------
r10372 | campbellbarton | 2007-03-26 05:36:46 +0200 (Mon, 26 Mar 2007) | 2 lines

check curarea isnt NULL, blender would crash switching scenes in the outliner while fullscreen, then going into un-fullscree view.

------------------------------------------------------------------------
r10371 | snailrose | 2007-03-26 05:35:01 +0200 (Mon, 26 Mar 2007) | 2 lines

Applied patch #5247 by scabootssca. This adds an instant replace mesh feature.

------------------------------------------------------------------------
r10370 | campbellbarton | 2007-03-26 04:10:24 +0200 (Mon, 26 Mar 2007) | 5 lines

Python API
made all libdata hashable - use the object type,name and lib for the hash.
added .tag to libdata so we can test if data's been processed without using dictionaries
added libdataseq.tag (write only) setting the tag flag (which can always be dirty)

------------------------------------------------------------------------
r10369 | hos | 2007-03-26 02:22:37 +0200 (Mon, 26 Mar 2007) | 2 lines

Need nodes libs before imbuf lib when linking blenderplayer

------------------------------------------------------------------------
r10368 | hos | 2007-03-26 02:11:45 +0200 (Mon, 26 Mar 2007) | 2 lines

Find missing node includes.

------------------------------------------------------------------------
r10367 | scourage | 2007-03-26 01:59:00 +0200 (Mon, 26 Mar 2007) | 3 lines


removed dos EOL for unix EOL

------------------------------------------------------------------------
r10366 | scourage | 2007-03-26 01:54:39 +0200 (Mon, 26 Mar 2007) | 3 lines


All UI code reverted to drawnode.c

------------------------------------------------------------------------
r10365 | hos | 2007-03-25 22:17:32 +0200 (Sun, 25 Mar 2007) | 4 lines

Compiles and links for the blender executable. Somebody else can
deal with stubs/linking for blenderplayer (I wish people would plan
these 'libraries' better).

------------------------------------------------------------------------
r10364 | hos | 2007-03-25 18:47:31 +0200 (Sun, 25 Mar 2007) | 3 lines

Makefiles for nodes. Compiles but doesn't link, but I'm late for noodles.
To do: either tweak link order, or check functions declared as static.

------------------------------------------------------------------------
r10363 | ton | 2007-03-25 18:05:46 +0200 (Sun, 25 Mar 2007) | 5 lines

Reverting my fix for nodes. This is a bigger task... now scons should work
again.

Robert promised to work on fixes for makefile today!

------------------------------------------------------------------------
r10362 | ton | 2007-03-25 15:54:07 +0200 (Sun, 25 Mar 2007) | 9 lines

Fixing Makefiles for new nodes module, part 1:

- removed all UI .h include stuff! (Not allowed outside of src/)
- Makefile had typo error, compilation failed

Now it survives make, but it does not enter the two the subdirectories for
shader and compo nodes. So a linking gives unrecovered stuff in the end.
How does that work? I need help!

------------------------------------------------------------------------
r10361 | ton | 2007-03-25 15:50:51 +0200 (Sun, 25 Mar 2007) | 2 lines

Running Blender in debug mode now prints the subversion of .blend files.

------------------------------------------------------------------------
r10360 | campbellbarton | 2007-03-25 14:15:06 +0200 (Sun, 25 Mar 2007) | 2 lines

had 1 char missing

------------------------------------------------------------------------
r10359 | ton | 2007-03-25 14:00:58 +0200 (Sun, 25 Mar 2007) | 2 lines

Another fix in tablet commit; it was committed using window line feeds.

------------------------------------------------------------------------
r10358 | ton | 2007-03-25 13:34:22 +0200 (Sun, 25 Mar 2007) | 3 lines

Removed tablet sensitivity for number sliding
Tablet code has design issues, report goes to the bf-committers list.

------------------------------------------------------------------------
r10357 | campbellbarton | 2007-03-25 12:27:37 +0200 (Sun, 25 Mar 2007) | 6 lines

added options to this script to
* lightmaps for all selected objects
* add new blank images
* use 1 image for all mesh objects
and some other less important ones.

------------------------------------------------------------------------
r10356 | schlaile | 2007-03-25 11:03:24 +0200 (Sun, 25 Mar 2007) | 6 lines

== Sequencer ==

Bugfix: forgot to reset effectdata on speed effect duplicate (thereby
sharing temporary data across effect strips leading to segfaults on the
road...)

------------------------------------------------------------------------
r10355 | scourage | 2007-03-24 22:09:55 +0100 (Sat, 24 Mar 2007) | 3 lines


updated for nodes

------------------------------------------------------------------------
r10354 | scourage | 2007-03-24 22:06:23 +0100 (Sat, 24 Mar 2007) | 3 lines


updated for nodes system

------------------------------------------------------------------------
r10353 | theeth | 2007-03-24 21:57:15 +0100 (Sat, 24 Mar 2007) | 8 lines

=== Transform Snap ===

Inter-mesh snap optimization and fixes.

For larger meshes, tests are made against the bounding box first to speed things up (suggested by Brecht).

Also, verts are accessed through mesh_get_mapped_verts_nors() it can snapped to deformed vertices (only the deformed originals, not new verts for now).

------------------------------------------------------------------------
r10352 | scourage | 2007-03-24 20:13:02 +0100 (Sat, 24 Mar 2007) | 3 lines


newline at end of file

------------------------------------------------------------------------
r10351 | scourage | 2007-03-24 20:07:18 +0100 (Sat, 24 Mar 2007) | 3 lines


Reverted to previous version

------------------------------------------------------------------------
r10350 | scourage | 2007-03-24 19:48:56 +0100 (Sat, 24 Mar 2007) | 3 lines


These gots to go.

------------------------------------------------------------------------
r10349 | scourage | 2007-03-24 19:42:38 +0100 (Sat, 24 Mar 2007) | 2 lines

Has the nodes in it.  I'm not a windows guru, so please review.

------------------------------------------------------------------------
r10348 | scourage | 2007-03-24 19:41:54 +0100 (Sat, 24 Mar 2007) | 5 lines




Scons build system.  MSVC 7.1 in a moment.

------------------------------------------------------------------------
r10347 | theeth | 2007-03-24 14:38:50 +0100 (Sat, 24 Mar 2007) | 4 lines

Followup to Bugfix #6435 by Ton.

Added sensible way in calculateTransformCenter to report an error (including empty selection).

------------------------------------------------------------------------
r10346 | ton | 2007-03-24 13:44:55 +0100 (Sat, 24 Mar 2007) | 5 lines

Bugfix #6433

Armature bones did not draw name in window corner anymore. Caused by patch
for drawing shape key names...

------------------------------------------------------------------------
r10345 | ton | 2007-03-24 12:56:10 +0100 (Sat, 24 Mar 2007) | 8 lines

Bugfix #6435

New option "rotate around selection" failed in editmode, when nothing was
selected.
Function calculateCenterMedian() missed that case.

Also added some zero initializing in code.

------------------------------------------------------------------------
r10344 | scourage | 2007-03-24 08:18:26 +0100 (Sat, 24 Mar 2007) | 2 lines

Still not part of the solution file, so shouln't affect the build.  This version is complete, but won't compile until I commit the new BKE_node.h and drawnode.c files (plus a couple of others)

------------------------------------------------------------------------
r10343 | scourage | 2007-03-24 08:10:57 +0100 (Sat, 24 Mar 2007) | 2 lines

scons script initial commit.  NOT TESTED yet, but I'm doing that.

------------------------------------------------------------------------
r10342 | scourage | 2007-03-24 07:57:29 +0100 (Sat, 24 Mar 2007) | 2 lines

Initial commit.  Not in build system so shouldn't interfere with anything at this point.  Will commit modified versions of existing files once build system is tested.

------------------------------------------------------------------------
r10341 | khughes | 2007-03-24 06:10:03 +0100 (Sat, 24 Mar 2007) | 4 lines



Fix gcc warnings (assignment makes integer from pointer without a cast).

------------------------------------------------------------------------
r10340 | aligorith | 2007-03-24 04:34:28 +0100 (Sat, 24 Mar 2007) | 4 lines

Bugfix #6413:  Select all (bones) doesn't work with keyed armature

Silly little mixup (one case where one of the macros I added shouldn't be used)

------------------------------------------------------------------------
r10339 | aligorith | 2007-03-24 04:00:54 +0100 (Sat, 24 Mar 2007) | 6 lines

== Copy Location Constraint ==

I've added two new options for this constraint:
* Copy Bone Tip Location
* Apply owner's location on top of copied location ('Offset')

------------------------------------------------------------------------
r10338 | aligorith | 2007-03-24 03:20:00 +0100 (Sat, 24 Mar 2007) | 2 lines

Removed some more debug prints (regarding camera angle/lens stuff)

------------------------------------------------------------------------
r10337 | aligorith | 2007-03-24 02:25:11 +0100 (Sat, 24 Mar 2007) | 2 lines

Commented out debug-print in Ton's commit from yesterday (camera angle)

------------------------------------------------------------------------
r10336 | aligorith | 2007-03-24 02:08:17 +0100 (Sat, 24 Mar 2007) | 4 lines

Patch #6408: Small bugfix in action editor when use ctrl+z

A check is now performed to see if any markers were deleted before adding an undo-push, so you don't need to CTRL+Z twice to un-delete keys in the Action Editor if you didn't have any markers selected.

------------------------------------------------------------------------
r10335 | ton | 2007-03-23 14:12:11 +0100 (Fri, 23 Mar 2007) | 5 lines

patch 5341 by Juho

This adds option to show camera angle instead of camera lens value.
(Complete revised patch...)

------------------------------------------------------------------------
r10334 | broken | 2007-03-23 06:41:58 +0100 (Fri, 23 Mar 2007) | 16 lines

== Interface ==
* Tablet pressure sensitivity for number field dragging

Many of the number fields in Blender are very sensitive. With this addition, 
softer tablet pressure causes the number field dragging to be more precise, 
as if you're holding shift, but variable depending on how hard or soft 
you're pressing. You can push hard for large adjustments or just lightly
stroke it for fine tuning.

P.S. There was a bug in the tracker regarding tablet support in sculpt mode that
never really got resolved. I don't know if it still exists, but number fields 
are a pretty major part of Blender, so just in case this commit causes problems
for you, you can disable it (temporarily, this won't be left in) by changing
rt: to any value other than 0. If anyone has problems, please report them, and
we can get it sorted out properly.

------------------------------------------------------------------------
r10333 | aligorith | 2007-03-23 05:45:17 +0100 (Fri, 23 Mar 2007) | 4 lines

Bugfix #6389:

"Copy To Linked" option for VertexGroups copied the vertexgroups of the active mesh to all meshes in the scene, not just the ones that used the same mesh datablock.

------------------------------------------------------------------------
r10332 | snailrose | 2007-03-23 03:20:12 +0100 (Fri, 23 Mar 2007) | 2 lines

Applied patch #6102 submitted by Mal

------------------------------------------------------------------------
r10331 | blendix | 2007-03-22 21:32:20 +0100 (Thu, 22 Mar 2007) | 4 lines


Added "Pack Charts" function in the UV editor, using Campbell's new box
packing code.

------------------------------------------------------------------------
r10330 | stiv | 2007-03-22 21:08:10 +0100 (Thu, 22 Mar 2007) | 2 lines

change script to use the proper form of Scene.GetCurrent().

------------------------------------------------------------------------
r10329 | campbellbarton | 2007-03-22 04:28:34 +0100 (Thu, 22 Mar 2007) | 2 lines

added stdlib.h header, comments and all lines < 80 chars.

------------------------------------------------------------------------
r10328 | broken | 2007-03-22 02:40:28 +0100 (Thu, 22 Mar 2007) | 4 lines

* Added a slot for scripts to appear in the Render menu. The script category for 
render scripts was already there, but strangely they were only accessible from 
the script menu.

------------------------------------------------------------------------
r10327 | ton | 2007-03-21 21:40:18 +0100 (Wed, 21 Mar 2007) | 4 lines

Small feature for Referenced Library debugging:

In Outliner, shift+click on item with [Li] icon, gives name of Library file

------------------------------------------------------------------------
r10326 | elubie | 2007-03-21 21:36:14 +0100 (Wed, 21 Mar 2007) | 3 lines

==== MSVC 7.1 projectfiles ====
- added BLI_boxpack2d files

------------------------------------------------------------------------
r10325 | campbellbarton | 2007-03-21 18:11:25 +0100 (Wed, 21 Mar 2007) | 2 lines

missing x/y setting for the first box

------------------------------------------------------------------------
r10324 | campbellbarton | 2007-03-21 18:06:02 +0100 (Wed, 21 Mar 2007) | 4 lines

moved the boxpacker from PyAPI's Geometry to BLI_boxpack2d

made LSCM UV Unwrapper use boxpack2d

------------------------------------------------------------------------
r10323 | stiv | 2007-03-21 15:25:31 +0100 (Wed, 21 Mar 2007) | 2 lines

fix compiler warning: implicit declaration of oldLibrary_Init()

------------------------------------------------------------------------
r10322 | campbellbarton | 2007-03-21 14:47:20 +0100 (Wed, 21 Mar 2007) | 2 lines

replaced face sort by Z with randomize (Ctrl+F menu)

------------------------------------------------------------------------
r10321 | nicholasbishop | 2007-03-21 07:33:04 +0100 (Wed, 21 Mar 2007) | 4 lines

== Multires ==

Added an option to choose between Catmull-Clark and simple subdivision when adding a level. This setting applies only to how the level is created; any changes to lower levels are still propagated to the top level using Catmull-Clark.

------------------------------------------------------------------------
r10320 | khughes | 2007-03-21 03:46:42 +0100 (Wed, 21 Mar 2007) | 7 lines



Python API
----------
Roll back to previous version; didn't mean to commit changes with Py_GetVersion
just yet!

------------------------------------------------------------------------
r10319 | khughes | 2007-03-21 03:34:55 +0100 (Wed, 21 Mar 2007) | 6 lines



Python API
----------
Oops; forgot to add Library.h into bpy.libraries commit.

------------------------------------------------------------------------
r10318 | khughes | 2007-03-21 03:23:28 +0100 (Wed, 21 Mar 2007) | 7 lines



Python API
----------
Support for new bpy.libraries module, which is being proposed to replace
the Blender.Library module.

------------------------------------------------------------------------
r10317 | khughes | 2007-03-20 19:45:05 +0100 (Tue, 20 Mar 2007) | 8 lines



Python API
----------
Definition of default "bpy" module was decrementing reference count, which
caused assertion errors on Windows.  This fixes the problem on Linux; Win
developers please test!

------------------------------------------------------------------------
r10316 | campbellbarton | 2007-03-20 17:54:31 +0100 (Tue, 20 Mar 2007) | 2 lines

added a null check for give_matarar with make_local, was crashing with some data

------------------------------------------------------------------------
r10315 | ton | 2007-03-20 16:34:00 +0100 (Tue, 20 Mar 2007) | 3 lines

The function to get a Material didn't correctly check for object types.
(bug reported by Campbell via irc)

------------------------------------------------------------------------
r10314 | sirdude | 2007-03-20 16:07:23 +0100 (Tue, 20 Mar 2007) | 8 lines



Stupid little fix, var == "str" bad....  !strcmp(var, "str") good...

Thanks DripStone,

Kent

------------------------------------------------------------------------
r10313 | campbellbarton | 2007-03-20 13:07:02 +0100 (Tue, 20 Mar 2007) | 2 lines

BoxPack2D example in epydocs, small cleanup on Geometry.c

------------------------------------------------------------------------
r10312 | aligorith | 2007-03-20 12:11:32 +0100 (Tue, 20 Mar 2007) | 4 lines

NLA:

Some more action channel protection stuff

------------------------------------------------------------------------
r10311 | aligorith | 2007-03-20 12:04:47 +0100 (Tue, 20 Mar 2007) | 17 lines

== Action Editor - Collapsable Action Channels ==

Action Channels can now be collapsed/expanded to show/hide Constraint Channels, lessening clutter. In future, this could (will probably be) expanded to
show the show/hide individual transform channels.

User Notes:
* Expansion is off by default
* NKEY popup now features option to turn expansion on/off
* Changed behaviour of protection a bit - now if an action channel has protection
 on, constraint channels under it are also automagically protected

Developer Notes:
* I've gone through doing a lot of whitespace/linebreak tweaking to get the code looking more consistent with itself
* To save typing (and to make it easier to make future revisions), a set of macros
 is now used to check for some commonly-checked settings (i.e. selection, visibility,
 and protection).

------------------------------------------------------------------------
r10310 | campbellbarton | 2007-03-20 08:23:09 +0100 (Tue, 20 Mar 2007) | 7 lines

Geometry.c - rewrote my python box-packer algo in C,
	packing 2400 rectanges is about 38x faster.

Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project

Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.

------------------------------------------------------------------------
r10309 | eeshlo | 2007-03-20 07:50:39 +0100 (Tue, 20 Mar 2007) | 5 lines

Minor modification of foreground processing code in the defocus node.
Now uses a fixed value instead of a value based on the closest object.
Should eliminate sudden jumps in blur amount from frame to frame when used
in animations.

------------------------------------------------------------------------
r10308 | stiv | 2007-03-20 05:19:30 +0100 (Tue, 20 Mar 2007) | 4 lines

cleanup compiler warnings for
  missing virtual destructors
  out of order initializers

------------------------------------------------------------------------
r10307 | elubie | 2007-03-19 20:34:04 +0100 (Mon, 19 Mar 2007) | 4 lines

==== blenlib ====
- added replacement BLI_snprintf for snprintf to avoid MSVC specific #defines for snprintf.
- BLI_snprintf also ensures trailing zero, so helps preventing buffer overflows

------------------------------------------------------------------------
r10306 | elubie | 2007-03-19 20:29:27 +0100 (Mon, 19 Mar 2007) | 3 lines

==== MSVC 7.1 projectfiles ====
- added new file Config.c for Python API

------------------------------------------------------------------------
r10305 | ton | 2007-03-19 16:48:24 +0100 (Mon, 19 Mar 2007) | 7 lines

Patch #3126

Option to draw object name in 3d window corner, now also displays for
meshes the (pinned) shape key name.

Threads: warning fix, added (void) for function declaration.

------------------------------------------------------------------------
r10304 | ton | 2007-03-19 12:26:53 +0100 (Mon, 19 Mar 2007) | 4 lines

Patch #6123m by Leandro Inocencio

Sound Window now has option "lock view to other 2d windows" too.

------------------------------------------------------------------------
r10303 | aligorith | 2007-03-19 11:15:13 +0100 (Mon, 19 Mar 2007) | 5 lines

Preview Range Bugfix:

Removed some code that was causing problems and wasn't even needed.
Now, there are no more problems when setting the preview range from the Action Editor when it was displaying an action that was scaled in the NLA.

------------------------------------------------------------------------
r10302 | ton | 2007-03-19 10:40:41 +0100 (Mon, 19 Mar 2007) | 4 lines

Patch by Juho V,

Colorband: nodes now show an "Add" button too.

------------------------------------------------------------------------
r10301 | aligorith | 2007-03-19 08:32:36 +0100 (Mon, 19 Mar 2007) | 26 lines

== Preview Range ==

Preview Range is a useful tool for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.

Hi Ton,

Attached is a patch (I know you've already got lots of them in the tracker ;-) ) for a feature that I've sometimes wanted. It seems that this sort of thing is supported in other packages, but I can't be sure.

Note: I may have left in a few bits and pieces I didn't mean to in the patch (this is off a source tree which had quite a few revisions in it, all of which was experimental)



== Preview Range ==
Preview range is useful for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.

* 'Ctrl P' in Action/NLA/Timeline sets preview range. Click+drag to form selection-box defining region of frames to preview
* 'Alt P' in Action/NLA/Timeline to clear preview range
* 'Pre' button beside Start/End fields in timeline toggles whether start/end fields refer to scene or preview
* 'Ctrl Rightarrow' and 'Ctrl Leftarrow' jump to start/end of preview region when it is set
* 'S' and 'E' set the start/end frames of preview region when it is set (just like normally) in Timeline only
* In Action/NLA editors, frames out of preview region are now drawn darkened when preview-region is set


See the following page for more info later:
http://wiki.blender.org/index.php/User:Aligorith/Preview_Range

------------------------------------------------------------------------
r10300 | khughes | 2007-03-19 06:40:42 +0100 (Mon, 19 Mar 2007) | 4 lines



Fixing a few more gcc warnings by adding pointer casts.

------------------------------------------------------------------------
r10299 | campbellbarton | 2007-03-19 06:09:56 +0100 (Mon, 19 Mar 2007) | 9 lines

addad e new macro - BASE_SELECTABLE for checking if an object is selectable (restrict visible and restrict selected are off and its in the current view layer)

Made "Select Grouped" functions and "Select Linked" use BASE_SELECTABLE macro so they wont select objects they shouldent.
Made "Select Grouped" push an undo

Made "Select Grouped" and "Select Linked" only push add an UNDO if they make a change to the selection.

Fix for own bug. "Select Group" -> Hooks option could crash blender if an objetc hook was in another scene.

------------------------------------------------------------------------
r10298 | campbellbarton | 2007-03-19 04:22:42 +0100 (Mon, 19 Mar 2007) | 2 lines

added mesh skin to the face key menu and added a python slot here.

------------------------------------------------------------------------
r10297 | campbellbarton | 2007-03-19 02:51:54 +0100 (Mon, 19 Mar 2007) | 3 lines

[ #4227 ] Determine the "real" current filename via Python
applied. tested and this is how "filename" should work, so changed Blender.Get("filename") to return None instead of the last opened file.

------------------------------------------------------------------------
r10296 | theeth | 2007-03-18 19:21:24 +0100 (Sun, 18 Mar 2007) | 4 lines

=== View Orbit Around Active ===

Changed to Orbit around Selection, using transform code to calculate the selection center (using Median center method).

------------------------------------------------------------------------
r10295 | theeth | 2007-03-18 15:53:17 +0100 (Sun, 18 Mar 2007) | 10 lines

=== Constraints ===

Patch by Juho Vepsäläinen (bebraw)
[ #5850 ] Inverted axis' buttons to Copy Rotation and Copy Location constraints

This patch adds the options to invert the value being copied from each axis of the Copy Rot/Copy Loc constraints.


This commit also includes some slight code sanitization and tool tips cleanup (for the two track constraints, the tool tips were really unuseful).

------------------------------------------------------------------------
r10294 | artificer | 2007-03-18 15:20:24 +0100 (Sun, 18 Mar 2007) | 6 lines

== Edgesplit modifier speed improvements ==
Speed improvements to the Edgesplit modifier (changed the data structures
and memory management to avoid using slow GHash functions and large numbers
of small mallocs). In my tests, this makes the modifier approximately twice
as fast.

------------------------------------------------------------------------
r10293 | artificer | 2007-03-18 14:46:26 +0100 (Sun, 18 Mar 2007) | 4 lines

== Mirror modifier upgrade ==
Upgraded the Mirror modifier to support mirroring of UV coordinates in the
faces created by the modifier.

------------------------------------------------------------------------
r10292 | artificer | 2007-03-18 14:26:53 +0100 (Sun, 18 Mar 2007) | 12 lines

== Array modifier upgrade ==
Upgraded the Array modifier to allow the user to specify start and end
cap objects. This makes arrays more flexible and more useful for creating
subsurf cages. The cap objects are added at the start and end of the array,
and will be auto-merged with the rest of the array if the 'Merge' button is
on.

Examples at:
- http://members.optusnet.com.au/~bbatt/tentacle01-endcaps.blend
- http://members.optusnet.com.au/~bbatt/arraytest06.blend
- http://members.optusnet.com.au/~bbatt/arraytest07.blend

------------------------------------------------------------------------
r10291 | campbellbarton | 2007-03-18 13:08:51 +0100 (Sun, 18 Mar 2007) | 3 lines

excellent mesh unolder script by Matthew Chadwick
http://celeriac.net/unfolder/

------------------------------------------------------------------------
r10290 | aligorith | 2007-03-18 07:06:54 +0100 (Sun, 18 Mar 2007) | 9 lines

== Action Editor ==

* When the mouse is over an Action or Constraint Channel, you can now
rename it by pressing NKEY (like for Shapekey channels). You can also set
the 'protection' status for the Action/Constraint channel in this way.

* Removed the double confirmation when deleting Action-Channels. Also,
markers are now not deleted when deleting action channels.

------------------------------------------------------------------------
r10289 | campbellbarton | 2007-03-18 05:46:54 +0100 (Sun, 18 Mar 2007) | 2 lines

added bpy.config, more configuration options still need adding.

------------------------------------------------------------------------
r10288 | aligorith | 2007-03-18 04:30:24 +0100 (Sun, 18 Mar 2007) | 8 lines

== Recently-Opened Files List (Patch #5708) ==

In the past, this was limited to only having 10 items. Now you can set the
number of recently opened files that are remembered (ranging from 0 to 30
items).

Setting for this can be found under 'Auto-Save' in the Info window.

------------------------------------------------------------------------
r10287 | nicholasbishop | 2007-03-17 21:11:50 +0100 (Sat, 17 Mar 2007) | 4 lines

== Sculpt Mode ==

Added a #define for the number of vertices the flatten brush should sample when calculating the distance to flatten to.

------------------------------------------------------------------------
r10286 | khughes | 2007-03-17 16:00:11 +0100 (Sat, 17 Mar 2007) | 7 lines



source/blender/src/buttons_editing.c:
    Fix C90 variable declaration in function body
source/blender/src/editaction.c:
    remove unused variable

------------------------------------------------------------------------
r10285 | khughes | 2007-03-17 15:46:04 +0100 (Sat, 17 Mar 2007) | 5 lines



Fix various gcc warning, unused variables and incorrect type passed to
*printf functions.

------------------------------------------------------------------------
r10284 | khughes | 2007-03-17 15:43:52 +0100 (Sat, 17 Mar 2007) | 5 lines



More fix various gcc warning, mainly related to signed/unsigned parameters
passed in general.

------------------------------------------------------------------------
r10283 | khughes | 2007-03-17 15:15:02 +0100 (Sat, 17 Mar 2007) | 5 lines



Fix various gcc warning related to signed/unsigned parameters passed to
OpenGL functions.

------------------------------------------------------------------------
r10282 | aligorith | 2007-03-17 06:50:47 +0100 (Sat, 17 Mar 2007) | 4 lines

When pressing XKEY or DELETE in NLA/Action/IPO editors, you are no
longer asked whether you want to delete the selected markers or keys.
Instead, it more 'logically' deletes anything that is selected.

------------------------------------------------------------------------
r10281 | khughes | 2007-03-17 04:19:41 +0100 (Sat, 17 Mar 2007) | 7 lines



Python API
----------
Bug reported on IRC:  Object.setEuler(0,0,0) threw an exception.  Change so
it will accept (0,0,0), ((0,0,0), ([0,0,0]), or an euler.

------------------------------------------------------------------------
r10280 | campbellbarton | 2007-03-16 15:44:31 +0100 (Fri, 16 Mar 2007) | 2 lines

some dealloc's I removed didnt get automaticly added back in by python, fixed now

------------------------------------------------------------------------
r10279 | campbellbarton | 2007-03-16 12:38:02 +0100 (Fri, 16 Mar 2007) | 2 lines

type initialization updates, and refcount fix for lamp, reverted some changes to NMesh

------------------------------------------------------------------------
r10278 | ton | 2007-03-16 12:36:47 +0100 (Fri, 16 Mar 2007) | 4 lines

Patch #5460 by Juho V

Switch screen hotkey, CTRL+Left/Rightarrow now cycles.

------------------------------------------------------------------------
r10277 | ton | 2007-03-16 12:29:40 +0100 (Fri, 16 Mar 2007) | 5 lines

Patch #6121 by Diego Borghetti

Create/delete vertex groups now is possible in Object mode too (using the
buttons in editbuttons).

------------------------------------------------------------------------
r10276 | khughes | 2007-03-16 06:39:30 +0100 (Fri, 16 Mar 2007) | 8 lines



Python API
----------
Bugfix #6255: Library.Load() failed on some blend files prior to 2.43.
Consolidated some code to make Python and Blender UI more in common.  Also
fixed some compiler warnings in the process.

------------------------------------------------------------------------
r10275 | khughes | 2007-03-16 06:03:38 +0100 (Fri, 16 Mar 2007) | 4 lines



Fix numerous gcc warnings.

------------------------------------------------------------------------
r10274 | nicholasbishop | 2007-03-15 21:19:34 +0100 (Thu, 15 Mar 2007) | 2 lines

Fixed array declaration in sculptmode.c

------------------------------------------------------------------------
r10273 | campbellbarton | 2007-03-15 15:57:00 +0100 (Thu, 15 Mar 2007) | 3 lines

PyApi,
missing incref's for materials color values.

------------------------------------------------------------------------
r10272 | sirdude | 2007-03-15 13:34:44 +0100 (Thu, 15 Mar 2007) | 15 lines



This is a fix for bug #6100
When using international fonts, blender was assuming that the
default language on the system was chinese.

Now it checks to see what language code you have selected and
if its chinese or japanese it converts those to utf8 and then
continues to translate them.

I can't fully check this so will need others to test it.  This
should at least be better now.

Kent

------------------------------------------------------------------------
r10271 | ton | 2007-03-15 09:59:29 +0100 (Thu, 15 Mar 2007) | 5 lines

Patch #6264

Pointer check added to prevent "Jkey" (swap render display buffers) to
crash in cases. Patch by Diego Borghetti.

------------------------------------------------------------------------
r10270 | campbellbarton | 2007-03-15 02:47:53 +0100 (Thu, 15 Mar 2007) | 3 lines


removed unneeded dealloc functions

------------------------------------------------------------------------
r10269 | campbellbarton | 2007-03-15 02:09:14 +0100 (Thu, 15 Mar 2007) | 3 lines


removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's

------------------------------------------------------------------------
r10268 | nicholasbishop | 2007-03-14 21:00:01 +0100 (Wed, 14 Mar 2007) | 8 lines

== Sculpt Mode ==

* Added new brush, "Flatten". This brush pushes vertices along the normal defined by the average normal of each vertex within the brush area. The vertices are pushed towards the plane defined by vertices towards the edge of the brush. Essentially, this means that the direction of flattening is dependent on the surface beneath the brush.

* In order to make space for the flatten brush, the controls inside the Sculpt palette were widened to 268. (Note that the panel width didn't change, so it still fits properly in the vertical layout.)

* Todo: it would probably make sense to make the "View" slider available under the Brush tab available for the Flatten brush (currently it's only used for the Draw brush.)

------------------------------------------------------------------------
r10267 | stiv | 2007-03-14 17:38:58 +0100 (Wed, 14 Mar 2007) | 2 lines

attempted fixage for gcc warnings with Python 2.5

------------------------------------------------------------------------
r10266 | stiv | 2007-03-14 17:09:12 +0100 (Wed, 14 Mar 2007) | 2 lines

fix gcc warnings about no newline at end of file

------------------------------------------------------------------------
r10265 | campbellbarton | 2007-03-14 10:08:41 +0100 (Wed, 14 Mar 2007) | 2 lines

many menu items would crash blender if there was no 3d view. added checks.

------------------------------------------------------------------------
r10264 | campbellbarton | 2007-03-14 07:01:59 +0100 (Wed, 14 Mar 2007) | 2 lines

apply the 3ds matrix to the mesh, This fixes some 3ds files and breaks others, but it seems to follow the 3ds format. for the files it messes up, just remove transformation.

------------------------------------------------------------------------
r10263 | campbellbarton | 2007-03-14 04:01:24 +0100 (Wed, 14 Mar 2007) | 3 lines

made all python types that can do .__copy__(), also do .copy()
added copy function to lamp, texture and ipo types

------------------------------------------------------------------------
r10262 | campbellbarton | 2007-03-14 03:11:42 +0100 (Wed, 14 Mar 2007) | 2 lines

disabled Object.Duplicate() in background mode bacause it needs the 3d view, added a note in the docs.

------------------------------------------------------------------------
r10261 | elubie | 2007-03-13 19:23:05 +0100 (Tue, 13 Mar 2007) | 3 lines

==== MSVC 7.1 projectfiles ====
- small update, added missing files.

------------------------------------------------------------------------
r10260 | campbellbarton | 2007-03-13 17:15:59 +0100 (Tue, 13 Mar 2007) | 4 lines

[ #6214 ] Select object of the same group.
rewritten to find the groups that an object is apart of only once (less listbase searching).
with the limitation of 24 maximum in the menu.

------------------------------------------------------------------------
r10259 | campbellbarton | 2007-03-13 13:50:36 +0100 (Tue, 13 Mar 2007) | 2 lines

renamed norepeatX/Y to ClampX/Y

------------------------------------------------------------------------
r10258 | ton | 2007-03-13 13:20:55 +0100 (Tue, 13 Mar 2007) | 8 lines

Bugfix #6211

Group nodes with animation nodes inside (like Time) did not get updated
correctly.

I also noticed that with time Nodes,  the hotkey "E" (execute) fails to do
a composite after frame changes, fixed that too.

------------------------------------------------------------------------
r10257 | campbellbarton | 2007-03-13 13:04:48 +0100 (Tue, 13 Mar 2007) | 2 lines

last commit had problems with sticky files, this should be ok

------------------------------------------------------------------------
r10256 | campbellbarton | 2007-03-13 12:54:53 +0100 (Tue, 13 Mar 2007) | 2 lines

added back videoscape for python

------------------------------------------------------------------------
r10255 | campbellbarton | 2007-03-13 11:00:27 +0100 (Tue, 13 Mar 2007) | 2 lines

removed videoscape support, a format from 1988 that nobody uses anymore.

------------------------------------------------------------------------
r10254 | campbellbarton | 2007-03-13 04:05:12 +0100 (Tue, 13 Mar 2007) | 2 lines

exiting editmesh when in face select mode could result in hidden and selected faces.

------------------------------------------------------------------------
r10253 | sirdude | 2007-03-13 01:06:37 +0100 (Tue, 13 Mar 2007) | 7 lines



patch [#6213]   msvc had problems with GL_CLAMP_TO_EDGE being undefined
on some systems.  If its undefined define it.

Kent

------------------------------------------------------------------------
r10252 | khughes | 2007-03-12 20:45:42 +0100 (Mon, 12 Mar 2007) | 7 lines



Python API
----------
Chris Want on IRC pointed out a grammatical error in the Bpy doc file.  While fixing
it, I found about a dozen more.

------------------------------------------------------------------------
r10251 | ton | 2007-03-12 17:27:20 +0100 (Mon, 12 Mar 2007) | 5 lines

Bugfix #6167

Metaball delete could crash, if selected/active ball is not the 'mother'
ball.

------------------------------------------------------------------------
r10250 | ton | 2007-03-12 15:25:44 +0100 (Mon, 12 Mar 2007) | 7 lines

Bugfix #6181

An acos() getting a negative value caused 'ray trace shadow bias' to go
wrong (and object render entirely black). Only in very rare cases... but
nevertheless a nice discovery fixing other unpredictable issues.
(Symptom: entire object renders black)

------------------------------------------------------------------------
r10249 | ton | 2007-03-12 14:31:47 +0100 (Mon, 12 Mar 2007) | 5 lines

Bugfix #6183

Option "Align view to selected face(s)" (shift+v) did not work for non-
uniform scaled objects.

------------------------------------------------------------------------
r10248 | ton | 2007-03-12 11:30:39 +0100 (Mon, 12 Mar 2007) | 5 lines

Bugfix #6173

Dupliverts + shaded mode did not work; patch provided by Riku Palomäk
(tonttu)

------------------------------------------------------------------------
r10247 | campbellbarton | 2007-03-12 07:21:58 +0100 (Mon, 12 Mar 2007) | 6 lines

python api
removed most custom add_*data* wrappers from Main.c
removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now
clamp new image sizes
made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.

------------------------------------------------------------------------
r10246 | campbellbarton | 2007-03-12 02:43:11 +0100 (Mon, 12 Mar 2007) | 2 lines

added no-xtile and no-ytile to the images realtime properties and python api.

------------------------------------------------------------------------
r10245 | blendix | 2007-03-12 01:30:46 +0100 (Mon, 12 Mar 2007) | 4 lines


Fix for bug #6127:
Import scripts could create meshes with old style edgecodes.

------------------------------------------------------------------------
r10244 | khughes | 2007-03-11 19:20:55 +0100 (Sun, 11 Mar 2007) | 7 lines



Python API
----------
Fixed some broken/disabled Texture attributes after Image refactor.
Added texture.autoRefresh attribute.

------------------------------------------------------------------------
r10243 | khughes | 2007-03-11 18:31:27 +0100 (Sun, 11 Mar 2007) | 4 lines



Remove gcc compiler warnings from various files.

------------------------------------------------------------------------
r10242 | campbellbarton | 2007-03-11 17:25:17 +0100 (Sun, 11 Mar 2007) | 4 lines


made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name.
also updated the Bpy.py epydocs

------------------------------------------------------------------------
r10241 | campbellbarton | 2007-03-11 13:35:01 +0100 (Sun, 11 Mar 2007) | 2 lines

Documentation for the new automatically imported "bpy" module. (was Blender.Main)

------------------------------------------------------------------------
r10240 | joeedh | 2007-03-11 13:27:57 +0100 (Sun, 11 Mar 2007) | 9 lines

=Cineon Bug=

In my attempts to get cinepaint's cineon code to work with files in memory,
I accidently rewrote something that should have been left as it is.  This
causes images whose image buffers didn't start right after the cineon header to
become "shifted" to the left.

The DPX code looks correct, though.

------------------------------------------------------------------------
r10239 | ton | 2007-03-11 13:14:50 +0100 (Sun, 11 Mar 2007) | 5 lines

Bugfix #6201

Shape key drivers were not copied correctly, when choosing the option
"ADD NEW Scene -> Full copy".

------------------------------------------------------------------------
r10238 | aligorith | 2007-03-11 05:39:19 +0100 (Sun, 11 Mar 2007) | 5 lines

Action Editor - Remove unused code.

Nothing ever called that part of code, and that code was
'not implemented' anyway.

------------------------------------------------------------------------
r10237 | campbellbarton | 2007-03-11 05:05:45 +0100 (Sun, 11 Mar 2007) | 4 lines


moved python functions that deal with blender libdata into gen_library.c from gen_utils and BPY_interface
small cleanup, removed unused functions and explicetly cast pointers..

------------------------------------------------------------------------
r10236 | campbellbarton | 2007-03-10 13:37:03 +0100 (Sat, 10 Mar 2007) | 2 lines

PyApi: fix for own bad bug, obdata was having a user removed when the object was removed with (scene.objects.unlink(ob))

------------------------------------------------------------------------
r10235 | campbellbarton | 2007-03-10 12:47:24 +0100 (Sat, 10 Mar 2007) | 5 lines

removed python oops access, (was unreliable and nobody used it)
	oops data access need to be done differently.

Blender.sys fix for win32 path bug 6193

------------------------------------------------------------------------
r10234 | campbellbarton | 2007-03-10 10:43:43 +0100 (Sat, 10 Mar 2007) | 7 lines


Main
* Added bpy.*.new() - works for all except sound and font types
* Added bpy.*.load() - works for sound, font and image types

Text3d - removed unneeded check.

------------------------------------------------------------------------
r10233 | campbellbarton | 2007-03-10 07:33:19 +0100 (Sat, 10 Mar 2007) | 3 lines

added "bpy" as a module imported by default to replace Blender.Main as a new way to access blender data
gen_utils was missing some type checks that made assigning a objects DupGroup and meshes texcomesh not work.

------------------------------------------------------------------------
r10232 | khughes | 2007-03-09 23:21:23 +0100 (Fri, 09 Mar 2007) | 7 lines



Python API
----------
Added Image.source attribute, so image type can be get/set for still, movie,
sequence or generated images.

------------------------------------------------------------------------
r10231 | khughes | 2007-03-09 22:48:47 +0100 (Fri, 09 Mar 2007) | 6 lines



Python API
----------
Rearrange includes, remove dead code to fix gcc warnings.

------------------------------------------------------------------------
r10230 | briggs | 2007-03-09 20:54:05 +0100 (Fri, 09 Mar 2007) | 5 lines

-> Fix for bug #6150

Missing call to update despgraph caused merge tools to crash
when called from toolbox or header menus.

------------------------------------------------------------------------
r10229 | briggs | 2007-03-09 16:36:21 +0100 (Fri, 09 Mar 2007) | 10 lines

-> Small bug fix for modifiers and info header stats

Small but very annoying issue with  modifiers meant that G.totvert/totedge/totface
were updated to reflect the effects of a subsurf modifier in object mode but all other
modifier types were ignored. This was not only inconsistent, but also made it very
difficult to keep track of poly budgets. Now in order to obtain accurate counts
object_handle_update is called immediatly after adding a modifier and precedes  a call
to countall() which has been modified to query the final derived mesh directly
using dm->getNumVerts/Edges/Faces callbacks. Editmode behaviour is unchanged.

------------------------------------------------------------------------
r10228 | broken | 2007-03-09 05:19:59 +0100 (Fri, 09 Mar 2007) | 4 lines

* Visualise material 'Shadeless' a bit better in the 3D View solid mode.
  Now it draws as if Ref = Emit = 1.0 - not as accurate as shaded mode,
  but it's better than before, and at least it allows transparency.

------------------------------------------------------------------------
r10227 | khughes | 2007-03-09 01:11:02 +0100 (Fri, 09 Mar 2007) | 6 lines



Python API
----------
Fix bug with variable declaration in middle of function.

------------------------------------------------------------------------
r10226 | campbellbarton | 2007-03-08 18:24:46 +0100 (Thu, 08 Mar 2007) | 2 lines

fix for silly mistake when merging old/new Mesh.c's in last commit.

------------------------------------------------------------------------
r10225 | campbellbarton | 2007-03-08 15:37:34 +0100 (Thu, 08 Mar 2007) | 7 lines

BPython API
added a function - GenericLib_assignData for assigning blender data, to assign an ipo to a camera or world to a scene for instance.
Using this function removed ~300 lines of code.
also fixes user count error in some places that didnt check.

also made it possible to clear the colorband by setting it to []

------------------------------------------------------------------------
r10224 | campbellbarton | 2007-03-08 14:43:59 +0100 (Thu, 08 Mar 2007) | 2 lines

bugfix, material copy wasnt increasing the lighting groups user count, but removing the lighting group decreased it.

------------------------------------------------------------------------
r10223 | ton | 2007-03-08 13:22:50 +0100 (Thu, 08 Mar 2007) | 4 lines

Bugfix #6176

Matrix cache for particles was read out of bounds. Fix found by Ken Hughes.

------------------------------------------------------------------------
r10222 | ton | 2007-03-08 13:05:34 +0100 (Thu, 08 Mar 2007) | 5 lines

Bugfix #6190

Composite: renderlayer nodes were not tagged 'changed' when rerendered,
causing a composite to skip them. (only for nodes having another scene)

------------------------------------------------------------------------
r10221 | campbellbarton | 2007-03-08 07:35:01 +0100 (Thu, 08 Mar 2007) | 7 lines

Added python access to material and texture colorbands.
	mat.colorbandDiffuse
	mat.colorbandSpecular
	tex.colorband

gen_utils - removed unused func

------------------------------------------------------------------------
r10220 | nicholasbishop | 2007-03-08 06:54:39 +0100 (Thu, 08 Mar 2007) | 6 lines

== Multires ==

Fixed bug #6153, Blender Crash during rendering (internal) with object selected in edit mode.

* Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)

------------------------------------------------------------------------
r10219 | campbellbarton | 2007-03-08 04:04:17 +0100 (Thu, 08 Mar 2007) | 2 lines

Was missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did.

------------------------------------------------------------------------
r10218 | snailrose | 2007-03-08 04:00:33 +0100 (Thu, 08 Mar 2007) | 2 lines

Added a guard to prevent more than one texture to be generated per image.

------------------------------------------------------------------------
r10217 | campbellbarton | 2007-03-07 15:58:29 +0100 (Wed, 07 Mar 2007) | 3 lines

made alloc_sequence accept a linkedList so it can be used from Python.
the start/end points for new strips were not set properly.

------------------------------------------------------------------------
r10216 | blendix | 2007-03-07 15:57:01 +0100 (Wed, 07 Mar 2007) | 4 lines


Bugfix (forum report):
Texture space copy (ctrl+c) crashed.

------------------------------------------------------------------------
r10215 | broken | 2007-03-07 12:09:03 +0100 (Wed, 07 Mar 2007) | 18 lines

Compositor/assorted nodes fixes:

* Auto-create compbufs for first socket of alphaover and set alpha nodes.
This allows you to eg. plug something into the second socket of an
alphaover node, and choose a solid colour in the first empty socket for
the image to be superimposed over.

Previously I had to create a bunch of extra nodes to (for example) mix
100% black over my render, just to get a black compbuf of the right size
that I could plug in. Not nice.

The Mix node already works this way, and these two should have, but
didn't.

* Allow the 'Fac' value to be used on RGB curves when there is no input
image. This lets you easily fade the changes in and out to check it
against the original, or to tone down the effect of the colour correction.

------------------------------------------------------------------------
r10214 | campbellbarton | 2007-03-07 10:53:40 +0100 (Wed, 07 Mar 2007) | 3 lines

DNA_meta_types.h - had a max element type defined that wasnt used anywhere, and some metaballs alredy use more then 1024 elements.
Metaball - added metaball.update attribute and constants Mataball.Update.ALWAYS, NEVER, HALFRES and NEVER

------------------------------------------------------------------------
r10213 | campbellbarton | 2007-03-07 09:53:26 +0100 (Wed, 07 Mar 2007) | 4 lines

Type header_seq.c - Reassing Inputs -> Reassign Inputs

Mesh.c added new function to mesh - mesh.pointInside(vec)

------------------------------------------------------------------------
r10212 | khughes | 2007-03-07 07:19:15 +0100 (Wed, 07 Mar 2007) | 8 lines



Tools
-----
Bugfix #6174: files larger than (2^31)-1 bytes were reported with negative
sizes in file manager windows.  Added a cast to unsigned int before doing
conversions for the UI.

------------------------------------------------------------------------
r10211 | khughes | 2007-03-07 01:56:09 +0100 (Wed, 07 Mar 2007) | 6 lines



Python API
----------
Add some missing Py_DECREF() calls.

------------------------------------------------------------------------
r10210 | khughes | 2007-03-06 19:55:35 +0100 (Tue, 06 Mar 2007) | 7 lines



Python API
----------
Converted CurNurb module to tp_getseters.
Added patch #5761 to provide read access to NURB knot vectors.

------------------------------------------------------------------------
r10209 | khughes | 2007-03-06 19:35:03 +0100 (Tue, 06 Mar 2007) | 6 lines



Python API
----------
Bugfix #6166: Mesh.getFromObject() didn't accept three parameters.

------------------------------------------------------------------------
r10208 | khughes | 2007-03-06 17:50:58 +0100 (Tue, 06 Mar 2007) | 8 lines



Python API
----------
Forgot to put sentinel at end of Curve_getseters, probably the cause of
crashes on OSX (thanks Stephen!).  Also add doc strings for attributes, add
missing "taperob" attribute to python docs.

------------------------------------------------------------------------
r10207 | halley | 2007-03-06 04:39:15 +0100 (Tue, 06 Mar 2007) | 10 lines


Uses the bglFlush() and is_a_really_crappy_intel_card() hacks to give
better support on low-end Macintoshes with integrated Intel graphics
chipsets.  Patch received from "UncleZiev" on #blendercoders, but I
adjusted it so other video chipsets and platforms are unaffected.

The only visual difference is that on MacBook and iMac machines, the box
select outline is drawn with solid, not dashed lines like other platforms
and not invisible as they were previously.

------------------------------------------------------------------------
r10206 | sirdude | 2007-03-05 21:50:36 +0100 (Mon, 05 Mar 2007) | 7 lines



extra space in CCFLAGS was causing problems on some systems.
reported on irc... by bdiego

Kent

------------------------------------------------------------------------
r10205 | ton | 2007-03-05 21:49:04 +0100 (Mon, 05 Mar 2007) | 3 lines

Small silly feature: menus in blender now scroll with mouse wheel. :)
Note that activiting it works as if you used arrow keys, not with mouse.

------------------------------------------------------------------------
r10204 | ton | 2007-03-05 21:47:59 +0100 (Mon, 05 Mar 2007) | 5 lines

bugfix #6163

Dupligroup: the recursive option did not check for the button (flag) to
be set, only for the pointer ->dupli_group

------------------------------------------------------------------------
r10203 | campbellbarton | 2007-03-05 16:26:03 +0100 (Mon, 05 Mar 2007) | 4 lines

adding experemental sequencer module, This may change or be removed before next release.
scene.sequence - This is an iterator that loops over strips, metastrips are intern iterable.
currently has support for dealing with scene strips and metastrips, generic strip options and moving strips about.

------------------------------------------------------------------------
r10202 | campbellbarton | 2007-03-05 14:07:31 +0100 (Mon, 05 Mar 2007) | 6 lines

mesh_skin - syntax error stopped ths script from working.

svg2obj.py update from JMS
 - Exec was removed from the collect_ATTRIBUTS function .
 - Other uses was evaluated.

------------------------------------------------------------------------
r10201 | jesterking | 2007-03-05 07:38:30 +0100 (Mon, 05 Mar 2007) | 4 lines

=== SCons ==
* fix by Malcolm Tredinnick for #6148
* some other misc changes by myself.

------------------------------------------------------------------------
r10200 | khughes | 2007-03-05 05:36:48 +0100 (Mon, 05 Mar 2007) | 7 lines



Tools
-----
Bugfix #6156: Fluid simulation crashed on meshes with no vertices.  Add a
check for mesh->totvert==0 and print a message in that case.

------------------------------------------------------------------------
r10199 | khughes | 2007-03-05 04:44:48 +0100 (Mon, 05 Mar 2007) | 6 lines



Python API
----------
Conversion of Curve module to tp_getseters.

------------------------------------------------------------------------
r10198 | khughes | 2007-03-05 04:38:41 +0100 (Mon, 05 Mar 2007) | 6 lines



Python API
----------
Removed prototype for recently-removed Blender_RemoveFakeuser().

------------------------------------------------------------------------
r10197 | khughes | 2007-03-05 04:34:40 +0100 (Mon, 05 Mar 2007) | 8 lines



Python API
----------
Fix potential problem with tex.evaluate(); calling multitex_ext() with
non-zero integers instead of pointers.  Campbell, double-check that this fix
is correct, otherwise take another look at what it should do.

------------------------------------------------------------------------
r10196 | campbellbarton | 2007-03-04 12:48:37 +0100 (Sun, 04 Mar 2007) | 3 lines

made it possible to set a modifiers object to None to remove the object
added initial support for the displacement modifier

------------------------------------------------------------------------
r10194 | campbellbarton | 2007-03-03 15:05:36 +0100 (Sat, 03 Mar 2007) | 12 lines

Added functions to Text3d that allow modifying of text frames
* .addFrame()
* .removeFrame(index)

getseters
* .activeFrame
* .totalFrames
* .frameWidth
* .frameHeight
* .frameX
* .frameY

------------------------------------------------------------------------
r10193 | elubie | 2007-03-03 12:28:15 +0100 (Sat, 03 Mar 2007) | 10 lines

==== MSVC 7.1 project files ====
- fix for 3DPlugin compile
- cleanup of bullet path
- removed PHY_ODE project from 3D plugin too, not used anymore

Now all configurations should build again, let me know of any problems!

Not been able to test if the 3DPlugin is actually working,is job for another day ;)
Also the 3DPlugin is compiled without OpenExr, this needs to be looked into once too.

------------------------------------------------------------------------
r10192 | ton | 2007-03-03 11:40:44 +0100 (Sat, 03 Mar 2007) | 4 lines

Bugfx #6138

Raytraced transparent shadow: did not respect lamp option "Layer".

------------------------------------------------------------------------
r10191 | campbellbarton | 2007-03-03 02:29:22 +0100 (Sat, 03 Mar 2007) | 7 lines

Pose.c - added option not to update IPO's when adding a keyframe to a bone.
bvh_import.py
- delaying IPO updates gives a significant speedup.
- IPO's use linear interpolation now
- Added an option to loop the animation.
- fix for own bug, importing to empties never worked.

------------------------------------------------------------------------
r10190 | broken | 2007-03-02 23:02:40 +0100 (Fri, 02 Mar 2007) | 4 lines

* Compo:
Added the curve options buttons (clipping, vector handles, etc)
to the time node

------------------------------------------------------------------------
r10189 | ianwill | 2007-03-02 19:15:41 +0100 (Fri, 02 Mar 2007) | 5 lines

Interface:
  Added option "Load Factory Settings" in the "File" menu.

With this, users don't have to remove .B.blend if they want to load the default data stored in Blender. Thanks Ton for ok'ing it and suggesting a better place in the menu (I had put it as "New (factory defaults)").

------------------------------------------------------------------------
r10188 | campbellbarton | 2007-03-02 10:48:04 +0100 (Fri, 02 Mar 2007) | 3 lines

vector.c - bugfix, vec.w accessed vec[4] not vec[3]! (probably my fault)
Texture.c - added "val = tex.evaluate(vec)" so you can find the color/intensity at a given loaction for a texture.

------------------------------------------------------------------------
r10187 | aligorith | 2007-03-02 08:30:52 +0100 (Fri, 02 Mar 2007) | 5 lines

Bugfix:

Removed the ability to change the name of a constraint or vertex group
to "" as it was causing problems. Anyway, it shouldn't be allowed.

------------------------------------------------------------------------
r10186 | campbellbarton | 2007-03-02 06:47:14 +0100 (Fri, 02 Mar 2007) | 2 lines

made libdata iterator types use existing function from BPY_interface - ID_asPyObject(*id)

------------------------------------------------------------------------
r10185 | ascotan | 2007-03-01 22:30:48 +0100 (Thu, 01 Mar 2007) | 2 lines

various warnings fixes - mostly casting and initialization issues

------------------------------------------------------------------------
r10184 | ascotan | 2007-03-01 21:49:44 +0100 (Thu, 01 Mar 2007) | 2 lines

updating vc7 projectfiles to link to python2.5

------------------------------------------------------------------------
r10183 | campbellbarton | 2007-03-01 16:40:13 +0100 (Thu, 01 Mar 2007) | 2 lines

own error, missing braces.

------------------------------------------------------------------------
r10182 | campbellbarton | 2007-03-01 14:22:26 +0100 (Thu, 01 Mar 2007) | 4 lines

Scene.c - world could not be set to None, added "cursor" attribute.
Scene.py - added docs for new scen attributes.
meshtools.c - typo

------------------------------------------------------------------------
r10181 | campbellbarton | 2007-03-01 11:51:28 +0100 (Thu, 01 Mar 2007) | 2 lines

added face sorting from the distance to cursor. (near to far and far to near)

------------------------------------------------------------------------
r10180 | broken | 2007-03-01 11:22:16 +0100 (Thu, 01 Mar 2007) | 3 lines

* Fix for Bug #6091:
Ambient Occlusion baking uses hidden objects

------------------------------------------------------------------------
r10178 | campbellbarton | 2007-03-01 06:32:06 +0100 (Thu, 01 Mar 2007) | 4 lines

new script seams from islands, adds seams at the boundries of existing UV islands.

uvcalc_smart_project - needed to import Main

------------------------------------------------------------------------
r10177 | jesterking | 2007-03-01 06:00:24 +0100 (Thu, 01 Mar 2007) | 6 lines

=== SCons ===

Copy the Python 2.5 dll on windows, not 2.4. Also commented out the copying of the
 python24.zip and zlib.pyd. I'm under the impression there is a concensus we want
 users to install py25 if they want to use it.

------------------------------------------------------------------------
r10176 | campbellbarton | 2007-03-01 03:25:20 +0100 (Thu, 01 Mar 2007) | 3 lines

quake map exporter, supports lamps, cubes as brushes, complex meshes face per brush, nurbs surfaces as a patch
texture mapping dosnt work yet.

------------------------------------------------------------------------
r10175 | campbellbarton | 2007-02-28 23:49:20 +0100 (Wed, 28 Feb 2007) | 2 lines

fixes to this script pointed out by JMS

------------------------------------------------------------------------
r10174 | theeth | 2007-02-28 23:04:37 +0100 (Wed, 28 Feb 2007) | 4 lines

=== Misc ===

Removing leftover debugging printfs.

------------------------------------------------------------------------
r10173 | elubie | 2007-02-28 22:37:14 +0100 (Wed, 28 Feb 2007) | 6 lines

=== bugfix ===
[ #6077 ] Scripts in sub-sub-folders of Blender's scripts folder won't run.
[ #5572 ] Scripts in sub-folders of Blender's scripts folder won't run
- I've added a function in blenlib to join two strings with a path separator in between.
- Willian, Campbell, please check if commit in BPY_menus is ok and test - thanks!

------------------------------------------------------------------------
r10172 | nicholasbishop | 2007-02-28 22:10:41 +0100 (Wed, 28 Feb 2007) | 4 lines

== Sculpt Mode ==

When switching scenes, turn Sculpt Mode off (same as for other special modes.)

------------------------------------------------------------------------
r10171 | elubie | 2007-02-28 21:11:10 +0100 (Wed, 28 Feb 2007) | 10 lines

=== bugfix ===
filename and path issues:
[ #6107 ] Animation crashes when ouput folder does not exist
- using the Windows drive as default and only then degrading to the
  Blender installation drive and then the first valid drive.
- in case of degrading added error message print to console to make it
  transparent
[ #6106 ] fluids - no default path
- setting the default path to U.tempdir where Blender stores temporary files

------------------------------------------------------------------------
r10170 | blendix | 2007-02-28 18:50:15 +0100 (Wed, 28 Feb 2007) | 5 lines


Fix for bug #6136:
Yafray rendering with 2 or cameras linked crashes. Iterating over and
erasing from STL map at the same time wasn't being done correct.

------------------------------------------------------------------------
r10169 | theeth | 2007-02-28 18:16:17 +0100 (Wed, 28 Feb 2007) | 9 lines

=== Transform Snap ===

Snapping to other meshes from edit mode.

This commit adds the capacity to snap to vertice of other selected meshes. (This is for sanity reasons, big scenes would kill the speed)
So, if you want to snap to another mesh, just add it to the selection and you're done.

NOTE: Priority is given to vertice inside the current mesh (if they overlap with outside verts)

------------------------------------------------------------------------
r10168 | theeth | 2007-02-28 16:29:18 +0100 (Wed, 28 Feb 2007) | 8 lines

=== Transform Snap ===

[ #6131 ] Vertex snapping broken in shaded face + edge select mode

The problem was trying to use the OGL optimisation when vertex selection was turned off. Added a check for that in all the find_nearest functions (vert, edge, face) so nobody falls in that trap again.

The offshot is that snapping in shaded view without vertex select on can snap to occluded vertice.

------------------------------------------------------------------------
r10167 | aligorith | 2007-02-28 09:54:32 +0100 (Wed, 28 Feb 2007) | 2 lines

Added a few extra defines for adding constraints. No new constraints added yet.

------------------------------------------------------------------------
r10166 | jesterking | 2007-02-28 05:51:13 +0100 (Wed, 28 Feb 2007) | 7 lines

=== SCons ===

Update configs to use Python 2.5. To quote from IRC:

07:17  * stivs waves his +5 Mouse of Power and authorizes jestie to update all of scons to py 2.5.
07:17 < stivs> let the screaming begin!

------------------------------------------------------------------------
r10165 | campbellbarton | 2007-02-28 05:50:39 +0100 (Wed, 28 Feb 2007) | 2 lines

mis named Layer, should be Scene.Layers

------------------------------------------------------------------------
r10163 | campbellbarton | 2007-02-28 04:07:07 +0100 (Wed, 28 Feb 2007) | 3 lines

plumiferos request,
Simple script to copy the active vertex group, also has the option to only copy the selected faces into the new group.

------------------------------------------------------------------------
r10162 | nicholasbishop | 2007-02-28 00:54:55 +0100 (Wed, 28 Feb 2007) | 4 lines

== Sculpt Mode ==

Added a SculptSession parameter to sculptmode_propset_end, to avoid propset_end creating a new session (propset_end is called when freeing the session, so this can cause a memory leak.)

------------------------------------------------------------------------
r10161 | campbellbarton | 2007-02-27 16:59:25 +0100 (Tue, 27 Feb 2007) | 2 lines

dumb error with Lattice getseters, found with a python random testing script

------------------------------------------------------------------------
r10160 | campbellbarton | 2007-02-27 13:55:48 +0100 (Tue, 27 Feb 2007) | 2 lines

added wrong file.

------------------------------------------------------------------------
r10159 | campbellbarton | 2007-02-27 12:15:38 +0100 (Tue, 27 Feb 2007) | 3 lines

Added 2 options to the object Ctrl+F menu - Sort faces by View axis (front to back) and (back to front)
Use the build modifier to see it sort.

------------------------------------------------------------------------
r10158 | campbellbarton | 2007-02-27 11:27:12 +0100 (Tue, 27 Feb 2007) | 2 lines

fix for own error, mixed decloration.

------------------------------------------------------------------------
r10157 | campbellbarton | 2007-02-27 11:23:24 +0100 (Tue, 27 Feb 2007) | 2 lines

added id_attributes.py, this containes ID doc strings, all datablocks that have use ID props import this docstring.

------------------------------------------------------------------------
r10156 | campbellbarton | 2007-02-27 07:39:48 +0100 (Tue, 27 Feb 2007) | 3 lines

x3d_export.py - fix for bug 6120
Sound.c - moved to getseters

------------------------------------------------------------------------
r10155 | nicholasbishop | 2007-02-27 07:22:41 +0100 (Tue, 27 Feb 2007) | 4 lines

== Sculpt Mode ==

Removed special Sculpt Mode undo code. Sculpt Mode undo is no longer so useful, since in order to make it more correct it has gotten slower, so normal BIF_undo_push is used now. Fixes bug with Shape Keys, sculpting on a shape key wasn't doing undo properly.

------------------------------------------------------------------------
r10154 | aligorith | 2007-02-27 05:35:05 +0100 (Tue, 27 Feb 2007) | 3 lines

Code Cleanups for Constraints
* Removed some code which really wasn't needed

------------------------------------------------------------------------
r10153 | campbellbarton | 2007-02-27 05:28:15 +0100 (Tue, 27 Feb 2007) | 2 lines

moved Lattice to getseters. gen_utils.c - removed unused code fixed a warning.

------------------------------------------------------------------------
r10152 | nicholasbishop | 2007-02-26 22:28:46 +0100 (Mon, 26 Feb 2007) | 4 lines

== Sculpt Mode ==

Followup to joeedh's commit, removed use of RenderInfo struct from Sculpt Mode.

------------------------------------------------------------------------
r10151 | stiv | 2007-02-26 21:50:50 +0100 (Mon, 26 Feb 2007) | 6 lines

add some comments about libalut and a BF_OPENAL_LIB line
to uncomment if necessary.

libalut is becoming problematic.  some distros have it, some do not.
At least one considers it deprecated, iirc.

------------------------------------------------------------------------
r10150 | joeedh | 2007-02-26 21:36:03 +0100 (Mon, 26 Feb 2007) | 10 lines

=NKey Panel Fix=

The weightgroup menu in the NKEY panel in 
the 3D viewport was using a two-small string variable,
which could cause crashes on msvc compilers (which detects
stack mangling at runtime, nice!).

This should fix bug #6097, though it's hard for me to test
as my default compiler (gcc) is much more lenient :S

------------------------------------------------------------------------
r10149 | ton | 2007-02-26 20:58:20 +0100 (Mon, 26 Feb 2007) | 4 lines

Bugfix #6115

Render crash: "Stars" render didn't survive scenes without a camera.

------------------------------------------------------------------------
r10148 | joeedh | 2007-02-26 20:34:38 +0100 (Mon, 26 Feb 2007) | 5 lines

=Armature Undo Fix=

I forgot a few hide functions that needed undo pushes, and misnamed
an undo push in one of them.

------------------------------------------------------------------------
r10147 | theeth | 2007-02-26 18:24:22 +0100 (Mon, 26 Feb 2007) | 6 lines

=== Edit Mesh Bevel ===

[ #6110 ] bevel tool contains a bug

Fix: Added missing initgrabz

------------------------------------------------------------------------
r10146 | campbellbarton | 2007-02-26 03:24:04 +0100 (Mon, 26 Feb 2007) | 7 lines

console.py
* improved autocompleation
* faster dictionary usage

Types.c
* type(scene.getTimeLine()) # old bug, will crash blender

------------------------------------------------------------------------
r10145 | blendix | 2007-02-25 22:57:45 +0100 (Sun, 25 Feb 2007) | 5 lines


Bugfix:
Mesh extruding in vertex mode did not copy face data correct, leading
to garbage UV data.

------------------------------------------------------------------------
r10144 | campbellbarton | 2007-02-25 18:38:22 +0100 (Sun, 25 Feb 2007) | 8 lines

World.c
* moved to getseters with id attribs
* added 2x missing checks for list size when parsing args.

Text3d.c
* use getseters with id attribs
* added a comparison function

------------------------------------------------------------------------
r10143 | theeth | 2007-02-25 17:22:19 +0100 (Sun, 25 Feb 2007) | 4 lines

=== Transform Snap ===

adding GL_DEPTH_TEST disable and enable to make sure snapping circle is drawn on top.

------------------------------------------------------------------------
r10142 | elubie | 2007-02-25 16:49:22 +0100 (Sun, 25 Feb 2007) | 3 lines

==== MSVC project files ====
- maintenance: added python Main.c

------------------------------------------------------------------------
r10141 | campbellbarton | 2007-02-25 13:41:50 +0100 (Sun, 25 Feb 2007) | 17 lines


Image.c
* moved to getseters (use new generic ID funcs)
* added 'reflect' attribute

Text.c
* moved to getseters (new generic ID funcs too)

NLA.c
* moved to getseters (ditto)

Ipo.c
* bugfix, allow nested loops on an IPO's curves.

Blender.c
* removed undocumented function RemoveFakeuser, since actions now have the fakeUser attribute.

------------------------------------------------------------------------
r10140 | campbellbarton | 2007-02-25 10:01:08 +0100 (Sun, 25 Feb 2007) | 2 lines

fix for own error in last commit, with Material.Get(name)

------------------------------------------------------------------------
r10139 | campbellbarton | 2007-02-25 08:36:50 +0100 (Sun, 25 Feb 2007) | 5 lines


made attributes (name, property, users, fakeUser, lib) into functions all python types can use.
removed a lot of code duplication when moving to this.
Also removed unused functions GetMaterialByName(), same for Mesh, Object, World etc.

------------------------------------------------------------------------
r10138 | campbellbarton | 2007-02-25 03:02:53 +0100 (Sun, 25 Feb 2007) | 2 lines

comments in these files made gcc choke, removed

------------------------------------------------------------------------
r10137 | stiv | 2007-02-25 02:41:14 +0100 (Sun, 25 Feb 2007) | 2 lines

print out the subversion of the Python version string.  ex 2.4.2

------------------------------------------------------------------------
r10136 | campbellbarton | 2007-02-25 02:07:28 +0100 (Sun, 25 Feb 2007) | 24 lines


Scene
* Moved to getsetattrs
* added scene.users (get)
* added scene.fakeUser (get/set)
* added scene.world (get/set)
* added scene.timeline (get)
* added scene.render (get)
* added scene.radiosity (get)
* added scene.objects.camera (get/set)

Group
* added properties

gen_utils
* made getScriptLinks work as documented, return an empty list rather then None.

header files, noted libdata after PyObject as a requirement.

Others,
* Deprecate prints for older functionality

EpyDocs still need updating.

------------------------------------------------------------------------
r10135 | blendix | 2007-02-23 21:34:27 +0100 (Fri, 23 Feb 2007) | 5 lines


Fix for bug #6099:
Crash deleting last vertex group in lattice. This code wasn't updated
to work for lattice vertex groups yet.

------------------------------------------------------------------------
r10134 | blendix | 2007-02-23 21:06:17 +0100 (Fri, 23 Feb 2007) | 6 lines


Bug #6093:
Spin tool now uses the 'clockwise' setting again. This was disabled
because degrees accepts negative values, but it seems to cause confusion,
and there's no reason both buttons can't work at the same time.

------------------------------------------------------------------------
r10133 | ton | 2007-02-23 16:06:27 +0100 (Fri, 23 Feb 2007) | 5 lines

Render passes:

Feature fix for ObjectIndex, now frontmost visible transparent face also
writes an index.

------------------------------------------------------------------------
r10132 | campbellbarton | 2007-02-23 15:51:20 +0100 (Fri, 23 Feb 2007) | 6 lines

BPython API
* Added data.lib attributes to almost all data types, (except for Text3d and NLA)
  This is None or the path of the library as a string.
* Main was giving a warning, Include Curve.h rather then CurNurb.h
* Added Library.LinkedLibs(), returns a list of externaly linked libs.

------------------------------------------------------------------------
r10131 | ton | 2007-02-23 14:12:28 +0100 (Fri, 23 Feb 2007) | 6 lines

Plumiferos report:

Bad bad bug in Vector Blur: when using Ztransp in a RenderLayer,  the speed
vectors of moving solid faces were all cleared. Bug since january 21st... is
this the 2.43a case? Dunno... :)

------------------------------------------------------------------------
r10130 | nicholasbishop | 2007-02-23 07:02:46 +0100 (Fri, 23 Feb 2007) | 6 lines

== Multires ==

Fixed bug #6056, Brush Grab in SculptMode don't works for ShapeKeys

* Grab Brush stores active vertices differently from other brushes, need to read from a different List when updating shape keys.

------------------------------------------------------------------------
r10129 | aligorith | 2007-02-23 05:44:52 +0100 (Fri, 23 Feb 2007) | 5 lines

Bugfix #6089:

"Forward/backward 10 frames" option in Timeline menu now respects
steps (spacing between frames to jump) value.

------------------------------------------------------------------------
r10128 | ianwill | 2007-02-22 21:19:58 +0100 (Thu, 22 Feb 2007) | 5 lines

Scripts:
- Updated ac3d exporter to use first material found in the mesh for loose edges (lines) color. Inspired by bug report from Stewart Andreason. Also made a few updates to very old parts of the code, got rid of two "try/except".

- Updated ac3d importer to be even more forgiving to bad data. Also added option to turn transparency on in the 3D View for models using materials with alpha < 1.0. Added optional support for ac3d's subdiv tag, works by adding a subsurf modifier to the imported model(s) that have this tag, so they appear as intended.

------------------------------------------------------------------------
r10127 | nicholasbishop | 2007-02-22 20:34:38 +0100 (Thu, 22 Feb 2007) | 6 lines

== Multires ==

Fixed bug #6046, updating edge data after applying multires

* Changing the Edge level in the Multires panel should update the edge render flag as well as the draw flag

------------------------------------------------------------------------
r10126 | nicholasbishop | 2007-02-22 19:49:00 +0100 (Thu, 22 Feb 2007) | 4 lines

== Sculpt Mode ==

* Replaced get_tex_angle() with tex_angle() and set_tex_angle(). This removes the need to do a bunch of error-prone NULL checking everywhere the texture angle is used.

------------------------------------------------------------------------
r10125 | ton | 2007-02-22 17:00:20 +0100 (Thu, 22 Feb 2007) | 5 lines

Bugfix:

UV Image window: option "Add new" did not properly set 'image user',
causing image to not draw and not assign to meshes.

------------------------------------------------------------------------
r10124 | campbellbarton | 2007-02-22 16:48:26 +0100 (Thu, 22 Feb 2007) | 2 lines

Updating own scripts to use Blender.Main, remove Base files.

------------------------------------------------------------------------
r10123 | campbellbarton | 2007-02-22 16:26:35 +0100 (Thu, 22 Feb 2007) | 2 lines

renamed Base to Main

------------------------------------------------------------------------
r10122 | campbellbarton | 2007-02-22 15:37:30 +0100 (Thu, 22 Feb 2007) | 11 lines


Adding a new way of dealing with library data in blender, Blender.Base
Has a number of advantages over the existing method, described here.
http://wiki.blender.org/index.php/User:Ideasman42#Post_2.43_Update_to_the_Python_API

Only missing functionality is the ability to add new data through Base.scenes.new('name'), where scenes could be meshes, texts etc.

Other changes are minor,
Scene.h, bad var name in definition.
Text.c/h - moved the Python Struct into the header file, added BPy_Text_Check()

------------------------------------------------------------------------
r10121 | broken | 2007-02-22 12:58:07 +0100 (Thu, 22 Feb 2007) | 5 lines

* Added the sculpt mode Ctrl/Shift/F interactive
brush scaling/strengthening/etc tools/hotkeys to
the Sculpt menu. Also made a couple of other small
changes for easier text scan reading.

------------------------------------------------------------------------
r10120 | stiv | 2007-02-22 11:46:02 +0100 (Thu, 22 Feb 2007) | 3 lines

Doh! prototype for Armature_CreatePyObject() was already added.
I plead incompetence.  more coffee, please.

------------------------------------------------------------------------
r10119 | stiv | 2007-02-22 11:20:27 +0100 (Thu, 22 Feb 2007) | 4 lines

broken build!
FILE_MAX undefied in util.c
implicit method def Armature_CreatePyObject() in Armature.

------------------------------------------------------------------------
r10118 | aligorith | 2007-02-22 11:00:47 +0100 (Thu, 22 Feb 2007) | 6 lines

Compiling bugfix:

Campbell's change from yesterday (renaming PyArmature_FromArmature
to Armature_CreatePyObject) broke compiling here - was missing change to
this file.

------------------------------------------------------------------------
r10117 | campbellbarton | 2007-02-22 00:14:01 +0100 (Thu, 22 Feb 2007) | 2 lines

renamed posebone.ik to hasIK, removed unused code, made the function name of Armatue's py object from Blender object consistant with others.

------------------------------------------------------------------------
r10116 | elubie | 2007-02-21 21:00:03 +0100 (Wed, 21 Feb 2007) | 5 lines

=== bugfix ===
- path without volume name still caused error when used as name for relative base
- could happen with name in .Blog file saved by older blender version
- fix for [ #6065 ] Blender refuses to save any renders

------------------------------------------------------------------------
r10115 | harkyman | 2007-02-21 17:48:36 +0100 (Wed, 21 Feb 2007) | 9 lines

When looking into code for centering the Ipo view on the current frame,
it turned out it was already in there (center_currframe), and already
had an event entry in the View menu. It only lacked an actual menu entry.

Added the menu entry, along with hotkey Shift-C. Consistency with other
window types would indicate it should be C-key, but that is already taken
by what's probably an obscure curve edit mode function. With event refactor
in the future, I'm loathe to start changing hotkeys ;)

------------------------------------------------------------------------
r10114 | campbellbarton | 2007-02-21 14:00:12 +0100 (Wed, 21 Feb 2007) | 2 lines

text.makeCurrent() works now, it depends on the script menu type, so will only work from some menu's.

------------------------------------------------------------------------
r10113 | campbellbarton | 2007-02-21 12:17:17 +0100 (Wed, 21 Feb 2007) | 6 lines

adding menu slot Armature
adding menu slot ScriptTemplate
new script scripttemplate_mesh_edit is a template for an editmesh script.

The function Text makeCurrent() is a dummy until I can get it working when the script runs from a menu.

------------------------------------------------------------------------
r10112 | campbellbarton | 2007-02-21 00:23:54 +0100 (Wed, 21 Feb 2007) | 8 lines

* added MTex uvlayer string attribute

* added Pose attribute "ik" True/False depending on the pose bones IK.
  limitX/Y/Z bool's
  lockX/Y/ZRot bool's
  stiffX/Y/Z floats
  stretch (ikstretch) float

------------------------------------------------------------------------
r10111 | campbellbarton | 2007-02-20 10:23:13 +0100 (Tue, 20 Feb 2007) | 2 lines

Object parentType could never match Object.ParentTypes.LATTICE, Id incorrectly assigned the lattice constant. Armature and Lattice parent types are the same. documented this.

------------------------------------------------------------------------
r10110 | sirdude | 2007-02-19 22:46:57 +0100 (Mon, 19 Feb 2007) | 9 lines



Patch provided by Carsten,

KX_RaySensor::Evaluate returns false when hit was detected and it was
already marked as hit.  (no change in state)

Kent

------------------------------------------------------------------------
r10109 | schlaile | 2007-02-19 22:35:32 +0100 (Mon, 19 Feb 2007) | 5 lines

== Sequencer ==

Bugfix: fixed missing plugin init on file load with open 'N'-key
  dialog reported by paprmh.

------------------------------------------------------------------------
r10108 | blendix | 2007-02-19 17:25:44 +0100 (Mon, 19 Feb 2007) | 5 lines


Fix for a potential crasher bug in the textured brush code, as found
by Andrea (thanks!). This code is known to run OK in the release builds
though, so not that big a deal.

------------------------------------------------------------------------
r10107 | campbellbarton | 2007-02-19 11:54:33 +0100 (Mon, 19 Feb 2007) | 3 lines

uvcalc_lightmap, UVCalc menu, usefull for using the most texture area when baking lightmaps
object_sel2dupgroup, creates a dupliGroup from a set of selected objects, using the active as the transformation for the dupli-ob. The advantage of using thus script is that objects have this transformation removed.

------------------------------------------------------------------------
r10106 | h_xnan | 2007-02-18 22:03:23 +0100 (Sun, 18 Feb 2007) | 14 lines

Finally commit a workaround for the Python>2.3 and FreeBSD>5.0 problem.

See http://projects.blender.org/pipermail/bf-committers/2005-April/010506.html
and projects.blender.org/pipermail/bf-committers/2006-December/017035.html

A workaround was proposed by Kester Maddock
http://projects.blender.org/pipermail/bf-committers/2005-April/010510.html
and recently again, independently by Andreas Kasparz (no URL, private email)

See also http://svn.python.org/projects/python/tags/r24c1/Include/pyport.h,
starting line 430 : "On 4.4BSD-descendants, ctype functions serves the
whole range of wchar_t character set rather than single byte code points
only. This characteristic can break some operations of string object..."

------------------------------------------------------------------------
r10105 | jbinto | 2007-02-18 16:01:07 +0100 (Sun, 18 Feb 2007) | 2 lines

CMake: Think this is the reason linking python statically causes problems on some platforms (linking order)

------------------------------------------------------------------------
r10103 | ton | 2007-02-16 00:22:11 +0100 (Fri, 16 Feb 2007) | 4 lines

The release text file.
This is a simple text pointing to the website itself, new URLs are not
known yet.

------------------------------------------------------------------------
r10102 | hos | 2007-02-15 23:43:08 +0100 (Thu, 15 Feb 2007) | 2 lines

Script removed by the request of the author

------------------------------------------------------------------------
r10101 | ton | 2007-02-15 22:32:30 +0100 (Thu, 15 Feb 2007) | 2 lines

Part 2 of 2.43 release commit

------------------------------------------------------------------------
r10100 | ton | 2007-02-15 22:31:57 +0100 (Thu, 15 Feb 2007) | 2 lines

Part one of 2.43 release commit!

------------------------------------------------------------------------
r10099 | ton | 2007-02-15 21:32:08 +0100 (Thu, 15 Feb 2007) | 8 lines

Bugfix #6053

When in sculptmode, enter editmode, add faces or vertices, exit editmode,
then undos/redos screw up mesh.

Now the stack for sculpt is freed. Later on one could precisely test why
this undo isn't resistant to such changes.

------------------------------------------------------------------------
r10098 | aphex | 2007-02-15 18:00:22 +0100 (Thu, 15 Feb 2007) | 9 lines

Added windows NSIS installer script to scons.  Not pretty, but it works :)

To use:

Make sure NSIS is in your %PATH% and type 'scons nsis'

It doesn't currently compile blender first, so make sure you do a
normal 'scons' before this.

------------------------------------------------------------------------
r10097 | campbellbarton | 2007-02-15 13:23:26 +0100 (Thu, 15 Feb 2007) | 2 lines

added a reference to the original scripts location to comply with the GPL.

------------------------------------------------------------------------
r10096 | campbellbarton | 2007-02-15 13:13:13 +0100 (Thu, 15 Feb 2007) | 5 lines

* renamed to 'Consolidate into one image' and improved tooltips
* check for the faces TEX mode as well as the image
* use Scene.objects
* use 2 threads for rendering

------------------------------------------------------------------------
r10095 | broken | 2007-02-15 13:01:41 +0100 (Thu, 15 Feb 2007) | 3 lines

Simple Fix: Compo AlphaOver Fac socket and Texture node sockets
accepted more than 1 input.

------------------------------------------------------------------------
r10094 | ton | 2007-02-15 12:26:19 +0100 (Thu, 15 Feb 2007) | 5 lines

Bugfix #6049

Calling a pop_space_text(st) crashed in Python code that was drawing areas.
Why this was there? No idea... remainder of NaN days. Ugly, bad, go away!

------------------------------------------------------------------------
r10092 | ton | 2007-02-15 11:46:10 +0100 (Thu, 15 Feb 2007) | 5 lines

Bugfix (via email)

Bake crashed when baking to float images. Caused by an Imbuf call not
handling float imbufs well.

------------------------------------------------------------------------
r10091 | stiv | 2007-02-15 02:08:23 +0100 (Thu, 15 Feb 2007) | 2 lines

some minor spelling and word usage corrections.

------------------------------------------------------------------------
r10090 | campbellbarton | 2007-02-15 01:57:58 +0100 (Thu, 15 Feb 2007) | 2 lines

Added text noting this is a modified work, to comply with the GPL.

------------------------------------------------------------------------
r10089 | campbellbarton | 2007-02-15 01:00:59 +0100 (Thu, 15 Feb 2007) | 4 lines

re-enabled printing text to the console (since its optional)

Also added some descriptive text to the option and renamed "display time" to "Display Update" - since it also redraws in the 3d view.

------------------------------------------------------------------------
r10088 | campbellbarton | 2007-02-14 22:08:58 +0100 (Wed, 14 Feb 2007) | 5 lines

Commiting JMS's Latest KMZ minor changes.
* Redraw the 3d view only when importing. (Not all windows)
* Select all verts at once rather then 1 by 1.
* dont print polygons when importing. (Would be better to use the progress bar for this)

------------------------------------------------------------------------
r10087 | ton | 2007-02-14 21:53:35 +0100 (Wed, 14 Feb 2007) | 4 lines

bugfix #6047

Provided by Juho: proper softbody panel button refreshes.

------------------------------------------------------------------------
r10086 | elubie | 2007-02-14 20:40:17 +0100 (Wed, 14 Feb 2007) | 4 lines

=== bugfix ===
- possible fix for crash mentioned in [ #5781 ] Sculpt Brush Tool not working correctly
- workaround for possible compiler glitch with floating point conversion.

------------------------------------------------------------------------
r10085 | khughes | 2007-02-14 18:40:31 +0100 (Wed, 14 Feb 2007) | 7 lines



Python API
----------
Bugfix for problem reported with ac3d importer; Object_getData() wasn't
setting the real object type before calling EXPP_add_obdata().

------------------------------------------------------------------------
r10084 | ton | 2007-02-14 15:53:37 +0100 (Wed, 14 Feb 2007) | 4 lines

Bugfix #6038

Viewplane shift X,Y added to Ikey menu in camera buttons.

------------------------------------------------------------------------
r10083 | ton | 2007-02-14 15:42:48 +0100 (Wed, 14 Feb 2007) | 4 lines

Bugfix #6042

Shadeless material did not show correct in Shade View3D (Shift+z).

------------------------------------------------------------------------
r10082 | ton | 2007-02-14 15:36:39 +0100 (Wed, 14 Feb 2007) | 6 lines

Bugfix #6044

OnlyShadow material: was giving shadow on backfacing faces... should not.
Do note that on boundary cases ("terminator") this isn't well defined.
This feature was meant for simple flat shadow planes, comprende?! :)

------------------------------------------------------------------------
r10081 | ton | 2007-02-14 14:52:30 +0100 (Wed, 14 Feb 2007) | 4 lines

Bugfix, email report.

Copying texture space from Mesh to Curve crashed. Bad code. cleaned up.

------------------------------------------------------------------------
r10080 | ton | 2007-02-14 13:31:00 +0100 (Wed, 14 Feb 2007) | 5 lines

Sculptmode fix:

Texture brushes were writing outside of array boundary. Might be the bad
one as reported for windows...

------------------------------------------------------------------------
r10079 | ton | 2007-02-14 12:00:05 +0100 (Wed, 14 Feb 2007) | 7 lines

Regression test fixes:

- New Softbody panel now is named "Soft Body Collision" (instead of II)
  Also made it start tabbed, and made Fluids panel start untabbed.

- Infowindow: skip drawing buttons when width is smaller than 320 pixels.

------------------------------------------------------------------------
r10078 | campbellbarton | 2007-02-14 02:03:32 +0100 (Wed, 14 Feb 2007) | 4 lines

Added GPL Headers to some of my scipts that were missing it. also changed the header of a few others.

Only code change is cookie cut from View now only uses 3d curves to cut.

------------------------------------------------------------------------
r10077 | campbellbarton | 2007-02-13 19:34:31 +0100 (Tue, 13 Feb 2007) | 2 lines

removing this script- has been added back with correct spelling.

------------------------------------------------------------------------
r10076 | ianwill | 2007-02-13 18:37:32 +0100 (Tue, 13 Feb 2007) | 5 lines

Scripts:
- A few imported .ac models had wrong uv's, as reported by Melchior Franz (thanks). Well known reason: the vertex indices order in new faces is rearranged if the 3rd or 4th vindex is equal to 0, because of how Blender checks for tris/quads.

Fixing with that old trick of adding a vertex at index 0 in mesh.verts, adding 1 to each face vertex index, then removing the extra vertex after the model has been imported.

------------------------------------------------------------------------
r10075 | sirdude | 2007-02-13 16:50:28 +0100 (Tue, 13 Feb 2007) | 22 lines



This fixes a bug in the mplayer bug tracker ;)
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=642

Help provided by Reimar Doeffing.

It removes two special cases which were creating empty huffman tables.
So videos would play all black in players that were working correctly
and looking at the tables if they exist.

I also deleted commented out malloc statements that seem to be working
just fine(they were replaced with MEM_mallocN statements).
If people need them they can just look at cvs to see how they were done before.

I also removed an empty else statement.

(This fix does not fix the black bar in the sequencer with blender made avi's but
I hope to have a fix for that later today)

Kent

------------------------------------------------------------------------
r10074 | ianwill | 2007-02-12 18:24:09 +0100 (Mon, 12 Feb 2007) | 3 lines

Scripts:
- Minor updates to the ac3d importer to support bad files (with more data than reported, this time) and properly handle texture paths with win separators ('\')  and spaces. Again, thanks Melchior Franz for testing and reporting.

------------------------------------------------------------------------
r10073 | ton | 2007-02-12 14:16:30 +0100 (Mon, 12 Feb 2007) | 6 lines

Horrible raytrace bug!

Flipping the facenormal into direction of ray accidentally did not work
anymore, the normal was initialized again in nice new code. This made
objects in mirror appear shaded wrongly.

------------------------------------------------------------------------
r10072 | nicholasbishop | 2007-02-11 22:47:33 +0100 (Sun, 11 Feb 2007) | 6 lines

== Multires ==

Fixed bug #5990, Adding 5 levels of Multires crashes blender 2.43rc3

* Caused by old values in hashedgetab hanging around after all the edges were deleted. Fixed by just calling free_editMesh before building an editmesh from multires.

------------------------------------------------------------------------
r10071 | halley | 2007-02-11 15:59:01 +0100 (Sun, 11 Feb 2007) | 3 lines

Incorrect default value for new materials' transmissivity.  Default value
should match "classic" non-transmissivity materials.

------------------------------------------------------------------------
r10070 | aligorith | 2007-02-11 05:02:17 +0100 (Sun, 11 Feb 2007) | 2 lines

Tiny cleanups of marker drawing code. Shouldn't cause any problems.

------------------------------------------------------------------------
r10069 | campbellbarton | 2007-02-11 03:21:26 +0100 (Sun, 11 Feb 2007) | 2 lines

Made multires and shape keys throw errors when adding if the other existed (so both can never coexist) documented this too.

------------------------------------------------------------------------
r10068 | blendix | 2007-02-11 01:13:07 +0100 (Sun, 11 Feb 2007) | 5 lines


Addition to last bugfix:
Give the correct error message on saving instead of simply defaulting
to "not enough diskspace".

------------------------------------------------------------------------
r10067 | blendix | 2007-02-11 00:47:31 +0100 (Sun, 11 Feb 2007) | 15 lines


Fix for bug #5910:
Saving in sculpt mode with partial visibility would give "not enough
diskspace" errors. That wasn't the error at all though, but blender
gives this diskspace error message on any error (this is for another
commit to fix though).

The cause of the error was that with partial visibility it saved the
MEdge and MFace arrays as if they had the full length, which is not
the case, so it was reading past the end of the array. I added an
exception for these.

Also removed the oldstyle tface saving, this was only there to provide
temporary upward compatibility until release.

------------------------------------------------------------------------
r10066 | joeedh | 2007-02-10 20:32:12 +0100 (Sat, 10 Feb 2007) | 5 lines

=Armature Undo Fix=

I forgot a few hide functions that needed undo pushes, and misnamed
an undo push in one of them.

------------------------------------------------------------------------
r10065 | joeedh | 2007-02-10 20:07:47 +0100 (Sat, 10 Feb 2007) | 9 lines

=Armature Undo Fix=

Armature undo was incomplete; no less then 6 places needed undo pushes.
Added undo pushes, and made sure deselectall_armature/posearmature played nice
and only did undo pushes when they're called with AKEY.

This seems like a fairly old issue.  I guess people just didn't notice it enough
to file a bug report. :)

------------------------------------------------------------------------
r10064 | blendix | 2007-02-10 17:59:20 +0100 (Sat, 10 Feb 2007) | 6 lines


Fix for bug #5980:
Baked textures not updating in the 3D view. This bug was a side
effect of the image not being marked as loaded after changing
parameters (uv test grid, size) of a generated type image.

------------------------------------------------------------------------
r10063 | ianwill | 2007-02-10 16:11:11 +0100 (Sat, 10 Feb 2007) | 8 lines

Scripts:
- Fixing bug #5950 reported by Stewart Andreason (thanks):
http://projects.blender.org/tracker/?func=detail&atid=125&aid=5950&group_id=9

Importing .ac models created Blender objects with user count equal to 2, instead of 1 (so they couldn't be deleted in Blender), because the script kept a second reference to each created Blender object and so Python didn't deallocate things properly at the end of the script.

Now these extra references are deleted in the script, preventing the problem. But this is surely something to fix in the API itself.

------------------------------------------------------------------------
r10062 | blendix | 2007-02-10 15:38:50 +0100 (Sat, 10 Feb 2007) | 5 lines


Fix for bug #5975:
Clear location and rotation confirmation dialogs were shown in edit mode
but did nothing. These should be disabled in edit mode.

------------------------------------------------------------------------
r10061 | blendix | 2007-02-10 15:23:32 +0100 (Sat, 10 Feb 2007) | 5 lines


Fix for bug #5976:
Object separated from mesh in edit mode did not draw in the correct
green wire color when part of a group.

------------------------------------------------------------------------
r10060 | blendix | 2007-02-09 22:46:08 +0100 (Fri, 09 Feb 2007) | 4 lines


Fix for bug #5891:
Knife cut didn't always subdivide UVs properly with degenerate triangles.

------------------------------------------------------------------------
r10059 | elubie | 2007-02-09 19:27:20 +0100 (Fri, 09 Feb 2007) | 5 lines

==== bugfix ====
- fix for #5955
- fixing too short pathnames causing memory overwriting when
  starting blender from a path with a very long name.

------------------------------------------------------------------------
r10058 | ton | 2007-02-09 16:09:55 +0100 (Fri, 09 Feb 2007) | 7 lines

Bugfix:

Sculpt Multires render: the Orco table should be made based on 'render'
level, not on '3d view' level. Now, how this could have worked even...

Nick, could you check?

------------------------------------------------------------------------
r10057 | blendix | 2007-02-09 16:08:53 +0100 (Fri, 09 Feb 2007) | 4 lines


Bugfix: texture paint brushes didn't work correct with multiple
texture channels.

------------------------------------------------------------------------
r10056 | scourage | 2007-02-09 15:19:14 +0100 (Fri, 09 Feb 2007) | 2 lines

Fixed extra tab at beginning.  Don't know how that got there.

------------------------------------------------------------------------
r10055 | ton | 2007-02-09 15:05:12 +0100 (Fri, 09 Feb 2007) | 5 lines

Bugfix #5969

Sculpt: option "Partial Draw" was hanging, causing wrong mesh drawing
outside of sculptmode (and no visible faceselect etc).

------------------------------------------------------------------------
r10054 | ton | 2007-02-09 14:06:43 +0100 (Fri, 09 Feb 2007) | 5 lines

Bugfix #5971

Crash in retopo paint, caused by missing NULL test.
Fix provided by reporter, thanks Stephan Kassemeyer!

------------------------------------------------------------------------
r10053 | ton | 2007-02-09 14:02:10 +0100 (Fri, 09 Feb 2007) | 7 lines

Bugfix #5866

Report showed a Mesh that crashed on entering editmode and use some tools.
Appeared to be a mesh index 4 equal to one of the other indices (which
makes a corrupted quad). Fix is a sanity check in addfacelist() for enter
editmode.

------------------------------------------------------------------------
r10052 | ton | 2007-02-09 13:26:25 +0100 (Fri, 09 Feb 2007) | 5 lines

Bugfix #5909

UV Image editor: the Nkey panel did now show the buttons for UV values
anymore (was moved to "game properties", incorrect).

------------------------------------------------------------------------
r10051 | ton | 2007-02-09 12:47:51 +0100 (Fri, 09 Feb 2007) | 11 lines

Bugfix #5959

Save .blend file: when setting option "Relative Paths", blender tried to
save in the root directory.
Saving .blend files is always with a real path, do the relative option
should be skipped.

Also removed the totally annoying error popup when trying to save something
before you saved a .blend. That warning was almost never correct. I left
in this warning for loading files btw.

------------------------------------------------------------------------
r10050 | ton | 2007-02-09 11:35:04 +0100 (Fri, 09 Feb 2007) | 5 lines

Bugfix #5962

New Image texture option for "Repeat Mirror" didnt work when the texture
"Map input" had a translation.

------------------------------------------------------------------------
r10049 | ton | 2007-02-09 10:38:30 +0100 (Fri, 09 Feb 2007) | 5 lines

Bugfix #5941

When making an area fullscreen, the 3d preview render should be reset.
This already worked correct in 2.42, but stopped working after bugfixes!

------------------------------------------------------------------------
r10048 | aligorith | 2007-02-09 10:28:19 +0100 (Fri, 09 Feb 2007) | 5 lines

Action Editor Bugfix:

Right-clicking in either the horizontal/vertical scrollbars now works
correctly again. What damage 1 little number can do ;-)

------------------------------------------------------------------------
r10047 | ton | 2007-02-09 10:23:50 +0100 (Fri, 09 Feb 2007) | 5 lines

Bugfix #5949

Ambient Occlusion: with option "Sky color" a material "Only Shadow" did not
render correct; it should use in that case AO type "Plain".

------------------------------------------------------------------------
r10046 | elubie | 2007-02-08 23:43:32 +0100 (Thu, 08 Feb 2007) | 3 lines

==== icon themes ====
fix for potential issue with very long pathnames to the blender executable

------------------------------------------------------------------------
r10045 | scourage | 2007-02-08 20:16:43 +0100 (Thu, 08 Feb 2007) | 3 lines


Fixed missing '#' and tab errors

------------------------------------------------------------------------
r10044 | letterrip | 2007-02-08 20:11:04 +0100 (Thu, 08 Feb 2007) | 4 lines

= translation =

Bulgarian translation contributed by Victor Dachev

------------------------------------------------------------------------
r10043 | stiv | 2007-02-08 02:03:21 +0100 (Thu, 08 Feb 2007) | 3 lines

added a comment char in front of a comment to fix a syntax error.
added a newline at end of file.

------------------------------------------------------------------------
r10042 | campbellbarton | 2007-02-08 01:27:01 +0100 (Thu, 08 Feb 2007) | 8 lines

* own error, importer would never load images.
* moved from NMesh to Mesh
* added more error checking.
* tested with 1660 lightwave models
* faster dictionary usage.

BPyImage - disallowed recursive searching of '/' or a windows drive letter.

------------------------------------------------------------------------
r10041 | scourage | 2007-02-08 00:43:08 +0100 (Thu, 08 Feb 2007) | 3 lines


chagned tanf to tan because of guidance received on IRC.

------------------------------------------------------------------------
r10040 | theeth | 2007-02-08 00:30:22 +0100 (Thu, 08 Feb 2007) | 4 lines

=== Scons ===

Revert scons config change commited by error in my last commit.

------------------------------------------------------------------------
r10039 | theeth | 2007-02-08 00:28:33 +0100 (Thu, 08 Feb 2007) | 6 lines

=== Transform ===

[ #5833 ] 2.43 RC2: Incorrect Bone rotation when 3D cursor set as Pivot

There's really ugly stuff going on with pose mode rotation in transform which I'll have to fix later, in the mean time, this commit fixes the problem (which happens when you rotate bones in post mode around an arbitrary point) and includes some juicy comments to further document the actual architectural problem.

------------------------------------------------------------------------
r10038 | scourage | 2007-02-07 19:47:48 +0100 (Wed, 07 Feb 2007) | 3 lines


Fixed accidental commit from yesterday.

------------------------------------------------------------------------
r10037 | scourage | 2007-02-07 19:26:21 +0100 (Wed, 07 Feb 2007) | 3 lines


Uncommit of previous working copy.

------------------------------------------------------------------------
r10036 | scourage | 2007-02-07 19:24:51 +0100 (Wed, 07 Feb 2007) | 3 lines


Fixed chroma key to use tanf instead of tan (float vs double).  Fixed input/output checking to prevent running the node if nothing is connected.  Drawnode.c in error.  will fix in a second.

------------------------------------------------------------------------
r10035 | ton | 2007-02-07 12:25:56 +0100 (Wed, 07 Feb 2007) | 7 lines

The Object restriction flag 'do not allow select' was only handled in the
end of the selection code. That gave bad errors, especially in solid
drawmode.

Instead, when an object is not selectable it is excluded from the opengl
selection code entirely now.

------------------------------------------------------------------------
r10034 | blendix | 2007-02-07 11:56:44 +0100 (Wed, 07 Feb 2007) | 4 lines


Bugfix for reading DXF files, custom data layer wasn't always
added properly.

------------------------------------------------------------------------
r10033 | ton | 2007-02-07 10:17:57 +0100 (Wed, 07 Feb 2007) | 9 lines

Upward compatibility fix:

Redundant variables for postprocess gamma, multiply etc were removed.
Unfortunately that makes new saved .blend files initialize these vars
to 0.0, so renders come out black entirely.

Lets keep them in for at least 1 release cycle. Just 16 bytes per
scene :)

------------------------------------------------------------------------
r10032 | campbellbarton | 2007-02-07 08:43:10 +0100 (Wed, 07 Feb 2007) | 3 lines

animation_trajectory - was printing deprecation warnings. cleaned up some of its code too.
Mesh - removing UV or Color layers didnt check if the active object was in vpaint of uv mode, removing the last layer could crash blender - now switch to object mode if its the last layer like the UI.

------------------------------------------------------------------------
r10031 | scourage | 2007-02-07 04:40:59 +0100 (Wed, 07 Feb 2007) | 5 lines


When converting a VAL buffer to RGBA the alpha is also set to the value in the VAL buffer.  This should be set to 1.0f as in the other conversions or it results in an unevenly transparent buffer. Corrected to result in an opaque buffer.

BKE_node.h commit is in error, but harmless (oops).

------------------------------------------------------------------------
r10030 | aligorith | 2007-02-06 23:43:54 +0100 (Tue, 06 Feb 2007) | 7 lines

== Action Editor ==

Added a few checks here and there to prevent crashes related to
no action being active.

This includes patch 5933 by Diego Borghetti (Plumiferos TD).

------------------------------------------------------------------------
r10029 | letterrip | 2007-02-06 20:52:06 +0100 (Tue, 06 Feb 2007) | 4 lines

= translation =

updated ukranian translation contributed by Serhij Dubyk

------------------------------------------------------------------------
r10028 | ianwill | 2007-02-06 20:40:13 +0100 (Tue, 06 Feb 2007) | 3 lines

Scripts:
-Another update to the ac3d importer to handle models with wrong face data. Thanks Melchior Franz for reporting.

------------------------------------------------------------------------
r10027 | letterrip | 2007-02-06 20:34:41 +0100 (Tue, 06 Feb 2007) | 4 lines

= translation =

updated ukranian translation contributed by Serhij Dubyk

------------------------------------------------------------------------
r10026 | ton | 2007-02-06 16:35:06 +0100 (Tue, 06 Feb 2007) | 5 lines

Bugfix #5919

Baking error: dupligrouped objects were not included in database for
bake. That should be, it can be used as shadow casters or AO casters.

------------------------------------------------------------------------
r10025 | campbellbarton | 2007-02-06 12:16:49 +0100 (Tue, 06 Feb 2007) | 3 lines

added messages to scripts, stopping them from modifying multires meshes.
object_cookie_cutter - can now also use curves to cut holes in a mesh.

------------------------------------------------------------------------
r10024 | campbellbarton | 2007-02-06 08:11:44 +0100 (Tue, 06 Feb 2007) | 3 lines

added missing reference in the docs for the edgesplit modifier
Extended the add object tooltip to note that new objects cant be on a visible layer.

------------------------------------------------------------------------
r10023 | eeshlo | 2007-02-06 06:34:00 +0100 (Tue, 06 Feb 2007) | 2 lines

fixed bug #5921, artifacts when image input used instead of zbuffer.

------------------------------------------------------------------------
r10022 | aligorith | 2007-02-06 04:38:32 +0100 (Tue, 06 Feb 2007) | 5 lines

== Armature Buttons - ChildOf menu ==

This menu now respects armature-layers, so that it works better on
armatures with a lot of bones.

------------------------------------------------------------------------
r10021 | letterrip | 2007-02-06 01:20:33 +0100 (Tue, 06 Feb 2007) | 4 lines

= python bugfix=

flareseed and haloseed minimums were off by one, thanks Carsten for the fix

------------------------------------------------------------------------
r10020 | aligorith | 2007-02-06 00:29:10 +0100 (Tue, 06 Feb 2007) | 5 lines

Patch #5928 from Diego Borghetti (bdiego)

Blender crashed when selecting column-select options in Action Editor
if there was no action active at the time.

------------------------------------------------------------------------
r10019 | theeth | 2007-02-05 19:02:57 +0100 (Mon, 05 Feb 2007) | 4 lines

=== Transform ===

Align mode (rotation that only translates the target) didn't work for elements using quats (Pose). Fixed.

------------------------------------------------------------------------
r10018 | theeth | 2007-02-05 19:00:03 +0100 (Mon, 05 Feb 2007) | 6 lines

=== Transform ===

Reverting Aligorith's fix for bug Bugfix #5833 (the fix was incorrect, see bug report for details).

That means the translation part when rotating "free" bones in pose mode is still broken.

------------------------------------------------------------------------
r10017 | aphex | 2007-02-05 16:58:54 +0100 (Mon, 05 Feb 2007) | 2 lines

updated python to 2.4.4 for windows (additional files for distro)

------------------------------------------------------------------------
r10015 | snailrose | 2007-02-05 09:07:55 +0100 (Mon, 05 Feb 2007) | 2 lines

Left out the case where MTFace can be null.

------------------------------------------------------------------------
r10014 | snailrose | 2007-02-05 06:48:09 +0100 (Mon, 05 Feb 2007) | 2 lines

Bug fix for TF_BMFONT faces. Colors on the material were backwards when rendered.

------------------------------------------------------------------------
r10013 | stiv | 2007-02-05 06:09:15 +0100 (Mon, 05 Feb 2007) | 7 lines

Bugfix #5918 GE Crash when press Esc

Modifier.c had ref count problems from TypeDict being added twice
to module.

Congratulations due to Tom Musgrove (LetterRip) for chasing this down.

------------------------------------------------------------------------
r10012 | aligorith | 2007-02-05 05:52:39 +0100 (Mon, 05 Feb 2007) | 3 lines

A missing function from the 'armature/pose' api which I left out
in my previous commit for a bugfix.

------------------------------------------------------------------------
r10011 | aligorith | 2007-02-05 02:28:14 +0100 (Mon, 05 Feb 2007) | 9 lines

Bugfix #5833:

When rotating bones around the 3d-cursor in posemode with a rotated
armature, rotation was around strange points other than the cursor.

This bug has been around for quite a few releases now. Somehow, the
maths used to convert the world/global space locations to local locations
only worked on things in editmode, but not bones.

------------------------------------------------------------------------
r10010 | letterrip | 2007-02-05 02:04:05 +0100 (Mon, 05 Feb 2007) | 4 lines

= rvk1 to rvk2 update=

script update from jms

------------------------------------------------------------------------
r10009 | nicholasbishop | 2007-02-04 23:17:51 +0100 (Sun, 04 Feb 2007) | 6 lines

== Sculpt Mode ==

Fixed bug #5917, shift-c doesn't work in the sculpt mode

* Added CKEY and SHIFT+CKEY to sculptmode's shortcuts (behavior is the same as for non-sculptmode.)

------------------------------------------------------------------------
r10008 | schlaile | 2007-02-04 20:18:15 +0100 (Sun, 04 Feb 2007) | 6 lines

== Sequencer ==

Bugfix: sound ipo calculation occasionally failed, leading to silenced
  strips. Now we do it just like the video strips directly before usage...
  Makes the code definitely more clean and even faster ;-)

------------------------------------------------------------------------
r10007 | ton | 2007-02-04 18:11:18 +0100 (Sun, 04 Feb 2007) | 9 lines

Bugfix #5912

Bugfix #5912

Fix for Angmap and Spheremap (sky render).

This is a rewind of bugfix #4999 (sept 18). That bug appeared to be a
user error... the option "real" for sky had to be set.

------------------------------------------------------------------------
r10006 | schlaile | 2007-02-04 10:18:15 +0100 (Sun, 04 Feb 2007) | 14 lines

== Sequencer ==

Bugfixes:
- Effect dependencies sometimes went wrong. seq3 was always calculated,
  even if the effect already told the upper layer, that there is an early
  out available...
- On render, only free _all_ buffers, if memory usage is above the memcache
  limit. This made my render times drop from 17 hours to only 4 hours on
  a 2 hour movie.

  Ton: I don't want to start an edit war at this point, but if you really
  need the old behaviour, just use a very low, non-zero memcache limit in the
  preferences. (In most cases, the default of 32 Mb _is_ very low ;-)

------------------------------------------------------------------------
r10005 | nicholasbishop | 2007-02-04 01:42:23 +0100 (Sun, 04 Feb 2007) | 6 lines

== Retopo ==

Partial fix for bug #5766

* Moved the retopo call used during transforms to above the call to clip the transform (for the mirror modifier.) This stops retopo from moving a vertex across the axis.

------------------------------------------------------------------------
r10004 | blendix | 2007-02-03 15:46:30 +0100 (Sat, 03 Feb 2007) | 3 lines


Bugfix for a memory leak in the modifier stack.

------------------------------------------------------------------------
r10003 | ton | 2007-02-03 14:17:05 +0100 (Sat, 03 Feb 2007) | 4 lines

Bugfix #5908

After conversion of Curve to Mesh, modifiers should be removed.

------------------------------------------------------------------------
r10002 | campbellbarton | 2007-02-03 13:50:01 +0100 (Sat, 03 Feb 2007) | 3 lines

update to 1.9g of JMS's kml/kmz importer,
with a change only in the menu title to comply with the existing naming convention.

------------------------------------------------------------------------
r10001 | campbellbarton | 2007-02-02 15:27:36 +0100 (Fri, 02 Feb 2007) | 2 lines

used slightly faster text cleaning, fixed benchmark not to include time spent selecting a file.

------------------------------------------------------------------------
r10000 | campbellbarton | 2007-02-02 10:14:56 +0100 (Fri, 02 Feb 2007) | 2 lines

merges some of jms's updates from kmz_ImportWithMesh.py version 1.9f

------------------------------------------------------------------------
r9999 | aligorith | 2007-02-02 07:26:10 +0100 (Fri, 02 Feb 2007) | 2 lines

Cosmetic tweaks to the 'Armature' editing panel again.

------------------------------------------------------------------------
r9998 | sirdude | 2007-02-01 21:38:37 +0100 (Thu, 01 Feb 2007) | 7 lines



Bug fix for #5903
provied by paprmh.

Kent

------------------------------------------------------------------------
r9997 | khughes | 2007-02-01 21:25:24 +0100 (Thu, 01 Feb 2007) | 7 lines



Tools
---------------
Bugfix #5898: buffer overrun by sprintf() in v3d_editvertex_buts() caused a
crash.  Changed to snprintf().

------------------------------------------------------------------------
r9996 | campbellbarton | 2007-02-01 20:02:18 +0100 (Thu, 01 Feb 2007) | 2 lines

tidy up this script as well as 2 new options - "fix nan verts" and "fix nan uvs"

------------------------------------------------------------------------
r9995 | sirdude | 2007-02-01 16:56:44 +0100 (Thu, 01 Feb 2007) | 9 lines



Move the screw button so it lines up with the clockwise button.
(now that clockwise only works for screw)

http://www.cs.umn.edu/~mein/blender/screw.jpg  if your wondering

Kent

------------------------------------------------------------------------
r9994 | ton | 2007-02-01 15:14:07 +0100 (Thu, 01 Feb 2007) | 5 lines

Bugfix #5897

Using multiple levels deep referenced groups (group in group) messed up the
add-group menu in toolbox

------------------------------------------------------------------------
r9993 | campbellbarton | 2007-02-01 12:38:38 +0100 (Thu, 01 Feb 2007) | 2 lines

faces in face select mode can be selected and hidden, check that faces are not hidden as well as being selected.

------------------------------------------------------------------------
r9992 | ton | 2007-02-01 11:04:10 +0100 (Thu, 01 Feb 2007) | 4 lines

Bugfix #5894

Composite, Time Node did not clamp output between 0-1.

------------------------------------------------------------------------
r9991 | campbellbarton | 2007-02-01 06:27:49 +0100 (Thu, 01 Feb 2007) | 4 lines

fixed nieve use of type()..
type(foo) == type(list()) can be done as
type(foo) == list:

------------------------------------------------------------------------
r9990 | artificer | 2007-02-01 04:34:09 +0100 (Thu, 01 Feb 2007) | 7 lines

Bugfix for #5896 - Array constant offset not behaving as expected
This is not a bug, but rather a misunderstanding of the relationship between object scaling and the Array modifier's constant offset.

The Array modifier's constant offset is specified in local coordinates. In the supplied blend file, the object is scaled up in the x direction by 2.45, and the offset is a constant 2.5 in the x direction. Thus, the final world space offset is 2.45 * 2.5 = 6.125 units in the object's local x direction, as can be seen in the blend file.

I have updated the tooltips for the Array modifier to indicate that offsets are given in local coordinates. I will investigate providing a "Use World Coordinates" toggle button after release.

------------------------------------------------------------------------
r9989 | snailrose | 2007-02-01 03:10:38 +0100 (Thu, 01 Feb 2007) | 7 lines

1). Fix for cube maps in the player.
ImBuf pointer was being overridden causing the ibuf->rect to be zero.

2). Added vertex attributes for tangents in in vertex arrays.
This, probably needs the extensions enabled (glEnableVertexAttribArrayARB, glDisableVertexAttribArrayARB), but am a little
weary about enabling them right now.

------------------------------------------------------------------------
r9988 | ianwill | 2007-02-01 02:34:51 +0100 (Thu, 01 Feb 2007) | 3 lines

Scripts:
- Making the ac3d importer discard bad faces in the imported model (faces that reference a vertex index more than once). Thanks Melchior Franz for reporting this one, too.

------------------------------------------------------------------------
r9987 | schlaile | 2007-02-01 01:59:53 +0100 (Thu, 01 Feb 2007) | 5 lines

==Sequencer==

Bugfix [ #5886 ] Crash when duplicate audiostream.
Just make duplicate of hddaudio more intelligent and do less ;-)

------------------------------------------------------------------------
r9986 | scourage | 2007-02-01 01:42:59 +0100 (Thu, 01 Feb 2007) | 5 lines


Forgot to typcheck the copied buffer in the seperate nodes.  Now (not that it
makes sense to me) you can seperate in a value buffer in all the different color
spaces.

------------------------------------------------------------------------
r9985 | scourage | 2007-02-01 01:09:21 +0100 (Thu, 01 Feb 2007) | 7 lines



seperate HSV, YUV, and YCC all converted colorspace on the original image
buffer if it was an RGBA type.  This caused buffer corruption in the original buffer
which would be colorspace converted again (for each render).  Corrected by duplicating
buffer.

------------------------------------------------------------------------
r9984 | campbellbarton | 2007-01-31 22:30:27 +0100 (Wed, 31 Jan 2007) | 2 lines

updated epy doc reference to 2.43, fix broken link.

------------------------------------------------------------------------
r9983 | ton | 2007-01-31 12:49:30 +0100 (Wed, 31 Jan 2007) | 5 lines

Bugfix

Environment map type "load" which was not used for material, but on sky,
crashed when the envmap file could not be found.

------------------------------------------------------------------------
r9982 | campbellbarton | 2007-01-31 12:34:41 +0100 (Wed, 31 Jan 2007) | 2 lines

fixed a python error in the exporter, small changes for the importer.

------------------------------------------------------------------------
r9981 | artificer | 2007-01-31 12:24:13 +0100 (Wed, 31 Jan 2007) | 7 lines

Bugfix for #5603 - event que 'stuck' when holding down shift modifier
                   when sculpting

This bug was caused by the main event queue overflowing. This commit fixes the
bug by increasing the size of the main event queue from 256 events to 4096
events.

------------------------------------------------------------------------
r9980 | ton | 2007-01-31 11:59:39 +0100 (Wed, 31 Jan 2007) | 15 lines

Bugfix, report from studio Manos;

This tweaks the dependency rules for Scenes/Objects a bit. Here is the
rule:

- Each Scene has own dependency graph, and only solves dependencies for
  objects in the scene

- However, when using multiple linked Scene-sets, the *current* scene is
  allowed to have dependencies to objects in a 'set'.
  This works by first calculating the sets, then the current scene.

Example: the current scene can have lights with a track/location
constraint to a character in a set.

------------------------------------------------------------------------
r9979 | stiv | 2007-01-31 04:12:26 +0100 (Wed, 31 Jan 2007) | 7 lines

Bugfix for #5000
Setup for Armature weak ref list was missing from some places where
we execute py code.  This confused the interpreter and gave random
attribute/tuple parse errors.
Changed name of weak ref list to "__arm_weakrefs" to avoid name
collision with user variables.

------------------------------------------------------------------------
r9978 | campbellbarton | 2007-01-31 02:18:51 +0100 (Wed, 31 Jan 2007) | 6 lines

3ds_export - enabled textures as an option since it works with some appliactions (only way to get textured models from blender to google sketchup)
3ds_import - added option to disable recursive image searching (could be slow somtimes)
export_obj - when making group/object names only use both object and mesh name when they differ.
weightpaint_clean, weightpaint_grow_shrink - minor updates.
Render.py - own error in epydocs.

------------------------------------------------------------------------
r9977 | nicholasbishop | 2007-01-31 00:07:57 +0100 (Wed, 31 Jan 2007) | 7 lines

== Multires ==

Fixed bug #5815, Multires mesh UVs get lost (or crashes!) when adding additional UV layers

* Switching to Face Select mode adds a UV layer automatically, was missing code there to add the layer to multires as well
* Adding/Deleting a customdata layer on a multires mesh should update the multires data first

------------------------------------------------------------------------
r9976 | joeedh | 2007-01-30 23:38:43 +0100 (Tue, 30 Jan 2007) | 4 lines

=Python bugfix=

Armature code had missing NULL pointer check that crashed when used in pydrivers.

------------------------------------------------------------------------
r9975 | aligorith | 2007-01-30 22:43:01 +0100 (Tue, 30 Jan 2007) | 5 lines

== Armature Path-Drawing ==

This adds a little paranoia check for some values used by path drawing
which may be uninitialised in older-files causing an infinite loop.

------------------------------------------------------------------------
r9974 | nicholasbishop | 2007-01-30 22:22:46 +0100 (Tue, 30 Jan 2007) | 4 lines

== Retopo ==

Removed a retopo line that could cause a crash on freeing editmesh.

------------------------------------------------------------------------
r9973 | ianwill | 2007-01-30 21:12:30 +0100 (Tue, 30 Jan 2007) | 3 lines

Scripts:
- Fixing another bug in the ac3d import script, thanks again Melchior Franz for testing and reporting.

------------------------------------------------------------------------
r9972 | khughes | 2007-01-30 18:55:39 +0100 (Tue, 30 Jan 2007) | 6 lines



Python API
----------
Fix typo in Constraint API examples

------------------------------------------------------------------------
r9971 | theeth | 2007-01-30 17:07:54 +0100 (Tue, 30 Jan 2007) | 4 lines

=== Transform Snap ===

Missing distance calculation in Snap Closest when only one element was selected made it not work correctly for rotations.

------------------------------------------------------------------------
r9970 | theeth | 2007-01-30 16:48:09 +0100 (Tue, 30 Jan 2007) | 6 lines

=== UV Transform ===

[ #5880 ] Crash on editing UVs

Caused by late check for 3d view in transform snap.

------------------------------------------------------------------------
r9969 | artificer | 2007-01-30 12:11:20 +0100 (Tue, 30 Jan 2007) | 6 lines

Bugfix for #5843 - Wave modifier wont run with negative speed
This is mainly a problem with the interface - it's not clear what effect the
"Time sta:" (more correctly, the time offset) value will have when the speed
is negative. I have updated the UI to change the "Time sta:" button to "Time
end:" when the speed is negative.

------------------------------------------------------------------------
r9968 | ton | 2007-01-30 11:49:56 +0100 (Tue, 30 Jan 2007) | 5 lines

Bugfix #5875

The global "total object" counter in Blender kernel was still using short!
Crash can happen when using this counter for allocating selection data.

------------------------------------------------------------------------
r9967 | campbellbarton | 2007-01-30 04:02:58 +0100 (Tue, 30 Jan 2007) | 4 lines

updated render settings to support recent changes.
options like saveBuffers are available from Python and threads can be set from 1 to 8
usefull for python based renderfarms.

------------------------------------------------------------------------
r9966 | aligorith | 2007-01-30 02:04:39 +0100 (Tue, 30 Jan 2007) | 7 lines

Bugfix:

Calculate Paths for Armatures didn't work if called from the WKEY menu
before doing so from the Armature Visualisations panel. Was caused by
the absence of version-patches for older-files where the settings used for
path calculation were uninitialised.

------------------------------------------------------------------------
r9965 | campbellbarton | 2007-01-30 01:16:05 +0100 (Tue, 30 Jan 2007) | 6 lines

Update to JMS's latest version of google earth 3 importer.
also made some changes
* redraw in the 3d view only
* create all objects in visible layers
* other small tweaks and speedups, removed debug print's

------------------------------------------------------------------------
r9964 | pidhash | 2007-01-30 00:36:26 +0100 (Tue, 30 Jan 2007) | 2 lines

fixing x2 param

------------------------------------------------------------------------
r9963 | ton | 2007-01-29 21:43:42 +0100 (Mon, 29 Jan 2007) | 4 lines

Patch / Bugfix #5876

Composite: Defocus node crashed when scene has no camera.

------------------------------------------------------------------------
r9962 | sirdude | 2007-01-29 21:43:27 +0100 (Mon, 29 Jan 2007) | 8 lines



Should have read it closer when I made the inital change.
was doing if PLUGIN_VERSION ==2 || PLUGIN_VERSION == 5
when what we want is in the range of 2 - 5

Kent

------------------------------------------------------------------------
r9961 | ton | 2007-01-29 20:26:11 +0100 (Mon, 29 Jan 2007) | 4 lines

bugfix #5872

Crash when in sculptmode, add armature, switch to object mode.

------------------------------------------------------------------------
r9960 | artificer | 2007-01-29 17:28:11 +0100 (Mon, 29 Jan 2007) | 10 lines

= Addendum to UVProject's multiple UV handling - "Override Image" button =
* Added an "Override Image" button to the UVProject modifier; this overrides
  faces' currently assigned image with the one given in the modifier panel.
  This provides some of the functionality previously provided by the "Add UVs"
  button - you still need to add a UV layer manually, but you only need to
  change the image in one place.
* Note that the "Override Image" option uses the bit position previously used
  by the "Add UVs" option, so old files which had "Add UVs" enabled will now
  have "Override Image" enabled.

------------------------------------------------------------------------
r9959 | artificer | 2007-01-29 16:10:55 +0100 (Mon, 29 Jan 2007) | 7 lines

= Updating the UVProject modifier to handle multiple UV layers =
* Removed the "Add UVs" option from the UVProject modifier
* Added a UV layer menu to the UVProject modifier
* Refactored the Displace modifier UV layer menu code to allow the UVProject
  modifier to share it
* Added two CustomData functions to facilitate getting layers by name

------------------------------------------------------------------------
r9958 | ton | 2007-01-29 15:49:15 +0100 (Mon, 29 Jan 2007) | 5 lines

Bugfix #5873

3D texture paint crashed when no Image window was opened... the damn global
variables!

------------------------------------------------------------------------
r9957 | campbellbarton | 2007-01-29 11:20:21 +0100 (Mon, 29 Jan 2007) | 12 lines

removing redundant scripts because of new features in blender after discussion with LetterRip.

disp_paint.py - Displacement modifier and sculpt mode replace.
uv_paint.py - making can be used to write colors to an image.
animation_empties2armature.py - Was made when BVH importer could not import direct to armature, Resulting animation has visible errors, errors have been known about for a long time and not fixed.
knife.py - Old slow code, No Multi-UV's, We now have a knife tool that has snap!

If anyone wants to maintain these scripts and have them added back in, mail the bf-python ML.

Scripts that are removed can be found here.
http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/Attic/?cvsroot=bf-blender

------------------------------------------------------------------------
r9956 | campbellbarton | 2007-01-29 07:56:30 +0100 (Mon, 29 Jan 2007) | 2 lines

removed copy_facedata_multilayer from BPyMesh since it changes the selection and flips the faces (needed for solidify) but not for general purpose use.

------------------------------------------------------------------------
r9955 | campbellbarton | 2007-01-29 07:38:30 +0100 (Mon, 29 Jan 2007) | 3 lines

fixed own bug indroduced when switching to use f.edge_keys
MultiUV/Color support - all layers are copied to new faces. as well as hole filling faces.

------------------------------------------------------------------------
r9954 | aligorith | 2007-01-29 06:09:14 +0100 (Mon, 29 Jan 2007) | 7 lines

== IPO Transform Bugfix ==

When scaling in the IPO-editor, axis-clamping was not respected still
(in order to preserve the old behaviour of flipping over the x/y axis).
However, now there is a mirroring tool for IPO curves, so the old
behaviour is no longer needed.This makes things more consistent.

------------------------------------------------------------------------
r9953 | scourage | 2007-01-29 05:08:40 +0100 (Mon, 29 Jan 2007) | 3 lines


The channel keyer was not scaling the YCC color space properly for the exec function to make an impact on it.

------------------------------------------------------------------------
r9952 | stiv | 2007-01-29 02:27:07 +0100 (Mon, 29 Jan 2007) | 14 lines

Bugfix for #5846 erratic error with in "ob.getData(mesh=1)"

It looks like the changes for bug
  #5000 Changin EditMode in Script wrecks memory
break the python interpreter.

Since this is critical, I have #ifdef'ed those out of
BPY_interface.c and Window.c.  Did not touch Armature.c.
The ifdefs are tagged with /* bug 5000 */

This means bug #5000 is back in play.  Interesting to note
that according to #5846, only scripts run from the script menu
and not via Alt-P were broken.

------------------------------------------------------------------------
r9951 | scourage | 2007-01-29 01:11:18 +0100 (Mon, 29 Jan 2007) | 2 lines

Fixed accelerated openGL command list tri-strip generation for geometry.  UV coordinates are still off a bit.  Fixed bad frame list loading.  I'm sleepy and need a snack.

------------------------------------------------------------------------
r9950 | nicholasbishop | 2007-01-28 22:26:39 +0100 (Sun, 28 Jan 2007) | 4 lines

== Retopo ==

Added a missing undo push for CKEY in retopo paint.

------------------------------------------------------------------------
r9949 | ianwill | 2007-01-28 21:03:42 +0100 (Sun, 28 Jan 2007) | 3 lines

Scripts:
- Fixed a few bugs in the ac3d importer, found by Melchior Franz (thanks!). Also automatically turning on ztransp for materials with alpha < 1.0 and then also transp shadows for all imported materials.

------------------------------------------------------------------------
r9948 | schlaile | 2007-01-28 19:45:53 +0100 (Sun, 28 Jan 2007) | 6 lines

== Sequencer ==

Fixes bug #5858 (Render to dv skips frames. OSX and Linux PPC).
Caused by stupid ffmpeg dv multiplexer. PAL-fix is easy, NTSC needs varying
buffer sizes...

------------------------------------------------------------------------
r9947 | blendix | 2007-01-28 19:37:12 +0100 (Sun, 28 Jan 2007) | 5 lines


Fix for bug #5861:

Minimize stretch incorrectly stitched together UVs.

------------------------------------------------------------------------
r9946 | theeth | 2007-01-28 16:41:11 +0100 (Sun, 28 Jan 2007) | 4 lines

=== Transform Snap ===

Replace references to "Gears" in the header by "Grid". This is more consistant with the rest of the UI and even if I like gears better, grid, I think, is what people expect.

------------------------------------------------------------------------
r9945 | halley | 2007-01-28 15:55:57 +0100 (Sun, 28 Jan 2007) | 4 lines

Removed -mpowerpc -mtune=G4 from several SCons files, so it will work on
either PPC or Intel architectures under OSX.  These options should be
inherited properly from the rest of the OSX SCons build system.

------------------------------------------------------------------------
r9944 | artificer | 2007-01-28 15:48:38 +0100 (Sun, 28 Jan 2007) | 5 lines

Changed Displace modifier UV layer selection UI code to use a temporary
variable in the DisplaceModifierData structure, rather than a global variable.
This fixes a bug in layer selection when more than one Displace modifier is
applied to an object.

------------------------------------------------------------------------
r9943 | schlaile | 2007-01-28 14:48:27 +0100 (Sun, 28 Jan 2007) | 4 lines

== Sequencer ==

NULL-pointer check in previous commit was wrong...

------------------------------------------------------------------------
r9942 | schlaile | 2007-01-28 14:43:46 +0100 (Sun, 28 Jan 2007) | 6 lines

== Sequencer ==

Bugfix: when ipo-frame-locking is turned off, make the ipo cursor show up
 at the correct position and set CFRA correctly, if changed within IPO.
 (avoids very annoying snapping...)

------------------------------------------------------------------------
r9941 | ton | 2007-01-28 14:43:22 +0100 (Sun, 28 Jan 2007) | 5 lines

bugfix #5865

IpoWindow: panel properties didn't show the "Visible curves" box values
unless you clicked curve once.

------------------------------------------------------------------------
r9940 | campbellbarton | 2007-01-28 13:33:04 +0100 (Sun, 28 Jan 2007) | 9 lines

update to the md2 importer.
* moved from NMesh to Mesh
* made newstyle classes (use less memory)
* optimized mesh creation
* Animation now imports and plays (Bugfix for 5834)
+ other small tweaks

Added mesh.key - was missing from docs

------------------------------------------------------------------------
r9939 | ton | 2007-01-28 13:20:07 +0100 (Sun, 28 Jan 2007) | 9 lines

- bugfix in Sculpt (irc reported): using a Texture Brush, and then unlink
  the texture (in texture buttons) crashed painting. Reason was reading
  a NULL pointer.

- fix for bufix: commit by Ken Hughes accidentally deleted a bugfix
  (yafray render doesn't support bake, and should return)

- tooltip fix

------------------------------------------------------------------------
r9938 | ton | 2007-01-28 12:44:32 +0100 (Sun, 28 Jan 2007) | 9 lines

Plumiferos reported bug:

When weights in Meshes are extremely small (< 0.01) normalizing them
can give overflows, thanks to float precision limit.
This is still unsolved, but for now the limit had to be set smaller...
(reason is that Plumiferos uses mixed lattice and vertex-group deform)

Also: running Blender in debug (-d) will print subversion now.

------------------------------------------------------------------------
r9937 | scourage | 2007-01-28 06:45:58 +0100 (Sun, 28 Jan 2007) | 3 lines


reverting creator.c to previous version since my earlier commit updated it unintentially

------------------------------------------------------------------------
r9936 | scourage | 2007-01-28 06:43:12 +0100 (Sun, 28 Jan 2007) | 4 lines



reverted pipeline.c due to my previous commit updating the file unintentionally.

------------------------------------------------------------------------
r9935 | scourage | 2007-01-28 06:34:17 +0100 (Sun, 28 Jan 2007) | 3 lines


Added type checking to color space splitting nodes and hsv node.  Will uncommit pipeline.c and creator.c since committed in error.

------------------------------------------------------------------------
r9934 | campbellbarton | 2007-01-28 05:58:22 +0100 (Sun, 28 Jan 2007) | 3 lines

made Mesh.Get('foo') raise an error when foo dosnt exist rather then returning None (to work like other modules)
also update Metaball.Get() to be less messy - still functions the same.

------------------------------------------------------------------------
r9933 | campbellbarton | 2007-01-28 04:36:33 +0100 (Sun, 28 Jan 2007) | 7 lines

updated this script (one of the most out of date)

basic workings are the same but its generaly more efficient.

The main problem was it could get the data from every object across all scenes!
This means that on framechange, every mesh would be copied into an NMesh just to see the type was a camera.

------------------------------------------------------------------------
r9932 | campbellbarton | 2007-01-28 02:36:21 +0100 (Sun, 28 Jan 2007) | 2 lines

bug 5857, python 2.3 compat fix + minor changes.

------------------------------------------------------------------------
r9931 | desoto | 2007-01-27 19:47:46 +0100 (Sat, 27 Jan 2007) | 4 lines

==Tooltip Adjustment==

Minor tweaks to a few of the material buttons tooltips.

------------------------------------------------------------------------
r9930 | nicholasbishop | 2007-01-27 19:11:07 +0100 (Sat, 27 Jan 2007) | 7 lines

== Retopo ==

Fixed bug #5829, Exiting editmode with TAB key toggles RETOPO

* Moved the retopo_mode setting to ToolSettings.
* Renamed the other retopo_mode to the (more accurate) retopo_paint_tool

------------------------------------------------------------------------
r9929 | artificer | 2007-01-27 18:58:21 +0100 (Sat, 27 Jan 2007) | 3 lines

Removed an unneeded struct declaration committed by mistake in joeedh's
Displace modifier fix.

------------------------------------------------------------------------
r9928 | nicholasbishop | 2007-01-27 18:45:23 +0100 (Sat, 27 Jan 2007) | 6 lines

== Multires ==

Fixed bug #5820, changing multires in edit mode turns the mesh black

* Added a call to recalc_editnormals when building an editmesh from a multires mesh.

------------------------------------------------------------------------
r9927 | artificer | 2007-01-27 14:33:56 +0100 (Sat, 27 Jan 2007) | 10 lines

Fix for a segfault in the new Displace modifier UV layer selection code:
If the "UV" texture coordinate option is selected while no UV layers exist,
the UV layer name in the modifier is blank. This is not a problem while no UV
layers exist, but if a UV layer is added the modifier code attempts to use
UV coordinates without handling the missing layer name correctly, leading to a
segfault. This only occurs when the modifier stack is recalculated before a
modifier UI redraw, as the UI redraw updates the layer name.

This fix handles a missing UV layer name by setting it to the active UV layer.

------------------------------------------------------------------------
r9926 | ton | 2007-01-27 11:08:16 +0100 (Sat, 27 Jan 2007) | 9 lines

Two fixes:

- when rendering a scene, all composite trees of other trees should get
  signalled the render output changed. This only happened with a composite
  active in render.

- the Mix node "A" option only works in Composite, as accidentally visible
  for shader trees.

------------------------------------------------------------------------
r9925 | campbellbarton | 2007-01-27 05:58:09 +0100 (Sat, 27 Jan 2007) | 2 lines

minor tweaks from testing scripts. correction in my last commit.

------------------------------------------------------------------------
r9924 | campbellbarton | 2007-01-27 03:15:14 +0100 (Sat, 27 Jan 2007) | 4 lines

Updated docs not to use Object.New() in examples, use scn.objects.*

Bugfix from ZanQdo, MOT files wouldent load in lightwave. also made some minor improvements.

------------------------------------------------------------------------
r9923 | nicholasbishop | 2007-01-27 00:35:37 +0100 (Sat, 27 Jan 2007) | 4 lines

== Multires ==

* Switching levels in editmode should flush selection changes so that face selection is drawn correctly.

------------------------------------------------------------------------
r9922 | joeedh | 2007-01-26 22:06:49 +0100 (Fri, 26 Jan 2007) | 18 lines

=Displace modifier fix=

This commit fixes displace modifier to propery support arbitrary uv
layers.  This seemed like a fairly big usability bug,
as displace modifiers would use the active UV layer (and thus could change when
you changed the active layer).  The modifier UI code now uses a menu for browsing
the uv layers, however only the uv layer name is actually stored, so that 
adding/deleting layers won't mess up displace modifiers.  

Whenever a displace modifier has an invalid UV name (for whatever reason) the 
UV name is set to the active layer.  This is checked both in the UI code and 
in the modifier exec code, so all bases are covered. For deleting a layer, this 
required upgrading the layer delete code in the UI to properly preserve the 
active layer, to prevent unwanted behaviour. I hope this is an ok solution.

Brecht, Ben you might want to look over and make sure I didn't break anything.  I don't
think I did, I tested as thouroughly as I could.

------------------------------------------------------------------------
r9921 | khughes | 2007-01-26 21:35:57 +0100 (Fri, 26 Jan 2007) | 5 lines



Bugfix for render baking: preserve AO and Ray trace settings when doing
Ambient Occlusion, and check that world is enabled.

------------------------------------------------------------------------
r9920 | ton | 2007-01-26 20:17:20 +0100 (Fri, 26 Jan 2007) | 6 lines

Bugfix (own collection)

Composite: some cases gave memory errors (not freed mem).
The code that tried to be smart in finding nodes to skip, caused that
stack buffers were not freed propertly.

------------------------------------------------------------------------
r9919 | nicholasbishop | 2007-01-26 19:52:34 +0100 (Fri, 26 Jan 2007) | 7 lines

== Interface ==

* Cleaned up the sculpt and multires palettes a bit to make them work correctly with the Rounded theme.
* Moved the DelLower/DelHigher buttons above the Level slider; necessary for some reason to render the rounded corners correctly.

One error is still visible, the Size slider in the Sculpt palette has an incorrectly-rounded corner below the Airbrush button, no idea why.

------------------------------------------------------------------------
r9918 | campbellbarton | 2007-01-26 16:43:11 +0100 (Fri, 26 Jan 2007) | 3 lines

added edge split access to modifiers API
Also renamed Type to Types to match with the rest of the API. Type is still there but removed from docs.

------------------------------------------------------------------------
r9917 | ton | 2007-01-26 16:34:32 +0100 (Fri, 26 Jan 2007) | 7 lines

Bugfix #5827

Preview render in buttons was not refreshed when changes in a material
happened, without preview visible. (like editbuttons, active mat index).

Now on re-entering material buttons, a re-render happens in these cases.

------------------------------------------------------------------------
r9916 | joeedh | 2007-01-26 15:30:43 +0100 (Fri, 26 Jan 2007) | 9 lines

=FSAA fix=

This commit gets rid of the #ifdef WIN32 I did for the FSAA code.
However it still manually defines the constant (if it's not already defined)
for FSAA, as I'm not sure which platforms have glext.h and I don't want to risk
breaking platforms before release.

Joe

------------------------------------------------------------------------
r9915 | desoto | 2007-01-26 13:39:55 +0100 (Fri, 26 Jan 2007) | 5 lines

Second part of blur-node fix to accept x and y offsets in images passed
from translate node. Once again courtesy of joeedh (Joe Eagar). Should be
noted that there are other nodes which seem not to respect these offsets
as well. Will investigate further.

------------------------------------------------------------------------
r9914 | campbellbarton | 2007-01-26 11:37:18 +0100 (Fri, 26 Jan 2007) | 7 lines

* nmesh to mesh
* fixed errors with Null materials
* faster material exporting
* export with modifiers applied
* faces with invalid material indicies work now (maybe should be delt with in the Py API)
* removed per vert col code since all colors are pre face now.

------------------------------------------------------------------------
r9913 | campbellbarton | 2007-01-26 08:32:29 +0100 (Fri, 26 Jan 2007) | 2 lines

fixed some errors, small usability enhancements.

------------------------------------------------------------------------
r9912 | campbellbarton | 2007-01-26 08:01:30 +0100 (Fri, 26 Jan 2007) | 2 lines

added option "morph target" since many people complain that verts are re-ordered with some options enabled.

------------------------------------------------------------------------
r9911 | campbellbarton | 2007-01-26 07:02:21 +0100 (Fri, 26 Jan 2007) | 5 lines

fixed an obscure bug in obj import (possibly in Mesh.c) that made adding edges as faces mess up.
export obj now dosnt remove double UV's, its too slow.

updated version numbers to 243 and other minor changes.

------------------------------------------------------------------------
r9910 | desoto | 2007-01-26 01:24:49 +0100 (Fri, 26 Jan 2007) | 4 lines

joeedh (Joe Eagar) found a problem with blur node where image offsets
from translate node (and others I assume) were not preserved. I commit
because his node_composite.c is tainted with pynode stuff. Thanks Joe!

------------------------------------------------------------------------
r9909 | joeedh | 2007-01-25 23:47:47 +0100 (Thu, 25 Jan 2007) | 12 lines

=FSAA fix=

This commit fixes problems with FSAA (full-screen video card antialiasing) with selection.
It turns off FSAA for the backbuffered select drawing function.

Since opengl's extension system is incomphrehensible to me (at least not without committing glew), I've
basically done a little hack that detects if the value we need for glDisable (MULTISAMPLE_ARB) is defined,
and if not defines it.  Also, this commit only works on windows, because glx sadly seems to not support
arb_multisample at all, and in all likelihood neither does osx.

Joe

------------------------------------------------------------------------
r9908 | ton | 2007-01-25 22:43:49 +0100 (Thu, 25 Jan 2007) | 8 lines

Two fixes:

- Previous fix (commit today) for outliner-selecting and mode disabling
  forgot to do this for texture paint.

- outliner: theme color drawing for background was using char with overflow
  possibility.

------------------------------------------------------------------------
r9907 | ton | 2007-01-25 21:48:06 +0100 (Thu, 25 Jan 2007) | 4 lines

Bugfix #5832

Bake-render crashed when renderer was not "Intern".

------------------------------------------------------------------------
r9906 | khughes | 2007-01-25 20:31:39 +0100 (Thu, 25 Jan 2007) | 6 lines



Python API
----------
Replacing locally-declared function prototype with included one.

------------------------------------------------------------------------
r9905 | ton | 2007-01-25 17:54:59 +0100 (Thu, 25 Jan 2007) | 5 lines

Bugfix #5796

Selecting objects using Outliner should also end modes, especially when not
provided (like sculpt mode on lamps).

------------------------------------------------------------------------
r9904 | sirdude | 2007-01-25 17:21:11 +0100 (Thu, 25 Jan 2007) | 6 lines



Needed an extra header to find offsetof

Kent

------------------------------------------------------------------------
r9903 | ascotan | 2007-01-25 16:19:28 +0100 (Thu, 25 Jan 2007) | 5 lines

Bug fix for:
[ #5000 ] Changin EditMode in Script wrecks memory

Armatures create weakreferences in __main__.__dict__.  When Window.Editmode is called, the weaklist it iterated over and armatures are updated.

------------------------------------------------------------------------
r9902 | ton | 2007-01-25 15:49:28 +0100 (Thu, 25 Jan 2007) | 2 lines

Fix for patch provided bt Diego, one NULL check too many!

------------------------------------------------------------------------
r9901 | sirdude | 2007-01-25 15:02:51 +0100 (Thu, 25 Jan 2007) | 10 lines



A couple of null checkes needed, patch provided by Diego Borghetti of
Plumiferos

patch tracker:
https://projects.blender.org/tracker/index.php?func=detail&aid=5825&group_id=9&atid=127

Kent

------------------------------------------------------------------------
r9900 | ton | 2007-01-25 12:59:29 +0100 (Thu, 25 Jan 2007) | 5 lines

Plumiferos-reported Proxy bug:

Appending a scene (i.e. "make local") didn't set the correct library
tag in linked proxy. That caused file saving to ignore the proxy object.

------------------------------------------------------------------------
r9899 | jesterking | 2007-01-25 08:07:32 +0100 (Thu, 25 Jan 2007) | 4 lines

* sync with verse cvs (for silencing some warnings +
 safe to do, since verse is not
 enabled in release).

------------------------------------------------------------------------
r9898 | campbellbarton | 2007-01-25 05:18:09 +0100 (Thu, 25 Jan 2007) | 3 lines

use better Python 2.4 syntax sorting (in a try so py 2.3 still works)
use new scene/object creation for making temp objects.

------------------------------------------------------------------------
r9897 | ton | 2007-01-24 21:51:33 +0100 (Wed, 24 Jan 2007) | 3 lines

IRC reported bug: sometimes menu entries showed a name like "%l", caused
by imporper handling of separators in menus.

------------------------------------------------------------------------
r9896 | sirdude | 2007-01-24 18:55:53 +0100 (Wed, 24 Jan 2007) | 6 lines



More fixes thanks to paprmh.

Kent

------------------------------------------------------------------------
r9895 | ton | 2007-01-24 17:10:37 +0100 (Wed, 24 Jan 2007) | 2 lines

Small tweak in clipping code for irregular shadow buffers

------------------------------------------------------------------------
r9894 | ton | 2007-01-24 16:03:20 +0100 (Wed, 24 Jan 2007) | 6 lines

Bugfix #5818

OpenEXR MultiLayer: line order DECREASING_Y (openexr spec) crashes newer
openexr libs in windows... ???
Removed it, since tests reveiled the line order is still bottom-top

------------------------------------------------------------------------
r9893 | ton | 2007-01-24 10:13:40 +0100 (Wed, 24 Jan 2007) | 6 lines

Bugfix #5816

Render pipeline: setting option "Single layer render" and having the active
layer disabled, crashed blender. It's a non-option anyway, so on a single
layer render, that layer is enabled by default now.

------------------------------------------------------------------------
r9892 | jesterking | 2007-01-24 06:06:32 +0100 (Wed, 24 Jan 2007) | 2 lines

* remove HAVE_CONFIG_H stuffy. Like... what?

------------------------------------------------------------------------
r9891 | jesterking | 2007-01-24 06:04:48 +0100 (Wed, 24 Jan 2007) | 2 lines

* add proper header for chdir().

------------------------------------------------------------------------
r9890 | jesterking | 2007-01-24 05:44:49 +0100 (Wed, 24 Jan 2007) | 2 lines

* remove warning about add_only_object

------------------------------------------------------------------------
r9889 | broken | 2007-01-24 03:37:35 +0100 (Wed, 24 Jan 2007) | 2 lines

Simple fix for [ #5808 ] Z Combine node accepts only one Z output

------------------------------------------------------------------------
r9888 | nicholasbishop | 2007-01-24 02:34:05 +0100 (Wed, 24 Jan 2007) | 6 lines

== Multires ==

Fixed bug #5799, Multires mesh modifications get reset by rendering

This bug can cause some nasty data loss (was introduces with my commit for using orco with multires.) Fixed by making sure to do multires_update_levels before applying modifiers.

------------------------------------------------------------------------
r9887 | erwin | 2007-01-24 01:48:37 +0100 (Wed, 24 Jan 2007) | 2 lines

upgraded to latest ColladaBlender 0.3.146

------------------------------------------------------------------------
r9886 | elubie | 2007-01-23 21:41:43 +0100 (Tue, 23 Jan 2007) | 4 lines

=== BUGFIX ===
[ #5802 ] Blender crash when trying "Append or Link" with long directory names
- was copying bytes past the end of allocated string

------------------------------------------------------------------------
r9885 | hos | 2007-01-23 21:08:23 +0100 (Tue, 23 Jan 2007) | 6 lines

I need to use the 64-bit Linux blender, but I don't want to accidentally
commit creator.c, so if this file is compiled and the macro YESIAMSTUPID
is defined, the executable will run, with a mean warning printed to stdout.
Enable in cmake by setting YESIAMSTUPID to On, or with make by putting
"export NAN_YESIAMSTUPID=true" in user-def.mk.

------------------------------------------------------------------------
r9884 | campbellbarton | 2007-01-23 17:51:14 +0100 (Tue, 23 Jan 2007) | 2 lines

use add_only_object to add a new object with defailts.

------------------------------------------------------------------------
r9883 | theeth | 2007-01-23 16:39:35 +0100 (Tue, 23 Jan 2007) | 4 lines

=== Transform ===

Make manipulator compatible with snapping. At first, I thought this would have been a bad idea, but after talking to some people, it seem more confusing than not to have it act differently, so I'm bringing it in line.

------------------------------------------------------------------------
r9882 | jiri | 2007-01-23 15:19:28 +0100 (Tue, 23 Jan 2007) | 6 lines



 == Verse Bug Fix ==

- several checks for NULL pointer

------------------------------------------------------------------------
r9881 | snailrose | 2007-01-23 14:25:20 +0100 (Tue, 23 Jan 2007) | 3 lines

Two errors caused by previous commit;
One related to extension handling on Linux, the other is a fix for compiling with Irix and STL

------------------------------------------------------------------------
r9880 | ton | 2007-01-23 11:03:45 +0100 (Tue, 23 Jan 2007) | 5 lines

Bugfix #5786

Shaded drawmode, objects with negative scale, did not draw correct.
Error already since 2.37 (commit of may 2005)

------------------------------------------------------------------------
r9879 | broken | 2007-01-23 00:11:18 +0100 (Tue, 23 Jan 2007) | 4 lines

Fix for [ #5785 ] standard bezier curve resolution doesn't show correctly in 3d
view: Just made the initial curve resolution consistent between curve parts'
resolution and curve object's resolution.

------------------------------------------------------------------------
r9878 | khughes | 2007-01-22 23:59:34 +0100 (Mon, 22 Jan 2007) | 11 lines



Python API
----------
Bugfix #3233: throw an IOError exception in Library.Open() if the specified
library file cannot be opened.

This had been changed to a "feature request" but should have been a bug, even
though it worked as documented (or rather, the documentation described what
the function did).

------------------------------------------------------------------------
r9877 | broken | 2007-01-22 23:26:03 +0100 (Mon, 22 Jan 2007) | 7 lines

== Interface ==

Added new icons by 'jendrzych' for sculpt mode and transform snapping. I'll be
doing a lot more on this in the next release cycle, but I'm bringing these icons
over now since they're new features and we don't really have any icons for them
at the present.

------------------------------------------------------------------------
r9876 | sirdude | 2007-01-22 20:47:12 +0100 (Mon, 22 Jan 2007) | 9 lines



I put stuff into the code that shouldn't have been there.  Reverts this small statement so
its correct again.

Thanks paprmh....

Kent

------------------------------------------------------------------------
r9875 | sirdude | 2007-01-22 18:43:36 +0100 (Mon, 22 Jan 2007) | 6 lines



Paprmh's fix for the blur plugin.

Kent

------------------------------------------------------------------------
r9874 | campbellbarton | 2007-01-22 18:31:34 +0100 (Mon, 22 Jan 2007) | 4 lines

applied patch 5779 with some modifications to fix own error, (uv indicies could be out of order)

removed image support, Blender could import but not 3dsmax :/ - even managed to get 3dsdump to report a blender and max file to have the same data but max still dosnt like.

------------------------------------------------------------------------
r9873 | khughes | 2007-01-22 17:13:01 +0100 (Mon, 22 Jan 2007) | 6 lines



Python API
----------
Fix minor typo in Mesh API docs.

------------------------------------------------------------------------
r9872 | ton | 2007-01-22 13:21:41 +0100 (Mon, 22 Jan 2007) | 16 lines

Bugfix #5784

Buttons: Missing linked-library lock reset in code could invoke error menu

Bugfix #5770

Renamed option "Clear Pose" to "Clear User Transform" to indicate that this
differs from rest-pose. This option clears all Pose channel transforms, but
leaves Action values in pose unchanged. Means that when you do this, an
'insert key' won't change the animation.

Own fix:

Missing test for NULL pointer could crash Image Properties panel for linked
Image data.

------------------------------------------------------------------------
r9871 | campbellbarton | 2007-01-22 12:26:55 +0100 (Mon, 22 Jan 2007) | 6 lines

creating new objects from
  ob = scn.objects.new(arm_data)
didnt work.

Also added docs to Pose - that make an armature, add an action and add pose keyframes

------------------------------------------------------------------------
r9870 | campbellbarton | 2007-01-22 10:48:03 +0100 (Mon, 22 Jan 2007) | 2 lines

fixed error on hole filling (http://blender.org/forum/viewtopic.php?p=59062#59062)

------------------------------------------------------------------------
r9869 | jesterking | 2007-01-22 10:24:52 +0100 (Mon, 22 Jan 2007) | 3 lines

* move two expressions after declarations in their blocks. Compiles again with MSVC.
 GCC users should always check this. No actions before any declarations.

------------------------------------------------------------------------
r9868 | nicholasbishop | 2007-01-22 09:34:53 +0100 (Mon, 22 Jan 2007) | 8 lines

== Multires ==

Partial fix for bug #5771, Multires tool deletes crease flags on edges

* Modified the edge flags code to support all of the edge flags (not just seams.)
* Added a new array to the Multires struct to store creases.
* For Mark Sharp, Clear Sharp, and Crease, displays an error if applied to a multires mesh not on level 1.

------------------------------------------------------------------------
r9867 | eeshlo | 2007-01-22 07:08:19 +0100 (Mon, 22 Jan 2007) | 7 lines

bug #5772, now whenever the 'no zbuffer' option is enabled (which shouldn't
have been in this particular case anyway), the blur radius will automatically
be limited to half the width or height of the image.

Nothing to do with this bug, but also now skips image region outside
borders when border rendering is enabled.

------------------------------------------------------------------------
r9866 | khughes | 2007-01-22 06:07:16 +0100 (Mon, 22 Jan 2007) | 4 lines



Bugfix: imb_savepng() didn't deallocate memory under some error conditions.

------------------------------------------------------------------------
r9865 | blendix | 2007-01-22 05:30:22 +0100 (Mon, 22 Jan 2007) | 5 lines


Fix for bug #5770:
"Clear Pose" in the Pose menu acted as "Clear Position", had wrong
event number.

------------------------------------------------------------------------
r9864 | campbellbarton | 2007-01-22 04:59:52 +0100 (Mon, 22 Jan 2007) | 4 lines

Made scene.currentFrame(val) call scene_update_for_newframe if the scene being modified was G.scene
Before this, calling scene.currentFrame(val) would not work to update object displists where Blender.Set('curframe', val) did work.
Also used less python BuildValue calls.

------------------------------------------------------------------------
r9863 | blendix | 2007-01-22 04:57:41 +0100 (Mon, 22 Jan 2007) | 8 lines


Fix for bug #5778:
Crash entering faceselect mode in shaded mode.

The cause here is the new system that only preserves data through the
modifier stack as needed. The DerivedMesh and shaded colors could get
freed while still being used elsewhere.

------------------------------------------------------------------------
r9862 | nicholasbishop | 2007-01-22 02:33:18 +0100 (Mon, 22 Jan 2007) | 7 lines

== Multires ==

Fixed part 2 of bug #5749, Modifier redraw problems?

* Added an object flush after changing the Edge level on a multires mesh so the edges update when a Subsurf modifier is active.
  Note that "Optimal Draw" must be turned on in the Subsurf options, otherwise it draws all edges.

------------------------------------------------------------------------
r9861 | nicholasbishop | 2007-01-22 02:17:17 +0100 (Mon, 22 Jan 2007) | 6 lines

== Retopo ==

Fixed bug #5774, retopo - when using retopoall should give visual hint of what viewport is used for retopo

* Added a call to select_area so that clicking Retopo All will offer the user a choice of what viewport to use.

------------------------------------------------------------------------
r9860 | nicholasbishop | 2007-01-22 01:48:53 +0100 (Mon, 22 Jan 2007) | 7 lines

== Retopo ==

Fixed bug #5773, retopo - if in wireframe mode should give an error/warning

* Show error message for Retopo All button if view is in wireframe mode
* When toggling view shading, update view depth data if shading isn't set to wireframe

------------------------------------------------------------------------
r9859 | nicholasbishop | 2007-01-22 01:30:00 +0100 (Mon, 22 Jan 2007) | 8 lines

== Retopo ==
Fixed bug #5776, retopo - Retopo doesn't work with bezier curves

* Added check for 2D curves, since those obviously can't be wrapped onto a 3D surface
* Added check for bezier curves, those get processed in the same way as other curves now
* Added an object flush so that curves get redrawn properly after "Retopo All" is used
* Added retopo paint tooltip from ideasman

------------------------------------------------------------------------
r9858 | campbellbarton | 2007-01-22 01:04:13 +0100 (Mon, 22 Jan 2007) | 4 lines

Looking to see why SGI wont compile this.
fixed some getsetattr args that wernt cast to (void *)
this is now consistant with Object.c - but Im not sure why SGI has trouble.

------------------------------------------------------------------------
r9857 | nicholasbishop | 2007-01-22 00:46:00 +0100 (Mon, 22 Jan 2007) | 10 lines

= Multires =

Fixed bug #5756, Rendering artifacts when MRM is not set to maximum

Several changes were made:
* Added function multires_level_n to get the nth level from a multires mesh
* Removed the changes I made some time ago to init_render_mesh for multires meshes. Previously it was making a full copy of the mesh object in order to be able to apply deformations to the Pin level and propagate them to the Render level.
* Added two functions to DerivedMesh.c, multires_render_pin and multires_render_final. These two functions work together in the mesh_create_derived_*_render functions to apply all modifiers to the Pin level, then create the DerivedMesh from the Render level, and lastly restore the mesh to its original (undeformed) state.
* Added a check in multires_del_lower and multires_del_higher to ensure that level indices are properly clipped to the actual range of available levels.

------------------------------------------------------------------------
r9856 | campbellbarton | 2007-01-22 00:14:57 +0100 (Mon, 22 Jan 2007) | 9 lines

Update by JMS for the hotkey script.

Also made some changes
- fly mode keys have changed and added snap key
- using "i=list.index(val)" is slow, use "for i,val in enumerate(list)" instead.
- dont use "i in range(start, end)" - silly to make a list when you can do "min < val < max"

JMS, please update from this version.

------------------------------------------------------------------------
r9854 | joeedh | 2007-01-21 17:44:49 +0100 (Sun, 21 Jan 2007) | 5 lines

=Fesh FKEY fix=

FKEY wasn't calling recalc_editnormals(); this could result in
bad vert normals when adding new faces.

------------------------------------------------------------------------
r9853 | blendix | 2007-01-21 17:08:34 +0100 (Sun, 21 Jan 2007) | 5 lines


Addition to fix for bug #5709:
Needed to move the check one subversion further, because files with the
current subversion could already be saved with the wrong value.

------------------------------------------------------------------------
r9852 | ton | 2007-01-21 14:03:46 +0100 (Sun, 21 Jan 2007) | 5 lines

Bugfix #5734

Inserting keys (using Ikey in 3d window) could crash if you have objects
selected, but no active.

------------------------------------------------------------------------
r9851 | ton | 2007-01-21 11:24:41 +0100 (Sun, 21 Jan 2007) | 5 lines

Bugfix 5726

Tests with 8 threads and many parts reveiled that Blender render could
hang. Brecht found a line of code that should move up to prevent this!

------------------------------------------------------------------------
r9850 | ton | 2007-01-21 11:04:50 +0100 (Sun, 21 Jan 2007) | 8 lines

bugfix #5755

Render: Vector blur didn't work proper for Ztransp (accidentally was
antialising speed, which should not happen).

Also added speed-pass clearing in render, this to elimate the 'tsk tsk'
print in the Vector Blur node. :)

------------------------------------------------------------------------
r9849 | aligorith | 2007-01-21 06:11:46 +0100 (Sun, 21 Jan 2007) | 5 lines

== Action Editor Bugfix ==

DeltaX value now displays correctly when grabbing and snap-to-framestep
is on.

------------------------------------------------------------------------
r9848 | snailrose | 2007-01-21 05:45:44 +0100 (Sun, 21 Jan 2007) | 14 lines

Klockwork (http://www.klocwork.com) report; game engine fixes, related to 'Use Blender Materials'

/source/gameengine/Ketsji/BL_Material.cpp;16;18;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;293;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;314;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;341;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1264;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1194;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;916;30;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;257;24;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;262;24;Critical;1;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.cpp;195;24;Error;3;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp;1209;16;Critical;1;

------------------------------------------------------------------------
r9847 | erwin | 2007-01-21 01:56:10 +0100 (Sun, 21 Jan 2007) | 2 lines

bugfix for an incompatibility with ipo actuator in play mode, thanks Malachy for the fix.

------------------------------------------------------------------------
r9846 | blendix | 2007-01-21 01:09:24 +0100 (Sun, 21 Jan 2007) | 4 lines


Fix for bug #5709:
Join triangle threshold was initialized for wrong subversion.

------------------------------------------------------------------------
r9845 | blendix | 2007-01-20 16:13:35 +0100 (Sat, 20 Jan 2007) | 7 lines


Attempted fix for bug #5584:

Image painting: in Windows the first pressure value can be too high for
some tablets. Now it ignores that first value if it is >= 0.99. I'm not
sure if this is always the case here, so needs further testing.

------------------------------------------------------------------------
r9844 | elubie | 2007-01-20 09:01:56 +0100 (Sat, 20 Jan 2007) | 6 lines

[ #4786 ] if space in the Application path name, system() doesn't work on some platforms
commited temporary fix: executable name is quoted for all platforms except Windows now,
nicely wrapped in #ifdefs. Will be doing nice wrapper function BLI_system for system calls in blenlib
after release.
Please test on all platforms!

------------------------------------------------------------------------
r9843 | sirdude | 2007-01-19 22:06:35 +0100 (Fri, 19 Jan 2007) | 12 lines



This is taking me longer than I wanted.
All of these I think still need work but they at least do not coredump.
Basically they need some troubleshooting.

I'm heading home now so will work on it again tomorrow hopefully.
If anyone is bored feel free to take a look at them and see if you can
find the problems.  (dnr.c also needs to be converted to float aware)

Kent

------------------------------------------------------------------------
r9842 | ton | 2007-01-19 21:33:00 +0100 (Fri, 19 Jan 2007) | 12 lines

Bugfix #5664

Report had a very strange crash, which in the end appeared to be using
a filename of 165 chars long. This gave two bugs;

- the readBlog() function failed on that
- even worse: the struct Global still stored it in G.sce with 160 chars!

This is definitely an important issue... and (for the devs reading the
64 bits discussion) really not something allmighty coders are needed for!
:)

------------------------------------------------------------------------
r9841 | khughes | 2007-01-19 17:20:58 +0100 (Fri, 19 Jan 2007) | 7 lines



Bugfix for #5487 again:

glDrawArrays() also crashing for some line strips, so replaced with
regular glBegin() and glEnd().

------------------------------------------------------------------------
r9840 | ton | 2007-01-19 15:25:56 +0100 (Fri, 19 Jan 2007) | 4 lines

Bugfix #5685

EditMode text objects: using different text Width didn't draw anything.

------------------------------------------------------------------------
r9839 | ton | 2007-01-19 14:32:43 +0100 (Fri, 19 Jan 2007) | 10 lines

Bugfix #5750

<sob>the 'time cursor' for bake-render has to go... it is being called
inside of a thread (even whilst thread is mutex locked), but that's not
supported in X11. It might be even instable in OSX/Windows even...

Only way to bring it back is to have the main loop (not in thread) update
the time cursor like each second. Would still mean to add a counter var...
will think it over. First want to have confirmed this is stable.

------------------------------------------------------------------------
r9838 | ton | 2007-01-19 13:43:02 +0100 (Fri, 19 Jan 2007) | 8 lines

Bugfix #5748

Composite: when using multiple scene render-nodes, and one of these
scenes got re-rendered (by making scene active temporary), the composite
cache should free the used buffers.

Now, on each render, all scenes in a Blender project are being checked.

------------------------------------------------------------------------
r9837 | joeedh | 2007-01-19 11:05:17 +0100 (Fri, 19 Jan 2007) | 8 lines

=Forward cycling fix=

Commit of patch #5385, to make forward cycling more
user-controllable.  Previously it only worked on one axis,
which was auto-detected from movement.  This allows forward
cycling to work in more situations, such as stair
stepping.

------------------------------------------------------------------------
r9836 | aligorith | 2007-01-19 08:32:40 +0100 (Fri, 19 Jan 2007) | 3 lines

This commit fixes the compiler warning from a previous commit (to move visual
keyframing backend stuff to a better place in code).

------------------------------------------------------------------------
r9835 | jesterking | 2007-01-19 06:23:58 +0100 (Fri, 19 Jan 2007) | 3 lines

* moved the 64bit checking code _after_ the int audio stuff, so msvc compiles happily
 again.

------------------------------------------------------------------------
r9834 | erwin | 2007-01-19 04:14:51 +0100 (Fri, 19 Jan 2007) | 2 lines

fix crash in constraint  conversion, fix reference frame transformations for generic 6dof constraint

------------------------------------------------------------------------
r9833 | erwin | 2007-01-19 04:10:19 +0100 (Fri, 19 Jan 2007) | 2 lines

collada blender constraint fixes

------------------------------------------------------------------------
r9832 | nicholasbishop | 2007-01-19 02:32:47 +0100 (Fri, 19 Jan 2007) | 2 lines

Partial fix for bug #5749, Modifier redraw problems. The mesh wasn't being flushed properly to show updates when auto creating faces; also added missing undo push and view refresh.

------------------------------------------------------------------------
r9831 | ton | 2007-01-18 21:57:08 +0100 (Thu, 18 Jan 2007) | 5 lines

Small fix to prevent people to compile 64 bits blenders, without knowing
it might be harmful.

(It will print warning in console and exits Blender.)

------------------------------------------------------------------------
r9830 | ton | 2007-01-18 21:06:48 +0100 (Thu, 18 Jan 2007) | 5 lines

Bugfix, irc reported

Node shaders, Texture Node, without input connected it did not default to
use "orco" anymore. Was caused by commits that cleaned up render code.

------------------------------------------------------------------------
r9829 | schlaile | 2007-01-18 19:47:06 +0100 (Thu, 18 Jan 2007) | 5 lines

== Sequencer ==

Fixes bug #5494 reported by Wiebe (halfgaar):
After duplicate, last_seq wasn't correctly updated.

------------------------------------------------------------------------
r9828 | schlaile | 2007-01-18 19:22:06 +0100 (Thu, 18 Jan 2007) | 5 lines

== Sequencer ==

This fixes Bug #5299 (patch by Vladimir Marek (neuron) ), silencing
Sun CC, which is very picky in it's name mangling behaviour.

------------------------------------------------------------------------
r9827 | campbellbarton | 2007-01-18 19:09:28 +0100 (Thu, 18 Jan 2007) | 5 lines

IDProp, removed reference to self - other EPYDocs dont use this and its confusing.
Differentiated properties and "game properties" in Object docs.

Also the new NLA/Pose key docs were added in the property class instead of Object, tsk tsk.

------------------------------------------------------------------------
r9826 | sirdude | 2007-01-18 17:44:50 +0100 (Thu, 18 Jan 2007) | 6 lines



removed since it no longer works and with render layers not really needed.

Kent

------------------------------------------------------------------------
r9825 | ton | 2007-01-18 17:14:37 +0100 (Thu, 18 Jan 2007) | 5 lines

Bugfix #5394

Option "Apply Modifier" did not work for meshes with shape keys. Even made
a very bad mess of the Mesh. Added warning in code and prevented apply.

------------------------------------------------------------------------
r9824 | sirdude | 2007-01-18 16:39:59 +0100 (Thu, 18 Jan 2007) | 7 lines



very minnor cleanup of spacing, and modify upperbounds on plugin version #
so 5 is acceptable.  (So texture plugins work when compiled against cvs)

Kent

------------------------------------------------------------------------
r9823 | ton | 2007-01-18 16:23:28 +0100 (Thu, 18 Jan 2007) | 11 lines

Bugfix #5316

Order of freeing of Blender database is important, but the past year(s)
new database entries were added in wrong places, so freeing could go in
wrong order. In this case it was Groups being freed before Objects. But
there are more errors...

It only shows really in Windows, since it's the OS that is sensitive for
writing data in freed memory. For other OSes it doesn't make Blender more
stable, only mem-frees happened, no mem-allocs.

------------------------------------------------------------------------
r9822 | erwin | 2007-01-18 12:17:10 +0100 (Thu, 18 Jan 2007) | 2 lines

fixes in ColladaBlender, rigidbody/constraint related

------------------------------------------------------------------------
r9821 | ton | 2007-01-18 11:59:23 +0100 (Thu, 18 Jan 2007) | 5 lines

Part 2 of bugfix #5741

Modifiers; on read file it sets user counter of linked ID data, except
for Object IDs.

------------------------------------------------------------------------
r9820 | ton | 2007-01-18 11:33:47 +0100 (Thu, 18 Jan 2007) | 7 lines

Bugfix #5741

Displace modifier now increases user count for Texture it links with.

Note: user counters for objects should not be increased. This is handled
differently (delete object = clear modifiers)

------------------------------------------------------------------------
r9819 | ton | 2007-01-18 10:09:16 +0100 (Thu, 18 Jan 2007) | 6 lines

Bugfix:

Compositing, depenency fix, so nodes execute only when really changed.
(Error was in nodes that don't get buffers as input, but only values. These
nodes flooded "execute" events through the node tree.)

------------------------------------------------------------------------
r9818 | letterrip | 2007-01-18 09:39:31 +0100 (Thu, 18 Jan 2007) | 3 lines

= line ending fix =
these files all had non unix line endings...

------------------------------------------------------------------------
r9817 | nicholasbishop | 2007-01-18 08:04:08 +0100 (Thu, 18 Jan 2007) | 2 lines

Fixed bug #5742, Crash on sculpt mode. This bug was triggered when adding a new object while already in sculpt mode. Sculpt mode wasn't being deactived on cameras, lamps, etc. Fixed in add_object_draw() by turning off G_SCULPTMODE, also by adding a check in sculpt_init_session() to be sure any previous session is free'd before making a new one.

------------------------------------------------------------------------
r9816 | nicholasbishop | 2007-01-18 05:08:01 +0100 (Thu, 18 Jan 2007) | 2 lines

Bugfix for retopo paint: deleting a line didn't do an undo push.

------------------------------------------------------------------------
r9815 | erwin | 2007-01-18 03:38:34 +0100 (Thu, 18 Jan 2007) | 4 lines

ColladaBlender
fix for allowing multiple rigidbodies inside a single physics model. this is necessary to allow for constaints (they need to be within the same physics model)...
Patch will be provided to subversion/sourceforge.

------------------------------------------------------------------------
r9814 | campbellbarton | 2007-01-18 02:10:48 +0100 (Thu, 18 Jan 2007) | 4 lines

error in generating projections fixed.
also modified the margin value so you dont need to have values like 0.001
and added an option not to use face areas to weight projections.

------------------------------------------------------------------------
r9813 | ton | 2007-01-17 22:07:10 +0100 (Wed, 17 Jan 2007) | 8 lines

Bugfix #5732

Python scripts: when setting a layer for an object, the function assumed
the object had to be in the current scene, thus ignoring layers for other
objects.

Now the object->lay value is set always.

------------------------------------------------------------------------
r9812 | campbellbarton | 2007-01-17 16:04:37 +0100 (Wed, 17 Jan 2007) | 2 lines

bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing slashes

------------------------------------------------------------------------
r9811 | campbellbarton | 2007-01-17 16:01:56 +0100 (Wed, 17 Jan 2007) | 2 lines

bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing shashes

------------------------------------------------------------------------
r9810 | ton | 2007-01-17 15:12:48 +0100 (Wed, 17 Jan 2007) | 5 lines

Bugfix #5725

Curves widget: using "clipping" option didn't work well when dragging
multiple points. Now it clips based on entire selection.

------------------------------------------------------------------------
r9809 | sirdude | 2007-01-17 15:10:02 +0100 (Wed, 17 Jan 2007) | 15 lines



in seqeffects.c I removed and extra ; and then did a lot of formatting
fixes.

gamma.c made it return B_PLUGIN_VERSION instead of a hard coded 4.
I haven't had time to look at the other plugins but I'm guessing
the deal was B_PLUGIN_VERSION was still 3 and gamma.c was float aware
so it was bummped to 4.  Now that B_PLUGIN_VERSION is 5 I'm guessing
the other plugins need to be updated so they are at level 5 as well.
(float aware)  I'm going to work on it later today.  At home with a
sick kid.  This is all in reference to bug #5692

Kent

------------------------------------------------------------------------
r9808 | campbellbarton | 2007-01-17 13:40:40 +0100 (Wed, 17 Jan 2007) | 2 lines

button alignment for logic buttons

------------------------------------------------------------------------
r9807 | nicholasbishop | 2007-01-17 09:22:52 +0100 (Wed, 17 Jan 2007) | 2 lines

Fixed bug #5718, retopo - undo after applying returns the pen strokes to the wrong location

------------------------------------------------------------------------
r9806 | aligorith | 2007-01-17 06:53:44 +0100 (Wed, 17 Jan 2007) | 6 lines

(Hopefully this commit is ok for current bcon status)

Moved function used for 'Visual' keyframing, to live with the rest of the
API calls I added for Pose-Mode bone snapping. Now, it is in a more
'releasable' state.

------------------------------------------------------------------------
r9805 | nicholasbishop | 2007-01-17 05:02:09 +0100 (Wed, 17 Jan 2007) | 2 lines

Fixed bug #5647, retopo - projection buffer not updated when changed via numpad. Was caused by not updating the depth and matrix retopo data when changing the view.

------------------------------------------------------------------------
r9804 | nicholasbishop | 2007-01-17 04:57:01 +0100 (Wed, 17 Jan 2007) | 2 lines

Added a new function+struct to glutil that takes care of reading in the OpenGL data needed for gluProject/gluUnProject. This allows retopo and sculptmode to share some of the same code, and is probably useful elsewhere as well.

------------------------------------------------------------------------
r9803 | aligorith | 2007-01-17 04:24:21 +0100 (Wed, 17 Jan 2007) | 6 lines

== NLA Visibility Tweak ==

In a few cases, it may be helpful to turn off the 'only show objects that are
in visible scene layers in the nla' trick. By default though, this is still on. Find
the switch in the View menu of NLA editor.

------------------------------------------------------------------------
r9802 | scourage | 2007-01-16 22:52:46 +0100 (Tue, 16 Jan 2007) | 3 lines


Corrected buffer generation in matte nodes after Ton showed me a better way to do it.

------------------------------------------------------------------------
r9801 | sirdude | 2007-01-16 22:34:39 +0100 (Tue, 16 Jan 2007) | 7 lines



fixed stupid little warning about targets differ in signedness.
(unsigned char verses char)

Kent

------------------------------------------------------------------------
r9800 | nicholasbishop | 2007-01-16 20:39:30 +0100 (Tue, 16 Jan 2007) | 2 lines

Retopo paint fix: cleaned up the hotkeys, added Lkey for selecting the line tool, Hkey for toggling the pen hotspot.

------------------------------------------------------------------------
r9799 | nicholasbishop | 2007-01-16 20:21:24 +0100 (Tue, 16 Jan 2007) | 2 lines

Fix for retopo: xkey and deletekey should remove the active paint line.

------------------------------------------------------------------------
r9798 | nicholasbishop | 2007-01-16 20:06:58 +0100 (Tue, 16 Jan 2007) | 2 lines

Usabilility fix for retopo: allow user to disable hotspots on line ends, also only display the controls for each tool (pen, line, and ellipse) when that tool is selected.)

------------------------------------------------------------------------
r9797 | theeth | 2007-01-16 19:55:15 +0100 (Tue, 16 Jan 2007) | 8 lines

=== Transform Bug Fix ===

[ #5458 ] Some transforms are not accurate while pressing shift key

Shrink/Fatten & Push/Pull: Shift slowed the transformation but didn't add precision. (integer division. fixed by applying the same solution used in Grab)

Warp: Shift was ignored. Fixed by changing warp to use the same input method has To Sphere. That is, the 3D view acts like a big horizontal slider: Left -> No effect, Right -> Full effect. This is somewhat of a "big" change from how warp used to work but this is more predictable and is not limited by the original position of the mouse pointer. (of course, this works with Shift correctly too).

------------------------------------------------------------------------
r9796 | ton | 2007-01-16 17:30:16 +0100 (Tue, 16 Jan 2007) | 9 lines

Bugfix:

Render: Ambient Occlusion was being triggered now with the Material flag
(Shader panel) "Shadow". Nice idea, but that was not so in 2.42a and
before, breaking how previously renders looked.

Now the "Shadow" button in Shaders panel only triggers shadow again.
(Note: the Ambient slider in material triggers AO)

------------------------------------------------------------------------
r9795 | campbellbarton | 2007-01-16 16:19:04 +0100 (Tue, 16 Jan 2007) | 2 lines

dont use python keywords as variable names.

------------------------------------------------------------------------
r9794 | campbellbarton | 2007-01-16 15:45:23 +0100 (Tue, 16 Jan 2007) | 2 lines

silly error in last commit.

------------------------------------------------------------------------
r9793 | campbellbarton | 2007-01-16 15:33:32 +0100 (Tue, 16 Jan 2007) | 2 lines

cleaned up uv island projection generation and added an option 'Init from view' - to use the view vector as one of the first projections

------------------------------------------------------------------------
r9792 | aligorith | 2007-01-16 10:18:01 +0100 (Tue, 16 Jan 2007) | 17 lines

== Armature Joining Bugfixes ==

Since 2.40 (and a few pre-releases around then), armature joining has not
worked correctly. Constraints and other attributes of bones in posemode
(IK DOF limits, transform locks, custom shapes, etc.) were not preserved
on the armature(s) that were joined onto the last selected armature. This
was a serious production problem, as it meant that you could not easily
add pre-made rig segments and merge them with the rest of your rigs without
having to redo all the constraints. After a few attempts, I've finally
managed to fix this.

All constraints and parenting relationships get name corrections for the post-
merge armatures. Action channels in actions don't really get any corrections
yet unless the action is being used by an Action Constraint.

Python-API people: beware, I may have broken something in this commit.

------------------------------------------------------------------------
r9791 | nicholasbishop | 2007-01-16 09:29:39 +0100 (Tue, 16 Jan 2007) | 2 lines

Retopo bugfix: freeing editmesh should set retopo fields to 0/NULL.

------------------------------------------------------------------------
r9790 | nicholasbishop | 2007-01-16 08:35:42 +0100 (Tue, 16 Jan 2007) | 2 lines

Fix for bug #5628, sculpt - ghost of circle left when going from 3d view to buttons window. Added a check to insure brush is inside the current view3d before drawing.

------------------------------------------------------------------------
r9789 | nicholasbishop | 2007-01-16 07:56:03 +0100 (Tue, 16 Jan 2007) | 2 lines

Fixed a memory leak caused by using sculptmode's partial visibility on a mesh with customdata.

------------------------------------------------------------------------
r9788 | nicholasbishop | 2007-01-16 07:49:57 +0100 (Tue, 16 Jan 2007) | 2 lines

A few fixes for saving/loading partial mesh visibility (sculptmode): pay better attention to how many verts/edges/faces there really are (not just the visibile ones)

------------------------------------------------------------------------
r9787 | campbellbarton | 2007-01-16 07:39:15 +0100 (Tue, 16 Jan 2007) | 2 lines

set the render aspect correctly when rendering non square images.

------------------------------------------------------------------------
r9786 | nicholasbishop | 2007-01-16 07:36:50 +0100 (Tue, 16 Jan 2007) | 2 lines

Disable partial mesh visibility when leaving sculptmode.

------------------------------------------------------------------------
r9785 | stiv | 2007-01-16 06:20:39 +0100 (Tue, 16 Jan 2007) | 2 lines

fix for warning: implicit declaration of function 'id_us_plus'.  tsk.

------------------------------------------------------------------------
r9784 | stiv | 2007-01-16 05:08:12 +0100 (Tue, 16 Jan 2007) | 5 lines

bugfix: #5581 Joining python created curves crashes Blender

Curve_appendNurb() was incorrectly appending Nurb to Curve
rather than using BLI_addtail().

------------------------------------------------------------------------
r9783 | campbellbarton | 2007-01-16 03:49:58 +0100 (Tue, 16 Jan 2007) | 2 lines

wasnt working for mixed modes

------------------------------------------------------------------------
r9782 | ianwill | 2007-01-16 01:50:31 +0100 (Tue, 16 Jan 2007) | 3 lines

Scripts:
  More small updates to the ac3d importer, to calculate normals for the created meshes and to avoid problems with older .ac files.

------------------------------------------------------------------------
r9781 | campbellbarton | 2007-01-16 00:37:34 +0100 (Tue, 16 Jan 2007) | 2 lines

was missing a check for the end edge that made skinning it raise an error.

------------------------------------------------------------------------
r9780 | aligorith | 2007-01-15 23:37:36 +0100 (Mon, 15 Jan 2007) | 7 lines

== Action Editor ==

Final tweaks to Snapping and Mirroring tools:
* Snap To Nearest Marker
* Mirror Values of Horizontal Axis
* Mirror Over Selected Marker

------------------------------------------------------------------------
r9779 | intrr | 2007-01-15 23:31:22 +0100 (Mon, 15 Jan 2007) | 5 lines



Further tweaks to the textframe drawing code... it was unnecessarily
complicated...

------------------------------------------------------------------------
r9778 | intrr | 2007-01-15 23:18:42 +0100 (Mon, 15 Jan 2007) | 6 lines



Partial Bugfix #5713:

Textframe heights now draw exactly as set in the buttons.

------------------------------------------------------------------------
r9777 | antont | 2007-01-15 17:00:36 +0100 (Mon, 15 Jan 2007) | 6 lines

Cleanup of pose insert methods for Armature objects, as planned in the post to bf-python.
Two sensible methods left in: armatureobject.insertPoseKey and .insertCurrentPoseKey,
but still left unofficial i.e. not published in the api doc yet, because of additional
error checking is still needed and more testing too. But at least is now in better shape to
work on to be published in a later release.

------------------------------------------------------------------------
r9776 | ton | 2007-01-15 16:10:31 +0100 (Mon, 15 Jan 2007) | 5 lines

Bugfix:

Material buttons: "Strands" menu closed after each button usage. Should
remain open until ENTER or ESC pressed or mouse leaves menu.

------------------------------------------------------------------------
r9775 | ton | 2007-01-15 16:01:58 +0100 (Mon, 15 Jan 2007) | 5 lines

Removed annoying print for "icon directory not found". Was a missing check.
Probably, after release, we make this default in installs.

Also cleaned up code a bit.

------------------------------------------------------------------------
r9774 | ton | 2007-01-15 15:11:38 +0100 (Mon, 15 Jan 2007) | 6 lines

Restored language order of menu... it apparently uses the order of entries
to remember chosen language.
Currently arab was default even! :)

(Fix caused by commit of 9 days ago)

------------------------------------------------------------------------
r9773 | ton | 2007-01-15 14:58:41 +0100 (Mon, 15 Jan 2007) | 5 lines

Removed float.h "tanf()" from composte code. Also removed ifdef for atanf.

(note; this is because blender still follows the convention that no float.h
math is available)

------------------------------------------------------------------------
r9772 | ton | 2007-01-15 13:44:45 +0100 (Mon, 15 Jan 2007) | 8 lines

Two in one:

- Bugfix #5714
  New option "Save changed images" didn't respect relative file names

- Bugfix #5621
  New camera (shiftx, shifty) was missing in IpoWindow as animatable option

------------------------------------------------------------------------
r9771 | ton | 2007-01-15 12:41:10 +0100 (Mon, 15 Jan 2007) | 8 lines

Bugfix #5712

UV rendering error: the third value of a UV texture coordinate should be
set to zero always, this enables 3d textures to work uniform with UV.

Also fixed: UV pass output for non_OSA is now equal to OSA, meaning only
used UV face values are in such passes.

------------------------------------------------------------------------
r9770 | ton | 2007-01-15 12:01:41 +0100 (Mon, 15 Jan 2007) | 5 lines

Bugfix #5700

Deleting a marker could crash, it was reading memory right after it was
freed.

------------------------------------------------------------------------
r9769 | campbellbarton | 2007-01-15 08:59:29 +0100 (Mon, 15 Jan 2007) | 2 lines

when a vert is shared by more then 1 vertloop give a nice error and exit

------------------------------------------------------------------------
r9768 | joeedh | 2007-01-15 08:54:08 +0100 (Mon, 15 Jan 2007) | 7 lines

=ID Property Script update and api bugfix=

Turned out somehow I managed to miss adding the proper
type refs in Blender.Types for IDGroupType and IDArrayType,
which made the script not work.  So, I've got it all fixed now.
Or at least hopefully :)

------------------------------------------------------------------------
r9767 | aligorith | 2007-01-15 02:56:58 +0100 (Mon, 15 Jan 2007) | 16 lines

== VisualRot Keyframing ==

After extensive testing, I've concluded that VisualRot keyframing
didn't work at all for bones. On the other hand, VisualRot for Objects
worked fine. Now I've come up with a fix, which should make this
actually work for IK/FK switching (I hope).

The fix I'm committing is slightly hacky as it tempolarily overwrites the
bone's rotation/quat values with the 'visual' ones, inserts keyframes,
then resets the values it wrote on before.

This hack was needed as for some strange reason, the values being
added as keyframes were not the ones that had been derived. Note
that on some bones, there will be a little bit of strange rotation after
frame changes while their constraints are left on.

------------------------------------------------------------------------
r9766 | theeth | 2007-01-15 00:42:06 +0100 (Mon, 15 Jan 2007) | 6 lines

=== Constraints Bug Fix ===

Fix for bug: [ #5418 ] Follow Path constraint overrides objects' inherited scale

Patch provided by Aligorith.

------------------------------------------------------------------------
r9765 | ianwill | 2007-01-14 19:13:47 +0100 (Sun, 14 Jan 2007) | 9 lines

Scripts:

Misc updates to the ac3d importer and exporter:
- use Mesh instead of NMesh;
- properly export modified data and materials from either ob or obdata (thanks for mesh.getFromObject :) );
- option to export local rot and loc info;
- better import / export of hierarchies;
- + tiny updates here and there to support old or weird .ac files.

------------------------------------------------------------------------
r9764 | blendix | 2007-01-14 16:52:55 +0100 (Sun, 14 Jan 2007) | 4 lines


Fix for bug #5439:
UV Project modifies original UV coords.

------------------------------------------------------------------------
r9763 | nicholasbishop | 2007-01-14 16:36:19 +0100 (Sun, 14 Jan 2007) | 2 lines

Fix for auto filling faces in editmode: make sure all verts forming a face are selected before creating the face.

------------------------------------------------------------------------
r9762 | blendix | 2007-01-14 16:19:27 +0100 (Sun, 14 Jan 2007) | 9 lines


Fix for bug #5680:
Vertex color node worked only if VCol Paint/Light was enabled. Fixed
that, and removed the vertex color node making it part of the geometry
node instead.

Also, preview.blend had black vertex colors for the sphere, so set them
to white like the other primitives.

------------------------------------------------------------------------
r9761 | blendix | 2007-01-14 13:51:01 +0100 (Sun, 14 Jan 2007) | 5 lines


Bugfix: after drawing a preview in a node shader, vertex colors would
not modulate the texture color in textured draw mode anymore. Cause was
the relevant opengl state not being changed back for drawing the mesh.

------------------------------------------------------------------------
r9760 | blendix | 2007-01-14 13:35:45 +0100 (Sun, 14 Jan 2007) | 7 lines


Fix for bug #5689:
Loss of UV coordinates reading from 2.42 .blend files, if there were
both vertex colors and tfaces (these contained colors also). It should
have been impossible to create them both in 2.42, but even if invalid
we should read them correct.

------------------------------------------------------------------------
r9759 | ton | 2007-01-14 12:51:52 +0100 (Sun, 14 Jan 2007) | 5 lines

Important bugfix: Image mapping "repeat" didn't support mirrored tiling
yet: http://www.blender.org/bf/rep1.jpg

Psst psst... to solve this bug I had to add the buttons for the option too!

------------------------------------------------------------------------
r9758 | aligorith | 2007-01-14 10:30:04 +0100 (Sun, 14 Jan 2007) | 12 lines

== IPO Cleaning ==

Rewrote the core-function responsible for ipo-cleaning. Now, it is in a less
wacko form. What is still not done is the conversion of a bunch of points
describing an arc to an arc defined by the handles of the keyframes on
either side of the arc. That will have to wait for the next development cycle.

This rewrite fixes two big bugs with the code:
* All but first curve got hidden aften cleaning
* Cleaning a curve with only two verts resulted in only one vert, even though
the values were not the same.

------------------------------------------------------------------------
r9757 | nicholasbishop | 2007-01-14 06:31:35 +0100 (Sun, 14 Jan 2007) | 2 lines

Cleaned up some warnings.

------------------------------------------------------------------------
r9756 | nicholasbishop | 2007-01-14 05:55:51 +0100 (Sun, 14 Jan 2007) | 2 lines

Removed draw_mode from SculptData, replaced with draw_flag, which currently controls whether to use partial redraw and whether to draw the brush circle. Added new menu option for display of brush circle.

------------------------------------------------------------------------
r9755 | scourage | 2007-01-14 04:52:55 +0100 (Sun, 14 Jan 2007) | 2 lines

Corrected initialization values for the chroma key node when it is created.

------------------------------------------------------------------------
r9754 | scourage | 2007-01-14 04:42:55 +0100 (Sun, 14 Jan 2007) | 4 lines


After reviewing the channel keyer algorithm, I found that the chroma keyer algorithm was fundamentally the same.  Took the opportunity to implement
a different chroma keying algorithm.  This also solves the problem of the poor UI I had on the chroma key node.

------------------------------------------------------------------------
r9753 | scourage | 2007-01-14 01:05:06 +0100 (Sun, 14 Jan 2007) | 4 lines


fixed typo in node name (I need to learn to spell).  Also added check in matte nodes to see if ouput is connected for the generated matte before
creating it.

------------------------------------------------------------------------
r9752 | scourage | 2007-01-13 23:56:26 +0100 (Sat, 13 Jan 2007) | 3 lines


Re-added the Luma keyer after realizing channeldid not exactly same capability and could not without sgnificant change.

------------------------------------------------------------------------
r9751 | aligorith | 2007-01-13 23:43:46 +0100 (Sat, 13 Jan 2007) | 5 lines

== Action Editor - Delete Menu ==

Removed the 'Both' option as it didn't really work at all; bringing the
Action Editor back into line with the other time-spaces.

------------------------------------------------------------------------
r9750 | khughes | 2007-01-13 19:37:14 +0100 (Sat, 13 Jan 2007) | 6 lines



Python API
----------
Changed Mesh Primitives doc example to use scn.objects.new().

------------------------------------------------------------------------
r9749 | ton | 2007-01-13 11:52:39 +0100 (Sat, 13 Jan 2007) | 6 lines

Bugfix #5698

Material Node Shader crash: new "layered UV" option required a better
version patch... now patches all 2.42.x files, and not only the 2.42.2 and
older :). Yes, subversioning doesn't always make things easier.

------------------------------------------------------------------------
r9748 | snailrose | 2007-01-13 10:00:17 +0100 (Sat, 13 Jan 2007) | 2 lines

Add a break, to get the bumpmap demo running again!

------------------------------------------------------------------------
r9747 | snailrose | 2007-01-13 09:30:08 +0100 (Sat, 13 Jan 2007) | 3 lines

First commit! Small bug fix for cube map crashing in the player.
Cube maps don't display correctly in the player at the moment too.. something to do with regenerating/loading the images

------------------------------------------------------------------------
r9746 | campbellbarton | 2007-01-13 06:06:28 +0100 (Sat, 13 Jan 2007) | 2 lines

added stress and tangent to MTex and texture mapping dict

------------------------------------------------------------------------
r9745 | campbellbarton | 2007-01-13 05:53:41 +0100 (Sat, 13 Jan 2007) | 3 lines

driverExpression - strcpy on wrong type (my bad) fixed.
added .sel bool for Ipo curves.

------------------------------------------------------------------------
r9744 | campbellbarton | 2007-01-13 04:07:04 +0100 (Sat, 13 Jan 2007) | 4 lines

import_obj - name imported objects/mesh data
weightpaint_clean - report how many verts removed from groups
save_theme - no need to do type(''), just use type(vat) == str

------------------------------------------------------------------------
r9743 | aligorith | 2007-01-13 03:40:28 +0100 (Sat, 13 Jan 2007) | 13 lines

== NLA Editor - Shift-N ==

A few tweaks to this little tool I added yesterday. These tweaks are so
that bugs like #5625 and #5636 are less likely to occur due to extreme
scaling.

Now, for action strips added using this:
* Auto-calculation of action range is disabled for that strip
* Strip Start and Action Start are set to the current frame value, when the
strip was added
* Strip End and Action End are set to either the end frame value or 100
frames after the current frame value, whichever is higher.

------------------------------------------------------------------------
r9742 | campbellbarton | 2007-01-13 03:03:38 +0100 (Sat, 13 Jan 2007) | 4 lines

disp_paint - was raising an error when the mesh had no image and texuv was selected, or when the image had no data.
discombobulator - updated to use newer API functions
object_random_loc_sz_rot - improved layout and use new Scene objects.context

------------------------------------------------------------------------
r9741 | blendix | 2007-01-13 01:02:37 +0100 (Sat, 13 Jan 2007) | 5 lines


Fix for bug #5694:
Another issue with division by zero in texture paint, this time in
torus wrapping.

------------------------------------------------------------------------
r9740 | khughes | 2007-01-12 23:40:30 +0100 (Fri, 12 Jan 2007) | 8 lines



Python API
----------
Added CurNurb.recalc() method.  I thought I had commited this before as part
of a bugfix but obviously not.  It allows control point handles be recalculated
after changing  a curve's bezTriples.

------------------------------------------------------------------------
r9739 | khughes | 2007-01-12 23:35:42 +0100 (Fri, 12 Jan 2007) | 6 lines



Python API
----------
Typo corrections in Mesh API doc.

------------------------------------------------------------------------
r9738 | khughes | 2007-01-12 23:15:33 +0100 (Fri, 12 Jan 2007) | 6 lines



Python API
----------
Bugfix: Object.setEuler() didn't accept an Euler object.

------------------------------------------------------------------------
r9737 | ton | 2007-01-12 17:33:34 +0100 (Fri, 12 Jan 2007) | 3 lines

Bugfix, Plumiferos collection: Composite node "Image" didn't show the Z
output socket for regular images anymore.

------------------------------------------------------------------------
r9736 | nicholasbishop | 2007-01-12 17:16:59 +0100 (Fri, 12 Jan 2007) | 2 lines

Enabled slashkey in sculptmode for local view.

------------------------------------------------------------------------
r9735 | ton | 2007-01-12 14:17:15 +0100 (Fri, 12 Jan 2007) | 3 lines

Patch from Matt: for AO baking, instead of warning user that AO was not
active or setup, it just turns on the flags and continues.

------------------------------------------------------------------------
r9734 | ton | 2007-01-12 12:13:34 +0100 (Fri, 12 Jan 2007) | 12 lines

Bugfixes:

- the "number/string button widget", or sbutton(), button() and fbutton()
  calls, were using button event '1' or '2' to denote events, whilst this
  could also be an other defined event.
  Bug showed as unwanted display changes in ipo window after using marker
  renaming for example.

- slider buttons for Action Window were expecting ints, while using short.

- cleanup in blender/src for warnings

------------------------------------------------------------------------
r9733 | campbellbarton | 2007-01-12 11:39:59 +0100 (Fri, 12 Jan 2007) | 2 lines

forgot to convert the matrix to a 3x3. worked but raised a warning.

------------------------------------------------------------------------
r9732 | letterrip | 2007-01-12 10:08:00 +0100 (Fri, 12 Jan 2007) | 4 lines

= removed nendo import/export and tex2uvbaker =

tex2uvbaker is now redundant with buitin functionality so thank you for maintaining this script in the past.  nendo is a marginal format and the scripts are not maintained so removing

------------------------------------------------------------------------
r9731 | jiri | 2007-01-12 09:51:16 +0100 (Fri, 12 Jan 2007) | 4 lines


 - first commit form mac ;-), changed data structure VObjectData a little,
   removed unused code

------------------------------------------------------------------------
r9730 | nicholasbishop | 2007-01-12 09:23:40 +0100 (Fri, 12 Jan 2007) | 2 lines

Added warning for if user attempts to sculpt on a shapekey without turning on the lock (doesn't make sense to sculpt on an interpolated shapekey.)

------------------------------------------------------------------------
r9729 | nicholasbishop | 2007-01-12 07:17:03 +0100 (Fri, 12 Jan 2007) | 2 lines

Removed yet another use of set_sculpt_object.

------------------------------------------------------------------------
r9728 | nicholasbishop | 2007-01-12 07:13:33 +0100 (Fri, 12 Jan 2007) | 2 lines

Added a couple things my last commit missed; one more usage of set_sculpt_object removed, also added a check to make sure the user doesn't try to use partial visiblility on a mesh with shapekeys

------------------------------------------------------------------------
r9727 | aligorith | 2007-01-12 06:29:59 +0100 (Fri, 12 Jan 2007) | 6 lines

Bugfix #5690:

If you set the value of undosteps in userprefs to zero, and tried to save
defaults, the value would get reset to 32. Caused by out-of-place version
patch.

------------------------------------------------------------------------
r9726 | broken | 2007-01-12 06:26:17 +0100 (Fri, 12 Jan 2007) | 5 lines

* Fix: The sculptmode hotkey I to change to Inflate brush wasn't working,
since it was being overridden by blenderqread() in toets.c The existence of
this stuff here alongside the hotkeys in space.c is just plain evil, bring on
the events refactor! :)

------------------------------------------------------------------------
r9725 | nicholasbishop | 2007-01-12 06:13:36 +0100 (Fri, 12 Jan 2007) | 2 lines

Removed set_sculpt_object. Tested with sculpt undo, sculpt+multires, sculpt+partial visibility, and sculpt+shapekeys, seems stable.

------------------------------------------------------------------------
r9724 | nicholasbishop | 2007-01-12 05:47:38 +0100 (Fri, 12 Jan 2007) | 2 lines

Changed the way sculptmode interacts with shape keys. Vertex coordinates are now copied into the active key at the end of each brush action. (This is in preperation for removing the function set_sculpt_object.)

------------------------------------------------------------------------
r9723 | aligorith | 2007-01-12 05:21:23 +0100 (Fri, 12 Jan 2007) | 6 lines

== Action Editor - Grab Transform ==

Fixed bug with 'grid-stepping' with scaled actions. Now, when holding the
Ctrl key or with auto-snapping in this mode, keys move in 1.0 frame intervals
all the time (not just when action was unscaled).

------------------------------------------------------------------------
r9722 | aligorith | 2007-01-12 03:34:47 +0100 (Fri, 12 Jan 2007) | 10 lines

== NLA Editor ==

Minor workflow tweak - Add New Empty Action as New Action Strip.
Hotkey: Shift N.
Menu Entry: 'Strip' menu

Creates a new action, and adds it as an action strip at the bottom of
the list nla-strips for an object. Useful for creating additional strips to
correct poses of prior strips.

------------------------------------------------------------------------
r9721 | broken | 2007-01-12 02:13:27 +0100 (Fri, 12 Jan 2007) | 4 lines

== Interface ==

Touched up the render baking header menu.

------------------------------------------------------------------------
r9720 | campbellbarton | 2007-01-12 01:31:18 +0100 (Fri, 12 Jan 2007) | 2 lines

error, camera scale couldnt be set. bpyrender now sets ortho properly

------------------------------------------------------------------------
r9719 | elubie | 2007-01-11 21:01:31 +0100 (Thu, 11 Jan 2007) | 3 lines

==== MSVC 7 project files ====
- small update:added multires-firstlevel.c

------------------------------------------------------------------------
r9718 | erwin | 2007-01-11 19:48:54 +0100 (Thu, 11 Jan 2007) | 3 lines

Updated to the most recent ColladaBlender to fix some bugs
This includes my rigidbody patch for translator.py.

------------------------------------------------------------------------
r9717 | khughes | 2007-01-11 16:27:58 +0100 (Thu, 11 Jan 2007) | 7 lines



Python API
----------
Change Scene API example to use scene.objects.new() instead of
Object.New()/ob.link()/scene.link().

------------------------------------------------------------------------
r9716 | blendix | 2007-01-11 16:00:17 +0100 (Thu, 11 Jan 2007) | 5 lines


Fix for bug #5666:
Crash texture painting with airbrush and pressure, due to division by
zero and resulting nan's. Cause of this crash found by Andrea, thanks!

------------------------------------------------------------------------
r9715 | ton | 2007-01-11 15:08:45 +0100 (Thu, 11 Jan 2007) | 4 lines

Bugfix #5681

Mesh editmode; "Separate" tool crashed when Object had fluidsettings.

------------------------------------------------------------------------
r9714 | ton | 2007-01-11 13:13:54 +0100 (Thu, 11 Jan 2007) | 5 lines

bugfix #5683

IpoWindow: trying to assign a action-ipo to a Bone failed if Bone had not
yet be included in Action.

------------------------------------------------------------------------
r9713 | campbellbarton | 2007-01-11 10:39:16 +0100 (Thu, 11 Jan 2007) | 2 lines

tested export scripts with a large scene and resolved errors that came up as well as some speedups- mostly problems with lightwave_export

------------------------------------------------------------------------
r9712 | campbellbarton | 2007-01-11 10:15:31 +0100 (Thu, 11 Jan 2007) | 2 lines

made mesh.getFromObject also get the meshes smoothing value when copied from another mesh object.

------------------------------------------------------------------------
r9711 | nicholasbishop | 2007-01-11 09:27:04 +0100 (Thu, 11 Jan 2007) | 2 lines

Setting the active UV layer now works correctly on multires levels other than 1.

------------------------------------------------------------------------
r9710 | nicholasbishop | 2007-01-11 08:30:47 +0100 (Thu, 11 Jan 2007) | 2 lines

Prevent user from editing multires UV coords except on level 1.

------------------------------------------------------------------------
r9709 | nicholasbishop | 2007-01-11 08:01:30 +0100 (Thu, 11 Jan 2007) | 2 lines

Further cleanups for multires' firstlevel data (both weights and UVs.)

------------------------------------------------------------------------
r9708 | campbellbarton | 2007-01-11 07:48:25 +0100 (Thu, 11 Jan 2007) | 9 lines

improved this script

* use mesh.transform instead of a python matrix multiplication function.
* use the image filename rather then ID name for the URL
* use the scenes world rather then the first world for getting world data.
* mesh.verts.index(face.vert[i]) is extreamly slow!, use face.vert[i].index instead. also got rid of a face loop in a face loop that didnt do anything.

Still need to move this script to Mesh from NMesh

------------------------------------------------------------------------
r9707 | campbellbarton | 2007-01-11 03:09:45 +0100 (Thu, 11 Jan 2007) | 2 lines

some PLY files dont have faces, made these import without raising an error.

------------------------------------------------------------------------
r9706 | campbellbarton | 2007-01-11 01:05:36 +0100 (Thu, 11 Jan 2007) | 2 lines

Fly mode now detects weather Z is up to start with and sets the initial Z locking from this.

------------------------------------------------------------------------
r9705 | ton | 2007-01-10 22:09:42 +0100 (Wed, 10 Jan 2007) | 5 lines

bugfix #5545

Bake Render now works for dupli-verted lamps.
Note, shift+z shaded view too!

------------------------------------------------------------------------
r9704 | ton | 2007-01-10 16:25:02 +0100 (Wed, 10 Jan 2007) | 6 lines

Bugfix #5487 (among others)

glDrawArrays() for a closed line loop (polygon) crashes in some platforms,
but why we couldn't find any reason for.
Replaced code with regular glBegin() and glEnd().

------------------------------------------------------------------------
r9703 | ton | 2007-01-10 13:35:04 +0100 (Wed, 10 Jan 2007) | 4 lines

Bugfix #5670

Background render for multires/sculpt crashed due to using UI data.

------------------------------------------------------------------------
r9702 | letterrip | 2007-01-10 12:37:19 +0100 (Wed, 10 Jan 2007) | 4 lines

= dxf update =

update by the script author - may have killed some changes cambo did to the previous version but the layout of the script is too significantly different to merge them.

------------------------------------------------------------------------
r9701 | ton | 2007-01-10 12:32:36 +0100 (Wed, 10 Jan 2007) | 6 lines

Bugfix #5673

UV ImageWindow, composite preview screwed up view matrix, so UV editing
doesnt work with it. Simply fixed it with not allowing this preview panel
unless image type is OK. With new image API a trivial check.

------------------------------------------------------------------------
r9700 | ton | 2007-01-10 12:07:25 +0100 (Wed, 10 Jan 2007) | 5 lines

Bugfix #5764

Added a check and warning in renderpipe init for 'renderer' type. Unknown
render engines (like from experimental builds) can crash.

------------------------------------------------------------------------
r9699 | aligorith | 2007-01-10 09:51:24 +0100 (Wed, 10 Jan 2007) | 5 lines

== Action/IPO Cleaning Cleanup ==

Further cleanups, this time moving all the checks for making sure that
the cleaning threshold is defined are centralised in the do_versions code.

------------------------------------------------------------------------
r9698 | aligorith | 2007-01-10 09:33:05 +0100 (Wed, 10 Jan 2007) | 11 lines

Bugfix #5625:

When adding keyframes to a very-short action scaled to long-lengths in the
NLA editor, exisiting keyframes would disappear. The culprit was a very large
threshold value used to cull duplicate keyframes. This bug was even present
in 2.42(a).

Although this fixes the bug, further work is needed on preventing future cases
of badly scaled actions. Actions with length of 0.9 frames representing motion
of 200 frame ranges is not on.

------------------------------------------------------------------------
r9697 | nicholasbishop | 2007-01-10 09:16:27 +0100 (Wed, 10 Jan 2007) | 2 lines

Made deleting a UV layer work correctly with multires enabled. Still need to do adding and renaming layers.

------------------------------------------------------------------------
r9696 | nicholasbishop | 2007-01-10 08:24:29 +0100 (Wed, 10 Jan 2007) | 2 lines

Added missing include to multires.c.

------------------------------------------------------------------------
r9695 | nicholasbishop | 2007-01-10 07:43:03 +0100 (Wed, 10 Jan 2007) | 2 lines

Modified weightpaint to prevent user from editing multires weights except on level 1.

------------------------------------------------------------------------
r9694 | nicholasbishop | 2007-01-10 07:29:44 +0100 (Wed, 10 Jan 2007) | 2 lines

A few cleanups for multires (removed commented-out code, unused variables), also removed use_tex flag from the Multires struct (that is now stored implicitly by the fdata struct.)

------------------------------------------------------------------------
r9693 | nicholasbishop | 2007-01-10 07:09:10 +0100 (Wed, 10 Jan 2007) | 10 lines

Large fix for multires. Changed UV coordinates (MTFaces) to be special first-level data in multires. The data is now stored in a standard CustomData struct in Multires, rather than being stored for each level. (The UVs can now only be edited on level 1.) Changes allow multiple sets of UVs to work correctly. This change should also decrease multires memory usage some (though only when UVs are being used, of course.)

Changes to CustomData:
Some functions would only return the current active layer, added extra variants that take an index to select the level (modeled after CustomData_get_layer_n.)

Still todo:
* UVs are being interpolated linearly, should probably offer Catmull-Clark subdivision like Subsurf modifier.
* Vertex Colors still don't support multiple customdata layers.
* Editing UV data on levels other than 1 should be disabled in the interface (same for weights)

------------------------------------------------------------------------
r9692 | aligorith | 2007-01-10 03:22:22 +0100 (Wed, 10 Jan 2007) | 4 lines

Added a couple of stubs so that blenderplayer compiles fine again after
verse commit. Could someone who is familiar with stubs check that this
is done the right way?

------------------------------------------------------------------------
r9691 | erwin | 2007-01-10 02:16:49 +0100 (Wed, 10 Jan 2007) | 2 lines

Bugfix from Malachy, for some IPO logic brick changes.

------------------------------------------------------------------------
r9690 | aligorith | 2007-01-09 23:29:59 +0100 (Tue, 09 Jan 2007) | 5 lines

== Armatures ==

Some tweaks to the 'Armature' Editing panel button layout so that buttons
are not so cramped now that ghost options are no longer there.

------------------------------------------------------------------------
r9689 | aligorith | 2007-01-09 23:27:27 +0100 (Tue, 09 Jan 2007) | 16 lines

== Action Editor -> Auto-Snap ==

There's a new selection-box on the header of the action editor, which
sets the mode of auto-snapping for transforms. By default auto-snapping
is off.

There are 3 modes of auto-snap:
* Off - transforms per normal
* Frame Step - grid-step transform (may have errors with scaled actions)
* Nearest Frame - true snap-to-frame (takes into account nla-scaling)

These translate to the following hotkeys when transforming:
* Off - no keys press/held (as it's always been)
* Frame Step - Ctrl (as it's always been)
* Nearest Frame - Shift (replaces old shift-key behaviour which was not useful)

------------------------------------------------------------------------
r9688 | letterrip | 2007-01-09 19:49:10 +0100 (Tue, 09 Jan 2007) | 4 lines

= arabic translation =

arabic translation by M. Bashir Al-Noimi, be aware that we don't support right to left languages so this may not be of benefit to end users currently

------------------------------------------------------------------------
r9687 | campbellbarton | 2007-01-09 17:58:39 +0100 (Tue, 09 Jan 2007) | 2 lines

forgot to remove when I changed the name.

------------------------------------------------------------------------
r9686 | campbellbarton | 2007-01-09 17:01:38 +0100 (Tue, 09 Jan 2007) | 3 lines

ply export patch 5576 applied with parts rewritten.
BPyMesh getMeshFromObject bugfix in some cases non mesh object types could be a problem.

------------------------------------------------------------------------
r9685 | campbellbarton | 2007-01-09 15:06:25 +0100 (Tue, 09 Jan 2007) | 2 lines

added a note that mesh.update() has changed sine 2.42 and a warning about the Eeekadoodle that haunts Mesh since its a thin wrapper.

------------------------------------------------------------------------
r9684 | ton | 2007-01-09 14:58:51 +0100 (Tue, 09 Jan 2007) | 6 lines

Added flag in MultiChannel exr file to denote line order. Blender has the
Y coordinate 0 in left-bottom of screen :)

Fun news: cinepaint now reads such files too:
http://www.blender.org/bf/cornelius.exr_sc1.jpg

------------------------------------------------------------------------
r9683 | jiri | 2007-01-09 12:50:45 +0100 (Tue, 09 Jan 2007) | 7 lines



 - Bug fix: object trnasformation now follows verse specification. It
   means, other verse client will display object transformation correctly.
   Objects will not be up-side down etc. Bug reported at irc by Emil.
   Thanks!

------------------------------------------------------------------------
r9682 | ton | 2007-01-09 12:10:12 +0100 (Tue, 09 Jan 2007) | 9 lines

- Added panel for Bake render (tabbed now in 'anim' panel).
  (Empty space will get OSA options, that I add tomorrow or so)

- Removed a lot of old unused variables in renderdata. Also meant I had
  to remove this from python API... please check if this gives valid
  scripts?

- Cleaned up bad formatted code for FFMPG buttons (spaces instead of tabs)

------------------------------------------------------------------------
r9681 | campbellbarton | 2007-01-09 10:24:20 +0100 (Tue, 09 Jan 2007) | 2 lines

Made skinning between 2 open edge loops work better

------------------------------------------------------------------------
r9680 | nicholasbishop | 2007-01-09 10:02:04 +0100 (Tue, 09 Jan 2007) | 2 lines

Disallow CTRL+click to add verts when multires is enabled.

------------------------------------------------------------------------
r9679 | nicholasbishop | 2007-01-09 09:28:01 +0100 (Tue, 09 Jan 2007) | 2 lines

Fixed typo in multires (looping through to totvert rather than totedge.)

------------------------------------------------------------------------
r9678 | campbellbarton | 2007-01-09 06:28:37 +0100 (Tue, 09 Jan 2007) | 3 lines

fixes spelling of filename.
Window.c was calling undo_push_mesh, even for non mesh objects, exiting editmode would crash for any non mesh object (found with the armature symmetry script), bad juju.

------------------------------------------------------------------------
r9677 | nicholasbishop | 2007-01-09 06:22:48 +0100 (Tue, 09 Jan 2007) | 2 lines

Bugfix for multires: when deleting lower levels, special first-level data must be subdivided up to the level of the new lowest level. This wasn't being done for dverts. In fixing this, I also reorganized the code for subdividing multires dverts, much cleaner now.

------------------------------------------------------------------------
r9676 | scourage | 2007-01-09 05:32:39 +0100 (Tue, 09 Jan 2007) | 3 lines


Format corrections.

------------------------------------------------------------------------
r9675 | campbellbarton | 2007-01-09 04:33:32 +0100 (Tue, 09 Jan 2007) | 4 lines

R key when face select mode and weight mode were enabled, would rotate UV coords.
Most other operations use WP keys instead of UV/Face, so R now rotates the posebone instead.
When combining the modes this your more offten wanting to move the pose then the UVcoords.

------------------------------------------------------------------------
r9674 | nicholasbishop | 2007-01-09 04:17:03 +0100 (Tue, 09 Jan 2007) | 2 lines

Sculptmode bugfix: textures were not being scaled correctly to a [0,1] range for brush strength.

------------------------------------------------------------------------
r9673 | nicholasbishop | 2007-01-09 04:00:58 +0100 (Tue, 09 Jan 2007) | 2 lines

Sculptmode bugfix: use actual active object to check when to update zbuffer data when drawing with xray objects.

------------------------------------------------------------------------
r9672 | nicholasbishop | 2007-01-09 01:47:23 +0100 (Tue, 09 Jan 2007) | 2 lines

Improved exiting retopo paint; clicking on either of the retopo toggles in editmode will popup a question to check whether retopo paint should be applied or canceled.

------------------------------------------------------------------------
r9671 | campbellbarton | 2007-01-09 01:36:42 +0100 (Tue, 09 Jan 2007) | 3 lines

image_auto_layout update to use new UV coords, bugfix #5624 thenaks (fredz)
added some text to mesh_boneweight_copy

------------------------------------------------------------------------
r9670 | nicholasbishop | 2007-01-09 00:52:59 +0100 (Tue, 09 Jan 2007) | 2 lines

Multires bugfix: wrong interpolation value for weights on triangle faces.

------------------------------------------------------------------------
r9669 | blendix | 2007-01-09 00:47:03 +0100 (Tue, 09 Jan 2007) | 4 lines


Fix for bug #5606:
Subsurf modifier displays normals wrong with mixed smooth and solid faces.

------------------------------------------------------------------------
r9668 | nicholasbishop | 2007-01-09 00:41:42 +0100 (Tue, 09 Jan 2007) | 2 lines

Bugfix for multirse, Mesh wasn't being properly updated with weightpaint data after switching back to level 1.

------------------------------------------------------------------------
r9667 | blendix | 2007-01-08 22:20:18 +0100 (Mon, 08 Jan 2007) | 9 lines


Fix for bug and #5449 and #5423:
Crashes using flip triangle edges or beauty fill.

The cause was edges being marked for deletion and deleted that are
still in use by faces. This could happen if the edge was part of a
quad or unselected triangle, or if the edge was marked for deletion,
but then needed again because of another flip.

------------------------------------------------------------------------
r9666 | ton | 2007-01-08 21:53:43 +0100 (Mon, 08 Jan 2007) | 5 lines

Bugfix #5548

New option to use "Tangent Space normalmap" normals now works for node
materials.

------------------------------------------------------------------------
r9665 | ton | 2007-01-08 15:55:53 +0100 (Mon, 08 Jan 2007) | 6 lines

Bugfix #5551

CTRL+C/V (or Apple+C/V) on buttons didn't copy/paste names for buttons
of type "ID pointer" anymore. Was caused by NULL pointer check in wrong
location.

------------------------------------------------------------------------
r9664 | ton | 2007-01-08 14:10:17 +0100 (Mon, 08 Jan 2007) | 5 lines

Bugfix #5631

Missing depsgraph relation for dupliverted Meta system.
Now editing the mesh for this situation is big fun!

------------------------------------------------------------------------
r9663 | scourage | 2007-01-08 13:42:12 +0100 (Mon, 08 Jan 2007) | 3 lines


Corrected Typo.

------------------------------------------------------------------------
r9662 | ton | 2007-01-08 13:31:53 +0100 (Mon, 08 Jan 2007) | 3 lines

New code to write 'sub version' string. It was using a (controlled) 1 byte
overflow in a safe area, but that's not very nice code...

------------------------------------------------------------------------
r9661 | ton | 2007-01-08 12:52:11 +0100 (Mon, 08 Jan 2007) | 5 lines

Bugfix #5634

Adding a new Blender Screen (top header, screen browse menu) did not
correctly clear memory, causing scriptlinks in Area Windows to mess up

------------------------------------------------------------------------
r9660 | nicholasbishop | 2007-01-08 09:02:26 +0100 (Mon, 08 Jan 2007) | 2 lines

Fixed a couple bugs with multires+weightgroups: 1) weightgroups are now being properly applied to the mesh on Level 1.   2) Corrected the algorithm that interpolates weightgroups for all the other levels so that it more or less matches the subsurf output.

------------------------------------------------------------------------
r9659 | campbellbarton | 2007-01-08 05:59:11 +0100 (Mon, 08 Jan 2007) | 2 lines

disabled fly mode for objects with constraints, would do weired stuff.

------------------------------------------------------------------------
r9658 | letterrip | 2007-01-08 05:22:23 +0100 (Mon, 08 Jan 2007) | 4 lines

= game engine fixes=

two fixes to the GE by Charlie

------------------------------------------------------------------------
r9657 | aligorith | 2007-01-07 23:30:44 +0100 (Sun, 07 Jan 2007) | 3 lines

Added some additional comments about the usage of the the backend
functions used for Pose-Mode bone snapping.

------------------------------------------------------------------------
r9656 | schlaile | 2007-01-07 20:52:13 +0100 (Sun, 07 Jan 2007) | 9 lines

== Toolbox ==

Bugfix:
Added sanity-checks proposed in

http://qa.mandriva.com/show_bug.cgi?id=24583

(strcpy without range checks is evil(tm) )

------------------------------------------------------------------------
r9655 | nicholasbishop | 2007-01-07 20:45:05 +0100 (Sun, 07 Jan 2007) | 2 lines

Fixed crash going from Sculpt Mode to Edit Mode.

------------------------------------------------------------------------
r9654 | nicholasbishop | 2007-01-07 20:37:24 +0100 (Sun, 07 Jan 2007) | 2 lines

Added a few comments to sculptmode.c

------------------------------------------------------------------------
r9653 | theeth | 2007-01-07 20:33:00 +0100 (Sun, 07 Jan 2007) | 9 lines

=== Transform Snapping ===

Snap/Grid icon button in 3D view header (edit mesh). FIXME NOTICE: make nice looking icons (yes, that's for you Matt)
When snap is on, a drop down appears for the target method (closest, median, center)

Hotkey to toggle snap is Shift-Tab (this was previously used for a not totally equivalent to Tab. Ton said OK to scrap it). That hotkey is currently restricted to edit mesh (where snap is currently restricted).

Changed a couple of ugliness on how snap settings are stored.

------------------------------------------------------------------------
r9652 | schlaile | 2007-01-07 20:22:22 +0100 (Sun, 07 Jan 2007) | 9 lines

== Sequencer ==

Bugfix in Audio(HD): resampling caused artefacts on mixdown.
(The ffmpeg resampler needs a little warmup time and shouldn't be
restarted all the time.)

The resampler can still cause problems, if your soundfile doesn't start
with silence!

------------------------------------------------------------------------
r9651 | elubie | 2007-01-07 19:43:27 +0100 (Sun, 07 Jan 2007) | 6 lines

==== GHOST Win32 ====
- fixed WinTab locking positioning into absolute mode
- hopefully fixes [ #5586 ] Cursor control
Note: Setting the extent of the digitizing context causes Application to override
system settings for pen/mouse control. Removing this fixed the issue.

------------------------------------------------------------------------
r9650 | elubie | 2007-01-07 18:10:46 +0100 (Sun, 07 Jan 2007) | 5 lines

==== MSVC 7.1 project files ====
- updated to latest version of OpenExr in lib/windows/openexr/lib
- also changed the /NODEFAULTLIB to the same values as scons build
- changed blender to compile with /MT like all libraries too

------------------------------------------------------------------------
r9649 | ton | 2007-01-07 17:41:44 +0100 (Sun, 07 Jan 2007) | 7 lines

Bugfix #5578

ShapeKeys could get corrupted when using the sliders (or relative values).
Was caused by 25 dec commit to get SculptMesh work with Shapes... very
strange implementation here. For now, disabled this function to enter when
not in sculpt mode, while waiting for Nichololas to make it definite OK.

------------------------------------------------------------------------
r9648 | campbellbarton | 2007-01-07 16:33:28 +0100 (Sun, 07 Jan 2007) | 4 lines

Metaball - docs were wrong
Sound - needed t ohave the PyType as extern
3ds_export can now export derived objects (dupli's)

------------------------------------------------------------------------
r9647 | ton | 2007-01-07 15:20:17 +0100 (Sun, 07 Jan 2007) | 5 lines

Bugfix #5560

Dupliverted Lamps did not draw in the 3D window anymore. Caused by OpenGL
displaylist optimize which cannot work for lamps... (yet)

------------------------------------------------------------------------
r9646 | ton | 2007-01-07 15:19:13 +0100 (Sun, 07 Jan 2007) | 3 lines

Added end/begin sculptmode before/after bake-render. Not sure if its needed
but for regular F12 render it's done as well.

------------------------------------------------------------------------
r9645 | ton | 2007-01-07 15:18:03 +0100 (Sun, 07 Jan 2007) | 9 lines

Bugfix #5626

HSV node in composite got a new variable (V) in july, but this was not
initialized to '1' for older files.

This commit adds the initialize, for when the V==0. It might therefore
break cases saved with CVS versions with V set to 0 purposedly (not likely
but possible).

------------------------------------------------------------------------
r9644 | campbellbarton | 2007-01-07 08:33:40 +0100 (Sun, 07 Jan 2007) | 2 lines

made python 2.3 compat again.

------------------------------------------------------------------------
r9643 | letterrip | 2007-01-07 07:50:39 +0100 (Sun, 07 Jan 2007) | 4 lines

= lang updates=

copied into the bin directory the .mo files gerenated by make release

------------------------------------------------------------------------
r9642 | nicholasbishop | 2007-01-07 06:47:58 +0100 (Sun, 07 Jan 2007) | 2 lines

Fixed bug #5627, Retopo Paint doesn't work with LMB set as the main mouse button

------------------------------------------------------------------------
r9641 | erwin | 2007-01-07 05:54:29 +0100 (Sun, 07 Jan 2007) | 4 lines

fixes in rigidbody constraints rigidbody -> IPO baking:
copy system with rigidbody constraint will link new constraints to new objects (instead of old)
fps from blender will be used when baking (left shift/ctrl/alt + P)

------------------------------------------------------------------------
r9640 | erwin | 2007-01-07 05:39:39 +0100 (Sun, 07 Jan 2007) | 2 lines

patch by Charlie, related to recent changes of multi-uv/lightmap generation. This fix makes it possible to use lightmaps in the game engine.

------------------------------------------------------------------------
r9639 | erwin | 2007-01-07 05:35:33 +0100 (Sun, 07 Jan 2007) | 2 lines

2 bugfixes by Malachy, related to message sensor / ipo actuator firing wrongly

------------------------------------------------------------------------
r9638 | letterrip | 2007-01-07 04:36:11 +0100 (Sun, 07 Jan 2007) | 4 lines

= lang updates=

copied into the bin directory the .mo files gerenated by make release

------------------------------------------------------------------------
r9637 | campbellbarton | 2007-01-07 02:44:16 +0100 (Sun, 07 Jan 2007) | 2 lines

made MMB pan instead of mouselook requested by plumiferos director.

------------------------------------------------------------------------
r9636 | campbellbarton | 2007-01-07 00:44:56 +0100 (Sun, 07 Jan 2007) | 3 lines

patch 5054, modifier docs addition.
Sound, Chech_SoundType function

------------------------------------------------------------------------
r9635 | nicholasbishop | 2007-01-06 21:47:34 +0100 (Sat, 06 Jan 2007) | 2 lines

Renamed the 'Delete multires' button (and the associated undo name) to the more accurate 'Apply multires'

------------------------------------------------------------------------
r9634 | blendix | 2007-01-06 21:16:06 +0100 (Sat, 06 Jan 2007) | 6 lines


Potential fix for bug #5359:
Crash leaving editmode related to vertex groups. I couldn't reproduce this,
but suspect somehow multiple deformvert layers were created. Added some
extra checks to avoid that now.

------------------------------------------------------------------------
r9633 | nicholasbishop | 2007-01-06 20:46:33 +0100 (Sat, 06 Jan 2007) | 2 lines

Fixed bug #5610, Sculpt mode stops working suddenly (after reloading file), was caused by reading the zbuffer after it had been cleared for drawing xray objects.

------------------------------------------------------------------------
r9632 | ton | 2007-01-06 15:15:18 +0100 (Sat, 06 Jan 2007) | 4 lines

Bugfix #5619

The new multi-layer UV and VertexColor buttons displayed wrong tooltips.

------------------------------------------------------------------------
r9631 | ton | 2007-01-06 13:33:01 +0100 (Sat, 06 Jan 2007) | 5 lines

Bugfix #5617

Armature deform bug: when values in weightgroups are extreme small but not
zero (like 10e-39) a division caused values to warp to infinity or beyond!

------------------------------------------------------------------------
r9630 | ton | 2007-01-06 12:48:06 +0100 (Sat, 06 Jan 2007) | 3 lines

Bugfix:
New panel "Armature Visualisations" didn't appear tabbed as intended...

------------------------------------------------------------------------
r9629 | ton | 2007-01-06 12:13:07 +0100 (Sat, 06 Jan 2007) | 4 lines

Bugfix #5611

Lamp halo render with option "Layer" crashed.

------------------------------------------------------------------------
r9628 | ton | 2007-01-06 11:59:07 +0100 (Sat, 06 Jan 2007) | 5 lines

Bugfix #5599

TAB in text-edited buttons didn't always go to next button, for example
in constraints. Was caused by the 'roundbox' backdrop.

------------------------------------------------------------------------
r9627 | letterrip | 2007-01-06 09:46:42 +0100 (Sat, 06 Jan 2007) | 4 lines

= more translation updates =

okay updated translations - they actually compile and can be used now - woo hoo :)  Thank you translators for your hard work.  Also for other languages - if I haven't committed your language my apologies - please email me the most to up to date version you have thanks.

------------------------------------------------------------------------
r9626 | campbellbarton | 2007-01-06 08:40:06 +0100 (Sat, 06 Jan 2007) | 2 lines

added lots of warnings for the makeEditable() command. - A user was having problems editing pose data after calling it.

------------------------------------------------------------------------
r9625 | nicholasbishop | 2007-01-06 07:05:35 +0100 (Sat, 06 Jan 2007) | 2 lines

Fix for multires: prevent mesh separate operation.

------------------------------------------------------------------------
r9624 | letterrip | 2007-01-06 06:24:28 +0100 (Sat, 06 Jan 2007) | 4 lines

= french translation update =

thanks to Erwan Jacq (eon) for the translating work and patch

------------------------------------------------------------------------
r9623 | campbellbarton | 2007-01-06 05:22:10 +0100 (Sat, 06 Jan 2007) | 2 lines

epydocs - Constants were wrong QUAT/ROT/LOC, should be LOC/SIZE/ROT

------------------------------------------------------------------------
r9622 | campbellbarton | 2007-01-06 05:10:51 +0100 (Sat, 06 Jan 2007) | 3 lines

made comparing buttons the same as comparing thir values.
bug 5612  (not a bug but this makes it work as scripters may expect)

------------------------------------------------------------------------
r9621 | scourage | 2007-01-06 02:25:59 +0100 (Sat, 06 Jan 2007) | 2 lines

Updated luminance node to work in all color spaces.  Also made it work for any channel, not just luminance.

------------------------------------------------------------------------
r9620 | blendix | 2007-01-06 02:01:38 +0100 (Sat, 06 Jan 2007) | 5 lines


Fix for both cage and final DerivedMeshes being created in editmode even
if they are identical, as reported by Campbell on the mailing list. Now
uses a single DerivedMesh, saves on memory and drawing time.

------------------------------------------------------------------------
r9619 | blendix | 2007-01-06 01:25:22 +0100 (Sat, 06 Jan 2007) | 5 lines


Fix for bug #5583:
Crash when doing a boolean operation on a linked duplicate of the
same mesh.

------------------------------------------------------------------------
r9618 | blendix | 2007-01-06 00:55:09 +0100 (Sat, 06 Jan 2007) | 6 lines


Fix for bug #5510:
Alt-B clipping doesn't work in side view. This seems to be a bug in
some gluUnProject implementations, used the same workaround as sculpt
mode did already.

------------------------------------------------------------------------
r9617 | blendix | 2007-01-06 00:49:51 +0100 (Sat, 06 Jan 2007) | 5 lines


Fix for bug #5096:
Geometry shader node storage (added for UV name) wasn't allocated reading
older files, could crash on render.

------------------------------------------------------------------------
r9616 | campbellbarton | 2007-01-05 17:41:04 +0100 (Fri, 05 Jan 2007) | 5 lines

bugfix, would make bow-tie faces when skinning more then 2 loops.
big speedup to loop detection
added support for skinning open loops (could be improved, dosnt work that well when open loops have different vert counts)
speedup elsewhere with LC's

------------------------------------------------------------------------
r9615 | schlaile | 2007-01-05 15:26:04 +0100 (Fri, 05 Jan 2007) | 9 lines

== Sequencer ==
== Plugins ==

Made sequencer plugins work again by boosting the version number and
working around recent changes to the ImBuf-structure for older binary
plugins.

This commit also restores the original length of name in VarStruct.

------------------------------------------------------------------------
r9614 | aligorith | 2007-01-05 09:16:23 +0100 (Fri, 05 Jan 2007) | 8 lines

Bugfix #5212:

IK Locks/Limits were applied to bones in IK-chains even when the IK
constraint for the chain had an influence value of 0.

I've added a check to see if the ik-constraint found has any influence
over a chain, before the chain is made available for ik-solving.

------------------------------------------------------------------------
r9613 | joeedh | 2007-01-05 08:35:16 +0100 (Fri, 05 Jan 2007) | 4 lines

=IPlugins=

Updated iff.h to use the latest imbuf struct definition.

------------------------------------------------------------------------
r9612 | campbellbarton | 2007-01-05 04:49:54 +0100 (Fri, 05 Jan 2007) | 4 lines

standard set of minor improvements, tho this is a good script and not much to change.
faster dict/list operations.
use layer flags ratehr then lists.

------------------------------------------------------------------------
r9611 | erwin | 2007-01-05 03:31:34 +0100 (Fri, 05 Jan 2007) | 2 lines

fix, static objects were not dynamically added at the right position.

------------------------------------------------------------------------
r9610 | letterrip | 2007-01-05 02:45:54 +0100 (Fri, 05 Jan 2007) | 4 lines

= mdd import update =

changed menu location from animation menu to import menu

------------------------------------------------------------------------
r9609 | letterrip | 2007-01-05 02:42:19 +0100 (Fri, 05 Jan 2007) | 4 lines

= mdd export update =

changed menu location from animation menu to export menu

------------------------------------------------------------------------
r9608 | letterrip | 2007-01-05 01:51:12 +0100 (Fri, 05 Jan 2007) | 4 lines

==dxf import script ==

script for DXF import by kitsu (Ed Blake) - provide superior import to our native DXF import for many files

------------------------------------------------------------------------
r9607 | aligorith | 2007-01-05 01:23:55 +0100 (Fri, 05 Jan 2007) | 9 lines

Bugfix #5600:

When clicking on the basis curve of a Curve's shapekeys in the IPO Editor
with 'Relative' turned off, Blender crashed. This was caused by the call to
set_sculpt_object() which only works on meshes (at the moment).

I've added a check to make sure this is only called for meshes. Also, silenced
the 'implicit declaration' warning my compiler was giving me about this function.

------------------------------------------------------------------------
r9606 | aligorith | 2007-01-05 00:39:09 +0100 (Fri, 05 Jan 2007) | 9 lines

== NLA Editor - Object Collapsing ==

Now, objects without actions/nlastrips cannot get collapsed anymore
as it didn't make sense. The open/close triangle is no longer shown
for these.

Also, I went through and made sure all the NLA tools to comply with this.
This fixes bug #5591.

------------------------------------------------------------------------
r9605 | aligorith | 2007-01-04 23:35:19 +0100 (Thu, 04 Jan 2007) | 4 lines

A few code cleanups for the IPO cleaning stuff in an attempt to get rid
of a bug which hides all but the active ipo-curve after cleaning. The bug
still remains, but I hope to have a solution soon.

------------------------------------------------------------------------
r9604 | nicholasbishop | 2007-01-04 23:16:49 +0100 (Thu, 04 Jan 2007) | 2 lines

Fixed two compile warnings I introduced.

------------------------------------------------------------------------
r9603 | nicholasbishop | 2007-01-04 23:14:40 +0100 (Thu, 04 Jan 2007) | 2 lines

Retyped texcolfaces.tex_page to match MTFace.

------------------------------------------------------------------------
r9602 | nicholasbishop | 2007-01-04 23:09:58 +0100 (Thu, 04 Jan 2007) | 2 lines

Multires bugfix: texcolface.tex_page needs to be updated on file load.

------------------------------------------------------------------------
r9601 | nicholasbishop | 2007-01-04 22:42:52 +0100 (Thu, 04 Jan 2007) | 2 lines

Fixed bug #5587, emulated numpad viewport rotation keys non functional in sculpt mode, was just missing a call to convert_for_nonumpad.

------------------------------------------------------------------------
r9600 | campbellbarton | 2007-01-04 21:44:33 +0100 (Thu, 04 Jan 2007) | 5 lines

Update to JMSs scripts fixed bug 5419.

Optimized 3ds_export.py
  newstyle classes and fixed an error where objects with no material would fail to export.

------------------------------------------------------------------------
r9599 | campbellbarton | 2007-01-04 16:20:28 +0100 (Thu, 04 Jan 2007) | 3 lines

3ds_export now exports Texface UV images to 3ds's materials - supports material images as well
3ds_import - made it support image maps without a file chunk. unlikely but possible.

------------------------------------------------------------------------
r9598 | elubie | 2007-01-04 15:08:05 +0100 (Thu, 04 Jan 2007) | 4 lines

fix for [ #5553 ] Command line broken
Loading iconfile list via BLI_getdir did change the current directory,
so the file wasn't found anymore.

------------------------------------------------------------------------
r9597 | campbellbarton | 2007-01-04 12:43:13 +0100 (Thu, 04 Jan 2007) | 5 lines

toolbox.c - for the label in VarStruct use the tooltip for the text to get around the 15 char limit that only allowed you to fill about half of the available area on the clever numbuts panel,
the tip isnt used for a label anyway. added comments explaining whats going on. only effects clever numbuts internaly.

type fixes for weightpaint_envelope_assign.py

------------------------------------------------------------------------
r9596 | campbellbarton | 2007-01-04 12:15:06 +0100 (Thu, 04 Jan 2007) | 2 lines

Changing the VarStruct name length messed up plugins, so changing back.

------------------------------------------------------------------------
r9595 | campbellbarton | 2007-01-04 11:18:37 +0100 (Thu, 04 Jan 2007) | 5 lines


removed blender2cal3d.py, this is the second time where nobody has been able to maintain this script to fix minor bugs, aparently the cal3d/soya guys maintain their own scripts anyhow.

Adding switchDirection() for curNurbs. simple function and double checked to make sure its ok.

------------------------------------------------------------------------
r9594 | ton | 2007-01-04 10:30:50 +0100 (Thu, 04 Jan 2007) | 7 lines

Bugfix #5411

Selecting option conflict... shift+alt+click was used both for 'select with
a menu' as for 'flush selection to group members'.
Solution for now: keep the group select for shift+alt+click, and menu select
for alt+click.

------------------------------------------------------------------------
r9593 | nicholasbishop | 2007-01-04 08:48:26 +0100 (Thu, 04 Jan 2007) | 2 lines

Fixed bug #5592, change from sculpt mode to edit mode crashes 2.43RC1 on OsX Intel. Fix was to check that undo data is taken from the correct object.

------------------------------------------------------------------------
r9592 | nicholasbishop | 2007-01-04 08:03:00 +0100 (Thu, 04 Jan 2007) | 2 lines

Reverted my fix for bug #5539, brush circle cursor is slow. The fix was causing more sculptmode drawing artifacts for some users. Since this is a non-critical performance related bug, it can wait until after 2.43.

------------------------------------------------------------------------
r9591 | nicholasbishop | 2007-01-04 07:11:45 +0100 (Thu, 04 Jan 2007) | 2 lines

Fixed bug #5582, Subsurfed Multires'd objects don't display properly with interactive display unset. Added a new function for sculptmode that checks to make sure that not only are there some modifiers active, but that they are actually enabled for realtime editing.

------------------------------------------------------------------------
r9590 | campbellbarton | 2007-01-04 06:59:23 +0100 (Thu, 04 Jan 2007) | 3 lines

bugfix for #5167 images are now exported from the material, (todo - texface) thanks to digiboy
Also found that the exported UV coords were scrambled, now fixed.

------------------------------------------------------------------------
r9589 | nicholasbishop | 2007-01-04 06:24:00 +0100 (Thu, 04 Jan 2007) | 2 lines

Made auto face fill (used in retopo) accessible from FKey editmode menu.

------------------------------------------------------------------------
r9588 | hos | 2007-01-04 02:56:31 +0100 (Thu, 04 Jan 2007) | 4 lines

Added IlmThread to the list of OpenEXR libs for WIN32 by request of
Eugene Riley. Untested, and I hope the capitalization is correct
-- please test!

------------------------------------------------------------------------
r9587 | broken | 2007-01-04 02:56:21 +0100 (Thu, 04 Jan 2007) | 9 lines

== Compositor ==
* Ported Math node from shader nodes to composite nodes too

It's a good general purpose utility node and also allows stupid stuff
like this more easily :)

http://mke3.net/blender/etc/math-spiral-h264.mov
http://mke3.net/blender/etc/stupidmath.blend.zip

------------------------------------------------------------------------
r9586 | aligorith | 2007-01-04 00:22:58 +0100 (Thu, 04 Jan 2007) | 7 lines

== Armatures - Path Drawing Bugfix ==

Now, when several highlighted points on the path occur at the same place
(i.e. when there is a pause) only the first frame number when this is the case
is drawn. This results in less overlapping frame numbers (causing an unreadable
blob of digits)

------------------------------------------------------------------------
r9585 | sirdude | 2007-01-03 22:12:56 +0100 (Wed, 03 Jan 2007) | 8 lines



I commited a dumb little icon for Sculpt mode since we didn't have anything.
If anyone has anything better feel free to blow this one away.
I was going for a chunk of marble and a chisel if anyone is going wtf?

Kent

------------------------------------------------------------------------
r9584 | ton | 2007-01-03 14:45:03 +0100 (Wed, 03 Jan 2007) | 6 lines

Bugfix #5515

Having splitted a screen almost into 128 subwindows gives crashes when you
try to make a 'full window'. Code was missing NULL pointer checks for when
new window failed to open...

------------------------------------------------------------------------
r9583 | aligorith | 2007-01-03 10:13:42 +0100 (Wed, 03 Jan 2007) | 3 lines

Fixed crashes in the Action Editor when keys for shapekeys were displayed
and user tries to snap keyframes to frame(s) or mirror keyframes.

------------------------------------------------------------------------
r9582 | nicholasbishop | 2007-01-03 08:21:04 +0100 (Wed, 03 Jan 2007) | 2 lines

Modified the multires loading code so that it always checks for a NULL edge flag array.

------------------------------------------------------------------------
r9581 | campbellbarton | 2007-01-03 06:50:17 +0100 (Wed, 03 Jan 2007) | 2 lines

added sharp edge theme color

------------------------------------------------------------------------
r9580 | aligorith | 2007-01-03 06:13:40 +0100 (Wed, 03 Jan 2007) | 10 lines

== 'Smarter' Keyframing Bugfixes ==

'Smarter' keyframing tools ('needed' option for manual and auto keyframing)
now work better than before, with more cases handled in an predictable
manner. There are still a few cases it still doesn't handle well yet. Those will be
fixed in the next few days.

See comments in code for rules in place now. Also, I've changed the code
to use the IS_EQ macro instead of my clumsy sqrt((a-b)*(a-b)) calculations.

------------------------------------------------------------------------
r9579 | nicholasbishop | 2007-01-02 23:53:44 +0100 (Tue, 02 Jan 2007) | 2 lines

Sculptmode propset bugfix: texture angle should be ignored if there's no texture enabled.

------------------------------------------------------------------------
r9578 | nicholasbishop | 2007-01-02 23:40:45 +0100 (Tue, 02 Jan 2007) | 2 lines

Multires bugfix: when deleting lower levels, edge flags should be subdivided to the next level.

------------------------------------------------------------------------
r9577 | nicholasbishop | 2007-01-02 21:33:11 +0100 (Tue, 02 Jan 2007) | 2 lines

Added undo push for retopo all.

------------------------------------------------------------------------
r9576 | nicholasbishop | 2007-01-02 20:28:54 +0100 (Tue, 02 Jan 2007) | 2 lines

Another multires loading fix: if edge_flags is null, allocate a new array

------------------------------------------------------------------------
r9575 | nicholasbishop | 2007-01-02 20:23:55 +0100 (Tue, 02 Jan 2007) | 2 lines

Fix for a multires crash: when loading dverts, extra call needed to relink them.

------------------------------------------------------------------------
r9574 | nicholasbishop | 2007-01-02 19:42:41 +0100 (Tue, 02 Jan 2007) | 2 lines

Disabled interaction between multires and shape keys. Attempting to add a shape key on a multires mesh will give an error, and attempting to add multires to a mesh with shape keys will give the user an okee before deleting shape keys. (This isn't an optimal solution to the multires/shapekey situation, but a real fix is non-trivial.)

------------------------------------------------------------------------
r9573 | scourage | 2007-01-02 15:45:59 +0100 (Tue, 02 Jan 2007) | 4 lines


The combine HSVA node was missing, now all the color space seperators
and combiners are available.

------------------------------------------------------------------------
r9572 | broken | 2007-01-02 15:15:41 +0100 (Tue, 02 Jan 2007) | 6 lines

== Compositor ==
* Added patch 5251 X/Y Offset to Split Viewer node, by Juho
(with some modifications from the patch version).

Also various small tweaks to compositor drawing & buttons.

------------------------------------------------------------------------
r9571 | campbellbarton | 2007-01-02 14:54:24 +0100 (Tue, 02 Jan 2007) | 3 lines

improved z-locking (would previously still try to rotate about the view axis and then right it).
also added error messages for libdata and dont allow views with object locking to fly.

------------------------------------------------------------------------
r9570 | campbellbarton | 2007-01-02 14:12:23 +0100 (Tue, 02 Jan 2007) | 4 lines

weightpaint_envelope_assign - was making an error checking a null vgroup
API_intro - changed URL from elysuin
others - added __copy__() docs.

------------------------------------------------------------------------
r9569 | aligorith | 2007-01-01 23:48:09 +0100 (Mon, 01 Jan 2007) | 10 lines

== Armatures - Bone Paths ==

* Shuffled a few bone-path buttons in the Armature Visualisation panel.

* Added a new option for bone-paths drawing: Calculate/show the path
travelled by the 'head' (fat end) of bone. By default, this option is off.

* Also, I forgot to mention in last commit that I had added an option which
specified the time-difference between each highlighted point on the curve.

------------------------------------------------------------------------
r9568 | campbellbarton | 2007-01-01 16:27:47 +0100 (Mon, 01 Jan 2007) | 6 lines

bugfix for #5552, please check this is as you expect (argunda)

Also added ease in/out for roll correction and a small lag for directional changes to motion shouldnt be jurky.

If people are serious about using this to record camera path IPOs then we should have a panel for motion settings (roll correction speed x and z and motion lag for eg.)

------------------------------------------------------------------------
r9567 | aphex | 2007-01-01 13:01:41 +0100 (Mon, 01 Jan 2007) | 2 lines

Corrected IThread.lib to IlmThread.lib.. thanks Stephane :)

------------------------------------------------------------------------
r9566 | aphex | 2007-01-01 12:48:17 +0100 (Mon, 01 Jan 2007) | 2 lines

Updating scons VC config to OpenEXR 1.4.0

------------------------------------------------------------------------
r9564 | aphex | 2007-01-01 12:30:47 +0100 (Mon, 01 Jan 2007) | 2 lines

Small change to keep MSVC happy -- defined variable at the start of a conditional block.

------------------------------------------------------------------------
r9563 | briggs | 2007-01-01 10:41:10 +0100 (Mon, 01 Jan 2007) | 12 lines

-> Fix for bug #5472

Vertex snapping now works with backbuffered selection modes. Previously
backbuffer sampling had no way to check whether or not the indices that
it retrieved were selected or not. To resolve this I added two optional
arguments to sample_backbuf_rect in drawview.c. The first argument tells
the function that some additional testing  of the retrieved index values
needs to be done and the second argument is a pointer to a function to
do the testing. findnearestvert() in editmesh_mods.c now makes use of this
and passes sample_backbuf_rect() the appropriate argument when being used
for vertex snapping.

------------------------------------------------------------------------
r9562 | aligorith | 2007-01-01 09:32:11 +0100 (Mon, 01 Jan 2007) | 30 lines

== Armature Ghost and Path Drawing ==

The Plumiferos Team have requested some improvements to the
ghost and path drawing tools for armatures. These changes make
these more useful, with more customisable settings. A new panel in
the editing panels for armatures has been added to house these
settings.

-> Ghosts
In addition to the existing method of showing ghosts either side of the
current frame, it is now possible to show ghosts from a given frame range.
This is useful for visualising how the poses in another part of the animation
changed, while editing another part. The colour of ghosts goes from light
(earlier on) to darker (later on).

-> Paths
Several new options for path drawing have been added.
* It is now possibly specify a frame range in which to calculate paths too.
This offers speedups for longer timelines as a shorter span of time can be
sampled.
* Keyframes from the active action/action strip can be shown in a different
colour (in the default theme, this is yellow) on the path.
* Frame numbers for the highlighted positions on the path can be drawn.

Two notes of caution:
* For ghost range: keep the frame ranges relatively small (20-50 frames),
otherwise you will experience a slowdown.
* For path frame numbers: if you have a graphics card which is picky about
text in the 3d-view (like x,y,z labels on empty), this may cause issues.

------------------------------------------------------------------------
r9561 | nicholasbishop | 2007-01-01 09:16:02 +0100 (Mon, 01 Jan 2007) | 2 lines

Stupid error in last commit, was writing a struct rather than a short for edge flags.

------------------------------------------------------------------------
r9560 | nicholasbishop | 2007-01-01 08:53:14 +0100 (Mon, 01 Jan 2007) | 2 lines

Added support for load/save of multires edge flags

------------------------------------------------------------------------
r9559 | briggs | 2007-01-01 02:05:40 +0100 (Mon, 01 Jan 2007) | 4 lines

->Fix for bug #5542

Missing a check for non-manifold edges in new alt-j code. Fixed now.

------------------------------------------------------------------------
r9558 | aligorith | 2007-01-01 01:56:16 +0100 (Mon, 01 Jan 2007) | 6 lines

== Action Editor ==

Little cleanup to the drawing-internals removing the need for a little
hack I put in for drawing keyframes in the NLA editor for active action
strip.

------------------------------------------------------------------------
r9557 | nicholasbishop | 2006-12-31 23:18:21 +0100 (Sun, 31 Dec 2006) | 2 lines

Fixed bug #5557, retopo - toggling fullscreen shifts painted lines

------------------------------------------------------------------------
r9556 | nicholasbishop | 2006-12-31 22:55:12 +0100 (Sun, 31 Dec 2006) | 2 lines

Added Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing of rotated brushes in propset mode.

------------------------------------------------------------------------
r9555 | nicholasbishop | 2006-12-31 20:49:59 +0100 (Sun, 31 Dec 2006) | 2 lines

Fixed bug #5556, sculpt - rotated texture is shown unrotated in the brush image

------------------------------------------------------------------------
r9554 | schlaile | 2006-12-31 16:38:14 +0100 (Sun, 31 Dec 2006) | 9 lines

== Sequencer ==

Bugfixes:
* The speed controller changes now dynamically the IPO-curve range to
  it's needs. (Frame matching and negative velocities didn't work...
  Obviously nobody tried ;-)
* Fixed some redraw bugs. The IPO window is correctly updated if one pushes
  the IPO Frame locking button.

------------------------------------------------------------------------
r9553 | nicholasbishop | 2006-12-31 12:31:39 +0100 (Sun, 31 Dec 2006) | 2 lines

Extended the brush texture rotate option to work with Tile mode.

------------------------------------------------------------------------
r9552 | nicholasbishop | 2006-12-31 12:17:57 +0100 (Sun, 31 Dec 2006) | 2 lines

Bugfix for sculptmode texture tiling: tile size should not be affected by brush size.

------------------------------------------------------------------------
r9551 | nicholasbishop | 2006-12-31 11:51:21 +0100 (Sun, 31 Dec 2006) | 2 lines

Prevent user from applying editmode operations that will be ignored by multires.

------------------------------------------------------------------------
r9550 | nicholasbishop | 2006-12-31 11:36:48 +0100 (Sun, 31 Dec 2006) | 2 lines

Added propagation of the edge seam flag for multires. Note that the flag is only stored for level 1.

------------------------------------------------------------------------
r9549 | aligorith | 2006-12-31 08:26:23 +0100 (Sun, 31 Dec 2006) | 10 lines

== Bugfix #5550 ==

* UV and Radiosity passes are now visible in Outliner (like for other passes)

* Changed tooltip of overwrite material to:
"Name of Material to use as Materials instead"

* Also, fixed Reflection and Refraction passes in the Outliner - flags were
mixed up, so turning on Reflection turned on Refraction and vica-versa.

------------------------------------------------------------------------
r9548 | broken | 2006-12-31 01:28:46 +0100 (Sun, 31 Dec 2006) | 8 lines

== Compositor ==
* Added a new top-level add menu category for compositing nodes: Distort

It currently contains Translate, Rotate, Scale, Flip, Displace and Map UV

Also did some cleaning up of the ordering of add node menu items to be a
bit better organised.

------------------------------------------------------------------------
r9547 | ianwill | 2006-12-30 19:28:49 +0100 (Sat, 30 Dec 2006) | 8 lines

Python API:

-Added missing access to Node win theme (thanks Mickaël Le-bihan for pointing) and also options group and group_active.
-Added Node space to Window.Types dict.
-Tiny update to the save theme script version numbers (keeping 2.42 for now to avoid popups, but should change to 2.43 right before release).

BTW: Happy New Year everyone :).

------------------------------------------------------------------------
r9546 | theeth | 2006-12-30 17:35:46 +0100 (Sat, 30 Dec 2006) | 6 lines

=== Code Fixes ===

Adding missing define for displace node (Matt can change the number when he gets back, this is just to fix compilation)

Removing "#pragma mark" from node.c. IIRC, that's XCode leaving crap around, so be sure to remove them when you commit (it outputs warnings on other compilers).

------------------------------------------------------------------------
r9545 | broken | 2006-12-30 15:47:03 +0100 (Sat, 30 Dec 2006) | 40 lines

== Compositor ==
* Displace Node

Displaces an input image's pixels based on an input vector mask. This can be
useful for a lot of things, like hot air distortion, quick-and-dirty compo
refraction, compositing live footage behind refracting objects, and more!

The amount of displacement in the X and Y directions is determined by:
* The value of the mask's channels
  - (red) channel 1's value determines displacement along the positive or
  negative X axis
  - (green) channel 2's value determines displacement along the positive or
  negative Y axis

If both the channel's values are equal (i.e. a greyscale image) the input
image will be displaced equally in both X and Y directions, also according to:
* The X scale and Y scale buttons
  - These act as multipliers to increase or decrease the strength of the
  displacement along their respective axes. They need to be set to non-zero
  values for the node to have any effect.

Because of this, you can use the displace node in two ways, with a greyscale
mask(easy to paint, or take from a procedural texture), or with a vector
channel or RGB image, such as a normal pass, which will displace the pixels
based on the normal direction.

A quick practical example:
http://mke3.net/blender/etc/displace-desert-h264.mov
http://mke3.net/blender/etc/displace-desert.blend.zip

And some techie examples:

Using a greyscale mask
http://mke3.net/blender/etc/displace-bw-h264.mov
http://mke3.net/blender/etc/displace-bw.png

Using a vector mask
http://mke3.net/blender/etc/displace-vec-h264.mov
http://mke3.net/blender/etc/displace-vec.png

------------------------------------------------------------------------
r9544 | campbellbarton | 2006-12-30 10:40:05 +0100 (Sat, 30 Dec 2006) | 2 lines

use new edge/face keys ittributes

------------------------------------------------------------------------
r9543 | campbellbarton | 2006-12-30 08:32:58 +0100 (Sat, 30 Dec 2006) | 5 lines

* theme save script now saves iconThemes and supports string types.
* added .iconTheme variable
* bugfix. drawType was not being saved because Py_BuildValue and __members__ was missing an "s"
* added Blender.Get('icondir')

------------------------------------------------------------------------
r9542 | aligorith | 2006-12-30 06:38:54 +0100 (Sat, 30 Dec 2006) | 2 lines

A few little tweaks for compiling purposes.

------------------------------------------------------------------------
r9541 | broken | 2006-12-30 06:37:45 +0100 (Sat, 30 Dec 2006) | 6 lines

* Fix for bug #5555 Numpad zoom does not recognize that the
transform properties window is collapsed.

Just checks now to see if the floating panel is collapsed or not
and where the mouse is before zooming.

------------------------------------------------------------------------
r9540 | broken | 2006-12-30 06:36:22 +0100 (Sat, 30 Dec 2006) | 3 lines

* Redraw the node editor when render passes are enabled or disabled
in the outliner

------------------------------------------------------------------------
r9539 | campbellbarton | 2006-12-30 02:04:19 +0100 (Sat, 30 Dec 2006) | 2 lines

added pose_bone.displayObject for getting/setting custom bones

------------------------------------------------------------------------
r9538 | nicholasbishop | 2006-12-30 01:51:26 +0100 (Sat, 30 Dec 2006) | 4 lines

Hopefully fixed bug #5437, sculpt - seam selection flushing eats lots of ram on low multires level

This appears to have been caused by the excessive amount of memory that multires was eating up every time an edit operation pushed a new undo copy. Added a hack for multires that allows it to use the same multires data for multiple undo copies until the user actually changes levels (which is when multires data is actually updated.)

------------------------------------------------------------------------
r9537 | nicholasbishop | 2006-12-30 00:14:34 +0100 (Sat, 30 Dec 2006) | 2 lines

Added texture rotation for sculpt brush (only drag mode for now.)

------------------------------------------------------------------------
r9536 | nicholasbishop | 2006-12-29 23:09:05 +0100 (Fri, 29 Dec 2006) | 2 lines

Changed Add/Sub sculpt menu items to a single Add toggle, shortcut is Vkey

------------------------------------------------------------------------
r9535 | nicholasbishop | 2006-12-29 22:53:52 +0100 (Fri, 29 Dec 2006) | 2 lines

More improvements to the sculpt brush panel. Texture scale can now be set independently on the X/Y/Z axes for 3D textures and the X/Y axes for tiled brushes. The sizes can be locked together for 1:1 scaling.

------------------------------------------------------------------------
r9534 | joeedh | 2006-12-29 22:17:57 +0100 (Fri, 29 Dec 2006) | 6 lines

=IDProperties Python Test GUI Script update=

Another stupid little coding mistake, made switching
idblock types (like from object to scene) crash the
script.

------------------------------------------------------------------------
r9533 | nicholasbishop | 2006-12-29 21:13:03 +0100 (Fri, 29 Dec 2006) | 2 lines

Reorganized brush palette into three columns. Changed brush View slider to the range [0-10], since there's really no need to it to values like 93%, 90% is close enough.

------------------------------------------------------------------------
r9532 | campbellbarton | 2006-12-29 19:09:05 +0100 (Fri, 29 Dec 2006) | 5 lines

record while in fly mode when record is enabled from the timeline.
if play and record are enabled at the same time you can record the flight path.
adds a keyframe for every frame, dosnt support the Keying options in the user prefs.
If no rotation is being done on the camera, no rot keys are applied and same for location.

------------------------------------------------------------------------
r9531 | campbellbarton | 2006-12-29 14:13:17 +0100 (Fri, 29 Dec 2006) | 4 lines

draw the right pannel when weughtpaint+vcol modes are on at the same time.
(was drawing the vcol panel in wp mode)
it may be good to not allow both modes at once.

------------------------------------------------------------------------
r9530 | campbellbarton | 2006-12-29 12:09:29 +0100 (Fri, 29 Dec 2006) | 3 lines

JMS's latest SVG importer with his compatibility fixes and optimizations.
http://blenderartists.org/forum/showthread.php?t=66207

------------------------------------------------------------------------
r9529 | nicholasbishop | 2006-12-29 10:51:29 +0100 (Fri, 29 Dec 2006) | 2 lines

Bug fix: if a file is saved with sculptmode on and a brush with a texture is enabled, the brush image must be loaded before it can be used.

------------------------------------------------------------------------
r9528 | nicholasbishop | 2006-12-29 10:32:57 +0100 (Fri, 29 Dec 2006) | 2 lines

Fixed case where sculpt brush texture is not set

------------------------------------------------------------------------
r9527 | campbellbarton | 2006-12-29 09:57:33 +0100 (Fri, 29 Dec 2006) | 3 lines

Scene.c - deprecation warning for getScene
bvh_import.py - use old slow method of adding keyframes. setting IPO's was having problems.

------------------------------------------------------------------------
r9526 | nicholasbishop | 2006-12-29 09:40:19 +0100 (Fri, 29 Dec 2006) | 12 lines

Sort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not sculpting flat relative to screen
Fix for bug #5248, sculpt - mirrored tiled texture odd results

Changed the algorithm used for projecting the brush texture onto the model. The old algorithm was never implemented properly, causing increasingly
wonky distortions of the brush as it got farther away from parallel to the screen. The new system uses the screen coords of vertices, the obvious
advantage being that 2D screen coords can be mapped quite easily to 2D texture coords. The main disadvantage of this method is that there are still
distortions in the brush as the surface beneath it becomes less parallel the screen. These distortions, however, are not as bad as the old ones
because they are predictable from the user's perspective. (It's analogous to a movie being projected onto a sphere; if the viewer is in front of the
sphere there is no apparent distortion, but from the side the movie appears stretched and distorted.)

This may still be worth revisiting after the release.

------------------------------------------------------------------------
r9525 | broken | 2006-12-29 07:58:39 +0100 (Fri, 29 Dec 2006) | 4 lines

* Patch #5337 from Juho: Ipo vertex size theme setting

(with some small modifications)

------------------------------------------------------------------------
r9524 | broken | 2006-12-29 05:46:47 +0100 (Fri, 29 Dec 2006) | 16 lines

* Dynamic icon file loading and themeability

This patch allows icon files (.png) to be loaded into Blender dynamically,
without having to go through the tedious and technical process of compiling
them in. It also makes them part of the theme settings so they can be
attached as part of a theme and saved in the default .B.blend.

Icon files should be stored in $HOME/.blender/icons/ . This really sucks on
Mac since it's hidden in the finder, but it's a separate issue. We need a
better system of finding things like this, python scripts etc, perhaps a
nice wrapped function something like BLI_getresourcedir(), then it's easy to
do platform specific stuff there, like using ~/Library/Application Data on Mac.

More info and docs in the patch tracker @
https://projects.blender.org/tracker/index.php?func=detail&aid=5334&group_id=9&atid=127

------------------------------------------------------------------------
r9523 | campbellbarton | 2006-12-29 01:25:56 +0100 (Fri, 29 Dec 2006) | 5 lines

adding this script that takes 3 clicks to set the selected faces projections.
Will try to add visual guides to make this easier to understand before release.

http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Click_project_from_face

------------------------------------------------------------------------
r9522 | nicholasbishop | 2006-12-29 00:23:10 +0100 (Fri, 29 Dec 2006) | 2 lines

Fix for bug #5539, brush circle cursor is slow.

------------------------------------------------------------------------
r9521 | campbellbarton | 2006-12-28 23:56:24 +0100 (Thu, 28 Dec 2006) | 2 lines

added a call to mesh calcNormals so smooth faces look right

------------------------------------------------------------------------
r9520 | theeth | 2006-12-28 23:42:58 +0100 (Thu, 28 Dec 2006) | 16 lines

=== Transform Snap ===

Fixed the bug where it would snap to a selected (moving) vertex.

Fixed a bug with Snap Closest with only one vertex selected.

=== Internals: EditMesh Mods ===

Modify and documented findnearestvert.

Added a new parameter to restrict the search to selected or unselected vert instead of just adding a bias to them (as previously). Currently, the "strict" method bypasses the openGL optimisation, people with more knowledge about that should feel invited to fix it.

=== Internals: EditMesh Tools ===

Adding missing newline at the end.

------------------------------------------------------------------------
r9519 | aligorith | 2006-12-28 23:08:33 +0100 (Thu, 28 Dec 2006) | 5 lines

This just silences a compiler warning I got as a result of Nick's commit
last night.

warning: "struct View3D" declared inside parameter list

------------------------------------------------------------------------
r9518 | erwin | 2006-12-28 20:02:31 +0100 (Thu, 28 Dec 2006) | 2 lines

fixed remaining sqrtf into btSqrt

------------------------------------------------------------------------
r9517 | campbellbarton | 2006-12-28 13:56:00 +0100 (Thu, 28 Dec 2006) | 2 lines

was missing getColorLayerNames and getUVLayerNames from docs.

------------------------------------------------------------------------
r9516 | ton | 2006-12-28 13:07:11 +0100 (Thu, 28 Dec 2006) | 5 lines

Bugfix #5541

Composite: Scale Node didn't correctly pass on 1-channel buffers when no
scaling happened, resulting in crashes.

------------------------------------------------------------------------
r9515 | ton | 2006-12-28 12:31:22 +0100 (Thu, 28 Dec 2006) | 5 lines

Bugfix #5540

Datbrowse return event was accidentally cleared, so browsing did not work.
(Commit of last week for image refactor).

------------------------------------------------------------------------
r9514 | ton | 2006-12-28 12:14:08 +0100 (Thu, 28 Dec 2006) | 2 lines

Preview render in 3D window used wrong clipping...

------------------------------------------------------------------------
r9513 | campbellbarton | 2006-12-28 12:09:36 +0100 (Thu, 28 Dec 2006) | 9 lines


made scn.objects more flexible... you can now things like...

scn.objects.selected = [] # deselect all
scn.objects.selected = scn.objects # select all
scn.objects.context = [ob1, ob2...]

Added epydoc examples and updates importer scripts to use this de-select-all method.

------------------------------------------------------------------------
r9512 | nicholasbishop | 2006-12-28 09:24:37 +0100 (Thu, 28 Dec 2006) | 2 lines

Added numerical input for sculptmode propset

------------------------------------------------------------------------
r9511 | nicholasbishop | 2006-12-28 08:49:08 +0100 (Thu, 28 Dec 2006) | 2 lines

Holding control while using sculptmode propset now snaps to multiples of 10

------------------------------------------------------------------------
r9510 | nicholasbishop | 2006-12-28 08:33:39 +0100 (Thu, 28 Dec 2006) | 2 lines

Fixed bug #5533, was allocating memory by totvert rather than totface

------------------------------------------------------------------------
r9509 | nicholasbishop | 2006-12-28 08:04:05 +0100 (Thu, 28 Dec 2006) | 2 lines

Added numerical display of sculptmode propset in preperation for numerical input

------------------------------------------------------------------------
r9508 | campbellbarton | 2006-12-28 07:51:44 +0100 (Thu, 28 Dec 2006) | 2 lines

mesh skin was flipping the skin between 2 loops because of an error in AngleBetweenVecs python function that always returned 180d

------------------------------------------------------------------------
r9507 | campbellbarton | 2006-12-28 07:47:56 +0100 (Thu, 28 Dec 2006) | 3 lines

Made it possible to copy modifiers from the python API
ob1.modifiers = ob2.modifiers

------------------------------------------------------------------------
r9506 | campbellbarton | 2006-12-28 06:00:35 +0100 (Thu, 28 Dec 2006) | 6 lines

Mech cleanup use new edge_keys
continual script stuff, minor stuff..

fix for bad return in group.
Added back group.objects.append/remove but print deprectaed warning. also some epydoc changes.

------------------------------------------------------------------------
r9505 | theeth | 2006-12-28 04:11:21 +0100 (Thu, 28 Dec 2006) | 6 lines

=== Bug Fix ===

Fix for bug [ #5522 ] inaccurate rotation

Entering very high/low values using numeric input in a rotation (+/- 360000 and more/less) resulted in incorrect rotations. Fixed by clamping the actual rotation between -180 and 180 before converting to radians (just to be clear, the clamping already happened and is inevitable, now, it just happens earlier).

------------------------------------------------------------------------
r9504 | aligorith | 2006-12-28 04:04:54 +0100 (Thu, 28 Dec 2006) | 4 lines

A few little cleanups in keyframing code
* Added a few missing undo-pushes for a few keyframing options
* Made inserting visual rotation keyframes for objects use Mat4ToEul

------------------------------------------------------------------------
r9503 | aligorith | 2006-12-28 00:30:59 +0100 (Thu, 28 Dec 2006) | 9 lines

== Armature Centering Tools ==

After all these years, it is now possible to (re)center armatures like you
can do with meshes and curves.

At the moment, you can only access this functionality from the menus
(Spacebar->Transform) as the armature button panels are pretty
crowded.

------------------------------------------------------------------------
r9502 | aligorith | 2006-12-27 22:56:00 +0100 (Wed, 27 Dec 2006) | 2 lines

Minor code cleanups of posemode bone snapping code

------------------------------------------------------------------------
r9501 | nicholasbishop | 2006-12-27 22:41:25 +0100 (Wed, 27 Dec 2006) | 2 lines

Added checks in sculptmode for mirror modifiers with Do Clipping enabled, this now works as expected for all brushes

------------------------------------------------------------------------
r9500 | nicholasbishop | 2006-12-27 21:21:07 +0100 (Wed, 27 Dec 2006) | 2 lines

When calculating brush size, pressure should be ignored for grab brush

------------------------------------------------------------------------
r9499 | nicholasbishop | 2006-12-27 21:08:29 +0100 (Wed, 27 Dec 2006) | 2 lines

Switching editmode on then off again with multires enabled should update the edge visibility

------------------------------------------------------------------------
r9498 | khughes | 2006-12-27 19:39:39 +0100 (Wed, 27 Dec 2006) | 7 lines



Python API
----------
Bugfix. Refactor from a few months ago broke ob.loc; it only accepted a tuple
of 3 floats instead of a list.  Make it accept both types now.

------------------------------------------------------------------------
r9497 | campbellbarton | 2006-12-27 16:21:34 +0100 (Wed, 27 Dec 2006) | 6 lines


Added a function to BPyMesh - getFaceLoopEdges(faces, seams=[])
returns all face loops as a list of their edge keys

Used this in uvcalc_follow_active_coords to speed it from 5.53sec to 0.098 on a 1000 face mesh.

------------------------------------------------------------------------
r9496 | campbellbarton | 2006-12-27 12:58:03 +0100 (Wed, 27 Dec 2006) | 2 lines

added Draw.Normal() for the normal rotating sphere button, mostly the same as the ColorPicker in code and syntax.

------------------------------------------------------------------------
r9495 | ton | 2006-12-27 11:21:33 +0100 (Wed, 27 Dec 2006) | 4 lines

Bugfix #5430

"Delete object" didn't correctly clear all pointers in Object NLA modifiers

------------------------------------------------------------------------
r9494 | blendix | 2006-12-27 11:20:29 +0100 (Wed, 27 Dec 2006) | 5 lines


Fix for bug #5523:
A crash on rendering with multiple UV layers, layer names weren't always
getting copied correct.

------------------------------------------------------------------------
r9493 | aligorith | 2006-12-27 11:02:27 +0100 (Wed, 27 Dec 2006) | 11 lines

== Editmode Bone Snapping ==

I've often found it very annoying that with both ends of a bone selected,
they would both get snapped to the snapping point. This means that the bone
becomes zero-length, hence disappears from view and gets deleted upon
leaving editmode.

Now, when both ends of the bone are selected, only the head of the bone gets
snapped to the snapping point. The tail will get offset by the same amount
that the head gets offset by, thus preventing zero-length bones.

------------------------------------------------------------------------
r9492 | campbellbarton | 2006-12-27 10:31:28 +0100 (Wed, 27 Dec 2006) | 5 lines

weightpaint_clean, option to clean all vgroups
weightpaint_envelope_assign - can update active vgroup only
weightpaint_normalize - fixups
BKE_plugin_types - made the max length 32 ratehr then 16 so you can fill the text space in pupBlock

------------------------------------------------------------------------
r9491 | nicholasbishop | 2006-12-27 08:43:48 +0100 (Wed, 27 Dec 2006) | 2 lines

Checking the sculptmode state should include the sculpt session

------------------------------------------------------------------------
r9490 | aligorith | 2006-12-27 06:48:49 +0100 (Wed, 27 Dec 2006) | 6 lines

== PoseMode Bone Snapping ==

Bugfix for my previous snapping commit. In some cases, bones still
didn't snap correctly (parentless 'root' bones). That was because those
cases assumed that constraints had no effect on those bones.

------------------------------------------------------------------------
r9489 | khughes | 2006-12-27 06:30:32 +0100 (Wed, 27 Dec 2006) | 8 lines



Python API
----------
Perform better param checking on Curve bevel and taper objects so that an
curve can't use its own object.  Also stick a big warning in the docs for
Curve.setTotcol(), which seems to be an extremely dangerous method.

------------------------------------------------------------------------
r9488 | campbellbarton | 2006-12-27 06:04:20 +0100 (Wed, 27 Dec 2006) | 4 lines

renameing datablocks was imposing a name limit on the python side.
This isnt needed because the limit is alredy being set by rename_id()
some other minor changed- use None returning maro

------------------------------------------------------------------------
r9487 | aligorith | 2006-12-27 06:00:43 +0100 (Wed, 27 Dec 2006) | 8 lines

== Copy Rotation Constraint - Bugfix #5519 ==

Now, when only one axis toggle is on and click on it, all of the other
toggles will not be turned on.

For this to work, I've moved the version patches in the drawing/evaluation
code for this constraint to the file-reading code.

------------------------------------------------------------------------
r9486 | erwin | 2006-12-27 00:03:36 +0100 (Wed, 27 Dec 2006) | 2 lines

normalize hitnormal

------------------------------------------------------------------------
r9485 | erwin | 2006-12-26 23:02:31 +0100 (Tue, 26 Dec 2006) | 2 lines

-fixes in player: draw physics debugging, only render frames when actually updated, fix with hierarchies not properly build (causing crashes)

------------------------------------------------------------------------
r9484 | khughes | 2006-12-26 22:12:34 +0100 (Tue, 26 Dec 2006) | 7 lines



Python API
----------
Bugfix: make Constant mp_subscript method return key error if key not found
in dictionary.

------------------------------------------------------------------------
r9483 | khughes | 2006-12-26 20:47:34 +0100 (Tue, 26 Dec 2006) | 7 lines



Python API
----------
Bugfix: fix my own over-optimization in insertIpoKey(), allow IPOKEY_LOCROT
and IPOKEY_LOCROTSIZE to again set rotation and size Ipo curves.

------------------------------------------------------------------------
r9482 | khughes | 2006-12-26 20:13:13 +0100 (Tue, 26 Dec 2006) | 10 lines



Python API
----------
Bugfix for at least one annoying "DeprecationWarning: integer argument
expected, got float" followed by garbage printed to the console.  The message
happens when PyArg_Parse() is called to parse an integer but is passed a
float.  This happens in a few other places, bun unfortunately I can't fix
them all right now.

------------------------------------------------------------------------
r9481 | khughes | 2006-12-26 16:07:49 +0100 (Tue, 26 Dec 2006) | 6 lines



Python API
----------
Correct some typos in Ipo API documentation.

------------------------------------------------------------------------
r9480 | harkyman | 2006-12-26 13:51:55 +0100 (Tue, 26 Dec 2006) | 8 lines

Little commit to curb a tiny bit of the complaining about how easy
it is to accidentally quit Blender and "lose" your work.

Even though there is quit.blend, Ton said he had no problem
with at least removing plain of 'q' for quit.

Quit Blender hotkey is now Ctrl-Q.

------------------------------------------------------------------------
r9479 | ton | 2006-12-26 12:26:10 +0100 (Tue, 26 Dec 2006) | 10 lines

Bugfixes #5314 and #5424

- removed the "\" from pulldown menu, and replaced with readable "or"
  (makes it for translation systems easier to parse)
- the theme menu, area type chooseer menu, "Timeline" didnt draw in the
  button due to bad pupmenu_col() code with using 'seperators'. Fixed it
  by just adding another separator for now.

Both fixes reviewed and provided by Juho. Thanks!

------------------------------------------------------------------------
r9478 | ton | 2006-12-26 11:18:38 +0100 (Tue, 26 Dec 2006) | 9 lines

Bugfix #5498

Textbutton: SHIFT+Arrow selections did not work proper when the amount of
text in a button was more than its width could display. Now still doesn't
work OK 100% (when selection itself goes outside of button view).

Also: removed the very bad SELWIDTH define (but->selend - but->selsta).
That's not making readable code!

------------------------------------------------------------------------
r9477 | ton | 2006-12-26 10:19:19 +0100 (Tue, 26 Dec 2006) | 5 lines

Ancient bug: when subdividing the screen many times, it gives a crash when
the amount of subwindows reaches 128 (64 areas+headers).

Added a warning instead of crash!

------------------------------------------------------------------------
r9476 | ton | 2006-12-26 09:46:58 +0100 (Tue, 26 Dec 2006) | 5 lines

Bugfix #5487

New glDrawArrays() code used an array size of '1' for drawing Surface
curves/polys. Seems to crash in Linux...

------------------------------------------------------------------------
r9475 | campbellbarton | 2006-12-26 08:00:32 +0100 (Tue, 26 Dec 2006) | 5 lines

Camera.c refactor, moved to getsetattrs. deprecated get/set functions. and added access to all camera settings.
cam.type now uses 'ortho' and 'persp' rather then 0 and 1

group.c and object.c, minor cleanup

------------------------------------------------------------------------
r9474 | briggs | 2006-12-26 03:00:56 +0100 (Tue, 26 Dec 2006) | 57 lines







































-> Further work to improve triangle conversion tool:

The improved triangle to quad conversion is now better integrated
into Blender in several respects. First of all the code makes distinctions
between 'simple' pairs and 'complex' pairs. Simple pairs are an island of
exactly two selected triangles that are joined by an edge. These simple pairs
are subject to the old 2.42 rules for joining triangles. Complex pairs are part
of larger islands of selected triangles and their conversion is controlled by
several parameters that can be individually tweaked via new buttons located
in the "Mesh Tools" panel of the editing buttons. Furthermore the tool deals
with any arbitrary combination of simple and complex islands in a consistent and
logcial way.

The code has also been drasitcally cleaned up and should address the open
bugs in the tracker regarding alt-j. However as part of cleanup the tool has
been made somewhat slower to insure a consistent mesh structure. This is a
limitation of the exist_face() function in editmesh and will have to be adressed
at a later date.

------------------------------------------------------------------------
r9473 | campbellbarton | 2006-12-26 02:45:58 +0100 (Tue, 26 Dec 2006) | 8 lines

object_cookie_cutter - use edge keys

widgetwizard - made a mistake in last commit, works and also dosnt creash with bug.
https://projects.blender.org/tracker/index.php?func=detail&aid=5289&group_id=9&atid=125
Can others test so we can close?

Object_join was messing up object usercounts

------------------------------------------------------------------------
r9472 | nicholasbishop | 2006-12-26 00:52:17 +0100 (Tue, 26 Dec 2006) | 2 lines

Fixed a number of crashes occuring when loading saved files with sculpt mode active. (mostly missing checks for a sculpt session.)

------------------------------------------------------------------------
r9471 | nicholasbishop | 2006-12-26 00:16:22 +0100 (Tue, 26 Dec 2006) | 2 lines

Update sculpt object when switching mesh shapes in the IPO editor

------------------------------------------------------------------------
r9470 | campbellbarton | 2006-12-26 00:14:48 +0100 (Tue, 26 Dec 2006) | 3 lines

mesh_skin updated to use ed.key, other minor cleanups.
updated the url in other scripts

------------------------------------------------------------------------
r9469 | khughes | 2006-12-25 22:15:53 +0100 (Mon, 25 Dec 2006) | 7 lines



Python API
----------
Add .materials attribute to BPy Curve API.  Also clean up Mesh.materials
documentation.

------------------------------------------------------------------------
r9468 | erwin | 2006-12-25 20:54:17 +0100 (Mon, 25 Dec 2006) | 2 lines

minor fix in Bullet internals

------------------------------------------------------------------------
r9467 | nicholasbishop | 2006-12-25 20:20:42 +0100 (Mon, 25 Dec 2006) | 2 lines

Fixed a missing null check in my last commit

------------------------------------------------------------------------
r9466 | nicholasbishop | 2006-12-25 20:11:20 +0100 (Mon, 25 Dec 2006) | 2 lines

Sculptmode now works properly with shape keys (Merry Christmas.) Fixes bug #5499, Sculpt mode don't works correctly with Shape Key.

------------------------------------------------------------------------
r9465 | khughes | 2006-12-25 16:07:16 +0100 (Mon, 25 Dec 2006) | 6 lines



Python API
----------
Change "requiresd" to "required" in getChildren() documentation.

------------------------------------------------------------------------
r9464 | campbellbarton | 2006-12-25 11:53:00 +0100 (Mon, 25 Dec 2006) | 2 lines

somehow pasted some text by mistake that raised an error.

------------------------------------------------------------------------
r9463 | campbellbarton | 2006-12-25 11:44:28 +0100 (Mon, 25 Dec 2006) | 4 lines

PyAPI driverExpression:
added "ipocurve.driver = 2" to set the curve to use driver python expressions.
added ipocurve.driverExpression - the string to run.

------------------------------------------------------------------------
r9462 | campbellbarton | 2006-12-25 10:17:23 +0100 (Mon, 25 Dec 2006) | 2 lines

modified scripts from using older/depricated Python API commands, deprecated scn.getChildren() in the docs.

------------------------------------------------------------------------
r9461 | nicholasbishop | 2006-12-25 09:52:57 +0100 (Mon, 25 Dec 2006) | 2 lines

Cleanup of the SDNA SculptData struct. Moved a lot of data that isn't saved into a separate SculptSession struct (outside of SDNA.)

------------------------------------------------------------------------
r9460 | erwin | 2006-12-25 05:11:39 +0100 (Mon, 25 Dec 2006) | 2 lines

prevent crashes: some python scripts keep 'global variable' access to destroyed game objects.

------------------------------------------------------------------------
r9459 | erwin | 2006-12-25 03:02:13 +0100 (Mon, 25 Dec 2006) | 2 lines

fixing some issues: force needs to wake up objects, property sensor issue, island activation issue

------------------------------------------------------------------------
r9458 | erwin | 2006-12-24 22:21:49 +0100 (Sun, 24 Dec 2006) | 2 lines

Attempt to fix mouse-look in game engine on OS X: setCursorPosition. Thanks Malachy for the fix, it seem to work on MacOS Intel.

------------------------------------------------------------------------
r9457 | hos | 2006-12-24 21:19:56 +0100 (Sun, 24 Dec 2006) | 3 lines

I think this might be a safer way of dealing with the non-OpenEXR
compilation of image.c -- Ton: please check.

------------------------------------------------------------------------
r9456 | hos | 2006-12-24 17:03:31 +0100 (Sun, 24 Dec 2006) | 3 lines

Some more duct tape to make sure that blender[player] still builds
when compiled without OpenEXR.

------------------------------------------------------------------------
r9455 | campbellbarton | 2006-12-24 12:15:54 +0100 (Sun, 24 Dec 2006) | 2 lines

added CustomData_add_layer_named, same as CustomData_add_layer but accepts a name. saves Mesh.c having to look up the data after adding (just to rename it)

------------------------------------------------------------------------
r9454 | campbellbarton | 2006-12-24 11:51:31 +0100 (Sun, 24 Dec 2006) | 11 lines

initial python support for dealing with multires meshes.

Can only change levels and values at the moment. adding and removing is still needed.

multires: bool
multiresLevelCount: int
multiresDrawLevel: int
multiresEdgeLevel: int
multiresPinLevel: int
multiresRenderLevel: int

------------------------------------------------------------------------
r9453 | intrr | 2006-12-24 11:29:05 +0100 (Sun, 24 Dec 2006) | 8 lines



Uncommitted the stub again.

Can anyone who knows more than me add a correct stub for this?
Blenderplayer doesn't link for me because it can't find that
symbol...

------------------------------------------------------------------------
r9452 | nicholasbishop | 2006-12-24 10:45:49 +0100 (Sun, 24 Dec 2006) | 2 lines

Fixed bug #5506 retopo - ctrl-click extrude doesn't work for the first vertice.

------------------------------------------------------------------------
r9451 | campbellbarton | 2006-12-24 04:25:53 +0100 (Sun, 24 Dec 2006) | 3 lines

replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.
added camera.dofDist to the python camera module

------------------------------------------------------------------------
r9450 | campbellbarton | 2006-12-24 00:33:03 +0100 (Sun, 24 Dec 2006) | 3 lines

Added CustomData_get_named_layer_index to customdata to get a layer index by name, only used in Mesh.c at the moment.
cleanup Mesh.c, updated the epydocs

------------------------------------------------------------------------
r9449 | khughes | 2006-12-23 19:16:20 +0100 (Sat, 23 Dec 2006) | 7 lines



Python API
----------
Bugfix submitted through bf-committers: Ipo.getNBezPoints() could cause
segfault due to incorrect check for end-of-list.

------------------------------------------------------------------------
r9448 | campbellbarton | 2006-12-23 18:07:02 +0100 (Sat, 23 Dec 2006) | 7 lines

Select Grouped editdata- minor fix in the menu.

Updated Python Mesh API to support UV and Color layers with names.
Similar to vertex group's

renamed a function in customdata.c CustomData_free_layers -> CustomData_free_layers_active and made CustomData_free_layers accept an index, this is needed so python could free layers that arnt active.

------------------------------------------------------------------------
r9447 | khughes | 2006-12-23 16:30:50 +0100 (Sat, 23 Dec 2006) | 6 lines



Python API
----------
Bugfix #5492: correctly distinguish curves and surfaces in Curve iterator.

------------------------------------------------------------------------
r9446 | blendix | 2006-12-23 15:26:08 +0100 (Sat, 23 Dec 2006) | 5 lines


Addition to last imagepaint fix. Not only can image be NULL, but also
it cannot be assumed that an image window exists, when doing 3d texture
painting.

------------------------------------------------------------------------
r9445 | ton | 2006-12-23 13:58:25 +0100 (Sat, 23 Dec 2006) | 5 lines

Bugfix #5444

Additions in passrendering broke Baking a bit; what did not work was having
a full render + AO. Was missing a new flag initialize...

------------------------------------------------------------------------
r9444 | ton | 2006-12-23 13:40:20 +0100 (Sat, 23 Dec 2006) | 4 lines

Bugfix, irc collection:

ImagePaint crashed with using the new Brushes, NULL pointer check needed

------------------------------------------------------------------------
r9443 | intrr | 2006-12-23 13:19:18 +0100 (Sat, 23 Dec 2006) | 6 lines



Add a stub for IMB_exr_close() so blenderplayer compiles again

(I hope I did this right - works for me at least)

------------------------------------------------------------------------
r9442 | ton | 2006-12-23 12:56:22 +0100 (Sat, 23 Dec 2006) | 5 lines

Bugfix #5476

Lattice deforming a Particle system only supported regular parent relation-
ship, not modifiers.

------------------------------------------------------------------------
r9441 | ton | 2006-12-23 12:22:20 +0100 (Sat, 23 Dec 2006) | 5 lines

Bugfix #5497

Imagewindow: new Jkey (swap render rects) feature didn't correctly support
the Curves panel.

------------------------------------------------------------------------
r9440 | campbellbarton | 2006-12-23 11:42:34 +0100 (Sat, 23 Dec 2006) | 8 lines

adding this script that makes surrounding quads follow the mapping of the active face.
Added a new mode that generaly gives better results. "Loop Average" -
It gives good results for mapping roads that are more then just 1 quad wide.
Thanks LucidMonkey for pointing this out.

See the bottom of these docs.
http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Follow_active_quads

------------------------------------------------------------------------
r9439 | blendix | 2006-12-23 11:37:50 +0100 (Sat, 23 Dec 2006) | 3 lines


Preserve multiple UV and vertex color layers in NMesh.

------------------------------------------------------------------------
r9438 | ton | 2006-12-23 10:50:07 +0100 (Sat, 23 Dec 2006) | 5 lines

Bugfix #5481

After an ESC or render error, the render buffers in compositor were not
tagged to be released. Causing crashers.

------------------------------------------------------------------------
r9437 | nicholasbishop | 2006-12-23 06:40:58 +0100 (Sat, 23 Dec 2006) | 2 lines

Added two menu items to sculpt mode for controlling how much tablet pressure affects brush strength and brush size.

------------------------------------------------------------------------
r9434 | theeth | 2006-12-23 02:55:13 +0100 (Sat, 23 Dec 2006) | 8 lines

=== Transform Snap ===

==== Rotation Snap ====

Bug fixes. "Should learn to test properly" * 100

It works ok now, not just when rotating around the Y axis...

------------------------------------------------------------------------
r9433 | campbellbarton | 2006-12-23 01:56:40 +0100 (Sat, 23 Dec 2006) | 3 lines

Added Draw.BeginAlign(), Draw.EndAlign()
added align to a few scripts where it looks nice.

------------------------------------------------------------------------
r9432 | theeth | 2006-12-23 01:52:34 +0100 (Sat, 23 Dec 2006) | 13 lines

=== Transform Snap ===

==== Rotation Snap ====

Snap is no longer limited to Translation, it works in Rotation too.

There's some bugs left with rotation snap when using constraints, I'll be ironing that next.

==== Bug Fixes ====

* Fix manipulators to always use Grid.
* Fix initialization bug (took two transform call to do a correct snap init when changing between Grid and Snap)

------------------------------------------------------------------------
r9431 | nicholasbishop | 2006-12-23 00:02:10 +0100 (Sat, 23 Dec 2006) | 4 lines

Fix for bug #5372, multires - adding new multires level in Edit Mode causes odd behaviour

Also fixed a memory leak with multires+deformverts in editmode.

------------------------------------------------------------------------
r9430 | campbellbarton | 2006-12-22 23:57:05 +0100 (Fri, 22 Dec 2006) | 2 lines

setting/getting mcol by index was flipping red/blue. works now.

------------------------------------------------------------------------
r9429 | khughes | 2006-12-22 23:05:06 +0100 (Fri, 22 Dec 2006) | 6 lines



Python API
----------
Obligatory Englishization of BPy API documents. :-)

------------------------------------------------------------------------
r9428 | campbellbarton | 2006-12-22 22:23:27 +0100 (Fri, 22 Dec 2006) | 3 lines

Arnaure.Get() now raises an error when the name dosnt exist. added warning in docs.
Image - added img.fields, img.fields_odd, img.antialias, also updated the docs. replaced Py_BuildValue with faster list creation for getPixel functions.

------------------------------------------------------------------------
r9427 | ton | 2006-12-22 13:43:40 +0100 (Fri, 22 Dec 2006) | 7 lines

Bugfix #5491

Ztransp Mask issue: now I did all this work to solve the exceptions, but
forgot the most simple case: regular alpha-over :)

This solves for example AA issues in ztransp-hair over solid faces.

------------------------------------------------------------------------
r9426 | aligorith | 2006-12-22 10:05:37 +0100 (Fri, 22 Dec 2006) | 9 lines

== Snap Bones To Location in PoseMode ==

Now the Snap To Location (Shift S) tools for bones in pose-mode
work correctly. Previously, only one of these tools was implemented,
but it only worked in some cases.


This fixes item #4874 in Todo Tracker. Was patch #5012.

------------------------------------------------------------------------
r9425 | ton | 2006-12-22 09:30:19 +0100 (Fri, 22 Dec 2006) | 5 lines

Bugfix #5489

Variable "osatex" was hanging in cases, giving weird noisy results
in cases (like when you use extreme high frequency image texture).

------------------------------------------------------------------------
r9424 | blendix | 2006-12-22 09:23:25 +0100 (Fri, 22 Dec 2006) | 4 lines


Bugfix: UV texture layer without vertex color layer did not display correct
in the game engine.

------------------------------------------------------------------------
r9423 | blendix | 2006-12-22 09:10:29 +0100 (Fri, 22 Dec 2006) | 4 lines


Added Vertex Color material node, making render engine support for multiple
vertex color layers actually useful.

------------------------------------------------------------------------
r9422 | blendix | 2006-12-22 08:45:01 +0100 (Fri, 22 Dec 2006) | 3 lines


Fix: active face was lost switching between faceselect mode and editmode.

------------------------------------------------------------------------
r9421 | nicholasbishop | 2006-12-22 08:42:30 +0100 (Fri, 22 Dec 2006) | 2 lines

Disallow applying modifiers that change mesh topology while multires is active

------------------------------------------------------------------------
r9420 | blendix | 2006-12-22 08:41:29 +0100 (Fri, 22 Dec 2006) | 3 lines


Made multiple UV layers work with fastshade.

------------------------------------------------------------------------
r9419 | campbellbarton | 2006-12-22 08:07:20 +0100 (Fri, 22 Dec 2006) | 3 lines

removed typo from Render
added extFromFormat to BPyRender to get the extension for a format

------------------------------------------------------------------------
r9418 | campbellbarton | 2006-12-22 06:27:06 +0100 (Fri, 22 Dec 2006) | 4 lines

document render constants,
these should NOT be set in the Module, very messy!
35 constants are stored in Blender.Scene.Render.* rather then there own dicts arranged by usage.

------------------------------------------------------------------------
r9417 | campbellbarton | 2006-12-22 05:46:37 +0100 (Fri, 22 Dec 2006) | 2 lines

adding ob.activeMaterial - allows you to get/set the active material for an object.

------------------------------------------------------------------------
r9416 | campbellbarton | 2006-12-22 01:19:45 +0100 (Fri, 22 Dec 2006) | 10 lines

rewrote this script, it was the most out of date script and had some errors that are solved in the new script.
- moved to the weightpaint menu
- Use a group for envelope objects, no special names.
- Can use non mesh data for envalopes (anything that can be converted into a mesh - metaballs, text, surface)
- Dosnt rely on applying loc/size/rot for it to work properly
- Uses a good point-inside-mesh method (optimized with mesh and face bounding checks)
- uses Mesh instead of NMesh

todo, only update active vgroup

------------------------------------------------------------------------
r9415 | campbellbarton | 2006-12-21 23:30:30 +0100 (Thu, 21 Dec 2006) | 2 lines

filename was being copied into a string only the length of the max file.

------------------------------------------------------------------------
r9414 | campbellbarton | 2006-12-21 23:13:14 +0100 (Thu, 21 Dec 2006) | 2 lines

fix for bevel center as pointed out of the forums

------------------------------------------------------------------------
r9413 | campbellbarton | 2006-12-21 22:56:11 +0100 (Thu, 21 Dec 2006) | 4 lines

boxpack2d - python 2.3 compat fix, thanks brecht
gen_utils - needed to include BKE_library.h
off_import - use ed.key

------------------------------------------------------------------------
r9412 | theeth | 2006-12-21 21:45:57 +0100 (Thu, 21 Dec 2006) | 4 lines

=== Transform Snap ===

The circle drawn around the snap point is now truely constant regardless of zoom and size of the window. That size if linearly proportional to the vertex size (bigger vertex -> bigger circle).

------------------------------------------------------------------------
r9411 | ton | 2006-12-21 21:03:25 +0100 (Thu, 21 Dec 2006) | 3 lines

Another Image recode fix: the Composite backdrop option didn't work when
no viewer images was generated before.

------------------------------------------------------------------------
r9410 | ton | 2006-12-21 20:37:53 +0100 (Thu, 21 Dec 2006) | 4 lines

"Save Buffers" fix: when you ESC from rendering, it now saves empty
tiles in the file, that read back fast as black. This also solves
crashes on partial written files, when trying to read them.

------------------------------------------------------------------------
r9409 | ton | 2006-12-21 19:23:30 +0100 (Thu, 21 Dec 2006) | 2 lines

Made new Defocus node compile happily in MSVC

------------------------------------------------------------------------
r9408 | ton | 2006-12-21 19:11:07 +0100 (Thu, 21 Dec 2006) | 8 lines

Defocus Composite Node, by Alfredo de Greef

Log:
http://www.blender3d.org/cms/Composite__Defocus.836.0.html

An incredible quality composite effect, might be slow but worth waiting
for!

------------------------------------------------------------------------
r9407 | khughes | 2006-12-21 17:05:43 +0100 (Thu, 21 Dec 2006) | 6 lines



Python API
----------
Silence gcc warnings in Mesh API code.

------------------------------------------------------------------------
r9406 | khughes | 2006-12-21 17:05:01 +0100 (Thu, 21 Dec 2006) | 6 lines



Python API
----------
Bugfix: Scene.objects.new() didn't check string inputs correctly.

------------------------------------------------------------------------
r9405 | ton | 2006-12-21 16:44:46 +0100 (Thu, 21 Dec 2006) | 5 lines

Fix for threads usage. This solves the hanging 'render baking', cauused
by yesterdays commit.

Now a designater LOCK_IMAGE is used for all image write/read.

------------------------------------------------------------------------
r9404 | ton | 2006-12-21 16:30:43 +0100 (Thu, 21 Dec 2006) | 6 lines

Picker buttons: the 'sample' option crashed. Caused by yesterdays commit.

Reason: I had to make the "BUT" type in Blender to use callbacks *after* the
uiBlock was freed, because in Blender several of these callbacks invoke
drawing, which isn't possible while a block is being evaluated.

------------------------------------------------------------------------
r9403 | blendix | 2006-12-21 15:25:52 +0100 (Thu, 21 Dec 2006) | 3 lines


Fix compile error for last commit.

------------------------------------------------------------------------
r9402 | ton | 2006-12-21 15:00:18 +0100 (Thu, 21 Dec 2006) | 6 lines

UnPack data fix:

Now uses original filename for unpacking, instead of the Blender ID name.
That latter was a nice idea, but because of its 20 char maxname limit
not working well.

------------------------------------------------------------------------
r9401 | blendix | 2006-12-21 14:47:27 +0100 (Thu, 21 Dec 2006) | 17 lines


Added names to UV and vertex color layers, and display them as a list.

Added support for multiple UVs in the render engine. This also involved
changing the way faces are stored, to allow data to be added optionally
per 256 faces, same as the existing system for vertices.

A UV layer can be specified in the Map Input panel and the Geometry node
by name. Leaving this field blank will default to the active UV layer.

Also added sharing of face selection and hiding between UV layers, and at
the same time improved syncing with editmode selection and hiding.

Still to do:
- Multi UV support for fastshade.
- Multires and NMesh preservation of multiple UV sets.

------------------------------------------------------------------------
r9400 | ton | 2006-12-21 14:39:02 +0100 (Thu, 21 Dec 2006) | 5 lines

Packing Images fix:

- a 'procedural image' like 'UV Test Grid' now can be directly packed,
  it does ask first for confirming to pack it as PNG

------------------------------------------------------------------------
r9399 | ton | 2006-12-21 13:36:25 +0100 (Thu, 21 Dec 2006) | 6 lines

removed the WKey "Split font" option. It doesnt work and corrupts memory
(saved files cannot read back, they crash).

The implementation of this option was plain accident that it even worked
once... you cannot use the API in blender that way.

------------------------------------------------------------------------
r9398 | ton | 2006-12-21 11:41:43 +0100 (Thu, 21 Dec 2006) | 5 lines

MultiLayer images: added support for choosing compression type.

Without setting anything, it uses ZIP now as default, which gives the best
lossless compression and works nice fast.

------------------------------------------------------------------------
r9397 | ton | 2006-12-21 08:52:20 +0100 (Thu, 21 Dec 2006) | 5 lines

UV Image Window:
Brought back the old "image properties" panel, which actually only showed
options for real-time textures. Available in pulldown menu as "Real-time
Properties".

------------------------------------------------------------------------
r9396 | campbellbarton | 2006-12-21 05:20:07 +0100 (Thu, 21 Dec 2006) | 4 lines

Updated to use face.edge_keys,
fixed problem with merging islands not detecting an island in an island (wrong offset)
better island merging from user input

------------------------------------------------------------------------
r9395 | hos | 2006-12-21 02:16:25 +0100 (Thu, 21 Dec 2006) | 9 lines

Only include the header openexr_multi.h when WITH_OPENEXR is defined.
This header defines function stubs for builds without OpenEXR.
A quote from openexr_multi.h:

/* ugly... but we only use it on pipeline.c, render module, now */

No longer true! Function definitions should never be in header files,
I say.

------------------------------------------------------------------------
r9394 | nicholasbishop | 2006-12-21 01:42:43 +0100 (Thu, 21 Dec 2006) | 2 lines

Turn of partial visibility in sculptmode when applying modifiers

------------------------------------------------------------------------
r9393 | khughes | 2006-12-21 01:17:30 +0100 (Thu, 21 Dec 2006) | 7 lines



Python API
----------
Bug fix for SurfNurb.flagU and SurfNurb.flagV setters: makeknots() was not
being called with correct arguments.

------------------------------------------------------------------------
r9392 | khughes | 2006-12-21 00:26:14 +0100 (Thu, 21 Dec 2006) | 7 lines



Python API
----------
Undo for part of previous commit.  Campbell reminded me that UV texture faces
aren't "users" like other objects, so removing the code which changes them.

------------------------------------------------------------------------
r9391 | nicholasbishop | 2006-12-21 00:25:29 +0100 (Thu, 21 Dec 2006) | 2 lines

Applying subsurf in sculptmode should do a sculptmode undo_push

------------------------------------------------------------------------
r9390 | khughes | 2006-12-20 23:56:58 +0100 (Wed, 20 Dec 2006) | 8 lines



Python API
----------
Bugfix/enhancement: allow image of mesh's UV faces to be removed/cleared by
"del f.image" or "f.image = None", and handle image user counts correctly
when assigning/clearing images.

------------------------------------------------------------------------
r9389 | ton | 2006-12-20 23:41:44 +0100 (Wed, 20 Dec 2006) | 5 lines

Bugfix:
For "Render to Image window": On re-render, the 32 bits display buffer of
a RenderResult was not freed, so it looked as if the rendered image was
not changed.

------------------------------------------------------------------------
r9388 | ton | 2006-12-20 23:03:06 +0100 (Wed, 20 Dec 2006) | 5 lines

Bug in new "generated image": when you save it, it didn't set the type to
'non generated' correctly.

Also: tooltip fix for radio pass.

------------------------------------------------------------------------
r9387 | ton | 2006-12-20 22:51:08 +0100 (Wed, 20 Dec 2006) | 4 lines

Game Player links again, added new functions in the stubs

(image.c: prototype fix)

------------------------------------------------------------------------
r9386 | ton | 2006-12-20 22:34:20 +0100 (Wed, 20 Dec 2006) | 3 lines

Function returned no '1', causing multilayer files to not read, except
for me of course :)

------------------------------------------------------------------------
r9385 | elubie | 2006-12-20 21:52:39 +0100 (Wed, 20 Dec 2006) | 3 lines

==== MSVC 7 project files ====
- small bullet maintenance for added btAlignedAllocator

------------------------------------------------------------------------
r9384 | theeth | 2006-12-20 20:47:12 +0100 (Wed, 20 Dec 2006) | 12 lines

=== Transform Snap ===

(Implementing Matt's idea)

Grid and Snap are now exclusively controlled by the Control key (pun intented).

You can switch to Snap by selecting the snap option in the Transform menu (this option is only available in edit mode on a mesh. this option is per 3D view) (NOTE: There is currently no hotkey for that, anyone should feel free to add one).

When Snap is selected, holding down Ctrl during translations (grab) snaps to vertex.

All other situations which have no snapping code yet defaults to Grid.

------------------------------------------------------------------------
r9383 | ton | 2006-12-20 20:45:05 +0100 (Wed, 20 Dec 2006) | 2 lines

Oops, another wrong call to Image in game player.

------------------------------------------------------------------------
r9382 | ton | 2006-12-20 20:29:37 +0100 (Wed, 20 Dec 2006) | 2 lines

GamePlayer: now uses new Image API calls too, so it compiles.

------------------------------------------------------------------------
r9381 | ton | 2006-12-20 20:23:57 +0100 (Wed, 20 Dec 2006) | 5 lines

Two bugfixes for Image commit:

- Jkey press without a render crashed
- UV FaceSelect, assign/view image,  crashed all over... :)

------------------------------------------------------------------------
r9380 | nicholasbishop | 2006-12-20 19:55:29 +0100 (Wed, 20 Dec 2006) | 2 lines

Consolidated a few more memory allocs in multires

------------------------------------------------------------------------
r9379 | ton | 2006-12-20 19:39:29 +0100 (Wed, 20 Dec 2006) | 2 lines

Oops! Forgot to commit the necessary changes in game engine.

------------------------------------------------------------------------
r9378 | ton | 2006-12-20 19:29:23 +0100 (Wed, 20 Dec 2006) | 2 lines

Warning fixes for previous Image commit, also fixed verse_image.c

------------------------------------------------------------------------
r9377 | khughes | 2006-12-20 19:07:39 +0100 (Wed, 20 Dec 2006) | 7 lines



Python API
----------
User documentation for scn.objects (SceneObjects class).  Documents what is
implemented right now; there still may be some minor changes prior to release.

------------------------------------------------------------------------
r9376 | ton | 2006-12-20 18:57:56 +0100 (Wed, 20 Dec 2006) | 14 lines

The Big Image refactor!

Please read:
http://www.blender3d.org/cms/Imaging.834.0.html

Or in short:

- adding MultiLayer Image support
- recoded entire Image API
- better integration of movie/sequence Images

Was a whole load of work... went down for a week to do this. So, will need
a lot of testing! Will be in irc all evening.

------------------------------------------------------------------------
r9375 | khughes | 2006-12-20 17:02:01 +0100 (Wed, 20 Dec 2006) | 7 lines



Python API
----------
Change Scene.objects.new() to accept the string "Empty" instead of Python
None when creating new empty objects.

------------------------------------------------------------------------
r9374 | nicholasbishop | 2006-12-20 09:33:30 +0100 (Wed, 20 Dec 2006) | 2 lines

Modified sculptmode's vertex_users to use one large chunk of memory rather than many small pieces.

------------------------------------------------------------------------
r9373 | nicholasbishop | 2006-12-20 09:12:32 +0100 (Wed, 20 Dec 2006) | 2 lines

As Brecht suggested, changed multires vert maps to use one big chunk of memory rather than many small ones.

------------------------------------------------------------------------
r9372 | nicholasbishop | 2006-12-20 08:04:40 +0100 (Wed, 20 Dec 2006) | 2 lines

Fixed bug #5443, Multires: crash when changing the level of edges to draw

------------------------------------------------------------------------
r9371 | erwin | 2006-12-20 07:43:43 +0100 (Wed, 20 Dec 2006) | 2 lines

Enable 'show physics visualization' in the Game Menu. Should help to locate problems with collision detection/physics (also useful when baking, and/or using the new rigidbody constraints).

------------------------------------------------------------------------
r9370 | nicholasbishop | 2006-12-20 07:09:32 +0100 (Wed, 20 Dec 2006) | 2 lines

Several small fixes for sculptmode. First, corrected the fade formula for sculptmode to use pi rather than 3. Second, property set with the FKey now updates the screen immediately when activated. Third, the two propset modes are now offset to the left of the mouse so that small adjustments to strength and size are easier to make.

------------------------------------------------------------------------
r9369 | erwin | 2006-12-20 03:16:32 +0100 (Wed, 20 Dec 2006) | 2 lines

fixed some COLLADA 1.4 Physics issues (mass should be 0 when dynamics = false, shapes should ignore actor flag, some special 'Blender heuristic' when bounds are not chosen: sphere if dynamic, static trimesh if static.

------------------------------------------------------------------------
r9368 | theeth | 2006-12-19 23:25:07 +0100 (Tue, 19 Dec 2006) | 12 lines

=== Transform Snap ===

Draw a circle around the snapping point for visual aid.

Different snapping target method, switchable in the 3d view header menu in the Transform menu.

* Closest: Snaps the closest vertex to the point
* Median: Snaps the median of the selection to the point
* Center: Snaps the transform center to the point (this is different from median because you can use Cursor/Boundbox as center)

Fix a bug with constraints/snap handling.

------------------------------------------------------------------------
r9367 | nicholasbishop | 2006-12-19 19:38:21 +0100 (Tue, 19 Dec 2006) | 2 lines

Prevent user from duplicating elements in edit mode while multires is active.

------------------------------------------------------------------------
r9366 | khughes | 2006-12-19 18:17:14 +0100 (Tue, 19 Dec 2006) | 6 lines



Python API
----------
Correcting typos in Object documentation.

------------------------------------------------------------------------
r9365 | aligorith | 2006-12-19 10:57:24 +0100 (Tue, 19 Dec 2006) | 4 lines

Oops! Fixing a little compile error I caused in my previous commit.

Thanks ideasman_42 for the hint. (Now why did gcc not warn me about this?)

------------------------------------------------------------------------
r9364 | campbellbarton | 2006-12-19 10:41:45 +0100 (Tue, 19 Dec 2006) | 3 lines

adding ob_arm.makeParentBone([ob1, ob2...], bonename)
ob.parentbonename is also settable now as long as it already has a bone parent

------------------------------------------------------------------------
r9363 | aligorith | 2006-12-19 10:21:41 +0100 (Tue, 19 Dec 2006) | 11 lines

== Action Editor - Column Select Tools ==

* 'On Selected Markers' and 'Between Selected Markers' now get a
correction for NLA action scaling .

* Bugfix for 'Between Selected Markers': now keyframes that occur
on and between the selected markers get selected.

* Bugfix for 'On Selected Markers': now it only considers selected
markers (it used to consider all markers)

------------------------------------------------------------------------
r9362 | theeth | 2006-12-19 00:48:32 +0100 (Tue, 19 Dec 2006) | 14 lines

=== Transform Snap ===

Work in Progress: this adds vertex snapping capabilities to translations.

As before, use the menu or the hotkey (` during transform) to turn on snapping.

Currently, snapping is restricted to translation and only snap to verts. Also, it will snap the nearest moving vert to the snapping vert.

This also has a timeout period and refreshes the snapping point only every 0.25 seconds (assuming the timer is precise enough to do that) to mitigate the slowdown due to repeated calls to findnearestvert. Eventually, a faster method will have to be used.

Also, this uncovered a bug in findnearestvert which can manifest itself as jumps and lags in snapping. People are looking into it.

Still, with all those disclaimers, get the suggestions/critics pouring in.

------------------------------------------------------------------------
r9361 | theeth | 2006-12-19 00:40:35 +0100 (Tue, 19 Dec 2006) | 6 lines

=== Bug Fix ===

There was a hotkey conflict between Preview Render and Push/Pull in object mode.

This is a temporary fix, assigning Push/Pull to Alt-Shift-P (only applies to Object Mode, the rest is Shift-P as before).

------------------------------------------------------------------------
r9360 | aligorith | 2006-12-18 11:17:40 +0100 (Mon, 18 Dec 2006) | 8 lines

== Scaling Constraints Working in Local-Space ==

* Patch #5442: "Fix Bone SizeLimit" by Heriberto Mendez (gammarayq21)
'Limit Scale' constraint can now work on bone's local scaling too.

* I've also made the 'Copy Scale' constraint able to use the local scaling
of bones too.

------------------------------------------------------------------------
r9359 | nicholasbishop | 2006-12-18 09:39:11 +0100 (Mon, 18 Dec 2006) | 2 lines

Added support for undoing multires actions in sculptmode.

------------------------------------------------------------------------
r9358 | erwin | 2006-12-18 08:51:12 +0100 (Mon, 18 Dec 2006) | 2 lines

Use degrees instead of radians for rigidbody constraint axis (euler angles). Radians can't specifiy 90-degree angles precisely, the input is only 3 decimals accurate...

------------------------------------------------------------------------
r9357 | aligorith | 2006-12-18 06:15:17 +0100 (Mon, 18 Dec 2006) | 9 lines

== NLA Editor ==

Todo Tracker Item: #4754

Now the 'Convert Action to NLA Strip' command (CKEY) is able to
be found in the NLA editor's header in the Strip Menu. It now tries
to add a convert the active action of the active object (so it is no
longer dependant on mouse location).

------------------------------------------------------------------------
r9356 | hos | 2006-12-18 02:22:38 +0100 (Mon, 18 Dec 2006) | 10 lines

The OpenEXR include path needed to be a bit more elaborate... oddly
cmake always says OPENEXR_INC not found despite the fact that I have
the headers and it finds them correctly during building.

<digression>
There seems to be some conflict between setting, configuring as an
option, and autofinding files for some of the dependencies, and I don't
know how to resolve this.
</digression>

------------------------------------------------------------------------
r9355 | aligorith | 2006-12-18 01:21:47 +0100 (Mon, 18 Dec 2006) | 7 lines

== Action Editor ==

When the current action is the active strip in the nla editor and that strip
is scaled, snapping keys to the current frame didn't work correct. Now,
I've added a correction for snapping and mirroring keyframes in action
editor for such cases.

------------------------------------------------------------------------
r9354 | aligorith | 2006-12-18 00:21:24 +0100 (Mon, 18 Dec 2006) | 5 lines

== Long Keyframes ==

Removed a check that was not really useful, and seemed to cause
a few problems for some people when duplicating keyframes.

------------------------------------------------------------------------
r9353 | aligorith | 2006-12-17 11:02:23 +0100 (Sun, 17 Dec 2006) | 7 lines

== Transform Limiting Constraints ==

Two tweaks:
* Reduced the amount of empty space at the bottom of these constraints.
* When using the Add Constraint menu (Ctrl Alt C) to add new constraints,
an empty is no longer created when creating a "Limit *" constraint.

------------------------------------------------------------------------
r9352 | khughes | 2006-12-17 07:58:02 +0100 (Sun, 17 Dec 2006) | 4 lines



Missing variable initialization from earlier Object.New() patch.

------------------------------------------------------------------------
r9351 | khughes | 2006-12-17 06:55:56 +0100 (Sun, 17 Dec 2006) | 6 lines



Python API
----------
Bugfix #5447: bug in determining whether a Curve was a CurNurb or SurfNurb.

------------------------------------------------------------------------
r9350 | erwin | 2006-12-17 06:54:45 +0100 (Sun, 17 Dec 2006) | 2 lines

prevent crash in case no polygons have collisions assigned

------------------------------------------------------------------------
r9349 | khughes | 2006-12-17 05:24:19 +0100 (Sun, 17 Dec 2006) | 7 lines



Python API
----------
Fixing various typos (hey guys, it's helpful to proofread the documentation
before you commit it :-) )

------------------------------------------------------------------------
r9348 | aligorith | 2006-12-17 04:03:05 +0100 (Sun, 17 Dec 2006) | 2 lines

Removed double confirmation for deleting keys in action editor.

------------------------------------------------------------------------
r9347 | campbellbarton | 2006-12-17 03:16:29 +0100 (Sun, 17 Dec 2006) | 2 lines

added fakeUser and users to more pytypes

------------------------------------------------------------------------
r9346 | joeedh | 2006-12-17 02:08:47 +0100 (Sun, 17 Dec 2006) | 12 lines

=IDProperties Python Test GUI Script update=

Stupid typo in script, you couldn't go into
a subgroup if it was the first property in 
the list.

Also, name collision code needed a little work.
This could result in overwriting properties
with the New button, which should instead
work as the rest of blender and add .XXX
to the name.

------------------------------------------------------------------------
r9345 | joeedh | 2006-12-17 01:58:23 +0100 (Sun, 17 Dec 2006) | 5 lines

=IDProperties Python update=

Updated epydocs for next-to-latest
id properties commit.

------------------------------------------------------------------------
r9344 | joeedh | 2006-12-17 01:51:07 +0100 (Sun, 17 Dec 2006) | 19 lines

=IDProperties Python update=

Added a test gui script for ID Properties.  To use,
just select ID Property Browser from the help menu.
You can browse, create and edit ID Properties
for several library block types.  Should be
fairly straightforward to use.

This is a test gui script; once an actual ID property
gui is implemented in blender it will be removed.  It
is *not* going to be in the release, obviously, so once
the real gui is implemented this script will be removed.
Also, this being a testing non-release script it seems to me
to be okay to add it without all the proper review stuff.  If
not, I can remove it.

I believe a test script is really, really needed to properly
test/review id properties, so I feel this is worth it.

------------------------------------------------------------------------
r9343 | khughes | 2006-12-17 01:21:57 +0100 (Sun, 17 Dec 2006) | 7 lines



Python API
----------
A more robust attempt to avoid creating non-Empty objects with no data while
maintaining backward compatibility.

------------------------------------------------------------------------
r9342 | campbellbarton | 2006-12-17 01:08:05 +0100 (Sun, 17 Dec 2006) | 2 lines

Use ed.key and face.edge_keys to build connectivity data faster.

------------------------------------------------------------------------
r9341 | joeedh | 2006-12-17 00:54:45 +0100 (Sun, 17 Dec 2006) | 28 lines

=IDProperties Python update=

Updated id properties interface as per
discussed in python meeting.  Basically,
id properties are now entirely accessed
through the dict-like interface if IDGroupType.
Also, tp_getsetters are used throughout the code
now.

Using the dict interface allowed for a major cleanup
of the wrapping code.  The biggest change is that ID
properties are no longer wrapped in a structure with 
.type .name and .data members; instead when you get
properties from the group it returns the direct value.
Ints, strings and floats return simple python types,
while arrays and groups return special wrappers though.

This means to detect the type of an ID property, you
have to use type().  For string and int types this is
easy; for group and array types (which of course have
their own wrappers) you use type() with Blender.IDGroupType
or Blender.IDArrayType.

Update of epydocs plus a temporary gui script will be
forthcoming; the gui script will be removed before release
as of course by then we'll have a built-in gui for id
properties.

------------------------------------------------------------------------
r9340 | campbellbarton | 2006-12-17 00:46:43 +0100 (Sun, 17 Dec 2006) | 3 lines

adding ed.key and face.edge_keys
avoids a lot of boiler place code in scripts that need to build connectivity.

------------------------------------------------------------------------
r9339 | campbellbarton | 2006-12-16 23:04:21 +0100 (Sat, 16 Dec 2006) | 4 lines

Enable/Disable DupFaces from the Python API.

Fixed a (own) bug in fakeUsers and added fakeUsers to Objects and Materials as well as Mesh.

------------------------------------------------------------------------
r9338 | erwin | 2006-12-16 22:14:36 +0100 (Sat, 16 Dec 2006) | 2 lines

fixed issue: rbHalfExtents was accidently named wrongly rbShapeBoundType

------------------------------------------------------------------------
r9337 | erwin | 2006-12-16 21:50:35 +0100 (Sat, 16 Dec 2006) | 4 lines

updated to latest ColladaBlender 1.4 exporter, version 0.3.137

There are some issue that we need to resolve with changed Python interface: rbHalfExtents for example

------------------------------------------------------------------------
r9336 | campbellbarton | 2006-12-16 11:39:08 +0100 (Sat, 16 Dec 2006) | 5 lines


made editmode select grouped work with mixed selections - can show select grouped items for vert/edges/faces all at once.

bad comment in Axiscopy and spelling fix in export_obj

------------------------------------------------------------------------
r9335 | erwin | 2006-12-16 06:50:38 +0100 (Sat, 16 Dec 2006) | 3 lines

contribution from RCRuiz:
drawing of rigidbody constraint pivots, and allow passing of full constraint frame.

------------------------------------------------------------------------
r9334 | campbellbarton | 2006-12-16 04:36:54 +0100 (Sat, 16 Dec 2006) | 4 lines

Sys.c was getting the path seperator out of the python dict and converting it to a char for all path functions.
made DIRSEP a constant and refer to that directly.
Draw.c's PupBlock limit was 24, made 120 to match blenders internal limit.

------------------------------------------------------------------------
r9333 | aligorith | 2006-12-16 01:07:14 +0100 (Sat, 16 Dec 2006) | 6 lines

== Long Keyframes ==

Bugfix for an error reported by Bassam/slikdigit.
Sometimes, long keyframes could still get created where they aren't
supposed to be (only occuring in a few ipo-curves).

------------------------------------------------------------------------
r9332 | campbellbarton | 2006-12-15 23:14:33 +0100 (Fri, 15 Dec 2006) | 8 lines

update to Axiscopy, more error checking. basic functionality the same.
- Dont allow it to apply the matrix twice to a linked-dupe. (Same as Apply Loc/Size/Rot)
- Make sure that the source object is active, not just the first selected object.
- Use Mesh instead of NMesh.
- use mesh.transform(mat) rather then vert by vert vec*mat

Other scripts had pupBlock changes for better layout.

------------------------------------------------------------------------
r9331 | campbellbarton | 2006-12-15 21:22:59 +0100 (Fri, 15 Dec 2006) | 4 lines

made the hax height of the clever_numbers 8 rather then 5, was wrapping on too many scripts.
bvh import was having errors on joints with no animation.
typo in uvcopy from my previous commit.

------------------------------------------------------------------------
r9330 | jbinto | 2006-12-15 11:40:37 +0100 (Fri, 15 Dec 2006) | 2 lines

CMake: Add scripts copy back into postbuild on Windows after accidentally removing it when adding the plugins

------------------------------------------------------------------------
r9329 | campbellbarton | 2006-12-15 10:58:16 +0100 (Fri, 15 Dec 2006) | 2 lines

Wasnt initializing a pointer as null, messed up making new object names

------------------------------------------------------------------------
r9328 | campbellbarton | 2006-12-15 10:25:57 +0100 (Fri, 15 Dec 2006) | 3 lines

removing uvcalc_from_adjacent for review on Sunday's meeting.
image_dump2path is a stopgap util. We need to look into making Pack/Unpack use filenames, not IDnames. or have some other datamanagement utility.

------------------------------------------------------------------------
r9327 | aligorith | 2006-12-15 06:51:53 +0100 (Fri, 15 Dec 2006) | 14 lines

== Action Editor - 'Long' Keyframes ==

When animating, it is often useful to be able to visually see where the
'pauses' are between keyframes. Long keyframes do this - linking two
keyframes in the same channel together.

Long keyframes are only drawn when the two keyframes have the exact
same values. This has to happen for every ipo-curve represented by the
keyframes shown for a long keyframe to be drawn.

I've added two new theme colours for the action editor. They are for
the selected and deselected colours of the long keyframes (currently
defaulted to be the same as the NLA strip selection colours).

------------------------------------------------------------------------
r9326 | campbellbarton | 2006-12-15 05:49:06 +0100 (Fri, 15 Dec 2006) | 3 lines

Shift flips the current axis your draging.
uv's and mocified vertex coords are now in a big list rather then stored be faces, should be faster

------------------------------------------------------------------------
r9325 | campbellbarton | 2006-12-15 05:14:09 +0100 (Fri, 15 Dec 2006) | 8 lines


Updated, optimizations and cleanup.
* accurate mouse to mapping using ray intersect,
* right clicking cancels and returns original coords

Doc is here
http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Click_project_from_face

------------------------------------------------------------------------
r9324 | aligorith | 2006-12-15 00:38:43 +0100 (Fri, 15 Dec 2006) | 11 lines

Bugfix #5434: Animation (alt-a / timeline) will not play if Sta:
frame set higher than End: frame

The end frame should not be allowed to have a value less
than the start frame. This commit sets the minimum allowable
value of the end frame button in the Anim panel and the timeline
to the start frame value.

Ton/Matt - if there is a good reason to not do this, feel free to
revert it back.

------------------------------------------------------------------------
r9323 | aligorith | 2006-12-15 00:20:47 +0100 (Fri, 15 Dec 2006) | 5 lines

== Add Constraints Menu ==

Now, it is possible to add action constraints to the last selected bone
from the Add Constraint Menu (Ctrl Alt C)

------------------------------------------------------------------------
r9322 | aligorith | 2006-12-14 23:58:22 +0100 (Thu, 14 Dec 2006) | 5 lines

Constraints on bones working in 'local' mode, now obey the Enforce
value for constraints. Only Copy Rotation used to do so.

Note: only enforce values of 0.0 or 1.0 are useful/totally predictable

------------------------------------------------------------------------
r9321 | campbellbarton | 2006-12-14 20:36:37 +0100 (Thu, 14 Dec 2006) | 5 lines

new Uv-Calculation tool,
Click project, a nifty 3 click way to use a face to set a projection aurientation and then 2 more clicks for the U and V scales
with realtime updating as you move the mouse
should be faster then using view project all the time because you dont have to line the view up with the faces.

------------------------------------------------------------------------
r9320 | campbellbarton | 2006-12-14 15:53:32 +0100 (Thu, 14 Dec 2006) | 7 lines


faster sorting syntax in python, try/except for py 2.3 backwards compat

  ls.sort(key = lambda v: v.foo)
rather then
  ls.sort(lambda a,b: cmp(a.foo, b.foo))

------------------------------------------------------------------------
r9319 | broken | 2006-12-14 11:43:13 +0100 (Thu, 14 Dec 2006) | 2 lines

* reverted and tweaked UV calculation menu after IRC discussion with Cam

------------------------------------------------------------------------
r9318 | campbellbarton | 2006-12-14 10:56:56 +0100 (Thu, 14 Dec 2006) | 3 lines

fixed mouseViewRay in BPyWindow, was not applying the objects matrix to the mouse direction correctly.
VCol and Weight gradient work again.

------------------------------------------------------------------------
r9317 | campbellbarton | 2006-12-14 04:43:02 +0100 (Thu, 14 Dec 2006) | 7 lines

object_apply_def - use new BPy Object API funcs, no error in localview
off_export - minor changes
uv_archimap - cleanup. slightly slower but less duplicate code
uv_from_adjacent - nothing

BPY_menus - renamed py slot UvCalculation to UVCalculation to be consistant

------------------------------------------------------------------------
r9316 | aligorith | 2006-12-14 01:08:49 +0100 (Thu, 14 Dec 2006) | 6 lines

== Action Editor ==

When the active action in the action editor is the active strip in the
NLA editor, translating (GKEY) the selected keys now shows the
'visual' time instead of the action's local time in the header.

------------------------------------------------------------------------
r9315 | hos | 2006-12-13 19:31:54 +0100 (Wed, 13 Dec 2006) | 5 lines

Make 'WITH_OPENAL' a configurable option. This is mostly cosmetic
because it gets set to one value or another on most platforms.
On windows, only link to DirectX if WITH_OPENAL is set to ON
(it isn't needed otherwise). This OpenAL stuff is pretty confusing!

------------------------------------------------------------------------
r9314 | sirdude | 2006-12-13 16:37:59 +0100 (Wed, 13 Dec 2006) | 7 lines



Reverting IMAnames_to_pupstring to IDnames_to_pupstring
until Ton changes it to whatever he was thinking ;)

Kent

------------------------------------------------------------------------
r9313 | jbinto | 2006-12-13 13:27:11 +0100 (Wed, 13 Dec 2006) | 2 lines

CMake: Fix reqular expression message on Windows from Apple framework detection by using common OPENAL_INC variable instead of CMake detection var OPENAL_INCLUDE_DIR

------------------------------------------------------------------------
r9312 | ton | 2006-12-13 09:50:11 +0100 (Wed, 13 Dec 2006) | 10 lines

Armature Proxy bugfix: synchronizing the pose went wrong when the proxy
had new dependencies added internally (like constraints), changing the
evaluation order for pose channels. My optimized code didn't like it, so
now it falls back to a reliable slower method.

Bug showed as totally messed up characters for proxies...

Also: increased range for 3D Window properties clip-start/end, this is
still a bad construct though...

------------------------------------------------------------------------
r9311 | campbellbarton | 2006-12-13 04:21:14 +0100 (Wed, 13 Dec 2006) | 3 lines

python multi UV support -
active index was incorrect, removing layers after they had non was crashing blender, now raise an error.

------------------------------------------------------------------------
r9310 | jbinto | 2006-12-13 03:57:57 +0100 (Wed, 13 Dec 2006) | 3 lines

CMake: Give error on attempts to generate within the sources with
instructions on how to do it out-of-source

------------------------------------------------------------------------
r9309 | campbellbarton | 2006-12-13 03:55:49 +0100 (Wed, 13 Dec 2006) | 4 lines

name changes from theeths suggestions
totUvLayers -> totalUVLayers
addUvLayers -> addUVLayers

------------------------------------------------------------------------
r9308 | hos | 2006-12-13 03:54:59 +0100 (Wed, 13 Dec 2006) | 6 lines

Crude test so that if openal comes from apple framework stuff, use the
headers <al.h>, <alc.h>, and <alut.h> instead of <AL/al.h>, <AL/alc.h>,
and <AL/alut.h>

(cmake generated makefiles now work out of the box on my intel mac)

------------------------------------------------------------------------
r9307 | hos | 2006-12-13 03:11:11 +0100 (Wed, 13 Dec 2006) | 2 lines

Small typo (-DNO_SOUND instead of -DNOSOUND).

------------------------------------------------------------------------
r9306 | nicholasbishop | 2006-12-13 01:54:16 +0100 (Wed, 13 Dec 2006) | 2 lines

Fixed bug #5402, retopo paint lines don't follow zoom level of 3d viewport. Retopo paint is now specific to one view (the first view you click in after activating retopo paint.)

------------------------------------------------------------------------
r9305 | campbellbarton | 2006-12-13 01:50:02 +0100 (Wed, 13 Dec 2006) | 17 lines

exposed CustomData_get_active_layer_index in BKE_customdata.h (needed by python to get the active layer)

added python api stuff to deal with Color and UV/Image layers.

me.activeUvLayer - int
me.activeColorLayer - int
me.totUvLayers - int
me.totColorLayers - int

me.addUvLayer()
me.addColorLayer()
me.removeUvLayer()
me.removeColorLayer()


Variable names may need changing.

------------------------------------------------------------------------
r9304 | ton | 2006-12-12 23:03:09 +0100 (Tue, 12 Dec 2006) | 3 lines

Bugfix: restriction buttons didn't draw correct when outliner view was
'all scenes' or 'groups'. Caused by optizing drawing.

------------------------------------------------------------------------
r9303 | campbellbarton | 2006-12-12 22:38:04 +0100 (Tue, 12 Dec 2006) | 3 lines

mesh_edges2curves - edge key optimize and made use of scn.objects rather then Object.New()..
Object.py - passIndex mistake

------------------------------------------------------------------------
r9302 | blendix | 2006-12-12 22:29:09 +0100 (Tue, 12 Dec 2006) | 15 lines


Multiple UV and vertex color layers: (still work in progress)

These can be created and deleted in the Mesh panel in the same place as
before. There is always one active UV and vertex color layer, that is
edited and displayed.

Important things to do:
- Render engine, material support
- Multires and NMesh now lose non active layers

Also CustomData changes to support muliple layers of the same type, and
changes to layer allocation, updated documentation is here:
http://mediawiki.blender.org/index.php/BlenderDev/BlenderArchitecture/CustomData

------------------------------------------------------------------------
r9301 | campbellbarton | 2006-12-12 22:01:43 +0100 (Tue, 12 Dec 2006) | 2 lines

added ob.passIndex to bpy, changed passIndex tooltip to a better one ton suggested.

------------------------------------------------------------------------
r9300 | ton | 2006-12-12 21:24:12 +0100 (Tue, 12 Dec 2006) | 5 lines

Bugfix: usage of 2 unitialized variables (again!). I should set gcc to use
O2 by default... without O2 it doesnt warn me for it.

This should fix errors in Material Node and "Vector Math" node.

------------------------------------------------------------------------
r9299 | ton | 2006-12-12 17:47:18 +0100 (Tue, 12 Dec 2006) | 7 lines

Bugfix: Object "restrict render" option was missing in vectorblur

Plumiferos request: Made individual duplicated group objects still check on
the restriction flag, *after* the group-duplicator itself was checked for.
So it works both. (Matt; was urgent feature, hope you're OK? These options
showed in outliner for groups anyway :).

------------------------------------------------------------------------
r9298 | ton | 2006-12-12 15:05:44 +0100 (Tue, 12 Dec 2006) | 3 lines

Argh, bugfix to survive non-existing window types made top bar go
away.

------------------------------------------------------------------------
r9297 | erwin | 2006-12-12 14:24:45 +0100 (Tue, 12 Dec 2006) | 2 lines

some fixes in a recent contribution, added return values and check for valid pointer, to avoid crashes.

------------------------------------------------------------------------
r9296 | jbinto | 2006-12-12 13:43:02 +0100 (Tue, 12 Dec 2006) | 2 lines

CMake: Oops. Fix Info.plist problem from recent changes in bundling steps.

------------------------------------------------------------------------
r9295 | ton | 2006-12-12 12:13:43 +0100 (Tue, 12 Dec 2006) | 10 lines

Three-fixes-in-one:

#5417: Only Shadow material gave shadow outside of Spot bundle
#5414: Material Nodes: sockets without input were always treated as single
       value inputs, ignoring color or vector. (Caused by commit to do
       automatic conversions of socket links).
#5420: When reading with old Blender a new file that has a new window type,
       saving it over, and read back in current Blender, the window type
       should be reset to EMPTY, because all its data got lost.

------------------------------------------------------------------------
r9294 | campbellbarton | 2006-12-12 11:38:43 +0100 (Tue, 12 Dec 2006) | 14 lines

simple change, made
Changed...
  me = NMesh.GetRaw(ob.data.name)
To
  me = NMesh.GetRaw(ob.getData(name_only=1))

The line above converts the entire mesh to a python thick wrapper just to get its name, then only to that that same mesh again??
A lot of older scripts did this but theres no reason to do it.

in most (all?) cases..
  me = ob.data - should be ok, but theres a subtle difference and I dont want to break anything.

xfig_export, xsi_export and videoscape_export need error checking too.

------------------------------------------------------------------------
r9293 | campbellbarton | 2006-12-12 09:05:08 +0100 (Tue, 12 Dec 2006) | 3 lines

popup error if the active objects datatype cant have keys as well as other cases where it would quit,
use Mesh rather then NMesh to get the keyblock, enable restrictRender for driver objects.

------------------------------------------------------------------------
r9292 | campbellbarton | 2006-12-12 08:28:20 +0100 (Tue, 12 Dec 2006) | 5 lines

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

------------------------------------------------------------------------
r9291 | campbellbarton | 2006-12-12 06:29:42 +0100 (Tue, 12 Dec 2006) | 4 lines

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.

------------------------------------------------------------------------
r9290 | campbellbarton | 2006-12-12 05:34:35 +0100 (Tue, 12 Dec 2006) | 2 lines

made the script work with no images, redraw when done and some optimizations.

------------------------------------------------------------------------
r9289 | campbellbarton | 2006-12-12 05:18:45 +0100 (Tue, 12 Dec 2006) | 4 lines

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)

------------------------------------------------------------------------
r9288 | erwin | 2006-12-12 04:08:15 +0100 (Tue, 12 Dec 2006) | 4 lines

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

------------------------------------------------------------------------
r9287 | nicholasbishop | 2006-12-12 03:36:21 +0100 (Tue, 12 Dec 2006) | 2 lines

Fixed bug #5403, sculpt - alpha brush sizing shows fade even if fade is disabled

------------------------------------------------------------------------
r9286 | hos | 2006-12-12 02:30:24 +0100 (Tue, 12 Dec 2006) | 3 lines

Kludge to ensure that the BPY_*.[od] files are deleted during
"make clean".

------------------------------------------------------------------------
r9285 | campbellbarton | 2006-12-12 00:03:14 +0100 (Tue, 12 Dec 2006) | 2 lines

dont remove dummy 0 index verts to workaround me.verts.delete([...]) being buggy (since tface > mtface conversion)

------------------------------------------------------------------------
r9284 | ton | 2006-12-11 20:20:10 +0100 (Mon, 11 Dec 2006) | 5 lines

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.

------------------------------------------------------------------------
r9283 | khughes | 2006-12-11 18:13:56 +0100 (Mon, 11 Dec 2006) | 7 lines



Python API
----------

Fix some typos in the documentation.

------------------------------------------------------------------------
r9282 | stiv | 2006-12-11 14:52:23 +0100 (Mon, 11 Dec 2006) | 3 lines

added a note about using SCons version 0.96.1
problems reported with beta versions with mingw on forum.

------------------------------------------------------------------------
r9281 | ton | 2006-12-11 12:33:03 +0100 (Mon, 11 Dec 2006) | 13 lines

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

------------------------------------------------------------------------
r9280 | aligorith | 2006-12-11 09:59:05 +0100 (Mon, 11 Dec 2006) | 2 lines

Added missing menu entry for marker editing - Select/Deselect All Markers

------------------------------------------------------------------------
r9279 | campbellbarton | 2006-12-11 09:57:39 +0100 (Mon, 11 Dec 2006) | 7 lines


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

------------------------------------------------------------------------
r9278 | nicholasbishop | 2006-12-11 05:02:29 +0100 (Mon, 11 Dec 2006) | 2 lines

Face properties were being propagated from the second highest level downwards, rather than than from the level beneath the current one.

------------------------------------------------------------------------
r9277 | aligorith | 2006-12-11 04:47:15 +0100 (Mon, 11 Dec 2006) | 4 lines

A little bit of code cleanup:
* Moved BEZSELECTED macro to blendef.h as it is used in several files
* Removed other duplicated macros

------------------------------------------------------------------------
r9276 | campbellbarton | 2006-12-11 04:23:17 +0100 (Mon, 11 Dec 2006) | 5 lines

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)

------------------------------------------------------------------------
r9275 | nicholasbishop | 2006-12-11 03:45:41 +0100 (Mon, 11 Dec 2006) | 2 lines

Re-added the BKey hotkeys to sculpt mode

------------------------------------------------------------------------
r9274 | nicholasbishop | 2006-12-11 02:54:34 +0100 (Mon, 11 Dec 2006) | 2 lines

Do a better job of propagating face data in multires, including flags and materials

------------------------------------------------------------------------
r9273 | khughes | 2006-12-11 02:44:59 +0100 (Mon, 11 Dec 2006) | 9 lines



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.

------------------------------------------------------------------------
r9272 | blendix | 2006-12-11 00:39:20 +0100 (Mon, 11 Dec 2006) | 3 lines


Cleaned up radiosity mesh adding code, was using ugly pointer tricks.

------------------------------------------------------------------------
r9271 | letterrip | 2006-12-11 00:31:17 +0100 (Mon, 11 Dec 2006) | 12 lines

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

------------------------------------------------------------------------
r9270 | ton | 2006-12-10 21:30:15 +0100 (Sun, 10 Dec 2006) | 16 lines

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.

------------------------------------------------------------------------
r9269 | nicholasbishop | 2006-12-10 20:09:19 +0100 (Sun, 10 Dec 2006) | 2 lines

Fixed bug #5353, retopo paint - changing in and out of full screen double frees

------------------------------------------------------------------------
r9268 | nicholasbishop | 2006-12-10 19:34:14 +0100 (Sun, 10 Dec 2006) | 2 lines

The fade togglebutton should show for the Default, untextured brush.

------------------------------------------------------------------------
r9267 | jbinto | 2006-12-10 18:38:38 +0100 (Sun, 10 Dec 2006) | 3 lines

CMake: Fix postbuild step in Unix Makefiles because cp return error code
for CVS dir.

------------------------------------------------------------------------
r9266 | hos | 2006-12-10 18:22:47 +0100 (Sun, 10 Dec 2006) | 3 lines

Disabling the code is revision 1.161 that was tripping up users
building with mingw.

------------------------------------------------------------------------
r9265 | jbinto | 2006-12-10 18:09:48 +0100 (Sun, 10 Dec 2006) | 2 lines

CMake: Copy packaging files for Unix in post-build and fill in missing files for other platforms as well (plugins, text etc.)

------------------------------------------------------------------------
r9264 | jbinto | 2006-12-10 15:49:28 +0100 (Sun, 10 Dec 2006) | 2 lines

CMake: Copy .blender structure and necessary dlls for Windows builds as part of the postbuild to target directories.

------------------------------------------------------------------------
r9263 | ton | 2006-12-10 14:20:57 +0100 (Sun, 10 Dec 2006) | 8 lines

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.

------------------------------------------------------------------------
r9262 | jbinto | 2006-12-10 13:12:05 +0100 (Sun, 10 Dec 2006) | 2 lines

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.

------------------------------------------------------------------------
r9261 | aligorith | 2006-12-10 06:52:51 +0100 (Sun, 10 Dec 2006) | 6 lines

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.

------------------------------------------------------------------------
r9260 | aligorith | 2006-12-10 06:11:50 +0100 (Sun, 10 Dec 2006) | 2 lines

Hotkeys for Mirror operations are now correct. Shift M not Ctrl M.

------------------------------------------------------------------------
r9259 | nicholasbishop | 2006-12-10 06:05:48 +0100 (Sun, 10 Dec 2006) | 5 lines

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.

------------------------------------------------------------------------
r9258 | aligorith | 2006-12-10 03:57:17 +0100 (Sun, 10 Dec 2006) | 8 lines

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

------------------------------------------------------------------------
r9257 | ton | 2006-12-09 16:21:00 +0100 (Sat, 09 Dec 2006) | 5 lines

Bugfix #5383

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

------------------------------------------------------------------------
r9256 | khughes | 2006-12-09 07:17:14 +0100 (Sat, 09 Dec 2006) | 12 lines



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.

------------------------------------------------------------------------
r9255 | nicholasbishop | 2006-12-09 02:10:21 +0100 (Sat, 09 Dec 2006) | 2 lines

Grab brush shouldn't show strength slider

------------------------------------------------------------------------
r9254 | nicholasbishop | 2006-12-09 01:08:56 +0100 (Sat, 09 Dec 2006) | 2 lines

Fixed bug #5368 retopology - tooltips in header are not shown

------------------------------------------------------------------------
r9253 | ton | 2006-12-08 23:08:52 +0100 (Fri, 08 Dec 2006) | 3 lines

Temporal fix probably... Campbell has crashes in depsgraph, but that case
should not happen. This commit adds a harmless NULL check, but still.

------------------------------------------------------------------------
r9252 | ton | 2006-12-08 23:00:44 +0100 (Fri, 08 Dec 2006) | 4 lines

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!

------------------------------------------------------------------------
r9251 | ton | 2006-12-08 22:20:36 +0100 (Fri, 08 Dec 2006) | 14 lines

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

------------------------------------------------------------------------
r9250 | ton | 2006-12-08 19:38:37 +0100 (Fri, 08 Dec 2006) | 3 lines

Preview.blend: made lightgroup "Override" for all lamps, to allow
lightgroups to be ignored in preview render.

------------------------------------------------------------------------
r9249 | ton | 2006-12-08 19:37:55 +0100 (Fri, 08 Dec 2006) | 11 lines

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.

------------------------------------------------------------------------
r9248 | ton | 2006-12-08 16:07:50 +0100 (Fri, 08 Dec 2006) | 3 lines

Only-shadow AO was inversed... and it didn't use the material ambient or
the AO strength factor.

------------------------------------------------------------------------
r9247 | ton | 2006-12-08 15:40:33 +0100 (Fri, 08 Dec 2006) | 3 lines

Another crasher: shadow in a ray-mirror crashed, unitialized vars again...
Gotta review how raytracing code uses memory once :)

------------------------------------------------------------------------
r9246 | ton | 2006-12-08 12:51:31 +0100 (Fri, 08 Dec 2006) | 5 lines

Two bugfixes:

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

------------------------------------------------------------------------
r9245 | ton | 2006-12-08 10:40:44 +0100 (Fri, 08 Dec 2006) | 15 lines

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

------------------------------------------------------------------------
r9244 | nicholasbishop | 2006-12-08 01:44:44 +0100 (Fri, 08 Dec 2006) | 4 lines

Fix for bug #5369, retopology - undo reverts elipse to pen

Moved the retopo tool settings into ToolSettings.

------------------------------------------------------------------------
r9243 | ton | 2006-12-07 22:48:31 +0100 (Thu, 07 Dec 2006) | 4 lines

Bug, caused by render recode for passes: raytraced transparency didn't
clear osa vectors for UV, causing textures to not show correct when
traced.

------------------------------------------------------------------------
r9242 | sirdude | 2006-12-07 21:21:43 +0100 (Thu, 07 Dec 2006) | 8 lines



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

------------------------------------------------------------------------
r9241 | khughes | 2006-12-07 21:15:52 +0100 (Thu, 07 Dec 2006) | 7 lines



Python API
==========

Fix typo in Scene documentation.

------------------------------------------------------------------------
r9240 | artificer | 2006-12-07 19:30:00 +0100 (Thu, 07 Dec 2006) | 9 lines


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.

------------------------------------------------------------------------
r9239 | ton | 2006-12-07 18:54:15 +0100 (Thu, 07 Dec 2006) | 5 lines

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.

------------------------------------------------------------------------
r9238 | sirdude | 2006-12-07 17:48:15 +0100 (Thu, 07 Dec 2006) | 10 lines



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

------------------------------------------------------------------------
r9237 | ton | 2006-12-07 17:30:28 +0100 (Thu, 07 Dec 2006) | 6 lines

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.

------------------------------------------------------------------------
r9236 | harkyman | 2006-12-07 17:04:12 +0100 (Thu, 07 Dec 2006) | 6 lines

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.

------------------------------------------------------------------------
r9235 | campbellbarton | 2006-12-07 16:22:55 +0100 (Thu, 07 Dec 2006) | 12 lines


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
'''

------------------------------------------------------------------------
r9234 | ton | 2006-12-07 15:32:38 +0100 (Thu, 07 Dec 2006) | 2 lines

Fix in outliner code: var declaration on wrong place (gcc won't warn!)

------------------------------------------------------------------------
r9233 | ton | 2006-12-07 15:17:38 +0100 (Thu, 07 Dec 2006) | 11 lines

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'. :)

------------------------------------------------------------------------
r9232 | aligorith | 2006-12-07 10:31:51 +0100 (Thu, 07 Dec 2006) | 5 lines

== Auto-Keying - Needed ==

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

------------------------------------------------------------------------
r9231 | jbinto | 2006-12-07 01:18:57 +0100 (Thu, 07 Dec 2006) | 2 lines

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.

------------------------------------------------------------------------
r9230 | hos | 2006-12-06 23:44:47 +0100 (Wed, 06 Dec 2006) | 3 lines

Some pretty hard core bullet2 cleaning (kills the bullet2 lib and headers
in the lib dir).

------------------------------------------------------------------------
r9229 | erwin | 2006-12-06 21:14:21 +0100 (Wed, 06 Dec 2006) | 2 lines

updated 'startEngine' for latest version, needs 'true' argument

------------------------------------------------------------------------
r9228 | joeedh | 2006-12-06 20:20:06 +0100 (Wed, 06 Dec 2006) | 9 lines

=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. :)

------------------------------------------------------------------------
r9227 | khughes | 2006-12-06 18:56:38 +0100 (Wed, 06 Dec 2006) | 7 lines



Tools
-----

Fix typo in Material "TraShadow" tooltip.

------------------------------------------------------------------------
r9226 | ton | 2006-12-06 16:48:40 +0100 (Wed, 06 Dec 2006) | 4 lines

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.

------------------------------------------------------------------------
r9225 | ton | 2006-12-06 16:40:50 +0100 (Wed, 06 Dec 2006) | 4 lines

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.

------------------------------------------------------------------------
r9224 | ton | 2006-12-06 15:37:52 +0100 (Wed, 06 Dec 2006) | 20 lines

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

------------------------------------------------------------------------
r9223 | artificer | 2006-12-06 13:34:26 +0100 (Wed, 06 Dec 2006) | 7 lines


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.

------------------------------------------------------------------------
r9222 | ton | 2006-12-06 12:17:34 +0100 (Wed, 06 Dec 2006) | 8 lines

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().

------------------------------------------------------------------------
r9221 | ton | 2006-12-06 10:56:20 +0100 (Wed, 06 Dec 2006) | 7 lines

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

------------------------------------------------------------------------
r9220 | jbinto | 2006-12-06 10:48:27 +0100 (Wed, 06 Dec 2006) | 2 lines

Fix Debug build failure with ffmpeg enabled on MSVC 8

------------------------------------------------------------------------
r9219 | jbinto | 2006-12-06 10:24:13 +0100 (Wed, 06 Dec 2006) | 2 lines

CMake: Errors during generation with verse turned off

------------------------------------------------------------------------
r9218 | jbinto | 2006-12-06 09:52:43 +0100 (Wed, 06 Dec 2006) | 2 lines

CMake: Provide better control over Python versions and library locations for both Mac and Unix and add to documentation

------------------------------------------------------------------------
r9217 | ton | 2006-12-06 09:10:13 +0100 (Wed, 06 Dec 2006) | 3 lines

Render error: option "All Z" for render layers crashed. I forgot it uses
face index -1 for it... :)

------------------------------------------------------------------------
r9216 | broken | 2006-12-06 07:47:59 +0100 (Wed, 06 Dec 2006) | 2 lines

* Simple fix for bug #5347, edit mode undo didn't redraw the 3D View header

------------------------------------------------------------------------
r9215 | aligorith | 2006-12-06 05:41:14 +0100 (Wed, 06 Dec 2006) | 5 lines

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

------------------------------------------------------------------------
r9214 | aligorith | 2006-12-06 04:38:28 +0100 (Wed, 06 Dec 2006) | 4 lines

== NLA Editor ==

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

------------------------------------------------------------------------
r9213 | aligorith | 2006-12-06 04:04:34 +0100 (Wed, 06 Dec 2006) | 4 lines

== Action Editor ==

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

------------------------------------------------------------------------
r9212 | aligorith | 2006-12-06 03:37:32 +0100 (Wed, 06 Dec 2006) | 14 lines

== 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

------------------------------------------------------------------------
r9211 | nicholasbishop | 2006-12-06 03:28:15 +0100 (Wed, 06 Dec 2006) | 2 lines

Shift+Tab should exit sculptmode (same as for other modes)

------------------------------------------------------------------------
r9210 | nicholasbishop | 2006-12-06 03:10:27 +0100 (Wed, 06 Dec 2006) | 2 lines

Added slider for the Draw brush that modifies the direction vertices are pulled in relation to the view.

------------------------------------------------------------------------
r9209 | nicholasbishop | 2006-12-06 02:29:15 +0100 (Wed, 06 Dec 2006) | 2 lines

Correctly propagate selection when switching multires levels on an editmesh.

------------------------------------------------------------------------
r9208 | jbinto | 2006-12-06 01:28:13 +0100 (Wed, 06 Dec 2006) | 2 lines

CMake: Proper bundle for blender binary for Mac OS X and just keep blenderplayer as regular binary as with download from blender3d.org

------------------------------------------------------------------------
r9207 | sirdude | 2006-12-06 01:04:53 +0100 (Wed, 06 Dec 2006) | 6 lines



added missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly.

Kent

------------------------------------------------------------------------
r9206 | nicholasbishop | 2006-12-06 00:49:58 +0100 (Wed, 06 Dec 2006) | 2 lines

Fixed bug #5361, multiple 3d views additional cursors in wrong place

------------------------------------------------------------------------
r9205 | nicholasbishop | 2006-12-06 00:36:05 +0100 (Wed, 06 Dec 2006) | 2 lines

Another multires triangle fix

------------------------------------------------------------------------
r9204 | nicholasbishop | 2006-12-06 00:25:45 +0100 (Wed, 06 Dec 2006) | 2 lines

Fixed broken triangle handling in multires.

------------------------------------------------------------------------
r9203 | nicholasbishop | 2006-12-06 00:01:01 +0100 (Wed, 06 Dec 2006) | 6 lines

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.

------------------------------------------------------------------------
r9202 | ton | 2006-12-05 22:33:56 +0100 (Tue, 05 Dec 2006) | 10 lines

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!

------------------------------------------------------------------------
r9201 | ton | 2006-12-05 20:47:45 +0100 (Tue, 05 Dec 2006) | 3 lines

Node shaders bug: using 'shadeless' material inside of node tree, a mode
flag messed up that tried to detect if shadow was needed.

------------------------------------------------------------------------
r9200 | ton | 2006-12-05 19:58:58 +0100 (Tue, 05 Dec 2006) | 4 lines

Bugfix, irc report:

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

------------------------------------------------------------------------
r9199 | elubie | 2006-12-05 19:35:03 +0100 (Tue, 05 Dec 2006) | 3 lines

==== MSVC 7 project files ====
- small update for added files shadeinput.c and shadeoutput.c

------------------------------------------------------------------------
r9198 | ton | 2006-12-05 19:27:43 +0100 (Tue, 05 Dec 2006) | 6 lines

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!

------------------------------------------------------------------------
r9197 | ton | 2006-12-05 19:02:43 +0100 (Tue, 05 Dec 2006) | 5 lines

Two fixes:

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

------------------------------------------------------------------------
r9196 | artificer | 2006-12-05 18:42:03 +0100 (Tue, 05 Dec 2006) | 18 lines


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.

------------------------------------------------------------------------
r9195 | ton | 2006-12-05 17:44:57 +0100 (Tue, 05 Dec 2006) | 2 lines

Damn! Commit for render passes in wrong dir....

------------------------------------------------------------------------
r9194 | ton | 2006-12-05 17:43:01 +0100 (Tue, 05 Dec 2006) | 16 lines

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!

------------------------------------------------------------------------
r9193 | aligorith | 2006-12-05 06:38:33 +0100 (Tue, 05 Dec 2006) | 3 lines

Bugfix for previous commit. Blender could segfault if trying to select
keyframes between selected markers when there are no markers.

------------------------------------------------------------------------
r9192 | aligorith | 2006-12-05 06:25:34 +0100 (Tue, 05 Dec 2006) | 8 lines

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

------------------------------------------------------------------------
r9191 | aligorith | 2006-12-05 04:48:39 +0100 (Tue, 05 Dec 2006) | 7 lines

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

------------------------------------------------------------------------
r9190 | aligorith | 2006-12-05 03:06:51 +0100 (Tue, 05 Dec 2006) | 2 lines

Removed a few unused variables - compiler warnings.

------------------------------------------------------------------------
r9189 | aligorith | 2006-12-05 02:11:51 +0100 (Tue, 05 Dec 2006) | 6 lines

== Action Editor ==

Cleaned-up drawing code of keyframes. Code redundancy has been
reduced, and there should be slight performance gains (less looping,
no sorting of keys needed, possibly less memory usage).

------------------------------------------------------------------------
r9188 | aligorith | 2006-12-05 00:27:53 +0100 (Tue, 05 Dec 2006) | 6 lines

Resolved a few compiler warnings:
* Line 2451: unusued variable 'removed'
* Line 3513: implicit declaration of function freeN. should be MEM_freeN

Hopefully I didn't break anything.

------------------------------------------------------------------------
r9187 | aligorith | 2006-12-05 00:16:55 +0100 (Tue, 05 Dec 2006) | 13 lines

* Auto-Keyframing Option: 'Needed'
Now, when auto-keyframing, there is the option to have 'cleaner'
ipo curves. This is a user-pref option, and is based on the same
code responsible for the 'Only Needed' keyframing mode.


* Bugfix for Nicholas Bishop's recent sculptmode hotkeys:
When entering text in a text object, hotkeys were not disabled,
eg. type n = floating panel appears press 2 = layer 2 becomes visable.
Was 'if' instead of 'else if'

Reported by mfoxdogg on cvs.

------------------------------------------------------------------------
r9186 | nicholasbishop | 2006-12-04 22:28:05 +0100 (Mon, 04 Dec 2006) | 2 lines

A few more sculptmode hotkeys. NKey for the floating properties panel (also added menu item for that), pageup/pagedown for changing multires level, and alt+HKey for unhiding hidden areas of the sculptmesh.

------------------------------------------------------------------------
r9185 | nicholasbishop | 2006-12-04 22:10:15 +0100 (Mon, 04 Dec 2006) | 2 lines

Hotkeys for changing sculptmode properties should redraw the view3d to update the floating panel.

------------------------------------------------------------------------
r9184 | schlaile | 2006-12-04 21:00:17 +0100 (Mon, 04 Dec 2006) | 6 lines

== Sequencer ==

Fixed an off by one error in Speed Controller.
If no IPO is present, enlarging the strip will now "stretch" time.
Shrinking doesn't work right now because of stripdata-handling...

------------------------------------------------------------------------
r9183 | erwin | 2006-12-04 16:48:32 +0100 (Mon, 04 Dec 2006) | 2 lines

update to latest Bullet 2.x sources. prepare to make near sensors much faster

------------------------------------------------------------------------
r9182 | jesterking | 2006-12-04 15:32:07 +0100 (Mon, 04 Dec 2006) | 5 lines

==SCons==

* make blender_python understand we're doing a debug build when BF_DEBUG=1. Otherwise
 we get linking errors with scons/mingw

------------------------------------------------------------------------
r9181 | nicholasbishop | 2006-12-04 06:36:50 +0100 (Mon, 04 Dec 2006) | 13 lines

Large change to the way sculptmode drawing works. The default is now to draw
using the standard drawing functions. Enabling the "Partial Redraw" item in the
sculpt menu will turn on the optimizations which stores unmodified parts of the
color buffer and only redraws the polygons that are within the modified area(s).

The Partial Redraw option uses the accumulation buffer to store the copy, and
unfortunately this is not accelerated on older cards. There are alternatives,
e.g. drawing to an auxiliary buffer or downloading the data from the graphics
card with glReadPixels, but there's no guarantee that these will run at an
acceptable speed on older graphics cards either. For the cards that do
accelerate the accumulation buffer (for nvidia cards, I would assume that is at
least FX5200 and up, and maybe earlier) it provides a very significant speedup.

------------------------------------------------------------------------
r9180 | joeedh | 2006-12-04 05:51:32 +0100 (Mon, 04 Dec 2006) | 12 lines

=IDProperties Small Update=

BPy conventions were not being followed for PyObject_New;
now they are.  I still doubt the usefullness of doing this,
however its important to maintain module standards.  

Which reminds me, anyone know where I can get that source code
prettier that was used on the api files?  It was kindof
hard following the coding style of bpy with it being so
different from normal blender, and also what with having
to write the IDProperty code from scratch. :)

------------------------------------------------------------------------
r9179 | erwin | 2006-12-04 05:31:34 +0100 (Mon, 04 Dec 2006) | 2 lines

added some 'angularFactor' for character control (to avoid rotation)

------------------------------------------------------------------------
r9178 | erwin | 2006-12-04 05:13:42 +0100 (Mon, 04 Dec 2006) | 4 lines

fixed some motionstate synchronization issues
nearsensor was not synchronized at the start
wheels not synchronized properly (one frame delay)

------------------------------------------------------------------------
r9177 | nicholasbishop | 2006-12-04 04:26:30 +0100 (Mon, 04 Dec 2006) | 2 lines

Fix for bug #5345, sculpt tool doesn't seems to use correctly the undo setting on the global preferences

------------------------------------------------------------------------
r9176 | nicholasbishop | 2006-12-04 03:36:04 +0100 (Mon, 04 Dec 2006) | 4 lines

Fix for bug #5351, sculpt doesn't work in xray mode

Moved depth update for sculptmode to after the point where xray/transp objects are drawn

------------------------------------------------------------------------
r9175 | nicholasbishop | 2006-12-04 02:04:02 +0100 (Mon, 04 Dec 2006) | 2 lines

Added numpad hotkeys for sculptmode

------------------------------------------------------------------------
r9174 | nicholasbishop | 2006-12-04 01:44:52 +0100 (Mon, 04 Dec 2006) | 2 lines

Forgot to add middlemouse events for sculptmode.

------------------------------------------------------------------------
r9173 | nicholasbishop | 2006-12-04 01:11:25 +0100 (Mon, 04 Dec 2006) | 10 lines

First pass at setting up better hotkeys for sculptmode.

http://projects.blender.org/pipermail/bf-committers/2006-November/016311.html
As recommended on bf-committers, I created an entirely separate section for
sculptmode hotkeys, so none of the standard hotkeys in space.c carry over.
(However, the standard hotkeys in toets.c are left unchanged.)

There are probably some useful hotkeys that have been disabled with this commit,
and other hotkeys that still need to be added, so this needs review.

------------------------------------------------------------------------
r9172 | nicholasbishop | 2006-12-03 23:57:28 +0100 (Sun, 03 Dec 2006) | 2 lines

Added a bunch of sculpt options to the Sculpt menu; also removed the PvRot toggle button from the sculpt panel, where it didn't really fit, and put it in the menu instead.

------------------------------------------------------------------------
r9171 | nicholasbishop | 2006-12-03 23:17:45 +0100 (Sun, 03 Dec 2006) | 2 lines

Reverted change I accidentally made in editmesh.c

------------------------------------------------------------------------
r9170 | nicholasbishop | 2006-12-03 23:15:50 +0100 (Sun, 03 Dec 2006) | 2 lines

Added saving/loading of multires deformedvert data. Also added a test_index_face check when reading editmode data for multires.

------------------------------------------------------------------------
r9169 | nicholasbishop | 2006-12-03 21:35:35 +0100 (Sun, 03 Dec 2006) | 2 lines

Sculptmode should check for existance of undo data before undo/redo in case user loads a file with sculptmode on and presses undo/redo before doing a sculpt action.

------------------------------------------------------------------------
r9168 | lukep | 2006-12-03 21:27:59 +0100 (Sun, 03 Dec 2006) | 12 lines

Fix for getting gcc compile GE with Py 2.5
PYobject type has changed

Usual C++ pickyness about implicit casts

debug made with erwin. thanks

Note to python mainteners :

even if it compiles there is a *Huge* list of warnings about deprecated
and incompatible pointers in api2.2. this should be corrected

------------------------------------------------------------------------
r9167 | nicholasbishop | 2006-12-03 21:24:55 +0100 (Sun, 03 Dec 2006) | 2 lines

Previous multires+editmode commits broke multires+sculptmode (oops.)

------------------------------------------------------------------------
r9166 | nicholasbishop | 2006-12-03 20:59:18 +0100 (Sun, 03 Dec 2006) | 2 lines

Modified multires to use CustomData for deformedverts. Deformedverts now load properly from editmesh.

------------------------------------------------------------------------
r9165 | theeth | 2006-12-03 20:58:47 +0100 (Sun, 03 Dec 2006) | 2 lines

Missed a file in my last commit

------------------------------------------------------------------------
r9164 | theeth | 2006-12-03 20:54:27 +0100 (Sun, 03 Dec 2006) | 15 lines

=== Transform ===

Modified version of patch #5281 by Joshua Leung.

It's a two part patch:

	Add a Roll button in the transform properties floating panel with bones selected in edit mode

	Add a Roll transform (Ctrl-R) that can be used to modify the roll of selected bones in edit mode

The transformation modifies the roll of all selected bones incrementally (like a rotation does to the bones' rotation) [that is the part that differs from the patch. The patch would set the same roll value to all bones]


Also, this commit includes some shuffling around of the functions, to keep the previously logical order. :)

------------------------------------------------------------------------
r9163 | campbellbarton | 2006-12-03 20:38:32 +0100 (Sun, 03 Dec 2006) | 2 lines

Copy vcols wasnt working me->mcol[a] needs to be me->mcol[a*4]

------------------------------------------------------------------------
r9162 | theeth | 2006-12-03 19:59:13 +0100 (Sun, 03 Dec 2006) | 8 lines

=== Interface ===

Based on patch #5140 by Juho Vepsäläinen, this commit removes the requirement to type # at the start when you want to use Python expression evaluation when typing a value in a button.

In a nutshell, that means you can now type 3 + 5 in a numbut and see it change to 8.

Word of warning: The normal Python operator logic applies, so if you type in 1 / 3, you'll get 0 and not 0.333. There's no going around that.

------------------------------------------------------------------------
r9161 | elubie | 2006-12-03 19:56:43 +0100 (Sun, 03 Dec 2006) | 3 lines

==== MSVC Projectfiles ====
- finally update to bullet2

------------------------------------------------------------------------
r9160 | theeth | 2006-12-03 19:38:51 +0100 (Sun, 03 Dec 2006) | 6 lines

=== [ #5094 ] TrackTo Constraint with an animatable "up" direction ===

Patch by Matthew Plough: This adds an option to the Track To constraint to use the target's Z axis for Up axis reference instead of the global Z axis.

Off by default for backward compat.

------------------------------------------------------------------------
r9159 | theeth | 2006-12-03 19:30:34 +0100 (Sun, 03 Dec 2006) | 2 lines

Klocwork pointer sanity checks in transform.

------------------------------------------------------------------------
r9158 | erwin | 2006-12-03 02:16:17 +0100 (Sun, 03 Dec 2006) | 2 lines

more work on Bullet 2.x

------------------------------------------------------------------------
r9157 | erwin | 2006-12-03 01:36:51 +0100 (Sun, 03 Dec 2006) | 2 lines

different Bullet/graphics synchronization

------------------------------------------------------------------------
r9156 | nicholasbishop | 2006-12-03 00:37:52 +0100 (Sun, 03 Dec 2006) | 2 lines

Better integration of multires with editmode. Setting/adding levels no longer exits editmode, and undo should now work as expected. Still to come is loading customdata from the editmesh.

------------------------------------------------------------------------
r9155 | erwin | 2006-12-03 00:27:23 +0100 (Sun, 03 Dec 2006) | 2 lines

gameengine: reverted some timing experiment

------------------------------------------------------------------------
r9154 | erwin | 2006-12-02 23:25:47 +0100 (Sat, 02 Dec 2006) | 5 lines

- GEadded VSYNC for Mac OS X swapbuffers (can be easily undone by commenting out the #define WAIT_FOR_VSYNC 1
- GEdon't crash when attempting to add constraint on game objects without physics controller
- GEimproved some physics -> graphics synchronization issues
- small experiment with game engine timing to smooth framerate/reduce tearing

------------------------------------------------------------------------
r9153 | bjornmose | 2006-12-02 19:42:20 +0100 (Sat, 02 Dec 2006) | 6 lines

Klocwork warning fix
Doing NULL pointer paranoia check in time.
It's completely pointless calling the function with null pointer,
but who knows.
At least it does not crash then.

------------------------------------------------------------------------
r9152 | campbellbarton | 2006-12-02 10:44:40 +0100 (Sat, 02 Dec 2006) | 3 lines


UV islands are now detected by edge connection (was using verts) - added support for seams to delimit UV islands.

------------------------------------------------------------------------
r9151 | aphex | 2006-12-02 10:11:32 +0100 (Sat, 02 Dec 2006) | 2 lines

Added define for atanf to get VC7.1 linking again.

------------------------------------------------------------------------
r9150 | nicholasbishop | 2006-12-02 10:04:12 +0100 (Sat, 02 Dec 2006) | 2 lines

Removed exit/enter editmode from multires_make; this is step 1 of the fix for bug #5331

------------------------------------------------------------------------
r9149 | nicholasbishop | 2006-12-02 08:58:53 +0100 (Sat, 02 Dec 2006) | 10 lines

Fix for bug #5319, multiresolution mesh - inconsistent hide behavior

Multires operations now pay attention to vertex flags, so both selection and
hiding are propagated up and down the levels.

Note: only the lowest level of detail for vertex flags is retained when
switching levels. E.g., after selecting vertices at the highest level, then
switching to the lowest level, then back to the highest level, the vertex
selection will have changed. (This is a potentially fixable issue.)

------------------------------------------------------------------------
r9148 | aligorith | 2006-12-02 07:00:31 +0100 (Sat, 02 Dec 2006) | 7 lines

== Action Editor ==

Now it is possible to mirror selected keyframes in the action editor;
either over the current frame or the vertical axis.

Hotkey is: SHIFT M       (like in ipo editor).

------------------------------------------------------------------------
r9147 | erwin | 2006-12-02 04:48:36 +0100 (Sat, 02 Dec 2006) | 4 lines

- added support for generic 6DOF constraint
- only 6DOF constraint shows buttons for limits
- added python support for rigidbody constraint (untested, but required for COLLADA Physics support)

------------------------------------------------------------------------
r9146 | nicholasbishop | 2006-12-02 00:06:07 +0100 (Sat, 02 Dec 2006) | 2 lines

Added stub for multires_copy

------------------------------------------------------------------------
r9145 | nicholasbishop | 2006-12-01 23:44:27 +0100 (Fri, 01 Dec 2006) | 2 lines

Added warning in the multires panel to alert user if they have a modifier that changes mesh topology enabled, the render level will not have any effect.

------------------------------------------------------------------------
r9144 | nicholasbishop | 2006-12-01 23:05:40 +0100 (Fri, 01 Dec 2006) | 2 lines

Small interface update for multires; adding a new level should increment the render level as well, unless the render level has been set to something other than the max level. Also removed some unneeded code.

------------------------------------------------------------------------
r9143 | nicholasbishop | 2006-12-01 22:35:27 +0100 (Fri, 01 Dec 2006) | 2 lines

Simplified/fixed code for rendering with multires+modifiers, no more unfree memory warnings

------------------------------------------------------------------------
r9142 | khughes | 2006-12-01 22:20:40 +0100 (Fri, 01 Dec 2006) | 7 lines



Python API
==========

Bugfix: using del operator on me.verts would cause a crash.

------------------------------------------------------------------------
r9141 | ton | 2006-12-01 20:52:04 +0100 (Fri, 01 Dec 2006) | 12 lines

Two hours of fixing details based on Klocwork source review. Useful report,
although it has a lot of noise. Not to mention our bad string code gives
a load of warnings.

I've reviewed specifically:
- file reading/write
- dna and library code
- node system
- entire render module

Done a couple of files in src/ too, seemed to be nice errors.

------------------------------------------------------------------------
r9140 | nicholasbishop | 2006-12-01 19:41:25 +0100 (Fri, 01 Dec 2006) | 2 lines

Added a copy function for multires; duplicating a mesh with multires now works properly.

------------------------------------------------------------------------
r9139 | stiv | 2006-12-01 18:53:04 +0100 (Fri, 01 Dec 2006) | 2 lines

clean up some warnings.  no executable changes.

------------------------------------------------------------------------
r9138 | sirdude | 2006-12-01 18:46:54 +0100 (Fri, 01 Dec 2006) | 6 lines



updated Simplified Chinese po file submitted by the BlenderCN translation team.

Kent

------------------------------------------------------------------------
r9137 | ton | 2006-12-01 11:52:36 +0100 (Fri, 01 Dec 2006) | 13 lines

Bugfix #5333

Actually no real bug, but unfinished work in Composite:
The ZCombine node only accepted images, no value inputs for sockets.
Now only the first (top) input socket should be an image, the other ones
can use constant color or values too. Nice way to split an image in
foreground and background.

Also: added an output socket for the resulting Z value.

Do note that zcombone is aliased, no AA or sample info is available.
That's for another time.

------------------------------------------------------------------------
r9136 | ton | 2006-12-01 11:12:41 +0100 (Fri, 01 Dec 2006) | 8 lines

Library manegement features:

- Outliner now shows hierarchy for Libraries, indicating which Library
  files invoked loading another.
- SHIFT+F1 "Append" browser has a Library menu, allowing to directly browse
  into all open library files. This will prevent accidents like re-opening
  a same .blend via another path.

------------------------------------------------------------------------
r9135 | erwin | 2006-12-01 04:29:20 +0100 (Fri, 01 Dec 2006) | 2 lines

some Bullet compound shape fix

------------------------------------------------------------------------
r9134 | joeedh | 2006-12-01 04:04:36 +0100 (Fri, 01 Dec 2006) | 15 lines

=IDProperties bugfix=

Another bug from the tracker, reported by Mike Stramba.
A duplicated Py_XDECREF in the wrong place made assigning
arrays from Vector objects not work.

Also, fixed nasty bug in C API of idproperties (the function
to look up a property from a group was broken).  Fixed a memory
leak too.

In addition, made "del group['property']" delete properties
from group; previously this would just crash (or at least it
should have).  Added a small addition to the example in the
epydocs for IDGroup.

------------------------------------------------------------------------
r9133 | nicholasbishop | 2006-12-01 02:40:53 +0100 (Fri, 01 Dec 2006) | 4 lines

Changed sculptmode drawing to pay better attention to materials.

This fixes bug #5274, changing from uvmode to sculpt changes lighting model

------------------------------------------------------------------------
r9132 | erwin | 2006-12-01 02:04:27 +0100 (Fri, 01 Dec 2006) | 3 lines

- enabled compound collision objects, requires 'clear parent inverse'
- fixed some issues with kinematic objects, introduced during Bullet 2.x upgrade

------------------------------------------------------------------------
r9131 | ton | 2006-11-30 22:40:11 +0100 (Thu, 30 Nov 2006) | 6 lines

Armature Proxy bugfix: when adding constraints or bones, the proxy sync
didn't keep in mind the pose channels could change order...

Note the disabled code in readfile.c; will be finished later. It's for
debugging library dependencies.

------------------------------------------------------------------------
r9130 | campbellbarton | 2006-11-30 22:32:32 +0100 (Thu, 30 Nov 2006) | 2 lines

Made work with new vertex colors

------------------------------------------------------------------------
r9129 | sirdude | 2006-11-30 20:05:03 +0100 (Thu, 30 Nov 2006) | 6 lines



fixed it so make clean works for bullet2 lib.

Kent

------------------------------------------------------------------------
r9128 | erwin | 2006-11-30 20:01:17 +0100 (Thu, 30 Nov 2006) | 2 lines

removed (int) cast, should fix 64bit issue in recent commit

------------------------------------------------------------------------
r9127 | ton | 2006-11-30 19:25:44 +0100 (Thu, 30 Nov 2006) | 2 lines

Makefile for Bullet had error, didn't copy the .a file to the right dir.

------------------------------------------------------------------------
r9126 | ton | 2006-11-30 19:20:14 +0100 (Thu, 30 Nov 2006) | 7 lines

Two bugfixes, irc report:

- WeightPaint used 'max vertices' as 'max faces' for paint, so some faces
  could not be painted on. (bug introduced last week, with global undo)

- Bake Render: when no Image window open, baking crashed.

------------------------------------------------------------------------
r9125 | ton | 2006-11-30 17:44:34 +0100 (Thu, 30 Nov 2006) | 6 lines

Bugfix;

More referenced library issues: if an Object loses the Armature (because
for example the linked file removed it) the Object still had the Pose and
posemode flag set, crashing Blender.

------------------------------------------------------------------------
r9124 | ton | 2006-11-30 16:54:21 +0100 (Thu, 30 Nov 2006) | 12 lines

Proxy Objects revisited!

The first incarnation assumed that proxies were local objects per
definition. Unfortunately that makes it impossible to - for example -
reference-link an entire Scene with proxies, to be used as a special
character set.

This commit makes the proxy implementation also a bit more clear.

Related work: the scene-sets were not executed fully or correctly for
the dependency graph. That happens now (in 3d view) as well.

------------------------------------------------------------------------
r9123 | jesterking | 2006-11-30 13:39:42 +0100 (Thu, 30 Nov 2006) | 2 lines

* add btHeightfieldTerrainShape.cpp

------------------------------------------------------------------------
r9122 | jesterking | 2006-11-30 13:39:09 +0100 (Thu, 30 Nov 2006) | 9 lines

==SCons==

If win32all (http://sourceforge.net/project/showfiles.php?group_id=78018) is found,
 use it to be able to build with scons/mingw in (very) long paths. If it is not found,
 don't do anything groovy. This should make it possible to merge the cut up src lib.
 Those concerned, please do test that.

This bit of code is from http://www.scons.org/wiki/LongCmdLinesOnWin32

------------------------------------------------------------------------
r9121 | jbinto | 2006-11-30 12:59:59 +0100 (Thu, 30 Nov 2006) | 2 lines

CMake: Detect PPC compilation on Mac OSX and use correct libs. Also add OpenEXR thread lib because it may be needed on Intel compiles for people not using the libs in CVS.

------------------------------------------------------------------------
r9120 | nicholasbishop | 2006-11-30 11:19:35 +0100 (Thu, 30 Nov 2006) | 2 lines

Removed unneeded glEnd

------------------------------------------------------------------------
r9119 | aligorith | 2006-11-30 06:29:05 +0100 (Thu, 30 Nov 2006) | 3 lines

I've made the hotkeys for marker editing more consistant now.
Check the menu headers for the correct set of hotkeys to use.

------------------------------------------------------------------------
r9118 | aligorith | 2006-11-30 03:47:28 +0100 (Thu, 30 Nov 2006) | 9 lines

Removed the other ugly global used in action editor. Now the
ACTWIDTH is a macro that tries to get actwidth from the active
SpaceAction (G.saction->actwidth). This should solve any potential
problems with having two action editors open editing shapekey
actions.

Also, I've fixed a compiler warning caused by erwin's constraint
commit. Wrong ui call for button.

------------------------------------------------------------------------
r9117 | letterrip | 2006-11-30 03:35:12 +0100 (Thu, 30 Nov 2006) | 4 lines

=eliminate mouse centering on startup=

at the request of Aardbei in the forums eliminating the mouse centering on startup - Matt if there is a 'good reason' for the centering (asking on IRC no one had one), feel free to revert it back

------------------------------------------------------------------------
r9116 | aligorith | 2006-11-30 02:57:14 +0100 (Thu, 30 Nov 2006) | 28 lines

Big Commit.

Now time-markers work in all time-related spaces (i.e. Ipo,
Action Editor, NLA editor, TimeLine, Sound). The hotkeys and
functionality set should be the same for each of these modes
(with a few exceptions still). I've had to change a few hotkeys
here and there, so hopefully they aren't too bad.

Marker Operations:
MKEY - Add Marker
SHIFT MKEY - Rename marker (was CTRL MKEY)
XKEY - Delete Marker
PAGE UP - Jump to next marker
PAGE DOWN - Jump to previous marker
CTRL A - Select all markers
SHIFT G - Transform markers (NLA, IPO, Action)
G - Transform markers (Sound, Timeline)
CTRL SHIFT D - Duplicate markers (NLA, IPO, Action)
SHIFT D - Duplicate markers (Sound, Timeline)
BKEY - select markers and other keyframes (if any)

I've also made a few little tool additions to NLA and Action editors:
* NLA editor - Snap To Frame.
Now with the option to offset strip so that it starts at the current frame.
Added menus for this.
* Action editor - Snap To Frame
A few new menus for this too

------------------------------------------------------------------------
r9115 | erwin | 2006-11-30 01:39:32 +0100 (Thu, 30 Nov 2006) | 2 lines

fixed some line-endings (Mac)

------------------------------------------------------------------------
r9114 | erwin | 2006-11-30 01:19:27 +0100 (Thu, 30 Nov 2006) | 6 lines

Reserved some Bullet 2.x constraint data.
Although we will delay the main Rigid Body user interface after 2.43 release early 2007, I need some constraint data/UI to make progress with COLLADA Physics.
Added RigidBody constraint UI
LR_ALTKEY+LR_CTRLKEY+LR_SHIFTKEY+ P will bake rigidbody
Contribution by RCRuiz, Ramon Carlos.

------------------------------------------------------------------------
r9113 | joeedh | 2006-11-30 00:31:46 +0100 (Thu, 30 Nov 2006) | 9 lines

=IDProperties bugfix=

Fixed the bug of "print type(property)" crashed blender;
just needed to add PyType_Ready init code for all ID property
python types; I made a function IDProp_Init_Types and put
code to call it in types_initAll().

Also added GPL/BL headers to idproperty files.

------------------------------------------------------------------------
r9112 | joeedh | 2006-11-30 00:26:58 +0100 (Thu, 30 Nov 2006) | 11 lines

=Proxy compile fix=

Compiling blender was broken because
the member proxy_layer didn't exist in bPose.
Added it (and appropriate pad vars) into the struct.
Since the member is meant to copy armature layers,
I made it a short; this did however require adding
two pad vars, another short and an int.

ton: please check to make sure it's all right.

------------------------------------------------------------------------
r9111 | joeedh | 2006-11-29 23:30:41 +0100 (Wed, 29 Nov 2006) | 10 lines

=IDProperties bugfix=

Misspelled __members__ __member__ in IDProperty's
getattr function; this made "print dir(prop)" not
work.  Eventually I need to replace the whole thing
with getsetters.

Still need to find out why "print type(a_property)" crashes
blender. :S

------------------------------------------------------------------------
r9110 | joeedh | 2006-11-29 23:19:21 +0100 (Wed, 29 Nov 2006) | 8 lines

=IDProperties bugfix=

IDProperties was doing a name check where it shouldn't;
thise made executing "prop['value'] = something" not work
if the property 'value' already existed.  Fixed it by
making the code replace existing properties, like it
should.

------------------------------------------------------------------------
r9109 | ton | 2006-11-29 22:59:19 +0100 (Wed, 29 Nov 2006) | 8 lines

Two-in-one commit:

- Proxy Armature: armature layer (visible bones) is now saved in proxy, so
  on file reload the layer settings are restored

- bugreport: disabling subsurf (for view) didn't change the total amounts
  in header.

------------------------------------------------------------------------
r9108 | ton | 2006-11-29 20:31:45 +0100 (Wed, 29 Nov 2006) | 8 lines

Thread support for commandline:

  -t <threads>

It overrides the settings as saved in scenes. Only works for background
rendering, to force thread amounts to match the cpus in system.
For funny jokers: amount is clipped for MAXTHREADS :)

------------------------------------------------------------------------
r9107 | n_t | 2006-11-29 20:28:07 +0100 (Wed, 29 Nov 2006) | 6 lines

- fixed particle generation bug tracked down by mpan3&gimble,
- removed warnings in attributes.cpp,
- and a first Klockwork bug fix: removed NULL returns in ntl_ray.h,
  several other issues mentioned in the Klockwork report
  are either hard to fix or not really errors...

------------------------------------------------------------------------
r9106 | ton | 2006-11-29 19:11:59 +0100 (Wed, 29 Nov 2006) | 5 lines

Material Nodes and Composite now also supports unlimited threads.

Maybe we should add for Composite a seperate "Max threads" button though...
having 8 nodes allocating temp buffers at the same time might give issues.

------------------------------------------------------------------------
r9105 | ton | 2006-11-29 18:01:09 +0100 (Wed, 29 Nov 2006) | 14 lines

Render Monster support: (part 1)

Removed all limitations from render code for maximum threads. The only
define for this now is in BLI_threads.h, and currently set to 8.
Note that each thread renders an entire tile, and also allocates the
buffers for the tiles, so; more threads might work better with smaller
tiles.

IMPORTANT: node system won't work yet with more than 2 threads! So, don't
try material nodes or compositing with over 2 threads. That I'll commit
later today.

What does work (should work :) is AO and soft shadow now.

------------------------------------------------------------------------
r9104 | artificer | 2006-11-29 14:52:59 +0100 (Wed, 29 Nov 2006) | 9 lines


Fix for bug #5325 - curve deform tool doesn't work correctly

This bug was caused by broken's recent patch to make the Curve modifier
determine its axis from the modifier panel, rather than the object's track
axis. In the case where a Curve modifier is applied by parenting the object
to the curve, the curve axis needs to be copied from the object's track axis
in modifiers_getVirtualModifierList(). This commit adds the necessary copy.

------------------------------------------------------------------------
r9103 | ton | 2006-11-29 13:44:48 +0100 (Wed, 29 Nov 2006) | 12 lines

Duplicator feature:

Vertex/Face/Frame duplication now draws using OpenGL display lists. Makes
drawing go much faster (2-5 times, depending on size of duplicated object).
This system uses boundbox checks too, so outside of view it draws faster.

Note for face duplication: I've fixe a bug for incorrect alignment when
the parent was rotated when a parenting happened, the 'inverse parent
correction matrix' then messed up alignment. For face duplication it now
works OK, but for vertex-dupli not... need a way to fix this backwards
compatible.

------------------------------------------------------------------------
r9102 | ton | 2006-11-29 09:57:32 +0100 (Wed, 29 Nov 2006) | 9 lines

New feature: Face Duplicators. Like vertex-duplicator, but now on a face
center, rotated according to face edges, and optionally with scale of the
face.

http://www.blender3d.org/cms/Face_Duplicator.828.0.html

Also: bugfix in undo/redo for relinking data to the UI. It was not checking
for Library data, accidentally linking non-library data with same names.

------------------------------------------------------------------------
r9101 | erwin | 2006-11-29 08:23:01 +0100 (Wed, 29 Nov 2006) | 2 lines

fix some loose ends in Bullet 2.x upgrade

------------------------------------------------------------------------
r9100 | erwin | 2006-11-29 06:25:37 +0100 (Wed, 29 Nov 2006) | 2 lines

updated to latest Bullet Physics

------------------------------------------------------------------------
r9099 | erwin | 2006-11-29 06:24:52 +0100 (Wed, 29 Nov 2006) | 3 lines


updated to latest Bullet 2.x

------------------------------------------------------------------------
r9098 | nicholasbishop | 2006-11-29 02:48:53 +0100 (Wed, 29 Nov 2006) | 3 lines

Fix for bug #5293, wireframe drawing has inconsistent back face culling (just
passing the wrong drawing flag)

------------------------------------------------------------------------
r9097 | campbellbarton | 2006-11-28 22:26:00 +0100 (Tue, 28 Nov 2006) | 3 lines

request from malefico - select faces based on there weight in the active group.
Access from the face select menu

------------------------------------------------------------------------
r9096 | hos | 2006-11-28 22:12:31 +0100 (Tue, 28 Nov 2006) | 14 lines

=Scons=

I should have talked to joeedh before committing last time...

This is an another attempt to fix the mingw long commandline
issue on all versions of windows (I didn't realize that the
2k in Win2k refered to the length of the commandline).

In this version, I break libsrc.a up so that no archive has
more than 30 object files (adjustable with one line of
code). I also fudge the priority numbers to ensure correct
linking. This was done in a "guess the number" way until
it worked, so please test and please check for correctness.

------------------------------------------------------------------------
r9095 | campbellbarton | 2006-11-28 21:06:23 +0100 (Tue, 28 Nov 2006) | 3 lines

renamed Select Linked->Group to DupliGroup, was too similar to select Grouped Group and confusing.
made the copy menu not display in editmode. - was for object properties.

------------------------------------------------------------------------
r9094 | ton | 2006-11-28 19:28:23 +0100 (Tue, 28 Nov 2006) | 3 lines

Bake Render bug: check for which image to filter (bleed) used wrong
flag, picking wrong images (or even ones without buffer, so crashing).

------------------------------------------------------------------------
r9093 | hos | 2006-11-28 18:53:40 +0100 (Tue, 28 Nov 2006) | 5 lines

=Scons=

A workaround for long commandlines that foil the mingw build: break the
libsrc.a into two archives for that platform.

------------------------------------------------------------------------
r9092 | ton | 2006-11-28 11:16:24 +0100 (Tue, 28 Nov 2006) | 10 lines

Render Baking upgrade:

- Now baking itself is threaded too (like for render, max 2 cpus. Moving
  this to 4 cpus is on todo. Goes twice as fast!

- fix: ESC from bake was broken...

- other fix: toolbox menus didn't treat sublevel string lengths OK,
  truncating items like for Group library names.

------------------------------------------------------------------------
r9091 | sirdude | 2006-11-28 08:42:53 +0100 (Tue, 28 Nov 2006) | 7 lines



Tweaked so it actually includes the file that defines LLIB's for extra
dependencies for solaris.

Kent

------------------------------------------------------------------------
r9090 | aligorith | 2006-11-28 06:07:19 +0100 (Tue, 28 Nov 2006) | 3 lines

Oops... forgot to remove the relevant local marker stuff from these files
too in last commit.

------------------------------------------------------------------------
r9089 | aligorith | 2006-11-28 05:58:57 +0100 (Tue, 28 Nov 2006) | 3 lines

Removed unused 'action specific' marker stuff I committed earlier. In
the meantime, only the 'scene' marker set will be supported.

------------------------------------------------------------------------
r9088 | joeedh | 2006-11-28 05:34:26 +0100 (Tue, 28 Nov 2006) | 7 lines

=IDProperties small update=

This update changes Object.properties to Object.game_properties 
(as discussed) so .properties can be used for ID Properties.

This should be fine as, after all, .properties was undocumented anyway :)

------------------------------------------------------------------------
r9087 | campbellbarton | 2006-11-28 00:59:53 +0100 (Tue, 28 Nov 2006) | 3 lines

when importing am OBJ referencing an unknown image (PSD in linux for eg) - it creates a dummy image.
checking the .depth of this dummy image raised an error. now a check for has_data is done.

------------------------------------------------------------------------
r9086 | broken | 2006-11-27 22:52:34 +0100 (Mon, 27 Nov 2006) | 5 lines

Small fixes for outliner stuff
* Fixed #5294 unselectable objects catching repeated selection clicks in front
of other objects
* Invisible objects stay invisible when other objects are edited

------------------------------------------------------------------------
r9085 | ton | 2006-11-27 21:29:27 +0100 (Mon, 27 Nov 2006) | 5 lines

Bugfix:

Mesh modes "FaceSelect" and "WeightPaint" together, did not support hiding
faces anymore.

------------------------------------------------------------------------
r9084 | ton | 2006-11-27 20:54:16 +0100 (Mon, 27 Nov 2006) | 6 lines

Plumiferos bugreport:

After using Manipulator on poses, the undopush was called too early,
resulting in a LOCK flag to be saved in Armature.
Effect was that after undo, the pose didn't show actions.

------------------------------------------------------------------------
r9083 | ton | 2006-11-27 19:58:33 +0100 (Mon, 27 Nov 2006) | 3 lines

Slight change in how subversion and minversion is loaded.
It wasn't working endian compatible...

------------------------------------------------------------------------
r9082 | ton | 2006-11-27 16:23:21 +0100 (Mon, 27 Nov 2006) | 10 lines

Bugfix #5313

3D Window "Transform properties" was using bad globals for buttons, this
caused things not work with multiple 3d windows open, and (in editmode)
set one panel to "Local" and the other to "Global".

Also:
- added undo push for moving bone to a layer
- protected Ikey for posemode to not show a menu without selection

------------------------------------------------------------------------
r9081 | ton | 2006-11-27 15:31:03 +0100 (Mon, 27 Nov 2006) | 4 lines

Multires bug: reading *next or *prev pointer while memory was freed.

This solves crashes for windows users when deleting levels.

------------------------------------------------------------------------
r9080 | ton | 2006-11-27 14:59:55 +0100 (Mon, 27 Nov 2006) | 13 lines

More debug goodies:

WINDOWS CRASH EMULATION!

If you use the -d (debug) argument for starting blender, it will now:

- set all freed memory to 0xFFFFFFFF
- set all malloced memory to 0xFFFFFFFF

The first option will give nice crashers when you read from freed memory.
The second option is for OSX especially, it has the nasty habit to give
zeroed mallocs.

------------------------------------------------------------------------
r9079 | ton | 2006-11-27 14:00:50 +0100 (Mon, 27 Nov 2006) | 7 lines

IRC reported bug:

When linking a referenced (Library) Image to a texture face, it wasn't
tagged to become saved in file. So you lost data.

Also fixed: tooltip for the "Li" icons was wrong.

------------------------------------------------------------------------
r9078 | ton | 2006-11-27 13:06:35 +0100 (Mon, 27 Nov 2006) | 5 lines

Bugfix #5311

AO with option "Use Distances" gave artefacts. This because the raytracer
was still returning on any hit, instead of find the closest hit.

------------------------------------------------------------------------
r9077 | ton | 2006-11-27 11:43:00 +0100 (Mon, 27 Nov 2006) | 9 lines

Stupid me! I was calling the subversion warning test *after* memory got
freed. Windows nicely crashes then.

Also: added human readable string in fileglobal, so you can check the
subversion in a file manually too. Rule:
- Find GLOB chunk (first chunk after REND now)
- skip sizeof BHead, 20 bytes in 32bits, or 24 in 64 bits
- there's 4 characters showing subversion, right now it reads "   1".

------------------------------------------------------------------------
r9076 | ton | 2006-11-27 10:33:43 +0100 (Mon, 27 Nov 2006) | 3 lines

Oops! fix for typing hotkeys in texteditors... hope this works now for
non-qwerty keyboards.

------------------------------------------------------------------------
r9075 | joeedh | 2006-11-27 02:05:44 +0100 (Mon, 27 Nov 2006) | 8 lines

=md2_export.py small fix=

There was an integer division error in md2_export.py,
where values were getting clamped to either 0 or 1.
Fixed it by putting the appropriate vars in float().

Reported by deltab on IRC.

------------------------------------------------------------------------
r9074 | theeth | 2006-11-27 00:54:35 +0100 (Mon, 27 Nov 2006) | 6 lines

== Bug Fix ==

PET Connectivity calculation code had a bug that only occured on really large scale meshes which caused a hang (infinite loop).

Fixed by raising the threshold to prevent float errors.

------------------------------------------------------------------------
r9073 | campbellbarton | 2006-11-27 00:47:53 +0100 (Mon, 27 Nov 2006) | 2 lines

previous commit to fix this script with VCols didnt work, should be ok now.

------------------------------------------------------------------------
r9072 | blendix | 2006-11-27 00:14:52 +0100 (Mon, 27 Nov 2006) | 6 lines


Disable mipmapping in texture paint mode, so fast redrawing will now
work by default for power-of-two textures.

Improved texture painting across different images a bit.

------------------------------------------------------------------------
r9071 | ton | 2006-11-26 22:17:15 +0100 (Sun, 26 Nov 2006) | 17 lines

NEW! Subversion control and test for future Blender binaries.

Next to the release code, a subversion number is written in the file
now. This is in the chunk GLOB, which is now in beginning of file.

Subversions can be used to have finer control over do_versions(), so you
don't have to wait for a release to patch stuff nicely. We can also
increase these subversions regularly to denote important changes.
If a subversion is not 0, it's being printed in the header, so a user can
also verify the state. (We might even tag cvs for it?).

Next to this, a minimum version and subversion number are written too.
From now on, if you change files in a way a past binary cannot read this
nicely anymore, you should set these minima to the current version.
This was especially added for the new mesh layers, which will not work
for older binaries once we make 2.43.

------------------------------------------------------------------------
r9070 | campbellbarton | 2006-11-26 20:08:19 +0100 (Sun, 26 Nov 2006) | 2 lines

removing image bake scripts to make room for Ton's built in baking stuff.

------------------------------------------------------------------------
r9069 | campbellbarton | 2006-11-26 19:40:04 +0100 (Sun, 26 Nov 2006) | 2 lines

minor change so other scripts can call image_edit.edit_extern(img) to edit an image in the gimp, photoshop etc.

------------------------------------------------------------------------
r9068 | blendix | 2006-11-26 18:47:38 +0100 (Sun, 26 Nov 2006) | 4 lines


Fix for bug #5308:
Smooth normals drawing wrong with subsurf followed by array modifier.

------------------------------------------------------------------------
r9067 | ton | 2006-11-26 17:03:36 +0100 (Sun, 26 Nov 2006) | 9 lines

Bugfix #1676

Ancient bug: texteditor input was limited to "isprint()" characters, the
default non-accented simple ascii set. I've removed that.

Now we still have a conflict with hotkey handling, so ALT+character input
won't work. But, for keyboards that have special character keys from itself,
this patch will allow typing them in Text now.

------------------------------------------------------------------------
r9066 | ton | 2006-11-26 15:04:25 +0100 (Sun, 26 Nov 2006) | 6 lines

Bugfix #5291

Array Modifier type "path length" didn't force a path calculation on load.
Note that this is still improper handling in Blender... an exception that
has to move to the depsgraph.

------------------------------------------------------------------------
r9065 | aphex | 2006-11-26 14:56:29 +0100 (Sun, 26 Nov 2006) | 3 lines

Bone names were limited to 24 characters.  Changed this to max of 31 to match
vgroups.

------------------------------------------------------------------------
r9064 | ton | 2006-11-26 13:23:21 +0100 (Sun, 26 Nov 2006) | 23 lines

SculptMode fix:

DNA definition of Sculpt structs in Scene were not properly aligned,
causing memory errors on quit ("Memoryblock reconstruct: end corrupt").

More testing reveiled padding errors in two other DNA_ includes, for
sound and gamelogic. Both potentially crashers... and caused by
commenting out struct members with a C++ comment, that seems to not
work...

I've revived the DNA padding test method, which saves out a simple C
file you can compile to see where padding issues are. This now works
as follows:

- change line 991 in makesdna.c to become (1) (true).
- recompile makesdna.c
- you now have a padding.c in the same dir as makesdna.c
- compile it, command line: "gcc -o padding padding.c"
- now run it (./padding), and it will print out errors, if there are.

For me, the DNA files are now 100% padding free. Might be interesting to
check it in 64 bits though!

------------------------------------------------------------------------
r9063 | jbinto | 2006-11-26 00:42:11 +0100 (Sun, 26 Nov 2006) | 2 lines

CMake: Quicktime library was not linked on Unix platforms because it was missing from sorted static library lists.

------------------------------------------------------------------------
r9062 | ton | 2006-11-25 19:40:53 +0100 (Sat, 25 Nov 2006) | 5 lines

Bugfix #5305

Sculpt mode crasher; after deleting object and quitting blender. Was freed
memory hanging in sculpt undo data.

------------------------------------------------------------------------
r9061 | ton | 2006-11-25 19:15:55 +0100 (Sat, 25 Nov 2006) | 5 lines

Bugfix #5287

When referenced (Library-linked) Mesh was used by a local Object, and the
amount of Materials became less in library, Blender crashed!

------------------------------------------------------------------------
r9060 | halley | 2006-11-25 18:34:57 +0100 (Sat, 25 Nov 2006) | 8 lines


Was crashing the import_obj script when using Python 2.3.

Python 2.4+ supports large list processing with generators, but
Python 2.3 will break if you use that syntax.  Until we depend on
the newer versions, I have commented out the generator syntax and
only use the list-comprehension type instead.

------------------------------------------------------------------------
r9059 | ton | 2006-11-25 17:35:56 +0100 (Sat, 25 Nov 2006) | 5 lines

Patch by Vladimír Marek (neuron), part of bugfix #5298

Solaris CC compiler choked on wrong .h prototypes for functions using
'const' arguments.

------------------------------------------------------------------------
r9058 | ton | 2006-11-25 17:24:52 +0100 (Sat, 25 Nov 2006) | 3 lines

Small tweak in append/link Objects: the scriptlinks in Object then will
also invoke reading the python script.

------------------------------------------------------------------------
r9057 | intrr | 2006-11-25 15:53:31 +0100 (Sat, 25 Nov 2006) | 11 lines



Uncommitted my potential fix for

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

It seems like you can't quote the executable path on win32 using system().

So, playing back a rendered animation now works again on win32, however,
the bug remains... no idea how to correct it.

------------------------------------------------------------------------
r9056 | ton | 2006-11-25 15:37:59 +0100 (Sat, 25 Nov 2006) | 4 lines

Removed the highly disputable implementation that guessed a new view-center
when you go from Camera view to normal view. Now it returns, as usual, just
back to where you where working.

------------------------------------------------------------------------
r9055 | ton | 2006-11-25 14:07:28 +0100 (Sat, 25 Nov 2006) | 9 lines

- Library linking feature: global undo/redo now doesn't read the linked
  library .blend files anymore, making it a load faster to use.

- Fixed ancient annoyance; samples were not properly freed, giving a lot
  "Error Totblock" when using sound.
  This fix also involves removing an ancient NaN hack, which treated the
  samples as fake Library data in the Main database.
  But still, the Blender Sound and Sample code is horrible... :/

------------------------------------------------------------------------
r9054 | ton | 2006-11-24 23:12:24 +0100 (Fri, 24 Nov 2006) | 6 lines

Group groupie features:

- When using (referenced) Library files, the groups in Add menu now are
  listed per used file. This allows to easier create custom datasets.
- Toolbox opens in collums now, when more than 30 items in a menu exist

------------------------------------------------------------------------
r9053 | ton | 2006-11-24 20:59:47 +0100 (Fri, 24 Nov 2006) | 8 lines

Recursive group feature:

The Add Group (shift+a) menu showed all groups, now it skips the groups
that are packed inside another group, so menus don't get too crowdy.

Check the reason: :)
http://www.plumiferos.com/temp/big-group.png

------------------------------------------------------------------------
r9052 | ton | 2006-11-24 19:58:59 +0100 (Fri, 24 Nov 2006) | 4 lines

Bone Layer feature: now also Armature layers have a hotkey menu; Shift+m.
Note that these menus again react to hotkeys, so making layer 4 visible
then is Shift+m, 4.

------------------------------------------------------------------------
r9051 | ton | 2006-11-24 17:56:02 +0100 (Fri, 24 Nov 2006) | 6 lines

Composite Time node usablity improvement:

- now draws green 'current frame' line
- when Time Node is active, hotkey I will allow inserting a value on
  current frame.

------------------------------------------------------------------------
r9050 | ton | 2006-11-24 16:11:29 +0100 (Fri, 24 Nov 2006) | 4 lines

Bugfix #5292

Crash is irregular shadow buffer, due to using un-initialized memory

------------------------------------------------------------------------
r9049 | blendix | 2006-11-24 15:59:49 +0100 (Fri, 24 Nov 2006) | 3 lines


Bugfix: don't allocate custom data layers with zero size.

------------------------------------------------------------------------
r9048 | campbellbarton | 2006-11-24 08:35:53 +0100 (Fri, 24 Nov 2006) | 5 lines


modified to support new vcol operation (separate from tface)
updated name and tooltip
minor fixes

------------------------------------------------------------------------
r9047 | jesterking | 2006-11-24 07:08:05 +0100 (Fri, 24 Nov 2006) | 4 lines

==SCons==

* link against debug library of python on win32

------------------------------------------------------------------------
r9046 | blendix | 2006-11-23 21:37:45 +0100 (Thu, 23 Nov 2006) | 4 lines


Bugfix: test_index_face got wrong number of vertices when converting NMesh
to Mesh if there were vertex colors.

------------------------------------------------------------------------
r9045 | bjornmose | 2006-11-23 21:31:46 +0100 (Thu, 23 Nov 2006) | 9 lines

softbodies
nice little 'debug' feature
SHIFT_ESC breaks baking without throwing away the baked keys
so you can check the solution calculated so far
baked sb replay checks for NULL pointers in keys -> motion will stop there
even saving and loading to file works here,
but i would not expect it to do so
humm .. may be i'll add a dirty flag for that

------------------------------------------------------------------------
r9044 | blendix | 2006-11-23 19:36:13 +0100 (Thu, 23 Nov 2006) | 4 lines


Fix for bug #5296: Mesh.update destroys vertex groups. Code wasn't
updated for customdata layers yet.

------------------------------------------------------------------------
r9043 | blendix | 2006-11-23 18:35:45 +0100 (Thu, 23 Nov 2006) | 4 lines


Bugfix: added ORIGINDEX layer in CDDM_calc_edges, this could crash some
modifier combinations.

------------------------------------------------------------------------
r9042 | ton | 2006-11-23 18:05:51 +0100 (Thu, 23 Nov 2006) | 5 lines

Bugfix #5295

Baking crash: when you have images in a .blend that were not read yet...
NULL pointer check issue :)

------------------------------------------------------------------------
r9041 | ton | 2006-11-23 17:49:10 +0100 (Thu, 23 Nov 2006) | 5 lines

VenomGFX report:

Using vertex group deform with Lattice, with no lattice 'deform verts'
created yet, Blender crashed.

------------------------------------------------------------------------
r9040 | jesterking | 2006-11-23 12:54:50 +0100 (Thu, 23 Nov 2006) | 3 lines

* free socket names
* some misc changes

------------------------------------------------------------------------
r9039 | jesterking | 2006-11-23 06:59:09 +0100 (Thu, 23 Nov 2006) | 4 lines

* add two files for development of pynodes - note that the module in this is not enabled,
 so don't bother to try and get it working just yet. It all will come in due time
 :)

------------------------------------------------------------------------
r9038 | erwin | 2006-11-23 06:48:04 +0100 (Thu, 23 Nov 2006) | 2 lines

work around some issue with GCC 3.x (probably compiler bug)

------------------------------------------------------------------------
r9037 | erwin | 2006-11-23 06:42:27 +0100 (Thu, 23 Nov 2006) | 2 lines

make compiler happy

------------------------------------------------------------------------
r9036 | broken | 2006-11-23 04:35:12 +0100 (Thu, 23 Nov 2006) | 2 lines

* Fix for alignment in last commit

------------------------------------------------------------------------
r9035 | erwin | 2006-11-23 04:26:59 +0100 (Thu, 23 Nov 2006) | 2 lines

pass right friction/restitution/damping values to btRigidBody

------------------------------------------------------------------------
r9034 | erwin | 2006-11-23 03:42:53 +0100 (Thu, 23 Nov 2006) | 2 lines

fixed in Bullet 2.x, should make msvc 6 compile, and reverted to 'old' style solver by default.

------------------------------------------------------------------------
r9033 | broken | 2006-11-23 03:33:55 +0100 (Thu, 23 Nov 2006) | 3 lines

* Upgraded the User Prefs OpenGL lights section to use nice modern vector and
colour picker UI controls instead of number fields

------------------------------------------------------------------------
r9032 | khughes | 2006-11-23 01:28:09 +0100 (Thu, 23 Nov 2006) | 6 lines



Bugfix #5289: "Shape Wizard Widget" script was using non-existant key:
changed so "Key 0" is substituted for "Basis".  This may not be correct...
Also, fix to make ob.setEuler() accept a tuple again.

------------------------------------------------------------------------
r9031 | blendix | 2006-11-23 01:26:39 +0100 (Thu, 23 Nov 2006) | 5 lines


Fix for bug #5288:
Converting meta objects crashed, caused by new way of storing quads in
DispList for array drawing.

------------------------------------------------------------------------
r9030 | erwin | 2006-11-23 01:23:07 +0100 (Thu, 23 Nov 2006) | 2 lines

fixed some code that causes problems with msvc 6 (need to verify)

------------------------------------------------------------------------
r9029 | blendix | 2006-11-23 01:12:03 +0100 (Thu, 23 Nov 2006) | 4 lines


Fix for bug #5285: remove last vertex group in edit mode crashed, this
code didn't use customdata yet.

------------------------------------------------------------------------
r9028 | blendix | 2006-11-23 00:12:38 +0100 (Thu, 23 Nov 2006) | 7 lines


(Partial) fix for bug #5289:

Crash using Shape Widget Wizard script, was an error in customdata copy.
The script still throws a python error though, but that seems unrelated
to this crash.

------------------------------------------------------------------------
r9027 | intrr | 2006-11-22 22:52:03 +0100 (Wed, 22 Nov 2006) | 5 lines



Make "Snap to frame" (SHIFT-S) in action editor not crash and not display
a menu if there are no actions.

------------------------------------------------------------------------
r9026 | ton | 2006-11-22 20:59:17 +0100 (Wed, 22 Nov 2006) | 3 lines

Very rare error in file reading, sequence pointer magic could fail.
Found thanks to a solaris file.

------------------------------------------------------------------------
r9025 | hos | 2006-11-22 20:05:35 +0100 (Wed, 22 Nov 2006) | 2 lines

Makefile support for bullet2 ... please test

------------------------------------------------------------------------
r9024 | ton | 2006-11-22 19:45:34 +0100 (Wed, 22 Nov 2006) | 5 lines

Render Baking candy: while baking, the UV Image window shows the progress
in rendered images, once per second. Also switches to other images.

This happens threaded, so might need a good test :)

------------------------------------------------------------------------
r9023 | jiri | 2006-11-22 17:44:27 +0100 (Wed, 22 Nov 2006) | 6 lines



 - eve->tmp.l is used for storing temporary indexes (not prev pointer)
   - several for loops were deleted
   - several warnings were removed

------------------------------------------------------------------------
r9022 | hos | 2006-11-22 16:53:46 +0100 (Wed, 22 Nov 2006) | 6 lines

=Texture Plugins=

Added a callback instance_init() so that any particular instance of a
texture plugin can initialize data. Updated the clouds2 and tile example
plugins to have a (dummy) call back.

------------------------------------------------------------------------
r9021 | artificer | 2006-11-22 16:09:41 +0100 (Wed, 22 Nov 2006) | 19 lines


Upgrades to the UVProject modifier:
 - New perspective projection capability. If a camera is used as the
   projection object, the modifier detects whether to do perspective or
   orthographic projection based on the camera type. If any other object
   type is used as the projection object, orthographic projection is used.
 - Orthographic projection actually works properly now.
 - The projected UVs are scaled and offset so that the image is centred in
   the projecting camera's view.
 - AspX and AspY inputs have been added to control the aspect ratio of the
   projected UVs.

Also:
 - I have added the Mat4MulVec3Project() function to BLI_arithb.h; this
   function converts a 3-dimensional vector to homogeneous coordinates
   (4-dimensional, with the 4th dimension set to 1), multiplies it with the
   given matrix, then projects it back to 3 dimensions by dividing through
   with the 4th dimension. This is useful when using projection matrices.

------------------------------------------------------------------------
r9020 | ton | 2006-11-22 15:43:59 +0100 (Wed, 22 Nov 2006) | 4 lines

Crash in sequencer caused by incorrect checking for 'last seq'. This fix
doesn't make the feature peter added (to set last-seq based on selection)
work... I'll ask him to review code.

------------------------------------------------------------------------
r9019 | ton | 2006-11-22 12:25:39 +0100 (Wed, 22 Nov 2006) | 12 lines

Bugfix #5282

UV edit option 'constrain to rectange' didn't restore correctly on ESC.
(note, on ESC it doesn't undo the constrainting, in case the edited face
 was not a quad).

Also:

- The UVs pulldown in Image window was far too large, moved the scripts to
  an own sublevel menu
- Previous commit in vpaint.c had warnings

------------------------------------------------------------------------
r9018 | ton | 2006-11-22 11:32:41 +0100 (Wed, 22 Nov 2006) | 8 lines

Bugfixes:

- SHIFT+K in weightpaint+faceselect combo crashed (caused by my commit for
  real undo in painting)

- weightpaint+faceselect combo didn't draw correct anymore (caused by
  commit for custom mesh layers)

------------------------------------------------------------------------
r9017 | blendix | 2006-11-22 03:16:29 +0100 (Wed, 22 Nov 2006) | 5 lines


Fix for bug #5280:
Crash transforming UVs with only image window open, new transform snapping
code didn't check if a 3d view exists.

------------------------------------------------------------------------
r9016 | khughes | 2006-11-21 22:15:15 +0100 (Tue, 21 Nov 2006) | 20 lines



Python API
==========

Bugfix #4951:  This might be a serious change for python script writers.
-- ob.getMatrix('localspace') did not return the correct matrix when the object
   had a parent; this has been corrected.
-- ob.setMatrix(m) did not work predictably (more correctly, in an easy-to-
   predict manner) when an object had a parent.  The method has been changed
   so that if thee is a parent, it ASSUMES the matrix is "localspace",
   relative to the parent.  The documentation now states this.
-- ob.mat and ob.matrix are now read-only attributes, while ob.matrixLocal
   (which calls Object_setMatrix() ) is now read-write.

Ton is not thrilled (is that a fair summary, Ton? ;-) with this method since
the ob->obmat is calculated from the loc/rot/size attributes of an object.
I'll let him speak on this, but I believe his desire is for this method to be
deprecated in the future and replaced with something else.

------------------------------------------------------------------------
r9015 | khughes | 2006-11-21 20:17:13 +0100 (Tue, 21 Nov 2006) | 7 lines



Python API
==========

Fix epydoc warnings after IDProperty addition to Material.py

------------------------------------------------------------------------
r9014 | khughes | 2006-11-21 20:00:12 +0100 (Tue, 21 Nov 2006) | 6 lines



Python API
==========
Bugfix #4905:  correcting errors and out-of-date NLA API documentation.

------------------------------------------------------------------------
r9013 | ton | 2006-11-21 19:09:32 +0100 (Tue, 21 Nov 2006) | 9 lines

Bugfix #5277

Bake-render:
Quad faces still didn't get handled properly, error visible for vertex
color or UV textures.

Also: added error meny when a Bake cannot work because there are no Images
or no Images with buffers

------------------------------------------------------------------------
r9012 | blendix | 2006-11-21 17:54:00 +0100 (Tue, 21 Nov 2006) | 3 lines


Fix for loading UVs in linked meshes.

------------------------------------------------------------------------
r9011 | ton | 2006-11-21 16:52:45 +0100 (Tue, 21 Nov 2006) | 10 lines

Bugfix, own collection:

Random seeding is still not perfect in render, especially lack of good
thread support still.

- VectorBlur node was calling seed for each exec, causing other nodes to
  get fixed random too.
- added seed in non-OSA main loop for render
- use BLI_srandom, is better than BLI_srand

------------------------------------------------------------------------
r9010 | blendix | 2006-11-21 15:58:15 +0100 (Tue, 21 Nov 2006) | 3 lines


Another update for last commit.

------------------------------------------------------------------------
r9009 | blendix | 2006-11-21 15:50:02 +0100 (Tue, 21 Nov 2006) | 3 lines


Missed this file in last commit.

------------------------------------------------------------------------
r9008 | blendix | 2006-11-21 15:46:17 +0100 (Tue, 21 Nov 2006) | 4 lines


This adds temporary upward compatibility for TFaces, until the 2.43 release,
by writing the old struct also.

------------------------------------------------------------------------
r9007 | blendix | 2006-11-21 15:26:25 +0100 (Tue, 21 Nov 2006) | 3 lines


Fix for joining meshes with tfaces.

------------------------------------------------------------------------
r9006 | ton | 2006-11-21 14:39:31 +0100 (Tue, 21 Nov 2006) | 5 lines

Bugfix #5258

UV edit: option "project from view 1:1" included object center and clipped
min/max wrong, so off-centered faces didn't get a 1:1 projection.

------------------------------------------------------------------------
r9005 | jesterking | 2006-11-21 14:19:39 +0100 (Tue, 21 Nov 2006) | 2 lines

* tweak priority of bullet libs for blenderplayer

------------------------------------------------------------------------
r9004 | ton | 2006-11-21 14:07:16 +0100 (Tue, 21 Nov 2006) | 8 lines

Bugfix #5270

CurvePaths: if the path has vector handles, or when it's a Poly curve, the
amount of interpolated points on the path was too limited (6 actually).
Now the 'resolu' of the curve defines the amount of interpolated points.

This enables motionpaths or deforming with sharp corners.

------------------------------------------------------------------------
r9003 | ton | 2006-11-21 13:41:07 +0100 (Tue, 21 Nov 2006) | 6 lines

Bugfix #5265

3D window, preview panel, didn't give correct specular for Ortho.
The view-vector was flipped negative then, so more view-depending
code (like tracing) would go wrong then.

------------------------------------------------------------------------
r9002 | erwin | 2006-11-21 13:26:05 +0100 (Tue, 21 Nov 2006) | 2 lines

more Bullet 2.x upgrading. fair amount of functionality is now restored, not all yet.

------------------------------------------------------------------------
r9001 | erwin | 2006-11-21 12:56:02 +0100 (Tue, 21 Nov 2006) | 2 lines

some fixes, related to object activation in game blender

------------------------------------------------------------------------
r9000 | jesterking | 2006-11-21 11:58:07 +0100 (Tue, 21 Nov 2006) | 2 lines

* small priority fix. Hopefully helps on more platforms

------------------------------------------------------------------------
r8999 | ton | 2006-11-21 11:52:11 +0100 (Tue, 21 Nov 2006) | 14 lines

Fix for commit from Brecht:

2006/11/19 00:07:32 CET
Fix for bug #5250: inaccurate conversion between edit and pose mode bones.

Two very bad bugs:
- replacing atan() with atan2() should also remove the M_PI correction!
  This is the equivalent:
    angle=atan(x/y); if(y<0) angle+=M_PI;
    angle= atan2(x, y);

- the new NormalizedVecAngle2() call was negating an input vector, causing
  calling code to screw up. All arithb.c calls should not alter input.

------------------------------------------------------------------------
r8998 | ton | 2006-11-21 10:26:59 +0100 (Tue, 21 Nov 2006) | 6 lines

RESCUE COMMIT!

Yesterday's commit from Brecht broke armature editmode, damaging armatures
in a way you cannot rescue. This rewinds the main changes. After commit
I'll try to find the error...

------------------------------------------------------------------------
r8997 | bjornmose | 2006-11-21 09:54:36 +0100 (Tue, 21 Nov 2006) | 2 lines

mscv6 turning off GE

------------------------------------------------------------------------
r8996 | erwin | 2006-11-21 09:22:01 +0100 (Tue, 21 Nov 2006) | 2 lines

added ConeZ/ConeX

------------------------------------------------------------------------
r8995 | erwin | 2006-11-21 07:39:19 +0100 (Tue, 21 Nov 2006) | 2 lines

CMake enabled game engine+Bullet 2.x. tested only on Mac OS X.

------------------------------------------------------------------------
r8994 | erwin | 2006-11-21 07:37:01 +0100 (Tue, 21 Nov 2006) | 2 lines

updated CMake files for game engine for Bullet 2.x upgrade

------------------------------------------------------------------------
r8993 | erwin | 2006-11-21 07:36:09 +0100 (Tue, 21 Nov 2006) | 2 lines

added CMake file for new Bullet 2.x

------------------------------------------------------------------------
r8992 | jesterking | 2006-11-21 07:11:41 +0100 (Tue, 21 Nov 2006) | 5 lines

==SCons==

Enable Bullet2 for Scons. This should work for all platforms, but please, test, test,
 test, test, test (ad infinitum)

------------------------------------------------------------------------
r8991 | jesterking | 2006-11-21 06:56:41 +0100 (Tue, 21 Nov 2006) | 2 lines

whitespace commit

------------------------------------------------------------------------
r8990 | nicholasbishop | 2006-11-21 05:03:39 +0100 (Tue, 21 Nov 2006) | 2 lines

Changed the sculptmode undo system slightly to make it easier to improve/extend. Should be helpful in integrating multires into the undo system better.

------------------------------------------------------------------------
r8989 | broken | 2006-11-21 04:51:08 +0100 (Tue, 21 Nov 2006) | 3 lines

* Show renderability toggle for all objects, since they might be used
as group duplicators, d'oh!

------------------------------------------------------------------------
r8988 | broken | 2006-11-21 04:22:34 +0100 (Tue, 21 Nov 2006) | 4 lines

* Dupli objects (dupliverts, dupligroup, etc) now get invisibility based on their
parent object, not the original instantiated objects. i.e, if an object is invisible,
its child dupli objects will be too.

------------------------------------------------------------------------
r8987 | aligorith | 2006-11-21 03:31:19 +0100 (Tue, 21 Nov 2006) | 10 lines

== Action Editor ==

Just a minor little code cleanup that I partially started in another one of
my commits.

The implementation of the showsliders stuff was pretty ugly with exported
globals (correct terminology?) used to store whether sliders were shown
in the action editor for shapes. This is now a flag in SpaceAction, so the
visibility status of markers is now saved in files.

------------------------------------------------------------------------
r8986 | broken | 2006-11-21 02:38:28 +0100 (Tue, 21 Nov 2006) | 6 lines

* Modified version of patch #5109 by Onur Yalazi, 'view camera selector'.

This appears as a new 'Cameras' menu in the 3D View's View menu, containing a
command to set the active object as active camera, and a list of the available
cameras in the scene to choose from.

------------------------------------------------------------------------
r8985 | broken | 2006-11-21 02:11:59 +0100 (Tue, 21 Nov 2006) | 2 lines

* Tweak to show invisible objects if they are being edited in edit mode

------------------------------------------------------------------------
r8984 | erwin | 2006-11-21 02:09:37 +0100 (Tue, 21 Nov 2006) | 2 lines

angular-only hinge updated

------------------------------------------------------------------------
r8983 | erwin | 2006-11-21 02:06:23 +0100 (Tue, 21 Nov 2006) | 2 lines

angular-only hinge updated

------------------------------------------------------------------------
r8982 | erwin | 2006-11-21 01:53:40 +0100 (Tue, 21 Nov 2006) | 4 lines

Removed old Blender/extern/bullet, and upgraded game engine to use Bullet 2.x

All platforms/build systems: either upgrade to use extern/bullet2, or disable the game engine until the build is fixed.

------------------------------------------------------------------------
r8981 | erwin | 2006-11-21 01:17:11 +0100 (Tue, 21 Nov 2006) | 6 lines

Step 1 of Bullet 2.x upgrade:
Temporarily disabled game engine for CMake

CMake for all platform, scons for Darwin, Linux, BSD3, SunOS5, Win32, and Makefiles should not compile game engine right now.
MSVC needs still disabling of game engine.

------------------------------------------------------------------------
r8980 | erwin | 2006-11-21 01:14:58 +0100 (Tue, 21 Nov 2006) | 6 lines

Step 1 of Bullet 2.x upgrade:
Temporarily disabled game engine for scons and Makefiles (nan_definitions?), this to upgrade to Bullet 2.x

scons for Darwin, Linux, BSD3, SunOS5, Win32, and Makefiles should not compile game engine right now.
CMake and MSVC needs still disabling of game engine.

------------------------------------------------------------------------
r8979 | erwin | 2006-11-21 01:03:56 +0100 (Tue, 21 Nov 2006) | 2 lines

catch up with latest Bullet 2.x (not in use yet)

------------------------------------------------------------------------
r8978 | bjornmose | 2006-11-20 23:27:05 +0100 (Mon, 20 Nov 2006) | 3 lines

having a nice break/esc behavior on bake
other occasions like ALT_A needs that too

------------------------------------------------------------------------
r8977 | ton | 2006-11-20 22:25:02 +0100 (Mon, 20 Nov 2006) | 10 lines

Step one in migrating to use glArray calls in Blender

- Curve/Nurbs/Font/MBall now all draw arrays.
- had to flip abgr to rgba in shaded drawing
- Mesh drawing can't be easily done; the indices for faces are not in
  in one chunk. Also need a way to gether trias/quads, per material.

Speedup results are mixed. Something between 2-4 times. Especially for
text it seems to help.

------------------------------------------------------------------------
r8976 | bjornmose | 2006-11-20 20:55:17 +0100 (Mon, 20 Nov 2006) | 3 lines

added dependancy relation between softbodies and collision objects
( move collision objects first )

------------------------------------------------------------------------
r8975 | blendix | 2006-11-20 20:03:37 +0100 (Mon, 20 Nov 2006) | 4 lines


Fix for a missing check for NULL face data in test_index_face in my
previous commit.

------------------------------------------------------------------------
r8974 | nicholasbishop | 2006-11-20 19:19:22 +0100 (Mon, 20 Nov 2006) | 2 lines

Fixed a strange bug that caused gluUnProject to give bad values when the model and view were rotated a certain way, which made sculptmode fail to edit the model.

------------------------------------------------------------------------
r8973 | hos | 2006-11-20 16:49:41 +0100 (Mon, 20 Nov 2006) | 3 lines

I see no reason why the blenderplayer shouldn't be built be default
with make on x86_64.

------------------------------------------------------------------------
r8972 | artificer | 2006-11-20 15:23:41 +0100 (Mon, 20 Nov 2006) | 6 lines


New displacement direction for Displace modifier: "RGB -> XYZ". This means
that vertices will be individually displaced in the X, Y and Z directions
by the RGB components of the texture (R affects X, G affects Y, B affects Z).
This can be used along with e.g. the colour Clouds texture for a jitter effect.

------------------------------------------------------------------------
r8971 | ton | 2006-11-20 13:08:06 +0100 (Mon, 20 Nov 2006) | 5 lines

Vertex/Weight Paint now uses the regular global Undo.

Also cleaned up bad global variable stuff in vpaint.c, now only need a
good place to store the paint settings in file still...

------------------------------------------------------------------------
r8970 | artificer | 2006-11-20 12:58:48 +0100 (Mon, 20 Nov 2006) | 10 lines


Patch #5181: Option to use an object to determine the startX&Y in the
             Wave Modifier

This patch allows the option to use an object to determine the wave modifier's
start X & Y, it also allows for animated objects giving a moving wave
start X & Y.

Thanks to Michael Fox for the patch!

------------------------------------------------------------------------
r8969 | jesterking | 2006-11-20 12:15:35 +0100 (Mon, 20 Nov 2006) | 5 lines

Patch [ #5254 ] FFMpeg for scons for MSVC
    from Guillaume Lecocq

I also added -D_CRT_SECURE_NO_DEPRECATE to shut the newer msvc version about deprecated functions (sprintf et al).

------------------------------------------------------------------------
r8968 | joeedh | 2006-11-20 12:07:56 +0100 (Mon, 20 Nov 2006) | 14 lines

=ID Properties Python Doc Update=

The epydocs are now updated to have idproperties;
all the modules that have bindings for ID properties
now has docs for them.  E.g Materials have a .properties
members, Image, Texture, Scene, Object, NMEsh, and Mesh.

I realized that .properties was already taken in
Objects, so I renamed it to .idproperties.  There was
also a nasty little problem with an example inside
Object.getType; the entire example was being pasted inside
the return field.  I fixed it by just moving the return
definition to after the example, like it should be.

------------------------------------------------------------------------
r8967 | ton | 2006-11-20 10:50:27 +0100 (Mon, 20 Nov 2006) | 3 lines

Bug: click on new outliner Object restrictions crashed for 'view' option.
Typo in outliner button callback (NULL should be ob).

------------------------------------------------------------------------
r8966 | ton | 2006-11-20 10:37:01 +0100 (Mon, 20 Nov 2006) | 10 lines

Small usability tweaks in Compositor:

- After making a Group, internal socket values are now copied to the
  group node, so an execute will give identical results
- After ungrouping, the cyclic dependency tagging didn't work well in
  all cases, showing a red noodle line and giving composite errors.
  For time being solved by calling the NodeSort twice.
- Viewer nodes now get previews updated always (used to be only the active)
  Note: this is not for previews inside of groups!

------------------------------------------------------------------------
r8965 | bjornmose | 2006-11-20 10:19:14 +0100 (Mon, 20 Nov 2006) | 3 lines

softbody bugfix
evil typo causing crashes

------------------------------------------------------------------------
r8964 | artificer | 2006-11-20 09:08:22 +0100 (Mon, 20 Nov 2006) | 9 lines


Changed the UI of the EdgeSplit modifier, based on broken's feedback from
long ago:
 - "From Angle" is now "From Edge Angle"
 - "From Flag" is now "From Marked As Sharp"
 - The "Split Angle" input is now hidden if "From Edge Angle" is unchecked
 - Changed tooltips to be (hopefully) more helpful
 - Rearranged buttons to accommodate longer labels

------------------------------------------------------------------------
r8963 | jesterking | 2006-11-20 08:21:20 +0100 (Mon, 20 Nov 2006) | 2 lines

add DNA_meshdata_types.h for MTFace

------------------------------------------------------------------------
r8962 | jesterking | 2006-11-20 06:51:36 +0100 (Mon, 20 Nov 2006) | 5 lines

* remove a stray ; and place a declaration before any actual code. msvc8 was falling over these. GCC needs some good spanking for allowing this type of code to
 get through by compiling it

/Nathan

------------------------------------------------------------------------
r8961 | broken | 2006-11-20 06:44:30 +0100 (Mon, 20 Nov 2006) | 3 lines

* Suggestion from Lazareus in IRC, deselect objects when they are made
invisible in the 3D View, so no unintended commands apply to them

------------------------------------------------------------------------
r8960 | letterrip | 2006-11-20 06:24:13 +0100 (Mon, 20 Nov 2006) | 6 lines

=typo fix=

include was "listbase.h"

apparently is supposed to be listBase.h found by Lazareus on irc

------------------------------------------------------------------------
r8959 | broken | 2006-11-20 06:14:37 +0100 (Mon, 20 Nov 2006) | 2 lines

* The raw blenderbuttons image (note, I've updated interface_icons.c to now use the extra space on the right side of this image, since we'd run out of room)

------------------------------------------------------------------------
r8958 | broken | 2006-11-20 06:12:58 +0100 (Mon, 20 Nov 2006) | 14 lines

* Object level restrictions in outliner

This adds the ability to restrict an individual object from:
- being visible in the 3D View
- being selectable in the 3D View
- being renderable
with 3 columns of buttons in the outliner.

These restrictions are further down the hierarchy than layers, so for example if an object is in an invisible layer, it will be invisible regardless of whether the object's own visibility setting is on or off. This works on a different conceptual level than layers, being better for more quick interaction (like temporarily making a mesh unselectable while you're posing its armature), rather than so much for scene organisation.

The 3 columns of icons can be turned off in the Outliner View menu.

Along with this is some small cleaning up in interface_icons.c and outliner.c.

------------------------------------------------------------------------
r8957 | blendix | 2006-11-20 05:28:02 +0100 (Mon, 20 Nov 2006) | 43 lines


Added custom vertex/edge/face data for meshes:

All data layers, including MVert/MEdge/MFace, are now managed as custom
data layers. The pointers like Mesh.mvert, Mesh.dvert or Mesh.mcol are
still used of course, but allocating, copying or freeing these arrays
should be done through the CustomData API.

Work in progress documentation on this is here:
http://mediawiki.blender.org/index.php/BlenderDev/BlenderArchitecture/CustomData


Replaced TFace by MTFace:

This is the same struct, except that it does not contain color, that now
always stays separated in MCol. This was not a good design decision to
begin with, and it is needed for adding multiple color layers later. Note
that this does mean older Blender versions will not be able to read UV
coordinates from the next release, due to an SDNA limitation.


Removed DispListMesh:

This now fully replaced by DerivedMesh. To provide access to arrays of
vertices, edges and faces, like DispListMesh does. The semantics of the
DerivedMesh.getVertArray() and similar functions were changed to return
a pointer to an array if one exists, or otherwise allocate a temporary
one. On releasing the DerivedMesh, this temporary array will be removed
automatically.


Removed ssDM and meshDM DerivedMesh backends:

The ssDM backend was for DispListMesh, so that became obsolete automatically.
The meshDM backend was replaced by the custom data backend, that now figures
out which layers need to be modified, and only duplicates those.


This changes code in many places, and overall removes 2514 lines of code.
So, there's a good chance this might break some stuff, although I've been
testing it for a few days now. The good news is, adding multiple color and
uv layers should now become easy.

------------------------------------------------------------------------
r8956 | scourage | 2006-11-19 20:17:32 +0100 (Sun, 19 Nov 2006) | 8 lines

Updated tooltips in matte nodes to better explain their use.  Made the names of the matte nodes more consistent.

Minor change to to how luminance detail is added to alpha channel in chroma key node.

Removed unused inputs in chroma key and luminance key nodes.

Changed chroma key controls back to sliders because I think they offer the user a more intuitive interface to the node.

------------------------------------------------------------------------
r8955 | ton | 2006-11-19 19:44:54 +0100 (Sun, 19 Nov 2006) | 6 lines

Render Baking:

- Bugfix: vertex normals were still flipped around, to match viewpoint
  rendering.
- New: option to bake a texture+material only

------------------------------------------------------------------------
r8954 | joeedh | 2006-11-19 17:00:04 +0100 (Sun, 19 Nov 2006) | 8 lines

=ID Properties Python Update=

ID Properties binding have now been added for textures.  Also,
the beginnings of supporting "del IDProperty Object" (which 
basically removes the property from it's parent group then frees
it) in python were done; really the only thing now is to figure 
out exactly *how* you overload the del operator. :S

------------------------------------------------------------------------
r8953 | jbinto | 2006-11-19 15:30:31 +0100 (Sun, 19 Nov 2006) | 3 lines

CMake: Turn special features off by default to increase the compile
out-of-the-box chances for most devs.

------------------------------------------------------------------------
r8952 | ton | 2006-11-19 15:12:56 +0100 (Sun, 19 Nov 2006) | 12 lines

Long waited feature: Render Baking

Here's the full release log with example file.
http://www.blender3d.org/cms/Render_Baking.827.0.html

For people who don't read docs; just press ALT+CTRL+B on a Mesh
with texture faces!

Todos:
- maybe some filter options extra?
- Make normal maps in Tangent space

------------------------------------------------------------------------
r8951 | nicholasbishop | 2006-11-19 10:25:17 +0100 (Sun, 19 Nov 2006) | 11 lines

* Replaced the three X/Y/Z sliders that controlled the texture size in sculpt
  mode with a single slider. (Doesn't seem likely the user is going to want to
  scale in one axis differently from another.) Additionally, the new slider
  works correctly in Tile mode in addition to 3D mode. In Tile mode, the slider
  value is considered pixel units.

In the process, found and fixed a few sculptmode bugs
* When loading a file that is already in sculptmode, initialize sculptdata
  as soon as the first sculpt/partial-visibility operation occurs
* Bug in the undo_push code; reading from free'd memory

------------------------------------------------------------------------
r8950 | khughes | 2006-11-19 07:07:24 +0100 (Sun, 19 Nov 2006) | 12 lines



Animation system:

Bugfix #5027: Deleting Shape key sometimes caused corruption to Ipo curves.
sort_key() was moving key but not resorting adrcodes for keys and Ipo curves.

Also changed behavior of sort_key() so that it only resorts one key; all the
places which currently call it only do so after changing one key (the
previous code was moving the key one location at a time through the keyblock
list).

------------------------------------------------------------------------
r8949 | blendix | 2006-11-19 00:07:32 +0100 (Sun, 19 Nov 2006) | 10 lines


Fix for bug #5250: inaccurate conversion between edit and pose mode bones.

Using acos(dot(u, v)) to find the angle between two vectors is quite
inaccurate, and there's a better way to do it, as explained here:
http://www.plunk.org/~hatch/rightway.php

Also changed the use of atan for computing roll to atan2 in some places,
the latter avoids accuracy and division by zero issues.

------------------------------------------------------------------------
r8948 | aligorith | 2006-11-18 23:53:50 +0100 (Sat, 18 Nov 2006) | 4 lines

Disabled some code which I added to make the markers menu only
display in action editor header when there was a set of markers +
an action.

------------------------------------------------------------------------
r8947 | nicholasbishop | 2006-11-18 22:01:25 +0100 (Sat, 18 Nov 2006) | 4 lines

Generalized the sculptmode propset (DKEY) to work with strength as well as
brush size. Pressing the key once does brush size (same as before), then
pressing it a second time switches to setting brush strength.

------------------------------------------------------------------------
r8946 | jbinto | 2006-11-18 17:24:59 +0100 (Sat, 18 Nov 2006) | 2 lines

CMake: Remove blender_img from sorted link list as it has been renamed/replaced

------------------------------------------------------------------------
r8945 | jbinto | 2006-11-18 17:16:56 +0100 (Sat, 18 Nov 2006) | 2 lines

CMake: Initial commit of CMake usage document for Blender

------------------------------------------------------------------------
r8944 | jbinto | 2006-11-18 14:26:05 +0100 (Sat, 18 Nov 2006) | 2 lines

CMake: Fix post build action for makesdna on other systems. This was broken during Windows work.

------------------------------------------------------------------------
r8943 | ton | 2006-11-18 14:25:42 +0100 (Sat, 18 Nov 2006) | 5 lines

Compositor: now the preview images in nodes are restored between undo/redo
steps, making it all look much nicer!
To keep this interactive, no re-calculate event is generated. A user has
to force that by editing nodes or click on a socket.

------------------------------------------------------------------------
r8942 | ton | 2006-11-18 13:34:33 +0100 (Sat, 18 Nov 2006) | 11 lines

Bugfix #5168

Composite: Rotate and Scale nodes ignored the translation offset.
I've added rotating and scale of offset vector, but this should become a
nice 2d matrix[3][3].

Also fixed: the call "pass_on_compbuf" now has correct handling for
using duplicate buffer rects. Can be used safely again to migrate input
buffers to the output when no operation happened. This makes translate
node faster again btw.

------------------------------------------------------------------------
r8941 | ton | 2006-11-18 12:11:55 +0100 (Sat, 18 Nov 2006) | 3 lines

Small fix in Composite "File Output" node: added Z buffer input socket,
for saving rgba+z exr files.

------------------------------------------------------------------------
r8939 | jbinto | 2006-11-18 03:48:18 +0100 (Sat, 18 Nov 2006) | 2 lines

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.

------------------------------------------------------------------------
r8938 | jbinto | 2006-11-18 03:44:43 +0100 (Sat, 18 Nov 2006) | 2 lines

CMake: Prepare for ffmpeg introduction in CMake system (CMake and Windows). Also fix release with debug info builds for MS builds.

------------------------------------------------------------------------
r8937 | jbinto | 2006-11-18 03:40:36 +0100 (Sat, 18 Nov 2006) | 2 lines

CMake: Do not create dummy dna.ca on initial run in wrong place for blender app

------------------------------------------------------------------------
r8936 | joeedh | 2006-11-18 03:18:40 +0100 (Sat, 18 Nov 2006) | 8 lines

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

------------------------------------------------------------------------
r8935 | intrr | 2006-11-18 02:45:47 +0100 (Sat, 18 Nov 2006) | 12 lines



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

------------------------------------------------------------------------
r8934 | jbinto | 2006-11-18 00:25:15 +0100 (Sat, 18 Nov 2006) | 2 lines

CMake: Remove mkprot directory. Accidentally left this in from earlier development.

------------------------------------------------------------------------
r8933 | nicholasbishop | 2006-11-17 23:12:38 +0100 (Fri, 17 Nov 2006) | 2 lines

Fix for sculptmode drawing error, where the brush was incorrectly shown with a texture after it had been deactivated.

------------------------------------------------------------------------
r8932 | sirdude | 2006-11-17 19:29:46 +0100 (Fri, 17 Nov 2006) | 9 lines



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

------------------------------------------------------------------------
r8931 | blendix | 2006-11-17 19:17:56 +0100 (Fri, 17 Nov 2006) | 4 lines


Fix for use of an unitialised variable, added this myself some time ago
changing to threaded MEM_malloc.

------------------------------------------------------------------------
r8930 | sirdude | 2006-11-17 19:12:12 +0100 (Fri, 17 Nov 2006) | 9 lines


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

------------------------------------------------------------------------
r8929 | khughes | 2006-11-17 18:50:43 +0100 (Fri, 17 Nov 2006) | 4 lines



Get rid of various warnings with gcc under linux

------------------------------------------------------------------------
r8928 | hos | 2006-11-17 17:11:03 +0100 (Fri, 17 Nov 2006) | 5 lines

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

------------------------------------------------------------------------
r8927 | jbinto | 2006-11-17 14:07:44 +0100 (Fri, 17 Nov 2006) | 2 lines

CMake: More fixes was needed to get Quicktime working. CMakeCache.txt was fooling me.

------------------------------------------------------------------------
r8926 | ton | 2006-11-17 13:44:15 +0100 (Fri, 17 Nov 2006) | 11 lines

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

------------------------------------------------------------------------
r8925 | ton | 2006-11-17 13:25:34 +0100 (Fri, 17 Nov 2006) | 2 lines

Forgot to include the BSE_time.h here.

------------------------------------------------------------------------
r8924 | ton | 2006-11-17 12:56:00 +0100 (Fri, 17 Nov 2006) | 13 lines

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

------------------------------------------------------------------------
r8923 | jbinto | 2006-11-17 12:35:25 +0100 (Fri, 17 Nov 2006) | 2 lines

CMake: Oops,  committed the wrong macros file in initial submit. This is the one with proper Quicktime linkage.

------------------------------------------------------------------------
r8922 | jbinto | 2006-11-17 12:33:45 +0100 (Fri, 17 Nov 2006) | 2 lines

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.

------------------------------------------------------------------------
r8921 | joeedh | 2006-11-17 09:19:58 +0100 (Fri, 17 Nov 2006) | 6 lines

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

------------------------------------------------------------------------
r8920 | joeedh | 2006-11-17 08:50:24 +0100 (Fri, 17 Nov 2006) | 8 lines

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

------------------------------------------------------------------------
r8919 | joeedh | 2006-11-17 07:28:55 +0100 (Fri, 17 Nov 2006) | 5 lines

=ID Properties MSVC Project Files Update=

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

------------------------------------------------------------------------
r8918 | joeedh | 2006-11-17 07:14:15 +0100 (Fri, 17 Nov 2006) | 7 lines

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

------------------------------------------------------------------------
r8917 | nicholasbishop | 2006-11-17 05:47:39 +0100 (Fri, 17 Nov 2006) | 2 lines

Fixed the delete texture button for sculptmode textures

------------------------------------------------------------------------
r8916 | joeedh | 2006-11-17 05:46:48 +0100 (Fri, 17 Nov 2006) | 22 lines

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

------------------------------------------------------------------------
r8915 | jbinto | 2006-11-17 03:27:12 +0100 (Fri, 17 Nov 2006) | 2 lines

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.

------------------------------------------------------------------------
r8914 | aligorith | 2006-11-17 00:15:06 +0100 (Fri, 17 Nov 2006) | 16 lines

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

------------------------------------------------------------------------
r8913 | ton | 2006-11-16 22:50:35 +0100 (Thu, 16 Nov 2006) | 4 lines

New Compo node: the Split-Viewer, showing two images halves to compare.
Works internally already with masks, so we can have several builtin
types.

------------------------------------------------------------------------
r8912 | schlaile | 2006-11-16 22:40:30 +0100 (Thu, 16 Nov 2006) | 4 lines

== Sequencer ==

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

------------------------------------------------------------------------
r8911 | campbellbarton | 2006-11-16 22:38:08 +0100 (Thu, 16 Nov 2006) | 2 lines

Added group.layers bitfield to the python API

------------------------------------------------------------------------
r8910 | schlaile | 2006-11-16 22:36:04 +0100 (Thu, 16 Nov 2006) | 11 lines

== 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...)

------------------------------------------------------------------------
r8909 | bjornmose | 2006-11-16 21:57:02 +0100 (Thu, 16 Nov 2006) | 9 lines

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

------------------------------------------------------------------------
r8908 | ton | 2006-11-16 21:55:11 +0100 (Thu, 16 Nov 2006) | 7 lines

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)

------------------------------------------------------------------------
r8907 | ton | 2006-11-16 21:23:29 +0100 (Thu, 16 Nov 2006) | 2 lines

Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check.

------------------------------------------------------------------------
r8906 | ton | 2006-11-16 21:23:00 +0100 (Thu, 16 Nov 2006) | 6 lines

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.

------------------------------------------------------------------------
r8905 | sirdude | 2006-11-16 19:28:57 +0100 (Thu, 16 Nov 2006) | 8 lines


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

------------------------------------------------------------------------
r8904 | blendix | 2006-11-16 15:41:43 +0100 (Thu, 16 Nov 2006) | 5 lines


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.

------------------------------------------------------------------------
r8903 | ton | 2006-11-16 12:55:05 +0100 (Thu, 16 Nov 2006) | 4 lines

Bug/patch #5244, by Juho

The pulldown options for adding new Matte compo nodes.

------------------------------------------------------------------------
r8902 | ton | 2006-11-16 12:49:14 +0100 (Thu, 16 Nov 2006) | 15 lines

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.

------------------------------------------------------------------------
r8901 | ton | 2006-11-16 12:43:46 +0100 (Thu, 16 Nov 2006) | 7 lines

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.

------------------------------------------------------------------------
r8900 | ton | 2006-11-16 11:36:45 +0100 (Thu, 16 Nov 2006) | 5 lines

Plumiferos request; additional option for subsurf hotkey.

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

------------------------------------------------------------------------
r8899 | ton | 2006-11-16 11:24:26 +0100 (Thu, 16 Nov 2006) | 11 lines

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.

------------------------------------------------------------------------
r8898 | aligorith | 2006-11-16 10:48:53 +0100 (Thu, 16 Nov 2006) | 5 lines

Some more action editor marker bugfixes:

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

------------------------------------------------------------------------
r8897 | aligorith | 2006-11-16 05:22:17 +0100 (Thu, 16 Nov 2006) | 5 lines

Action Editor Markers Bugfix:

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

------------------------------------------------------------------------
r8896 | aligorith | 2006-11-16 05:01:01 +0100 (Thu, 16 Nov 2006) | 12 lines

== 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

------------------------------------------------------------------------
r8895 | aligorith | 2006-11-16 03:39:43 +0100 (Thu, 16 Nov 2006) | 9 lines

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

------------------------------------------------------------------------
r8894 | nicholasbishop | 2006-11-15 23:24:05 +0100 (Wed, 15 Nov 2006) | 6 lines

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.

------------------------------------------------------------------------
r8893 | campbellbarton | 2006-11-15 22:12:53 +0100 (Wed, 15 Nov 2006) | 2 lines

fixed error that was caused by 2 vertex loops center being 0.0 distance apart, also made the python 2.3 syntax default.

------------------------------------------------------------------------
r8892 | ton | 2006-11-15 17:55:40 +0100 (Wed, 15 Nov 2006) | 5 lines

- 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

------------------------------------------------------------------------
r8891 | ton | 2006-11-15 16:18:06 +0100 (Wed, 15 Nov 2006) | 4 lines

Patch #5166, Juho V (bebraw)

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

------------------------------------------------------------------------
r8890 | ton | 2006-11-15 15:41:04 +0100 (Wed, 15 Nov 2006) | 19 lines

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.

------------------------------------------------------------------------
r8889 | ton | 2006-11-15 12:21:17 +0100 (Wed, 15 Nov 2006) | 7 lines

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.

------------------------------------------------------------------------
r8888 | ton | 2006-11-15 12:10:00 +0100 (Wed, 15 Nov 2006) | 5 lines

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.

------------------------------------------------------------------------
r8887 | aligorith | 2006-11-15 11:41:28 +0100 (Wed, 15 Nov 2006) | 23 lines

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

------------------------------------------------------------------------
r8886 | ton | 2006-11-15 11:02:57 +0100 (Wed, 15 Nov 2006) | 11 lines

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.

------------------------------------------------------------------------
r8885 | ton | 2006-11-15 09:38:46 +0100 (Wed, 15 Nov 2006) | 5 lines

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.

------------------------------------------------------------------------
r8884 | ton | 2006-11-15 09:20:53 +0100 (Wed, 15 Nov 2006) | 3 lines

Group duplicator fix: the invisible group objects didn't draw, but were
still visible in render.

------------------------------------------------------------------------
r8883 | broken | 2006-11-15 04:43:47 +0100 (Wed, 15 Nov 2006) | 3 lines

Woops, I think I committed some wrong versions of the *nix icons the first time,
trying again now.

------------------------------------------------------------------------
r8882 | nicholasbishop | 2006-11-15 00:17:19 +0100 (Wed, 15 Nov 2006) | 2 lines

Fixed the retopo tool for adding vertices by CTRL+click in editmode

------------------------------------------------------------------------
r8881 | ton | 2006-11-14 22:06:11 +0100 (Tue, 14 Nov 2006) | 2 lines

Group Proxy: now drivers from proxy to Shape keys work :)

------------------------------------------------------------------------
r8880 | ton | 2006-11-14 21:41:38 +0100 (Tue, 14 Nov 2006) | 5 lines

Fixes in commit for Group Proxy feature;

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

------------------------------------------------------------------------
r8879 | ton | 2006-11-14 19:50:23 +0100 (Tue, 14 Nov 2006) | 2 lines

Bugfix in group-proxy, Deleting objects didn't reset proxy pointers.

------------------------------------------------------------------------
r8878 | ton | 2006-11-14 19:13:34 +0100 (Tue, 14 Nov 2006) | 6 lines

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

------------------------------------------------------------------------
r8877 | ton | 2006-11-14 18:16:15 +0100 (Tue, 14 Nov 2006) | 5 lines

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.

------------------------------------------------------------------------
r8876 | khughes | 2006-11-14 17:36:45 +0100 (Tue, 14 Nov 2006) | 7 lines



Python API:

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

------------------------------------------------------------------------
r8875 | ton | 2006-11-14 17:29:03 +0100 (Tue, 14 Nov 2006) | 3 lines

New rule for append/reference Armature objects: the custom shapes get
automatically loaded as well.

------------------------------------------------------------------------
r8874 | khughes | 2006-11-14 16:58:17 +0100 (Tue, 14 Nov 2006) | 8 lines



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.

------------------------------------------------------------------------
r8873 | ton | 2006-11-14 16:27:43 +0100 (Tue, 14 Nov 2006) | 12 lines

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.

------------------------------------------------------------------------
r8872 | jesterking | 2006-11-14 06:47:52 +0100 (Tue, 14 Nov 2006) | 2 lines

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

------------------------------------------------------------------------
r8871 | broken | 2006-11-14 05:29:04 +0100 (Tue, 14 Nov 2006) | 4 lines

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

------------------------------------------------------------------------
r8870 | broken | 2006-11-14 05:16:05 +0100 (Tue, 14 Nov 2006) | 6 lines

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 )

------------------------------------------------------------------------
r8869 | theeth | 2006-11-14 01:56:46 +0100 (Tue, 14 Nov 2006) | 9 lines

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

------------------------------------------------------------------------
r8868 | ton | 2006-11-13 22:43:09 +0100 (Mon, 13 Nov 2006) | 5 lines

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.

------------------------------------------------------------------------
r8867 | khughes | 2006-11-13 22:14:48 +0100 (Mon, 13 Nov 2006) | 7 lines



Python API:

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

------------------------------------------------------------------------
r8866 | nicholasbishop | 2006-11-13 19:45:57 +0100 (Mon, 13 Nov 2006) | 2 lines

Added missing null check when freeing multires level 1 dverts

------------------------------------------------------------------------
r8865 | khughes | 2006-11-13 19:40:48 +0100 (Mon, 13 Nov 2006) | 4 lines



Fixed error in previous commit.

------------------------------------------------------------------------
r8864 | campbellbarton | 2006-11-13 18:55:06 +0100 (Mon, 13 Nov 2006) | 2 lines

removed warning in last commit

------------------------------------------------------------------------
r8863 | nicholasbishop | 2006-11-13 18:47:57 +0100 (Mon, 13 Nov 2006) | 4 lines

Fixed bug #5219, Undo doesn't work in Sculpt mode when modifiers are applied

Just added a missing call to update the active object.

------------------------------------------------------------------------
r8862 | intrr | 2006-11-13 18:39:46 +0100 (Mon, 13 Nov 2006) | 4 lines



Removed redundant variable declaration in my previous commit.

------------------------------------------------------------------------
r8861 | campbellbarton | 2006-11-13 18:37:01 +0100 (Mon, 13 Nov 2006) | 3 lines

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.

------------------------------------------------------------------------
r8860 | intrr | 2006-11-13 18:31:39 +0100 (Mon, 13 Nov 2006) | 15 lines



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.

------------------------------------------------------------------------
r8859 | ton | 2006-11-13 17:43:45 +0100 (Mon, 13 Nov 2006) | 6 lines

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.

------------------------------------------------------------------------
r8858 | blendix | 2006-11-13 16:36:33 +0100 (Mon, 13 Nov 2006) | 3 lines


Fix for bug #5220: crash on edgeloop delete.

------------------------------------------------------------------------
r8857 | ton | 2006-11-13 15:33:36 +0100 (Mon, 13 Nov 2006) | 8 lines

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.

------------------------------------------------------------------------
r8856 | ton | 2006-11-13 14:32:52 +0100 (Mon, 13 Nov 2006) | 5 lines

Bugfix #5217

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

------------------------------------------------------------------------
r8855 | aligorith | 2006-11-13 11:16:07 +0100 (Mon, 13 Nov 2006) | 10 lines

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

------------------------------------------------------------------------
r8854 | aligorith | 2006-11-13 09:56:02 +0100 (Mon, 13 Nov 2006) | 13 lines

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

------------------------------------------------------------------------
r8853 | elubie | 2006-11-13 07:40:08 +0100 (Mon, 13 Nov 2006) | 4 lines

==== scons ====
- cleanup for wintab library headers
- properly define BF_WINTAB and BF_WINTAB_INC

------------------------------------------------------------------------
r8852 | aligorith | 2006-11-13 05:37:42 +0100 (Mon, 13 Nov 2006) | 2 lines

Just a few fixes to the indention of some functions (purely cosmetic code changes)

------------------------------------------------------------------------
r8851 | broken | 2006-11-13 02:24:46 +0100 (Mon, 13 Nov 2006) | 2 lines

Set the default material preview type to 'sphere' for newly added materials.

------------------------------------------------------------------------
r8850 | nicholasbishop | 2006-11-12 22:28:09 +0100 (Sun, 12 Nov 2006) | 2 lines

Removed erroneous switch to the front buffer when reading depth values in sculptmode and retopo.

------------------------------------------------------------------------
r8849 | erwin | 2006-11-12 22:05:10 +0100 (Sun, 12 Nov 2006) | 2 lines

updating Bullet 2.x with latest changes. The integration + C-API will follow at some stage.

------------------------------------------------------------------------
r8848 | elubie | 2006-11-12 18:23:26 +0100 (Sun, 12 Nov 2006) | 2 lines

- compile fix for msvc 6 which doesn't declare M_PI at all it seems.

------------------------------------------------------------------------
r8847 | bjornmose | 2006-11-12 17:51:29 +0100 (Sun, 12 Nov 2006) | 5 lines

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

------------------------------------------------------------------------
r8846 | ton | 2006-11-12 17:24:59 +0100 (Sun, 12 Nov 2006) | 2 lines

Ooops, previous commit of mine forgot to commit the .h file.

------------------------------------------------------------------------
r8845 | elubie | 2006-11-12 17:21:16 +0100 (Sun, 12 Nov 2006) | 3 lines

compile fix for MSVC compiler.
- math.h doesn't include #define M_PI by default (_USE_MATH_DEFINES needs to be defined)

------------------------------------------------------------------------
r8844 | bjornmose | 2006-11-12 17:13:07 +0100 (Sun, 12 Nov 2006) | 2 lines

msvc6 adding DNA_customdata_types.h to project

------------------------------------------------------------------------
r8843 | ton | 2006-11-12 14:51:28 +0100 (Sun, 12 Nov 2006) | 5 lines

Patch #5185, Juho V (bebraw)

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

------------------------------------------------------------------------
r8842 | ton | 2006-11-12 14:28:39 +0100 (Sun, 12 Nov 2006) | 5 lines

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.

------------------------------------------------------------------------
r8841 | elubie | 2006-11-12 14:04:04 +0100 (Sun, 12 Nov 2006) | 3 lines

==== MSVC 7 project files ====
very small cleanup: add DNA_customdata_types.h header

------------------------------------------------------------------------
r8840 | ton | 2006-11-12 12:41:43 +0100 (Sun, 12 Nov 2006) | 6 lines

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.

------------------------------------------------------------------------
r8839 | ton | 2006-11-12 12:03:34 +0100 (Sun, 12 Nov 2006) | 5 lines

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.

------------------------------------------------------------------------
r8838 | blendix | 2006-11-12 11:53:30 +0100 (Sun, 12 Nov 2006) | 4 lines


Missing check for pointer being NULL in last commit, could crash on
entering editmode.

------------------------------------------------------------------------
r8837 | broken | 2006-11-12 10:52:03 +0100 (Sun, 12 Nov 2006) | 2 lines

Some clearer comments on the meaning of the tabletdata struct's variables

------------------------------------------------------------------------
r8836 | broken | 2006-11-12 10:50:44 +0100 (Sun, 12 Nov 2006) | 2 lines

Added tablet tilt data collection for GHOST/Win32 - thanks elubie for doing the hard work getting it all set up first! The tilt values still aren't being used anywhere in Blender (yet? :) but at least now the data is there reliably and consistently across platforms.

------------------------------------------------------------------------
r8835 | ton | 2006-11-12 10:26:38 +0100 (Sun, 12 Nov 2006) | 3 lines

New 'TOG DUAL' button (for locking bone layers) disabled extend-press
with shift key.

------------------------------------------------------------------------
r8834 | ton | 2006-11-12 10:14:43 +0100 (Sun, 12 Nov 2006) | 11 lines

Simple & efficient feature request from Campbell;

One of the annoying things in Blender was that the UV Faceselect mode
immediately forced the object to draw 'Textured', mimicing how the game
engine could show it. For modeling and texturing workflow not optimal.

UV FaceSelect mode now draws textured & default lighted, if the view is
set to 'Solid'. Switch view to 'Textured' to see again what the game
engine could draw (which is using real lamps, and the per-face lighted
flag).

------------------------------------------------------------------------
r8833 | aligorith | 2006-11-12 06:58:59 +0100 (Sun, 12 Nov 2006) | 7 lines

== Copy Pose Attributes Menu ==

I've added a few more options for the copy pose attributes menu - Copy:
* Transform Locks
* IK Limits/DOF settings
* Custom Bone Shape

------------------------------------------------------------------------
r8832 | blendix | 2006-11-12 00:23:15 +0100 (Sun, 12 Nov 2006) | 10 lines


Added custom vertex data support to editmode. Only used for vertex groups
now, others can be added later (sticky, shape keys). Beside one small fix
for knife exact vertex group interpolation, is intended to work the same
as before.

Also fixes bug #5200, related to editmode undo and vertex groups. And
corrects the editmode to faceselect mode selection conversion, that was
broken in a previous commit.

------------------------------------------------------------------------
r8831 | blendix | 2006-11-11 23:47:41 +0100 (Sat, 11 Nov 2006) | 5 lines


Patch #5195 by Anders Gudmundson.

On X11, make the table device name check case insensitive.

------------------------------------------------------------------------
r8830 | schlaile | 2006-11-11 23:35:40 +0100 (Sat, 11 Nov 2006) | 27 lines

== Sequencer ==

Major sequencer rewrite to add Speed Control effect.
Changes:
- Cleaned up large parts of sequence.c removing a lot of unnecessary code.
  (We first built old seqar array to decide, what is visible, then build
   dependencies with new code, then used old code to iterate through the
   strips and deciding using new code what is used and so forth and so on...)
  Should be much faster now.
- Now we build the strips recursively thereby elemenating the need of a
  seperate dependency calculation.
- Added a Speed-Control effect to change strip speed afterwards.
  (Offers global speed as well as IPO-controlled speed.
   There are several modes to play with:
   - Control by velocity (IPO = velocity where 1.0 is normal speed)
   - Control by frame number (IPO = target frame)
   - IPO-Value can be rescaled to frame-value, to make frame exact matching
     possible. (Matching video tracks to audio tracks with IPOs ;-)

Demo-Blend file is here http://peter.schlaile.de/blender/sequencer/speedcontroltest.blend

Since this was also a Plumiferos request I hope to be mentioned in the
credits ;-)

Enjoy! And please test the new sequencer thoroughly. It is really more like
a rewrite this time.

------------------------------------------------------------------------
r8829 | hos | 2006-11-11 20:12:43 +0100 (Sat, 11 Nov 2006) | 6 lines

Fix for bug #4922

The VRML97 exporter was rounding a lot of stuff to three decimal points.
This is silly, since the spec says single-precision floats are used for
most things, which gives about 7 decimal points precision.

------------------------------------------------------------------------
r8828 | ton | 2006-11-11 19:17:53 +0100 (Sat, 11 Nov 2006) | 5 lines

Bugfix #5208

Dupli-group, with armature in PoseMode, made selections not work.
Weird that this wasn't reported before :)

------------------------------------------------------------------------
r8827 | blendix | 2006-11-11 18:18:42 +0100 (Sat, 11 Nov 2006) | 4 lines


Compile error fix for last commit, using an undeclared variable. How GCC
allowed this to compile I have no idea.

------------------------------------------------------------------------
r8826 | ton | 2006-11-11 18:15:42 +0100 (Sat, 11 Nov 2006) | 4 lines

Tinsy fix for ~ key (set all layers). It as actually doing 21 layers :)

Reported by Matt, via Campbell, thanks!

------------------------------------------------------------------------
r8825 | ton | 2006-11-11 17:45:17 +0100 (Sat, 11 Nov 2006) | 15 lines

Experimental feature, especially for the animation department:

THE OBJECT PROXY

Or simple said; local control of referenced data from libraries.
Having library files with references is a very common studio setup, and
Blender did do quite well in that area. Were it not that for character
setups it was impossible to use still.

This commit will enable a full rig+character to remain in the library,
and still have - under strict control - local access for animation edits.

Full log:
http://www.blender3d.org/cms/Proxy_Objects.824.0.html

------------------------------------------------------------------------
r8824 | blendix | 2006-11-11 17:38:37 +0100 (Sat, 11 Nov 2006) | 12 lines


Added custom face data support in edit mode. The code used to do this is
the CustomData module from the modifier stack rewrite, but with additions
to make it also usable in edit mode. Some of the datatypes from that
module were move to a DNA header file, they are not saved to file now, but
will be soon.

The only code that wasn't abstracted is the uv collapse / merging code. It
is rather complicated, will look into that in the future.

There should be no user level changes.

------------------------------------------------------------------------
r8823 | bjornmose | 2006-11-11 00:09:16 +0100 (Sat, 11 Nov 2006) | 14 lines

softbody review

1. UI review -> disabeling options when not available .. giving hints why ( even tried to give usefull tooltips )
1.1 give some more user control to the solving process  (mins,maxs).. optional feedback on the console

2. replacing ugly object level 'sumohandle' with SB (private runtime) level/pointer 'scratch'
which holds runtime data like cached collider data and more .. and it's thread save this way :)

3.related no 2.  write a 'private' history of collision objects to ease the 'fast' collider tunneling syndrome'

4. some <clean> optimizations, 3-BSP for self collision,  general AABB checking before ever going to collision details

5. some <dirty>  ( in the sense of do some inacurate physics noone ever will see ) little tricks to make things faster .. ..fuzzy collision situation bypass .. forward collision resolution

------------------------------------------------------------------------
r8822 | aligorith | 2006-11-11 00:00:31 +0100 (Sat, 11 Nov 2006) | 6 lines

Cleanup of evaluation code for Copy Rotation and Limit Rotation constraints.

Made them use the new the two new math functions I've added in arith.c (in
various patches) - Mat4ToEul and LocEulSizeToMat4 - cutting down on the
amount of code reuse.

------------------------------------------------------------------------
r8821 | schlaile | 2006-11-10 19:29:26 +0100 (Fri, 10 Nov 2006) | 4 lines

== Sequencer ==

Bugfix for the bugfix: corrected intrr's patch.

------------------------------------------------------------------------
r8820 | sirdude | 2006-11-10 19:01:18 +0100 (Fri, 10 Nov 2006) | 5 lines


ICONV stuff was defined twice so cleaning it up.

Kent

------------------------------------------------------------------------
r8819 | sirdude | 2006-11-10 18:59:40 +0100 (Fri, 10 Nov 2006) | 5 lines


Tweaks for ICONV stuff in scons.

Kent

------------------------------------------------------------------------
r8818 | intrr | 2006-11-10 18:34:34 +0100 (Fri, 10 Nov 2006) | 5 lines



Fix meta strips. Peter, please check if it is OK. It seems you just forgot
this place (it's marked with /* crash */).

------------------------------------------------------------------------
r8817 | blendix | 2006-11-10 18:21:46 +0100 (Fri, 10 Nov 2006) | 3 lines


Bugfix for image painting crash on windows as reported on bf-committers.

------------------------------------------------------------------------
r8816 | ton | 2006-11-10 15:21:27 +0100 (Fri, 10 Nov 2006) | 9 lines

Bugfix #5199

Irregular shadow buffer, for solid OSA case, suffered aliasing. This caused
by optimized storage of shadow factors in 1 pixel (averaged for all sub
samples). That didn't work well really...

Now the code uses same method as for transparent faces, storing results for
each sample.

------------------------------------------------------------------------
r8815 | ton | 2006-11-10 12:54:36 +0100 (Fri, 10 Nov 2006) | 7 lines

Bugfix #5197

Radiosity tool or render was using an uninitialized variable, causing clip
to work incorrect. (black lines in radiosity).

Error caused by commit in august, after 2.42a release.

------------------------------------------------------------------------
r8814 | ton | 2006-11-10 11:17:04 +0100 (Fri, 10 Nov 2006) | 14 lines

Old feature request: undo system now restores images without reloading.
Was surprisingly easy to add, compiant with file reading and undo code.

Currently only the Image->ibuf gets restored, and its opengl binding, so
for realtime texture it works nicely. Also texture images are not freed
inbetween undo steps

Notes:
- Painting textures will just keep the painted image, there's no undo
  yet for that
- If this works satisfying, I'll extend it to compositing previews

TEST IT WELL PLEASE! :)

------------------------------------------------------------------------
r8813 | nicholasbishop | 2006-11-10 09:18:16 +0100 (Fri, 10 Nov 2006) | 2 lines

Fixed display of modifiers in sculpt mode.

------------------------------------------------------------------------
r8812 | nicholasbishop | 2006-11-10 07:33:49 +0100 (Fri, 10 Nov 2006) | 2 lines

Fixed a missing check for null dverts in my last commit.

------------------------------------------------------------------------
r8811 | nicholasbishop | 2006-11-10 04:58:04 +0100 (Fri, 10 Nov 2006) | 5 lines

Fixed bug #5193, crash using multires with sculpt

In fixing, replaced several frees and copys of dverts with the proper
blenkernel functions.

------------------------------------------------------------------------
r8810 | campbellbarton | 2006-11-10 03:23:30 +0100 (Fri, 10 Nov 2006) | 4 lines

new image names were being created with 2 ..'s

added a function to BPyMesh.py to get faces in linked groups (like split by loose parts) - but returns lists of faces only.

------------------------------------------------------------------------
r8809 | nicholasbishop | 2006-11-10 02:57:06 +0100 (Fri, 10 Nov 2006) | 5 lines

Fixed bug #5174, Crash on sculpt mode undo

The fix adds support for storing edge/face/partial visiblity data to the sculpt
mode undo data. (This may also be useful for multires.)

------------------------------------------------------------------------
r8808 | blendix | 2006-11-10 00:47:28 +0100 (Fri, 10 Nov 2006) | 5 lines


Modified the way face data is preserved in the radiosity module. There
is one user level change: the result is now no longer split up in meshes
of maximum 64k faces, was a workaround for an old limitation.

------------------------------------------------------------------------
r8807 | schlaile | 2006-11-09 23:23:09 +0100 (Thu, 09 Nov 2006) | 12 lines

== Sequencer ==

This adds support for "generator effect strips", which don't need necessarily
an input strip and my version of Matt Ebb's [ #5035 ] 'Solid Color'
sequence strip.

TODO: With a little bit more tweaking it will be possible to make animated
effect plugins and my still unfinished "Bake"-Strip.

For the 'Solid Color'-Effect, to quote Matt:
This is nice and simple, just provides a solid colour that's set in a colour picker in the properties popup. This is something we've needed for a long time, and I got totally sick of having to make 'black.png' and 'white.png' just to do fades, so I coded this.

------------------------------------------------------------------------
r8806 | elubie | 2006-11-09 21:55:13 +0100 (Thu, 09 Nov 2006) | 3 lines

==== MSVC 7 project files ====
boolop and bsplib cleanup

------------------------------------------------------------------------
r8805 | schlaile | 2006-11-09 19:58:02 +0100 (Thu, 09 Nov 2006) | 33 lines

== Sequencer ==

Added enhancements by blendix (Patch #4919: Insert sequence effect between)

It adds the following things:
- You can add a sequence strip afterwards in the middle of an effect chain
  (you have to move strips around before, so that there is "room" for it.
   Blender will ask you then, if you want to add in between or after the
   selected strips)
- In the case you messed it up and want your effect strips to be reassigned in
  a different way, there is the new "R"-key. Just select three arbitrary
  strips and press "R". If you don't create a cycle, those will be connected
  to a new effect chain.
- Fixed freeing of imbufs on changes to properly take into account dependencies.  An example of a simple case that went wrong is one image strip with two
  glow effects, changing the parameters of the first glow strip will not
  result in any updates. Basically only direct dependencies were taken into
  account, which resulted in the image preview not being updated in some cases.
- Let the sequencer detect an active sequence strip if none is defined, to
  get rid of annoying error messages when trying to add an effect to a
  selected sequence strip right after loading a file.
- Delete is less destructive. If you delete somewhere between other strips,
  Blender now tries to relink in a reasonable way.
- The active sequence strip is now displayed with a light instead of a dark
  outline, which makes it easier to spot, and is especially useful for the
  tools using the active sequence strip.
- Ability to view the final result when editing inside meta strip.
  The channel button was modified to also allow negative numbers,
  where -n is n levels up the meta stack. There is probably a nicer way to
  specify this, instead of (ab)using the channel button, but this seems to
  work quite efficient.
- Also a small bugfix: don't crash on loading files from newer versions with
  an unknown effect strip.

------------------------------------------------------------------------
r8804 | sirdude | 2006-11-09 16:45:19 +0100 (Thu, 09 Nov 2006) | 26 lines



This is really two commits but the first one is very small and affects one
file I modified for the other patch.  So I'm being bad and combining them
together.

First one is added -lXi to LLIBS for solaris.  (Makes it so it compiles
again with the tablet stuff added)

Second one is the real commit its an expansion of patch #4458
This adds optional ICONV lining to support international fonts in the
file selector.  Thanks to wisit venita (dripstone) I mostly just cleaned
it up a little and made it optional via defines.

Its currently turned off for all platforms except for solaris on scons.
For scons see your config/(platform).py file look for WITH_BF_ICONV
For the Makefiles look at source/nan_definitions.mk look for WITH_ICONV
(basically you'll want to export WITH_ICONV=true and possibly set some other
stuff)

Let me know if there are any problems.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r8803 | khughes | 2006-11-09 15:30:11 +0100 (Thu, 09 Nov 2006) | 7 lines



Patch #4896, submitted by Juho Vepsäläinen (bebraw):

Allows "Degr" field in Mesh tools accept negative and positive float values
from range [-360, 360].

------------------------------------------------------------------------
r8802 | bjornmose | 2006-11-09 14:25:57 +0100 (Thu, 09 Nov 2006) | 2 lines

msvc6 sweeping the lints out off the corners

------------------------------------------------------------------------
r8801 | ton | 2006-11-09 13:06:06 +0100 (Thu, 09 Nov 2006) | 9 lines

Bugreport in irc:

The Preview panel in UV window, for compositing, sets a 'crop' flag in the
scene when used. Somehow this flag can hang when you switch screens or
close windows. Or even worse, it crashed on renders.

This commit ensures that the compositor survives and gives error prints.
The real issue, hanging flags on closing windows, has to be solved still.

------------------------------------------------------------------------
r8800 | ton | 2006-11-09 11:12:26 +0100 (Thu, 09 Nov 2006) | 2 lines

Oops, added the #define in wrong line. Now displace modifier is back!

------------------------------------------------------------------------
r8799 | aligorith | 2006-11-09 10:01:20 +0100 (Thu, 09 Nov 2006) | 6 lines

Two minor code cleanups.

* Removed un-needed cases for limit loc/rot/scale constraints from expand_constraints, which caused a few compiler warnings

* Removed an odd character in one of the comments for constraints. (Hopefully there wasn't any specific reason why it had to be there)

------------------------------------------------------------------------
r8798 | ton | 2006-11-09 09:48:24 +0100 (Thu, 09 Nov 2006) | 8 lines

Bugfix #5044 revisited

Displace modifier crashed when used on Curve, the fix removed the flag
that accepts curve objects, but apparently then a flag to accept meshes
has to be added. (eModifierTypeFlag_AcceptsMesh).

Thanks Michael Crawford for notifying this fix.

------------------------------------------------------------------------
r8797 | aligorith | 2006-11-09 09:43:27 +0100 (Thu, 09 Nov 2006) | 34 lines

This commit adds two of my recent animation editing related patches:
#5061 - Ipo/Action 'Cleaning'
#5071 - 'Only Needed' Keyframing Option

====================

* IPO/Action 'Cleaning':
It removes un-necessary keyframes from individual ipo curves.
- In both editors, the hotkey is currently the OKEY.  Also accesable from menus of each editor.
- There is currently a 'threshold' popup. This sets the value that the cleaner uses to determine if two keys have same time/value

There are a few improvements that could still be made, such as:
- There are a few cases that it still doesn't handle yet, such as when un-needed keyframes lie on a linear line (and similiar cases). This shall be improved soon.
- Also, for some reason, after running cleaning while in ipo editor editmode, all but the active curve are hidden.

====================

* 'Only Needed' Keyframing Option:
This patch adds a new keyframing option for objects and bones. It only adds keyframes where they are needed, judging from the surrounding points on that curve.

Notes about this keyframing option:
- Works like the existing 'Avail' option, except it checks if the keyframe
is needed.
- Currently uses hardcoded threshold for determining if same value.

[quote]
/* Cases where keyframes should not be added:
*       1. Keyframe to be added bewteen two keyframes with similar values
*       2. Keyframe to be added between two keyframes with similar times
*       3. Keyframe lies at point that intersects the linear line between two
keyframes
*/
[/unquote]

------------------------------------------------------------------------
r8796 | aligorith | 2006-11-09 09:09:54 +0100 (Thu, 09 Nov 2006) | 4 lines

My first commit!

This commit fixes the name of the LocZ number field in n-key panel for pose-mode bones.

------------------------------------------------------------------------
r8795 | ton | 2006-11-08 22:20:38 +0100 (Wed, 08 Nov 2006) | 9 lines

Feature: Group duplicators now are recursive, so group-duplid can be
grouped and become a new duplicated group, and so on.

IMPORTANT NOTE!
- no check for eternal loops, so I've hardcoded limited it to 5 levels
- no support for animation or deformation/modifiers/constraints

So, only fun for the props and architecture department :)

------------------------------------------------------------------------
r8794 | blendix | 2006-11-08 21:33:28 +0100 (Wed, 08 Nov 2006) | 4 lines


While I'm breaking build systems anyway, also removed the two img modules,
they are not used anymore in the new image paint code.

------------------------------------------------------------------------
r8793 | blendix | 2006-11-08 21:14:04 +0100 (Wed, 08 Nov 2006) | 9 lines


Modified the way booleans preserve face data, and cleaned up some
duplicate code. Also removed redundant files from the bsp module,
that where replaced by boolop last year, no sense in updating them
for these changes. On the user level things should still work the
same, this is only preparation work.

Not counting the removed files, -1501 lines of code, not too bad :)

------------------------------------------------------------------------
r8792 | ton | 2006-11-08 19:47:38 +0100 (Wed, 08 Nov 2006) | 4 lines

Bugfix #5188

Material type OnlyShadow didn't work yet for irregular shadow buffer.

------------------------------------------------------------------------
r8791 | ton | 2006-11-08 16:22:58 +0100 (Wed, 08 Nov 2006) | 6 lines

Patch #5126 by Ben Stabler

In 3D window, ortho view, you can use SHIFT+B to zoom in to a border.

I've disabled it for perspective, that doesn't work at all with this.

------------------------------------------------------------------------
r8790 | ton | 2006-11-08 13:46:41 +0100 (Wed, 08 Nov 2006) | 5 lines

Patch #5091, by Ramon Carlos Ruiz

For numerical pad 2-4-6-8, it adds a step value in degrees in the User
Presets. Code had to be rewritten some... :)

------------------------------------------------------------------------
r8789 | ton | 2006-11-08 13:42:45 +0100 (Wed, 08 Nov 2006) | 3 lines

Update for previous commit, apparently the patch didn't add the prototype
for me...

------------------------------------------------------------------------
r8788 | ton | 2006-11-08 13:03:10 +0100 (Wed, 08 Nov 2006) | 9 lines

Patch #5069, by Juho Vepsäläinen (bebraw)

Enable to use Xkey or DEL for deleting objects in outliner.

Note: there's reasons to be a bit reluctant with extensions like this.
Mostly related to the fact that outliner operations is completely unfinished
still. We need to spend time on thinking over how it should evolve, and
based on that the proper hotkeys and menus can be added as well.

------------------------------------------------------------------------
r8787 | ton | 2006-11-08 11:59:19 +0100 (Wed, 08 Nov 2006) | 4 lines

Patch #5058, by GSR

Adding #define constants for button definitions in theme editor.

------------------------------------------------------------------------
r8786 | ton | 2006-11-08 11:51:27 +0100 (Wed, 08 Nov 2006) | 14 lines

- Action Modifier; paths now support Speed curve.
  http://download.blender.org/demo/test/2.43/0001_0150_speed.avi
  By default the Speed maps in the range 0-100 frames, since there's
  not an actual time relationship here.

  IMPORTANT: this didn't work before, and default Curve Paths have a
  speed Ipo, so past saved scenes will work different now!

- Speed curve points are now drawn on the 3D path as well. With select
  info for selected points, if Curve Object is active.

- Duplicating Objects with NLA ActionModifiers now also correctly copies
  object pointers, so a duplicate works as expected.

------------------------------------------------------------------------
r8785 | briggs | 2006-11-08 06:18:11 +0100 (Wed, 08 Nov 2006) | 9 lines

->Join triangles fixes.

There was a bug with the new join triangles code that caused concave faces to be
created. This is fixed now and is tweakable using the the 'threshold' value set
in the 'Mesh Tools' panel in editbuttons.

Also removed the popup notice telling you how many triangles had been joined. It
was only there for debugging purposes.

------------------------------------------------------------------------
r8784 | elubie | 2006-11-07 22:40:49 +0100 (Tue, 07 Nov 2006) | 4 lines

==== MSVC 7 project files ====
- aded missing verse.lib for linking blenderplayer
- added missing files from sculptmode commit

------------------------------------------------------------------------
r8783 | sirdude | 2006-11-07 22:24:47 +0100 (Tue, 07 Nov 2006) | 6 lines



missed one more endian issue.  Lynx3d saw it...

Kent

------------------------------------------------------------------------
r8782 | nicholasbishop | 2006-11-07 21:55:09 +0100 (Tue, 07 Nov 2006) | 8 lines

Modified sculpt/multires UI:
* Changed multires panel's width to the default
* Removed floating multires panel
* Made multires panel always visible (in EditButtons)
* Moved Make/Delete [multires] button into the multires panel
* Moved the two sculpt panels into tabs of the multires panel
* Removed two extra sculptmode buttons from view header

------------------------------------------------------------------------
r8781 | ton | 2006-11-07 19:34:32 +0100 (Tue, 07 Nov 2006) | 5 lines

Patch #5028. by Joshua Leung (aligorith)

Key snapping in Action Window, cleanup and added option to snap to
current frame.

------------------------------------------------------------------------
r8780 | sirdude | 2006-11-07 19:32:25 +0100 (Tue, 07 Nov 2006) | 10 lines



removed redefinition of cp and mem.
Was causing problems on windows.  (Its odd that it worked on gcc without
warnings)

Thanks to damiles.

Kent

------------------------------------------------------------------------
r8779 | sirdude | 2006-11-07 18:32:29 +0100 (Tue, 07 Nov 2006) | 9 lines



Patch provided by (lynx3d) Mathias Wein,

It fixes endian issues with 16bit targa images.
this is fixing bug #4982

Kent

------------------------------------------------------------------------
r8778 | ton | 2006-11-07 17:43:44 +0100 (Tue, 07 Nov 2006) | 7 lines

The occosional warning cleanup;

- unused varialbles
- unused functions
- wrong casted callback for SDL
- gcc3 related; (GLint *) for opengl calls.

------------------------------------------------------------------------
r8777 | ton | 2006-11-07 17:27:31 +0100 (Tue, 07 Nov 2006) | 4 lines

MSVC compiler is non-posix for some string operations...

Created a BLI_strcasestr and used existing BLI_strcasecmp in code now.

------------------------------------------------------------------------
r8776 | ton | 2006-11-07 16:47:10 +0100 (Tue, 07 Nov 2006) | 9 lines

Long wanted feature for animators: option to lock a view to always show
a specific object, so you can see long walkcycles or actions well.

Option is per 3d window, in "View Properties" panel. It also can optional
lock a view to a single bone even!

Temporal movie for fun:
http://www.blender.org/bf/0001_0060.avi

------------------------------------------------------------------------
r8775 | ton | 2006-11-07 15:25:58 +0100 (Tue, 07 Nov 2006) | 17 lines

Patch #4980, by Joshua Leung (aligorith)

This enables finding data in the Outliner.
Usage: Fkey (partial strings), CTRL+Fkey (partial strings, case sensitive).
SHIFT+Fkey to repeat a search, this cycles around.

Extra changes:
- button popups to enter strings now starts activated.
- outliner either shows for Armature the Bones, or Posechannels or
  Editbones,  depending the mode. Was needed to make searches meaningful.

Although Joshua did very good work on the key functions, there were a couple
of issues in his code, and problems in Outliner code, that didn't make it
all work nicely. So, this is quite a revised patch. :)

Full review log can be found in the patch tracker.

------------------------------------------------------------------------
r8774 | jesterking | 2006-11-07 12:24:11 +0100 (Tue, 07 Nov 2006) | 2 lines

move SPACE_* (enum) and SPACEICONMAX to DNA_space_types (being the more logical place than DNA_screen_types). SPACEICONMAX gets its value now through this enum, so it is not anymore easy to forget to update it correctly :)

------------------------------------------------------------------------
r8773 | jesterking | 2006-11-07 12:10:37 +0100 (Tue, 07 Nov 2006) | 2 lines

create_verse_node was given wrong parameter (VSession), corrected to be VerseSession.

------------------------------------------------------------------------
r8772 | bjornmose | 2006-11-07 11:00:33 +0100 (Tue, 07 Nov 2006) | 2 lines

msvc6 still compiles nicely

------------------------------------------------------------------------
r8771 | jesterking | 2006-11-07 07:44:44 +0100 (Tue, 07 Nov 2006) | 2 lines

change include path to wintab headers to be searched from SConstruct (and then relatively)

------------------------------------------------------------------------
r8770 | artificer | 2006-11-07 06:32:39 +0100 (Tue, 07 Nov 2006) | 9 lines


Fix for bug #5176: Crash when using display mode "Draw Sharp"

This was a sculpt mode merge problem: the G_DRAWSHARP and G_SCULPTMODE flags
had the same value, so Blender thought it was in sculpt mode when "Draw Sharp"
was turned on, leading to segfaults.

I have moved the G_SCULPTMODE flag to an unused value.

------------------------------------------------------------------------
r8769 | briggs | 2006-11-07 01:34:48 +0100 (Tue, 07 Nov 2006) | 8 lines

->Commit of patch #5132: Separate by material

This patch adds a new option to the separate menu in editmode, 'By Material'.
It simply loops through all materials in the mesh selects the faces associated
with them and calls separate().

Thanks to Andrea Weikert for the patch!

------------------------------------------------------------------------
r8768 | blendix | 2006-11-07 01:10:37 +0100 (Tue, 07 Nov 2006) | 5 lines


Added two new blend modes to image painting brushes, erase alpha and
add alpha, for painting transparency in images. When using the eraser
tool of a tablet pen, the erase alpha blend mode is activated.

------------------------------------------------------------------------
r8767 | blendix | 2006-11-07 00:51:37 +0100 (Tue, 07 Nov 2006) | 5 lines


Added an option in the IK constraint to disable stretching, useful
in rigs with layered IK constraints. Also removed the tolerance
setting, this value wasn't used in the solver anymore.

------------------------------------------------------------------------
r8766 | ton | 2006-11-06 19:37:26 +0100 (Mon, 06 Nov 2006) | 4 lines

Patch #4743, Stephane Soppera

gamma.c plugin (sequencer) now supports float rects.

------------------------------------------------------------------------
r8765 | ton | 2006-11-06 19:20:56 +0100 (Mon, 06 Nov 2006) | 11 lines

Patch #4955, Joshua Leung (aligorith)

Four more selection options in Curve editing;
- select more/less (ctrl+numpadplus/minus)
- select first/last point

All nice in menus and toolbox even!

Patch note: had to fix bugs in using 'continue' inside of while() loops.
Turned all oldstyle while() in for() for going over lists.

------------------------------------------------------------------------
r8764 | sirdude | 2006-11-06 17:58:28 +0100 (Mon, 06 Nov 2006) | 6 lines



Fix for makefiles so it can find wintab headers in the libdir.

Kent

------------------------------------------------------------------------
r8763 | ton | 2006-11-06 16:42:38 +0100 (Mon, 06 Nov 2006) | 8 lines

Patch #4940, by Wybren van Keulen

The 2-point perspecitve Architecture Camera!
http://www.funnyfarm.tv/patch_lens_shift/patch_lens_shift.mov

Full log:
https://projects.blender.org/tracker/index.php?func=detail&aid=4940&group_id=9&atid=127

------------------------------------------------------------------------
r8762 | jesterking | 2006-11-06 09:21:53 +0100 (Mon, 06 Nov 2006) | 2 lines

* compiler command-line fix for scons/win32-mingw

------------------------------------------------------------------------
r8761 | nicholasbishop | 2006-11-06 02:08:26 +0100 (Mon, 06 Nov 2006) | 5 lines

Merged Google Summer of Code sculptmode/multires/retopo tools.

From the tracker:
https://projects.blender.org/tracker/index.php?func=detail&aid=5018&group_id=9&atid=127

------------------------------------------------------------------------
r8760 | elubie | 2006-11-05 22:55:28 +0100 (Sun, 05 Nov 2006) | 7 lines

Extended GHOST to support WinTab, in order to better support graphic tablets on Windows

Basic support for normal pressure sensitivity is implemented, adding other features like tilt etc. shouldn't be too difficult, now that basic support is there.
Tested with WACOM Volito on Windows XP using the pressure sensitivity with texture paint to change size of the brush .

Added additional include dir to scons, and MSVC 7 project files - other build systems might have to be updated.

------------------------------------------------------------------------
r8759 | n_t | 2006-11-05 22:51:27 +0100 (Sun, 05 Nov 2006) | 2 lines

- some more minor fixes, this time for MSVC

------------------------------------------------------------------------
r8758 | ton | 2006-11-05 21:09:19 +0100 (Sun, 05 Nov 2006) | 8 lines

Patch #4870, by Roland Hess

NLA window now follows visibility for scene layers, cleaning up complex
files quite some. Only note we could make is if this could be optional,
sometimes it's also nice to see the entire scene.

Note for Roland: this is a recoded version, with about 10% of code :)

------------------------------------------------------------------------
r8757 | n_t | 2006-11-05 20:44:00 +0100 (Sun, 05 Nov 2006) | 2 lines

- removed debug ouput for particle loading

------------------------------------------------------------------------
r8755 | briggs | 2006-11-05 19:48:31 +0100 (Sun, 05 Nov 2006) | 5 lines

-> Fix for Bug #5056

hide_mesh() in editmesh_mods.c wasn't checking for fgon edges properly, causing fgon faces
dissapear when hiding unrelated verts/edges. Fixed.

------------------------------------------------------------------------
r8754 | n_t | 2006-11-05 19:32:12 +0100 (Sun, 05 Nov 2006) | 2 lines

- last commit still didnt work...

------------------------------------------------------------------------
r8753 | n_t | 2006-11-05 19:11:04 +0100 (Sun, 05 Nov 2006) | 2 lines

- another solaris math function fix

------------------------------------------------------------------------
r8752 | n_t | 2006-11-05 18:28:23 +0100 (Sun, 05 Nov 2006) | 2 lines

- a minor fix for solaris (problems with round&pow)

------------------------------------------------------------------------
r8751 | n_t | 2006-11-05 17:30:29 +0100 (Sun, 05 Nov 2006) | 51 lines

- bugfixes
  #4742 exported normals are now correct
  #4821 & 4956 for complex movements in/outflows can now also
  use the animated mesh option
- new features
  * isosurface subdivision: directly
    creates a finer surface mesh from the simulation data.
    this increases simulation time and harddisk usage, though, so
    be careful - usually values of 2-4 should be enough.
  * fluidsim particles: extended model for particle
    simulation and generation. When isosurface subdivision is enabled,
    the particles are now included in the surface generation,
    giving a better impression of a single connected surface.
    Note - the particles are only included in the final surface
    mesh, so the preview surface shows none of the particle
    effects.
  * particle loading: different types of particles can now be selected for
    display: drops, floats and tracers. This is a bit obsolete
    due to the extensions mentioned above, but might still be useful.
    Floats are just particles floating on the fluid surface, could
    be used for e.g. foam.
  * moving objects impact factor: this is another tweaking option,
    as the handling of moving objects is still not conserving
    mass. setting this to zero simply deletes the fluid, 1 is
    the default, while larger values cause a stronger
    impact. For tweaking the simulation: if fluid disappears, try
    increasing this value, and if too much is appearing reduce it.
    You can even use negative values for some strange results :)
- more code cleanup, e.g. removed config file writing in fluidsim.c,
  added additional safety checks for particles & fluidsim domains (these
  currently dont work together). I also removed the "build particles"
  debug message in effects.c (seemed to be unnecessary?).

Some more info on the new features:
Here are two test animations showing the difference between
using the particle generation with isosurface subdivision.
This is how it would look with the old solver version:
http://www10.informatik.uni-erlangen.de/~sinithue/blender/fluid6_fl6manc4_1noparts.mpg
and this with the new one:
http://www10.informatik.uni-erlangen.de/~sinithue/blender/fluid6_fl6manc4_2wparts.mpg
Both simulations use a resolution of 64, however, the version with particles
takes significantly longer (almost twice as long).
The .blend file for a similar setup can be found here:
http://www10.informatik.uni-erlangen.de/~sinithue/blender/fluid6_testmanc4.blend
(Minor Tips for this file: dont enable subdivions of characters until rendering,
thus leave off for simulation, as it uses the rendering settings! For making
nice pictures switch on subdivion, and OSA.)

And here's a picture of old vs. new (for webpage or so):
http://www10.informatik.uni-erlangen.de/~sinithue/blender/fluid6_manc4compare.png

------------------------------------------------------------------------
r8750 | ton | 2006-11-05 13:32:00 +0100 (Sun, 05 Nov 2006) | 5 lines

Patch 4122, Campbell's multi-collum 'clever numbuts'.

For time being ok, but note that this isn't as clever a system as the name
implies, really should be avoided!

------------------------------------------------------------------------
r8749 | bjornmose | 2006-11-04 16:53:47 +0100 (Sat, 04 Nov 2006) | 2 lines

stupid typo spoiling adaptive step sizes in heun solver

------------------------------------------------------------------------
r8748 | ton | 2006-11-04 15:22:58 +0100 (Sat, 04 Nov 2006) | 5 lines

Bugfx #5033

Displace Modifier cannot displace Curve objects. Disabled it for menus,
and made sure it doesn't get curve objects fed.

------------------------------------------------------------------------
r8747 | ton | 2006-11-04 14:47:11 +0100 (Sat, 04 Nov 2006) | 10 lines

Bugfix #4540

Boolean crashed when using vertexcolors or UVs. The fix is disputable... it
just always returns a valid char * for "face vertex material", whatever
that may be... this fix seems not to break anything.

Also moved the report to Todo tracker, with message:

-> Need new Boolean maintainer!

------------------------------------------------------------------------
r8746 | ton | 2006-11-04 13:36:37 +0100 (Sat, 04 Nov 2006) | 5 lines

Bugfix #5159

SHIFT+K clear vertexpaint didn't work for faceselect+paint mode. Calls
to depsgraph were confused, now nicely centralized.

------------------------------------------------------------------------
r8745 | ton | 2006-11-04 13:26:35 +0100 (Sat, 04 Nov 2006) | 5 lines

Bugfix #5154

Mesh->mselect (the selection storage) didn't get zero'ed on duplicate,
potentially causing crashes. Bad!

------------------------------------------------------------------------
r8744 | ton | 2006-11-04 12:59:37 +0100 (Sat, 04 Nov 2006) | 6 lines

Bugfix #5153

VertexPaint mode didn't show interpolated (smooth) colors in faces.
Error caused by Modifier & DerivedMesh commit of august 22. Rules for
drawing smooth changed a bit...

------------------------------------------------------------------------
r8743 | ton | 2006-11-04 12:22:22 +0100 (Sat, 04 Nov 2006) | 11 lines

Bugfix #5146

Copy modifiers menu should be available for Lattice and Surface objects.

Note it does not support copying between different object types, that
is being indicated with a notice popup now.

I rather not code copying to other object types for now, this is something
which fits better in the modifiers API first. Right now the buttons code
handles this.

------------------------------------------------------------------------
r8742 | ton | 2006-11-04 11:09:05 +0100 (Sat, 04 Nov 2006) | 11 lines

Bugfix #5144

Nkey panel for creases median didn't work properly. Now it does as follows:
- if set to 0 or 1 it applies that value to all creases
- else it adds the diffference of median crease value and the button value

Bugfix #5122

Paths drawing option for Poses now uses entire startframe-endframe range.
Before it skipped the last frame for drawing.

------------------------------------------------------------------------
r8741 | campbellbarton | 2006-11-03 21:04:56 +0100 (Fri, 03 Nov 2006) | 13 lines

added Jiri as a contributer to the obj importer

Added a new script - 'Dump All Images to Path'

This script copies all the images used by 1 blend to a spesified path and references the new images from Blender
Usefull for moving projects between computers or when you reference many images. naming collisions and multiple images using the same image path are delt with properly only creating new image names when needed.

Blender images will reference the newly copied files - So be mindfull when you save your blend after running the script.

Notes, images with the path "Untitled will be ignored"

Image path collisions are managed by enumerating the path names so images will never be overwritten at the target path.

------------------------------------------------------------------------
r8740 | ton | 2006-11-03 17:37:27 +0100 (Fri, 03 Nov 2006) | 5 lines

Bugfix #5100

The camera view shift didn't allow to view the entire image when zoomed in.
Added a correction for zoomfactor.

------------------------------------------------------------------------
r8739 | ton | 2006-11-03 16:55:43 +0100 (Fri, 03 Nov 2006) | 8 lines

Bugfix #5083

Deleting all points in a Curve object created empty DispList blocks. The
drawing code didn't like that.
Secured it by both fixing drawing as skipping adding empty DispLists.

Special thanks to Fernando Bastos for the extensive stack tracing.

------------------------------------------------------------------------
r8738 | ton | 2006-11-03 15:23:19 +0100 (Fri, 03 Nov 2006) | 5 lines

Bugfix #5085

An Ipo optimize commit of 2 months ago broke the Ipo "Linear" type for
extending.

------------------------------------------------------------------------
r8737 | ton | 2006-11-03 14:23:40 +0100 (Fri, 03 Nov 2006) | 4 lines

Bugfix #5068

Added redraw event to button that choses FFMPG codec type.

------------------------------------------------------------------------
r8736 | ton | 2006-11-03 14:12:05 +0100 (Fri, 03 Nov 2006) | 6 lines

Bugfix #5057

Added undo push after "create UV grid image".
Note that it won't help much, since the Imbuf is freed on undo... that's
for another project, to have a fixed Image cache to use in Blender.

------------------------------------------------------------------------
r8735 | ton | 2006-11-03 13:46:48 +0100 (Fri, 03 Nov 2006) | 7 lines

Bugfix #5008

With the addition of vertexgroup support for Lattices, the option
'create vertex groups from closest bone' crashed due to reading NULL.

Fix provided & tested by Joshua.

------------------------------------------------------------------------
r8734 | ton | 2006-11-03 13:38:21 +0100 (Fri, 03 Nov 2006) | 7 lines

Bugfix #5053

Dupli-group doesn't work yet for metaballs. Code entered an eternal loop,
because the group-duplication code calls again the metaball creation code.

Disabled this. MakeDisplist needs review!

------------------------------------------------------------------------
r8733 | ton | 2006-11-03 13:23:04 +0100 (Fri, 03 Nov 2006) | 8 lines

Bugfix #5027

- Removing Shape Keys didn't free drivers
- The sample file had Shapekeys in a weird order (should be sorted on shape
  index number). How this could have happened is unknown, probably a script.
  For the time being added a version patch to check on this after reading
  a file. If wrong ordered, it gives warning prints.

------------------------------------------------------------------------
r8732 | ton | 2006-11-03 11:14:27 +0100 (Fri, 03 Nov 2006) | 8 lines

Bugfix, plumiferos report;

Using the Library Append "at cursor" option went wrong;
- it moved all selected objects to cursor position
- it didn't even check what was imported...

Both issues are fixed now.

------------------------------------------------------------------------
r8731 | jesterking | 2006-11-03 11:09:35 +0100 (Fri, 03 Nov 2006) | 4 lines

* shortened formatstring to cope with removal of R_IRIZ (would crash on Windows machines, but Linux didn't complain at all, tsk tsk) - this may fix odd crashes for
 those that try to open up .blends with scene buttons visible
* added a define around yafray panel

------------------------------------------------------------------------
r8730 | ton | 2006-11-03 09:40:18 +0100 (Fri, 03 Nov 2006) | 5 lines

Fix for new Action Modifier: when a Action strip exactly ends where another
strip begins, the deformation was applied twice.

Strip blending for modifiers has to be implemented still...

------------------------------------------------------------------------
r8729 | jesterking | 2006-11-03 09:13:01 +0100 (Fri, 03 Nov 2006) | 2 lines

* control the creation of .bsc files when BF_DEBUG=1 on win32-vc. BF_BSC=1 (default for BF_DEBUG=1) will have .bsc generated, but this takes an awful long time, so BF_BSC=0 will skip that step.

------------------------------------------------------------------------
r8728 | jesterking | 2006-11-03 07:42:08 +0100 (Fri, 03 Nov 2006) | 2 lines

whitespace commit

------------------------------------------------------------------------
r8727 | jesterking | 2006-11-03 07:39:58 +0100 (Fri, 03 Nov 2006) | 6 lines

fix bug #5133
* when an object had wire draw in Draw Extra enabled and
  it was selected and set as a scene, it would draw
  as selected. Changed so it draws the wires in a grey
  shade, to communicate it is not in the active scene

------------------------------------------------------------------------
r8726 | campbellbarton | 2006-11-03 00:05:10 +0100 (Fri, 03 Nov 2006) | 2 lines

ack- need to get the hang of usercounts better- it seems they need to be initialized as 1 for groups, just like images.

------------------------------------------------------------------------
r8725 | campbellbarton | 2006-11-02 18:42:30 +0100 (Thu, 02 Nov 2006) | 2 lines

added batch import back in - Hold shift as you click import

------------------------------------------------------------------------
r8724 | ton | 2006-11-02 11:39:00 +0100 (Thu, 02 Nov 2006) | 6 lines

Bugfix #5017

Deleting Shape keys could give a crash, if no Ipo was assigned to the
Shapes.
Fix located & provided by Joilnen, thanks!

------------------------------------------------------------------------
r8723 | ton | 2006-11-02 11:30:35 +0100 (Thu, 02 Nov 2006) | 5 lines

Bugfix #5147

Compositor: added a fixed (frame # based) seed in random, to ensure the
Texture node will give different results per frame.

------------------------------------------------------------------------
r8722 | ton | 2006-11-02 11:13:01 +0100 (Thu, 02 Nov 2006) | 12 lines

Bugfix #5022

If you rename a Constraint, the used Constraint Channels (Ipo curves) were
not renamed as well, making animations not work anymore.

Now renaming works up to this level:
- own object constraints
- own object Action constraints

This is identical to Bone renaming. Note that other actions (like in NLA)
are not corrected for renaming. Have to look at ways to provide that once.

------------------------------------------------------------------------
r8721 | jesterking | 2006-11-02 06:17:46 +0100 (Thu, 02 Nov 2006) | 2 lines

* add freebsd3 to X list

------------------------------------------------------------------------
r8720 | campbellbarton | 2006-11-02 01:13:38 +0100 (Thu, 02 Nov 2006) | 3 lines


attempt to make zero area faces result in NAN or INF loc verts happen less.

------------------------------------------------------------------------
r8719 | ton | 2006-11-01 21:41:39 +0100 (Wed, 01 Nov 2006) | 8 lines


Removed a initialize check for NodeTrees.
Apparently being so scroogish for cpu cycles makes crashes in Linux. I'll
add it on todo for later checks, but I need a windows or linux coder for
it!

For users: it might fix crashes when you have NodeTrees in Libraries.

------------------------------------------------------------------------
r8718 | pidhash | 2006-11-01 17:10:47 +0100 (Wed, 01 Nov 2006) | 3 lines

Updatting vertices number info after remove doubles
.

------------------------------------------------------------------------
r8717 | ton | 2006-11-01 16:33:45 +0100 (Wed, 01 Nov 2006) | 5 lines

Patch #4848, Joshua Leung

NLA Strip "Mute" option, to temporally disable a strip. Option only in
Properties panel still, should be in menus and hotkey.

------------------------------------------------------------------------
r8716 | ton | 2006-11-01 15:29:06 +0100 (Wed, 01 Nov 2006) | 3 lines

Plumiferos request: Added button in Armature options panel to set custom
bone drawing on/off. Is default on.

------------------------------------------------------------------------
r8715 | ton | 2006-11-01 14:50:41 +0100 (Wed, 01 Nov 2006) | 4 lines

Patch #5099 by Joshua Leung (aligorith)

This allows to select parent bones in PoseMode and EditMode. Hotkey: P.

------------------------------------------------------------------------
r8714 | ton | 2006-11-01 13:54:29 +0100 (Wed, 01 Nov 2006) | 5 lines

Bugfix #5155

Option "Add UV image" didn't set tilesXY to 1. Caused crash or bad opengl
behaviour when tiles option used.

------------------------------------------------------------------------
r8713 | ton | 2006-11-01 13:44:04 +0100 (Wed, 01 Nov 2006) | 10 lines

Bugfix #5030

- Removed obsolete IRIZ image support from menus.
  This was a Blender-only version of SGI Iris images, used internally in
  the nineties because it was the only format supporting Z easily
  A much better Z exporting - and industry compliant - is via OpenEXR

- Scene strips in Sequencer now get Z buffers as well. This is only in
  float format, containing actual distances from the camera.

------------------------------------------------------------------------
r8712 | ton | 2006-11-01 12:54:46 +0100 (Wed, 01 Nov 2006) | 2 lines

Oops! A debug return in code disabled many constraints to work even :)

------------------------------------------------------------------------
r8711 | ton | 2006-11-01 12:41:29 +0100 (Wed, 01 Nov 2006) | 3 lines

- Improved cyclic error prints for Armatures
- Improved bone parent error print

------------------------------------------------------------------------
r8710 | ton | 2006-11-01 12:26:16 +0100 (Wed, 01 Nov 2006) | 12 lines

Bugfix #5038

The "Copy Size" constraint was calling a where_is_object(), this caused
the depsgraph to mess up in very weird ways and rare occasions. In the
sample file it showed strange lags in bones for using the "Stride bone"
option.

While trying to locate the bug I've revisited the Pose depsgraph in detail,
trying to figure out how it can print possible cycle errors in dependency.
That has been added now too (in console). Unfortunately the bugreport
example had no cycle errors. :)

------------------------------------------------------------------------
r8709 | jesterking | 2006-11-01 06:43:05 +0100 (Wed, 01 Nov 2006) | 2 lines

* have blenderplayer compile with Verse support enabled.

------------------------------------------------------------------------
r8708 | ton | 2006-10-31 21:48:10 +0100 (Tue, 31 Oct 2006) | 6 lines

Bugfix #5037

Clear transform (ALT+G/R/S) in Pose sometimes didnt work, for example when
armature is being controlled by other armature. Caused by double depsgraph
flushing.

------------------------------------------------------------------------
r8707 | ton | 2006-10-31 19:24:27 +0100 (Tue, 31 Oct 2006) | 3 lines

Small fix in calculating correct cycle offset for cycling ActionStrips.
This float precision is usually headaches :)

------------------------------------------------------------------------
r8706 | erwin | 2006-10-31 19:19:57 +0100 (Tue, 31 Oct 2006) | 2 lines

update Bullet 2.x with latest changes, notice that the integration is not finished yet, and GameBlender is still using extern/bullet.

------------------------------------------------------------------------
r8705 | ton | 2006-10-31 16:51:57 +0100 (Tue, 31 Oct 2006) | 86 lines

Two wonderful new NLA & Armature editing features!

- FORWARD CYCLING & MATCHING

Up to no now, adding multiple actions in NLA with walkcycles required to
animate them standing still, as if walking on a conveyor belt. The stride
option then makes the object itself move forward, trying to keep the foot
stuck on the floor (with poor results!).
This option now allows to make walk cycles moving forward. By
indicating a reference Offset Bone, the NLA system will use that bone to
detect the correct offset for the Armature Pose to make it seamlessly going
forward.

Best of all, this option works as for cyclic Action Strips as well as for
individual Action Strips. Note that for individual strips, you have to set
the strip on "Hold". (Might become automatic detected later).

Here's an example edit image for NLA:
http://www.blender.org/bf/nla_match-cycle.jpg
And the animation for it:
http://download.blender.org/demo/test/2.43/0001_0150_match.avi
Blender file:
http://download.blender.org/demo/test/2.43/mancandy_matching.blend

Using this kind of cycling works pretty straightforward, and is a lot
easier to setup than Stride Bones.

To be further tested:
- Blending cycles
- matching rotation for the bones as well.

- ACTION MODIFIERS (motion deformors)

The above option was actually required for this feature. Typically walk
cycles are constructed with certain Bones to be the handles, controlling
for example the torso or feet.
An Action Modifier allows you to use a Curve Path to deform the motion of
these controlling bones. This uses the existing Curve Deformation option.
Modifiers can be added per Action Strip, each controlling a channel (bone)
by choice, and even allows to layer multiple modifiers on top of each other
(several paths deforming motion). This option is using the dependency graph,
so editing the Curve will give realtime changes in the Armature.

The previous walkcycle, controlled by two curves:
http://download.blender.org/demo/test/2.43/0001_0150_deform.avi
Blender file:
http://download.blender.org/demo/test/2.43/mancandy_actiondeform.blend

Action Modifiers can be added in the NLA Properties Panel. Per Modifier you
have to indicate the channel and a Curve Object. You can copy modifiers from
one strip to another using CTRL+C (only copies to active Object strips).

Setting up a correct Curve Path has to be carefully done:
- Use SHIFT+A "Curve Path" in top view, or ensure the path is not rotated.
- make sure the center point of the Curve Object is at the center of the
  Armature (or above)
- move the first point of the curve to the center point as well.
- check if the path starts from this first point, you can change it using
  (in Curve EditMode) the option Wkey -> "Switch Direction"
- Make sure alignment uses the correct axis; if the Armature walks into
  the negative Y direction, you have to set in Object Buttons, "Anim settings"
  Panel, the correct Track option. (Note; option will probably move to the
  Modifier later).

This is a good reason to make such paths automatic (on a command). Is on the
todo list.

Also note this:
- the Curve Path extends in beginning and ending, that's (for now) the default,
  and allows to use multiple paths. Make sure paths begin and end horizontal.
- Moving the Curve in Object Mode will change the "mapping" (as if the landscape
  a character walks over moves). Moving the Curve in Edit Mode will change the
  actual position of the deformation.
- Speed (Ipos) on paths is not supported yet, will be done.
- The Curve "Stretch" deform option doesn't work.
- Modifiers are executed *after* all actions in NLA are evaluated, there's no
  support yet for blending multiple strips with Modifiers.
- This doesn't work yet for time-mapping...

This commit is mostly for review by character animators... some details or
working methods might change.
This feature can also be used for other modifiers, such as noise (Perlin) or
the mythical "Oomph" (frequency control) and of course Python.

Special thanks to Bassam & Matt for research & design help. Have fun!

------------------------------------------------------------------------
r8704 | bjornmose | 2006-10-30 23:47:41 +0100 (Mon, 30 Oct 2006) | 4 lines

softbody update -> self collision search takes 1/3 of the time here
this one should work nice -->
http://www.wund.homepage.t-online.de/hidden/sb_col_must_3_0.blend

------------------------------------------------------------------------
r8703 | schlaile | 2006-10-30 23:28:06 +0100 (Mon, 30 Oct 2006) | 7 lines

== Sequencer ==

Bugfixes: Fixed partially bug #5030
Added patch: #4992 Basic Transforms
 This adds basic transform capabilities (rotate, scale, shift) to the
 sequencer.

------------------------------------------------------------------------
r8702 | campbellbarton | 2006-10-30 17:01:38 +0100 (Mon, 30 Oct 2006) | 2 lines

check for devide by zero error

------------------------------------------------------------------------
r8701 | jiri | 2006-10-30 15:59:30 +0100 (Mon, 30 Oct 2006) | 5 lines



 - bug fix #5141, blender doesn't crash, when you try to unsubscribe twice
   from verse node in outliner

------------------------------------------------------------------------
r8700 | jiri | 2006-10-30 13:24:22 +0100 (Mon, 30 Oct 2006) | 6 lines



 - bug fix: brecht's fixing of warning caused one bug, ... one "break;"
   was missing in code ... blender crashed, when it was connected to
   verse server with bitmap node

------------------------------------------------------------------------
r8699 | bjornmose | 2006-10-30 09:39:38 +0100 (Mon, 30 Oct 2006) | 2 lines

msvc6  adding transform_snap to project

------------------------------------------------------------------------
r8698 | campbellbarton | 2006-10-29 20:56:52 +0100 (Sun, 29 Oct 2006) | 2 lines

An arg was left in that should have been removed, raised an error for reflect MTL files.

------------------------------------------------------------------------
r8697 | letterrip | 2006-10-29 17:51:50 +0100 (Sun, 29 Oct 2006) | 4 lines

=rename append=

renamed the file menu item append  to append/link for clarity, thanks to Juho Vepsäläinen (bebraw)

------------------------------------------------------------------------
r8696 | letterrip | 2006-10-29 17:33:46 +0100 (Sun, 29 Oct 2006) | 4 lines

=oops=

previous commit included part of sculpt patch doh!

------------------------------------------------------------------------
r8695 | letterrip | 2006-10-29 17:31:36 +0100 (Sun, 29 Oct 2006) | 4 lines

=render window zoom with mousewheel and pgup pgdwn=

adds additional shortcuts to zoom on the render window, patch by Onur Yalazi (onuryalazi)

------------------------------------------------------------------------
r8694 | broken | 2006-10-28 18:48:56 +0200 (Sat, 28 Oct 2006) | 9 lines

* Changed the Curve Modifier to have it's own X/Y/Z axis deform direction
 settings, rather than using the object's TrackX/Y/Z/etc buttons.

 This is good for two reasons: a) having the settings over in the object buttons
 before was terribly unintuitive and hidden, now it's more visible how to
 control the deformation, and b) now if you have more than one curve modifier,
 they can have their own settings, instead of being forced to use the object
 level data.

------------------------------------------------------------------------
r8693 | broken | 2006-10-28 15:21:02 +0200 (Sat, 28 Oct 2006) | 3 lines

* Simple patch 5058 from gsrb3d to use constants instead of magic numbers for
  theme drawtypes

------------------------------------------------------------------------
r8692 | ton | 2006-10-27 22:27:13 +0200 (Fri, 27 Oct 2006) | 8 lines

New Curves Widget option: curves can get extrapolated extension.
Especially for Compositing it was annoying that colors always got clipped
in the 0.0-1.0 range. For this reason, extrapolated Curves now is the
default. Old saved files still have horizontal extrapolation.

Set the option with 'Tools' menu (wrench icon). This is a setting per
curve, so you might need to set all 4 curves for an RGBA curves widget.

------------------------------------------------------------------------
r8691 | ton | 2006-10-27 21:52:41 +0200 (Fri, 27 Oct 2006) | 8 lines

Serious bugfix for compositing; using Groups could crash if one of the
input nodes was 'passing on' the buffer (because it didn't operate on the
image). That's for example for Blur with size 0 or for Translate node.
This passed-on buffer then got freed inside the group...

Solution now is just a malloc. Better system should be devised, with
reference counting or so. Thanks Ivan Hoffmann for the sample file!

------------------------------------------------------------------------
r8690 | sirdude | 2006-10-27 20:24:10 +0200 (Fri, 27 Oct 2006) | 8 lines



more bugs found thanks to klockwork
all of these are just check a var to make sure it points to something before
using them.

Kent

------------------------------------------------------------------------
r8689 | blendix | 2006-10-27 19:05:22 +0200 (Fri, 27 Oct 2006) | 5 lines


Fix for bug #5128:
Missing texture preview update for MinX/MaxX/MinY/MaxY settings
of an image texture.

------------------------------------------------------------------------
r8688 | sirdude | 2006-10-27 17:00:31 +0200 (Fri, 27 Oct 2006) | 8 lines



More bugs found thanks to klockwork
mallocn.c  check malloced memory before using it.
ssp_blas2.c free memory that wasn't but should have been.

Kent

------------------------------------------------------------------------
r8687 | jesterking | 2006-10-27 11:01:42 +0200 (Fri, 27 Oct 2006) | 9 lines

Apply patch #5127 by Joseph Eagar (joeedh)

* This addresses the long command-line problem when building with SCons/MingW on windows through a dosbox (cmd.exe).

My test buildpath was: C:\Documents and Settings\nathan\My Documents\blender\build\win32-mingw
Should be rather long enough, don't you think?

/Nathan

------------------------------------------------------------------------
r8686 | jesterking | 2006-10-27 10:12:18 +0200 (Fri, 27 Oct 2006) | 3 lines

fix for #5135
* potentially a NULL-pointer could be referenced, causing a segfault.

------------------------------------------------------------------------
r8685 | blendix | 2006-10-27 02:43:18 +0200 (Fri, 27 Oct 2006) | 9 lines


UV editor:

- When in 2D image paint mode or mesh editmode, draw a shadow mesh
  to more clearly indicate the UV's are not editable.
- While in editmode the UV's displayed are now updated as the mesh is
  edited, whereas before it would draw the UV's of the mesh before
  entering editmode.

------------------------------------------------------------------------
r8684 | blendix | 2006-10-27 01:42:04 +0200 (Fri, 27 Oct 2006) | 3 lines


Bugfix: alpha values written in image paint were wrong.

------------------------------------------------------------------------
r8683 | blendix | 2006-10-27 01:34:44 +0200 (Fri, 27 Oct 2006) | 5 lines


Fixed all gcc 4 warnings in blenkernel. Found 2 potentially harmful
unintialized variables in the verse code, verse_session.c:451 and
verse_object_node.c:339, those are properly initialized now.

------------------------------------------------------------------------
r8682 | blendix | 2006-10-27 00:36:29 +0200 (Fri, 27 Oct 2006) | 3 lines


Add a stub to make blenderplayer compile with verse enabled.

------------------------------------------------------------------------
r8681 | sirdude | 2006-10-26 20:58:07 +0200 (Thu, 26 Oct 2006) | 9 lines



more bugs found thanks to klockwork

I basically added some checks to see if we have a buffer before trying to
actually use them.

Kent

------------------------------------------------------------------------
r8680 | elubie | 2006-10-26 19:39:06 +0200 (Thu, 26 Oct 2006) | 3 lines

==== MSVC 7 project files ====
- added transform_snap.c

------------------------------------------------------------------------
r8679 | ton | 2006-10-26 12:13:16 +0200 (Thu, 26 Oct 2006) | 14 lines

Coding work while on the trip to london (based on Plumiferos wishlist);

- Icon previews for Images were created always for old files, which made
  browsing (menus) incredible slow. Added a minor change in the flow, so
  icons only get created when the user invokes loading images.
  Andrea; you might check this, probably not al cases are covered yet?

- Compositor: the 'File Output' node now has a min/max frame for which it
  writes files

- Compositor: fixed a very bad bug (even in 2.42a release) that made the
  depsgraph for nodes not work... while editing, only the nodes that change
  should be recalculated, but accidentally all of them were done each time.

------------------------------------------------------------------------
r8678 | theeth | 2006-10-26 01:57:00 +0200 (Thu, 26 Oct 2006) | 13 lines

== Transform ==

Embryon functionnality for snapping.

- Only snaps to grid on translations (grab)
- Transform constraints are supported but header display is wrong.
- Can be turned on/off in the Object/Mesh header menu under Transform Properties (tentative spot, will have to integrate better and in other object type menus too)
- Can be turned on/off during transform with ` (Back Quote, also tentative)

This is, of course, very much Work in Progress.

This implements part of the structural ideas for the transform cleanup I've been juggling around with.

------------------------------------------------------------------------
r8677 | theeth | 2006-10-26 01:34:24 +0200 (Thu, 26 Oct 2006) | 14 lines

== 3D View ==

Customizable Grid Subdivisions

This commit adds a numbut to the View Properties panel that lets you specify how the grid is subdivided.

This affects snapping in translations, obviously.

Default: 10 (behavior doesn't change)

That means people still stuck in feet and inches (shudders) can set it to 12 and have 1 unit = 1 foot.

That also means you can work in "heads" when doing body proportions or whatnot (don't think of it as being limite to "CAD" uses).

------------------------------------------------------------------------
r8676 | theeth | 2006-10-26 01:19:40 +0200 (Thu, 26 Oct 2006) | 4 lines

Cleanup.

Missing include for ListBase. Wasn't a problem until someone try to include this without including ListBase (manually or through something else). Safe now.

------------------------------------------------------------------------
r8675 | theeth | 2006-10-26 01:15:09 +0200 (Thu, 26 Oct 2006) | 6 lines

LocEulSizeToMat4 arith function.

Creates a 4x4 matrix from location, size and euler angles components.

Coded by Joshua Leung (aligorith) for one of his patches. Integrating right now because it's useful in and of itself.

------------------------------------------------------------------------
r8674 | sirdude | 2006-10-25 21:47:21 +0200 (Wed, 25 Oct 2006) | 7 lines



Another klockwork patch.
Check to make sure BOP_newEmptyMesh returns a mesh before trying to use it.

Kent

------------------------------------------------------------------------
r8673 | campbellbarton | 2006-10-25 15:33:08 +0200 (Wed, 25 Oct 2006) | 2 lines

was missing a return of len, so scn.objects.context was always returning 0

------------------------------------------------------------------------
r8672 | campbellbarton | 2006-10-25 03:32:46 +0200 (Wed, 25 Oct 2006) | 2 lines

added the option to rename objects to their DupGroups name.

------------------------------------------------------------------------
r8671 | sirdude | 2006-10-24 18:42:12 +0200 (Tue, 24 Oct 2006) | 8 lines



Another bug found by klockwork.com
This one is just a simple test to make sure a malloc works before using
the variable allocated.

Kent

------------------------------------------------------------------------
r8670 | sirdude | 2006-10-24 17:17:39 +0200 (Tue, 24 Oct 2006) | 13 lines



This patch is the first of many to follow that deals with various
problems reported by klockwork.com who was very nice and has offered to
provide free source code analisys for us.

This one deals with freeing memory for an object when there is an
error.  (The function allocated memory intending to return it but
then ran into problems, and was forgetting to free it before it returned
NULL)

Kent

------------------------------------------------------------------------
r8669 | ton | 2006-10-24 17:17:14 +0200 (Tue, 24 Oct 2006) | 7 lines

Irregular shadow fix: the MemArena module didn't give callocs, only malloc.
Made nice crashes that way... but not in !@%@$ OSX because it seems to
clear memory unwanted. Solve dit with adding API call in MemArena to default
to callocs.

Also removed malloc() from MemArena, replaced with MEM_mallocN().

------------------------------------------------------------------------
r8668 | ton | 2006-10-24 16:14:20 +0200 (Tue, 24 Oct 2006) | 6 lines

Bug provided by Plumiferos team on conference:

In some cases faces were skipped from rendering, when using multiple
RenderLayers. Was caused by a "don't render" flag hanging. Error was
introduced with the "All Z" RenderLayer option.

------------------------------------------------------------------------
r8667 | h_xnan | 2006-10-24 15:34:15 +0200 (Tue, 24 Oct 2006) | 3 lines

- add -lXi to prevent "undefined reference to `XGetExtensionVersion'..."
- remove obsoleted<=4.0 freebsd compatibility

------------------------------------------------------------------------
r8666 | ton | 2006-10-23 18:15:23 +0200 (Mon, 23 Oct 2006) | 5 lines

Bugfix: commit of Campbell june 20, for fly mode, didn't check for the
G.vd->camera pointer. If not set, a view change can crash.

Reported & shown by Ivan!

------------------------------------------------------------------------
r8665 | erwin | 2006-10-23 04:54:30 +0200 (Mon, 23 Oct 2006) | 4 lines

Added refactored Bullet 2.x library. Important: these files are not part of the Blender build yet. First, the integration will be updated to make use of the new Bullet version. Then all build systems needs to be updated.
The refactoring didn't leave a single file the same, all filenames and classes have bt prefix, methodnames start with lowercase, a single headerfile can be included, and also a single include path.
Plan is to make use of this Bullet 2.x version in extern/bullet2 within the coming weeks, then extern/bullet can be discarded/ignored/content removed.

------------------------------------------------------------------------
r8664 | campbellbarton | 2006-10-22 14:50:12 +0200 (Sun, 22 Oct 2006) | 2 lines

oops, typo

------------------------------------------------------------------------
r8663 | campbellbarton | 2006-10-22 14:46:54 +0200 (Sun, 22 Oct 2006) | 3 lines

I was impossible to set a render window back to being a non render window without changing the TexFace image.
now the cross will unset the render window and use the texface if its there, cross again removes the image as useual.

------------------------------------------------------------------------
r8662 | campbellbarton | 2006-10-22 04:43:04 +0200 (Sun, 22 Oct 2006) | 2 lines

made mesh getFromObject also copy the meshes flag

------------------------------------------------------------------------
r8661 | campbellbarton | 2006-10-21 21:38:42 +0200 (Sat, 21 Oct 2006) | 2 lines

added the option to poly reduce all visible selected objects

------------------------------------------------------------------------
r8660 | bjornmose | 2006-10-21 01:02:47 +0200 (Sat, 21 Oct 2006) | 5 lines

bug fix
in softbody aerodynamics
(should zero a vector which is only added to in function call)
thanks michael

------------------------------------------------------------------------
r8659 | jiri | 2006-10-20 12:24:14 +0200 (Fri, 20 Oct 2006) | 5 lines



 - bug fix: get rid of "verse client name len: 16 ..." memory of client
   name have to be deallocated after calling verse_client_name() function

------------------------------------------------------------------------
r8658 | campbellbarton | 2006-10-20 02:17:34 +0200 (Fri, 20 Oct 2006) | 2 lines

removed this script since Briggs ported it to C

------------------------------------------------------------------------
r8657 | campbellbarton | 2006-10-20 01:21:54 +0200 (Fri, 20 Oct 2006) | 3 lines

added TwoSide to texface specials menu
added a menu for texface copy - Ctrl+C in Face Mode

------------------------------------------------------------------------
r8656 | bjornmose | 2006-10-20 00:01:06 +0200 (Fri, 20 Oct 2006) | 29 lines

more softbody goodies:
SB collision targets may be picked up from modifier stack
works fine with static targets having subsurf and/or array mofifiers
see-->
http://www.wund.homepage.t-online.de/hidden/Mstack.blend
http://www.wund.homepage.t-online.de/hidden/Mstack_II.blend

however when calulating the SB object dynamics the vertices of the
'deform only' m-stack result are used

so SB <-> SB may look strange
subsuf modifier is applied to SB object after doing SB dynamics
(that is: colliding mesh is subsurfed, SB is not )
subsurfed SB cubes colliding
link --> http://www.wund.homepage.t-online.de/hidden/ColSelfMod.blend

or may give unwanted results
subsuf and array modifier is applied to SB object after doing SB dynamics
link --> http://www.wund.homepage.t-online.de/hidden/ColSelfMod_nobug.blend

last, modifiers that change vertex locations in time (like waves)
suffer from not beeing seen at needed time resolution
(SBs see colliders static in a frame)
well but that's beyond the limits of the current dep-graph use
and needs to be resolved on design level

anyhoo have fun
BM

------------------------------------------------------------------------
r8655 | campbellbarton | 2006-10-19 23:56:11 +0200 (Thu, 19 Oct 2006) | 2 lines

Fix from Bob Holcomb, some materials could be floating point value, I have only had this from Cararra generated 3ds files.

------------------------------------------------------------------------
r8654 | jesterking | 2006-10-19 14:35:39 +0200 (Thu, 19 Oct 2006) | 4 lines

==SCons==

* Source Browser support. When BF_DEBUG=1 .bsc-files will be created in BF_BUILDDIR. .pdb-files are in the root source dir

------------------------------------------------------------------------
r8653 | jesterking | 2006-10-19 07:06:41 +0200 (Thu, 19 Oct 2006) | 2 lines

* Verse username for blender avatar can be set in userprefs (System&OpenGL). The name defaults to the old form.

------------------------------------------------------------------------
r8652 | briggs | 2006-10-18 08:37:27 +0200 (Wed, 18 Oct 2006) | 5 lines

-> Triangle to Quad bugfix redux

Last commit uncommented something that I shouldn't have and resulted in
conversion giving really poor results...

------------------------------------------------------------------------
r8651 | briggs | 2006-10-18 08:06:15 +0200 (Wed, 18 Oct 2006) | 5 lines

-> Triangle to Quad bugfix

Last minute bugfixing for last commit introduced a brand new bug causing
Crashes, whoops! Fixed now.

------------------------------------------------------------------------
r8650 | jesterking | 2006-10-18 07:45:47 +0200 (Wed, 18 Oct 2006) | 10 lines

Patch 5105 by Joshua Leung (Aligorith), slightly modified by me

* Add WITH_BF_YAFRAY, which per default is 'true', so no visible changes for developers (and users).

Set WITH_BF_YAFRAY to 'false', and you'll save some major compile time :) Also handy if you're strapped for memory and compilation fails on yafray compilation due
 to this.

- this commit also has a few whitespace changes and
- made BF_NO_ELBEEM a proper BoolOption. This will be renamed to WITH_BF_ELBEEM in the near future...

------------------------------------------------------------------------
r8649 | briggs | 2006-10-18 07:18:51 +0200 (Wed, 18 Oct 2006) | 45 lines

-> Improved Triangle to Quad conversion

Alt-J behavior has been replaced by a port of the Tri2Quad python script
currently in CVS. This method has many advantages over the old behavior.
A simple illustration of how the new method is superior to the old can be
made by triangulating a suzzane and converting it back to quads.

	http://www.umsl.edu/~gcbq44/t2q2a.jpg
	http://www.umsl.edu/~gcbq44/t2q2b.jpg

The algorithm works by considering all possible triangle pairings and then
weighting them according to how appropriate it would be to join. These pairs
are then quick-sorted and those with the highest weighting factor are combined.
The function is quite fast even for dense meshes and usually involves no
noticeable wait-time for completion. For instance the following imported
model took less than 2 seconds to convert on my 1.3ghz PPC powerbook:

	http://www.umsl.edu/~gcbq44/mimitri.jpg
	http://www.umsl.edu/~gcbq44/mimiquad.jpg

It should be noted by the user that this method also discards face pairs
where the two triangles:

-do not share the same material
-do not share the same UV image (texface)
-do not share a compatible set of UV coordinates
-do not share a compatible set of vertex colors
-will form a concave quad or create a non-planar face

Additionally if the edge shared by the pair is marked 'sharp' the pair
will be discarded from the quicksort. In this way the user can gain great
control over the conversion process if they desire as this imported VRML
model of a sneaker illustrates:

	http://www.umsl.edu/~gcbq44/t2qa.jpg
	http://www.umsl.edu/~gcbq44/t2qb.jpg

For the future it would be nice if some of the options for the conversion
process, such as angle tolerance, could be made configurable in the UI.
However it is unclear at this time which options should be made configurable
and where to put them. Feedback on this is appreciated.

Special Thanks goes to Joe Eager for the two macros he contributed to this code
and to Campbell Barton for writing the script this was based on!

------------------------------------------------------------------------
r8648 | bjornmose | 2006-10-18 00:03:32 +0200 (Wed, 18 Oct 2006) | 3 lines

made a nice new softbody II panel on UI to keep things usable (logic wise)
- failed on final alinignment issues may be matt can give a helping hand ? :)

------------------------------------------------------------------------
r8647 | jesterking | 2006-10-16 17:28:57 +0200 (Mon, 16 Oct 2006) | 4 lines

* fix totblock error when quiting blender with sessions open
* add "Disconnect"-menu when RMB on verse server that is connected in
outliner

------------------------------------------------------------------------
r8646 | jiri | 2006-10-16 16:14:49 +0200 (Mon, 16 Oct 2006) | 4 lines



 - I forgot one ifdef in last commit, I'm sorry

------------------------------------------------------------------------
r8645 | ton | 2006-10-16 13:31:09 +0200 (Mon, 16 Oct 2006) | 8 lines

Bugfix #5090

Duplicating a Library-linked Mesh with Library-linked texture Images forgot
to set the texture Image link flag to LIB_EXTERN (LIB_INDIRECT means the ID
is not saved in file).

Error was that a the duplicated Mesh lost texture.

------------------------------------------------------------------------
r8644 | jesterking | 2006-10-16 12:54:51 +0200 (Mon, 16 Oct 2006) | 3 lines

* remove -Wextra from makefile to make older compilers happy
* updated v_connection with version from Verse CVS for better unhandled unhandled-packet printing

------------------------------------------------------------------------
r8643 | campbellbarton | 2006-10-15 16:00:23 +0200 (Sun, 15 Oct 2006) | 6 lines

a Malifico request, Blender.Library now supports loading relative libraries.

Blender.Library.Open('//someblend.blend')

the // at teh start of the path mean that the file will be loaded relaive to the existing blend files path.

------------------------------------------------------------------------
r8642 | ton | 2006-10-15 13:50:46 +0200 (Sun, 15 Oct 2006) | 8 lines

Another shadowbuffer goodie: the "Halfway trick"

http://www.blender3d.org/cms/Shadow_buffer__Halfway.786.0.html

Simply said: by using the average of the nearest and 2nd nearest Z value
in Shadowbuffers you can reduce bias errors very well.
For backwards compatibility it is a new buffer type though.

------------------------------------------------------------------------
r8641 | campbellbarton | 2006-10-15 10:43:59 +0200 (Sun, 15 Oct 2006) | 2 lines

added shadAlpha access to materials in python

------------------------------------------------------------------------
r8640 | letterrip | 2006-10-15 01:27:18 +0200 (Sun, 15 Oct 2006) | 4 lines

=translate hoek to angle=

renamed the dutch variable hoek to angle globally arithb.c changes done by Matt Plough

------------------------------------------------------------------------
r8639 | bjornmose | 2006-10-14 21:03:06 +0200 (Sat, 14 Oct 2006) | 7 lines

softbodies again
unnesting aerodynamics from edge collision
cleaning up softbody.c
that is:
removing old todos in comments
adding some new :)

------------------------------------------------------------------------
r8638 | ton | 2006-10-14 17:26:15 +0200 (Sat, 14 Oct 2006) | 3 lines

Irregular shadow bug: mixing up zmin and zmax in optimize caused larger
faces to miss casting shadow.

------------------------------------------------------------------------
r8637 | ton | 2006-10-14 15:50:11 +0200 (Sat, 14 Oct 2006) | 3 lines

Missing initialization of 'shadow alpha' in new materials. Caused by not
copying this file from my laptop I used to code it... :)

------------------------------------------------------------------------
r8636 | ton | 2006-10-14 12:21:19 +0200 (Sat, 14 Oct 2006) | 18 lines

New shadow feature: Irregular Shadow Buffers

Full log:
http://www.blender3d.org/cms/Irregular_Shadow_Buffe.785.0.html

In short: this is a shadow buffer approach that always results in crispy
shadows, independent of lamp buffer size or zoom level. This shadow buffer
system also supports transparent shadow.

This is part of work on refreshing Shadow Buffers in Blender. You now can
choose of two types (Classical, Irregular). More types will follow. Also
quality issues for Classical shadow buffers are going to be reviewed,
especially to solve the lousy Biasing.

For the CVS log record; it is based on articles:
Gregory Johnson et al, University of Texas, Austin. (Regular grid method).
Timo Aila and Samuli Laine, Helsinki University of Technology. (BSP method).

------------------------------------------------------------------------
r8635 | bjornmose | 2006-10-13 23:27:43 +0200 (Fri, 13 Oct 2006) | 12 lines

softbody update

nicer kinematics in self collision -> blending to complete inelastic impact
now does something close to real physics

first steps towards aerodynamics
anisotropic friction
springs 'see' their movement in media
--> see surrrounding  media does not move and/or reacts on wind
(*for now  needs to have a pseudo collider araound  -> that is: add a cube in the same layer
and make it a deflector  *)

------------------------------------------------------------------------
r8634 | jiri | 2006-10-13 15:44:13 +0200 (Fri, 13 Oct 2006) | 8 lines



 - added dark-green circle behind subscribed verse node
 - added green circle behind object node shared at verse server
 - it is easier to figure out, what is shared and what isn't shared

 - color is hard coded now, but Matt can improve it ;-)

------------------------------------------------------------------------
r8633 | campbellbarton | 2006-10-13 13:56:08 +0200 (Fri, 13 Oct 2006) | 7 lines

mesh/animation exporters didnt work when there were no 3d views open, because the Blender.Set('curframe', i) called a update command that resulted in no viewable layers updating.

Made Blender.Set('curframe', i) do a
  scene_update_for_newframe(G.scene, (1<<20) - 1);

  removed 2 unused constants from Scene.c

------------------------------------------------------------------------
r8632 | elubie | 2006-10-13 13:42:58 +0200 (Fri, 13 Oct 2006) | 3 lines

==== MSVC 7 project files ====
- finally added OpenExr to be included by default to Blender release and Blender debug release targets

------------------------------------------------------------------------
r8631 | jesterking | 2006-10-13 11:16:28 +0200 (Fri, 13 Oct 2006) | 2 lines

add some #ifdefs around verse-related code

------------------------------------------------------------------------
r8630 | jesterking | 2006-10-13 11:11:56 +0200 (Fri, 13 Oct 2006) | 5 lines

Master Server list
* print (# servers) instead of icon row when there are servers in the list
* dark-green circle behind server icon in server list when connected
* orange when connecting

------------------------------------------------------------------------
r8629 | campbellbarton | 2006-10-13 07:48:50 +0200 (Fri, 13 Oct 2006) | 3 lines

fix for [ #5093 ] OBJ importer gives errors on usage
extending a list was using a python 2.4 compatible syntax but failed with 2.3

------------------------------------------------------------------------
r8628 | khughes | 2006-10-13 02:27:49 +0200 (Fri, 13 Oct 2006) | 4 lines



Move variable declaration to top of function.

------------------------------------------------------------------------
r8627 | campbellbarton | 2006-10-12 19:35:59 +0200 (Thu, 12 Oct 2006) | 4 lines

fix for [ #4868 ] script window "save as" uses blend path instead of script path.

2 line fix, if text->name is not NULL its used for the path (text->name IS the path) otherwise the ID name is used.

------------------------------------------------------------------------
r8626 | campbellbarton | 2006-10-12 17:27:32 +0200 (Thu, 12 Oct 2006) | 2 lines

seperate objects unset the objects OB_FROMGROUP flag

------------------------------------------------------------------------
r8625 | campbellbarton | 2006-10-12 16:26:14 +0200 (Thu, 12 Oct 2006) | 2 lines

added some tooltips and hotkeys to tooltips that were missing them.

------------------------------------------------------------------------
r8624 | campbellbarton | 2006-10-12 15:13:45 +0200 (Thu, 12 Oct 2006) | 5 lines

On Matt's suggestion moved "Make Link->Groups" to the add groups menu as "Add to Active Objects Groups"
removed "Make Link -> DupliGroup" because Copy->Duplis does the same thing.

Python's Group.c had an unneeded scene/base lookup.

------------------------------------------------------------------------
r8623 | jesterking | 2006-10-12 13:53:50 +0200 (Thu, 12 Oct 2006) | 12 lines

Add Verse master-server functionality

* added two files from verse-master
* server list is available in outliner (new mode "Verse Servers")
* verse sessions are now also in new mode "Verse Sessions" in outliner
* fixed drawing of verse sessions and their nodes
* in user preferences System & OpenGL master-server ip setting (default master.uni-verse.org)
* in File>Verse entry "Get Servers" to get server list or
* RMB on "Available Verse Servers" in outliner to "Refresh" server list

Enjoy :)

------------------------------------------------------------------------
r8622 | ton | 2006-10-12 11:32:47 +0200 (Thu, 12 Oct 2006) | 7 lines

Bugfix #4843

Third fix for this bug! In august I've added the function
Mat3ToCompatibleEul(), which ensures a proper euler value being derived
from a matrix, while inserting Ipo keys after a transform().
That also had to be done for camera fly mode.

------------------------------------------------------------------------
r8621 | broken | 2006-10-12 09:54:32 +0200 (Thu, 12 Oct 2006) | 3 lines

* Added a new empty draw type - single arrow. This can be useful in situations
where you just need a direction, like a wind or vortex force field for example.

------------------------------------------------------------------------
r8620 | campbellbarton | 2006-10-12 08:36:17 +0200 (Thu, 12 Oct 2006) | 4 lines

renamed
Make Links -> Group to DupliGroup
added "Make Linkes -> Groups" so you can add other selected objects to the groups of the active object.

------------------------------------------------------------------------
r8619 | broken | 2006-10-12 05:43:44 +0200 (Thu, 12 Oct 2006) | 2 lines

* Clicking on a constraint in the outliner now shows object buttons

------------------------------------------------------------------------
r8618 | broken | 2006-10-12 05:10:14 +0200 (Thu, 12 Oct 2006) | 3 lines

* Added the bfont TTF itself, along with the source of my changes for lighter
file size, and license.

------------------------------------------------------------------------
r8617 | broken | 2006-10-12 04:58:32 +0200 (Thu, 12 Oct 2006) | 6 lines

* A new bfont.ttf.c, used for the default international interface font.
This is a modified version of DeJaVu Sans, which is the same as the previous
Vera Sans, but with additional characters for languages (such as Czech) that
were missing from Vera. This version I'm committing has modifications to reduce
file size, cutting out useless stuff like ancient Greek characters.

------------------------------------------------------------------------
r8616 | bjornmose | 2006-10-12 00:53:22 +0200 (Thu, 12 Oct 2006) | 6 lines

softbodies
-seld collision adding fine control to UI
-cleaning up code
volatile test file again
http://www.wund.homepage.t-online.de/hidden/sb_col_must_2_0.blend

------------------------------------------------------------------------
r8615 | campbellbarton | 2006-10-11 12:33:34 +0200 (Wed, 11 Oct 2006) | 3 lines

BPyRender sets renderlayers right now
Object groups were get/set without user counts changeing.

------------------------------------------------------------------------
r8614 | jesterking | 2006-10-11 09:28:37 +0200 (Wed, 11 Oct 2006) | 7 lines

* remove the .Append(LIBS = ['libverse']), since it confused the build system.
* removed unused options BF_VERSE_LIBPATH, BF_VERSE, BF_VERSE_LIBS, since they are not used at all.
* some whitespace mods

There should be no more issues with "libverse.lib" not being found (or anything like
 that).

------------------------------------------------------------------------
r8613 | campbellbarton | 2006-10-11 08:51:26 +0200 (Wed, 11 Oct 2006) | 2 lines

Added global delete, triggered with Shift+Del, this removes the object from all scenes (saves searching manually)

------------------------------------------------------------------------
r8612 | campbellbarton | 2006-10-11 05:02:35 +0200 (Wed, 11 Oct 2006) | 3 lines

Setting new objects scenes layers is & (1<<21)-1
the scenes active object is only unset when unlinking - if the active object is being removed.

------------------------------------------------------------------------
r8611 | broken | 2006-10-11 03:19:14 +0200 (Wed, 11 Oct 2006) | 3 lines

* Allow Shift O proportional hotkey to cycle to random mode in 3D view,
looks like I only got the image editor in previous commit.

------------------------------------------------------------------------
r8610 | bjornmose | 2006-10-10 23:49:02 +0200 (Tue, 10 Oct 2006) | 6 lines

some tiny changes to the softbody system
- UI for self collision ball size definition
- edge collision mode added (almost a bug fix)
volatile test file -->
http://www.wund.homepage.t-online.de/hidden/sb_col_must_1_2.blend

------------------------------------------------------------------------
r8609 | jiri | 2006-10-10 17:30:57 +0200 (Tue, 10 Oct 2006) | 6 lines



 - blender should work corretly with new verse gimp plugin now
 - it uses "color_r", "color_g", "color_b" and "transparency" for naming
   color channels

------------------------------------------------------------------------
r8608 | campbellbarton | 2006-10-10 06:54:02 +0200 (Tue, 10 Oct 2006) | 2 lines

changed python scn.Layers get/set to mask off bits other then (1<<20)-1

------------------------------------------------------------------------
r8607 | campbellbarton | 2006-10-10 04:18:08 +0200 (Tue, 10 Oct 2006) | 2 lines

Mistake in recent schange to scn.objects.new() crashed Blender. fixed and also stopped Mesh_FromPyObject() clearning a meshes object if not called with an object.

------------------------------------------------------------------------
r8606 | campbellbarton | 2006-10-09 20:56:02 +0200 (Mon, 09 Oct 2006) | 5 lines

changed select grouped hooks functionality- just select the hooks that use the active object.
also speed up for select group, only find group status for unselected objects.

Updated the select group menu in 3 places, the space bar menu was out missing some other group options also.

------------------------------------------------------------------------
r8605 | campbellbarton | 2006-10-09 19:56:00 +0200 (Mon, 09 Oct 2006) | 3 lines

malefico's request when working with many hook objects-
Select Grouped -> Hook Siblings (Deform Same Data)

------------------------------------------------------------------------
r8604 | campbellbarton | 2006-10-09 08:19:27 +0200 (Mon, 09 Oct 2006) | 7 lines

Lattice.c was looping through all lattice data to check that it wasnt removed.
No other BPyModules do this and zero user lattices are kept so this check is not needed.

removed lattice.applyDeform(), this called object_apply_deform, which only gave a message to use modifiers.

changed the example in epydocs to apply the lattice using modifiers.

------------------------------------------------------------------------
r8603 | campbellbarton | 2006-10-09 06:29:24 +0200 (Mon, 09 Oct 2006) | 5 lines

BPyRender.imageFromObjectsOrtho's now sets all layers visible,
an error in Scene.c - scn.Layers disallowd all layer bits to be set.

made image_billboard.py rotate all images to be verticle for more efficient packing, added the option not to pack resulting images into 1.

------------------------------------------------------------------------
r8602 | campbellbarton | 2006-10-08 19:05:57 +0200 (Sun, 08 Oct 2006) | 18 lines


Adding a new script. heres the docstring.
________________________
Render Billboard Script
This can texture a simple billboard mesh from any number of selected objects.

Renders objects in the selection to quad faces on the active mesh.

Usage
* Light your model or enable the shadless flag so it is visible
* Make a low poly mesh out of quads with 90d corners. (this will be you billboard mesh)
* Select the model and any lamps that light it
* Select the billboard mesh so that it is active
* Run this script, Adjust settings such as image size or oversampling.
* Select a place to save the PNG image.
* Once the script has finished running return to the 3d view by pressing Shift+F5
* To see the newly applied textures change the drawtype to 'Textured Solid'

------------------------------------------------------------------------
r8601 | campbellbarton | 2006-10-08 12:51:38 +0200 (Sun, 08 Oct 2006) | 7 lines

removed unusued vars from Geometry.c
uv_archimap still had python based line intersect

added plane2matrix function to BPyMathutils
added an optional arg to imageFromObjectsOrtho - camera_matrix
camera_matrix can be used to define a plane in 3d space where X and Y scale is used to set the width and height of the area to render.

------------------------------------------------------------------------
r8600 | campbellbarton | 2006-10-07 13:49:53 +0200 (Sat, 07 Oct 2006) | 6 lines

removed some unused vars from Curve and matrix
scn.objects.new(None) - adds a new empty
 - new objects are selected by default now

further stripped down the vector struct, the wrapped state was being stored and 2 places.

------------------------------------------------------------------------
r8599 | campbellbarton | 2006-10-07 06:56:36 +0200 (Sat, 07 Oct 2006) | 4 lines

Added python func Blender.Geometry.LineIntersect2D(v1,v2,v3,v4)
updated archimap and cookie cutter to use it, removed python version from BPyMathutils
archimap island merging is noticibly faster

------------------------------------------------------------------------
r8598 | campbellbarton | 2006-10-06 18:48:28 +0200 (Fri, 06 Oct 2006) | 2 lines

added comparison function to many python types so you can do == and =!

------------------------------------------------------------------------
r8597 | bjornmose | 2006-10-05 23:30:55 +0200 (Thu, 05 Oct 2006) | 5 lines

removing self collision for curves
just did a few tests, with the 'surprising' result that balls are not curves ..
and i don't want to be swamped by bug reports tellling me
'it does not collide as i whised it would'

------------------------------------------------------------------------
r8596 | bjornmose | 2006-10-05 19:46:01 +0200 (Thu, 05 Oct 2006) | 7 lines

bug fix
only alow self collision for suited objects

feature request from hairdressers
self collision for curves
works amazingly well if you keep in mind there balls around vertices colliding

------------------------------------------------------------------------
r8595 | campbellbarton | 2006-10-05 17:56:11 +0200 (Thu, 05 Oct 2006) | 4 lines

Python API
added list like access to mesh face colors so you can say col[0] = 255 instead of col.r= 255
more importantly 'for ch in col' and 'tuple(col)'

------------------------------------------------------------------------
r8594 | campbellbarton | 2006-10-05 17:24:15 +0200 (Thu, 05 Oct 2006) | 2 lines

added the option to Blender.Library to 'link' data for malefico

------------------------------------------------------------------------
r8593 | campbellbarton | 2006-10-05 13:15:22 +0200 (Thu, 05 Oct 2006) | 3 lines

images wernt being applied to textures on import
added alpha support for material and texface. so teh faces transp mode is set as well as the Alpha and ztransp settings for the material

------------------------------------------------------------------------
r8592 | campbellbarton | 2006-10-05 08:44:27 +0200 (Thu, 05 Oct 2006) | 2 lines

Slw_sl fixed start/end frame export

------------------------------------------------------------------------
r8591 | campbellbarton | 2006-10-05 07:59:03 +0200 (Thu, 05 Oct 2006) | 2 lines

pup block was being called too late and frames were not being set on export

------------------------------------------------------------------------
r8590 | bjornmose | 2006-10-04 23:36:55 +0200 (Wed, 04 Oct 2006) | 8 lines

softbody self collision
ironing out a few glitches related to goal pinning
volatile test blend ->
http://www.wund.homepage.t-online.de/hidden/sb_col_must.blend
+ adding a few alternative collision ball calculation algos
since i did not want to blow up (waste)  DNA space without need,
coded as -1.0 -0.1 -1.1 values in 'ball size' (look at tooltip popup)

------------------------------------------------------------------------
r8589 | campbellbarton | 2006-10-04 19:06:29 +0200 (Wed, 04 Oct 2006) | 3 lines

mesh.transform() was applying the inverted 4x4 matrix to the normals, without removing the translation part.
iter with a char value did not allow for -1, my bad, using short now.

------------------------------------------------------------------------
r8588 | jiri | 2006-10-04 10:23:40 +0200 (Wed, 04 Oct 2006) | 4 lines



 - updated czech translation

------------------------------------------------------------------------
r8587 | elubie | 2006-10-03 23:44:18 +0200 (Tue, 03 Oct 2006) | 5 lines

==== MSVC 7 project files ====
- added vs_master.c to verse_server project
- added dependency on verse to verse_server project
- cleanup of object file name in verse_server project

------------------------------------------------------------------------
r8586 | lukep | 2006-10-03 22:25:59 +0200 (Tue, 03 Oct 2006) | 7 lines

fixing scons build for Os X with verse enabled.
there is no need to bundle the verse binary.


Blenderplayer build is still broken. Verse maintener please add
the needed stubs for it

------------------------------------------------------------------------
r8585 | campbellbarton | 2006-10-03 18:46:02 +0200 (Tue, 03 Oct 2006) | 3 lines

updated to use some of the new additions to vector and minor speedups,
removed edge margin option (uv island margin should be enough)

------------------------------------------------------------------------
r8584 | campbellbarton | 2006-10-03 18:07:48 +0200 (Tue, 03 Oct 2006) | 9 lines

moved vector objects to getseters,
added in place operations.
  Vector_iadd   vec1+=vec2
  Vector_isub   vec1-=vec2
  Vector_imul   vec1*=float or vec1*=mat
  Vector_idiv   vec1/=float

length is now writable vec.length= float

------------------------------------------------------------------------
r8583 | jesterking | 2006-10-03 14:22:56 +0200 (Tue, 03 Oct 2006) | 3 lines

* fix small bug in creation of verse server executable (path)
* remove debug printouts

------------------------------------------------------------------------
r8582 | bjornmose | 2006-10-03 14:12:24 +0200 (Tue, 03 Oct 2006) | 3 lines

-bug fix
sometimes goal pinned vertices were omitted by self collision

------------------------------------------------------------------------
r8581 | jesterking | 2006-10-03 13:33:41 +0200 (Tue, 03 Oct 2006) | 3 lines

* make verse compile with new verse release
* added -src/-dst patch from Emil (on my request - is already in verse CVS)

------------------------------------------------------------------------
r8580 | jiri | 2006-10-03 13:09:58 +0200 (Tue, 03 Oct 2006) | 4 lines



 - I forgot to add new file to cvs repo during my last commit, I'm sorry

------------------------------------------------------------------------
r8579 | campbellbarton | 2006-10-03 07:11:33 +0200 (Tue, 03 Oct 2006) | 31 lines

Mathutils.Vector speedup
removed the need for casting python objects to Vectors pyobjects when performing vec/float arithmatic.
a PyObject for coercing has also been removed from the vector struct so a little less memory will be used also.


Benchmarked before and after this change
___________________________________
import Blender
v= Blender.Mathutils.Vector
m= Blender.Mathutils.Matrix

a= v(1,2,3)
b= v(3,2,1)
c= m()
t= Blender.sys.time()
for i in xrange(20000000):
        a*b
        a*10
        a/10
        a+b
        b-a
        a*c

print Blender.sys.time()-t
_______________________________________

Before 63.5sec
after 49.5

about 3 sec of that is looping

------------------------------------------------------------------------
r8578 | broken | 2006-10-03 02:16:22 +0200 (Tue, 03 Oct 2006) | 5 lines

* Previous backwards compat commit to reset curve radius values to 1.0 on old
file was also happening on files made with current CVS (until next release).
Added a simple check to make it only happen on old files where there was no
radius before.

------------------------------------------------------------------------
r8577 | bjornmose | 2006-10-02 19:05:56 +0200 (Mon, 02 Oct 2006) | 3 lines

softbody panel cosmetics
and a forgotten debug print .. tsk

------------------------------------------------------------------------
r8576 | elubie | 2006-10-02 18:11:57 +0200 (Mon, 02 Oct 2006) | 3 lines

- fix for relative path: BLI_strncpy needs to be passed len+1 !
(introduced by my last patch - ouch)

------------------------------------------------------------------------
r8575 | jiri | 2006-10-02 15:29:17 +0200 (Mon, 02 Oct 2006) | 4 lines



 updated verse to version r6p1

------------------------------------------------------------------------
r8574 | bjornmose | 2006-10-01 23:49:10 +0200 (Sun, 01 Oct 2006) | 3 lines

softbodies
mostly reshuffeling UI to have things where i'd expect them to be

------------------------------------------------------------------------
r8573 | theeth | 2006-10-01 21:45:37 +0200 (Sun, 01 Oct 2006) | 13 lines

Patch: [ #5036 ] IPO Curve Mirroring by Joshua Leung (aligorith)

This patch adds the feature of IPO curve mirroring. It mirrors the selected keyframes in the active ipo curves over a user-nominated mirror-line.

Options are:
- Mirror over current frame
- Mirror over vertical axis (X = 0)
- Mirror over horizontal axis (Y = 0)

Functionality can be accessed from:
- Hotkey M in IPO editor
- Submenu in header of IPO editor

------------------------------------------------------------------------
r8572 | theeth | 2006-10-01 21:29:46 +0200 (Sun, 01 Oct 2006) | 6 lines

Patch: [ #5046 ] IPO Editor -> Axis Locking for Transform by Joshua Leung (aligorith)

** This is a heavily modified version of the patch, but the idea is the same. **

This adds X and Y as hotkey for constraining IPO transforms (grab only) and also fixes the display to only show relevant information when constraining (grab and scale).

------------------------------------------------------------------------
r8571 | theeth | 2006-10-01 20:28:46 +0200 (Sun, 01 Oct 2006) | 8 lines

As discussed during meeting, Changed curve length/tilt markers to indicate direction.

That is, a 3D curve now displays as ->->->-> instead of -|-|-|-|.

Comparing the two, I didn't find the arrow display any more confusing then the straight lines when dealing with loops and tilt variations. Sharp turns are more likely to display crossed lines though.

Others should feel free to disagree and make it better.

------------------------------------------------------------------------
r8570 | letterrip | 2006-10-01 18:49:41 +0200 (Sun, 01 Oct 2006) | 4 lines

==Mat4ToEul==

a utility function to convert 4x4 matrices to a euler rotation, contributed by Joshua Lueng (aligorith)

------------------------------------------------------------------------
r8569 | letterrip | 2006-10-01 17:55:09 +0200 (Sun, 01 Oct 2006) | 4 lines

==kkey action column select update==

added constraint key column selection to column selection code, patch by Joshua Leung (aligorith)

------------------------------------------------------------------------
r8568 | elubie | 2006-10-01 16:30:14 +0200 (Sun, 01 Oct 2006) | 3 lines

=== MSVC 7 project files ===
- small fix of a few output paths

------------------------------------------------------------------------
r8567 | campbellbarton | 2006-10-01 16:02:51 +0200 (Sun, 01 Oct 2006) | 3 lines

added a BPyObject.py with 1 function- getDerivedObjects, gets all dupliObjects and can optionaly get a mesh generated from the objects particles.
export obj can now export duplis and particles as well as faster face exporting and other small cleanups/speedups.

------------------------------------------------------------------------
r8566 | aphex | 2006-10-01 14:39:31 +0200 (Sun, 01 Oct 2006) | 2 lines

Added missing check for 'WITH_BF_INTERNATIONAL'.  This fixes loading truetype fonts for text objects.

------------------------------------------------------------------------
r8565 | blendix | 2006-09-30 23:29:47 +0200 (Sat, 30 Sep 2006) | 3 lines

Fix for bug #5044: random crashes when rendering.
This one is of my own making, removed too many locks. Thanks Malefico for reporting.

------------------------------------------------------------------------
r8564 | elubie | 2006-09-30 17:00:53 +0200 (Sat, 30 Sep 2006) | 4 lines

=== MSVC 7 project files ===
- forgot to add the actual verse project files in last commit, ugh
- also forgot to mention small cleanup of bullet prj files to use main build dir too

------------------------------------------------------------------------
r8563 | elubie | 2006-09-30 16:31:27 +0200 (Sat, 30 Sep 2006) | 5 lines

=== MSVC 7 project files ===
- added verse support
- verse library and server are compiled with the extern solution
- note: verse server still misses icon, VS2003 refuses to add the currently provided icon

------------------------------------------------------------------------
r8562 | campbellbarton | 2006-09-30 16:14:49 +0200 (Sat, 30 Sep 2006) | 2 lines

3rd attempt to commit, metaball fixes and small vector optimization

------------------------------------------------------------------------
r8561 | bjornmose | 2006-09-28 22:27:46 +0200 (Thu, 28 Sep 2006) | 16 lines

new softbody feature:
simple (naive) self collision
estimates a collision ball
using the spring lenght to attached neighbours
(idea stolen from old cloth modifier files, but i'm sure ZAZ and genscher won't mind)
-- usefull for untangeling static cloth like objects
-- may be used for cloth simulation with known limitations
like 'tunnel effect' if objects are moving too fast ...

demo -- volatile files
http://www.wund.homepage.t-online.de/hidden/sb_without_selfcol.avi
http://www.wund.homepage.t-online.de/hidden/sb_with_selfcoll.avi

have fun
BM

------------------------------------------------------------------------
r8560 | campbellbarton | 2006-09-28 06:45:08 +0200 (Thu, 28 Sep 2006) | 2 lines

export matrix was wrong, cleanup import, more memory efficient and import the rest data to an unused key.

------------------------------------------------------------------------
r8559 | briggs | 2006-09-28 04:37:35 +0200 (Thu, 28 Sep 2006) | 6 lines

-> Sanity Check for Selection History

Some operations like edge loop deselect would cause selection history
to become invalid. Added a sanity check to countall() to try and catch
these when they happen.

------------------------------------------------------------------------
r8558 | briggs | 2006-09-28 03:55:44 +0200 (Thu, 28 Sep 2006) | 21 lines

-> Enter/Exit editmode wait cursor flags

The wait cursor was being called during editmode enter and exit for meshes.
This was a problem for several reasons. First of all, python modules like
Mesh now make use of editmode features. These methods that wrap editmode
tools may be called many times during the execution of a script
and lead to the wait cursor rapidly flickering on and off.

The other problem was that the wait cursor wasn't being called for editmode
enter and exit of all data types. This is unified now.

-New Arguments

enter_editmode() should be passed a nonzero integer or simply EM_WAITCURSOR
if the wait cursor is desired. Currently only the python API passes a '0'
to enter_editmode()

exit_editmode() has several options and they are passed in as the bitflags
EM_FREEDATA, EM_FREEUNDO and EM_WAITCURSOR. These flags are defined in
BDR_editobject.h.

------------------------------------------------------------------------
r8557 | briggs | 2006-09-28 01:39:19 +0200 (Thu, 28 Sep 2006) | 6 lines

-> Add/Delete Scene fix

countall() wasn't being called when scenes were being added/deleted.
This caused the info header to temporarily display incorrect information
about scene statistics.

------------------------------------------------------------------------
r8556 | blendix | 2006-09-27 21:45:38 +0200 (Wed, 27 Sep 2006) | 4 lines


Bugfix for a recent commit: live unwrapping behaved badly because
pinned uv charts were being auto rotated, they should just stay fixed.

------------------------------------------------------------------------
r8555 | campbellbarton | 2006-09-27 20:08:54 +0200 (Wed, 27 Sep 2006) | 2 lines

made fgon edges not draw lengths with length draw option

------------------------------------------------------------------------
r8554 | campbellbarton | 2006-09-27 18:33:02 +0200 (Wed, 27 Sep 2006) | 5 lines

Adding MDD import and export from patch 4969 with modifications, (import and export rvks, MDD is from lightwave AFAIK)

Added Mesh .key .removeAllKeys() and .insertKey() for MDD support (was using NMesh just for keys before)
Since this is aparently an experemental feature in NMesh we may want to change this.

------------------------------------------------------------------------
r8553 | bjornmose | 2006-09-27 08:59:27 +0200 (Wed, 27 Sep 2006) | 4 lines

fix for homegrown bug in softbody rigidity
springs inserted twice caused unreal stiffness in ODEs
-> bad performance killers

------------------------------------------------------------------------
r8552 | briggs | 2006-09-27 08:40:10 +0200 (Wed, 27 Sep 2006) | 4 lines

-> Misspelled tooltip for 'Enable Script Links'

Fixed a minor mispelling in the tooltip, 'and' was written as 'amd'.

------------------------------------------------------------------------
r8551 | bjornmose | 2006-09-26 19:16:23 +0200 (Tue, 26 Sep 2006) | 2 lines

Rigidity only for meshes

------------------------------------------------------------------------
r8550 | bjornmose | 2006-09-26 14:53:57 +0200 (Tue, 26 Sep 2006) | 6 lines

New softbody option: adjustable rigidity.
Gives local structure stability for though fabrics, thin steelplates ..
even suzanne gets pretty crash resistant that way.
If non zero it not only adds diagonals but all other "2edge-wide" springs
so it somehow replaces stiff quads for meshes too.

------------------------------------------------------------------------
r8549 | campbellbarton | 2006-09-26 06:39:46 +0200 (Tue, 26 Sep 2006) | 3 lines

removed .parent by mistake in Object.c
made some of the importers raise a nice error if a file disnt exist rather then a python error. will eventually apply to all.

------------------------------------------------------------------------
r8548 | blendix | 2006-09-26 00:00:52 +0200 (Tue, 26 Sep 2006) | 9 lines


Some UV/Image window changes:

- A new Save image function, next to the existing Save As.
- Shortcut keys Alt+S, Alt+R, Alt+O and Alt+N for Save, Reload, Open
  and New image respectively, consistent with the text editor window.
- Hide Select and UVs menus when UV editing isn't active.
- Removed duplicate and unused code, also moved some functions.

------------------------------------------------------------------------
r8547 | campbellbarton | 2006-09-25 21:35:43 +0200 (Mon, 25 Sep 2006) | 6 lines

corrected image doc mistake - image.makeCurrent()

BPyRender.imageFromObjectsOrtho() returns an image

Made all image bake scripts ask before overwriting a file. as well as displaying the newly created image once its rendered.

------------------------------------------------------------------------
r8546 | campbellbarton | 2006-09-25 18:37:37 +0200 (Mon, 25 Sep 2006) | 2 lines

forgot to add 'island margin' - so you can have a gap around each island so they dont bleed ento eachother once baked into a texture.

------------------------------------------------------------------------
r8545 | campbellbarton | 2006-09-25 18:24:07 +0200 (Mon, 25 Sep 2006) | 3 lines

Optimized merging uv islands when packing by testing only intersections of boundry uv edges.
updated to use more recent changes to the bpython api and some other cleanups.

------------------------------------------------------------------------
r8544 | blendix | 2006-09-25 17:40:26 +0200 (Mon, 25 Sep 2006) | 7 lines


Fix for bug #4828: random rotations of uv charts after unwrapping.

This never worked that well, so now after unwrapping, uv charts are
rotated to fit in their smallest enclosing rectangle. This should give
the expected behavior in the most common cases.

------------------------------------------------------------------------
r8543 | blendix | 2006-09-25 14:30:12 +0200 (Mon, 25 Sep 2006) | 3 lines


Last commit broke the smear brush, thanks Jens for spotting this.

------------------------------------------------------------------------
r8542 | broken | 2006-09-25 13:33:53 +0200 (Mon, 25 Sep 2006) | 2 lines

* This should have come along with the proportional edit commit. tsk tsk.

------------------------------------------------------------------------
r8541 | ton | 2006-09-25 11:35:04 +0200 (Mon, 25 Sep 2006) | 9 lines

Bugfix #5034

When using new Shadowbuffer option "Auto clip", the clipping planes could
become so narrow that sampling code - using ints - could result in
overflows (sign flip). This especially for small shadow buffers with high
bias values.

This fix adds an extra check in shadow sampling for such overflows.

------------------------------------------------------------------------
r8540 | broken | 2006-09-25 09:59:50 +0200 (Mon, 25 Sep 2006) | 2 lines

* tweak to outliner line colour

------------------------------------------------------------------------
r8539 | broken | 2006-09-25 08:11:16 +0200 (Mon, 25 Sep 2006) | 2 lines

* Gave curve transforms Tilt and Shrink/Fatten a home in the v3d menu

------------------------------------------------------------------------
r8538 | broken | 2006-09-25 07:15:19 +0200 (Mon, 25 Sep 2006) | 12 lines

* Proportional edit mode 'random' falloff

This is another proportional edit falloff that slightly randomises the
influence. It's not strictly random, it's blended with linear falloff so that
it's a bit smoother. The nice thing is that it works with all transforms, axis
locking etc, including the special ones like to sphere, shrink/fatten/etc. It
can be used for all sorts of things like roughening surfaces. I most recently
used it to add a bit of randomness to the folds of some cloth. I
made a short demo video here: http://mke3.net/blender/etc/prop_random-h264.mov

Also included nicer icons for the falloff types.

------------------------------------------------------------------------
r8537 | campbellbarton | 2006-09-25 07:12:37 +0200 (Mon, 25 Sep 2006) | 9 lines

BPyMessages - added "Save over" message for scripts to use, so as not to overwrite files.

import_obj - comments, docstring additions, cleanup.

OBJ export: -renamed export_obj
 faster edge exporting (use edges LOOSE flag rather then finding zero face user edges)
 check for file before overwriting
 use object iterators

------------------------------------------------------------------------
r8536 | eeshlo | 2006-09-25 06:54:45 +0200 (Mon, 25 Sep 2006) | 19 lines

A possible problem was noted by Cyril Brulebois regarding copyright issues
with regards to the noise functions in yafray based on Ken Musgrave's
original code.
I had left the 'Copyright' notice in the comments, and according to
Cyril Brulebois this is a problem. In fact, from what I understand this
makes it even impossible to use or modify the code in other software.
But since it is not a verbatim copy of the code but rather based on Musgrave's
work, he suggested I change it to explicitely state that it is in fact
based on the code from the 'Texturing & Modeling' book.
And since the yafray code is in turn based on the blender code, I better
adapt the blender code too.

This reminded me that I also have forgotten to include the copyright notice
in the mersenne twister rng code I used for the Python Noise module.
This does clearly state to include the original notice with any resdistributed
code, in modified form or not. So I added that too.

I hope that solves the problems.

------------------------------------------------------------------------
r8535 | broken | 2006-09-25 06:08:35 +0200 (Mon, 25 Sep 2006) | 3 lines

* Removed some naughty WIP code that I forgot to clean out first, breaking compilation.
Sorry! (yes, I know what martin said, bad me...)

------------------------------------------------------------------------
r8534 | broken | 2006-09-25 05:22:54 +0200 (Mon, 25 Sep 2006) | 2 lines

* Added backwards compat check for curve radius value, so old files act properly.

------------------------------------------------------------------------
r8533 | broken | 2006-09-25 05:15:58 +0200 (Mon, 25 Sep 2006) | 6 lines

* Updated the auto-generated UV test image (Image Editor -> Image -> New). The
previous one was ok as a quick fix during orange and showed distortion obviously
but it was kind of extreme, and I'd rather not be blamed for causing blindness
or brain tumours because of it. This pattern is nicer, and still shows
distortion and its location on the map well.

------------------------------------------------------------------------
r8532 | blendix | 2006-09-24 21:29:25 +0200 (Sun, 24 Sep 2006) | 8 lines


Basic pressure sensitivity support in imagepaint, for opacity, size,
falloff and spacing. Click the button labeled "P" next to the sliders.
Works best for opacity, other options can give poor quality strokes in
some cases. Also performance needs to be improved.

Remember, works only on X11 and Mac, no Windows support for tablets yet.

------------------------------------------------------------------------
r8531 | campbellbarton | 2006-09-24 11:21:18 +0200 (Sun, 24 Sep 2006) | 2 lines

fixed mistakes and warnings in previous commit.

------------------------------------------------------------------------
r8530 | ton | 2006-09-24 11:21:04 +0200 (Sun, 24 Sep 2006) | 19 lines

New render feature:

If you define multiple RenderLayers with different view-layers, these
view-layers are rendered entirely, not looking at the faces that are
invisible. This allows layered composite, but only when geometry does
not intersect or overlap partially.

This new Renderlayer option "All Z values" will fill in the Z of not
visible faces (in the Scene view-layers) as well, which then allows
masking out as if these faces were set to Material option "Env".

Here's an example composite to show the effect:

Two cubes, in view-layers 1 and 2, and rendered in 2 RenderLayers:
http://www.blender.org/bf/all_z0.jpg

Same scene, but with both RenderLayers set to "All Z values":
http://www.blender.org/bf/all_z.jpg

------------------------------------------------------------------------
r8529 | campbellbarton | 2006-09-24 10:30:38 +0200 (Sun, 24 Sep 2006) | 12 lines

Extra generic errors for Scene, Groups and Metaballs to raise errors when trying to do anything with a python objects thats had its data removed in Blender.

Added to existing scn.objects
scn.objects.active    (get/set the active object for the scene)

scn.objects.selected    - an iterator that only uses selected objects
scn.objects.context    - an iterator on objects in the user context (visible in the current 3d views layer and selected)
These are the same type as scn.objects but .add() .remove() .new() .active etc raise errors. so scn.objects.selected.add() will raise an error.

Made nested loops possible with scn.objects, metaball.elements and ob.modifiers, by initializing the iter value as NULL and creating copys of the pyobject when _getIter() is called if ->iter is not NULL.
This is how pythons xrange() works.

------------------------------------------------------------------------
r8528 | briggs | 2006-09-24 07:14:29 +0200 (Sun, 24 Sep 2006) | 8 lines

-> Adjustable Tolerance for Knife Vertex Cutting

Previously had Vertex snapping in knife tool adjustable by the 'threshold'
value in the 'Mesh Tools' panel. This was actually a misunderstanding on
my part of a user request (oops). What was really needed was to make the
sensitivity of intersection code for vertex cutting adjustable. Vertex Snap
is now set at same tolerance as vertex selection.

------------------------------------------------------------------------
r8527 | campbellbarton | 2006-09-23 17:07:03 +0200 (Sat, 23 Sep 2006) | 3 lines

new read only object property to be used for the collada exporter
ob.parentType and a constant dict Blender.Object.ParentTypes

------------------------------------------------------------------------
r8526 | harkyman | 2006-09-22 18:42:39 +0200 (Fri, 22 Sep 2006) | 7 lines

This commit adds backwards compatability for the new floor constraint
feature. Old files that had "sticky" set would not show "sticky" under
the new system. Not that anyone ever actually used "sticky".

Also, these commits only add support for rotated external target objects,
not target bones inside the same armature.

------------------------------------------------------------------------
r8525 | harkyman | 2006-09-22 17:57:58 +0200 (Fri, 22 Sep 2006) | 7 lines

This commit adds local target rotation support to the floor constraint,
making it much more useful. Requested and taunted for frequently by
Plumiferos folks. Click on "Use Rot" to take target object rotations
into account.

Good for using rotated empties, etc., as a sloped floor.

------------------------------------------------------------------------
r8524 | campbellbarton | 2006-09-22 12:08:41 +0200 (Fri, 22 Sep 2006) | 13 lines

Mesh iterators (me.faces, me.edges, me.verts, face and edge iterator) store the iterator progress in the python object.
This made nested loops with the same python object mess up.
eg-
faces= me.faces
for f1 in faces:
  for f2 in faces:
    print f1.index,f2.index

This didnt work, fixed by initializing the iter value at -1, so any greater value will create a new BPyObject with its own iter value.
once iteration is finished, its set back to -1.

Also made face and edges iter value a char instead of an int to save some memory.

------------------------------------------------------------------------
r8523 | campbellbarton | 2006-09-21 20:25:40 +0200 (Thu, 21 Sep 2006) | 3 lines

from looking at patch 4934 made all user preference paths settable with Blender.Set('val', data), also added exception errors which were on the todo.
image.filename was being limited to FILE_MAXDIR rather then FILE_MAXDIR + FILE_MAXFILE when setting.

------------------------------------------------------------------------
r8522 | campbellbarton | 2006-09-21 19:03:24 +0200 (Thu, 21 Sep 2006) | 2 lines

Setting the image name was raising an error.

------------------------------------------------------------------------
r8521 | campbellbarton | 2006-09-21 15:53:32 +0200 (Thu, 21 Sep 2006) | 3 lines

one liner,
editmode select grouped, face area and perimeter comparing didnt work sometimes, simpler comparison that still scales well

------------------------------------------------------------------------
r8520 | campbellbarton | 2006-09-21 03:36:09 +0200 (Thu, 21 Sep 2006) | 3 lines

adding a script that copies material colors to vertex colors,
usefull when consolidating 3d models from formats that use many materials for different colors, into 1 object with fewer materials.

------------------------------------------------------------------------
r8519 | campbellbarton | 2006-09-20 19:30:47 +0200 (Wed, 20 Sep 2006) | 2 lines

removed warning in EXPP_setVec3Clamped

------------------------------------------------------------------------
r8518 | campbellbarton | 2006-09-20 19:11:45 +0200 (Wed, 20 Sep 2006) | 2 lines

fix in MTL library loading, if none is spesified the same name as the OBJ is used.

------------------------------------------------------------------------
r8517 | campbellbarton | 2006-09-20 11:44:41 +0200 (Wed, 20 Sep 2006) | 3 lines

makes image paths relative even if the files referenced exist.
this functionality might be better in a seperate script.

------------------------------------------------------------------------
r8516 | campbellbarton | 2006-09-20 07:03:53 +0200 (Wed, 20 Sep 2006) | 7 lines


OBJ Import should now meet up to the python standards
http://mediawiki.blender.org/index.php/ScriptDev/Guidelines

* Recursive search was enabled by default, if your OBJ happened to be at root path, loading the OBJ could take ages. Made recursive searching optional.
* MAX's MTL exporter replaces spaces with underscores, image loading checks for this and loads the name with spaces if the one with underscores dosnt exist. not realy a problem with the importer but annoying to manually replace lots of images.

------------------------------------------------------------------------
r8515 | campbellbarton | 2006-09-20 04:43:09 +0200 (Wed, 20 Sep 2006) | 4 lines

Update and add a new script -
Makes the mesh solid by creating a second skin of a set width
works with UV's and Vertex col's but not weights at the moment.

------------------------------------------------------------------------
r8514 | campbellbarton | 2006-09-19 12:52:56 +0200 (Tue, 19 Sep 2006) | 2 lines

order of case statement was messed up with previous commit.

------------------------------------------------------------------------
r8513 | briggs | 2006-09-19 02:08:09 +0200 (Tue, 19 Sep 2006) | 6 lines

->Knife Midpoint and Vertex Cutting

Cutting through vertices and vertex snap was only supported in
'knife exact' mode. Now works for 'Knife Midpoint' as well.
(Multicut and vertex cutting would require N-Gons)

------------------------------------------------------------------------
r8512 | ton | 2006-09-18 17:32:11 +0200 (Mon, 18 Sep 2006) | 3 lines

Maximum amount of keys in a ColorBand now is 32.
This is static array stuff... could be dynamic once.

------------------------------------------------------------------------
r8511 | campbellbarton | 2006-09-18 16:08:04 +0200 (Mon, 18 Sep 2006) | 2 lines

error in place holder creation function was making the image twice, effected 3ds and obj importers

------------------------------------------------------------------------
r8510 | ton | 2006-09-18 14:53:52 +0200 (Mon, 18 Sep 2006) | 5 lines

Bugfix #4999 part 2

Sky texture mapping option "Sphere" or "Tube" map now correctly maps to
world space as well, so a camera orientation or mirroring works fine.

------------------------------------------------------------------------
r8509 | briggs | 2006-09-18 07:48:10 +0200 (Mon, 18 Sep 2006) | 4 lines

-> Extrude Vertex Groups

Small fix, extrude did not copy vertex weights.

------------------------------------------------------------------------
r8508 | campbellbarton | 2006-09-18 04:33:00 +0200 (Mon, 18 Sep 2006) | 2 lines

Type in docs and element.quat was checking for a vector type.

------------------------------------------------------------------------
r8507 | elubie | 2006-09-17 19:55:57 +0200 (Sun, 17 Sep 2006) | 8 lines

==== MSVC 7 project files ===
maintenance work:
- added missing files in blenkernel
- updated Bullet in extern
- Python: SurfNurb.c
- removed compile and dependency of PHY_Ode
- made blenderplayer compile again (had to add pthreads lib)

------------------------------------------------------------------------
r8506 | ton | 2006-09-17 17:28:32 +0200 (Sun, 17 Sep 2006) | 8 lines

Bugfix #4999

The Sky render option "Ang Map", which should support spherical probes,
was always in local camera view space, instead of world space.

Check this report, it has cool images!
http://projects.blender.org/tracker/index.php?func=detail&aid=4999&group_id=9&atid=125

------------------------------------------------------------------------
r8505 | ton | 2006-09-17 15:12:57 +0200 (Sun, 17 Sep 2006) | 14 lines

Bugfix #4925

When using a particle system in a dupli-group, and the group is in the
current scene but not visible, the particles are calculated on wrong
position. This is the recurring trouble with particle calculating... which
doesn't do despgraph stuff.

This commit fixes the error, but it will still display particles *once*
(one draw) on the wrong location. That's a lag in the system I cannot
solve quickly...

Note that this system does work OK when you put the group in another Scene,
or linked from another file. That's what it was coded for...

------------------------------------------------------------------------
r8504 | ton | 2006-09-17 13:45:38 +0200 (Sun, 17 Sep 2006) | 13 lines

Patch #4995, bugfix #4985

Patch for this bug provided by Johannes Meng.
Here's his log:

When using the mouse wheel on an inverted 3d view (that is back, left or
bottom) the name display changed to front (right, top). Also when using
mouse wheel with modifier keys (strg/shift) on a normal view, it changed
the display to the inverted variant.
What I did was check the type of event that is handeled before
setting/unsetting V3D_OPP_DIRECTION_NAME. I simply added two if statements
and expanded the comment by a line explaining it a bit.

------------------------------------------------------------------------
r8503 | ton | 2006-09-17 13:40:28 +0200 (Sun, 17 Sep 2006) | 8 lines

Bugfix #4983

- Using NLA stride didn't work at all for Motion Blur render... appeared to
  be a typo even, using 'ctime' instead of 'stime'. :)
- When entering editmode on a striding Armature, the position of the
  armature was incorrect (missing depsgraph refresh)
- changes in constraint.c is just a small cleanup, unused 'ctime' arg.

------------------------------------------------------------------------
r8502 | campbellbarton | 2006-09-17 10:36:43 +0200 (Sun, 17 Sep 2006) | 2 lines

corected some mistakes in the metaball docs.

------------------------------------------------------------------------
r8501 | campbellbarton | 2006-09-17 07:15:56 +0200 (Sun, 17 Sep 2006) | 8 lines

added mesh_create_derived_view(ob) to DerivedMesh.c
exactly the same as mesh_create_derived_render(ob) except it uses the view modifier settings.

Added an optional arg to getFromObject to 'render' so you can choose to get the mesh displayed in the 3d view or generate one with render settings.
Solved bug 4612 getFromObject now works with soft body meshes (error was caused by getting the derived mesh from a copy of the object)

removed workaround for softbody bug in object_apply_def.py

------------------------------------------------------------------------
r8500 | campbellbarton | 2006-09-17 04:31:16 +0200 (Sun, 17 Sep 2006) | 4 lines

renamed Blender.Image.SetCurrent(img) to img.makeCurrent() to be consistant with scene.
applied patch #4998 (array count), as well as adding other array settings, updated documentation as well.
added EXPP_setVec3Clamped() as a way to set a vector from getset attrs (used with array offset and scale)

------------------------------------------------------------------------
r8499 | ton | 2006-09-16 15:53:33 +0200 (Sat, 16 Sep 2006) | 5 lines

Render display fix:

When using "Border" render, and output to UV/Image window, the compositing
result was not drawn. I had to add a refresh for reading results...

------------------------------------------------------------------------
r8498 | ton | 2006-09-16 15:28:06 +0200 (Sat, 16 Sep 2006) | 2 lines

Vertex Parent fix: it gives error if you select > 3 points now.

------------------------------------------------------------------------
r8497 | ton | 2006-09-16 15:06:09 +0200 (Sat, 16 Sep 2006) | 6 lines

Bugfix #4997

Small tweak in depsgraph usage of transform: to make sure recalc tags get
set in invisible objects (in other layers) as well. That way switching
layers won't give errors with child-objects not being in the correct place.

------------------------------------------------------------------------
r8496 | ton | 2006-09-16 14:03:35 +0200 (Sat, 16 Sep 2006) | 6 lines

Bugfix #4994

Proportional editing sometimes failed to work by a missing initialization.
It was caused by the combination of having manipulators on, and saving the
file with an active Armature Object in PoseMode.

------------------------------------------------------------------------
r8495 | elubie | 2006-09-16 13:58:38 +0200 (Sat, 16 Sep 2006) | 3 lines

FIX: [ #4713 ] 2.42: Crash when saving .blend file as an unpriveledged user
- applied bugfix patch [ #4945 ] from Alex Rainchik - many thanks

------------------------------------------------------------------------
r8494 | elubie | 2006-09-16 13:42:37 +0200 (Sat, 16 Sep 2006) | 4 lines

FIX: [ #4944 ] Shift F4 menu folders are freezed
- code for adding 'c:\' on Windows missed fact that BLI_convertstringcode is also used for databrowse.
- now only replacing when path starts with '/', which isn't the case with databrowse

------------------------------------------------------------------------
r8493 | ton | 2006-09-16 12:46:53 +0200 (Sat, 16 Sep 2006) | 3 lines

Enabling vertex-parenting to a Lattice didn't take deformed Lattices in
account...

------------------------------------------------------------------------
r8492 | campbellbarton | 2006-09-16 12:05:57 +0200 (Sat, 16 Sep 2006) | 9 lines

New images were being initialized with zero users (normal for other data types),
but for images user counts work differently.
(just noticed this is what blender does so Image.New() now does the same)

Many of the sys functions had maximum path thengths that were too short.
  char path[FILE_MAXFILE];
rather then
  char path[FILE_MAXDIR + FILE_MAXFILE];

------------------------------------------------------------------------
r8491 | campbellbarton | 2006-09-16 11:33:09 +0200 (Sat, 16 Sep 2006) | 12 lines

Python Metaballs api refactor, based on Mesh and Group modules.
* removed get/set in favor of setsetattrs
* added an element iterator to the metaball data type.
* now accepts vectors and quat for location dimensions and rotation.
and other small changes.
Docs updated shortly at.
http://members.iinet.net.au/~cpbarton/ideasman/BPY_API/Metaball-module.html

other changes
typo in image.c
metaballs constants in buttons_editing

------------------------------------------------------------------------
r8490 | campbellbarton | 2006-09-16 08:18:41 +0200 (Sat, 16 Sep 2006) | 2 lines

added Image.SetCurrent(img) and img.has_data so you can see if an image contains pixel info.

------------------------------------------------------------------------
r8489 | campbellbarton | 2006-09-16 06:26:22 +0200 (Sat, 16 Sep 2006) | 3 lines

active metaball stiffness was not being limited to 10.0 as a maximum in the 3d properties panel (10000 instead).
added radius, and type menu to the 3d properties panel.

------------------------------------------------------------------------
r8488 | letterrip | 2006-09-15 22:54:37 +0200 (Fri, 15 Sep 2006) | 4 lines

==Collada update==

bugfixes and armature export support thanks to Pieter Visser

------------------------------------------------------------------------
r8487 | bjornmose | 2006-09-15 21:21:11 +0200 (Fri, 15 Sep 2006) | 2 lines

adding include pathes

------------------------------------------------------------------------
r8486 | campbellbarton | 2006-09-15 16:52:59 +0200 (Fri, 15 Sep 2006) | 3 lines

bug of mine fixed
didnt chech that a material existed before accessing it- crashed with null materials and mesh.getFromObject()

------------------------------------------------------------------------
r8485 | campbellbarton | 2006-09-15 12:21:25 +0200 (Fri, 15 Sep 2006) | 2 lines

changed the defaults for image edit. will open the image instantly with no options. hold shift for setting the application.

------------------------------------------------------------------------
r8484 | ton | 2006-09-14 14:40:53 +0200 (Thu, 14 Sep 2006) | 3 lines

Special request: Drawmode "bounding box" now supports drawing 'extra' too,
like axis or object name.

------------------------------------------------------------------------
r8483 | ton | 2006-09-14 14:21:18 +0200 (Thu, 14 Sep 2006) | 16 lines

Patch #4970 (brecht)

Added: Scale node in Compositor.

- Only works for RGBA buffers now
- I have added an option "Relative" or "Absolute" scale. So you can also
  define actual pixels for scale. Values for scale are reset when you
  switch, to prevent too weird situations.
- Scaling wasn't foreseen to work with the preview-panel in UV window, this
  preview cropping only happens for Image and RenderResult nodes... actually
  should be done for the scale too. I wait with t hat though... this preview
  method isn't very advanced yet.
- The pass_on_compbuf() here crashed in tests with preview panel, that's
  weak code... I have to recode that. For time being I use the
  dupalloc_compbuf to have it stable.

------------------------------------------------------------------------
r8482 | campbellbarton | 2006-09-14 13:37:34 +0200 (Thu, 14 Sep 2006) | 2 lines

commented metaballs dna with Jiri's help. no code changes to actial code made.

------------------------------------------------------------------------
r8481 | ton | 2006-09-14 10:23:38 +0200 (Thu, 14 Sep 2006) | 3 lines

New: added SHIFT+A "Add Action Strip" menu to NLA editor. This gives a menu
with choices of Actions to be added.

------------------------------------------------------------------------
r8480 | ton | 2006-09-14 10:13:09 +0200 (Thu, 14 Sep 2006) | 9 lines

New: (partial) Shape Key support for Lattices

- Panel with Shape keys now shows for lattice too
- Supports VGroup weight value for Shapes

NOTE: this doesn't support Shape editing with linked duplicates. The
modifier system for Lattices (as for Curve/Surface) has no local Object
storage, so linked duplicates will all show identical.

------------------------------------------------------------------------
r8479 | letterrip | 2006-09-13 17:12:38 +0200 (Wed, 13 Sep 2006) | 4 lines

==Collada update==

bugfixes and better armature support thanks to Pieter Visser

------------------------------------------------------------------------
r8478 | letterrip | 2006-09-13 16:55:32 +0200 (Wed, 13 Sep 2006) | 4 lines

==Collada update==

bugfixes and better armature support thanks to Pieter Visser

------------------------------------------------------------------------
r8477 | blendix | 2006-09-12 19:20:42 +0200 (Tue, 12 Sep 2006) | 3 lines


Wrong capitalization for #include file in my last commit.

------------------------------------------------------------------------
r8476 | blendix | 2006-09-12 18:53:27 +0200 (Tue, 12 Sep 2006) | 3 lines


Bugfix: texture paint didn't work correct with modifiers.

------------------------------------------------------------------------
r8475 | khughes | 2006-09-12 16:05:26 +0200 (Tue, 12 Sep 2006) | 5 lines



Bugfix #4979: unlinking mesh obdata which has shape keys was not decrementing
the IPO user reference count when the key's reference count reached zero.

------------------------------------------------------------------------
r8474 | ton | 2006-09-12 12:39:22 +0200 (Tue, 12 Sep 2006) | 2 lines

Menu to copy Shapes (Editmode Mesh, CTRL+C) now displays in columns

------------------------------------------------------------------------
r8473 | ton | 2006-09-12 12:29:04 +0200 (Tue, 12 Sep 2006) | 2 lines

fixed typo collumn -> column

------------------------------------------------------------------------
r8472 | ton | 2006-09-12 10:29:50 +0200 (Tue, 12 Sep 2006) | 6 lines

Patch 4981 (Tom Musgrave, revised)

New option: "Select Collumn" in Action editor. This selects all 'keys' on
the same time, based on already existing selection. Works for Actions as
well as Shape Keys. Hotkey K.

------------------------------------------------------------------------
r8471 | khughes | 2006-09-11 19:55:52 +0200 (Mon, 11 Sep 2006) | 6 lines



===Python API===
Internal code clean-up: make M_Object_New use existing code instead of
duplicating the steps of object initialization/creation.

------------------------------------------------------------------------
r8470 | campbellbarton | 2006-09-11 13:56:07 +0200 (Mon, 11 Sep 2006) | 3 lines

Made some mistake with getFromObject Not sure what went wrong. in the tests it worked, but after recompiling it didnt (blame quicky??)
tested to work now.

------------------------------------------------------------------------
r8469 | campbellbarton | 2006-09-11 09:05:29 +0200 (Mon, 11 Sep 2006) | 4 lines

made getFromObject() use a dummy mesh, rather then making a copy of the mesh and then replacing its data with the displist mesh.
aside from avoiding unneeded memory alloc/dealloc and bing faster this works around a recently discovered bug with the user count of copied Mesh keys... causing getFromObejct leak memory when used with mesh keys.
It also fixes a bug where getFromObejct with fluid-sim would corrupt memory.

------------------------------------------------------------------------
r8468 | ton | 2006-09-10 12:35:28 +0200 (Sun, 10 Sep 2006) | 4 lines

Bugfix #4927

Render: Flares were not corrected yet for border render.

------------------------------------------------------------------------
r8467 | ton | 2006-09-10 11:44:43 +0200 (Sun, 10 Sep 2006) | 6 lines

Bugfix #4976

When using the "Load without UI" option, and having a textfile open in the
Text Editor with syntax coloring, Blender crashed. Just a missing NULL
check here.

------------------------------------------------------------------------
r8466 | ton | 2006-09-10 11:18:33 +0200 (Sun, 10 Sep 2006) | 5 lines

Bugfix #4973

Pose mode; the Nkey "Properties" panel, using TAB to move to next button
assigned wrong values to rotation.

------------------------------------------------------------------------
r8465 | campbellbarton | 2006-09-09 15:44:27 +0200 (Sat, 09 Sep 2006) | 2 lines

fixed error fix in obj import mesh splitting.

------------------------------------------------------------------------
r8464 | khughes | 2006-09-08 23:12:59 +0200 (Fri, 08 Sep 2006) | 4 lines



Silence warning messages about ‘struct Scene’ declared inside parameter list.

------------------------------------------------------------------------
r8463 | khughes | 2006-09-08 20:31:09 +0200 (Fri, 08 Sep 2006) | 10 lines



===Python API===
Bugfix for #4971: Scene.unlink() was incorrectly decrementing the datablock
user count whenever an object was removed from a scene, instead of only when
the object's count reached 0.  The Python code was modified to use the
existing free_and_unlink_base() function (with some modifications to allow
specifying a scene).  Also fixed a bug with the undocumented return codes
from the method; it now returns True if the object was found in the scene.

------------------------------------------------------------------------
r8462 | campbellbarton | 2006-09-08 18:41:35 +0200 (Fri, 08 Sep 2006) | 2 lines

Enabled threads for rendering.

------------------------------------------------------------------------
r8461 | campbellbarton | 2006-09-08 17:28:33 +0200 (Fri, 08 Sep 2006) | 3 lines

Script that bakes procedural textures into an image.
uses TexMesh to get the same values as rendered procedural textures.

------------------------------------------------------------------------
r8460 | ton | 2006-09-08 14:05:36 +0200 (Fri, 08 Sep 2006) | 6 lines

New: vertex-parent support for Lattice.

Works like vertex-parent for Mesh and Curve/Surface. Select one or three
vertices in edit mode, and use CTRL+Select to select another object.
Then press CTRL+P.

------------------------------------------------------------------------
r8459 | harkyman | 2006-09-08 13:32:01 +0200 (Fri, 08 Sep 2006) | 5 lines

Fixes bug #4834. The function was supposed to return a list of vertex
indices that are within the passed group. If one of the indices was not
in the group, it returned an exception, as opposed to just removing it from
the group as the documentation states.

------------------------------------------------------------------------
r8458 | khughes | 2006-09-08 04:36:44 +0200 (Fri, 08 Sep 2006) | 4 lines



Scons update for today's earlier boolean commit.

------------------------------------------------------------------------
r8457 | artificer | 2006-09-08 03:05:57 +0200 (Fri, 08 Sep 2006) | 13 lines


Fix to enable copying of the vertex group field for the Curve, Lattice,
Armature and Hook modifiers, and the flag field for the Mirror modifier. These
modifiers should all be copied correctly now.

This fix also means that converting modifiers to mesh with Alt-C now works
correctly (the convertmenu function copies the modifers before applying them,
so it wasn't always giving correct results for the above modifiers before).

The convertmenu function has also been changed to use DM_to_mesh instead of
converting to DispListMesh and using displistmesh_to_mesh, which means that
extra mesh data such as dverts is preserved.

------------------------------------------------------------------------
r8456 | sirdude | 2006-09-07 20:09:55 +0200 (Thu, 07 Sep 2006) | 5 lines


Updated boolop Makefile so that it can find various headers it needs now.

Kent

------------------------------------------------------------------------
r8455 | khughes | 2006-09-07 19:22:57 +0200 (Thu, 07 Sep 2006) | 11 lines



===Tools===
Experimental boolean tool optimization: for very large meshes a significant
amount of time is spend performing linear searches of edges.  This patch
implements a "hash" table (really more of a bucket table) to narrow the
search space.

If someone should need to disable this, just remove the "#define HASH" at
the beginning of BOP_Mesh.h

------------------------------------------------------------------------
r8454 | campbellbarton | 2006-09-07 16:15:10 +0200 (Thu, 07 Sep 2006) | 2 lines

removed inverted and normalized from py scripts

------------------------------------------------------------------------
r8453 | blendix | 2006-09-07 11:17:06 +0200 (Thu, 07 Sep 2006) | 4 lines


- Bugfix: fake user button in the texture paint panel toggled the mesh
  datablock fake user.

------------------------------------------------------------------------
r8452 | blendix | 2006-09-07 10:15:15 +0200 (Thu, 07 Sep 2006) | 4 lines


Fix for bug #4966:
Texture painting handled non-planar quads incorrectly in some cases.

------------------------------------------------------------------------
r8451 | artificer | 2006-09-07 08:44:25 +0200 (Thu, 07 Sep 2006) | 16 lines


Two bugfixes.

My commit to fix weightpaint display (revision 1.125 of DerivedMesh.c) broke
normal recalculation for meshes which have only deform modifiers applied.
This commit fixes that by adding calls to CDDM_calc_normals in the appropriate
places.

The DM_from_template and DM_init functions checked for numVerts > 0 before
initialising the DerivedMesh's custom data layers. This was something of a
hack intended to allow DerivedMesh creation functions to initialise default
function pointers without initialising custom data layers (by passing a 0 for
the numVerts parameter). It is unneeded now that DM_init_funcs is present, and
causes memory deallocation warnings later on when the number of vertices
really is 0, so it has been removed.

------------------------------------------------------------------------
r8450 | schlaile | 2006-09-06 22:01:02 +0200 (Wed, 06 Sep 2006) | 4 lines

== ffmpeg makefiles ==

Make ffmpeg clean its object files correctly at "make clean"

------------------------------------------------------------------------
r8449 | blendix | 2006-09-06 21:13:23 +0200 (Wed, 06 Sep 2006) | 8 lines


Added support for threadsafe MEM_mallocN/MEM_freeN in the guardedalloc
module itself, replacing the special MEM_mallocT/MEM_freeT functions.
Mutex locking is only enabled when threads are running.

There was no good reason to have these separate, it just led to ugly
hacks when calling functions with non-threadsafe malloc from threads.

------------------------------------------------------------------------
r8448 | blendix | 2006-09-06 20:54:06 +0200 (Wed, 06 Sep 2006) | 5 lines


- Fix a display glitch with float image painting and undo.
- Fix a crash with float images texture mapped onto meshes, it didn't
  always do conversion from float to byte before uploading to OpenGL.

------------------------------------------------------------------------
r8447 | ton | 2006-09-06 19:32:53 +0200 (Wed, 06 Sep 2006) | 4 lines

Fix for new orco-tangent render option: then also 'orco' texture
coordinates should be calculated... it wouldn't work unless you assign
a texture to a Material using 'orco' map.

------------------------------------------------------------------------
r8446 | campbellbarton | 2006-09-06 15:15:05 +0200 (Wed, 06 Sep 2006) | 3 lines

Added tangent_v and tangent space modes to python material modes.
removed polyfill from Mathutils docs

------------------------------------------------------------------------
r8445 | ton | 2006-09-06 11:51:30 +0200 (Wed, 06 Sep 2006) | 19 lines

New feature: imporant missing option for use of Libraries: access to to the
file path where library is read from.

In Outliner, choose new view mode "Libraries". A ctrl+click on the library
name then allows to change the file name or path. Note that when you change
the file name, nothing is being re-read or re-linked. Only after saving the
.blend file and reading it back the new library is used.

This feature allows to cleanup library usage. You can make files relative,
or reorganize a project. Just keep in mind that you cannot use this feature
to fix .blend files that link to non-existing other files. That because the
lost data is actually not read at all, so cannot be saved either.

Currently, library errors are only printed in the console... quite
important to keep track of when using Libraries.

Implementation note: this Outliner view mode can become expanded to a full
"Database view", showing something similar as SHIFT+F4 databrowse does now.

------------------------------------------------------------------------
r8444 | ton | 2006-09-05 15:28:59 +0200 (Tue, 05 Sep 2006) | 9 lines

New stuff!

- Tangent vectors now can also be derived from orcos (No UV needed)
- Normalmaps now properly support tangent space as well
  (Patch provided by Alfredo de Greef)

Full log is here:
http://www.blender3d.org/cms/New_Render_features.774.0.html

------------------------------------------------------------------------
r8443 | artificer | 2006-09-05 15:15:55 +0200 (Tue, 05 Sep 2006) | 13 lines


Redesigned the EdgeSplit modifier's splitting algorithm to be better
structured and more maintainable. The old algorithm could leave the mesh in an
inconsistent state during recursive calls, making it quite fragile. The new
algorithm keeps the mesh in a consistent state, and should be more robust.

This commit fixes the issues EdgeSplit was having with non-manifold meshes
(bug #4946, also reported by several other people). EdgeSplit now works
correctly with all the test files I have.

This commit also fixes the BLI_ghash_remove function to correctly decrement
gh->nentries (the number of entries in the hashtable) on a successful removal.

------------------------------------------------------------------------
r8442 | jiri | 2006-09-05 11:28:46 +0200 (Tue, 05 Sep 2006) | 4 lines



 - bug fix: vertex and polygon layers needn't to exist in some situations

------------------------------------------------------------------------
r8441 | ton | 2006-09-05 10:38:30 +0200 (Tue, 05 Sep 2006) | 2 lines

Alignment of button "Auto tex space" broke with commit for vertex groups.

------------------------------------------------------------------------
r8440 | jesterking | 2006-09-05 10:36:42 +0200 (Tue, 05 Sep 2006) | 2 lines

* add missing WITH_BF_VERSE to config files for completeness. Reported by Emanuel Greisen.

------------------------------------------------------------------------
r8439 | campbellbarton | 2006-09-05 08:45:39 +0200 (Tue, 05 Sep 2006) | 6 lines

resolved invalid bounding box from the object by freeing a new meshes bounding box.

added back bound box constraint to obj import (many OBJs have values outside the defulat clipping range)

BPyRender.py was missing a flag assignment.

------------------------------------------------------------------------
r8438 | erwin | 2006-09-05 06:16:35 +0200 (Tue, 05 Sep 2006) | 2 lines

fixed bug in contact manifold generation, concave and compound objects require point with deepest penetration.

------------------------------------------------------------------------
r8437 | letterrip | 2006-09-04 23:33:02 +0200 (Mon, 04 Sep 2006) | 4 lines

==blender2cal3d update==

unneeded line in the script was keeping it from showing up in the menus

------------------------------------------------------------------------
r8436 | ton | 2006-09-04 16:43:31 +0200 (Mon, 04 Sep 2006) | 7 lines

Bug #4949

RVK sliders only worked up to 64 shape keys, above that internal memory
screwed up because it used a static array.
Should really be coded nicer once, until then I've moved the max to 256
and secured code that it doesn't draw sliders beyond 256.

------------------------------------------------------------------------
r8435 | ton | 2006-09-04 15:05:20 +0200 (Mon, 04 Sep 2006) | 4 lines

Bug #4958

Ipo Window, Shape keys, the colored 'select buttons' were off 1.

------------------------------------------------------------------------
r8434 | ton | 2006-09-04 14:48:25 +0200 (Mon, 04 Sep 2006) | 4 lines

Bug #4959

Ipo Window: hotkey for "Join" should be Cltr+J, no J.

------------------------------------------------------------------------
r8433 | campbellbarton | 2006-09-04 06:25:24 +0200 (Mon, 04 Sep 2006) | 2 lines

removing old obj importer

------------------------------------------------------------------------
r8432 | campbellbarton | 2006-09-04 06:23:55 +0200 (Mon, 04 Sep 2006) | 19 lines


rewrite of the obj importer,
The original obj importer was ok but it gradually got slower
as it had to support quirks of rare files.

This importer supports these quirks without bad workarounds and ~250 less lines.

* Moved from NMesh to Mesh
* Import smooth groups as hard edges
* Import Lines from sketchup (Thanks Wavk)
* Uses less memory
* faster (On a 70meg poser test model, benchmarked from 130sec to 41.2sec)

Not yet supported from the old importer-
* Scaling down to a bounding area
* Importing multiple obj's at once
* Using existing materials in the .blend
* Importing as a group instance.

------------------------------------------------------------------------
r8431 | ton | 2006-09-03 14:16:14 +0200 (Sun, 03 Sep 2006) | 33 lines

Animation department feature request: support for vertex groups in Lattices

In a quick glance: (temp image)
http://www.blender.org/bf/rt.png

Main reason is that Lattices are useful a lot for Armature deformation.
Lattices just provide much more precise and interesting control. However,
with only bone envelopes it's very hard to use.

Working with Lattice vertex groups is nearly identical to Mesh:
- on CTRL+P 'make parent' you can choose the deform option now
- In editmode, the buttons to control vertex groups are available
- In outliner you can select vertexgroups too
- Deforming Lattices with Armatures has all options as for Mesh now.

Note:
- No WeightPaint has been added yet. To compensate, the editmode
  drawing for a Lattice with vertex group shows weight values for the active
  vertex group.
- Lattice editmode doesn't undo/redo weight editing yet.
- Softbody for Lattice still uses own vertex weights

Implementation notes:
- derivedmesh weight_to_rgb() is now exported to drawobject.c
- been doing cleanups in code (order of includes, var declarations, etc)
- weightpaint button handling now is generic

I've checked on Brecht's proposal for Custom Element data;
http://mediawiki.blender.org/index.php/BlenderDev/CustomElementData
It could have been used, but that would mean the existing code for
vertexgroup handling and armature deform couldn't be re-used. I guess this
is really a later todo.

------------------------------------------------------------------------
r8430 | hos | 2006-09-02 00:00:29 +0200 (Sat, 02 Sep 2006) | 3 lines

'Better' cleaning for bullet (trickier to clean than most, since it is two
libraries split among many subdirectories).

------------------------------------------------------------------------
r8429 | jesterking | 2006-09-01 15:04:33 +0200 (Fri, 01 Sep 2006) | 2 lines

* add debug flag so debug symbols are actually created when doing a 'scons BF_DEBUG=1'

------------------------------------------------------------------------
r8428 | jesterking | 2006-09-01 09:06:55 +0200 (Fri, 01 Sep 2006) | 2 lines

* change Python version from 2.3 to 2.4, since it is a requirement for Blender anyway. Thanks to kalabalik for pointing out.

------------------------------------------------------------------------
r8427 | letterrip | 2006-08-31 20:08:39 +0200 (Thu, 31 Aug 2006) | 4 lines

==Collada scripts update==

updated Collada import and export to the latest version - adds support for mesh skinning , thanks Pieter Visser

------------------------------------------------------------------------
r8426 | blendix | 2006-08-31 20:03:42 +0200 (Thu, 31 Aug 2006) | 4 lines


Another struct in struct declartion in SDNA, also causing crashes.
Bug found and solved by Jens, thanks.

------------------------------------------------------------------------
r8425 | harkyman | 2006-08-31 18:30:14 +0200 (Thu, 31 Aug 2006) | 11 lines

Adds groupTarget get/setters to the NLA API. Takes an object and returns an
object. groupTarget tells the animation system which object within a
dupligroup should be used for NLA. Equivalent to filling in the "target"
field in the NLA N-key panel.

Set groupTarget to None to remove the target.

Also, cleaned up some bad copy and pastes in existing NLA docs.

Also, cleaned up some bad copy and pastes in existing NLA docs.

------------------------------------------------------------------------
r8424 | ton | 2006-08-31 12:36:45 +0200 (Thu, 31 Aug 2006) | 29 lines

Render feature request:

Auto-clip Lamp Buffer

Setting a good range for clipping start/end for Lamp buffers is important
for good quality shadow (depth details). That can be quite a hassle, when
many lamps or animated objects are involved.

This option allows to have the clipping range calculated based on the
visible vertices in the spotbundle. For clip start and clip end it can
be set individually. Typically the clip start defines quality most.

The shadow buffer 'bias' value is corrected for this automatic clipping
too, to ensure that ranges that differ give same biasing appearance.
(If this wasn't done, you would see lighted areas become darker or
lighter, or even artefacts, when the range changes suddenly

NOTE: since it only checks for vertices, be aware that large planes can
give errors.

Implementation note: zbuffer values are non-linear (1/z) because that
allows linear interpolation while filling scanlines. That's the main
reason for the precision to be highest close to the eye (or lamp).
It's even a useful feature, since you want details to be precise
when they're closeby.
Since these values are also in the -1 to 1 range, using floats here
wouldn't solve problems a lot. Maybe trying a 64 bits Z once might
be an interesting coding job.

------------------------------------------------------------------------
r8423 | campbellbarton | 2006-08-31 11:26:49 +0200 (Thu, 31 Aug 2006) | 2 lines

added .sel to pose bones as well as read only .parent property

------------------------------------------------------------------------
r8422 | campbellbarton | 2006-08-31 08:03:24 +0200 (Thu, 31 Aug 2006) | 5 lines

added the option to draw sharp edges.
had to make some room in the "Mesh Tools 1" panel,
removed "Center" - its alredy in the "Mesh Tools" panel, and grouped the "Normal" draw buttons.
At the moment mixing modes dosnt work, we will need to review this to see if its worth attempting.

------------------------------------------------------------------------
r8421 | erwin | 2006-08-31 00:35:03 +0200 (Thu, 31 Aug 2006) | 2 lines

updated aabb calculation

------------------------------------------------------------------------
r8420 | khughes | 2006-08-30 23:45:27 +0200 (Wed, 30 Aug 2006) | 7 lines



===Python API===
Fix uninitialized pointer bug in ActionStrips.remove(), caused by too zealous
code optimization and insufficnet gcc warning flags.  Thanks to Roland for
catching it.

------------------------------------------------------------------------
r8419 | harkyman | 2006-08-30 17:22:19 +0200 (Wed, 30 Aug 2006) | 5 lines

Adds toggle to Object API for enabling NLA animation versus active Action
animation. Object.enableNLAOverride=True sets to use NLA;
Object.enableNLAOverride=False sets to use active Action;
status=Object.enableNLAOverride shows current status

------------------------------------------------------------------------
r8418 | artificer | 2006-08-30 13:10:04 +0200 (Wed, 30 Aug 2006) | 11 lines


Fix for a bug where the Array modifier would freeze if it was set to "Fit To
Curve Length" or "Fixed Count" and the base mesh was scaled to 0 in edit mode
(could also happen while entering a numerical scale value like 0.25).

The problem was that the dist value could be almost 0, leading to a
ridiculously large duplicate count which would then cause memory allocation
to fail and the array modifier to get stuck in an almost infinite loop trying
to calculate the offset of the final copy. This commit fixes the problem
by checking that dist is greater than FLT_EPSILON before continuing.

------------------------------------------------------------------------
r8417 | jiri | 2006-08-30 12:55:46 +0200 (Wed, 30 Aug 2006) | 9 lines



 - bug fix: mesh object is created corectly after unsubscribing from
   geometry node
 - merged patch from Ben Batt, subsurf modifier still doesn't work ...
    I will add list of edges to VGeomData structure
 - added some missing derivedmesh methods after merging of ben's gsoc
   projects

------------------------------------------------------------------------
r8416 | ton | 2006-08-30 12:43:51 +0200 (Wed, 30 Aug 2006) | 6 lines

Fix for Brecht's commit to include the active Brush in ToolSettings, seems
to cause crashes on loading files.

Struct toolsettings was defined with a struct definition inside of a struct
definition... something I'm pretty sure our SNDA doesn't have support for.

------------------------------------------------------------------------
r8415 | artificer | 2006-08-30 11:23:36 +0200 (Wed, 30 Aug 2006) | 4 lines


Fixed a bug where applying a modifier to a Curve or Surface object did not
remove the modifier.

------------------------------------------------------------------------
r8414 | bjornmose | 2006-08-30 09:43:54 +0200 (Wed, 30 Aug 2006) | 2 lines

msvc6 still builds :)

------------------------------------------------------------------------
r8413 | artificer | 2006-08-30 09:35:19 +0200 (Wed, 30 Aug 2006) | 14 lines


Fix for bug #4912: Interface freeze with scaling object with subsurf + array
modifier.

The bug was caused by an endless loop in the Array modifier's calc_mapping
function. The loop worked under the assumption that there could not be sets
of vertices such that (for example) vertex A merges with vertex B and vertex
B merges with vertex A. As it turns out, this situation is possible, so the
loop got stuck going from A to B to A to B ad infinitum.

This commit fixes the problem by limiting the number of loop iterations with
the copy number for which the mapping is being calculated. This should also
give more correct results in general.

------------------------------------------------------------------------
r8412 | artificer | 2006-08-30 05:05:30 +0200 (Wed, 30 Aug 2006) | 8 lines


My modifier stack commit broke weightpaint display for meshes with TFace
data, due to the temporary "Weight-coloured" TFace data being replaced by
the original before displaying. This commit fixes that by changing the type
of DerivedMesh calculated by mesh_calc_modifiers when no non-deforming
modifiers are applied from MeshDerivedMesh (which depends on the original
Mesh) to CDDerivedMesh (which doesn't depend on the original Mesh).

------------------------------------------------------------------------
r8411 | erwin | 2006-08-30 01:27:27 +0200 (Wed, 30 Aug 2006) | 2 lines

Got a license from Intel for VTune, thanks! First performance analysis showed unexpected slowdown due to island management. Added path-compression to UnionFind, and iterate just over island-id's, rather then all objects, when filling islands.

------------------------------------------------------------------------
r8410 | khughes | 2006-08-30 01:24:57 +0200 (Wed, 30 Aug 2006) | 15 lines



Possible bugfix: change on Aug 20th added this code to filesel.c:

  if (!G.relbase_valid) {
    okee("You have to save the .blend file before using relative paths! Using absolute path instead.");
    sfile->flag & ~FILE_STRINGCODE;
  }

I assume the code should read:

    sfile->flag &= ~FILE_STRINGCODE;

Andrea: please double-check.

------------------------------------------------------------------------
r8409 | campbellbarton | 2006-08-30 01:05:13 +0200 (Wed, 30 Aug 2006) | 2 lines

Silly mistake, made adding edges raise an exception.

------------------------------------------------------------------------
r8408 | desoto | 2006-08-30 00:16:34 +0200 (Wed, 30 Aug 2006) | 2 lines

Critical typo identified by a co-worker of Klowner (reported on IRC)

------------------------------------------------------------------------
r8407 | ton | 2006-08-29 16:32:06 +0200 (Tue, 29 Aug 2006) | 7 lines

Patch #4199 (by David Millán, rewritte though)

Compositor: Rotate Node
It only delivers RGBA buffers for now. Also Image size is unaltered, so
parts get cropped away. Doesn't work with translation Node before this
node yet.

------------------------------------------------------------------------
r8406 | artificer | 2006-08-29 14:49:49 +0200 (Tue, 29 Aug 2006) | 4 lines


Disabled some unused debugging functions that were causing unnecessary
compile warnings.

------------------------------------------------------------------------
r8405 | ton | 2006-08-29 12:27:48 +0200 (Tue, 29 Aug 2006) | 11 lines

Recoded version of patch #4273, submitted by Daniel Genrich

This provides a weight-paint option that only paints on vertices that have
already the weight-group assigned before. The default adds weights on all
vertices painted on.

Fixes in patch include:
- much less code
- also support for 'filter' mode
- proper code styling

------------------------------------------------------------------------
r8404 | campbellbarton | 2006-08-29 12:04:10 +0200 (Tue, 29 Aug 2006) | 2 lines

added sharp edge to python edge flags

------------------------------------------------------------------------
r8403 | campbellbarton | 2006-08-29 11:43:38 +0200 (Tue, 29 Aug 2006) | 3 lines

Improved tri to quad converting.
added include to poseobject.c

------------------------------------------------------------------------
r8402 | campbellbarton | 2006-08-29 08:04:10 +0200 (Tue, 29 Aug 2006) | 3 lines

Commented out user incrementing while linking to a scene while testing that I forgot to remove.
also shut GCC // comments to /**/

------------------------------------------------------------------------
r8401 | artificer | 2006-08-29 02:50:00 +0200 (Tue, 29 Aug 2006) | 6 lines


Changed the Displace modifier to calculate the intensity of a texture from
RGB values if they are returned by the texture function. This fixes an issue
reported by several people where Image textures gave no displacement unless
CalcAlpha was turned on.

------------------------------------------------------------------------
r8400 | artificer | 2006-08-28 23:56:58 +0200 (Mon, 28 Aug 2006) | 7 lines


Added a VGroup input to the Armature modifier. This allows the user to specify
a vertex group which will modulate the influence of all bones in the armature.

This commit also tidies up the height of the modifier panels; they should all
have the same size margin now.

------------------------------------------------------------------------
r8399 | artificer | 2006-08-28 18:22:55 +0200 (Mon, 28 Aug 2006) | 5 lines


Added a BKE_bad_level_calls.h stub for NewBooleanDerivedMesh(). This fixes the
"undefined reference to NewBooleanDerivedMesh" error when building with make
(reported on IRC by Desoto, confirmed by Genscher2).

------------------------------------------------------------------------
r8398 | campbellbarton | 2006-08-28 15:53:45 +0200 (Mon, 28 Aug 2006) | 2 lines

old patch for palifimos guys, extra options to selects which constraints to copy with the pose bones.

------------------------------------------------------------------------
r8397 | ton | 2006-08-28 11:30:33 +0200 (Mon, 28 Aug 2006) | 5 lines

bugfix #4812

Quicktime reading for Macs: code that converted ARGB to RGBA was endian
sensitive. Didn't work for Mac intel systems.

------------------------------------------------------------------------
r8396 | jesterking | 2006-08-28 10:52:39 +0200 (Mon, 28 Aug 2006) | 7 lines

Patch #4043 Bullet scons fix (Joseph Eagar, aka joeedh)

* This is a simplified SConscript for Bullet building. It should keep itself better
 up-to-date since it uses env.Glob(). Tested to work on Linux and Windows (both mingw and vc)

/Nathan

------------------------------------------------------------------------
r8395 | erwin | 2006-08-28 08:44:29 +0200 (Mon, 28 Aug 2006) | 2 lines

upgraded Bullet rigidbody physics to latest version 1.9

------------------------------------------------------------------------
r8394 | khughes | 2006-08-28 06:44:16 +0200 (Mon, 28 Aug 2006) | 15 lines



===Python API===
New API for accessing surface data (SurbNurb type).  Right now it's hooked in
through the Curve API, since Curve.Get() doesn't differentiate between curves
and surfaces.  If the curve object is 2D (pntsv > 1), the SurfNurb object is
created.

It is similar to the CurNurb type but not identical.  There are only
attributes and no methods yet, and the only methods which will be added are
the non-getStuff/setStuff kind.  Read the documentation to see how it works
(sorry, no examples yet).

This is a work in progress.  Don't be surprised if the API changes some more.

------------------------------------------------------------------------
r8393 | campbellbarton | 2006-08-28 05:14:54 +0200 (Mon, 28 Aug 2006) | 2 lines

fixed a crash in selecting edges based on face angle with some hidden edges.

------------------------------------------------------------------------
r8392 | artificer | 2006-08-28 03:12:36 +0200 (Mon, 28 Aug 2006) | 20 lines


Integration of the Google Summer of Code Modifier Stack Upgrade project. The
main features are:
* Modifiers can now be in any order in the modifier stack
* DerivedMesh now has a standard framework for custom element data to be passed
  through the stack with mesh data (being copied and interpolated as
  appropriate), so modifiers can access whatever data they need
* The modifier stack code has been refactored and a number of bugs have been
  removed
* The EdgeSplit modifier has been added:
  http://mediawiki.blender.org/index.php/BlenderDev/EdgeSplitModifier
* The DerivedMesh modifier has been added:
  http://mediawiki.blender.org/index.php/BlenderDev/DisplaceModifier
* The UVProject modifier has been added:
  http://mediawiki.blender.org/index.php/BlenderDev/UVProjectModifier

For more info, see:
http://mediawiki.blender.org/index.php/User:Artificer/ModifierStackUpgrade
(currently undergoing reorganisation)

------------------------------------------------------------------------
r8391 | campbellbarton | 2006-08-27 18:27:34 +0200 (Sun, 27 Aug 2006) | 3 lines

Added scn.objects.new(obbdata) as a way of adding object data to a scene and createing the object data at once.
This functionality will probably be moved later on after discussion.

------------------------------------------------------------------------
r8390 | blendix | 2006-08-27 15:29:00 +0200 (Sun, 27 Aug 2006) | 12 lines


Texturepaint now supports all the imagepaint brush settings, with the
exception of the clone tool.

One level undo for image- and texturepaint, only storing those tiles
that changed.

Test to improve texturepaint performance using glTexSubImage2D, only
enabled with 2^n sized textures and mipmapping off. Painting a 2048x2048
texture is then pretty smooth here, as long as the geometry is not too
complex.

------------------------------------------------------------------------
r8389 | blendix | 2006-08-27 15:03:23 +0200 (Sun, 27 Aug 2006) | 4 lines


Bugfix: selection in the sequencer with RMB emulation on Mac OS X
always worked as if shift was pressed.

------------------------------------------------------------------------
r8388 | ton | 2006-08-27 14:27:21 +0200 (Sun, 27 Aug 2006) | 6 lines

Bugfix #4935

July 10 commit accidentally included a testing line for a selection debug
session in IRC... that line saved a /tmp/rt.png file on each border select
in EditMode with 'visible selection' on.

------------------------------------------------------------------------
r8387 | ton | 2006-08-27 13:55:32 +0200 (Sun, 27 Aug 2006) | 10 lines

Bugfix #4923

Particle distribution error when using Vertex Weights.
In the unlucky case the last face in a Mesh has no weight (zero), the code
that tries to distribute particles evenly accidentally could assign it
still a particle, because of the 'remainder' calculus.

Also only happens in cases where the remainder has a value.
So a workaround is also to increase/decrease amount of particles.

------------------------------------------------------------------------
r8386 | campbellbarton | 2006-08-26 18:01:25 +0200 (Sat, 26 Aug 2006) | 2 lines

errorin mathutils docs, rowSize not rowsize same with colSize

------------------------------------------------------------------------
r8385 | campbellbarton | 2006-08-26 11:53:26 +0200 (Sat, 26 Aug 2006) | 2 lines

Added a new iterator type to the scene - scene.objects should eventualy be used in place of scene.getChildren() and linking objects to the scene.

------------------------------------------------------------------------
r8384 | campbellbarton | 2006-08-26 09:26:04 +0200 (Sat, 26 Aug 2006) | 3 lines

Metaball wasnt checking the length of any of the input arg lists which resulted in errors in unrelated parts of the script.
Updated the doc too and added a longer example (converting an envalope armature into a meta object)

------------------------------------------------------------------------
r8383 | campbellbarton | 2006-08-26 07:40:58 +0200 (Sat, 26 Aug 2006) | 2 lines

added tipRadius and headRadius bone properties

------------------------------------------------------------------------
r8382 | campbellbarton | 2006-08-26 05:18:55 +0200 (Sat, 26 Aug 2006) | 3 lines

Added missing settings to Modifiers (could not set on Render/Cage/Editmode :/)
added GPL header to Group.c

------------------------------------------------------------------------
r8381 | campbellbarton | 2006-08-25 20:05:05 +0200 (Fri, 25 Aug 2006) | 2 lines

cleanup and some speedups with assigning materials

------------------------------------------------------------------------
r8380 | khughes | 2006-08-25 18:01:16 +0200 (Fri, 25 Aug 2006) | 8 lines



===Python API===
More additions for Mesh.faces.extend(); allow faces with 2 verts or duplicate
verts to remain in the input list (although they are still not added to the
mesh) so that indexList option can return None for them.  The goal is for all
faces which are discarded to still be ignored but return None.

------------------------------------------------------------------------
r8379 | campbellbarton | 2006-08-25 11:10:06 +0200 (Fri, 25 Aug 2006) | 5 lines

simplified 3ds mesh importing by storing verts and faces in a list rather then a mesh, before making the final mesh
also make use of meshes faces.extend() indexList option- which means lots of checking can be removed.

indexList is not relyable at the moment so some files wont import but this will be fixed.

------------------------------------------------------------------------
r8378 | khughes | 2006-08-24 22:02:22 +0200 (Thu, 24 Aug 2006) | 11 lines



===Python API===
New keyword parameters for Mesh.faces.extend() method:
  * ignoreDups: turns off checks for duplicate faces in the input list and
    existing mesh faces.  Intended for constructing new meshes where the
    faces are known to be unique.
  * indexList: makes the method return a list of new faces indices, which
    can be used to index new faces to add other attributes like color.  If
    duplicate faces are removed, None is placed in their list slot.

------------------------------------------------------------------------
r8377 | khughes | 2006-08-24 21:28:36 +0200 (Thu, 24 Aug 2006) | 6 lines



===Python API===
Bugfix: Mesh.faces.extend() would incorrectly add duplicate faces in some
circumstances.

------------------------------------------------------------------------
r8376 | letterrip | 2006-08-24 21:21:14 +0200 (Thu, 24 Aug 2006) | 4 lines

==Collada scripts update==

updated Collada import and export to the latest version - bugfixes Polylist and Materials Transparency , thanks Pieter Visser

------------------------------------------------------------------------
r8375 | letterrip | 2006-08-24 04:34:01 +0200 (Thu, 24 Aug 2006) | 4 lines

==Collada scripts update==

updated Collada import and export to the latest version - bugfixes + preliminary armature export support, thanks Pieter Visser

------------------------------------------------------------------------
r8374 | khughes | 2006-08-23 02:42:48 +0200 (Wed, 23 Aug 2006) | 4 lines



Bugfix: structure declaration in the middle of code was breaking compilation.

------------------------------------------------------------------------
r8373 | khughes | 2006-08-22 20:08:57 +0200 (Tue, 22 Aug 2006) | 6 lines



===Python API===
Fix return value problem in Mesh_getFakeUsers(): compiler warning in this case
was indicating a real bug.

------------------------------------------------------------------------
r8372 | hos | 2006-08-22 15:19:59 +0200 (Tue, 22 Aug 2006) | 3 lines

Stubs for verse (maybe the verse files should be moved from src/
to blenkernel/intern/ ?)

------------------------------------------------------------------------
r8371 | jesterking | 2006-08-22 15:04:07 +0200 (Tue, 22 Aug 2006) | 11 lines

* Patch #4909 by Joseph Eagar (joeedh)

  - this patch adds verse support for SCons, which can be enabled by
    giving WITH_BF_VERSE=1, ie. on command-line
  - this patch also adds a custom lib dir possibility. From the patch description:


 "To set a custom ../lib dir, put LCGDIR="path to lib dir, including the platform folder name!" in your user-config.py."

* Fixed win32-vc-config.py so that it links to the proper library. Reported by Brandano.

------------------------------------------------------------------------
r8370 | n_t | 2006-08-22 13:18:00 +0200 (Tue, 22 Aug 2006) | 8 lines

- modified patch #4681, for scons compiling
  of the fluidsim can now be disabled with the
	flag: BF_NO_ELBEEM='true', e.g. for irix systems.
	(The number of ifdefs from the original
	patch was reduced, and the defines are now
	only necessary when elbeem is switched off.)
- particle generation option is available again

------------------------------------------------------------------------
r8369 | jiri | 2006-08-22 13:10:31 +0200 (Tue, 22 Aug 2006) | 4 lines



 - bug fix of verse server and verse library backported from verse cvs

------------------------------------------------------------------------
r8368 | n_t | 2006-08-22 12:45:19 +0200 (Tue, 22 Aug 2006) | 5 lines

elbeem update:
- slightly improved and optimized
  handling of moving obstacles
- cleanup of debug messages and minor fixes

------------------------------------------------------------------------
r8367 | campbellbarton | 2006-08-22 11:13:44 +0200 (Tue, 22 Aug 2006) | 3 lines

added fakeUser property to mesh (will need to add to all other library datablocks too)
and added __copy__ to quat and euler types as well as updating the docs.

------------------------------------------------------------------------
r8366 | khughes | 2006-08-21 21:11:43 +0200 (Mon, 21 Aug 2006) | 5 lines



===Python API===
Fix various typos in Modifier, IpoCurve and Armature docs.

------------------------------------------------------------------------
r8365 | khughes | 2006-08-21 16:36:11 +0200 (Mon, 21 Aug 2006) | 6 lines



===Python API===
Bugfix: unary minus on a point object should not modify the original point
data but return a new point.

------------------------------------------------------------------------
r8364 | jiri | 2006-08-21 16:22:08 +0200 (Mon, 21 Aug 2006) | 5 lines



 - uncommit my personal hack of nan_compile.mk, which came to cvs with
   huge commit of verse ... this shouldn't be there, I'm sorry

------------------------------------------------------------------------
r8363 | campbellbarton | 2006-08-21 15:52:32 +0200 (Mon, 21 Aug 2006) | 17 lines

removed the unpopular 'ed' functions, and added .copy() to Mathutils vector and matrix
(inverted, normalized, transposed)

making an inverted copy of an objects matrix used to be.. (2.42)

  imat= Mathutils.Matrix(ob.matrixWorld)
  imat.invert()


# inverted.. I added but now removed

  imat= ob.matrixWorld.inverted()

# with copy (current functionality)...

  imat= ob.matrixWorld.copy().invert()

------------------------------------------------------------------------
r8362 | jiri | 2006-08-21 15:19:18 +0200 (Mon, 21 Aug 2006) | 6 lines



 - bug fix, bug reported by Campbel, thanks! Keep in mind, that integration
   of verse supports only sharing of mesh geometry now, you can't share
   vertex color, vertex weight, etc.

------------------------------------------------------------------------
r8361 | ton | 2006-08-21 12:27:17 +0200 (Mon, 21 Aug 2006) | 6 lines

Two small fixes for armature editing:

- CTRL+Click bones in editmode gave too small envelope distances (was 0.1
  instead of 0.25*bone->length)
- PoseMode: ALT+S in Envelope drawmode only scaled the Parent Bone(s).

------------------------------------------------------------------------
r8360 | jiri | 2006-08-20 18:09:03 +0200 (Sun, 20 Aug 2006) | 4 lines



 added verse library (release r6) to extern directory

------------------------------------------------------------------------
r8359 | jiri | 2006-08-20 17:22:56 +0200 (Sun, 20 Aug 2006) | 14 lines



Huge commit: VERSE
 - All code is in #ifdef ... #endif
 - Only make build system is supported and you have to add:
    export WITH_VERSE=true
   to user-def.mk file
 - Blender can share only mesh objects and bitmaps now
 - More informations can be found at wiki:
    http://mediawiki.blender.org/index.php/BlenderDev/VerseIntegrationToBlender
    http://mediawiki.blender.org/index.php/BlenderDev/VerseIntegrationToBlenderUserDoc

  I hope, that I didn't forget at anything

------------------------------------------------------------------------
r8358 | elubie | 2006-08-20 16:41:13 +0200 (Sun, 20 Aug 2006) | 16 lines

Fixes for:
[ #4337 ] Cant refresh the C:\
[ #4710 ] Wrong paths in file selector under user prefs
[ #4353 ] Using ^ char + click on Open/Load = Blender crash

Details:

Fixes for root paths like C:\ on Windows, where Blender still used '/'.

Also contains fixes for relative paths:
- no relative paths for the default dirs (forced to absolute)
- message if using relative paths when .blend file hasn't been saved.

Lastly also added '.' for refresh in root paths. Windows
FindFirstFile/FindNextFile also return '.' and '..', but not in root paths like C:\

------------------------------------------------------------------------
r8357 | ton | 2006-08-20 14:38:06 +0200 (Sun, 20 Aug 2006) | 8 lines

Fixing stuff without using brains... shouldn't do that too often! :)

This fixes my commit of august 13th, that cleaned up the code for
drawing optional buttons for Constraint targets.
Now, Bone target buttons are corectly drawn, when a target is Armature.

(also bug report #4907)

------------------------------------------------------------------------
r8356 | ton | 2006-08-20 13:45:27 +0200 (Sun, 20 Aug 2006) | 2 lines

Commit of 2006/08/18, in compositor, had a debug print in armature...

------------------------------------------------------------------------
r8355 | ton | 2006-08-20 13:02:31 +0200 (Sun, 20 Aug 2006) | 5 lines

Bugfix #4906

Python API bug: Importing ipo curves did a memcpy() on a 1 item too large
data block. I wonder how IpoCurve_append() would have ever worked...

------------------------------------------------------------------------
r8354 | ton | 2006-08-20 12:18:01 +0200 (Sun, 20 Aug 2006) | 9 lines

Bugfix #4892

Compositor: Image nodes used for Movie files didn't convert the relative
paths (if used), so it could not load the movie file.

This bug explains why sometimes movies worked in the Compositor... so for
the current release the bypass is to disable the "Relative" button in the
File Window.

------------------------------------------------------------------------
r8353 | elubie | 2006-08-19 16:22:36 +0200 (Sat, 19 Aug 2006) | 5 lines

=== MSVC 7 project files ===
maintenance work: removed img module following the other build systems
due to this commit:
http://projects.blender.org/pipermail/bf-blender-cvs/2006-July/007415.html

------------------------------------------------------------------------
r8352 | campbellbarton | 2006-08-19 13:00:11 +0200 (Sat, 19 Aug 2006) | 3 lines


Added another example for Curve in the epy docs

------------------------------------------------------------------------
r8351 | broken | 2006-08-19 08:44:29 +0200 (Sat, 19 Aug 2006) | 3 lines

Fix: Previous check for front and back filling when using fattened curves was
too strict and ignored bevel objects. Fixed this.

------------------------------------------------------------------------
r8350 | ton | 2006-08-18 10:16:34 +0200 (Fri, 18 Aug 2006) | 6 lines

Plumiferos bugreport:

The Blur node didn't pass on a buffer when the 'factor' value was not
exactly zero. Tiny values (like 0.0000001) or even negative ones were
still handled by the blur code.

------------------------------------------------------------------------
r8349 | briggs | 2006-08-18 08:08:21 +0200 (Fri, 18 Aug 2006) | 4 lines

-> Adjustable Tolerance for Knife Exact Snapping

Vertex Snapping for 'Knife Exact' tool was originally set at 75 pixels. Now its adjustable via the 'threshold' value in the editing context of the buttons window. I also changed the tooltip to reflect this.

------------------------------------------------------------------------
r8348 | campbellbarton | 2006-08-18 03:56:18 +0200 (Fri, 18 Aug 2006) | 2 lines

Added an example to Modifer.py epy docs

------------------------------------------------------------------------
r8347 | sirdude | 2006-08-18 01:52:58 +0200 (Fri, 18 Aug 2006) | 7 lines



fix case on a header.  (seems odd that it wasn't caught before but
is consitant with rest of file, so I feel pretty safe commiting it.

Kent

------------------------------------------------------------------------
r8346 | khughes | 2006-08-17 23:39:49 +0200 (Thu, 17 Aug 2006) | 5 lines



===Python API===
Patch from jms: adds attributes effect.disp and effect.staticStep.

------------------------------------------------------------------------
r8345 | khughes | 2006-08-17 23:36:56 +0200 (Thu, 17 Aug 2006) | 6 lines



===Python API===
Bugfix #4886: deleting a bone would disconnect bones when it shouldn't have.
Thanks to Michael Ward (easybreasy) for locating the problem.

------------------------------------------------------------------------
r8344 | bjornmose | 2006-08-17 09:45:41 +0200 (Thu, 17 Aug 2006) | 2 lines

keeping up MSVC6 project build

------------------------------------------------------------------------
r8343 | campbellbarton | 2006-08-17 09:14:29 +0200 (Thu, 17 Aug 2006) | 2 lines

Added Armature.New()

------------------------------------------------------------------------
r8342 | sirdude | 2006-08-16 22:47:54 +0200 (Wed, 16 Aug 2006) | 8 lines



Changed previous commit.
Brings it more inline with the rest of blender as far as international
optinality goes...

Kent

------------------------------------------------------------------------
r8341 | khughes | 2006-08-16 21:20:37 +0200 (Wed, 16 Aug 2006) | 5 lines



===Python API===
Patch to Mesh and NMesh APIs to bring FaceModes dict into sync (thanks jms).

------------------------------------------------------------------------
r8340 | sirdude | 2006-08-16 20:14:42 +0200 (Wed, 16 Aug 2006) | 6 lines



added missing #ifdef INTERNATIONAL around:     refresh_interface_font();

Kent

------------------------------------------------------------------------
r8339 | campbellbarton | 2006-08-16 16:06:24 +0200 (Wed, 16 Aug 2006) | 2 lines

Added python __copy__ to Camera, Lattice, Metaball and World.

------------------------------------------------------------------------
r8338 | campbellbarton | 2006-08-16 08:19:08 +0200 (Wed, 16 Aug 2006) | 2 lines

Object.c - Fixed dupli variable flags

------------------------------------------------------------------------
r8337 | hos | 2006-08-16 03:06:38 +0200 (Wed, 16 Aug 2006) | 4 lines

A mesh from the Blender python Mesh module can sometimes have
a materials array with entries that are 'None'. Added some code
to check for this perverse situation.

------------------------------------------------------------------------
r8336 | ton | 2006-08-15 15:30:06 +0200 (Tue, 15 Aug 2006) | 5 lines

Bugfix #4890

Driver relations for Constraints (in Actions, Armatures) were not in
depsgraph yet.

------------------------------------------------------------------------
r8335 | khughes | 2006-08-15 15:16:10 +0200 (Tue, 15 Aug 2006) | 5 lines



===Python API===
Change documentation of ProtectFlags dictionary from SIZE to SCALE.

------------------------------------------------------------------------
r8334 | ton | 2006-08-15 13:33:00 +0200 (Tue, 15 Aug 2006) | 8 lines

Bugfix #4857

Boundbox code for display lists lacked a check for empty Curve/Surface
objects, causing a boundbox to be giant (initialized huge values). That
frustrates code like 'view3d home', or 'centered object view'.

(Commit in view.c is only a little bit code cleanup)

------------------------------------------------------------------------
r8333 | campbellbarton | 2006-08-15 13:24:08 +0200 (Tue, 15 Aug 2006) | 2 lines

Added __copy__ to armature, material, curve, group

------------------------------------------------------------------------
r8332 | jiri | 2006-08-15 13:06:00 +0200 (Tue, 15 Aug 2006) | 4 lines



 - updated python api doc string for Object_SetDrawMode()

------------------------------------------------------------------------
r8331 | ton | 2006-08-15 11:41:33 +0200 (Tue, 15 Aug 2006) | 8 lines

Fix for issue found in IRC:

The Object Buttons, Constraint panel, didn't show Object constraints for
armatures when Armature was not in PoseMode. It was always drawing the
constraints for the active Bone...
Solved with a decent check in beginning of function, and have all types
use that.

------------------------------------------------------------------------
r8330 | ton | 2006-08-15 10:56:48 +0200 (Tue, 15 Aug 2006) | 7 lines

Bugfix #4806

Reports came in that Elephants Dream files crash on quit or loading other
files. Was caused by freeing Material Nodes, which was accessing memory
that potentially was just freed before (node->id). Apparently only Windows
really gives issues then, which is actually a good thing :)

------------------------------------------------------------------------
r8329 | campbellbarton | 2006-08-15 08:27:33 +0200 (Tue, 15 Aug 2006) | 5 lines

improved TexMesh tooltip, always wondered what it did until recently.
was "Enter the name of a MeshBlock"
now "Derive texture coordinates from another mesh."
Also changed amb occusion tooltip.

------------------------------------------------------------------------
r8328 | campbellbarton | 2006-08-15 08:12:55 +0200 (Tue, 15 Aug 2006) | 2 lines

fixed a problem with UV coords and vert col's when reducing the mesh.

------------------------------------------------------------------------
r8327 | khughes | 2006-08-14 20:01:28 +0200 (Mon, 14 Aug 2006) | 8 lines



===Python API===
Long-awaited refactor of Object module.  Should not break backward
compatibility -- at least it didn't in my tests -- but I'm requesting users
to put it through heavier testing and report problems through the bug
tracker.

------------------------------------------------------------------------
r8326 | sirdude | 2006-08-14 19:16:51 +0200 (Mon, 14 Aug 2006) | 12 lines



was:
	BF_FFMPEG_LIBPATH =  '$(BF_FFMPEG)/lib'
Needs to be:
	BF_FFMPEG_LIBPATH =  '${BF_FFMPEG}/lib'

There are some commented out ones that should maybe be switched as well
so it doesn't happen again but this fixes the problem for now :)

Kent

------------------------------------------------------------------------
r8325 | khughes | 2006-08-14 18:29:11 +0200 (Mon, 14 Aug 2006) | 5 lines



===Python API===
Fix compiler warnings in Sound.c and Effect.c.

------------------------------------------------------------------------
r8324 | ton | 2006-08-14 15:41:22 +0200 (Mon, 14 Aug 2006) | 7 lines

Bugfix #4798

Envmap type "Load" didn't work when a new envmap was created for this
type. Seemed to be a very old issue...

Todo still: previews skip envmap...

------------------------------------------------------------------------
r8323 | jesterking | 2006-08-14 14:47:13 +0200 (Mon, 14 Aug 2006) | 4 lines

[ #4035 ] patch to make scons compile with ffmpeg in mingw

Submitted by Joseph Eagar (joeedh). windows/gcc ffmpeg library may need recompiling to support all codecs necessary (ie. H264 doesn't work).

------------------------------------------------------------------------
r8322 | artificer | 2006-08-13 17:23:57 +0200 (Sun, 13 Aug 2006) | 3 lines


Patch #4751 - Array modifier merge segfault fix.

------------------------------------------------------------------------
r8321 | artificer | 2006-08-13 16:59:05 +0200 (Sun, 13 Aug 2006) | 6 lines


Fix for bug #4825 - array modifier crashes blender.

Some faces were not being checked for vertex indices of 0 before remapping,
leading to bad remapping and screwed up output meshes.

------------------------------------------------------------------------
r8320 | theeth | 2006-08-13 16:18:15 +0200 (Sun, 13 Aug 2006) | 4 lines

Patch: Constraints to Limit Transforms (#4662) by Joshua Leung (aligorith)

This adds three new constraints to limit the range of location, rotation and scaling values.

------------------------------------------------------------------------
r8319 | guitargeek | 2006-08-13 14:49:31 +0200 (Sun, 13 Aug 2006) | 2 lines

unmixing code and var declarations.

------------------------------------------------------------------------
r8318 | broken | 2006-08-13 14:31:34 +0200 (Sun, 13 Aug 2006) | 2 lines

Added Xcode 2.3 project files

------------------------------------------------------------------------
r8317 | broken | 2006-08-13 14:01:07 +0200 (Sun, 13 Aug 2006) | 2 lines

* Added Shift MMB in the node editor to pan the backdrop image display

------------------------------------------------------------------------
r8316 | ton | 2006-08-13 13:11:22 +0200 (Sun, 13 Aug 2006) | 8 lines

Bugfix #4882

New toolsettings variable "select_thresh" was not initialized. This caused
the option "similar normals" to not work really (uses a dot product).

It now is initialized (scene.c) as well as corrected in do_versions for
saved files.

------------------------------------------------------------------------
r8315 | ton | 2006-08-13 12:16:07 +0200 (Sun, 13 Aug 2006) | 7 lines

Bugfix #4878

In UV-Face-select mode, a CTRL+click can activate a new Object but keeps the
UV-Face-select mode. This skips the initialization required for this mode,
causing a crash, so it better should end the mode.
(It used to work in past though...)

------------------------------------------------------------------------
r8314 | campbellbarton | 2006-08-13 12:13:19 +0200 (Sun, 13 Aug 2006) | 2 lines

Added .radius support for curves, and material's lightGroup

------------------------------------------------------------------------
r8313 | ton | 2006-08-13 12:03:07 +0200 (Sun, 13 Aug 2006) | 12 lines

Bugfix #4843 revisited

This is a new incarnation of compatible_eul(), a function called:

void Mat3ToCompatibleEul(float mat[][3], float *eul, float *oldrot)

It uses the two euler extraction methods as added by Brecht a while ago,
and checks for compatibility each, and then picks the best of the two
based on minimal difference with 'oldrot'.

Gives for rotation key inserting a much higher hitrate for OK eulers.

------------------------------------------------------------------------
r8312 | broken | 2006-08-13 10:31:59 +0200 (Sun, 13 Aug 2006) | 9 lines

* Fix: Disabled radius tapering on 2d curves with filled front or back. It would be
really cool to get this working solidly, but there are many potential problems with the
triangle face creation across the flat surfaces, especially when there are holes inside
the curves. Maybe this could be a fun project for someone better at this than I? :)
Taper object curves still cause similar problems...

* Made the curve radius affect the 'Nsize' curve normal drawing too, so you don't need a
bevel to see the value.

------------------------------------------------------------------------
r8311 | broken | 2006-08-13 09:37:51 +0200 (Sun, 13 Aug 2006) | 19 lines

* Shrink/Fatten for bevelled curves

This is a much faster and easier way to give a bevelled curve a taper, without
using taper curves. Each point on a curve now has a 'radius' value that you can
shrink and fatten using Alt S, which will influence the taper when the curve is
bevelled (either with a bevob, or with front/back turned off and a bevel dept
set). Alt S shrinks and fattens the selected points in an interactive transform,
and you can set an absolute radius for selected points with 'Set Radius' in the
curve specials menu.

See demo: http://mke3.net/blender/etc/curve_shrinkfatten-h264.mov

This can be a quick way to create revolved surfaces (eg.
http://mke3.net/blender/etc/wineglass-h264.mov ) and it would be very
interesting to use this radius value in other tools, such as a 'freehand curve'
tool that would let you draw a curve freehand, with the radius affected by pen
pressure, or even using the radius at each point to control curve guides for
particles more precisely, rather than the continous maxdist.

------------------------------------------------------------------------
r8310 | campbellbarton | 2006-08-13 03:51:47 +0200 (Sun, 13 Aug 2006) | 2 lines

added __copy__ to mesh and object types, fixed a monor bug in setTexMesh and made Mesh.c use G.totMesh properly.

------------------------------------------------------------------------
r8309 | ton | 2006-08-12 14:33:24 +0200 (Sat, 12 Aug 2006) | 6 lines

Bugfix #4872

Posemode, Wkey option "Select constraint target" did not work for Copy
Scale constraint.
Also added a check for NULL pointer, constraint targets cannot exist...

------------------------------------------------------------------------
r8308 | ton | 2006-08-12 13:27:00 +0200 (Sat, 12 Aug 2006) | 26 lines

Bugreport #4787 mentioned subpixel render issues, especially for small
images (like used for rendering icons).

When working during Orange on new render pipeline, I've left this topic
alone for a while... subpixel precision testing is very time consuming and
needs concentration for a while. :)

This commit brings back precision as it was for 2.41. Below a short
explanation of the solved issues.

- the window matrix for rendering is kept constant during all OSA passes,
  this to ensure clipping happens for each pass identically.
- a subpixel offset is only applied on filling in the z-buffer
- this offset is inverse corrected for shadepixel code, only on 2 places

Another nasty issue is that for filtered rendering (gauss etc), the tiles
(or entire image) is temporally increased 2 pixel in size. This caused a
'dark' (or sky color) edge on the rendering. During Orange that was solved
with a hardcoded clipping offset value, which only corrected for larger
pictures (like > 500 pixels in size).
Now this clipping offset is correctly calculated, based on render size.

Last issue: the view border in 3d window was calculated using integers,
giving small errors in display too. Now it uses float, so visually the
view border is more close to what a render shows.

------------------------------------------------------------------------
r8307 | briggs | 2006-08-12 05:32:08 +0200 (Sat, 12 Aug 2006) | 9 lines

-> Bugfix (again)

Didn't realize that LMB+ALT was used for middle mouse emulation. Changed
the vertex snap modifier key for knife tool to 'CTRL' and fixed problems
with the drawing of the header instructions.

Also changed color of the knife tool to match that of loopcut tool. This
is easier to see and more consistent from a UI standpoint as well.

------------------------------------------------------------------------
r8306 | ton | 2006-08-11 11:20:52 +0200 (Fri, 11 Aug 2006) | 9 lines

Bugfix 4865

Manipulator orientation tweak: when having multiple objects selected, the
orientation option "Local" was always skipped, showing it global. Now it
uses the orientation of the active object.

The bug reportor noticed a conflict with the "Around" option "Active". In
that case he expected the orientation to be from Active Object as well.

------------------------------------------------------------------------
r8305 | ton | 2006-08-11 11:09:50 +0200 (Fri, 11 Aug 2006) | 6 lines

Bugfix 4783

- draw-extra for Lamps did not follow selection color
- Surface objects were drawing curves always in unselected color, also its
  draw-extra options didn't follow selection color then

------------------------------------------------------------------------
r8304 | briggs | 2006-08-11 10:49:47 +0200 (Fri, 11 Aug 2006) | 5 lines

-> Bugfix

Fix for a silly bug introduced in previous commit due to overzealous
attempt at optimization.

------------------------------------------------------------------------
r8303 | briggs | 2006-08-11 09:24:33 +0200 (Fri, 11 Aug 2006) | 20 lines

-> Vertex support for knife tool

Previously the knife tool only allowed you to cut through edges. This
approach is limited however, since many times you want to cut through
vertices in order to create precise cuts or terminate a cut in a specific
way. Blenders knife tool now supports cutting through vertices as
demonstrated in these pictures:

http://briggs.zanqdo.com/newknife1.jpg
http://briggs.zanqdo.com/newknife2.jpg

Since the vertex intersection code is very precise, vertex snapping has
been added to the knife tool to assist the user when they wish to cut
through vertices and can be toggled by pressing and holding the 'alt' key.

Notes:
-Vertex cutting and vertex snapping are only available when using the
'knife exact' option.
-Added various fixes to the precision of the knife tool.

------------------------------------------------------------------------
r8302 | broken | 2006-08-11 02:26:35 +0200 (Fri, 11 Aug 2006) | 2 lines

Tiny header include fix for a warning I introduced earlier.

------------------------------------------------------------------------
r8301 | ton | 2006-08-10 15:48:04 +0200 (Thu, 10 Aug 2006) | 6 lines

Sequence render fix (report Johnny Matthews):

When a sequencer has mixed use of 32 bits and float images (note, Scene
strip returns float image too), the old 32 bits image should be freed,
otherwise it keeps saving that image.

------------------------------------------------------------------------
r8300 | ton | 2006-08-10 12:38:50 +0200 (Thu, 10 Aug 2006) | 12 lines

Compositor: finished work on node "File Output".

- It saves a file with indicated type on each change, with number
  appended denoting the current frame (like ANIM saving).
- Output filename button supports relative paths ("//")
- Shows optional preview image too
- For now, added a print on each file save as feedback

To make this option work nicely, changed the BKE_makepicstring() function
to have less globals inside, so it is more generic. Todo: allow amount of
digits in filenames to be set (to support files like tmp_123456.jpg)

------------------------------------------------------------------------
r8299 | ton | 2006-08-09 14:53:49 +0200 (Wed, 09 Aug 2006) | 5 lines

Bugfix #4810

Particle systems did not support "time offset" anymore, the varialble for
it in the object was cleared in build_particle_system() and never restored.

------------------------------------------------------------------------
r8298 | ton | 2006-08-09 14:36:28 +0200 (Wed, 09 Aug 2006) | 5 lines

Bugfix #4811

Videoscape export wrote color value wrong on little endian systems,
when no material was assigned to object (default color).

------------------------------------------------------------------------
r8297 | campbellbarton | 2006-08-09 13:39:35 +0200 (Wed, 09 Aug 2006) | 4 lines

Adding a cookie cutter that can cut multiple polyline meshes into multiple meshes into a mesh - allong the view axis.
leaving the faces inside the polyline selected.
UV's are maintained but not vertex colors at the moment.

------------------------------------------------------------------------
r8296 | ton | 2006-08-09 12:49:52 +0200 (Wed, 09 Aug 2006) | 8 lines

Bugfix #4830

Preview render in 3d window: when window type changes (like 3d window to
UV window), and you change the window size, and restore to 3d view, the
rendered preview had to be re-initialized.

texture.c: a return was added without value.

------------------------------------------------------------------------
r8295 | ton | 2006-08-09 12:00:27 +0200 (Wed, 09 Aug 2006) | 10 lines

Fixes I did before leaving to siggraph, couldn't commit it due to freeze:

- buffer overflow was possible with providing a file path argument longer
  than 256 characters.
- buttons "VCol Light" and "VCol Paint" were not mutual exclusive
- quicktime error menu (unable to create) had a enter in end
- deleting points in CurveMapping button (like Curves node in compositor)
  did not give proper recalc event
- edges render menu had a tooltip still mentioning the unified render

------------------------------------------------------------------------
r8294 | ton | 2006-08-09 11:56:27 +0200 (Wed, 09 Aug 2006) | 5 lines

Bugfix #4843

Added a call to compatible_eul() after applying camera rotation in fly,
this ensures you can insert rotation keys nicer.

------------------------------------------------------------------------
r8293 | ton | 2006-08-09 10:53:21 +0200 (Wed, 09 Aug 2006) | 5 lines

Bugfix #4847

Metaball editmode: when editing a linked duplicate, hiding a ball caused
a crash.

------------------------------------------------------------------------
r8292 | campbellbarton | 2006-08-09 03:53:34 +0200 (Wed, 09 Aug 2006) | 2 lines

Type in effect docs, edited some of the object docs also.

------------------------------------------------------------------------
r8291 | campbellbarton | 2006-08-09 03:37:17 +0200 (Wed, 09 Aug 2006) | 2 lines

Commiting JMS's patch for particles with modifications.

------------------------------------------------------------------------
r8290 | pidhash | 2006-08-08 19:07:39 +0200 (Tue, 08 Aug 2006) | 3 lines

fix for bug 4819
.

------------------------------------------------------------------------
r8289 | campbellbarton | 2006-08-08 16:34:38 +0200 (Tue, 08 Aug 2006) | 3 lines

Made RotationMatrix accept values outside 360,
added object.type to be used instead of .getType()

------------------------------------------------------------------------
r8288 | ton | 2006-08-08 14:56:44 +0200 (Tue, 08 Aug 2006) | 5 lines

Fix for Bugfix #4797

In revision 1.13 of pipeline.c a 'return' was added in middle of function,
skipping the free Imbuf.

------------------------------------------------------------------------
r8287 | letterrip | 2006-08-07 21:04:17 +0200 (Mon, 07 Aug 2006) | 4 lines

==unweld script update==

spelling and grammatical changes..

------------------------------------------------------------------------
r8286 | letterrip | 2006-08-07 20:40:58 +0200 (Mon, 07 Aug 2006) | 4 lines

==unweld script update==

unweld script updated by JMS, brings script in line with the draft scripting guidelines thanks

------------------------------------------------------------------------
r8285 | campbellbarton | 2006-08-07 00:47:57 +0200 (Mon, 07 Aug 2006) | 3 lines

Removed debug line added when testing for matrix memory leaks that messed up matrix.invert()
updated bvh import which was modified to account for that. as well as other minor changes.

------------------------------------------------------------------------
r8284 | letterrip | 2006-08-06 18:15:53 +0200 (Sun, 06 Aug 2006) | 4 lines

==Collada scripts update==

updated Collada import and export to the latest version, thanks Pieter Visser

------------------------------------------------------------------------
r8283 | campbellbarton | 2006-08-06 15:23:22 +0200 (Sun, 06 Aug 2006) | 3 lines

undid commit to stop overdrawing IPO verts, it assumed that ipo verts were in order which it seems there not. (only the IPO;s I tested with were)
Still might be worth looking into somehow not drawing all the points.

------------------------------------------------------------------------
r8282 | campbellbarton | 2006-08-06 13:32:12 +0200 (Sun, 06 Aug 2006) | 2 lines

added rotate 90d to obj export as default to match importer

------------------------------------------------------------------------
r8281 | campbellbarton | 2006-08-06 12:47:12 +0200 (Sun, 06 Aug 2006) | 2 lines

Added setName and setFilename as well as making name and filename writable.

------------------------------------------------------------------------
r8280 | campbellbarton | 2006-08-06 11:51:40 +0200 (Sun, 06 Aug 2006) | 2 lines

Made Font.c's pack/unpack work like Sound.c's

------------------------------------------------------------------------
r8279 | campbellbarton | 2006-08-06 09:34:25 +0200 (Sun, 06 Aug 2006) | 9 lines

modified Text3d.Font
* Renamed Text3d.Font.New() to Text3d.Font.Load() since New was acring like load anyway.
* Text3d.Font.Get() was just calling Text3d.Font.New(),
  made it get from a name or return a list of all fonts.
* implimenetd getsetattrs
* removed references to bones in the error messages
* added users variable
* renamed name to filename and added access to id.name

------------------------------------------------------------------------
r8278 | campbellbarton | 2006-08-05 06:30:59 +0200 (Sat, 05 Aug 2006) | 2 lines

dont draw IPO points outside the ipo view, avoid extra looping also.

------------------------------------------------------------------------
r8277 | sirdude | 2006-08-04 17:08:36 +0200 (Fri, 04 Aug 2006) | 16 lines



I Added a dummy Error Handler temporarly while it trys to
open the tablet and friends up....

Basically the issue this fixes is this.  On my linux machine at
work someone setup a generic xorg.conf file that defines all
kinds of devices (a tablet and other stuff) which are not on my
machine.  So blender was exiting when it tried to open the tablet
and failed.  Now it doesn't.... :)

I also did some very minor reformatting... (replaced parts that had spaces
with tabs)

Kent

------------------------------------------------------------------------
r8276 | campbellbarton | 2006-08-04 16:08:21 +0200 (Fri, 04 Aug 2006) | 4 lines

DNA_ipo_types.h comments only
other are changes so calchandles_ipocurve only calc handels on a bezier line.
This makes bvh import faster but should also speed up internal IPO operations.

------------------------------------------------------------------------
r8275 | campbellbarton | 2006-08-04 14:48:29 +0200 (Fri, 04 Aug 2006) | 3 lines

benchmark bvh output..
spellchecked/expanded comments in armature_symetry.py and tweaked functionality

------------------------------------------------------------------------
r8274 | campbellbarton | 2006-08-04 10:53:28 +0200 (Fri, 04 Aug 2006) | 2 lines

found that the rotation order is as defined in the BVH file, store and apply the rotations in this order.

------------------------------------------------------------------------
r8273 | broken | 2006-08-03 18:10:16 +0200 (Thu, 03 Aug 2006) | 2 lines

* Added tablet tilt data collection for X11

------------------------------------------------------------------------
r8272 | guitargeek | 2006-08-03 15:22:51 +0200 (Thu, 03 Aug 2006) | 4 lines

--Value Squeeze Node--

This material node takes an input value of any size and fits it to a sigmoid curve (value between 0 and 1) The width of the curve can set to make the sigmoid fall off faster (bigger number) or slower (smaller number) and the centerpoint (what value is mapped to 0.5) can be adjusted as well. Anyone smarter than me can feel free to tweak this and make it better.

------------------------------------------------------------------------
r8271 | broken | 2006-08-03 14:25:32 +0200 (Thu, 03 Aug 2006) | 2 lines

* Blender-side stuff for GHOST tablet pressure

------------------------------------------------------------------------
r8270 | broken | 2006-08-03 14:23:00 +0200 (Thu, 03 Aug 2006) | 19 lines

* Tablet Pressure support in GHOST

This is 'ported' from Nicholas Bishop's sculpting GSoC tree. I'm bringing it
over now so a) it can be there for when lukep does his GHOST refactor b) it's
something that GHOST should have anyway, particularly now there's interest in
painting tools and c) it's missing support in Windows, so hopefully now some
enterprising Windows coder can add that more easily in the main bf tree.

Right now X11 and Mac OS X are supported. I added and can maintain the Mac OS X
part, but I'm not familiar with the Xinput stuff, which Nicholas wrote. Both
X11 and Mac are collecting active device and pressure, and Mac is also
collecting x and y tilt data. Up to coders how they want to use this info! :)

Although the data's coming in, I haven't actually made this do anything. I
thought it best to leave it to brecht to figure out what he wants to do with the
painting stuff, and I wonder what other interesting uses there could be for it
(proportional edit?). I'll write implementation details in a separate mail to
the committers list.

------------------------------------------------------------------------
r8269 | sirdude | 2006-08-03 12:48:20 +0200 (Thu, 03 Aug 2006) | 16 lines



Solaris was still using compress for make release.
Everyone else was using gzip.  On the latest downloads many of them
are using bzip2, (I think everyone using scons)
So I decided to update make release so that everyone is using
gzip2.  I don't mean to step on anyones toes, I know at least some of
the platform maintainers do not use make though so feel free to change
it back and or to something different for your platform.

While I was at it I also changed default path of OPENEXR to /usr on linux.
Was suggested on mailing list by Matt.
(I'm pretty sure the linux maintainer is using scons)

Kent

------------------------------------------------------------------------
r8268 | campbellbarton | 2006-08-03 11:16:28 +0200 (Thu, 03 Aug 2006) | 2 lines

Option to support non standard BVH files. (alternate rotation order)

------------------------------------------------------------------------
r8267 | sirdude | 2006-08-03 04:46:37 +0200 (Thu, 03 Aug 2006) | 7 lines


Adds scons support for SunOS...
(I have one small problem with linking python's static library but
other than that this should work)

Kent

------------------------------------------------------------------------
r8266 | campbellbarton | 2006-08-02 23:43:45 +0200 (Wed, 02 Aug 2006) | 2 lines

materials should render after import without having to enable texface.

------------------------------------------------------------------------
r8265 | sirdude | 2006-08-02 19:29:34 +0200 (Wed, 02 Aug 2006) | 9 lines



renamed struct bNode->new  to struct bNode->new_node

so it doesn't conflict with c++
(Needed for SkyGen coded)

Kent

------------------------------------------------------------------------
r8264 | campbellbarton | 2006-08-02 06:40:50 +0200 (Wed, 02 Aug 2006) | 6 lines

Made this script test 4 different collapse locations and use the one that results in the least error.
locations are: smart, middle, v1, and v2
where smart is an attempt to generate a loc that will collapse without loosing volume.

This can now collapse a subdivided cube properly.

------------------------------------------------------------------------
r8263 | broken | 2006-08-02 03:27:57 +0200 (Wed, 02 Aug 2006) | 2 lines

* replaced round() with (int)(x + 0.5f) to help some compilers

------------------------------------------------------------------------
r8262 | campbellbarton | 2006-08-01 20:28:42 +0200 (Tue, 01 Aug 2006) | 9 lines


Mostly finished work on bvh import.
before funky stuff like IPO bezier curve fitting etc are added.

* Fixed problem with zero length bones being removed.
* Sped up import by writing to ipo curves rather then inserting keyframes
* detect linear rate of change and ommit unneeded ipo points.
* cleanup

------------------------------------------------------------------------
r8261 | campbellbarton | 2006-08-01 13:02:49 +0200 (Tue, 01 Aug 2006) | 2 lines

oops, missed bracket when pasting in.

------------------------------------------------------------------------
r8260 | campbellbarton | 2006-08-01 12:54:30 +0200 (Tue, 01 Aug 2006) | 2 lines

CKey centers the camera views camdx/y

------------------------------------------------------------------------
r8259 | campbellbarton | 2006-08-01 10:20:19 +0200 (Tue, 01 Aug 2006) | 3 lines

Adding back bvh2arm.py - There is a problem when working with BVH files (small but noticable rotation error)
but aparently its still usefull for empties and Jean assures me the bug will be fixed.

------------------------------------------------------------------------
r8258 | broken | 2006-08-01 03:12:01 +0200 (Tue, 01 Aug 2006) | 13 lines

Three shading nodes by Nathan 'Cessen' Vegdahl. He doesn't have any time at the
moment, but they can useful so rather than let them go to waste I've merged and
committed them.

* Camera Info
Input, just provides a view vector, view z depth, view distance

* Scalar Math
A bunch of various mathematical operations on values

* Vector Math
A bunch of various mathematical operations on vectors

------------------------------------------------------------------------
r8257 | ton | 2006-08-01 01:23:59 +0200 (Tue, 01 Aug 2006) | 3 lines

Bugfix in previous commit, could not use new backdrop feature without
having Viewer rendered already

------------------------------------------------------------------------
r8256 | ton | 2006-07-31 21:23:42 +0200 (Mon, 31 Jul 2006) | 12 lines

Siggraph show commit!

- pending commit for OSX intel systems, with intel graphics. These now call
  an extra swapbuffers after glFlush(). Code is ifdeffed, and doesnt affect
  other systems.

- show-off commit: option to have transparent nodes over the composite
  result. Only draws Image for active Viewer Node now, and image doesnt
  translate nor zoom (which isnt bad though).
  Set in themes the alpha color of "node backdrop" to make nodes
  transparent.

------------------------------------------------------------------------
r8255 | blendix | 2006-07-31 17:53:03 +0200 (Mon, 31 Jul 2006) | 14 lines


ImagePaint Refactoring:
- ImagePaint now uses ImBuf directly, and the rect blending functions
  were moved into the imbuf module.
- The brush spacing, timing and sampling was abstracted into brush.c, for
  later reuse in other paint modes.

Float ImagePaint support.

Textured Brushes:
- Only the first texture channel is used now.
- Options for size and offset should be added, but need to find some space
  in the panel, or add a second one ..

------------------------------------------------------------------------
r8254 | campbellbarton | 2006-07-31 17:22:20 +0200 (Mon, 31 Jul 2006) | 11 lines


Made all the scripts use the file browser for saving images

Added better docscrings

Added a texture baker for procedural textures,

Its able to make a WYSIWYG image from the texture, by using the texmesh property, so texture coords arnt lost up when flattening the mesh.

Use a high res image not to see any seams

------------------------------------------------------------------------
r8253 | campbellbarton | 2006-07-31 15:28:00 +0200 (Mon, 31 Jul 2006) | 2 lines

Added a octree implimentation for doing fast locational vertex lookups.

------------------------------------------------------------------------
r8252 | campbellbarton | 2006-07-31 14:57:46 +0200 (Mon, 31 Jul 2006) | 2 lines

added the texmesh to Mesh property to mesh.

------------------------------------------------------------------------
r8251 | broken | 2006-07-31 12:49:35 +0200 (Mon, 31 Jul 2006) | 2 lines

BIF_GetStringWidth() returned garbage when given a 0 length string, which was causing

------------------------------------------------------------------------
r8250 | campbellbarton | 2006-07-31 11:12:18 +0200 (Mon, 31 Jul 2006) | 3 lines

rewrote bvh import to be modular,
BVHs can now be imported as armatures pose animations as well as empties.

------------------------------------------------------------------------
r8249 | sirdude | 2006-07-31 06:54:10 +0200 (Mon, 31 Jul 2006) | 6 lines



fixed a typo that must have slipped in ;)

Kent

------------------------------------------------------------------------
r8248 | broken | 2006-07-31 04:48:45 +0200 (Mon, 31 Jul 2006) | 4 lines

* Made the proportional edit circle draw inverted against
the background - it was very difficult to see with a muted
grid theme colour.

------------------------------------------------------------------------
r8247 | broken | 2006-07-31 04:24:35 +0200 (Mon, 31 Jul 2006) | 14 lines

A couple of compositing nodes:

* Combine RGBA
Basically the opposite of separate RGBA, brings 4 value channels into a single
RGBA image). Has interesting possibilities for reordering channels, when used
with separate RGBA!

* Dilate/Erode
Originally written by Brecht van Lommel, with some minor modifications and
tweaking by myself. Positive distances dilate, negative distances erode.

* I also added the 'value' field to the hue/saturation node. Minimal extra cost,
and can be handy.

------------------------------------------------------------------------
r8246 | campbellbarton | 2006-07-30 14:28:20 +0200 (Sun, 30 Jul 2006) | 3 lines

Cleaned up and made a bit more efficient.
Now multiplys with existing colors.

------------------------------------------------------------------------
r8245 | campbellbarton | 2006-07-30 07:48:28 +0200 (Sun, 30 Jul 2006) | 2 lines

Fixed some logical errors and improved skinning method some more.

------------------------------------------------------------------------
r8244 | campbellbarton | 2006-07-29 21:32:07 +0200 (Sat, 29 Jul 2006) | 3 lines

problem reported with making aeroplane wings,
attempted to fix the filling logic, was 50% now is 80% -  not quite up to snuff still.

------------------------------------------------------------------------
r8243 | campbellbarton | 2006-07-29 19:22:56 +0200 (Sat, 29 Jul 2006) | 12 lines

Fixed a bug in obj_import

would load faces
f 0 1 2 \
  3 4 5

but not
f 0 1 2\
  3 4 5

Updated JMS's hotkeys script

------------------------------------------------------------------------
r8242 | campbellbarton | 2006-07-29 14:21:38 +0200 (Sat, 29 Jul 2006) | 5 lines

Mostly fixed archimap issue where "fill holes" - island filling would hang ths script.
Some optimizations and Ctrl will escape the script properly if you want to skip merging the islands.

Thanks to Melchior FRANZ for the report and debug blend

------------------------------------------------------------------------
r8241 | campbellbarton | 2006-07-29 09:14:11 +0200 (Sat, 29 Jul 2006) | 12 lines

removed image_bake_from_uvs and replaced it with a module that does all the work and 4 scripts accessable from the UV/Image menu.
- bake wire
- bake image
- bake vcol
- bake normals

Fitting all the options for these into 1 PupBlock was not good.

An example of 4 different baking made from these scripts

http://members.iinet.net.au/~cpbarton/temp.png

------------------------------------------------------------------------
r8240 | campbellbarton | 2006-07-28 21:09:09 +0200 (Fri, 28 Jul 2006) | 2 lines

Big speedup, 2-3x, from better mesh importing.

------------------------------------------------------------------------
r8239 | campbellbarton | 2006-07-28 11:57:50 +0200 (Fri, 28 Jul 2006) | 2 lines

removing this uv relax python script until it has better all round results.

------------------------------------------------------------------------
r8238 | campbellbarton | 2006-07-28 11:27:11 +0200 (Fri, 28 Jul 2006) | 4 lines


fixed stupid error in flt_import (only allowed 15 materials, not 16)
added an option to Bake From UV's - Selected Faces Only

------------------------------------------------------------------------
r8237 | campbellbarton | 2006-07-28 10:59:44 +0200 (Fri, 28 Jul 2006) | 3 lines

fixed flt_import problem adding materials to the mesh, made untextured faces not go pink.
removed mesh_bbrush, Not worth maintaining anymore with recent developments.

------------------------------------------------------------------------
r8236 | campbellbarton | 2006-07-28 10:17:04 +0200 (Fri, 28 Jul 2006) | 9 lines


Much needed update to flt_import.py
* NMesh to Mesh
* Optimized vertex importing
* Import NGons properly and make them blender FGons
* lots of other small updates

image_bake_from_uvs - ignore meshes without faceUV's

------------------------------------------------------------------------
r8235 | campbellbarton | 2006-07-28 09:08:27 +0200 (Fri, 28 Jul 2006) | 3 lines

faces faces added had vertex colors set to black.
use default_tface(tface) on all extended faces when tfaces exist.

------------------------------------------------------------------------
r8234 | campbellbarton | 2006-07-28 04:51:44 +0200 (Fri, 28 Jul 2006) | 2 lines

added a slot in the uv/image's "Image" menu for pyscripts.

------------------------------------------------------------------------
r8233 | campbellbarton | 2006-07-28 04:38:02 +0200 (Fri, 28 Jul 2006) | 6 lines


removed kloputils, was too old/broken/messy to maintain- functionality needs to be split into a number of scripts.
bvh2arm was for importing empties in a BVH, direct bvh armature import should be good for next release. and Iv removed the Old bvh importer anyway.

Will add a slot in the imaeg meny for image scripts, renamed scripts to go there.

------------------------------------------------------------------------
r8232 | campbellbarton | 2006-07-28 04:08:36 +0200 (Fri, 28 Jul 2006) | 6 lines

renamed texture baker to "Bake Image from UVs"
Added options to use material colors (can be multiplied with vcol)
Added wire option for UV Export type functionality. (implys no bleeding)
Added Option to render with no oversampling
changed alpha blending

------------------------------------------------------------------------
r8231 | blendix | 2006-07-28 02:56:35 +0200 (Fri, 28 Jul 2006) | 12 lines


Image Paint:

- Code for brush spacing and timing was rewritten, making spacing more even.
  Example: http://users.pandora.be/blendix/brush_spacing.jpg
- Instead of Stepsize for regular brushes and Flow for airbrushes, there is
  now Spacing for both, and Rate for airbrushes.
- Airbrush now works more like it does in the Gimp now, by maintaining the
  spacing even if the brush moves faster than the painting rate.

- Some preparations to make brushes work in texture paint mode.

------------------------------------------------------------------------
r8230 | campbellbarton | 2006-07-27 19:29:34 +0200 (Thu, 27 Jul 2006) | 4 lines


uv_vcol_to_image.py
Added optional support for baking more then 1 unique mesh objects at once.

------------------------------------------------------------------------
r8229 | campbellbarton | 2006-07-27 16:17:15 +0200 (Thu, 27 Jul 2006) | 3 lines

Moved this importer to the Mesh module and dropped meshtools dep's
Now imports ngons as fgons and dosent mess up with '#' comments at the start of the file.

------------------------------------------------------------------------
r8228 | campbellbarton | 2006-07-27 14:23:08 +0200 (Thu, 27 Jul 2006) | 3 lines

Updated epydocs to reflect changes in the API
Also made links to wikipedia pages explaining what a these functions do mathamaticaly

------------------------------------------------------------------------
r8227 | campbellbarton | 2006-07-27 05:15:37 +0200 (Thu, 27 Jul 2006) | 2 lines

updated py scripts for changes in mathutils

------------------------------------------------------------------------
r8226 | campbellbarton | 2006-07-27 04:33:54 +0200 (Thu, 27 Jul 2006) | 3 lines

matrix .inverted() and .transposed() didnt work because the matrix was wrongly copied.
2 more memory leaks in matrix multiplication fixed.

------------------------------------------------------------------------
r8225 | campbellbarton | 2006-07-27 03:18:21 +0200 (Thu, 27 Jul 2006) | 22 lines

Addition to Mathutils
 vec.normalized()
 mat.inverted()
 mat.transposed()
 made vec/float possible

 normalize/invert/transpose now return None because they modify the data in place.
 use the ...(ed) versions to return a modified copy.


Fixed Memory leaks from not decreffing PyFloat_AS_DOUBLE from these python functions...
(found when testing above functions)
  ob.rbMass
  ob.rbRadius
  matrix.determinant()
  quat*float
  vec*float
  matrix.transpose()
  EXPP_setModuleConstant

Checked all instances of PyFloat_AS_DOUBLE so I dont think there are any mroe leaks there.

------------------------------------------------------------------------
r8224 | blendix | 2006-07-27 00:29:23 +0200 (Thu, 27 Jul 2006) | 24 lines


Brush Datablock:

- Added a new Brush datablock, only used by image paint, but intended
  to be used in texture paint, vertex paint, weight paint and sculpt
  mode also.
- Being a datablock, these brushes can be saved, appended and linked.
  They have a fake user by default, to make sure they are saved even if
  not selected.

Image Painting:

- Replaced the img module with C code in imagepaint.c
- Airbrush is no longer a separate tool, but rather an option that can
  be used for soften, smear and clone also.
- Blend modes mix, add, subtract, multiply, darken and lighten have been
  added, code taken directly from vertex paint.

Note to project files maintainers:

- The img module was removed from SCons and Makefiles, and this should
  be done in other build systems also. I'll wait to remove the module
  from cvs, to not break compilation.

------------------------------------------------------------------------
r8223 | campbellbarton | 2006-07-26 19:43:16 +0200 (Wed, 26 Jul 2006) | 2 lines

10-20% speedup with better logic and limit the cache size for box intersections.

------------------------------------------------------------------------
r8222 | campbellbarton | 2006-07-26 14:54:54 +0200 (Wed, 26 Jul 2006) | 2 lines

removed the now unneeded resize4d operation for instant 2.43 incompatability. :/

------------------------------------------------------------------------
r8221 | khughes | 2006-07-26 14:34:56 +0200 (Wed, 26 Jul 2006) | 7 lines



===Python API===
Multiplication of 3D vectors by 4x4 matrices converts the vector to 4D but
did not make the vector homogenous.  Fixing that so the translation part of
the matrix will also be applied.

------------------------------------------------------------------------
r8220 | campbellbarton | 2006-07-26 13:39:32 +0200 (Wed, 26 Jul 2006) | 3 lines

removed reload,
BPyRender accedentaly left the scene rather then removing it.

------------------------------------------------------------------------
r8219 | campbellbarton | 2006-07-26 13:12:29 +0200 (Wed, 26 Jul 2006) | 4 lines

rewrote this script, for the new bones api.
Use a best fit mirror location to match pairs rather then bone names only.
Location matching works well, but name matching method can be added in also if its needed.

------------------------------------------------------------------------
r8218 | broken | 2006-07-26 12:40:14 +0200 (Wed, 26 Jul 2006) | 2 lines

* Added armature bone subdivide to 3d View menu

------------------------------------------------------------------------
r8217 | broken | 2006-07-26 12:33:41 +0200 (Wed, 26 Jul 2006) | 2 lines

* Added armature bone subdivide to 3d View menu

------------------------------------------------------------------------
r8216 | khughes | 2006-07-26 07:03:53 +0200 (Wed, 26 Jul 2006) | 5 lines



===Rendering===
Bugfix #4797: when rendered image could not be saved, do_write_image_or_movie() returned without calling IMB_freeImBuf(ibuf).

------------------------------------------------------------------------
r8215 | khughes | 2006-07-26 05:06:33 +0200 (Wed, 26 Jul 2006) | 5 lines



===Python API===
Fix typos in Object epydocs.

------------------------------------------------------------------------
r8214 | campbellbarton | 2006-07-26 04:07:12 +0200 (Wed, 26 Jul 2006) | 5 lines

Added a script that makes an image from vertex colors using UV coords. the advantage this has over other existing scripts is that it bleeds the colors from edge polygons so you dont get mipmapping errors.
usefull for baking radiosity back into an image (with non overlapping UV's) and also has an option for including the texface image, and using normals (instead of colors)

Added BPyRender with a utility function to render off an ortho image from a number of objects.

------------------------------------------------------------------------
r8213 | campbellbarton | 2006-07-26 03:30:21 +0200 (Wed, 26 Jul 2006) | 2 lines

Added the option for all objects to have their UV's packed into the same texture space, enabled by default.

------------------------------------------------------------------------
r8212 | campbellbarton | 2006-07-26 02:41:52 +0200 (Wed, 26 Jul 2006) | 3 lines

Added a note in the object docs about object data and editmode
removed mirror_bone_weights, as it was a double another script, contacted the author and hes ok with it.

------------------------------------------------------------------------
r8211 | campbellbarton | 2006-07-26 02:30:31 +0200 (Wed, 26 Jul 2006) | 3 lines

removed unused unzip function from console.py,
replaced   x,y,z= tuple(Vec)  with  x,y,z= Vec

------------------------------------------------------------------------
r8210 | campbellbarton | 2006-07-26 02:20:55 +0200 (Wed, 26 Jul 2006) | 2 lines

This script randomizes the selected objects loc/size/rot a set ammount.

------------------------------------------------------------------------
r8209 | campbellbarton | 2006-07-25 17:43:15 +0200 (Tue, 25 Jul 2006) | 2 lines

Printing the BezTriple was only printing it in 2D, since all curves have a 3d vector, even of its a 2d curve we may as well print 3d all the time.

------------------------------------------------------------------------
r8207 | ton | 2006-07-23 17:20:03 +0200 (Sun, 23 Jul 2006) | 6 lines

Updated splash with an 'a'. Also kept it a png this time, after complaints
about blockyness of previous one. :)

(note, file name has .jpg still, this is needed for the splash code to
work, not going to change blender code for it now).

------------------------------------------------------------------------
r8206 | campbellbarton | 2006-07-23 17:16:15 +0200 (Sun, 23 Jul 2006) | 2 lines

Fixed bullet formatting and explained where some constants were stored (had to look at source to see, so may as well doc)

------------------------------------------------------------------------
r8205 | ton | 2006-07-23 17:09:42 +0200 (Sun, 23 Jul 2006) | 2 lines

Bumped version to 2.42a for release target.

------------------------------------------------------------------------
r8204 | ton | 2006-07-23 11:54:22 +0200 (Sun, 23 Jul 2006) | 9 lines

Bugfix #4773

The VectorBlur node crashed when it didn't get a RGBA type image as
input (like using Alpha as input). Added typeconversion for it.

Note: the Z input and Vector input are not converted, but checked for.
When an improper type gets connected to these inputs, an error is
printed in console.

------------------------------------------------------------------------
r8203 | ton | 2006-07-23 11:10:05 +0200 (Sun, 23 Jul 2006) | 10 lines

Bugfix #4770

When adding a new node in a group, the call to refresh input/output
sockets was called after a compositing update was executed.
Just moved this call 2 lines up.

This also uncommits the fix from Joilnen, the stack pointers in the node
system are *per definition* set. If NULL, it's an indication something
else is wrong.

------------------------------------------------------------------------
r8202 | ton | 2006-07-23 10:49:19 +0200 (Sun, 23 Jul 2006) | 6 lines

Bugfix #4699

Missing dependency graph update on establishing a new relationship between
a static particle system and a curve guide, with the pulldown button in the
"Fields and Deflection" panel.

------------------------------------------------------------------------
r8201 | pidhash | 2006-07-23 04:56:45 +0200 (Sun, 23 Jul 2006) | 3 lines

fix for bug #4770
.

------------------------------------------------------------------------
r8200 | ton | 2006-07-22 19:11:36 +0200 (Sat, 22 Jul 2006) | 5 lines

IRC bugfix (thanks samo!):

The Material buttons copy/paste options (icons) didn't work for node trees.
Code was forgetting to free memory properly.

------------------------------------------------------------------------
r8199 | ton | 2006-07-22 19:04:18 +0200 (Sat, 22 Jul 2006) | 3 lines

Minor fix: default name for dupli-alloc was mixed up, using mapalloc for
malloc, and vice versa.

------------------------------------------------------------------------
r8198 | campbellbarton | 2006-07-22 16:22:03 +0200 (Sat, 22 Jul 2006) | 5 lines

noticed my BVH test import blender was 30meg+ turns out to be
python new action function (M_NLA_NewAction) was making actions with 2 users, so that acrions would never de-allocated,

alloc_libblock alredy assigns a user, so just dont assign another from M_NLA_NewAction.

------------------------------------------------------------------------
r8197 | ton | 2006-07-21 13:52:41 +0200 (Fri, 21 Jul 2006) | 9 lines

Bugfix #4747

Using "Deselect all" pulldown in Node Editor crashed when no nodetree is
visible.

Bugfix #4753

Hotkey SHIFT+P in buttons window started game engine, which it should not.

------------------------------------------------------------------------
r8196 | n_t | 2006-07-20 17:27:55 +0200 (Thu, 20 Jul 2006) | 4 lines

- fixed manual viscosity bug (#4733)
- added some more free/copy checks for bug 4094, but
  still not enough

------------------------------------------------------------------------
r8195 | schlaile | 2006-07-20 15:15:28 +0200 (Thu, 20 Jul 2006) | 6 lines

== Sequencer plugins ==

applied bugfix by Stephane Soppera, removing two warnings and declaring
pointers explicitly as unsigned char*. (has worked without it, since the
compiler flags declare all (char*) in blender to be unsigned...)

------------------------------------------------------------------------
r8194 | ton | 2006-07-20 13:01:49 +0200 (Thu, 20 Jul 2006) | 5 lines

Bugfix #4734

code provided by Stephane Soppera: ImageWindow and Node previews now draw
in correct premul-alpha, eliminating bad black lines in alpha areas.

------------------------------------------------------------------------
r8193 | ton | 2006-07-20 12:36:55 +0200 (Thu, 20 Jul 2006) | 7 lines

Bugfix #4741

Ancient issue; when you press keypad-0, it should assign the active camera
object to a scene, but this did not happen when that camera was already
assigned to the active 3d view. A rare case, causing 'error no camera' on
a render.

------------------------------------------------------------------------
r8192 | campbellbarton | 2006-07-20 08:50:23 +0200 (Thu, 20 Jul 2006) | 2 lines

Added a note explaining the poseMatrix space and how to get the worldspace location.

------------------------------------------------------------------------
r8191 | ton | 2006-07-19 21:46:42 +0200 (Wed, 19 Jul 2006) | 12 lines

Bugfix #4736

Composite: the Translate Node only worked in some cases (pixel processor
call), and not for:

- filter
- seperate rgba
- conversion of buffer types (value to rgba etc)

Blur still doesn't either, but that code is too optimized to add quick.
Will put on todo for checking on better unification of translations.

------------------------------------------------------------------------
r8190 | ton | 2006-07-19 17:39:36 +0200 (Wed, 19 Jul 2006) | 2 lines

Removed leftover SDL include from render module.

------------------------------------------------------------------------
r8189 | khughes | 2006-07-19 16:35:22 +0200 (Wed, 19 Jul 2006) | 6 lines



===Python API===
Bugfix #4728: passing an interator sequence to me.faces.delete() caused a
crash; check explicitly for lists or tuples.

------------------------------------------------------------------------
r8188 | hos | 2006-07-19 15:05:11 +0200 (Wed, 19 Jul 2006) | 9 lines

Converting a mesh object with modifiers to a temporary mesh during
export would cause a problem since the temporary meshes created
would often reuse the same name for many objects. This fix mangles
the object name and uses this for the temporary mesh name to avoid
this problem. (The naming is important, since vrml has 'DEF' and 'USE'
statements that are used like C macros, so if two meshes have the
same name the exporter will try to 'recycle' data to keep file sizes
low).

------------------------------------------------------------------------
r8187 | ton | 2006-07-19 13:28:48 +0200 (Wed, 19 Jul 2006) | 7 lines

Bugfix #4724

Actually a bug since dark ages... the code that tries to find the view
correction (zoom) factor for grabbing stored result in a global. With
multiple 3d windows open, with different views, that could result in
wrong correction. Just made the factor a local property in View3D.

------------------------------------------------------------------------
r8186 | erwin | 2006-07-19 08:39:11 +0200 (Wed, 19 Jul 2006) | 2 lines

use 'fixedtime/enable all frames' from the blend file

------------------------------------------------------------------------
r8185 | erwin | 2006-07-19 07:12:59 +0200 (Wed, 19 Jul 2006) | 2 lines

accidently replaced initGamePlayerPythonScripting with initGamePythonScripting, causing the gameplayer to crash on all platforms (lack of PyInitialize()...

------------------------------------------------------------------------
r8184 | khughes | 2006-07-18 23:02:15 +0200 (Tue, 18 Jul 2006) | 12 lines



===Python API===
Bugfix: using Image.GetCurrent() and image.save() on the "Render Result"
image could result in a segfault since image->ibuf was NULL.  This change
forces ibuf to be created if necessary.

NOTE: the Image API needs additional methods/attributes for image.save() to
really do anything useful.  The image type, quality, etc., don't seem to be
gettable/settable so the resulting image file may not be in the format the
user would like.

------------------------------------------------------------------------
r8183 | ton | 2006-07-18 18:49:33 +0200 (Tue, 18 Jul 2006) | 4 lines

Second part of bugfix #4715

Re-replaced glFinish back to glFlush, should fix display updates?

------------------------------------------------------------------------
r8182 | ton | 2006-07-18 18:42:39 +0200 (Tue, 18 Jul 2006) | 4 lines

Bugfix #4715

After inserting border in entire image, the display update was missing.

------------------------------------------------------------------------
r8181 | campbellbarton | 2006-07-18 12:20:43 +0200 (Tue, 18 Jul 2006) | 2 lines

fixed error that mode this script not work in python 2.3

------------------------------------------------------------------------
r8180 | ton | 2006-07-18 11:56:14 +0200 (Tue, 18 Jul 2006) | 7 lines

Silly crasher fix:

- set material to "use nodes"
- don't add a material-node yet, but set "Halo" on. Crash!

Added a missing NULL pointer check.

------------------------------------------------------------------------
r8179 | campbellbarton | 2006-07-16 15:54:33 +0200 (Sun, 16 Jul 2006) | 2 lines

Bugfix only for a queer bug that occurs (in non of my previous tests) where an edge is added with the same verts- an invalid edge of course.

------------------------------------------------------------------------
r8177 | khughes | 2006-07-14 16:48:45 +0200 (Fri, 14 Jul 2006) | 6 lines



===Python API===
Bugfix #4690: BonesDict_repr() had a string overflow for really complicated
armatures.  Added a string length check and terminate before overflowing.

------------------------------------------------------------------------
r8176 | ton | 2006-07-14 15:44:23 +0200 (Fri, 14 Jul 2006) | 6 lines

New Particle option for Fluids did not work on rendering animation yet.

N_T: the implementation of this feature isn't 100% nice, it currently does
a full recalc on each redraw, and it doesn't work properly unless it is
recalculated for each frame.

------------------------------------------------------------------------
r8175 | schlaile | 2006-07-14 15:32:29 +0200 (Fri, 14 Jul 2006) | 5 lines

== Frameserver ==

Serious bugfix: Make it work on windows (including ESC-Handling)
closes Bug #4477.

------------------------------------------------------------------------
r8174 | khughes | 2006-07-14 06:13:55 +0200 (Fri, 14 Jul 2006) | 6 lines



Make scons pick up default link flags from previous commit on linux platforms;
statically-linked python releases won't work otherwise.  Bugfixes for #4676
and #4486.

------------------------------------------------------------------------
r8173 | djcapelis | 2006-07-14 04:02:57 +0200 (Fri, 14 Jul 2006) | 3 lines

Changing some default link flags, crossing fingers and waiting for bugs to
magically be fixed.

------------------------------------------------------------------------
r8172 | schlaile | 2006-07-13 21:36:38 +0200 (Thu, 13 Jul 2006) | 4 lines

== Frameserver ==

(serious) bugfix: make escape handling work in frameserver.

------------------------------------------------------------------------
r8171 | lukep | 2006-07-13 21:16:36 +0200 (Thu, 13 Jul 2006) | 3 lines


added release log file and removed 2.41 one

------------------------------------------------------------------------
r8170 | elubie | 2006-07-13 19:13:31 +0200 (Thu, 13 Jul 2006) | 3 lines

- fix for [ #4678 ] ALL Blender versions crashes when pasting empty windows clipboard!
quickly sneaked in last minute before release ;)

------------------------------------------------------------------------
r8169 | ton | 2006-07-13 18:53:52 +0200 (Thu, 13 Jul 2006) | 2 lines

The mother of all commits! Bumping version up to 2.42, and new splash.

------------------------------------------------------------------------
r8168 | ton | 2006-07-13 17:41:36 +0200 (Thu, 13 Jul 2006) | 7 lines

Bugfix #4687

Repeat Image texture was broken... the repeat value for Y was accidentally
multiplied twice, typo... had to change a 1 into 2 :)

Error introduced in 2.41 btw, 2.40 and older were OK.

------------------------------------------------------------------------
r8167 | ton | 2006-07-13 16:02:27 +0200 (Thu, 13 Jul 2006) | 9 lines

Bugfix #4683

Render non-osa, with mblur, did not jitter the zbuffering, so it did not
result in basic AA for non moving parts.

Note to self: this now works on < 2.42 level again: it doesn't use
the correct subsampling, which can cause slight errors in rendering image
textures.

------------------------------------------------------------------------
r8166 | campbellbarton | 2006-07-13 15:41:26 +0200 (Thu, 13 Jul 2006) | 2 lines

Missing constant added.

------------------------------------------------------------------------
r8165 | ton | 2006-07-13 15:19:27 +0200 (Thu, 13 Jul 2006) | 4 lines

fix #4675

Button "use nodes" was showing up when no material was visible in buttons.

------------------------------------------------------------------------
r8164 | ton | 2006-07-13 13:44:00 +0200 (Thu, 13 Jul 2006) | 2 lines

Typo in previous commit. should compile first!

------------------------------------------------------------------------
r8163 | ton | 2006-07-13 13:36:26 +0200 (Thu, 13 Jul 2006) | 7 lines

Three more valgrind discoveries:

- readfile.c, version patch for new toolsettings used a malloc, using
  unitialized variables
- despgraph, another malloc changed to calloc
- timer code for render ESC: unitialized variable in struct

------------------------------------------------------------------------
r8162 | ton | 2006-07-13 12:55:25 +0200 (Thu, 13 Jul 2006) | 5 lines

Thanks Brecht && Valgrind!

Octree filling code used an unitialized vector. Only when a quad once was
rendered it was filled with a value, explaining the weirdness we suffer...

------------------------------------------------------------------------
r8161 | ton | 2006-07-13 12:26:36 +0200 (Thu, 13 Jul 2006) | 7 lines

Paranoia commit to eliminate threads issues or uninitialized var stuff.

- thread render stores per thread and per lamp the last intersected
  shadow face
- the Isect struct, for intersections, could use a couple of extra
  zeros on start.

------------------------------------------------------------------------
r8160 | erwin | 2006-07-13 07:22:22 +0200 (Thu, 13 Jul 2006) | 2 lines

missing attributed broke COLLADA physics export

------------------------------------------------------------------------
r8159 | schlaile | 2006-07-12 23:13:00 +0200 (Wed, 12 Jul 2006) | 5 lines

== FFMPEG ==

Bugfix: "make debug" does work again with ffmpeg.
Removed unnecessary backup-files for ffmpeg-update.sh.

------------------------------------------------------------------------
r8158 | djcapelis | 2006-07-12 22:01:48 +0200 (Wed, 12 Jul 2006) | 3 lines

Patch by fab31 not to clobber SDL audio environment variables if they're
already set.

------------------------------------------------------------------------
r8157 | ton | 2006-07-12 17:28:37 +0200 (Wed, 12 Jul 2006) | 7 lines

Removed the isnan() fix for silly people who type in NAN in a button!
Apparently not supported in Windows compiler, and although it has _isnan()
I've got no time to code wrappers for it, and #ifdefs here is plain bad
code.

Nice todo for Campbell one of these days after release!

------------------------------------------------------------------------
r8156 | ton | 2006-07-12 16:51:30 +0200 (Wed, 12 Jul 2006) | 2 lines

Camera pointer declaration in middle of code.... tsk!

------------------------------------------------------------------------
r8155 | stiv | 2006-07-12 16:27:13 +0200 (Wed, 12 Jul 2006) | 2 lines

more spell checking.

------------------------------------------------------------------------
r8154 | campbellbarton | 2006-07-12 14:36:19 +0200 (Wed, 12 Jul 2006) | 2 lines

Simplified some parts of this script

------------------------------------------------------------------------
r8153 | campbellbarton | 2006-07-12 14:09:43 +0200 (Wed, 12 Jul 2006) | 2 lines

error it pup block title, still had clean meshes.

------------------------------------------------------------------------
r8152 | ton | 2006-07-12 14:06:27 +0200 (Wed, 12 Jul 2006) | 3 lines

Code cleaning: mixing short and floats in multiplying while building
octree.... might give issues, so made it all float.

------------------------------------------------------------------------
r8151 | ton | 2006-07-12 12:48:05 +0200 (Wed, 12 Jul 2006) | 4 lines

- ray.c: a string was assinged to stats drawing, but not cleared. could
  create buffer overflows in string drawing
- removed static variable from renderwin.c. No fix, just nicer code.

------------------------------------------------------------------------
r8150 | ianwill | 2006-07-12 12:21:38 +0200 (Wed, 12 Jul 2006) | 12 lines

Scripts:
- Updating Blender Lip Synchro to the newest version sent by the author,
Benoit Foucque (Dienben). Thanks!

I'm committing a version with a few minor (tested) changes to make it
easier and to fix a small problem, the author received the changes a few
days ago. He would try to send another update implementing a couple
suggestions, but it may not come in time, so better have this. Anyway,
interested users can check his blog for test files and more information:

http://blenderlipsynchro.blogspot.com/

------------------------------------------------------------------------
r8149 | campbellbarton | 2006-07-12 11:55:09 +0200 (Wed, 12 Jul 2006) | 3 lines

rename and update to archimap.
Mainly syntax optimizations and cleaned up parts.

------------------------------------------------------------------------
r8148 | stiv | 2006-07-12 03:36:07 +0200 (Wed, 12 Jul 2006) | 3 lines

A little spell-checkage.
Some return types changed from PyNone ( a C name ) to None.

------------------------------------------------------------------------
r8147 | campbellbarton | 2006-07-11 19:59:23 +0200 (Tue, 11 Jul 2006) | 3 lines

Fixed many small errors in this script.
This is a real mess and should be removed/re-written but until we have a nice clean alignment script and its close to release, have to keep it.

------------------------------------------------------------------------
r8146 | campbellbarton | 2006-07-11 17:02:14 +0200 (Tue, 11 Jul 2006) | 2 lines

Added some notes on mesh materials and object getData(mesh=1)

------------------------------------------------------------------------
r8145 | campbellbarton | 2006-07-11 15:30:57 +0200 (Tue, 11 Jul 2006) | 2 lines

This shold fix 3ds opening on macs. thx blendix

------------------------------------------------------------------------
r8144 | ton | 2006-07-11 13:54:59 +0200 (Tue, 11 Jul 2006) | 9 lines

Bugfix #4663

Play option: if you set output to render to .avi, but in the same
directory also individual files exist, it always played the files, not
the movie.

Now it checks for the Output type, and plays back a movie or frames, as
indicated.

------------------------------------------------------------------------
r8143 | ton | 2006-07-11 13:34:05 +0200 (Tue, 11 Jul 2006) | 7 lines

Bugfix #4669

Negative scaled Objects get a OB_NEG_SCALE flag, to indicate to OpenGL
to invert lighting for solid drawing.
Works nice, but when you use Group-duplicators, the negative scale of
the duplicator should be taken into account as well.

------------------------------------------------------------------------
r8142 | ton | 2006-07-11 11:07:19 +0200 (Tue, 11 Jul 2006) | 6 lines

Bug + patch #4655

- Added "Shift+P" note in 3d window menu for preview panel
- Added Preview, passepartout in spacebar toolbox
- Info pulldown "Render" -> "Render buttons" did cycle, should not.

------------------------------------------------------------------------
r8141 | ton | 2006-07-11 10:56:46 +0200 (Tue, 11 Jul 2006) | 6 lines

Bugfix #4661

Apparently the atof() function allows to convert a NAN string input to a
NAN float value.
That we don't want when you input values in our sliders! :)

------------------------------------------------------------------------
r8140 | ton | 2006-07-10 18:01:47 +0200 (Mon, 10 Jul 2006) | 2 lines

Oops! Only OSX has the OpenEXR in cvs now, makefile did it for Linux too.

------------------------------------------------------------------------
r8139 | ton | 2006-07-10 16:49:20 +0200 (Mon, 10 Jul 2006) | 6 lines

Bugfix #4652

Using TAB to type values in button sequences, didn't execute button
callbacks on the 2nd and and 3rd etc. Error could be noticed in the
Node Editor, Mapping node. That one didn't pass on changes to shading code.

------------------------------------------------------------------------
r8138 | ton | 2006-07-10 15:50:46 +0200 (Mon, 10 Jul 2006) | 6 lines

Bugfix, own collection

Restored lost functionality in Play (animation) window. On scrubbing with
LMB it should print the curent frame, making it quite more useful.
(Windows platform; it already changed title of window to this info).

------------------------------------------------------------------------
r8137 | campbellbarton | 2006-07-10 13:11:17 +0200 (Mon, 10 Jul 2006) | 2 lines

fixed comparison eith edge angle.

------------------------------------------------------------------------
r8136 | campbellbarton | 2006-07-10 12:46:53 +0200 (Mon, 10 Jul 2006) | 3 lines

mesh cleanup optimized with some LC's
renameobjectbyblock - made more readable, only operate on objects in the current scene. optimized dict usage.

------------------------------------------------------------------------
r8135 | campbellbarton | 2006-07-10 11:22:07 +0200 (Mon, 10 Jul 2006) | 3 lines

removed a script I wrote and added it under a different name.
Moved from NMesh to Mesh and optimized.

------------------------------------------------------------------------
r8134 | campbellbarton | 2006-07-09 17:10:07 +0200 (Sun, 09 Jul 2006) | 2 lines

when weight+vertex paint  modes were mixed, weight paint was used but the paint menu was for vertex paint - a bit confusing, order fixed.

------------------------------------------------------------------------
r8133 | campbellbarton | 2006-07-09 16:54:47 +0200 (Sun, 09 Jul 2006) | 2 lines

clicking on the second point of the gradient outside the mesh should have blended to alpha zero, but was raising an error, fixed.

------------------------------------------------------------------------
r8132 | ianwill | 2006-07-09 16:49:53 +0200 (Sun, 09 Jul 2006) | 4 lines

BPython:
-local matrices again, previous commit had matrix multiplication with
inverted order.

------------------------------------------------------------------------
r8131 | campbellbarton | 2006-07-09 16:44:54 +0200 (Sun, 09 Jul 2006) | 2 lines

needed this file for Gradient tool (Window/3d ray picking function)

------------------------------------------------------------------------
r8130 | campbellbarton | 2006-07-09 16:22:21 +0200 (Sun, 09 Jul 2006) | 3 lines

updated mesh boneweight copy not to error with no selection.]
updated obdatacopier to support mesh objects and added a more general way of choosing data to show or ignore in the button list.

------------------------------------------------------------------------
r8129 | schlaile | 2006-07-09 15:05:09 +0200 (Sun, 09 Jul 2006) | 5 lines

== FFMPEG ==

Bugfix #4596 and #4594 by rewriting the file extension management.
The code is now _much_ nicer ;-)

------------------------------------------------------------------------
r8128 | ianwill | 2006-07-09 15:04:42 +0200 (Sun, 09 Jul 2006) | 5 lines

BPython API:
-fixing object.getMatrix("localspace") and object.matrixLocal to return
the local matrix (returns global space matrix if the object doesn't
have a parent).

------------------------------------------------------------------------
r8127 | ton | 2006-07-09 15:00:41 +0200 (Sun, 09 Jul 2006) | 15 lines

Bugfix #4649

Three issues:
- When saving a file, without extension added, and no filename provided,
  the saving code received the directory name only. That's a potential
  danger of getting directories deleted.
  Added in the saveover() function a check for this, and return an error
  when you try to save over a directory.

- Screendump did not add file extensions yet, when indicated todo so.

- Screendump code was duplicating all image type cases, whilst we have a
  nice BKE_write_ibuf() call for that now. (Bug was that this code did not
  check for BMP, saving the file in default format.)

------------------------------------------------------------------------
r8126 | ton | 2006-07-09 13:54:41 +0200 (Sun, 09 Jul 2006) | 17 lines

Bugfix #4647

The raytracer wasn't calling node shaders yet, so results showed only
shading for the base material.
This now works, but there's a conflict in the internal Blender shader that
makes recursive raytracing with nodes unpredictable. Basicaly the conflict
is that when a ray wants to shade a point, it should be able to check the
material for mirror properties, but this is undefined for node trees...

Probably we need to separate raytrace entirely from material shading. Is
a good topic for NodeShader 2.0, when we really split up materials in
shading components.

I'll add a note in the release log about this. Best results you get now
when you don't include mirror/ray-transp insde a node tree, in that case
a regular material mirror can render that material perfectly.

------------------------------------------------------------------------
r8125 | khughes | 2006-07-08 22:40:41 +0200 (Sat, 08 Jul 2006) | 6 lines



===Python API===
Response to bug #4398: print separate messages on start-up to show (a) the
built-in Python version and (b) whether a Python installation was found.

------------------------------------------------------------------------
r8124 | khughes | 2006-07-08 16:24:57 +0200 (Sat, 08 Jul 2006) | 5 lines



Bugfix #4627: headerResize() was overflowing a string parameter and
destroying part of the transform matrix.  Also remove a debigging printf.

------------------------------------------------------------------------
r8123 | ton | 2006-07-08 15:18:57 +0200 (Sat, 08 Jul 2006) | 10 lines

1)
The F3 key 'save rendered image' made inconsistant choices to save either
in jpg or tga, when the output panel was indicating to render to movies.
Even worse, it was sometimes saying 'save jpg' and saved a targa!

Made it consistantly save .jpg now, since tga isn't a good common format.

2)
Forgot to commit transform.h for previous bugfix in transform numeric input

------------------------------------------------------------------------
r8122 | ton | 2006-07-08 13:56:42 +0200 (Sat, 08 Jul 2006) | 11 lines

Bug fix #4627

The transform number input code allowed to keep typing forever. That's nice
but the code uses floats to store values, so there's a limit of 7 digits
resolution to take care of. I've added this limit now, it will stop when
the 8th digit was typed, giving a range of 100 million, quite OK for
Blender measures.

There was also a short in use for values between 0 and 1, causing an error
when you try to type like 0.99999. Here I've added a limit of 7 digits.

------------------------------------------------------------------------
r8121 | ton | 2006-07-08 13:08:35 +0200 (Sat, 08 Jul 2006) | 5 lines

Bug fix #4640

Renaming Meta Object to become the 'mother meta' should invoke a call to
reconstruct the dependency graph.

------------------------------------------------------------------------
r8120 | ton | 2006-07-08 12:54:53 +0200 (Sat, 08 Jul 2006) | 9 lines

Bug fix #4642

When a Sequence setup had a gap, it returned default black frames. However,
this black frame was overriding the float buffer when a new strip started
to render again, so the Sequencer kept saving black.

Also: added extra info print for Scene strip, this didn't tell yet what the
start/end frame of Scene was, and what current frame was.

------------------------------------------------------------------------
r8119 | ton | 2006-07-08 11:30:23 +0200 (Sat, 08 Jul 2006) | 5 lines

Bug #4641

The ALT+C copy menu had a "Dupli" entry, but that didn't copy group-dupli
yet.

------------------------------------------------------------------------
r8118 | campbellbarton | 2006-07-08 08:14:45 +0200 (Sat, 08 Jul 2006) | 7 lines


vertexpaint_selfshadow_ao adds face uv to the mesh if there not alredy there...

added GPL header and docstrings to other scripts

removed double batch_name_edit, same file is object_batch_name_edit

------------------------------------------------------------------------
r8117 | campbellbarton | 2006-07-08 06:51:43 +0200 (Sat, 08 Jul 2006) | 2 lines

Updated to the latest cal3d exporter from http://svn.gna.org/viewcvs/soya/trunk/soya/blender2cal3d.py?view=log

------------------------------------------------------------------------
r8116 | ianwill | 2006-07-07 20:39:51 +0200 (Fri, 07 Jul 2006) | 12 lines

Gui:
[ #4581 ] related to scripts window updates, details here:

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

Scripts updated:

-Jean-Michel Soler updated some of his scripts: paths importer (ai,
eps, gimp, svg), kml / kmz importer and also updated Axiscopy.py by A
Vanpoucke (xand) and the knife script (this version handles multiple
materials) by Stefano Selleri and Wim Van Hoydonck. Thanks!

------------------------------------------------------------------------
r8115 | ton | 2006-07-07 19:08:04 +0200 (Fri, 07 Jul 2006) | 9 lines

Bugfix: (own todo)

When you rename a generated image, like "Render Result" or "Composite"
the float buffer in this image had to be copied, otherwise a next render
will make the renamed Image buffer invalid.

Note that renaming will not mean the images get packed or saved! So on
reloading .blend they're gone.

------------------------------------------------------------------------
r8114 | campbellbarton | 2006-07-07 19:03:31 +0200 (Fri, 07 Jul 2006) | 2 lines

doubled the speed of mouse rotation, halved the mousewheel speed and WASDRF dont accelerate anymore.

------------------------------------------------------------------------
r8113 | campbellbarton | 2006-07-07 18:09:41 +0200 (Fri, 07 Jul 2006) | 4 lines

updated md2 exporter from  0.17.1 to 0.17.5
(not my work, asume Bob Holcomb's)
some extra features triangualte on export, usibility tweaks and try fan, strip improveemnts.

------------------------------------------------------------------------
r8112 | campbellbarton | 2006-07-07 17:51:32 +0200 (Fri, 07 Jul 2006) | 3 lines

Made this script motherball aware-
Metaballs that are numbered are not included - only the un-numbered motherball when getting the mesh data for objects.

------------------------------------------------------------------------
r8111 | n_t | 2006-07-07 16:17:08 +0200 (Fri, 07 Jul 2006) | 3 lines

- fixed bug #4517:
  there was a wrong divisor for memory estimate

------------------------------------------------------------------------
r8110 | ton | 2006-07-07 14:28:23 +0200 (Fri, 07 Jul 2006) | 18 lines

Another fix based on venomgfx fraka .blend:

In december, when testing material layering, I've removed the check that
prevented specular and diffuse to become negative, this because it could
work nice for layering.

However, this breaks quite some cases too. For example negative lamps are
only used to cancel out other lights in same material, and should not give
negative (invisible!) peaks that work on a node system. Same goes for
negative diffuse from AO 'subtract' mode.

In fraka the error happened for AO on a translucent material. The inside
of the mesh got a negative AO, cancelling out the positive AO on the
outside.

Anyhoo; this commits ensures that a 'shade_lamp_loop' call will never
return negative values again!

------------------------------------------------------------------------
r8109 | jiri | 2006-07-07 13:10:53 +0200 (Fri, 07 Jul 2006) | 5 lines



 - bug fix for #4606,
   too small size of base MetaBall object caused infinitive loop

------------------------------------------------------------------------
r8108 | campbellbarton | 2006-07-07 12:46:46 +0200 (Fri, 07 Jul 2006) | 12 lines


added list2MeshWeight and meshWeight2List - faster then the dict equivilents and better in some cases.
Speedup for bpymesh_redux (poly reducer) with reducing vertex weights. use list2MeshWeight and meshWeight2List.

renamed vertex gradient files

Removed reload()'s
- 3ds_import.py
- mesh_cleanup.py
- mesh_poly_reduce.py
- vertexpaint_selfshadow_ao.py

------------------------------------------------------------------------
r8107 | ton | 2006-07-07 11:39:37 +0200 (Fri, 07 Jul 2006) | 3 lines

Cosmetic change: the FFMPEG options for HD sound/movie are hidden behind
the #ifdef now, so it won't arise questionmarks in releases.

------------------------------------------------------------------------
r8106 | blendix | 2006-07-06 23:51:54 +0200 (Thu, 06 Jul 2006) | 5 lines


Bugfix in NMesh:
- Setting hasFaceUV to false didn't work correct, missing braces in
  define.

------------------------------------------------------------------------
r8105 | blendix | 2006-07-06 23:43:09 +0200 (Thu, 06 Jul 2006) | 5 lines


Fix for bug #4600:
- Array modifier crash with vertex merging. There was a missing check
  for a vertex being merged with a vertex that was merged with itself.

------------------------------------------------------------------------
r8104 | ton | 2006-07-06 23:36:26 +0200 (Thu, 06 Jul 2006) | 5 lines

Removed another Malloc from renderwindow callbacks (used while render).

BTW this is most likely bugfix for 2 reports, will verify tomorrow.
BTW2 all credits go to Andrea!

------------------------------------------------------------------------
r8103 | erwin | 2006-07-06 23:21:16 +0200 (Thu, 06 Jul 2006) | 4 lines

attempt to fix crashes (reported under Linux)related to OpenGL extension queries.
seems to be a known issue, combo of pthreads, dlopen and libGL cannot call dlclose !?!
Let's cross the fingers this works...

------------------------------------------------------------------------
r8102 | ton | 2006-07-06 23:18:06 +0200 (Thu, 06 Jul 2006) | 8 lines

Two fixes, venomgfx Fraka bird test!

- AO "Use Distances" can not use 'sky texture' for colors, that bug was
  fixed in UI (prevent settings to combine), but better also gets fixed
  on reading files.

- Backbuf render, when not existed, didn't initialize backdrop color to 0.

------------------------------------------------------------------------
r8101 | ton | 2006-07-06 23:10:13 +0200 (Thu, 06 Jul 2006) | 6 lines

Replacing screen_swapbuffers() with a direct swapbuffers() call during
progress of rendering. This prevents calling anything else but the
swap itself.

Might fix render memory issue in Windows.

------------------------------------------------------------------------
r8100 | schlaile | 2006-07-06 22:52:03 +0200 (Thu, 06 Jul 2006) | 14 lines

== FFMPEG ==

Rewrote the video seek code again. This time it is a _lot_ simpler and a lot
better.

For those interested: instead of letting ffmpeg choose the right final
position, we let it preseek (maybe to I-frame in the rare case, that is
implemented) and then scan for the correct frame on DTS basis by hand.

We therefor only have to seek once and remove all those frame-jumping
jerkiness, people noticed in the same step.

Tested with msmpeg, hd-mpeg2 and DV.

------------------------------------------------------------------------
r8099 | campbellbarton | 2006-07-06 21:14:56 +0200 (Thu, 06 Jul 2006) | 2 lines

Credits to JMS as a contributer

------------------------------------------------------------------------
r8098 | campbellbarton | 2006-07-06 21:02:22 +0200 (Thu, 06 Jul 2006) | 2 lines

updated raw import/export nice error messages, optimized with LC's removed meshtools depencancy, use Mesh instead of NMesh

------------------------------------------------------------------------
r8097 | khughes | 2006-07-06 20:53:36 +0200 (Thu, 06 Jul 2006) | 4 lines



Stupid error: forgot to put in "return" for previous fix.

------------------------------------------------------------------------
r8096 | khughes | 2006-07-06 20:02:57 +0200 (Thu, 06 Jul 2006) | 6 lines



===Python API===
Bugfix #4369.  Patch provided by Alberto Torres Ruiz (thanks) which
fixes a bug in EditBone_getRoll().  Thanks!

------------------------------------------------------------------------
r8095 | elubie | 2006-07-06 19:15:13 +0200 (Thu, 06 Jul 2006) | 3 lines

[ #4585 ]  - fix for reading videoscape files
- yet again a file path that was too short ;)

------------------------------------------------------------------------
r8094 | ton | 2006-07-06 19:14:03 +0200 (Thu, 06 Jul 2006) | 2 lines

Very minor warning fix for gcc4 in these 2 files (unitialized array)

------------------------------------------------------------------------
r8091 | khughes | 2006-07-06 18:40:49 +0200 (Thu, 06 Jul 2006) | 8 lines



===Python API===
Bugfig #4527: add more robust bitfield checking for Mesh.mface.flags;
unconfirmed bug report that an exception was caused with RC3a that could
not be reproduced.  It was possible that a pre 2.42 .blend might have
some additional flag bits set that would have caused an error.

------------------------------------------------------------------------
r8090 | ton | 2006-07-06 16:20:44 +0200 (Thu, 06 Jul 2006) | 7 lines

Bugfix #4630

They're getting rare, but here's another bugfix from issue since NaN days:

Orco texture coordinates for surfaces didn't work *at all*!
(Try 2 nurbs spheres in 1 object). Fixed!

------------------------------------------------------------------------
r8089 | khughes | 2006-07-06 16:00:50 +0200 (Thu, 06 Jul 2006) | 5 lines



Discovered a missing "break" inside a switch statemtn while looking for
another bug.

------------------------------------------------------------------------
r8088 | khughes | 2006-07-06 15:47:21 +0200 (Thu, 06 Jul 2006) | 5 lines



===Python API===
"Campbell-fix:" correct two minor misspellings in last commits.

------------------------------------------------------------------------
r8087 | campbellbarton | 2006-07-06 15:34:53 +0200 (Thu, 06 Jul 2006) | 2 lines

Added a vertex gradient tool. got the ok from willian to add if its well tested, can do vertex gradient and weight gradient- uses __vertex_gradient__.py which manages to do both.

------------------------------------------------------------------------
r8086 | ton | 2006-07-06 15:26:48 +0200 (Thu, 06 Jul 2006) | 5 lines

fix #4629

Material buttons view, using channel buttons, didn't send refresh event to
texture preview render.

------------------------------------------------------------------------
r8085 | ton | 2006-07-06 14:50:48 +0200 (Thu, 06 Jul 2006) | 14 lines

Bugfix #4628

Ancient issue in making screendumps in Blender. It used to support making
dumps of popup menus, but that disappeared a while ago. However, when you
press CTRL+F3 in a menu now, Blender hangs in some eternal loop in ghost.

This commit fixes making menu screendumps (nice for docs!).

- press CTRL+F3 *twice* for an exact copy of a menu. (first press exits
  menu, 2nd press opens filewindow)
- note, it is ALT+CTRL+F3 in OSX
- what is saved is only the topmost open level of a menu
- full-screen dumps work too by holding SHIFT extra.

------------------------------------------------------------------------
r8084 | campbellbarton | 2006-07-06 14:25:04 +0200 (Thu, 06 Jul 2006) | 3 lines

Made OBJ exporter better remove double normals and UVs on export.
Some people reported using this for games so added an option to calculate high quality normals (from BPyMesh)

------------------------------------------------------------------------
r8083 | campbellbarton | 2006-07-06 13:09:44 +0200 (Thu, 06 Jul 2006) | 7 lines

merged the functionality of both these scripts into 1 new script,
Both had small problems,

This script works with soft bodies (as fixfromarmature does) and works on multiple objects at once as Apply_def does.
Made them use Mesh over NMesh unless soft bodies are involved- in that case is uses NMesh because Mesh cant get soft body info at the moment.
This script also works with non mesh objects - mballs, text, nurbs etc.

------------------------------------------------------------------------
r8082 | ton | 2006-07-06 12:10:41 +0200 (Thu, 06 Jul 2006) | 9 lines

Bugfix #4625

Using the 3d window preview render, fluidsim objects gave drawing errors.
Was caused by missing object recalc signals after creating the render
database (happens on different resolutions for fluidsim).

Note to self: the separation between 'render' and 'display' is still a
weak part in the Derived/Displist code...

------------------------------------------------------------------------
r8081 | erwin | 2006-07-06 09:58:07 +0200 (Thu, 06 Jul 2006) | 2 lines

some minor webplugin changes, new loading .blend, upgraded version to 2.42,  enabled PhysicsConstraints module within sandbox.

------------------------------------------------------------------------
r8080 | campbellbarton | 2006-07-06 08:24:49 +0200 (Thu, 06 Jul 2006) | 2 lines

added an example for face.col - normal mapping

------------------------------------------------------------------------
r8079 | campbellbarton | 2006-07-06 07:51:13 +0200 (Thu, 06 Jul 2006) | 2 lines

Added an example of using edge flags in the epydocs

------------------------------------------------------------------------
r8078 | erwin | 2006-07-06 03:16:30 +0200 (Thu, 06 Jul 2006) | 2 lines

uninitialized var

------------------------------------------------------------------------
r8077 | halley | 2006-07-06 02:05:33 +0200 (Thu, 06 Jul 2006) | 3 lines

Needed to add the conditional commands to ranlib for the darwin platforms.
Matches the example of the other intern/*/Makefile libraries.

------------------------------------------------------------------------
r8075 | campbellbarton | 2006-07-05 23:51:03 +0200 (Wed, 05 Jul 2006) | 3 lines

this file had dos line endings and was causing errors with MSVC express according to artificer.
all the other py files were unix so this is the odd one out.

------------------------------------------------------------------------
r8072 | campbellbarton | 2006-07-05 22:37:07 +0200 (Wed, 05 Jul 2006) | 6 lines

fixed a bug in poly redux's vgroup weight merging (was reducing the weight each collapse by about half)
fixed some other UI logic in the python menu script
Added an option to use a vertex group for a reduction weight map to force reducing some areas more then others.

Mesh epydocs activeGroups can be None as well as string.

------------------------------------------------------------------------
r8071 | ton | 2006-07-05 22:30:44 +0200 (Wed, 05 Jul 2006) | 5 lines

Bug from own testing (yeah, writing logs means finding bugs!)

The Curve widget flag 'premultiply' should be cleared on read. This could
lead to an occasional crash...

------------------------------------------------------------------------
r8070 | khughes | 2006-07-05 20:28:51 +0200 (Wed, 05 Jul 2006) | 8 lines



===Python API===
Bugfix #4605: mball_to_mesh() doesn't create edges for new mesh, so
me.getFromObject() wouldn't display the new mesh until edit mode was entered.
Added a call to displistmesh_add_edges() to calculate them and then insert
into the new mesh.

------------------------------------------------------------------------
r8069 | ton | 2006-07-05 19:32:49 +0200 (Wed, 05 Jul 2006) | 7 lines

Bugfix #4620

Hurmf, then you bring back old backbuffer, and they want to have fields
work on that!
OK... here it is. Although using Compositor features will make this much
easier and advanced to control. :)

------------------------------------------------------------------------
r8068 | ton | 2006-07-05 17:59:26 +0200 (Wed, 05 Jul 2006) | 6 lines

Plumiferos report:

Bone renaming goes over a complex series of checks, which includes
checking all objects that have relations to the armature. the call
modifiers_usesArmature() didn't check properly for existing pointer...

------------------------------------------------------------------------
r8067 | ton | 2006-07-05 17:47:15 +0200 (Wed, 05 Jul 2006) | 7 lines

Bugfix #4609

ESC for OpenGL render (in anim) was hanging, so a 2nd anim render always
returned immediately.

Own bug collection: the SHIFT+NumPad-0 option didn't do an undo-push.

------------------------------------------------------------------------
r8066 | ton | 2006-07-05 15:34:03 +0200 (Wed, 05 Jul 2006) | 7 lines

Protests! So, we then better live with a switch to edge-select on using
the 'region to loop', and implement the notice using a non-blocking status
line once.

Nice proposal:
http://mke3.net/blender/interface/interaction/statusline_error.png

------------------------------------------------------------------------
r8065 | ton | 2006-07-05 14:41:16 +0200 (Wed, 05 Jul 2006) | 6 lines

Bugfix #3787

Option "rotate view about active object" was disabled when object was in
editmode or posemode. Removed this limit so the option just always uses
active object as center, disregarding mode.

------------------------------------------------------------------------
r8064 | ton | 2006-07-05 14:23:29 +0200 (Wed, 05 Jul 2006) | 8 lines

Testing in irc becomes more of battle in finding stupid ways to crash
Blender!

Nevertheless, this case was fixable, so...

Bug: While rendering opengl anims, closing the output window crashes
blender.

------------------------------------------------------------------------
r8063 | ton | 2006-07-05 14:18:02 +0200 (Wed, 05 Jul 2006) | 4 lines

Minor fix: the "Region to Loop" option changes selection mode to 'edge'
by default. Was already a report in tracker... I think it is nicer to
notify user of such changes first.

------------------------------------------------------------------------
r8062 | ton | 2006-07-05 13:59:00 +0200 (Wed, 05 Jul 2006) | 2 lines

Enabled Audio scrubbing in LMB dragging in IpoWindow and TimeLine.

------------------------------------------------------------------------
r8061 | ton | 2006-07-05 13:33:09 +0200 (Wed, 05 Jul 2006) | 7 lines

Bug #4616

Node Editor: selecting Material buttons in header crashed, when no buttons
window was opened. Code didn't check for proper window it was called from.

Also: autoname "Cyan" was spelled dutch! :)

------------------------------------------------------------------------
r8060 | ton | 2006-07-05 11:35:05 +0200 (Wed, 05 Jul 2006) | 5 lines

Bug #4610

Object buttons, the "Scale" constraint didn't draw a backdrop behind
buttons as the others did. Fix provided by Joshua Leung.

------------------------------------------------------------------------
r8059 | ton | 2006-07-05 11:20:46 +0200 (Wed, 05 Jul 2006) | 5 lines

bugfix #4604

Hemi light accidentally got shadow bias applied (to hide terminator probs).
This whilst this lamp type doesn't have shadow at all.

------------------------------------------------------------------------
r8058 | campbellbarton | 2006-07-05 09:10:03 +0200 (Wed, 05 Jul 2006) | 5 lines

fix for bug 4307, keyframe data was being written and that was buggy somewhere, so commented it out and it works ;)
Theres some other error that only happens when exporting fairly high poly meshes, but this problem is with the old exporter also.

Also added export for non mesh objects as meshes- text, metaballs etc and null material slots dont stop the script.

------------------------------------------------------------------------
r8057 | campbellbarton | 2006-07-05 06:03:40 +0200 (Wed, 05 Jul 2006) | 2 lines

broken noticed VecAngle3 and VecAngle2 comments wernt that helpfull. updated to make more sense.

------------------------------------------------------------------------
r8056 | campbellbarton | 2006-07-05 05:51:32 +0200 (Wed, 05 Jul 2006) | 3 lines

Added a note in mathutils about how line intersect works
getSBEnable was removed and replaced by isSB, docs needed to be updated.

------------------------------------------------------------------------
r8055 | ton | 2006-07-04 22:56:55 +0200 (Tue, 04 Jul 2006) | 4 lines

Bugfix #4603

UV coordinates for plane preview (buttons) was rotated 90 degrees.

------------------------------------------------------------------------
r8054 | schlaile | 2006-07-04 21:46:08 +0200 (Tue, 04 Jul 2006) | 5 lines

== Sequencer ==

Bugfix: seq_cut still used short-frame numbers preventing it from working
on long timelines.

------------------------------------------------------------------------
r8053 | blendix | 2006-07-04 21:22:14 +0200 (Tue, 04 Jul 2006) | 4 lines


Fix for bug #4607:
- Crash in recalc normals with vertices in infinity.

------------------------------------------------------------------------
r8052 | khughes | 2006-07-04 18:53:11 +0200 (Tue, 04 Jul 2006) | 4 lines



Bugfix #4590: typing in large translation values caused string buffer overflow.

------------------------------------------------------------------------
r8051 | ton | 2006-07-04 18:14:39 +0200 (Tue, 04 Jul 2006) | 2 lines

Random missed a seed per frame render.

------------------------------------------------------------------------
r8050 | ton | 2006-07-04 14:10:37 +0200 (Tue, 04 Jul 2006) | 12 lines

Bug as reported on irc often: in default .B.blend a first opening of
Outliner happened in Oops block view. I found this was caused by commit of
of a new .B.blend in may 2005 (after 2.36, before 2.37). That file had
already opened Oops views stored, which have to remain that way of course.

A full cleanup of .B.blend i rather not do now, so I've added a patch in
code that on read of the built-in .B.blend it sets all existing Oops
windows to Outliner.

And while working on it anyway, on first opening of a new Outliner, the
current Scene level is opened, but showing objects closed.

------------------------------------------------------------------------
r8049 | ton | 2006-07-04 13:06:00 +0200 (Tue, 04 Jul 2006) | 5 lines

Fix #4601

Buttons window "align" is being set to default on files read older than
2.30. This is giving very bad panel layouts now.

------------------------------------------------------------------------
r8048 | ton | 2006-07-04 12:19:26 +0200 (Tue, 04 Jul 2006) | 12 lines

Bug #4597

More Driver fixing...
Commit of over week ago to make drivers update correctly on cyclic
situations, forgot to fix another driver call... which then got called
always with 'current frame' set to zero.

Error only happened with animated (Ipos) Object-Object driver relations.

Also in this commit: when loading file, lattices with hooks were not
updated correctly.

------------------------------------------------------------------------
r8047 | campbellbarton | 2006-07-04 12:09:21 +0200 (Tue, 04 Jul 2006) | 3 lines

mesh_mirror_tool.py code cleanup, updated UI, tooltips added docstrig.
3ds_import.py minimal updates- changelog.

------------------------------------------------------------------------
r8045 | campbellbarton | 2006-07-04 03:56:49 +0200 (Tue, 04 Jul 2006) | 3 lines

strip 3ds materials names of spaces, 3ds import added a "Bounds" option enabled by default- manu models would import so large that people couldent see the objects without scaling by 0.01.
Other changes are minor tooltips

------------------------------------------------------------------------
r8044 | khughes | 2006-07-04 02:08:40 +0200 (Tue, 04 Jul 2006) | 6 lines


===Python API===
Plumiferos request: added sceneRender.set attribute, which give access
to the Render "Set" link for scenes.  Always wondered what that button
was for.

------------------------------------------------------------------------
r8043 | campbellbarton | 2006-07-03 22:17:40 +0200 (Mon, 03 Jul 2006) | 3 lines

more updates, mostly 2.3 error checking, nice messages when pythons not installed and some nendo import optimizations.
BPyMesh will work with the exception of the redux function in py2.3

------------------------------------------------------------------------
r8042 | ton | 2006-07-03 21:50:53 +0200 (Mon, 03 Jul 2006) | 8 lines

Mac intel commit

- patch from Douglas with endian fixes
- Makefile adds static libiconv.a from lib/
- this version will use OpenEXR libs from lib/ too, and is latest release
  with threading support
- openAL is missing, added it as default to not include it

------------------------------------------------------------------------
r8040 | ton | 2006-07-03 17:25:11 +0200 (Mon, 03 Jul 2006) | 3 lines

Composite node "Separate RGBA" didn't do a typecheck.
Errors happened when inputting a Normal or Value buffer in this node.

------------------------------------------------------------------------
r8039 | ton | 2006-07-03 14:18:14 +0200 (Mon, 03 Jul 2006) | 5 lines

Bugfix #4586

TimeLine window; option [>>] (skip to next keyframe) crashed on actions
with NULL ipo pointers.

------------------------------------------------------------------------
r8038 | ton | 2006-07-03 14:08:08 +0200 (Mon, 03 Jul 2006) | 5 lines

Bugfix #4583

Shader Group nodes crashed on render... it was accidentally calling
composite free-buffer option.

------------------------------------------------------------------------
r8037 | ton | 2006-07-03 13:53:52 +0200 (Mon, 03 Jul 2006) | 7 lines

IRC report fix:

- Halos were not sorted, for ages! Meaning that they were rendered in order
  of creation, instead of back to front.
- Made ESC testing for halo render to check per halo, is a fast routine now
  anyway.

------------------------------------------------------------------------
r8036 | ton | 2006-07-03 13:21:38 +0200 (Mon, 03 Jul 2006) | 9 lines

Bugfix #4578

Images saved with "Save..." menu in Image Window ignored the RGB or RGBA
setting in Scene Output panel.

Also:
- changed menu in "Save As..." to indicate it can change type/name
- added proper info about image in properties panel (RGB, A, Z)

------------------------------------------------------------------------
r8035 | djcapelis | 2006-07-03 12:00:56 +0200 (Mon, 03 Jul 2006) | 2 lines

Correcting order for static linking.

------------------------------------------------------------------------
r8034 | ton | 2006-07-03 11:49:12 +0200 (Mon, 03 Jul 2006) | 6 lines

* Fix for Matt's fix!

The "generator" class for nodes then better completely disappears, also
from theme color choices menu. Since there was room for it, made the
generator themecolor to become color for 'Convertor' node types.

------------------------------------------------------------------------
r8033 | campbellbarton | 2006-07-03 11:23:08 +0200 (Mon, 03 Jul 2006) | 2 lines

missed a call in transform editmode active pivot to calculateCenter2D, now it works as expected.

------------------------------------------------------------------------
r8032 | campbellbarton | 2006-07-03 09:20:19 +0200 (Mon, 03 Jul 2006) | 2 lines

BeBraw noticed that canceling fly mode didnt return to Ortho mode. fixed

------------------------------------------------------------------------
r8031 | campbellbarton | 2006-07-03 09:14:48 +0200 (Mon, 03 Jul 2006) | 2 lines

BPyMesh getMeshFromObject was failing to copy the vert weights because is a dumb mistage within a try - Thanks lightbringer for finding the error

------------------------------------------------------------------------
r8030 | broken | 2006-07-03 09:00:08 +0200 (Mon, 03 Jul 2006) | 4 lines

* Fix: Shading nodes 'value' and 'RGB' were still set to the old node class
Generators' so they didn't appear in the add menu under 'Input' where they
should be.

------------------------------------------------------------------------
r8029 | erwin | 2006-07-03 07:58:23 +0200 (Mon, 03 Jul 2006) | 2 lines

debug lines / register the applied impulse for constraint (for breaking)

------------------------------------------------------------------------
r8028 | campbellbarton | 2006-07-03 07:27:29 +0200 (Mon, 03 Jul 2006) | 2 lines

fixed an error in DECREF'ing a variable that could have been null, also gave more helpfull error messages, thanks Theeth

------------------------------------------------------------------------
r8027 | campbellbarton | 2006-07-03 07:05:28 +0200 (Mon, 03 Jul 2006) | 5 lines

Lots of scripts are using Object.Get() where Scene.GetCurrent().getChildren() is what is needed.
When through and replaced the obvious ones but there are still a a few Id rather not touch without more about whats going on.

Did quite a few changes to export-iv also.

------------------------------------------------------------------------
r8026 | campbellbarton | 2006-07-03 06:12:53 +0200 (Mon, 03 Jul 2006) | 2 lines

Modernized radiosity i/o - better errors, optimized with LC's modifiers and matricies applied.

------------------------------------------------------------------------
r8025 | campbellbarton | 2006-07-03 05:27:46 +0200 (Mon, 03 Jul 2006) | 2 lines

remove this mesh cleaning function, have alredy added a new Mesh based one (as opposed to NMesh).

------------------------------------------------------------------------
r8024 | campbellbarton | 2006-07-03 05:22:48 +0200 (Mon, 03 Jul 2006) | 5 lines

Update to ply export, give nice messages to the user rather then throwing errors at the user.
Export mesh data with modifiers and objects matrix applied. export not only mesh data but text, nurbs etc (thanks to BPYMesh getMeshFromObject)

Small updates to ply import, dont set the TEX of a face (no pink faces anymore)

------------------------------------------------------------------------
r8023 | campbellbarton | 2006-07-03 03:52:14 +0200 (Mon, 03 Jul 2006) | 7 lines

added python 2.3 set importer for BPyMesh_redux
made ngon loop-reduce function faster by replacing dicts with sets
off_export has some errors, modernized the script.
added a python 2.3 reversed compat function - just uses ls[::-1]

Further 2.3 compat testing needed.

------------------------------------------------------------------------
r8022 | campbellbarton | 2006-07-03 01:09:37 +0200 (Mon, 03 Jul 2006) | 2 lines

Made geometrys polyfill work with all iterators (not just lists) and updated bpymeshes ngon to ignore polylines with <3 verts.

------------------------------------------------------------------------
r8021 | khughes | 2006-07-02 23:37:06 +0200 (Sun, 02 Jul 2006) | 6 lines



===Python API===
Bugfix: key curve names compared using strncmp instead of strcmp,
resulting in wrong comparisons.

------------------------------------------------------------------------
r8020 | ianwill | 2006-07-02 21:50:30 +0200 (Sun, 02 Jul 2006) | 6 lines

Scripts:

- Jean-Michel Soler (thanks!) pointed that the 3ds importer was missing
license info. Added a GPL license block copied from the 3ds exporter by
the same author.

------------------------------------------------------------------------
r8019 | ton | 2006-07-02 21:32:48 +0200 (Sun, 02 Jul 2006) | 5 lines

Beauty fix: if you use AA fonts in UI, and set 'texture draw' option,
the info text in file window sometimes displayed in wrong scale.

Moved order of drawing to ensure this cannot happen.

------------------------------------------------------------------------
r8018 | elubie | 2006-07-02 21:00:49 +0200 (Sun, 02 Jul 2006) | 3 lines

=== MSVC project files ===
- added new Geometry.c file

------------------------------------------------------------------------
r8017 | elubie | 2006-07-02 20:59:40 +0200 (Sun, 02 Jul 2006) | 4 lines

=== warnings cleanup ===
- removed obvious typo after #include
- put back include for using EXPP_check_sequence_consistency and EXPP_ReturnPyObjError

------------------------------------------------------------------------
r8016 | ton | 2006-07-02 20:26:20 +0200 (Sun, 02 Jul 2006) | 9 lines

Bugfix #4557

Report noted the slow icon renders for menus, which indeed is an issue,
especially when texture images need to be loaded (not to mention that
will eat up loads of memory).

Added a flag in scene to disable loading of images, makes it 50 times
faster, at least :)

------------------------------------------------------------------------
r8015 | campbellbarton | 2006-07-02 17:28:28 +0200 (Sun, 02 Jul 2006) | 2 lines

finish adding Geometry module, removed polyfill from mathutils, updated epydoc links and updated BPyMesh NGon function

------------------------------------------------------------------------
r8014 | campbellbarton | 2006-07-02 17:25:37 +0200 (Sun, 02 Jul 2006) | 2 lines

Adding new geometry module, at the moment it only contains polyfill.. more commits to come, moving from mathutils.

------------------------------------------------------------------------
r8013 | ton | 2006-07-02 15:08:27 +0200 (Sun, 02 Jul 2006) | 6 lines

Bugfix #4536

FTF_GetStringWidth() was calling for translations, whilst translation was
not set even, causing crashes in strings.
Probably this was instable for many cases using Internation Font...

------------------------------------------------------------------------
r8012 | ton | 2006-07-02 14:46:41 +0200 (Sun, 02 Jul 2006) | 12 lines

Bugfix #4556

When a curve guide animates, it doesn't correctly work on dynamic particles.
This because the guides work on a fixed starting position (the birth of
particle) and then defines a full path for the entire particle. It is clear
this was only coded with static particles in mind...

Nevertheless, I've added a line of code to at least put the curve guide
on correct location for the moment a particle gets born.

Report moved to the todo tracker; this should be a spec for particle recode

------------------------------------------------------------------------
r8011 | ton | 2006-07-02 14:03:07 +0200 (Sun, 02 Jul 2006) | 5 lines

Bugfix #4569

Global undo didn't restore correctly the camera in unlocked 3d views.
("Lock" icon option next to layer buttons)

------------------------------------------------------------------------
r8010 | ton | 2006-07-02 13:47:27 +0200 (Sun, 02 Jul 2006) | 9 lines

Bug #4568

No fix... the Object "TimeOffset" option to work on own ipo doesn't work
at all, not since NaN days. Enabling it is easy, but might screw up a lot
of previous saved files.

I moved that report to the todo, for a make-over of the entire internal
timing system. Added tooltip in button this option doesn't work.

------------------------------------------------------------------------
r8009 | ton | 2006-07-02 13:21:06 +0200 (Sun, 02 Jul 2006) | 11 lines

Bugfix #4565

Curves without bevel/extrude don't react to buttons to fill front/back.
That is coded that way, so added this info to the tooltip

Bug report #4566

Creases drawing became very awkward in commit in august last year. Flipped
the drawing order so the fat lines - denoting creases - are drawn first.
That way the value of crease is visible, as well as edge selection state.

------------------------------------------------------------------------
r8008 | ton | 2006-07-02 12:42:29 +0200 (Sun, 02 Jul 2006) | 4 lines

Bugfix #4564

Environment mapping on channel "Mirror color" didn't support stencilling.

------------------------------------------------------------------------
r8007 | campbellbarton | 2006-07-02 12:37:24 +0200 (Sun, 02 Jul 2006) | 2 lines

wasnt decref'ing items I got from PySequence_GetItem for PolyFill or ob.join() fixed and tested, memory dosent increse when used in a large loop.

------------------------------------------------------------------------
r8006 | ton | 2006-07-02 12:36:26 +0200 (Sun, 02 Jul 2006) | 6 lines

Bugfix #4563

Wave Modifier defaulted to Y waves, even when both X and Y buttons were
disabled. That case isn't very useful, nevertheless... if buttons allows it
then it should just work!

------------------------------------------------------------------------
r8005 | ton | 2006-07-02 12:30:48 +0200 (Sun, 02 Jul 2006) | 6 lines

Bugfix #4562

Another thread render issue, now in Image texture, the 'repeat' value was
still a global... how did I think that would ever work? Just forgot about
that one I guess. :)

------------------------------------------------------------------------
r8004 | ton | 2006-07-02 11:56:41 +0200 (Sun, 02 Jul 2006) | 11 lines

Bugfix #4561

Sequence renders, calling scenes with compositing, didn't execute composite
correctly. Confusement caused by the rule that a "Render" handle has same
name as Scene, which gives conflict for the case when a Scene has
sequencing with Scene strips with its own scene in it.

The previous solution for that conflict caused composite not to work. This
commit solves that, but it is still hackish. Main reason is the still
bad global G.scene, in use by compositor.

------------------------------------------------------------------------
r8003 | campbellbarton | 2006-07-02 11:44:44 +0200 (Sun, 02 Jul 2006) | 4 lines

More fixes to lightwave ngon filling, fallback to fan fill- ngon function has working optimized loop detection, uses PolyFill function.
LWO cheats by having multiply poly lines in 1, by doubling back on the line. BPyMeshes NGON function splits this into multiple NGons so PolyFill can fill properly.
Tested with 1711 LWO files - (2 had unreadable faces) 77meg and 103 OBJ files- all worked.

------------------------------------------------------------------------
r8002 | ton | 2006-07-02 10:31:54 +0200 (Sun, 02 Jul 2006) | 3 lines

Fix: While checking on render stats timer, I found there was already stats
reserved for field and blur steps, but never used or printed.

------------------------------------------------------------------------
r8001 | ton | 2006-07-02 10:15:16 +0200 (Sun, 02 Jul 2006) | 6 lines

bug #4559

Render timers were called in the internal render loops (tile processor),
they still had to be moved to the outer loop, so they include fields/blur
or sequencer render timing correctly.

------------------------------------------------------------------------
r8000 | ton | 2006-07-02 09:59:42 +0200 (Sun, 02 Jul 2006) | 6 lines

Bugfix #4558

Thread render error: a flag was stored in read-only data to indicate
whether top or bottom hemisphere of sky was rendered. That can't work
with tiles (but did work when scanlines were threads).

------------------------------------------------------------------------
r7999 | campbellbarton | 2006-07-01 22:26:07 +0200 (Sat, 01 Jul 2006) | 2 lines

Further tweaking to the scanfill stuff

------------------------------------------------------------------------
r7998 | blendix | 2006-07-01 19:51:48 +0200 (Sat, 01 Jul 2006) | 9 lines


Fix for bug #4425:
- Assert was causing blender to crash on non-manifold meshes with a decimation
  modifier. Even in a debug build, there's no reason to crash blender then,
  because the modifier handles this ok and displays a warning message.

  Part of the problem is NDEBUG not being set in scons/linux for release builds,
  but always enabled for makefiles even in debug builds.

------------------------------------------------------------------------
r7997 | stiv | 2006-07-01 18:59:10 +0200 (Sat, 01 Jul 2006) | 4 lines

bugfix for #4533  Text3d.Get() fails in retrieving Text3d objects
The objects were returned properly, however the repr() method was
printing "" making it look like the Get() failed."

------------------------------------------------------------------------
r7996 | schlaile | 2006-07-01 18:16:07 +0200 (Sat, 01 Jul 2006) | 5 lines

== FFMPEG ==

Bugfix: Run ./configure also on "make clean" etc, since otherwise
ffmpeg-makefiles won't work because of missing files.

------------------------------------------------------------------------
r7995 | campbellbarton | 2006-07-01 17:45:52 +0200 (Sat, 01 Jul 2006) | 2 lines

oops. an empty list would crash.

------------------------------------------------------------------------
r7994 | campbellbarton | 2006-07-01 17:29:04 +0200 (Sat, 01 Jul 2006) | 6 lines

Added a scanfill wraper to Mathutils, allows you to fill polylines without using Meshes .fill() function.
Takes a list of polylines and returns a list of face index triplets.

Added this so using mesh.fill() could be avoided since it requires making an object, linking to the scene and cycling editmode for every NGon imported.
Since this is so close to release, It might be good if ken, willian or stivs takes a look at the function to make sure its ok. - Ran 100's of times for importing lightwave models but would be good to doublecheck.

------------------------------------------------------------------------
r7993 | campbellbarton | 2006-07-01 14:03:44 +0200 (Sat, 01 Jul 2006) | 2 lines

added an example of getting the worldspace matrix of a bone

------------------------------------------------------------------------
r7992 | n_t | 2006-07-01 13:38:26 +0200 (Sat, 01 Jul 2006) | 3 lines


Bug #4469: fixed particle-object button tooltip

------------------------------------------------------------------------
r7991 | ton | 2006-07-01 12:02:26 +0200 (Sat, 01 Jul 2006) | 6 lines

Bug #4552

Added extra security for fill faces. This function is being used for
importing now too, and it gets called for quite weird fill cases...
nevertheless, it should not crash!

------------------------------------------------------------------------
r7990 | ton | 2006-07-01 11:40:13 +0200 (Sat, 01 Jul 2006) | 3 lines

Totally ancient error: Makefiles for OSX did not copy the scripts in
the right way for regular builds... only the 'make release' did it OK.

------------------------------------------------------------------------
r7989 | ton | 2006-06-30 21:29:57 +0200 (Fri, 30 Jun 2006) | 6 lines

Bug #4550

AO option "Use Distances" does not work for colored AO, only for "Plain".
I've added this info in tooltip, and added event that resets the color
option for AO when "Use Distances" pressed.

------------------------------------------------------------------------
r7988 | ton | 2006-06-30 20:00:23 +0200 (Fri, 30 Jun 2006) | 7 lines

Bugfix #4545

In Editmode armature, the autocomplete for bone names used the bones from
the armature itself, not the edit data.

While fixing, also found out autocomplete for vertexgroup didnt work even.

------------------------------------------------------------------------
r7987 | djcapelis | 2006-06-30 19:23:24 +0200 (Fri, 30 Jun 2006) | 7 lines


Updating INSTALL file to point to new scons documentation and tweak a few minor
things that have changed since the last update.  This should probably be looked
at by some other people as well as this is just a quick update to point people
towards other pieces of information.  (A downstream maintainer was being driven
crazy by the lack of a updated INSTALL.)

------------------------------------------------------------------------
r7986 | ton | 2006-06-30 18:07:50 +0200 (Fri, 30 Jun 2006) | 6 lines

Bugfix #4544

Another fix in scanfill. A really old one... probably over 5 years.

Fill crashed when there were loose edges that were zero sized.

------------------------------------------------------------------------
r7985 | campbellbarton | 2006-06-30 17:41:20 +0200 (Fri, 30 Jun 2006) | 3 lines

Made BPyMesh's ngon a lot better- handels polylines that loop back on themselves, vert length edges and removes doubles (also slower :/ )
Lightwave importer uses this and also makes FGons from imported ngons.

------------------------------------------------------------------------
r7984 | ton | 2006-06-30 16:21:25 +0200 (Fri, 30 Jun 2006) | 11 lines

Hooray! Finally found the dreaded "Opengl crash" the poor orange team
suffered for the entire movie. :)

It only happened when rendering large frames, using a lot of memory and
typically when you also use other software in meantime.

Reason: the main thread does the drawing updating, while rendering is
still continuing. When using Ztransp, there was a free buffer done
when possibly a draw could still be in progress. Only crashed when drawing
is slow... explaining why it only showed up in more complex cases.

------------------------------------------------------------------------
r7983 | ton | 2006-06-30 14:38:38 +0200 (Fri, 30 Jun 2006) | 12 lines

Bugfix #4544

The 'edge fill' code failed on filling tiny small polygons. It has a limit
check for double points, which was hardcoded set to 0.0003.

That is (commented in code too) a weak part. Better would be to define a
bounding box first, and then derive the limit from that.

Further, the edge fill code uses blender EditEdge data, which fails when
the filling code removes edges. Certainly a topic to work on once, this
code is from the 80ies!

------------------------------------------------------------------------
r7982 | campbellbarton | 2006-06-30 13:22:45 +0200 (Fri, 30 Jun 2006) | 8 lines

NGon fan fill fallback had an error in the indicies it returned.
Further changes need to be added but theres a bug in Blender that prevents the NGon function from working.
https://projects.blender.org/tracker/index.php?func=detail&aid=4544&group_id=9&atid=125

Lightwave major update by Alessandro Pirovano (uaraus) intergrated with my changes.
Tested with ~ 500 models to import without throwing an error.
 Added subsurf back, image loading fixes and removed meshtools dependancy

------------------------------------------------------------------------
r7981 | eeshlo | 2006-06-30 06:53:59 +0200 (Fri, 30 Jun 2006) | 3 lines

bug #4532, when field rendering enabled in blender (not supported in yafray),
blender doubles the aspect ratio. This is now taken into account.

------------------------------------------------------------------------
r7980 | elubie | 2006-06-29 20:33:34 +0200 (Thu, 29 Jun 2006) | 4 lines

=== MSVC 7 project files ===
- removed edgeRender.c that doesn't exist an more
- removed not needed link dependencies odbc32.lib and odbccp32.lib from DNA_makesdna

------------------------------------------------------------------------
r7979 | ton | 2006-06-29 19:35:27 +0200 (Thu, 29 Jun 2006) | 4 lines

Bug #4537

Added "Composite Preview" option in ImageWindow menu, with hotkey note.

------------------------------------------------------------------------
r7978 | ton | 2006-06-29 19:22:29 +0200 (Thu, 29 Jun 2006) | 4 lines

Bugfix, IRC report:

Render option "Key Alpha" did not work yet.

------------------------------------------------------------------------
r7977 | ton | 2006-06-29 15:46:39 +0200 (Thu, 29 Jun 2006) | 12 lines

Bugfix #4530

Weightpaint fix.

Weight painting was recoded in 2.40 to support all features from vertex
paint. That code uses a 'soft' brush by default, which makes it impossible
to assign exact weight values on a single click (which used to be possible)

I've made that an option now, so you can disable it for single-click setting
of values on vertices within the brush (if 'use vertex distances' is
set, of course).

------------------------------------------------------------------------
r7976 | ton | 2006-06-29 14:55:28 +0200 (Thu, 29 Jun 2006) | 9 lines

Bugfix, own collection while testing:

- When saving image from Image Window, the extension was not added (with
  the option 'add extensions' set, in Scene buttons output panel)

- Same situation, after a save the data-block Image name was still the old
  one, also on 'reload' (in header and browsing menus). Confusing... so
  when saving image under new name now also renames the Image block.

------------------------------------------------------------------------
r7975 | ton | 2006-06-29 12:55:31 +0200 (Thu, 29 Jun 2006) | 4 lines

Bugfix #4534

Added pointer check to newly added code for this bugfix.

------------------------------------------------------------------------
r7974 | ton | 2006-06-29 12:48:30 +0200 (Thu, 29 Jun 2006) | 11 lines

Bugfix #4535

A proper check for the error "No Camera" on rendering can only be made
after a renderwindow was initialized. The error menu then shows in the
render window, which appears to not work OK in windows ATI (again!).

So; I've moved the test to before the renderwindow is activated, this is
not a test checking on the entire render pipeline (like Composite nodes or
sequence strips). In case more complex setups cannot render, an error is
printed in the console only.

------------------------------------------------------------------------
r7973 | ton | 2006-06-29 12:11:14 +0200 (Thu, 29 Jun 2006) | 6 lines

Bugfix #4534

Small tweak in warning levels for buttons showing Library data.
- Material, panel "Links" did still allow to change some settings
- Material, panel "Texture" did not allow to view different channels

------------------------------------------------------------------------
r7972 | ton | 2006-06-29 11:53:54 +0200 (Thu, 29 Jun 2006) | 10 lines

Related to bugreport #4514

Debugging complex files with drivers is very hard... so I've added the
drivers now to show in Outliner too (under the Ipo).
Note that this works for Actions too, but only when the action is linked
to an Object directly.

(For a real diff you have check previous commit, I forgot to write a log
for that)

------------------------------------------------------------------------
r7971 | ton | 2006-06-29 11:44:08 +0200 (Thu, 29 Jun 2006) | 21 lines

Bugfix from own testing:

In outliner, the icons sometimes were drawing too large or too small.
Same happened in NLA, Action, Image window etc. And it happened
for "International fonts" when set to use 'texture drawing'.

Reason: the API call for setting icon size BIF_icon_set_aspect() was not
used consistantly. Sometimes it was set, sometimes not. And even worse,
for every icon drawn in UI buttons, the icon lookup had to be done twice
because of the aspect function.

Solved it by removing this call, and adding a new function:
BIF_icon_draw_aspect()
The old BIF_icon_draw() call now draws with aspect 1.0 always. The icons
code already had optimal checking for changed sizes, zo a change in aspect
won't result in much cpu overhead. Plus it saves calling icons lookup code,
which will make it all a bit faster.

Andrea: I've added this aspect function a long while ago, I think you also
like it better how it is now? Please check!

------------------------------------------------------------------------
r7970 | campbellbarton | 2006-06-29 09:38:47 +0200 (Thu, 29 Jun 2006) | 2 lines

oops. messed up menu reg ''' wont work only """ will for menu registration comments.

------------------------------------------------------------------------
r7969 | campbellbarton | 2006-06-29 09:06:54 +0200 (Thu, 29 Jun 2006) | 4 lines

Made lightwave import work with images by removing internal image loading wrapper and use BPyImage.comprehensiveImageLoad
Sped up with LC's for vert loading.
tried to removing meshtools as a dependancy, but cant do that everywhere.

------------------------------------------------------------------------
r7968 | campbellbarton | 2006-06-29 08:04:21 +0200 (Thu, 29 Jun 2006) | 4 lines

There are a few BPy functions that are documented to return a list but actually return tuples.
Blender.sys.splitext() raises an error if the path is longer then 80 chars. seems a bit short, noted this anyhow end added an example.
(hope its okay to do small doc corrections as I notice them.)

------------------------------------------------------------------------
r7967 | campbellbarton | 2006-06-29 00:13:24 +0200 (Thu, 29 Jun 2006) | 2 lines

slight change to the way the shift key works in fly mode.

------------------------------------------------------------------------
r7966 | ton | 2006-06-28 22:06:48 +0200 (Wed, 28 Jun 2006) | 9 lines

Bugfix #4515

Another outliner + buttonswindow select error:
When clicking on lamp icon, the buttons window shows material, not lamp
buttons. Same happened for F5key btw, when buttons were showing world.

Also fixed: when switching to world buttons with F8key, the preview was
not re-rendered.

------------------------------------------------------------------------
r7965 | ton | 2006-06-28 19:59:36 +0200 (Wed, 28 Jun 2006) | 8 lines

Bugfix #4528

In compositor you can mix RGBA and Value buffers freely, but with one
exception... the Composite (output) node!

This solves a crash when connecting a Alpha socket to RGBA input in
Composite node.

------------------------------------------------------------------------
r7964 | elubie | 2006-06-28 19:46:46 +0200 (Wed, 28 Jun 2006) | 10 lines

=== warnings cleanup ===
added missing includes for undefined symbols in windows release build

warnings:
creator.c(490) : 'libtiff_init' undefined;
transform_manipulator.c(237) : 'EM_editselection_center' undefined;
src\transform_manipulator.c(241) : 'EM_editselection_normal' undefined;
transform_manipulator.c(242) : 'EM_editselection_plane' undefined;
\python\api2_2x\Object.c(3658) : 'get_local_bounds' undefined;

------------------------------------------------------------------------
r7963 | khughes | 2006-06-28 19:27:07 +0200 (Wed, 28 Jun 2006) | 6 lines



===Python API===
Added reminder in addCurve() doc for how to determine valid Key IPO curve
names.

------------------------------------------------------------------------
r7962 | khughes | 2006-06-28 19:13:39 +0200 (Wed, 28 Jun 2006) | 5 lines



Bugfix #4516: Allow ipo.addCurve() to create Key IPO curve for a
corresponding keyblock.

------------------------------------------------------------------------
r7961 | ton | 2006-06-28 16:29:57 +0200 (Wed, 28 Jun 2006) | 8 lines

bugfix #4526

Depsgraph fix: the signal DAG_object_flush_update() should flush changes in
'data' to all object users of that data, not only in current scene.

Error was that switching scenes sometimes showed invalid derivedmesh data,
with bezerk drawing.

------------------------------------------------------------------------
r7960 | ton | 2006-06-28 16:14:52 +0200 (Wed, 28 Jun 2006) | 6 lines

Hurmf, the previous commit to solve proper 3D preview re-renders broke how
buttons preview work. :)

The initialize of the variable should be in the initialize code, not in the
freeing code, tsk tsk!

------------------------------------------------------------------------
r7959 | ton | 2006-06-28 16:02:11 +0200 (Wed, 28 Jun 2006) | 6 lines

Bugfix #4520

Boolean modifier allowed to be added after subsurf, but it doesn't support
that. Added "eModifierTypeFlag_RequiresOriginalData" flag to prevent this
from happening in UI.

------------------------------------------------------------------------
r7958 | blendix | 2006-06-28 15:49:11 +0200 (Wed, 28 Jun 2006) | 9 lines


Fix for bug #4523:
- Crash on collapse with subsurf modifier. Cause was a missing DAG update
  when calling from the 3d view header menu.

  There really should be some standard way to place these countall, DAG
  update, redraw and undo push calls for editmesh tools, now they're in
  random places in the editmesh and UI code.

------------------------------------------------------------------------
r7957 | ton | 2006-06-28 14:53:57 +0200 (Wed, 28 Jun 2006) | 5 lines

Campbell report:
Not clearing the value for 'parts rendered' caused 3d previewrender to
sometimes fail doing updates (when an escape happens during converting
render data).

------------------------------------------------------------------------
r7956 | campbellbarton | 2006-06-28 06:53:19 +0200 (Wed, 28 Jun 2006) | 2 lines

EpyDoc/Object: Added notes and updated the makeDisplayList example for new modifier stuff.

------------------------------------------------------------------------
r7955 | lukep | 2006-06-28 00:51:56 +0200 (Wed, 28 Jun 2006) | 3 lines

added polish and coatian languages.
note that finish and russian ones are broken

------------------------------------------------------------------------
r7954 | lukep | 2006-06-27 23:48:54 +0200 (Tue, 27 Jun 2006) | 5 lines

some of the .po file had empty msgids and multilline comments from
generator which were making garbage of some sub-menus.
generated fresh .mo files
added a missing copy in appit for Os X

------------------------------------------------------------------------
r7953 | ianwill | 2006-06-27 19:51:11 +0200 (Tue, 27 Jun 2006) | 15 lines

BPython:

Bug #4484:

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

A recent update to Draw.c made the button attr setter function not exit
where it should for one of the cases, when new and old strings had
same length (code was missing a "return 0;" line in one of the if
cases). Should work fine now, I don't get the error under linux anymore.
Also saw in the same function that a py object could be created but
was not being decref'ed in two other 'if' cases.

Thanks elbarto for reporting the bug.

------------------------------------------------------------------------
r7952 | ton | 2006-06-27 18:54:24 +0200 (Tue, 27 Jun 2006) | 7 lines

Bugfix #4505

Node Editor.
Fix for a fix: cleanup of abuse of uiBlock accidentally disabled the
feature that only makes Node buttons accessible when visible. This to
allow Nodes to overlap and properly used.

------------------------------------------------------------------------
r7951 | campbellbarton | 2006-06-27 18:24:32 +0200 (Tue, 27 Jun 2006) | 3 lines

Dont fly in linked library data.
Changed Ctrl for upright into 2 toggles, X and Zkeys enable uprighting of the camera for each axis. Uprighting is also simplified.

------------------------------------------------------------------------
r7950 | stiv | 2006-06-27 17:54:37 +0200 (Tue, 27 Jun 2006) | 12 lines

patch from Ralf Hölzemer (cheleb) for
#4499 Fix for build of blenderplayer on windows/mingw/scons

fixes some invalid cflags for gcc on windows/mingw/scons
-if sys.platform=='win32':
+if (sys.platform=='win32') & ( Environment().subst('$CC') != 'gcc'):
     cflags = ['/GR']

Patch looks ok but no mingw evironment here to test.
So mingw/sconsers to your testing stations.
We can always roll back!

------------------------------------------------------------------------
r7949 | campbellbarton | 2006-06-27 15:37:16 +0200 (Tue, 27 Jun 2006) | 2 lines

The tab clickable area was a bit off (10px or so when zoomed in) now its a lot better though not 100% perfect abt 2-3px out.

------------------------------------------------------------------------
r7948 | campbellbarton | 2006-06-27 15:26:00 +0200 (Tue, 27 Jun 2006) | 3 lines

bugfix 4501
changed maximum length of the text entry to 399 to conform with Blenders limit.

------------------------------------------------------------------------
r7947 | ton | 2006-06-27 15:13:49 +0200 (Tue, 27 Jun 2006) | 10 lines

Bugfix #4446

Wire render crashes in Linux (only!), but why? Using a calloc instead of
malloc fixes it, but that doesn't solve the real issue in the code.

I can only imagine that bsearch() in linux has a completely different
implementation...

Anyhoo; let's commit the calloc, at least then we got stable wire render!

------------------------------------------------------------------------
r7946 | ton | 2006-06-27 15:02:23 +0200 (Tue, 27 Jun 2006) | 6 lines

fix #4503

Node Editor:
Using the popup menu of an unused vector input socket, used a callback
function that lacked proper checking for pointers.

------------------------------------------------------------------------
r7945 | ton | 2006-06-27 14:54:16 +0200 (Tue, 27 Jun 2006) | 6 lines

Bugfix #4502

A subsequent hotkey press like F5 now cycles through the sub-context in
buttons. However, this should not happen when clicking on Material icon
in outliner!

------------------------------------------------------------------------
r7944 | jiri | 2006-06-27 14:51:09 +0200 (Tue, 27 Jun 2006) | 4 lines



 -damn, I forgot this in previous commit

------------------------------------------------------------------------
r7943 | jiri | 2006-06-27 14:36:09 +0200 (Tue, 27 Jun 2006) | 8 lines



 bug fix:
  - added one more countall() function
  - undo works for (de)select all
  - added empty line at the end of editmball.c
  - added some comments

------------------------------------------------------------------------
r7942 | ton | 2006-06-27 14:19:32 +0200 (Tue, 27 Jun 2006) | 7 lines

Bugfix #4497

When using Node Shaders, the OpenGL color (solid drawmode) in 3d window
was still using the base Material only. That's a bit counter-intuitive
yes... i've replaced this with a function that checks for the active
material node color. Not perfect, but at least interactive.

------------------------------------------------------------------------
r7941 | ton | 2006-06-27 14:01:33 +0200 (Tue, 27 Jun 2006) | 5 lines

Bugfix #4495

Another old only-shadow material error: spot lights with ray-shadow still
calculated shadow on faces that were pointing away from the lamp.

------------------------------------------------------------------------
r7940 | blendix | 2006-06-27 13:55:33 +0200 (Tue, 27 Jun 2006) | 5 lines


Fix for bug #4496
- Toolbox select menu in faceselect mode was calling object mode
  functions.

------------------------------------------------------------------------
r7939 | ton | 2006-06-27 13:35:47 +0200 (Tue, 27 Jun 2006) | 5 lines

Bugfix #4491

Sequencer: Image/Movie strips were printing in a 120 byte array, whilst
filepaths and names can go up to 240 now.

------------------------------------------------------------------------
r7938 | ton | 2006-06-27 12:51:35 +0200 (Tue, 27 Jun 2006) | 5 lines

Bugfix #4488

On file load, a Curve deformation was not initialized when it
wasn't in a visible layer.

------------------------------------------------------------------------
r7937 | ton | 2006-06-27 12:28:00 +0200 (Tue, 27 Jun 2006) | 5 lines

Bugfix #4475

Sequencer effect "Glow" did not work for float images (like render result).
Reason: threshold value for glow was still integer range.

------------------------------------------------------------------------
r7936 | ton | 2006-06-27 11:48:54 +0200 (Tue, 27 Jun 2006) | 9 lines

Bugfixes from own collection:

- when renderwin exists, but not used for render, the ESC timer check still
  could return ESC event, due to missing flag clearing.
  (For example in sequencer, a scene strip did not update on frame advance)

- option 'single layer' set in combination with render "Do Sequence" didn't
  free the pushed layers.

------------------------------------------------------------------------
r7935 | jiri | 2006-06-27 11:37:12 +0200 (Tue, 27 Jun 2006) | 7 lines



 - Bug fix #1931
   metacubes shouldn't disapear, when dx, dy, dz is too big, thanks
   arsouille for pointing at right part of code (it was the oldest bug in
   bug tracker)

------------------------------------------------------------------------
r7934 | ton | 2006-06-27 10:53:39 +0200 (Tue, 27 Jun 2006) | 3 lines

Version patch for 2.41 saved files that had unsupported passes set.
Settings for unsupported passes are cleared now.

------------------------------------------------------------------------
r7933 | campbellbarton | 2006-06-27 08:57:29 +0200 (Tue, 27 Jun 2006) | 3 lines

rolling at different views would change speed because the roll detection only realy detects if we're rolling, but not by how much.
Just clamped a max roll angle so you dont notice this.

------------------------------------------------------------------------
r7932 | campbellbarton | 2006-06-27 07:56:56 +0200 (Tue, 27 Jun 2006) | 3 lines

Posemode was missing a "countall" call with pose mode select/deselect all. while adding this I noticed that lattice and metaballs were also missing countall() calls.
Added countall to metaball select, undo, duplicate (all the obvious places) - but its possible coultall() could be added to other functions especialy for metaballs.

------------------------------------------------------------------------
r7931 | campbellbarton | 2006-06-27 06:30:06 +0200 (Tue, 27 Jun 2006) | 4 lines

previous commit to editface made it impossible to leave faceSelect mode of the object was in an unseen layer.
Now you can leave faceSelect/UV mode while the object is hidden but not enter it. This is how editmode works.
Tweak to crease comparison.

------------------------------------------------------------------------
r7930 | campbellbarton | 2006-06-27 05:56:46 +0200 (Tue, 27 Jun 2006) | 2 lines

Added select similar crease to edge select groups. Needed this recently.

------------------------------------------------------------------------
r7929 | campbellbarton | 2006-06-27 04:49:55 +0200 (Tue, 27 Jun 2006) | 5 lines

Fixed a bug where face flags could not be set because of the faces existing flags.
A problem with the current flag seting in Mesh is that Mesh needs to know of all possible flags or setting a flag can raise an error from the faces own unrecognezed flag.
also stopped the active face flag raising an error so pythoners can do face1.flag |= face2.flag without checking for active face flags. if the flag is a part of the arg its removed quietly.
Checked Mesh flags, face modes and edge flags, should all be ok now.

------------------------------------------------------------------------
r7928 | ton | 2006-06-26 19:50:48 +0200 (Mon, 26 Jun 2006) | 7 lines

Plumiferos report:

The new Material "LightGroups" only worked with lamps in visible layers.
Now also lamps from the group that are not visible are included for
rendering, ensuring that a lightgroup always works on that material,
disregarding layer settings (unless lamp is type 'layer lamp').

------------------------------------------------------------------------
r7927 | ton | 2006-06-26 18:57:44 +0200 (Mon, 26 Jun 2006) | 5 lines

Plumiferos report: Ipo for material 'hardness' didn't go beyond 128

(Note; this value is stored in the curve when you make it, so you have
to remove the curve and insert it again...)

------------------------------------------------------------------------
r7926 | ton | 2006-06-26 16:57:56 +0200 (Mon, 26 Jun 2006) | 12 lines

Bugs #4488 and #4431

Sequencer:
Removing feature that allowed live updates of render progress while using
scene strips. In 2.41 and older this also happens invisible, and ESC from
it works now anyway.

Two reasons:
- it is quite annoying, especially on quit renders
- new 'render to window' conflicts too much with the sequencer window
  option that shows previews (in code as well as functional!)

------------------------------------------------------------------------
r7925 | ton | 2006-06-26 15:52:54 +0200 (Mon, 26 Jun 2006) | 3 lines

Oops, wrong pointer check in previous commit, gives crash in triangle
rendering. :)

------------------------------------------------------------------------
r7924 | schlaile | 2006-06-26 15:22:55 +0200 (Mon, 26 Jun 2006) | 5 lines

== Frameserver ==

Set SO_REUSEADDR on server-socket, since otherwise, frameserver will barf on
second start.

------------------------------------------------------------------------
r7923 | ton | 2006-06-26 15:19:04 +0200 (Mon, 26 Jun 2006) | 10 lines

Bugfix #4457

When faces (like in cubes) have exactly 90 degrees angles with other
faces, the check for a vertex-normal flip became random, caused by the
infamous bad floating point resolution.
Solved with including FLT_EPSILON in the check.

Also: minor optimize for readability and removed dutch function name
(contrpuntnorm -> check_vnormal)

------------------------------------------------------------------------
r7922 | campbellbarton | 2006-06-26 14:18:15 +0200 (Mon, 26 Jun 2006) | 2 lines

prev commit broke canceling a fly, works again.

------------------------------------------------------------------------
r7921 | ton | 2006-06-26 13:29:33 +0200 (Mon, 26 Jun 2006) | 5 lines

Bugfix #4483

Fix for bugfix! The code added to solve Driver lag should not be called
when Bones in Armature are drivers (only when Objects are drivers).

------------------------------------------------------------------------
r7920 | ton | 2006-06-26 13:01:09 +0200 (Mon, 26 Jun 2006) | 5 lines

Bugfix #4480

Material Node trees needed support in IpoWindow still, it was only showing
the Ipo for the (defunct) base material. Now it follows the active Node.

------------------------------------------------------------------------
r7919 | campbellbarton | 2006-06-26 12:53:06 +0200 (Mon, 26 Jun 2006) | 2 lines

Made fly mode use the camera when in camera view rather then jumping out of camera view for the actua flying as it did before.

------------------------------------------------------------------------
r7918 | schlaile | 2006-06-26 11:18:30 +0200 (Mon, 26 Jun 2006) | 7 lines

== FFMPEG ==

Made internal ffmpeg-libraries link by explicitly specifying the archive-files.
(Thanks GSR for pointing this out)

Otherwise, blender always links to the system-libs.

------------------------------------------------------------------------
r7917 | ton | 2006-06-26 10:16:16 +0200 (Mon, 26 Jun 2006) | 5 lines

Bugfix #4471

Using Weight/Vertex Paint, the current color was not reset, causing Object
name or axes to draw in random colors.

------------------------------------------------------------------------
r7916 | campbellbarton | 2006-06-26 09:54:10 +0200 (Mon, 26 Jun 2006) | 2 lines

removed numerious spelling mistakes

------------------------------------------------------------------------
r7915 | campbellbarton | 2006-06-26 08:59:59 +0200 (Mon, 26 Jun 2006) | 5 lines

Change the order of "if flag" checking so that weightpaint and vertex paint modes catch the UKey for undo before face select.
I was having to switch out of face select to undo then go back into face select mode.
FaseSelect+WeightPaint is very usefull, while wait painting its very unlikely youd want to be UV mapping faces.
Also Made all space.c's c++ comments into C style.

------------------------------------------------------------------------
r7914 | campbellbarton | 2006-06-26 06:26:51 +0200 (Mon, 26 Jun 2006) | 2 lines

Object_join Was raising exceptions about being in background mode when it wasnt, this seems to fix it. memory corruption is an unlikely resion because its the first check.

------------------------------------------------------------------------
r7913 | campbellbarton | 2006-06-26 06:14:12 +0200 (Mon, 26 Jun 2006) | 3 lines

Fixed a bug where loose edges would raise an error when the FGON value was unset.
also added LOOSE to the EdgeFlags dict.

------------------------------------------------------------------------
r7912 | campbellbarton | 2006-06-26 05:42:38 +0200 (Mon, 26 Jun 2006) | 2 lines

removing this script because editmode select group replaces it.

------------------------------------------------------------------------
r7911 | eeshlo | 2006-06-26 04:46:34 +0200 (Mon, 26 Jun 2006) | 3 lines

...Forgot to actually draw the image when xml export was used.
Another erroneous assumption based on my Ogl problems...

------------------------------------------------------------------------
r7910 | campbellbarton | 2006-06-26 04:43:15 +0200 (Mon, 26 Jun 2006) | 2 lines

join could crash blender in background mode or if the mesh was not in the current scene. added exceptions for both and notes in the EpyDocs.

------------------------------------------------------------------------
r7909 | schlaile | 2006-06-25 22:25:15 +0200 (Sun, 25 Jun 2006) | 4 lines

== FFMPEG ==

Forgot to change Makefile_blender accordingly

------------------------------------------------------------------------
r7908 | schlaile | 2006-06-25 21:47:34 +0200 (Sun, 25 Jun 2006) | 4 lines

== FFMPEG ==

Forgot to mkdir OCGDIR/ffmpeg

------------------------------------------------------------------------
r7907 | schlaile | 2006-06-25 21:16:45 +0200 (Sun, 25 Jun 2006) | 4 lines

== FFMPEG ==

Merge conflict indicators left... arghh.

------------------------------------------------------------------------
r7906 | schlaile | 2006-06-25 21:15:50 +0200 (Sun, 25 Jun 2006) | 4 lines

== FFMPEG ==

Added Cygwin / mingw default location also

------------------------------------------------------------------------
r7905 | schlaile | 2006-06-25 21:02:38 +0200 (Sun, 25 Jun 2006) | 4 lines

==FFMPEG==

forgot to commit nan_definition changes

------------------------------------------------------------------------
r7904 | schlaile | 2006-06-25 20:42:37 +0200 (Sun, 25 Jun 2006) | 2 lines

And forgot to add all architectural dirs under EXTRADIRS ...

------------------------------------------------------------------------
r7903 | schlaile | 2006-06-25 20:38:47 +0200 (Sun, 25 Jun 2006) | 2 lines

... and forgot this little header file ...

------------------------------------------------------------------------
r7902 | schlaile | 2006-06-25 20:38:11 +0200 (Sun, 25 Jun 2006) | 2 lines

Broke previous game engine patch, sorry.

------------------------------------------------------------------------
r7901 | schlaile | 2006-06-25 20:25:36 +0200 (Sun, 25 Jun 2006) | 5 lines

== FFMPEG ==

Added extern/ffmpeg.
Gets only build on WITH_FFMPEG=true and NAN_FFMPEG = LCGDIR/ffmpeg.

------------------------------------------------------------------------
r7900 | ton | 2006-06-25 19:37:31 +0200 (Sun, 25 Jun 2006) | 4 lines

Bugfix, Campbell irc report; the 'error no camera' didn't halt actual
rendering completely. Making ESC (push window) work confusing or even
save images in Anim (and crash).

------------------------------------------------------------------------
r7899 | ton | 2006-06-25 19:31:13 +0200 (Sun, 25 Jun 2006) | 5 lines

Bug 4474

When using the Object buttons (F7) menu to parent an object, a check was
missing if object might have been library data.

------------------------------------------------------------------------
r7898 | ton | 2006-06-25 18:54:06 +0200 (Sun, 25 Jun 2006) | 4 lines

Displacement didn't react correct for stencilling. Our confusing system
has both geometry-normal displace as texture-normal displace. The first
didn't get stencilled.

------------------------------------------------------------------------
r7897 | ton | 2006-06-25 17:46:03 +0200 (Sun, 25 Jun 2006) | 3 lines

Patch from Ed Halley to ensure transmissivity values get the right
defaults.

------------------------------------------------------------------------
r7896 | ton | 2006-06-25 17:32:42 +0200 (Sun, 25 Jun 2006) | 7 lines

Fix #4472

Material option "Only shadow" didn't work 100% anymore since shadowbuffer
returns 0.0 (shadow) on backfacing normals.

Added extra test in code to solve this.

------------------------------------------------------------------------
r7895 | campbellbarton | 2006-06-25 15:58:42 +0200 (Sun, 25 Jun 2006) | 2 lines

Many buttons assumed G.vd existed. found all? buttons that cheashed Blender and made them test for G.vd

------------------------------------------------------------------------
r7894 | ton | 2006-06-25 14:44:45 +0200 (Sun, 25 Jun 2006) | 8 lines

Bugfix #4467

- Button "relative key" was still there in Mesh Panel (is in Shape now)
- Button "Slurph" also moved to Shape panel, and gave it a tooltip.

(Slurph with value 10 will make the first vertex of a Mesh go 10 frames
earlier than the last vertex. Nice effect for making flexible stuff)

------------------------------------------------------------------------
r7893 | ton | 2006-06-25 14:30:33 +0200 (Sun, 25 Jun 2006) | 5 lines

Bugfix #4466 (half)

Object 'active shape' was only 1 byte in object. OK. Let's sacrifice another
byte for that then!

------------------------------------------------------------------------
r7892 | ton | 2006-06-25 14:16:05 +0200 (Sun, 25 Jun 2006) | 5 lines

Bugfix #4463

Render Pipeline: the error "No camera" wrongly popped up when rendering a
scene that has only compositing inside (can skip 3d rendering).

------------------------------------------------------------------------
r7891 | ton | 2006-06-25 14:00:34 +0200 (Sun, 25 Jun 2006) | 6 lines

Bugfix #4460

Compositor:
The option to re-render a single node, didn't free memory if nodes were in
use showing exactly same RenderLayer.

------------------------------------------------------------------------
r7890 | ton | 2006-06-25 12:52:13 +0200 (Sun, 25 Jun 2006) | 6 lines

Bugfix #4454

Lens flare: error in counting visibility per halo-flare in the to-be
cropped area of tiles. Halos now don't render in the 2 pixels exta outline
per tile, which is only used by faces anyway.

------------------------------------------------------------------------
r7889 | ton | 2006-06-25 12:11:53 +0200 (Sun, 25 Jun 2006) | 3 lines

Found one more case for drawing GL_FLOAT in preview render system.
Removed that for ATI issues too...

------------------------------------------------------------------------
r7888 | ton | 2006-06-25 12:08:26 +0200 (Sun, 25 Jun 2006) | 5 lines

Bugfix #4449

The "Edge settings" menu in Scene buttons still was displaying old Unified
render options.

------------------------------------------------------------------------
r7887 | ton | 2006-06-25 12:02:18 +0200 (Sun, 25 Jun 2006) | 3 lines

Dunno how... maybe during Orange merging, but these files should have been
removed from CVS too!

------------------------------------------------------------------------
r7886 | ton | 2006-06-25 11:47:38 +0200 (Sun, 25 Jun 2006) | 6 lines

Bugfix #4444

Material buttons: the Node Panel should draw the active node UI, but it
didn't use the correct width value to draw buttons, causing for example
the "Normal" widget to draw out of bounds.

------------------------------------------------------------------------
r7885 | blendix | 2006-06-25 11:40:01 +0200 (Sun, 25 Jun 2006) | 5 lines


Fix for bug #4461:
- In weight paint mode, with the vertex paint flag also set, vertex
  paint would get the mouse events instead of weight paint.

------------------------------------------------------------------------
r7884 | ton | 2006-06-25 11:18:55 +0200 (Sun, 25 Jun 2006) | 4 lines

Bugfix #4443

Mblur render without OSA set, still did render OSA.

------------------------------------------------------------------------
r7883 | ton | 2006-06-25 10:20:45 +0200 (Sun, 25 Jun 2006) | 6 lines

Fix #4441

Ancient issue; when you make a path cyclic, inserting new points resulted
in wrong interpolation. Reason: the knots array was then created with the
wrong tag 'endpoint U'.

------------------------------------------------------------------------
r7882 | broken | 2006-06-25 08:00:22 +0200 (Sun, 25 Jun 2006) | 3 lines

* Fix for my commit a while ago to correct the grid floor highting for darker
backgrounds, some of the logic was bakwards.

------------------------------------------------------------------------
r7881 | campbellbarton | 2006-06-25 04:26:01 +0200 (Sun, 25 Jun 2006) | 5 lines

Made Shift key slow down the flying by a to a 10th to work more like blender. alt is now mouselook
Simplified traveling on x/y/z axis and use WASDRF with RF for up and down.
Added cancel to the header tip
Made Esc/RMB go back to the initial view for normal perspective views (previously only worked for Camera view)

------------------------------------------------------------------------
r7880 | blendix | 2006-06-24 23:45:50 +0200 (Sat, 24 Jun 2006) | 5 lines


Potential fix for bug #4459:
- UV editor hotkeys not working. Likely due to paint mode still being
  enabled without an image visible.

------------------------------------------------------------------------
r7879 | schlaile | 2006-06-24 22:54:26 +0200 (Sat, 24 Jun 2006) | 6 lines

== Render ==

Bugfix:
- Frameserver rendering always got only the first frame, because
  re->cfra wasn't initialized.

------------------------------------------------------------------------
r7878 | schlaile | 2006-06-24 22:48:57 +0200 (Sat, 24 Jun 2006) | 7 lines

== Sequencer ==

Bugfixes:
- Previous seqaudio-patch broke mixdown functionality (no need to init SDL
  on mixdown case... || -> && )
- hddaudio-crash at end of track finally fixed.

------------------------------------------------------------------------
r7877 | desoto | 2006-06-24 20:37:21 +0200 (Sat, 24 Jun 2006) | 4 lines

I couldn't let this die. This commit adds yet another new line to the end
of BIF_editgroup.h. That should be *more* than enough ;) I couldn't let it
go with no commit message.

------------------------------------------------------------------------
r7876 | desoto | 2006-06-24 20:28:50 +0200 (Sat, 24 Jun 2006) | 4 lines


i
t

------------------------------------------------------------------------
r7875 | campbellbarton | 2006-06-24 20:00:10 +0200 (Sat, 24 Jun 2006) | 3 lines

This better be the last fix!
Non camera objects work, you can now fly a cube to place it!

------------------------------------------------------------------------
r7874 | campbellbarton | 2006-06-24 18:12:07 +0200 (Sat, 24 Jun 2006) | 2 lines

reversed the order of suptraction for making the manipulator plane for adtive editmode objects, givea better results now for rotating about a verts normal.

------------------------------------------------------------------------
r7873 | blendix | 2006-06-24 17:14:13 +0200 (Sat, 24 Jun 2006) | 4 lines


Fix for bug #4448:
- Degenerate triangle issue for LSCM with reported .blend.

------------------------------------------------------------------------
r7872 | campbellbarton | 2006-06-24 16:57:42 +0200 (Sat, 24 Jun 2006) | 2 lines

Added strafe (side stepping) with WASD keys - for all those quake junkies!

------------------------------------------------------------------------
r7871 | blendix | 2006-06-24 16:16:36 +0200 (Sat, 24 Jun 2006) | 6 lines


Fixes for bugs #4450, #4451 and #4452.
- Unwrapper setting got reset unnecessarily in do_versions.
- UV pixel snapping did floor rounding, nearest pixel is nicer.
- Draw Faces button didn't trigger UV editor redraw.

------------------------------------------------------------------------
r7870 | elubie | 2006-06-24 14:35:34 +0200 (Sat, 24 Jun 2006) | 6 lines

=== bugfix ===
[ #4434 ] 3d view transform propereties float "Dim" fields lock
float comparison was inaccurate, resulted in code thinking  DimX was changed always
with change not noticeable.
Replaced it with comparison against small epsilon.

------------------------------------------------------------------------
r7869 | ton | 2006-06-24 13:30:19 +0200 (Sat, 24 Jun 2006) | 6 lines

Changed error message for "Screw" tool in Edit Mesh into:

"You have to select a string of connected vertices too"

(Was: "You have to select a Curve").

------------------------------------------------------------------------
r7868 | ton | 2006-06-24 12:55:11 +0200 (Sat, 24 Jun 2006) | 5 lines

Bugfix #4436

RenderWindow redraws (after rendering) was still using GL_FLOAT. Replaced
it with the faster glaDrawPixelsSafe_to32() call. Stupid ATIs! :)

------------------------------------------------------------------------
r7867 | ton | 2006-06-24 12:25:30 +0200 (Sat, 24 Jun 2006) | 7 lines

Changed order of RenderLayer options to reflect the order of processing:

Sky - Solid - Halo - Ztransp - Edge

And added better info in the tooltips for it. It's important to know that
Halos will always be covered by Ztransp, if rendered in 1 RenderLayer.

------------------------------------------------------------------------
r7866 | pidhash | 2006-06-24 09:43:13 +0200 (Sat, 24 Jun 2006) | 3 lines

fix for report 4440 in the bug tracker
.

------------------------------------------------------------------------
r7865 | campbellbarton | 2006-06-24 01:58:50 +0200 (Sat, 24 Jun 2006) | 4 lines

Draw.c fixed error in exception I added with string max length.
Window.py added note about the view offset being flipped.
editview.c Fly mode timed redraws so motion is the same speed erespective of scene complexity.

------------------------------------------------------------------------
r7864 | ton | 2006-06-23 22:40:22 +0200 (Fri, 23 Jun 2006) | 6 lines

Small code cleanup for checking correct identifiers for Images called
"Render Result". (Image name vs Image ID name).

Also solves: when you saved Render Result image (with pulldown), Blender
was reading that image from disk on a re-render.

------------------------------------------------------------------------
r7863 | ton | 2006-06-23 22:11:02 +0200 (Fri, 23 Jun 2006) | 6 lines

bugfix #4431

Sequence render: when a Scene strip renders from within the UI (because
the sequencer preview option demands so), the render-result for this
rendering was not stored or accessible for redraws in render window.

------------------------------------------------------------------------
r7862 | ton | 2006-06-23 21:43:48 +0200 (Fri, 23 Jun 2006) | 6 lines

Bugfix 4424

When using the button in a RenderLayer node to render a single node, the
new 'render to fullscreen' crashed in end. Reason; the node editor was
still handling events after a render, as if the node editor was still open.

------------------------------------------------------------------------
r7861 | aphex | 2006-06-23 20:52:31 +0200 (Fri, 23 Jun 2006) | 5 lines

=Scons=

Some additional external files were needed for correct running on
Windows - libtiff.dll, python24.zip, /release/windows/extra/*.*

------------------------------------------------------------------------
r7860 | ton | 2006-06-23 19:56:15 +0200 (Fri, 23 Jun 2006) | 5 lines

Bugfix #4430

Particle "Disp" percentage didn't work for particle-dulplicators. Now it
does!

------------------------------------------------------------------------
r7859 | sirdude | 2006-06-23 19:45:50 +0200 (Fri, 23 Jun 2006) | 9 lines



Newer versions of openal require linking against lib alut.

I added a $(wildcard libalut)  to the linked libraries.
So if it exists its linked in. (Was causing issues on my laptop)

Kent

------------------------------------------------------------------------
r7858 | elubie | 2006-06-23 19:43:02 +0200 (Fri, 23 Jun 2006) | 4 lines

==== bugfix ====
fix for [ #4422 ] 2.42 RC1 Win32 build: IPO curve resize+flip = crash
bad size for a string could overwrite memory

------------------------------------------------------------------------
r7857 | ton | 2006-06-23 18:48:28 +0200 (Fri, 23 Jun 2006) | 6 lines

Bug 4429

When using multiple RenderLayers, each with own 'edge render', the buffer
holding edge pixels wasn't cleared from scratch, so the edges of previous
layers were showing too.

------------------------------------------------------------------------
r7856 | sirdude | 2006-06-23 18:35:44 +0200 (Fri, 23 Jun 2006) | 8 lines



When I made solid and qhull not build when not needed I switched their
order around.  solid depends on qhull headers so this fixes it.
(you would only notice if you did not have the qhull headers in blender/../lib)

Kent

------------------------------------------------------------------------
r7855 | ascotan | 2006-06-23 17:25:57 +0200 (Fri, 23 Jun 2006) | 4 lines

*msvc project update
- commiting fixes for vc8
- updating projects for added files

------------------------------------------------------------------------
r7854 | sirdude | 2006-06-23 17:08:13 +0200 (Fri, 23 Jun 2006) | 13 lines



Patch(s) provied by Fabien Devaux

This fixes bug# 4421

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

Initalizes audio in scrub mode properly.
also avoids playing back some samples twice.

Kent

------------------------------------------------------------------------
r7853 | erwin | 2006-06-23 16:10:12 +0200 (Fri, 23 Jun 2006) | 2 lines

bug: normalized raycast

------------------------------------------------------------------------
r7852 | ton | 2006-06-23 14:15:22 +0200 (Fri, 23 Jun 2006) | 12 lines

Bugfix #4420 + #3975

Found reasonable OK solution for a cyclic dependency that was bothering
a lot of (character) animators. They would like to drive bones with
Objects, but that lagged when you parent these Objects to the
armature, since that's a circular dependency.

Since Driver relations are only looking at local object properties (i.e.
it's local position/rotation) there's a simple way to solve it. In case
such Objects have an Ipo, it reads driver values directly from the
Object Ipo (on correct time) instead of Object values.

------------------------------------------------------------------------
r7851 | campbellbarton | 2006-06-23 13:31:04 +0200 (Fri, 23 Jun 2006) | 3 lines

Made outliner default over oops - looks like it was intended to be but it didnt work,
need to change the .B.blend file so the default isnt OOPS.

------------------------------------------------------------------------
r7850 | campbellbarton | 2006-06-23 11:14:13 +0200 (Fri, 23 Jun 2006) | 3 lines

face select mode would allow you to enter it even if the object was not on a visible layer.
Changed this to be the same as editmode.

------------------------------------------------------------------------
r7849 | ton | 2006-06-23 11:13:05 +0200 (Fri, 23 Jun 2006) | 4 lines

Bugfix #4418

Too strict code prevented saving OpenGL rendered images with F3.

------------------------------------------------------------------------
r7848 | erwin | 2006-06-23 02:34:59 +0200 (Fri, 23 Jun 2006) | 2 lines

bugfix: tau/damping not linked  up, this allows for solving some physics setup problems

------------------------------------------------------------------------
r7847 | ton | 2006-06-22 18:56:55 +0200 (Thu, 22 Jun 2006) | 7 lines

The "Render Result" image should get tagged "ok" after being set. Some of
the other functions in blender check for it.

Important note; this builtin generated image, also "Viewer Node", should
not be used as input for composite, or for Image texture. I should make
this excluded from browsing probably...

------------------------------------------------------------------------
r7846 | ton | 2006-06-22 17:25:30 +0200 (Thu, 22 Jun 2006) | 4 lines

Plumiferos report: Using multiple levels linked scenes (as 'set') didn't
make sure animation updates were executed in the deeper levels. It only
still did the first set.

------------------------------------------------------------------------
r7845 | ton | 2006-06-22 16:00:05 +0200 (Thu, 22 Jun 2006) | 4 lines

Bugfix #3773

Option SHIFT+CTRL+5, "select all non-tria/quad" didnt work at all.

------------------------------------------------------------------------
r7844 | ton | 2006-06-22 15:04:11 +0200 (Thu, 22 Jun 2006) | 7 lines

fix #4327

The Mesh Bevel tool doesn't look at selection (works on all) but it called
a recalc-normals that assumed selection. Added a select-all prior to bevel.

(bevel doesnt even respect hidden!)

------------------------------------------------------------------------
r7843 | ton | 2006-06-22 14:25:28 +0200 (Thu, 22 Jun 2006) | 3 lines

Button alignment error in Particle panel (set 'static').
Appeared to be a missing check in the alignment code even. :)

------------------------------------------------------------------------
r7842 | ton | 2006-06-22 12:34:01 +0200 (Thu, 22 Jun 2006) | 6 lines

Bugfix #4411

New option "Loop to region" selection crashed when no valid loop was
selected. Just a NULL pointer check.
Also: unified function declaration syntax, so it matches with rest of code.

------------------------------------------------------------------------
r7841 | ton | 2006-06-22 12:10:12 +0200 (Thu, 22 Jun 2006) | 5 lines

Fix #4403

Render: the Lamp-halo (spots) didn't respect the local view-layer
options in the RenderLayers.

------------------------------------------------------------------------
r7840 | ton | 2006-06-22 11:35:09 +0200 (Thu, 22 Jun 2006) | 6 lines

Bugfix #4397

3D Window preview render accidentally called Yafray. That's a not working
feature yet. Could work for external renders though, but that's for
another time i think. :)

------------------------------------------------------------------------
r7839 | ton | 2006-06-22 11:27:33 +0200 (Thu, 22 Jun 2006) | 6 lines

Fix #4406

The Stucci texture now returns an 'intensity' value too, this wasn't too
interesting though... not reflecting all options for the texture itself.
Now it shows better in preview renders.

------------------------------------------------------------------------
r7838 | broken | 2006-06-22 09:06:42 +0200 (Thu, 22 Jun 2006) | 8 lines

* Two sequence editor fixes, found by Peter

- strip handle selection now properly uses the new clamped handle size, instead
of the old triangles

- fixed an issue where a strip resized inwards would disappear when the original
start < window edge < resized start, and vice versa

------------------------------------------------------------------------
r7837 | eeshlo | 2006-06-22 05:12:48 +0200 (Thu, 22 Jun 2006) | 9 lines

bug #4380, border rendering was not correct.
solution could have been much simpler, but since that would have required
altering blender code (only a single line though)...

also fixed a minor bug reported in the yafray forums, when spotlights had the
shadowbuf flag set and then switching to yafray, yafray still rendered
shadows which to user was unexpected since there was no shadow flag enabled
in the yafray lamp panel, so now ignores the blender flag.

------------------------------------------------------------------------
r7836 | erwin | 2006-06-22 04:20:36 +0200 (Thu, 22 Jun 2006) | 2 lines

bugfix:: added objects didn't have proper physics id (they used the physics id from the 'hidden layer' original.

------------------------------------------------------------------------
r7835 | erwin | 2006-06-22 04:09:48 +0200 (Thu, 22 Jun 2006) | 2 lines

fixed restore/suspendDynamics bug

------------------------------------------------------------------------
r7834 | erwin | 2006-06-22 03:10:50 +0200 (Thu, 22 Jun 2006) | 2 lines

workaround for a irregularity/bug in physics system (happens very seldom, just 1 report so far, linear velocity/AABB becomes NaN)

------------------------------------------------------------------------
r7833 | erwin | 2006-06-21 22:35:06 +0200 (Wed, 21 Jun 2006) | 2 lines

clarified text to catch some rare collision issue

------------------------------------------------------------------------
r7832 | ton | 2006-06-21 21:16:09 +0200 (Wed, 21 Jun 2006) | 13 lines

Plumiferos bug: autohandles in Ipos could get screwed up in extreme cases,
but they got this case! :)

Bug was that for autohandle, the previous position of handle was used for
calculating the position too, which I really don't remember why... (that
is code from 10 years ago). Problem with that approach is that extreme
changes in handles don't go correct immediately, but need to itterate a
while. Or even worse, can give NaN values, resulting in this:

http://www.blender.org/bf/ipobug.jpg

Now the handle points are fully recalculated, as it should.

------------------------------------------------------------------------
r7831 | campbellbarton | 2006-06-21 18:44:53 +0200 (Wed, 21 Jun 2006) | 5 lines

Fixed error in fly mode mouse scaling,
Commented almost all variables in fly() to say what they do
Added BIF_view3d_previewrender_signal so preview is redone after flying- its not working at the moment but it shiould :/
Made the 3d view use the cameras near/far clipping while flying.

------------------------------------------------------------------------
r7830 | campbellbarton | 2006-06-21 17:36:05 +0200 (Wed, 21 Jun 2006) | 3 lines

small change, the edge collapse limit was only 0.001, whats way too big and I found it removed more points then just the ones that collapsed.
changed to 0.000001 - the verts are collapsed to the same location so it they shuld not to offset from eachother anyway.

------------------------------------------------------------------------
r7829 | sirdude | 2006-06-21 17:27:49 +0200 (Wed, 21 Jun 2006) | 8 lines



small fix to make it so solid and qhull are not build if not needed.
Got the go ahead on #blendercoders, Erwin if you need my address to
hunt me down I'll email it to you. ;)

Kent

------------------------------------------------------------------------
r7828 | ton | 2006-06-21 17:16:47 +0200 (Wed, 21 Jun 2006) | 6 lines

Bugfix #2716 (old one)

While ALT+A playback, a redraw event was added to queues, which was not
read until playback stops. Gave crashers when you leave Blender playing
for like a day. :)

------------------------------------------------------------------------
r7827 | blendix | 2006-06-21 17:14:44 +0200 (Wed, 21 Jun 2006) | 5 lines


Fix for bug #4393: initial vertex colors were not created from shaded
mode colors anymore, which also affected python scripts that depend on
this feature. Restored that now.

------------------------------------------------------------------------
r7826 | ton | 2006-06-21 16:20:43 +0200 (Wed, 21 Jun 2006) | 3 lines

And another syntax error for Python Noise api, this time a crasher even.
(Thanks Tim!)

------------------------------------------------------------------------
r7825 | ton | 2006-06-21 16:10:59 +0200 (Wed, 21 Jun 2006) | 5 lines

Bugfix #4396

(From Timothy) Python vNoise() function couldn't be used, had wrong check
for syntax.

------------------------------------------------------------------------
r7824 | ton | 2006-06-21 15:40:13 +0200 (Wed, 21 Jun 2006) | 6 lines

Bugfix #4391

The option "unlink group" did not remove the group entirely by setting its
user counter on zero. Now it does!
(option available in Outliner only)

------------------------------------------------------------------------
r7823 | ton | 2006-06-21 14:46:18 +0200 (Wed, 21 Jun 2006) | 5 lines

Bugfix #4392

Lasso select didn't check for clipped away coordinates, causing wrong
selections in some cases (reported for edit mode Armature).

------------------------------------------------------------------------
r7822 | ton | 2006-06-21 13:50:57 +0200 (Wed, 21 Jun 2006) | 6 lines

Bugfix #4389

Action Editor:
Menu options for Extend/Interpolation and Snap didn't work for Constraint
channels.

------------------------------------------------------------------------
r7821 | ton | 2006-06-21 12:46:38 +0200 (Wed, 21 Jun 2006) | 8 lines

Bug #4382

When Blender tries to open a non-existing file,  two error popups were
called. Very annoying.

Was simple one-liner fix; the 'read exotic' function should return a -1
when file doesn't exist. :)

------------------------------------------------------------------------
r7820 | ton | 2006-06-21 12:02:47 +0200 (Wed, 21 Jun 2006) | 7 lines

Bugfix #4367

Creating texture coordinates for Curve bevels didn't allocate a correct
sized memory block when both U and V directions of a bevel are circular.

This will also fix "UV orco" for such curves (like donut shapes).

------------------------------------------------------------------------
r7819 | ton | 2006-06-21 10:58:08 +0200 (Wed, 21 Jun 2006) | 3 lines

Fix: the new "render out to Image Window" option didn't get a refresh
event on compositing changes.

------------------------------------------------------------------------
r7818 | lukep | 2006-06-20 22:24:07 +0200 (Tue, 20 Jun 2006) | 4 lines

fix of the previous security patch for file opening on Os X.

nobody noticed it was broken for 3 month ;)

------------------------------------------------------------------------
r7817 | ton | 2006-06-20 22:05:10 +0200 (Tue, 20 Jun 2006) | 5 lines

Switched the glaDrawPixelsSafe to glaDrawPixelsSafe_to32 in drawing the
previews in buttons and 3d window.

Drawing in frontbuffer a GL_FLOAT rect seems to be instable for ATIs still.

------------------------------------------------------------------------
r7816 | ton | 2006-06-20 21:08:08 +0200 (Tue, 20 Jun 2006) | 2 lines

Oops, previous commit for static particles was incomplete. :)

------------------------------------------------------------------------
r7815 | ton | 2006-06-20 21:02:24 +0200 (Tue, 20 Jun 2006) | 5 lines

bugfix #4384

Optimize method for limiting particle recalculation wrongly skipped
static particles too.

------------------------------------------------------------------------
r7814 | campbellbarton | 2006-06-20 20:31:05 +0200 (Tue, 20 Jun 2006) | 2 lines

Enforced a limit of 399 (UI_MAX_DRAW_STR) for pythons button object. using larger strings would segfailt blender.

------------------------------------------------------------------------
r7813 | ton | 2006-06-20 19:31:41 +0200 (Tue, 20 Jun 2006) | 7 lines

bug #4374

Particles keep fighting with the depsgraph... time to get a depsgraph with
time dependencies in it...
Anyhoo, this fixes lack of parenting updates in hierarchies where children
have particles.

------------------------------------------------------------------------
r7812 | campbellbarton | 2006-06-20 18:52:11 +0200 (Tue, 20 Jun 2006) | 3 lines

Fixed fly mode so moving from camera mode to prespective dosent move the view.
Applied the same fix when panning from camera view.

------------------------------------------------------------------------
r7811 | ton | 2006-06-20 18:02:23 +0200 (Tue, 20 Jun 2006) | 4 lines

Bugfix #4378

Radio-render didn't allow to ESC from render.

------------------------------------------------------------------------
r7810 | ton | 2006-06-20 17:55:49 +0200 (Tue, 20 Jun 2006) | 5 lines

fix #4379

3D Preview didn't update correctly when switching between ortho and
perspective view (ortho render flag hanging)

------------------------------------------------------------------------
r7809 | ton | 2006-06-20 17:44:25 +0200 (Tue, 20 Jun 2006) | 6 lines

Bugfix #4370

Silly: when using vector blur on a curve or text object, without having a
material assigned to it, the default material didn't get initialized OK
for vector blur, causing random streaks.

------------------------------------------------------------------------
r7808 | ton | 2006-06-20 16:33:08 +0200 (Tue, 20 Jun 2006) | 2 lines

Updated preview, with correct camera end clip

------------------------------------------------------------------------
r7807 | ton | 2006-06-20 16:32:42 +0200 (Tue, 20 Jun 2006) | 7 lines

More preview fixes, after irc reports:

- Ztransp looked weird in Node previews, only showing the backfacing pixels
- previous change in preview.blend accidentally set camera clipping too low
  for correct display of lamp preview
- refresh issue solved in preview when using Node shaders with ray-mirror

------------------------------------------------------------------------
r7806 | ton | 2006-06-20 14:41:52 +0200 (Tue, 20 Jun 2006) | 9 lines

Fix #4368

Path in blender file loader end (setup_app_data) for armature conversion
didn't properly limit to armatures only, and was even called before a
scene dependency graph was made.

Rare crash btw; you have to save a file *before* a redraw was finished
in the UI.

------------------------------------------------------------------------
r7805 | n_t | 2006-06-20 13:32:56 +0200 (Tue, 20 Jun 2006) | 3 lines

- minor fix for moving object boundary conditions
  and to prevent surface flickering near obstacle sides

------------------------------------------------------------------------
r7804 | ton | 2006-06-20 13:15:00 +0200 (Tue, 20 Jun 2006) | 4 lines

#4361
Eyedropper (in ColorPicker) bug: It was reading a 4xfloat color into a
single float. tsk tsk!

------------------------------------------------------------------------
r7803 | ton | 2006-06-20 11:41:35 +0200 (Tue, 20 Jun 2006) | 4 lines

Bugfix #4365

Node Editor: using menu "View -> View All" crashed when no nodes exist.

------------------------------------------------------------------------
r7802 | ton | 2006-06-20 11:32:25 +0200 (Tue, 20 Jun 2006) | 2 lines

New preview blend, without OSA and with entirely closed tiled cube.

------------------------------------------------------------------------
r7801 | ton | 2006-06-20 11:31:54 +0200 (Tue, 20 Jun 2006) | 8 lines

Preview render fixes:

- previous preview.blend rendered OSA, is too slow, especially for raytrace.
  now made it an extra option for buttons preview. (icons render without).
- made monkey one level subsurf lower for speed
- in previewblend, made the tiled cube environment entirely closed, so a
  mirror reflection will show nicer.

------------------------------------------------------------------------
r7800 | erwin | 2006-06-20 07:41:28 +0200 (Tue, 20 Jun 2006) | 2 lines

bugfix: removing constraints should activate rigidbodies.

------------------------------------------------------------------------
r7799 | campbellbarton | 2006-06-20 02:30:10 +0200 (Tue, 20 Jun 2006) | 4 lines

scaled comparison adjustment only effects editmode select group
documented a workaround for python drawinf pixel aligned text in teh 2d view
Added links from Draw.Test to the OpenGL functions that set the location and color.

------------------------------------------------------------------------
r7798 | aphex | 2006-06-19 21:53:27 +0200 (Mon, 19 Jun 2006) | 9 lines

Fix #4353

Fixed a case where loading an invalid font crashed blender.

Now displays a message advising "invalid font selection" and
reverts to default 'built-in' international font.

Credits to Elubie for pointing out the problem function!

------------------------------------------------------------------------
r7797 | ton | 2006-06-19 19:29:44 +0200 (Mon, 19 Jun 2006) | 5 lines

Fix #4358

Was on the todo as well; previews in Shader Nodes didn't get cleared on
re-renders, noticable when you switch preview type (i.e. sphere -> cube).

------------------------------------------------------------------------
r7796 | pidhash | 2006-06-19 19:03:02 +0200 (Mon, 19 Jun 2006) | 3 lines

moved defines for top of file
.

------------------------------------------------------------------------
r7795 | pidhash | 2006-06-19 18:34:45 +0200 (Mon, 19 Jun 2006) | 3 lines

fixing line 1350
.

------------------------------------------------------------------------
r7794 | campbellbarton | 2006-06-19 18:00:48 +0200 (Mon, 19 Jun 2006) | 10 lines

renamed uv mapping menu items to make more sense.

=== UKEY UV MAPPING MENU===
Cube -> Cube Projection
Cylinder -> Cylinder from View
Sphere -> Sphere from View
Bounds to */* -> Project from View */*
Standard */* -> Reset */*
From Window -> Project from View

------------------------------------------------------------------------
r7793 | campbellbarton | 2006-06-19 17:28:21 +0200 (Mon, 19 Jun 2006) | 3 lines

Fix for editmehs select grouped.
the function that compares 2 face areas/perimeters edge length now will match 2 zero area values (previous method to make the function compare proportionaly messed this up)

------------------------------------------------------------------------
r7792 | ton | 2006-06-19 15:53:00 +0200 (Mon, 19 Jun 2006) | 9 lines

Bugfix #4363

In windows, without temp path set, the 'save buffers' render option crashes.

I've coded a blenlib BLI_is_writable(char *filename) to check for such
cases. This is not much needed in Blender, since the open() command is
checked for. However, file saving happens deep inside the C++ exr lib, and
it throws an exception crash when a file cannot be written.

------------------------------------------------------------------------
r7791 | campbellbarton | 2006-06-19 15:21:44 +0200 (Mon, 19 Jun 2006) | 2 lines

Added a note about Draw.ColorPicker needed Draw.Register to have a non None event function.

------------------------------------------------------------------------
r7790 | ton | 2006-06-19 14:47:37 +0200 (Mon, 19 Jun 2006) | 3 lines

Compositor: the default now doesn't include a Viewer node anymore, was too
confusing.

------------------------------------------------------------------------
r7789 | ton | 2006-06-19 14:29:35 +0200 (Mon, 19 Jun 2006) | 12 lines

Bugfix #4355

Group appending issue: the rules for how this works were still confusing.
In some cases you want the objects in the scene itself, in others not.

New method:

- when you append a group directly (shift+f1 -> group -> name(s)) it
  will both append the group and link objects to the current scene
- in all other cases it will only append a group itself.
  (means, you can then use "Add group" to see it).

------------------------------------------------------------------------
r7788 | ton | 2006-06-19 13:21:42 +0200 (Mon, 19 Jun 2006) | 9 lines

Bugfix #4354

Fix for old (post 2.3) annoyance in UI; on redraw of the entire buttons
window, the active button (with highlight) was detected wrong. Was just
a matrix calculation on wrong moment. :)

Also: fixed tooltip for transparent material "add" option. It was talking
about "Glow", a confusing description.

------------------------------------------------------------------------
r7787 | campbellbarton | 2006-06-19 12:51:19 +0200 (Mon, 19 Jun 2006) | 2 lines

Fixed a mistake (probably mine) with the menu numbering, closing bug 4360

------------------------------------------------------------------------
r7786 | ton | 2006-06-19 10:45:11 +0200 (Mon, 19 Jun 2006) | 9 lines

Seems a large commit, but I also changed function names to match the new
naming convention for Compositing:

- Render Result node -> Render Layers node (name only appears in Add menu)
- Compositor image -> Viewer Node image

I've also added a version patch (2.41 saved files only) to rename existing
"Compositor" Images.

------------------------------------------------------------------------
r7785 | broken | 2006-06-19 06:04:31 +0200 (Mon, 19 Jun 2006) | 5 lines

* Patch from Ed Halley:
"Swaps left and right bytes of small cursors for Carbon on Intel."

This fixes garbled cursors on Intel Mac builds. Tested on my G4 too and it works fine.

------------------------------------------------------------------------
r7784 | broken | 2006-06-19 05:31:30 +0200 (Mon, 19 Jun 2006) | 2 lines

* Added and tweaked some missing menu items

------------------------------------------------------------------------
r7783 | campbellbarton | 2006-06-19 03:27:41 +0200 (Mon, 19 Jun 2006) | 3 lines

Made 3ds import remove 0,0,0 dummy vert (Thanks Ken)
removed set() from BpyMesh and added some uv utility functions.

------------------------------------------------------------------------
r7782 | erwin | 2006-06-19 00:13:45 +0200 (Mon, 19 Jun 2006) | 2 lines

bugfix/workaround for problem with hard-coded collision margins being too large. (part2)

------------------------------------------------------------------------
r7781 | erwin | 2006-06-19 00:10:00 +0200 (Mon, 19 Jun 2006) | 2 lines

bugfix/workaround for problem with hard-coded collision margins being too large.

------------------------------------------------------------------------
r7780 | ton | 2006-06-18 21:11:52 +0200 (Sun, 18 Jun 2006) | 3 lines

NULL check needed for RE_vertren_get_rad() when going over radio results...
Thanks Auralis for finding it!

------------------------------------------------------------------------
r7779 | ianwill | 2006-06-18 21:05:51 +0200 (Sun, 18 Jun 2006) | 13 lines

Scripts:
- Jean-Michel Soler updated the svg to obj module used by Paths
Importer (thanks!)
- user request: added option to control whether user prefers per face
(uv face select "TwoSided" toggle) or per mesh ("Double Sided") single /
double face info in ac3d exporter.

BPY:
- Blender_ShowHelp() was now crashing Blender when called for the
second time, due to EXPP_dict_set_item_str decrementing the reference
count of an object passed as argument to Blender_ShowHelp() (so not
owned by that function).

------------------------------------------------------------------------
r7778 | ton | 2006-06-18 15:36:24 +0200 (Sun, 18 Jun 2006) | 5 lines

Fix #4352

Sequencer render bug: if you use the same Scene as current Scene as a strip
(yes yes!) then ANIM didn't work. Render single frame worked.

------------------------------------------------------------------------
r7777 | ton | 2006-06-18 14:27:06 +0200 (Sun, 18 Jun 2006) | 8 lines

Bugfix #4352

More Sequence render fixes:

- on load of .blend file, with Sequencer invoking a sequence render, the
  header window matrix was not set, giving "Insane icon" prints
- option "Do Sequence" had no re-display call in end

------------------------------------------------------------------------
r7776 | ton | 2006-06-18 13:38:34 +0200 (Sun, 18 Jun 2006) | 17 lines

Bugfix #4351

ESC wasn't supported for sequence-based rendering yet.
Solved it with correctly initializing the sequence render with all
render callbacks, including render updates (which it didn't do yet).

Cleanup:

- Bug in ghostwinlay code: the get_mbut() function reads from the window
  struct if a mouse is pressed. However, when you press the mouse in the
  sequencer, which causes a render, this value was hanging because then
  the active window was a render window.

- The new render display options (image window) didn't work for sequence
  render OK. There was a recursion even, because a sequence draw command
  calls a render, which in turn now calls redraws.

------------------------------------------------------------------------
r7775 | ton | 2006-06-17 19:07:49 +0200 (Sat, 17 Jun 2006) | 7 lines

Also for new 'to image window' rendering, drawing of float buffers while
rendering now is full 32 bits. This gives drawing issues in some cards,
like ATIs.

Copied the function used for renderwindow to glutil.c, and used now in the
image window.

------------------------------------------------------------------------
r7774 | ton | 2006-06-17 17:14:43 +0200 (Sat, 17 Jun 2006) | 5 lines

Bug #4348

Animated groups, being linked and dupli-grouped in other file, didn't
correctly calculate particles inside the group.

------------------------------------------------------------------------
r7773 | erwin | 2006-06-17 16:41:00 +0200 (Sat, 17 Jun 2006) | 2 lines

Bulllet bugfix, assignment rather then test

------------------------------------------------------------------------
r7772 | erwin | 2006-06-17 16:19:59 +0200 (Sat, 17 Jun 2006) | 2 lines

fixed synchronisation problem with (kept on loosing this documentation bit when merging from Blender -> Bullet)

------------------------------------------------------------------------
r7771 | khughes | 2006-06-17 16:08:15 +0200 (Sat, 17 Jun 2006) | 6 lines



===Python API===
Bugfix #4347: deleting vertex 0 incorrectly deleted all triangle face, since
check for v4==0 wasn't being done.

------------------------------------------------------------------------
r7770 | erwin | 2006-06-17 15:55:59 +0200 (Sat, 17 Jun 2006) | 2 lines

fixed Bullet bug: constraints didn't merge simulation islands.

------------------------------------------------------------------------
r7769 | ton | 2006-06-17 15:04:09 +0200 (Sat, 17 Jun 2006) | 7 lines

Solved bad design decision in Node Editor:

The buttons uiBlock was stored in a Node, for retrieval of node buttons,
however that won't work when multiple windows show same Nodes.
Now implemented more correct unique Block names (as all over in UI), and
use that name to retrieve buttons with API call uiGetBlock().

------------------------------------------------------------------------
r7768 | ton | 2006-06-17 14:26:28 +0200 (Sat, 17 Jun 2006) | 5 lines

Bugfix 4346

Node Shaders: the code checking for all required texture coordinates did
not test Groups inside a tree, so textures didn't render properly always.

------------------------------------------------------------------------
r7767 | ton | 2006-06-17 13:40:50 +0200 (Sat, 17 Jun 2006) | 3 lines

Fix for Compositor, Image node: reads now from Movie files as well.
(support was there already halfway, needed to add button and an anim check)

------------------------------------------------------------------------
r7766 | ton | 2006-06-17 12:34:05 +0200 (Sat, 17 Jun 2006) | 6 lines

Bugfix in the patching for Stucci texture: the version code assumed that
the MTex (mapping for texture) always had a texture... which should be
tested of course. My bad!

(Thanks Plumi studio for report!)

------------------------------------------------------------------------
r7765 | ton | 2006-06-17 12:25:07 +0200 (Sat, 17 Jun 2006) | 18 lines

Cleanup of UI for new renderpipeline

- removed "Unified" button, replaced with "HD" preset for 1920x1080 output
- removed the unused "Pass" options
- removed the unused "Strands" render-layer option

Because the internal render pipe supports this already; added two more
render-layer options:

- "Sky", to enable/disable sky render in a layer (this was part of "Solid"
  before, not so correct... to ensure previously saved files work, the
  "Sky" option is set by default when "Solid" was set. The version patching
  will do this temporally always, until we've bumped up version to 2.42
- "Edge", to enable/disable edge render in a layer. Nice for compositing.

Also in this commit: fixed warnings for exported functions for the new
Node Editor pull-down menus.

------------------------------------------------------------------------
r7764 | bjornmose | 2006-06-17 00:43:39 +0200 (Sat, 17 Jun 2006) | 4 lines

part 3
MSVC6
dude set proper deps ! :)

------------------------------------------------------------------------
r7763 | bjornmose | 2006-06-17 00:20:36 +0200 (Sat, 17 Jun 2006) | 6 lines

part 2
MSVC6
Defensive way not to interfere with other (crystal) build systems
so .. i can maintain building bullet for blender on MSVC6 without spitting in
the "whateverbulletteamthinkstobenice" soup

------------------------------------------------------------------------
r7762 | bjornmose | 2006-06-17 00:06:22 +0200 (Sat, 17 Jun 2006) | 5 lines

MSVC6
Defensive way not to interfere with other (crystal) build systems
so .. i can maintain building bullet for blender on MSVC6 without spitting in
the "whateverbulletteamthinkstobenice" soup

------------------------------------------------------------------------
r7761 | sirdude | 2006-06-16 22:00:00 +0200 (Fri, 16 Jun 2006) | 20 lines



This is a modified version of patch #4200

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

It adds platform depenant prefix to function calls
(extern on non windows platforms more complicated on windows)
So that windows plugins can reference functions inside of blender.

there is a small TODO still...
Make release should build the helper library required under windows and modify
how they build the plugins:
dlltool --input-def plugin.DEF --output-lib libblenerplugin.a --dllname blender.exe
and the pulgins should be made with:
gcc -c (pluginname).c
gcc -shared -o (pluginname).dll (pluginname).o libblenderplugin.a

Kent

------------------------------------------------------------------------
r7760 | ton | 2006-06-16 21:16:27 +0200 (Fri, 16 Jun 2006) | 8 lines

Plumiferos fix-fix :)

Code to allow "Env" material to mask out ztransp gave bad AA on edges of
solid faces, when transparant was behind it.

Recoded "Env" to use index -1 in the polygon index buffer, and restored
code that caused the bad AA.

------------------------------------------------------------------------
r7759 | hos | 2006-06-16 17:43:50 +0200 (Fri, 16 Jun 2006) | 9 lines

When ffmpeg format is selected, make 'Video' and 'Audio' panels
as tabs of the format panel (was annoying how the format panel
would jump far to the right after selecting format' Thanks ao2
for noticing.

Note: as self-appointed code weenie, I should point out that the
ffmpeg code has a lot of tab/space indenting mixed in nasty
ways -- this should be fixed.

------------------------------------------------------------------------
r7758 | ton | 2006-06-16 17:33:14 +0200 (Fri, 16 Jun 2006) | 2 lines

Updated previewblend, texture preview had minor line on left hand

------------------------------------------------------------------------
r7757 | ton | 2006-06-16 17:31:32 +0200 (Fri, 16 Jun 2006) | 12 lines

Preview Texture for Stucci works again.

NOTE: stucci didn't return 'intensity' since blender 1.0, something that
alsways caused headaches all over (all other textures do per definition).
But, allowing stucci to return 'intensity' would break old files.

To make it work for preview, I had to solve this once. Done with a version
patch, so old files (including current 2.41!) won't read with color channel
active for Stucci textures.

(Preview.blend I saved as a 2.42 file btw!)

------------------------------------------------------------------------
r7756 | khughes | 2006-06-16 16:40:26 +0200 (Fri, 16 Jun 2006) | 6 lines



===Python API===
Change to displayMode attribute to support the new render window options, and
correct description in the documentation.

------------------------------------------------------------------------
r7755 | ton | 2006-06-16 15:58:45 +0200 (Fri, 16 Jun 2006) | 3 lines

This prevents to assign the built-in Images "Render Result" or "Compositor"
as texture to UV Face. Crashes in render, because memory then is undefined.

------------------------------------------------------------------------
r7754 | ton | 2006-06-16 15:11:21 +0200 (Fri, 16 Jun 2006) | 8 lines

The new "transmissivity" option for ray-transparent now can be controlled.
By default it is disabled (depth 0.0), so rendering is as usual.

The meaning of "depth" and "falloff" will be extensively shown in the
release log pages. Coming soon!

(Patch provided by Ed Halley)

------------------------------------------------------------------------
r7753 | ton | 2006-06-16 14:33:35 +0200 (Fri, 16 Jun 2006) | 5 lines

Bugfix #4341

The code added to ensure Image textures in nodes use the correct mapping
settings (UV, repeat, etc) crashed when editing non-osa cases.

------------------------------------------------------------------------
r7752 | ton | 2006-06-16 14:17:35 +0200 (Fri, 16 Jun 2006) | 6 lines

Bugfix #4343

The (SHIFT+F4) databrowser showed the library file (added some months
ago) which didn't work for extremely long directory names well.
I've recoded it, so it now only shows the .blend name, not entire path.

------------------------------------------------------------------------
r7751 | campbellbarton | 2006-06-16 13:14:05 +0200 (Fri, 16 Jun 2006) | 2 lines

fixed some minor mistakes

------------------------------------------------------------------------
r7750 | campbellbarton | 2006-06-16 12:59:56 +0200 (Fri, 16 Jun 2006) | 9 lines

Updated this script and added some functions, this wont effect eny existing python tools.

added functions
pickMeshRayFace(me, orig, dir):
pickMeshGroupWeight(me, act_group, orig, dir):
pickMeshGroupVCol(me, orig, dir):
facePlanerIslands(me):
edgeFaceUserCount(me, faces= None):

------------------------------------------------------------------------
r7749 | campbellbarton | 2006-06-16 12:43:46 +0200 (Fri, 16 Jun 2006) | 2 lines

Whoops, leaft batch loading on by mistake

------------------------------------------------------------------------
r7748 | campbellbarton | 2006-06-16 12:41:21 +0200 (Fri, 16 Jun 2006) | 4 lines

Cleanum, remove unneeded 'raise's
Stupid hack- added 0,0,0 dummyvert so UVs import right (unrotated).
This script aparently dosent work on powerpc... (endian issues Im guessing)

------------------------------------------------------------------------
r7747 | ton | 2006-06-16 12:17:56 +0200 (Fri, 16 Jun 2006) | 6 lines

Silly screens code in Blender... trying to cleanup stuff only breaks other
things! :)

Anyhoo, commits yesterday for preview panel fixes in Compositor broke the
new fullscreen render output feature. The damn curarea again yes!

------------------------------------------------------------------------
r7746 | ton | 2006-06-16 11:28:51 +0200 (Fri, 16 Jun 2006) | 5 lines

Bugfix #4332

Pressing ALT+W (save videoscape) in editmode gave error menu, but then the
Specials menu. Had to add a 'return 0'. Year zero bug...

------------------------------------------------------------------------
r7745 | broken | 2006-06-16 06:32:39 +0200 (Fri, 16 Jun 2006) | 3 lines

* Added header pulldown menus for the Node Editor. Also tweaked colours and some
of the menu organisation, consolidating the redundant 'Generators' with 'Input'.

------------------------------------------------------------------------
r7744 | theeth | 2006-06-16 00:27:36 +0200 (Fri, 16 Jun 2006) | 6 lines

== UV Export ==

Based on Ed Halley's report.
* Default size is now 512, min is 64, max 8192
* Loading saved params check that Editor path is valid.

------------------------------------------------------------------------
r7743 | bjornmose | 2006-06-15 23:22:22 +0200 (Thu, 15 Jun 2006) | 3 lines

bullet + GE happy on msvc6 again :)
phew .. setting 'include pathes'  in VS6 is real pain

------------------------------------------------------------------------
r7742 | elubie | 2006-06-15 21:29:25 +0200 (Thu, 15 Jun 2006) | 2 lines

bugfix for overwriting memory when copying library name into too short char[]

------------------------------------------------------------------------
r7741 | ton | 2006-06-15 19:25:10 +0200 (Thu, 15 Jun 2006) | 3 lines

Undo pushes for buttons could get cancelled out with a call to read the
queue 'external'. Happened for example in Node editor.

------------------------------------------------------------------------
r7740 | erwin | 2006-06-15 18:55:32 +0200 (Thu, 15 Jun 2006) | 3 lines

fixes in the collada 1.4 script, related to full-python install, spaces -> tabs, and uv-image texture support
Thanks to Pieter Visser!

------------------------------------------------------------------------
r7739 | broken | 2006-06-15 16:22:59 +0200 (Thu, 15 Jun 2006) | 3 lines

* Added a better mouse pointer for the eyedropper tool (thanks Bart) and also
some 2d scroll pointers

------------------------------------------------------------------------
r7738 | erwin | 2006-06-15 15:39:05 +0200 (Thu, 15 Jun 2006) | 2 lines

try to catch error/ freezing reported on OSX

------------------------------------------------------------------------
r7737 | ton | 2006-06-15 15:29:01 +0200 (Thu, 15 Jun 2006) | 2 lines

Added with binary tag

------------------------------------------------------------------------
r7736 | ton | 2006-06-15 15:28:23 +0200 (Thu, 15 Jun 2006) | 2 lines

Removed preview.blend, as added as ascii

------------------------------------------------------------------------
r7735 | ton | 2006-06-15 15:08:50 +0200 (Thu, 15 Jun 2006) | 2 lines

Updated icons image and preview blend

------------------------------------------------------------------------
r7734 | ton | 2006-06-15 15:00:28 +0200 (Thu, 15 Jun 2006) | 3 lines

Halos rendered with 'line' option could deliver overflow alpha values,
needs to be clipped.

------------------------------------------------------------------------
r7733 | elubie | 2006-06-15 13:23:51 +0200 (Thu, 15 Jun 2006) | 4 lines

=== preview icons ===
- changed preview type of halo materials
- halo materials are also shown with alpha=255 like in preview window

------------------------------------------------------------------------
r7732 | ton | 2006-06-15 13:15:25 +0200 (Thu, 15 Jun 2006) | 10 lines

Background rendering didn't work anymore!

- STUPID mistake from me in setting the waitcursor...
- icons for UI got freed, without checking if it existed (crash in end)
- call to close mainwindow didn't check if window existed

note:
I usually test the "blender -b" case, which should start blender,
initialize all, free all, and print "blender quit" to signal all is fine.

------------------------------------------------------------------------
r7731 | ton | 2006-06-15 12:10:27 +0200 (Thu, 15 Jun 2006) | 5 lines

Bugfix #4338

When Edge render was choosen, the zbuffer values were altered, causing a
halo render to go wrong.

------------------------------------------------------------------------
r7730 | ton | 2006-06-15 11:44:52 +0200 (Thu, 15 Jun 2006) | 6 lines

Small fixes in 3d window preview render, discovered while making regression
files for it :)

- on load, the rendering was done twice
- changing area size didn't correct the render

------------------------------------------------------------------------
r7729 | jiri | 2006-06-15 11:35:09 +0200 (Thu, 15 Jun 2006) | 6 lines



 Bug fix, reported by lukep at mailing list. Blender doesn't craash, when
 metaball is selected. Wrong recreating of existing Bounding box was reason
 of crashes.

------------------------------------------------------------------------
r7728 | hos | 2006-06-15 06:13:26 +0200 (Thu, 15 Jun 2006) | 4 lines

Changed some references to 'size' to now refer to 'scale'. If anybody
sees a reference to size, as it pertains to a 3D object, please let
me know.

------------------------------------------------------------------------
r7727 | campbellbarton | 2006-06-15 04:57:56 +0200 (Thu, 15 Jun 2006) | 2 lines

oops, accidently removed tons correction.

------------------------------------------------------------------------
r7726 | broken | 2006-06-15 03:20:57 +0200 (Thu, 15 Jun 2006) | 6 lines

* Updated the Xcode project files.
These haven't been touched in ages, and i doubt you can actually compile
with it, but I've been keeping them up to date myself since it's useful to use as
an editor with the various code navigation features. Committing in case others
find it useful and/or want to make it compile again :)

------------------------------------------------------------------------
r7725 | campbellbarton | 2006-06-15 03:19:10 +0200 (Thu, 15 Jun 2006) | 2 lines

Fixed a bug where the start of the wave was not drawn, also added verbose commenting and cleaned up the wave allignment.

------------------------------------------------------------------------
r7724 | bjornmose | 2006-06-14 23:57:41 +0200 (Wed, 14 Jun 2006) | 3 lines

happy msvc6 compiling/debugging again
remember no GE for msvc6

------------------------------------------------------------------------
r7723 | ianwill | 2006-06-14 23:04:53 +0200 (Wed, 14 Jun 2006) | 17 lines

BUG #4323:

Help->System->Benchmark (the Tkey benchmark) returned timings  even if
user cancelled the pupmenu. Was just missing a check
for -1 in toets.c -- wonder how old this one was... Reported by Wim Van
Hoydonck.

Scripts:
- Updated Jean-Michel's hotkeys script for Blender 2.42.
- Followed Pieter Visser's suggestion and added version info to the menu
names of the older collada scripts (v1.3.1).

Thanks guys!

Note for builders: nevermind if you already compiled 2.42RC1, these
updates are not critical at all and can be left for the release or RC2.

------------------------------------------------------------------------
r7722 | erwin | 2006-06-14 23:02:03 +0200 (Wed, 14 Jun 2006) | 4 lines

renamed 'Size' to Radius in the logic buttons (This naming was confusing, as the 'size' was only used as 'radius' for a rigid body with 'sphere' shapel. It has no effect on box, convex, cylinder and other shapes.

Don't worry, this is unrelated to recent Size -> Scale renaming.

------------------------------------------------------------------------
r7721 | lukep | 2006-06-14 20:04:57 +0200 (Wed, 14 Jun 2006) | 3 lines

interim fix for the low end integrated intel graphic cards
until a better solution is found

------------------------------------------------------------------------
r7720 | ton | 2006-06-14 20:04:26 +0200 (Wed, 14 Jun 2006) | 10 lines

Fixes for preview render in buttons:

- restored type choice compatiblity (plane, sphere, cube)  with 2.41   release (sorry, will break saved files with CVS... my fault, should
  have known.)

- removed lamp choices (lights now are different per preview, no fixed
  choices).

- added checkered plane behind the plane preview. nicer for halos.

------------------------------------------------------------------------
r7719 | erwin | 2006-06-14 19:31:45 +0200 (Wed, 14 Jun 2006) | 2 lines

update from Pieter Visser, removed profile module, attempting to get python 2.3 support

------------------------------------------------------------------------
r7718 | ton | 2006-06-14 18:02:11 +0200 (Wed, 14 Jun 2006) | 2 lines

Endian fix for drawing alpha in images.

------------------------------------------------------------------------
r7717 | ton | 2006-06-14 15:25:01 +0200 (Wed, 14 Jun 2006) | 8 lines

Bug fix:

Files saved with new cloth modifier patch crash in cvs blender. (#define
for cloth is 13 even!). This was caused by lack of upward compatibility
for non existing modifiers.

Also added giant warning in code for the ENUM for modifier types.

------------------------------------------------------------------------
r7716 | ton | 2006-06-14 14:42:23 +0200 (Wed, 14 Jun 2006) | 8 lines

Bugfix #4135

Mixdown option (blending sequence audio strips) didn't write proper WAV.
- file length in header chunk was too short (potential crasher)
- endian switch code used swab(), which wasn't defined to work when src and
  target is identical
- cleaned up some code too... like removing timecursor() for core loop.

------------------------------------------------------------------------
r7715 | ton | 2006-06-14 10:50:41 +0200 (Wed, 14 Jun 2006) | 9 lines

Bugfix #4329

New "Dimension" button: when using TAB to cycle over buttons, the dimension
event was sent multiple times, accumulating scaling. The code was also not
prepared to handle multiple changes at one event.

Also: added object_get_boundbox(Object *ob) in BKE_object.h, so the code
now really supports most primitives in Blender.

------------------------------------------------------------------------
r7714 | khughes | 2006-06-14 07:16:39 +0200 (Wed, 14 Jun 2006) | 7 lines



===Python API===
Moved .up() and .down() methods from Constraint API to Constraint sequence
API (also renamed them to moveUp() and moveDown() ).  Again, methods which
modify the "parent" structure didn't seem consistent.

------------------------------------------------------------------------
r7713 | khughes | 2006-06-14 06:41:31 +0200 (Wed, 14 Jun 2006) | 7 lines



===Python API===
Moved .up() and .down() methods from Modifier API to Modifier sequence
API (also renamed them to moveUp() and moveDown() ).  Locating methods
which modify the "parent" structure in objects didn't seem consistent.

------------------------------------------------------------------------
r7712 | ton | 2006-06-13 22:33:45 +0200 (Tue, 13 Jun 2006) | 7 lines

Bug 4313

Particles: option "even" failed when faces where all exactly same sized,
then it sometimes skipped entire faces.

Just the regular <1.0 that had to be <=1.0

------------------------------------------------------------------------
r7711 | ton | 2006-06-13 22:00:14 +0200 (Tue, 13 Jun 2006) | 3 lines

Restored the pretty lousy but still popular stars render in blender.
Hope our sky guru can come with something cooler for next release!

------------------------------------------------------------------------
r7710 | ton | 2006-06-13 20:51:52 +0200 (Tue, 13 Jun 2006) | 7 lines

bugfix 4324

Old issue... Blender saves jpg RGBA files. That's unsupported in all
programs except Blender, always a source of problems with that feature.

Now it just falls back to saving 24 bits when the "RGBA" option is set.

------------------------------------------------------------------------
r7709 | ton | 2006-06-13 17:50:05 +0200 (Tue, 13 Jun 2006) | 10 lines

Altering the rules for opening a blender area window for render output.

- if current visible area shows render result; use this
- else: search for largest non-Image area (so it won't use Texture or
  Composite outputs)
- else if only 1 available window it uses that one.

Works for both new options (fullscreen too). Especiall fullscreen works
much better, since it uses an own designated Image Window by default.

------------------------------------------------------------------------
r7708 | ton | 2006-06-13 16:51:17 +0200 (Tue, 13 Jun 2006) | 5 lines

Lens flare rendering back.... completely forgot about this antique
feature.

It doesn't render preview yet... for that we have to fix preview system.

------------------------------------------------------------------------
r7707 | hos | 2006-06-13 07:19:43 +0200 (Tue, 13 Jun 2006) | 9 lines

One half of Bug #4320 fixed: The 'linked scale' button in the transform
properties panel now handles negative numbers.

I don't know how to solve the half of the bug related to the tab
key though ...

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

------------------------------------------------------------------------
r7706 | ton | 2006-06-12 23:31:02 +0200 (Mon, 12 Jun 2006) | 10 lines

Plumiferos crash report:

2006/01/28 commit from Campbell forgot to check for proper pointer:

if(seq->sound->stream==NULL) return;

should be:

if(seq->sound==NULL || seq->sound->stream==NULL) return;

------------------------------------------------------------------------
r7705 | ton | 2006-06-12 22:01:18 +0200 (Mon, 12 Jun 2006) | 9 lines

Last minute patch from Chris Want

Nkey "Properties Panel" now has Dimension ("Dim") buttons too.
This reads from the actual bounding box value to see the size. Note that
dimensions for animated & deformed objects will change per frame.

(Cleaned up buttons layout for patch, and added support for Curve, Text and
Surface objects)

------------------------------------------------------------------------
r7704 | elubie | 2006-06-12 21:13:17 +0200 (Mon, 12 Jun 2006) | 4 lines

- changed back SHGetFolderPath to SHGetSpecialFolderPath to support older Win98 and Win95 systems without having to redirstribute shfolder.dll
- MINGW should compile too now (was problem when fucntionality was first introduced), tested with MINGW 5.0.2 (scons)
- added -lshell32 for the dependency on MINGW

------------------------------------------------------------------------
r7703 | ton | 2006-06-12 21:05:58 +0200 (Mon, 12 Jun 2006) | 4 lines

Another fix to enable painting in a rendering. Paint works, but it's not
persisant (since float buffer is the source, converted to 32 bits for
drawing only)

------------------------------------------------------------------------
r7702 | erwin | 2006-06-12 20:47:56 +0200 (Mon, 12 Jun 2006) | 2 lines

Bullet, bugfix: don't simulate when substeps are set to 0

------------------------------------------------------------------------
r7701 | erwin | 2006-06-12 20:01:22 +0200 (Mon, 12 Jun 2006) | 2 lines

updated Collada 1.4 ex/importer

------------------------------------------------------------------------
r7700 | lukep | 2006-06-12 19:15:31 +0200 (Mon, 12 Jun 2006) | 2 lines

attempt to fix the release makefiles

------------------------------------------------------------------------
r7699 | ton | 2006-06-12 17:28:47 +0200 (Mon, 12 Jun 2006) | 3 lines

UV/Image Editor: Paint option crashed when using on float images.
Should support this once too... but that's another project.

------------------------------------------------------------------------
r7698 | ton | 2006-06-12 16:39:08 +0200 (Mon, 12 Jun 2006) | 57 lines

New feature! (Well, replacement for the exisiting cumbersome "DispView")

Next to the "DispWindow" there are now two new choices:

- Display render output to Image Editor
- Display render output to Screen-sized Image Editor

Both options won't open a 2nd window anymore, which makes work quite more
smooth even, especially because 'focus' isn't lost. Further it fits in the
'single window UI' paradigm of Blender. Should have been done 10 years ago!

Lastly it might bypass issues with X11... having 2 windows with opengl
context is not always stable in Linux.

This option uses an identical trick as for the Compositor viewer, using an
Image block with a fixed name ("Render Result").

The flow, when invoking a Render, goes as follows:
- first it checks if there's an Image Editor visible displaying the "Render
  Result", if so then it uses that area-window.
   (Use this option for dual-monitor setups for example, a render will always
   go to the same location then)
- else it checks if there's an Image Editor open in general, it then
  assigns that window the "Render Result" Image.
- else: it searches for the largest Area in the screen, and turns that into
  a temporal Image Editor showing render output.

After a render, an ESC will push back the former view, if the Area type has
changed.

Same rules apply for the "Full Screen" option. Here an ESC will always go
back to the regular Screen, and restore Area type if required.

While rendering, the queue for the renderwindow isn't handled yet, so you can
not zoom (nor get full redraws), as for the regular render window.

Existing conflicts:
- in FaceSelect mode, the Image editor enforces to display the face texture
  after rendering again.
- when using an Image window for compositing, you'll lose the Viewer output
  on a render.

Implementation note:
While rendering updates, nothing is drawn in frontbuffer anymore. That's
good news for b0rked OpenGL drivers (and faster). However, for the few
OpenGL cards that don't do a "swap copy" but a "swap exchange" you get
issues... has to be worked on. I'm afraid we have to drop frontbuffer
drawing altogether.

Other fixes:

- Hotkeys NumPad 1, 2, 4, 8 will set zoom levels (was half coded only?)
  Use SHIFT to zoom out (smaller).

- Rendering Tile updates still had draw errors on edges of tiles, in OSA
  only. (Caused by commit 4 days ago)

------------------------------------------------------------------------
r7697 | n_t | 2006-06-12 14:55:51 +0200 (Mon, 12 Jun 2006) | 5 lines

- another minor solver update to fix
  obstacle fluid surface generation bug
- also contains some code clean ups
  and safer initializations

------------------------------------------------------------------------
r7696 | n_t | 2006-06-12 08:18:57 +0200 (Mon, 12 Jun 2006) | 4 lines

- added fix for fluidsim copying bug
  (surface mesh structs werent handled correctly,
  copying is now done in a new function)

------------------------------------------------------------------------
r7695 | khughes | 2006-06-12 05:20:29 +0200 (Mon, 12 Jun 2006) | 4 lines



Remove "print sys.version_info" accidentally left in from debugging.

------------------------------------------------------------------------
r7694 | hos | 2006-06-12 03:59:50 +0200 (Mon, 12 Jun 2006) | 4 lines

In the previous mirror+clipping+extrude commit there was a potential
for a crash since the list of modifiers was being accessed before
testing whether we are actually in editmode (thanks Ben Batt).

------------------------------------------------------------------------
r7693 | hos | 2006-06-12 03:45:38 +0200 (Mon, 12 Jun 2006) | 3 lines

As discussed at the meeting, the hiding of occluded verts in editmode
is now turned *off* by default (manipulators stay on though).

------------------------------------------------------------------------
r7692 | theeth | 2006-06-12 02:10:00 +0200 (Mon, 12 Jun 2006) | 14 lines

== Python Button Evaluation ==

Users can write any valid Python expression (that evals to an int or float) inside Blender's gui number buttons (preceded by #) and have them evaluated to their actual int or float value.

Button Evaluation has access to the same modules as PyDrivers.

For example:

#1.0*9-2.3
#ob("Camera").LocZ
#1.0/ob("Cube").LocX
#math.sin(math.pi) -- or simply #m.sin(m.pi)
etc

------------------------------------------------------------------------
r7691 | ianwill | 2006-06-11 23:35:14 +0200 (Sun, 11 Jun 2006) | 7 lines


Bug #4279: doc browser script broken.

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

Thanks Wim Van Hoydonck for report / fix.

------------------------------------------------------------------------
r7690 | theeth | 2006-06-11 22:19:41 +0200 (Sun, 11 Jun 2006) | 6 lines

=== Editing Tools ===
As suggested, adding Page Up and Page Down to the hotkey list to change the size of the circle of selection, using brush select (BB).
This is done to bring it in line with transform's PET size adjustment.

Two hotkeys to rule them all and to the reference manual binds them... :P

------------------------------------------------------------------------
r7689 | ton | 2006-06-11 21:53:24 +0200 (Sun, 11 Jun 2006) | 5 lines

Commit from Alfredo to support yafray sub-rect updating required an
additional initialize for scanline length in Blender.

(Error: only the entire tiles were visibly updated while render)

------------------------------------------------------------------------
r7688 | ianwill | 2006-06-11 20:29:25 +0200 (Sun, 11 Jun 2006) | 8 lines

The "ESC doesn't cancel renders" problem:

  Changing from ITIMER_VIRTUAL to ITIMER_REAL solved the issue for all
who tested it (Hos, pidhash and me, at least). Ton said to commit it so
more people can test, but other solutions may still be investigated.

The change is only for POSIX systems (so Windows code was not touched).

------------------------------------------------------------------------
r7687 | elubie | 2006-06-11 18:19:42 +0200 (Sun, 11 Jun 2006) | 3 lines

Fixed bug that the preview icon for world wasn't showing because sky is rendered with alpha=0
Temporary fix - rendering sky with alpha=1 could become render option in the future. Too risky to change now shortly before release.

------------------------------------------------------------------------
r7686 | khughes | 2006-06-11 17:35:40 +0200 (Sun, 11 Jun 2006) | 8 lines



===Python API===
Removed recently added Material API methods getRbFriction() and
getRbRestitution().  Erwin had already added attributes rbFriction and
rbRestitution, and current API design goal is to eventualy replace
all getStuff()/setStuff() with attributes.

------------------------------------------------------------------------
r7685 | ton | 2006-06-11 13:01:30 +0200 (Sun, 11 Jun 2006) | 5 lines

Bugfix #4308

ANIM render with "Do Sequence" set, without sequence strips, crashed.
Addded empty black image allocation.

------------------------------------------------------------------------
r7684 | ton | 2006-06-11 12:13:00 +0200 (Sun, 11 Jun 2006) | 6 lines

Bugfix 4312

Preview render in 3d window could crash when a re-render was invoked before
the render was initialized even, reading a NULL pointer for scene.
Happened on frantic & quick editing.

------------------------------------------------------------------------
r7683 | ton | 2006-06-11 11:43:05 +0200 (Sun, 11 Jun 2006) | 8 lines

Bug fixes of own collection:

- Selection wasn't possible on center dots in Object mode. I keep adding
it and it keeps disappearing again. Added clear comments in code too.

- Particles: (debug still) print "build particles" happened on each redraw
  when "Display percentage" for particles was set to zero.

------------------------------------------------------------------------
r7682 | ton | 2006-06-11 11:11:10 +0200 (Sun, 11 Jun 2006) | 5 lines

Bugfix #4299

Correction on previous commit; audio.mixrate should be initialized in the
do_versions, not the buttons code. I'm not enough awake yet!

------------------------------------------------------------------------
r7681 | ton | 2006-06-11 11:06:07 +0200 (Sun, 11 Jun 2006) | 9 lines

Bugfix #4299

The Scene audio.mixrate variable was zero on creating new scenes, causing
synced playback to fail.
Added initialize in kernel, and patch in buttons drawing to set the value
for wrongly saved files.

(Pixelshading: small correction for more optimal code)

------------------------------------------------------------------------
r7680 | ton | 2006-06-11 10:22:15 +0200 (Sun, 11 Jun 2006) | 5 lines

Bugfix 4304

Another case where the preview icons fail... when images cannot be loaded,
the icons code crashed. Added tests for that.

------------------------------------------------------------------------
r7679 | blendix | 2006-06-10 22:35:54 +0200 (Sat, 10 Jun 2006) | 3 lines


Remove some more unwrapper debugging code.

------------------------------------------------------------------------
r7678 | blendix | 2006-06-10 22:06:41 +0200 (Sat, 10 Jun 2006) | 5 lines


Fix for bug #4276: LSCM unwrap crash.
Set ABF as default unwrapper.
Disable some debugging prints in unwrapper code.

------------------------------------------------------------------------
r7677 | schlaile | 2006-06-10 21:56:28 +0200 (Sat, 10 Jun 2006) | 16 lines

==Sequencer==

Fixed the blur-plugin (and maybe a lot more) crashes by expecting
future float-buffer aware sequencer-plugins to have a bumped PLUGIN_VERSION
number. Since quality and speed is degraded by converting the float
buffer first to byte, performing the effect on bytes and then converting
back again an additional warning is displayed in the effect strip,
suggesting to update the used sequencer-plugins.

Fixed some more crashes along the way.

Float buffer aware sequencer plugins should
- first check, if the output-ibuf has a rect_float
  => perform all operations with floats (input and output)
- if not: perform everything on bytes (intput and output)

------------------------------------------------------------------------
r7676 | stiv | 2006-06-10 19:50:52 +0200 (Sat, 10 Jun 2006) | 2 lines

removed extra qualifier on class memeber  bool BOP_Mesh::isClosedMesh();

------------------------------------------------------------------------
r7675 | ton | 2006-06-10 18:30:44 +0200 (Sat, 10 Jun 2006) | 7 lines

Thought to be nice for for backwards compat && users... so the old
"Backbuf" image render option is back :)
Nicer coded, using Image texture functions.

If you want 100% reliable pixel to pixel accuracy you have to use
compositing. (Old Backbuf didn't do this accuracy either btw).

------------------------------------------------------------------------
r7674 | khughes | 2006-06-10 18:00:38 +0200 (Sat, 10 Jun 2006) | 6 lines



===Tools===
Another boolean bugfix: don't add faces which contain only two vertices
(actually, triangles with two identical vertices).

------------------------------------------------------------------------
r7673 | khughes | 2006-06-10 17:47:19 +0200 (Sat, 10 Jun 2006) | 14 lines



===Tools===
Adding back some code to booleans that got lost in the Orange merge.

I've also added back the code which checked that meshes were solid
("manifolds") but have the actual check in
intern/boolop/intern/BOP_Interface.cpp, since from my testing it was
not causing crashes or hangs.  It *can* give odd results depending on
what you're trying to intersect, but seems useful.  Additionally, since
existing bugs in the current code can create non-solid/non-manifold
meshes, seems hypocritical to create a mesh that can't later be used in
another boolean operation.

------------------------------------------------------------------------
r7672 | ton | 2006-06-10 17:18:47 +0200 (Sat, 10 Jun 2006) | 3 lines

Small fix: the compositing "Preview" option in UV/Image editor should only
work when compositing output is shown.

------------------------------------------------------------------------
r7671 | ton | 2006-06-10 14:53:58 +0200 (Sat, 10 Jun 2006) | 4 lines

Small tweak in adding mesh primitives (was patch, but that code wasn't
working) to ensure that circle/sphere/tube primitives are with radius 1.0
instead of radius sqrt(2)

------------------------------------------------------------------------
r7670 | intrr | 2006-06-10 14:00:13 +0200 (Sat, 10 Jun 2006) | 12 lines



Fixed an almost one-decade long annoyance: Text objects with "TextOnCurve"
now scale correctly.

Formerly, they just used to scale away from the curve into nirwana. Now,
they nicely follow the curve while scaling. Both the curve and the text
objects themselves can be scaled.

This will of course break compatibility with files that used this "bug".
Acceptable? I guess :-)

------------------------------------------------------------------------
r7669 | ton | 2006-06-10 12:47:21 +0200 (Sat, 10 Jun 2006) | 8 lines

Makefile change for OSX plugins release build:

- the .so files are copied to the installation dir plugin/ directory now
  (other platforms copy it to the .blender dir, which doesn't exist there
  for OSX)
- plugin C files got #defines for return values, was old patch I applied,
  but was never committed

------------------------------------------------------------------------
r7668 | hos | 2006-06-10 06:48:56 +0200 (Sat, 10 Jun 2006) | 16 lines

==Mesh modeling==

A modification of how 'Extrude Region' behaves on the line of
symmetry when a mirror modifier is used. If 'Do clipping' is
selected, and there is an edge selected on the line of symmetry
that is connected to a selected face, that edge no longer gets
extruded into a face lying on the symmetry line. In pictures,
here is how the old behavior compares to the new behavior:

http://bebop.cns.ualberta.ca/~cwant/mirror_extrude_region

I think this new behavior is consistent with what most users of
the mirror modifiers would want, but if not please say so!

Also: Test, test, test!

------------------------------------------------------------------------
r7667 | khughes | 2006-06-10 01:01:22 +0200 (Sat, 10 Jun 2006) | 6 lines



===Tools===
Earlier fix for curves and text without extrude or bevel only extruds
one curve/character.  This seems to fix it but Ton should double-check.

------------------------------------------------------------------------
r7666 | schlaile | 2006-06-09 22:23:56 +0200 (Fri, 09 Jun 2006) | 4 lines

==Sequencer==

- removed wav_spec, that isn't used at all, fixing a warning message

------------------------------------------------------------------------
r7665 | schlaile | 2006-06-09 21:48:50 +0200 (Fri, 09 Jun 2006) | 17 lines

==FFMPEG==

Added support for XVid and H264-codecs in codec-selection. (only work, if
ffmpeg is compiled with XVid and/or H264-support. Failure in doing so
results in an error message that codec can't be selected.)

Both are written always to AVIs since raw-h264-files created by ffmpeg
can't even be opened by itself...

Video render options are reset to sane defaults (=DVD preset) on startup now.

Don't expect quicktime-support to be very exciting, since ffmpeg can't really
multiplex quicktime files. (Tried several codecs with the ffmpeg-commandline
tool,... sigh)

Timestamp crash on Debian-Sarge version is fixed.

------------------------------------------------------------------------
r7664 | elubie | 2006-06-09 19:23:15 +0200 (Fri, 09 Jun 2006) | 9 lines

=== warnings cleanup ===

cleaned up some bad warnings and ugly stuff from not being careful enough in last commit.

especially these were dangerous:
interface_icons.c:716: warning: `return' with no value, in function  returning non-void
interface_icons.c:779: warning: implicit declaration of function  `waitcursor'
header_image.c:757: warning: implicit declaration of function  `BIF_preview_changed'

------------------------------------------------------------------------
r7663 | hos | 2006-06-09 18:48:55 +0200 (Fri, 09 Jun 2006) | 4 lines

Made the default cube of the default blend have *all* vertices selected
in edit mode, rather than just the vertices of the front face.
Please test.

------------------------------------------------------------------------
r7662 | ton | 2006-06-09 18:10:12 +0200 (Fri, 09 Jun 2006) | 6 lines

Bugfix #4286

Using spherical lightprobes for AO didn't filter the samples at all.
Image textures in Blender support this, so was simple to add, although
the filtering might need tweak :)

------------------------------------------------------------------------
r7661 | broken | 2006-06-09 18:01:27 +0200 (Fri, 09 Jun 2006) | 7 lines

* Added an 'eyedropper' tool in the colour picker. With the colour picker open,
you can click on the 'Sample' button, to sample any colour on the Blender
screen. This is really useful in the compositor, and would probably be good for
sampling footage in any eventual chroma key nodes that may be made, too.

LMB to pick the colour, ESC or RMB to cancel.

------------------------------------------------------------------------
r7660 | broken | 2006-06-09 17:56:29 +0200 (Fri, 09 Jun 2006) | 2 lines

* removed an unused variable warning. my bad.

------------------------------------------------------------------------
r7659 | broken | 2006-06-09 17:55:27 +0200 (Fri, 09 Jun 2006) | 7 lines

* preview.blend fixes

The preview.blend now shows raytracing/transparency, and also turns on and off
the fake shadow based on the 'shadbuf' setting.

Also included an updated preview.blend file to accomodate this.

------------------------------------------------------------------------
r7658 | ton | 2006-06-09 15:04:21 +0200 (Fri, 09 Jun 2006) | 5 lines

Bugfix #4284

Curves Widget: The endpoint condition for calculating the interpolation
had an error, moving too quickly to a constant value (for extending).

------------------------------------------------------------------------
r7657 | ton | 2006-06-09 14:45:09 +0200 (Fri, 09 Jun 2006) | 4 lines

Bugfix #4295

Composite: Z Combine node, output socket "Z" didn't do anything, removed it

------------------------------------------------------------------------
r7656 | ton | 2006-06-09 14:21:15 +0200 (Fri, 09 Jun 2006) | 20 lines

Bugfix #4298

Uncommitted the feature I added for Plumiferos to be able to render
animated render-borders (which effectively means every frame can be a
different size).
For several reasons;

- it will crash movie rendering (when image sizes differ)
- it forced code to do a full initialize each frame, also for setting the
  renderwindow (which popped up on each frame)
- the render pipeline was not designed with per-frame python changes in
  mind for image sizes... it uses an "Initialize" stage which is only
  called once for an entire sequence.

That latter might be an omission, but for that I better code a new API
call (for use in Python) so a re-init can be enforced.

The old functionality (animated render borders) will still work when you
render in background, using small steps like blender -s 1 -e 5 -a etc.

------------------------------------------------------------------------
r7655 | ton | 2006-06-09 14:00:28 +0200 (Fri, 09 Jun 2006) | 10 lines

Bugfix #4288

The new Image icon system didn't take care of float images yet, causing
crashes.

Andrea: I also cleaned up some of the syntax...
- try to stick to NULL for pointer values (not 0), reads nicer
- pointer declarations like: int* a, b; is confusing... use: int *a, b;
  it wasn't consistant in code either... :)

------------------------------------------------------------------------
r7654 | ton | 2006-06-09 13:15:52 +0200 (Fri, 09 Jun 2006) | 7 lines

Bugfix #4293

And more particle issues... the attempts to allow particle systems to be
part of duplicators (groups especially) isn't easy to get working!
This commit solves regular animated particle systems... they rendered on
the wrong location, using wrong object transform.

------------------------------------------------------------------------
r7653 | campbellbarton | 2006-06-09 07:14:16 +0200 (Fri, 09 Jun 2006) | 2 lines

fixed the logic for some of the ifs and remove a unused var

------------------------------------------------------------------------
r7652 | campbellbarton | 2006-06-09 06:32:21 +0200 (Fri, 09 Jun 2006) | 3 lines

Fixed a bug when holding down shift before there was any motion.
Doubled the speed of rotation

------------------------------------------------------------------------
r7651 | ton | 2006-06-08 21:55:29 +0200 (Thu, 08 Jun 2006) | 6 lines

Increased sizes of strings in filesel.c
Extreme cases (also old bugs with corrupt relative paths) didn't survive.

Like this string:
"//../../../../../../../../../../../../../Users/yomomma/Documents/../../../../../../../../../../../../../Users/"

------------------------------------------------------------------------
r7650 | ton | 2006-06-08 21:26:08 +0200 (Thu, 08 Jun 2006) | 3 lines

Plumiferos report: Appending objects with ipo drivers, didn't expand to
include the driver object.

------------------------------------------------------------------------
r7649 | schlaile | 2006-06-08 21:05:58 +0200 (Thu, 08 Jun 2006) | 22 lines

==Sequencer==

Added patch by Matt Ebb, that enhances the sequencer GUI in several ways:
- It looks a lot better
- Strip colours are themeable.
- The drawing code is more readable.
- The background of the timeline makes now distinguishing the channels easier
  by alternating between different shades of gray.
- Handle-scaling is clamped to min and max-values, making it possible to
  grab strips at large zooming levels more easily.
- Preview-images can be panned by dragging it with the middle mouse button.
  Home-Key resets the position.
- Since some people can't grab the meaning of "C 0", it is renamed to "Chan: 0"
- Effect strips have slightly different colors to distinguish them better.

Additionally:
- fixed an off by one error in Matt's patch
- Scene-rendering saves CFRA to avoid jumping current-scene on scrub
  (might be academic fix, since most likely it only happens if you add
  the sequencer-scene to the timeline... But nevertheless it bugs you on
  testing the GUI ;-)

------------------------------------------------------------------------
r7648 | campbellbarton | 2006-06-08 20:10:41 +0200 (Thu, 08 Jun 2006) | 4 lines

Replaced old fly mode for a fly mode that works in all 3 view types - ortho, perspective and camera (cheating, but its still usefull)
This one uses the 3d perspective view rather then the camera, and is nicer and easier to control then the old fly mode. it also gives some help in the header.
Shift+F to try it.

------------------------------------------------------------------------
r7647 | ton | 2006-06-08 12:57:23 +0200 (Thu, 08 Jun 2006) | 2 lines

Bugfix: "Shaded drawmode" didn't support vertex colors in materials yet.

------------------------------------------------------------------------
r7646 | briggs | 2006-06-08 07:41:57 +0200 (Thu, 08 Jun 2006) | 5 lines

-> Fix for bug #3867

Face loop cut was failing on meshes with hidden parts. Also modified edge
ring selection code in editmesh_mods.c to ignore hidden parts of mesh.

------------------------------------------------------------------------
r7645 | khughes | 2006-06-08 05:10:26 +0200 (Thu, 08 Jun 2006) | 10 lines



===Tools===
Previous patch for "problems with STL iterators/vectors that only show up under
Visual Studio 2005" could cause a crash when object used as a boolean modifier
was changed (for example, flipping all the normals).  The problem is that result
of boolean operations (apparently) can result in empty meshes.  Patched to
use the vector::size operator to check for empty vectors before trying to
check the iterator.

------------------------------------------------------------------------
r7644 | erwin | 2006-06-08 01:56:17 +0200 (Thu, 08 Jun 2006) | 2 lines

collada bugfixes, physics related, cylinder needs 2 radii, cone too other stuff. Hopefully a few more bugfixes before 2.42 release!

------------------------------------------------------------------------
r7643 | ascotan | 2006-06-07 17:09:07 +0200 (Wed, 07 Jun 2006) | 3 lines

*bugfix
-another quick fix. Runtime checks complain that a unused reference being returned from a function.

------------------------------------------------------------------------
r7642 | ascotan | 2006-06-07 17:04:14 +0200 (Wed, 07 Jun 2006) | 3 lines

*bugfix
-uninitialized variable being returned from a function

------------------------------------------------------------------------
r7641 | ascotan | 2006-06-07 17:01:40 +0200 (Wed, 07 Jun 2006) | 3 lines

*Bugfix
- uninitialized variable used during division.

------------------------------------------------------------------------
r7640 | schlaile | 2006-06-07 14:53:51 +0200 (Wed, 07 Jun 2006) | 8 lines

==FFMPEG==

This fixes again some segfaults on error conditions.
It also gives some reasonable error-messageboxes if chooses the wrong
DV-format-options.

More to come...

------------------------------------------------------------------------
r7639 | broken | 2006-06-07 10:23:35 +0200 (Wed, 07 Jun 2006) | 11 lines

* Updated the preview render scene .blend

- Improved lighting and background (also turned off shadows, unnecessary and
a potential slowdown in generating the preview)

- UV unwrapped the sphere and monkey models, so you can actually see something
useful when a texture is mapped to UV

- Added a 'hair' preview option (reused sphere icon will be eventually
forthcoming)

------------------------------------------------------------------------
r7638 | campbellbarton | 2006-06-07 04:10:10 +0200 (Wed, 07 Jun 2006) | 2 lines

use f.area where possible over python function and use len(mface) over len(mface.v)

------------------------------------------------------------------------
r7637 | sirdude | 2006-06-06 20:55:55 +0200 (Tue, 06 Jun 2006) | 15 lines



Made it so avi code handles "dropped frames"

some avi's have 0 sized chunks that we were not handling properly.
(Need to basically rewind the avi to previous frame in this case)

http://www.cs.umn.edu/~mein/blender/avi/examp.avi has 25 frames,
4,7 and 9 are "dropped frames"

blender use to crash on these now it displays the frame before it assuming
there is one.

Kent

------------------------------------------------------------------------
r7636 | ton | 2006-06-06 20:45:55 +0200 (Tue, 06 Jun 2006) | 9 lines

Fix in commit I did of May 29

To enable python to change border while render, I moved the initialize
call inside of the main loop that went over the frames.
Forgot to do move the movie-initialize call as well... which now got
called with zero'ed values.

Thanks Peter Schlaile for the poke!

------------------------------------------------------------------------
r7635 | khughes | 2006-06-06 20:14:31 +0200 (Tue, 06 Jun 2006) | 5 lines



===Python API===
added len() operator for MFaces, which returns number of MVerts.

------------------------------------------------------------------------
r7634 | campbellbarton | 2006-06-06 20:12:29 +0200 (Tue, 06 Jun 2006) | 2 lines

1 liner, bug that raised an error with textureless materials.

------------------------------------------------------------------------
r7633 | khughes | 2006-06-06 19:43:57 +0200 (Tue, 06 Jun 2006) | 7 lines



===Tools===
Bug "fix" for #3932, and possibly for #3799.  Booleans can get into an endless loop (at least until memory runs out); through triangulation somehow a face is repeatedly added to the list of faces to triangulate.  This patch checks the face list for duplicates prior to a list add and aborts if a dup is found.

The real issue is why the triangulation is creating the face in the first place, but that will take a more thorough (and longer) examination of the code.  If I can fix that issue that prior to the 2.42 release, then this code can be removed.

------------------------------------------------------------------------
r7632 | campbellbarton | 2006-06-06 19:28:39 +0200 (Tue, 06 Jun 2006) | 3 lines

Added Py_DECREF since PySequence_GetItem adds a reference where as PyTuple_GetItem borrows it.
Thank ken.

------------------------------------------------------------------------
r7631 | campbellbarton | 2006-06-06 19:04:00 +0200 (Tue, 06 Jun 2006) | 2 lines

made it so a meshes uvsel could be set with any sequence, not just a tuple.

------------------------------------------------------------------------
r7630 | eeshlo | 2006-06-06 18:56:47 +0200 (Tue, 06 Jun 2006) | 3 lines

Updated the 'library linked data' code to use the render object table as
suggested by Ton.

------------------------------------------------------------------------
r7629 | ton | 2006-06-06 12:09:44 +0200 (Tue, 06 Jun 2006) | 5 lines

Bugfix #3664

Curves and Text without extrude or bevel, didn't allow to set 'width'
anymore. Code got removed in too rigid cleanup for 2.40 modifiers.

------------------------------------------------------------------------
r7628 | campbellbarton | 2006-06-06 11:59:36 +0200 (Tue, 06 Jun 2006) | 2 lines

Added the option to import as a group instance (creates own scene) - works the same as OBJ Import.

------------------------------------------------------------------------
r7627 | campbellbarton | 2006-06-06 04:58:36 +0200 (Tue, 06 Jun 2006) | 2 lines

JMS Updates the script, and I did some fixes too. now works with  more models.

------------------------------------------------------------------------
r7626 | eeshlo | 2006-06-06 03:57:07 +0200 (Tue, 06 Jun 2006) | 12 lines

Added support for linked objects from libraries which can have names that
are already defined locally, probably does not work fully yet.
Added extra 'threads' parameter as requested by Lynx3d.

Optimized drawing of rendered tiles, so that the entire image doesn't have
to be redrawn every time a tile is complete.
The blender code that handles this part was not yet complete and could only
draw (sets of) scanlines. I extended the renderwin_progress() function in
renderwin.c to handle a given subrectangle.
This code needs review!
For the limited test I did it seems to work at least...

------------------------------------------------------------------------
r7625 | schlaile | 2006-06-05 21:04:19 +0200 (Mon, 05 Jun 2006) | 9 lines

== Sequencer & IPOs ==

This code enables IPO-pinning for Sequence-strips again, by working
around the missing libdata in blenloader/intern/readfile.c.

Bad hack(tm). Maybe we find a way, to make Sequence-strips true libdata?

It also fixes two places in IPO-editing where frame-locking wasn't handled.

------------------------------------------------------------------------
r7624 | ton | 2006-06-05 18:46:13 +0200 (Mon, 05 Jun 2006) | 3 lines

Stupid me... commit for support of viewer Node in Groups broke adding
new viewer nodes. Wrong use of variable.

------------------------------------------------------------------------
r7623 | ton | 2006-06-05 18:39:50 +0200 (Mon, 05 Jun 2006) | 9 lines

Bugfix #4275

Edit Mesh: "Add duplicate" failed when used in mixed edge/face select mode,
you then can make incoherent vertex selections. Nicely solved.

Also, related, uncommitted fix I did 6 months ago for EM_selectmode_set().
It is supposed to deliver full consistant selection, for all combos of
selection modes.

------------------------------------------------------------------------
r7622 | broken | 2006-06-05 18:01:00 +0200 (Mon, 05 Jun 2006) | 2 lines

* Woops, a debug printf slipped through. Removed.

------------------------------------------------------------------------
r7621 | broken | 2006-06-05 17:52:42 +0200 (Mon, 05 Jun 2006) | 8 lines

* Cut, Copy and Paste for buttons now also works while editing button text.
  Hotkeys Ctrl/Command (Mac) X, C, and V will cut, copy and paste the selected
  text to and from the 'buttons clipboard'.

  This clipboard is still not that good since it doesn't even use the same
  storage as the blender text editor, let alone the host OS. But I guess that
  sort of thing should be tackled inside of GHOST. Any takers? :)

------------------------------------------------------------------------
r7620 | khughes | 2006-06-05 17:52:26 +0200 (Mon, 05 Jun 2006) | 4 lines



Bugfix #4081: support for OpenBSD platform for scons.  Big thanks to Nathan Houghton for this contribution.

------------------------------------------------------------------------
r7619 | elubie | 2006-06-05 15:08:54 +0200 (Mon, 05 Jun 2006) | 2 lines

- small fix: image icons are now drawn without the white background

------------------------------------------------------------------------
r7618 | elubie | 2006-06-05 13:07:15 +0200 (Mon, 05 Jun 2006) | 3 lines

- added saving of the image previews to the .blend file to prevent having to load the full images for the image previews
- new struct PreviewImage in DNA_image_types can in the future be moved to struct ID for storing previews for all types

------------------------------------------------------------------------
r7617 | ton | 2006-06-05 11:55:39 +0200 (Mon, 05 Jun 2006) | 3 lines

Blend method fixes by Fred van Essen.
Also renames "Lightness" to "Value".

------------------------------------------------------------------------
r7616 | erwin | 2006-06-05 06:23:21 +0200 (Mon, 05 Jun 2006) | 2 lines

typo in script

------------------------------------------------------------------------
r7615 | erwin | 2006-06-05 06:19:44 +0200 (Mon, 05 Jun 2006) | 2 lines

2 small bug fixes in rigid body export (convex / static meshes were not correctly exported)

------------------------------------------------------------------------
r7614 | erwin | 2006-06-05 06:09:54 +0200 (Mon, 05 Jun 2006) | 2 lines

collada 1.4 exporter/importer requires logo.png

------------------------------------------------------------------------
r7613 | erwin | 2006-06-05 05:47:20 +0200 (Mon, 05 Jun 2006) | 2 lines

Bug fixes in Collada 1.4 export/import.

------------------------------------------------------------------------
r7612 | eeshlo | 2006-06-05 04:24:12 +0200 (Mon, 05 Jun 2006) | 11 lines

bugfix #4072 added support for strandmapping, done by exporting the
strand texcoords as orco coords, so yafray doesn't have to be adapted for this.
bugfix #4254 added support for dupligroups, but might not work completely
correct yet at this point, more testing needed.

Also added some missing parts from the code apparently removed at some time.
Mainly having to do with dupliverts, cam.info for aspect ratio/ortho mode/etc.
Header stats (render window) should now work again too.
Fixed missing last tile draw of render window.
Added the missing const_cast in the win32 part of the xml export code.

------------------------------------------------------------------------
r7611 | broken | 2006-06-05 04:17:24 +0200 (Mon, 05 Jun 2006) | 4 lines

* Made the emphasis on every 10th 3D View grid line brighten instead of darken,
if the grid colour is brigher than the background colour (so it increases
contrast in all situations)

------------------------------------------------------------------------
r7610 | broken | 2006-06-05 04:12:43 +0200 (Mon, 05 Jun 2006) | 4 lines

* Tweaked the ipo header menu hotkeys
  Campbell, the standard convention is to include the direct hotkeys on the
  menu items themselves, not on the higher level menu categories. cheers

------------------------------------------------------------------------
r7609 | campbellbarton | 2006-06-05 03:46:03 +0200 (Mon, 05 Jun 2006) | 3 lines

Added the letter T for the Ipo type menu (key shortcut). So we can close bug 3700
typo in commant interface.c

------------------------------------------------------------------------
r7608 | campbellbarton | 2006-06-05 03:36:32 +0200 (Mon, 05 Jun 2006) | 2 lines

Removed wings support, both apps are free and have good obj support. wings import was not maintainded and would not load some files.

------------------------------------------------------------------------
r7607 | campbellbarton | 2006-06-05 03:23:56 +0200 (Mon, 05 Jun 2006) | 4 lines

Clicking on the arrows of a python float button did not change the value :/ - (Click step was zero) Fixed in Draw.c
Added a comment to interface.c on how a1 and a2 are used with float buttons.
Added an example to Draw.py epydocs of a script using a float button.

------------------------------------------------------------------------
r7606 | theeth | 2006-06-04 20:38:58 +0200 (Sun, 04 Jun 2006) | 7 lines

=== Bug Fix ===

[ #4272 ] Camera zooming problem
Move the camera in camera view could block inexplicably sometimes.

Was a silly programmation error that any competant compiler should have given a warning for. Alas, I'm using gcc...

------------------------------------------------------------------------
r7605 | campbellbarton | 2006-06-04 20:38:58 +0200 (Sun, 04 Jun 2006) | 5 lines

* removed lint functions
* replaced foobar==[]: with if foobar: - no reason to make empty lists for comparison.
* Would raise an error is importing a mesh with a blender that had objects in more then 1 scene.
* sped up some of the XML reading functions.

------------------------------------------------------------------------
r7604 | schlaile | 2006-06-04 20:05:47 +0200 (Sun, 04 Jun 2006) | 11 lines

==Sequencer & ffmpeg==
Bugfixes:
- hddaudio now allocates it's decode buffer + AVCODEC_MAX_AUDIO_FRAME_SIZE
  safety interval. (The former code expected all decoded audio frames to
  be the same size which can hurt under some circumstances e.g. VBR files)
- writeffmpeg: some pointers where not initialized on start and after
  deletion not set to null. Could segfault randomly on error conditions.
- drawseq: use startdisp and enddisp to decide, if a strip should be drawn.
  (Just extend strips first or last frame beyond screen dimensions in
  the previous version and watch the strip disappear)

------------------------------------------------------------------------
r7603 | ton | 2006-06-04 19:48:02 +0200 (Sun, 04 Jun 2006) | 5 lines

Bugfix #4271

Sequence editor: Ipowindow allowed to "Pin" an animation curve, which
isn't supported really. (Strips are not library data)

------------------------------------------------------------------------
r7602 | ton | 2006-06-04 19:22:19 +0200 (Sun, 04 Jun 2006) | 4 lines

Fix #4269

Using displacement mapping caused VectorBlur (speed vectors) to go haywire.

------------------------------------------------------------------------
r7601 | ton | 2006-06-04 19:19:32 +0200 (Sun, 04 Jun 2006) | 3 lines

Bug found by Campbell; Tkey in IpoWindow on "shape keys" didn't work at
all, and even crashed in some cases.

------------------------------------------------------------------------
r7600 | letterrip | 2006-06-04 19:19:04 +0200 (Sun, 04 Jun 2006) | 4 lines

==kmz importer==

This script adds support for importing kmz mesh files (google maps model format) - the script was written by jmz, thanks

------------------------------------------------------------------------
r7599 | stiv | 2006-06-04 18:46:55 +0200 (Sun, 04 Jun 2006) | 3 lines

support for ffmpeg in linux.  default is no.
set BF_OPENGL to /usr rather than /usr/lib.  thx Ken!

------------------------------------------------------------------------
r7598 | ton | 2006-06-04 18:26:02 +0200 (Sun, 04 Jun 2006) | 10 lines

Bugfix #4223

Sequencer:
A call to view2d_do_locks() got accidentally added in main drawing loop,
causing an infinite loop of redraws when this option was used with more
sequence windows open.

Added missing view2d_do_locks() to zooming in Sequence window. Also
cleaned this call a bit.

------------------------------------------------------------------------
r7597 | khughes | 2006-06-04 17:54:23 +0200 (Sun, 04 Jun 2006) | 6 lines



Bugfix #4089: Some Linux distros are using newer versions of OpenAL which
have FreeAlut (the OpenAL Utility Toolkit) separated out into libalut.  Added
a configuration test to check for libalut and add to LIBPATH if detected.

------------------------------------------------------------------------
r7596 | letterrip | 2006-06-04 17:19:40 +0200 (Sun, 04 Jun 2006) | 4 lines

==bvh removal for cambo==

removing to fix some commit problems - cambo will add them back

------------------------------------------------------------------------
r7595 | broken | 2006-06-04 17:00:24 +0200 (Sun, 04 Jun 2006) | 3 lines

* Fixed bug #4000 (can't select horizontally flipped sequence effect strips).
Just needed a check if start > end.

------------------------------------------------------------------------
r7594 | schlaile | 2006-06-04 15:46:51 +0200 (Sun, 04 Jun 2006) | 9 lines

==Sequencer==
Bugfix: If you use the IPO-pinning feature and edited an IPO that wasn't
  highlighted as the current Sequence (current Sequence being a Metastrip),
  you'll get obscure crashes, since the code
  a) was mistakenly using last_seq
  b) didn't test for se->ok != 2, thereby doing double frees on imbufs

  Am I the only one, who wants to remove the last_seq global completely... ?

------------------------------------------------------------------------
r7593 | khughes | 2006-06-04 15:16:31 +0200 (Sun, 04 Jun 2006) | 6 lines



===Python API===
Patch to add 'NoSpecular' to Lamp.Modes constant dict, submitted by Jonathan
Merritt.  Thanks!

------------------------------------------------------------------------
r7592 | campbellbarton | 2006-06-04 11:35:35 +0200 (Sun, 04 Jun 2006) | 2 lines

Fixed mistake in calculating the collapse position (surprising it worked as well as it did)

------------------------------------------------------------------------
r7591 | eeshlo | 2006-06-04 04:54:59 +0200 (Sun, 04 Jun 2006) | 2 lines

bugfix #3679 YFexport relative path on linux

------------------------------------------------------------------------
r7590 | eeshlo | 2006-06-04 03:29:41 +0200 (Sun, 04 Jun 2006) | 3 lines

Bugfix for crashes when rendering with yafray when the render
size was not 100%

------------------------------------------------------------------------
r7589 | ton | 2006-06-03 19:21:45 +0200 (Sat, 03 Jun 2006) | 9 lines

Rotation constraint update.

Small fix, but results are at least less frustrating now. It uses the
"compatible euler" function from inserting key positions here, preventing
euler values to be constrainted that differ weirdly.

I've tried several other approaches to get a definite rotate constraint,
but only constraining a single axes seems to me impossible magic still...

------------------------------------------------------------------------
r7588 | ton | 2006-06-03 15:26:39 +0200 (Sat, 03 Jun 2006) | 6 lines

Patch from Fred van Essen: six new blending modes.

http://mediawiki.blender.org/index.php/BlenderDev/BlendingModes

Functional in Node editor and Material Ramps.

------------------------------------------------------------------------
r7587 | ton | 2006-06-03 13:49:30 +0200 (Sat, 03 Jun 2006) | 9 lines

Plumiferos bugfix:

The new (months ago) added option for "Local Constraint" always copied
and restored a PoseChannel quaternion, that disabled the required
normalizing of quaternions.

Only visible when you manually draw Ipo Curves, but it's probable that
it showed in other cases too.

------------------------------------------------------------------------
r7586 | ton | 2006-06-03 12:08:16 +0200 (Sat, 03 Jun 2006) | 10 lines

Bugreport #3891

Object Layer Ipos didn't work when the Ipo was moved an Object Action.
Can't get this to work though... this option has been added with a lot
of exception handling already, and for action/nla it's very nasty to
blend/mix/add layer bit values. So; better not support that.

As feedback for users, I've added a notice popup when you try to move
layer-ipos to an action.

------------------------------------------------------------------------
r7585 | ton | 2006-06-03 11:19:10 +0200 (Sat, 03 Jun 2006) | 15 lines

Plumiferos request

Compositor:
Viewer Nodes inside of Groups now work too. To not frustrate interactive
speed, the following rules apply:

- Making a Group editable (or closing) doesn't signal recalculation of
  composite
- clicking on an Input socket always checks changes and calulcates
- When there are Viewers inside an edited Group, Viewers in the main tree
  are not executed.

Also added: a "hide unused sockets" icon in the header of Viewer nodes.
This allows cleanup of Groups, to prevent these sockets get reveiled.

------------------------------------------------------------------------
r7584 | campbellbarton | 2006-06-03 09:46:56 +0200 (Sat, 03 Jun 2006) | 3 lines

Added an option to OBJ import "As Instance" - so people can import all the objs objects into a new scene and have a group instanced in the current scene.
some extra details in Epydocs about how groups work.

------------------------------------------------------------------------
r7583 | erwin | 2006-06-03 01:26:41 +0200 (Sat, 03 Jun 2006) | 2 lines

added basic docs for rbFriction and rbRestitution

------------------------------------------------------------------------
r7582 | erwin | 2006-06-02 23:33:24 +0200 (Fri, 02 Jun 2006) | 2 lines

updated to latest Collada 1.4 export/import.

------------------------------------------------------------------------
r7581 | erwin | 2006-06-02 22:59:29 +0200 (Fri, 02 Jun 2006) | 3 lines

added friction and restitution for the Collada Physics export/import
See http://colladablender.illusoft.com

------------------------------------------------------------------------
r7580 | ton | 2006-06-02 22:48:22 +0200 (Fri, 02 Jun 2006) | 6 lines

Plumiferos bugreport:

Appending a Scene, which had group-objects, accidentally linked these
objects to the active scene too. This was a mixup with the case of just
appending a group.

------------------------------------------------------------------------
r7579 | khughes | 2006-06-02 21:42:09 +0200 (Fri, 02 Jun 2006) | 10 lines



===Python API===
Define macros for Py_RETURN_TRUE and Py_RETURN_FALSE (for Python 2.3).  Also
make Py_RETURN_NONE macro a little safer.  Current macro will not work as
expected in situations like below since it expands to two C statements:

	if( !attr )
		Py_RETURN_NONE;

------------------------------------------------------------------------
r7578 | erwin | 2006-06-02 20:17:40 +0200 (Fri, 02 Jun 2006) | 5 lines

applied patch [ #4207 ] Boolean operations fix
Also fixed other problems with STL iterators/vectors, that only show up under Visual Studio 2005.

See also http://projects.blender.org/pipermail/bf-committers/2006-May/014608.html

------------------------------------------------------------------------
r7577 | ton | 2006-06-02 19:45:49 +0200 (Fri, 02 Jun 2006) | 6 lines

Bugfix:

- OpenGL render didn't display the render buffer
- OpenGL anim render always exported to movie, now it supports formats like
  normal renders.

------------------------------------------------------------------------
r7576 | ton | 2006-06-02 18:01:25 +0200 (Fri, 02 Jun 2006) | 5 lines

Disabled the combination of "Border render" and "Save buffers" for now.
The latter uses OpenEXR tile-based files, but the EXR spec doesn't allow
tiles to differ in size... limiting the amount of OK resolutions for
images.

------------------------------------------------------------------------
r7575 | ton | 2006-06-02 15:19:48 +0200 (Fri, 02 Jun 2006) | 5 lines

Bugfix #4257

The "Laplace" filter in Compositor didn't do what it should... which is
a mild edge detection, similar to Sobel etc.

------------------------------------------------------------------------
r7574 | ton | 2006-06-02 14:34:09 +0200 (Fri, 02 Jun 2006) | 4 lines

Bugfix #4259

Static particles, drawmode Shaded or Texture, colors for strands were wrong

------------------------------------------------------------------------
r7573 | ton | 2006-06-02 12:55:21 +0200 (Fri, 02 Jun 2006) | 2 lines

Wrong return and else combo... gave gcc warning.

------------------------------------------------------------------------
r7572 | campbellbarton | 2006-06-02 08:34:13 +0200 (Fri, 02 Jun 2006) | 4 lines



Simple fix, args from the UI were out of allignment

------------------------------------------------------------------------
r7571 | eeshlo | 2006-06-02 05:39:03 +0200 (Fri, 02 Jun 2006) | 20 lines

I'm not sure if I'm allowed to do this, but I'm hoping this is ok...
I have been able to compile blender on linux 64 without problems up to a
month ago, but a recent change is giving me problems, and probably others
as well (on linux 64 at least). But if not, this commit shouldn't change
anything.
The problem was an added pad variable to RenderData in DNA_scene_types.h,
in a somewhat problematic place, since it causes the compiler to pad the
struct at the 'ListBase layers' variable, a struct of two pointers,
which caused me all sorts of trouble, variables declared after this having
incorrect or incorrectly assigned values.
This commit fixes this.

In makesdna.c is a useful section which will write a c program called
'padding.c' which compares the actual size to the expected size, which
for the RenderData and Scene struct in this case had a difference of 8.
Also useful was the gcc -Wpadded warning flag.

Hopefully I don't get 'fired' for this... ;)
Now back to fixing the yafray bugs...

------------------------------------------------------------------------
r7570 | khughes | 2006-06-01 20:27:57 +0200 (Thu, 01 Jun 2006) | 7 lines



===Python API===
addProperty() and removeProperty() were each defined twice, because each
could be called with different inputs.  Hence only the second definition
was showing up in the documentation.  Both descriptions are merged now.

------------------------------------------------------------------------
r7569 | broken | 2006-06-01 11:03:43 +0200 (Thu, 01 Jun 2006) | 4 lines

* Whoops, committed something I shouldn't have in the last one. Reverting.

* Added 'Make Local' to the menus. Also a minor capitalisation tweak.

------------------------------------------------------------------------
r7568 | broken | 2006-06-01 10:54:45 +0200 (Thu, 01 Jun 2006) | 3 lines

* Theeth must be busy so I removed the 'Steps' from the timeline and changed it
to a number field in scene buttons.

------------------------------------------------------------------------
r7567 | letterrip | 2006-06-01 00:56:22 +0200 (Thu, 01 Jun 2006) | 4 lines

==render by parts==

made xparts and yparts consistent in the different places it can be set now python and the buttons are max 64 (was 512 in some python locations) and xparts is max 512 (was max 64 in some python locations), also made the minimum xparts and yparts 1 again.  Ed Halley suggests that we should up the max xparts to 1024 (instead of the current 512) for 'smoother panoramas'

------------------------------------------------------------------------
r7566 | erwin | 2006-05-31 23:38:00 +0200 (Wed, 31 May 2006) | 2 lines

added files in bpymodules folder (on request).

------------------------------------------------------------------------
r7565 | erwin | 2006-05-31 23:02:22 +0200 (Wed, 31 May 2006) | 2 lines

updated Collada 1.4 import/export

------------------------------------------------------------------------
r7564 | erwin | 2006-05-31 22:48:44 +0200 (Wed, 31 May 2006) | 2 lines

added rbRadius and rbHalfExtents members for python / rigid body access. rbRadius is read/write. rbHalfExtents is read-only (it is derived from the mesh)

------------------------------------------------------------------------
r7563 | jiri | 2006-05-31 11:54:26 +0200 (Wed, 31 May 2006) | 7 lines



 Bugfix:
 list of recent opened file is written to .Blog file, when it is necessary,
 list shouldn't hide now, ... I don't want to rewrite code after intrr
 anymore ;-)

------------------------------------------------------------------------
r7562 | broken | 2006-05-31 06:24:03 +0200 (Wed, 31 May 2006) | 2 lines

* Added Mac OS X text editing shortcuts Command LeftArrow and Command RightArrow as equivalents for Home and End in Blender's text editor.

------------------------------------------------------------------------
r7561 | campbellbarton | 2006-05-31 06:03:50 +0200 (Wed, 31 May 2006) | 3 lines

Bit the bullet and put a py2.3 blender on my system :/ ro fix http://projects.blender.org/tracker/index.php?func=detail&aid=3959&group_id=9&atid=125
py2.4 set issue with bevel_center.py (use dicts for now) - set's commented.

------------------------------------------------------------------------
r7560 | briggs | 2006-05-31 04:21:08 +0200 (Wed, 31 May 2006) | 6 lines

-> Fix for bug #4247

The mouse handling code for selecting/deselecting face/edge loops and edge
rings was causing single edges to be selected in face mode when face loop
select failed.

------------------------------------------------------------------------
r7559 | briggs | 2006-05-31 03:49:05 +0200 (Wed, 31 May 2006) | 9 lines

-> Fix for bug #4162

Bug in buttons_editing.c meant that edge subdivide code was getting called
with wrong arguments when accessed via the edit buttons, but was called
correctly from wkey menu.

Also added Alexander's small fix so that beauty subdivide behaves correctly
when used on non-proportionally scaled objects.

------------------------------------------------------------------------
r7558 | ton | 2006-05-30 19:47:34 +0200 (Tue, 30 May 2006) | 5 lines

Compositor: Group nodes could free buffers internally while still in use
external. For example Blur and Translate nodes suffered it.

Makes Group Nodes a tinsy bit more stable now. :)

------------------------------------------------------------------------
r7557 | jiri | 2006-05-30 15:38:22 +0200 (Tue, 30 May 2006) | 6 lines



 Bugfix:
 Open recent should work correctly now, it uses ListBase to store list of
 recent opened (saved) blend files

------------------------------------------------------------------------
r7556 | khughes | 2006-05-30 15:09:51 +0200 (Tue, 30 May 2006) | 6 lines



===Python API===
Removed "#if 0" conditionals of future code which were causing compiler
problems on some platforms.

------------------------------------------------------------------------
r7555 | ton | 2006-05-30 14:43:06 +0200 (Tue, 30 May 2006) | 10 lines

Bugfixes 4082 4112 4172 4232

Each report was about a different failure with Particles, all related to
weak handling of animation systems and the depsgraph.

Fix has 2 parts; depsgraph now signals "object recalc" to be for time
changes; this then is used to bypass particle-building (since that's baked).

Other part is better object caching while makig particles.

------------------------------------------------------------------------
r7554 | campbellbarton | 2006-05-30 12:15:01 +0200 (Tue, 30 May 2006) | 3 lines

Braught back saveRenderedImage now I have a clue about what it does.
Cleaned up functions and optimized loops, extra checks and better defaults.

------------------------------------------------------------------------
r7553 | campbellbarton | 2006-05-30 10:04:46 +0200 (Tue, 30 May 2006) | 2 lines

saveRenderedImage docs were a bit vague on the output path, took a look at teh source and docs updated.

------------------------------------------------------------------------
r7552 | ton | 2006-05-30 09:55:33 +0200 (Tue, 30 May 2006) | 4 lines

bugfix #4251

Hotkey CTRL+ALT+G (manipulater translate) was overridden by group menu.

------------------------------------------------------------------------
r7551 | khughes | 2006-05-30 02:09:55 +0200 (Tue, 30 May 2006) | 7 lines



Bugfix #4224 fix:

If G.recent[0] was empty last wasn't initialized, resulting in a segfault.
While I was there, changed strcat() to strcpy() for Alexander :-)

------------------------------------------------------------------------
r7550 | ton | 2006-05-29 19:22:05 +0200 (Mon, 29 May 2006) | 6 lines

Buffix #4124

Changing render settings with python while Anim render now updates display
for each frame. So you can animate render borders, or even save different
sized images.

------------------------------------------------------------------------
r7549 | khughes | 2006-05-29 19:14:05 +0200 (Mon, 29 May 2006) | 5 lines



===Python API===
Second pass at sceneRender.c / Scene.Render API clean-up.  Most of the remaining clean-up needs to wait for the API refactor, since the "good" attribute names are already used by methods.

------------------------------------------------------------------------
r7548 | jiri | 2006-05-29 17:30:43 +0200 (Mon, 29 May 2006) | 8 lines



 Bugfix #4224:

 Blender has Open recent submenu in main File menu, Open recent should
 work correctly now, I remove Reopen last item (I hope, that I didn't
 break anything), because it seems obsolete now

------------------------------------------------------------------------
r7547 | ton | 2006-05-29 15:59:18 +0200 (Mon, 29 May 2006) | 5 lines

Fix #4243

Code that checked if mesh has armature modifier was reading NULL pointer
(when modifier added without target, and facepaint started)

------------------------------------------------------------------------
r7546 | ton | 2006-05-29 15:40:15 +0200 (Mon, 29 May 2006) | 6 lines

fix #4248

Render:
The "error no camera" was too strict, also popping up when only Composite
or Sequencer was meant to use.

------------------------------------------------------------------------
r7545 | ton | 2006-05-29 15:01:51 +0200 (Mon, 29 May 2006) | 6 lines

Fix #4245

Old annoyance in Blender; zooming in very far makes scaling/rotate
around invisible pivot going bezerk. The easy fix was just enforcing
floats in integer math.

------------------------------------------------------------------------
r7544 | ton | 2006-05-29 10:40:01 +0200 (Mon, 29 May 2006) | 8 lines

Render window: Jkey (swap display buffers) works as 2.41 again. Meaning,
it keeps storing a previous buffer for as long you don't render showing
this previous buffer.
If you render showing the previous buffer, it stores the current render.

To make this more clear, the window title shows "previous" when it shows
the stored copy.

------------------------------------------------------------------------
r7543 | briggs | 2006-05-29 07:17:38 +0200 (Mon, 29 May 2006) | 6 lines

-> UV Edge collapse

Added code to make 'Collapse Edges' handle UV's intelligently. This seems to work in just about every case that I can test, so it's turned on by default.

Also completely removed the 'collapse faces' command and code. I'm not sure what I was thinking with this in the first place since edge collapse does the same job while in in face mode. Because of this there is now just one single command that covers both situations called 'Collapse' which uses the edge collapse code.

------------------------------------------------------------------------
r7542 | khughes | 2006-05-29 07:01:07 +0200 (Mon, 29 May 2006) | 6 lines



===Python API===
First pass at sceneRender.c / Scene.Render API clean-up.  Mainly implementing
attribute via tp_getset, but a few new features too.

------------------------------------------------------------------------
r7541 | eeshlo | 2006-05-29 05:59:12 +0200 (Mon, 29 May 2006) | 3 lines

Yafray 'should' now work again. A bit more testing needed.
But seems to work sofar anyway, composit nodes should work as well.

------------------------------------------------------------------------
r7540 | khughes | 2006-05-29 05:52:38 +0200 (Mon, 29 May 2006) | 5 lines



===Python API===
Fix typo in Mesh.py epydoc.

------------------------------------------------------------------------
r7539 | desoto | 2006-05-28 19:45:57 +0200 (Sun, 28 May 2006) | 4 lines

Fixed height of two buttons.

(Test commit for my ssh keys and what-not)

------------------------------------------------------------------------
r7538 | desoto | 2006-05-28 19:29:50 +0200 (Sun, 28 May 2006) | 6 lines

Additions to stubs.c to make blenderplayer compile.

I would appreciate if someone who knows more about this could check it.

Thanks!

------------------------------------------------------------------------
r7537 | pidhash | 2006-05-28 19:17:18 +0200 (Sun, 28 May 2006) | 3 lines

a little clean of no used line
.

------------------------------------------------------------------------
r7536 | schlaile | 2006-05-28 14:33:41 +0200 (Sun, 28 May 2006) | 4 lines

==Sequencer==

Bugfix: The "Convert to Premul"-Button was drawn twice for Images...

------------------------------------------------------------------------
r7535 | ton | 2006-05-28 14:30:09 +0200 (Sun, 28 May 2006) | 12 lines

Step one in bringing back Yafray Render in Blender. Need someone else
to take over now, but I'm available for help. Main notes for completing:

- Yafray module uses old global R all over... is now a pointer handle.
  It can be temporally bypassed by straight copying, which I do now.

- I am not sure in what pixel format Yafray renders... Blender now only
  uses float buffers. In the code, marked with XXX I've added the
  rudimentary code for retrieving buffers.

- This integration will skip compositing when Yafray render is used.

------------------------------------------------------------------------
r7534 | ton | 2006-05-28 13:49:22 +0200 (Sun, 28 May 2006) | 9 lines

More render pipeline finishing up;

- Shaded drawmode is back (shift+z).
  Note it still only uses orco texture; but lighting/shading is using
  the internal render module entirely.

- "Make Sticky" option back.
  (Also fix in sticky texture render, was wrong scaled)

------------------------------------------------------------------------
r7533 | campbellbarton | 2006-05-28 12:48:50 +0200 (Sun, 28 May 2006) | 3 lines

saveRenderedImage is broken? - isnt working anymore for some resion. switched back to renderAnim.
More efficient texture usage, packer now rotates the convex hull of the UV's for each image to fit the most image into the smallest rectangle.

------------------------------------------------------------------------
r7532 | campbellbarton | 2006-05-28 12:44:29 +0200 (Sun, 28 May 2006) | 4 lines

Added a 2d convex hull function to BPyMathutils
Added a 2D Line intersection function
Added a function to BPyMesh that gets the mesh space vertex location of a Faces UV Pixel.

------------------------------------------------------------------------
r7531 | campbellbarton | 2006-05-28 04:12:49 +0200 (Sun, 28 May 2006) | 3 lines

comments on how edge weighting for collapsing works.
uv_auto_layout_tex now uses the recently fixed saveRenderedImage - I needed to make clean and make to get it working.

------------------------------------------------------------------------
r7530 | campbellbarton | 2006-05-28 03:52:16 +0200 (Sun, 28 May 2006) | 2 lines

Use Kens hide/sel mesh props to save some python looping.

------------------------------------------------------------------------
r7529 | khughes | 2006-05-28 02:39:13 +0200 (Sun, 28 May 2006) | 6 lines



===Python API===
Added to Mesh API me.sel and me.hide, which set/clear the selection and
hidden values for all verts/edges/faces in a mesh.

------------------------------------------------------------------------
r7528 | khughes | 2006-05-28 01:31:13 +0200 (Sun, 28 May 2006) | 6 lines



===Python API===
Fixed epydoc summaries for mesh.vert.index and mesh.vert.uvco so they say
something useful other than "(MVert Only)".

------------------------------------------------------------------------
r7527 | ton | 2006-05-27 19:05:03 +0200 (Sat, 27 May 2006) | 3 lines

Bugfix in last commit; preview renders didn't work render properly, parts
of tiles were black sometimes.

------------------------------------------------------------------------
r7526 | khughes | 2006-05-27 18:40:00 +0200 (Sat, 27 May 2006) | 6 lines



===Python API===
Bugfix: epydocs for World API incorrectly described settings for getMode(),
setMode() methods.

------------------------------------------------------------------------
r7525 | khughes | 2006-05-27 17:54:17 +0200 (Sat, 27 May 2006) | 4 lines



Fix spelling error in tooltop.

------------------------------------------------------------------------
r7524 | campbellbarton | 2006-05-27 16:27:52 +0200 (Sat, 27 May 2006) | 7 lines

Poly reduction fixes
Added remove doubles as a keyword option,
Fixed Triangulate (need to select the faces first)
Fixed boundry weighting (defaults reduced boundries first more then
non boundry verts!)
Made face area weighting give better results.

------------------------------------------------------------------------
r7523 | ton | 2006-05-27 15:35:03 +0200 (Sat, 27 May 2006) | 25 lines

So! Finally time to work on finishing render pipeline project.
This commit brings back:

- Field Render
- MBlur Render (old style)
- Border render with or without cropping

Note: Field Render is not supported in Compositor yet. Blurring or filter
will destroy field information.
Both MotionBlur as Field render are done before Compositing happens.

Fixes:

- The "Save Buffers" option only worked on single frame renders, not for
  Anim render.
- Found an un-initalized variable in Render initialize... this might have
  caused the unknown random crashes with render.

Code restructure:

Cleaned up names and calls throughout the pipeline, more clearly telling
what goes on in functions.
This is visible in the updated first image of the Wiki doc:
http://mediawiki.blender.org/index.php/BlenderDev/RenderPipeline

------------------------------------------------------------------------
r7522 | ascotan | 2006-05-26 17:28:04 +0200 (Fri, 26 May 2006) | 5 lines

* bug fix
[ #4228 ] Blender.Image.Load(filename) loads only on the first loading
- Image.Load() will now reload the image buffer when a image of the same name is loaded again
- small textual change in render code

------------------------------------------------------------------------
r7521 | letterrip | 2006-05-26 02:21:02 +0200 (Fri, 26 May 2006) | 4 lines

==md2 export update==

[ #4237 ] MD2 export Light Normal is rotated incorrectly fixed by Bob Holcomb

------------------------------------------------------------------------
r7520 | intrr | 2006-05-26 00:00:12 +0200 (Fri, 26 May 2006) | 4 lines



Slight simplification of windowtype_pup()...

------------------------------------------------------------------------
r7519 | ascotan | 2006-05-25 23:34:00 +0200 (Thu, 25 May 2006) | 4 lines

*python fix
- save_rendered_image_cb_real has a popup window embedded in it that prevents automation through python as a result python scripts would get a popup which is ignorned by the script
- modified so python scripts overwrite the image by default

------------------------------------------------------------------------
r7518 | ascotan | 2006-05-25 23:13:13 +0200 (Thu, 25 May 2006) | 3 lines

- bug fix
* C uses braces unlike python :/

------------------------------------------------------------------------
r7517 | ascotan | 2006-05-25 23:10:28 +0200 (Thu, 25 May 2006) | 5 lines

*python documention & bug fix
- added documentation to Render - saveRenderedImage has an option to save the zbuffer along with the image
(off by default)
- fixed a really annoying runtime error of uninitialized data being passed to a method in pipeline.c during a render

------------------------------------------------------------------------
r7516 | ascotan | 2006-05-25 22:47:17 +0200 (Thu, 25 May 2006) | 4 lines

*python fix
- fixed Render.saveRenderedImage() so now it works once again
(it was broken since render refactor)

------------------------------------------------------------------------
r7515 | ascotan | 2006-05-25 21:18:04 +0200 (Thu, 25 May 2006) | 4 lines

* update for projectfiles vc7
- added python files
- fixed a small C coding error in vpaint preventing windows builds

------------------------------------------------------------------------
r7514 | khughes | 2006-05-25 20:28:51 +0200 (Thu, 25 May 2006) | 5 lines



Remove dead code in add_primitiveMesh(), left after UV Sphere was made
to aligns with view.

------------------------------------------------------------------------
r7513 | khughes | 2006-05-25 19:00:17 +0200 (Thu, 25 May 2006) | 5 lines



===Python API===
Ok, now let's try making the Mesh Primitives documentation accessible.

------------------------------------------------------------------------
r7512 | khughes | 2006-05-25 18:45:24 +0200 (Thu, 25 May 2006) | 15 lines



===Python API===
Fulfilling a very old feature request: a new Mesh Primitives module is
introduced, which gives script writers access to the Blender mesh datablocks
created from the "Add->Mesh" menu.  You can now do this:

  from Blender import *

  me = Mesh.Primitives.UVsphere(10,20,3) # 10 segments, 20 rings, diameter 3
  ob = Object.New('Mesh','mySphere')
  ob.link(me)
  sc = Scene.GetCurrent()
  sc.link(ob)

------------------------------------------------------------------------
r7511 | jiri | 2006-05-25 17:36:38 +0200 (Thu, 25 May 2006) | 6 lines



 Bugfix:
 Ubuntu users can set up locales again (propably some other linux distros
 had same problem)

------------------------------------------------------------------------
r7510 | campbellbarton | 2006-05-25 16:24:22 +0200 (Thu, 25 May 2006) | 7 lines

fix a bug in vpaint when changing scenes,

ob= OBACT;
if (!ob->id.lib) return;

Doset account for OBACT being null, this probably exists in other ares too.

------------------------------------------------------------------------
r7509 | erwin | 2006-05-25 16:18:48 +0200 (Thu, 25 May 2006) | 2 lines

added a stub for multitex_ext, returning the year I was born ;-)

------------------------------------------------------------------------
r7508 | letterrip | 2006-05-25 13:59:35 +0200 (Thu, 25 May 2006) | 4 lines

==md2 export update==

centers object to export correctly by Bob Holcomb

------------------------------------------------------------------------
r7507 | ton | 2006-05-24 20:26:54 +0200 (Wed, 24 May 2006) | 2 lines

Plumiferos fix: Material option "Env" did not mask out Ztransp faces in OSA

------------------------------------------------------------------------
r7506 | ton | 2006-05-24 19:15:26 +0200 (Wed, 24 May 2006) | 3 lines

Plumiferos fix; having more than 64 Shape Keys didn't allow the channels in
IpoWindow to select.

------------------------------------------------------------------------
r7505 | ton | 2006-05-24 14:10:28 +0200 (Wed, 24 May 2006) | 3 lines

Removed annoying debug print that checked preview render size while doing
previews in Nodes.

------------------------------------------------------------------------
r7504 | ton | 2006-05-24 14:07:54 +0200 (Wed, 24 May 2006) | 7 lines

Bugfix #4213

Using "Fresnel" for transparency only worked when material had "ZTransp"
set. That's not a real problem, but it made Fresnel not work for Materials
used in Nodes.
Now a Fresnel on alpha works always.

------------------------------------------------------------------------
r7503 | erwin | 2006-05-24 00:35:31 +0200 (Wed, 24 May 2006) | 2 lines

improved GJK accuracy for large objects

------------------------------------------------------------------------
r7502 | ton | 2006-05-23 19:49:21 +0200 (Tue, 23 May 2006) | 6 lines

Bugfix #4211

"Copy Modifiers" (CTRL+C) only copied a single modifer, when a specific
type was choosen. Now it copies all modifiers with indicated type.
(Like: when you have a X, Y, Z mirror modifier).

------------------------------------------------------------------------
r7501 | intrr | 2006-05-23 17:11:08 +0200 (Tue, 23 May 2006) | 5 lines



Fix underlining for text objects to use correct material index (and prevent
renderer from crashing).

------------------------------------------------------------------------
r7500 | ton | 2006-05-23 16:57:40 +0200 (Tue, 23 May 2006) | 5 lines

Bugfix #4214

Dependency order issue: Camera view was calculated before Camera Object
got evaluated for dependency changes, causing lags.

------------------------------------------------------------------------
r7499 | ton | 2006-05-23 16:15:07 +0200 (Tue, 23 May 2006) | 6 lines

Bugfix #4212

Material Nodes: The Texture node didn't do the standard "2d mapping" yet
in case an Image Texture is used. Caused wrong mapping for example for UV
coordinate inputs.

------------------------------------------------------------------------
r7498 | stiv | 2006-05-23 04:27:22 +0200 (Tue, 23 May 2006) | 5 lines

set locale to POSIX so regex works on platforms that set funny
locales.  needed to make "ls [A-Z]*.py" work properly.
Setting LC_ALL=C may be a better choice than LC_ALL=POSIX.
We shall see.

------------------------------------------------------------------------
r7497 | erwin | 2006-05-22 23:03:43 +0200 (Mon, 22 May 2006) | 4 lines

-added basic support for GameActuator 'load game', relative paths were broken, just load file into memory and load blend from memory.
-near sensor support
- python binding for PhysicsConstraints.setNumTimeSubSteps (dividing the physics timestep to tradeoff quality for performance)

------------------------------------------------------------------------
r7496 | khughes | 2006-05-22 16:19:52 +0200 (Mon, 22 May 2006) | 6 lines



===Python API===
Adding support for Action Strips to the API.  A new attribute "actionStrips"
has been added to the Object API to access them.

------------------------------------------------------------------------
r7495 | broken | 2006-05-22 09:07:19 +0200 (Mon, 22 May 2006) | 2 lines

* Disabled the Shift-Space window maximise shortcut while within text object edit mode

------------------------------------------------------------------------
r7494 | broken | 2006-05-22 07:52:48 +0200 (Mon, 22 May 2006) | 2 lines

* Made the editmode text cursor draw inverted, so you can actually see where it is on a black background

------------------------------------------------------------------------
r7493 | theeth | 2006-05-22 03:59:28 +0200 (Mon, 22 May 2006) | 6 lines

=== Python API ===

Fixes for the bug introduced by my other commit the other day.

Blender.Draw.Create now does proper error checking.

------------------------------------------------------------------------
r7492 | ascotan | 2006-05-21 23:04:21 +0200 (Sun, 21 May 2006) | 2 lines

python documentation update

------------------------------------------------------------------------
r7491 | ascotan | 2006-05-21 23:02:29 +0200 (Sun, 21 May 2006) | 18 lines

*python additions
- added a method Action.getFrameNumbers()
returns the frames at which keyframes were inserted for this action

example usage:
import Blender

myobj = Blender.Object.Get('Armature')
myaction = myobj.getAction()
frames = myaction.getFrameNumbers()

for frame in frames:
	print 'bones at frame %d' % frame
	myobj.evaluatePose(frame)
	pose = myobj.getPose()
	for bone in pose.bones.values():
		print bone.head, bone.tail

------------------------------------------------------------------------
r7490 | ton | 2006-05-21 22:59:54 +0200 (Sun, 21 May 2006) | 5 lines

Brought back the Scene strip in Sequencer. Even does a full composite with
only images input in compositor. Currently still renders in the scene's
own resolution. It also doesn't show scanline/tile updates yet while
rendering.

------------------------------------------------------------------------
r7489 | erwin | 2006-05-21 20:46:05 +0200 (Sun, 21 May 2006) | 2 lines

updated Collada 1.4 scripts, improved texture support + rigidbody support

------------------------------------------------------------------------
r7488 | campbellbarton | 2006-05-21 19:12:10 +0200 (Sun, 21 May 2006) | 3 lines

Intergrated select group editmode into the menus and re-shuffled the Mesh tool buttons to fit a threshold value in.
also changed the way areas/perimeter and lengths are compared so it will be indipendant of scale.

------------------------------------------------------------------------
r7487 | schlaile | 2006-05-21 16:32:05 +0200 (Sun, 21 May 2006) | 5 lines

==FFMPEG==

Bugfix: Don't draw mux_rate and max_rate output buttons on the same
screen position. (Never noticed, always used presets... )

------------------------------------------------------------------------
r7486 | schlaile | 2006-05-21 14:20:45 +0200 (Sun, 21 May 2006) | 5 lines

==FFMPEG==

Bugfixes: If we got problems on open, don't close a codec context, that
was never created. (read: don't dump core ;-)

------------------------------------------------------------------------
r7485 | erwin | 2006-05-21 11:20:19 +0200 (Sun, 21 May 2006) | 2 lines

pass 0 as parameter

------------------------------------------------------------------------
r7484 | campbellbarton | 2006-05-21 01:24:26 +0200 (Sun, 21 May 2006) | 5 lines

optional reuse list for meshCalcNormals, which makes decimation abt 5% faster.
Workaround for a problem where badly predicted positions are further then half the edge length, on these cases just collapse to the weighted middle of teh edge.
Added docs for "PolyReduce" (Uses BPyMesh_Redux) and WIP Docs for AutoTex Layout.
http://mediawiki.blender.org/index.php/Manual/PartXIII/Modelling_Scripts

------------------------------------------------------------------------
r7483 | khughes | 2006-05-20 18:52:11 +0200 (Sat, 20 May 2006) | 7 lines



===Python API===
Something to try making import/export script writers happy; Mesh.New() will
not create a new Blender mesh datablock unless the mesh is linked to an
object.

------------------------------------------------------------------------
r7482 | theeth | 2006-05-20 17:44:14 +0200 (Sat, 20 May 2006) | 8 lines

=== Python API ===

Blender.Draw.ColorPicker

	Enables scripters to use a color picker in there scripts.

See this file for a trivial demo: http://blenderartists.org/~theeth/colorpicker.blend

------------------------------------------------------------------------
r7481 | erwin | 2006-05-20 00:55:12 +0200 (Sat, 20 May 2006) | 2 lines

added fixed_framerate command line option

------------------------------------------------------------------------
r7480 | ascotan | 2006-05-19 23:45:27 +0200 (Fri, 19 May 2006) | 4 lines

*python addition
- modified the repr for beztriple to print less non-sensical output
- beztriple now prints its handles and control point only

------------------------------------------------------------------------
r7479 | erwin | 2006-05-19 22:20:46 +0200 (Fri, 19 May 2006) | 3 lines

Bullet: added per-contact point user-cache, + callback. This allows Collision Detection to be used more generically, and still have persistent info stored, like contact constraints.
Bullet: added support for restitution

------------------------------------------------------------------------
r7478 | schlaile | 2006-05-19 19:39:44 +0200 (Fri, 19 May 2006) | 5 lines

==FFMPEG==

Bugfix: FFMPEG-Codec Preset now changes values immediately. (One has to set B_REDR on the menu-button,
allqueue alone doesn't do the job...)

------------------------------------------------------------------------
r7477 | hos | 2006-05-19 19:28:17 +0200 (Fri, 19 May 2006) | 9 lines

Hrmm, this is a bit nasty: I am now using a different call to get a mesh
for export depending on whether the object containing the data has
modifiers or not. For an object without modifiers, things are nice since
the mesh can be properly instanced and reused. For an object with
modifiers there are problems, since a new Mesh has to be created,
akin to doing an Alt-C on the mesh, and we end up using more memory
after the use of the script than we used beforehand. (I wonder if
I would be better off porting the thing to C.)

------------------------------------------------------------------------
r7476 | campbellbarton | 2006-05-19 17:56:14 +0200 (Fri, 19 May 2006) | 7 lines

From __bpydoc__
This script makes a new image from the used areas of all the images mapped to the selected mesh objects.
Image are packed into 1 new image that is assigned to the original faces.
This is usefull for game models where 1 image is faster then many, and saves the labour of manual texture layout in an image editor.

- Realy needs an image example to see why this is usefull.

------------------------------------------------------------------------
r7475 | campbellbarton | 2006-05-19 17:33:23 +0200 (Fri, 19 May 2006) | 3 lines

Image and Draw wernt converting the paths of an image properly.
Getting teh size of an image with a relative path "//foobar.png" would always fail.

------------------------------------------------------------------------
r7474 | schlaile | 2006-05-19 15:30:23 +0200 (Fri, 19 May 2006) | 15 lines

=== Sequencer ===

Bugfixes:
- Made the HDD-Audio-Code silence buffers in advance before doing a seek
  operation. Stops noise on end of file or decoding errors.
- Corrected hanging of audio decoding loop bug on some MP3-files.
  (you had to close blender and restart)
- Made preseeking code not seek before beginning of file.

seqaudio:
- made some "local globals" static.

Problems remaining: VBR-MP3-length isn't detected correctly so the
displayed sequence strip is too long...

------------------------------------------------------------------------
r7473 | erwin | 2006-05-19 06:14:36 +0200 (Fri, 19 May 2006) | 2 lines

updated to latest Collada 1.4 import/export

------------------------------------------------------------------------
r7472 | hos | 2006-05-18 22:47:39 +0200 (Thu, 18 May 2006) | 7 lines

Two issues:

* a misuse of the Mesh module meant that I kept creating new
  meshes each time the script was run;

* the commas in the vertex color export looked weird.

------------------------------------------------------------------------
r7471 | ton | 2006-05-18 21:42:47 +0200 (Thu, 18 May 2006) | 4 lines

Plumiferos bug report; duplicating strips with effects crashed.
Was in new code that handlerized callbacks... leaving function pointers
unassigned. Dubious code... I would NULL everything first before filling.

------------------------------------------------------------------------
r7470 | hos | 2006-05-18 19:34:41 +0200 (Thu, 18 May 2006) | 27 lines

A fairly major revision of the VRML97 export script.
Changes include, but may not be limited to:

* Support for meshes with multiple materials/face images
* Mode modular design that more closely reflects Blender's
  internal workings
* Position, scale, and orientations are now exclusively dealt
  with in Transform nodes, making the math more unified and
  way easier to understand.
* vertex colors either written when mesh has SHARED_COL
  face property, or when mesh has vertex colors and
  first material with VCOL_PAINT (a little crufty, but
  maybe will try a better way later)
* Support for debugging output to the console by setting
  the 'rt' button to 42 (for mild verbosity) or 43 (for more
  verbosity)
* Potentially long lists like vertex coordinates, face indices,
  etc. are now unindented (why potentially waste thousands of
  tab characters?)
* All lines in the script are under 79 characters (as per the
  python style guide).

A major revision will usually beget major bugs, so
please test, test, test to make sure I haven't broken your favorite
feature in this script! (I've done a number of tests loading
output into the Bitmanagement viewer and into 3DSMax.)

------------------------------------------------------------------------
r7469 | campbellbarton | 2006-05-18 16:13:47 +0200 (Thu, 18 May 2006) | 4 lines

Stoped a list that didint need to be made.
~20% faster and memory saved by re-using the face and edge lists and their classes each pass rather then __init__'ing new ones.
Stupid mistake- was only collapsing edges with UV's

------------------------------------------------------------------------
r7468 | n_t | 2006-05-18 15:52:49 +0200 (Thu, 18 May 2006) | 2 lines

- fixed geometry init problem (stupid, forgot to call reset function)

------------------------------------------------------------------------
r7467 | campbellbarton | 2006-05-18 04:22:05 +0200 (Thu, 18 May 2006) | 7 lines

Fixed some evil bugs in the poly reducer messing up UV's every now and then.
Added support for "Weighted Collapse" Before an edge could only collapse into its middle,
Now the edge collapses into a point bias'd by the 2 verts Concave/Convec "Pointyness" value as well as boundry weighting.
This works much better for boundry verts. - UV's Vcols and Weights are correctly interpolated into the new location.

Added a tool in the mesh menu for accessing the poly reduction tool.

------------------------------------------------------------------------
r7466 | erwin | 2006-05-18 01:19:43 +0200 (Thu, 18 May 2006) | 4 lines

Added basic Collada 1.4 Import/Export support. Plugin version 0.2.

Thanks to Pieter Visser / http://colladablender.illusoft.com/

------------------------------------------------------------------------
r7465 | hos | 2006-05-17 18:42:04 +0200 (Wed, 17 May 2006) | 3 lines

Added Blender.Get('rt') so that the pythoner can access the value
of the rt button for setting debugging levels.

------------------------------------------------------------------------
r7464 | khughes | 2006-05-17 18:08:54 +0200 (Wed, 17 May 2006) | 6 lines



===Python API===
Change code for rigid body access to use attributes instead of methods; also
add documentation to epydoc.

------------------------------------------------------------------------
r7463 | bjornmose | 2006-05-17 13:31:12 +0200 (Wed, 17 May 2006) | 4 lines

#4201 the second
humm .. a bit more testing showed AVI codecs want it 2 byte aligned
found nothing in MSDN Library about that

------------------------------------------------------------------------
r7462 | intrr | 2006-05-17 12:09:20 +0200 (Wed, 17 May 2006) | 8 lines



Fix a buffer overflow in Blender.sys.splitext. It was checking for bounds
(although it did this one char too 'friendly'), but still happily copying
the string even if it was too long.

Pythoneerz, please check if this is the correct fix :)

------------------------------------------------------------------------
r7461 | campbellbarton | 2006-05-17 02:47:00 +0200 (Wed, 17 May 2006) | 2 lines

Made import set the object layer to the current scene layer, applied the 3ds name to the object and the mesh.

------------------------------------------------------------------------
r7460 | erwin | 2006-05-17 01:49:44 +0200 (Wed, 17 May 2006) | 2 lines

Ghost can be any bound type in Bullet, so removed the edit restrictions

------------------------------------------------------------------------
r7459 | erwin | 2006-05-17 01:47:29 +0200 (Wed, 17 May 2006) | 2 lines

added 2 more Rigid Body Python access, should be enough to make a start for Collada 1.4 Physics Import/Export

------------------------------------------------------------------------
r7458 | erwin | 2006-05-17 01:17:56 +0200 (Wed, 17 May 2006) | 2 lines

Added first Rigid Body python access (mass). Basic others will follow. This helps Collada 1.4 Import/Export.

------------------------------------------------------------------------
r7457 | campbellbarton | 2006-05-17 00:57:24 +0200 (Wed, 17 May 2006) | 2 lines

made some changes to vrml97_export, this script needs to be re-written, until then fixed some incorrect assumtions it made- was using the first world in the list for AMB color no matter what world was being used, was also using the image name rather then the file name for its image URL references.

------------------------------------------------------------------------
r7456 | campbellbarton | 2006-05-17 00:54:55 +0200 (Wed, 17 May 2006) | 3 lines

Made it so when a text block is removed (using the cross button in the header), the previous text block becomes active, to be consistant with scene and screen delete operations. Also makes removing all the text's within a blend a lot less tedious - (Something I do for bug report Blend's)
change to drawtext was just to comment on what pop_space_text does, names not obvious.

------------------------------------------------------------------------
r7455 | ascotan | 2006-05-16 22:32:21 +0200 (Tue, 16 May 2006) | 13 lines

*added new Object method Object.evaluatePose(frame)
- the new methods will advance an object's pose correctly to any frame

Example:
myobj = Blender.Object.Get('obert')
for x in range(10):
  myobj.evaluatePose(x)
  pose = myobj.getPose()
  print 'Data at Frame %d' % x
  for bone in pose.bones.values():
    print bone.head, bone.tail
    print bone.head, bone.tail

------------------------------------------------------------------------
r7454 | bjornmose | 2006-05-16 21:38:57 +0200 (Tue, 16 May 2006) | 11 lines

bug #4201 fixed
one from the stoneage

providing proper padding for non 4 byte aligned rows when passing data to windows codecs

NOTE however some popular codecs like divx refuse to work with image dimensions like that
-did put a nice printf in for that.

i'll leave this open on tracker since i expect surprises with one of the zillion codecs.
unless prooven to do no harm

------------------------------------------------------------------------
r7453 | n_t | 2006-05-16 10:54:08 +0200 (Tue, 16 May 2006) | 3 lines

- fixed geometry init (object id init was missing)
- added more std::string fixes from bjornmose

------------------------------------------------------------------------
r7452 | briggs | 2006-05-16 05:40:36 +0200 (Tue, 16 May 2006) | 4 lines

-> Sanity Check for Stored Selections

When a python script modified the selection state of a vertex, edge or face this could cause the creation of invalid EditSelection structures when entering editmode. Added a check to the function 'make_editmesh' to correct this.

------------------------------------------------------------------------
r7451 | letterrip | 2006-05-16 04:56:14 +0200 (Tue, 16 May 2006) | 4 lines

==md2 export==

typo fix by Antonio Ospite

------------------------------------------------------------------------
r7450 | campbellbarton | 2006-05-16 03:41:54 +0200 (Tue, 16 May 2006) | 2 lines

Win32 image opening was broken with the default settings.

------------------------------------------------------------------------
r7449 | campbellbarton | 2006-05-15 19:42:01 +0200 (Mon, 15 May 2006) | 3 lines

fixed devide by zero error with zero length edges.
added a minimum edge length option

------------------------------------------------------------------------
r7448 | khughes | 2006-05-15 18:56:32 +0200 (Mon, 15 May 2006) | 6 lines



===scons===
Bugfix #4088: Fix scons so that it installs subdirectories of release/scripts
into .blender/scripts.

------------------------------------------------------------------------
r7447 | campbellbarton | 2006-05-15 15:33:30 +0200 (Mon, 15 May 2006) | 3 lines

BPyImage had a problem with a path being returned as None
BPyMesh would make NAN coords for collapsed edges.

------------------------------------------------------------------------
r7446 | ton | 2006-05-15 14:32:54 +0200 (Mon, 15 May 2006) | 9 lines

Bugfix:

Groups are supposed to play its entire (internal) animation system
properly, also when using a dupli-group, linking the group from other file.

When dependencies in a scene change, the groups didn't get corrected,
causing dupli-group to not playback without lag.
This commit resorts the group objects on each DAG_scene_sort() call.

------------------------------------------------------------------------
r7445 | ton | 2006-05-15 14:18:47 +0200 (Mon, 15 May 2006) | 4 lines

Commit from Alexander to store last 10 saved entries didn't work proper.
It always set G.sce to zero... for example on a F1 press the current
directory wasn't set to last saved file.

------------------------------------------------------------------------
r7444 | ton | 2006-05-15 12:46:04 +0200 (Mon, 15 May 2006) | 13 lines

Recode of the "Set Scene chaining" patch from Nathan.

- code for detecting loops was overly complex, and detected loops wrong
  even (when chains partially overlap it gave error)
- that code could NULLify sets of other scenes than the one you tested
- and that code should be in blenkernel, so it can be called in more
  locations, like fixing potential loops in old files

- the code for looping over the chained scenes was bad too, I created a
  nice #define to keep code readable. (See SETLOOPER in BKE_scene.h)

ALso fixes reports in tracker :)

------------------------------------------------------------------------
r7443 | ton | 2006-05-15 11:52:59 +0200 (Mon, 15 May 2006) | 7 lines

Recommitted Erwin's change in version patching Bullet;

- code was on wrong location, all version patches should be grouped,
  otherwise we completely lose track!
- code didn't use the WOPHY_BULLET define...
- made more clear comment on meaning of version patch

------------------------------------------------------------------------
r7442 | campbellbarton | 2006-05-15 09:29:28 +0200 (Mon, 15 May 2006) | 3 lines

BPyRegistry was throwing errors with blank config files. made it check for this and be quiet.
fixed some bugs in BPyMesh_redux, tweaked to work well for test cases. much better use of error levels for edge weighting. better collapsing to the desired target. triangulates before reduction be default now.

------------------------------------------------------------------------
r7441 | intrr | 2006-05-14 21:42:48 +0200 (Sun, 14 May 2006) | 10 lines



As nobody else ever felt like doing it, and I work too much with official
CVS these days in order not to be terribly annoyed by its absence, here it
is: instinctive-blender's "Recent files list".

It's in the CTRL-O menu. No UI / muscle memory changes -- the first entry is
the same as the only entry that used to be in the former popup.
.

------------------------------------------------------------------------
r7440 | ascotan | 2006-05-14 20:43:33 +0200 (Sun, 14 May 2006) | 7 lines

*applying patch
[ #3727 ] Fixes solid linker errors in MSVC 7 project files
Submitted By:
Ben Stabler (lightning)

adds some libs to the linker in the blender.sln file for use with Bullet

------------------------------------------------------------------------
r7439 | ascotan | 2006-05-14 20:29:32 +0200 (Sun, 14 May 2006) | 2 lines

*documentation update

------------------------------------------------------------------------
r7438 | campbellbarton | 2006-05-14 20:28:27 +0200 (Sun, 14 May 2006) | 4 lines

* New faster algo for finding the new collapse location using normals rather then edge connectivity data.
* Much improved, slower edge collapse weighting method that makes this script about 2.5x slower, but brings it up to the quality of qslim (lightwave's decimator), without the manifold' errors.
Probably worth adding a UI front end to this function.

------------------------------------------------------------------------
r7437 | ascotan | 2006-05-14 20:24:11 +0200 (Sun, 14 May 2006) | 7 lines

*applying patch
[ #4143 ] Methods for reading bone movement limits
Submitted By:
Aron Cristian (criller)

Gives the ability to return/set the limitations on a posebone when that bone is part of an IK chain.

------------------------------------------------------------------------
r7436 | ton | 2006-05-14 20:02:46 +0200 (Sun, 14 May 2006) | 8 lines

On changing screens (which is also when going to a 'full window') the
queues get signalled to all escape, this to prevent things happening
on old windows.

The code then still did a redraw though... which was invisble (another
draw happened after, but caused icon system for example to choke on
not-initialized values.

------------------------------------------------------------------------
r7435 | theeth | 2006-05-14 19:02:56 +0200 (Sun, 14 May 2006) | 8 lines

=== Transform ===

Bug #3657

Texture Space transform
* grab/size: did not support local constraints properly
* size: constraint support did not respect object orientation

------------------------------------------------------------------------
r7434 | theeth | 2006-05-14 16:14:32 +0200 (Sun, 14 May 2006) | 4 lines

=== BPY ===

Proper typed return. NULL != 0

------------------------------------------------------------------------
r7433 | khughes | 2006-05-14 16:12:45 +0200 (Sun, 14 May 2006) | 11 lines



===Python API===
Make me.faces.sel and me.edges.sel behave like EM_select_face() and
EM_select_edge() in source/blender/src/editmesh_lib.c.

Script users should note that if they change ANY of the selection states
(vertex, edge, face) and then call a mesh "tool" method (like me.remDoubles)
that the selection states of the mesh MAY change, since these tools use the
edit mode (which updates select states).

------------------------------------------------------------------------
r7432 | campbellbarton | 2006-05-14 14:45:13 +0200 (Sun, 14 May 2006) | 2 lines

Basic support in modifiers_isDeformedByArmature for multiple armatures per mesh- use Selected armature object first, if no armatures are selected then return the last/only found armature.

------------------------------------------------------------------------
r7431 | campbellbarton | 2006-05-14 13:55:52 +0200 (Sun, 14 May 2006) | 7 lines


Allow to see in real time trajectory of selected object.
You can grag the keyframes around from anywhere in the animation.
Keyframe dragging would be less of a hack if we could do an event handeler and a redraw space handeler in 1.

This kind of functionality could be nice to see in Blender.

------------------------------------------------------------------------
r7430 | ton | 2006-05-14 12:13:58 +0200 (Sun, 14 May 2006) | 10 lines

Bugfix #4036

Shadowbuffer "soft" option got totally messed up by a commit done 3 months
ago. You could still get soft shadow, but the values to be used had to be
scaled tenfold.

Too bad this now will mean our movie DVD will not render with official
cvs or release... I'll think over some patch to scale down 'soft' values
in certain conditions.

------------------------------------------------------------------------
r7429 | ton | 2006-05-14 12:02:24 +0200 (Sun, 14 May 2006) | 10 lines

Patch #3994

Added simplified fix as proposed by Stephan Kassemeyer to allow scaled
Armatures to still have a working 'stride bone'. Only works for uniform
scaled armatures though.

In general, for properly working armatures, I'd recommend to never scale
it at all, and certainly not non-uniform scaling. It will give issues with
constraints, IK and drivers all over...

------------------------------------------------------------------------
r7428 | ton | 2006-05-14 11:02:50 +0200 (Sun, 14 May 2006) | 8 lines

Fix #4087

Flipped layer render order for halo and ztransp. This because the ztransp
layer changes z values now (for vblur).

This means the default order is: solid + lamphalo + halo + ztra. Different
combinations can be achieved with composting nodes.

------------------------------------------------------------------------
r7427 | campbellbarton | 2006-05-14 10:49:10 +0200 (Sun, 14 May 2006) | 3 lines

Fixed a problem with button alignment I added a while ago.
Added button allignment to sequencer, ogl light prefs some areas of the fluidsim

------------------------------------------------------------------------
r7426 | erwin | 2006-05-14 05:39:07 +0200 (Sun, 14 May 2006) | 2 lines

GamePython related: changed ordering of python destruction, and reverted some python changes (it caused problems)

------------------------------------------------------------------------
r7425 | campbellbarton | 2006-05-14 05:11:55 +0200 (Sun, 14 May 2006) | 6 lines

Applied patch 4188 with some modifications.
https://projects.blender.org/tracker/index.php?func=detail&aid=4188&group_id=9&atid=127
* Sped up export of UV coords,
* Use Mesh instead of NMesh
* Use BPyMesh GetMeshFromObject so correct object materials are exported as well as modifiers applied.

------------------------------------------------------------------------
r7424 | erwin | 2006-05-14 01:31:36 +0200 (Sun, 14 May 2006) | 12 lines

Patch from Charlie:

Cleared the python dictionary at the end of the game engine, should fix some issues,
also reverted the python controller changes, related to this

This should fix the following bugs:
[ #3789 ]
[ #3815 ]

possiblyy fixes:
[ #3834 ]

------------------------------------------------------------------------
r7423 | campbellbarton | 2006-05-13 19:50:47 +0200 (Sat, 13 May 2006) | 2 lines

fixed, bugs with selection & remove doubles.

------------------------------------------------------------------------
r7422 | ascotan | 2006-05-13 16:46:48 +0200 (Sat, 13 May 2006) | 2 lines

update to msvc7 projectfiles

------------------------------------------------------------------------
r7421 | ton | 2006-05-13 15:39:40 +0200 (Sat, 13 May 2006) | 5 lines

Fix 4190

Using the "RVK" sliders in Action window, on a Library-linked Mesh, crashed
due to using a NULL pointer. Added menu warning.

------------------------------------------------------------------------
r7420 | campbellbarton | 2006-05-13 14:36:48 +0200 (Sat, 13 May 2006) | 3 lines

Made editmesh remove_doubles work with vertex colours,
added vertex colour support to BPyMesh_redux polygon reducing function.

------------------------------------------------------------------------
r7419 | ton | 2006-05-13 12:38:39 +0200 (Sat, 13 May 2006) | 5 lines

Bugfix #4191

NLA window: the "blend in/out" values were limited to action lenght, which
should the strip length instead.

------------------------------------------------------------------------
r7418 | ton | 2006-05-13 11:55:52 +0200 (Sat, 13 May 2006) | 3 lines

Browsing Mesh data in editmode used to be locked (uiButLock). Cleanup of
headerbuttons code in orange branch disabled this lock. Brought it back.

------------------------------------------------------------------------
r7417 | campbellbarton | 2006-05-13 07:24:58 +0200 (Sat, 13 May 2006) | 4 lines

BPyMesh_redux:  Fixed a rare bug in mesh redux's, collapsed location.
BPyMesh_redux:  made redux support non UV Meshes.
vertexpaint_selfshadow_ao:  turned vertex selfshadow scale into radius.

------------------------------------------------------------------------
r7416 | erwin | 2006-05-13 02:08:14 +0200 (Sat, 13 May 2006) | 2 lines

Text patch for game player, from Charlie: TFace from KX_PolygonMaterial, as opposed to KX_BlenderMaterial

------------------------------------------------------------------------
r7415 | bjornmose | 2006-05-13 00:00:27 +0200 (Sat, 13 May 2006) | 3 lines

Happy msvc6 again .. however some new std::std::strings in El'Beem
i'll give it to nils later on

------------------------------------------------------------------------
r7414 | khughes | 2006-05-12 22:47:39 +0200 (Fri, 12 May 2006) | 5 lines



===Python API===
Fixing some nmesh typos in Mesh docfile (thanks, Hos).

------------------------------------------------------------------------
r7413 | hos | 2006-05-12 17:26:38 +0200 (Fri, 12 May 2006) | 3 lines

Making the vrml exporter use the Ken Hughes Mesh module, rather
than NMesh.

------------------------------------------------------------------------
r7412 | ton | 2006-05-12 17:17:24 +0200 (Fri, 12 May 2006) | 7 lines

Compositor: Pressing Rkey now gives a popup for OK, and then will read in
all RenderResult nodes (when "Save Buffers" used) at once.

Before it only read 1 Scene... not too useful.

Also: added wait-cursor for saving images in UV/Image Editor.

------------------------------------------------------------------------
r7411 | khughes | 2006-05-12 15:10:55 +0200 (Fri, 12 May 2006) | 7 lines



===Python API===
* use CONSTRAINT_LOCAL instead of SELECT in "Copy Rotate" constraint
* remove "LOCAL" key for now from "Copy Size" constraint; not supported
  right now in Blender UI

------------------------------------------------------------------------
r7410 | ton | 2006-05-12 13:27:01 +0200 (Fri, 12 May 2006) | 6 lines

New Compositer option: "Free Unused". In the Node Editor header.

This will free all Node output buffers, while compositing, when not needed
anymore. Saves a whole lotta memory, and will enable to use many many more
nodes (or high resolution images).

------------------------------------------------------------------------
r7409 | ton | 2006-05-12 13:22:45 +0200 (Fri, 12 May 2006) | 3 lines

A stupid x/y mixup gave error "Sorry, exr tile saving only allowed with
equally sized parts" when the tiles were equally sized anyway.

------------------------------------------------------------------------
r7408 | khughes | 2006-05-12 06:34:02 +0200 (Fri, 12 May 2006) | 7 lines



===Python API===
Added NULL constraint (and fixed bug that didn't allow appending FLOOR
constraint), and added support for Constraint.Settings.LOCAL key support in
COPYLOC, COPYROT and COPYSIZE constraints when target object is an armature.

------------------------------------------------------------------------
r7407 | erwin | 2006-05-11 22:41:28 +0200 (Thu, 11 May 2006) | 2 lines

patch from Charlie, bug fix (3795) , improves CubeMaps in game engine

------------------------------------------------------------------------
r7406 | campbellbarton | 2006-05-11 22:35:43 +0200 (Thu, 11 May 2006) | 2 lines

Added MVert.hide property because hidden verts were hanging BPyMesh_Redux

------------------------------------------------------------------------
r7405 | briggs | 2006-05-11 21:46:26 +0200 (Thu, 11 May 2006) | 12 lines

-> New menu and toolbox entries

Added the following to the 'select' menu of 3d header and toolbox while in mesh editmode: '

-Path Select
-Edge Loop Multi-Select
-Edge Ring Multi-Select
-Loop to Region
-Region to Loop

Also added Collapse Faces and Collapse Edges to menu and toolbox as well as made them available in selection modes other than face exclusive and edge exclusive.

------------------------------------------------------------------------
r7404 | erwin | 2006-05-11 19:58:23 +0200 (Thu, 11 May 2006) | 5 lines

- Charlie provided a work-around for some armature related crashes
- fixed some Bullet raycasting (hitfraction was not properly updated for static meshes)
- removed some cvs tags in Bullet's BMF _Font files (they keep on conflicting when duplicated in different repositories)
- set default linearsleepingtreshold explicitly

------------------------------------------------------------------------
r7403 | hos | 2006-05-11 19:42:58 +0200 (Thu, 11 May 2006) | 9 lines

The algorithm to export vertex color was very inefficient (for every
vertex it would potentially loop through every face). This fix speeds
it up a bit (only loops through all faces once, at the cost of some
additional memory). An example of export times for a mesh with 6266
verts and 12528 faces:

Before: 2m56s
After:     8s

------------------------------------------------------------------------
r7402 | hos | 2006-05-11 19:29:44 +0200 (Thu, 11 May 2006) | 3 lines

Some bad logic was causing an 'Appearance' node not to get closed
correctly when a mesh has vertex colors.

------------------------------------------------------------------------
r7401 | ton | 2006-05-11 17:06:07 +0200 (Thu, 11 May 2006) | 3 lines

Added warning popup menu to note that Planar Environment maps cannot be
saved yet.

------------------------------------------------------------------------
r7400 | ton | 2006-05-11 15:33:30 +0200 (Thu, 11 May 2006) | 5 lines

Bugfix 4158

ALT+C convert for modifiers works again for Armatures etc.
Note; this is another victim of the very confusing derivedmesh...

------------------------------------------------------------------------
r7399 | n_t | 2006-05-11 15:19:41 +0200 (Thu, 11 May 2006) | 3 lines

- fixed MSVC problem in fluidsim.c
- removed some more debug output in the solver

------------------------------------------------------------------------
r7398 | campbellbarton | 2006-05-11 14:42:10 +0200 (Thu, 11 May 2006) | 5 lines

Added a polygon reduction function that can poly reduce any mesh and supports UV's as well as bone weights (Thanks to briggs).
Isnt intended to be ultra high quality, more for automatic realtime "Level of Detail" model generation.

BPyMesh.redux(ob, 0.5) # To reduce to about half the polys

------------------------------------------------------------------------
r7397 | ton | 2006-05-11 14:13:49 +0200 (Thu, 11 May 2006) | 6 lines

OMG! Can't be true, a new feature for character animators!

When weightpainting, with the armature in posemode, you now can press the
NumPad-period key to zoom in to the selected bone. (it used to zoom to the
painted mesh instead). Actually bugreport 4161.

------------------------------------------------------------------------
r7396 | ton | 2006-05-11 12:27:12 +0200 (Thu, 11 May 2006) | 10 lines

Bugfix 4165

Environment map render:

- when an object is in multiple layers, the "don't render layer" option
  didn't work properly. Now it doesn't render an object when it is
  invisible completely

- the new scaling option also worked for cubic envmap, should not.

------------------------------------------------------------------------
r7395 | campbellbarton | 2006-05-11 12:06:15 +0200 (Thu, 11 May 2006) | 7 lines

Added some shortcuts to Mesh
 MFace.area
 MFace.cent
 MEdge.length

Updated some scripts that used these.

------------------------------------------------------------------------
r7394 | ton | 2006-05-11 11:53:46 +0200 (Thu, 11 May 2006) | 3 lines

Added extra pointer check in "save envmap", which can crash when using
the option without rendered envmap. Fixes bug #4166

------------------------------------------------------------------------
r7393 | n_t | 2006-05-11 10:19:02 +0200 (Thu, 11 May 2006) | 2 lines

- removed debug output

------------------------------------------------------------------------
r7392 | n_t | 2006-05-11 10:09:02 +0200 (Thu, 11 May 2006) | 19 lines

- New options for mesh voxelization: shell only (also
  works for non closed objects), volume ("normal"/old way of
  doing it), and a combination of both:
  http://www10.informatik.uni-erlangen.de/~sinithue/blender/voltcomp_sm.jpg
- Finally included bjornmose MSVC6 fixes
- Added support for animated meshes, e.g. meshes with
  parented skeletons. Is enabled for obstacles with a new button.
  A simple example with Bassam's mancandy can be found here:
  http://www10.informatik.uni-erlangen.de/~sinithue/blender/fluid2_mancandy.mpg
  http://www10.informatik.uni-erlangen.de/~sinithue/blender/fluid2_mancandy.blend
  (Warning - keep meshes as simple as possible, e.g. turn off subsurf
  for baking. Export probably shoulb be further optimized.)
- Changed handling of no/free/part slip obstacles, see:
  http://www10.informatik.uni-erlangen.de/~sinithue/blender/bndtcomp_sm.jpg
- Removed surface particle option for upcoming release,
  needs more testing & tweaking
- Added tracer particles instead (swimming along in the fluid)
- Updated wiki (description of IPOs still missing).

------------------------------------------------------------------------
r7391 | erwin | 2006-05-11 04:14:48 +0200 (Thu, 11 May 2006) | 2 lines

fixed raycasting related issue

------------------------------------------------------------------------
r7390 | erwin | 2006-05-11 02:13:42 +0200 (Thu, 11 May 2006) | 3 lines

- Added support for kinematic objects (interaction between rigidbodies), deriving linear/angular velocity from previous transform/current transform and deltatime.
- Made another attempt to migrate from Sumo to Bullet: import of older files automatically switch to Bullet, but you can override it, and save the file in 2.42 version. then it stays Sumo physics.

------------------------------------------------------------------------
r7389 | hos | 2006-05-10 23:37:03 +0200 (Wed, 10 May 2006) | 2 lines

Converting spaces to tabs in this script (this is standard!)

------------------------------------------------------------------------
r7388 | briggs | 2006-05-10 23:08:38 +0200 (Wed, 10 May 2006) | 6 lines

-> Fix for Bug #4167

https://projects.blender.org/tracker/?func=detail&aid=4167&group_id=9&atid=125

Stored selections (mselect array in mesh) were not getting freed along with their mesh blocks.

------------------------------------------------------------------------
r7387 | briggs | 2006-05-10 22:34:45 +0200 (Wed, 10 May 2006) | 3 lines

-> Fix for Bug #4181
Silly typo in a call to memcpy was leading to crashes when doing remove doubles with vertex weights (whoops!) Fixed now.

------------------------------------------------------------------------
r7386 | sirdude | 2006-05-10 21:46:06 +0200 (Wed, 10 May 2006) | 29 lines



 This is a bit of a hack, but it looks like sun
                  Used F11 and friends for its special keys Stop,again etc..
                  So this little patch enables F11 and F12 to work as expected
                  following link has documentation on it:
                  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4734408
                  also from /usr/include/X11/Sunkeysym.h
#define SunXK_F36               0x1005FF10      // Labeled F11
#define SunXK_F37               0x1005FF11      // Labeled F12

I also added a comment explaning why the heck its there...

What this means is XK_F11 and XK_F12 do not line up with the F11 and F12
keys on sun keyboards.  So I've added special cases to correct the issue.

Doing a quick grep for XK_F shows there are some files in the
gameengine that use them when they probably shouldn't, but I'm not going to
attempt to fix them, Files that should be looked at are:
gameengine/BlenderRoutines/KX_BlenderInputDevice.h
gameengine/Converter/KX_ConvertSensors.cpp
gameengine/GameLogic/SCA_IInputDevice.h
gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.cpp
gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.cpp
gameengine/GamePlayer/ghost/GPG_KeyboardDevice.cpp
gameengine/Ketsji/KX_PythonInit.cpp

Kent

------------------------------------------------------------------------
r7385 | ton | 2006-05-10 19:22:49 +0200 (Wed, 10 May 2006) | 5 lines

Bugfix #4175

Copying a Mesh did set the "texco mesh" pointer to zero... very weird code
from NaN days, which is a line that should just be removed. :)

------------------------------------------------------------------------
r7384 | campbellbarton | 2006-05-10 17:31:11 +0200 (Wed, 10 May 2006) | 2 lines

removed an optimizarion in seeking verts that could cause an eternal loop.

------------------------------------------------------------------------
r7383 | campbellbarton | 2006-05-10 14:12:21 +0200 (Wed, 10 May 2006) | 4 lines

Modified mesh to allow writing to normals.
renamed meshPrettyNormals to meshCalcNormals, and it now writes to normals rather then returning a list of vecs.
updated vertexpaint_selfshadow_ao to be a bit more efficient and make use of the above changes.

------------------------------------------------------------------------
r7382 | campbellbarton | 2006-05-10 05:59:16 +0200 (Wed, 10 May 2006) | 2 lines

Fixed typo

------------------------------------------------------------------------
r7381 | erwin | 2006-05-10 04:04:21 +0200 (Wed, 10 May 2006) | 2 lines

(experimental) logic timestep to 60hertz instead of 30 hertz.

------------------------------------------------------------------------
r7380 | campbellbarton | 2006-05-10 03:38:02 +0200 (Wed, 10 May 2006) | 3 lines

made mesh's getFromObject pick the materials from object or obdata as set by the objects colbits.
its crufty that None of the exports currently export materials correctly, hopefully this will help.

------------------------------------------------------------------------
r7379 | erwin | 2006-05-10 02:30:35 +0200 (Wed, 10 May 2006) | 7 lines

Disabled Sumo, and use Bullet physics instead.

Until too many people complain: People can use older versions of Blender / player if they really need Sumo.
Sumo is not supported by anyone, and Bullet needs more feedback.

Note: Sumo is not removed yet, because no discussion is started about this. It's currently just a simple switch that replaced Sumo by Bullet.

------------------------------------------------------------------------
r7378 | erwin | 2006-05-10 02:05:49 +0200 (Wed, 10 May 2006) | 3 lines

fixed [ #3863 ] Baking game physics to IPOs misses the first few frames of motion
Also, the recording starts from the actual 'curframe' onwards, rather then from frame 1

------------------------------------------------------------------------
r7377 | erwin | 2006-05-10 01:43:14 +0200 (Wed, 10 May 2006) | 3 lines

modified behaviour of PropertySensor and MessageSensor on popular request.
Logic systems should be improved, with consistent Level and Edge triggering usage in the logic bricks.

------------------------------------------------------------------------
r7376 | ton | 2006-05-09 22:26:34 +0200 (Tue, 09 May 2006) | 5 lines

Potential bugfix #4141

The curves tool didn't extend after last point correctly, in linux/windows.
Stupid bug found by Joeedh. thanks!

------------------------------------------------------------------------
r7375 | erwin | 2006-05-09 21:03:26 +0200 (Tue, 09 May 2006) | 2 lines

fixed 2 physics related bugs (friction had a typo, and jacobian calculation too)

------------------------------------------------------------------------
r7374 | erwin | 2006-05-09 20:23:45 +0200 (Tue, 09 May 2006) | 2 lines

applied Charlies patch (commenting out unused extensions that cause compile problems under Solaris and probably other platforms)

------------------------------------------------------------------------
r7373 | campbellbarton | 2006-05-09 16:36:31 +0200 (Tue, 09 May 2006) | 5 lines

Added some shading options
Concave/Convex Angle clipping- usefull for tinkering with highlights/shadow results.
Blur radius was inverted.
... Needs documenting.

------------------------------------------------------------------------
r7372 | khughes | 2006-05-09 16:17:34 +0200 (Tue, 09 May 2006) | 4 lines



Bugfix: mesh.removeVertsFromGroup() caused segfault due to NULL pointer.

------------------------------------------------------------------------
r7371 | campbellbarton | 2006-05-09 15:20:18 +0200 (Tue, 09 May 2006) | 6 lines

Added options
Rotate X90 (most objs use X up)
Reuse Existing Materials (so material names arnt created when names match)

Fixed some bugs and added a few speedups.

------------------------------------------------------------------------
r7370 | ton | 2006-05-09 09:45:06 +0200 (Tue, 09 May 2006) | 3 lines

Small fix: "Curves" UI widget used wrong method for defining shades for
drawing grid lines, which didn't show in default theme.

------------------------------------------------------------------------
r7369 | khughes | 2006-05-09 03:34:59 +0200 (Tue, 09 May 2006) | 5 lines



===Python API===
Correct error in Constraint example code.

------------------------------------------------------------------------
r7368 | erwin | 2006-05-09 03:15:12 +0200 (Tue, 09 May 2006) | 2 lines

fixed Bullet raycasting  filtering issue

------------------------------------------------------------------------
r7367 | khughes | 2006-05-08 07:37:00 +0200 (Mon, 08 May 2006) | 6 lines



===Python API===
Bugfix: replaced calls to enter_editmode() and exit_editmode(), which would
cause segfaults on scripts run in background mode (discovered by NichG).

------------------------------------------------------------------------
r7366 | campbellbarton | 2006-05-07 20:13:21 +0200 (Sun, 07 May 2006) | 3 lines

fixed error with zero length normals (caused by zero area faces)
fixed rare bug - that a colour wasnt clamped between 0 and 255.

------------------------------------------------------------------------
r7365 | khughes | 2006-05-07 16:57:58 +0200 (Sun, 07 May 2006) | 7 lines



===Python API===
New Constraint API.  Constraints are accessible through a "constraints"
attribute in poses and objects.  Would be REALLY NICE for armature users to
pound on this code.

------------------------------------------------------------------------
r7364 | campbellbarton | 2006-05-07 16:09:46 +0200 (Sun, 07 May 2006) | 4 lines


Added a self shadowing script accessed from the vertex paint menu, it does a fake ao thats more pradictable then radio baking and fairly fast.
Also assed a function to calculate high quality normals (normals are the same even for different topologys).

------------------------------------------------------------------------
r7363 | campbellbarton | 2006-05-07 15:09:29 +0200 (Sun, 07 May 2006) | 2 lines

Added "VertexPaint" slot for python menus

------------------------------------------------------------------------
r7362 | schlaile | 2006-05-07 10:23:51 +0200 (Sun, 07 May 2006) | 14 lines

Bugfixes for frame number boost:

- Found several places, where people explicitly casted the frame number
  to short.
- Fixed the crash in BPY_interface by adding an empty line (to make it
  recompile everywhere, make clean doesn't help...)

  For the build system maintainers:

  Problem was: The change in makesdna changed the position of the
  scriptlink structure. BPY_interface.c somehow didn't get recompiled
  (not even after a make clean!!!) which triggered crashes on adding
  scriptlinks.

------------------------------------------------------------------------
r7361 | campbellbarton | 2006-05-07 10:12:18 +0200 (Sun, 07 May 2006) | 6 lines

added optional 'worldspace' arg to getLocation/getSize/getEuler
getSize is never flipped, but added a note in the docs.
correction to getEuler, its not wrapped.

also removed all // comments to shut GCC up.

------------------------------------------------------------------------
r7360 | schlaile | 2006-05-06 17:26:53 +0200 (Sat, 06 May 2006) | 14 lines

==Bugfix==

Made the frame boost from short to int (30000 -> 300000 frames) complete
by walking through the source and finally changing all frame-variables
to ints.

This should finally fix the framecounter warp around seen in some buttons.

If you step on any further problems that may arise starting from frame
32768 please just give me a hint and I'll fix it.

(Sorry about that, didn't know enough about Blender, when I did it the first
time...)

------------------------------------------------------------------------
r7359 | campbellbarton | 2006-05-06 11:11:11 +0200 (Sat, 06 May 2006) | 3 lines

Applied patch https://projects.blender.org/tracker/index.php?func=detail&aid=4159&group_id=9&atid=127
Updated batch object name edit. to assign datanames from obnames.

------------------------------------------------------------------------
r7358 | campbellbarton | 2006-05-06 08:17:46 +0200 (Sat, 06 May 2006) | 20 lines

Applied pack unpack from Pablo Martin (caedes),
http://projects.blender.org/tracker/?func=detail&atid=127&aid=3246&group_id=9
adds

Blender.c:
Blender.UnpackModes (dict with the unpack modes)
Blender.UnpackAll(mode)
Blender.PackAll()
Blender.CountPackedFiles()

Image.c:
image.packed (this was working)
image.pack()
image.unpack()

Sound.c:
sound.packed
sound.pack()
sound.unpack()

------------------------------------------------------------------------
r7357 | campbellbarton | 2006-05-05 18:17:59 +0200 (Fri, 05 May 2006) | 6 lines

Added vertex weight python scripts accessable from the paint menu.
* clean weights (removed low weights)
* normalize, maximizes weights to a user set peak, optionaly scales other groups too to keep the proportion of the weights even. (Doubles as a weight scaler)
* Grow/Shrink, uses the mesh topology to expand/contract the vert weights. a few options for iterationsm, max length and strength.
I need a way tell if the users in Face Select mode (in python) so I can make use of the selected face flag.

------------------------------------------------------------------------
r7356 | campbellbarton | 2006-05-05 08:57:33 +0200 (Fri, 05 May 2006) | 10 lines

added a python menu slot for weight pain.
Also needed to seperate
  view3d_paintmenu
into
  view3d_vpaintmenu
  view3d_tpaintmenu
  view3d_wpaintmenu

The view3d_paintmenu and do_view3d_paintmenu were getting messy and had a lot of if's in it.

------------------------------------------------------------------------
r7355 | khughes | 2006-05-04 15:42:12 +0200 (Thu, 04 May 2006) | 6 lines



===Python API===
Bufgix #4171: Action_setName() didn't call rename_id(), messing up the
internal database.  Patch provided by Roland Hess (thanks).

------------------------------------------------------------------------
r7354 | jiri | 2006-05-04 15:13:49 +0200 (Thu, 04 May 2006) | 8 lines



 Bugfix of sequencer:

 - I forgot change size limits for float buffers in previous commit,
   "Chroma VectorScope" or "Luma WaveForm" should work corectly for exr and
   hdr files too now

------------------------------------------------------------------------
r7353 | jiri | 2006-05-04 13:55:29 +0200 (Thu, 04 May 2006) | 9 lines



 Bugfix for sequencer:

 When you wanted to display "Chroma VectorScope" or "Luma WaveForm" for
 image/window with small width/height, then Blender crashed, because
 Blender has used fixed limits of ibuf->rect size. Statistics informations
 should be created corectly now too.

------------------------------------------------------------------------
r7352 | campbellbarton | 2006-05-04 02:59:02 +0200 (Thu, 04 May 2006) | 4 lines

Multiple armatures<>mesh objects now work with name flipping.
previously would only work if the armature was the first in the meshes modifier list,
in that case the armature would be name flipped but the mesh would not)

------------------------------------------------------------------------
r7351 | khughes | 2006-05-03 19:15:33 +0200 (Wed, 03 May 2006) | 5 lines



Bugfix #4169: unlinking an empty object using scene.unlink() wasn't checking
for ob->data == NULL, causing segfault.

------------------------------------------------------------------------
r7350 | ton | 2006-05-03 15:20:25 +0200 (Wed, 03 May 2006) | 6 lines

Bugfix for Node editing;

When multiple output nodes exist (Material), the active Output flag could
get copied and wasn't reset properly. Now the depenendency sorting code
ensures only 1 output node is the active output for execution.

------------------------------------------------------------------------
r7349 | khughes | 2006-05-02 19:44:44 +0200 (Tue, 02 May 2006) | 6 lines



===Python API===
Added activeGroup attribute to Mesh API, to get/set active vertex group for
meshes.

------------------------------------------------------------------------
r7348 | sirdude | 2006-05-02 16:35:47 +0200 (Tue, 02 May 2006) | 12 lines



Added some comments on what vec in BezTriple contains.
(Provided by harkyman)

I also added comments explaining what the Blank lines with #
where for above a couple of structures.
(compiler ignores them and they specifiy to makesdna that that structure
can be ignored)

Kent

------------------------------------------------------------------------
r7347 | schlaile | 2006-05-02 15:22:00 +0200 (Tue, 02 May 2006) | 10 lines

==Sequencer==
- Added early-out optimisation to add-effect (the case, where fac == 0)
- Bugfixes:
  * hddaudio: ffmpeg does not seek always to the correct frame,
    if the SEEK_BACKWARD flag is used. Now we account for this and
    seek a little bit further... (hack, urghs)
  * hddaudio: on long timelines, the new seek code didn't work
    (forgot a long long cast)
  * the audio mixdown code now also calculates meta-strip IPOs

------------------------------------------------------------------------
r7346 | campbellbarton | 2006-05-02 13:26:32 +0200 (Tue, 02 May 2006) | 19 lines

Commited 3ds export enhancements from Mark Stijnman (beowulff)
Will need to do some updates, Mesh over NMesh and optimize some areas but it works and is a big improvement.

from
https://projects.blender.org/tracker/index.php?func=detail&aid=4156&group_id=9&atid=127

Detailed description:
Modified the 3ds export script 3ds_export.py:
- It now exports face UV correctly. 3ds only supports one UV coordinate per vertex. The script now duplicates vertices that had multiple UV pairs assigned to them so that each duplicate now only contains one and only one UV. Faces have their vertex indices adjusted accordingly.
- Quads are now split into triangles better. 3ds only supports triangles, so quads need to be split into two triangles. Instead of rather arbitrarily splitting along the diagonal between points 0 and 2, the script now splits along the shortest diagonal. This creates a higher quality triangular mesh, as well as better preservation of symmetry.
- Now creates an object node block, exporting object nodes, needed by some 3D importers. Among others, allows one to export object hierarchy.
- Now exports Empties as 3ds Dummies.

To be able to add all of the above new features, the script has been mostly rewritten and strongly restructured.

Motivation for the rewrite was the desire to be able to use Blender to produce custom 3d cars for Trackmania:Sunrise (TM:S). Previously, the TM:S importer could not correctly handle the 3ds files from the Blender 3ds export script. With this version, one can export cars complete with UV textures, correct wheel placement and light placement. To my knowledge, this script would make Blender the first fully free 3d modeller that allows one to export 3ds models for TM:S (expect a tutorial soon). The ability to have proper UV coordinates exported into the 3ds file should also be very welcome to many.

Add A Comment: Notepad

------------------------------------------------------------------------
r7345 | campbellbarton | 2006-05-02 12:43:58 +0200 (Tue, 02 May 2006) | 5 lines

editmesh's seperate was crashing because the em->selected wasnt being flushed along with the seperated data.
easy 1 liner, seperate now clears the selection order linkedList.

Watch out for places where removing verts might not remove the selection order data.

------------------------------------------------------------------------
r7344 | campbellbarton | 2006-05-02 09:55:26 +0200 (Tue, 02 May 2006) | 2 lines

added a glDisable(GL_DEPTH_TEST); before the UI drawing because face select and wp mode were drawing mesh data over the UI.

------------------------------------------------------------------------
r7343 | ianwill | 2006-05-02 04:42:08 +0200 (Tue, 02 May 2006) | 13 lines

As mentioned in the pydrivers commit, I had to change the order in
exit_usiblender() to finalize Python before main library data was freed.
This solved a somewhat specific sigsegv with pydrivers, but as Ken
Hughes found out (thanks!) caused one with scripts that called Blender.Exit().

Now running scripts (G.main->script) are freed in BPY_end_python()
itself (so before the rest of the library data is freed), before
Py_Finalize(). Works fine in all my tests so far.

The file script.c should become obsolete with this change (I added a
comment about it there). If all is indeed fine, it will be removed
later.

------------------------------------------------------------------------
r7342 | khughes | 2006-05-01 23:19:31 +0200 (Mon, 01 May 2006) | 5 lines



===Python API===
Oops, missed references to "Subsurf" and "Optimal" in setMode() method.

------------------------------------------------------------------------
r7341 | khughes | 2006-05-01 23:15:49 +0200 (Mon, 01 May 2006) | 5 lines



===Python API===
Remove references in epydoc to deleted NMesh modes SUBSURF and OPTIMAL.

------------------------------------------------------------------------
r7340 | khughes | 2006-05-01 07:28:51 +0200 (Mon, 01 May 2006) | 6 lines



===Python API===
Make EXPP_setBitfield() PyObject_IsTrue() to evaluate parameter, so
boolean-type attribute setters will accept wider range of true/false inputs.

------------------------------------------------------------------------
r7339 | ianwill | 2006-05-01 00:10:39 +0200 (Mon, 01 May 2006) | 19 lines


Small update for pydrivers: force reloading the pydrivers.py Blender
text module when user edits the input text box of any pydriver
(Transform Properties panel, Ipo window).

It's enough to click in and out of a single pydriver's text input box
for the module reloading and also re-evaluation of all pydrivers
available. Maybe this "refreshing" should also be available from a
menu, let's see.

Note for Python fans:

Definitions and redefinitions in a reloaded module are properly handled
in Python, but previously defined data in the module doesn't disappear.
So if you define a function "f" inside a module, import it, then change
the function's name to "g" and reload the module, both "f" and "g" will
be available. This is considered a feature, check reload's documentation:
http://docs.python.org/lib/built-in-funcs.html#l2h-59

------------------------------------------------------------------------
r7338 | ianwill | 2006-04-30 18:22:31 +0200 (Sun, 30 Apr 2006) | 28 lines


Pydrivers: Ipo Drivers controlled by Python expressions

wiki with info: http://mediawiki.blender.org/index.php/BlenderDev/PyDrivers

(there are two sample .blends in the patch tracker entry, last link in
the wiki page)

Notes:

In usiblender.c I just made Python exit before the main library gets
freed. I found a situation with pydrivers where py's gc tried to del
objects on exit and their ID's were not valid anymore (so sigsegv).

Ton needs to check the depsgraph part.

For now pydrivers can reference their own object, something normal
ipodrivers can't. This seems to work fine and is quite useful, but if
tests prove the restriction is necessary, we just need to uncomment a
piece of code in EXPP_interface.c, marked with "XXX".

Thanks Ton for the ipodrivers code and adding the hooks for the py part
and Martin for the "Button Python Evaluation" patch from which I started
this one.

Anyone interested, please check the wiki, the .blends (they have
README's) and tell me about any issue.

------------------------------------------------------------------------
r7337 | khughes | 2006-04-29 16:24:30 +0200 (Sat, 29 Apr 2006) | 5 lines



===Python API===
Remove "EXPP_MOD_" from descriptions in Settings dictionary.

------------------------------------------------------------------------
r7336 | ton | 2006-04-29 13:37:26 +0200 (Sat, 29 Apr 2006) | 5 lines

Bugfix #4139

Included a patch from Jacques Beaurain. On pressing "Play" the position of
the playback window didn't use same code as for pressing "Render".

------------------------------------------------------------------------
r7335 | khughes | 2006-04-28 22:32:41 +0200 (Fri, 28 Apr 2006) | 5 lines



===Python API===
Bugfix: call to EXPP_ReturnPyObjError() was discarding value

------------------------------------------------------------------------
r7334 | erwin | 2006-04-28 19:35:03 +0200 (Fri, 28 Apr 2006) | 3 lines

- Charlie fixed some bugs related to copying armature-constraint data (these are different from Bullet rigidbody constraints like the hinge, and point 2 point!)
- fixed a crashing bug related to objects without meshes (tried to get material info from it)

------------------------------------------------------------------------
r7333 | campbellbarton | 2006-04-28 13:41:11 +0200 (Fri, 28 Apr 2006) | 3 lines

* Added optional X Zero snapping with tolerence limit.
* optionaly work with more then 1 mesh.

------------------------------------------------------------------------
r7332 | bjornmose | 2006-04-28 09:31:27 +0200 (Fri, 28 Apr 2006) | 3 lines

msvc6 .. adding mofifiers for happy PY complie
still no GE and still std::std::string in El'Beem

------------------------------------------------------------------------
r7331 | erwin | 2006-04-28 03:49:03 +0200 (Fri, 28 Apr 2006) | 2 lines

missing commit. this profiling is disabled in Blender, but the headerfile is needed.

------------------------------------------------------------------------
r7330 | erwin | 2006-04-28 02:08:18 +0200 (Fri, 28 Apr 2006) | 4 lines

- fixed Bullet noResponse/ghost mode
- added ccd option (future use, very basic and inefficient)
- some internal Bullet refactoring/improvements

------------------------------------------------------------------------
r7329 | campbellbarton | 2006-04-28 01:22:04 +0200 (Fri, 28 Apr 2006) | 2 lines

All negative vert indicies are assumed relative, removed relative vert option.

------------------------------------------------------------------------
r7328 | khughes | 2006-04-27 22:24:27 +0200 (Thu, 27 Apr 2006) | 5 lines



===Python API===
Added render.getRenderWinSize() method, to complement render.setRenderWinSize()

------------------------------------------------------------------------
r7327 | campbellbarton | 2006-04-27 14:51:09 +0200 (Thu, 27 Apr 2006) | 2 lines

Lightwave mot exporter now does worldspace loc/size/rot

------------------------------------------------------------------------
r7326 | campbellbarton | 2006-04-27 14:32:44 +0200 (Thu, 27 Apr 2006) | 14 lines

Added scalePart to mathutils matrix type object.
and made it so toEuler converts a 4x4 matrix to a 3x3 rather then raising an error.

Its not straight fwd to get an objects worldspace loc/size/rot from its 4x4 matrix.
Example from updated docs.
      import Blender
      scn = Blender.Scene.GetCurrent()
      ob = scn.getActiveObject()
      if ob:
        mat= ob.mat # Same as martixWorld
        print 'Location", mat.translationPart() # 3D Vector
        print 'Size", mat.scalePart() # 3D Vector
        print 'Rotation", mat.toEuler() # Euler object

------------------------------------------------------------------------
r7325 | erwin | 2006-04-27 06:37:20 +0200 (Thu, 27 Apr 2006) | 3 lines

make Bullet default physics engine. However, it still loads some default .blend that set's sumo default. todo: find out about this.
commented out some code that makes Blender crashing, after leaving the game engine (armature deletes some pose, which deletes constraints, which are still in the dependency graph. Ask Charlie)

------------------------------------------------------------------------
r7324 | broken | 2006-04-26 16:47:04 +0200 (Wed, 26 Apr 2006) | 8 lines

== interface ==

* Floating panel edge snapping

Floating panels now have a snapping mechanism that sticks them to the edge of a window when you drag them within a small range of it. This not only allows nice easy alignment of panels within a window, but also keeps them stuck to window edges when the window is resized. This means that you no longer get panels that were once on the edge of the window left drifting in the middle of your view if you resize it larger, which was rather annoying before.

Another goodie is that panels snapped to the bottom edge of the screen will minimise down to the bottom when collapsed, and will move back up to be edge aligned when maximised again, preventing collapsed panels down here from hanging around in space.

------------------------------------------------------------------------
r7323 | campbellbarton | 2006-04-26 10:22:39 +0200 (Wed, 26 Apr 2006) | 9 lines

Made space handelers check that G_DOSCRIPTLINKS is enabled before running.

Its scary to think that a redraw space handeler could run
  import os
  os.system('rm -rf ~/')
removing all user files, Just by opening the blend file!

This means at least you can opt not to run any python scripts you dont want to..

------------------------------------------------------------------------
r7322 | erwin | 2006-04-26 08:01:46 +0200 (Wed, 26 Apr 2006) | 2 lines

added Bullet rigidbodies that behave like Sumo 'dynamic', without rotations. Done using a special hinge constraint (no translational degrees of freedom removed)

------------------------------------------------------------------------
r7321 | erwin | 2006-04-26 05:20:28 +0200 (Wed, 26 Apr 2006) | 6 lines

fixed several internal Bullet rigidbody dynamics bugs:
- broadphase had bugs in removing objects,
- persistent manifold renamed value,
- cylinder penetration depth fixed,
- memory leak for persistent manifold

------------------------------------------------------------------------
r7320 | broken | 2006-04-26 03:42:35 +0200 (Wed, 26 Apr 2006) | 2 lines

Trying a new method for setting the brightness of the mini axis. Let's see how this goes.

------------------------------------------------------------------------
r7319 | zuster | 2006-04-26 02:51:58 +0200 (Wed, 26 Apr 2006) | 2 lines

 - initialize some globals to 0 explicitly

------------------------------------------------------------------------
r7318 | letterrip | 2006-04-26 00:59:03 +0200 (Wed, 26 Apr 2006) | 4 lines

==translations ==

update to the italian translation, thanks Gianluca Faletti and the other translators

------------------------------------------------------------------------
r7317 | letterrip | 2006-04-26 00:05:03 +0200 (Wed, 26 Apr 2006) | 4 lines

==scripts ==

update to MD2 exporter by Bob Holcomb

------------------------------------------------------------------------
r7316 | khughes | 2006-04-26 00:00:18 +0200 (Wed, 26 Apr 2006) | 5 lines



===Python API===
Fix some small typos in Pose epydocs.

------------------------------------------------------------------------
r7315 | campbellbarton | 2006-04-25 15:01:19 +0200 (Tue, 25 Apr 2006) | 8 lines

Re arranged how modifiers are used.
All settings through Blender.Modifier.Settings
see the epydocs
Also added some error checking to fix some possible segfaults.
Added more epydocs

Modifiers API should be stable enough to use now, though give it a bit of time for testing.

------------------------------------------------------------------------
r7314 | broken | 2006-04-25 14:26:46 +0200 (Tue, 25 Apr 2006) | 19 lines

* patch #3876: Rotating view icon
submitted by Davide Vercelli

This replaces (as a user preference) the static icon shown in the bottom-left of the 3D View with a small rotating axis that updates live in all ortho/perspective modes

I made several modifications to the original patch. In the patch, it displayed the axis on top of the 'object info' text since when floating panels are minimised, they sit in the bottom corner and cover the axis up. This annoyance is not limited to the axis, it also covers the frame number and info text, which can be frustrating. Sending them to the bottom is not that useful either, since it's quicker (with esc) and just as much movement to close and re-open them again.

I decided to solve this problem at the cause: Now when using the disclosure triangle on floating panels, they 'minimise in place' rather than going to the bottom.

User preferences are in the 'View & controls' section to:
- Display either the 3D axis or the old icon
- The size of the axis
- the brightness of the axis (colours are taken from grid theme settings)

* patch #3801: Option to show view direction in 3D View
submitted by Daniele Fornaciari

Simple one, just adds an user pref to show the name of the view's direction as text in the top left corner.

------------------------------------------------------------------------
r7313 | campbellbarton | 2006-04-25 09:25:22 +0200 (Tue, 25 Apr 2006) | 7 lines

Congrats to ZanQdo, first script lightwave motion exporter.

We need a way to get worldspace loc/size/rot.
there is currently no simple way to do this. location can be found the the world matrix.
but size and rot arnt that simple...
Maybe worldLocX.. worldRotX etc?

------------------------------------------------------------------------
r7312 | khughes | 2006-04-25 01:00:03 +0200 (Tue, 25 Apr 2006) | 8 lines



===Bugfix===
matrix.resize4x4() was incorrectly allocating a array of pointers using
the wrong cast -- sizeof(float) instead of sizeof(float *).  Worked fine
on 32-bit systems but caused a crash on AMD64.  Discovered by a student
in one of my classes (kudos, Joe).

------------------------------------------------------------------------
r7311 | ascotan | 2006-04-24 23:34:05 +0200 (Mon, 24 Apr 2006) | 4 lines

*projectfiles update*

-only 1 dll for pthreads needed in release build

------------------------------------------------------------------------
r7310 | ascotan | 2006-04-24 18:17:03 +0200 (Mon, 24 Apr 2006) | 2 lines

For some reason the render docs didn't mention the fact that you the RenderData stuct has the 'currentFrame' method for proper frame access.

------------------------------------------------------------------------
r7309 | ascotan | 2006-04-24 17:09:07 +0200 (Mon, 24 Apr 2006) | 2 lines

warnings cleanup for the python project on windows

------------------------------------------------------------------------
r7308 | ascotan | 2006-04-24 16:33:35 +0200 (Mon, 24 Apr 2006) | 7 lines

*msvc7 projectfiles update*

- post-build steps improved
- properly moves all the python scripts into the .blender directory on build
- only moves pthreadVSE2.dll from the pthreads libs
- moves release text into the build directory

------------------------------------------------------------------------
r7307 | ascotan | 2006-04-24 16:07:09 +0200 (Mon, 24 Apr 2006) | 4 lines

*projectfiles update*

- added Modifier.c to python project

------------------------------------------------------------------------
r7306 | campbellbarton | 2006-04-24 13:34:16 +0200 (Mon, 24 Apr 2006) | 3 lines

fix removal of groups for non selected verts.
removed debug prints

------------------------------------------------------------------------
r7305 | campbellbarton | 2006-04-24 13:26:04 +0200 (Mon, 24 Apr 2006) | 8 lines

Added utility functions to BPyMesh.py
- dictWeightFlipGroups, return a vert weight with flipped group names.
- dictWeightMerge, takes a list of dictWeights and merges them

mesh_mirror_tool.py
Added vertex weight support for the mirror tool, its able to mirror arbitary meshes weights with optional name flipping and creation of name flipped groups.
This also uses the mode for l<>r, l>r, r>l so you can copy from left to right only for eg.

------------------------------------------------------------------------
r7304 | khughes | 2006-04-24 07:24:58 +0200 (Mon, 24 Apr 2006) | 5 lines



Some Ipo getseters calling setter methods; added the necessary wrapper
functions to make this work correctly.

------------------------------------------------------------------------
r7303 | erwin | 2006-04-24 06:58:37 +0200 (Mon, 24 Apr 2006) | 2 lines

fixes in raycasting

------------------------------------------------------------------------
r7302 | erwin | 2006-04-24 04:03:55 +0200 (Mon, 24 Apr 2006) | 2 lines

fixed collision sensor for dynamically created objects using Bullet physics

------------------------------------------------------------------------
r7301 | erwin | 2006-04-23 20:42:17 +0200 (Sun, 23 Apr 2006) | 2 lines

use ContinuousConvexCollision for raycaster, fixes raycast problems

------------------------------------------------------------------------
r7300 | khughes | 2006-04-23 20:19:37 +0200 (Sun, 23 Apr 2006) | 7 lines



===Tools===
Patch #4119, submitted by Lukas Steiblys (imbusy1).  Mesh objects (created
through the toolbox) which take user input such as number of verts, are not
created if the user cancels input.  Thanks for the patch!

------------------------------------------------------------------------
r7299 | khughes | 2006-04-23 19:15:20 +0200 (Sun, 23 Apr 2006) | 6 lines



===Python API===
Fix for Cygwin/GCC compile errors: doesn't like PyObject_Del() in the
PyTypeObject declarations :-P

------------------------------------------------------------------------
r7298 | khughes | 2006-04-23 19:01:04 +0200 (Sun, 23 Apr 2006) | 8 lines



===Python API===
More Modifier API changes:
 * add Blender.Modifier.Settings dict with constants for modifier types
 * add mod.type attribute, which returns type of the Modifier
 * add some internal consistency checks in ModSeq_remove

------------------------------------------------------------------------
r7297 | khughes | 2006-04-23 16:17:14 +0200 (Sun, 23 Apr 2006) | 4 lines



Little bit of code clean-up and commenting.

------------------------------------------------------------------------
r7296 | stiv | 2006-04-23 14:56:58 +0200 (Sun, 23 Apr 2006) | 4 lines

fix compiler warnings.

The 'excess elements in struct initializer' is fatal on some platforms.

------------------------------------------------------------------------
r7295 | campbellbarton | 2006-04-23 10:01:02 +0200 (Sun, 23 Apr 2006) | 3 lines

added remove to the modifier seq (when pymodifier->md is NULL then its been removed)
added name to the docs

------------------------------------------------------------------------
r7294 | khughes | 2006-04-23 05:02:20 +0200 (Sun, 23 Apr 2006) | 5 lines



===Python API===
Shoot, forgot to implement something I described in the pydocs.....

------------------------------------------------------------------------
r7293 | khughes | 2006-04-23 04:34:50 +0200 (Sun, 23 Apr 2006) | 6 lines



===Python API===
Initial commit for new Modifier API.  Probably does about 70-75% of what it
should, but it's a start.

------------------------------------------------------------------------
r7292 | campbellbarton | 2006-04-22 11:23:25 +0200 (Sat, 22 Apr 2006) | 2 lines

JMS's updated script. Must try to work out which one to remove, this one or apply_def

------------------------------------------------------------------------
r7291 | khughes | 2006-04-21 22:31:27 +0200 (Fri, 21 Apr 2006) | 4 lines



Miscellaneous fixes to documentation.

------------------------------------------------------------------------
r7290 | khughes | 2006-04-21 22:27:52 +0200 (Fri, 21 Apr 2006) | 13 lines



===Python API===
New Ipo and IpoCurve API.  Ipo and IpoCurve objects support the [] operator,
for accessing the curves of a particular Ipo and for accessing the value
of an IpoCurve at a specific time.  Both modules were also "tp_getset"-ified.
Also, code for an alternative method (Antont wanted this) of accessing curves
via Ipo attributes is included for now, for people to try and see if it's
actually preferable to the Ipo [] operator.

These are all new additions; nothing was intentionally removed from the API.
If you find the something in the existing API has changed, let me know.

------------------------------------------------------------------------
r7289 | campbellbarton | 2006-04-21 11:41:58 +0200 (Fri, 21 Apr 2006) | 9 lines

boneweight copy-
  fixed the "No X Crossing option "Made 0-x verts snap to eachother.

Added mesh_mirror_tool
  This is a tool that makes verts mirror, so that you can use xmirror in editmode and weight painting.
  Have imported a heap of models that are made mirrored but are slightly out of being in the range that blender uses to be mirrored.
  So this means I can make a models verts snap to its mirrored locations.
  Options are Limit, Mode l>R, R>L or Middle, Normal Weigting, only mirror Same edge user count may add support for mirroring vert weights later.

------------------------------------------------------------------------
r7288 | campbellbarton | 2006-04-21 02:00:42 +0200 (Fri, 21 Apr 2006) | 2 lines

Error in the header, was still refering to mesh type rather then group, didnt seem to break anything.

------------------------------------------------------------------------
r7287 | khughes | 2006-04-20 19:51:58 +0200 (Thu, 20 Apr 2006) | 5 lines



Replaced constant_getAttr() with constant_getAttro(), and added extra
code so that the .keys(), .items() and .values() methods worked.

------------------------------------------------------------------------
r7286 | campbellbarton | 2006-04-20 16:26:24 +0200 (Thu, 20 Apr 2006) | 5 lines

Added Group to Blender.Types, tested and working.
Added Group Epydocs, with 2 examples.
also added http://en.wikibooks.org/wiki/Blender_3D:_Blending_Into_Python
  to the blender links main page.

------------------------------------------------------------------------
r7285 | campbellbarton | 2006-04-20 14:22:00 +0200 (Thu, 20 Apr 2006) | 3 lines

 CVS: ----------------------------------------------------------------------
ob.DupObjects was working but giving a warning. Fixed the warning and it also works in all test cases.

------------------------------------------------------------------------
r7284 | khughes | 2006-04-20 04:42:53 +0200 (Thu, 20 Apr 2006) | 5 lines



Bugfix #3889: action.setActive() was not adjusting id.us count correctly when
a new action was set to active.

------------------------------------------------------------------------
r7283 | campbellbarton | 2006-04-19 12:38:20 +0200 (Wed, 19 Apr 2006) | 4 lines

Previous commit broke pythons ob.DupObjects.
Though access was incorrect, fixing it made the linked list return a different length.
tested with all dupli types and it works properly now.

------------------------------------------------------------------------
r7282 | letterrip | 2006-04-19 02:54:21 +0200 (Wed, 19 Apr 2006) | 4 lines

==scripts ==

latest update blender2cal3d by Jean-Baptiste LAMY, fixes script to give correct output with current CVS

------------------------------------------------------------------------
r7281 | campbellbarton | 2006-04-19 01:59:13 +0200 (Wed, 19 Apr 2006) | 23 lines

bugfix for 4121
a fairly obvious bug- with flipping armature names in armature edit mode.
All Objects names would flip if they had names from the armature, even if they did NOT use use armature. (this could realy mess up a scene)

fix was a 1 liner.

replaced
			modob = modifiers_isDeformedByArmature(ob);
			if(modob) {

with


			/* or is there an armature deforming object */
			/* this is a bit sloppy, what if we have more then 1 armature deforming a mesh?
			TODO: Should have a function modifiers_isUsingArmature(ob, arm) - Campbell */
			modob = modifiers_isDeformedByArmature(ob);
			if(modob && modob->data==arm) {

Notice that before it didnt care what armature, just that it had one.

If the maintainer Ton? gives me the OK. Ill make this support multiple armatures by adding modifiers_isUsingArmature.

------------------------------------------------------------------------
r7280 | letterrip | 2006-04-19 00:56:45 +0200 (Wed, 19 Apr 2006) | 4 lines

==scripts ==

latest update of Direct X 8 exporter by Ben Omari

------------------------------------------------------------------------
r7279 | letterrip | 2006-04-19 00:50:20 +0200 (Wed, 19 Apr 2006) | 4 lines

==scripts ==

updated hotkeys script from JMS (note I fixed some typos also...)

------------------------------------------------------------------------
r7278 | campbellbarton | 2006-04-18 17:37:32 +0200 (Tue, 18 Apr 2006) | 3 lines

Error in accessing the listbase needed to use BLI_countlist(&lb) rather then BLI_countlist(lb)
fixed, thanks jms for the hint.

------------------------------------------------------------------------
r7277 | bjornmose | 2006-04-18 10:56:55 +0200 (Tue, 18 Apr 2006) | 4 lines

msvc6 project linking with shell32.lib to see SHGetFolderPath()
removing dead files in el'beem however the "std::std::string" problem is still there
still no GE

------------------------------------------------------------------------
r7276 | campbellbarton | 2006-04-18 10:19:28 +0200 (Tue, 18 Apr 2006) | 4 lines

small change to deselectall, just made it so that pressing Akey didnt do anything if there wasnt anything to sel/desel.
notice that if you pressed Akey when no objects in the view it still pushed an undo event, redrew and counted all and change the memory usage in the status.
mainly added not to waist undo slots.

------------------------------------------------------------------------
r7275 | ascotan | 2006-04-17 22:05:39 +0200 (Mon, 17 Apr 2006) | 8 lines

Update to the VC7 projectfiles.

This should bring the projectfiles upto date for msvc7.

Moving these to version 7.1 so that the version 8 people don't have such a hard time importing into 2005.

Build intern.sln, extern.sln and then blender.sln. Enjoy. :p

------------------------------------------------------------------------
r7274 | ascotan | 2006-04-17 21:20:02 +0200 (Mon, 17 Apr 2006) | 6 lines

Fixes an error that prevents builds on msvc.

version 1.58 assumes the usage of the BUILD_DATE macro. When this macro is not defined the extern declarations cause the linker to fail.

As a sidenote there is no 'winbuildinfo.c' file that the BUILD_DATE macro assumes is present on win32 systems....

------------------------------------------------------------------------
r7273 | ton | 2006-04-17 19:35:20 +0200 (Mon, 17 Apr 2006) | 11 lines

Bugfix #3683

When the 'reference shape key' (drawn yellow) was not the first key, the
channels as drawn in IpoWindow didn't match the actual shape keys.
This was caused by an exception in code that skips drawing the reference
shape when 'relative' was used.

Now I've added a rule that the first shape in a list always becomes the
reference, that way you can also edit it. To keep backwards compatibility,
this is only activated on translating the shape key lines.

------------------------------------------------------------------------
r7272 | ton | 2006-04-17 17:01:23 +0200 (Mon, 17 Apr 2006) | 17 lines

Patch #3675 by Ed Halley

Finally after 5 months! :)

Patch was already approved, but needed testing on existing files & time...

Description is here:
http://mediawiki.blender.org/index.php/BlenderDev/Transmissivity

In short: patch adds filtering based on thickness of material, and support
for internal reflection (resulting in better looking glass).

Thanks!
(Only note; appearance of glass render now differs... is acceptable, but for
the factor to control transmissivity a scaling factor could be added in UI,
the length of a ray is a relative thing...)

------------------------------------------------------------------------
r7271 | ton | 2006-04-17 16:26:41 +0200 (Mon, 17 Apr 2006) | 5 lines

Fix #4111
Objects with a Pose, but which is not an armature, crashes on duplicating.

Now have to find out how it can happen even... only Armatures uses poses.

------------------------------------------------------------------------
r7270 | erwin | 2006-04-17 08:27:57 +0200 (Mon, 17 Apr 2006) | 2 lines

Bullet physics: fixed some accuracy problem (square length should be compared to square epsilons), and more collision sensor work + deactivation issues

------------------------------------------------------------------------
r7269 | erwin | 2006-04-17 03:33:10 +0200 (Mon, 17 Apr 2006) | 2 lines

added support for 'Ghost' object and collision sensor (preliminary)

------------------------------------------------------------------------
r7268 | hos | 2006-04-16 21:34:49 +0200 (Sun, 16 Apr 2006) | 8 lines

==Something very minor==

To get blender to build I needed to comment out:

#include "NarrowPhaseCollision/EpaPenetrationDepthSolver.h"

Erwin, please check.

------------------------------------------------------------------------
r7267 | theeth | 2006-04-16 18:50:26 +0200 (Sun, 16 Apr 2006) | 11 lines

=== Animation ===

Patch #4044 patch to change the step when changing frame with up or down arrow keys.

This adds a per Scene setting to specify the number of frames skipped by the up and down arrow.
This setting can be changed in the Timeline header and in the Anim/Playback section of the Scene settings.

Upon loading a file without that setting or creating a new scene, it is set to 10

Also fixed the Start and End frame buttons in the Scene buttons to do a proper refresh.

------------------------------------------------------------------------
r7266 | stiv | 2006-04-16 17:28:50 +0200 (Sun, 16 Apr 2006) | 9 lines

a little spring cleaning to remove some compiler warnings for
implicit declarations, redundant redeclarations, missing initializers,
nested externs and other cruft.

Cleaned up includes and moved extern _Type decls from Types.h into
Types.c since that is the only place where they are needed now.

Did not touch Ipo.[ch] since work is on-going there.

------------------------------------------------------------------------
r7265 | ton | 2006-04-14 17:29:52 +0200 (Fri, 14 Apr 2006) | 8 lines

#bugfix #3682

NLA and Action window sometimes suffered from very weird scaled display,
caused by making the subwindow very small. Was a missing check for small
sizes.

Also in this commit removal of debug print N_T left in for ipos.

------------------------------------------------------------------------
r7264 | erwin | 2006-04-14 06:03:56 +0200 (Fri, 14 Apr 2006) | 2 lines

enabled ipo in combination with physics (no friction effect from kinematic to dynamic transferred yet)

------------------------------------------------------------------------
r7263 | erwin | 2006-04-14 05:18:17 +0200 (Fri, 14 Apr 2006) | 2 lines

don't use hull testing code by default

------------------------------------------------------------------------
r7262 | erwin | 2006-04-13 16:41:18 +0200 (Thu, 13 Apr 2006) | 2 lines

don't use Epa yet

------------------------------------------------------------------------
r7261 | bjornmose | 2006-04-13 15:55:33 +0200 (Thu, 13 Apr 2006) | 2 lines

msvc6 projects to build at all / still no GE

------------------------------------------------------------------------
r7260 | erwin | 2006-04-13 07:11:34 +0200 (Thu, 13 Apr 2006) | 2 lines

a lot of work in a few small changes to improve penetration depth. and some fixes in shaders from Charlie.

------------------------------------------------------------------------
r7259 | campbellbarton | 2006-04-13 06:00:32 +0200 (Thu, 13 Apr 2006) | 3 lines

Added no x-crossing option, so verts cant select verts to copy from that cross the X-Axis (usefull when copying human figures, and avoiding the inner leg verts from snapping accross to the wrong leg)
also made it display a progress bar.

------------------------------------------------------------------------
r7258 | stiv | 2006-04-13 03:41:42 +0200 (Thu, 13 Apr 2006) | 4 lines

Fix typo in doc.  CurNurb.setType() was getType() which hid the
real getType() definition and made getType() into the setter.   All that
confusion from a single character!

------------------------------------------------------------------------
r7257 | stiv | 2006-04-11 21:05:58 +0200 (Tue, 11 Apr 2006) | 17 lines

last release we lost our reassuring msg when no local python install
was found.  Restore warm fuzzy msg.  Text is now

  Looking for installed Python version XXX

followed by either

  Got it!
or
  'import site' failed; use -v for traceback
  No installed Python found.
  Only built-in modules are available.  Some scripts may not run.
  Continuing happily.


And while we are at it, clean up a couple of compiler warnings.

------------------------------------------------------------------------
r7256 | ton | 2006-04-11 14:27:50 +0200 (Tue, 11 Apr 2006) | 11 lines

Bugfix #3665

Using "International Fonts" (silly name, it's pixmap fonts) the special
characters (values above 127) were disregarded completely.
This was caused with the extremely confusing unicode conversion call, which
actually only was needed when translations were set.

Disabling the unicode conversion then gives correct text drawing. However,
I suspect that this code will give issues for translations too... that I
cannot judge nor fix.

------------------------------------------------------------------------
r7255 | ton | 2006-04-11 12:17:15 +0200 (Tue, 11 Apr 2006) | 5 lines

Bugfix #3698

Crash fix for deleting all vertices in a Mesh when this Mesh had a
Vertex parent.

------------------------------------------------------------------------
r7254 | ton | 2006-04-11 12:09:33 +0200 (Tue, 11 Apr 2006) | 5 lines

Bugfix #3699

When using non-relative Shape keys, the lock option (live updates) in the
IpoWindow didn't work after one of the keylines was selected.

------------------------------------------------------------------------
r7253 | ton | 2006-04-11 11:52:00 +0200 (Tue, 11 Apr 2006) | 13 lines

#bugfix #3659

Zero-sized bones in an Armature didn't result in a stable rest position.
This caused bones to rotate to random positions on each editmode exit.

This commit will automatically remove such bones on exit editmode now, and
adds a warning print for it. I've tried to code exception handling for
zero-sized bones, but this is just too hard to get stable. Better to define
by default that Bones always should have a length.

Typically zero-sized bones only get added by accident, for example while
ctrl+clicking new bones.

------------------------------------------------------------------------
r7252 | erwin | 2006-04-11 07:57:30 +0200 (Tue, 11 Apr 2006) | 2 lines

applied Charlies patch, reverted some GLSL shader stuff, improved penetration depth estimate.

------------------------------------------------------------------------
r7251 | erwin | 2006-04-11 04:48:34 +0200 (Tue, 11 Apr 2006) | 2 lines

finished RemoveHandle implementation

------------------------------------------------------------------------
r7250 | campbellbarton | 2006-04-11 04:41:11 +0200 (Tue, 11 Apr 2006) | 3 lines

Fixed 2 bugs in mesh brush. 3805 and 3806
Verts being set to NAN and cursor being placed as well as painting.

------------------------------------------------------------------------
r7249 | theeth | 2006-04-11 02:24:07 +0200 (Tue, 11 Apr 2006) | 9 lines

=== Transform ===
Bug #3779: In camera view with center cursor (on camera), it's impossible to use translations.

Initgrabz didn't account for negative zero values (nor near zero values). Works now.

Of course, this is just a safety to give back the appearance of working, since the cursor is on the point of convergence, there's no way to properly calibrate anything.

Word of advice: Always check where the transform center is.

------------------------------------------------------------------------
r7248 | campbellbarton | 2006-04-11 02:00:07 +0200 (Tue, 11 Apr 2006) | 3 lines

Some Maya dev thaught it would be a fun joke to format floats with a comma instead of a full stop.
Obj importer now supports 4,845 as well as the more useual 4.845 floating point value.

------------------------------------------------------------------------
r7247 | theeth | 2006-04-11 01:20:18 +0200 (Tue, 11 Apr 2006) | 7 lines

=== Transform Constraining ===
Bug #3733
Constraining on a perpendicular axis was broken on (half - 1) cases.
Silly oversight on my side which didn't turn out in the test case (moving camera in and out) and only appeared in front view (not side nor top) because of positive reasons.

Frankly, I still think translating an object perpendicular to the viewport is a bit silly, but now, at least, people can be silly in a predictable fashion.

------------------------------------------------------------------------
r7246 | campbellbarton | 2006-04-11 01:14:17 +0200 (Tue, 11 Apr 2006) | 6 lines

A utility script that refinds all image paths for images that have a path whos file dosent exist.
Running this script is usefull for moving projects to new computers and fixing broken image paths.
It works by taking a searchdir and finding all the images in that dir, then using the largest images (if doubles are found) to avoid using thumbnails.

This should be mived from the UV to the image menu when a python slots available.

------------------------------------------------------------------------
r7245 | campbellbarton | 2006-04-10 23:49:46 +0200 (Mon, 10 Apr 2006) | 2 lines

removed debug print.

------------------------------------------------------------------------
r7244 | campbellbarton | 2006-04-10 23:42:18 +0200 (Mon, 10 Apr 2006) | 6 lines

Moved ngon creating function from obj_import into BPyMesh so other importers can use it.
Exporter free's mesh vertex data each run (was causing memory errors when exporting fluidsim meshes... poke ken for Mesh.Unlink() since many meshes are still created)
Exporter had an indentation error also.
Added an NMesh wrapper around Mesh for importers to use, so as to work around slow 1 by 1 adding of data. used in upcoming flt_importer update.
Mesh cleanup now has the dangerous option to perform a cleanup on ALL mesh data. (needed it for a project)

------------------------------------------------------------------------
r7242 | ton | 2006-04-10 20:27:51 +0200 (Mon, 10 Apr 2006) | 3 lines

Brought back the option "remove all used texture images". It was
committed to be default, but should react to the button in scene panels.

------------------------------------------------------------------------
r7241 | ton | 2006-04-10 15:27:06 +0200 (Mon, 10 Apr 2006) | 5 lines

Bugfix #3702

Background image in 3d window didn't react on "reload image" options in
UV WIndow or Buttons Window.

------------------------------------------------------------------------
r7240 | ton | 2006-04-10 12:31:11 +0200 (Mon, 10 Apr 2006) | 6 lines

Bugfix #3720

Using stride-bone in an NLA, on a path without speed Ipo, didn't correct
the case when an action starts on a non-zero value.
Patch provided by Roland Hess. Thanks!

------------------------------------------------------------------------
r7239 | ton | 2006-04-10 12:14:26 +0200 (Mon, 10 Apr 2006) | 5 lines

Bugfix #3725

When you disable a texture channel using Displacement in a Material, the
initialize code and renderconvert code still though this was active.

------------------------------------------------------------------------
r7238 | ton | 2006-04-09 21:10:41 +0200 (Sun, 09 Apr 2006) | 7 lines

Bugfix #3778

Removed the haha-fun "eekadoodle" error, which was popping up for each
faulty face (could be 1000s), and renamed it to give a proper message:

"This Mesh has old style edgecodes, please put it in the bugtracker!"

------------------------------------------------------------------------
r7237 | ton | 2006-04-09 20:31:20 +0200 (Sun, 09 Apr 2006) | 6 lines

Bugfix #3781

Using the new "Add constraint" hotkey (CTRL+ALT+C) or the option in the
pulldown menu, didn't set a proper flag in Curve object when a "Follow
Path" constraint was choosen.

------------------------------------------------------------------------
r7236 | ton | 2006-04-09 20:22:05 +0200 (Sun, 09 Apr 2006) | 6 lines

Bugfix #3906

Restored animated background picture, using a bad call actually, but thats
clearly noted in comments in code. Is remainder work for cleaning up the
whole render api. :)

------------------------------------------------------------------------
r7235 | ton | 2006-04-09 19:14:55 +0200 (Sun, 09 Apr 2006) | 6 lines

Bugfix #3862

Wire render normals were exactly opposite to the normals for solid faces.
This caused displacement to work inverse too. Flipped them.
(Note; for shading normals are corrected to point towards viewer)

------------------------------------------------------------------------
r7234 | ton | 2006-04-09 18:43:03 +0200 (Sun, 09 Apr 2006) | 5 lines

Bugfix #3860

Ipo Driver on a curve-path speed Ipo was not assigned yet to dependency
graph, so it appeared as if it didnt work.

------------------------------------------------------------------------
r7233 | ton | 2006-04-09 18:36:19 +0200 (Sun, 09 Apr 2006) | 5 lines

#bugfix #3791

Missing depsgraph update tag in Object made dxf import seem as if it
didn't import anything.

------------------------------------------------------------------------
r7232 | ton | 2006-04-09 13:10:11 +0200 (Sun, 09 Apr 2006) | 6 lines

Bugfix #3840

Reading DXF curves can result in corrupted edges (with 2 identical
vertex indices). Probably thats OK for autocad or so.. but it made
Blender crash on entering editmode.

------------------------------------------------------------------------
r7231 | campbellbarton | 2006-04-09 07:12:13 +0200 (Sun, 09 Apr 2006) | 2 lines

fixed mistake in checking face verts (for face weight filling), and made C++ comments, C style

------------------------------------------------------------------------
r7230 | ton | 2006-04-08 20:13:47 +0200 (Sat, 08 Apr 2006) | 11 lines

Hrms... the fix for bug #4010 didn't work as expected.

The issue was that particle emittors were still transformed by the object
matrix itself. That was solved in the previous commit, but there was
still an error in correctly evaluating dependencies for the object...
Current commit uses depsgraph to recalculate all objects that influence
the emittor.

The depsgraph code doesn't like particles much (because it uses baking).
Current construct is still weak, is on the list to solve nice.

------------------------------------------------------------------------
r7229 | ton | 2006-04-08 19:36:27 +0200 (Sat, 08 Apr 2006) | 6 lines

Bugfix #3939

"Full OSA" render used wrong subsample pattern for accumulating passrender
info. Was only noticable for the 'normal' pass, for example on raytraced
images. Image looked as if it had a wireframe render.

------------------------------------------------------------------------
r7228 | ton | 2006-04-08 18:46:00 +0200 (Sat, 08 Apr 2006) | 6 lines

Bugfix #3948

Raymirror didn't use proper texture-space 'osa vectors' for sky texture,
causing extremely blurred reflections of sky.
Error was actually a mixup of arguments for sky render...

------------------------------------------------------------------------
r7227 | ton | 2006-04-08 17:58:49 +0200 (Sat, 08 Apr 2006) | 10 lines

Bugfix #3961

When using CTRL+L for materials, you can end up with non-existing material
indices in faces. The drawing code then was still happily drawing the old
situation (or something random, its a static array).

This commit checks the maximum amount of materials on an object, and draws
the last available material for a non-existing index. It uses an ugly
global yes, but this code is bad anyway. :)

------------------------------------------------------------------------
r7226 | ton | 2006-04-08 16:58:37 +0200 (Sat, 08 Apr 2006) | 6 lines

Bugfix #4015

Sequencer:
Typo in code committed by Peter; which made range for Glow button negative,
causing malloc errors and glow to not work at all.

------------------------------------------------------------------------
r7225 | ton | 2006-04-08 16:50:04 +0200 (Sat, 08 Apr 2006) | 10 lines

Bugfix #4010

Dynamic particles sometimes didn't properly use global coordinates.
Meaning they were transformed by an Object, for example when it has
animation constraints.

Error caused by attempt to get duplicators to work for particles. Will
need re-evaluation this.. for now restored old functionality, with
exception of dupli-groups.

------------------------------------------------------------------------
r7224 | ton | 2006-04-08 15:50:15 +0200 (Sat, 08 Apr 2006) | 9 lines

Bugfix #4066

Particle strands with a width set (like 10 pixels), and with extreme
bending of strands (like a very course subdivision), could create non-flat
quads. For speed reasons, the quad-to-triangle splitting was turned off
for hair, but in this case that should be done nevertheless.

Solves another Dandruff issue for furry bunnies!

------------------------------------------------------------------------
r7223 | erwin | 2006-04-08 15:05:22 +0200 (Sat, 08 Apr 2006) | 2 lines

fixed a lot of GCC 4.0 warnings.

------------------------------------------------------------------------
r7222 | campbellbarton | 2006-04-08 12:44:19 +0200 (Sat, 08 Apr 2006) | 2 lines

Made face filling (Shift+K) in weightpaint mode, work with x-mirror.

------------------------------------------------------------------------
r7221 | ton | 2006-04-08 12:02:20 +0200 (Sat, 08 Apr 2006) | 5 lines

Bugfix #4079

Rendering with 'Wire' material, and with Autosmooth set, made wire faces
get a zero'ed normal. Added exception handling code fir wire.

------------------------------------------------------------------------
r7220 | khughes | 2006-04-07 04:49:15 +0200 (Fri, 07 Apr 2006) | 15 lines



Bugfix #4055: the "sel" attributes for faces/edges/verts were basically
oblivious of each other, so setting/clearing the face edit mode select status
did not set/clear the corresponding vertex select statuses.  This patch makes
a change of any select status recalculate the selection state of all edges an
faces.  One unresolved issue is what effect this should have on the recent
edge mesh's stored selection.  Currently changing the selection state will
delete store selection info, but it may be desirable to emulate the stored
selection (but I need to discuss how this should work in more depth with
Geoffrey Bantle).

As an added bonus (while I was messing with this), I added a "sel" attribute
to edges so they are the same as faces and vert.

------------------------------------------------------------------------
r7219 | blendix | 2006-04-07 04:46:20 +0200 (Fri, 07 Apr 2006) | 6 lines


Undo Campbell's last commit that disabled face select mode on fluidsim
meshes, and actually fix the bug that caused the crash. The fluidsim result
doesn't preserve a mapping to the original mesh, so it shouldn't be displayed
in face select mode.

------------------------------------------------------------------------
r7218 | campbellbarton | 2006-04-07 03:14:08 +0200 (Fri, 07 Apr 2006) | 2 lines

going into face select mode for fluidsim meshes segfaulted blender, do a check so it dosent happen.

------------------------------------------------------------------------
r7217 | campbellbarton | 2006-04-07 02:47:39 +0200 (Fri, 07 Apr 2006) | 7 lines


Did some changes to the getMeshFromObject wrapper.
Made obj_export use getMeshFromObject

obj_export now copies images from mtex as well as texface when copy images enabled.
obj_export tested to work with exporting fluidsim animations (somebody reported it was broken, must have been fixed at some point?)

------------------------------------------------------------------------
r7216 | erwin | 2006-04-06 23:58:46 +0200 (Thu, 06 Apr 2006) | 2 lines

added HingeConstraint.cpp to SConscript

------------------------------------------------------------------------
r7215 | erwin | 2006-04-06 22:37:38 +0200 (Thu, 06 Apr 2006) | 2 lines

added hinge constraint support to Bullet physics

------------------------------------------------------------------------
r7214 | djcapelis | 2006-04-06 22:11:06 +0200 (Thu, 06 Apr 2006) | 4 lines

Reordering OpenEXR libraries to correctly reflect dependencies.

This fixes some ld errors when the static versions of the EXR libs are used.

------------------------------------------------------------------------
r7213 | sirdude | 2006-04-06 19:27:15 +0200 (Thu, 06 Apr 2006) | 9 lines



I renamed a couple of simple variables to prevent warnings about
variable blah at a higher scope is already defined...
(one of these was introduced by me when I moved a variable declaration
to the top of the function.)

Kent

------------------------------------------------------------------------
r7212 | hos | 2006-04-05 21:28:21 +0200 (Wed, 05 Apr 2006) | 6 lines

For 3ds import script, try to get set() function by importing the
function Set() from sets (stoopid python!) if the python version is
less than 2.4.

Campbell: please check!

------------------------------------------------------------------------
r7211 | campbellbarton | 2006-04-05 20:54:38 +0200 (Wed, 05 Apr 2006) | 18 lines

Added BPyMesh for mesh python mesh functions.
at the moment it only has meshWeight2Dict and dict2MeshWeight
  These allow you to deal with vertex weights as a list of dicts which makes scrips short and easy to understand.
   (kh_python, perhaps dict access to the python verts could replace this )

Used the above util functions to update mesh_cleanup.
Copied from the source

	'Material Clean', 'Remove unused materials.'
	'VGroups'
	'Group Clean', 'Remove vertex groups that have no verts using them.'
	'Weight Clean', 'Remove zero weighted verts from groups (limit is zero threshold).'
	'Weight Normalize', 'Make the sum total of vertex weights accross vgroups 1.0 for each vertex.'

Normalizing lets you see how much % of the vertex a bone owns just by looking at 1 of the bone weights.

Would be nice to have this functionality in Blender but theres not much room for new buttons in teh vgroup and material area :/

------------------------------------------------------------------------
r7210 | ton | 2006-04-05 19:21:24 +0200 (Wed, 05 Apr 2006) | 7 lines

Fix #3999

Outliner, Group view, operation menu "unlink group" also set the group user
counter to zero, which it should not do.
Note; the definition of this command is to make sure no users exist of this
group, but the group itself can still be there with objects.

------------------------------------------------------------------------
r7209 | ton | 2006-04-05 19:11:01 +0200 (Wed, 05 Apr 2006) | 4 lines

Bugfix #4009

Missing redraw in menu to choose 'metric' for Voronoi texture.

------------------------------------------------------------------------
r7208 | campbellbarton | 2006-04-05 18:48:55 +0200 (Wed, 05 Apr 2006) | 2 lines

Added an option to batch rename vert Groups.

------------------------------------------------------------------------
r7207 | ton | 2006-04-05 17:31:21 +0200 (Wed, 05 Apr 2006) | 2 lines

Two more quicktime changes for compiling after OSX software update

------------------------------------------------------------------------
r7206 | ton | 2006-04-05 14:03:43 +0200 (Wed, 05 Apr 2006) | 3 lines

Another #define __CARBONSOUND__ needed because of wacko Quicktime decision
to leave carbon framework in bad state.

------------------------------------------------------------------------
r7205 | ton | 2006-04-05 13:59:20 +0200 (Wed, 05 Apr 2006) | 6 lines

Upgrading in 10.3 to quicktime 7 seems to remove a header file, which
stops Ghost from compiling.

Information on this link here:
http://www.cocoadev.com/index.pl?CarbonSound

------------------------------------------------------------------------
r7203 | campbellbarton | 2006-04-05 09:10:30 +0200 (Wed, 05 Apr 2006) | 3 lines

Added the option only to update selected verts in the target mesh when copying bone weights.
Good when you need to update a copy with changes to the weights.

------------------------------------------------------------------------
r7202 | erwin | 2006-04-05 04:01:34 +0200 (Wed, 05 Apr 2006) | 2 lines

fixed two issues that hinder linux build

------------------------------------------------------------------------
r7201 | letterrip | 2006-04-05 02:53:07 +0200 (Wed, 05 Apr 2006) | 4 lines

==misc spelling and typos ==

a patch from Ed Halley to fix assorted typos in tooltips

------------------------------------------------------------------------
r7200 | letterrip | 2006-04-05 02:15:19 +0200 (Wed, 05 Apr 2006) | 4 lines

==makefiles==

pthreads wasn't added to the release zipfile on cygwin, patch by rob hausauer

------------------------------------------------------------------------
r7199 | erwin | 2006-04-05 00:26:11 +0200 (Wed, 05 Apr 2006) | 2 lines

improved some Bullet Dynamics, related to friction/contact constraints.

------------------------------------------------------------------------
r7198 | zuster | 2006-04-04 22:37:08 +0200 (Tue, 04 Apr 2006) | 2 lines

 - properly prototype dummy fnmatch to match call

------------------------------------------------------------------------
r7197 | intrr | 2006-04-04 11:17:10 +0200 (Tue, 04 Apr 2006) | 4 lines



Oops :) Nothing to see here...

------------------------------------------------------------------------
r7196 | intrr | 2006-04-04 11:14:07 +0200 (Tue, 04 Apr 2006) | 20 lines



New option for convert-menu font->curve: "Curve (Single filling group)".

Since the text-object remake, it was not possible anymore to 'cut out'
text from, say, a box made by a polycurve, by converting text to curve
and then joining - only the first character would be cut out.

This is because of the filling groups (nu/dl->charidx)
I introduced for getting the vast speedup and the possibility
of overlapping characters.

The new convert menu option now assigns filling group 0 to all of
the nurbs generated.

Maybe filling groups should be exposed in the UI in general for curves -
there are various occasions where they are useful.

(Hint to the UI mafia! ;)

------------------------------------------------------------------------
r7195 | campbellbarton | 2006-04-03 23:48:18 +0200 (Mon, 03 Apr 2006) | 2 lines

fixed error in boneweight copy and type in obj export.

------------------------------------------------------------------------
r7194 | khughes | 2006-04-03 22:31:10 +0200 (Mon, 03 Apr 2006) | 4 lines



Fix some warning for unsigned vs signed comparisons.

------------------------------------------------------------------------
r7193 | campbellbarton | 2006-04-03 22:16:06 +0200 (Mon, 03 Apr 2006) | 2 lines

oops, removed print's

------------------------------------------------------------------------
r7192 | campbellbarton | 2006-04-03 22:15:24 +0200 (Mon, 03 Apr 2006) | 2 lines

Fixed small but that was causing an eternal loop.

------------------------------------------------------------------------
r7191 | briggs | 2006-04-03 21:02:22 +0200 (Mon, 03 Apr 2006) | 8 lines

-> Stored Selections in Mesh DNA

Stored selections now get saved to mesh library blocks as direct data.
The idea that stored selections are 'erased' when leaving editmode and
switching objects is pretty mysterious for the user. Note that currently
the mselect array in a mesh is not written to file.  Not sure whether
to change this or not.

------------------------------------------------------------------------
r7190 | campbellbarton | 2006-04-03 18:14:24 +0200 (Mon, 03 Apr 2006) | 6 lines

Fixed a but where applying the modifier option was disabled, Meshes woudl have there objects matricies applied.
(Now always work on copied data- Blender.Mesh could do with a copy function)
Now triangulate works without "Apply Modifiers" enabled.

Much thanks to Gianluca Faletti for helping me track down the problem.

------------------------------------------------------------------------
r7189 | erwin | 2006-04-03 03:28:43 +0200 (Mon, 03 Apr 2006) | 2 lines

made some gfx debug code win32 specific

------------------------------------------------------------------------
r7188 | erwin | 2006-04-03 00:36:15 +0200 (Mon, 03 Apr 2006) | 2 lines

commented out some asserts that don't work multiplatform

------------------------------------------------------------------------
r7187 | erwin | 2006-04-02 23:04:20 +0200 (Sun, 02 Apr 2006) | 2 lines

applied Charlies patch for game engine graphics. display list support, and bumpmapping shader improvements.

------------------------------------------------------------------------
r7186 | campbellbarton | 2006-04-02 22:59:02 +0200 (Sun, 02 Apr 2006) | 3 lines

Sped up quite a bit using zsorting and fast index guessing. so verts can find the closest vert in the other mesh.
from 37.3sec to 8.65 sec on the test I used (human with 24 bones) - 24k verts on the source mesh.

------------------------------------------------------------------------
r7185 | khughes | 2006-04-02 22:19:30 +0200 (Sun, 02 Apr 2006) | 4 lines



Fix gcc warnings about NULL used in arithmetic comparison.

------------------------------------------------------------------------
r7184 | erwin | 2006-04-02 22:15:24 +0200 (Sun, 02 Apr 2006) | 2 lines

fixed a crashing bug in new vehicle physics, and removed some debugging code in contact/friction physics code.

------------------------------------------------------------------------
r7183 | zuster | 2006-04-02 20:11:02 +0200 (Sun, 02 Apr 2006) | 3 lines

 - fix some minor typing/redefinition errors, should
   not be misconstrued as "working" by myself

------------------------------------------------------------------------
r7182 | ton | 2006-04-02 19:44:14 +0200 (Sun, 02 Apr 2006) | 5 lines

Bugfix #3996

Particles were fully recalculated each time on frame advance, when they
had an animation itself (like Ipo). Was not needed for dynamic particles.

------------------------------------------------------------------------
r7181 | campbellbarton | 2006-04-02 17:40:56 +0200 (Sun, 02 Apr 2006) | 4 lines

Added to select group-
Siblings, ad Type
This removes the need for the "Select Type" menu (please review Broken)

------------------------------------------------------------------------
r7180 | khughes | 2006-04-02 16:22:19 +0200 (Sun, 02 Apr 2006) | 12 lines



A calculation was using an integer 100000000000, which was being truncated:

source/blender/src/writeimage.c: In function `save_rendered_image_cb_real':
source/blender/src/writeimage.c:129: warning: integer constant is too large
for "long" type

Since the calculation is on a float anyway, changed constant to a float.

Ken

------------------------------------------------------------------------
r7179 | ton | 2006-04-02 14:45:55 +0200 (Sun, 02 Apr 2006) | 5 lines

Bugfix #4046

Copying constraints should refresh the dependency graph, otherwise the
new relations don't get calculated properly.

------------------------------------------------------------------------
r7178 | ton | 2006-04-02 14:39:11 +0200 (Sun, 02 Apr 2006) | 4 lines

Bugfix #4042

New empty drawsize and type are initialized on loading old files now.

------------------------------------------------------------------------
r7177 | ton | 2006-04-02 14:20:46 +0200 (Sun, 02 Apr 2006) | 5 lines

Bugfix #4047

"Delete scene" should exit modes too, crashed in dependency graph then.
Now it exits editmode and paint modes first.

------------------------------------------------------------------------
r7176 | ton | 2006-04-02 14:08:34 +0200 (Sun, 02 Apr 2006) | 8 lines

Fix for #4048

Camera was excluded from depsgraph when not visible in current layer...
resulting in camera animations to not move.

Solved with just an exception, but it certainly is attention point for the
depsgraph cleanup.

------------------------------------------------------------------------
r7175 | ton | 2006-04-02 13:48:22 +0200 (Sun, 02 Apr 2006) | 12 lines

Bugfix #4051

- particle duplicators should not include parent animation (error in
  duplicator recode of last december)
- added exception for 'died' particles to keep correct orientation

Also in this commit:

- added comment in code to explain why vertexnormals in mesh are equal to
  vertex location when no faces exist
- cleanup of BKE_object.h for functions that don't need export.

------------------------------------------------------------------------
r7174 | ton | 2006-04-02 13:41:46 +0200 (Sun, 02 Apr 2006) | 2 lines

Added proper initialize for curve pointer, fix for commit of march 24th.

------------------------------------------------------------------------
r7173 | ton | 2006-04-02 10:21:47 +0200 (Sun, 02 Apr 2006) | 5 lines

Bugreport #4057

Uninitialized variable used in viewmove for 2d windows... the reporter
found it himself. thanks Michael Jones!

------------------------------------------------------------------------
r7172 | campbellbarton | 2006-04-02 03:46:10 +0200 (Sun, 02 Apr 2006) | 2 lines

Bugfix when checking for a container mesh (Mesh.Unlink needed here)

------------------------------------------------------------------------
r7171 | campbellbarton | 2006-04-01 21:28:55 +0200 (Sat, 01 Apr 2006) | 2 lines

Silly var typo fix.

------------------------------------------------------------------------
r7170 | ton | 2006-04-01 17:35:25 +0200 (Sat, 01 Apr 2006) | 4 lines

Bug fix #3900, washed out AO colors

Darn typo in AO code... it only multiplied the red compononent for AO. :)

------------------------------------------------------------------------
r7169 | campbellbarton | 2006-04-01 17:32:58 +0200 (Sat, 01 Apr 2006) | 4 lines

This script copys vertex groups and weights from 1 weighted mesh, to all unweighted meshes.
It just uses the closest to copy the weights, but this means the meshes need not have the same number of verts.
Worldspace coords are used so the meshes only need to overlap in worldspace.

------------------------------------------------------------------------
r7168 | ton | 2006-04-01 16:09:23 +0200 (Sat, 01 Apr 2006) | 2 lines

And the preview.blend for texture preview fix

------------------------------------------------------------------------
r7167 | ton | 2006-04-01 16:08:57 +0200 (Sat, 01 Apr 2006) | 5 lines

Texture button preview:

- now draws intensity value correct (black/white was inversed)
- added option to show texture alpha too

------------------------------------------------------------------------
r7166 | ton | 2006-04-01 14:53:51 +0200 (Sat, 01 Apr 2006) | 3 lines

Sequence render bug: pressing ANIM didn't update renderwindow, when files
for input were 32 bits.

------------------------------------------------------------------------
r7165 | ton | 2006-04-01 11:36:18 +0200 (Sat, 01 Apr 2006) | 6 lines

Previewrender fix: when moving the mouse still while previews should render
the escape happened without resetting a variable correctly, resulting in
black preview.

This can still be coded better...

------------------------------------------------------------------------
r7164 | erwin | 2006-04-01 05:30:15 +0200 (Sat, 01 Apr 2006) | 3 lines

more Bullet physics improvements, mainly stability and performance related.
AddObjectActuator has new python method to immediately create objects (this allows to create multiple objects in 1 frame in different positions)

------------------------------------------------------------------------
r7163 | campbellbarton | 2006-03-31 15:07:27 +0200 (Fri, 31 Mar 2006) | 4 lines

Added relative vertex references to obj importer,
Found a model that used negative relative vertex indicies.
positive relative vert indicies should work also but untested (no example models).

------------------------------------------------------------------------
r7162 | campbellbarton | 2006-03-31 11:50:39 +0200 (Fri, 31 Mar 2006) | 2 lines

Added matt's empty drawsize property to python.

------------------------------------------------------------------------
r7161 | campbellbarton | 2006-03-31 04:35:16 +0200 (Fri, 31 Mar 2006) | 2 lines

Removed debug printing.

------------------------------------------------------------------------
r7160 | campbellbarton | 2006-03-31 00:44:33 +0200 (Fri, 31 Mar 2006) | 8 lines

FREE_WINDOWS was declaring a typedef for __int64. __int64 was alredy defined.
so WIngws' GCC was seeing it as
typedef long long long long... and not compiling.

Added an ifndef around this decleration. safe solution. but probably remove the typedef entirely.

- Cam

------------------------------------------------------------------------
r7159 | khughes | 2006-03-30 23:51:59 +0200 (Thu, 30 Mar 2006) | 5 lines



Bugfix: isffmpeg() could access a pointer array using an index of -1,
causing a segfault.

------------------------------------------------------------------------
r7158 | hos | 2006-03-30 16:23:25 +0200 (Thu, 30 Mar 2006) | 5 lines

==Nothing to see here, move along==

Removing some outdated files from elbeem, as suggested by Nils.
(Compiles OK without them.)

------------------------------------------------------------------------
r7157 | erwin | 2006-03-30 08:08:41 +0200 (Thu, 30 Mar 2006) | 2 lines

fixed vehicle related issue (re-enabled them)

------------------------------------------------------------------------
r7156 | hos | 2006-03-30 01:16:09 +0200 (Thu, 30 Mar 2006) | 4 lines

==Nothing to see here, move along==

A header (BKE_Scene.h) was not included.

------------------------------------------------------------------------
r7155 | hos | 2006-03-30 01:14:37 +0200 (Thu, 30 Mar 2006) | 7 lines

==Nothing to see here, move along==

Try to get the yy_wrap and yy_parse definitions for IRIX. Hoping
that it will also help Kent's multiply resolved warnings, I've done
this so that these symbols are defined only if they are currently
undefined. I'm not sure if it will work though, please test!

------------------------------------------------------------------------
r7154 | campbellbarton | 2006-03-29 20:25:42 +0200 (Wed, 29 Mar 2006) | 7 lines

Fixed some bugs in BPyImage comprehensive loade. (used by 3ds and obj import)

OBJ Importer,
Added true FGon support for faces >4 verts. (Does a propper scanfill and optionaly converts it to an FGON.) - Checks for flipping, uses a face fan when scanfill fails.
Added the option to split by materials, into seperate mesh objects (Good for large databases)
Made smoothGroups optional.

------------------------------------------------------------------------
r7153 | sirdude | 2006-03-29 18:47:56 +0200 (Wed, 29 Mar 2006) | 11 lines



Added BOP_Mesh constructor to get rid of this:
BOP_Mesh.h:45: warning: ‘class BOP_Mesh’ only defines private constructors and h
as no friends

drawimasel.c initalized a variable so it didn't give warnings about it.
(wasn't really needed but if the code changes could be potential issue)

Kent

------------------------------------------------------------------------
r7152 | n_t | 2006-03-29 16:57:14 +0200 (Wed, 29 Mar 2006) | 2 lines

- fixed elbeem header include problems

------------------------------------------------------------------------
r7151 | n_t | 2006-03-29 09:35:54 +0200 (Wed, 29 Mar 2006) | 20 lines


Several minor fixes:
- Added part of Austin's msvc8 fixes (vector::erase function
  was "misused"), hopefully compiles better now.
- Ctrl-b now also bakes a selected fluidsim domain
  similar to the softbodies.
- Added surface smoothing option for domains: default is
  1, higher values result in a smoother surface (and probably
  slightly higher comupation times), while 0 means the surface
  is not modified at all.
- Added BLENDER_ELBEEMBOBJABORT environment variable in readBobj,
  if >0 quits blender when a not yet existing fluidsim
  frame should be loaded. Useful for rendering simulations
  as far as possible from the command line.
- Surface normals pointer is now set to NULL in readfile.c
- Fixed win32 error string handling, now uses a function
  to return the string from the solver.
- Fixed fluidsim particle halo scaling problem.
- Solver update

------------------------------------------------------------------------
r7150 | letterrip | 2006-03-29 08:25:07 +0200 (Wed, 29 Mar 2006) | 4 lines

==Directx 8 importer==

addition of a direct x importer by Ben Omari

------------------------------------------------------------------------
r7149 | letterrip | 2006-03-29 08:22:43 +0200 (Wed, 29 Mar 2006) | 4 lines

==Directx 8 exporter update==

update to the direct x exporter by Ben Omari

------------------------------------------------------------------------
r7148 | erwin | 2006-03-29 05:11:30 +0200 (Wed, 29 Mar 2006) | 2 lines

more physics work: fixed some deactivation bug, improved contact constraint stability and friction (lower the number of iterations).

------------------------------------------------------------------------
r7147 | sirdude | 2006-03-28 22:56:58 +0200 (Tue, 28 Mar 2006) | 8 lines



I fixed some warnings about multiply defined yy_parse (etc) fuctions.
Did some small indentation fixes, and moved some variables so they
were declared at the top of the function blocks.

Kent

------------------------------------------------------------------------
r7146 | erwin | 2006-03-28 22:55:44 +0200 (Tue, 28 Mar 2006) | 2 lines

disabled restitution in the new iterative contact constraint.

------------------------------------------------------------------------
r7145 | erwin | 2006-03-28 22:18:14 +0200 (Tue, 28 Mar 2006) | 3 lines


fixed scons build for moved and added file.

------------------------------------------------------------------------
r7144 | campbellbarton | 2006-03-28 05:20:10 +0200 (Tue, 28 Mar 2006) | 3 lines

Removed a bad return and and unused variable.
swappsed all // for /**/.

------------------------------------------------------------------------
r7143 | khughes | 2006-03-28 00:33:21 +0200 (Tue, 28 Mar 2006) | 5 lines



Fix gcc warning about usage of identifier "main"; renamed the variable to
"mainptr".

------------------------------------------------------------------------
r7142 | khughes | 2006-03-28 00:22:08 +0200 (Tue, 28 Mar 2006) | 4 lines



Add structure declaration to beginning of file to fix gcc warnings.

------------------------------------------------------------------------
r7141 | khughes | 2006-03-28 00:20:24 +0200 (Tue, 28 Mar 2006) | 5 lines



Move variable declaration to beginning of code block, to avoid compiler
warnings or errors.

------------------------------------------------------------------------
r7140 | campbellbarton | 2006-03-27 23:35:31 +0200 (Mon, 27 Mar 2006) | 5 lines

Modified editmesh_mods.c
Added "Similar Edge Face Angles" to "Select Edge Groups"
This means you can select edges based on the angles of edges in the existing selection.
Only works for edges with 2 face users at the moment.

------------------------------------------------------------------------
r7139 | sirdude | 2006-03-27 18:15:44 +0200 (Mon, 27 Mar 2006) | 9 lines



another couple of uninitalized variables get the axe.

This is only to make things predictable until that section of the
code is finished.  Ton said it'd be a good idea to drop in in for now.

Kent

------------------------------------------------------------------------
r7138 | campbellbarton | 2006-03-27 16:57:53 +0200 (Mon, 27 Mar 2006) | 3 lines

Make editmesh edge length and face area drawing's precission proportonate to the gridsize.
Needed when working with small models.

------------------------------------------------------------------------
r7137 | campbellbarton | 2006-03-27 10:52:28 +0200 (Mon, 27 Mar 2006) | 2 lines

needed to normalize the plane for the manipulator.

------------------------------------------------------------------------
r7136 | campbellbarton | 2006-03-27 10:34:06 +0200 (Mon, 27 Mar 2006) | 2 lines

removed 2 warnings from Image.py epydocs

------------------------------------------------------------------------
r7135 | campbellbarton | 2006-03-27 10:25:06 +0200 (Mon, 27 Mar 2006) | 6 lines

Seperated out some functionality into 3 new functions.
EM_editselection_center
EM_editselection_normal
EM_editselection_plane
These functions are used by the manipulator to get data from an editselection. regardless of weather its a face/edge/vert.

------------------------------------------------------------------------
r7134 | erwin | 2006-03-27 08:37:30 +0200 (Mon, 27 Mar 2006) | 9 lines

Synchronized Bullet physics to latest version.

- Changed license from MIT to ZLib.
- Added 3D Sweep and Prune contribution
- More stable native constraint solver

Sorry for any inconvenience caused by this checkin.
All Blender buildsystems require update: added files and moved files.

------------------------------------------------------------------------
r7133 | campbellbarton | 2006-03-27 07:28:36 +0200 (Mon, 27 Mar 2006) | 2 lines

Added rotate about centre for active Vert/Edge/Face in mesh editmode. also works for getting the V/E/F normal. Means we can now rotate about the last selected edge.

------------------------------------------------------------------------
r7132 | briggs | 2006-03-27 07:19:14 +0200 (Mon, 27 Mar 2006) | 46 lines

-> Stored Selections

Previously Blender did not store the order in which vertices, edges
or faces were selected in edit mode. In many cases it is useful to
have this data, however it is not desirable to store every selection
made. Now blender stores selections in the order in which they were
made in a linked list called 'selected' in  EditMesh. EditSelection structs
are created whenever 'EM_store_selection' from  editmesh_lib.c is called
(currently only on user selection with mouse). There are several cases
in which they might be deallocated by calling the 'EM_remove_selection'
function however:

-When the user deselects something with the mouse ('mouse_mesh' in
 editmesh_mods.c)

-When switching selection modes stored selections that are not relevant
to the new mode are removed by the 'EM_strip_selections' function
(multi-select mode is supported)

-When the vertex, edge or face pointed to by a certain stored selection is
deallocated

-When EM_clear_flag_all is called and where the flag passed to the function
contains the 'SELECT' bitmask.

-When leaving edit mode (making stored selection data persistent across
editing sessions will require modifications to mesh DNA later)

Todo:

There are a few cases still where you can temporarily end up with a stored
selection that points to an element that is no longer selected
(edge loop de-select can cause this for instance). The solution to this is to
add a call to EM_remove_selection from 'EM_select_edge' and 'EM_select_face' when
these functions are being used to deselect elements. For the sake of completeness
however this will also require that an 'EM_select_vert' function be coded and
called at all appropriate parts of the editmesh code. I will look into this
later in the week.

For now there are two tools that already take advantage of the stored selections.
The first one is 'merge at first or last vertex' in the merge menu (the 'firstvert' and
'lastvert' pointers are gone from EditMesh). The second tool is path select, which builds
a path between the last vert selected and the second to last vert selected. This allows you
to build complex path selections in a short amount of time like this
'select A, select B, path select. select C, path select. select D...'

------------------------------------------------------------------------
r7131 | theeth | 2006-03-27 00:35:03 +0200 (Mon, 27 Mar 2006) | 4 lines

=== Transform Display ===
Based on a patch by Matthias Derer, this adds the distance moved to a translation (grab) transform
(both 3D and 2D, although the 2D transform displays the normalised distance only).

------------------------------------------------------------------------
r7130 | letterrip | 2006-03-27 00:31:11 +0200 (Mon, 27 Mar 2006) | 4 lines

==sequencer==

a tiny patch by Luis de Bethencourt Guimera (luisbg) adds RETKEY as completing a transform for consistency

------------------------------------------------------------------------
r7129 | schlaile | 2006-03-26 23:36:42 +0200 (Sun, 26 Mar 2006) | 18 lines

==Sequencer==
This patch is mostly a usability patch for the sequencer, mainly written by
Anders Gudmundson and twisted a little bit by me.

- Lock Time to other windows
- Possibility to switch the X-Axis between frames and seconds-display
- IPO-Frame Locking for plugins (T-Key)
- Additional Popup to add HD-Sound and Movie at once
- In Timeline-Window: Sequencer windows only playback
- Make the IPOs a little bit IPO-Frame-Lock friendlier (doesn't jump;
  the frame that is drawn has the right dimension)
- Wheel-Mouse buttons make the sequencer window zoom again.
- The "This is not a sound/movie-file message" now reads "... or
  FFMPEG-support not compiled in!" since I learned some prominent
  people who complained, that hdaudio does not work for them ;-)
- Make SPACEKEY open up the "Add Strip"-Popup on the timeline and start
  playback in the preview window.

------------------------------------------------------------------------
r7128 | campbellbarton | 2006-03-26 11:25:30 +0200 (Sun, 26 Mar 2006) | 2 lines

Added python image pack/unpack per image.

------------------------------------------------------------------------
r7127 | campbellbarton | 2006-03-26 03:54:52 +0200 (Sun, 26 Mar 2006) | 2 lines

select group with large selections could make blender hang. break out of the loop when no more can be done.

------------------------------------------------------------------------
r7126 | campbellbarton | 2006-03-26 03:02:22 +0200 (Sun, 26 Mar 2006) | 7 lines

Made group work from multiple selection's (before it used the first selected face/vert/edge)
so you can select 2 faces and then get all coplaner faces around both.
Added fp to face and edge edit data so as to store edge length and face area/perimeter. (in the union so minimal overhead)
current implimentation is fairly optimized.

Change to arithb.c was just to command Inpf as being the dot producr.

------------------------------------------------------------------------
r7125 | letterrip | 2006-03-25 23:29:48 +0100 (Sat, 25 Mar 2006) | 4 lines

==paint==

change CKEY to toggle paint on or off in image paint patch by Stephan Kassemeyer

------------------------------------------------------------------------
r7124 | campbellbarton | 2006-03-25 12:51:33 +0100 (Sat, 25 Mar 2006) | 3 lines

Fixed a possible bug where counting faces was a short and could be less then the number of items selected.
Added Vertex group select menu- Similar Normal|Same FaceUsers|Shared Vertex Groups

------------------------------------------------------------------------
r7123 | campbellbarton | 2006-03-25 11:06:40 +0100 (Sat, 25 Mar 2006) | 5 lines

Fixed a but where DupStart and DupEnd (duplivert settings) max values were larger then a short. which made the buttons act oddly.
Also added tooltips.

Idealy these would be unsigned shorts or ints because they should be able to go up to the max frame number 300000.

------------------------------------------------------------------------
r7122 | campbellbarton | 2006-03-25 07:44:43 +0100 (Sat, 25 Mar 2006) | 2 lines

oops. was breaking out of the loop with hidden faces :/

------------------------------------------------------------------------
r7121 | campbellbarton | 2006-03-25 07:32:39 +0100 (Sat, 25 Mar 2006) | 5 lines

Added select group edges (Length/Direction/FaceUsers)
Added VecAngle2 - needed for grouping by normal and planer faces.
Made select face & edge group ignore hidden faces.
fixed a bug where hiding faces didnt update G.tot*sel

------------------------------------------------------------------------
r7120 | campbellbarton | 2006-03-25 05:37:40 +0100 (Sat, 25 Mar 2006) | 4 lines

Added select group meny to mesh editmode.
Currently only works for faces.
Try Shift+G in face/editmode.

------------------------------------------------------------------------
r7119 | khughes | 2006-03-24 22:56:29 +0100 (Fri, 24 Mar 2006) | 7 lines



Bugfix #3818:  nmesh.insertKey() was not letting Ipo space know to
recalculate, causing a segfault when the curve was selected in the Ipo
window.  lattice.insertKey() has similar code.  Added calls to
allspace(REMAKEIPO,0) to correct this.

------------------------------------------------------------------------
r7118 | khughes | 2006-03-24 21:39:38 +0100 (Fri, 24 Mar 2006) | 14 lines



Bugfix #3772: Allows "Center Cursor" for 3D curves to modify the curve
center's Z location.  An eons-old comment in the code said:

/* Curves need to be 2d, never offset in
 * Z. Is a somewhat arbitrary restriction,
 * would probably be nice to remove. */

I couldn't find any other reason for the restriction other than 2D curves
limit the point's Z component to 0, so added a check to only forve the
center Z to 0 when the curve is 2D.  If there are other reasons for the
restriction, then this commit may need to be rolled back.

------------------------------------------------------------------------
r7117 | sirdude | 2006-03-24 17:40:32 +0100 (Fri, 24 Mar 2006) | 19 lines



a bunch of small warnings fixes:

newline missing at end of file fixes:
TypedConstraint.h WheelInfo.h RaycastVehicle.h VehicleRaycaster.h
CcdPhysicsEnvironment.cpp

radiance_hdr.c fixed the following warning by changing type of local variable:
radiance_hdr.c:357: warning: pointer targets in passing argument 3 of
‘fwritecol rs’ differ in signedness

edgeRender.c,edgeRender.h same thing changed type of local vars to get rid
of warnings about signedness

RAS_OpenGLRasterizer.cpp removed unused variable unit line 1295

Kent

------------------------------------------------------------------------
r7116 | campbellbarton | 2006-03-24 17:04:55 +0100 (Fri, 24 Mar 2006) | 2 lines

blender -P xxx -b crashed sometimes, still will crash in some cases if the python functions access screen data. but at least Blender.sys.expandpath wont segfault anymore.

------------------------------------------------------------------------
r7115 | campbellbarton | 2006-03-24 16:46:26 +0100 (Fri, 24 Mar 2006) | 4 lines

Made blender python work in background mode without a blend file loading.
Blender.c python initialization creates a scene when in background mode and when there is no scene.
Needed to skip redrawing when in background mode because it depended on screen data that wasnt there.

------------------------------------------------------------------------
r7114 | campbellbarton | 2006-03-24 09:36:39 +0100 (Fri, 24 Mar 2006) | 11 lines

Attempted to unify and document Dupli* stuff.
DupGroup
DupObjects
enableDupVerts
enableDupFrames
enableDupGroup
enableDupRot
enableDupNoSpeed

see the epydocs for documentation at http://members.iinet.net.au/~cpbarton/ideasman/BPY_API/Object.Object-class.html - will update in a tick.

------------------------------------------------------------------------
r7113 | khughes | 2006-03-24 00:54:48 +0100 (Fri, 24 Mar 2006) | 5 lines



Fix problem with possibly random calls to MEM_freeN() due to uninitialized
variable in NMesh.c

------------------------------------------------------------------------
r7112 | sirdude | 2006-03-23 18:45:40 +0100 (Thu, 23 Mar 2006) | 14 lines



Updated mallocn.c MEM_check_memory_integrity was casting
a string as an int and it was causing a warning.
I changed it to check to see if the string == 0
return 0 else return 1.

The only thing that called this function was memtest.c and it
had outdated code, so I fixed that...
        was calling MEM_set_error_stream updated to
                    MEM_set_error_callback

Kent

------------------------------------------------------------------------
r7111 | campbellbarton | 2006-03-22 00:59:52 +0100 (Wed, 22 Mar 2006) | 2 lines

oops, typo

------------------------------------------------------------------------
r7110 | khughes | 2006-03-22 00:30:25 +0100 (Wed, 22 Mar 2006) | 22 lines



===Python API===
Two small bugfixes:
   * Image.New() resets id.us to 0; it is set to 1 by new_image()
   * allow ima.depth and ima.size getters to propagate their own error
     messages (missing image was returning MemoryError)

Also, seems to me there's something funny going on with image id.us
accounting.  In do_image_buttons(), id.us is set whenever an image is
accessed vi the datablock menu:

        if(idtest!=id) {
            G.sima->image= (Image *)idtest;
            if(idtest->us==0) idtest->us= 1;
            allqueue(REDRAWIMAGE, 0);
        }

This is independent of whether a UV face is selected or not (and it also
seems that the number of UV faces linked to an image is not maintained
either).

------------------------------------------------------------------------
r7109 | campbellbarton | 2006-03-21 23:30:29 +0100 (Tue, 21 Mar 2006) | 3 lines

Fix for a bug where python could save a sceneless blend file.
https://projects.blender.org/tracker/index.php?func=detail&aid=3902&group_id=9&atid=125

------------------------------------------------------------------------
r7108 | campbellbarton | 2006-03-21 23:16:41 +0100 (Tue, 21 Mar 2006) | 4 lines

Fix for bug,
https://projects.blender.org/tracker/index.php?func=detail&aid=4021&group_id=9&atid=125
Raise an error instead of crash when python expandpath runs and no scene is loaded.

------------------------------------------------------------------------
r7107 | ton | 2006-03-21 12:29:03 +0100 (Tue, 21 Mar 2006) | 5 lines

Silly bug in using Compositor... the code that checked if a 3d rendering
was required (compositor can also be used with only image input) told
the pipeline not to render when no composite nodes were available at all,
and with button 'Use Nodes' on.

------------------------------------------------------------------------
r7106 | ton | 2006-03-20 21:52:04 +0100 (Mon, 20 Mar 2006) | 7 lines

Scene id->us user counter was always set to 1 on a file read, which did not
work for Composite nodes using a scene... when you delete such a node the
scene could get zero users then.

Now scenes count users correctly, and are initialized to 1 on the correct
place.

------------------------------------------------------------------------
r7105 | elubie | 2006-03-20 18:25:42 +0100 (Mon, 20 Mar 2006) | 10 lines

=== MINGW compile ===
Fixing compile for Windows mingw builds with cygwin make and scons.
Used SHGetFolderPath instead of SHGetSpecialFolderPath which is
better supported for mingw.
Thanks to Ralf Hoelzemer for the tip and the patch.

Let me know if any problems persist, I'll try to fix then.

--- Andrea

------------------------------------------------------------------------
r7104 | ton | 2006-03-20 17:53:13 +0100 (Mon, 20 Mar 2006) | 3 lines

Cineon/DPX export didn't survive when Blender gave it negative colors.
Was missing test for it before turning it into unsigned short.

------------------------------------------------------------------------
r7103 | campbellbarton | 2006-03-20 17:24:00 +0100 (Mon, 20 Mar 2006) | 2 lines

Fixed an error in the help printout and set out the formats that are not supported on all os's.

------------------------------------------------------------------------
r7102 | khughes | 2006-03-19 21:45:50 +0100 (Sun, 19 Mar 2006) | 4 lines



Fix various gcc warnings.

------------------------------------------------------------------------
r7101 | khughes | 2006-03-19 21:31:15 +0100 (Sun, 19 Mar 2006) | 4 lines



Removing newlines from files; seems to cause compile problems with cygwin.

------------------------------------------------------------------------
r7100 | ton | 2006-03-19 21:14:16 +0100 (Sun, 19 Mar 2006) | 3 lines

Threshold for non-flat quad detection was too wide still. Causing errors
of quads filling in in octrees...

------------------------------------------------------------------------
r7099 | ton | 2006-03-19 18:50:53 +0100 (Sun, 19 Mar 2006) | 9 lines

More environment map stuff:

- added a zoom factor for Planar Environment Map, allowing to zoom in or
  out on the reflected object. The zoom is corrected when rendering, so it
  just gives control over the resolution.
- Planar maps don't cycle anymore, but only render the front plane, using
  standard image texture extend mode.
- threaded rendering is back in envmap render

------------------------------------------------------------------------
r7098 | elubie | 2006-03-19 17:36:37 +0100 (Sun, 19 Mar 2006) | 15 lines

=== fileseletor ===

patch #2554: My Documents and Desktop folder automaticly added to the Folders
pulldown of the filesector

Only affects Windows builds.

Uses shell functions to correctly get the My Documents and Desktop folders and
then add them to the fsmenu, right below the drive letters.

Needs shell32.lib linked, which is already linked by default for VS7 project files.
Platform maintainer please check if it has to be added to scons and MSVC6 project files.

Patch provided by Martin Poirier (theeth) - many thanks!

------------------------------------------------------------------------
r7097 | campbellbarton | 2006-03-19 17:25:32 +0100 (Sun, 19 Mar 2006) | 40 lines

Added a way to set the renderpath (dir and name) from the command line.
eg
Blender  -b c:\blends\test.blend  -o "c:\renders\render_#.png"  -x 0  -F PNG

-x 1/0 for extension enable/disable
-F for format/filetype

This is important because somebody elses Blend files can render anywhere on your PC, possibly a security risk.
And nice for renderfarms to be able to set the path without running a python script inside the blend file.

blender --help (render opts only)
Render options:
  -b <file>     Render <file> in background
    -S <name>   Set scene <name>
    -f <frame>  Render frame <frame> and save it
    -s <frame>  Set start to frame <frame> (use with -a)
    -e <frame>  Set end to frame (use with -a)<frame>
    -o <path>   Set the render path and file name.
      Use // at the start of the path to
        render relative to the blend file.
      Use # in the filename to be replaced with the frame number
      eg: blender -b foobar.blend -o //render_# -F PNG -x 1
    -F <format> Set the render format, Valid options are..
        TGA IRIS HAMX FTYPE JPEG MOVIE IRIZ RAWTGA
        AVIRAW AVIJPEG PNG AVICODEC QUICKTIME BMP
        HDR TIFF EXR MPEG FRAMESERVER CINEON DPX
               Use // at the start of the path to
    -x <bool>   Set option to add the file extension to the end of the file.

Added details to the -v option
Eg
blender -v
Blender 2.41 Build
        build date: 2006-03-20
        build time: 16:16:34
        build platform: linux-glibc2.3.6-i386
        build type: dynamic

Also fixed bugs where nagative/realy big  frames could be set- causing Blender to crash.

------------------------------------------------------------------------
r7096 | ton | 2006-03-19 16:16:02 +0100 (Sun, 19 Mar 2006) | 3 lines

Bugfix in environment mapping: Ztransp and Halo didn't show up. Bug is
there since the Render refactor of early january.

------------------------------------------------------------------------
r7095 | ton | 2006-03-19 15:26:56 +0100 (Sun, 19 Mar 2006) | 10 lines

Added option to only render a single side of an Environment map cube,
allowing to use it for planar mirrors. Enable it with the new "Plane"
option in the Environment Map Panel.

Current default is to render the cube side that points to the positive
Z axis direction. To make it work, it uses the same image for all
other cube sides, so it will 'wrap around'.

Also made maximum resolution for environment map to be 4096x4096 now.

------------------------------------------------------------------------
r7094 | campbellbarton | 2006-03-19 14:31:44 +0100 (Sun, 19 Mar 2006) | 2 lines

Updated to use Blender.sys.exists() which now uses BLI_exist rather then stat.

------------------------------------------------------------------------
r7093 | elubie | 2006-03-19 14:28:01 +0100 (Sun, 19 Mar 2006) | 10 lines

=== bugfix win32 - python ===

Fixed BLI_exist: In Windows stat doesn't recognize
a dirname ending is a slash, exept when it's
the root dir ("C:\\"), where it is required.
So trailing slashes are only removed when filename
is longer than 3 chars.
Also fixed Python Sys.c that now uses BLI_exist
instead of calling stat directly.

------------------------------------------------------------------------
r7092 | campbellbarton | 2006-03-19 05:45:58 +0100 (Sun, 19 Mar 2006) | 23 lines

Added support for group objects
  grp.objects

To have an iterator assigned as well as a list. Since gp.objects is an ietartor this is expected.
grp.objects= someGroup.objects works now.

Some other small fixes made.

Made a wrapper for add_to_group() That handles the OB_FROMGROUP flag. Should be moved to group.c's add_to_group()

void add_to_group_wraper(Group *group, Object *ob) {
	Base *base;
	add_to_group(group, ob);

	if (!(ob->flag & OB_FROMGROUP)) { /* do this to avoid a listbase lookup */
		ob->flag |= OB_FROMGROUP;

		base= object_in_scene(ob, G.scene);
		if (base)
			base->flag |= OB_FROMGROUP;
	}
}

------------------------------------------------------------------------
r7091 | campbellbarton | 2006-03-18 18:24:59 +0100 (Sat, 18 Mar 2006) | 10 lines

Added object.dupliGroup so objects can access the groups they instance.
This is very confusing.
Since in object has
ob.setDupliGroup() # Enable/Disable Dupligroup
ob.getDupliGroup() # see if its enabled.
ob.dupliGroup # the group data this object is instancing.

Not yet added
ob.groups # Groups that use this object.

------------------------------------------------------------------------
r7090 | campbellbarton | 2006-03-18 16:53:06 +0100 (Sat, 18 Mar 2006) | 2 lines

Slight change, when moving the active object out of localview, keep it the activew object. Face Select mode, vpain etc need to complain if act ob isnt visible before the modes are activated.

------------------------------------------------------------------------
r7089 | campbellbarton | 2006-03-18 16:23:02 +0100 (Sat, 18 Mar 2006) | 3 lines

Moved declerations to the top of the skope so as to work with MSVC?
started removeing // from constant.h to shut GCC's -pedantic up. realized // are used everywhere.

------------------------------------------------------------------------
r7088 | campbellbarton | 2006-03-18 15:47:26 +0100 (Sat, 18 Mar 2006) | 5 lines

Added Blender.Group module
The plans for the new Python API are too far off to have this module conform.

Needs testing with MSVC 6

------------------------------------------------------------------------
r7087 | ton | 2006-03-18 15:45:15 +0100 (Sat, 18 Mar 2006) | 3 lines

Tsk! A 'new' for filehandle wasn't combined with a 'delete', which is
probably causing the leakage issues we have exr in linux.

------------------------------------------------------------------------
r7086 | campbellbarton | 2006-03-18 12:41:07 +0100 (Sat, 18 Mar 2006) | 4 lines

Update box unpack with faster python use
Update image loader, optional arg for not autocreating the image. - aslo removed some stuff that shouldent have been left in.
  Workaround for a bug in Blender.sys.exists()... should fix soon.

------------------------------------------------------------------------
r7085 | jesterking | 2006-03-17 17:42:43 +0100 (Fri, 17 Mar 2006) | 5 lines

==SCons==

* The documentation for BF_QUICKDEBUG et al, missing from previous commit. Also
  provided by Joseph Eagar.

------------------------------------------------------------------------
r7084 | jesterking | 2006-03-17 17:38:39 +0100 (Fri, 17 Mar 2006) | 6 lines

==SCons==
* Applied patch #4012 by Joseph Eagar. The patch provides a way to quickly assign a list
  of libraries to build with debug symbols. Usage:

  scons BF_QUICKDEBUG=src,bf_blenkernel,bf_blenlib

------------------------------------------------------------------------
r7083 | ton | 2006-03-16 21:42:00 +0100 (Thu, 16 Mar 2006) | 13 lines

We're now doing final conversions... float exrs to dpx amd png. Found a
couple of bugs in the new float support in sequencer;

- when effects have float buffer input, the effect strip itself only got
  byte buffers assigned, which bypassed the float versions of effects
- the float version of cross effect used ints to fade... should be float
- tests if an effect should be recalculated didn't check for float yet
- display of float buffer in sequencer preview showed black when no
  byte rect was in imbuf

Peter; we need this urgent, so I commit now.. check if this is according
to how you thought floatbuffers to work? thanks!

------------------------------------------------------------------------
r7082 | jesterking | 2006-03-16 20:16:26 +0100 (Thu, 16 Mar 2006) | 3 lines

==SCons==
* Link to png_st. Jens reported linking with dynamic lib crashed, but with static doesn't.

------------------------------------------------------------------------
r7081 | briggs | 2006-03-15 21:53:41 +0100 (Wed, 15 Mar 2006) | 29 lines

2 New tools, 'Loop to region' and 'Region to loop'

-> Loop to Region
Examines the current set of selected edges and seperates them into groups
 of 'loops' that each bisect the mesh into two parts. Then for each loop it
selects the smaller 'half' of the mesh.

Example images:
http://www.umsl.edu/~gcbq44/looptoregion2a.jpg
http://www.umsl.edu/~gcbq44/looptoregion2b.jpg

This tool handles multiple loops fine as is shown by these images:
http://www.umsl.edu/~gcbq44/looptoregion1a.jpg
http://www.umsl.edu/~gcbq44/looptoregion1b.jpg

Furthermore it handles 'holes' just fine as well:
http://www.umsl.edu/~gcbq44/looptoregion3a.jpg
http://www.umsl.edu/~gcbq44/looptoregion3b.jpg

-> Region to Loop

This is the 'logical inverse' of loop to region.

Example:
http://www.umsl.edu/~gcbq44/regiontoloop1a.jpg
http://www.umsl.edu/~gcbq44/regiontoloop1b.jpg

Both features can be accessed by the 'Edge Menu' in EditMode (CTRL-E).

------------------------------------------------------------------------
r7080 | ton | 2006-03-15 21:41:08 +0100 (Wed, 15 Mar 2006) | 4 lines

Dang... on background rendering (renderfarm) the user preset for temp dir
isn't set. Hardcoded it to /tmp/ now. Have put on list this requires a
better solution (same issue open for yafray afaik)

------------------------------------------------------------------------
r7079 | ton | 2006-03-15 19:16:25 +0100 (Wed, 15 Mar 2006) | 3 lines

Bugfix: In sequencer, duplicating effects crashed due to calling a NULL
callback.

------------------------------------------------------------------------
r7078 | ton | 2006-03-15 16:06:53 +0100 (Wed, 15 Mar 2006) | 2 lines

mmap allocs now fall back on regular malloc when mmap fails.

------------------------------------------------------------------------
r7077 | ton | 2006-03-15 11:44:58 +0100 (Wed, 15 Mar 2006) | 7 lines

Bugfix: when compositor reads incomplete renders, when using the new
render option "save result to disk" and ESC from rendering, it crashed...

Note; reading partially saved exr files still crash... but that's an issue
within the openexr lib. I've mailed the openexr dev list for assistance
how to properly close a partial saved tile-file.

------------------------------------------------------------------------
r7076 | ton | 2006-03-15 11:18:33 +0100 (Wed, 15 Mar 2006) | 6 lines

Silly copy/paste error enabled the 'save render to file' option always...
now the button works as meant to be.

Still working on the feature though... I noticed exr files dont read
back when only part was saved (on user break). Working...

------------------------------------------------------------------------
r7075 | ton | 2006-03-14 22:58:16 +0100 (Tue, 14 Mar 2006) | 3 lines

Bugfix: Node editor, ALT+G "UnGroup" crashed when group was editable.
Now it exits this editing mode, and ungroups nicely.

------------------------------------------------------------------------
r7074 | ton | 2006-03-14 22:29:42 +0100 (Tue, 14 Mar 2006) | 22 lines

Memory saving for large renders:

New option "Save Buffers", in first Output panel of renderbuttons, will not
allocate all render buffers, but instead save the rendered tiles to exr.
For each scene rendered, a single exr file then is created.
After rendering, the files get read, and only then the memory allocation is
done.

The exr files are saved in the temp dir (from user settings), and have
names derived from the filename+scene name. That way these buffers remain
relatively unique, and can be re-used later too.

Saving all render-layers and passes in a single file (as F3 command) will
be done later. Also reading back the current muli-layer exr files is not
supported yet (will read black). The purpose is that these files then can
be used as input for the Compositor.

One fun thing I added; after rendering once with this option, close
Blender, and restart it. If you have a Composite set up press 'R' on an
active RenderResult node. This will refresh the node(s) and load the exr,
so you can composite again without a re-render.

------------------------------------------------------------------------
r7073 | campbellbarton | 2006-03-14 21:28:02 +0100 (Tue, 14 Mar 2006) | 2 lines

Small updates to import images in win32.

------------------------------------------------------------------------
r7072 | campbellbarton | 2006-03-14 21:27:27 +0100 (Tue, 14 Mar 2006) | 2 lines

Support win32 paths.

------------------------------------------------------------------------
r7071 | ton | 2006-03-14 21:01:53 +0100 (Tue, 14 Mar 2006) | 3 lines

Crashfix in compositing RenderLayer that doesn't exist... can happen on
appending a scene, which used again another scene to do compomagic with. :)

------------------------------------------------------------------------
r7070 | stiv | 2006-03-14 19:28:47 +0100 (Tue, 14 Mar 2006) | 3 lines

tweak SCons to use Split() to parse BF_DEBUG_FLAGS and BF_PROFILE_FLAGS
properly when they have multiple options.

------------------------------------------------------------------------
r7069 | ton | 2006-03-14 18:48:40 +0100 (Tue, 14 Mar 2006) | 6 lines

WIP commit on getting the 'render result layers' saved in a single
file. Previous fix accidentally committed parts of that... :)

Note: it is currently disabled still... will commit the real version
soon.

------------------------------------------------------------------------
r7068 | ton | 2006-03-14 18:44:19 +0100 (Tue, 14 Mar 2006) | 2 lines

Urgh... the commit to free texture images always also did it for preview...

------------------------------------------------------------------------
r7067 | ton | 2006-03-14 14:26:33 +0100 (Tue, 14 Mar 2006) | 3 lines

Made 'free texture images' default for a while... gives too many errors
for stressed artists who forget it. Will rewind later. :)

------------------------------------------------------------------------
r7066 | jesterking | 2006-03-14 13:20:04 +0100 (Tue, 14 Mar 2006) | 3 lines

==SCons==
* CC and CXX for linux2

------------------------------------------------------------------------
r7065 | ton | 2006-03-14 12:29:06 +0100 (Tue, 14 Mar 2006) | 2 lines

CTRL+C copy menu now has "Copy UV orco" for curves/surfaces

------------------------------------------------------------------------
r7064 | ton | 2006-03-14 11:56:46 +0100 (Tue, 14 Mar 2006) | 6 lines

When faces are extremely small (like 0.01 size of pixel), the UV calculus
for faces can give inaccuracies resulting in UV values in the hundreds
range. The UV values now are being clipped.

This should fix weird 'shooting lines' for vectorblur on hair renders.

------------------------------------------------------------------------
r7063 | ton | 2006-03-14 10:54:40 +0100 (Tue, 14 Mar 2006) | 8 lines

Restored syntax for function calls in sequence.c.

Schlaile; do you have a weird texteditor setting or so? It breaks up
function calls in a very strange way, with each argument of a call
on a new line. That's not code that way, that's movie credits! :)

(Check the diff below to see)

------------------------------------------------------------------------
r7062 | ton | 2006-03-14 10:40:55 +0100 (Tue, 14 Mar 2006) | 6 lines

Interpolated scaling for float buffers in Imbuf still went wrong...
leftover bugs of first migration to floats in imbuf. :)

As extra I've reshuffled the mainloops for scaling, it's now twice as
fast.

------------------------------------------------------------------------
r7061 | bjornmose | 2006-03-14 09:49:41 +0100 (Tue, 14 Mar 2006) | 4 lines

restoring minimum debug build on msvc6 projects
-no GE
-no OpenExr / hum.. may be that's why storing a PNG does not crash

------------------------------------------------------------------------
r7060 | lukep | 2006-03-13 19:27:51 +0100 (Mon, 13 Mar 2006) | 3 lines

security patch #3910 provided by Joerg Sonnenberger on Os X
file opening

------------------------------------------------------------------------
r7059 | ton | 2006-03-13 19:16:23 +0100 (Mon, 13 Mar 2006) | 5 lines

Autosmooth fix: if original Mesh has same amount of faces and vertices
as the one resulting from Modifiers, it uses that data to calculate
autosmooth for. This prevents weird stuff on rendering softbody for
example.

------------------------------------------------------------------------
r7058 | guitargeek | 2006-03-13 15:44:49 +0100 (Mon, 13 Mar 2006) | 2 lines

A small alteration for  C syntax, code before vars (MSVC complained about this).

------------------------------------------------------------------------
r7057 | jesterking | 2006-03-13 15:43:20 +0100 (Mon, 13 Mar 2006) | 7 lines

==BPy==
* move declaration to start of function. Again I repeat: these *have* to
  be at the start. GCC users should check themselves always, as GCC allows
  this kind of atrocities :)

  /Nathan

------------------------------------------------------------------------
r7056 | jesterking | 2006-03-13 14:45:11 +0100 (Mon, 13 Mar 2006) | 3 lines

==SCons==
* If you look quickly somewhere else, you won't notice the missing ''s

------------------------------------------------------------------------
r7055 | jesterking | 2006-03-13 14:42:56 +0100 (Mon, 13 Mar 2006) | 5 lines

==SCons==
* Begin of the week, so I wanted to fill my commit quota right off the bat.
  Add CC and CXX defaults for mingw, too. Unless we have invisible configs
  this should be the last one :S

------------------------------------------------------------------------
r7054 | jesterking | 2006-03-13 13:00:01 +0100 (Mon, 13 Mar 2006) | 6 lines

==SCons==
* added default compilers for darwin and win32-vc. Sorry orangers :) (Note:
  this was not slapping opportunity related to cross-compile)

  /Nathan

------------------------------------------------------------------------
r7053 | jesterking | 2006-03-13 12:42:49 +0100 (Mon, 13 Mar 2006) | 15 lines

==SCons==

* These changes bring cross-compiling Blender for Windows on Linux one step
  closer to reality. The 'biggest' change is in makesdna SConscript to make
  sure a linux native makesdna is built, that can be run, too. Next to that
  proper checks for env['OURPLATFORM']=='linuxcross' are added in various
  places.

  Switch change in pluginapi.c was necessary, and AFAIK it should work like
  that also on WIN32, if not, slap me.

  Note: everything *compiles* now nicely, it is just that the final *linking*
  doesn't work (yet). Anyone who fixes this will be the
  hero of cross-compilers :)

------------------------------------------------------------------------
r7052 | ton | 2006-03-13 12:01:17 +0100 (Mon, 13 Mar 2006) | 10 lines

Two fixes in renderpipe...

- Renderwin still used a thread-unsafe malloc, in the header text print

- Setting clipping flags in vertices for parts required a mutex lock after
  all... I thought it would go fine, but noticed on renders with small
  amounts of faces that sometimes faces disappear from a render.
  (was doing movie credits, so all faces are visible! Otherwise it would
  have hardly been noticable...)

------------------------------------------------------------------------
r7051 | jesterking | 2006-03-13 09:49:06 +0100 (Mon, 13 Mar 2006) | 4 lines

==SCons==
* actually add CC and CXX to option handling, so they get also read in
  from (platform)-config.py and user-config.py

------------------------------------------------------------------------
r7050 | lukep | 2006-03-13 03:22:48 +0100 (Mon, 13 Mar 2006) | 12 lines

fix for bug #3930 Colour picker broken - HSV sliders

Note : this part of code was quite a mess with things called twice when
not needed, tests for not updating when we want to, and hsv sliders not
handled properly.

I tried to figure what was useful and what was not but cannot garantee i
spotted everything or even fixed it the most proper way, the event callback
nesting making hard to figure what really happen.

However it does work again now

------------------------------------------------------------------------
r7049 | campbellbarton | 2006-03-13 03:14:45 +0100 (Mon, 13 Mar 2006) | 2 lines

oops, removed a decleration by mistake, also removed warnings.

------------------------------------------------------------------------
r7048 | campbellbarton | 2006-03-13 03:02:19 +0100 (Mon, 13 Mar 2006) | 6 lines


Scene unlinking didnt set the python objects scene to NULL,causing memory errors if accessing the data after the scene was unlinked.
Also a few functions segfulted if scene was unlinked, added more checking.

First commit from win32, hope line endings are ok.

------------------------------------------------------------------------
r7047 | ton | 2006-03-12 22:26:34 +0100 (Sun, 12 Mar 2006) | 3 lines

More bugs in float imbuf scaling code... an x and y were mixed up, causing
memory troubles.

------------------------------------------------------------------------
r7046 | ton | 2006-03-12 20:53:23 +0100 (Sun, 12 Mar 2006) | 2 lines

Scaling code in imbuf didn't like float buffers enough yet

------------------------------------------------------------------------
r7045 | ton | 2006-03-12 20:48:51 +0100 (Sun, 12 Mar 2006) | 2 lines

Forgot Cineon lib in Makefile :)

------------------------------------------------------------------------
r7044 | ton | 2006-03-12 20:00:48 +0100 (Sun, 12 Mar 2006) | 2 lines

Sequencer now outputs float buffers to render too, when available.

------------------------------------------------------------------------
r7043 | jesterking | 2006-03-12 16:23:56 +0100 (Sun, 12 Mar 2006) | 4 lines

==SCons==

* cineon support enabled for SCons (part 2 of fix)

------------------------------------------------------------------------
r7042 | jesterking | 2006-03-12 16:23:00 +0100 (Sun, 12 Mar 2006) | 4 lines

==SCons==

* first part of cineon fix commit - after next commit it'll compile also with SCons

------------------------------------------------------------------------
r7041 | antont | 2006-03-12 16:03:52 +0100 (Sun, 12 Mar 2006) | 2 lines

=there was even another comma missing, joeedh does not use scons and i did not test in the clean build - sorry! jestie is taking over now.

------------------------------------------------------------------------
r7040 | antont | 2006-03-12 16:01:22 +0100 (Sun, 12 Mar 2006) | 2 lines

=the famous missing comma

------------------------------------------------------------------------
r7039 | antont | 2006-03-12 16:00:14 +0100 (Sun, 12 Mar 2006) | 2 lines

a missing SConstruct file for cineon/dpx

------------------------------------------------------------------------
r7038 | ton | 2006-03-12 15:51:33 +0100 (Sun, 12 Mar 2006) | 5 lines

Half fix for colorpicker: after using sliders, the redraw callback was
too late... moved it one line up. :)

Still unknown; why doesn't HSV color field not redraw?

------------------------------------------------------------------------
r7037 | ton | 2006-03-12 15:11:23 +0100 (Sun, 12 Mar 2006) | 22 lines

New: Import/Export of Cineon and DPX image files. The first is Kodak's
standard for film scanning, 10 bits/channel and logarithmic. DPX is
derived from Cineon as the ANSI/SMPTE industry standard.
DPX supports 16 bits color/channel, linear as well as logarithmic.

Code has been gratefully copied from CinePaint and was integrated in
Blender by Joe Eagar.

According to CinePaint's dev Robin Rowe the DPX code defaults to log
colorspace. Can't find in the code clues yet how to enable/disable that.
However, tests with write/read of DPX seems to show no visible loss by
log conversion code. Might be because it uses the entire 16 bit range...

CinePaint dpx files have been succesfully imported in a Quantel IQ HD/2K
finishing/grading set without problem, so for now I guess we can
use it! :)

Changes in code: added tests for image magic numbers before entering
the actual reading code. Prevents error prints, and makes it faster too.
(Note; this because Blender doesn't check for extensions, but calls
reading functions on every file until one accepts it. :)

------------------------------------------------------------------------
r7036 | ton | 2006-03-12 14:03:40 +0100 (Sun, 12 Mar 2006) | 2 lines

Pressing Tkey in empty action window crashed... bad pointer handling.

------------------------------------------------------------------------
r7035 | ton | 2006-03-12 12:51:56 +0100 (Sun, 12 Mar 2006) | 15 lines

A couple of render improvements;

- Bug fix: the upper tile in a collumn for Panorama render didn't put the
  mainthread to sleep properly. Now panorama renders 25% faster if you had
  set Y-Parts to 4.

- Enabling Compositing in Scene for first time now adds a "Composite" node
  too, so render output gets applied.
- An attempt to render with "Do Composite" without "Composite" node will
  throw an error and stops rendering. In background mode it will just not
  render at all, and print errors.
- Errors that prevent rendering now give a popup menu again.
- Having MBlur or Fields option on will now normally render, but with an
  error print in console (not done yet...)

------------------------------------------------------------------------
r7034 | ton | 2006-03-12 00:10:13 +0100 (Sun, 12 Mar 2006) | 6 lines

Added security to vectorbuffer code... before it gets used, it checks
for leftover initialized max-speed values, and clears it. Also gives
a giant print then... I want to know when it happens, and howto redo!

(error print = "tsk tsk! PASS_VECTOR_MAX left in buffer...")

------------------------------------------------------------------------
r7033 | ton | 2006-03-11 22:46:19 +0100 (Sat, 11 Mar 2006) | 13 lines

And now the studio is rendering panoramas... finding out that vectorblur
also could use correction for it.
The current perspective projected blur would look in 180 degree view like
this:

http://www.blender.org/bf/p2.jpg
(circle of planes rotating around camera)

After some fight with my rusty highschool gonio I got it fixed; nice
cylindrical projected speedvectors:

http://www.blender.org/bf/p1.jpg

------------------------------------------------------------------------
r7032 | blendix | 2006-03-11 22:09:32 +0100 (Sat, 11 Mar 2006) | 7 lines


==UV Editor==

Ctrl+RMB in local sticky mode now selects as if in sticky mode. This used
to work only in non-sticky mode, but now with local sticky as default,
it's nice to have this functionality working there also.

------------------------------------------------------------------------
r7031 | ton | 2006-03-11 19:51:41 +0100 (Sat, 11 Mar 2006) | 10 lines

Fix for messy commits in attempt to fix groups wire colors...

- if you add new theme colors, you need to initialize them correctly and
  add that in the usiblender.c version patching for saved themes
- the code for detecting group membership was highly confusing
- group colors were even used for non-groups

Further; I didnt add group theme colors yet, that's not a bug. It's a todo
item I preferred to tackle with having a decent wirecolor system once.

------------------------------------------------------------------------
r7030 | khughes | 2006-03-11 19:18:32 +0100 (Sat, 11 Mar 2006) | 5 lines



Bugfix #3995: NMesh.GetRawFromObject() would segfault sometimes if object
was in editmode, due to undefined derivedmesh data.

------------------------------------------------------------------------
r7029 | blendix | 2006-03-11 18:15:10 +0100 (Sat, 11 Mar 2006) | 6 lines


Fix for bug #3739:

Drawing of multiple materials in texture mode, if there is no texface,
didn't use correct materials.

------------------------------------------------------------------------
r7028 | blendix | 2006-03-11 17:39:07 +0100 (Sat, 11 Mar 2006) | 7 lines


Fix for bug #3997:

Rotating UV coordinates with snapping was image aspect ratio 'corrected'
for non square images. Only snapping for translation should be affected
by the aspect ratio.

------------------------------------------------------------------------
r7027 | blendix | 2006-03-11 17:13:10 +0100 (Sat, 11 Mar 2006) | 11 lines


Fix for bug #3802: Display problems with modifiers and uv face select

The bug reported here was already fixed some weeks ago, but there were
more issues. Modifier display in face select and paint modes was never
properly finished.

This fixes some small drawing update glitches, and only allows modifiers
that preserve a mapping to the original mesh to be applied. Otherwise
selection and painting isn't even possible.

------------------------------------------------------------------------
r7026 | khughes | 2006-03-11 17:00:07 +0100 (Sat, 11 Mar 2006) | 10 lines



===Python API===
A bug fix and an enhancement:
   * fixed bug when adding or deleting faces from a mesh which has
     vertexColors; mesh->mcol was not being updated
   * changed edges.extend() and faces.extend() to accept integer vertex
     indices in addition to MVerts; this should make scripts simpler and
     in general make things run faster

------------------------------------------------------------------------
r7025 | lukep | 2006-03-11 14:33:52 +0100 (Sat, 11 Mar 2006) | 5 lines

changes in darwin config.py to reflect Nathan changes & better defaults.

Important note : for gcc3 linking you may have to remove -fexceptions
from LINKFLAGS but this is mandatory for gcc4

------------------------------------------------------------------------
r7024 | jesterking | 2006-03-11 14:15:39 +0100 (Sat, 11 Mar 2006) | 3 lines

==SCons==
* a comma was missing from a list :S

------------------------------------------------------------------------
r7023 | ton | 2006-03-11 13:34:50 +0100 (Sat, 11 Mar 2006) | 14 lines

With the commit last week to have curve bevels nice circular (when no
front/back is selected), the UV coordinates for curves should also be
corrected.
This commit re-uses the same code as for Nurbs, to make sure UV coordinates
wrap around nicely.

BUT! I've noticed that Daniel's commit of august in this code actually
broke this UV correction... in his craze to cleanup old code, he missed
the actual functionality. Meaning that in 2.40 and 2.41, "UV orco" texture
coordinates wrap around ugly in Nurbs Surfaces, something that was fixed
in NaN days.

Got no time for tracker now... but I'm sure it's in there! :)

------------------------------------------------------------------------
r7022 | letterrip | 2006-03-11 11:51:06 +0100 (Sat, 11 Mar 2006) | 4 lines

==scripts==

removing obsolete and redundant scripts from the repository

------------------------------------------------------------------------
r7021 | letterrip | 2006-03-11 11:45:48 +0100 (Sat, 11 Mar 2006) | 4 lines

==scripts==

updated directx8 exporter by Ben Omari

------------------------------------------------------------------------
r7020 | letterrip | 2006-03-11 04:23:57 +0100 (Sat, 11 Mar 2006) | 4 lines

==oops==

on reading the function looks like it is instead meant to select isolated edges and verts - doh! so changing back to previous...

------------------------------------------------------------------------
r7019 | letterrip | 2006-03-11 03:44:44 +0100 (Sat, 11 Mar 2006) | 8 lines

==bug fix==

3773 - toolbox function name of 'select - non-triangles/quads'

changed to 'select - non-triangle/quad faces'

for clarity (user expected it to select verts and edges from the name)

------------------------------------------------------------------------
r7018 | khughes | 2006-03-11 02:17:21 +0100 (Sat, 11 Mar 2006) | 6 lines



Bugfix: Object.link() was not correctly handling object/datablock material
counting, causing "Error Totblock" messages on exit due to memory not being
freed.  Added a call to test_object_materials() after the new data is linked.

------------------------------------------------------------------------
r7017 | khughes | 2006-03-11 02:14:33 +0100 (Sat, 11 Mar 2006) | 4 lines



Bugfix #3898: Scene.unlink() was not decrementing the datablock user count.

------------------------------------------------------------------------
r7016 | jesterking | 2006-03-10 23:50:27 +0100 (Fri, 10 Mar 2006) | 8 lines

==SCons==

* Small CVS surgery, winblender_scons.rc renamed to winblender.rcscons on repository
  and change also in this SConscript. In case it was not yet clear as why there is a second
  resource file with the same icons: the SCons RES() function needs the paths to be able
  to generate the proper resource object. Change suggested by Joseph Eagar to prevent
  problems with the Makefiles.

------------------------------------------------------------------------
r7015 | khughes | 2006-03-10 22:39:14 +0100 (Fri, 10 Mar 2006) | 7 lines



===Python API===
Additions to BezTriple API: complete get/set access to all BezTriple settings
(knot and handles points, handle types, tilt/alfa, hide, weight and selection
status).

------------------------------------------------------------------------
r7014 | khughes | 2006-03-10 22:05:30 +0100 (Fri, 10 Mar 2006) | 5 lines



Bugfix #3895: Call to PyString_FromString() wasn't being Py_DECREF()'ed,
causing a memory leak.

------------------------------------------------------------------------
r7013 | jesterking | 2006-03-10 21:47:34 +0100 (Fri, 10 Mar 2006) | 4 lines

==SCons==

+ Joseph Eagar provided a patch that re-enables the application icon for Blender. Hurray!

------------------------------------------------------------------------
r7012 | jesterking | 2006-03-10 21:11:48 +0100 (Fri, 10 Mar 2006) | 6 lines

==SCons==

* change CCFLAGS to CXXFLAGS and CFLAGS to CCFLAGS to be better
  for SCons
- removed old cruft from ancient system

------------------------------------------------------------------------
r7011 | pidhash | 2006-03-10 20:49:25 +0100 (Fri, 10 Mar 2006) | 3 lines

fix for bug 3970
.

------------------------------------------------------------------------
r7010 | pidhash | 2006-03-10 20:47:36 +0100 (Fri, 10 Mar 2006) | 3 lines

fix bug 3970
.

------------------------------------------------------------------------
r7009 | pidhash | 2006-03-10 19:52:49 +0100 (Fri, 10 Mar 2006) | 3 lines

fix for bug 3970
.

------------------------------------------------------------------------
r7008 | campbellbarton | 2006-03-10 03:55:18 +0100 (Fri, 10 Mar 2006) | 2 lines

Fixed a mistake where the hrad/tail radius UI numinput didnt check weather the bobne was connected before using the parents tail value for its head.

------------------------------------------------------------------------
r7007 | jesterking | 2006-03-10 00:48:56 +0100 (Fri, 10 Mar 2006) | 4 lines

==SCons==
* if you all look to the left, you won't see that on the right BF_PRIORITYLIST
  was spelled BF_PRIORITY_LIST twice.

------------------------------------------------------------------------
r7006 | ton | 2006-03-09 23:50:36 +0100 (Thu, 09 Mar 2006) | 16 lines

Vectorblur fix:

To be able to make good masks, it is important to separate the non moving
pixels from the moving ones. With fixes I did 2 weeks ago, a floating
point inaccuracy causes speed vectors to be not always zero perfectly...
and the masks to get badly shaped.

It was clearly visible on moving objects over a non-moving background.
Current commit includes minimal threshold to force speed to zero. Images
are nice and smooth again. :)

Bad:
http://www.blender.org/bf/vb1.jpg
Good again:
http://www.blender.org/bf/vb2.jpg

------------------------------------------------------------------------
r7005 | briggs | 2006-03-09 23:44:14 +0100 (Thu, 09 Mar 2006) | 3 lines

-> Path Select Tool
Rewrote path select tool to use binary heap implementation from BLI_heap.h. Incredible speedup! Thanks to Brecht for the tip.

------------------------------------------------------------------------
r7004 | ton | 2006-03-09 23:05:53 +0100 (Thu, 09 Mar 2006) | 3 lines

Commit from campbell of march 5 crashes when no object was active and you
do a move to layer...

------------------------------------------------------------------------
r7003 | letterrip | 2006-03-09 21:14:18 +0100 (Thu, 09 Mar 2006) | 4 lines

==compile fix==

ffmpeg compile fix for cygwin by Peter

------------------------------------------------------------------------
r7002 | mikasaari | 2006-03-09 17:57:19 +0100 (Thu, 09 Mar 2006) | 4 lines

Fixed bug "Bug Tracker item #3988", where <builtin> TTF (datatoc_bfont_ttf)
wasn't handled as UTF-8 font but like normal <builtin> font. This caused
Blender to crash.

------------------------------------------------------------------------
r7001 | ton | 2006-03-09 16:56:08 +0100 (Thu, 09 Mar 2006) | 6 lines

Uncommitted change of Campbell 9 days ago... the rest of the logic
editor now screws up... smells like a bug in alignment code, will need
to be checked on.

(Campbell: you sure checked the buttons before committing this? ;)

------------------------------------------------------------------------
r7000 | ton | 2006-03-09 16:18:53 +0100 (Thu, 09 Mar 2006) | 3 lines

Improved CTRL+G grouping menu; it now offers a choice to add to any
existing group, using a 2nd menu.

------------------------------------------------------------------------
r6999 | ton | 2006-03-09 13:48:13 +0100 (Thu, 09 Mar 2006) | 6 lines

Bugfix... very ancient one even. When you use multiple screens in a project
with each having different scenes, changing screens didn't call the proper
set_scene() call, which left quite some stuff improperly initialized.

With depsgraph code even causes crashing.

------------------------------------------------------------------------
r6998 | ton | 2006-03-09 13:20:00 +0100 (Thu, 09 Mar 2006) | 3 lines

AO did not include own material rgb in calculus, causing too bright AO.
Error caused by WIP on rendering passes.

------------------------------------------------------------------------
r6997 | ton | 2006-03-09 12:25:20 +0100 (Thu, 09 Mar 2006) | 2 lines

When imbuf has both float and byte rects, the scale-fast function crashed.

------------------------------------------------------------------------
r6996 | ton | 2006-03-09 11:13:37 +0100 (Thu, 09 Mar 2006) | 13 lines

<sob>dropping OpenGL float buffer drawing... it seems that this isn't
a well supported feature for glDrawPixels(), especially on ATIs crashes
happen with it irregularly. (note; drawing float is a regular opengl 1.0
feature...).

Now all scanline/part updates in renderwindow is converted to 32 bits
before drawing, also the in the UV Image window only 32 bits RGBA is drawn.

What is still float: drawing the final image after render in renderwindow,
and drawing the Z or Alpha in renderwindow and UV image.

Of course we need to test this first. :) Will await reports...

------------------------------------------------------------------------
r6995 | letterrip | 2006-03-09 01:34:49 +0100 (Thu, 09 Mar 2006) | 4 lines

==compile fix==

added RE_RenderLayer to stubs.c so we can compile gameengine

------------------------------------------------------------------------
r6994 | ton | 2006-03-08 22:12:48 +0100 (Wed, 08 Mar 2006) | 3 lines

Compositing goodie: ESC now works to stop, but it will finish the node it
was working on.

------------------------------------------------------------------------
r6993 | ton | 2006-03-08 18:45:32 +0100 (Wed, 08 Mar 2006) | 2 lines

Baking all selected softbody: press ctrl+b in 3d window!

------------------------------------------------------------------------
r6992 | ton | 2006-03-08 18:27:20 +0100 (Wed, 08 Mar 2006) | 3 lines

<blush>Nice work on renderlayer control yesterday, but... then you should
also change this line in creator.c dude!</blush>

------------------------------------------------------------------------
r6991 | ton | 2006-03-08 18:00:48 +0100 (Wed, 08 Mar 2006) | 3 lines

Bugfix: Sofbody baking included the 'start frame' for the object in
calculus, causing empty keys in the bake, and crashes.

------------------------------------------------------------------------
r6990 | ton | 2006-03-08 14:06:32 +0100 (Wed, 08 Mar 2006) | 8 lines

Compositor now checks for cyclic nodes too, and skips them while executing.
This prevents eternal loops. It prints error message in console.

Note that the Shader nodes dont need this, since they're just executed in
presorted order. The compositing nodes use threading, with a call asking
for the next job... if this includes cyclic nodes, the 'next job' will
always return  NULL.

------------------------------------------------------------------------
r6989 | ton | 2006-03-08 13:28:46 +0100 (Wed, 08 Mar 2006) | 9 lines

Test with render window not drawing in frontbuffer anymore. Only enabled
now for OSX though... that's where we can verify if the irregular crashes
will stop (ATI issue, nvidia seems to be OK)

If ATI users for other platforms want to check; just extend the two
#ifdefs I added for frontbuffer drawing. Note; the syntax then becomes

#if defined(__APPLE__) || defined(_YOUR_PLATFORM_)

------------------------------------------------------------------------
r6988 | ton | 2006-03-08 12:07:49 +0100 (Wed, 08 Mar 2006) | 8 lines

Quick feature: "Around Individual Centers" now works in editmode mesh, but
only in Face-Select mode. It then uses for rotate and scaling the face
center itself as reference.

Code uses a loop-in-loop to find the face that belongs to the vertex...
means it will be slow with operations on 10k or more faces. Acceptable
for now, will make it nicer later. :)

------------------------------------------------------------------------
r6987 | briggs | 2006-03-08 04:28:17 +0100 (Wed, 08 Mar 2006) | 24 lines

-> Path Select Tool

Added a new tool to the 'W-Key' popup menu in mesh editmode, 'Path Select'.
When exactly two vertices are selected, 'Path Select' will find the shortest
path of vertices between them. There are two methods for determining
the shortest path, one that finds the path with shortest physical
distance, and one that finds the path with shortest topological distance.

Examples:

Original Selection
http://www.umsl.edu/~gcbq44/pathselect.jpg

Path Select - Edge Length
http://www.umsl.edu/~gcbq44/pathselect-shortestphysical.jpg

Path Select - Topological
http://www.umsl.edu/~gcbq44/pathselect-topological.jpg

The tool uses a straightforward implementation of Dijsktra's algorithm
and may be a bit slow on extremely large meshes. As a speedup you can
hide the parts of the mesh that you are not working on and they will
not be searched.

------------------------------------------------------------------------
r6986 | ton | 2006-03-07 22:50:26 +0100 (Tue, 07 Mar 2006) | 5 lines

Small fix for surviving changes in library data.

In case an armature object lost its object-data, it crashed in trying
to link the pose data.

------------------------------------------------------------------------
r6985 | ton | 2006-03-07 22:26:37 +0100 (Tue, 07 Mar 2006) | 4 lines

Compositing workflow goodie; each 'render result' node now has a button
option to re-render that specific node. Also works for nodes using other
scenes.

------------------------------------------------------------------------
r6984 | schlaile | 2006-03-07 21:28:05 +0100 (Tue, 07 Mar 2006) | 2 lines

Fixes a small warning, when compiling without ffmpeg

------------------------------------------------------------------------
r6983 | schlaile | 2006-03-07 21:01:12 +0100 (Tue, 07 Mar 2006) | 11 lines

this patch features several cleanups and bugfixes for the sequencer:
- blur works again (this was a serious bug in gamwarp...)
- seperates all sequence effects into a seperate file with a clean interface
- thereby fixing some obscure segfaults
- seperates the scope views into a seperate file
- adds float support to all effects and scope views
- removes a bad level call to open_plugin_seq
- FFMPEG seeking improved a lot.
- FFMPEG compiles with debian sarge version cleanly
- Makes hdaudio seek and resample code really work

------------------------------------------------------------------------
r6982 | ton | 2006-03-07 15:54:16 +0100 (Tue, 07 Mar 2006) | 2 lines

Error in previous commit... can't read from data that was not read :)

------------------------------------------------------------------------
r6981 | ton | 2006-03-07 15:47:41 +0100 (Tue, 07 Mar 2006) | 4 lines

Quickfix: appending scenes from a file, won't expand the other scenes
when used in a compositor node... this is quite useless, and invokes
importing all data.

------------------------------------------------------------------------
r6980 | ton | 2006-03-07 14:29:25 +0100 (Tue, 07 Mar 2006) | 2 lines

CTRL+C Copy Menu now includes modifiers for Curve objects.

------------------------------------------------------------------------
r6979 | ton | 2006-03-07 12:45:28 +0100 (Tue, 07 Mar 2006) | 3 lines

Eeek! Forgot an else in the code for 'nice circular bevels' on curves,
caused bevelobjects to not display

------------------------------------------------------------------------
r6978 | ton | 2006-03-06 22:44:08 +0100 (Mon, 06 Mar 2006) | 3 lines

Curves with bevel, but without front/back or extrude depth, now render
as a full circle instead of 2 halves.

------------------------------------------------------------------------
r6977 | jesterking | 2006-03-06 15:50:08 +0100 (Mon, 06 Mar 2006) | 3 lines

==SCons==
* BF_DEBUG_FLAGS was missing for the allowed cmd-line arguments. Oops!

------------------------------------------------------------------------
r6976 | ton | 2006-03-06 14:50:07 +0100 (Mon, 06 Mar 2006) | 4 lines

Render option "Single Layer" now keeps the already rendered other layers,
and after rendering restores them. Also means this option works for
compositing now.

------------------------------------------------------------------------
r6975 | campbellbarton | 2006-03-06 03:07:39 +0100 (Mon, 06 Mar 2006) | 3 lines

quick fix for Python armature CVS making bones with no layers, therefor being invisible.
Should realy have Bone/Layer access through python.

------------------------------------------------------------------------
r6974 | campbellbarton | 2006-03-06 02:11:56 +0100 (Mon, 06 Mar 2006) | 4 lines

Rather then just complaining it cant be done, made M move objects out of the current localview.
This is quicker then switching to non localview, de-selecting and going back into localview.
  Test by pressing Mkey in localview.

------------------------------------------------------------------------
r6973 | ton | 2006-03-05 23:31:32 +0100 (Sun, 05 Mar 2006) | 2 lines

Added CTRL+L link copy and SHIFT+L link select for group-duplicators.

------------------------------------------------------------------------
r6972 | themyers | 2006-03-05 20:56:31 +0100 (Sun, 05 Mar 2006) | 2 lines

Removes warning in drawtext.c

------------------------------------------------------------------------
r6971 | themyers | 2006-03-05 20:50:14 +0100 (Sun, 05 Mar 2006) | 6 lines

Adds menu item in text editor under format menu to convert whitespace to
Spaces or to tabs.
Adds function void convert_tabs(struct SpaceText *st, int tab)
int tab is eather 0 or 1; 1 if converting to tabs
I was going to make this auto run when running a script but did not know what that would do to the GE or any thing else.

------------------------------------------------------------------------
r6970 | lukep | 2006-03-05 19:34:49 +0100 (Sun, 05 Mar 2006) | 6 lines

fix for bug #3655
adding a DAG update like in other implantations of the call supress
the crash on remove double.

added the undo push too to be consistant

------------------------------------------------------------------------
r6969 | ton | 2006-03-05 18:35:06 +0100 (Sun, 05 Mar 2006) | 4 lines

Fix for appending data from other files: if this appended data
again was linking from another file, this relationship was not
corrected (lib_indirect -> lib_extern), so also not saved in a file.

------------------------------------------------------------------------
r6968 | elubie | 2006-03-05 17:36:32 +0100 (Sun, 05 Mar 2006) | 4 lines

=== code cleanup ===
Replacing strcpy with BLI_strncpy where it's safe.
Was part of patch #2840 - thanks Eric Forsythe.

------------------------------------------------------------------------
r6967 | hos | 2006-03-05 15:58:56 +0100 (Sun, 05 Mar 2006) | 3 lines

It looks like Irix works alright with the /dev/zero trick for mmap().
I had to include fcntl.h for Irix to get symbol O_RDWR.

------------------------------------------------------------------------
r6966 | hos | 2006-03-05 15:56:51 +0100 (Sun, 05 Mar 2006) | 4 lines

Some C conpilers only want variables to be initialized with constants,
and will not allow variables to be initialized with the contents of
other variables.

------------------------------------------------------------------------
r6965 | ton | 2006-03-05 15:37:46 +0100 (Sun, 05 Mar 2006) | 3 lines

Ungrouping a Node in Compositor left uiBlock pointers unchanged in
nodes, causing crashes evidently. :)

------------------------------------------------------------------------
r6964 | ton | 2006-03-04 23:35:28 +0100 (Sat, 04 Mar 2006) | 2 lines

Also fixed memory print for background render to survive > 2 gig (unsigned)

------------------------------------------------------------------------
r6963 | ton | 2006-03-04 23:22:38 +0100 (Sat, 04 Mar 2006) | 2 lines

To prevent confusement; used %u (unsigned int) for printing memory error.

------------------------------------------------------------------------
r6962 | theeth | 2006-03-04 19:19:05 +0100 (Sat, 04 Mar 2006) | 7 lines

=== Script Update: UV Export ===

Updated the interface to use PupBlock and the FileSelector instead of drawing a full GUI
Fix a crash when no objects were selected and the Ob option was activated
Added option to edit the resulting image in an external program (this needs a full python distro for the os module. it detects the presence of the module and shows the option only if possible).
Saves the selected settings (except the save path) with Registry, so they get loaded back next time you use the script.

------------------------------------------------------------------------
r6961 | ton | 2006-03-04 18:05:28 +0100 (Sat, 04 Mar 2006) | 6 lines

Dupli-Group fix: when using multiple instances of groups, with groups on
different layers, the layer flags of objects got mixed up on selection.

This caused groups to become unselectable or uneditable, also the original
group...

------------------------------------------------------------------------
r6960 | blendix | 2006-03-04 17:23:15 +0100 (Sat, 04 Mar 2006) | 4 lines


Fixes for some gcc 4 warnings in intern/. More than 100 lines of warnings
for 2 unused parameters in templated c++ code, that's just ridiculous.

------------------------------------------------------------------------
r6959 | khughes | 2006-03-04 01:04:45 +0100 (Sat, 04 Mar 2006) | 6 lines



===Python API===
Taking a hint from Hos, started adding some (hopefully) better examples into
the documentation for creating and manipulating meshes.

------------------------------------------------------------------------
r6958 | briggs | 2006-03-03 19:00:33 +0100 (Fri, 03 Mar 2006) | 2 lines

-> Silly mistake in loop_multiselect() in editmesh_mods.c, called EM_select_flush() instead of EM_selectmode_flush()... Oops!

------------------------------------------------------------------------
r6957 | pidhash | 2006-03-03 18:45:23 +0100 (Fri, 03 Mar 2006) | 3 lines

fix for bug 3903
.

------------------------------------------------------------------------
r6956 | ton | 2006-03-02 23:54:12 +0100 (Thu, 02 Mar 2006) | 2 lines

New copy option in CTRL+C menu: copy autosmooth settings.

------------------------------------------------------------------------
r6955 | ton | 2006-03-02 20:49:51 +0100 (Thu, 02 Mar 2006) | 3 lines

Improved error print in case malloc returns NULL; it now adds the current
total allocated.

------------------------------------------------------------------------
r6954 | ton | 2006-03-02 17:09:30 +0100 (Thu, 02 Mar 2006) | 4 lines

Accidentally mixed up a true and false statement for detecting if halos
need panorama clipping or regular clip, causing halos to not render
without panorama...

------------------------------------------------------------------------
r6953 | campbellbarton | 2006-03-02 02:00:13 +0100 (Thu, 02 Mar 2006) | 2 lines

Fixed mistake where BLI_countlist(&(lb)) should be BLI_countlist(lb)

------------------------------------------------------------------------
r6952 | ton | 2006-03-02 00:45:25 +0100 (Thu, 02 Mar 2006) | 9 lines

Feature: Sofbody bake "Local"

Sofbody simulation happens in global coordinate space, and this was also
used for baking softbodies. Too bad you cannot re-use or further animate
the baked softbody then... :)

If you now use the new "Local" button in the Bake menu, it will allow to
animate or move the baked object.

------------------------------------------------------------------------
r6951 | ton | 2006-03-01 22:18:31 +0100 (Wed, 01 Mar 2006) | 2 lines

Proper syntax for freeing an allocated array in silly c++ :)

------------------------------------------------------------------------
r6950 | blendix | 2006-03-01 16:30:10 +0100 (Wed, 01 Mar 2006) | 14 lines


Array modifier patch by Ben Batt! (#3788)

This modifier allows to make arrays of meshes, with multiple offset types:
- constant offset
- offset relative to object width
- offset with scale and rotation based on another object

The number of duplicates can be computed based on a fixed count, fixed length
or length of a curve. Duplicate vertices can be automatically merged.

Nice docs and example files available in the wiki:
http://mediawiki.blender.org/index.php/BlenderDev/ArrayModifier

------------------------------------------------------------------------
r6949 | jesterking | 2006-03-01 10:15:50 +0100 (Wed, 01 Mar 2006) | 3 lines

==SCons==
* WITH_BF_GAMEENGINE=0 implicitely means WITH_BF_BULLET=0 now

------------------------------------------------------------------------
r6948 | briggs | 2006-03-01 04:33:45 +0100 (Wed, 01 Mar 2006) | 4 lines

-> Vertex Group/Weight support in removedoublesflag()

Remove doubles didn't previously deal with vertex groups/weights properly. Now it averages the weights of vertices when they are doubles and share the same group. Verts that get merged but don't belong to all the same groups are dealt with as well.

------------------------------------------------------------------------
r6947 | sirdude | 2006-03-01 00:58:17 +0100 (Wed, 01 Mar 2006) | 10 lines


reverted the looping vs switch statement.  I don't know what I was thinking
in doing this in the first place.  (1 conditional vs 1 per loop duh)
Thanks for calling me on this Alexander.

(I didn't actually benchmark it to see but its pretty obvious which is less
work for the computer.)

Kent

------------------------------------------------------------------------
r6946 | ton | 2006-02-28 21:43:21 +0100 (Tue, 28 Feb 2006) | 5 lines

Complex issue in group duplicators... since they can duplicate entire
animation systems, all transforms of all duplicated group members have
to be set first, before drawing or converting for render. This because
then still deformation can be calculated.

------------------------------------------------------------------------
r6945 | sirdude | 2006-02-28 19:30:16 +0100 (Tue, 28 Feb 2006) | 13 lines



Fix for bug #3886

Basically the check for a type of jpeg was messed up.
I added a imb_is_a_jpeg function since I was working on that bit and
it makes it a little more similar to the other filetypes.

I also changed a switch statement that had the same loop for all
cases, just moved the loop outside of the switch statement.

Kent

------------------------------------------------------------------------
r6944 | ton | 2006-02-28 17:45:52 +0100 (Tue, 28 Feb 2006) | 3 lines

Saving OpenEXR half didn't free allocated half buffer... silly c++ memory
management!

------------------------------------------------------------------------
r6943 | ton | 2006-02-28 17:24:25 +0100 (Tue, 28 Feb 2006) | 8 lines

Urm... Kent's commit to fix a bug broke the other nodes that use the
same composit3_pixel_processor() function. gcc even gives nice warning:

node_composite.c: In function `node_composit_exec_mix_rgb':
node_composite.c:1437: warning: passing arg 9 of `composit3_pixel_processor' from incompatible pointer type

floats were read as pointer...

------------------------------------------------------------------------
r6942 | schlaile | 2006-02-28 14:07:02 +0100 (Tue, 28 Feb 2006) | 2 lines

- Now the cache limitor also frees the float-planes

------------------------------------------------------------------------
r6941 | bjornmose | 2006-02-28 10:07:13 +0100 (Tue, 28 Feb 2006) | 2 lines

msvc6 projects building debug

------------------------------------------------------------------------
r6940 | bjornmose | 2006-02-28 09:31:33 +0100 (Tue, 28 Feb 2006) | 8 lines

mscv6 projects again
no GE right now ( need to adapt to erwins file reshuffle
so may be i wait a bit until he has his mind made up )
elbeem is running when you remove the extra std:: at some places
well the msvc6 preprocessor is not very smart
--> std:: is not a member of std:: :)
so i guess there is a "using namespace std" somewhere

------------------------------------------------------------------------
r6939 | briggs | 2006-02-28 03:28:45 +0100 (Tue, 28 Feb 2006) | 22 lines

-> Loop MultiSelect

Added new function in editmesh_mods.c, "loop multiselect" and can be
accessed via the CTRL-E popup menu in editmode. It is used to select
multiple edge loops/rings based upon the current selection set. It does
this simply by looping through a list of currently selected edges and
calls 'edge_loop_select' or 'edge_ring_select' for each one. This can
be used to build large selection sets quickly, as can be seen in
the following example images...

step 1 - http://www.umsl.edu/~gcbq44/multiselectA.jpg
step 2 - http://www.umsl.edu/~gcbq44/multiselectB.jpg
step 3 - http://www.umsl.edu/~gcbq44/multiselectC.jpg

-> Misc

While I was in there I fixed a couple of existing issues as well...

- "Select Less" now gets a proper undo push.
- countall() wasn't being called after inclusive selection mode conversion
- some strange formatting in EM_convertsel() in editmesh_lib.c fixed.

------------------------------------------------------------------------
r6938 | sirdude | 2006-02-27 22:38:57 +0100 (Mon, 27 Feb 2006) | 14 lines



Fix for bug #3967.

It still needs some work but at least now it doesn't crash.

Basically it changed composit3_pixel_processor so that its using full
vector instead of first element (fac variable in the code).
In reality though its just pushing where its looking at the first element
of the vector to another function (do_mix_rgb)
which is calling ramp_blend with fac[0].

Kent

------------------------------------------------------------------------
r6937 | sirdude | 2006-02-27 21:05:05 +0100 (Mon, 27 Feb 2006) | 7 lines



commented out a debugging message... was getting errors about cast to int
losses percision on 64bit linux with gcc4.X

Kent

------------------------------------------------------------------------
r6936 | ton | 2006-02-27 20:36:42 +0100 (Mon, 27 Feb 2006) | 8 lines

Restored the free_imbuf_seq_except() in sequencer, to free all memory
of sequencer, except current frame. Apparently the cache limitor doesnt
work for floatbuffers yet... and while rendering, I prefer to have all
memory available for the render itself.

Schlaile; you might check on what is wrong, in case imbufs have have
a rect_float or zbuf_float, the cache doesnt work yet?

------------------------------------------------------------------------
r6935 | campbellbarton | 2006-02-27 17:30:53 +0100 (Mon, 27 Feb 2006) | 2 lines

Added a few more button align's

------------------------------------------------------------------------
r6934 | ton | 2006-02-27 13:39:36 +0100 (Mon, 27 Feb 2006) | 40 lines

Recoded Panorama rendering.

The old implementation was added quite hackish (talking about 10 yr ago).
You also had to make a small image slice, which was extended Xparts in
size. That also required to adjust the camera angle. Very clumsy.

Now; when enabling the Panorama option, it will automatically apply the
panorama effect on the vertically aligned tiles. You can just enable or
disable the "Pano" button, to get a subtle lens effect like this:

(without pano)
http://www.blender.org/bf/rt.jpg
(with pano)
http://www.blender.org/bf/rt1.jpg

For Panorama render, the minimum slice size has been hardcoded to be 8
pixels. The XParts button goes up to 512 to allow that. In practice,
rendering 64 slices will already give very good images for a wide angle
lens of 90 degrees, the curvature of straight lines then is equal to
a circle of 256 points.
Rendering a full 360 degree panorama you do by creating an extreme wide
angle camera. The theory says camera-lens 5 should do 360 degrees, but
for some reason my tests reveil it's 5.1... there's a rounding error
somewhere, maybe related to the clipping plane start? Will look at that
later. :)

Also note that for each Xpart slice, the entire database needs to be
rotated around camera to correct for panorama, on huge scenes that might
give some overhead.

Threaded render goes fine for Panorama too, but it can only render the
vertically aligned parts in parallel. For the next panorama slice it has
to wait for all threads of the current slice to be ready.

On reading old files, I convert the settings to match as closely as
possible the new situation.
Since I cannot bump up the version #, the code detects for old panorama
by checking for the image size. If image width is smaller than height, it
assumes it's an old file (only if Panoroma option was set).

------------------------------------------------------------------------
r6933 | campbellbarton | 2006-02-27 13:34:53 +0100 (Mon, 27 Feb 2006) | 3 lines

Made vertex clear work for selected faces from the menu, to be the same as Shift+K.
Also makde Shift+K work in weightpaint mode.

------------------------------------------------------------------------
r6932 | n_t | 2006-02-27 12:56:04 +0100 (Mon, 27 Feb 2006) | 2 lines

- elbeem.h header file was missing

------------------------------------------------------------------------
r6931 | n_t | 2006-02-27 12:48:25 +0100 (Mon, 27 Feb 2006) | 2 lines

- typo in SConscript

------------------------------------------------------------------------
r6930 | n_t | 2006-02-27 12:45:42 +0100 (Mon, 27 Feb 2006) | 89 lines

Sorry for the big commit, but I've been fixing many of these
issues in parallel... So this commit contains: an update of
the solver (e.g. moving objects), integration of blender IPOs,
improved rendering (motion blur, smoothed normals) and a first particle
test. In more detail:

Solver update:
- Moving objects using a relatively simple model, and not yet fully optimized - ok
  for box falling into water, water in a moving glass might cause trouble. Simulation
  times are influenced by overall no. of triangles of the mesh, scaling meshes up a lot
  might also cause slowdowns.
- Additional obstacle settings: noslip (as before), free slip (move along wall freely)
  and part slip (mix of both).
- Obstacle settings also added for domain boundaries now, the six walls of the domain are
  obstacles after all as well
- Got rid of templates, should make compiling for e.g. macs more convenient,
  for linux there's not much difference. Finally got rid of parser (and some other code
  parts), the simulation now uses the internal API to transfer data.
- Some unnecessary file were removed, the GUI now needs 3 settings buttons...
  This should still be changed (maybe by adding a new panel for domain objects).

IPOs:
- Animated params: viscosity, time and gravity for domains. In contrast
  to normal time IPO for Blender objects, the fluidsim one scales the time
  step size - so a constant 1 has no effect, values towards 0 slow it down,
  larger ones speed the simulation up (-> longer time steps, more compuations).
  The viscosity IPO is also only a factor for the selected viscosity (again, 1=no effect).
- For objects that are enabled for fluidsim, a new IPO type shows up. Inflow
  objects can use the velocity channels to animate the inflow. Obstacles, in/outflow
  objects can be switched on (Active IPO>0) and off (<0) during the simulation.
- Movement, rotation and scaling of those 3 types is exported from the normal
  Blender channels (Loc,dLoc,etc.).

Particles:
- This is still experimental, so it might be deactivated for a
  release... It should at some point be used to model smaller splashes,
  depending on the the realworld size and the particle generation
  settings particles are generated during simulation (stored in _particles_X.gz
  files).
- These are loaded by enabling the particle field for an arbitrary object,
  which should be given a halo material. For each frame, similar to the mesh
  loading, the particle system them loads the simulated particle positions.
- For rendering, I "abused" the part->rt field - I couldnt find any use
  for it in the code and it seems to work fine. The fluidsim particles
  store their size there.

Rendering:
- The fluidims particles use scaled sizes and alpha values to give a more varied
  appearance. In convertblender.c fluidsim particle systems use the p->rt field
  to scale up the size and down the alpha of "smaller particles". Setting the
  influence fields in the fluidims settings to 0 gives equally sized particles
  with same alpha everywhere. Higher values cause larger differences.
- Smoothed normals: for unmodified fluid meshes (e.g. no subdivision) the normals
  computed by the solver are used. This is basically done by switching off the
  normal recalculation in convertblender.c (the function calc_fluidsimnormals
  handles other mesh inits instead of calc_vertexnormals).
  This could also be used to e.g. modify mesh normals in a modifier...
- Another change is that fluidsim meshes load the velocities computed
  during the simulation for image based motion blur. This is inited in
  load_fluidsimspeedvectors for the vector pass (they're loaded during the
  normal load in DerivedMesh readBobjgz). Generation and loading can be switched
  off in the settings. Vector pass currently loads the fluidism meshes 3 times,
  so this should still be optimized.

Examples:
- smoothed normals versus normals from subdividing once:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/v060227_1smoothnorms.png
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/v060227_2subdivnorms.png
- fluidsim particles, size/alpha influence 0:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/v060227_3particlesnorm.png
  size influence 1:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/v060227_4particlessize.png
  size & alpha influence 1:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/v060227_5particlesalpha.png
- the standard drop with motion blur and particles:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/elbeemupdate_t2new.mpg
  (here's how it looks without
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/elbeemupdate_t1old.mpg)
- another inflow animation (moving, switched on/off) with a moving obstacle
  (and strong mblur :)
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/elbeemupdate_t3ipos.mpg

Things still to fix:
- rotating & scaling domains causes wrong speed vectors
- get rid of SDL code for threading, use pthreads as well?
- update wiki documentation
- cool effects for rendering would be photon maps for caustics,
  and motion blur for particles :)

------------------------------------------------------------------------
r6929 | campbellbarton | 2006-02-27 07:00:00 +0100 (Mon, 27 Feb 2006) | 2 lines

new emptys now have default settings for new emptys.

------------------------------------------------------------------------
r6928 | campbellbarton | 2006-02-27 05:05:55 +0100 (Mon, 27 Feb 2006) | 6 lines

Applied JMS's Patch. for better Python Dupli Access.
Made some fixes and changes.
* The matricies returned were wrapped. Wrapping Display Mesh matricies segfaulted sometimes. - Made a copy instead.
* Added 1 missing epydoc from the patch.
* Renamed getDupliMatrices to getDupliObjects, and changed to return a list of (object, matrix) tuples instead of just the matrix. This is much more usefull because it allows python to know what objects are used for dupliGroups and for dupliverts where there is more then 1 child. also cleaned up this function a bit.

------------------------------------------------------------------------
r6927 | hos | 2006-02-27 01:03:18 +0100 (Mon, 27 Feb 2006) | 2 lines

pthreads for Makefiles/cygwin (don't forget to update lib/windows).

------------------------------------------------------------------------
r6925 | campbellbarton | 2006-02-25 16:05:36 +0100 (Sat, 25 Feb 2006) | 2 lines

removed typos causing MTL loading to fail.

------------------------------------------------------------------------
r6924 | jesterking | 2006-02-25 15:53:27 +0100 (Sat, 25 Feb 2006) | 5 lines

==SCons==
+ SCons support for pthreads-win32. Library will be committed shortly into
  lib/windows, so be sure to check commit list and update that as well
  when the pthread lib is available.

------------------------------------------------------------------------
r6923 | sirdude | 2006-02-25 14:43:15 +0100 (Sat, 25 Feb 2006) | 6 lines



converted sqrtf to SimdSqrt  Solaris has no sqrtf.

Kent

------------------------------------------------------------------------
r6922 | ton | 2006-02-25 13:49:35 +0100 (Sat, 25 Feb 2006) | 2 lines

Bugfix: CTRL+select on a Bone, while in editmode Curve, crashed.

------------------------------------------------------------------------
r6921 | ton | 2006-02-25 12:56:08 +0100 (Sat, 25 Feb 2006) | 18 lines

Replacing SDL threads with pthread.

For some reason I thought SDL thread handling would be much simpler... but
the migration to posix pthread went very smooth and painless. Less code
even, and I even notice a slight performance increase!

All threading code is still wrapped in blenlib/intern/threads.c
Only real change was making the callback functions to return void pointer,
instead of an int.

The mutex handling is also different... there's no test anymore if a
mutex was initialized, which is a bit confusing. But it appears to run
all fine still. :)

Nathan Letwory has been signalled already to provide the Windows pthread
library and make/scons linking. For MSVC we might need help from someone
else later though.

------------------------------------------------------------------------
r6920 | jesterking | 2006-02-25 11:40:31 +0100 (Sat, 25 Feb 2006) | 6 lines

==SCons==
* Use same warning flags as with linux2, greatly reducing noise in
  output during compile. Also for developers using win32/mingw now
  in effect: correct *each* and *every* warning in your code. I
  command you to!

------------------------------------------------------------------------
r6919 | jesterking | 2006-02-25 02:06:02 +0100 (Sat, 25 Feb 2006) | 8 lines

==SCons==
* Warning flags I had dutifully copied from sirdudes yet unpublished
  make rewrite turned out to be the Paranoia flags, causing the flood
  of warnings. Using better flags instead (like current Makefile level 1).

  All developers on Linux that use SCons for building - (new) code you write is
  supposed to be *entirely* warning-free from now on (Ton said so!)

------------------------------------------------------------------------
r6918 | jesterking | 2006-02-24 19:55:44 +0100 (Fri, 24 Feb 2006) | 3 lines

==SCons==
* compile game-engine libs only when actually enabled

------------------------------------------------------------------------
r6917 | hos | 2006-02-24 15:37:24 +0100 (Fri, 24 Feb 2006) | 2 lines

I had to disable mmap altogether for Irix.

------------------------------------------------------------------------
r6916 | ton | 2006-02-24 11:21:40 +0100 (Fri, 24 Feb 2006) | 5 lines

forgot note for last commit;

There's one 'volatile' warning in pipeline.c still, should be harmless...
it is bad code to be rewritten soon.

------------------------------------------------------------------------
r6915 | ton | 2006-02-24 11:20:31 +0100 (Fri, 24 Feb 2006) | 6 lines

Made the most critical variables in render pipeline "volatile", especially
the ones that get changed within threads, to communicate with the main
thread.

(Part of the long quest to get threaded render safe, especially in Linux)

------------------------------------------------------------------------
r6914 | ton | 2006-02-24 11:18:48 +0100 (Fri, 24 Feb 2006) | 3 lines

Paranoia "volatile" assignment to globals in MEM module. Was suggested to
do this for globals that can be changed within threads.

------------------------------------------------------------------------
r6913 | campbellbarton | 2006-02-24 05:03:15 +0100 (Fri, 24 Feb 2006) | 2 lines

Should now work with python 2.3, also optimized dictionary's a bit. keys -> iterkeys and has_key -> try/except

------------------------------------------------------------------------
r6912 | ton | 2006-02-24 00:15:46 +0100 (Fri, 24 Feb 2006) | 2 lines

eek!

------------------------------------------------------------------------
r6911 | ton | 2006-02-24 00:12:33 +0100 (Fri, 24 Feb 2006) | 2 lines

restored SDL_WaitThread() again, SDL_KillThread() is not OK.

------------------------------------------------------------------------
r6910 | ton | 2006-02-23 22:38:48 +0100 (Thu, 23 Feb 2006) | 3 lines

Buttons could crash on wrong scene layer index... not sure how that index
can get wrong, but secure code is always OK. :)

------------------------------------------------------------------------
r6909 | jesterking | 2006-02-23 22:37:29 +0100 (Thu, 23 Feb 2006) | 4 lines

==SCons==
* Add check for WITH_BF_OPENEXR to ensure WITH_OPENEXR is specified when
  needed. Now workyworky again

------------------------------------------------------------------------
r6908 | jesterking | 2006-02-23 22:08:40 +0100 (Thu, 23 Feb 2006) | 6 lines

==SCons==
+ When giving CC and CXX on the command-line you can specify what compiler
  to use:

  scons CC=gcc-3.3 CXX=g++-3.3

------------------------------------------------------------------------
r6907 | ton | 2006-02-23 21:57:31 +0100 (Thu, 23 Feb 2006) | 25 lines

Work in progress commit on saving OpenEXR with all render-layers and
passes in single file. Code is currently disabled, commit is mainly to
have a nicer method of excluding OpenEXR dependency from render module.
This should compile with disabled WITH_OPENEXR too.

Reason why EXR is great to include by default in Blender is its feature
to store unlimited layers and channels, and write this tile based. I
need the feature for saving memory; while rendering tiles, all full-size
buffers for all layers and passes are kept in memory now, which can go
into 100s of MB easily.
The code I commit now doesn't allocate these buffers while rendering, but
saves the tiles to disk. In the end is it read back. Overhead for large
renders (like 300 meg buffers) is 10-15 seconds, not bad.

Two more interesting aspects:
- Blender can save such multi-layer files in the temp directory, storing
it with .blend file name and scene name. That way, on each restart of Blender,
or on switching scenes, these buffers can be read. So you always see what was
rendered last. Also great for compositing work.
- This can also become an output image type for rendering. There's plenty of
cases where you want specific layers or passes saved to disk for later use.

Anyhoo, finishing it is another days of work, and I got more urgent stuff
now!

------------------------------------------------------------------------
r6906 | ton | 2006-02-23 21:18:29 +0100 (Thu, 23 Feb 2006) | 4 lines

Bugfix for very very ancient envmap error. When you scale the envmap
object the OSA filtersize inverse scaled as well. Made small scaled
envmap objects far to blurry.

------------------------------------------------------------------------
r6905 | stiv | 2006-02-23 17:33:00 +0100 (Thu, 23 Feb 2006) | 2 lines

Doh!  part of previous commit for patch #3830.

------------------------------------------------------------------------
r6904 | stiv | 2006-02-23 17:27:41 +0100 (Thu, 23 Feb 2006) | 5 lines

patch #3830 Fix for commenting a block of text with highlight enabled

Highlighting would not update when you un/commented a block of code.
Contributed by Ricki Myers (themyers).

------------------------------------------------------------------------
r6903 | ton | 2006-02-23 16:39:01 +0100 (Thu, 23 Feb 2006) | 2 lines

Composite: Image node now supports "start frame" values up to 10k.

------------------------------------------------------------------------
r6902 | campbellbarton | 2006-02-23 15:45:59 +0100 (Thu, 23 Feb 2006) | 6 lines


Added UI numeric access to bone radius (for envelopes), needed to accsess the other day to make bones the same radius and had to guess.
See the edit bone properties.

Just added a comment to DNA_armature_types.h about rad_head and rad_tail override, if a parant exists.

------------------------------------------------------------------------
r6901 | ton | 2006-02-23 12:16:16 +0100 (Thu, 23 Feb 2006) | 12 lines

Tweak for Speed vector calculus for Ztransp render layer; it used to mask
out moving transparent pixels by checking for alpha>0.95, now it also
checks the solid layer (if present), and if there's no solid face in a
pixel, the speed vector gets also added and used for transparent pixels.

This solves the 'ugly' hard outlines for vectorblur of moving hair.

Before:
http://www.blender.org/bf/h1.jpg
After:
http://www.blender.org/bf/h2.jpg

------------------------------------------------------------------------
r6900 | campbellbarton | 2006-02-23 05:38:33 +0100 (Thu, 23 Feb 2006) | 2 lines

Moved to brush cursors hotspot to be at the tip of the brush.

------------------------------------------------------------------------
r6899 | hos | 2006-02-23 00:34:12 +0100 (Thu, 23 Feb 2006) | 13 lines

Some issues compiling on Irix:

+ the code in writemovie.c no longer compiles (since the renderer
refactor). I have #if 0-ed it.

+ OpenGL on Irix doesn't have GL_ARB_vertex_program

+ mmap on Irix doesn't like MAP_ANON.

+ If using the MipsPro 7.3 compiler, the variable MIPS73_ISOHEADERS
can be set to point to the directory with those weird C++ headers
that don't have .h in the name

------------------------------------------------------------------------
r6898 | hos | 2006-02-23 00:26:26 +0100 (Thu, 23 Feb 2006) | 10 lines

In some directories (e.g. source/blender/src) there are so many files
now that the command to put the object files into an archive is
exceeding 20k characters, which is a problem for some operating systems.
To avoid this, this modification causes make to change directories before
archiving, to avoid having to specify full file paths to the files
being archived.

If this causes problems on some systems, let me know and I'll find an
alternative.

------------------------------------------------------------------------
r6897 | ton | 2006-02-22 23:23:30 +0100 (Wed, 22 Feb 2006) | 3 lines

Composite: filter node now includes image edge in calculation, the outer
pixels even had alpha zero...

------------------------------------------------------------------------
r6896 | hos | 2006-02-22 23:05:13 +0100 (Wed, 22 Feb 2006) | 2 lines

'inline' in C isn't very portable (probably should be made a macro).

------------------------------------------------------------------------
r6895 | ton | 2006-02-22 21:57:21 +0100 (Wed, 22 Feb 2006) | 3 lines

Brought back "mapping to translucency" for materials, was temporal replaced
with tests with material layer mapping...

------------------------------------------------------------------------
r6894 | ton | 2006-02-22 21:13:52 +0100 (Wed, 22 Feb 2006) | 12 lines

Composite fix: Blur node with option "Bokeh" didn't survive on very small
filtersizes (below 2 pixels). This because Bokeh actually does 2 peaks...

 /\  /\
/  \/  \

I've added some fixes in the filter calculus though, and made sure that
on size 1 at least the image gets copied straight away.
Also fixed error, Bokeh shifted image 1 pixel up.

Todo; make filters become real floats in size...

------------------------------------------------------------------------
r6893 | briggs | 2006-02-22 19:35:12 +0100 (Wed, 22 Feb 2006) | 3 lines

"Select Random" in editmode for meshes did not do an undo_push... This was
pretty annoying so I fixed it.

------------------------------------------------------------------------
r6892 | briggs | 2006-02-22 15:14:43 +0100 (Wed, 22 Feb 2006) | 4 lines

Fixes small problem with my last commit and MSVC compilers, originally pointed
out on commiters ML here:
http://projects.blender.org/pipermail/bf-committers/2006-February/013677.html

------------------------------------------------------------------------
r6891 | campbellbarton | 2006-02-22 14:22:22 +0100 (Wed, 22 Feb 2006) | 3 lines

Silly typo in tooltip.
Also replaced all tooltip instances of colour to color since its official Blender uses American spelling.

------------------------------------------------------------------------
r6890 | campbellbarton | 2006-02-22 14:18:30 +0100 (Wed, 22 Feb 2006) | 3 lines

Added lighten/darken paint modes, works in vertex paint mode and weight paint mode.
Usefull for painting in areas with ~0.5 values without overwriting existing 1.0 weights.

------------------------------------------------------------------------
r6889 | erwin | 2006-02-22 07:58:05 +0100 (Wed, 22 Feb 2006) | 2 lines

added 'disable sleeping' option for rigidbodies. + bugfix of out of sync wheels for vehicle

------------------------------------------------------------------------
r6888 | briggs | 2006-02-22 03:17:56 +0100 (Wed, 22 Feb 2006) | 104 lines

[Two Sections here; First is the log that *should* have been included
to my previous commit (whoops). The second part covers the changes I
have made to the code since then (all related to merge tools code).]

# Part One: Complete Log for Commit from 2/13/06

-> Upgraded merge tools.

The new merge tools add several options to blenders Merge submenu,
accessed via the WKEY whilst in Editmode for meshes. The new options
depend on current mode:

- Vertex mode: "At First" and "At Last"

When choosing "At First" or "At last" it will merge all selected
vertices at the first or last selected vertex.

(Note: Blender now keeps track of the last and first verts selected in
editMode (G.editMesh->lastvert and G.editMesh->firstvert
pointers. This meant additions were made to the undomesh code in
editmesh.c as well).

- Edge mode: "Collapse Edges"

When choosing this option, Blender examines the current set of
selected edges and groups them according whether or not they are
topologically connected. It then goes through each group and merges
them one by one to a single point.

- Face Mode: "Collapse Faces"

Works the same as "Collapse Edges", only works on groups of
topologically connected faces.

-> Inclusive selection mode conversion.

This feature extends the ability of blenders selection mode
conversions. Currently when you change selection modes from a "lower
order" mode to a "higher order" one (vertex->edge, vertex->face or
edge->face) blender only selects elements in the new mode whose
elements were completely selected in the previous mode.

This patch does not change blenders default behavior but offers
implicit selection mode conversion as an alternative. To access it,
hold either the left or right CTRL keys and click on a selection mode
in the view 3d selection mode header buttons. This can be accessed via
the CTRL-TAB selection mode switching as well, simply hold CTRL while
clicking the mode you want or entering its number on the keypad.

In some programs, such as Wings and Mirai, it has been demonstrated
that it can also be very useful to exploit selection mode switching to
implicitly select previously unselected elements as well. For instance
switching selection mode from vertex to edges will select all edges
currently associated with the currently selected vertices. The same
behavior is applied to switching between vertex->face and
edge->face. By exploiting this sort of selection conversion complex
selection sets can be built quicker.

Furthermore I modified blenders UndoMesh code to make selection mode
switching "undo coherent". Aside from its relevance to inclusive
selection mode conversion, this really counts as a "bug" in my
mind. Previously selection mode switch could cause the selection state
of the mesh to be invalid when certain modeling operations were
undone. An example of this would be "edge subdivide-> switch to face
mode-> undo"; you end up with edges selected while still in face mode!


# Part Two: Log for this Commit

-> Code Cleanup

As per Ton's request I reformatted all my code, changed variable names
and eliminated my use of "LinkNode" structs and replaced them with
"ListBase" instead. There should be no warnings while compiling now
either.

-> Remove doubles bug

Fixed small problem in removedoublesflag() in editmesh_tools.c that
caused editface structs to get their UV's scrambled. Vertex colors
might not be safe though? Need to investigate later.

-> Small bug in in the the code for merge last/first

It could cause a crash when exiting editmode, switching meshes, then
entering editmode again. "lastvert" and "firstvert" pointers are now
set to NULL whenever exiting editmode now (see load_editmesh() in
editmesh.c). I will find a better solution to this *soon*...

-> All merge tools now UV aware (optional)

The default behavior is to leave UVs alone, but if you hold CTRL while
clicking on the menu entry, UV's are merged. This works fine in most
situations, although some investigation into how to best handle
merging of UVs at the border of UV islands needs to be done.

This last item brings up a point about the current state of the
interface: several functions accessed through the WKEY menu now use
the CTRL modifier to change how they behave (This convention has been
in place for a while, see subdivide for example). Unfortunately there
is no way to communicate the way modifier keys change the behavior of
certain functions to the user. This makes such options invisible for
all intents and purposes...

------------------------------------------------------------------------
r6887 | ton | 2006-02-21 23:42:33 +0100 (Tue, 21 Feb 2006) | 5 lines

Fix for very old annoyance; when an object is deformed far away from its
object center, it doesn't generate displaylist (or derivedmesh). This
error showed especially on loading files, and you had to advance frame,
zoom out or press Numpad-9 to see stuff.

------------------------------------------------------------------------
r6886 | ton | 2006-02-21 23:11:46 +0100 (Tue, 21 Feb 2006) | 3 lines

Fix for crashing border select in FaceSelect mode. This was part of the
exr & floatbuffer merge of january 9... faulty code I didn't check.

------------------------------------------------------------------------
r6885 | hos | 2006-02-21 22:24:06 +0100 (Tue, 21 Feb 2006) | 2 lines

Making blender compile with Makefiles if WITH_OPENEXR is false.

------------------------------------------------------------------------
r6884 | hos | 2006-02-21 21:45:20 +0100 (Tue, 21 Feb 2006) | 2 lines

Trying to get the bullet re-org to work with Makefiles.

------------------------------------------------------------------------
r6883 | campbellbarton | 2006-02-21 16:49:45 +0100 (Tue, 21 Feb 2006) | 2 lines

Tracked a redrawing crash down to drawtext.c - was doing ... % 0 causeing a devide by zero, just check for a zero value.

------------------------------------------------------------------------
r6882 | jesterking | 2006-02-21 15:24:08 +0100 (Tue, 21 Feb 2006) | 3 lines

==SCons==
* accidently left WITH_BF_STATICOPENGL enabled for non-linux. tsktsk.

------------------------------------------------------------------------
r6881 | ton | 2006-02-21 13:41:48 +0100 (Tue, 21 Feb 2006) | 2 lines

Bug in Composite AddAlpha node. The option premul added alpha wrong.

------------------------------------------------------------------------
r6880 | jesterking | 2006-02-21 13:36:50 +0100 (Tue, 21 Feb 2006) | 6 lines

==SCons==
* when WITH_BF_STATICOPENGL=1 on Linux Blender will be statically linked
  against GL libraries. NOTE: I used values that worked on my machine -
  platform managers and people who have better knowledge about this, please
  modify config/linux2-config.py accordingly.

------------------------------------------------------------------------
r6879 | ton | 2006-02-21 11:47:08 +0100 (Tue, 21 Feb 2006) | 4 lines

Carefully went over all scanline updating while rendering, to ensure only
updates are allowed to draw when a part is within a scanline rendering
loop. Might solve threads issues with opengl...

------------------------------------------------------------------------
r6878 | erwin | 2006-02-21 08:33:19 +0100 (Tue, 21 Feb 2006) | 2 lines

included WheelInfo headerfile rather then forward declare (gcc stl container needs actual class information)

------------------------------------------------------------------------
r6877 | erwin | 2006-02-21 08:08:23 +0100 (Tue, 21 Feb 2006) | 2 lines

exposed a few more tuning paramters

------------------------------------------------------------------------
r6876 | erwin | 2006-02-21 07:33:03 +0100 (Tue, 21 Feb 2006) | 2 lines

dos/unix conversion went wrong? line-feed / ^M conversion

------------------------------------------------------------------------
r6875 | erwin | 2006-02-21 07:08:58 +0100 (Tue, 21 Feb 2006) | 2 lines

added vehicle specific files + updated scons file (Makefile/projectfiles need updating)

------------------------------------------------------------------------
r6874 | erwin | 2006-02-21 07:08:18 +0100 (Tue, 21 Feb 2006) | 2 lines

enabled vehicle/updated scons file (Makefile/projectfiles needs updating)

------------------------------------------------------------------------
r6873 | erwin | 2006-02-21 06:57:46 +0100 (Tue, 21 Feb 2006) | 2 lines

updated scons file, case-sensititivy problem fixed

------------------------------------------------------------------------
r6872 | erwin | 2006-02-21 06:36:56 +0100 (Tue, 21 Feb 2006) | 4 lines

Reorganized Bullet physics files, added preliminary vehicle simulation files (disabled).

Requires some changes to projectfiles/makefiles/scons, for the added and removed files!

------------------------------------------------------------------------
r6871 | ton | 2006-02-20 22:11:02 +0100 (Mon, 20 Feb 2006) | 3 lines

Very silly typo in code caused Preview Window for Compositor to copy
Z values wrong... :)

------------------------------------------------------------------------
r6870 | ton | 2006-02-20 19:33:55 +0100 (Mon, 20 Feb 2006) | 4 lines

Compositor: new node "Z Combine", to combine two images with comparing
depth values. Current version doesn't make nice AA though... that I
check on next.

------------------------------------------------------------------------
r6869 | ton | 2006-02-20 18:44:21 +0100 (Mon, 20 Feb 2006) | 3 lines

Group duplicators, using linked groups, and which itself again were
linked, did not expand group.

------------------------------------------------------------------------
r6868 | ton | 2006-02-20 14:43:40 +0100 (Mon, 20 Feb 2006) | 18 lines

Compositor upgrade;

- Links now can be made between any socket type. The nodes recognize amount
  of channels, and will convert types if needed.
  Conversions from RGBA to 1 channel will use the 'RGB to BW' formula.

  Also note that conversions only happen when required. So you can blur an
  alpha channel, filter it, and put this in a 1-channel socket without any
  conversion to happen, which saves memory & cpu time.

  http://www.blender.org/bf/rt.jpg

  The blur nodes don't accept Vector input yet... But filter does.

- RGB Curve Nodes now have the premultiply option resored, 2 x faster

- Fixed some confusing code in Node Group handling... much stabler now

------------------------------------------------------------------------
r6867 | campbellbarton | 2006-02-20 11:31:24 +0100 (Mon, 20 Feb 2006) | 2 lines

Another fix for a silly bug

------------------------------------------------------------------------
r6866 | ton | 2006-02-20 11:06:50 +0100 (Mon, 20 Feb 2006) | 3 lines

Hrms... theeth indeed cleaned up code, but it should also work! Didn't
compiling show the warnings?

------------------------------------------------------------------------
r6865 | campbellbarton | 2006-02-20 06:30:15 +0100 (Mon, 20 Feb 2006) | 2 lines

tweak colin weighting again.

------------------------------------------------------------------------
r6864 | campbellbarton | 2006-02-20 06:11:04 +0100 (Mon, 20 Feb 2006) | 8 lines


Small update...
 Bugfix, Wrongly waited colinear test that caused quads with co-linear edges to be made.
 Bugfix, Use active object even if unselected.
 Optimize, Skip further tests if face pair is above the quad error limit.
 Optimize, Faster edge/Face user dict creation ~10%
 Feature: Options to ignore VCols and UV's as delimetres.

------------------------------------------------------------------------
r6863 | jesterking | 2006-02-19 23:21:45 +0100 (Sun, 19 Feb 2006) | 3 lines

==SCons==
* add -pthread compile switch for linux2 platforms to be on the safe side.

------------------------------------------------------------------------
r6862 | ton | 2006-02-19 22:34:23 +0100 (Sun, 19 Feb 2006) | 3 lines

Another attempt to solve linux issues.... now threads get killed in
end instead of using SDL_WaitThread from example code...

------------------------------------------------------------------------
r6861 | ton | 2006-02-19 21:53:07 +0100 (Sun, 19 Feb 2006) | 3 lines

Changing a glFLush() in glFinish() for drawing info text in renderwindow...
seems to be a reason for opengl crashes with thread render?

------------------------------------------------------------------------
r6860 | jesterking | 2006-02-19 20:33:36 +0100 (Sun, 19 Feb 2006) | 4 lines

==SCons==
A working configuration file for win32/mingw, provided by Rehno Lindeque.
Thanks!

------------------------------------------------------------------------
r6859 | theeth | 2006-02-19 19:41:33 +0100 (Sun, 19 Feb 2006) | 4 lines

Patch: [ #3283 ] strcat --> sprintf

Less yuckiness!

------------------------------------------------------------------------
r6858 | theeth | 2006-02-19 18:42:20 +0100 (Sun, 19 Feb 2006) | 4 lines

Path: [ #2789 ] Add a "copy size" constraint
At long last!
This new constraint is pretty simple. Following in the footsteps of such giants as Copy Loc and Copy Rot, it lets you constrain the size of an object/bone to another object/bone, with per axis restrictions.

------------------------------------------------------------------------
r6857 | ton | 2006-02-19 18:25:51 +0100 (Sun, 19 Feb 2006) | 2 lines

Composite: Added "Fac" input for AlphaOver, so you can control amount.

------------------------------------------------------------------------
r6856 | ton | 2006-02-19 17:33:19 +0100 (Sun, 19 Feb 2006) | 2 lines

Fix for Colorband node, it skipped calculus when 1 output was unused :)

------------------------------------------------------------------------
r6855 | ton | 2006-02-19 15:55:16 +0100 (Sun, 19 Feb 2006) | 19 lines

More compositing goodies.

- Texture Node
Allows to use any Blender Texture block as input for masks or color
blending. The texture node doesn't generate a real image, but adjusts to
the size as mapped with during an operation. So it won't work to use it
as Image input for Blur or Filter nodes.

Note; the Vector inputs for this node only work with manual input now!

- Translation Node
Give any image an offset in X or Y direction

For the Texture node to work, I needed to move the central 'pixel
processor' up one level... to allow differently sized images to merge
and allow 'procedural images' without size.

Temporal image of the day: http://www.blender.org/bf/rt.jpg

------------------------------------------------------------------------
r6854 | blendix | 2006-02-19 12:37:50 +0100 (Sun, 19 Feb 2006) | 4 lines


Warning fix in subsurf_ccg.c. Also changed subsurf UV vertex and edge
handles to be more consistent.

------------------------------------------------------------------------
r6853 | ton | 2006-02-18 20:35:53 +0100 (Sat, 18 Feb 2006) | 3 lines

Adding new SpotLamps should get 'buffers' set to 1. Was in the do_version()
check, but not in adding lamps... this will fix crashing shadowbuffers.

------------------------------------------------------------------------
r6852 | ton | 2006-02-18 18:07:30 +0100 (Sat, 18 Feb 2006) | 2 lines

Added mask input for new Hue/Saturation Node.

------------------------------------------------------------------------
r6851 | ton | 2006-02-18 17:21:32 +0100 (Sat, 18 Feb 2006) | 9 lines

The regular warning fix update; includes two variables that were used
without initialization.

For Brecht:

source/blender/blenkernel/intern/subsurf_ccg.c:329: warning: left-hand operand of comma expression has no effect

This line I don't understand...

------------------------------------------------------------------------
r6850 | ton | 2006-02-18 16:57:46 +0100 (Sat, 18 Feb 2006) | 6 lines

Quick change in Hue/Saturation Node: made the central Hue value 0.5, to
make applying changes easier. Saturation slider goes to 2.0 now.

Fix: rendering compositing nodes without scene crashed in header stats
drawing.

------------------------------------------------------------------------
r6849 | ton | 2006-02-18 15:35:43 +0100 (Sat, 18 Feb 2006) | 8 lines

- Restored "dither" option for conversion from float -> byte images.
  This now is a post-process option only (used to be in render).
  It is only handled within the Imbuf/ module, on conversions from float
  to byte rect, which atm mostly happens on saving images.

- Small fix: when using Scene RenderLayer nodes, the speed vectors for
  these nodes were not created when that scene had "Do Composite" off.

------------------------------------------------------------------------
r6848 | ton | 2006-02-18 15:26:38 +0100 (Sat, 18 Feb 2006) | 2 lines

Small tweak to get openexr compiling in scons

------------------------------------------------------------------------
r6847 | ton | 2006-02-18 14:28:44 +0100 (Sat, 18 Feb 2006) | 44 lines

Four-in-one commit:

(NOTE: new include dependency in Render module, might need MSVC update!
It has to include the imbuf/intern/openexr/ directory in search path)

-> New Composite node: "Hue Saturation".
Works like the former 'post process' menu. There's no gamma, brightness or
multiply needed in this node, for that the Curves Node functions better.

-> Enabled Toolbox in Node editor
This now also replaces the SHIFT+A for adding nodes. The nodes are
automatically added to the menus, using the 'class' category from the
type definition.

Current classes are (compositor examples):

Inputs: RenderResult, Image
Outputs: Composite, Viewer
Color Ops: RGB Curves, Mix, Hue Saturation, AlphaOver
Vector Ops: Normal, Vector Curves, Map Value
Filters: Filter, Blur, VectorBlur
Convertors: ColorRamp, RGBtoBW, Separate RGBA, Separate HSVA, Set Alpha
Generators: RGB, Value, Time
Groups: the list of custom defined nodes

-> OpenEXR tile saving support
Created an API for for saving tile-based Images with an unlimited amount
of layers/channels. I've tested it for 'render result' now, with the idea
that this can (optionally) replace the current inserting of tiles in the
main result buffers. Especially with a lot of layers, the used memory for
these buffers can easily go into the 100s of megs.
Two other advantages:
- all 'render result' layers can be saved entirely in a single file, for
  later use in compositing, also for animation output.
- on each render, per scene, a unique temp file can be stored, allowing
  to re-use these temp files on starting Blender or loading files, showing
  the last result of a render command.

The option is currently disabled, needs more work... but I had to commit
this because of the rest of the work I did!

-> Bug fix
The Image node didn't call an execute event when browsing another image.

------------------------------------------------------------------------
r6846 | erwin | 2006-02-17 21:18:49 +0100 (Fri, 17 Feb 2006) | 2 lines

temporarily fix from Johnny Matthews committed, win32 doesn't have munmap. Someone can worry about a future mmap-like implementation.

------------------------------------------------------------------------
r6845 | khughes | 2006-02-17 18:50:54 +0100 (Fri, 17 Feb 2006) | 6 lines



===Python API===
Bugfix: make face and edge .extend() methods check that input vertices are
from the same mesh.  Fixes a bug found by Cam.

------------------------------------------------------------------------
r6844 | ton | 2006-02-17 16:44:46 +0100 (Fri, 17 Feb 2006) | 4 lines

- Added option 'convert to premul' to AlphaOver node in Compositor
- Fixed mix mode "Overlay", it was missing a multiplication with 2 :)
- small bugix in Matts nodes commit, wrong pointers transfered to coltobw()

------------------------------------------------------------------------
r6843 | broken | 2006-02-17 14:51:55 +0100 (Fri, 17 Feb 2006) | 10 lines

3 very simple new composite nodes that I wanted for working with here. Hope the code is ok,
they work ok in testing here and get done what I need, any checks or fixes are welcome.

* Separate RGBA: Separates an input RGBA image into its R, G, B and A channels
* Separate HSVA: Separates an input RGBA image into H, S, V and A channels
* Set Alpha: Takes an input RGBA image and an alpha value channel and combines them
into a single RGBA image channel. You can also set the alpha for the entire image
with the number field when there's no input alpha channel. TODO: Allow input alpha
channel with no input image, in order to output a solid colour, with alpha.

------------------------------------------------------------------------
r6842 | khughes | 2006-02-16 21:09:32 +0100 (Thu, 16 Feb 2006) | 8 lines



===Python API===

Allow object.setMatrix() to accept 3x3 matrices by extending to a 4x4
internally.  Also check the dimensions of the new matrix and throw an
exception if not a 3x3 or 4x4.

------------------------------------------------------------------------
r6841 | ton | 2006-02-16 18:51:39 +0100 (Thu, 16 Feb 2006) | 2 lines

Belonging to previous commit; mmapped memory for large datablocks.

------------------------------------------------------------------------
r6840 | ton | 2006-02-16 18:51:01 +0100 (Thu, 16 Feb 2006) | 37 lines

Added new malloc type in our MEM module; using the unix feature 'mmap'.

In Orange we've been fighting the past weeks with memory usage a lot...
at the moment incredible huge scenes are being rendered, with multiple
layers and all compositing, stressing limits of memory a lot.
I had hoped that less frequently used blocks would be swapped away
nicely, so fragmented memory could survive. Unfortunately (in OSX) the
malloc range is limited to 2 GB only (upped half of address space).
Other OS's have a limit too, but typically larger afaik.

Now here's mmap to the rescue! It has a very nice feature to map to
a virtual (non existing) file, allowing to allocate disk-mapped memory
on the fly. For as long there's real memory it works nearly as fast as
a regular malloc, and when you go to the swap boundary, it knows nicely
what to swap first.

The upcoming commit will use mmap for all large memory blocks, like
the composit stack, render layers, lamp buffers and images. Tested here
on my 1 GB system, and compositing huge images with a total of 2.5 gig
still works acceptable here. :)

http://www.blender.org/bf/memory.jpg
This is a silly composit test, using 64 MB images with a load of nodes.
Check the header print... the (2323.33M) is the mmap disk-cache in use.

BTW: note that is still limited to the virtual address space of 4 GB.

The new call is:
MEM_mapalloc()

Per definition, mmap() returns zero'ed memory, so a calloc isn't required.

For Windows there's no mmap() available, but I'm pretty sure there's an
equivalent. Windows gurus here are invited to insert that here in code! At
the moment it's nicely ifdeffed, so for Windows the mmap defaults to a
regular alloc.

------------------------------------------------------------------------
r6839 | ton | 2006-02-16 13:27:46 +0100 (Thu, 16 Feb 2006) | 17 lines

Rendering tricks for improving workflow:

- Button option "Single" in render-layer panel will enable to only render
  the currently indicated render-layer. It will also skip compositing.

- Brought back the 'Local View' render. This will only render the visible
  objects, but with lights from the original view-layers.
  To make the option useful, it also temporal enables 'Single', which has
  the a disadvantage that you need to set the correct render-layer.

  It is a bit a tricky option though... since its quite invisble and
  confusing for people who don't know the feature. This might become either
  a button in 3d header, or use a popup requester to confirm, or... will
  need to think over!

At least; both options display in render window a text to denote the option.

------------------------------------------------------------------------
r6838 | blendix | 2006-02-15 23:33:55 +0100 (Wed, 15 Feb 2006) | 5 lines


==UV Editor==
Small ABF stability improvement, do some angle clamping during iteration,
fixes a particular model that went wrong.

------------------------------------------------------------------------
r6837 | blendix | 2006-02-15 23:31:43 +0100 (Wed, 15 Feb 2006) | 6 lines


==Python==
Small bug reported on irc, matrix.translationPart didn't check bounds
properly (needed to use || instead of &&). Also fixed similar bugs in
rotationPart and rich compare.

------------------------------------------------------------------------
r6836 | ton | 2006-02-15 20:55:29 +0100 (Wed, 15 Feb 2006) | 13 lines

We found out memory got fragmented a lot for creating speed vectors on
large scenes... this because it has to make 3 entire databases to find
the vertex-speed to previous and next frame. Even though most of the
prev/next database was freed, the parts I kept were spread all over
memory.

This commit copies from the prev/next database only the two screen aligned
speed vectors and stores that in temporal per-object structs. Even whilst
it takes more memory, it then can free the entire database, making space
for the next database to be built.
Tests reveiled it saves quite some... well, if you want to believe the
'virtual memory' total unix gives... :)

------------------------------------------------------------------------
r6835 | ton | 2006-02-15 16:22:49 +0100 (Wed, 15 Feb 2006) | 5 lines

Added printing stats back in commandline renders. Prints now a full 'log',
using 1 line per part rendered. Might go back to 1 line again, but at this
moment I need the logs for debugging.
Same prints are active now for UI rendering. Just temporal :)

------------------------------------------------------------------------
r6834 | ton | 2006-02-15 10:35:01 +0100 (Wed, 15 Feb 2006) | 13 lines

- Preview render (buttons) was executing the 'data ipos', causing inserting
  keys with IKEY in buttons to not work.

- Crash in opengl while rendering was caused by the fact that scanline
  updates are drawn in the main thread, whilst the actual render thread
  then can already be doing different stuff.
  Especially with many layers & passes it's getting confusing easily :)

  Convention now is that scanline render updates only happen while the
  thread is looping over scanlines. As soon as it reached the last, no
  drawing happens, not even to update the last segment.
  This isnt a problen, since any finished tile is drawn again entirely.

------------------------------------------------------------------------
r6833 | lukep | 2006-02-15 00:52:47 +0100 (Wed, 15 Feb 2006) | 2 lines

added proper casts to get things compiling with gcc 4.0 Os X

------------------------------------------------------------------------
r6832 | intrr | 2006-02-14 23:17:23 +0100 (Tue, 14 Feb 2006) | 9 lines



Fix for report #3916: The background image size/offset buttons now have
max values multiplied by the view's grid setting, like most other buttons
dealing with sizes and locations.

Sorry, untested, as I can't get it to link (error while loading
shared libraries: libavformat.so)

------------------------------------------------------------------------
r6831 | ton | 2006-02-14 23:14:14 +0100 (Tue, 14 Feb 2006) | 3 lines

Potential fix for crashing ogl in drawing render updates... ATI only?
I don't know why, but at Andrea's system it goes fine.

------------------------------------------------------------------------
r6830 | ton | 2006-02-14 20:25:33 +0100 (Tue, 14 Feb 2006) | 2 lines

Forgot to commit define.... tsk!

------------------------------------------------------------------------
r6829 | ton | 2006-02-14 19:47:21 +0100 (Tue, 14 Feb 2006) | 2 lines

Added 'screen' to texture mixing menu as well.

------------------------------------------------------------------------
r6828 | ton | 2006-02-14 19:41:34 +0100 (Tue, 14 Feb 2006) | 5 lines

Added blending type "Overlay" to options for Mix node & ramp shaders.

The description is here; it blends nicely bright parts.
http://www.pegtop.net/delphi/articles/blendmodes/overlay.htm

------------------------------------------------------------------------
r6827 | ton | 2006-02-14 19:04:25 +0100 (Tue, 14 Feb 2006) | 3 lines

Added callback to compositor, so it can print in RenderWindow header the
current to-be composited node and amount of memory in use.

------------------------------------------------------------------------
r6826 | guitargeek | 2006-02-14 18:55:55 +0100 (Tue, 14 Feb 2006) | 2 lines

A small alteration for  C syntax, code and vars mixed up (MSVC complained about this).

------------------------------------------------------------------------
r6825 | ton | 2006-02-14 18:35:38 +0100 (Tue, 14 Feb 2006) | 2 lines

Render Layer button typo...

------------------------------------------------------------------------
r6824 | ton | 2006-02-14 18:32:49 +0100 (Tue, 14 Feb 2006) | 10 lines

Nasty memory conflict in Compositor... when:

- a Group has Curve node inside
- this Group was re-used more times
- with threaded render activated
- and both groups executed on same time

Then the premultipy optimize table was created twice... causing memory
to confuse.

------------------------------------------------------------------------
r6823 | ton | 2006-02-14 17:16:23 +0100 (Tue, 14 Feb 2006) | 3 lines

Uncommitted button "Single" from render-layer panel... this was supposed
to be a new feature, but have not working code for it yet :)

------------------------------------------------------------------------
r6822 | ton | 2006-02-14 12:46:45 +0100 (Tue, 14 Feb 2006) | 3 lines

Weekly cleanup in my precious blender tree :)
Unused variables, missing prototypes mostly.

------------------------------------------------------------------------
r6821 | ton | 2006-02-14 12:30:43 +0100 (Tue, 14 Feb 2006) | 3 lines

Dangerous typo in softbody.c... a missing '/' made a /* */ comment to
disable the entire next line of code too.

------------------------------------------------------------------------
r6820 | ton | 2006-02-14 12:28:13 +0100 (Tue, 14 Feb 2006) | 6 lines

Bug fix: copying a scene, choosing 'empty scene' did a corrupt copy of the
scene render layers

Little feat: Render Result Nodes that use other scene, have icon in button
to indicate this.

------------------------------------------------------------------------
r6819 | ton | 2006-02-14 11:02:25 +0100 (Tue, 14 Feb 2006) | 10 lines

Reviewed octree filling times... found a way to optimize some 10% of time,
nothing radical. :)
Just remember to always try higher octree resolutions (256 or 512) or more
complex scenes. Can be 5-10 times faster.

For waiting pleasure; added a per-second header print update to tell where
octree is. Also added an ESC test in octree making.

(Commit in image.c is a faulty print for 'Not an anim').

------------------------------------------------------------------------
r6818 | ton | 2006-02-14 01:05:09 +0100 (Tue, 14 Feb 2006) | 3 lines

Made threaded Compositing more friendly for last node in list... the main
thread entered a loop without sleep() then.

------------------------------------------------------------------------
r6817 | ton | 2006-02-14 01:04:07 +0100 (Tue, 14 Feb 2006) | 4 lines

Bug in vector blur; the mask anti-alias code was accidentally using a char
for counting the size of a 'jaggie' to be antialiased, which can of course
be more than 255 pixels in size... causing eternal loop.

------------------------------------------------------------------------
r6816 | briggs | 2006-02-13 23:49:46 +0100 (Mon, 13 Feb 2006) | 11 lines

Modified Files:
	source/blender/blenlib/BLI_editVert.h
 	source/blender/include/BIF_editmesh.h
 	source/blender/src/edit.c source/blender/src/editmesh.c
 	source/blender/src/editmesh_lib.c
 	source/blender/src/editmesh_mods.c
 	source/blender/src/editmesh_tools.c
 	source/blender/src/header_view3d.c
Log:
	Commit of the 'upgraded merge tools' (Patch #3345) and 'inclusive selection mode conversion' (Patch #3768).

------------------------------------------------------------------------
r6815 | ton | 2006-02-13 23:38:41 +0100 (Mon, 13 Feb 2006) | 3 lines

Typo in smart SETLOOPER() define, which I added to prevent nasty loop
code for going over all objects in set. :)

------------------------------------------------------------------------
r6814 | ton | 2006-02-13 22:40:47 +0100 (Mon, 13 Feb 2006) | 9 lines

Fix in blur filter 'bokeh'.

This filter type uses a filter-image, and spreads color of current pixel
over all neighbour pixels based on this filter-image. That creates a
problem on borders... since there only parts get accumulated.

Solved by going over the to-be-filtered image pretending it is wider
exactly the amount of the filter-image size.

------------------------------------------------------------------------
r6813 | broken | 2006-02-13 22:08:43 +0100 (Mon, 13 Feb 2006) | 3 lines

Updated Mac OS X icons courtesy of Erik Mendoza, re. this thread on blender.org:
http://www.blender.org/forum/viewtopic.php?t=8121

------------------------------------------------------------------------
r6812 | ton | 2006-02-13 21:39:31 +0100 (Mon, 13 Feb 2006) | 2 lines

Ugly bug in ungrouping... it left freed memory in the main database.

------------------------------------------------------------------------
r6811 | ton | 2006-02-13 21:14:42 +0100 (Mon, 13 Feb 2006) | 7 lines

Bugfix: When using 'border render' (part image), and then in compositor
the Preview Panel, you got a crash... this case wasn't anticipated in
code... two cropping mechanisms on top. :)

Works OK now, but offset of cropping is drawn a bit weird... this case
needs recode a bit. On list for later.

------------------------------------------------------------------------
r6810 | ton | 2006-02-13 20:38:31 +0100 (Mon, 13 Feb 2006) | 3 lines

Bugfix: the RenderResult node, using another scene, didn't use the
frame nummers of the active scene.

------------------------------------------------------------------------
r6809 | ton | 2006-02-13 20:27:16 +0100 (Mon, 13 Feb 2006) | 7 lines

Preview rendering improvement;

Until now, on each mouse/key event preview render restarted with first tile.
It now rememers where it was, and continues rendering.
Also tried to get threaded preview working, but its more work than I can
spend right now. Back to bugs :)

------------------------------------------------------------------------
r6808 | ton | 2006-02-13 12:52:55 +0100 (Mon, 13 Feb 2006) | 3 lines

Bugfix in Preview renders; material with lightgroups didn't get initialized
correctly.

------------------------------------------------------------------------
r6807 | erwin | 2006-02-13 07:37:34 +0100 (Mon, 13 Feb 2006) | 2 lines

allow typed constraints (for future hinge/vehicles etc)

------------------------------------------------------------------------
r6806 | erwin | 2006-02-13 07:28:35 +0100 (Mon, 13 Feb 2006) | 2 lines

more vehicle preparation and some bullet collision detection bugfixes (related to collision margin)

------------------------------------------------------------------------
r6805 | erwin | 2006-02-13 06:45:32 +0100 (Mon, 13 Feb 2006) | 7 lines


Improved OpenGL Shader Language support for game engine. The python interface is much simplified. Drawback is that scripts need to be updated next release. Testfiles:

http://www.continuousphysics.com/ftp/pub/test/index.php?dir=blender/&file=demos-2.42.zip

patch by Charlie Carley (snailrose @ elysiun.com)

------------------------------------------------------------------------
r6804 | erwin | 2006-02-13 04:37:00 +0100 (Mon, 13 Feb 2006) | 2 lines

gameplayer will use blender materials automatically

------------------------------------------------------------------------
r6803 | sirdude | 2006-02-13 02:25:03 +0100 (Mon, 13 Feb 2006) | 8 lines



assignment typo:  had == instead of =
Reported by jkw on the forums.
source/blender/python/api2_2x/Text3d.c

Kent

------------------------------------------------------------------------
r6802 | ton | 2006-02-12 22:57:56 +0100 (Sun, 12 Feb 2006) | 13 lines

Couple of smaller fixes:

- Improved stats drawing while rendering, it now draws - while preparing
  renderdata -  each second the amount of verts/faces.
  Also while rendering, the amount of finished and total parts are printed.

- Added ESC in loop that generated Group render data

- On deleting Render Layers, the nodes that use them are now checked and
  corrected.

- Restored drawing all scanlines in renderwindow... this wasn't the bug!

------------------------------------------------------------------------
r6801 | theeth | 2006-02-12 22:09:18 +0100 (Sun, 12 Feb 2006) | 11 lines

Bug #2839: Shift key not working in Shear, Push-Pull and shrink-Fatten

- I changed the input method for shear quite a bit. It used to be constant
  regardless of zooming, so it was quite limiting in the amount of shear you
  could do. However, I'm not sure if the current method is quite well
  adjusted, if you think it works too fast, please drop me a line.
  It's basicly the same method as Shrink-Fatten / Push-Pull except on an
  horizontal basis. (since shear is an horizontal motion and the two others
  are more like pulling towards/pushing away from you in regards to the center)
- Factored out the input methods in preparation for later code <evil>.

------------------------------------------------------------------------
r6800 | ton | 2006-02-12 21:21:08 +0100 (Sun, 12 Feb 2006) | 11 lines

Work on shadowbuffer system... right now only new filtertypes for
sampling have been activated for UI. Check the pictures here:

http://www.blender.org/bf/filters/index2.html

I also did do tests with anti-aliased shadowbuffers:

http://www.blender.org/bf/filters/index3.html

But this needs more thinking over still...

------------------------------------------------------------------------
r6799 | ton | 2006-02-12 21:17:12 +0100 (Sun, 12 Feb 2006) | 5 lines

Argh! Commented out line in readfile.c (with comment I really dont know
what this does), actually makes sure that on linking same data from a
library again (after reopening file), the linking of data pointers goes
OK.

------------------------------------------------------------------------
r6798 | lukep | 2006-02-12 19:25:53 +0100 (Sun, 12 Feb 2006) | 5 lines

commiting patch #3847

add drag-lock to numbuts to prevent accidental adjustemnts.
Patch furnished by Roger Prefontaine (isocles)

------------------------------------------------------------------------
r6797 | larstiq | 2006-02-12 19:07:45 +0100 (Sun, 12 Feb 2006) | 4 lines

==Translations==
 * Add missing sr@Latn.po translation
 * Try to make sure fr.po gets read as utf-8 encoded, should fix garbled data showing up

------------------------------------------------------------------------
r6796 | larstiq | 2006-02-12 18:30:06 +0100 (Sun, 12 Feb 2006) | 3 lines

==Translations==
 * Bring back Serbian and Ukrainian lost in the Orange merge

------------------------------------------------------------------------
r6795 | larstiq | 2006-02-12 18:19:53 +0100 (Sun, 12 Feb 2006) | 3 lines

==Translations==
 * Make sure all languages get built (Makefile, scons to be done)

------------------------------------------------------------------------
r6794 | larstiq | 2006-02-12 18:07:29 +0100 (Sun, 12 Feb 2006) | 3 lines

==Translations==
 * Use newest French translation from Erwan Jacq

------------------------------------------------------------------------
r6793 | letterrip | 2006-02-12 16:37:01 +0100 (Sun, 12 Feb 2006) | 4 lines

==SConscript fix for cygwin==

open inventor export contributed by Radek Barton

------------------------------------------------------------------------
r6792 | ton | 2006-02-12 00:17:41 +0100 (Sun, 12 Feb 2006) | 16 lines

Couple of features/fixes:

- Compositor now frees memory of buffers internally used in groups
  immediately. This wasn't part of the event-based cache anyway

- New option: "Free Texture Images" (in render Output panel). This
  frees after each render of each scene all images and mipmaps as
  used by textures. As reference it prints total amount of MB freed.

- Render stage 'creating speed vectors' had no ESC checking yet

- Made drawing scanline updates during render draw 1 scanline less...
  dunno, still hunting for weird opengl crashes.

- 3D preview render didn't properly skip sequence or composit render.

------------------------------------------------------------------------
r6791 | ton | 2006-02-11 19:20:17 +0100 (Sat, 11 Feb 2006) | 3 lines

Switching glFlush() to glFinish() in renderwindow drawing for updates...
no idea if it helps, will be tested now. :)

------------------------------------------------------------------------
r6790 | ton | 2006-02-11 17:52:18 +0100 (Sat, 11 Feb 2006) | 2 lines

Bugfix: duplicate time node didn't copy the curve itself.

------------------------------------------------------------------------
r6789 | ton | 2006-02-11 16:55:00 +0100 (Sat, 11 Feb 2006) | 18 lines

Thread rendering stability commit.

I noticed still several cases where the Imbuf library was called within a
thread... and that whilst the Imbuf itself isn't threadsafe. Also the
thread lock I added in rendering for loading images actually didn't
work, because then it was still possible both threads were accessing the
MEM_malloc function at same time.

This commit nearly fully replaces ImBuf calls in compositor (giving another
nice speedup btw, the way preview images in Nodes were calculated used
clumsy imbuf scaling code).

I've also centralized the 'mutex' locking for threading, which now only
resides in BLI_threads.h. This is used to secure the last ImBuf calls
I cannot replace, which is loading images and creating mipmaps.

Really hope we get something more stable now!

------------------------------------------------------------------------
r6788 | elubie | 2006-02-11 16:02:23 +0100 (Sat, 11 Feb 2006) | 5 lines

=== bugfix ===
Fixing case where BLI_make_file_string reads one byte before passed in string when the string is empty.
Leftover from patch tracker item #2740 - thanks Andrew Zabolotny.
Also fixed the part that made sure exactly one slash is appended at the end of the dir - comment wasn't telling what the code did here :)

------------------------------------------------------------------------
r6787 | ton | 2006-02-11 14:23:08 +0100 (Sat, 11 Feb 2006) | 72 lines

Two significant improvements in vectorblur:

1) Accumulation buffer alpha handling
Accumulating colors in an accumulation is simple; a weighting factor can
make sure colors don't over- or undersaturate.
For alpha this is a bit more complex... especially because the masks for
vectorblur are anti-aliased themselves with alpha values. Up to now I just
premultiplied the mask-alpha with the actual color alpha, which worked OK
for solid masks, but not for transparent ones. I thought that would be an
acceptable situation, since 'ztra' faces only get blurred with alpha==1.

However, it gives bad results when using 'mist' in Blender, which just
gives pixels an alpha value based on camera distance. In these cases the
alpha became oversaturated, accumulating into too high values.

The solution is to store the mask-alpha separately, only premultiply this
alpha with the weighting factor to define the accumulation amount.
This is the math:

blendfactor: the accumulation factor for a vectorblur pass
passRGBA: color and alpha value of the current to be accumulated pass
accRGBA: color and alpha value of accumulation buffer (initialized
         with original picture values)
maskA: the mask's alpha itself

accRGBA = (1 - maskA*blendfactor)*accRGBA + (maskA*blendfactor)*passRGBA

This formula accumulates alpha values equally to colors, only using the
mask-alpha as 'alpha-over' operation.
It all sounds very logical, I just write this extensive log because I
couldn't find any technical doc about this case. :)

2) Creating efficient masks with camera-shake

Vector blur can only work well when there's a clear distinction between
what moves, and what doesn't move. This you can solve for example by
rendering complex scenes in multiple layers. This isn't always easy, or
just a lot of work. Especially when the camera itself moves, the mask
created by the vectorblur code becomes the entire image.
A very simple solution is to introduce a small threshold for
moving pixels, which can efficiently separate the hardly-moving pixels
from the moving ones, and thus create nice looking masks.

You can find this new option in the VectorBlur node, as 'min speed'.
This mimimum speed is in pixel units. A value of just 3 will already
clearly separate the background from foreground.
Note; to make this work OK, all vectors in an image are scaled 3 pixels
smaller, to ensure everything keeps looking coherent.

Test renders; 'Elephants Dream' scene with lotsof moving parts; rendered
without OSA, image textures, shadow or color correction.

No vectorblur:
http://www.blender.org/bf/vblur.jpg

With vectorblur, showing the alpha-saturation for mist:
http://www.blender.org/bf/vblur1.jpg

New accumulation formula:
http://www.blender.org/bf/vblur2.jpg

Same image, but now with a 3 pixel minimum speed threshold:
http://www.blender.org/bf/vblur3.jpg

Next frame, without minimum speed
http://www.blender.org/bf/vblur4.jpg

Same frame with speed threshold:
http://www.blender.org/bf/vblur5.jpg

(Only 20 steps of vectorblur were applied for clarity).

------------------------------------------------------------------------
r6786 | ton | 2006-02-11 13:45:32 +0100 (Sat, 11 Feb 2006) | 7 lines

Potential ugly bugfix in MEM_cache; the function

int IMB_cache_limiter_get_refcount()

Did not return a value at all. Any compiler should flag big warnings for
this btw... tsk tsk!

------------------------------------------------------------------------
r6785 | lukep | 2006-02-11 13:07:55 +0100 (Sat, 11 Feb 2006) | 6 lines

Applying patch #3826

smooth and bevel shortcuts listed in menus and toolbox were incorrect.

no new functionality

------------------------------------------------------------------------
r6784 | blendix | 2006-02-11 13:04:16 +0100 (Sat, 11 Feb 2006) | 9 lines


ABF Fix:

With two adjacent quads sharing three vertices, splitting to triangles
could create duplicate triangles. This broke unwrapping of Suzanne near
the nose, where there is a sort of t-joint with quads that isn't really
a t-joint. Now works fine:
http://users.pandora.be/blendix/suzanne.png

------------------------------------------------------------------------
r6783 | bjornmose | 2006-02-11 00:47:40 +0100 (Sat, 11 Feb 2006) | 3 lines

i have a file running into this check causing a 'hang'  without
may be it's a development hick up .. still i think that error trap should be there

------------------------------------------------------------------------
r6782 | jesterking | 2006-02-10 23:41:28 +0100 (Fri, 10 Feb 2006) | 4 lines

==Python==
* last commit by Ken broke compile for msvc. general reminder: in C
  introduce new vars at the *beginning* of a block, not in the middle.

------------------------------------------------------------------------
r6781 | sirdude | 2006-02-10 22:10:58 +0100 (Fri, 10 Feb 2006) | 16 lines



Added ability to render Zbuffer to an image.
Just use SHIFT-F3 and save an image.

	Basically all this does is copy the zbuffer to a new Image buffer
	and pass that to the save image function.

Sample output:
	http://www.cs.umn.edu/~mein/blender/kungfu_zbuf255.jpg

	Also thanks to Jesterking for helping me debug dumbness... ;)
	and the nice screenshot.

Kent

------------------------------------------------------------------------
r6780 | ton | 2006-02-10 19:57:52 +0100 (Fri, 10 Feb 2006) | 21 lines

Interesting commit for artists using huge textures;

The code that generated mipmaps took a real long time to do it... on a
5k x 5k image it took here (no optim, debug compile) 32.5 sec.

Recoded the very old filtering routine, which already brought it down to
2.8 seconds. Then tested if we even need this filtering... in many cases
the images are painted or photographs, which is filtered OK already.
Without the filter, the mipmap timing went down to 0.39 second. :)

http://www.blender.org/bf/filters/index1.html

Here's an example of two 'mips' generated with or without gauss filter.
Note that aliasing in an image remains there... which can be a wanted
effect anyway.

So; added the gauss filter as option in making mipmaps. Also had to
reshuffle the buttons there in a more logical manner.
There's also disabled code in the do_versions to set 'gauss' on in older
files. Will be enabled during release time.

------------------------------------------------------------------------
r6779 | ton | 2006-02-10 14:57:30 +0100 (Fri, 10 Feb 2006) | 6 lines

Upgrade for Node type definitions: the min/max allowed values for input
sockets were not used yet... now they're verified on read, and written
in socket stack data on adding new nodes.
Also the buttons in Nodes use these values now. Special request from
Nathan Vegdahl who seems to be messing around with my precious nodes! :)

------------------------------------------------------------------------
r6778 | blendix | 2006-02-10 14:37:06 +0100 (Fri, 10 Feb 2006) | 5 lines


Faceselect mode fixes:
- Don't allow entering faceselect mode on a linked mesh (only checked object).
- Enable drawing of seams after ctrl+E seam marking.

------------------------------------------------------------------------
r6777 | khughes | 2006-02-10 01:08:06 +0100 (Fri, 10 Feb 2006) | 15 lines



===Python API===
Three more changes for the Mesh module:
(1) Bug fix for UV vertices ("sticky").  me->msticky was not being updated
   when vertices were added or deleted from the mesh.
(2) Vertex, edge and face .extend() methods accept zero-length sequences
   instead of throwing an exception.  (Note that not giving any argument
   is still an error).
(3) Edge and face .extend() methods ignore "invalid" edges or faces which
   have the same vertex twice instead of throwing an exception.  Cam and I
   argued about this for a while... :-)

Ken

------------------------------------------------------------------------
r6776 | ton | 2006-02-10 00:45:28 +0100 (Fri, 10 Feb 2006) | 15 lines

Testing commit for the studio; a bump-correction factor for when images
get sampled on larger distance. It actually just flattens bump when the
sampled area is (much) larger than pixel size, to prevent weird things
like:

current render:
http://www.blender.org/bf/b1.jpg

distance corrected:
http://www.blender.org/bf/b2.jpg

(image based on Alexander file :)

Tested on env's dinos too... seems to work, but we'll see.

------------------------------------------------------------------------
r6775 | ton | 2006-02-09 23:56:08 +0100 (Thu, 09 Feb 2006) | 3 lines

Addition to previous commit: disabling RenderLayer "Halo" did not skip
lamphalo rendering yet... silly me!

------------------------------------------------------------------------
r6774 | ton | 2006-02-09 23:33:49 +0100 (Thu, 09 Feb 2006) | 11 lines

Tweaks in RenderLayer rendering:

- LampHalos can be rendered separately too. Just disable 'Solid' in a
  layer and keep 'Halo' option enabled.
- Note that disabling 'Solid' will still fill in Z values for the solid
  faces, to provide occlusion information for the Ztransp and Halo layer
  options. The latter didn't work this way until now for OSA render.

ALso note that that Ztransp+LampHalo still isn't good marriage... it
renders a bit weird, but that's an old issue. :)

------------------------------------------------------------------------
r6773 | bjornmose | 2006-02-09 23:09:11 +0100 (Thu, 09 Feb 2006) | 3 lines

make msvc6 compile (thanks peter)
so beat me if it does not work ;)

------------------------------------------------------------------------
r6772 | ton | 2006-02-09 20:58:32 +0100 (Thu, 09 Feb 2006) | 3 lines

Potential thread render bug/crashing:
Discovered I forget to re-enable the 'imbuf load' and 'envmap' mutexes.

------------------------------------------------------------------------
r6771 | ton | 2006-02-09 20:47:53 +0100 (Thu, 09 Feb 2006) | 8 lines

Feature:
- Appending Images now re-assigns relative paths, to match with the file
  as currently being used

Bugfix:
- Memory error in creating preview render rects... gave no issues here,
  but i guess that's not saying anything! Hope its more stable now. :)

------------------------------------------------------------------------
r6770 | bjornmose | 2006-02-09 20:31:50 +0100 (Thu, 09 Feb 2006) | 2 lines

...umm msvc6 projects again

------------------------------------------------------------------------
r6769 | ton | 2006-02-09 19:55:14 +0100 (Thu, 09 Feb 2006) | 3 lines

Made exr saving respect the 'RGB' or 'RGBA' setting in render output
panel. Saves a whopping 25% filesize!

------------------------------------------------------------------------
r6768 | ton | 2006-02-09 19:48:53 +0100 (Thu, 09 Feb 2006) | 6 lines

The preview-jpg option for rendering exr files was saving 32 bits jpg...
a weird format only blender can read properly. Made it 24 bits.

Also: fixed very weird line-endings in pipeline.c after schlaile's last
commit here.

------------------------------------------------------------------------
r6767 | ton | 2006-02-09 18:37:22 +0100 (Thu, 09 Feb 2006) | 10 lines

Further tweak of Vector Blur and alpha;

- it now correctly pre-multiplies with alpha the RGB values for the
  antialised mask (alpha artefacts were visible)
- The transparent layer will add speed vectors on top of the solid layer,
  cancelling out cases where the solid layer was not moving (like in its
  own antialising.
  This works fine, for as long you don't render in a single pass trans-
  parent faces that move on top of not-moving solid faces.

------------------------------------------------------------------------
r6766 | campbellbarton | 2006-02-09 16:56:17 +0100 (Thu, 09 Feb 2006) | 2 lines

oops. menu wasnt copied into space.c

------------------------------------------------------------------------
r6765 | campbellbarton | 2006-02-09 16:14:19 +0100 (Thu, 09 Feb 2006) | 2 lines

Added "select same group" to select group menu.

------------------------------------------------------------------------
r6764 | bjornmose | 2006-02-09 15:17:26 +0100 (Thu, 09 Feb 2006) | 2 lines

msvc6 projects that will compile when MEM_Allocator.h is fixed

------------------------------------------------------------------------
r6763 | ton | 2006-02-09 12:07:04 +0100 (Thu, 09 Feb 2006) | 41 lines

Compositing workflow upgrade;

You now can set a Preview panel in the Image window, to define a sub-rect
of an image to be processed. Works like the preview in 3D Window. Just
press SHIFT+P to get it activated. Very nice speedup!

This is how it works:

- The compositor still uses the scene image size (including % setting) for
  Viewer or Composite output size
- If a preview exists, it calculates the cropped rect from its position
  in the Image window, and stores that in the Scene render data
- On composite execute, it copies only this part from the 'generator nodes',
  right now Images or Render Results. That makes the entire composite tree
  only using small rects, so it will execute fast.
- Also the render window will only display the cropped rect, and on F12
  only the cropped part is being executed
- On rendering in background mode, the cropping is ignored though.

Usability notes:

- translating or zooming view will automatically invoke a recalculation
- if you zoom in on details, the calculated rect will even become smaller
- only one Imagewindow can have this Preview Panel, to prevent conflicts of
  what the cropped area should be. Compositing is on Scene level, not local
  per image window. (Note; 3D Previews are local per window!)
- Closing the preview panel will invoke a full-size recalculation
- All passes/layers from rendering are nicely cropped, including Z and
  vectors.

The work to make the compositor do cropping was simple, but getting the
Image window displaying correctly and get all events OK was a lot of work...
indeed, we need to refactor Image Window usage once. Sorry for making the
mess even bigger now. :) I've tried not to interfere with UV edit or Paint
though... only when you're in compositing mode the panel will work.

BUG fix:

3D Preview render didn't work when multiple layers were set in the current
scene.

------------------------------------------------------------------------
r6762 | stiv | 2006-02-09 00:00:34 +0100 (Thu, 09 Feb 2006) | 3 lines

add #include <sys/time.h> to get declaration of struct timeval on
loonix for that ${BADWORD} webserver thingie.

------------------------------------------------------------------------
r6761 | sirdude | 2006-02-08 23:04:54 +0100 (Wed, 08 Feb 2006) | 9 lines



Changed Composit Composite.

(Voted on #blendercoders and did some websearching and it seems like
this is more correct.)

Kent

------------------------------------------------------------------------
r6760 | blendix | 2006-02-08 22:01:00 +0100 (Wed, 08 Feb 2006) | 27 lines


Seam Cutting in Faceselect Mode:

- Mark Border Seam: mark edges on the border of face selection as seam.
- Clear Seam: clears seams in selected faces.
Hotkey: Ctrl+E

- Alt+RMB Click: mark/clear edge as seam
- Alt+Shift+RMB Click: mark/clear seams along the shortest/straightest path
  from last marked seam. The cost of the path also includes some measure of
  'straightness' next to the typical distance to make things work more
  predicatble and edgeloop friendly. Note that this cuts a path from edge to
  edge, not vertex to vertex. That gives some nice control over the direction
  of the seam.

Also includes:

- Removed old LSCM code.
- Fix updates glitches with DerivedMesh/Subsurf drawing in FaceSelect mode.
  Now there's a drawMappedFacesTex instead of drawFacesTex.
- Minimize Stretch menu entry called Limit Stitch.
- Removed the lasttface global, was being set before it was used anyway, so
  might as wel return from a function.
- Moved some backbuf sampling code to drawview.c from editmesh, so it can be
  used by Faceselect and VPaint.
- Use BLI_heap in parametrizer.c.

------------------------------------------------------------------------
r6759 | ton | 2006-02-08 19:28:28 +0100 (Wed, 08 Feb 2006) | 18 lines

Upgraded max limit for faces in render. Up to now, quads were zbuffered
as triangles, with a tag bit to denote which triangle was which part of
the quad. That was hardcoded bit 0x800000, which allows a maximum of
about 8 million quads...

I've made this a nice #define, set to be 16 times larger. So, now the
facejunkies can go up to 128 Million faces, were it not that this will eat
up a load of memory!
I only have 1 Gig in this machine. A test with 9M vertices and 7.5M quads
eats up 912 MB of memory already. If this becomes a real issue, I know
tricks how to make the vertices 20 bytes smaller, and faces 4 bytes, which
would in the above case save about 200 MB. Not much... but probably worth
the try? A much better method is of course 'bucketing' the renderdata per
tile. It's a spec of the render recode, but not a quicky to add.

Also: bug fix in curve code. There was a short counter still, crashing on
large curves with resol set to 1024 :)

------------------------------------------------------------------------
r6758 | blendix | 2006-02-08 19:06:35 +0100 (Wed, 08 Feb 2006) | 3 lines


A Heap / Priority Queue ADT, will be used for Dijkstra shortest path.

------------------------------------------------------------------------
r6757 | ton | 2006-02-08 18:30:28 +0100 (Wed, 08 Feb 2006) | 9 lines

Three fixes;

- Composit cache now gets fully freed on a render. Each output socket of a
  node stores the entire image... and while render that's a waste of memory

- Sky 'paper' render was using wrong texture coordinates

- Found missing test_break() in ztransp rendering.

------------------------------------------------------------------------
r6756 | antont | 2006-02-08 17:58:12 +0100 (Wed, 08 Feb 2006) | 2 lines

More things for easying the job of replacing proxy/working armatures in the scenes of Elephants Dream with the final ones: 1) adds removing Fakeusers from Actions to PyAPI, now with a hackish call in the Blender module. Possibility of better ways should be discussed on bf-python.           2) adds BPY Object.copyNLA(otherob) - that was simple 'cause the copy_nla function was nicely in kernel nla.c.            3) Object.convertActionToStrip(), here it gets tricky: the function to convert the active action of an object to a NLA strip was buried inside the respective function in the GUI editnla.c which had also code for reading mouse coordinates and whatnot. So I took the actual copying out of it and moved it to the kernel nla.c as a new function, bActionStrip *convert_action_to_strip (Object *ob). that code used other functions, of which find_stridechannel() was also in editnla.c but free of UI code so i moved it to kernel too. kept things with UI code in editnla.c. tried to be careful with keeping mallocs and the pointer business intact, and tested that this works and after usage Blender gives no memory warnings or anything, so seems ok - but certainly is best reviewed by ppl more active with c coding than me. hopefully this little refactor makes it possible to add this function to the menus too, which was not straightforward earlier when Matt took a look at it.

------------------------------------------------------------------------
r6755 | ton | 2006-02-08 17:51:09 +0100 (Wed, 08 Feb 2006) | 31 lines

New:

- ZTransp render now also delivers Z values and Speed vectors in passes
  Note that speed vectors accumulate within a pixel to store the minimum,
  so rendering ztransp on top of a non-moving plane won't give speed...
  Best results you get is by rendering it in a separate layer.

  The Z value stored is the closest visible transparent face in the pixel.

Fixes:

- Render to 'spare page' has been enabled again. Because of the strict
  separation of Render and UI, but especially because a 'render result' now
  can consist of unlimited images, I've not made this a Render feature.
  Instead, the render-window itself stores the 'spare' image... I also
  had to change the convention for it a bit.

  Now, instead of having two "render buffers" (which was a render feature),
  the RenderWindow will store each previous frame on a re-render. This
  storing will only start after you've pressed 'Jkey' once, but then always
  will happen for as long the rendered image is same size as previously.
  For clarity, I've also renamed the window title, to 'previous frame'.

- RenderWindow shows alpha again on Akey

- Display of the Zvalues in ImageWindow has been tweaked. White now denotes
  closest, and the color range goes from camera clip-sta to clip-end.

- Bugfix: on splitting/merging/duplicating windows, the 3D Previewrender was
  not always freed correctly, potentially causing crashes or memory leaks.

------------------------------------------------------------------------
r6754 | campbellbarton | 2006-02-08 15:38:47 +0100 (Wed, 08 Feb 2006) | 5 lines

This script converts open and closed edge loops into polylines

Supported:
	 Polylines where each vert has no more then 2 edges attached to it.

------------------------------------------------------------------------
r6753 | campbellbarton | 2006-02-08 13:52:57 +0100 (Wed, 08 Feb 2006) | 6 lines

Changed MEM_freeN(nu->knotsu);
to..
if (nu->knotsu) MEM_freeN(nu->knotsu);
Python created curves have nu->knotsu set to zero and was throwing.
  Memoryblock free: attempt to free NULL pointer

------------------------------------------------------------------------
r6752 | ton | 2006-02-08 11:57:48 +0100 (Wed, 08 Feb 2006) | 13 lines

- Autosmooth now calculates smoothing based on original object-space
  vertex locations, not global coordinates. This ensures consistant
  autosmoothing for each frame. Also fixes missing vectorblur for parts.

  Nice task for a dev: put autosmooth code in end of modifier stack... then
  it also shows in 3D window

- BUG FIX! I noticed the last tile rendered quite slow, and even did not
  update scanlines. Found out that the main tiles processor didn't go
  to sleep when the last tile was rendered, because it detected a free
  possible thread. This caused the main thread to go into a very tight
  loop, eating up a lot of cpu and blocking the other thread.

------------------------------------------------------------------------
r6751 | jesterking | 2006-02-07 23:41:17 +0100 (Tue, 07 Feb 2006) | 3 lines

==SCons==
+ install blenderplayer to BF_INSTALLDIR after successful build

------------------------------------------------------------------------
r6750 | jesterking | 2006-02-07 23:24:41 +0100 (Tue, 07 Feb 2006) | 5 lines

==SCons==
* 'scons blenderplayer' links the blenderplayer now correctly also on win32-vc.
  If the OS X-folks can verify the linking of the blenderplayer too, we'd have
  much of the needed work done.

------------------------------------------------------------------------
r6749 | jesterking | 2006-02-07 22:47:11 +0100 (Tue, 07 Feb 2006) | 4 lines

==SCons==
* The only lib that needs change in more than one place (two), and I forgot
  that, of course.

------------------------------------------------------------------------
r6748 | jesterking | 2006-02-07 22:24:36 +0100 (Tue, 07 Feb 2006) | 9 lines

==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux
  only, but was only linking issue, so should work on other platforms too).

  NOTE: I noticed some compileflags for GE specific libs that were left out -
  I re-enabled them in the SConscripts, but I'm going to do a test build my-
  self now, so if there are problems with them on win32, I probably already
  know about them :)

------------------------------------------------------------------------
r6747 | jesterking | 2006-02-07 22:12:01 +0100 (Tue, 07 Feb 2006) | 3 lines

==SCons==
* use proper seperator instead of *nix-only /

------------------------------------------------------------------------
r6746 | jesterking | 2006-02-07 22:04:22 +0100 (Tue, 07 Feb 2006) | 3 lines

==SCons==
- remove blenderdummy.cpp from list, so that elbeem actually works

------------------------------------------------------------------------
r6745 | ton | 2006-02-07 20:59:02 +0100 (Tue, 07 Feb 2006) | 5 lines

Wanted feature for curves: a render-time resolution. This option is
located under the 'def resolu' button. If not zero, it assigns this
resolution to a curve on render.
Also copies with ctrl+c menu.

------------------------------------------------------------------------
r6744 | broken | 2006-02-07 20:04:24 +0100 (Tue, 07 Feb 2006) | 2 lines

Add the WITH_OPENEXR to sconscript. I needed this for toni's latest SceneRender stuff to work. Strange that it worked ok on his computer without this.

------------------------------------------------------------------------
r6743 | antont | 2006-02-07 19:33:01 +0100 (Tue, 07 Feb 2006) | 2 lines

additions to make the orange rendering preparation script work, sorry undocumented again (we are testing this now and gotta commit to get this to other compus at studio, Stivs make a note to bug me about the doc or someone add it.. :o)

------------------------------------------------------------------------
r6742 | ton | 2006-02-07 19:32:04 +0100 (Tue, 07 Feb 2006) | 9 lines

Further tweaking group appending...

Previous commits attempted to link objects in a group to the scene, when
appending the group. Unfortunately... a single append then also linked
objects from previously linked groups. This is still a bit messy, mostly
caused by the way how appending now is coded.

At least things work as expected now!

------------------------------------------------------------------------
r6741 | ton | 2006-02-07 18:44:02 +0100 (Tue, 07 Feb 2006) | 13 lines

Orange-reported vectorblur bug: when using autosmooth, the amount of
vertices differed on previous/next frame, causing speedvector calculus
to be skipped.
Now that worked OK, where it not that non-existing speed vectors were not
initialized zero while rendering...

Also another issue showed up with autosmooth. When using exact smooth
angles (like 30 degrees) on a model that has been spinned with exactly
30 degree steps, the autosmooth gave different results on each frame...
and only when compiled in O2 (probably thats doing bad float rounding).

Solved this by just adding 0.1 to the user defined smooth angle.

------------------------------------------------------------------------
r6740 | ton | 2006-02-07 16:50:55 +0100 (Tue, 07 Feb 2006) | 16 lines

Group Nodes made functional: each group now can be re-used (instanced)
with SHIFT+G. This works as well for local groups as library-linked
groups.

Also fixed that group nodes were copying internal data to the outside,
which made it impossible to use the socket-buttons to set individual
values for each group-instance.

Library-linked groups are prevented from editing. But, try to open a
group and it will give a request for 'make local'. The make local rule
is identical to other library data in blender, meaning:
- if all users of the library data are local -> the library data is
  flagged 'local', and if needed a unique name is made
- if there's mixed users (local and from other library data) it makes
  a full copy, and assigns this copy to all local users.

------------------------------------------------------------------------
r6739 | broken | 2006-02-07 14:05:17 +0100 (Tue, 07 Feb 2006) | 2 lines

* If an empty is a forcefield, scale the 3D forcefield shape with the empty drawsize

------------------------------------------------------------------------
r6738 | ton | 2006-02-07 12:39:26 +0100 (Tue, 07 Feb 2006) | 7 lines

Added "Blur factor" button in Vector Blur node, which scales the speed
vectors. It's actually shutter speed, but in this case works identical to
the old motionblur 'blur fac' button.

Note; the "Max Speed" button only clips speed, use this to prevent
extreme speed values. Max speed applied before the scaling happens.

------------------------------------------------------------------------
r6737 | campbellbarton | 2006-02-07 11:50:35 +0100 (Tue, 07 Feb 2006) | 7 lines

This script sets the UV mapping and image of selected faces from adjacent unselected faces.

Use this script in face select mode.

Note- If you make new faces between faces that are alredy UV mapped there is currently no way to say- map from others... this script does exactly that. and can save a lot of time manually moving and welding UV coords one by one.
Its realy usefull for mapping after a scanfill too.

------------------------------------------------------------------------
r6736 | campbellbarton | 2006-02-07 04:58:57 +0100 (Tue, 07 Feb 2006) | 2 lines

works with free verts and a bit faster

------------------------------------------------------------------------
r6735 | hos | 2006-02-07 04:58:33 +0100 (Tue, 07 Feb 2006) | 5 lines

Cleaning up some bad stuff from the merge in the release/ directory.
Somebody with good knowledge of the current state of icons should
probably check blenderbuttons for correctness. Also, splash.blend
was corrupt, so I restored the old version, but it says 2.40...

------------------------------------------------------------------------
r6734 | campbellbarton | 2006-02-07 04:41:28 +0100 (Tue, 07 Feb 2006) | 7 lines

From __bpydoc__

This script relaxes selected UV verts in relation to there surrounding geometry.

Use this script in face select mode.
Left Click to finish or wait until no more relaxing can be done.

------------------------------------------------------------------------
r6733 | hos | 2006-02-07 04:37:35 +0100 (Tue, 07 Feb 2006) | 3 lines

Needed to add zbuf_accumulate_vecblur() to the stubs.c for correct
linking of the blenderplayer.

------------------------------------------------------------------------
r6732 | ton | 2006-02-06 23:11:50 +0100 (Mon, 06 Feb 2006) | 57 lines

iImage based Vector Blur

After a couple of experiments with variable blur filters, I tried
a more interesting, and who knows... original approach. :)

First watch results here:
http://www.blender.org/bf/rt0001_0030.avi
http://www.blender.org/bf/hand0001_0060.avi

These are the steps in producing such results:

- In preprocess, the speed vectors to previous and next frame are
  calculated. Speed vectors are screen-aligned and in pixel size.
- while rendering, these vectors get calculated per sample, and
  accumulated in the vector buffer checking for "minimum speed".
  (on start the vector buffer is initialized on max speed).

- After render:
- The entire image, all pixels, then is converted to quad polygons.
- Also the z value of the pixels is assigned to the polygons
- The vertices for the quads use averaged speed vectors (of the 4
  corner faces), using a 'minimum but non-zero' speed rule.

  This minimal speed trick works very well to prevent 'tearing' apart
  when multiple faces move in different directions in a pixel, or to
  be able to separate moving pixels clearly from non-moving ones

- So, now we have a sort of 'mask' of quad polygons. The previous steps
  guaranteed that this mask doesn't have antialias color info, and has
  speed vectors that ensure individual parts to move nicely without
  tearing effects. The Z allows multiple layers of moving masks.

- Then, in temporal buffer, faces get tagged if they move or not
- These tags then go to an anti-alias routine, which assigns alpha
  values to edge faces, based on the method we used in past to antialias
  bitmaps (still in our code, check the antialias.c in imbuf!)

- finally, the tag buffer is used to tag which z values of the original
  image have to be included (to allow blur go behind stuff).

- OK, now we're ready for accumulating! In a loop, all faces then get
  drawn (with zbuffer) with increasing influence of their speed vectors.
  The resulting image then is accumulated on top of the original with a
  decreasing weighting value.

It sounds all quite complex... but the speed is still encouraging. Above
images have 64 mblur steps, which takes about 1-3 seconds per frame.

Usage notes:

- Make sure the render-layer has passes 'Vector' and 'Z' on.
- add in Compositor the VectorBlur node, and connect the image, Z and
  speed to the inputs.
- The node allows to set amount of steps (10 steps = 10 forward, 10 back).
  and to set a maximum speed in pixels... to prevent extreme moving things
  to blur too wide.

------------------------------------------------------------------------
r6731 | blendix | 2006-02-06 21:24:15 +0100 (Mon, 06 Feb 2006) | 7 lines


ABF:

- Improved splitting of quads, which helps to avoid some degenerate triangles.
- Also improvements to choosing pins to preserve symmetry better in a few
  typical cases.

------------------------------------------------------------------------
r6730 | ton | 2006-02-06 20:29:37 +0100 (Mon, 06 Feb 2006) | 5 lines

Sky textures were using wrong pixel-size vectors, so images got sampled
totally blurred.

Thanks plumiferos team for the poke!

------------------------------------------------------------------------
r6729 | schlaile | 2006-02-06 20:27:24 +0100 (Mon, 06 Feb 2006) | 4 lines

Fixed problem spottet by Ken Hughes, that prevented FFMPEG-output with
NTSC target from working (floating point exception).
Fixes bug #3879 from the bug tracker.

------------------------------------------------------------------------
r6728 | ton | 2006-02-06 18:45:43 +0100 (Mon, 06 Feb 2006) | 5 lines

Quite weird... I recall I fixed it, then it came back again.

Vertex selection (mesh edit) was using a short to calculate distances,
which can overflow with vertices outside of view.

------------------------------------------------------------------------
r6727 | campbellbarton | 2006-02-06 15:23:55 +0100 (Mon, 06 Feb 2006) | 4 lines

- Removed workarounds for Blender 2.41
- Mesh objects split by material- many 3ds objects used more then 16 per mesh. and when a face looses its image texture its tedious to set again.
- Removed a lot of unneeded variable creation.

------------------------------------------------------------------------
r6726 | ton | 2006-02-06 14:56:47 +0100 (Mon, 06 Feb 2006) | 3 lines

Inserting keypositions for a constraint which is part of action that's
part of action strip... now is corrected for action strip offset.

------------------------------------------------------------------------
r6725 | ton | 2006-02-06 14:00:42 +0100 (Mon, 06 Feb 2006) | 8 lines

Tweaked library link/append rules for groups a bit further;

- append group: appends group + puts objects in scene
- link group: only links group, doesn't put objects in scene

- append particle system with group: appends group + objects in scene
- link particle system with group: only links group

------------------------------------------------------------------------
r6724 | jesterking | 2006-02-06 13:47:11 +0100 (Mon, 06 Feb 2006) | 4 lines

==SCons==

+ Add python24.dll to list of needed dlls for install

------------------------------------------------------------------------
r6723 | jesterking | 2006-02-06 07:52:24 +0100 (Mon, 06 Feb 2006) | 10 lines

==SCons==

+ Added note about using the config files. I repeat it here: a user NEVER
  should edit config/(platform)-config.py directly. Instead, make a copy of
  config/(platform)-config.py to user-config.py, and change that instead.

  /Nathan

  PS. now I can say "I told you", and be sure I will :P

------------------------------------------------------------------------
r6720 | hos | 2006-02-06 07:34:36 +0100 (Mon, 06 Feb 2006) | 4 lines

Support for ffmpeg for cygwin/gcc. Off by default, enable with
     export WITH_FFMPEG=true
(and be sure to update lib/windows). Test, test, test.

------------------------------------------------------------------------
r6719 | hos | 2006-02-06 07:22:39 +0100 (Mon, 06 Feb 2006) | 4 lines

Using NAN_FFMPEG_CFLAGS to find the right headers, and making linking
with NAN_FFMPEG_LIBS more general (i.e., not just for linux, and
moving some of the linux linking stuff to source/nan_definitions.mk).

------------------------------------------------------------------------
r6718 | hos | 2006-02-06 05:25:20 +0100 (Mon, 06 Feb 2006) | 3 lines

The writeframeserver stuff requires that the cygwin stuff links with
-lwsock32.

------------------------------------------------------------------------
r6717 | hos | 2006-02-06 02:49:33 +0100 (Mon, 06 Feb 2006) | 8 lines

To aid linking, I added NAN_USE_FFMPEG_CONFIG (true/false).
If "export NAN_USE_FFMPEG_CONFIG=true" is added to user-def.mk,
the system executes the ffmeg-config program to set values
for NAN_FFMPEG (--prefix), NAN_FFMPEGLIBS (--libs avcodec avformat),
and NAN_FFMPEGCFLAGS (--cflags). Only one used so far is the
NAN_FFMPEGLIBS for linking on linux (if requested to do so).
Current default is not to do this.

------------------------------------------------------------------------
r6716 | schlaile | 2006-02-06 01:50:21 +0100 (Mon, 06 Feb 2006) | 2 lines

typo

------------------------------------------------------------------------
r6715 | schlaile | 2006-02-06 01:49:25 +0100 (Mon, 06 Feb 2006) | 2 lines

FFMPEG defs was initialized as an array, a string was appended

------------------------------------------------------------------------
r6714 | schlaile | 2006-02-06 01:20:31 +0100 (Mon, 06 Feb 2006) | 2 lines

quick fix quick typo

------------------------------------------------------------------------
r6713 | schlaile | 2006-02-06 01:19:23 +0100 (Mon, 06 Feb 2006) | 2 lines

skip_frame not available in all ffmpeg versions

------------------------------------------------------------------------
r6712 | schlaile | 2006-02-06 01:10:43 +0100 (Mon, 06 Feb 2006) | 2 lines

Added NAN_NO_FFMPEG user option

------------------------------------------------------------------------
r6711 | schlaile | 2006-02-06 00:46:55 +0100 (Mon, 06 Feb 2006) | 2 lines

mem_in_use can be victim to C++ name mangling on some platforms...

------------------------------------------------------------------------
r6710 | schlaile | 2006-02-06 00:32:17 +0100 (Mon, 06 Feb 2006) | 2 lines

-lopenal slipped between ffmpeg-link on Linux

------------------------------------------------------------------------
r6709 | schlaile | 2006-02-06 00:08:30 +0100 (Mon, 06 Feb 2006) | 2 lines

uint8_t changed to unsigned char (barfed on MSVC)

------------------------------------------------------------------------
r6708 | schlaile | 2006-02-06 00:07:48 +0100 (Mon, 06 Feb 2006) | 2 lines

removed inline since it barfs on MSVC

------------------------------------------------------------------------
r6707 | schlaile | 2006-02-05 23:47:32 +0100 (Sun, 05 Feb 2006) | 2 lines

Forgot #ifdef in sound_copy_hdaudio

------------------------------------------------------------------------
r6706 | jesterking | 2006-02-05 23:11:04 +0100 (Sun, 05 Feb 2006) | 3 lines

==SCons==
*remove double WITH_BF_FFMPEG

------------------------------------------------------------------------
r6705 | lukep | 2006-02-05 22:16:55 +0100 (Sun, 05 Feb 2006) | 3 lines

reverting default location for OpenEXR to the proper default
(the one in doc)

------------------------------------------------------------------------
r6704 | jesterking | 2006-02-05 21:38:40 +0100 (Sun, 05 Feb 2006) | 3 lines

==SCons==
* Changing linking order of a few libs, hopefully it solves a unresolved issue.

------------------------------------------------------------------------
r6703 | schlaile | 2006-02-05 20:49:29 +0100 (Sun, 05 Feb 2006) | 6 lines

Adds ffmpeg-support on Linux-platforms. Since ffmpeg is installed
always statically (you have to force it to build a dynamic library) the
resulting binary is redistributable.

The code is made ffmpeg-version independent using #ifdef's.

------------------------------------------------------------------------
r6702 | ton | 2006-02-05 20:43:46 +0100 (Sun, 05 Feb 2006) | 3 lines

Appending a single object with particle system, will now also expand to
append its group and objects.

------------------------------------------------------------------------
r6701 | schlaile | 2006-02-05 20:39:12 +0100 (Sun, 05 Feb 2006) | 2 lines

Adds a VFAPI-Plugin for TMPGenc to connect to the blender frameserver.

------------------------------------------------------------------------
r6700 | schlaile | 2006-02-05 20:36:32 +0100 (Sun, 05 Feb 2006) | 2 lines

- Header changes to support hdaudio, memcache limitor and framecount boost.

------------------------------------------------------------------------
r6699 | schlaile | 2006-02-05 20:33:17 +0100 (Sun, 05 Feb 2006) | 2 lines

Base library to support hdaudio-tracks (using ffmpeg only for now).

------------------------------------------------------------------------
r6698 | schlaile | 2006-02-05 20:30:37 +0100 (Sun, 05 Feb 2006) | 13 lines

* Adds configuration buttons for ffmpeg-output
* Large sequencer rewrite to support:
  - Audio-tracks, which are not completely loaded into memory (hdaudio) but
    kept on disk instead.
  - A dependency tree, that builds only the Imbufs, that are really needed
  - Cleaner sequencer code
  - Per instance data in sequencer plugins (without this, the Dynamic
    Noise Reduction plugin would be impossible)
  - A Luma Waveform display
  - A U/V scatter plot display
  - Memcache limiting in sequencer
  - Buttons changed according to the boosted framecount limit

------------------------------------------------------------------------
r6697 | jesterking | 2006-02-05 20:29:48 +0100 (Sun, 05 Feb 2006) | 4 lines

==SCons==
* Add WITH_BF_FFMPEG to scons system. Needs to be added to (platform)-config.py
  still. Otherwise defaults to  'false'.

------------------------------------------------------------------------
r6696 | schlaile | 2006-02-05 20:23:34 +0100 (Sun, 05 Feb 2006) | 7 lines

* Add memcache limitor-support to imbufs
* Add ffmpeg-read support in anim.c and util.c
* Makes ImBufs refcountable. You can now increase an internal refcounter
  in ImBufs (using IMB_refImBuf) which is decreased by freeImBuf.
  This makes it possible to simply pass ImBuf pointers around in the
  sequencer saving a few memcopies.

------------------------------------------------------------------------
r6695 | schlaile | 2006-02-05 20:18:55 +0100 (Sun, 05 Feb 2006) | 6 lines

* Adds userdef-types for memcache limitor and frameserver-rendering
* Boosts the blender frame limit by changing the type of the frame number
  from short to int everywhere. Without this, timelines longer than a few
  minutes are impossible to handle.
* Adds several types for ffmpeg input/output, hdaudio-tracks in sequencer

------------------------------------------------------------------------
r6694 | schlaile | 2006-02-05 20:16:32 +0100 (Sun, 05 Feb 2006) | 4 lines

* Fixes memory leak in pipeline.c
* Makes the render pipeline work in arbitrary order to support frameserver
  rendering.

------------------------------------------------------------------------
r6693 | khughes | 2006-02-05 20:15:58 +0100 (Sun, 05 Feb 2006) | 6 lines



==Python API==
Bugfix #3849: "break" instead of "continue" caused memory corruption in
faces.extend() if an edge was given in the middle of parameter list.

------------------------------------------------------------------------
r6692 | schlaile | 2006-02-05 20:14:46 +0100 (Sun, 05 Feb 2006) | 2 lines

FFMPEG-render support.

------------------------------------------------------------------------
r6691 | schlaile | 2006-02-05 20:13:44 +0100 (Sun, 05 Feb 2006) | 4 lines

Enables sequencer ipos for effect plugins and audio-tracks
to be locked to frames instead of the range from 0-100.
Comes very handy on long timelines...

------------------------------------------------------------------------
r6690 | schlaile | 2006-02-05 20:12:25 +0100 (Sun, 05 Feb 2006) | 7 lines

Adds support for frameserver rendering to blender. This is done by
integrating a mini-webserver (around 300 lines of code) into blender.
Using the VFAPI-plugin in contrib/windows it enables blender to
directly feed its output into TMPGEnc, a commercial high quality MPEG-Encoder.
Since it is a mini-webserver, you can probably easily use it for other
interfacing purposes.

------------------------------------------------------------------------
r6689 | schlaile | 2006-02-05 20:04:12 +0100 (Sun, 05 Feb 2006) | 14 lines

Add several usefull sequencer-plugins:
- color-correction-hsv & color-correction-yuv
  Do color correction in HSV or YUV-space, rather sophisticated but slow.
  You can control setup, gain and gamma and saturation (seperated by
  shadows, midtones and highlights).
- gamma
  a simple RGB-Gamma plugin, but very fast.
- dnr
  Dynamic Noise Reduction (plugin ported from VirtualDub).
  This helps mpeg encoding alot, by ignoring noise /movement
  below a given threshold between frames.
  It is also a lot faster than the original VirtualDub-plugin preserving
  it's quality.

------------------------------------------------------------------------
r6688 | schlaile | 2006-02-05 19:59:16 +0100 (Sun, 05 Feb 2006) | 3 lines

Adds for additional buttons for the new sequencer code to distinguish
the display of timeline, output, U/V scatter plot and Luma waveform.

------------------------------------------------------------------------
r6687 | schlaile | 2006-02-05 19:56:30 +0100 (Sun, 05 Feb 2006) | 3 lines

Adds generic memcache limitor (used by the new sequencer to cache
only a certain amount of frames).

------------------------------------------------------------------------
r6686 | jesterking | 2006-02-05 19:48:01 +0100 (Sun, 05 Feb 2006) | 5 lines

==SCons==

* Fix typo in bullet SConscript
* win32-vc now copies all necessary files to BF_INSTALLDIR, including dlls

------------------------------------------------------------------------
r6685 | jesterking | 2006-02-05 19:03:02 +0100 (Sun, 05 Feb 2006) | 3 lines

==SCons==
* make sure PLATFORM_LINKFLAGS are used on Cygwin, too

------------------------------------------------------------------------
r6684 | jesterking | 2006-02-05 18:58:08 +0100 (Sun, 05 Feb 2006) | 3 lines

==SCons==
* cleaning cruft away

------------------------------------------------------------------------
r6683 | jesterking | 2006-02-05 18:50:19 +0100 (Sun, 05 Feb 2006) | 5 lines

==SCons==

* remove useless BF_TIFF* options. Upon closer inspection of code, only
  path to headers is needed

------------------------------------------------------------------------
r6682 | jesterking | 2006-02-05 18:29:22 +0100 (Sun, 05 Feb 2006) | 2 lines

* add proper WITH_BF_TIFF checks

------------------------------------------------------------------------
r6681 | jesterking | 2006-02-05 18:14:52 +0100 (Sun, 05 Feb 2006) | 2 lines

+ add check for cygwin to continue parsing of SCons scripts

------------------------------------------------------------------------
r6680 | jesterking | 2006-02-05 17:25:38 +0100 (Sun, 05 Feb 2006) | 2 lines

* option propagation also for darwin :)

------------------------------------------------------------------------
r6679 | khughes | 2006-02-05 16:51:47 +0100 (Sun, 05 Feb 2006) | 5 lines



==Python API==
Updates to documentation for previous commits (oops, forgot to upload before)

------------------------------------------------------------------------
r6678 | khughes | 2006-02-05 16:43:47 +0100 (Sun, 05 Feb 2006) | 5 lines



Previous commit broke faces.extend() and edges.extend() for single edges
and faces.

------------------------------------------------------------------------
r6677 | blendix | 2006-02-05 16:32:19 +0100 (Sun, 05 Feb 2006) | 30 lines


Angle Based Flattening:

- There's an option to enabled ABF in the UV Calculation panel.
- ABF works with seams, pinning, live transform etc. UI wise it's pretty
  much the same as LSCM.

- ABF favors low angular distortion over area distortion, much like LSCM.
  It does however not have the tendency to "collapse" under high stretch,
  which basically means that it will be able to handle complex charts
  without pinning.
- ABF does however have on serious drawback: it is sensitive to degenerate
  geometry, especially very small angles. I'm working on this, but it seems
  to be quite difficult to improve the situation. There's still a bunch of
  ideas left to try, but I'll just commit this now as is. If ABF fails, it
  will fall back to LSCM, and there will be a warning print in the console.

- This implementation has the matrix tricks from ABF++ also. The second part
  of ABF++, simplification before unwrap, is being worked on. The current
- ABF is about 3-4 times slower than LSCM, which was to be expected. For
  live transform however, once the initial computation is done, it's just as
  snappy as the new LSCM code.


Results are quite nice though:
http://users.pandora.be/blendix/snurgle.png
http://users.pandora.be/blendix/snurgle_flattened.png

You may recognize the Snurgle model by Colin Levy there.

------------------------------------------------------------------------
r6676 | blendix | 2006-02-05 15:21:09 +0100 (Sun, 05 Feb 2006) | 5 lines


Updated blenderbuttons (non-sticky now shows icon in the uv editor).
Also have datatoc.c add a new line at the end of the file, seems this
was added directly to blenderbuttons.c to fix a warning before.

------------------------------------------------------------------------
r6675 | blendix | 2006-02-05 15:12:45 +0100 (Sun, 05 Feb 2006) | 27 lines


UV Editor Tweaks:

- Set local sticky in the uv editor as default.
- Don't do live unwrap on fully selected charts or charts with no pins
  selected.
- Fixed bug with live unwrap not respecting transform cancel in some cases.
- "View Home" didn't work without an image.
- Move UV Calculation settings (cube size, cylinder radius, ..) into the scene
  toolsettings, instead of global variables
- Remove the name LSCM from the UI (and python docs on seams), and replace it
  with 'Unwrap', with upcoming ABF this didn't make sense anymore.
- Move the Old/New LSCM switch into the UV Calculation panel. New LSCM is the
  default now. Also renamed LSCM there to "Conformal".
- Made some room in the UV Calculation panel by removing the buttons to execute
  the UV calculation, only leaving the settings.

Fill Holes:

- LSCM now has an option to fill holes in the chart before unwrapping. This on
  by default, and enables two things:
  - Prevent internal overlaps (e.g. eyes, mouth) for LSCM unwrapping.
  - Allow the internal boundaries to move freely during stretch minimize.
- The possibility to switch it off is there because it is not always possible
  to define which the outer boundary is. For example with an open cylinder
  where there are two identical holes.

------------------------------------------------------------------------
r6674 | jesterking | 2006-02-05 13:27:49 +0100 (Sun, 05 Feb 2006) | 2 lines

* reflect WITH_BF_INTERNATIONAL changes into (platform)-config.py files too

------------------------------------------------------------------------
r6673 | jesterking | 2006-02-05 13:24:52 +0100 (Sun, 05 Feb 2006) | 3 lines

* WITH_BF_GETTEXT and WITH_BF_FREETYPE are merged into WITH_BF_INTERNATIONAL
* typo in adding BF_OPENAL_LIBPATH, resulting in it not being added at all

------------------------------------------------------------------------
r6672 | jesterking | 2006-02-05 13:08:32 +0100 (Sun, 05 Feb 2006) | 2 lines

- removed redundant code

------------------------------------------------------------------------
r6671 | lukep | 2006-02-05 12:28:28 +0100 (Sun, 05 Feb 2006) | 5 lines

packaging in bundle of the Os X binary. result in the bin of build dir

Important note, the install target install only the binary not the
packaged bunde for the moment

------------------------------------------------------------------------
r6670 | jesterking | 2006-02-05 12:11:44 +0100 (Sun, 05 Feb 2006) | 4 lines

- remove Xmu and Xext from linking line for linux2, as they are not needed
+ WITH_BF_OPENAL actually enables or disables use of OpenAL
+ WITH_BF_OPENEXR removes openexr libs from linking if disabled

------------------------------------------------------------------------
r6669 | khughes | 2006-02-05 08:19:37 +0100 (Sun, 05 Feb 2006) | 15 lines



==Python API==
A couple of bug fixes and enhancements:
(1) Setting the UV attributes of a mesh face will create texture faces if
    they are not already defined.  Previously this threw an exception.
(2) Setting the image attribute of a mesh face will also set the TEX bit
    of the face.mode flag
(3) When "sticky" vertices are created with mesh.vertexUV, the color is
    set to white instead of black.
(4) Bugfix #3872: copying the mode attribute of one mesh to another would
    sometimes result in an exception due to unexpected bits being set. I
    still don't know how these other bits are being set, but this patch will
    stop the complaint if they are set.

------------------------------------------------------------------------
r6668 | jesterking | 2006-02-05 02:09:40 +0100 (Sun, 05 Feb 2006) | 3 lines

+ WITH_BF_OPENAL=0 should now actually not need OpenAL stuff
* BF_PROFILE_FLAGS to list form

------------------------------------------------------------------------
r6667 | jesterking | 2006-02-05 01:53:47 +0100 (Sun, 05 Feb 2006) | 3 lines

* argh, sleep deprivation getting upper-hand - I accidently left an Exit()
  call lying around, causing SCons never to build anything :)

------------------------------------------------------------------------
r6666 | jesterking | 2006-02-05 01:47:34 +0100 (Sun, 05 Feb 2006) | 6 lines

* Use better option propagation everywhere

  lukep, I didn't touch darwin-config.py yet, because you're still
  working on it. But if you could see and make similar changes as
  I did to the rest.

------------------------------------------------------------------------
r6665 | jesterking | 2006-02-05 01:23:43 +0100 (Sun, 05 Feb 2006) | 4 lines

* Added safeguards around a few list.remove(x) calls, to prevent SCons
  from barfing if a CVS directory was not found (ie when cvs export
  was used).

------------------------------------------------------------------------
r6664 | jesterking | 2006-02-05 01:03:51 +0100 (Sun, 05 Feb 2006) | 16 lines

* Made options evaluate differently, so setting one option properly
  propagates to related options:

  In (platform)-config.py
    BF_PYTHON_VERSION = '2.4'
    BF_PYTHON_INC = '/usr/include/python${BF_PYTHON_VERSION}'

  In user-config.py
    BF_PYTHON_VERSION = '2.3'

  This will now have BF_PYTHON_INC evaluate actually to
  '/usr/include/python2.3' and not to '/usr/include/python2.4' as with
  the old way. Reported by Chris Want.

  Todo: also use in other platform configurations.

------------------------------------------------------------------------
r6663 | lukep | 2006-02-04 23:16:01 +0100 (Sat, 04 Feb 2006) | 23 lines

more sensible defaults for new scons on Os X :

- python 2.3   if you want python 2.4 add the 2 following lines in
               user-config.py :
              BF_PYTHON = '2.3'
              BF_PYTHON = '/library.Frameworks/Python.framework/Versions/'

- disabled libtiff by default. new scons force lib linking &  it shouldnt
  will work on that
- added SystemStubs lib that 10.4 require in some circumstances.
  10.3 users may have to remove it with this line :
              LLIBS = 'stdc++'

additional notes :

OpenEXR libs and includes are searched in /usr/local
use by preference gcc3.3 gcc4 need some new libs i will commit shortly
you get in final an unpackaged binary. take a previous blender app  and use
show package content command to navigate to Contents/MacOs. replace the
binary there by new one, and voila, you have a working new app.

will commit shortly the automatic packager

------------------------------------------------------------------------
r6662 | jesterking | 2006-02-04 17:36:37 +0100 (Sat, 04 Feb 2006) | 5 lines

==SCons==
+ BF_BUILDINFO=1 (by default) for build info in splash
- remove redundant renderconverter include dir
* check for win32-vc instead of only win32, so MingW compile goes ok

------------------------------------------------------------------------
r6661 | jesterking | 2006-02-04 17:30:51 +0100 (Sat, 04 Feb 2006) | 3 lines

==SCons==
* wrong format of two vars made darwin compile barf

------------------------------------------------------------------------
r6660 | jesterking | 2006-02-04 16:52:55 +0100 (Sat, 04 Feb 2006) | 4 lines

==SCons==
* If you set C_WARN=[] and CC_WARN=[] in your user-config.py, no complaints
  whatsoever should show. Otherwise a lot of warnings are shown.

------------------------------------------------------------------------
r6659 | jesterking | 2006-02-04 16:44:34 +0100 (Sat, 04 Feb 2006) | 5 lines

==SCons==
* add REL_CFLAGS and REL_CCFLAGS when not building debug. This adds NDEBUG
  to compile on Win32
* fix path to makesdna binary

------------------------------------------------------------------------
r6658 | jesterking | 2006-02-04 16:10:59 +0100 (Sat, 04 Feb 2006) | 4 lines

==SCons==
* 'scons blendernogame'
  This target will disable the building of the game engine

------------------------------------------------------------------------
r6657 | ton | 2006-02-04 16:07:48 +0100 (Sat, 04 Feb 2006) | 3 lines

New Material option: "OnlyCast". This makes the object only cast shadows,
not show up in renders, nor being mirrored.

------------------------------------------------------------------------
r6656 | ton | 2006-02-04 15:38:51 +0100 (Sat, 04 Feb 2006) | 4 lines

Compositor: Added a basic "Time Node".
Just indicate start/end frame, and node outputs with Curve a value between
0.0 and 1.0.

------------------------------------------------------------------------
r6655 | jesterking | 2006-02-04 15:15:10 +0100 (Sat, 04 Feb 2006) | 30 lines

== SCons ==

* This commit is all of the rewrite work done on the SCons system. For
  documentation see doc/blender-scons.txt and doc/blender-scons-dev.txt.
  Also http://mediawiki.blender.org/index.php/BlenderDev/SconsRefactoring
  contains valuable information, along with what still needs to be done.

    - linux, os x and windows compile now.
    - files are compiled to BF_INSTALLDIR (see config/(platform)-config.py)
        - NOTE: Jean-Luc P will commit sometime during the weekend proper
          appit() for OS X. For now, copy the resulting binary to an
          existing .app bundle.
    - features:
        - cleaner structure for better maintenance
        - cleaner output during compile
        - better handling of build options
        - general overall speed increase
        - see the wiki for more info

  Cygwin, FreeBSD and Solaris systems still need work. For these systems:
    1) copy a config/(platform)-config.py to ie. config/cygwin-config.py
    2) set the proper defaults for your platform
    3) mail me at jesterking at letwory dot net with you configuration. if
       you need any modifications to the system, do send a patch, too.

  I'll be giving first-aid today and tomorrow, after that it'll be all
  regular development work :)

  /Nathan

------------------------------------------------------------------------
r6654 | ton | 2006-02-04 14:28:50 +0100 (Sat, 04 Feb 2006) | 34 lines

More work on render stuff!

- Scene support in RenderLayers
You now can indicate in Compositor to use RenderLayer(s) from other scenes.
Use the new dropdown menu in the "Render Result" node. It will change the
title of the node to indicate that.

The other Scenes are rendered fully separate, creating own databases (and
octrees) after the current scene was finished. They use their own render
settings, with as exception the render output size (and optional border).
This makes the option an interesting memory saver and speedup.

Also note that the render-results of other scenes are kept in memory while
you work. So, after a render, you can tweak all composit effects.

- Render Stats
Added an 'info string' to stats, printed in renderwindow header. It gives
info now on steps "creating database", "shadow buffers", and "octree".

- Bug fixes

Added redraw event for Image window, when using compositor render.

Text objects were not rendered using background render (probably a bug
since depsgraph was added)

Dropdown buttons in Node editor were not refreshed after usage

Sometimes render window did not open, this due to wrong check for 'esc'.

Removed option that renders view-layers on F12, with mouse in 3d window.
Not only was it confusing, it's now more efficient with the Preview Panel,
which does this nicely.

------------------------------------------------------------------------
r6653 | jesterking | 2006-02-04 13:04:55 +0100 (Sat, 04 Feb 2006) | 6 lines

== SCons ==

* Added a user and a developer doc for the upcoming SCons commits.
  These documents should get most people started after the commit
  of the new scripts is a fact.

------------------------------------------------------------------------
r6652 | campbellbarton | 2006-02-04 04:44:21 +0100 (Sat, 04 Feb 2006) | 5 lines

Fixed bug where a extra vert was duplicated. - (Thanks Brandedo)
Face indicies spanning over 1 line are now supported (had a freak obj that did this)
Small optimization @% overall speedup.
- Last release before move to Mesh over NMesh.

------------------------------------------------------------------------
r6651 | ton | 2006-02-03 22:38:59 +0100 (Fri, 03 Feb 2006) | 7 lines

Render feature request; when saving EXR files during anim render, it can
optionally save a jpg next to it, with compression as set in buttons.

This allows quick previews or download from farms.

Button: next to the 'half' and 'zbuf' options for exr.

------------------------------------------------------------------------
r6650 | ton | 2006-02-03 22:02:20 +0100 (Fri, 03 Feb 2006) | 4 lines

Improved check for case when vector-blur speed table (previous frame) is of
different size as current frame. It now just skips making vectors then...
there exist solutions, but have to prove first vecblur actually works.

------------------------------------------------------------------------
r6649 | ton | 2006-02-03 21:39:36 +0100 (Fri, 03 Feb 2006) | 13 lines

Redoing the blur filters for composit;

http://www.blender.org/bf/filters/

I found out current blur actually doesn't do gauss, but more did regular
quadratic. Now you can choose common filter types, but more specifically;

- set gamma on, to emphasize bright parts in blur more than darker parts
- use the bokeh option for (current circlular only) blur based on true
  area filters (meaning, for each pixel it samples the entire surrounding).
  This enables more effects, but is also much slower. Have to check on
  optimization for this still... use with care!

------------------------------------------------------------------------
r6648 | ton | 2006-02-03 10:25:46 +0100 (Fri, 03 Feb 2006) | 3 lines

Crash fix! Found one unsafe malloc in allocating the Z render pass...
Brought back threaded compositing, this was blamed incorrectly.

------------------------------------------------------------------------
r6647 | campbellbarton | 2006-02-03 07:42:07 +0100 (Fri, 03 Feb 2006) | 6 lines

- Face import tested to be about overall 16x speedup over 0.93.
- Material importing speedup.
- Tested with more models.
- Support some corrupt models.
(Bug in Mesh causes segfaults on some files still, kens looking into it)

------------------------------------------------------------------------
r6646 | ton | 2006-02-03 00:55:14 +0100 (Fri, 03 Feb 2006) | 4 lines

- Preview images get generated on render event again
- disabled threading for composit for now, it has a memory error still...
  will work on that tomorrow more.

------------------------------------------------------------------------
r6645 | lukep | 2006-02-02 23:55:02 +0100 (Thu, 02 Feb 2006) | 2 lines

added needed stub for player (renderpasses)

------------------------------------------------------------------------
r6644 | ton | 2006-02-02 23:46:23 +0100 (Thu, 02 Feb 2006) | 3 lines

Eeew... sorry for flooding cvs maillist; but previous commit reveiled that
loading new images in a node didn't update correctly. :)

------------------------------------------------------------------------
r6643 | ton | 2006-02-02 23:35:23 +0100 (Thu, 02 Feb 2006) | 6 lines

Accidentally committed without log...

This commit removes old preview-image signals for Compositor, this was
obsolete when event-based updates were added, and was still causing
recalculations for example on loading files.

------------------------------------------------------------------------
r6642 | ton | 2006-02-02 23:33:28 +0100 (Thu, 02 Feb 2006) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r6641 | ton | 2006-02-02 22:52:35 +0100 (Thu, 02 Feb 2006) | 4 lines

Added better safety in vertex/weight paint, so it survives painting outside
the window edge. Also did a paranoia larger memory allocation... weird
reports I got.

------------------------------------------------------------------------
r6640 | ton | 2006-02-02 22:08:39 +0100 (Thu, 02 Feb 2006) | 10 lines

Three feats;

- RenderLayers with 'view layers' set, now also take visible lights into
  account. Works just like for scene layer settings.

- On ESC from render, compositing (if set) is being skipped too

- While rendering with multiple RenderLayers it will end with a display
  of the current RenderLayer (as in Scene buttons)

------------------------------------------------------------------------
r6639 | ton | 2006-02-02 20:54:42 +0100 (Thu, 02 Feb 2006) | 6 lines

Duplicator bugfix: particle duplicators were not restoring the matrix for
the duplicated object correctly. This appeared like object disappeared.

Note; to see this fix work on older files, you have to invoke a depsgraph
call, like by grabbing the duplicated object.

------------------------------------------------------------------------
r6638 | ton | 2006-02-02 20:31:15 +0100 (Thu, 02 Feb 2006) | 3 lines

Render fix: object-duplicators now give their layer setting to the
duplicates, enabling lighting and layer-render properly.

------------------------------------------------------------------------
r6637 | ton | 2006-02-02 19:28:01 +0100 (Thu, 02 Feb 2006) | 3 lines

If Images have relative path, and come from a library, it uses the library
path as reference for loading the image.

------------------------------------------------------------------------
r6636 | ton | 2006-02-02 18:54:22 +0100 (Thu, 02 Feb 2006) | 32 lines

features & fixes:

- Enabled Groups to execute in Compositor. They were ignored still.
  Note; inside of groups nothing is cached, so a change of a group input
  will recalculate it fully. This is needed because groups are linked
  data (instances use same internal nodes).

- Made Composit node "Viewer" display correctly input for images with
  1/2/3/4 channels.

- Added pass rendering, tested now with only regular Materials. For
  Material nodes this is quite more complex... since they cannot be
  easily separated in passes (each Material does a full shade)
  In this commit all pass render is disabled though, will continue work on
  that later.
  Sneak preview: http://www.blender.org/bf/rt.jpg  (temporal image)

- What did remain is the 'Normal' pass output. Normal works very nice for
  relighting effects. Use the "Normal Node" to define where more or less
  light should be. (Use "Value Map" node to tweak influence of the
  Normal node 'dot' output.)

- EVIL bug fix: I've spend almost a day finding it... when combining AO and
  mirror render, the event queue was totally screwing up... two things not
  related at all!
  Found out error was in ray-mirror code, which was using partially
  uninitialized 'ShadeInput' data to pass on to render code.

- Another fix; made sure that while thread render, the threads don't get
  events, only the main program will do. Might fix issues reported by
  people on linux/windows.

------------------------------------------------------------------------
r6635 | ton | 2006-02-02 15:37:25 +0100 (Thu, 02 Feb 2006) | 3 lines

Curve tool was not threadsafe... it was storing premultiplied curves in
a function (static vars) itself, causing mixups of curve data on usage.

------------------------------------------------------------------------
r6634 | broken | 2006-02-02 13:16:23 +0100 (Thu, 02 Feb 2006) | 2 lines

* This should have come along with the cursors commit before, to make the standard cursor show when over a window header. *blush*

------------------------------------------------------------------------
r6633 | intrr | 2006-02-02 13:13:08 +0100 (Thu, 02 Feb 2006) | 6 lines



Bug #3854: Extruded/Bevelled text objects didn't get the right materials
for front/back faces. This should also fix and enable overlapping extruded/
bevelled characters.

------------------------------------------------------------------------
r6632 | antont | 2006-02-01 23:21:46 +0100 (Wed, 01 Feb 2006) | 2 lines

yet another temporary strange but straightforward hack for a script at orange to work! that is: while Joseph is working on the actual Constraint API for bones etc., this allows our armature script to set influences with a simple call: armatureobject.setConstraintInfluenceForBone(bonename, constraintname, influence); fails silently at failure ('cause the c calls used do and no retvals are checked) and is in the strange place (as the current api is largely not object level) but works for us for now (e.g. next few weeks).

------------------------------------------------------------------------
r6631 | hos | 2006-02-01 21:16:50 +0100 (Wed, 01 Feb 2006) | 5 lines

Strangely, the BLI_timestr() function returns nonsense on linux for
ia64. It appears that if I get rid of the fmod expression, and
use integer math I get the right values. Hopefully this isn't a
problem for anybody.

------------------------------------------------------------------------
r6630 | stiv | 2006-02-01 16:21:05 +0100 (Wed, 01 Feb 2006) | 2 lines

bugfix: Object.Get() throws ValueError rather than AttributeError.

------------------------------------------------------------------------
r6629 | campbellbarton | 2006-02-01 11:52:54 +0100 (Wed, 01 Feb 2006) | 14 lines


3ds importer distributed with Blender 2.41 is broken in 2 places so bugfixed and updated...

Version 0.93
- Tested with 400 3ds files from turbosquid, model cd's and net samples.
- Tactfully ignore faces that used the same verts twice.
- Rollback to 0.83 sloppy un-reorganized code, new code broke UV coord loading.
- Converted from NMesh to Mesh. First importer to use Mesh.
- Faster and cleaner new names.
- Use external comprehensive image loader.
- Re intergrated 0.92 and 0.9 changes
- Fixes for 2.41 compat.
- Non textured faces do not use a texture flag.

------------------------------------------------------------------------
r6628 | campbellbarton | 2006-02-01 11:31:49 +0100 (Wed, 01 Feb 2006) | 3 lines

Added a function for importers to use, comprehensive image loader takes an imagepath and a file path- and imports the image, if it exists it uses the one alredy loaded or does a realy good job of finding the right image case insensitite if the normal path is not found. looks in all the logical places for the image- If teh image isnt found then a new dummy image is returned.
The nice thing about this is you can request an image and  you know youll get an image back- without doing your own error handeling.

------------------------------------------------------------------------
r6627 | pidhash | 2006-02-01 11:08:42 +0100 (Wed, 01 Feb 2006) | 3 lines

fix for bug of long group long name, bug found and fixed for bmx007
.

------------------------------------------------------------------------
r6626 | bjornmose | 2006-02-01 10:46:34 +0100 (Wed, 01 Feb 2006) | 2 lines

removing dead experimental code

------------------------------------------------------------------------
r6625 | ton | 2006-02-01 00:25:53 +0100 (Wed, 01 Feb 2006) | 4 lines

Made preview render only use non-threaded tile processor, got reports
of crashes, and noticed here theres something not well functioning
with ghost & threads, probably. Will test that tomorrow more.

------------------------------------------------------------------------
r6624 | bjornmose | 2006-01-31 23:48:41 +0100 (Tue, 31 Jan 2006) | 4 lines

WIP
-- fast softbody collision /* caching colliding objects & some global bounding boxes */
-- to compare .. set rt to 666

------------------------------------------------------------------------
r6623 | khughes | 2006-01-31 23:18:07 +0100 (Tue, 31 Jan 2006) | 5 lines



==Python API===
Minor typo fixes for Object API.

------------------------------------------------------------------------
r6622 | ton | 2006-01-31 22:49:05 +0100 (Tue, 31 Jan 2006) | 29 lines

Three features;

- Live scanline updates while rendering
Using a timer system, each second now the tiles that are being processed
are checked if they could use display.
To make this work pretty, I had to use the threaded 'tile processor' for
a single thread too, but that's now proven to be stable.

Also note that these updates draw per layer, including ztransp progress
separately from solid render.

- Recode of ztransp OSA
Until now (since blender 1.0) the ztransp part was fully rendered and
added on top of the solid part with alpha-over. This adding was done before
the solid part applied sub-pixel sample filtering, causing the ztransp
layer to be always too blurry.

Now the ztransp layer uses same sub=pixel filter, resulting in the same
AA level (and filter results) as the solid part. Quite noticable with hair
renders.

- Vector buffer support & preliminary vector-blur Node
Using the "Render Layer" panel "Vector" pass button, the motion vectors
per pixel are calculated and stored. Accessible via the Compositor.

The vector-blur node is horrible btw! It just uses the length of the
vector to apply a filter like with current (z)blur. I'm committing it anyway,
I'll experiment with it further, and who knows some surprise code shows up!

------------------------------------------------------------------------
r6621 | bjornmose | 2006-01-31 22:43:59 +0100 (Tue, 31 Jan 2006) | 4 lines

-some knitpicking on low scale brushes
-- should do 'alpha' right now ..  down to brushes of 2 pixel size
-making AUX1/2 real air brushes .. must have been lost by brechts 'cleaning'

------------------------------------------------------------------------
r6620 | antont | 2006-01-31 22:01:50 +0100 (Tue, 31 Jan 2006) | 2 lines

returned a revised result output, style "Copied UV from object Cube to object(s) ['Cube.004', 'Cube.003', 'Cube.002', 'Cube.001']."

------------------------------------------------------------------------
r6619 | antont | 2006-01-31 21:57:05 +0100 (Tue, 31 Jan 2006) | 2 lines

little sanifying: now copies UV coords from the active object to (other) selected object(s), and rises exceptions for the cases where does not work. documentation to be improved .. and perhaps the API shows RuntimeErrors with messages for the users nicely in popups or something in the phuture.

------------------------------------------------------------------------
r6618 | antont | 2006-01-31 20:47:52 +0100 (Tue, 31 Jan 2006) | 2 lines

an initial version of a simple UV copy script, gotta decide and implement the UI integration still, is .. eh suboptimal here, but is noted with XXX in comments with suggestions :) .. thanks for theeth and others on Elysiun who made this, and for Unnamed on irc for digging up .. seems that NMesh -> Mesh conversion was not necessary, but might be a nice excercise.

------------------------------------------------------------------------
r6617 | campbellbarton | 2006-01-31 13:13:53 +0100 (Tue, 31 Jan 2006) | 2 lines

In some PC's (not mine) forced grid casued an infinate loop. - commenting until more is discovered.

------------------------------------------------------------------------
r6616 | broken | 2006-01-31 00:25:42 +0100 (Tue, 31 Jan 2006) | 4 lines

* Fix to adaptively grow and shrink the width of the Ipo channel list based on the width of the names.

Now we can actually distinguish our shape ipo channels!

------------------------------------------------------------------------
r6615 | campbellbarton | 2006-01-30 23:31:01 +0100 (Mon, 30 Jan 2006) | 2 lines

Removed gradients- too intense, just forced all hoz gridlines for now.

------------------------------------------------------------------------
r6614 | sirdude | 2006-01-30 22:51:11 +0100 (Mon, 30 Jan 2006) | 7 lines


Added KX_VehicleWrapper.cpp

(Let me know if this doesn't fix it, no time to test it.)

Kent

------------------------------------------------------------------------
r6613 | erwin | 2006-01-30 21:49:41 +0100 (Mon, 30 Jan 2006) | 2 lines

added more game-engine physics vehicle infrastructure.

------------------------------------------------------------------------
r6612 | erwin | 2006-01-30 21:33:59 +0100 (Mon, 30 Jan 2006) | 6 lines

prepared physics/game engine infrastructure for vehicle support.
fixed a python related bug with physics contraints
fixed some line-ending problem with blenderbuttons.c

makefile/scons/projectfiles need to add source/gameengine/Ketsji/KX_VehicleWrapper.cpp

------------------------------------------------------------------------
r6611 | sirdude | 2006-01-30 20:59:33 +0100 (Mon, 30 Jan 2006) | 24 lines


More simple fixes to cleanup warnings and what not:
 extern/bullet/BulletDynamics/ConstraintSolver/SimpleConstraintSolver.h
        added newline at end of file.
 intern/boolop/intern/BOP_Face2Face.cpp
        fixed indentation and had nested declarations of a varible i used
                for multiple for loops, changed it to just one declaration.
 source/blender/blenkernel/bad_level_call_stubs/stubs.c
        added prototypes and a couple other fixes.
 source/blender/include/BDR_drawobject.h
 source/blender/include/BSE_node.h
 source/blender/include/butspace.h
 source/blender/render/extern/include/RE_shader_ext.h
        added struct definitions
 source/blender/src/editmesh_mods.c
 source/gameengine/Ketsji/KX_BlenderMaterial.cpp
 source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
 source/gameengine/Ketsji/KX_RaySensor.cpp
        removed unused variables;
 source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
        changed format of case statements to avoid warnings in gcc.

Kent

------------------------------------------------------------------------
r6610 | ton | 2006-01-30 20:39:05 +0100 (Mon, 30 Jan 2006) | 7 lines

Fix: buttons previewrender was re-rendering on scrolling a lot, this due
to rounding noise when trying to detect if previewsize changed. Made it
use a threshold now.

Fix: SHIFT+P in editmode is still push/pull, outside editmode it'll do
the preview render. (Note; editmode changes are not updated anyway!)

------------------------------------------------------------------------
r6609 | broken | 2006-01-30 17:34:18 +0100 (Mon, 30 Jan 2006) | 2 lines

* Allow the Sequence editor to scale in Y axis too. Why was this never enabled?

------------------------------------------------------------------------
r6608 | ton | 2006-01-30 17:23:14 +0100 (Mon, 30 Jan 2006) | 7 lines

Bugfix: missing faces on edge of image

Yesterdays commit slightly extended clipping area for window, to ensure
no empty borders get rendered. Unfortunately it reveiled a case in code
that was never handled; clipping code was throwing away good faces. Old
bug... but apparently never showed up?

------------------------------------------------------------------------
r6607 | campbellbarton | 2006-01-30 13:41:33 +0100 (Mon, 30 Jan 2006) | 2 lines

small fix for wave drawing. Made trackview draw gradiants as background. Grid does not necessarly represent tracklines at the moment and this is a nice way to show tracks.

------------------------------------------------------------------------
r6606 | ton | 2006-01-30 12:30:37 +0100 (Mon, 30 Jan 2006) | 3 lines

The patch to pre-emptify the queues for 'clever numbuts' didn't check for
non-existant windows, causing crash for example in Action window for shapes

------------------------------------------------------------------------
r6605 | ton | 2006-01-30 12:09:50 +0100 (Mon, 30 Jan 2006) | 7 lines

Created threadsafe MEM_malloc versions in BLI_threads.h, now in use
for compositing code.

Officially malloc/calloc/free is threadsafe, but our secure malloc system
requires all memory blocks to be stored in a single list, so when two
threads write in this list you get conflicts.

------------------------------------------------------------------------
r6604 | erwin | 2006-01-30 06:43:07 +0100 (Mon, 30 Jan 2006) | 4 lines

P back to Play Game :)
<shift>P = preview toggle.
Don't know what the previous <shift>P did, something like 'Transform'. Ton, can you look into this?

------------------------------------------------------------------------
r6603 | lukep | 2006-01-30 01:45:44 +0100 (Mon, 30 Jan 2006) | 4 lines

revert to sane defaults in sconstruct for darwin

game engine and openal were disabled

------------------------------------------------------------------------
r6602 | ton | 2006-01-30 00:45:11 +0100 (Mon, 30 Jan 2006) | 5 lines

When using Duplicated Objects (like vertex dupli) the original isn't
rendered anymore, to prevent overlapping situations. This worked before.

Note; group dupli stuff will test later. :)

------------------------------------------------------------------------
r6601 | lukep | 2006-01-30 00:41:15 +0100 (Mon, 30 Jan 2006) | 3 lines

adding needed entries to stubs.c after orange branch commit
so that player compiles.

------------------------------------------------------------------------
r6600 | campbellbarton | 2006-01-30 00:28:50 +0100 (Mon, 30 Jan 2006) | 2 lines

reduced dithering on sequence wave redraw.

------------------------------------------------------------------------
r6599 | ton | 2006-01-30 00:01:33 +0100 (Mon, 30 Jan 2006) | 8 lines

Two issues solved in render recode;

- the sub-pixel masks for applying correct filters (gauss and friends)
  accidentally were y-flipped, causing bad looking results.

- zbuffer was clipping extremely narrow, causing border pixels to miss
  samples, and reveiling alpha that way (was in old render a prob too)

------------------------------------------------------------------------
r6598 | letterrip | 2006-01-29 23:58:58 +0100 (Sun, 29 Jan 2006) | 4 lines

==SConscript fix for cygwin==

cygwin build environ was missing the path for libtiff

------------------------------------------------------------------------
r6597 | broken | 2006-01-29 23:37:19 +0100 (Sun, 29 Jan 2006) | 2 lines

Forgot this file in the last commit..  *grumble* xcode

------------------------------------------------------------------------
r6596 | broken | 2006-01-29 23:25:53 +0100 (Sun, 29 Jan 2006) | 5 lines

== interface ==
Two new mouse cursors (paintbrush and text I-bar) made by basse (he even made the patch!), inspired by Bart's page.

I also changed screenmain() ever so slightly, so that the standard cursor is always used when the mouse is over a window header.

------------------------------------------------------------------------
r6595 | blendix | 2006-01-29 22:29:14 +0100 (Sun, 29 Jan 2006) | 3 lines


Use ALsizei/GLsizei to fix compile errors on mac / gcc 4.x.

------------------------------------------------------------------------
r6594 | ianwill | 2006-01-29 22:04:30 +0100 (Sun, 29 Jan 2006) | 4 lines

Scripts:

Small typo (or so it seems) in bevel center, preventing it from working.

------------------------------------------------------------------------
r6592 | theeth | 2006-01-29 20:38:52 +0100 (Sun, 29 Jan 2006) | 6 lines

Bug #3837

A commented if in toets.c for flipping the render buffer prevented the propagation of the keypress to handler in space.c

Ton: I added a temporary check for no qualifier but it's missing a test for an opened render window.

------------------------------------------------------------------------
r6591 | ianwill | 2006-01-29 20:17:53 +0100 (Sun, 29 Jan 2006) | 9 lines

Scripts:

The orange -> HEAD merge reverted some scripts to older versions. This only
affected the ones that already existed before the orange branch.
Minor issue, easy to fix.

All in all, kudos to kaito, Hos and others for all the hard work in
bringing (coding, merging) all these changes to the main branch.

------------------------------------------------------------------------
r6590 | ton | 2006-01-29 19:04:15 +0100 (Sun, 29 Jan 2006) | 5 lines

Previous fix was in wrong part of code... not alpha adding was wrong, but
there was an error in the zbuffer code!

This should fix combinations of using Ztransp and Solid faces.

------------------------------------------------------------------------
r6589 | bjornmose | 2006-01-29 18:46:19 +0100 (Sun, 29 Jan 2006) | 3 lines

1.  making RenderData, xrect, yrect parameters in AviCodec calls
2. fixing MSVC6 projects to build

------------------------------------------------------------------------
r6588 | ton | 2006-01-29 18:40:06 +0100 (Sun, 29 Jan 2006) | 3 lines

Accidentally mixed up addAlphaUnder and addAlphaOver in merging solid and
ztransp layers, for OSA renders. :)

------------------------------------------------------------------------
r6587 | khughes | 2006-01-29 16:23:26 +0100 (Sun, 29 Jan 2006) | 5 lines



Bugfix #3797: 24-bit BMP images weren't read properly. Standard apparently
assumes each raster line is padded to a multiple of 4 bytes.

------------------------------------------------------------------------
r6586 | sirdude | 2006-01-29 16:15:34 +0100 (Sun, 29 Jan 2006) | 46 lines


Fix some of Stealth Apprent's warnings/errors and some extra little stuff.
here is a quick summary...

Kent

intern/bsp/intern/BSP_CSGMesh_CFIterator.h
removed tri_index (unused variable)

intern/bsp/intern/CSG_BooleanOps.cpp
removed extra ;

intern/string/intern/STR_String.cpp
added <ctype.h>

source/blender/blenkernel/BKE_writeavi.h
moved things around so not doing forward declarations

source/blender/renderconverter/intern/convertBlenderScene.c
changed render.h to render_types.h

source/blender/src/blenderbuttons.c
source/blender/src/editgroup.c
source/blender/src/meshtools.c
added newline

source/gameengine/Ketsji/KX_KetsjiEngine.cpp
commented out include "PIL_time.h" code that requires it is commented out

reading blender/src/writeavicodec.c
(struct keyword to a couple of lines that needed it)
and added:
extern struct Render R;

blender/renderconverter/intern/convertBlenderScene.c
added extern Render R;
added #include "rendercore.h" to get rid of undeclared shade_material_loop
        (Not sure if this is right but it fixes it.
Did not fix this problem, is it alright to just pass NULL here or should we chan
ge it to something else:
        init_render_materials' : too few

gameengine/Physics/BlOde/OdePhysicsEnvironment.cpp
removed argument to dHashSpaceCreate
commented out dWorldQuickStep since it does not exist

------------------------------------------------------------------------
r6585 | campbellbarton | 2006-01-29 15:58:41 +0100 (Sun, 29 Jan 2006) | 7 lines

Fixed a few problems with wave drawing-
Optimized so only samples inside the screens bounds are drawn.
Wave display detail is based on zoom - so you can view realy large wave files as well as indervidual samples.
Changed logic so an approximation of the wave is displayed rather then just the symetrical amplitude of the sound.
Triangles at start and end were annoying and obscured the start of the sound. made them alpha 0.7 for sound clips only.
a whole CD of music should display well and zoom smoothly now.

------------------------------------------------------------------------
r6584 | ton | 2006-01-29 15:37:17 +0100 (Sun, 29 Jan 2006) | 4 lines

Compositing: the "RGB Curves" node now has an optional 'factor' input as
well. It currently only is active when you input a mask (alpha, z).
Nice to do grading on certain parts of image only :)

------------------------------------------------------------------------
r6583 | ton | 2006-01-29 14:12:42 +0100 (Sun, 29 Jan 2006) | 2 lines

Fix: theme color version patching should start with 2.41 too.

------------------------------------------------------------------------
r6582 | ton | 2006-01-29 14:11:05 +0100 (Sun, 29 Jan 2006) | 2 lines

The preview.blend file, which is datatoc'ed in blender/src

------------------------------------------------------------------------
r6581 | ton | 2006-01-29 14:10:20 +0100 (Sun, 29 Jan 2006) | 26 lines

Previewrender (buttons) now supports Lamp, Texture and Sky previews
again. One exception I didn't solve yet... for the Stucci texture.

In a next commit I will add the preview.blend, so people can play with it!

The rules for preview.blend are pretty primitive still... might become
a bit more advanced later. Here's what it uses now:

- If Object has name starting with 'p' it will get the to-be-previewed
  Material or Lamp assigned
- If Object has name starting with 't' its Material gets the texture
  assigned for Texture previews

The layer codes for current preview options are in DNA_material_types.h;

#define MA_SPHERE		0
#define MA_CUBE			1
#define MA_FLAT			2
#define MA_MONKEY		3
#define MA_SPHERE_A		4
#define MA_TEXTURE		5
#define MA_LAMP			6
#define MA_SKY			7

(SPHERE_A is sphere with alpha for icons)

------------------------------------------------------------------------
r6580 | ton | 2006-01-29 13:53:57 +0100 (Sun, 29 Jan 2006) | 3 lines

Bugfix; version patching for new armature layers and Node editor themes
had to check 2.41 files too. Orange branch was still in 2.40...

------------------------------------------------------------------------
r6579 | ton | 2006-01-29 12:36:33 +0100 (Sun, 29 Jan 2006) | 35 lines

Three-in-one commit:

- Compositor now is threaded
Enable it with the Scene buttons "Threads". This will handle over nodes to
individual threads to be calculated. However, if nodes depend on others
they have to wait. The current system only threads per entire node, not for
calculating results in parts.

I've reshuffled the node execution code to evaluate 'changed' events, and
prepare the entire tree to become simply parsed for open jobs with a call
to   node = getExecutableNode()
By default, even without 'thread' option active, all node execution is
done within a separate thread.

Also fixed issues in yesterdays commit for 'event based' calculations, it
didn't do animated images, or execute (on rendering) the correct nodes
when you don't have Render-Result nodes included.

- Added generic Thread support in blenlib/ module
The renderer and the node system now both use same code for controlling the
threads. This has been moved to a new C file in blenlib/intern/threads.c.
Check this c file for an extensive doc and example how to use it.

The current implementation for Compositing allows unlimited amount of
threads. For rendering it is still tied to two threads, although it is
pretty easy to extend to 4 already. People with giant amounts of cpus can
poke me once for tests. :)

- Bugfix in creating group nodes
Group node definitions demand a clear separation of 'internal sockets' and
'external sockets'. The first are sockets being linked internally, the latter
are sockets exposed as sockets for the group itself.
When sockets were linked both internal and external, Blender crashed. It is
solved now by removing the external link(s).

------------------------------------------------------------------------
r6578 | campbellbarton | 2006-01-29 09:36:01 +0100 (Sun, 29 Jan 2006) | 3 lines

Made mesh align to face/verts also align to an edge and a verts normal, existing functionality was not changed.
usefull for rotating about an edge.

------------------------------------------------------------------------
r6577 | campbellbarton | 2006-01-29 09:01:04 +0100 (Sun, 29 Jan 2006) | 3 lines

Small edit so undo+redraw is only done when removeDoubles actually does somthing.
Would anyone have a problem with me going through and making functions like triangulate, flip normals tri2quad etc all return how many changes made? - then undo+redraw can be done only when needed.

------------------------------------------------------------------------
r6576 | letterrip | 2006-01-29 07:04:13 +0100 (Sun, 29 Jan 2006) | 4 lines

==warnings cleanup==

killed off some newline warnings in bullet

------------------------------------------------------------------------
r6575 | ton | 2006-01-28 21:23:53 +0100 (Sat, 28 Jan 2006) | 2 lines

Two missing declarations in this include file.

------------------------------------------------------------------------
r6574 | ton | 2006-01-28 21:17:48 +0100 (Sat, 28 Jan 2006) | 4 lines

Cleanup of blender/ module; Makefiles now compile this warning free.
Mostly was unused variables, unused functions, missing prototypes and
missing include files.

------------------------------------------------------------------------
r6573 | letterrip | 2006-01-28 20:57:09 +0100 (Sat, 28 Jan 2006) | 4 lines

==compiling==

need this version to compile with cygwin...

------------------------------------------------------------------------
r6572 | ton | 2006-01-28 20:48:29 +0100 (Sat, 28 Jan 2006) | 3 lines

Put back the -O2 default for compiling with makefiles in OSX.
I disabled it for testing in orange...

------------------------------------------------------------------------
r6571 | hos | 2006-01-28 20:25:43 +0100 (Sat, 28 Jan 2006) | 5 lines

composit, composite, compose ... what's the diff? You sconz0rs need
filename globbing!

Added 'e' to renamed file.

------------------------------------------------------------------------
r6570 | ton | 2006-01-28 20:05:49 +0100 (Sat, 28 Jan 2006) | 5 lines

Wow! bugfix in bf-blender again!

Simon C. gave me a nice crash.blend, in zbuffered transparent render.
Was a malloc that should become calloc... :)

------------------------------------------------------------------------
r6569 | hos | 2006-01-28 19:55:43 +0100 (Sat, 28 Jan 2006) | 2 lines

Oops, these didn't get added in the merge!

------------------------------------------------------------------------
r6568 | hos | 2006-01-28 19:33:28 +0100 (Sat, 28 Jan 2006) | 40 lines

The code from the orange branch has now been copied into HEAD.

Here are some notes written by Ton:

There's several areas I still have to work on, so don't immediately
report bugs!

- Preview renders in buttons window only supports materials now (no
lamp, texture or world)
- Yafray code has to be checked, it might not work
- unified render doesn't work, might not come back even
- lens flares dont work yet
- motion blur and field render doesnt work yet
- exr libraries are static linked still, we look at making it dynamic
loadable
- the compositor is fully in development still

I really advise people to check on the orange cvs logs too (in case you
ignored it), this has most of the information in it.

At this moment I still have to code for Orange deadlines, that defines
my priority listing mostly. And since we don't use Windows there, doing
testing and bugfixing for that platform would be of great help!

Best features of this commit to checkout:

- Grouping
- full fixed library linking system
- custom bone drawing
- bone layers
- Material/Shading nodes
- recode of render engine
- preview renders
- Compositing options

When the work pressure is a bit lower, I'll make nice docs for all of
this!

-Ton-

------------------------------------------------------------------------
r6558 | campbellbarton | 2006-01-27 15:55:12 +0100 (Fri, 27 Jan 2006) | 2 lines

Fixed a stupid bug when exporting meshes with empty material slots.

------------------------------------------------------------------------
r6557 | campbellbarton | 2006-01-27 14:37:02 +0100 (Fri, 27 Jan 2006) | 3 lines

Minor optimization- mainly lists and dicts - use iterkeys instead of keys try/except rather then has_key()/else (1 less dict lookup)
Also discovered a bug in meshtools... not sure how relevent this is with the new api on the horizon.

------------------------------------------------------------------------
r6555 | campbellbarton | 2006-01-26 23:47:31 +0100 (Thu, 26 Jan 2006) | 7 lines

A little utility script I have been using for a long time but was recently able to improve with 2.41's features.
Edits the current image in an external application, esp usefull when dealing with projects that have lots of images.
Basicaly-- a quck way to have the image in the gimp (using gimp-remote) without rooting around in your project tree.
Added registry variable to save the external application... and some OS context for what app to run- could somebody test on macosx+win32.

How about a python slot in the Image Menu?

------------------------------------------------------------------------
r6550 | campbellbarton | 2006-01-26 16:39:38 +0100 (Thu, 26 Jan 2006) | 2 lines

Speedup by a factor of about 20%

------------------------------------------------------------------------
r6543 | campbellbarton | 2006-01-25 07:28:47 +0100 (Wed, 25 Jan 2006) | 2 lines

a touch neater and some comments.

------------------------------------------------------------------------
r6542 | campbellbarton | 2006-01-25 06:14:03 +0100 (Wed, 25 Jan 2006) | 2 lines

Dont draw blocks what are outside the the view. - massive speedup with complex sequence's

------------------------------------------------------------------------
r6541 | khughes | 2006-01-25 03:18:20 +0100 (Wed, 25 Jan 2006) | 7 lines



==bugfix==
Access to G.vd without an active 3D window from sequences during Alt-A
playback caused segfault; check and return if it's NULL, and print an error
to stderr.  (Someone should check why viewmove() is being called).

------------------------------------------------------------------------
r6537 | hos | 2006-01-24 18:23:01 +0100 (Tue, 24 Jan 2006) | 4 lines

Not a show stopper, and does not add or remove any functionality
... but a pythoner forgot to do a cast, causing an error with an
anally retentive compiler.

------------------------------------------------------------------------
r6526 | ton | 2006-01-23 22:13:48 +0100 (Mon, 23 Jan 2006) | 4 lines

Bug in commit for 'linked scene sets', that got sneaked in after 2.40. :)
This fixes shaded mode in lostride demo file, also for scenes that use
sets in shaded drawmode, lighting now will look ok.

------------------------------------------------------------------------
r6524 | ton | 2006-01-23 21:28:19 +0100 (Mon, 23 Jan 2006) | 2 lines

Release text file with very short note...

------------------------------------------------------------------------
r6523 | mikasaari | 2006-01-23 16:14:01 +0100 (Mon, 23 Jan 2006) | 2 lines

The character table shouldn't messed anymore when <builtin> font is used.

------------------------------------------------------------------------
r6522 | mikasaari | 2006-01-23 13:52:53 +0100 (Mon, 23 Jan 2006) | 4 lines

Fixing the user interface bug when unicode font area list is exited
without selecting any area. This caused the area to be from 0 to 0.
Now if no any area selected, the whole area from 0 to 0xffff is shown.

------------------------------------------------------------------------
r6520 | campbellbarton | 2006-01-23 00:32:46 +0100 (Mon, 23 Jan 2006) | 10 lines

Bugfix- selection only didnt work & Fixed object name creation not using the real data name.

Added features.
- Triangulate
- Export Object is OBJ objects
- Objects as Groups
- Group by Materials

- Updated blender website from www.blender.org to www.blender3d.org and write blender version number too.

------------------------------------------------------------------------
r6518 | broken | 2006-01-23 00:01:36 +0100 (Mon, 23 Jan 2006) | 2 lines

2.41 splash JPG image

------------------------------------------------------------------------
r6517 | broken | 2006-01-23 00:00:55 +0100 (Mon, 23 Jan 2006) | 2 lines

2.41 splash

------------------------------------------------------------------------
r6516 | ton | 2006-01-22 23:48:07 +0100 (Sun, 22 Jan 2006) | 4 lines

And the 2nd commit for release codes.

Still todo: splash!

------------------------------------------------------------------------
r6515 | ton | 2006-01-22 23:46:29 +0100 (Sun, 22 Jan 2006) | 2 lines

First of the release 2.41 code files.

------------------------------------------------------------------------
r6514 | ton | 2006-01-22 23:27:19 +0100 (Sun, 22 Jan 2006) | 2 lines

New 2.41 version of quickstart guide.

------------------------------------------------------------------------
r6513 | campbellbarton | 2006-01-22 22:41:06 +0100 (Sun, 22 Jan 2006) | 2 lines

Increased some of the defaults- very small brush sizes could make verts NAN location.

------------------------------------------------------------------------
r6512 | letterrip | 2006-01-22 22:40:05 +0100 (Sun, 22 Jan 2006) | 4 lines

==translations==

last bit for the translations serbian and ukranians now work - woohoo

------------------------------------------------------------------------
r6511 | letterrip | 2006-01-22 22:28:07 +0100 (Sun, 22 Jan 2006) | 4 lines

==translations==

serbian...

------------------------------------------------------------------------
r6510 | letterrip | 2006-01-22 22:28:04 +0100 (Sun, 22 Jan 2006) | 4 lines

==scripts==

ukranian still figuring out how to commit languages :)

------------------------------------------------------------------------
r6509 | letterrip | 2006-01-22 22:15:23 +0100 (Sun, 22 Jan 2006) | 4 lines

==scripts==

updated svg import - it is better than the last version, and apparently works perfect on linux - but some issues on windows? work done by jms

------------------------------------------------------------------------
r6508 | letterrip | 2006-01-22 18:41:13 +0100 (Sun, 22 Jan 2006) | 4 lines

==translation==

tooltips translation to Ukranian by Serhij Dubyk, hrrmmm I still don't see it showing up in my language choices drop down...

------------------------------------------------------------------------
r6507 | hos | 2006-01-22 18:33:26 +0100 (Sun, 22 Jan 2006) | 3 lines

Fixing the VRML ImageTexture for the pending release, so that the image
file name gets written instead of the blend file name.

------------------------------------------------------------------------
r6506 | letterrip | 2006-01-22 17:38:46 +0100 (Sun, 22 Jan 2006) | 4 lines

==python scripts==

DirectX exporter now supports animation again.  Thanks Ben Omari for the update - there is a bug in armatures (not python?) that can leave the bones looking crazy after export - tab tab to make it return to correct

------------------------------------------------------------------------
r6505 | hos | 2006-01-22 04:27:45 +0100 (Sun, 22 Jan 2006) | 5 lines

The decimate modifier had a slider to control the level of mesh
reduction that was labeled "Percent" but was on a scale from
0.0 to 1.0. The word percent implies a scale for 0 to 100, so
I've relabeled this slider as "Ratio".

------------------------------------------------------------------------
r6504 | campbellbarton | 2006-01-21 13:33:58 +0100 (Sat, 21 Jan 2006) | 4 lines

Bugfix with adaptive geometry- was over subdividing some edges.
Made sure all data is unselected before endering brush mode.
Also made adaptive geometry off be default.

------------------------------------------------------------------------
r6503 | khughes | 2006-01-21 07:21:03 +0100 (Sat, 21 Jan 2006) | 6 lines



===Python API===
Bugfix: Hos discovered that recent fixes broke mesh.verts.extend(); it now
accepts three floats again.  Sorry....

------------------------------------------------------------------------
r6501 | campbellbarton | 2006-01-20 07:05:28 +0100 (Fri, 20 Jan 2006) | 2 lines

Some minor changes & updates to keep in sync with my own version.

------------------------------------------------------------------------
r6500 | campbellbarton | 2006-01-20 05:41:55 +0100 (Fri, 20 Jan 2006) | 2 lines

removing file with old name,

------------------------------------------------------------------------
r6499 | campbellbarton | 2006-01-20 03:45:02 +0100 (Fri, 20 Jan 2006) | 2 lines

was collapsing edges, even when adptive geometry was disabled.

------------------------------------------------------------------------
r6498 | campbellbarton | 2006-01-20 03:40:05 +0100 (Fri, 20 Jan 2006) | 5 lines

Updated batch object renamer.
- Now  uses PupBlock where possible
- Uses Mesh for changing mesh names (saves us a full NMesh update)
- Fixed a bug renaming objects from their data - with emprys.

------------------------------------------------------------------------
r6497 | campbellbarton | 2006-01-20 03:37:00 +0100 (Fri, 20 Jan 2006) | 2 lines

renaming python script...

------------------------------------------------------------------------
r6495 | khughes | 2006-01-19 16:48:56 +0100 (Thu, 19 Jan 2006) | 8 lines



===Python API===
Bugfix #3660:  NMesh.getVertexInfluences() was broken following the changes
to the armature system.  Tron Thomas (kudos) came up with a fix that seems
to perform identically to the old method.  I'm also adding it to the Mesh
module for compatibility.

------------------------------------------------------------------------
r6494 | campbellbarton | 2006-01-19 15:42:04 +0100 (Thu, 19 Jan 2006) | 3 lines

Made the minimal theme align, and buttons now sit close together.
Looks nicer.

------------------------------------------------------------------------
r6493 | campbellbarton | 2006-01-19 02:15:17 +0100 (Thu, 19 Jan 2006) | 4 lines

Bugfix for http://projects.blender.org/tracker/?func=detail&atid=125&aid=3767&group_id=9
View All/View Selected - only took into account values from 1 axis. - Workaround because test_view2d needs to act that way for other functions.
Easy one :) Right mouse mutton cancels transform. - Must move to Theeth's new code one day.

------------------------------------------------------------------------
r6492 | campbellbarton | 2006-01-18 23:57:55 +0100 (Wed, 18 Jan 2006) | 2 lines

Fixed up naming new objects/meshes when that name alredy existed - faster and better new names.

------------------------------------------------------------------------
r6491 | khughes | 2006-01-18 21:06:13 +0100 (Wed, 18 Jan 2006) | 8 lines



==renderer==

Patch #3760: Allows a python script to call renderer when the UI is not
active (thanks to Cory King for patch).  Without the patch, blender will
segfault since G.vd is NULL.

------------------------------------------------------------------------
r6490 | sirdude | 2006-01-18 17:22:29 +0100 (Wed, 18 Jan 2006) | 13 lines



This patch fixes some issues with MSVC 6
See: http://www.blender.org/forum/viewtopic.php?t=7863

I added Pose.c to BPY_python.dsp and moved some variable declarations
in OptimizedBvh.cpp so things weren't defined in the middle of code.

There is an odd global maxIterations  that seems out of place,
Erwin you may want to look at it quickly...

Kent

------------------------------------------------------------------------
r6488 | erwin | 2006-01-18 07:48:28 +0100 (Wed, 18 Jan 2006) | 2 lines

assert caused compile problems too :(

------------------------------------------------------------------------
r6487 | erwin | 2006-01-18 07:46:56 +0100 (Wed, 18 Jan 2006) | 2 lines

fixed an ordering issue caused by previous commit

------------------------------------------------------------------------
r6486 | khughes | 2006-01-18 07:15:17 +0100 (Wed, 18 Jan 2006) | 7 lines



==Python API==

Bugfix #3761: Attempting to set mesh.faceUV=1 when a mesh has no faces
now throws a RuntimeError exception.  Previous behavior was to do nothing.

------------------------------------------------------------------------
r6485 | erwin | 2006-01-18 07:04:11 +0100 (Wed, 18 Jan 2006) | 3 lines

attempt to fix reported problems with glsl shader on OS X (and other platforms). instead of continuous printing errors, it should just print once, and delete the shaders.
also, disabled the asynchronous logicbrick update, it reportedly causes jitter.

------------------------------------------------------------------------
r6484 | ianwill | 2006-01-18 03:20:48 +0100 (Wed, 18 Jan 2006) | 4 lines

==python scripts==

Updated bvh to armatures script by Jean-Baptiste Perin (thanks).

------------------------------------------------------------------------
r6483 | campbellbarton | 2006-01-18 01:22:22 +0100 (Wed, 18 Jan 2006) | 2 lines

fixed seam tearing with edge collapsing, should be last commit ;)

------------------------------------------------------------------------
r6482 | campbellbarton | 2006-01-18 01:14:33 +0100 (Wed, 18 Jan 2006) | 2 lines

Added Mesh menu access for b-brush sculpter.

------------------------------------------------------------------------
r6481 | campbellbarton | 2006-01-18 00:50:06 +0100 (Wed, 18 Jan 2006) | 2 lines

Moved script. Minor updates to subdivision and adaptive meshes.

------------------------------------------------------------------------
r6480 | campbellbarton | 2006-01-18 00:47:45 +0100 (Wed, 18 Jan 2006) | 2 lines

moving to bpydata because it cant be accessed from the menus

------------------------------------------------------------------------
r6479 | campbellbarton | 2006-01-17 23:13:25 +0100 (Tue, 17 Jan 2006) | 4 lines

Changed the URL to be the Image filename sans path, not the image name.
Sped up intentation writing a bit..
Many more changes need to be applied here...

------------------------------------------------------------------------
r6478 | letterrip | 2006-01-17 22:04:12 +0100 (Tue, 17 Jan 2006) | 4 lines

==python scripts==

slight updates and cleanups to vrml97 and x3d exporter,  the ability to do gzip compression has been added.  The redundant vrml exporter has been removed.  Thanks Bart

------------------------------------------------------------------------
r6476 | letterrip | 2006-01-17 17:32:09 +0100 (Tue, 17 Jan 2006) | 4 lines

==python api==

epyDoc for insertShapeKey

------------------------------------------------------------------------
r6475 | letterrip | 2006-01-17 12:34:33 +0100 (Tue, 17 Jan 2006) | 4 lines

==python api==

tex2uvbaker and hotkeys update by jms

------------------------------------------------------------------------
r6474 | campbellbarton | 2006-01-17 12:05:45 +0100 (Tue, 17 Jan 2006) | 3 lines

Speed up for edge list's
Remove doubles on mouseup to minimizie editMode cycling.

------------------------------------------------------------------------
r6473 | campbellbarton | 2006-01-17 10:58:24 +0100 (Tue, 17 Jan 2006) | 2 lines

Added edge collapsing when adaptive geometry enabled.

------------------------------------------------------------------------
r6472 | letterrip | 2006-01-17 10:20:37 +0100 (Tue, 17 Jan 2006) | 4 lines

==python api==

clarification of Blender.Mesh.Mode() tip

------------------------------------------------------------------------
r6471 | letterrip | 2006-01-17 07:47:48 +0100 (Tue, 17 Jan 2006) | 13 lines

==python api==

patch from jean-michel soler (jms) - .insertShapeKey()

Python API, a function to insert a shape key in an object . It works on Mesh, Lattice curve ans surface .
Example of use :

import Blender
OBJECT=Blender.Object.GetSelected()[0]
OBJECT.insertShapeKey()

a docstring to follow soon

------------------------------------------------------------------------
r6470 | khughes | 2006-01-17 07:18:43 +0100 (Tue, 17 Jan 2006) | 7 lines



==Python API==
Added Mesh.Modes() function, which allows scripts to get/set the selection
mode settings for meshes.  This was necessary in order for the mesh tools
such as triangulate, remove doubles, etc., to work properly.

------------------------------------------------------------------------
r6469 | campbellbarton | 2006-01-17 07:14:52 +0100 (Tue, 17 Jan 2006) | 3 lines

Fixed a problem with non mesh objects
Stopped seams from tearing away with xclip enabled.

------------------------------------------------------------------------
r6468 | khughes | 2006-01-17 07:12:53 +0100 (Tue, 17 Jan 2006) | 8 lines



Patches submitted by Michael Reimpell to get/set relative key selection, and
to get the current value of the IPO shape key.  There are still some issues
to discuss as to whether methods/attributes should be used and what they
should be named, but this will (or should) be addressed in the upcoming API
rewrite.

------------------------------------------------------------------------
r6467 | letterrip | 2006-01-17 04:35:50 +0100 (Tue, 17 Jan 2006) | 12 lines

==python scripts==
updated version of collada importer


This version includes animation export of underformable objects though IPO channels. It can export animation of transforms and materials. The baked transform options outputs baked transforms for each frame beginning with the lowest transformation frame to the highest frame number for any transformation channel. The animation exporter calculates time values according to the frame number of each key-frame (Bezier-point) depending on the FPS value found in the Scene-Anim settings (defaults to 25).

This version also fixes the texture import on the importer and issues a
warning if the texture could not be loaded and continues to load the
document in any case.

Thanks to Mikael Lagré for the superb update

------------------------------------------------------------------------
r6466 | lukep | 2006-01-16 23:27:30 +0100 (Mon, 16 Jan 2006) | 13 lines

after much suffering, got GE build and work almost cleanly on Os X
(with make, need to confirm with scons)

after cleaning the changes are in fact minimal, but the situation
is still quite a bit hackish.

Game engine coders, there is also quite a number of warnings that
need to be fixed.

current situation is that everything seems to work, but GLSL shaders
spew a lot of errors on console and blender may crash on exit when
a GLSL shader was used. ARB stuff works fine.

------------------------------------------------------------------------
r6465 | letterrip | 2006-01-16 22:42:53 +0100 (Mon, 16 Jan 2006) | 3 lines

==python scripts==
updated version of bevel center by Loic Berthe

------------------------------------------------------------------------
r6464 | campbellbarton | 2006-01-16 22:28:09 +0100 (Mon, 16 Jan 2006) | 5 lines


Fix for useing with modifiers, dosent check for subsurf flag when copying vgroups.
Leaves all new objects selected.
Faster and cleaner operation- naming etc.

------------------------------------------------------------------------
r6462 | erwin | 2006-01-16 20:34:52 +0100 (Mon, 16 Jan 2006) | 2 lines

fixed a runtime problem with stl container usage, as reported on bf-committers mailing list

------------------------------------------------------------------------
r6461 | stiv | 2006-01-16 18:55:03 +0100 (Mon, 16 Jan 2006) | 2 lines

clean up some warnings in bpy code

------------------------------------------------------------------------
r6460 | ascotan | 2006-01-16 17:37:00 +0100 (Mon, 16 Jan 2006) | 3 lines

* added missing file
- for some reason mesh_data types file was not in project

------------------------------------------------------------------------
r6459 | ascotan | 2006-01-16 17:34:08 +0100 (Mon, 16 Jan 2006) | 3 lines

*fixes global redefinitions
- added some extern keywords

------------------------------------------------------------------------
r6458 | campbellbarton | 2006-01-16 12:57:04 +0100 (Mon, 16 Jan 2006) | 4 lines

Alligned bone pose copy buttons (noticed in orange screenshot)
Also found that Proportional edit button starts allign but dosent end align. Didnt chgange incase this is intended??
Take a look header_view3d.c:4390

------------------------------------------------------------------------
r6457 | broken | 2006-01-16 12:27:50 +0100 (Mon, 16 Jan 2006) | 4 lines

* Tiny tweak to button alignment after Campbell's commit.

Campbell, most of the changes you made seem ok, but you do have to be careful since it's not just about looking good, it's also about grouping things meaningfully. We did some thoughts on more concrete guidelines for this here: http://mediawiki.blender.org/index.php/BlenderDev/UIAlignRulesGuides

------------------------------------------------------------------------
r6456 | campbellbarton | 2006-01-16 07:40:22 +0100 (Mon, 16 Jan 2006) | 2 lines

whoops. some chunks of text were commented and not needed. removed.

------------------------------------------------------------------------
r6455 | campbellbarton | 2006-01-16 07:33:55 +0100 (Mon, 16 Jan 2006) | 9 lines

Added user interface to OBJ import.
With options.
	('Material (*.mtl)', IMPORT_MTL, 'Imports material settings and images from the obj\'s .mtl file'),\
	('All *.obj\'s in dir', IMPORT_DIR, 'Import all obj files in this dir (avoid overlapping data with "Create scene")'),\
	('Create scene', IMPORT_NEW_SCENE, 'Imports each obj into its own scene, named from the file'),\
	'Geometry...',\
	('Edges', IMPORT_EDGES, 'Import faces with 2 verts as in edge'),\
	('Smooths all faces', IMPORT_SMOOTH_ALL, 'Smooth all faces even if they are not in a smoothing group'),\

------------------------------------------------------------------------
r6454 | campbellbarton | 2006-01-16 06:28:34 +0100 (Mon, 16 Jan 2006) | 5 lines

Hopefully clear up the last of the obj import bugs.
* 8% speedup by using list comprehension.
* Slightly better smoothing group import.
* Handles bug in python that puts spaces before every line with '\r\n' line endings.

------------------------------------------------------------------------
r6453 | ianwill | 2006-01-16 04:51:32 +0100 (Mon, 16 Jan 2006) | 7 lines

BPython:

- minor: added missing theme options (bone_solid, bone_pose, strip,
strip_select) to Blender.Window.Theme and also updated accordingly
(version info) the script that saves themes as scripts and the module's
doc.

------------------------------------------------------------------------
r6452 | khughes | 2006-01-16 03:06:02 +0100 (Mon, 16 Jan 2006) | 6 lines



Fixed Window.Editmode(0) so that it only calls undo_push_mesh() when
U.undosteps is nonzero.  Also added optional parameter to avoid pushing
undo info alltogether if desired.

------------------------------------------------------------------------
r6450 | letterrip | 2006-01-15 21:05:28 +0100 (Sun, 15 Jan 2006) | 3 lines

==python scripts==
slight bug fix update to ply importer by Bruce Merry

------------------------------------------------------------------------
r6449 | campbellbarton | 2006-01-15 18:56:40 +0100 (Sun, 15 Jan 2006) | 4 lines

In fixing for negative indicies I broke positive indicies. Fixed. not helped by the fact the files I had for testing were 32 and 70 meg..
ALso modified the MTL loader for Object.Get's new ValueError.
- Should be good for release now.

------------------------------------------------------------------------
r6448 | khughes | 2006-01-15 18:14:58 +0100 (Sun, 15 Jan 2006) | 4 lines



Removed printfs in setPoints(), add proper exception handling.

------------------------------------------------------------------------
r6447 | campbellbarton | 2006-01-15 17:25:13 +0100 (Sun, 15 Jan 2006) | 2 lines

Rewind last commit, with mipmapping.

------------------------------------------------------------------------
r6446 | campbellbarton | 2006-01-15 16:38:47 +0100 (Sun, 15 Jan 2006) | 4 lines

With no mipmapping
Replaced. GL_LINEAR with GL_NEAREST, so no interpolation is done.
From my tests, this runs a heap faster with software openGL (Mesa) since it dosent have to intepolate any pixels- think Doom/QuakeI..

------------------------------------------------------------------------
r6445 | h_xnan | 2006-01-15 16:05:06 +0100 (Sun, 15 Jan 2006) | 43 lines

- remove a \n so that the plugin registers properly again, Yay :)
Using a test.html with src="load.blend" and without a loadingURL= we get
the following on FreeBSD in /tmp/plugin_log :

    --> Unixshell::(0x806a980) NPP_GetMIMEDescription
    --> Unixshell::(0x806a980) NPP_GetValue
    --> Unixshell::(0x806a980) NPP_GetValue::NPPVpluginNameString
    --> Unixshell::(0x806a980) NPP_GetValue
    --> Unixshell::(0x806a980) NPP_GetValue::NPPVpluginDescriptionString
    --> Unixshell::(0x806a980) NPP_GetJavaClass
    --> Unixshell::(0x806a980) NPP_Initialize
    --> Unixshell::(0x806a980) NPP_New
    --> Unixshell::(0x806a980) initialization_call
    --> KXH_ketsji_hooks::(0x806a980) APH_create_application
    --> KXH_ketsji_hooks::(0x8dc2c80) plugin_mainloop
    --> KXH_ketsji_hooks::(0x8dc2c80) init_thread
    --> Unixshell::(0x806a980) NPP_SetWindow
    --> KXH_ketsji_hooks::(0x8dc2c80) tick
    --> KXH_ketsji_hooks::(0x8dc2c80) tick: init
    --> Unixshell::(0x8dc2c80) PLA_get_foreground_colour
    --> KXH_ketsji_hooks::(0x8dc2c80) tick: default loader
    --> KXH_ketsji_hooks::(0x8dc2c80) open_default_loader
    --> KXH_ketsji_hooks::(0x8dc2c80) initialize_gameengine
    --> KXH_ketsji_hooks::(0x8dc2c80) initialize_gameengine 5
    --> KXH_ketsji_hooks::(0x8dc2c80) initialize_gameengine 6a

The initialize_gameengine 6b printf line is not reached, meaning that we
crash in KX_BlenderSceneConverter in
source/gameengine/GamePlayer/netscape/src/ketsji/KXH_ketsji_hooks.cpp :

leia ~> mozilla
    Blender3DPlugin: No JRI available, awaiting XPConnect queries.
    Segmentation fault (core dumped)
    Exit 139

And we also saw :
    Xlib: unexpected async reply (sequence 0x3a)!

At least the initial browser connectivity looks OK now, and the problem
we see is deeper within Blender.

Njin-Zu and Hans

------------------------------------------------------------------------
r6444 | campbellbarton | 2006-01-15 15:47:16 +0100 (Sun, 15 Jan 2006) | 2 lines

last of the cosmetic fixes with aligning buttons in the path setting/info win prefs area.

------------------------------------------------------------------------
r6443 | campbellbarton | 2006-01-15 15:44:09 +0100 (Sun, 15 Jan 2006) | 3 lines

Mesh sculpting event handeler script,
see http://www.elysiun.com/forum/viewtopic.php?t=56101 for details,

------------------------------------------------------------------------
r6442 | campbellbarton | 2006-01-15 14:30:56 +0100 (Sun, 15 Jan 2006) | 5 lines

Aligned all remaining non-aligned header buttons, (was looking yuck with rounded theme, hope this doesn't mess you up Broken)
Aligned filesel buttons|text entry- looked arse also.
Added tooltips for filesel text entry- "Type in dir to create" and "+/- increment" or somthing like that.
- Cam

------------------------------------------------------------------------
r6441 | erwin | 2006-01-15 12:34:55 +0100 (Sun, 15 Jan 2006) | 5 lines

more graphics patches from Snailrose,
remove constraint fixed,
Bullet timestep now subdivides Blender game engine timestep, so it runs 60 hertz,
SphereShape reverted to old style, so no support for non-uniform scaled spheres for now,

------------------------------------------------------------------------
r6440 | khughes | 2006-01-14 23:05:16 +0100 (Sat, 14 Jan 2006) | 7 lines



Bugfix #3731: User reported that cyclic IPO curves reported the wrong value
in the BPy API for the "end point".  It was a minunderstanding of what
happens with cyclic Ipos, but we updated the documentation to make this
clearer in the future.

------------------------------------------------------------------------
r6439 | theeth | 2006-01-14 21:52:39 +0100 (Sat, 14 Jan 2006) | 4 lines

Bug fix: #3684

When grabing a camera in camera view, the constraint center wasn't the center used for initgrabz, so it messed up a lot.

------------------------------------------------------------------------
r6438 | stiv | 2006-01-14 20:05:33 +0100 (Sat, 14 Jan 2006) | 2 lines

fix previously fixed error msg.

------------------------------------------------------------------------
r6437 | stiv | 2006-01-14 03:13:15 +0100 (Sat, 14 Jan 2006) | 4 lines

Object.Get( name ) was throwing an AttributeError.
Change to throw more correct ValueError when name
is not found as per IRC discussion

------------------------------------------------------------------------
r6436 | khughes | 2006-01-13 18:22:53 +0100 (Fri, 13 Jan 2006) | 4 lines



Cam Barton discovered the setter for me.faces[i].col was missing.

------------------------------------------------------------------------
r6435 | ascotan | 2006-01-13 17:19:11 +0100 (Fri, 13 Jan 2006) | 3 lines

* [ #3746 ] Calling getPose on a mesh object generates "RuntimeError: Pose - Error: PyPose_FromPose: Internal Error Ocurred"
- added returns where appropriate.

------------------------------------------------------------------------
r6434 | ascotan | 2006-01-13 16:53:22 +0100 (Fri, 13 Jan 2006) | 4 lines

*head/tail addition
- forgot to add the ability to get pose head/tail positions
- no setters (yet) as they are calculated

------------------------------------------------------------------------
r6432 | ascotan | 2006-01-13 16:27:23 +0100 (Fri, 13 Jan 2006) | 4 lines

*bone.children fix
- fixes bone.children to return direct bone children
- added bone.getAllChildren() to allow previous behavior

------------------------------------------------------------------------
r6431 | campbellbarton | 2006-01-13 16:26:15 +0100 (Fri, 13 Jan 2006) | 5 lines

Fixed bug in importing OBJ files with negative indicies (UV and VERTS, normals are ignored)
Have alredy tested 100's of obj files and cant believe this is the first I have found with negative coords.
May fix the UI before 2.41, Importing a whole dir isnt very user friendly. and may want to support sequence import.
- Cam

------------------------------------------------------------------------
r6430 | ton | 2006-01-13 13:14:13 +0100 (Fri, 13 Jan 2006) | 4 lines

Bugfix as provided by 'stealth apprentice' on the bf-comitters list.
Function get_constraint_target() should catch the case when a constraint
has unknown type, to prevent a pointer to become unitialized.

------------------------------------------------------------------------
r6429 | khughes | 2006-01-13 08:11:30 +0100 (Fri, 13 Jan 2006) | 4 lines



Another bug fix for reference counting in extend methods.

------------------------------------------------------------------------
r6428 | blendix | 2006-01-13 07:56:32 +0100 (Fri, 13 Jan 2006) | 3 lines


Subsurf UV crasher fix - thanks Malefico and Matthew for test files.

------------------------------------------------------------------------
r6427 | erwin | 2006-01-13 02:00:35 +0100 (Fri, 13 Jan 2006) | 2 lines

make clear that 'concave mesh' is really for static triangle mesh. too many people try to make it moving, it is for landscapes/static environment.

------------------------------------------------------------------------
r6426 | letterrip | 2006-01-13 01:24:23 +0100 (Fri, 13 Jan 2006) | 5 lines

==python scripts==
added xfig exporter by Dino Ghilardi

ply import and export in previous commit were by Bruce Merry

------------------------------------------------------------------------
r6425 | letterrip | 2006-01-12 22:33:42 +0100 (Thu, 12 Jan 2006) | 7 lines

==python scripts==
added ply import and export, extensively tested on files from

http://www.cs.virginia.edu/~gfx/Courses/2001/Advanced.spring.01/plymodels/

they give correct results for both import and export, however they could use some speed optimization for large mesh

------------------------------------------------------------------------
r6424 | letterrip | 2006-01-12 22:30:00 +0100 (Thu, 12 Jan 2006) | 3 lines

==python scripts==
converted to unix line endings - first commit - lets see if it works

------------------------------------------------------------------------
r6423 | stiv | 2006-01-12 22:21:41 +0100 (Thu, 12 Jan 2006) | 6 lines

bugfix: #3738  Armature bones returns none instead of key error

BonesDict was returning None instead of throwing a KeyError
when key not found.
Also fixed a few compile warnings about struct initialization.

------------------------------------------------------------------------
r6418 | campbellbarton | 2006-01-12 14:34:55 +0100 (Thu, 12 Jan 2006) | 4 lines

Fixed a segfault in zooming out on long wave files- 6min+

Was using shorts which couldent code with viewing many samples at once.

------------------------------------------------------------------------
r6417 | campbellbarton | 2006-01-12 13:39:14 +0100 (Thu, 12 Jan 2006) | 3 lines

Renamed clean_mesh.py to mesh_cleanup.py
Rewrote to use Kens Mesh module, much faster, cleaner and nicer UI. - Another use for PupBlock.

------------------------------------------------------------------------
r6416 | khughes | 2006-01-12 08:51:19 +0100 (Thu, 12 Jan 2006) | 6 lines



Clean-up of some reference counting issues with delete() methods.  Also
further relax the input types for edge.extend() and face.extend() so that
single lists or tuples are accepted without errors.

------------------------------------------------------------------------
r6415 | erwin | 2006-01-12 07:30:01 +0100 (Thu, 12 Jan 2006) | 3 lines

renamed some variables to make the timing in the game engine less confusing+minor improvements in this area.
enabled game engine for scons

------------------------------------------------------------------------
r6414 | campbellbarton | 2006-01-12 06:28:47 +0100 (Thu, 12 Jan 2006) | 4 lines

Added tri2quad script finds all possible quads to be made from selected triangle pairs, then joins the best first until the error limit is reached.
Just Updated and faster 8.5sec to 0.6sec for 2k triangles in my test.
Also my fav new function PupBlock for the UI input!

------------------------------------------------------------------------
r6413 | campbellbarton | 2006-01-12 04:34:37 +0100 (Thu, 12 Jan 2006) | 3 lines

Fixed a bug in boxpack that archimap not to clear data between uses, and become progressivly slower.
Updated Archimap to set UV's aslists (dont need to convert to tuples anymore)

------------------------------------------------------------------------
r6412 | erwin | 2006-01-12 02:37:33 +0100 (Thu, 12 Jan 2006) | 2 lines

overlooked IMB_imbuf.h was already included inside an extern "C" section.

------------------------------------------------------------------------
r6411 | erwin | 2006-01-12 02:15:09 +0100 (Thu, 12 Jan 2006) | 2 lines

uncommented include "IMB_imbuf.h", it is needed?

------------------------------------------------------------------------
r6410 | theeth | 2006-01-12 02:11:42 +0100 (Thu, 12 Jan 2006) | 5 lines

BPy: Mathutils fix: bug #3737
Vector.resize4D() didn't put 1 in the 4th component (the scale factor), as it did in 2.37.
While this is more "correct", it is much less usefull. Also, matrix.resize4x4 puts a 1 there too,
so might as well revert and be consistent.

------------------------------------------------------------------------
r6409 | erwin | 2006-01-12 01:57:28 +0100 (Thu, 12 Jan 2006) | 2 lines

re-enable game engine by default, for 2.41 preparation

------------------------------------------------------------------------
r6408 | theeth | 2006-01-12 01:07:08 +0100 (Thu, 12 Jan 2006) | 4 lines

Scons fix:

new BPy Pose files weren't added to Sconscript

------------------------------------------------------------------------
r6405 | sirdude | 2006-01-11 22:58:37 +0100 (Wed, 11 Jan 2006) | 8 lines



remove Constraint.h since it doesn't exist.

Provided by Letterrip.

Kent

------------------------------------------------------------------------
r6404 | h_xnan | 2006-01-11 22:11:07 +0100 (Wed, 11 Jan 2006) | 2 lines

- override the temporary disabling of KETSJI and OPENAL for FreeBSD.

------------------------------------------------------------------------
r6403 | ascotan | 2006-01-11 21:48:46 +0100 (Wed, 11 Jan 2006) | 2 lines

Forgot the pose file.... :p

------------------------------------------------------------------------
r6402 | ascotan | 2006-01-11 21:44:24 +0100 (Wed, 11 Jan 2006) | 3 lines

*pose docs
- some pose python documentation

------------------------------------------------------------------------
r6401 | h_xnan | 2006-01-11 21:25:04 +0100 (Wed, 11 Jan 2006) | 2 lines

- sanitize spacings and tabs a bit. It's still not completely clean though.

------------------------------------------------------------------------
r6400 | ascotan | 2006-01-11 20:42:58 +0100 (Wed, 11 Jan 2006) | 3 lines

*vc7 project file update
- adds pose to python project

------------------------------------------------------------------------
r6399 | ascotan | 2006-01-11 20:41:01 +0100 (Wed, 11 Jan 2006) | 2 lines

Probably need these....

------------------------------------------------------------------------
r6398 | ascotan | 2006-01-11 20:40:06 +0100 (Wed, 11 Jan 2006) | 8 lines

*pose code for python
- adds object.getPose
- ability to manipulate poses /posebones
- fixes a overflow bug in matrix sequence accessor
- adds code to get vec/roll from mat3
- few internal fixes to NLA
- ability to set bone matrices

------------------------------------------------------------------------
r6397 | h_xnan | 2006-01-11 20:31:15 +0100 (Wed, 11 Jan 2006) | 2 lines

At least FreeBSD needs to know where to find gl.h

------------------------------------------------------------------------
r6395 | khughes | 2006-01-11 19:37:47 +0100 (Wed, 11 Jan 2006) | 9 lines



A few Mesh fixes:
* edge and face extend() methods now add edges and faces in the order given
  by their parameters.  Note that if duplicate edges or faces are specified,
  the order is preserved but the dups are removed, so indices won't match.
* allow extend(), findEdges() and faces.uv to accept lists or tuples
* fix bug in mesh.verts.extend() which didn't correctly check argument types

------------------------------------------------------------------------
r6394 | campbellbarton | 2006-01-11 17:55:31 +0100 (Wed, 11 Jan 2006) | 2 lines

Exclude labels from grouping. - Clever numbuts look nicer with rounded theme.

------------------------------------------------------------------------
r6390 | erwin | 2006-01-11 14:31:45 +0100 (Wed, 11 Jan 2006) | 2 lines

attempt to avoid nameclashes (although it is already in a namespace) -> extension names renamed from glXXX to blXXX.

------------------------------------------------------------------------
r6388 | campbellbarton | 2006-01-11 11:12:03 +0100 (Wed, 11 Jan 2006) | 2 lines

Fixed a silly bug when copying images.

------------------------------------------------------------------------
r6387 | campbellbarton | 2006-01-11 10:47:17 +0100 (Wed, 11 Jan 2006) | 15 lines

update to obj export:
Added options.
	pup_block = [\
	('Apply Modifiers', EXPORT_APPLY_MODIFIERS, 'Use transformed mesh data from each object. May break vert order for morph targets.'),\
	('Selection Only', EXPORT_SEL_ONLY, 'Only export objects in visible selection.'),\
	('Edges', EXPORT_EDGES, 'Edges not connected to faces.'),\
	('Normals', EXPORT_NORMALS, 'Export vertex normal data (Ignored on import).'),\
	('Materials', EXPORT_MTL, 'Write a seperate MTL file with the OBJ.'),\
	('All Scenes', EXPORT_ALL_SCENES, 'Each scene as a seperate OBJ file.'),\
	('Animation', EXPORT_ANIMATION, 'Each frame as a seperate OBJ file.'),\
	('Copy Images', EXPORT_COPY_IMAGES, 'Copy image files to the export directory, never everwrite.'),\
	]

Obj import was updated to import edges (2 vert faces), will update some more later.

------------------------------------------------------------------------
r6386 | bjornmose | 2006-01-11 10:13:59 +0100 (Wed, 11 Jan 2006) | 2 lines

MSVC6 projects for happy GE compiling

------------------------------------------------------------------------
r6384 | campbellbarton | 2006-01-11 05:03:19 +0100 (Wed, 11 Jan 2006) | 7 lines

Fixed bug in do_clever_numbuts not displaying tooltips.
Comment:
	Clear all events so tooltips work, this is not ideal and
	only needed because calls from the menu still have some events
	left over when do_clever_numbuts is called.
	Calls from keyshortcuts do not have this problem.

------------------------------------------------------------------------
r6377 | campbellbarton | 2006-01-10 18:40:50 +0100 (Tue, 10 Jan 2006) | 6 lines

removed slow list handeling
faster vert comparisons
replaced spaces for tabs
removed unneeded getData() calls
general cleanup.

------------------------------------------------------------------------
r6375 | ascotan | 2006-01-10 17:08:03 +0100 (Tue, 10 Jan 2006) | 3 lines

*project file updates
- gets project files in line for compiling again

------------------------------------------------------------------------
r6374 | campbellbarton | 2006-01-10 14:42:20 +0100 (Tue, 10 Jan 2006) | 2 lines

Added openflight import/export- Blight v1.2

------------------------------------------------------------------------
r6371 | blendix | 2006-01-10 13:25:07 +0100 (Tue, 10 Jan 2006) | 3 lines


MSVC compile error fix for subsurf UV.

------------------------------------------------------------------------
r6370 | blendix | 2006-01-10 12:49:53 +0100 (Tue, 10 Jan 2006) | 3 lines


Warning fixes for gcc 4 in iksolver and ghost.

------------------------------------------------------------------------
r6368 | blendix | 2006-01-10 12:36:57 +0100 (Tue, 10 Jan 2006) | 12 lines


Apply Subsurf to UV's.

This fixes most of the UV distortion issues with subsurf. Near seams
however there might still be some distortion, but this should at least
not be worse than before. Subsurf UV is enabled by default on new meshes,
and can be enabled in the modifier panel for existing ones.

Before and after:
http://users.pandora.be/blendix/notsmooth.png
http://users.pandora.be/blendix/smooth.png

------------------------------------------------------------------------
r6366 | erwin | 2006-01-10 07:34:42 +0100 (Tue, 10 Jan 2006) | 2 lines

applied patch from snailrose, related to multi-platform OpenGL extensions.

------------------------------------------------------------------------
r6363 | sirdude | 2006-01-10 03:23:47 +0100 (Tue, 10 Jan 2006) | 7 lines



Another msvc issue.  Added #include <ctype.h> so it compiles.
See patch #3686

Kent

------------------------------------------------------------------------
r6362 | campbellbarton | 2006-01-10 03:01:24 +0100 (Tue, 10 Jan 2006) | 8 lines

Fixed bug in convert function with Mesh objects.
Objects with no modifier could still be converted, but resulting meshes were corrupt and segfaulted Blender when cycling edit mode.
This tests each mesh object for modifiers before converting.

Resulting metaballs meshes were not visible in wireframe.

Also made the selection context nicer, All new converted objects are selected while objects that are converted are deselected.

------------------------------------------------------------------------
r6361 | sirdude | 2006-01-10 02:36:36 +0100 (Tue, 10 Jan 2006) | 7 lines



added prototypes for bottom_sel_action and friends.
Steath Apprentice said its needed for MSC.  Bug # 3687

Kent

------------------------------------------------------------------------
r6355 | campbellbarton | 2006-01-09 16:24:23 +0100 (Mon, 09 Jan 2006) | 10 lines

There was a problem with typing over text selections, where you had an object with 21 letter name (19 is the max but 21 is supported, just copy a mesh a few times)
After this click on the object name and start typing, even though the selection makes it that the new string would be overwritten, it dosent let you type in any text.

from
if(len <= but->max) {
to...
if(len-SELWIDTH+1 <= but->max) {

- Tested and works well.

------------------------------------------------------------------------
r6349 | campbellbarton | 2006-01-09 06:01:17 +0100 (Mon, 09 Jan 2006) | 3 lines

Made buttons in clever numbuts allign.
Commented out crufty name spesific actions that changed variables and added a label of buttons started with "Rot" - Since panels are used for rotating now.

------------------------------------------------------------------------
r6348 | campbellbarton | 2006-01-09 04:43:48 +0100 (Mon, 09 Jan 2006) | 6 lines

* Added PupBlock for user options.
* Improved context, unwraps active object if not selected and makes sure it only unwraps a mesh once even if 2+ instances are selected.
* Added Option to stretch to bounds
* Added option to have a margin, thanks to letterrip
* Fixed bug whe nassigning UV's to zero area faces.

------------------------------------------------------------------------
r6347 | sirdude | 2006-01-09 03:23:04 +0100 (Mon, 09 Jan 2006) | 10 lines



Another small gameengine build tweak.  Included a missing header directory.

I also provided a fix for tiff images.  (It was appending tif even if
it was already in the name, now it does it correctly)
(no more image.tif.tif)

Kent

------------------------------------------------------------------------
r6344 | theeth | 2006-01-08 19:59:55 +0100 (Sun, 08 Jan 2006) | 5 lines

BPy:

PupBlock method. This wraps the "clevernumbut" code to allow scripters to use popup blocks for user input instead of a sequence of multiple different popups.
See the blend file for a comprehensive test and example file.

------------------------------------------------------------------------
r6343 | ton | 2006-01-08 12:50:52 +0100 (Sun, 08 Jan 2006) | 2 lines

New plus/minus icons

------------------------------------------------------------------------
r6341 | erwin | 2006-01-08 11:12:17 +0100 (Sun, 08 Jan 2006) | 2 lines

line-ending related

------------------------------------------------------------------------
r6339 | erwin | 2006-01-08 10:37:15 +0100 (Sun, 08 Jan 2006) | 2 lines

more linux game engine work. hopefully works now!

------------------------------------------------------------------------
r6338 | erwin | 2006-01-08 10:11:17 +0100 (Sun, 08 Jan 2006) | 4 lines


Got the armatures, GLSL shaders and other snailrose changes to work for Linux.
now attempting to get this in cvs :)

------------------------------------------------------------------------
r6336 | erwin | 2006-01-07 03:00:44 +0100 (Sat, 07 Jan 2006) | 2 lines

removed testing code

------------------------------------------------------------------------
r6335 | erwin | 2006-01-07 01:14:37 +0100 (Sat, 07 Jan 2006) | 2 lines

more work to get armatures/blender materials to work under non-windows platforms

------------------------------------------------------------------------
r6334 | erwin | 2006-01-06 22:01:03 +0100 (Fri, 06 Jan 2006) | 2 lines

added new files

------------------------------------------------------------------------
r6333 | erwin | 2006-01-06 22:00:11 +0100 (Fri, 06 Jan 2006) | 2 lines

added few new files

------------------------------------------------------------------------
r6332 | erwin | 2006-01-06 21:35:02 +0100 (Fri, 06 Jan 2006) | 2 lines

use relative paths to avoid including extra folder

------------------------------------------------------------------------
r6331 | ianwill | 2006-01-06 21:15:18 +0100 (Fri, 06 Jan 2006) | 19 lines


Bug #3658 reported by Daniel Holtz (thanks):
http://projects.blender.org/tracker/?func=detail&atid=125&aid=3658&group_id=9

Running scripts from command line in bg mode:
blender -b -P myscript.py
crashes Blender 2.40.

The problem is in add_text() in text.c: G.scene can be NULL at this
point (in bg mode). Added a check:

line 323:
	if (G.scene) /* can be NULL (bg mode) */
		BLI_convertstringcode(str, G.sce, G.scene->r.cfra);

The text being added with add_text() in this particular case is the
script filename specified at the command prompt, so it should be ok to skip
BLI_convertstringcode. Feel free to disagree, though.

------------------------------------------------------------------------
r6329 | ascotan | 2006-01-06 18:57:26 +0100 (Fri, 06 Jan 2006) | 4 lines

*vc7 projectfile update
- removed PHY_ode project
- removed ode control from ketsji project

------------------------------------------------------------------------
r6328 | sirdude | 2006-01-06 16:29:11 +0100 (Fri, 06 Jan 2006) | 7 lines



changed the size of some local vars for 64bit linux.
also added a newline at the end of the file to shut gcc up.

Kent

------------------------------------------------------------------------
r6327 | jesterking | 2006-01-06 14:33:20 +0100 (Fri, 06 Jan 2006) | 10 lines

#3706 (patch tracker)
- Adds missing ipos for texture
   * color, contrast, brightness
- Adds IKey menu in the texture subcontext

#3711 (bug tracker)
- report and patch for missing blend types Halo and Radial

Patches by Levon Hudson

------------------------------------------------------------------------
r6326 | jesterking | 2006-01-06 13:37:45 +0100 (Fri, 06 Jan 2006) | 5 lines

Todo #2574

Setchain: it allows you to chain sets. It checks for loops when trying
to assign new scene, and will notify if changing set would create a loop.

------------------------------------------------------------------------
r6325 | erwin | 2006-01-06 10:57:27 +0100 (Fri, 06 Jan 2006) | 2 lines

fixed copy/paste bug in physicscontroller applyforce, and crashing radar sensor

------------------------------------------------------------------------
r6324 | erwin | 2006-01-06 10:40:00 +0100 (Fri, 06 Jan 2006) | 2 lines

removed extra characters

------------------------------------------------------------------------
r6323 | erwin | 2006-01-06 10:02:53 +0100 (Fri, 06 Jan 2006) | 4 lines


disable game engine and gameplayer for all platforms except windows.
Then after cvs is unfrozen, development can continue.

------------------------------------------------------------------------
r6322 | erwin | 2006-01-06 08:34:35 +0100 (Fri, 06 Jan 2006) | 2 lines

openal didn't compile under linux, some casting problem.

------------------------------------------------------------------------
r6321 | sirdude | 2006-01-06 05:43:17 +0100 (Fri, 06 Jan 2006) | 8 lines



Added current directory to includes so it could find some headers.
(I still do not have the whole thing working but I'm stumped now and
figured this will save someone a little time)

Kent

------------------------------------------------------------------------
r6320 | sirdude | 2006-01-06 05:13:20 +0100 (Fri, 06 Jan 2006) | 6 lines



Headerfile had wrong Capatalization.

Kent

------------------------------------------------------------------------
r6319 | erwin | 2006-01-06 04:46:54 +0100 (Fri, 06 Jan 2006) | 16 lines


Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan.

Armatures are back
Split screen
Double sided lightning
Ambient lighting
Alpha test
Material IPO support (one per object atm)
Blender materials
GLSL shaders - Python access
Up to three texture samplers from the material panel ( 2D & Cube map )
Python access to a second set of uv coordinates

See http://www.elysiun.com/forum/viewtopic.php?t=58057

------------------------------------------------------------------------
r6318 | campbellbarton | 2006-01-06 02:53:26 +0100 (Fri, 06 Jan 2006) | 4 lines

Scene.c - Removed redraw when in non UI mode.
Lamp.py - Example indent
Object.py - Improved join documentation.

------------------------------------------------------------------------
r6317 | sirdude | 2006-01-06 00:10:54 +0100 (Fri, 06 Jan 2006) | 9 lines



Lots of stupid warning fixes:
Added newlines at end of a bunch of files that didn't have them.
removed a couple of unused variables and an extra ';'
(Also removed config.h crap from these files)

Kent

------------------------------------------------------------------------
r6316 | sirdude | 2006-01-05 21:52:51 +0100 (Thu, 05 Jan 2006) | 11 lines



I added {}'s around an if block of code to prevent gcc from saying
this else is ambiguous...
code was
if (blah) if (blah2) stuff; else stuff2;
its now
if (blah) { if (blah2) stuff; else stuff2; }

Kent

------------------------------------------------------------------------
r6315 | khughes | 2006-01-05 20:25:38 +0100 (Thu, 05 Jan 2006) | 5 lines



Bugfix for Toni: Ipo_addCurve() needed to call set_icu_vars() in order to
properly initialize data for new Ipo curves.

------------------------------------------------------------------------
r6312 | campbellbarton | 2006-01-05 16:53:07 +0100 (Thu, 05 Jan 2006) | 6 lines

Changed so all errors raise an excepton. - As per Toni's suggestions.
TypeError for pythonCoder error.
RuntimeError for blender not being able to be joined. (Sorry stivs, no BadJuJu yet)

Documented this in the epydocs also.

------------------------------------------------------------------------
r6311 | n_t | 2006-01-05 16:49:27 +0100 (Thu, 05 Jan 2006) | 5 lines

Three minor fixes:
- removed debugging output from fluidsim export
- directores with "+" are now valid for fluidsim data
- simulation now always uses frame 1 to endframe, so changing start frame settings should work again

------------------------------------------------------------------------
r6302 | ascotan | 2006-01-04 17:02:02 +0100 (Wed, 04 Jan 2006) | 4 lines

[ #3661 ] resize4x4 in Matrix class doesn't set ones on the diagonal

* resizing a matrix now puts 1's back on the diagonals.

------------------------------------------------------------------------
r6300 | ton | 2006-01-04 16:37:48 +0100 (Wed, 04 Jan 2006) | 20 lines

Fix for CrazySpace correction. (Special request of our Argentinan bird
movie friends :)

There were two issues with it, which both have been tackled as follows:

- the correction transformations (quaternions) were calculated per face,
  and then averaged over the vertices. This gave annoying inaccuracies,
  especially when the geometry is irregular.
  The new code first calculates two tangent vectors in a vertex, based on
  the associated edges it has in a face. These tangents then are used to
  define the transform. Tangents are 20% of the length of an edge now.

- When a SubSurf modifier was in the chain, the deformation caused by the
  subsurf was also included in CrazySpace correction, giving even larger
  errors.
  New code temporally disables Subsurf, recalculates vertices, and then
  does the crazy tricks. :)

All in all, quite well working!

------------------------------------------------------------------------
r6299 | campbellbarton | 2006-01-04 16:11:35 +0100 (Wed, 04 Jan 2006) | 2 lines

Added some notes regarding Object.GetSelected() - it uses the last localview.

------------------------------------------------------------------------
r6298 | ascotan | 2006-01-04 16:07:15 +0100 (Wed, 04 Jan 2006) | 4 lines

[ #3712 ] Calling makeEditable() and update() on an armature twice duplicates bones

* fixes bug where editbones are not freed on calling update()

------------------------------------------------------------------------
r6295 | campbellbarton | 2006-01-04 02:55:39 +0100 (Wed, 04 Jan 2006) | 3 lines


Gave an example of changing lamp modes in epydocs. - answers a q on elysuin.

------------------------------------------------------------------------
r6291 | ton | 2006-01-03 21:59:51 +0100 (Tue, 03 Jan 2006) | 5 lines

Bugfix #3646

Outliner, using scrollwheel with mouse in scrollbar didn't scroll in the
correct direction.

------------------------------------------------------------------------
r6290 | ton | 2006-01-03 21:26:24 +0100 (Tue, 03 Jan 2006) | 5 lines

Bugfix #3643

Editmode mesh: after an unhide ("reveal") the countall() needed to be
called. This caused for example extrude not to work when all was hidden.

------------------------------------------------------------------------
r6289 | ton | 2006-01-03 21:06:08 +0100 (Tue, 03 Jan 2006) | 12 lines

Bugfix #3673
Threadsafe patch for environment maps type "Load" missed to include a
call, so still crashed. Only for non-debug builds though, so not reported
earlier.

From my cvs log 7 months ago:

"Added threadsafe patch from Martin.
Now envmaps of type "Load" should not give errors. I assume Martin tested!"

 :)

------------------------------------------------------------------------
r6288 | ton | 2006-01-03 20:49:38 +0100 (Tue, 03 Jan 2006) | 12 lines

Bug #3681 The never ending bump mapping saga!

With the fix over a month ago, which added correct texture space vectors for
the bump, gave results so crispy that normals could invert after normalize.
This only when the normal "fac" slider was > 1.0.

The normals from imagetextures now get clipped to prevent it to result in
flipping normals. Will do more tests though...

Also note that the real good way would be have the tangent vectors for the
actual render normal available to perturb for bump, thats another story.

------------------------------------------------------------------------
r6287 | ascotan | 2006-01-03 18:24:24 +0100 (Tue, 03 Jan 2006) | 3 lines

*bpy fix
- include file capitialized wrong

------------------------------------------------------------------------
r6285 | ascotan | 2006-01-03 17:27:34 +0100 (Tue, 03 Jan 2006) | 3 lines

*warnings fixes
- fixes a number of warnings in bpy project

------------------------------------------------------------------------
r6284 | ascotan | 2006-01-03 17:19:36 +0100 (Tue, 03 Jan 2006) | 4 lines

*msvc7 update
- added bullet files to project
- fixed compiler path on bBullet project

------------------------------------------------------------------------
r6280 | campbellbarton | 2006-01-03 07:14:53 +0100 (Tue, 03 Jan 2006) | 3 lines

replaced more M_Object_Get for the faster Object_CreatePyObject.
Object.GetSelected now dosnt return None if there is no 3d view. - wasnt documented and likely would mess up scripts that always expected a list. - Just return an empty list instead.

------------------------------------------------------------------------
r6279 | campbellbarton | 2006-01-03 06:38:39 +0100 (Tue, 03 Jan 2006) | 7 lines

made scene.getChildren() a heap faster. 983.3 times faster in my test.
getting 7200 objects did take: 1.18 sec,  now 0.0012 sec

It was doing a full object list lookup for every object in the scenes base using the name to compare.
now it just gets the object directly from the base and converts it to a python object, adding it to the list.
- Cam

------------------------------------------------------------------------
r6278 | campbellbarton | 2006-01-03 05:20:43 +0100 (Tue, 03 Jan 2006) | 3 lines

Adds a boarder around the oops, usefull to know where the oops bounds end with larger scenes.
I needed to do a make clean, then make to see this change.

------------------------------------------------------------------------
r6277 | campbellbarton | 2006-01-03 03:49:14 +0100 (Tue, 03 Jan 2006) | 2 lines

oops, forgot to remove the scene whe nan error was raised.

------------------------------------------------------------------------
r6276 | campbellbarton | 2006-01-03 03:35:45 +0100 (Tue, 03 Jan 2006) | 8 lines


Moved Object.Join() into a function of an object.
eg.
ret_val = ob.join(objects)
Now it dosent depend on the current selection, or change the selection context.

Made respective join_* functions return 0 if the join was not mode, 1 when it workes.

------------------------------------------------------------------------
r6275 | campbellbarton | 2006-01-03 00:26:54 +0100 (Tue, 03 Jan 2006) | 3 lines

Small commit, hopefully the last Duplicate change.
Made pythons duplicate not redraw, documented adduplicate()

------------------------------------------------------------------------
r6267 | campbellbarton | 2006-01-02 12:14:47 +0100 (Mon, 02 Jan 2006) | 2 lines

oops left in a printf

------------------------------------------------------------------------
r6266 | campbellbarton | 2006-01-02 11:40:13 +0100 (Mon, 02 Jan 2006) | 4 lines

Changed adduplicate() to take the dupflags as an argument. so faking the Alt Key isnt needed anymore in Blender or python.
Changed Pythons Object.Duplicate() to take keyword parms to enable duplication of spesific data.
Eg- Object.Duplicate(mesh=1) # to duplicate mesh data also.

------------------------------------------------------------------------
r6264 | khughes | 2006-01-01 17:28:57 +0100 (Sun, 01 Jan 2006) | 6 lines



Bugfix #3652: material.setSpecCol() only accepted a tuple, not separate
parameters as it used to (prior to my tp_getset update).  Fixed this and
other similar situations.

------------------------------------------------------------------------
r6263 | khughes | 2006-01-01 16:54:30 +0100 (Sun, 01 Jan 2006) | 7 lines



Created local function check_NMeshLists(), which performs checking on
NMesh lists before trying to build a new mesh (used by mesh.PutRaw() and
mesh.update()).  It was possible to put junk into the NMesh lists, resulting
in some messed-up meshes.

------------------------------------------------------------------------
r6262 | khughes | 2006-01-01 16:50:53 +0100 (Sun, 01 Jan 2006) | 7 lines



Bug fix #3671: Blender.Beztriple.New() did not accept sequences as parameters,
even though its error messages suggested it did.  Thanks to Yann for the
patch (I also added the ability to accept parameters without requiring
them to be in a tuple).  Also documented the New() function.

------------------------------------------------------------------------
r6261 | khughes | 2006-01-01 16:43:34 +0100 (Sun, 01 Jan 2006) | 6 lines



Two bug fixes for mesh.faces.extend() method; fix a error checking for
duplicate faces in the input list, and also extend texture faces if they are
enabled.

------------------------------------------------------------------------
r6260 | khughes | 2006-01-01 16:41:20 +0100 (Sun, 01 Jan 2006) | 5 lines



Fix boolean modifier crash; if boolean code cannot do the operation on the
meshes, print an error dialog and delete the modifier object.

------------------------------------------------------------------------
r6259 | erwin | 2006-01-01 01:20:50 +0100 (Sun, 01 Jan 2006) | 5 lines

Some rigidbody dynamics fixes (scaling again) to make Happy 2006 domino simulation to work.

See http://www.continuousphysics.com/ftp/pub/test/index.php?dir=blender/&file=happy_2006_blend.zip
For the baked dominos. Thanks to Tom M (LetterRip) for the blend.

------------------------------------------------------------------------
r6258 | erwin | 2005-12-31 22:59:56 +0100 (Sat, 31 Dec 2005) | 2 lines

more game engine bug-fixes, hooked up 'formfactor' as inertia tensor tweaker, friction/restitution, more scaling related fixes.

------------------------------------------------------------------------
r6257 | erwin | 2005-12-31 08:20:08 +0100 (Sat, 31 Dec 2005) | 9 lines

Fixed several bugs: python refcounting related and Bullet related (basic add/remove object support, bounding volume hierarchy). Added a few files, updated the Bullet scons. Vc6/7 Bullet projectfiles need to add a couple of files: 'Bullet/CollisionShapes/BvhTriangleMeshShape.cpp',
'Bullet/CollisionShapes/ConvexTriangleCallback.cpp',
'Bullet/CollisionShapes/EmptyShape.cpp',
'Bullet/CollisionShapes/OptimizedBvh.cpp',
'Bullet/CollisionShapes/TriangleCallback.cpp',
'Bullet/CollisionShapes/TriangleIndexVertexArray.cpp',
'Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp'.
Sorry, no armatures fix yet.

------------------------------------------------------------------------
r6254 | campbellbarton | 2005-12-30 15:17:15 +0100 (Fri, 30 Dec 2005) | 10 lines


Added a python hook to Joining objects
Object.Join()

Seperated the join calls from space.c and view3dmenu into join_menu() in space.c, like the select_group_menu(),
okee's from join_curve, join_mesh.. etc are in join_menu() so python can call them without UI menu's in the way.
this is also a bit neater since there were 2 places that were doing what join_menu() does now.

- Cam

------------------------------------------------------------------------
r6253 | campbellbarton | 2005-12-30 12:56:44 +0100 (Fri, 30 Dec 2005) | 2 lines

Ooops 2 tipos in the epydocs...

------------------------------------------------------------------------
r6252 | campbellbarton | 2005-12-30 12:54:53 +0100 (Fri, 30 Dec 2005) | 10 lines

Added the function Duplicate to the object module.
Object.Duplicate(linked=1)

Basicly a wrapper for adduplicate();

There was previously no easy way to copy objects in python. even the ways that do exist dont take modifiers, particles etc into account.
Uses the current selection.. epydocs included also.

- Cam

------------------------------------------------------------------------
r6250 | campbellbarton | 2005-12-30 10:56:02 +0100 (Fri, 30 Dec 2005) | 8 lines

for Mesh_getFromObject made Mesh and Surf types copy the material list to the new mesh.
Still need to do Mball and Text.
Ken- this is fairly straight fwd but if you dont like it - its line 4867 of Mesh.c and 1 block that can be removed.
I tested for memory leaks and correct material user adjustment.
This is realy needed for using getFromObject to export to external rendering engines.
- Hope its ok.
Cam

------------------------------------------------------------------------
r6248 | ascotan | 2005-12-29 20:27:52 +0100 (Thu, 29 Dec 2005) | 3 lines

*crash fix
- previous fix crashes win32 and creates an unreachable code block

------------------------------------------------------------------------
r6245 | campbellbarton | 2005-12-29 13:06:42 +0100 (Thu, 29 Dec 2005) | 2 lines

Fixed a python segfault when linking a new object to a scene that had no data and was a Surf. the data wasnt created and blender died. Now an error is raised instead.

------------------------------------------------------------------------
r6244 | campbellbarton | 2005-12-29 12:08:55 +0100 (Thu, 29 Dec 2005) | 2 lines

Just added some comments about face material incides and the material list.

------------------------------------------------------------------------
r6243 | campbellbarton | 2005-12-29 11:33:00 +0100 (Thu, 29 Dec 2005) | 2 lines

Added some details to the Object documentation, some parts were a big vague..

------------------------------------------------------------------------
r6239 | ton | 2005-12-28 17:02:52 +0100 (Wed, 28 Dec 2005) | 2 lines

New icon image

------------------------------------------------------------------------
r6236 | h_xnan | 2005-12-27 21:37:15 +0100 (Tue, 27 Dec 2005) | 2 lines

- include path and file changes for FreeBSD

------------------------------------------------------------------------
r6235 | lonetech | 2005-12-27 16:28:09 +0100 (Tue, 27 Dec 2005) | 4 lines

Fix crash in EXPP_(int|obj)Error. These functions are redundant;
they only differ by return type, so it's easier to just call
PyErr_Format and return appropriately.

------------------------------------------------------------------------
r6234 | hos | 2005-12-26 22:43:35 +0100 (Mon, 26 Dec 2005) | 4 lines

Some compilers don't like it when you initialize the fields in a
struct using the values of variables during the declaration of
the struct.

------------------------------------------------------------------------
r6231 | intrr | 2005-12-23 23:16:33 +0100 (Fri, 23 Dec 2005) | 9 lines



Fixing a bit of horrible code in Armature.c (BonesDict_repr).
There is a lot of very dangerous (and slow) string manipulation code in
there. I do not want to appear arrogant, but a bit of basic code QA in this
module certainly can't hurt.

Please see the diff for further explanation ;-)

------------------------------------------------------------------------
r6227 | hos | 2005-12-22 06:58:30 +0100 (Thu, 22 Dec 2005) | 2 lines

Copy release/text/*.pdf into release tarball

------------------------------------------------------------------------
r6221 | khughes | 2005-12-21 19:12:28 +0100 (Wed, 21 Dec 2005) | 4 lines



Fix typo in epydocs for Mesh example

------------------------------------------------------------------------
r6219 | ton | 2005-12-21 18:24:13 +0100 (Wed, 21 Dec 2005) | 4 lines

Tinsy wee little commit!
In non-OSX environments, the render window opened too high, due to missing
offset. (Simon can get this in windows build still, DJ?)

------------------------------------------------------------------------
r6218 | sirdude | 2005-12-21 17:18:59 +0100 (Wed, 21 Dec 2005) | 13 lines


This fixes two things:
http://www.blender.org/forum/viewtopic.php?t=7646
and loading of old corrupt blendfiles.

Makes sure bhead.len is not < 0 (hacked blendfile)
also sets buffer to 0 when fails to read correctly (wasn't set so
was causing problems)

The second thing was provided by pidhash.

Kent

------------------------------------------------------------------------
r6216 | aphex | 2005-12-20 21:47:00 +0100 (Tue, 20 Dec 2005) | 6 lines

BlenderQuickStart6.pdf did not open properly for people when checking out CVS on Windows...

Harkyman showed a file on IRC which worked ok and also without the '6' appended.

I've committed this one now and removed the old pdf - sorry Ton! :)

------------------------------------------------------------------------
r6215 | ton | 2005-12-20 20:22:09 +0100 (Tue, 20 Dec 2005) | 3 lines

Quickstart guide for in releases
Credits go to Frederic van Essen!

------------------------------------------------------------------------
r6214 | sirdude | 2005-12-20 19:40:25 +0100 (Tue, 20 Dec 2005) | 16 lines



The blend file that was there was corrupt.
so I copied the one from:
http://download.blender.org/source/chest/blender_2.03_tree/datafiles/?C=S;O=A
and modified it so that it was similar to current splash.
It still needs a lot of work to get it to usable quality, at least its a
valid blend file.

Would be nice to have this fixed up so people were using blender to
create the splash screens instead of the gimp/photoshop... ;)

I'll work on it later when I have time if no one else picks it up.

Kent

------------------------------------------------------------------------
r6212 | ton | 2005-12-20 16:21:57 +0100 (Tue, 20 Dec 2005) | 5 lines

Release code (in Blender) to 2.40

And: first bugfix as found by doing regression files; bowl.blend did not
play realtime due to depsgraph omission.

------------------------------------------------------------------------
r6211 | broken | 2005-12-20 16:17:04 +0100 (Tue, 20 Dec 2005) | 2 lines

* Teeny tiny menu item correction

------------------------------------------------------------------------
r6210 | ton | 2005-12-20 16:00:13 +0100 (Tue, 20 Dec 2005) | 2 lines

Forgot to remove obsolete button "correct normal mapping"

------------------------------------------------------------------------
r6209 | ton | 2005-12-20 15:54:30 +0100 (Tue, 20 Dec 2005) | 2 lines

Small fix in alpha for icons image.

------------------------------------------------------------------------
r6208 | broken | 2005-12-20 15:50:51 +0100 (Tue, 20 Dec 2005) | 2 lines

* And the original splash.jpg image

------------------------------------------------------------------------
r6206 | ton | 2005-12-20 15:21:18 +0100 (Tue, 20 Dec 2005) | 2 lines

Part 2 of commits for release, the release target name/version

------------------------------------------------------------------------
r6205 | ton | 2005-12-20 15:20:04 +0100 (Tue, 20 Dec 2005) | 2 lines

Part 1 of release commits; the text file

------------------------------------------------------------------------
r6204 | broken | 2005-12-20 15:18:14 +0100 (Tue, 20 Dec 2005) | 2 lines

* Updated the splash with credit!

------------------------------------------------------------------------
r6203 | ton | 2005-12-20 15:04:41 +0100 (Tue, 20 Dec 2005) | 3 lines

Based on bugreport, fixed the confusing tooltip for Subdivide options
"Short" or "Beauty".

------------------------------------------------------------------------
r6202 | broken | 2005-12-20 14:35:16 +0100 (Tue, 20 Dec 2005) | 4 lines

* 2.40 splash screen! Congratulations and thanks to Robert Tiess for this image.

Note to builders: Ton has some more things to commit, so don't start the engines yet

------------------------------------------------------------------------
r6201 | broken | 2005-12-20 14:27:35 +0100 (Tue, 20 Dec 2005) | 2 lines

* uncommented some pre-2.40 file conversion code for cameras, for the release

------------------------------------------------------------------------
r6200 | erwin | 2005-12-20 10:13:06 +0100 (Tue, 20 Dec 2005) | 2 lines

Forgot to add 'ForgetReference' for game-python objects.

------------------------------------------------------------------------
r6199 | campbellbarton | 2005-12-20 07:50:13 +0100 (Tue, 20 Dec 2005) | 2 lines

Added missing mode rayShadow and updated docs, "NoSpecular" was also missing from the docs too.

------------------------------------------------------------------------
r6198 | campbellbarton | 2005-12-20 00:04:58 +0100 (Tue, 20 Dec 2005) | 8 lines

When adding a Mesh in python a file saved caused blender to segfault when reloading.
turns out that oops->id->lib isnt initialized? anyhow
if (oops->id && oops->id->lib) // works
where
if (oops->id->lib) // crashes

so made the needed change in a few places.

------------------------------------------------------------------------
r6197 | guitargeek | 2005-12-19 20:39:24 +0100 (Mon, 19 Dec 2005) | 4 lines

Bug #3522

Fix from Ken Hughes, just checking a few more faces looking for 'double faces' in removedoublesflag.

------------------------------------------------------------------------
r6196 | guitargeek | 2005-12-19 20:28:22 +0100 (Mon, 19 Dec 2005) | 4 lines

Bug #3633

Updating Some W key shortcuts in menus

------------------------------------------------------------------------
r6193 | ton | 2005-12-19 19:41:52 +0100 (Mon, 19 Dec 2005) | 3 lines

Sync of blenderbuttons for orange and bf-blender, including Joilnens new
'sort by extension' icon.

------------------------------------------------------------------------
r6192 | ton | 2005-12-19 19:29:05 +0100 (Mon, 19 Dec 2005) | 3 lines

Bug reported by Andy; pressing Vkey in action editor (vector handles)
crashed when there's a channel with no ipo.

------------------------------------------------------------------------
r6191 | ton | 2005-12-19 18:21:55 +0100 (Mon, 19 Dec 2005) | 4 lines

Inserted a sanity check in the boolean modifier (not the Wkey, but the
modifier buttons). Prevents crashing on input of meshes with less than 4
faces.

------------------------------------------------------------------------
r6190 | ianwill | 2005-12-19 18:21:55 +0100 (Mon, 19 Dec 2005) | 19 lines

Scripts:

Final (?) updates for 2.40 :) :

- Bob Holcomb sent a better version of his 3ds importer
- Added doc info to bvh2arm: links to doc and mocap tute from author
Jean-Baptiste Perin
- Alessandro Pirovano improved the Lightwave importer.
- Mikael Lagre updated the collada scripts (fixed a bug with camera
lens value)
- Adam Saltsman improved the wings importer (ongoing work with
his pal Toastie).
- Anthony D'Agostino GPL'd his scripts (used Blender's BAL
license previously)

Thanks to all script authors for their work, interest and kindness.
Again, Tom (LetterRip) has played an important part in this, thanks and
welcome :).

------------------------------------------------------------------------
r6189 | ton | 2005-12-19 17:56:28 +0100 (Mon, 19 Dec 2005) | 5 lines

#3631

Manipulator now centers on middle point of Bezier handle, when 2 or more
points in handle are selected.

------------------------------------------------------------------------
r6188 | ton | 2005-12-19 17:45:11 +0100 (Mon, 19 Dec 2005) | 5 lines

#3628

Even while it's not supported, proportional mode was drawing a circle when
in EditMode armature.

------------------------------------------------------------------------
r6187 | theeth | 2005-12-19 17:32:18 +0100 (Mon, 19 Dec 2005) | 3 lines

Move bug fix hack so it acts only when it needs too.
It was showing "global axis" even when using MMB to access user defined orientation (with Ctrl).

------------------------------------------------------------------------
r6185 | ton | 2005-12-19 16:55:26 +0100 (Mon, 19 Dec 2005) | 6 lines

#3635

Vpaint/weight/texture/UV modes were disabling zbuffer draw after drawing
the active object, causing objects to be drawn after (only selected ones)
to have no zbuffer on.

------------------------------------------------------------------------
r6184 | ton | 2005-12-19 15:00:32 +0100 (Mon, 19 Dec 2005) | 12 lines

Bugfix #3608

More bump issues... Env made very nice examples, but all of it quite nasty
to solve.
Three improvements I found nevertheless:

- bug in mipmap code for bump gave errors in one derivate, causing aliasing
- when Image texture option "Clip" was used, the imagetexture function
  returned wrong value, causing the caller to create own normal based on
  color (zero!).
- Mipmapped bump now also interpolates the samples (never did this...)

------------------------------------------------------------------------
r6182 | ton | 2005-12-19 12:55:31 +0100 (Mon, 19 Dec 2005) | 6 lines

#3605

Shift+ctrl+A "Apply deformation" didn't work anymore, since we got the
Modifier stack. I've inserted a notice there for now, to point users to
the proper buttons.

------------------------------------------------------------------------
r6181 | ton | 2005-12-19 12:30:52 +0100 (Mon, 19 Dec 2005) | 6 lines

#3598

Uninitialized 'alpha' flag in Image texture could cause render errors.
Didn't show in OSX though... (stupid system here inits stack to zero).
But, Ken Hughes found this, so all credits are for him!

------------------------------------------------------------------------
r6179 | ton | 2005-12-19 12:01:44 +0100 (Mon, 19 Dec 2005) | 5 lines

#3593

The user settings "auto rotate grid" or "auto scale grid" were never
implemented for new transform, apparently.

------------------------------------------------------------------------
r6178 | ton | 2005-12-19 11:49:37 +0100 (Mon, 19 Dec 2005) | 7 lines

#3581

Using the MMB constraint chooser in Transform, accidentally printed the
setting from the orientation menu (Local, View, Normal).
Martin: not sure if this a solid fix... the print now looks fine, but the
code isn't nicer this way. :) (just a one liner change though!).

------------------------------------------------------------------------
r6177 | ton | 2005-12-19 11:31:32 +0100 (Mon, 19 Dec 2005) | 5 lines

#3592

Normal rendering; adding gamma corrected halo could cause NaN's because
of a negative sqrt().

------------------------------------------------------------------------
r6174 | campbellbarton | 2005-12-18 22:41:50 +0100 (Sun, 18 Dec 2005) | 5 lines

Updated for new Mathutils (should be faster)
uses Mesh rather then NMesh
uses expernal box packer
uv coords are not stretched anynore.

------------------------------------------------------------------------
r6173 | campbellbarton | 2005-12-18 22:35:31 +0100 (Sun, 18 Dec 2005) | 7 lines


Seperated out archimaps generic 2d boxpacking function.
For anyone who is interested in boxpacking the logic isnt
that complex and lscm could benifit from using it.

Archimap will use this rather then having the boxpacker inline.

------------------------------------------------------------------------
r6169 | guitargeek | 2005-12-18 21:50:32 +0100 (Sun, 18 Dec 2005) | 2 lines

Tri-Triple Subdivide filling was messed up. This should straigten it out when cuts > 2

------------------------------------------------------------------------
r6168 | pidhash | 2005-12-18 21:45:03 +0100 (Sun, 18 Dec 2005) | 3 lines

added ICON_SORTBYEXT for sort by ext feature
.

------------------------------------------------------------------------
r6166 | pidhash | 2005-12-18 21:24:19 +0100 (Sun, 18 Dec 2005) | 3 lines

added new ICON_SORTBYEXT
.

------------------------------------------------------------------------
r6165 | pidhash | 2005-12-18 21:23:30 +0100 (Sun, 18 Dec 2005) | 3 lines

added icon of sort by extension
.

------------------------------------------------------------------------
r6164 | pidhash | 2005-12-18 21:21:57 +0100 (Sun, 18 Dec 2005) | 4 lines

Changed that sortby extension icon for new made by P-Luc_Alclair
agreed by broken, stivs, antont, Unamed and me thanks
.

------------------------------------------------------------------------
r6162 | lukep | 2005-12-18 20:10:26 +0100 (Sun, 18 Dec 2005) | 4 lines

applying Volker Mische engine patch

correct bug #3594

------------------------------------------------------------------------
r6161 | broken | 2005-12-18 19:05:14 +0100 (Sun, 18 Dec 2005) | 2 lines

* Updates for missing menu items

------------------------------------------------------------------------
r6160 | n_t | 2005-12-18 17:49:50 +0100 (Sun, 18 Dec 2005) | 4 lines

- yet another minor fluidsim fix - when using a start frame != 1
  the scene is now exported at that time, still
  numbering and reading the files from zero to noFrames

------------------------------------------------------------------------
r6159 | n_t | 2005-12-18 16:55:11 +0100 (Sun, 18 Dec 2005) | 4 lines

- another small fix thats prevent a cryptic error message
  if the fluid is baked without proper frame start & end
  settings

------------------------------------------------------------------------
r6156 | ton | 2005-12-18 14:27:47 +0100 (Sun, 18 Dec 2005) | 2 lines

The png image for icons itself.

------------------------------------------------------------------------
r6155 | ton | 2005-12-18 14:27:11 +0100 (Sun, 18 Dec 2005) | 6 lines

Added Verse and Node-editor icons in blenderbuttons.c
(Both needed for later)

Found bug in interface.c for translation of Panel header, using && instead
of a logical &.

------------------------------------------------------------------------
r6154 | n_t | 2005-12-18 14:15:53 +0100 (Sun, 18 Dec 2005) | 2 lines

- added render.h header include for RE_make_existing_file

------------------------------------------------------------------------
r6153 | n_t | 2005-12-18 13:19:36 +0100 (Sun, 18 Dec 2005) | 4 lines

- moved the check whether the current object is a mesh
  up front (as in the particle panel display), this
	prevents any other object type to get fluidsim attributes

------------------------------------------------------------------------
r6152 | campbellbarton | 2005-12-18 09:47:55 +0100 (Sun, 18 Dec 2005) | 2 lines

fixed returning true/false, thanks Willian. as well as removed the image space spesific image changed call.

------------------------------------------------------------------------
r6151 | campbellbarton | 2005-12-18 08:45:45 +0100 (Sun, 18 Dec 2005) | 6 lines


Added get/set/attr for area lamp settings - needed to exporting arealamps to povray.
areaSizeX, areaSizeY
raySamplesX, raySamplesY
epydocs updated also,

------------------------------------------------------------------------
r6150 | ianwill | 2005-12-18 02:29:15 +0100 (Sun, 18 Dec 2005) | 11 lines

Scripts:

- A Vanpoucke (xand) updated Axis Orientation Copy.

- Additions:
  - Campbell Barton contributed the Archimap UV Unwrapper.
  - Mikael Lagre contributed Collada importer and exporter (ongoing
work, no support for animation yet).

Thanks to them!

------------------------------------------------------------------------
r6148 | ton | 2005-12-17 21:22:36 +0100 (Sat, 17 Dec 2005) | 5 lines

Ack! Error in the renaming code for outliner, it skipped doing the
handling callbacks that checked for double names... this was caused by
a bugfix I did a week ago for ESC on rename button in outliner.
Discovered in time by Andy, thanks!

------------------------------------------------------------------------
r6144 | jesterking | 2005-12-17 15:27:33 +0100 (Sat, 17 Dec 2005) | 4 lines

* ctrl-alt-numpad0 didn't correctly update 3dview when the camera had anything parented to it.

Fix for #3596 (http://projects.blender.org/tracker/index.php?func=detail&aid=3596&group_id=9&atid=125)

------------------------------------------------------------------------
r6142 | ton | 2005-12-17 14:06:22 +0100 (Sat, 17 Dec 2005) | 3 lines

Environment mapping "Reload" button didn't work. Required more stuff to
reset.

------------------------------------------------------------------------
r6139 | khughes | 2005-12-17 05:57:48 +0100 (Sat, 17 Dec 2005) | 7 lines



-- Bugfix #3617; addBezier() was not initializing all the attributes for
   a the beztriple, so things like the hidden and handle select states were
   set to random values.  Added a beztriple.hide attribute so that the
   hide attribute can be set/cleared from the BPy API.

------------------------------------------------------------------------
r6138 | campbellbarton | 2005-12-16 23:40:20 +0100 (Fri, 16 Dec 2005) | 2 lines

typo, thanks letterrip.

------------------------------------------------------------------------
r6137 | jesterking | 2005-12-16 21:58:16 +0100 (Fri, 16 Dec 2005) | 7 lines

For sconstruct build blender linked against the winspool library. This seemed unnecessary, and test showed Blender running
fine without it. This probably solves #3503 too, so ZoneAlarm users, do test!

The same change should be done for the project files.

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

------------------------------------------------------------------------
r6135 | campbellbarton | 2005-12-16 14:50:45 +0100 (Fri, 16 Dec 2005) | 3 lines


Oops, left the script menu in there. problems.

------------------------------------------------------------------------
r6133 | campbellbarton | 2005-12-16 00:18:48 +0100 (Fri, 16 Dec 2005) | 2 lines

BVH Export updated for 2.4x, also small updates in many areas.

------------------------------------------------------------------------
r6132 | khughes | 2005-12-15 22:54:00 +0100 (Thu, 15 Dec 2005) | 6 lines



-- Added BPy support for new Material modes.  Recent additions of new mode
   bits broke input-checking in the API, so added a bitmask #define in
   DNA_material_types.h which contains all valid mode bits.

------------------------------------------------------------------------
r6130 | khughes | 2005-12-15 21:55:52 +0100 (Thu, 15 Dec 2005) | 4 lines



-- Fix misspelling in Material's TraShad tooltip.

------------------------------------------------------------------------
r6129 | ianwill | 2005-12-15 21:12:00 +0100 (Thu, 15 Dec 2005) | 10 lines

Scripts:

- Mirror bone weights contributed by Thomas Oppl.
- Softimage XSI exporter contributed by Elira (with updates by Mal
Duffin).

Again, thanks to the authors mentioned. And to Tom (LetterRip) for
contacting the authors and making suggestions about scripts we should
include.

------------------------------------------------------------------------
r6128 | khughes | 2005-12-15 20:12:31 +0100 (Thu, 15 Dec 2005) | 4 lines



-- removed redundant initialization for Mesh_Type (thanks LetterRip)

------------------------------------------------------------------------
r6126 | ton | 2005-12-15 19:37:47 +0100 (Thu, 15 Dec 2005) | 9 lines

Disabled reading Groups from bf-blender. There was old rudimentary code
for Groups in official release still, which will give very bad results when
loading an Orange branch file with bf-blender, save over, and read back
in Orange branch.

Now, reading files with Groups in bf-blender will just completely ignore
them (not read nor save). That's destructive, but normal behaviour and
stable.

------------------------------------------------------------------------
r6125 | ianwill | 2005-12-15 19:12:49 +0100 (Thu, 15 Dec 2005) | 10 lines

Scripts:

- Jean-Baptiste Perin updated his bvh to armatures script to use the new
armature module.
- Johnny Matthews (guitargeek) contributed "Shape Widget Wizard". (Moved
it to the Animation menu in Scripts win)
- Benoit Foucque (dienben) contributed "Blender Lip Synchro".

Thanks to the three authors!

------------------------------------------------------------------------
r6124 | campbellbarton | 2005-12-15 03:50:08 +0100 (Thu, 15 Dec 2005) | 3 lines

Made Ctrl+RMB on an image in the oops view, activates images in the UV/Image window.
Faster way to flick through images.

------------------------------------------------------------------------
r6123 | campbellbarton | 2005-12-15 03:06:37 +0100 (Thu, 15 Dec 2005) | 3 lines

Fixed some warnings from GetCurrent, remaining warnings seem to have no obvious solution
attr = Py_True; // Image.c:1107: warning: dereferencing type-punned pointer will break strict-aliasing rules

------------------------------------------------------------------------
r6122 | ianwill | 2005-12-15 02:42:45 +0100 (Thu, 15 Dec 2005) | 16 lines


Scripts:
- added import and export scripts for 3ds and md2 (Quake 2) models
contributed by author Bob Holcomb. Thanks!
- updated ac3d importer to be more forgiving and exporter to get rid of
deprecated call.

More additions and possibly fixes to come.

Note: we're forming a group to take care of importers and exporters and
improve the situation as a whole in Blender. Discussions should happen
at the bf-scripts-dev mailing list:
http://projects.blender.org/mailman/listinfo/bf-scripts-dev

Thanks Tom Musgrove (LetterRip) for helping a lot with scripts.

------------------------------------------------------------------------
r6119 | ton | 2005-12-14 21:36:04 +0100 (Wed, 14 Dec 2005) | 11 lines

Three fixes;

- On file reading, a check is added to see if a Pose has channels to
  missing bones. Poses are supposed to match an Armature completely.
  (Thanks for crash file, Johnny!... but how did you do it!)

- Own collection: added depsgraph update on setting all layers (with the
  ACCENTGRAVEKEY). This also could potentially crash with modifiers

- Renamed Xkey menu in NLA to more properly tell what it does. :)

------------------------------------------------------------------------
r6117 | ianwill | 2005-12-14 19:01:42 +0100 (Wed, 14 Dec 2005) | 5 lines

BPython:
- malformed nmeshes could crash Blender with a sigsegv. Related to old
behavior that accepted "faces" with one or two verts.
- removing unused var (store_edges) + doc update.

------------------------------------------------------------------------
r6112 | ton | 2005-12-14 15:10:04 +0100 (Wed, 14 Dec 2005) | 4 lines

Commit with fix for ActionStrip "Hold" missed two crucial features;
- if repeat is set on exact integer values, it jumped to first position
- code was missing the action start offset

------------------------------------------------------------------------
r6108 | campbellbarton | 2005-12-14 04:27:35 +0100 (Wed, 14 Dec 2005) | 10 lines


Added
Image.New(name, w,h,depth)
Image.start- for animtex
Image.end - for animtex
Image.speed - for animtex
Image.packed - read only bool

See the pydocs for details.

------------------------------------------------------------------------
r6106 | ton | 2005-12-13 21:16:10 +0100 (Tue, 13 Dec 2005) | 4 lines

Orange reported fix: Stride bone offset was blending with any strip, even
when strips had no stride set... causing using multiple strips not to work
for stride.

------------------------------------------------------------------------
r6103 | khughes | 2005-12-13 19:39:50 +0100 (Tue, 13 Dec 2005) | 10 lines



-- More of Bugfix #3580: Mesh_getFromObject() was not updating key->from
   when it duplicated mesh data.

   I'm not thrilled with how I implemented this code, but currently don't
   know a better way.  If someone more familiar with how blender duplicates
   objects and converts things to meshes wants to have a look, it would be
   appreciated.

------------------------------------------------------------------------
r6102 | larstiq | 2005-12-13 17:55:39 +0100 (Tue, 13 Dec 2005) | 2 lines

Add initial Serbian Cyrillic translation (patch #2888)

------------------------------------------------------------------------
r6101 | khughes | 2005-12-13 16:36:32 +0100 (Tue, 13 Dec 2005) | 5 lines



-- Calling mesh.verts.extend() on a mesh with vertex groups was not updating
   mesh->dvert, eventuallu causing a crash.

------------------------------------------------------------------------
r6100 | ton | 2005-12-13 16:07:21 +0100 (Tue, 13 Dec 2005) | 12 lines

Bugfix #3580

Apparently python allows to create Key blocks without proper *from pointer
back to the owner of the Key. The Key unfortunately wasn't mean to be a
dynamic block linkable to any Mesh...

This patch sets the from pointer on any call to do_mesh_key, which is safe
to do anyway. I made a note to get rid of that convention once, but at
least now we got non-crashing blenders. :)

(In bugreport noted that we need to check Python code for it too!)

------------------------------------------------------------------------
r6099 | ascotan | 2005-12-13 15:29:56 +0100 (Tue, 13 Dec 2005) | 2 lines

*warnings fixes

------------------------------------------------------------------------
r6098 | ton | 2005-12-13 15:28:34 +0100 (Tue, 13 Dec 2005) | 6 lines

Bugfix #3590

Adding Ipos to Sound strips in Sequencer didn't work anymore. Adding a new
curve with CTRL+click also wasn't smart enough to detect that only one
channel existed there... fixed that too.

------------------------------------------------------------------------
r6097 | ton | 2005-12-13 14:38:14 +0100 (Tue, 13 Dec 2005) | 5 lines

Bugfix #3579

Saving envmap, with a filter set (like gauss) and with a percentage set
(like 50%), saved envmaps with empty pixels inbetween the sub images.

------------------------------------------------------------------------
r6096 | ton | 2005-12-13 14:17:29 +0100 (Tue, 13 Dec 2005) | 7 lines

Bugfix #3552

Another ancient bug in unified render... the lamphalo wasn't filled in
correctly over sky, especially when the background had halos (or stars).

Only shows when using filters other than box though.

------------------------------------------------------------------------
r6095 | ton | 2005-12-13 13:41:17 +0100 (Tue, 13 Dec 2005) | 9 lines

With the introduction of fixed edge arrays in Mesh, the options to render
wire frame became very limited... the information of faces (vertex colors
and UV reside there) got lost.
Solved it nicely with creating a large index table, and use bsearch() to
get quickly the matching information.

Then I noticed the render code needed fixes too for wire, no proper UV's
were calculated over the wire edge.

------------------------------------------------------------------------
r6094 | ton | 2005-12-13 09:44:07 +0100 (Tue, 13 Dec 2005) | 6 lines

bugfix #3585

The tool "Single User" -> "Object data" missed a tag to recalculate the
geometry. This caused meshes to disappear after entering editmode on the
former linked mesh.

------------------------------------------------------------------------
r6093 | campbellbarton | 2005-12-13 01:27:10 +0100 (Tue, 13 Dec 2005) | 4 lines

From kh_pylon:
  You have to put Py_RETURN_NONE; inside { }; it's a two-line macro
Aparently breaks MacOS.

------------------------------------------------------------------------
r6092 | campbellbarton | 2005-12-13 01:00:11 +0100 (Tue, 13 Dec 2005) | 17 lines


Added Image.GetCurrent()
Previously the only way to get the current image was flaky and relyd on the image being assigned to a mesh.

try:
  me = Scene.GetCurrent().getAttiveObject().getData(mesh=1)
  image = me.faces[me.activeFace].image
except:
  image = None

...Can new be replaced by the following, and works even when there is no mesh.
image = Image.GetCurrent()

epydocs:
  Get the currently displayed Image from Blenders UV/Image window.
  When multiple images are displayed, the last active UV/Image windows image is used.

------------------------------------------------------------------------
r6091 | khughes | 2005-12-13 00:03:32 +0100 (Tue, 13 Dec 2005) | 6 lines



-- Bugfix #3566: Entering very large numbers for scaling/rotation/translation
   cause a write past end of string buffers in outputNumInput().  Patched to
   make large numbers (+-1.0e+10) display in scientific notation format.

------------------------------------------------------------------------
r6090 | ton | 2005-12-12 23:27:30 +0100 (Mon, 12 Dec 2005) | 5 lines

Bugfix #3583

Auto-IK confused a routine that checked for IK on bones... causing
drawing errors in buttons and 3d window.

------------------------------------------------------------------------
r6089 | ton | 2005-12-12 23:04:34 +0100 (Mon, 12 Dec 2005) | 4 lines

Bugfix #3565

Enabling FluidSim on non-mesh object crashed... it uses DerivedMesh. :)

------------------------------------------------------------------------
r6088 | ton | 2005-12-12 22:56:32 +0100 (Mon, 12 Dec 2005) | 6 lines

Bug #3562

Strips with a repeat fraction (like 3.51) should also "hold" on the
fraction of .51 when indicated so.
Patch provided by Roland Hess, but cleaned up (exisiting) mess a bit too.

------------------------------------------------------------------------
r6087 | ton | 2005-12-12 22:16:24 +0100 (Mon, 12 Dec 2005) | 8 lines

Bugfix #3556

Unified render didn't treat the alpha for raytraced transparent correct...
unified is based on layering with alpha, so it cannot support alpha in
raytraced transparent correctly.

I'm going to kill unified one day... its giving me headaches. :)

------------------------------------------------------------------------
r6086 | ascotan | 2005-12-12 21:12:50 +0100 (Mon, 12 Dec 2005) | 2 lines

*Armature api documentation

------------------------------------------------------------------------
r6085 | ton | 2005-12-12 20:06:34 +0100 (Mon, 12 Dec 2005) | 5 lines

Bugfix #3544

First two vertices of a hair strand were not transformed OK, causing weird
results with especially thicker hair, or very short ones.

------------------------------------------------------------------------
r6084 | ascotan | 2005-12-12 19:46:26 +0100 (Mon, 12 Dec 2005) | 8 lines

- Armature/Bone API for python
* this resolves a number of outstanding issues with the armature api and gets this ready for release
- add/remove bones possible
- rolls work correctly now!
- ik'ing to parent should work
- flags for tip/root/bone selection
- etc.

------------------------------------------------------------------------
r6083 | stiv | 2005-12-12 19:35:15 +0100 (Mon, 12 Dec 2005) | 4 lines

bugfix:  #3420 Indent/Unindent in text editor not undoable

contributed by Mr. TextEditor - themyers.  Thanks!

------------------------------------------------------------------------
r6081 | pidhash | 2005-12-12 12:57:58 +0100 (Mon, 12 Dec 2005) | 3 lines

Rewrote TimeLine_getFramesMarked func with better coding
.

------------------------------------------------------------------------
r6079 | intrr | 2005-12-12 04:02:29 +0100 (Mon, 12 Dec 2005) | 5 lines



Fix confusing (too early) waitcursor when selecting rand fac for fractal
subdivide.

------------------------------------------------------------------------
r6076 | ton | 2005-12-11 23:03:04 +0100 (Sun, 11 Dec 2005) | 5 lines

Fix: reading library files with option "Relative Paths" set, whilst library
was read already AND relative, caused the path for libraries to corrupt...

Error caused big headaches in studio Orange... :)

------------------------------------------------------------------------
r6071 | campbellbarton | 2005-12-11 05:20:37 +0100 (Sun, 11 Dec 2005) | 3 lines


Added some details in the Mathutils documentation.

------------------------------------------------------------------------
r6070 | khughes | 2005-12-10 20:36:05 +0100 (Sat, 10 Dec 2005) | 6 lines



-- Bugfix #3573: Deleting a scriptlink when some other scriptlinks were no
   longer linked to a script would cause a crash.  We now delete all
   scriptlinks which are not linked.

------------------------------------------------------------------------
r6069 | khughes | 2005-12-10 00:19:00 +0100 (Sat, 10 Dec 2005) | 5 lines



-- Bugfix #3564: Texture.getImage() always returned None for Env maps, even if
   an image was assigned.

------------------------------------------------------------------------
r6068 | ton | 2005-12-09 18:22:50 +0100 (Fri, 09 Dec 2005) | 4 lines

Bugfix #3526

Division with zero caused wrong pixels to be rendered with Ortho camera.

------------------------------------------------------------------------
r6066 | pidhash | 2005-12-09 16:00:54 +0100 (Fri, 09 Dec 2005) | 3 lines

change return of getMarked method for dict {framnum:['nameframe']}
.

------------------------------------------------------------------------
r6065 | guitargeek | 2005-12-09 15:49:41 +0100 (Fri, 09 Dec 2005) | 6 lines

bugfix #3550

Fixing Loopcut smooth to actually cut smooth

I think this will go to HEAD now...

------------------------------------------------------------------------
r6064 | khughes | 2005-12-09 15:30:51 +0100 (Fri, 09 Dec 2005) | 5 lines



-- Bugfix #3520: Text with extrusion and/or bevelling would would disappear
   when edit mode was entered.

------------------------------------------------------------------------
r6063 | khughes | 2005-12-09 14:57:27 +0100 (Fri, 09 Dec 2005) | 6 lines



-- Bugfix #3545: Toggling the "apply modifier to editing cage during
   Editmode" flag in one modifier cleared the flag for all other modifiers.
   It now only allows toggling of the last modifier in the stack.

------------------------------------------------------------------------
r6055 | khughes | 2005-12-07 22:12:33 +0100 (Wed, 07 Dec 2005) | 5 lines



Made Mesh verts/edges/faces hashable (as they were in NMesh); this will
make it easier for some scripts to be converted.

------------------------------------------------------------------------
r6053 | ton | 2005-12-07 20:59:26 +0100 (Wed, 07 Dec 2005) | 3 lines

Bugfix from own collection: Rename option in Outliner didn't handle an ESC
correctly. Button wasn't closed then.

------------------------------------------------------------------------
r6045 | khughes | 2005-12-07 06:44:29 +0100 (Wed, 07 Dec 2005) | 8 lines



-- Bugfix #3551: fix memory corruption problem if Text3d.setText() called
   while selected text is in edit mode.

(Future note: now that there is Unicode support in Blender, we need to add
support for it in the BPy Text3d API.)

------------------------------------------------------------------------
r6044 | khughes | 2005-12-07 06:41:58 +0100 (Wed, 07 Dec 2005) | 5 lines



Fix memory leak; if Blender quits while in text edit mode, free textbuf
inside of free_editText().

------------------------------------------------------------------------
r6043 | sirdude | 2005-12-06 19:52:55 +0100 (Tue, 06 Dec 2005) | 9 lines


Fix for bug #3529

Provided by Jorge Bernal (lordloki)

Function was returning a wrong value in a switch statement.

Kent

------------------------------------------------------------------------
r6042 | khughes | 2005-12-06 18:08:09 +0100 (Tue, 06 Dec 2005) | 5 lines



-- Bugfix #3548: material.setMode() was doing incorrect range check on
   inputs, returned error setting RAYMIRROR or RAYTRANSP modes.

------------------------------------------------------------------------
r6035 | khughes | 2005-12-06 07:16:10 +0100 (Tue, 06 Dec 2005) | 4 lines



More corrections and additions to Ipo and IpoCurve documentation.

------------------------------------------------------------------------
r6034 | khughes | 2005-12-06 06:42:23 +0100 (Tue, 06 Dec 2005) | 4 lines



Added some extra parameter checking in Ipo driver code.

------------------------------------------------------------------------
r6033 | campbellbarton | 2005-12-06 05:30:23 +0100 (Tue, 06 Dec 2005) | 3 lines


Added GPL licence header. possibly some other new stuff, not sure how old the CVS console script was.

------------------------------------------------------------------------
r6032 | campbellbarton | 2005-12-06 04:53:35 +0100 (Tue, 06 Dec 2005) | 13 lines


Updated bvh importer. tested on over 100 bvh files.

* Modified to use Mathutils for matrix math,
* Fixed possible joint naming bug,
* Imports BVH's with bad EOF gracefully
* Fixed duplicate joint names, make them unique
* Use \r as well as \n for newlines
* Added suppot for nodes with 0 motion channels
* Rotation IPOs never cross more then 180d
   fixes sub frame tweening and time scaling
* 5x overall speedup.

------------------------------------------------------------------------
r6031 | khughes | 2005-12-06 01:02:55 +0100 (Tue, 06 Dec 2005) | 6 lines



-- Bugfix 3543: call to test_index_face() in decimateModifier_applyModifier()
   was passing pointer to the wrong face, which led to eekadoodle later in
   EditMode.

------------------------------------------------------------------------
r6030 | sirdude | 2005-12-05 22:32:55 +0100 (Mon, 05 Dec 2005) | 8 lines



Modified the logic under linux.
My 64bit box fell through and didn't do anything
because it didn't match a CPU type, so changed the logic so there is a default.

Kent

------------------------------------------------------------------------
r6029 | khughes | 2005-12-05 20:57:23 +0100 (Mon, 05 Dec 2005) | 5 lines



-- Bugfix #3072: As discussed on IRC, matrix.invert() should throw a
   ValueError exception if matrix is singular.

------------------------------------------------------------------------
r6028 | khughes | 2005-12-05 20:02:30 +0100 (Mon, 05 Dec 2005) | 6 lines



-- Bugfix 3453: coercion operations were doing an extra incref on coerced
   objects.  Also found extra increfs on some newly-created quat and matrix
   objects, from calls to Matrix_Identity() and Quaternion_Identity().

------------------------------------------------------------------------
r6025 | ton | 2005-12-05 14:44:22 +0100 (Mon, 05 Dec 2005) | 6 lines

Bugfix #3514

Once an Object Ipo position was inserted, the object couldn't be moved when
a particle system was tied to it. Needed code to copy object settings,
before the particle animation was done.

------------------------------------------------------------------------
r6024 | ton | 2005-12-05 14:22:16 +0100 (Mon, 05 Dec 2005) | 8 lines

Bugfix #3512

Duplicated objects, that have modifiers, didn't render (or not correct).
Bug reported case with softbody being duplicated.

The duplicator system is ancient... integration with new derivedmesh or
modifiers has not been really done yet.

------------------------------------------------------------------------
r6023 | ton | 2005-12-05 12:52:30 +0100 (Mon, 05 Dec 2005) | 2 lines

Hrms... setting the undosteps to zero then should also work! :)

------------------------------------------------------------------------
r6022 | ton | 2005-12-05 12:46:40 +0100 (Mon, 05 Dec 2005) | 5 lines

Bugfix #3507

Global Undo didn't use the 'undo steps' value in the user presets yet...
even whilst button mentioned 'editmode undo' there, an easy fix to add.

------------------------------------------------------------------------
r6021 | khughes | 2005-12-05 06:23:35 +0100 (Mon, 05 Dec 2005) | 4 lines



Fix unchecked parameter in M_Ipo_Recalc, and some documentation fixes.

------------------------------------------------------------------------
r6020 | khughes | 2005-12-05 02:07:24 +0100 (Mon, 05 Dec 2005) | 4 lines



-- remove unused variable "dict" which was giving compiler warnings.

------------------------------------------------------------------------
r6019 | bjornmose | 2005-12-04 23:44:19 +0100 (Sun, 04 Dec 2005) | 5 lines

fix for exotic msvc6 projects building
so i think i can do, though we're BCON-4 ( official builds are VC7 anyway )

building elbeem debug lib with proper threading model

------------------------------------------------------------------------
r6017 | khughes | 2005-12-04 21:39:56 +0100 (Sun, 04 Dec 2005) | 4 lines



-- Fix segfault when callign Blender.Armature.Get() with no parameters

------------------------------------------------------------------------
r6013 | ton | 2005-12-04 18:18:58 +0100 (Sun, 04 Dec 2005) | 7 lines

Bf-blender commit! :)

Forgot to put back window/screen-size clipping when opening render window.
Note for windows coders; check this diff, here's where you might need to
add an ifdef too for windows, to get the window opening correct for the
top of the screen (probably because of windows bottom toolbar?)

------------------------------------------------------------------------
r6008 | n_t | 2005-12-03 18:45:35 +0100 (Sat, 03 Dec 2005) | 9 lines

- fixed output behaviour (now behaves just like render output,
  thus directories in the path are created using RE_make_existing_file
  in fluidsim.c)
- changed default output to be '//fluidsimdata/...'
- hopefully fixed bugs #3466 and #3470 (orco texture coords caused
  problems when the fluidsim mesh was bigger than the original one,
  one no other deformations were used - new deformedVerts are now
  allocated in this case in DerivedMesh.c)

------------------------------------------------------------------------
r6005 | desoto | 2005-12-03 01:52:51 +0100 (Sat, 03 Dec 2005) | 3 lines

Just one more useful commit from Desoto: added a newline to the end
of the file. Hold the applause please.

------------------------------------------------------------------------
r6004 | sirdude | 2005-12-02 22:46:52 +0100 (Fri, 02 Dec 2005) | 15 lines


fix for #3498

(Swap colors on bigendian machines)

I also made it so that the env variable is tried ahead of all
of the other looking.  (That way you can override a system default
if its broken without having to upgrade)

This also makes it so we can remove the OSX ifdef.  So I did.
lukep: If you still want it add it back in but my gut says the less ifdefs
we have the better ;)

Kent

------------------------------------------------------------------------
r6003 | khughes | 2005-12-02 22:25:30 +0100 (Fri, 02 Dec 2005) | 4 lines



Small changes to API docs on curves and space handlers explanations.

------------------------------------------------------------------------
r6002 | sirdude | 2005-12-02 22:13:14 +0100 (Fri, 02 Dec 2005) | 14 lines


This commit does very little for the number of files touched.
I updated gen_dynlibtiff.py so its in sync with the file(s) it creates.
I added a little more documentation to the readme.txt for adding
new file formats.

I also added two dummy functions to the tiff.c so it stopped whining
about them being NULL.

(I'm still working on the reported bugs but thought this was a good time
to at least get this in)

Kent

------------------------------------------------------------------------
r6001 | khughes | 2005-12-02 19:00:38 +0100 (Fri, 02 Dec 2005) | 4 lines



-- Bugfix #3524: theEditMesh structure was not being initialized correctly.

------------------------------------------------------------------------
r5996 | guitargeek | 2005-12-01 17:36:30 +0100 (Thu, 01 Dec 2005) | 4 lines

Bugfix #3510

Adding a couple of countall() to update header after using the Vertgroup and Material Group "select" and "deselect" buttons

------------------------------------------------------------------------
r5995 | n_t | 2005-12-01 17:10:38 +0100 (Thu, 01 Dec 2005) | 2 lines

- last bugfix caused problems when using the makefile, this should work as well now

------------------------------------------------------------------------
r5994 | ton | 2005-12-01 17:00:39 +0100 (Thu, 01 Dec 2005) | 2 lines

Wee li'll commit in tooltip for "W" button softbodies.

------------------------------------------------------------------------
r5993 | n_t | 2005-12-01 16:44:08 +0100 (Thu, 01 Dec 2005) | 2 lines

- this should fix bug #3468 (scons problem with fluidsim off)

------------------------------------------------------------------------
r5990 | khughes | 2005-12-01 06:30:15 +0100 (Thu, 01 Dec 2005) | 5 lines



-- Bugfix #3139: Blender.Library.Open() was changing current .blend
   filename.  We now save and restore file before opening library.

------------------------------------------------------------------------
r5989 | khughes | 2005-12-01 05:50:04 +0100 (Thu, 01 Dec 2005) | 5 lines



Make curnurb.flagU and curnurb.flagV range check their inputs, plus make
the documentation correctly describe how the attributes and methods work.

------------------------------------------------------------------------
r5987 | ton | 2005-11-30 21:22:27 +0100 (Wed, 30 Nov 2005) | 4 lines

Orange bugreport; disabling (with small icon button) a deforming modifier
for EditMode, the CrazySpace correction still worked. Made it check for
the modifier mode flag.

------------------------------------------------------------------------
r5986 | khughes | 2005-11-30 21:18:54 +0100 (Wed, 30 Nov 2005) | 5 lines



-- previous commit was decrefing a borrowed reference; thanks Ascotan for
   tracking this down!

------------------------------------------------------------------------
r5985 | ton | 2005-11-30 19:58:10 +0100 (Wed, 30 Nov 2005) | 6 lines

Bugfix - own repertoire :)

- Curves without bevel or extrude didn't calculate the Z value for
  softbody when the "3d" option for curves was off.
- Typo in softbody.c, for switch of // comments to /* */

------------------------------------------------------------------------
r5984 | mfreixas | 2005-11-30 18:38:41 +0100 (Wed, 30 Nov 2005) | 3 lines

Boolean op error handling has been added. When a no closed mesh is used the follow message is showed:
"Both meshes must be a closed mesh"

------------------------------------------------------------------------
r5983 | mfreixas | 2005-11-30 18:35:54 +0100 (Wed, 30 Nov 2005) | 3 lines

Boolean op are undeffined when one of the two meshes are a no closed mesh (without holes).
I put a test to check the input meshes before do any thing. If one mesh have holes a error code is returned.

------------------------------------------------------------------------
r5980 | khughes | 2005-11-30 09:18:06 +0100 (Wed, 30 Nov 2005) | 18 lines



-- Bugfix #3186: Fix memory leaks caused by multiple calls to
   PyDict_SetItemString() with objects that were not properly decrefed
   afterwards.  Due to the number of places this was used, I added a
   wrapper EXPP_dict_set_item_str() to gen_utils.c to handle it.

   This started as a scriptlink bug, due to how many times scripts were
   being executed I think it just magnified how bad the memory leak in
   BPy was.  Animating the blend attached with this bug report would cause
   memory to grow by about 3MB for every 280 frames.  After the patch,
   memory did not appear to grow at all (or at least not noticably using
   Unix's ps and top utils).

   Since many of the PyDict_SetItemString() calls were in initialization
   modules I think my tests executed most of the changed code, but would
   appreciate script users really giving feedback.

------------------------------------------------------------------------
r5979 | khughes | 2005-11-30 00:38:40 +0100 (Wed, 30 Nov 2005) | 6 lines



-- Bugfix #2868: NMesh.update(0,0,1) with derived mesh data would cause a
   crash.  Hopefully the NMesh module will die a silent death before we
   discovere this doesn't really fix the problem :-)

------------------------------------------------------------------------
r5978 | ton | 2005-11-30 00:31:26 +0100 (Wed, 30 Nov 2005) | 11 lines

Bugfix #496

Noticed that static particle orcos (strands) actually were global
coordinates. This was code copied from dynamic particles...

Bugreporter (hi env!) tried to make nice zebra texture, which of course
very much failed.

Note; orco textures for strand give the same texture coordinate for the
entire hair. UV maps don't work here yet.

------------------------------------------------------------------------
r5977 | ton | 2005-11-30 00:09:36 +0100 (Wed, 30 Nov 2005) | 9 lines

Bugfix #3494

An image texture without picture returned a '0', causing the texture code
to generate a bump normal that warped the entire shading around.
In bugreport it was showing terminator issues with ray shadow.

Terminator problems can still occor with more extreme bumpmaps though,
something to look at further.

------------------------------------------------------------------------
r5976 | ton | 2005-11-29 22:44:47 +0100 (Tue, 29 Nov 2005) | 8 lines

Bugfix #3493

Replaced sqrt() with the safe version sasqrt() in anisotropic.
the formula (1 - n*n) should not give negative values for n = dotproduct
of normals, but float inaccuracy can make negative zeros, as we know!

This solves, hopefully, last annoying "blotches" in hair!

------------------------------------------------------------------------
r5975 | khughes | 2005-11-29 22:41:31 +0100 (Tue, 29 Nov 2005) | 5 lines



Fixed calls to BIF_draw_icon_blended() in draw_marker() to use TH_BACK,
also removed unused parameter from draw_markers_time().

------------------------------------------------------------------------
r5974 | guitargeek | 2005-11-29 22:14:42 +0100 (Tue, 29 Nov 2005) | 2 lines

A small tweak on the Glow effect Alpha channel.

------------------------------------------------------------------------
r5973 | guitargeek | 2005-11-29 22:07:17 +0100 (Tue, 29 Nov 2005) | 2 lines

Possible fix for bug #3400

------------------------------------------------------------------------
r5972 | ton | 2005-11-29 21:18:31 +0100 (Tue, 29 Nov 2005) | 12 lines

Disabled commit of three days ago to speedup and improve hairstrand
raytracing with a linedist (cylinder) check. It didn't behave OK on strands
set to be more than 1 pixel (not to mention 10 pixels), and I have no time
now to fully check and code it.

Which is not really important either... In general, all 3d papers talk about
using shadowbuffer shadows for hair, which gives much nicer results for
dense volumes of polygons.

This commit restores regular (flat polygon) raytrace shadow for strands.
Also fixes some nasty bugs as reported. :)

------------------------------------------------------------------------
r5970 | ton | 2005-11-29 13:45:18 +0100 (Tue, 29 Nov 2005) | 8 lines

Cleanup & preparation commit for getting Armatures/Poses/Actions working
in the game engine again.

All files in source/gameengine/ I've committed below have a comment like
/* XXX note .... */
where something needs to be done. This is pretty straightforward for Erwin,
who has been notified in person too about this. :)

------------------------------------------------------------------------
r5969 | ascotan | 2005-11-29 06:08:29 +0100 (Tue, 29 Nov 2005) | 2 lines

* warnings fixes

------------------------------------------------------------------------
r5968 | ascotan | 2005-11-29 06:03:13 +0100 (Tue, 29 Nov 2005) | 4 lines

.net projectfile update
* fixes file directory for elbeem (rebuild intern)
* adds the tiff stuff to imbuf and copies dll

------------------------------------------------------------------------
r5967 | khughes | 2005-11-29 02:35:45 +0100 (Tue, 29 Nov 2005) | 5 lines



-- Partial bugfix for #3186. curve.getControlPoint() wasn't DECREF-ing
   values added to a list, causing a memory leak.

------------------------------------------------------------------------
r5966 | khughes | 2005-11-28 23:49:59 +0100 (Mon, 28 Nov 2005) | 4 lines



Fix incorrect documentation for Window.QTest().

------------------------------------------------------------------------
r5965 | ton | 2005-11-28 23:49:23 +0100 (Mon, 28 Nov 2005) | 10 lines

I hesitate to call it a bugfix... but it's a removal of a very ancient
(2001) hack that enforced opening renderwindows smaller than screen size.

The notes I could find referred to testing old 3d cards, which failed to
give graphics memory for large windows. Another note was an issue on OSX,
where the topbar and windowbar gets hidden otherwise.
That latter case I corrected now.

Will organize good testing for this, if there's issues, will uncommit :)

------------------------------------------------------------------------
r5964 | bjornmose | 2005-11-28 23:22:25 +0100 (Mon, 28 Nov 2005) | 2 lines

fixing msvc6 project debuggin

------------------------------------------------------------------------
r5963 | aphex | 2005-11-28 21:01:14 +0100 (Mon, 28 Nov 2005) | 2 lines

added libtiff dll to 'release' target for scons (win32)

------------------------------------------------------------------------
r5961 | ton | 2005-11-28 19:16:37 +0100 (Mon, 28 Nov 2005) | 3 lines

Bugfix; using vertex+edge select in Mesh editmode, didn't restore selection
correctly after re-entering editmode.

------------------------------------------------------------------------
r5960 | ton | 2005-11-28 18:12:43 +0100 (Mon, 28 Nov 2005) | 5 lines

Bugfix #3469

3D Manipulator didn't snap to correct center in editmode Armature. Bug as
old as manipulators in blender. :)

------------------------------------------------------------------------
r5959 | ton | 2005-11-28 17:59:12 +0100 (Mon, 28 Nov 2005) | 5 lines

As reported on bf-committers maillist: new object centers were drawing in
sets. To fix it, I got rid of a very ancient hack to enable set grey wire
drawing (setting a global to pretend it's picking select draw).
Now this setting is nicely passed on via functions as argument.

------------------------------------------------------------------------
r5958 | lukep | 2005-11-28 17:11:27 +0100 (Mon, 28 Nov 2005) | 6 lines

cosmetic change to reduce console output on Os X
when libtiif is searched.

this is to reduce complaints from frightened users crying
" THERE IS AN ERROR ! "

------------------------------------------------------------------------
r5957 | lukep | 2005-11-28 14:50:44 +0100 (Mon, 28 Nov 2005) | 7 lines

Nvidia workarounds

- partially working workaround for nvidia bug on Os X 10.4.3
- brought back the raster ops hack for GT6800 with proper driver version
  check so that text works both on Os X 10.4.3 and older systems.
  this last patch was given by Kent Miller from Apple

------------------------------------------------------------------------
r5956 | erwin | 2005-11-28 07:51:54 +0100 (Mon, 28 Nov 2005) | 2 lines

applied the 64-bit pointer patch submitted by Ken Hughes

------------------------------------------------------------------------
r5955 | khughes | 2005-11-28 06:21:25 +0100 (Mon, 28 Nov 2005) | 10 lines



-- Fix bugs caused (by me) by incorrect use of Py_RETURN_NONE macro in
   "if" statements.  The macro defined in gen_utils.h expands to two
   statements; putting after an "if" statement without {} means the second
   statement should always be executed.  I'm not sure if just putting
   braces around both statements would cause other compilers to complain.
   But this explains an earlier bug in the Object module which only
   appeared on MacOS/X.

------------------------------------------------------------------------
r5954 | khughes | 2005-11-28 06:03:26 +0100 (Mon, 28 Nov 2005) | 10 lines



-- Bugfix #3458: keyblock.getData() was getting vertex data from keys
   incorrectly, including wrapping curve data as BezTriples.  Needed to
   make a change to beztriple module so we could more easily create a
   "thick" BezTriple object similar to Blender.BezTriple.New().

   The change to BezTriple.h pointed out some dead code in the Ipocurve
   module that could be removed.

------------------------------------------------------------------------
r5953 | ton | 2005-11-28 00:27:14 +0100 (Mon, 28 Nov 2005) | 5 lines

New object centers were not visible consistantly when using zbuffering.
Instead of disabling zbuffer while drawing it, it now still writes zvalues,
but not tests for it. That way the centers are visible independent of
drawing order.

------------------------------------------------------------------------
r5952 | khughes | 2005-11-28 00:15:39 +0100 (Mon, 28 Nov 2005) | 5 lines



-- bugfix: me.subdivide() was declared NOARGS but was expecting an arg,
   causing a segfault.  Thanks to Cam for catching it.

------------------------------------------------------------------------
r5951 | ton | 2005-11-27 23:07:28 +0100 (Sun, 27 Nov 2005) | 5 lines

Bugfix #3467

Option "Paste flipped pose" didn't work proper for auto-key (inserted key in
own bone instead of flipped...)

------------------------------------------------------------------------
r5950 | ton | 2005-11-27 22:15:45 +0100 (Sun, 27 Nov 2005) | 2 lines

Prevented mirror or ray-transparency to use the new hair-cylinder code.

------------------------------------------------------------------------
r5949 | ton | 2005-11-27 21:49:25 +0100 (Sun, 27 Nov 2005) | 15 lines

Depsgraph fix for editing linked Objects with the other instances being
in other layers (or hidden with local view).

In my search for the absolute minimum of recalculations, changes are only
flushed when they're visible. On changing layers, the tags then are just
set again (for everything that potentially moves) to ensure proper state.

However, it didn't work proper for linked Mesh objects that changed in
editmode, the Derivedmesh callback then accessed memory out of bounds.

The current dependency code was more designed for animation systems...
updating display data should work too, but might need some more tests!

(Thanks Andrea for clear error sample!)

------------------------------------------------------------------------
r5948 | ton | 2005-11-27 19:54:23 +0100 (Sun, 27 Nov 2005) | 5 lines

Bug #3479

Cyclic paths (or curve guides) were not drawn in Solid View when not
selected.

------------------------------------------------------------------------
r5947 | broken | 2005-11-27 19:19:00 +0100 (Sun, 27 Nov 2005) | 2 lines

* Trying some tweaks to lamps/centers drawing based on IRC discussions

------------------------------------------------------------------------
r5946 | ton | 2005-11-27 19:17:02 +0100 (Sun, 27 Nov 2005) | 5 lines

Bugfix #3478

Using a Curve object as a forcefield (not as Guide) crashed Blender.
Needed an additional check in code.

------------------------------------------------------------------------
r5945 | ton | 2005-11-27 18:27:32 +0100 (Sun, 27 Nov 2005) | 5 lines

Bugfix #3477

Bug in VortexField caused in some situations the particles or strands to
disappear completely. Non initialized variable...

------------------------------------------------------------------------
r5944 | stiv | 2005-11-27 17:46:58 +0100 (Sun, 27 Nov 2005) | 3 lines

spellcheck scripts in response to IRC whining.
vertexes => vertices

------------------------------------------------------------------------
r5943 | blendix | 2005-11-27 17:21:25 +0100 (Sun, 27 Nov 2005) | 5 lines


"UV Test Grid" option in Image Window > Image menu > New, to generate
a colored grid instead of a blank image, for quickly spotting distortion
in UV maps.

------------------------------------------------------------------------
r5942 | desoto | 2005-11-27 16:36:21 +0100 (Sun, 27 Nov 2005) | 4 lines

As discussed in meeting, fixed another missing Python symbol from
python.def and upped Python version to 2.4. This means that Cygwin/GCC will
now be building Python 2.4 binaries. Thanks all!

------------------------------------------------------------------------
r5941 | ton | 2005-11-27 13:19:12 +0100 (Sun, 27 Nov 2005) | 11 lines

Finishing touch for hair strand shadows;

- raytracing code now uses cylinder-line intersect for strands. It used
  to intersect with the screen-aligned strand quads, giving too many
  misses for tracing.
  Note; mirror for hair is still not well supported!

- added in Materials a choice for whether a material is Traceable for
  raytracing or whether it is part of Shadow buffers. This way you can
  exclude hair strands from raytracing, but still get shadowbuffers for it.

------------------------------------------------------------------------
r5940 | khughes | 2005-11-27 04:47:17 +0100 (Sun, 27 Nov 2005) | 9 lines



-- Change to make blender with game engine disabled build without errors
   on 64-bit machines.

   This code only seems to be used by the game engine anyway; maybe it's
   only linux which always compiles it regardless of whether game engine is
   enabled?

------------------------------------------------------------------------
r5939 | stiv | 2005-11-27 02:42:46 +0100 (Sun, 27 Nov 2005) | 4 lines

patch #3475 for bug #2867  Object.makeParent with noninverse doesn't clear parentinv matrix

Contributed by Stephane SOPPERA (soppera).  Thanks!

------------------------------------------------------------------------
r5938 | khughes | 2005-11-27 01:09:35 +0100 (Sun, 27 Nov 2005) | 4 lines



-- correct typo in "Fields and Deflection" panel name

------------------------------------------------------------------------
r5937 | ton | 2005-11-26 19:38:54 +0100 (Sat, 26 Nov 2005) | 7 lines

Bugfix #3471

- Editmode Mesh: after a split command, normals were not recalculated

ALso: in Particle buttons, made the "Tex" button go to the maximum of 10
channels.

------------------------------------------------------------------------
r5936 | ton | 2005-11-26 19:07:57 +0100 (Sat, 26 Nov 2005) | 3 lines

Increased maximum limit for Ztransp render to allow 1000 faces in a single
pixel (was 200), this to prevent occasional errors with extreme haircuts!

------------------------------------------------------------------------
r5935 | ton | 2005-11-26 18:56:39 +0100 (Sat, 26 Nov 2005) | 6 lines

Bugfix #3463

Very ancient bug in boxfilter for image texture popped up with new code
for correct bumpmapping. Caused texture type "Extend" not to work when
using for bump.

------------------------------------------------------------------------
r5934 | theeth | 2005-11-26 16:25:21 +0100 (Sat, 26 Nov 2005) | 3 lines

UV_Export rounding error fixed by Macouno (from elysiun).
Also standardized some indenting and export to black lines instead of red.

------------------------------------------------------------------------
r5933 | ton | 2005-11-26 16:13:10 +0100 (Sat, 26 Nov 2005) | 3 lines

Buttonswindow: Fkey cycling bug, accessing OBACT without checking it OK.
Caused crash on pressing F6,F5 after deleting object (thanks DJC!)

------------------------------------------------------------------------
r5932 | ton | 2005-11-26 16:12:05 +0100 (Sat, 26 Nov 2005) | 3 lines

Hairstrand render bug; using Orco could give errors... the orco pointers
for some hair vertices were not initialized OK.

------------------------------------------------------------------------
r5931 | ton | 2005-11-26 14:09:25 +0100 (Sat, 26 Nov 2005) | 5 lines

Added three more cases for allowing to create a new quad (Fkey), based on
inverting the checked triangle diagonal.
Noticed issues while modeling subsurfs yesterday, in that case you can
really be less strict.

------------------------------------------------------------------------
r5930 | ton | 2005-11-26 13:23:33 +0100 (Sat, 26 Nov 2005) | 10 lines

Four mirrored Weight Paint improvement/fixes:

- If the mirrored group doesn't exist yet, it creates that group now.
- Painting on any non-mirror group (not a name complying mirror rules), it
  will now paint mirrored on the group itself.
- The Mesh octree for mirror painting was not created on loading a file
  in WeightPaint mode, or on exiting Editmode for Mesh. This caused mirror
  painting to not work always.
- Tweaked the threshold calculation for vertices, so it gives fewer misses.

------------------------------------------------------------------------
r5929 | stiv | 2005-11-26 03:10:42 +0100 (Sat, 26 Nov 2005) | 6 lines

patch #2869  MTex module additions
contributed by Yehoshua Sapir (sapir)

adds attributes to MTex module.  adds module constants.
Uses new style tp_getset.

------------------------------------------------------------------------
r5927 | ton | 2005-11-24 22:53:51 +0100 (Thu, 24 Nov 2005) | 3 lines

Small fix: after rendering particles, the "disp" amount was not correctly
put back to not 100% (if set).

------------------------------------------------------------------------
r5924 | broken | 2005-11-24 18:55:46 +0100 (Thu, 24 Nov 2005) | 2 lines

* Tweaked the logic of the Fkey button cycling to make it a bit smarter

------------------------------------------------------------------------
r5923 | broken | 2005-11-24 18:54:49 +0100 (Thu, 24 Nov 2005) | 2 lines

* Removed the OK? popups from extruding curve CPs.

------------------------------------------------------------------------
r5922 | ton | 2005-11-24 17:54:55 +0100 (Thu, 24 Nov 2005) | 5 lines

Bugfix (tracker #3456, elysiun forum).

The new colorband code still had floating point issue... how much a
< or <= can differ eh!

------------------------------------------------------------------------
r5921 | ton | 2005-11-24 15:27:27 +0100 (Thu, 24 Nov 2005) | 3 lines

Using the "Lock" option in IpoWindow didn't update for Materials or Camera
Ipos.

------------------------------------------------------------------------
r5920 | n_t | 2005-11-24 13:42:33 +0100 (Thu, 24 Nov 2005) | 2 lines

- 'extern "C"' fix for MSVC as suggested by Stephane

------------------------------------------------------------------------
r5919 | hos | 2005-11-24 00:43:02 +0100 (Thu, 24 Nov 2005) | 4 lines

While looking at the python Lattice code for a bug, I instead found
what must clearly be a typo ... an 's_z' where an 's_y' should be
-- python Lattice module owner please check!

------------------------------------------------------------------------
r5918 | desoto | 2005-11-23 22:45:17 +0100 (Wed, 23 Nov 2005) | 6 lines

Thanks to Hos for advice about fixing a Cygwin compile problem that has
been bothering us Windows compilers for two or three days. If it breaks
anything Hos tells me its because I didn't pay my Blender bill.

Issue was to do with symbol missing from python.def

------------------------------------------------------------------------
r5917 | ton | 2005-11-23 22:25:20 +0100 (Wed, 23 Nov 2005) | 6 lines

Bugfix (own discovery!), using sequencer to render a scene updated the
depsgraph 2 times to often, also confusing particle drawing when disp %
is set.

And: little cleanup in render code (move includes in order)

------------------------------------------------------------------------
r5916 | bjornmose | 2005-11-23 22:11:36 +0100 (Wed, 23 Nov 2005) | 3 lines

MSVC6 projects
adding libtiff files to compile

------------------------------------------------------------------------
r5915 | ton | 2005-11-23 20:19:44 +0100 (Wed, 23 Nov 2005) | 6 lines

Bugfix #3437 #3438

- Mirror modifier showed particles on wrong half.
  Note: particles don't do modifiers yet (apart from using subsurf coords)
- Boolean modifier copy didn't copy the 'operation' type.

------------------------------------------------------------------------
r5914 | ton | 2005-11-23 18:38:05 +0100 (Wed, 23 Nov 2005) | 4 lines

I hoped we could skip a floor() in the new zbuffer code, but no...
rounding negative values goes to zero, caused left pixel to not
render in images.

------------------------------------------------------------------------
r5913 | ton | 2005-11-23 16:39:25 +0100 (Wed, 23 Nov 2005) | 2 lines

Forgot to remove code that draws the jitter samples in camera view!

------------------------------------------------------------------------
r5912 | ton | 2005-11-23 16:22:51 +0100 (Wed, 23 Nov 2005) | 3 lines

Forgot to note in previous commit: also cleaned up warnings in code,
like using exported functions without adding it in the .h.

------------------------------------------------------------------------
r5911 | ton | 2005-11-23 16:20:45 +0100 (Wed, 23 Nov 2005) | 12 lines

New stuff & fixes in Blender OSA filtering.

While investigating alternative filters (Mitchell), I found two small
errors in the Gauss code, it clipped wrong and multiplied wrong, causing
settings other than filter size 1.0 to not work properly.

Took the last-minute liberty to add more filter types in Blender too.
Also wrote an extensive log about how sampling & filtering in Blender
works.

http://www.blender3d.org/cms/Samples_and_Filtering.723.0.html

------------------------------------------------------------------------
r5910 | n_t | 2005-11-23 16:18:45 +0100 (Wed, 23 Nov 2005) | 3 lines

- temporary fix for MSVC (accessing a var from the elbeem lib
  caused trouble)

------------------------------------------------------------------------
r5909 | guitargeek | 2005-11-23 15:53:51 +0100 (Wed, 23 Nov 2005) | 2 lines

Adding libtiff for win32 build

------------------------------------------------------------------------
r5907 | lukep | 2005-11-23 15:42:17 +0100 (Wed, 23 Nov 2005) | 2 lines

added bad level call stub for sluidsim

------------------------------------------------------------------------
r5906 | hos | 2005-11-23 15:37:48 +0100 (Wed, 23 Nov 2005) | 5 lines

With the holy blessing of guitarGeek: Using smooth on a mesh with a
mirror modifier and the clipping option now preserves verts on the
plane(s) of symmetry (i.e., those verts are smoothed, then projected
back to the plane(s) of symmetry).

------------------------------------------------------------------------
r5905 | antont | 2005-11-23 15:31:47 +0100 (Wed, 23 Nov 2005) | 2 lines

uh should have read the patch better, i did test it and it works :)

------------------------------------------------------------------------
r5904 | antont | 2005-11-23 15:28:40 +0100 (Wed, 23 Nov 2005) | 2 lines

adding libtiff info to scons, applying http://vidar.gimp.org/tmp/scons-linux.diff

------------------------------------------------------------------------
r5903 | broken | 2005-11-23 14:44:58 +0100 (Wed, 23 Nov 2005) | 4 lines

* Attempting to fix scons for mac os x. It seems to be correct, if I've made a
mistake, someone can please help fix, just trying to get things to compile here
in the studio. You'll need to delete config.opts

------------------------------------------------------------------------
r5902 | n_t | 2005-11-23 13:51:07 +0100 (Wed, 23 Nov 2005) | 9 lines


- solver now supports animated time steps, gravity
  and viscosity, an example can be found here:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/fluid_timeanim.mpg
- for simulation time animation the time IPO of the object is currently used,
  for all three there should probably be new ipos in the fluidsim struct
- started the API in elbeem.cpp, to get rid of parser & export
  via HD (it's not yet used)

------------------------------------------------------------------------
r5901 | n_t | 2005-11-23 13:49:22 +0100 (Wed, 23 Nov 2005) | 16 lines


- changed DerivedMesh integration, the fluidsim meshes now
  replace the original one. so modifiers now work with them
  (apply modifier, or edit mode still work on original mesh).
  this should fix the three fluidsim bugs in the tracker.
- fixed stupid makesdna problem (writing "char string[160+80]" isnt
  a good idea :)
- changed GUI a bit, now displays an estimate of the required memory,
  there's still a problem with redrawing (currently relies on a call
  to the derived mesh generation)
- the fluidsim struct changed to store the bounding box,
  and the current loaded surface mesh
- temporary simulation files are now removed if env. var.
  BLENDER_DELETEELBEEMFILES is not set or zero
- fluidsimSettingsFree now gets properly called when freeing an object

------------------------------------------------------------------------
r5900 | n_t | 2005-11-23 09:50:57 +0100 (Wed, 23 Nov 2005) | 2 lines

- added dynlibtiff.c and tiff.c for compilation

------------------------------------------------------------------------
r5899 | lukep | 2005-11-23 02:13:50 +0100 (Wed, 23 Nov 2005) | 2 lines

nan definition for precompiled libtif

------------------------------------------------------------------------
r5897 | sirdude | 2005-11-22 21:45:36 +0100 (Tue, 22 Nov 2005) | 6 lines



updated the python script to create a good c file.  Thanks intrr.

Kent

------------------------------------------------------------------------
r5896 | intrr | 2005-11-22 21:41:15 +0100 (Tue, 22 Nov 2005) | 4 lines



Made the envvar stuff work and slightly simplified it ;-)

------------------------------------------------------------------------
r5895 | sirdude | 2005-11-22 21:24:28 +0100 (Tue, 22 Nov 2005) | 6 lines



got rid of snprintf....  Replaced with MEM_mallocN and friends...

Kent

------------------------------------------------------------------------
r5893 | ascotan | 2005-11-22 20:34:28 +0100 (Tue, 22 Nov 2005) | 2 lines

- accidentally removed a macro for returning Py_None for python 2.3

------------------------------------------------------------------------
r5892 | ascotan | 2005-11-22 20:23:26 +0100 (Tue, 22 Nov 2005) | 2 lines

A few more python 2.4 macros to covert to 2.3 compatible code.

------------------------------------------------------------------------
r5891 | ascotan | 2005-11-22 20:14:10 +0100 (Tue, 22 Nov 2005) | 2 lines

Little bit of testing code snuck in there.

------------------------------------------------------------------------
r5890 | ascotan | 2005-11-22 20:12:46 +0100 (Tue, 22 Nov 2005) | 2 lines

Fix for a python boolean macro that shouldn't be there.

------------------------------------------------------------------------
r5889 | sirdude | 2005-11-22 19:50:03 +0100 (Tue, 22 Nov 2005) | 17 lines



This is a modified version of patch #2995
To enable dynamic tiff support.
I had to fix some of the logic in the fileselect box for icons,
I also expanded the patch to look in various default locations for
a dynamic libtiff.so/libtiff.dll
and look at the env variable BF_TIFF_LIB if it can't find it automatically.
If unable to load the library it prints a message about setting BF_TIFF_LIB
to the console.

I haven't been able to test it on a lot of platforms but hopefully it
will just work ;)  I added the files to scons but have not had a chance to
test that as well.

Kent

------------------------------------------------------------------------
r5888 | ascotan | 2005-11-22 18:59:49 +0100 (Tue, 22 Nov 2005) | 3 lines

Added some equvalency tests for the other math objects
* ==, != are defined for matrix, quat, euler.

------------------------------------------------------------------------
r5887 | ton | 2005-11-22 18:58:10 +0100 (Tue, 22 Nov 2005) | 8 lines

Another bugreport, this time Basse: in NLA a position could sometimes be
set whilst the actual time was 1 frame after the strip. Appeared to be
a rounding error that didnt show in OSX.

Previously I added a threshold, to make sure strips are included when the
current frame is exactly on the end. That threshold now is smaller, and
I also made the fmod() to be done only on repeating strips.

------------------------------------------------------------------------
r5886 | ton | 2005-11-22 17:35:21 +0100 (Tue, 22 Nov 2005) | 9 lines

Matt bugreport; stride bone caused character to float away while moving
a key in action window.

- Found bad constructed loop, it was redrawing and recalculating things
  even when key didnt move
- Depsgraph should also recalc object itself

Same code appeared in NLA editor, both fixed.

------------------------------------------------------------------------
r5885 | ton | 2005-11-22 17:14:07 +0100 (Tue, 22 Nov 2005) | 5 lines

Crasher bug from andy: loading a file with "No UI" crashes when that file
has no camera, and current project has camera view.
Found out the new camera decoration code needs prevention from reading
data from non-camera objects too.

------------------------------------------------------------------------
r5884 | ton | 2005-11-22 16:58:09 +0100 (Tue, 22 Nov 2005) | 4 lines

Removed clipping conventions for setting prefsize in Blender. Meaning, for
dual monitors you can start blender on a negative starting size too, like
blender -p -1280 0 1920 1280

------------------------------------------------------------------------
r5883 | broken | 2005-11-22 16:00:32 +0100 (Tue, 22 Nov 2005) | 8 lines

* LSCM live transform is finally here!

This is a combined effort from Jens, Ton who finished the code here on my machine, and myself putting in the little menu toggle and committing :).

Turn it on and off in the UV/Image window menu UVs -> LSCM Live Transform. It recalculates the LSCM within the transform loop when you're transforming pinned vertices, so it gives realtime feedback - a real time saver! Note: this is much more powerful than proportional edit, since it's properly calculating LSCM using the correct edge angles, etc.

I recorded a quicky demo video here: http://orange.blender.org/wp-content/themes/orange/images/media/lscm_live.mov (quicktime animation codec)

------------------------------------------------------------------------
r5882 | antont | 2005-11-22 12:25:23 +0100 (Tue, 22 Nov 2005) | 2 lines

new attempt at the pyboolean macro, 'cause that style did not work in one line if/elses - this one is from the py 2.4 boolops headers.

------------------------------------------------------------------------
r5881 | antont | 2005-11-22 12:18:34 +0100 (Tue, 22 Nov 2005) | 2 lines

trying to fix new armature compile probs on macs (w/ py 2.3 probably) by adding the 2.4 macros for returning python booleans.

------------------------------------------------------------------------
r5880 | bjornmose | 2005-11-22 00:26:44 +0100 (Tue, 22 Nov 2005) | 3 lines

MSVC6 project file service :)
adding new files to project IMB_radiance_hdr.h radiance_hdr.c

------------------------------------------------------------------------
r5879 | ton | 2005-11-21 23:47:23 +0100 (Mon, 21 Nov 2005) | 23 lines

Bugfix #2841

Ancient issue with Image bumpmap & orientation... this report was about
UV textures, which flipped bump direction when UV coordinates rotate.
So... time to dive deeper into it, and I found a very bad old construction
in the way image textures handled bump normals. Instead of using the
correct dx,dy vectors it was calculating the boundbox for it, and applied
it as such (loosing negative direction for the dx or dy that way).

Anyhoo! To make a long story short; the weird "correct Nor Map" option
now can be removed... but requires careful testing!

Here's renders from file I got from env, 239 means old and 240 is this cvs.

http://www.blender.org/bf/dino239.jpg
http://www.blender.org/bf/dino240.jpg

http://www.blender.org/bf/dino239a.jpg
http://www.blender.org/bf/dino240a.jpg

Note the much finer detail, and the more consistant normals direction.
No, go render testing dudes!

------------------------------------------------------------------------
r5878 | ascotan | 2005-11-21 23:21:46 +0100 (Mon, 21 Nov 2005) | 2 lines

- editng options for armature added to AramtureType

------------------------------------------------------------------------
r5877 | ascotan | 2005-11-21 22:26:09 +0100 (Mon, 21 Nov 2005) | 3 lines

- drawtypes added to ArmatureType
* uses module constants added to Armature.c

------------------------------------------------------------------------
r5876 | ascotan | 2005-11-21 21:54:29 +0100 (Mon, 21 Nov 2005) | 2 lines

* added some display options to the ArmatureType class

------------------------------------------------------------------------
r5875 | ascotan | 2005-11-21 21:22:08 +0100 (Mon, 21 Nov 2005) | 2 lines

* adds deformation properties to armatureType

------------------------------------------------------------------------
r5874 | ascotan | 2005-11-21 20:42:20 +0100 (Mon, 21 Nov 2005) | 3 lines

* [ #3376 ] Blender.Mathutils.Matrix().toQuat() broken
- a 0-degree rotation gives a abitrary axis of 1,0,0 not 0,0,0

------------------------------------------------------------------------
r5873 | ascotan | 2005-11-21 20:16:52 +0100 (Mon, 21 Nov 2005) | 2 lines

Radiance HDR image file includes

------------------------------------------------------------------------
r5872 | sirdude | 2005-11-21 19:03:42 +0100 (Mon, 21 Nov 2005) | 6 lines



Changed powf to pow.  (For Solaris)

Kent

------------------------------------------------------------------------
r5871 | ton | 2005-11-21 18:48:20 +0100 (Mon, 21 Nov 2005) | 4 lines

Bugfix #3153

Subdivide didn't correctly calculate new UV or vertexcolor yet.

------------------------------------------------------------------------
r5870 | ton | 2005-11-21 18:06:16 +0100 (Mon, 21 Nov 2005) | 5 lines

Fix #3064

Assigning a Hook in Mesh editmode to new created vertices crashed on
exit editmode.

------------------------------------------------------------------------
r5869 | ton | 2005-11-21 17:21:03 +0100 (Mon, 21 Nov 2005) | 5 lines

Bugfix #3346

Decimate modifier wasn't resistant to decimating below 3 vertices. It now
detects so, and doesn't add a face or edges then.

------------------------------------------------------------------------
r5868 | ton | 2005-11-21 16:59:01 +0100 (Mon, 21 Nov 2005) | 5 lines

Bugfix #3434

The OpenGL preview anim render calculated the camera matrix before
calling the animation updates, causing a lag when camera was parented.

------------------------------------------------------------------------
r5867 | ascotan | 2005-11-21 16:44:59 +0100 (Mon, 21 Nov 2005) | 2 lines

A few more doc updates

------------------------------------------------------------------------
r5866 | ascotan | 2005-11-21 16:36:36 +0100 (Mon, 21 Nov 2005) | 2 lines

Some updates to armature documentation.

------------------------------------------------------------------------
r5865 | ton | 2005-11-21 16:21:55 +0100 (Mon, 21 Nov 2005) | 2 lines

Colorband input for ramp shaders need to be clamped for (0-1)...

------------------------------------------------------------------------
r5864 | ton | 2005-11-21 16:08:02 +0100 (Mon, 21 Nov 2005) | 6 lines

Rui Campos found a glitch in drawing particles, these were accidentally
still drawing all (zero sized) particles with "disp" option set to <100.

Fast graphics card show the issue less evident, but especially with a
giant amount of particles (100k) very much noticable. Thanks!

------------------------------------------------------------------------
r5863 | ton | 2005-11-21 13:14:13 +0100 (Mon, 21 Nov 2005) | 11 lines

Bugfix #3431

Too strict checking in depsgraph code missed a dependency case; this
specifically when objects have own motion (ipo) and are being deformed
by a parent.
This worked, unless the parent also had own motion (ipo or constraint)...

Also: the DAG_add_relation() added multiple relationships for object pairs,
now they "Or" the relationship description flag. Makes it a tad faster
again :)

------------------------------------------------------------------------
r5862 | ton | 2005-11-21 12:30:53 +0100 (Mon, 21 Nov 2005) | 9 lines

Bugfix #3426

Object duplicators didn't draw when not selected. Was one 'else' to many in
the code!

Also noticed that duplicators couldn't be transformed when they have Ipos,
was an improper call to do_ipo in duplicator code... also made sure the
transformation info in the object is stored/restored before duplicating.

------------------------------------------------------------------------
r5861 | ton | 2005-11-21 12:15:46 +0100 (Mon, 21 Nov 2005) | 6 lines

Bugfix #3430

Using Proportional edit on a Lattice with option "Outside" crashed.
Was caused by not checking for the hide flag while counting amount
of transformed elements in Lattice.

------------------------------------------------------------------------
r5860 | ton | 2005-11-21 11:45:58 +0100 (Mon, 21 Nov 2005) | 13 lines

Bugfix #3422

When using 'protection flags' for XYZ rotations, inserting keys in
Poses resulted in wrong interpolations (doing -270 degrees instead of
+90 for example). This caused by converting quaternion to euler and
back...
Solved it by correcting the quaternion in the end for the rotation
sign of the original quaternion.

NOTE: Pose animators should be aware that inserting rotations keys of
180 degrees or larger will still make the key rotate along the shortest
path.

------------------------------------------------------------------------
r5859 | ton | 2005-11-21 00:06:52 +0100 (Mon, 21 Nov 2005) | 4 lines

New textbutton didn't accept buttons with Object names (or Mesh, etc), the
socalled ID-pointer buttons.
It appeared that the but->pos, for cursor, was calculated wrong. :)

------------------------------------------------------------------------
r5858 | ton | 2005-11-20 23:12:18 +0100 (Sun, 20 Nov 2005) | 6 lines

Bugfix #3423

Extrude faces assigned arbitrary colors to the new faces when an edge
shared 2 faces with different colors. Now only assigns colors for the
selected faces.

------------------------------------------------------------------------
r5857 | ton | 2005-11-20 22:29:09 +0100 (Sun, 20 Nov 2005) | 7 lines

TAB cycling in number/text buttons. Was in tuhopuu too, but code needed
a good revision :)

This now cycles through all number/text buttons in a Panel. At the moment
it skips buttons with tab completion (object names, bones, constraints)
Press SHIFT+TAB to cycle backwards (any modifier will do btw).

------------------------------------------------------------------------
r5856 | khughes | 2005-11-20 21:19:48 +0100 (Sun, 20 Nov 2005) | 5 lines



-- change lastused in struct Image from long to int (caused problems with
   SDNA on 64-bit platforms)

------------------------------------------------------------------------
r5855 | broken | 2005-11-20 21:19:27 +0100 (Sun, 20 Nov 2005) | 2 lines

* Updated the lamp buttons to force redraw when changing the Spot Blur slider

------------------------------------------------------------------------
r5854 | khughes | 2005-11-20 19:41:41 +0100 (Sun, 20 Nov 2005) | 4 lines



-- fix indentation to make epydoc happy

------------------------------------------------------------------------
r5853 | theeth | 2005-11-20 17:01:56 +0100 (Sun, 20 Nov 2005) | 5 lines

Transform:
	As discussed during meeting, made double key press go for Local when Global was selected.

Two lines of code! ;)

------------------------------------------------------------------------
r5852 | ton | 2005-11-20 16:54:45 +0100 (Sun, 20 Nov 2005) | 2 lines

Added pointercheck to oops code that evaluates color. Thanks campbell!

------------------------------------------------------------------------
r5851 | khughes | 2005-11-20 16:12:06 +0100 (Sun, 20 Nov 2005) | 5 lines



-- removed GetParticlesLoc() function, which was replaced by
   getParticlesLoc() method

------------------------------------------------------------------------
r5850 | ton | 2005-11-20 15:32:07 +0100 (Sun, 20 Nov 2005) | 14 lines

Patch provided by Alfredo de Greef

This adds Radiance HDR image file support. So now at least we can save
the 'fbuf' (4x32 bits float colors) in Blender.
It doesn't change anything for internal support in imbuf for floa colors,
so when reading .hdr files it still converts it to 32 bits RGBA.

As an extra I've added that saving images with F3 now also adds the
optional extension, when the F10 "Extensions" option is set.

One important note; I don't know the proper license for the code, it was
provided without... will await feedback from Alfredo about it. For now
I've added the standard Blender GPL header.

------------------------------------------------------------------------
r5849 | ton | 2005-11-20 14:43:08 +0100 (Sun, 20 Nov 2005) | 8 lines

Fix in my commit of nov 3, found issue while testing regression stuff.

-> Scene set was not drawn in greyish wire anymore

Also made sure all colors as used for scene set and dupli's now use a
proper call to the ThemeColors, so it blends between choosen wire color
and background color.

------------------------------------------------------------------------
r5848 | jiri | 2005-11-20 14:17:28 +0100 (Sun, 20 Nov 2005) | 5 lines



 - Ctrl left/right arrow ... jumps between special characters (not only
   between / and \. I hope, that list of special character is complete.

------------------------------------------------------------------------
r5847 | ton | 2005-11-20 13:47:13 +0100 (Sun, 20 Nov 2005) | 12 lines

Patch provided by Campbell Barton

Oops drawing speedup:

* Doesent draw splines that are totaly out of the view (big speedup)
* Changes the spline resolution based on its size on the screen (smaller
  speedup)
* Draws highlighted lines ontop of unhighlighted lines, makes it easy to see
  where selected data links to.
* Text changes size with zoom.
* Text draws better at small sizes.

------------------------------------------------------------------------
r5846 | ton | 2005-11-20 13:41:00 +0100 (Sun, 20 Nov 2005) | 11 lines

Patch provided by Stephan Kassemeyer.

This fixes an error in the striding system, which was by default correcting
path position backwards in time, which could give errors when a stride bone
moves in the beginning of a path faster than the path moves. (Can you
follow that? cool!)

The patch checks for this case, it corrects by default forwards in time,
unless we're at the end of a path. As bonus this fix will also ensure the
character stays on the path closer.

------------------------------------------------------------------------
r5845 | ton | 2005-11-20 11:04:45 +0100 (Sun, 20 Nov 2005) | 34 lines

Patch by Matt Ebb: upgraded usablitiy of text button.

Textbuttons now allow a selection too (like any textbutton in other UIs).
By default, on activating a textbutton, the entire button text is selected
when you enter the button. A single arrowkey or LMB click reveils the
cursor then. Here's more user notes:

LMB click: If inside the button, places the text cursor at the clicked
position. If outside the button, confirms/finishes editing

LMB drag: Selects the text between the start and end point of the drag.

Backspace: Deletes selected text, or backspaces a character

Shift Backspace: Deletes all, as before.

Delete: Deletes selected text or forward deletes a character

Shift LeftArrow: Extends the selection left

Shift RightArrow: Extends the selection right

LeftArrow: If there's a selection, move the cursor to the left edge of the
selection, otherwise move the cursor left a character.

RightArrow: If there's a selection, move the cursor to the right edge of
the selection, otherwise move the cursor right a character.

UpArrow/Home: Move the cursor to the beginning of the line

DownArrow/End: Move the cursor to the end of the line

Ctrl Left arrow and Ctrl Right arrow to jump between directory separators

------------------------------------------------------------------------
r5844 | khughes | 2005-11-20 02:07:54 +0100 (Sun, 20 Nov 2005) | 5 lines



-- added an optional "cage" parameter to mesh.getFromObject() to allow
   getting cage vertices from geometry objects

------------------------------------------------------------------------
r5843 | bjornmose | 2005-11-19 22:35:06 +0100 (Sat, 19 Nov 2005) | 4 lines

no code changes (i hope)
review of lyrics/epics to replace '//' comments by /*ones*/
+ adaptive step size in a nutshell  comment

------------------------------------------------------------------------
r5842 | bjornmose | 2005-11-19 21:02:30 +0100 (Sat, 19 Nov 2005) | 9 lines

bug: scaled lattice softbodies ( and the new ones ) shrinked/blew up to original size under SB dynamics

had a shadow in memory there was an issue ..
yes, spring calculation should care for scaling in object matrix
so here it is

note: for meshes the bp array is abused for caching -->
only 1 matrix multiplication compared to 2 per spring

------------------------------------------------------------------------
r5841 | ton | 2005-11-19 19:24:32 +0100 (Sat, 19 Nov 2005) | 4 lines

Code cleanup: using defines in texture.c for whether a function returns
intensity, color and/or normal.
Patch provided by Guillermo, thanks!

------------------------------------------------------------------------
r5840 | ton | 2005-11-19 19:19:41 +0100 (Sat, 19 Nov 2005) | 8 lines

Made sure lattice and curve springs are calculated based on the original
(Non deformed) lenghts. Code for lattice (by Jens Ole) was already there
btw, was replaced accidentally by Daniel during his modifier craze :)

ALso added comments in code to clarify the softbody initialize flow, which
happens in 2 stages now. Goal weights and springs are read from the
original data, the vertex coordinates from the modifier data.

------------------------------------------------------------------------
r5839 | broken | 2005-11-19 18:47:45 +0100 (Sat, 19 Nov 2005) | 10 lines

* Corrected the lamp outer dotted circle drawing - the dotted outer circle
represents whether shadows are on for that lamp or not. Now, it properly
takes into consideration what type of lamp it is, and whether it can have
whatever type of shadow.

Things like this, and the inner spot circle representing the Spot Blur should
really be documented somewhere, I'll make a note.

* Decreased the size of the hemi lamp arcs.

------------------------------------------------------------------------
r5838 | ton | 2005-11-19 18:26:18 +0100 (Sat, 19 Nov 2005) | 3 lines

Missing pointer array check caused 64 bits not reading pointers OK in
scriptlinks. Thanks Ken Hughes for finding issue!

------------------------------------------------------------------------
r5837 | khughes | 2005-11-19 16:44:43 +0100 (Sat, 19 Nov 2005) | 5 lines



-- fix printing of constant dicts
-- remove "TF_" from constant names in M_Mesh_FaceTranspModesDict()

------------------------------------------------------------------------
r5836 | ton | 2005-11-19 16:16:34 +0100 (Sat, 19 Nov 2005) | 42 lines

Patch #3365, Toolbox from Tuhopuu
Patch prvovided by Guillermo, code was - afaik - from Rob Haarsma.

This changes the toolbox (space menu) to have the first level aligned
vertically. Works much easier that way, and since the items open either
left or right, it doesn't flip order of the contents for it either.

To allow people to test (and to compare) it's a user menu setting (in
View & Controls, "Plain menus"). I've turned this on by default though,
since I propose to not have it a user setting. User setting can be
removed later.

Fixed two bugs in patch:
- if saved in user settings, first time usage of this toolbox opened in
  wrong location
- Button for "plain menus" was writing a short in an int
  (causing this new menu not to work for big endian systems)

As a bonus I've added the long wanted hotkey support for opening and
closing sublevels of pulldowns with arrow keys!

I didn't add the commenting out of correcting pulldown menu order, which
is based on location of the originating button in the UI. This uncommenting
didn't solve anything, since button definitions itself can be flipped too.
(Example: the data brose menus in top bar need to be corrected).

I can imagine the order flipping is sometimes annoying, but it still has
reasons to be there;
- the most important / most used items are always closest to the mouse.
  (like opening properties panel, or "Add new" for material.
- it follows muscle memory and 'locus of attention' (mouse position).
- menus are configured to open to the top for bottom headers, and to the
  bottom for top headers. We can expect the UI is configured consistantly
  for headers, so in general the menus will appear consistant as well.

Where menu flipping fails is especially for alphabetic listings, like in
the menu button of fileselect. However, that one should be configured to
open by default to the bottom, so ordering is consistant as well.

If people like to check this themselves; uncomment the lines in the top
of the function uiBlockFlipOrder() in src/interface.c

------------------------------------------------------------------------
r5835 | khughes | 2005-11-19 16:06:20 +0100 (Sat, 19 Nov 2005) | 4 lines



-- fix bug which used unitialized pointer in M_Effect_New.

------------------------------------------------------------------------
r5834 | intrr | 2005-11-19 14:43:28 +0100 (Sat, 19 Nov 2005) | 5 lines



Removed static from shade_buttons_change_3d declaration and included
it in BIF_interface.h for general use in other files

------------------------------------------------------------------------
r5833 | intrr | 2005-11-19 14:16:36 +0100 (Sat, 19 Nov 2005) | 5 lines



Add a call to buttons_change_shaded_view() or something in 'assign material
index'

------------------------------------------------------------------------
r5832 | ton | 2005-11-19 12:06:29 +0100 (Sat, 19 Nov 2005) | 2 lines

Removal of warning messages, unused variables, and casting errors.

------------------------------------------------------------------------
r5831 | ton | 2005-11-19 11:55:07 +0100 (Sat, 19 Nov 2005) | 32 lines

Finally switched to porting UI stuff from tuhopuu!

This commit is based on the patch & cool design work of Matt. It includes
the new Lamp drawing style, and replaces the Object center dots with a
similar styled OpenGL drawn dot.

Important side-note is that removing the old glDrawPixels() for centers or
lamps will not only make Blender faster, but also prevents crashing on a
couple of cheaper 3d cards (as reported for S3 and Intel on-board cards)

Notes:
- The new default only draws Object centers when selected or active. If
  you like to see them always, use the View Properties Panel. You can also
  save that in the .B.blend
- The size for centers (and lamps) is in the User settings "View & Controls"
- Unselected Lamps, and their offset lines from zero Z, are drawn in a new
  Theme color

Changes and additions in Matt's patch:
- Lamps and centers are drawn fixed size, in pixels. Also the 'sun' lamp
  draws screen aligned now.
- Center dots now also draw in blue to denote Library linkage or to show
  that an Object has been linked to other scenes.
- When objects are empty (no vertices) they will always draw a center dot.
  Otherwise these objects would never be selectable anymore!
- Added theme setting for center size, and initialization
- Removed the old redundant code for drawing centers
- Cleanup of drawing routines, made center dots faster
- Started removing calls to glBlendFunc(). Regular alpha drawing should
  become standard, and the (very) occasional exception should return this
  to default after usage.

------------------------------------------------------------------------
r5830 | khughes | 2005-11-18 20:44:44 +0100 (Fri, 18 Nov 2005) | 4 lines



-- added Object.protectFlags attribute; let user get/set transform lock bits

------------------------------------------------------------------------
r5829 | khughes | 2005-11-18 17:03:03 +0100 (Fri, 18 Nov 2005) | 5 lines



-- fixed bug with returning NULL from Object_CreatePyObject() on MacOS/X.
   The code prior to the last commit worked... but can't see the differene

------------------------------------------------------------------------
r5828 | ton | 2005-11-18 11:31:39 +0100 (Fri, 18 Nov 2005) | 6 lines

Bugfix: in Sequencer, an active image/movie strip also allowed to add Ipos,
causing Blender to crash. (reported by Levon, thanks!)

Bugfix: InfoWindow, pulldown menu said "Dump 3D window", whilst this can be
any window type... renamed it to "Dump Subwindow" next to "Dump Screen".

------------------------------------------------------------------------
r5827 | jiri | 2005-11-18 00:26:45 +0100 (Fri, 18 Nov 2005) | 6 lines



 - bug fix of bug #2923
   bug was reported by ideasman, thanks! This bug fix also solve problem, when
   MetaBall is parented to some zero size object.

------------------------------------------------------------------------
r5826 | ton | 2005-11-17 23:07:06 +0100 (Thu, 17 Nov 2005) | 5 lines

Bug #3395

Target-less or Auto-IK didn't insert keys for all bones when using
the Auto-key option.

------------------------------------------------------------------------
r5825 | ton | 2005-11-17 22:31:49 +0100 (Thu, 17 Nov 2005) | 5 lines

Two errors in old style (not relative) Shape Keys;

- they didn't even execute!
- you could not grab them in IpoWindow

------------------------------------------------------------------------
r5824 | ton | 2005-11-17 22:10:16 +0100 (Thu, 17 Nov 2005) | 4 lines

Fix: When inserting keys for Forcefields, used for particles systems, you
could not move the object anymore (since the ipo got executed).
Solved with copying original Object data in the Deflector Cache.

------------------------------------------------------------------------
r5823 | ton | 2005-11-17 21:55:32 +0100 (Thu, 17 Nov 2005) | 3 lines

New particle option "Unborn" and "Died" didn't work for shaded halos yet.
Thanks Chris Burt for the poke!

------------------------------------------------------------------------
r5822 | aphex | 2005-11-17 21:48:13 +0100 (Thu, 17 Nov 2005) | 3 lines

version of zlib.pyd compiled with the VC6 python projectfiles...
better safe than sorry! :)

------------------------------------------------------------------------
r5821 | jiri | 2005-11-17 21:35:03 +0100 (Thu, 17 Nov 2005) | 4 lines



 - bug fix #3380, patch provided by Ken Hughes, thanks

------------------------------------------------------------------------
r5820 | ton | 2005-11-17 21:31:18 +0100 (Thu, 17 Nov 2005) | 5 lines

Fix in Colorband: the "B-Spline" interpolation didn't extend well, when a
marker wasn't on the first or last possible position. Caused by clipping.
As bonus; added Cardinal interpolation option too, which is just that
little bit different! (Cardinal goes through the controlpoints, bspline not)

------------------------------------------------------------------------
r5818 | ton | 2005-11-17 20:34:32 +0100 (Thu, 17 Nov 2005) | 9 lines

A year-zero bug, and actually another issue with auto-handles for Ipo
curves. On sharp 'peaking' curves the handle was calculated
using both X and Y distance. This could result in overshooting.

New code only evaluates the X distance, resulting in much more moderate
sized handles.

Thanks Gabio for the demo file!

------------------------------------------------------------------------
r5817 | khughes | 2005-11-17 20:19:05 +0100 (Thu, 17 Nov 2005) | 4 lines



-- add support for new particle effects

------------------------------------------------------------------------
r5816 | khughes | 2005-11-17 20:10:40 +0100 (Thu, 17 Nov 2005) | 6 lines



-- fix small problem with Ipocurve.recalc(); recomputed handles but did not
   re-sort control points (also added reminder in BezTriple doc that script
   users need to call recalc themselves)

------------------------------------------------------------------------
r5815 | khughes | 2005-11-17 19:35:11 +0100 (Thu, 17 Nov 2005) | 8 lines



-- Fix for the "LIB ERROR: base removed" problem; BPy Object was decrementing
   us.id when objects were destroyed but not always incrementing when
   created.  The intent of modifying us.id is to make Python a "user" of the
   data so it persists even when it is deleted from Blenders UI.  The original
   commit was unintentional but Ton thought the idea was OK.

------------------------------------------------------------------------
r5814 | antont | 2005-11-17 19:26:41 +0100 (Thu, 17 Nov 2005) | 2 lines

this one bothered Basse here at Orange: NLA snap strip to frame missed snapping the end part, was just a line missing.

------------------------------------------------------------------------
r5813 | ton | 2005-11-17 19:01:07 +0100 (Thu, 17 Nov 2005) | 8 lines

One visit to studio orange, and voila a todo list!

- bug: posemode, bones were drawing names and axes even when hidden
- bug: using softbody guides actually worked on themselves, causing
  an infinite loop
- feature: when a pose/bone is completely locked for transform, a grab
  will change into rotate by default.

------------------------------------------------------------------------
r5812 | hos | 2005-11-17 15:48:11 +0100 (Thu, 17 Nov 2005) | 9 lines

Fix for bug #3414 provided by Lewis Saunders.

It appears that removing the 'int level' field from the
MemHead struct caused alignment issues for gcc builds of blender
on Irix (zr, who removed this field, commented that this problem
might occur, and sure enough it did happen). I've renamed the
field from 'level' to 'pad' to reflect that it has no meaning
beyond addressing alignment issues.

------------------------------------------------------------------------
r5811 | ton | 2005-11-17 13:24:29 +0100 (Thu, 17 Nov 2005) | 3 lines

Bug in SoftBody for Curve/Surface: in some cases the edge spring array was
not initialized, like when adding a SoftBody to Object in EditMode.

------------------------------------------------------------------------
r5810 | ton | 2005-11-17 12:40:57 +0100 (Thu, 17 Nov 2005) | 21 lines

Another Orange sneak-in feature: SoftBody support for Curves & Surfaces.

Well, it already worked a bit, but without weight options or edge
stiffness. You now can set the weights using the "Properties" Panel in
the 3D Window (allows multiple selections too) or with Wkey in Edit Mode.
Bezier curves have this too.

NOTE: Lattice SoftBody Goal created yesterday won't work anymore!
I've had to recode weight support for Nurbs Points, using a new weight
variable... this because the existing W variable was in use for Nurbs
already. Also Lattices have this new Weight variable, so the code is nice
uniform. Sorry for the artists who already created complex Lattices... :)

NOTE2: Surface Objects don't support edge stiffness yet

NOTE3: I've removed ancient screen coordinates from the Bezier struct,
which makes - even with added weight and padding - the struct smaller!

Demo file:
http://download.blender.org/demo/test/2.40/softbody_curve_lattice.blend

------------------------------------------------------------------------
r5809 | khughes | 2005-11-17 03:25:32 +0100 (Thu, 17 Nov 2005) | 4 lines



-- fix documentation error (replace removeCurve() with delCurve())

------------------------------------------------------------------------
r5808 | blendix | 2005-11-17 02:46:43 +0100 (Thu, 17 Nov 2005) | 6 lines


Bug reported by Bassam:

Influence for "Rot" option in IK constraint didn't work correct
in some cases.

------------------------------------------------------------------------
r5807 | bjornmose | 2005-11-17 00:39:49 +0100 (Thu, 17 Nov 2005) | 2 lines

some more msvc6 magic

------------------------------------------------------------------------
r5806 | bjornmose | 2005-11-17 00:38:18 +0100 (Thu, 17 Nov 2005) | 2 lines

adding some msvc6 magic to bullet part 2

------------------------------------------------------------------------
r5805 | bjornmose | 2005-11-17 00:37:02 +0100 (Thu, 17 Nov 2005) | 2 lines

adding some msvc6 magic to bullet part 1

------------------------------------------------------------------------
r5804 | ton | 2005-11-16 22:58:49 +0100 (Wed, 16 Nov 2005) | 12 lines

Special Orange request; support for SoftBody Goal weights for Lattices.
Animating detailed clothes with softbody becomes messy, so now we'll
try it this way. :)

It simply uses the W (weight) value, as already available in each Lattice
Point. Only had to make it editable;

- NKey panel
- or press W in editmode

Further there's a minimalistic W button in the softbody Panel!

------------------------------------------------------------------------
r5803 | ton | 2005-11-16 22:03:16 +0100 (Wed, 16 Nov 2005) | 10 lines

Added stepsize option for Pose ghosting draw. Patch provided by Roland
Hess.

In a comment on maillist I already mentioned a weird 0.5 in the code,
which I added to ensure correct rounding to integer frame numbers.
With a variable step size however, this won't work properly. You could
see it in the patch, because the ghost steps were animating.... they
should remain frozen, looks much nicer then. So I've added some fmod
voodoo here.

------------------------------------------------------------------------
r5802 | khughes | 2005-11-16 20:00:47 +0100 (Wed, 16 Nov 2005) | 4 lines



-- fix bug in constant_repr() which printed the final key twice

------------------------------------------------------------------------
r5801 | ton | 2005-11-16 19:40:12 +0100 (Wed, 16 Nov 2005) | 3 lines

Mirror modifier with "do clipping" set crashed in transform when no
td->loc was set (like for crease).

------------------------------------------------------------------------
r5800 | ton | 2005-11-16 19:26:56 +0100 (Wed, 16 Nov 2005) | 6 lines

Fix for #3409

Vertex-parenting a forcefield to a softbody caused eternal loop :)
It is partially because of the timing system (=weak) but actually also
because derivedmesh calls could also not build meshes all the time!

------------------------------------------------------------------------
r5799 | ton | 2005-11-16 18:10:28 +0100 (Wed, 16 Nov 2005) | 4 lines

Error in local constraint option; the rotation correction for it was
accumulating, so constraint worked on top of previous position, giving
jumping around in cases.

------------------------------------------------------------------------
r5798 | broken | 2005-11-16 17:03:01 +0100 (Wed, 16 Nov 2005) | 2 lines

Added a slider to control camera passepartout darkness in camera edit buttons.

------------------------------------------------------------------------
r5797 | ton | 2005-11-16 15:32:57 +0100 (Wed, 16 Nov 2005) | 11 lines

New Constraint option for Pose: "Local" Copy Location/Rotation.

The locality is restricted to action or user-transform only. Or as it goes
in the code now: by setting a constraint local, it executes the constraint
before it calculates the influence of Action or user transforms.

ALso note that this works in Evil Eulerians. Meaning that when you only
want to copy the X,Y or Z compenent of a euler, it can give unpredictable
results when the other euler values are set, this because euler axis
rotations work on top of each other.

------------------------------------------------------------------------
r5796 | ton | 2005-11-15 23:39:20 +0100 (Tue, 15 Nov 2005) | 14 lines

Revision of NLA stride option.

Previously, using the "Stride Bone" tried to get that Bone motionless on
the path by correcting the internal time of the Action. This however caused
too many problems, especially with irregular walks.

The new system also tries to keep the Stride Bone motionless, but this by
moving the entire armature, and not changing the timing of the Action.
Give much nicer results. :)

To make editing Strides easier, I've added a new option in the NLA
panel to disable the path. This way you can quickly switch to editing the
action itself (keying the stride bone) and viewing the result.

------------------------------------------------------------------------
r5795 | ascotan | 2005-11-15 22:45:05 +0100 (Tue, 15 Nov 2005) | 3 lines

- point constructor
* added a constructor for the point class to mathutils

------------------------------------------------------------------------
r5794 | ascotan | 2005-11-15 22:33:29 +0100 (Tue, 15 Nov 2005) | 3 lines

* update to python docs
- the softbodies documentation was put in object.properties instead of object.object. Hello!

------------------------------------------------------------------------
r5793 | ascotan | 2005-11-15 22:14:24 +0100 (Tue, 15 Nov 2005) | 6 lines

* update to python docs
- update for the old mathutils rewrite
- update for some other methods ive added
- added explaination of wrapped data
- added a .css file for epydoc gives nice blender/python colors :?

------------------------------------------------------------------------
r5792 | khughes | 2005-11-15 17:34:25 +0100 (Tue, 15 Nov 2005) | 4 lines



-- Added OB_RECALC_OB to Object_set* methods.

------------------------------------------------------------------------
r5791 | ton | 2005-11-15 16:54:57 +0100 (Tue, 15 Nov 2005) | 4 lines

Grabbing a targetless IK bone, and ESC, accidentally didnt clear a flag,
causing targetless IK being executed on all bone moving (looked like as if
a bone couldn't be rotated/moved).

------------------------------------------------------------------------
r5790 | ton | 2005-11-14 23:21:56 +0100 (Mon, 14 Nov 2005) | 6 lines

Small fixes;

- Bone Ghost drawing now skips axes and names
- "Snap to cursor" now works for parent-less bones in PoseMode
- Prevented assigning in buttons of negative zero (was confusing)

------------------------------------------------------------------------
r5789 | ton | 2005-11-14 21:07:12 +0100 (Mon, 14 Nov 2005) | 3 lines

Keeping CVS working isn't easy! :)
Optimize for hair caused transp triangles to be not rendered OK anymore.

------------------------------------------------------------------------
r5788 | ton | 2005-11-14 20:57:51 +0100 (Mon, 14 Nov 2005) | 7 lines

Two orange reports;

- Copy Location Constraint didn't update Object when it was copying from a
  Bone
- Deleting bone in editmode, and connecting bones crashed due to evaluation
  of deformation code (only allowed for pose).

------------------------------------------------------------------------
r5787 | ton | 2005-11-14 20:00:13 +0100 (Mon, 14 Nov 2005) | 4 lines

Another optimize step for huge quantities of hair renders; now per transp
part (64 scanline pixels) it first calculates clipping for faces.
Testfiles - 1 M faces with simple render - show 2 times speedup :)

------------------------------------------------------------------------
r5786 | ton | 2005-11-14 19:14:03 +0100 (Mon, 14 Nov 2005) | 11 lines

Ztransp render has a built-in maximum for amount of faces it can render
on top of each other. Was 100, which gave noise like this in this image;
http://www.blender.org/bf/hairnew.jpg

Made it 200, which solves it for a million hair polygons;
http://www.blender.org/bf/hairnew1.jpg

Also note that hair renders go much faster and better if you insert a real
solid head in it, that will prevent hairs on the back to be inserted in the
buffers. ANd don't make the head Ztransp!

------------------------------------------------------------------------
r5785 | ton | 2005-11-14 17:29:41 +0100 (Mon, 14 Nov 2005) | 2 lines

Argh, .h file!

------------------------------------------------------------------------
r5784 | ton | 2005-11-14 17:27:48 +0100 (Mon, 14 Nov 2005) | 3 lines

New zbuffer; added check for zero sized edges in filling in with new
span buffer. caused black stripes in render...

------------------------------------------------------------------------
r5783 | ton | 2005-11-14 15:27:44 +0100 (Mon, 14 Nov 2005) | 19 lines

Strand render/zbuffering optimize recode

I've been going over the zbuf.c code, which is indeed very ancient,
with a load of old optimizing and redundant code in use.

Added more 'modern' Span support, which fills per face two arrays
with the scanline information in it. That way you can zbuffer a quad in one
run as well. It was also exactly that code that's copied all over in zbuf.c

For now, to prevent issues for the release, the 'render a quad in 1 run' is
only in use for the strand render. Tests reveil a speedup of about 33%.

Will work on this recode later... which would also result in making zbuf.c
threadsafe.

And: bugfix #3398
When using the new 'render emitter' for particles, the orco array for
particles was accidentally used by mesh too.

------------------------------------------------------------------------
r5782 | ton | 2005-11-12 17:59:38 +0100 (Sat, 12 Nov 2005) | 3 lines

Ack, second bug in same line of code! A typo again... forgot to type 0.0!
This bug caused 3d curves not to work properly as guides.

------------------------------------------------------------------------
r5781 | ton | 2005-11-12 17:22:10 +0100 (Sat, 12 Nov 2005) | 12 lines

Finished hair strand render project (well, for release), also with a good
doc;

http://www.blender3d.org/cms/Hair_Strand_Rendering.722.0.html

- added width control for strands
- made tangent (anisotropic) render an option
  (so you can render strands more solid, like metal/wood)

Also:
- ALT+A anim playback with static particles made cursor flashing

------------------------------------------------------------------------
r5780 | mikasaari | 2005-11-12 16:40:37 +0100 (Sat, 12 Nov 2005) | 5 lines

Undo for editfont fixed. Paste functionality crashed the blender
in case the paste buffer+length of text was bigger than MAXTEXT ->
fixed this, also a error is shown to the user now. editfont.c needs
still some cleaning but will discuss about this with kaito and intrr.

------------------------------------------------------------------------
r5779 | guitargeek | 2005-11-12 15:39:14 +0100 (Sat, 12 Nov 2005) | 2 lines

Removing an extra semi-colon that caused some grief

------------------------------------------------------------------------
r5778 | ton | 2005-11-12 12:58:37 +0100 (Sat, 12 Nov 2005) | 3 lines

Bugfix: when editing a Curve Guide, and deleting all but one control point,
the path code crashed.

------------------------------------------------------------------------
r5777 | ton | 2005-11-12 12:54:58 +0100 (Sat, 12 Nov 2005) | 10 lines

Hairdresser request;

"Additive" Guides. See also:
http://www.blender3d.org/cms/New_Particle_options_a.721.0.html

This Guide type uses the falloff distance to also define how much the
particle (or hair strand) goes over the path, allowing to create local
extremes, or only local particle generating or hairgrowth. Nice for
spiky haircuts!

------------------------------------------------------------------------
r5776 | ton | 2005-11-12 12:24:19 +0100 (Sat, 12 Nov 2005) | 4 lines

Eeek! The testfile i used yesterday for checking guide speedup didn't
reveil a nasty not re-initialized vector in the effector cache...
making guides not work in almost all cases :)

------------------------------------------------------------------------
r5775 | ton | 2005-11-12 11:35:14 +0100 (Sat, 12 Nov 2005) | 15 lines

Particles now are generated from subsurfed coordinates.

Note that the current default generates particles based on the original
amount of vertices and faces, this for vertex group support (which is not
subdivided with modifiers). That means that particles generated on
subsurfed faces still have minor approximation errors.

Note for DerivedMesh users; I've added a new API call:
	float *mesh_get_mapped_verts_nors(Object *ob);
Which returns an array of 2 * 3 * float size, containing the vertices and
normals, deformed and subsurfered, but only the original me->mvert amount.
Works in all non-editmode cases.

Is in use now for vertex/weight paint and particles.

------------------------------------------------------------------------
r5774 | intrr | 2005-11-12 00:10:10 +0100 (Sat, 12 Nov 2005) | 6 lines



Bjornmose's fixes for making booleans compile on MSVC 6.

Thanks!

------------------------------------------------------------------------
r5773 | ton | 2005-11-11 21:54:08 +0100 (Fri, 11 Nov 2005) | 3 lines

Inserted a line just above a variable declaration, causing MSVC to
complain :)

------------------------------------------------------------------------
r5772 | bjornmose | 2005-11-11 21:15:16 +0100 (Fri, 11 Nov 2005) | 8 lines

special service for msvc6 projects
post build step for booleans --> copy boolop.lib to lib folder _foo_/lib/windows..

enabeling bullet for GE
wants to link with _foo_/lib/windows/bullet/lib/bullet3.lib
you have to build it with continuous.dsw in exten/bullet and copy it manually there
since bullet is exten i think no automagic in place here

------------------------------------------------------------------------
r5771 | ton | 2005-11-11 20:41:58 +0100 (Fri, 11 Nov 2005) | 9 lines

Three particle fixes;

- "Disp" option allows to go back to zero, effectively disabling the entire
  particle generating.
- When parenting guides to an emitter the depgraph sees a cyclic relation,
  which caused not updating the particles correct on loading it.
- Moved creating guide Cache completely outside of the particle loop,
  should make it faster to use with large amounts of particles and objects.

------------------------------------------------------------------------
r5770 | ton | 2005-11-11 19:58:45 +0100 (Fri, 11 Nov 2005) | 6 lines

Bugfix #3372

When using the pulldown menus for exiting weightpaint, it did not free
octree tables for weightpaint, giving an error message on re-entering
weightpaint.

------------------------------------------------------------------------
r5769 | broken | 2005-11-11 18:32:37 +0100 (Fri, 11 Nov 2005) | 2 lines

Forgot something with the last one, my mistake.

------------------------------------------------------------------------
r5768 | broken | 2005-11-11 18:26:08 +0100 (Fri, 11 Nov 2005) | 3 lines

* Fixed an old, old, old problem where the top camera arrows
couldn't be seen in a side on view because they had no wireframe.

------------------------------------------------------------------------
r5767 | khughes | 2005-11-11 17:17:29 +0100 (Fri, 11 Nov 2005) | 8 lines



-- various fixes for Mesh.c:
   * add some protection against accessing MVerts/MEdges/MFaces which have
   been deleted
   * correct cut-and-paste bug in faces.delete() method
   * correct some compiler warnings

------------------------------------------------------------------------
r5766 | intrr | 2005-11-11 16:19:15 +0100 (Fri, 11 Nov 2005) | 9 lines



Fix "Copy Attributes -> Font Settings" to copy the new vars (wordspace,
underline stuff) as well.

Attempt at fixing editmode undo, but not successful. I'll create a bug-
report and assign it to Mika, because I only understand "train station"
(German saying :-) when looking at the code.

------------------------------------------------------------------------
r5765 | ton | 2005-11-11 12:42:54 +0100 (Fri, 11 Nov 2005) | 3 lines

Removal of ugly_nvidia_hack for OSX Nvidia systems. Apple has fixed this
bug in 10.4.3 now.

------------------------------------------------------------------------
r5764 | ton | 2005-11-11 11:46:26 +0100 (Fri, 11 Nov 2005) | 3 lines

Deleting Effectors (deflectors or Fields) now update particle systems and
softbody. (report #3385)

------------------------------------------------------------------------
r5763 | ton | 2005-11-11 11:23:59 +0100 (Fri, 11 Nov 2005) | 5 lines

Fix #3382

Alt+D on a Camera or Lattice did not create a linked copy. This was an
ancient convention from the dark ages (1995) still. :)

------------------------------------------------------------------------
r5762 | ton | 2005-11-11 11:14:27 +0100 (Fri, 11 Nov 2005) | 8 lines

This is the famous proverbal example of someone trying to get a 4 legged
table stable... you keep correcting leg sizes until no table is left
anymore! :)

This commit restores the displacement direction from 2.37a code, which was
negated 5 months ago to fix a change in renderconverter.c, but somehow is
not needed anymore. The regression displacement file now renders OK again.

------------------------------------------------------------------------
r5761 | ton | 2005-11-11 11:04:56 +0100 (Fri, 11 Nov 2005) | 5 lines

Bugfix #3379

Fixes in WeightPainting accidentally passed on weightpaint values for the
(color) Vertex Paint option. (Opacity for example used weightpaint setting)

------------------------------------------------------------------------
r5760 | ton | 2005-11-11 10:50:22 +0100 (Fri, 11 Nov 2005) | 5 lines

Bugfix #3370

Border select on a Meta strip in Sequencer didn't work. Seems to be a year
zero bug :)

------------------------------------------------------------------------
r5759 | erwin | 2005-11-11 06:02:14 +0100 (Fri, 11 Nov 2005) | 2 lines

fixed raysensor, hooked up a few more bullet method: force, torque etc, + 'local'. cosmetic change in physics-engine menu.

------------------------------------------------------------------------
r5758 | ton | 2005-11-10 22:39:29 +0100 (Thu, 10 Nov 2005) | 2 lines

Ack, forgot to send these files with previous commit!

------------------------------------------------------------------------
r5757 | ton | 2005-11-10 22:23:08 +0100 (Thu, 10 Nov 2005) | 5 lines

More hairdressing goodies; in the 'velocity' section of the Particle
buttons you now can add a vertexgroup to define speed (or strand length).

http://www.blender.org/bf/rt3.jpg

------------------------------------------------------------------------
r5756 | broken | 2005-11-10 21:07:17 +0100 (Thu, 10 Nov 2005) | 3 lines

* Fixed a little problem when using both F* keys and header buttons
to change buttons tabs wouldn't switch quite right.

------------------------------------------------------------------------
r5755 | ton | 2005-11-10 20:51:20 +0100 (Thu, 10 Nov 2005) | 3 lines

Bug in previous commit today; sound buttons crashed...
And: renamed "Num" to "Amount" for particle buttons.

------------------------------------------------------------------------
r5754 | ton | 2005-11-10 20:27:31 +0100 (Thu, 10 Nov 2005) | 3 lines

Fix: editing curves, which are used to guide particles, update particles
now.

------------------------------------------------------------------------
r5753 | ton | 2005-11-10 20:00:10 +0100 (Thu, 10 Nov 2005) | 6 lines

- Static particles now draw shaded too!
  http://www.blender.org/bf/rt3.jpg
  It uses Material color and specular, like for the solid faces.
- Depgraph Fix for changing object layers, should re-evaluate dependencies
- Fix for setting curves to 3D by default (on adding a Guide field)

------------------------------------------------------------------------
r5752 | antont | 2005-11-10 19:22:51 +0100 (Thu, 10 Nov 2005) | 2 lines

and the rest of the commit, sorry

------------------------------------------------------------------------
r5751 | antont | 2005-11-10 19:12:53 +0100 (Thu, 10 Nov 2005) | 2 lines

added changing the extending / extrapolation type of the IPO curves of selected actions in the action editor (to the menu - code to handle hotkey (to rise a popup) is there too but unused & untested now).

------------------------------------------------------------------------
r5750 | ton | 2005-11-10 17:55:24 +0100 (Thu, 10 Nov 2005) | 3 lines

Static particles; rotating the emittor caused an error, this due to a
missing speed vector rotation. :)

------------------------------------------------------------------------
r5749 | ton | 2005-11-10 17:01:56 +0100 (Thu, 10 Nov 2005) | 64 lines

The long awaited Particle patch from Janne Karhu

http://www.blender3d.org/cms/New_Particle_options_a.721.0.html

There's no doubt this patch had a lot of good ideas for features, and I
want to compliment Janne again for getting it all to work even!
A more careful review of the features and code did show however quite some
flaws and bugs... partially because the current particle code was very much
polluted already, but also because of the implementation lacked quality.
However, the patch was too good to reject, so I've fixed and recoded the
parts that needed it most. :)

Here's a list of of most evident changes in the patch;

- Guides support recoded. It was implemented as a true 'force field',
  checking all Curve path points for each particle to find the closest. Was
  just far too slow, and didn't support looping or bends well.
  The new implementation is fast (real time) and treats the paths as actual
  trajectory for the particle.
- Guides didn't integrate in the physics/speed system either, was added as
  exception. Now it's integrated and can be combined with other velocities
  or forces
- Use of Fields was slow code in general, made it use a Cache instead.
- The "even" distribution didn't work for Jittered sample patterns.
- The "even" or "vertexgroup" code in the main loops were badly constructed,
  giving too much cpu for a simple task. Instead of going over all faces
  many times, it now only does it once.
  Same part of the code used a lot of temporal unneeded mallocs.
- Use of DerivedMesh or Mesh was confused, didn't work for Subsurfs in all
  cases
- Support for vertex groups was slow, evaluating vertexgroups too often
- When a vertexgroup failed to read, it was wrongly handled (set to zero).
  VertexGroup support now is with a name.
- Split up the too huge build_particle() call in some parts (moving new code)
- The "texture re-timing" option failed for moving Objects. The old code used
  the convention that particles were added with increasing time steps.
  Solved by creating a object Matrix Cache.
  Also: the texture coordinates had to be corrected to become "OrCo".
- The "Disp" option only was used to draw less particles. Changed it to
  actually calculate fewer particles for 3D viewing, but render all still.
  So now it can be used to keep editing realtime.

Removed;

The "speed threshold" and "Tight" features were not copied over. This
resembled too much to feature overkill. Needs re-evaluation.
Also the "Deform" option was not added, I prefer to first check if the
current particle system really works for the Modifier system.

And:

- Added integration for particle force fields in the dependency graph
- Added TAB completion for vertexgroup names!
- Made the 'wait cursor' only appear when particles take more than 0.5 sec
- The particle jitter table order now is randomized too, giving much
  nicer emitting of particles in large faces.
- Vortex field didn't correctly use speed/forces, so it didn't work for
  collisions.
- Triangle distribution was wrong
- Removed ancient bug that applied in a *very* weird way speed and forces.
  (location changes got the half force, speed the full...???)

So much... might have forgotten some notes! :)

------------------------------------------------------------------------
r5748 | bjornmose | 2005-11-09 20:29:04 +0100 (Wed, 09 Nov 2005) | 2 lines

fixing msvc6 projects to compile again

------------------------------------------------------------------------
r5747 | bjornmose | 2005-11-09 20:27:25 +0100 (Wed, 09 Nov 2005) | 2 lines

adding msvc6 project to boolops

------------------------------------------------------------------------
r5746 | n_t | 2005-11-09 17:47:49 +0100 (Wed, 09 Nov 2005) | 2 lines

- replaced values.h by float.h/limits.h as suggested by Hos,GSR,UnNamed

------------------------------------------------------------------------
r5745 | n_t | 2005-11-09 17:30:05 +0100 (Wed, 09 Nov 2005) | 2 lines

- forgot to enable mac compile fix

------------------------------------------------------------------------
r5744 | n_t | 2005-11-09 12:10:15 +0100 (Wed, 09 Nov 2005) | 3 lines

- minor fix of snprintf defines for MSVC
- fix for 2d domains was part of the previous checking as well, btw. :)

------------------------------------------------------------------------
r5743 | n_t | 2005-11-09 08:56:26 +0100 (Wed, 09 Nov 2005) | 5 lines

- popup menu now aborts by default
- changed directory/prefix input (only 1 string instead of two, more similar to render output settings now)
- changed reading/writing of surface files
- slightly enhanced surface smoothness

------------------------------------------------------------------------
r5742 | khughes | 2005-11-09 01:38:56 +0100 (Wed, 09 Nov 2005) | 6 lines



-- When storing a mesh, allow TFaces without defined UV coordinates to use
   some default values instead of throwing an exception.  Also use only the
   first four UV coordinates supplied in the list.

------------------------------------------------------------------------
r5741 | stiv | 2005-11-08 23:11:19 +0100 (Tue, 08 Nov 2005) | 4 lines

Bugfix: #3377  Epy docs missing links

Link to sys was broken.  need to be  L{sys<Sys>} for name to match.

------------------------------------------------------------------------
r5740 | khughes | 2005-11-08 22:50:30 +0100 (Tue, 08 Nov 2005) | 15 lines



-- changes and bugfixes from Cam:
  -- calling mesh.getFromObject(obj) with mesh object now also
     copies material properties
  -- mesh.quadToTriangle() takes a parameter to duplicate both
     Ctrl-TKEY and Shift-Ctrl-TKEY actions
  -- assigning None to mesh.verts "clears" the memory allocated
     to the mesh (equivalent of Mesh.New(), but on an existing
     mesh)
  -- exception handler message for mesh.faces[i].uv = [..] more
     clear (uv attribute only accepts tuple, not list)
  -- fixed bug for meshs with deformed verts when deleting verts
     (deformed verts deleted and repacked correctly now, I think)

------------------------------------------------------------------------
r5739 | khughes | 2005-11-08 19:46:55 +0100 (Tue, 08 Nov 2005) | 5 lines



-- Previous commit using PyDict_Keys left new reference around.  Change to use
   PyDict_GetItem() instead, and clean up string manipulation.

------------------------------------------------------------------------
r5738 | antont | 2005-11-08 18:57:04 +0100 (Tue, 08 Nov 2005) | 2 lines

uh next time i read properly before commit, and not only from the nice webcvs diff..

------------------------------------------------------------------------
r5737 | antont | 2005-11-08 18:47:57 +0100 (Tue, 08 Nov 2005) | 2 lines

a little tweak to make curve handles always copy the type from the previous handle

------------------------------------------------------------------------
r5736 | ianwill | 2005-11-08 18:23:20 +0100 (Tue, 08 Nov 2005) | 5 lines

BPython docs:
  bug #3367 reported by Chris Want (thanks): ob.mat documentation was
wrong (was not updated); that attribute returns the world space matrix,
not the local one.

------------------------------------------------------------------------
r5735 | ascotan | 2005-11-08 17:27:58 +0100 (Tue, 08 Nov 2005) | 2 lines

*work around for PyDict_Contains

------------------------------------------------------------------------
r5734 | guitargeek | 2005-11-08 16:04:14 +0100 (Tue, 08 Nov 2005) | 2 lines

Make preview line not draw over hidden areas for loopcut

------------------------------------------------------------------------
r5733 | guitargeek | 2005-11-08 15:52:35 +0100 (Tue, 08 Nov 2005) | 4 lines

#3375

CutEdgeLoop now ignores hidden edges

------------------------------------------------------------------------
r5732 | intrr | 2005-11-08 13:56:32 +0100 (Tue, 08 Nov 2005) | 4 lines



Just have been told fmodf is C99, so I replaced it with fmod and casts...

------------------------------------------------------------------------
r5731 | intrr | 2005-11-08 13:53:36 +0100 (Tue, 08 Nov 2005) | 4 lines



Replaced my noble-prize worthy "float modulo" implementation with fmodf().

------------------------------------------------------------------------
r5730 | intrr | 2005-11-08 01:46:39 +0100 (Tue, 08 Nov 2005) | 9 lines



Changed my mind and made the "Strobe" value a float - this way you can get
a strobe effect synced exactly to a beat, for example, by using non-integer
values.

Is it just me, or are there recently a lot of crashes in sequencer when
using audio strips?

------------------------------------------------------------------------
r5729 | intrr | 2005-11-08 00:14:58 +0100 (Tue, 08 Nov 2005) | 4 lines



Oops, this file slipped through.

------------------------------------------------------------------------
r5728 | intrr | 2005-11-08 00:13:00 +0100 (Tue, 08 Nov 2005) | 12 lines



New 'feature' for image/movie strips: Strobe

In the NKEY flying panel, you can set "Strobe" to something other than 1
for only displaying each nth picture of the strip. You know the effect
from movies :)

(I put this into the NKEY panel rather than as a effect because effects
only affect single frames (?) while this rather has to do with the
timing... like "Reverse")

------------------------------------------------------------------------
r5727 | ascotan | 2005-11-07 21:03:32 +0100 (Mon, 07 Nov 2005) | 29 lines

*armature api for python
- don't get too excited
- allows you to get armatures from a scene
- makeEditable()/saveChanges() puts the armature into out of editmode (pythonically)
- Armature.bones is a dictionary that contains all the bones in the armature and can be iterated
- getters are available for:
name,
roll (dictionary) keys are BONESPACE, ARMATURESPACE
head (dictionary) keys are BONESPACE, ARMATURESPACE
tail (dictionary) keys are BONESPACE, ARMATURESPACE
matrix (dictionary) keys are BONESPACE, ARMATURESPACE
weight
deform_dist
subdivisions
options (list of constants)
parent
children

Setter work only in editmode. Some are not fully implemented.
Type class is embedded in the module. This means the construct is called as follows:
Blender.Armature.ArmatureType()

import Blender.Armature as Armature
arm = Armature.Get('myarm')
for name, bone in arm.bones.items():
...print name, bone, bone.matrix['ARMATURESPACE']

more documentation is forth coming. This is an alpha for this api.

------------------------------------------------------------------------
r5726 | ascotan | 2005-11-07 20:36:50 +0100 (Mon, 07 Nov 2005) | 2 lines

*change to the way constants are printed

------------------------------------------------------------------------
r5725 | ascotan | 2005-11-07 20:34:44 +0100 (Mon, 07 Nov 2005) | 3 lines

- warning fixes
* various warnings the python api is putting out

------------------------------------------------------------------------
r5724 | intrr | 2005-11-07 14:22:23 +0100 (Mon, 07 Nov 2005) | 6 lines



First part of sequencer attack:

Sequencer image preview finally supports zooming out. Yay!

------------------------------------------------------------------------
r5723 | khughes | 2005-11-07 01:22:05 +0100 (Mon, 07 Nov 2005) | 16 lines



-- Clean-up of Effect and Particle modules; since particle was the only
   remaining effect type, it didn't make much sense to leave things
   implemented in two separate files.  Changes include:
   * two bug fixes (the getChild() and getMat() methods were using floats
   instead of shorts)
   * performing clamping on input values
   * implementing attributes using tp_getset
   * merging Effect and Particle functions: the Particle module exists in
   name only, with the Particle.New() and Particle.Get() functions
   remaining for backward compatibility (they are in fact identical to
   Effect.New() and Effect.Get() functions)
   * update of doc/Effect.py (including remove all old references to wave
   and build effects)

------------------------------------------------------------------------
r5722 | khughes | 2005-11-06 23:29:49 +0100 (Sun, 06 Nov 2005) | 5 lines



-- Added Object.effects, a read-only attribute which returns a list of the
   particle effects belonging to an object (based on patch from jms)

------------------------------------------------------------------------
r5721 | ton | 2005-11-06 20:02:14 +0100 (Sun, 06 Nov 2005) | 8 lines

Bugfix #3358

Deleting a shape key object could crash, when ipowindow open and showing an
active key.

Also: patch from tracker to increase limits of buttons for background image
offset.

------------------------------------------------------------------------
r5720 | erwin | 2005-11-06 17:50:22 +0100 (Sun, 06 Nov 2005) | 2 lines

minor cleanup. Todo: Does 'testhandles' need to be called after every single ipo_insert_vert ?

------------------------------------------------------------------------
r5719 | elubie | 2005-11-06 17:32:54 +0100 (Sun, 06 Nov 2005) | 2 lines

Small fix to allow relative filenames for textfiles.

------------------------------------------------------------------------
r5718 | hos | 2005-11-05 23:20:40 +0100 (Sat, 05 Nov 2005) | 4 lines

I seem to have problems with the distinction between else and #else today.

My apologies!

------------------------------------------------------------------------
r5717 | ton | 2005-11-05 22:51:12 +0100 (Sat, 05 Nov 2005) | 5 lines

Modifier fix; new Armature modifier added sets the deform flags on.

(Note; until 2.40 release, these flags are also still in the Armature
Panel, that will disappear then)

------------------------------------------------------------------------
r5716 | ton | 2005-11-05 22:40:35 +0100 (Sat, 05 Nov 2005) | 4 lines

Another typo in ALT+C convert modifiers; it was copying data from the
wrong object, which worked until a few days ago when I fixed a bug
in add_object(). :)

------------------------------------------------------------------------
r5715 | ton | 2005-11-05 22:17:55 +0100 (Sat, 05 Nov 2005) | 6 lines

Bugfix #3249

Error in BLI_array_randomize(), an unused call in Blender until the
Build Modifier was added. It did a weird modulus I don't really grasp...
somehow that caused the bug (create a corrupt mesh). But why? Dunno...

------------------------------------------------------------------------
r5714 | hos | 2005-11-05 22:09:47 +0100 (Sat, 05 Nov 2005) | 10 lines

Use limits.h and float.h on *bsd instead of values.h.

On this subject (and thanks to GSR for research) on debian the
values.h has the following warning:

/* This interface is obsolete.  New programs should use
   <limits.h> and/or <float.h> instead of <values.h>.  */

Should values.h be used at all?

------------------------------------------------------------------------
r5713 | ton | 2005-11-05 21:02:04 +0100 (Sat, 05 Nov 2005) | 5 lines

Bugfix #3342

Target-less IK, with a hinge bone that has an offset to its parent, didn't
get applied correctly after transform.

------------------------------------------------------------------------
r5712 | broken | 2005-11-05 19:40:07 +0100 (Sat, 05 Nov 2005) | 3 lines

* 3D View menus updates. mainly just adding missing functionality
that only had hotkey access before and tweaking organisation of new stuff.

------------------------------------------------------------------------
r5711 | ton | 2005-11-05 19:23:26 +0100 (Sat, 05 Nov 2005) | 6 lines

Bugfix #3237

Selecting Edges in "Cut Away View" (ALT+B) did not work yet for wire view.
Solved it by calculating the closest coordinate for mouse to edge, and
check for that position if it's visible or not.

------------------------------------------------------------------------
r5710 | broken | 2005-11-05 18:19:20 +0100 (Sat, 05 Nov 2005) | 3 lines

I think I committed something I shouldn't have. Hopefully
this will fix compilation.

------------------------------------------------------------------------
r5709 | ton | 2005-11-05 18:14:55 +0100 (Sat, 05 Nov 2005) | 8 lines

Fix #3256

DXF: when an error message occurs during read, the main call returned
without clearing the used global vars... causing crash on calling again.

ALso: added warning when trying to assign a taper or bevel using Object
itself. (report from opengl tracker :)

------------------------------------------------------------------------
r5708 | broken | 2005-11-05 17:35:32 +0100 (Sat, 05 Nov 2005) | 7 lines

* Buttons window tab cycling
Repeated presses of the F* key to go to a buttons context will
now cycle through the sub-tabs within. For example, when at
a different buttons window context, pressing F7 twice will cycle
through to the Physics buttons tab, pressing F10 three times
will cycle through to the Sound buttons tab, etc.

------------------------------------------------------------------------
r5707 | ton | 2005-11-05 17:32:13 +0100 (Sat, 05 Nov 2005) | 11 lines

Fix #3343

Right after leaving Armature editmode, and entering posemode, the active
bone was not selected (when only the head or tip was selected). This caused
a confusing display of an active but not selected Bone... and not proper
behaviour of UI (buttons) and inserting keys.

Fix #3348

Mirror Modifier, button "Merge Limit" didn't react on left/right click.

------------------------------------------------------------------------
r5706 | ton | 2005-11-05 16:52:32 +0100 (Sat, 05 Nov 2005) | 8 lines

fix #3357

- Armature editmode, x-axis mirror edit, didn't mirror alt+s scaling of
  B-Bones

ALso: found out that alpha drawing for Envelope Bones in editmode wasn't
set properly.

------------------------------------------------------------------------
r5705 | ton | 2005-11-05 16:45:26 +0100 (Sat, 05 Nov 2005) | 4 lines

Bugfix #3355

calling "Apply deform" from toolbox, with no active object, crashed.

------------------------------------------------------------------------
r5704 | elubie | 2005-11-05 14:09:43 +0100 (Sat, 05 Nov 2005) | 5 lines

Fix for #3316: do not convert slashes in the relname in BLI_make_file_string
Also fixed signature to const char* to indicate which parameters can be changed
to make it a bit safer, because constant strings are passed into this function
and changing them caused a crash.

------------------------------------------------------------------------
r5703 | jiri | 2005-11-04 22:45:44 +0100 (Fri, 04 Nov 2005) | 5 lines



 - small optimalisation of Matt's code, Markers are copied in one loop,
   Matt, admire function BLI_addhead() ;-)

------------------------------------------------------------------------
r5702 | khughes | 2005-11-04 21:34:38 +0100 (Fri, 04 Nov 2005) | 7 lines



- JMS's patch which adds GetParticlesLoc() method.  I've modified the code
  so that it resides in the Effects module instead, with the intent of
  soon merging Effect.c and Particle.c into a single file (and somedat
  removing references to the Effects.Particle submodule)

------------------------------------------------------------------------
r5701 | ianwill | 2005-11-04 17:30:38 +0100 (Fri, 04 Nov 2005) | 2 lines

Scripts: Jean-Michel updated his rvk1 to rvk2 script (thanks); small fix in BPyRegistry module to remove empty config keys instead of causing an error

------------------------------------------------------------------------
r5700 | ton | 2005-11-04 13:38:46 +0100 (Fri, 04 Nov 2005) | 14 lines

Combined bugreport, bugfix and patch from Vidar Madsen.

He noted that static particles don't work with force fields yet, and
added a fix for it. This however didn't work for the depgraph yet, and
didn't correct the static particle's local space to world coordinates for
the fields. Nevertheless, while reviewing this small patch I thought it
would be fun to add now.

So: static particles now update realtime on forcefield relations. Warning
for potential slowdowns! Also note that work on the real particle patch
still has to be done... something I really will do, but in time. To get
particles correctly integrated in the animation system, quite some new
development has to be done still.

------------------------------------------------------------------------
r5699 | broken | 2005-11-04 12:23:22 +0100 (Fri, 04 Nov 2005) | 4 lines

Small thing, just filling a gap that we really need here -
Added duplication of markers in the timeline with Shift D
(in the frame menu too)

------------------------------------------------------------------------
r5698 | ton | 2005-11-03 22:13:20 +0100 (Thu, 03 Nov 2005) | 10 lines

Bug #3338

While using automatic IK, a pending redraw event could draw the buttons
window again, reveiling the temporal IK buttons. Using them, after grab,
caused a crash.

Also: noticed that the undo push for transform is called too early, so it
saves the state before 'special_after_trans' was called.
Also: in editmode armature, changed shift+A "Bones" in "Bone".

------------------------------------------------------------------------
r5697 | ton | 2005-11-03 21:35:49 +0100 (Thu, 03 Nov 2005) | 6 lines

Bug #3298

Unified render does not return a zbuffer, but when gauss render was used
in combination with motion-blur, a buffer was accidentally created, one
pixel to small even!

------------------------------------------------------------------------
r5696 | ascotan | 2005-11-03 21:22:29 +0100 (Thu, 03 Nov 2005) | 2 lines

Silly error string correction

------------------------------------------------------------------------
r5695 | ascotan | 2005-11-03 21:07:55 +0100 (Thu, 03 Nov 2005) | 3 lines

project file update
*Added the boolop project

------------------------------------------------------------------------
r5694 | ton | 2005-11-03 19:58:35 +0100 (Thu, 03 Nov 2005) | 6 lines

Bugfix #3288

If a Mesh was "Auto Smooth", it was drawing as smooth in editmode, and
not as smooth in Object mode. Should be consistant.
Better even would be draw autosmooth info, but that's derivedmesh magic now!

------------------------------------------------------------------------
r5693 | ton | 2005-11-03 19:43:05 +0100 (Thu, 03 Nov 2005) | 13 lines

Bugfix #3304

Actually nice feature too: when using Scene "Set" option, that scene draws
its transparent and x-ray stuff independent of the 'foreground' scene.
That means that x-ray in a set will be always over the set objects, but
stays behind the current scene.

For transparent it works the same though... meaning that solid objects from
the foreground scene will always draw over transparent from the "Set".

Note; this only is true for the 3d window, or the OpenGL render, not for
actual rendering of course.

------------------------------------------------------------------------
r5692 | ton | 2005-11-03 18:08:57 +0100 (Thu, 03 Nov 2005) | 4 lines

Fix #3330

Bone constraint to a path (follow) did not work yet...

------------------------------------------------------------------------
r5691 | ton | 2005-11-03 16:57:31 +0100 (Thu, 03 Nov 2005) | 5 lines

Fixed two small glitches in Mesh ripping (Vkey):

- loose edges got accidentally removed
- when a rip results in loose vertices, they now get removed too.

------------------------------------------------------------------------
r5690 | ton | 2005-11-03 15:51:23 +0100 (Thu, 03 Nov 2005) | 3 lines

Sticks bones, in solid view mode, didn't draw selected not in posemode...
caused by code shuffling for new IK options and ghosting draw.

------------------------------------------------------------------------
r5689 | jiri | 2005-11-03 14:07:45 +0100 (Thu, 03 Nov 2005) | 4 lines



 - damn, I forgot this in previous commit, joining should work correclty now

------------------------------------------------------------------------
r5688 | jiri | 2005-11-03 11:11:46 +0100 (Thu, 03 Nov 2005) | 5 lines



 - arrow used for visualisation of joining of screen areas is drawn on the
   other side now, I tried to fix bug submited by Nathan, can you test it?

------------------------------------------------------------------------
r5687 | khughes | 2005-11-03 01:58:41 +0100 (Thu, 03 Nov 2005) | 5 lines



-- Bugfix #3335: mesh.remDouble() accidentally performed a mesh fill also
   (missing break statement): thanks, Cam!

------------------------------------------------------------------------
r5686 | khughes | 2005-11-03 00:28:36 +0100 (Thu, 03 Nov 2005) | 5 lines



-- Bugfix 3333: BPy method ob.getEuler() was returning PyObject which wrapped
   stack-allocated data (thanks, pontus).

------------------------------------------------------------------------
r5685 | sirdude | 2005-11-02 16:59:14 +0100 (Wed, 02 Nov 2005) | 10 lines


changed:
msgfmt source -o blah
to
msgfmt -o blah source

(didn't work on my machine with the other order)

Kent

------------------------------------------------------------------------
r5684 | elubie | 2005-11-02 08:16:00 +0100 (Wed, 02 Nov 2005) | 2 lines

disabled my previous fix, because of a reported crash when constant strings are passed so testbuilds can go on. Will provide propper fix later

------------------------------------------------------------------------
r5683 | ton | 2005-11-01 23:48:07 +0100 (Tue, 01 Nov 2005) | 4 lines

#3308

Autokey didn't work for Object actions yet.

------------------------------------------------------------------------
r5682 | ton | 2005-11-01 23:15:54 +0100 (Tue, 01 Nov 2005) | 6 lines

#3315

CTRL+click in weightpaint on subsurf crashed.
Subsurf weightpaint is not finished yet... commit now only code to prevent
crashing.

------------------------------------------------------------------------
r5681 | ton | 2005-11-01 22:37:25 +0100 (Tue, 01 Nov 2005) | 4 lines

Fix #3266

Needed better DAG flush for 'do center', when linked duplis involved.

------------------------------------------------------------------------
r5680 | broken | 2005-11-01 22:28:53 +0100 (Tue, 01 Nov 2005) | 3 lines

* made 'innervert' the default subdivide type, for ui backwards
compatibility (knife tool functioning the same way etc.)

------------------------------------------------------------------------
r5679 | aphex | 2005-11-01 22:11:55 +0100 (Tue, 01 Nov 2005) | 3 lines

updated scons win32 installer script - uninstalling gives option to keep or remove
.blender/scripts folder.

------------------------------------------------------------------------
r5678 | ton | 2005-11-01 21:58:37 +0100 (Tue, 01 Nov 2005) | 4 lines

The "Pose unlock" flag accidentally could get saved in file, causing
grabbing bones not to work. Only happened sofar in 1 file... but still
annoying!

------------------------------------------------------------------------
r5677 | broken | 2005-11-01 21:55:44 +0100 (Tue, 01 Nov 2005) | 2 lines

* Alpha 2 splash, by basse and andy!

------------------------------------------------------------------------
r5676 | elubie | 2005-11-01 21:25:23 +0100 (Tue, 01 Nov 2005) | 5 lines

Fix for item #3316 : make sure that BLI_make_file_string converts all
slashes in the filenames to the system preferred direction.
Leaving unix slashes caused the error in the Python module
blender.Get('filename')

------------------------------------------------------------------------
r5675 | ianwill | 2005-11-01 20:53:03 +0100 (Tue, 01 Nov 2005) | 2 lines

I had introduced a typo in its menu name for debug here, sorry.

------------------------------------------------------------------------
r5674 | ianwill | 2005-11-01 20:50:45 +0100 (Tue, 01 Nov 2005) | 2 lines

Jean-Michel Soler's updated tex2uvbaker script (thanks), previous one was broken.

------------------------------------------------------------------------
r5673 | khughes | 2005-11-01 20:42:55 +0100 (Tue, 01 Nov 2005) | 5 lines



-- avoid some divide-by-zero errors/assertions in boolean modifiers which
   caused "Trace/BPT trap" errors (don't normalize zero-length vectors)

------------------------------------------------------------------------
r5672 | blendix | 2005-11-01 20:32:54 +0100 (Tue, 01 Nov 2005) | 5 lines



Bugfix to allow Grabbing of bones with a parent, but not connected
(was broken after targetless IK commit).

------------------------------------------------------------------------
r5671 | broken | 2005-11-01 19:39:54 +0100 (Tue, 01 Nov 2005) | 4 lines

Fix: the 'draw name in camera view' now draws the view's active
camera's name rather than the scene's, so it's not misleading
when you have unlocked 3D views. (#3324)

------------------------------------------------------------------------
r5670 | ton | 2005-11-01 13:44:30 +0100 (Tue, 01 Nov 2005) | 58 lines

Three new features:

1) Stride Bone

For walkcycles, you could already set an NLA strip to cycle over a path
based on a preset distance value. This cycling happens based on a linear
interpolation, with constant speed.
Not all cycles have a constant speed however, like hopping or jumping.
To ensure a perfect slipping-less foot contact, you now can set a Bone
in an Armature to define the stride. This "Stride Bone" then becomes a
sort-of ruler, a conveyor belt, on which the character walks. When using
the NLA "Use Path" option, it then tries to keep the Stride Bone entirely
motionless on the path, by cancelling out its motion (for the entire
Armature). This means that the animation keys for a Stride Bone have to be
exactly negative of the desired path. Only, at choice, the X,Y or Z Ipo
curve is used for this stride.

Examples:

http://www.blender.org/bf/0001_0040.avi
The top armature shows the actual Action, the bottom armature has been
parented to a Path, using the Stride Bone feature.

http://www.blender.org/bf/0001_0080.avi
Here the Stride Bone has a number of children, creating a ruler to be
used as reference while animating.

Test .blend:
http://www.blender.org/bf/motionblender1.blend

Notes:
- Note that action keys for Bones work local, based on the Bone's
  orientation as set in EditMode. Therefore, an Y translation always
  goes in the Bone's direction.
- To be able to get a "solvable" stride, the animation curve has
  to be inverse evaluated, using a Newton Raphson root solver. That
  means you can only create stride curves that keep moving forward, and
  cannot return halfway.
- Set the Stride Bone in the Editing Buttons, Bone Panel. You can set
  change the name or set the axis in the NLA Window, Strip Properties Panel.
- Files in this commit will move to the blender.org release section.

2) Armature Ghosting

In EditButtons, Armature Panel, you can set an armature to draw ghosts.
The number value denotes the amount of frames that have to be drawn extra
(for the active action!) around the current frame.
Ghosts only evaluate its own Pose, executing it's Actions, Constraints and
IK. No external dependencies are re-evaluated for it.

3) NLA/Action time control

If you click in the NLA window on the action (linked to Object), it makes
sure the Timing as drawn in the Action editor is not corrected for NLA.
If you also set the Object to "Action", this timing will be executed on the
Object as well (not NLA time).
(It's a bit confusing... will make a good doc & maybe review UI!)

------------------------------------------------------------------------
r5669 | intrr | 2005-10-31 17:46:22 +0100 (Mon, 31 Oct 2005) | 5 lines



Found a potential crash where NULL could be passed to vfont_get_data(),
here's the fix. Maybe it fixes Andy's file :)

------------------------------------------------------------------------
r5668 | intrr | 2005-10-31 17:27:47 +0100 (Mon, 31 Oct 2005) | 4 lines



Comment out debug printf

------------------------------------------------------------------------
r5667 | guitargeek | 2005-10-31 16:53:21 +0100 (Mon, 31 Oct 2005) | 2 lines

Adding Key.ipo as access to ipo data both get and set

------------------------------------------------------------------------
r5666 | khughes | 2005-10-31 16:08:01 +0100 (Mon, 31 Oct 2005) | 5 lines



-- further clean-up of mesh error handling for update and PutRaw(); add
   specific messages for different types of exception errors

------------------------------------------------------------------------
r5665 | blendix | 2005-10-31 16:01:37 +0100 (Mon, 31 Oct 2005) | 5 lines



Yet another IK offset fix, pointed out by Ton. Offset should be passed
in local bone space.

------------------------------------------------------------------------
r5664 | khughes | 2005-10-31 15:05:47 +0100 (Mon, 31 Oct 2005) | 8 lines



-- patch submitted by Johnny Matthews which lets a user get an Ipo curve by
   its adrcode in addition to its string name (shape keys don't have fixed
   or unique string names, and they are stored in the key, not the Ipo).
   This will make it easier to later use constants from dictionaries to
   access a curve.

------------------------------------------------------------------------
r5663 | broken | 2005-10-31 14:39:05 +0100 (Mon, 31 Oct 2005) | 4 lines

* Gave the Obdata to Center / Center New / Center Cursor
 tools a nice little home in the 3D View header/toolbox
 transform menu. Death to button-only actions!

------------------------------------------------------------------------
r5662 | ton | 2005-10-31 11:53:47 +0100 (Mon, 31 Oct 2005) | 2 lines

Fix: Scaling in Action Window didn't correct for NLA mapped time

------------------------------------------------------------------------
r5661 | ton | 2005-10-31 11:10:01 +0100 (Mon, 31 Oct 2005) | 3 lines

Fix: Using Hinge Bones in a chain with "Target-less IK" didn't apply the
correct rotations.

------------------------------------------------------------------------
r5660 | ton | 2005-10-31 10:41:24 +0100 (Mon, 31 Oct 2005) | 13 lines

iNew: TimeSlide in Action Window

Usage: press Tkey, and you can proportionally squeeze or stretch the
selected keys, with current mouse position as reference. Only works with
more than 3 keys selected horizontally.

I've remapped the old Tkey (ipo type) to SHIFT+T... might be temporal, I
have an idea for a cool 2D manipulator system that makes it much friendlier
to grab/scale/slide keys all in once.

Also: fix for HOME key in action editor (didn't do Pin), and removed gcc
warnings from jiri's commit in editmesh_add.c

------------------------------------------------------------------------
r5659 | khughes | 2005-10-31 05:17:29 +0100 (Mon, 31 Oct 2005) | 5 lines



-- one step closer to fixing booleans: one-line change to use new object
   instead of original object when building new mesh and mesh material list

------------------------------------------------------------------------
r5658 | guitargeek | 2005-10-31 03:52:17 +0100 (Mon, 31 Oct 2005) | 2 lines

Removed key.getChannelIpo() doc.

------------------------------------------------------------------------
r5657 | guitargeek | 2005-10-31 03:52:14 +0100 (Mon, 31 Oct 2005) | 2 lines

Removed key.getChannelIpo() since it is not proper implementation anymore.

------------------------------------------------------------------------
r5656 | ton | 2005-10-30 22:48:25 +0100 (Sun, 30 Oct 2005) | 2 lines

Fix for HOME key in Action Window. Didn't check for mapped NLA time yet.

------------------------------------------------------------------------
r5655 | ton | 2005-10-30 21:56:19 +0100 (Sun, 30 Oct 2005) | 9 lines

Two half working commits!

- Python Drivers
  In Ipo Window "transform properties" Panel, added the buttons, and the
  initial handling (now only printing text). Willian makes it work!

- Better Matrix to Eul, code submitted by Brecht. No time yet to do it
  really nice (like a Mat3ToEulCompat(mat, eul, eulc))

------------------------------------------------------------------------
r5654 | khughes | 2005-10-30 21:11:44 +0100 (Sun, 30 Oct 2005) | 4 lines



-- oops; no really, here's the fixed version

------------------------------------------------------------------------
r5653 | khughes | 2005-10-30 21:10:05 +0100 (Sun, 30 Oct 2005) | 6 lines



-- fix (I think) for "normal booleans interface (for Wkey 123 entries)";
   second selected object's mesh was being overwritten by new object's
   mesh, so new object had no empty mesh

------------------------------------------------------------------------
r5652 | aphex | 2005-10-30 20:19:38 +0100 (Sun, 30 Oct 2005) | 6 lines

A few leftover py2.3 -> py2.4 changes:

- updated python24.zip to include all required module dependancies.
- updated zlib.pyd to py24 zlib.pyd - now it opens the zip file (thanks ianwill!)
- removed whrandom module from basic_modules (deprecated in py24)

------------------------------------------------------------------------
r5651 | jiri | 2005-10-30 19:42:50 +0100 (Sun, 30 Oct 2005) | 6 lines



 - bug fix: normal of new added face is calculated without mistakes now
 - direction of face normal doesn't depend on user's view to scene anymore,
   it is influenced only by direction of face normals in nieghborhood

------------------------------------------------------------------------
r5650 | blendix | 2005-10-30 19:38:35 +0100 (Sun, 30 Oct 2005) | 5 lines



Support for adding elements in random positions in an opennl matrix.
Also some code formatting.

------------------------------------------------------------------------
r5649 | ton | 2005-10-30 19:29:40 +0100 (Sun, 30 Oct 2005) | 2 lines

Previous change to enable Shape Actions, didn't support Drivers yet.

------------------------------------------------------------------------
r5648 | khughes | 2005-10-30 19:27:24 +0100 (Sun, 30 Oct 2005) | 11 lines



-- testing a patch which lets Python initialize the site path for Blender
   (old code is just "#ifdef"-ed out for now.)

Please give this a try on all platforms and give us feedback on what you
see for your sys.path setting in Blender (run these two lines in text window)

	import sys
	print sys.path

------------------------------------------------------------------------
r5647 | ton | 2005-10-30 18:32:17 +0100 (Sun, 30 Oct 2005) | 2 lines

Mirror clipping bug; Martin used abs() which is for int! should be fabs().

------------------------------------------------------------------------
r5646 | khughes | 2005-10-30 15:34:48 +0100 (Sun, 30 Oct 2005) | 10 lines



-- fix compiler warning about return "from incompatible pointer type" when
   returning Python exceptions.  EXPP_ReturnPyObjError() always returns a
   NULL because Python expects error conditions to return a NULL pointer
   instead of an object.  Since the pointer is cast to a PyObject *, it's
   ugly to use for propagating the errors back in this case, so this fix just
   uses PyErr_SetString() to set the error and return NULL (see the body
   of EXPP_ReturnPyObjError() ).

------------------------------------------------------------------------
r5645 | ton | 2005-10-30 14:50:42 +0100 (Sun, 30 Oct 2005) | 39 lines

Two new IK features.

1) Target-less IK

If you add an IK constraint without a target set (no object or bone target),
it now can be grabbed and moved with IK, using its own Bone tip or root as
target itself. This way you can use IK for posing, without having the IK
executed while it animates or while a Pose is being solved for real IK.

After grabbing "Target-less IK", it applies the resulted motion in the
pose-channels, which then can be used to insert keypositions.

The Target-less IK bone can still be rotated without IK, also its chain
can be edited as usual.

UI: The CTRL+I menu gives this as an option too. In the 3D window it is
drawn with orangish color.

Note that IK is not resistant to non-uniform scaling yet.

2) Auto-IK

When the option "Automatic IK" is set, in Edit Buttons Armature Panel,
it creates automatic temporal Target-less IK for the Bone you grab or
translate.

The rules are:

- it only works when a single Bone is selected
- if the Bone is a root bone (no parent), it adds IK to the end of the
  chain(s)
- otherwise it adds the IK to the active Bone
- the temporal IK chain only consists of connected Bones.

This method is still a bit experimental. Maybe it should become a special
grabbing option (like SHIFT+G in Pose Mode). It also only works OK for rigs
that fit for it well... when a rig already is fully setup with IK it can't
do much good. :)

------------------------------------------------------------------------
r5644 | erwin | 2005-10-30 08:25:36 +0100 (Sun, 30 Oct 2005) | 2 lines

when recording physics keyframes, always run at a fixed framerate (not variable/real-time)

------------------------------------------------------------------------
r5643 | erwin | 2005-10-30 07:44:42 +0100 (Sun, 30 Oct 2005) | 6 lines

Minor changes in Bullet:

- on Ton's request use double versions of cos,sin,tan, sqrt etc.
just like Solid in MT_Scalar #if defined (__sun) || defined (__sun__) || defined (__sparc) || defined (__APPLE__)
- updated an url in the header of files

------------------------------------------------------------------------
r5642 | khughes | 2005-10-30 04:05:54 +0100 (Sun, 30 Oct 2005) | 6 lines



- fix issues in with Mesh_fromNMesh pointed out by Ton earlier; errors from
  Python routines should properly be propagated back to give an error as
  intended.

------------------------------------------------------------------------
r5641 | ton | 2005-10-29 23:27:07 +0200 (Sat, 29 Oct 2005) | 2 lines

SHIFT+S snap to frame for both Action and NLA window.

------------------------------------------------------------------------
r5640 | ton | 2005-10-29 22:08:25 +0200 (Sat, 29 Oct 2005) | 22 lines

New: Write Protection for transform values.

You now can set, in NKEY Transform Properties Panel, per XYZ rot/loc/size,
a protection for Transform tools to not change these values anymore.
This now works for Objects or for Bones in PoseMode.

Usage is especially for character animation, to give Bones in a Pose
defaults for rotation axes, so you don't have to worry about the correct
limitations (or setup complex IK limits).
Of course, this feature doesn't influence the animation system.

As an extra also the Transform Widgets then draw less handles. Note this
is based on the actual locked value, and depends still on Manipulator
orientation whether it can be used really.

Implementation warning: I had to remove the 'return' in the middle of the
editobject.c compatible_eul() call. It now makes nice compatible eulers
when they're simple (single axis rotations). Unfortunately there was no
note in the code why it was ever removed...

ALso: fix for crash in using Crease Transform and Mirror modifier.

------------------------------------------------------------------------
r5639 | erwin | 2005-10-29 19:54:04 +0200 (Sat, 29 Oct 2005) | 2 lines

attempt to fix a link problem by changing the link-order or ketsji/bullet

------------------------------------------------------------------------
r5638 | theeth | 2005-10-29 17:24:24 +0200 (Sat, 29 Oct 2005) | 4 lines

Mirror cliping polishing:
	- Better use of tolerance to check for elements already on seam
	- remove debug printfs

------------------------------------------------------------------------
r5637 | theeth | 2005-10-29 17:05:23 +0200 (Sat, 29 Oct 2005) | 5 lines

Mirror cliping polishing:
	- Work with multiple mirror modifiers
	- Take into accound elements already on the seam properly.
	- Use the proper mirror tolerance as limit

------------------------------------------------------------------------
r5636 | ton | 2005-10-29 16:23:43 +0200 (Sat, 29 Oct 2005) | 4 lines

Remainder todo from Shape Action recode; the drawipo.c Panel code still
was referencing Key pointers in spaceipo->from, this has to be Object *.
Thanks Johnny for the report!

------------------------------------------------------------------------
r5635 | guitargeek | 2005-10-29 15:47:41 +0200 (Sat, 29 Oct 2005) | 2 lines

fixing case issue for blender_BOP.lib  to blender_bop.lib

------------------------------------------------------------------------
r5634 | guitargeek | 2005-10-29 15:27:59 +0200 (Sat, 29 Oct 2005) | 2 lines

Adding the Sconscript file from last commit

------------------------------------------------------------------------
r5633 | guitargeek | 2005-10-29 15:26:31 +0200 (Sat, 29 Oct 2005) | 4 lines

Scons files for Boolop

also a fix in BOP_Material so that MSVC won't complain about template issues

------------------------------------------------------------------------
r5632 | theeth | 2005-10-29 14:17:44 +0200 (Sat, 29 Oct 2005) | 7 lines

*silly whistling*
See, in theory, I didn't make typos when coding.

Explanation:

iloc*loc will be negative when the sign changes between them, so we can snap if an element cross the limit.

------------------------------------------------------------------------
r5631 | theeth | 2005-10-29 14:12:12 +0200 (Sat, 29 Oct 2005) | 8 lines

Bug in Ton's mirror clipping feature.
It was assuming the real half is always on the positive, which is not true all the time (the mirror modifier doesn't make that assumption).
It incorrecly snapped everything to 0 if the half is in the negative quadrant.

Fix was to do "if (td->loc[0] * td->loc[0] < 0" instead, only snapping if the sign changed.

NOTE: this is all "in theory", as scons is broken, but I'm pretty sure the bug was real and the fix is.

------------------------------------------------------------------------
r5630 | ton | 2005-10-29 13:36:21 +0200 (Sat, 29 Oct 2005) | 4 lines

New: Mirror Modifier now has option "Do Clipping", which prevents vertices
during Transform to go through the mirror. Note that it is *only* during
transform, and ESC restores the non-clipped positions of vertices.

------------------------------------------------------------------------
r5629 | ton | 2005-10-29 12:37:14 +0200 (Sat, 29 Oct 2005) | 3 lines

ColorBand editing suggestion from Andy; CTRL+click inserts a new 'key' in
the ColorBand, with color/alpha as defined by that position.

------------------------------------------------------------------------
r5628 | ton | 2005-10-29 12:15:36 +0200 (Sat, 29 Oct 2005) | 24 lines

Orange's buglist!

- Action Editor: hotkeys V and H for handles were invisible, added menus
- NLA strips: when current frame is exactly on the strip end, it didn't
  include that action... needs a rounding correction for it.
- Action/NLA: deleting keys in Action, which results in only 1 key left,
  resulted in zero sized strip length. Now the strips are defaulted to be
  1 frame in size minimal.
- NLA editor: ALT+C "Convert to strip" didn't increment Action user count
- 3D Window: CTRL+P make parent to Bone still gave the insane menu with all
  bone names. With unified PoseMode select it can just parent to the
  active Bone. Note; this now requires the Armature to be in PoseMode to
  work.
- Rotation Constraint; the new options to only map to X,Y,Z rotation, did
  set the not mapped rotation axes to zero. These should remain unchanged.
- AutoKey optionn for Actions; should not insert action keys on ESC

And added a fix myself:

- When SHIFT+selecting a Bone in PoseMode, and the Armature was not selected
  or active yet, it doesn't extend-select/deselect the Bone anymore.
  This case is only useful when you try to add IK or Constraint, so the
  shift+selection should only activate the clicked Bone.

------------------------------------------------------------------------
r5627 | intrr | 2005-10-28 22:29:50 +0200 (Fri, 28 Oct 2005) | 8 lines



My local tree has iblender's Game engine soundsystem
(which uses SDL_mixer), one thing in nan_definitions.mk slipped
through.

My apologies :)

------------------------------------------------------------------------
r5626 | intrr | 2005-10-28 22:23:18 +0200 (Fri, 28 Oct 2005) | 6 lines



And now, the whole thing again converted to UNIX lineendings.

I hope I'm done now :)

------------------------------------------------------------------------
r5625 | intrr | 2005-10-28 22:18:56 +0200 (Fri, 28 Oct 2005) | 6 lines



(Hopefully) last part of Booleans commit.

Please update, compile (make) and test.

------------------------------------------------------------------------
r5624 | intrr | 2005-10-28 22:17:27 +0200 (Fri, 28 Oct 2005) | 4 lines



New files from new booleans

------------------------------------------------------------------------
r5623 | intrr | 2005-10-28 21:54:16 +0200 (Fri, 28 Oct 2005) | 25 lines



Somehow, most files are missing from this commit, and I have no idea why,
so there will be more files following.

Anyway: NEW BOOLEANS from Google Summer of Code (Courtesy of Marc Freixas)

Known problems:

 - Random freezes while using them as a modifier. This may not be directly
   related to modifiers though - it's maybe just the huge number of
   operations that leads to a higher probability of triggering a bug

 - Static booleans (the first 3 entries in the WKEY menu) are borked
   anyway, this is not due to this commit.

 - Errors when exiting Blender (dupli_alloc stuff), is not related to this
   commit, either.

Please test if everything works, and check the other build systems, I only
know that make works.

Also, compare the results of, say, cube-cylinder, in old and new booleans
:)

------------------------------------------------------------------------
r5622 | ton | 2005-10-28 18:49:48 +0200 (Fri, 28 Oct 2005) | 6 lines

Autocomplete for buttons that need Blender data names (ID's and Bones).

Just press TAB and it completes up to the level a match is found. If
more matches exist a menu could pop up, thats for later. Now an evening
off! :)

------------------------------------------------------------------------
r5621 | broken | 2005-10-28 17:45:32 +0200 (Fri, 28 Oct 2005) | 4 lines

Hm, last method was not so good across various colour
themes. Now the line uses a blend of the outliner theme
colours instead of being hard coded.

------------------------------------------------------------------------
r5620 | mikasaari | 2005-10-28 17:36:09 +0200 (Fri, 28 Oct 2005) | 2 lines

Fixing Bug: 3273, Removing my goto calls from font.c.

------------------------------------------------------------------------
r5619 | broken | 2005-10-28 17:25:29 +0200 (Fri, 28 Oct 2005) | 3 lines

Tiny cosmetic tweak to the outliner, making the
connecting line not so strong to see the other icons easier

------------------------------------------------------------------------
r5618 | ton | 2005-10-28 16:24:07 +0200 (Fri, 28 Oct 2005) | 3 lines

Irc reported bug by Sapir: Shape Key factor slider in Edit Buttons crashed
when no ipo window was opened. Was using an old global pointer. fixed!

------------------------------------------------------------------------
r5617 | broken | 2005-10-28 16:19:40 +0200 (Fri, 28 Oct 2005) | 9 lines

Tweaks to the camera visualisation:

We decided that the dashed lines were too much,
making the view very busy with dashed parent lines,
lamps, etc. So now the camera lines are drawn solid,
but the arrow (now triangle by andy's demand!) is drawn
outlined for inactive cameras, filled for the active
camera.

------------------------------------------------------------------------
r5616 | ton | 2005-10-28 16:19:22 +0200 (Fri, 28 Oct 2005) | 5 lines

New: use ALT+ScrollWheel to step through frames. Like for Arrow keys, it
does not cycle (not jump back to start frame on the end).

Mac users can also use Apple+ScrollWheel btw!

------------------------------------------------------------------------
r5615 | ton | 2005-10-28 15:51:08 +0200 (Fri, 28 Oct 2005) | 6 lines

Error in creating Python dict for new Mesh API.
It was calling PyModule_AddObject() with unassigned pointer. Crashed on
exit here (python 2.3.2). Weird thing was that python 2.3.5 didnt complain

CVSr ----------------------------------------------------------------------

------------------------------------------------------------------------
r5614 | ton | 2005-10-28 12:09:46 +0200 (Fri, 28 Oct 2005) | 6 lines

Fixed gcc warnings for unused var and unitialiazed vars.

NOTE: I had to fix NMesh.c, Mesh_fromNMesh(), that is a real bad
function... it was returning a Py object as a Mesh (on error).
This is still not really solved (NULL return is not handled).

------------------------------------------------------------------------
r5613 | ton | 2005-10-28 10:11:15 +0200 (Fri, 28 Oct 2005) | 16 lines

Here's another milestone: Shape Keys now can be inserted in Actions and NLA

It works like for moving Object Ipos to the Action, press the Action icon
in the header of the IpoWindow, to the left of the mode selection menu.
It then creates an Action (if not existed) and moves the Shape Ipo to the
Action, using custom channel "Shape".

Main code change was that evaluating Ipo Curves for Relative Shapes had to
be recoded, but that's pretty minor and even much cleaner. (added "curval"
in the KeyBlock struct).
That this feature can work is thanks to the full modifier/derivedmesh
recode Daniel did, can't give him enough credits! :)

Also; small fixes in Outliner, for clicking on the Ipo icon (sets the Ipo
window to show that Ipo).

------------------------------------------------------------------------
r5612 | erwin | 2005-10-28 06:48:01 +0200 (Fri, 28 Oct 2005) | 2 lines

applied patch [ #3260 ] Enable compile bullet and sumo with scons

------------------------------------------------------------------------
r5611 | khughes | 2005-10-28 00:07:43 +0200 (Fri, 28 Oct 2005) | 4 lines



- change description of AssignModes from "blah blah" to something meaningful.

------------------------------------------------------------------------
r5610 | ton | 2005-10-27 22:53:47 +0200 (Thu, 27 Oct 2005) | 4 lines

Nice one: Transform in NLA with the "Lock" feature, not only draws other
windows, but also evaluates (depgraphed) all Objects involved.
Try select all in NLA and drag around!

------------------------------------------------------------------------
r5609 | broken | 2005-10-27 21:47:01 +0200 (Thu, 27 Oct 2005) | 6 lines

A few tweaks to the old->new camera conversion code
after chatting with Ton. I've commented out the old file
title safe conversion for now, so we can actually use it in
files worked on now. Have noted to remember to
uncomment it before the new version number bump.

------------------------------------------------------------------------
r5608 | khughes | 2005-10-27 21:37:37 +0200 (Thu, 27 Oct 2005) | 16 lines



Lots of BPy Mesh additions:
- added faces.uvSel attribute: can get/set selection status of UV vertices in
  UV Editor window
- make mesh.faceUV, mesh.vertexUV and mesh.vertexColor writable: users
  can now enable/disable UV faces, vertex colors, "sticky" vertices
- fixed bug with mesh tool methods: before it would only work if an object
  linked to the mesh was selected
- added mesh.quadToTriangle() and mesh.triangleToQuad() methods
- added selected() method to verts, edges, faces; returns list of indices
  of selected items
- mesh.getFromObject() now gets derived mesh data
- ported vertex group methods from NMesh (required change to Object.c)
- ported module dictionaries from NMesh

------------------------------------------------------------------------
r5607 | ton | 2005-10-27 19:37:27 +0200 (Thu, 27 Oct 2005) | 3 lines

Bugfix: Using the "Influence" slider for Constraints popped back to the
keyed positions when an Ipo was assigned to the Constraint.

------------------------------------------------------------------------
r5606 | ton | 2005-10-27 19:09:58 +0200 (Thu, 27 Oct 2005) | 3 lines

Copy scene did not copy the markers... causing in memory errors on quit.
No real baddie, but still very good to fix!

------------------------------------------------------------------------
r5605 | khughes | 2005-10-27 19:09:20 +0200 (Thu, 27 Oct 2005) | 5 lines



- Bugfix #3271: saveRenderedImage() was corrupting memory while trying to
  build the filename (thanks for good bug report, Pablo)

------------------------------------------------------------------------
r5604 | ton | 2005-10-27 18:57:02 +0200 (Thu, 27 Oct 2005) | 2 lines

The new icon file, with the key markers for NLA and Action

------------------------------------------------------------------------
r5603 | jiri | 2005-10-27 18:54:33 +0200 (Thu, 27 Oct 2005) | 5 lines



 - bug fix: clicking at button "Flip Normals" in button window didn't
   display changes in 3dview and data wasn't added to undo stack too

------------------------------------------------------------------------
r5602 | ton | 2005-10-27 18:25:35 +0200 (Thu, 27 Oct 2005) | 19 lines

NLA & Action goodies;

-> Locked Strip length
When changing time of the animation curves in an Action, the strips in NLA
just remained the same length, causing very confusing situations.
By setting the strips to Locked (Nkey NLA window), it always updates the
strip length to make sure all keys are included, and not more. From now on
(not on old files) this is the default strip method.

-> ALT+C clear size
This menu has 2 options, the first clears the size, the 2nd remaps the
action (only when you didnt use the new Lock feature).
Both options are in the Pulldown menu too

-> Key drawing
The weird beveled button in Action/NLA didn't accurately show what time it
was actually on. I've replaced it with an Icon now, diamond shaped, in a
design derived from the TimeLine markers.

------------------------------------------------------------------------
r5601 | jiri | 2005-10-27 17:19:57 +0200 (Thu, 27 Oct 2005) | 8 lines



 When you add new face with F key, then blender set up smoothness due to
 smoothness of faces in neighbourhood. It tries to set up normal of new
 face due to normals of faces in neigbourhood too.

 btw: this coding was inspired by andy's tutorial at conf in Amsterdam.

------------------------------------------------------------------------
r5600 | ton | 2005-10-27 16:12:16 +0200 (Thu, 27 Oct 2005) | 2 lines

Another missing .h file for fix for screen handlers

------------------------------------------------------------------------
r5599 | ton | 2005-10-27 16:11:25 +0200 (Thu, 27 Oct 2005) | 2 lines

Missing include for screen handlers (had to move to kernel level)

------------------------------------------------------------------------
r5598 | ton | 2005-10-27 15:56:41 +0200 (Thu, 27 Oct 2005) | 10 lines

This is a bit a patch... unforseen issue with the new Screen Handlers.
(Screen handler is used now to trigger animated screen).

When files get saved with Verse_Blender, it has the verse handler set,
which causes the handler system to run without a means to disable it with
release versions of Blender. This patch disables the Verse Handler to be
set on reading files.

Jiri; you will have to uncomment this code when you sync it with your tree!

------------------------------------------------------------------------
r5597 | ton | 2005-10-27 15:02:34 +0200 (Thu, 27 Oct 2005) | 3 lines

CTRL+I, pose mode, added accidentally a location constraint, when having 2
Bones selected.

------------------------------------------------------------------------
r5596 | broken | 2005-10-27 13:28:43 +0200 (Thu, 27 Oct 2005) | 23 lines

Camera visualisation changes and features (from tuho)

* Made the in-camera view dashed border lines less jarring
and disturbing. We will give it some testing here, feedback
is welcome.
* Showing the title safe zone is now an option in the
camera edit buttons. It's not very useful if you're not
making stuff for video/broadcast so you can turn it off.
* Passepartout is now a flag per camera, rather than per
scene. It never really belonged in the render buttons or as
Scene data, though it could be up for debate whether it's
better as camera data or view data (i.e. in the view
properties panel). Old files get converted over nicely with
this so if you had passepartout on before, it stays on the
cameras.
* Added an option to show the current camera's name at
the bottom of the in-camera view, to help keep track of
which one you're seeing when using multiple cameras.
* In the 3D View (non-camera view) the active camera is
drawn with a solid line as before, while non-active
cameras are drawn with a dashed line, to help visualise
which one is active.

------------------------------------------------------------------------
r5595 | intrr | 2005-10-27 12:01:11 +0200 (Thu, 27 Oct 2005) | 8 lines



I hope this commit finally fixes loading of .blend files with text objects
that had been converted to curve with ALT-C.

Should fix bugs 2973 and 3269. Thanks Ken Hughes for a pointer into the
right direction.

------------------------------------------------------------------------
r5594 | ton | 2005-10-26 23:13:00 +0200 (Wed, 26 Oct 2005) | 10 lines

More Orange NLA/Action fixes;

- NLA: Hotkey ALT+S resets (synchs) action start/end in selected Strips
- NLA: Panel for Strips allow setting negative "Action start"
- NLA: When transforming strips, the selected keys for that action don't
  get included (caused weird errors)
- Action: cleanup of drawing horizontal bars.
- Action: Pulldown menu option "Lock time" was in different location than
  for the other pulldowns

------------------------------------------------------------------------
r5593 | ton | 2005-10-26 22:02:31 +0200 (Wed, 26 Oct 2005) | 6 lines

Orange bugreport:

The new "lock time" option for ipo/action/nla/time/sound windows did not
work proper... it could accidentally activate other windows, confusing the
2d settings.

------------------------------------------------------------------------
r5592 | ton | 2005-10-26 21:42:32 +0200 (Wed, 26 Oct 2005) | 4 lines

Orange bugfix;

Border select in Action window didn't get corrected for NLA time.

------------------------------------------------------------------------
r5591 | ton | 2005-10-26 21:34:32 +0200 (Wed, 26 Oct 2005) | 7 lines

Orange bugfixes in NLA editor;

- ALT+C "convert action into strip" didn't calculate the mouse position
  correct. Also changed menu a bit to tell which action it makes a strip
- Select action strips  now activates Object too
- Icons in Object 'row' (denoting NLA override or not) now draw blended

------------------------------------------------------------------------
r5590 | ton | 2005-10-26 21:00:40 +0200 (Wed, 26 Oct 2005) | 3 lines

Default openGL material had a tiny ambient set, causing black to be not
black really! :)

------------------------------------------------------------------------
r5589 | ton | 2005-10-26 20:48:53 +0200 (Wed, 26 Oct 2005) | 3 lines

Fix for vertex/weight paint, so it evaluates the subsurfed vertices for
applying paint. (Until now it used non-subsurfed vertices).

------------------------------------------------------------------------
r5588 | khughes | 2005-10-26 19:36:02 +0200 (Wed, 26 Oct 2005) | 5 lines



- make getMeshDerivedMesh() initialize flag setting for new vertices (needed
  for BPy Mesh to get derived mesh data)

------------------------------------------------------------------------
r5587 | khughes | 2005-10-26 19:33:31 +0200 (Wed, 26 Oct 2005) | 11 lines



-Bugfix #3207: ALT-C on a mesh with modifiers would cause memory corruption.
   We make a copy of the mesh and perform operations on the new object using
   mesh_create_derived_no_deform() for the new object instead of the
   original.

   Would be really nice if Daniel would look this over to see if it's really
   fixed, or if I've just moved the problem somewhere else. :-)  I'm leaving
   the bug report open until the fixed is verified.

------------------------------------------------------------------------
r5586 | guitargeek | 2005-10-26 18:30:50 +0200 (Wed, 26 Oct 2005) | 8 lines

Python API Additions

New
Ipo Drivers access in IpoCurve
key.getChannelIpo(index) returns the ipocurve of a given shape index

Docs included for usage :)

------------------------------------------------------------------------
r5585 | broken | 2005-10-26 15:43:55 +0200 (Wed, 26 Oct 2005) | 8 lines

* fixed a problem where you couldn't select a timeline
marker on a frame < 0. Weirdly enough, it seemed to be
deliberate, with the line:
if(cfra < MINFRAME) cfra= MINFRAME; )

I removed this, but if whoever wrote it has a good
reason why it should be there, please let me know!

------------------------------------------------------------------------
r5584 | n_t | 2005-10-26 14:07:51 +0200 (Wed, 26 Oct 2005) | 6 lines

- hopefully fixed osx compilation by forcing compilation
  with a single file again (intern/elbeem/intern/solver_main.cpp
	includes intern/elbeem/intern/solver_init.cpp and
	intern/elbeem/intern/solver_util.cpp when __APPLE_CC__ is defined)
- minor cleanup of inlined functions

------------------------------------------------------------------------
r5583 | ton | 2005-10-26 12:49:19 +0200 (Wed, 26 Oct 2005) | 4 lines

Disabled CrazySpace when 'proportional edit' is on... I discovered both use
the eve->vn pointer to store temporal data. Need a better solution, do it
later. This just prevents crashing!

------------------------------------------------------------------------
r5582 | ton | 2005-10-26 11:56:52 +0200 (Wed, 26 Oct 2005) | 36 lines

New: CrazySpace [tm] correction

When Modifiers are used in Edit Mode to show the deformed result for
editing, all actual coordinates Blender works with are still the ones from
the original Cage. You can notice that with the Transform Widget or
helper lines while transforming.

Even worse, the actual transformations still happened on the original Cage
as well, making it very hard to edit. That caused the feature to be named
"CrazySpace" (baptized by Andy, afaik?).

This commit calculates the deformation transformation per vertex, and
inverse corrects it, so it's more intuitive editing this way.

Unfortunately all the deformation features of Blender don't use matrices
for defining deform, so the existing code cannot be re-used to retrieve
the correct deformation matrix per vertex. The solution I found is based
on calculating per face the transformation based on its first 3 vertices,
and store this transformation averaged in the face's vertices.
The solution can also only work on entire faces, because the full deform
can only be retrieved using 3 vertices. (using 2 vertices will miss edge-
aligned rotation, using 1 vertex can only retrieve translation).

By deriving the deformations per face, small errors will still happen,
especially on very low-poly Meshes with extreme deformations.

The only alternative I know now, is providing each vertex in
a mesh with 2 extreme small tangent vectors, which get deformed using the
existing code as well. That will mess up the existing deformation code too
much though, this solution has the benefit it works with each deform we can
up with later too.

Last note about CrazySpace: it can only be used to tweak Meshes. Do not
even try to add vertices, extrude, or duplicate. Probably we should disable
this... but preventing user errors isn't always power-user-friendly, eh. :)

------------------------------------------------------------------------
r5581 | khughes | 2005-10-26 02:54:53 +0200 (Wed, 26 Oct 2005) | 2 lines

fix access of pointer before its assigned

------------------------------------------------------------------------
r5580 | elubie | 2005-10-25 22:19:31 +0200 (Tue, 25 Oct 2005) | 5 lines

FIX: BLI_makestringcode called with bad pointer mainl->curlib
Moved call to before blo_join_main where pointer gets killed.
Otherwise Blender crashed when appending a file and selecting
relative filenames.

------------------------------------------------------------------------
r5579 | ton | 2005-10-25 21:40:13 +0200 (Tue, 25 Oct 2005) | 5 lines

Bugfix #3231

Constraint Ipos didnt work when the bone/channel had no Action Ipo...
just had to move a line of code. :)

------------------------------------------------------------------------
r5578 | ton | 2005-10-25 21:13:04 +0200 (Tue, 25 Oct 2005) | 5 lines

New; Rotation Constraint allows to only copy X,Y,Z axis rotations.

Note this is based on eulers, so might give the common issues. :)
For most cases it goes fine though, especially with only 1 axis constraint.

------------------------------------------------------------------------
r5577 | ton | 2005-10-25 20:48:18 +0200 (Tue, 25 Oct 2005) | 5 lines

Bugfix #3232

When a file was loaded with curves in invisible layers, the displists
were not created.

------------------------------------------------------------------------
r5576 | ton | 2005-10-25 20:22:34 +0200 (Tue, 25 Oct 2005) | 6 lines

Bugfix; appending with using relative paths made all dynamic links from
other libraries local.

Also added some securities in the temporal 'sync pose' testing code. It now
asks with a menu to confirm the object to be replaced too. Later more!

------------------------------------------------------------------------
r5575 | bjornmose | 2005-10-25 20:18:43 +0200 (Tue, 25 Oct 2005) | 2 lines

updated elbeem project for new / removed files

------------------------------------------------------------------------
r5574 | pidhash | 2005-10-25 20:12:27 +0200 (Tue, 25 Oct 2005) | 3 lines

getMarked return change to dict
.

------------------------------------------------------------------------
r5573 | hos | 2005-10-25 19:43:22 +0200 (Tue, 25 Oct 2005) | 7 lines

Fix for when knife tool (with path setting) is terminated with ctrl-Enter.
Also, updated the little helper line on the status bar to indicate that
terminating with ctrl-Enter leaves only the verts on the cut line
selected.

Johnny: Please review.

------------------------------------------------------------------------
r5572 | ton | 2005-10-25 17:58:51 +0200 (Tue, 25 Oct 2005) | 11 lines

First commit, for test, for using Library files for synchronizing partial
data. This functionality is going to be in Outliner, for now only use
for testing while consulting me. :)

Usage: New option in SHIFT+F1 append window, "Sync Pose". When pressed, you
can append/load an *Object* of type Armature, this then replaces its
Armature and Pose with the selected Objects. After that it deletes the
appended object.

Note: it currently appends also Objects when used in Pose Constraints...

------------------------------------------------------------------------
r5571 | ton | 2005-10-25 15:57:37 +0200 (Tue, 25 Oct 2005) | 22 lines

Subdivide recode assistance!

- Added subdivide sck upport for vertex groups
- Brought back subdivide-smooth, but it doesn't work as good as before yet,
  it used to catch an exception for subdividing the middle vertex of a quad,
  with edge-based subdivide it's not that simple. Will check later.
- made "number of cuts" a static variable, so it doesn't jump back to 2
  all the time

Coder level notes:

- removed the old subdivide code (yay, over 30k code less!)
- did some minor layout cleanups in the new code (just consistant syntax)
- removed redundant code parts, to enable smooth & vgroup subdiv
- subdivide smooth can do multiple cuts too, but i like to see that only
  as option when our smooth formula is good!

Compliment:

I think Johnny really made comprehensible design and nice code here. Was a
joy to work with. :)

------------------------------------------------------------------------
r5570 | eeshlo | 2005-10-25 11:34:24 +0200 (Tue, 25 Oct 2005) | 2 lines

forgot to remove some test code.

------------------------------------------------------------------------
r5569 | eeshlo | 2005-10-25 11:30:54 +0200 (Tue, 25 Oct 2005) | 3 lines

fix for bug #3193, winmat was not calculated properly because of
some previously uninitialized parameters.

------------------------------------------------------------------------
r5568 | n_t | 2005-10-25 10:07:52 +0200 (Tue, 25 Oct 2005) | 5 lines

Only restructured code:
- added Hos fixes
- split up solver into 3 cpp files (as suggested by jonathan)
- de-inlined function that caused gcc33 to use >1GB of memory

------------------------------------------------------------------------
r5567 | khughes | 2005-10-25 06:46:49 +0200 (Tue, 25 Oct 2005) | 5 lines



-Bugfix #3254: Ipo.addCurve() didn't check if curve already existed before
  creating (reported by Toni)

------------------------------------------------------------------------
r5566 | blendix | 2005-10-25 00:20:30 +0200 (Tue, 25 Oct 2005) | 8 lines



More bugfixing related to #3149:
Drawing of rotation limits and IK solving was wrong with pose mode
bone offsets.

Also added proper modifier stack update after uv unwrap and lscm.

------------------------------------------------------------------------
r5565 | bjornmose | 2005-10-25 00:13:32 +0200 (Tue, 25 Oct 2005) | 9 lines

cleaning up
- removed euler branch in favor for a 'better solver to come'
- removed some debug vars from lattices
- removed some garbage related to 'borrowing' collision from particles
note SB collision is completly decoupled from particle stuff to allow
: 1. SB collision targets can be 'anything evaluated by modifier stack' but won't be subsurfed (for performace reasons / possible though / see comment in code)
: 2. SB <-> SB collisions
: 3. ( 1. implies that SB collision targets may be animated, hooked,  curve deformed ,  .. ! )

------------------------------------------------------------------------
r5564 | elubie | 2005-10-24 22:52:51 +0200 (Mon, 24 Oct 2005) | 11 lines

Fix for correct handling of relative filenames.
Now relative filenames that are not below the .blend file
in the directory hierarchy can be used.

CAUTION: 
  The relative filenames are not updated if the blend file
  is moved to another dir or saved into another dir (save as)
  We will rely on the smartness of the users for this.

my first official commit - thanks Ton!

------------------------------------------------------------------------
r5563 | ton | 2005-10-24 22:47:28 +0200 (Mon, 24 Oct 2005) | 4 lines

Bugfix #3242

Ipo WIndow, "Make single user" button crashed. Forgot to recode 2 weeks ago

------------------------------------------------------------------------
r5562 | hos | 2005-10-24 22:11:16 +0200 (Mon, 24 Oct 2005) | 2 lines

Made it so that number of editmode unsteps can successfully be set to zero.

------------------------------------------------------------------------
r5561 | ton | 2005-10-24 22:03:53 +0200 (Mon, 24 Oct 2005) | 4 lines

Bugfix #3238

ALT+C on mesh without modifier crashed.

------------------------------------------------------------------------
r5560 | ton | 2005-10-24 21:22:04 +0200 (Mon, 24 Oct 2005) | 5 lines

Bugfix #3210

Included a patch by Pablo Marrol! selecting with ALT+CTRL combos
didnt check if there was actually a Mesh in editmode.

------------------------------------------------------------------------
r5559 | ton | 2005-10-24 21:13:15 +0200 (Mon, 24 Oct 2005) | 9 lines

Bugix #3200

DAG_object_flush_update() always used scene layers, causing updates to go
wrong with 3d windows with "Lock" off (allowing local layer and camera).

This fixes a larger amount of potential issues.

Also: fixed menu title for adding IK constraint to Bone (CTRL+I).

------------------------------------------------------------------------
r5558 | guitargeek | 2005-10-24 20:17:35 +0200 (Mon, 24 Oct 2005) | 4 lines

Fix for Bug #3217

Just needed to mark a few more edges.

------------------------------------------------------------------------
r5557 | broken | 2005-10-24 14:53:24 +0200 (Mon, 24 Oct 2005) | 4 lines

The handy Shift Space for maximise a window space
wasn't being too handy in the text editor, so I've disabled
it here now.

------------------------------------------------------------------------
r5556 | ton | 2005-10-24 11:00:33 +0200 (Mon, 24 Oct 2005) | 3 lines

Bugfix (based on user mailing me): In editmode, "remove doubles" crashes
when it uses subsurf display. Was missing a DAG update.

------------------------------------------------------------------------
r5555 | ton | 2005-10-23 23:36:24 +0200 (Sun, 23 Oct 2005) | 6 lines

Autohandles in Ipo Window still could overshoot. Added a new clamping to
ensure the handles never result in a curve that goes beyond the neighbour
control points.

http://www.blender.org/cms/Animation_Curve_Handle.717.0.html

------------------------------------------------------------------------
r5554 | theeth | 2005-10-23 23:34:20 +0200 (Sun, 23 Oct 2005) | 6 lines

Fixed backwardstransform.blend bug from orange dudes.
It was literally two lines of code.

This probably fixes a lot of the "constraining transform goes backward" problems.
Was a dumb oversight on my part.

------------------------------------------------------------------------
r5553 | ton | 2005-10-23 21:27:45 +0200 (Sun, 23 Oct 2005) | 2 lines

Bugfix: select Vertex Group in Outliner now updates 3d view properly.

------------------------------------------------------------------------
r5552 | ton | 2005-10-23 21:16:37 +0200 (Sun, 23 Oct 2005) | 7 lines

The ctrl+click extrude now calculates a rotation, so you can do wild quick
modeling!
It detects the rotation based on the average of all half-selected edges and
the extrude vector. The first rotation might go wrong on extruding parts
of very irregular shapes, but in general it does it fine. Of course, single
vertex clicking or entire shape clicking doesn't rotate.

------------------------------------------------------------------------
r5551 | erwin | 2005-10-23 19:55:19 +0200 (Sun, 23 Oct 2005) | 5 lines

updated SConstruct and Makefile so that if you compile the gameengine, is always enables bullet, independent of sumo/ode.
So for the 2.4 release, both bullet AND sumo will be enabled. You can choose in the world buttons which physics engine is active for a scene.

sorry if this breaks your builds!

------------------------------------------------------------------------
r5550 | ton | 2005-10-23 18:18:42 +0200 (Sun, 23 Oct 2005) | 3 lines

Removed DAG update for armature after inserting keys in pose mode.
That caused un-keyed positions to flip back.

------------------------------------------------------------------------
r5549 | ton | 2005-10-23 18:13:04 +0200 (Sun, 23 Oct 2005) | 3 lines

One Constraint function missed the new MINMAX (floor) type, caused the
last commit (add constraint menu) to fail on adding floor constraints.

------------------------------------------------------------------------
r5548 | ton | 2005-10-23 14:18:32 +0200 (Sun, 23 Oct 2005) | 20 lines

New: Hotkey/menu access in 3D window to add constraints. Works in PoseMode
as well as for Objects. Hotkey: CTRL+ALT+C (bit clumsy I know, but I like
to use the Ckey).

Constraints are added to the active Object or Bone.
Based on selection context, the menu has three versions:

Pose Mode:
  - if another bone is selected, bone becomes target
  - else if another Object is selected, Object becomes target
  - else it adds a new Empty as target
Object Mode
  - if another Object is selected: Object becomes target
  - else it adds a new Empty as target

Same works this way now for CTRL+I, "Add IK".

To be solved: ALT+C in PoseMode is "Clear Constraints", but in Object Mode
it does "Convert" still...

------------------------------------------------------------------------
r5547 | ton | 2005-10-23 13:03:51 +0200 (Sun, 23 Oct 2005) | 5 lines

Another useful tool for efficient usage of WeightPaint:

Press SHIFT+LMB, and it shows a menu with all Vertex Groups the vertices of
the indicated face has, also allowing selection of Groups.

------------------------------------------------------------------------
r5546 | ton | 2005-10-23 12:08:19 +0200 (Sun, 23 Oct 2005) | 14 lines

New: Option to show the paths of Bones over time.

In PoseMode, press Wkey or use the Pose pulldown menu. It calculates the
positions of all selected Bone end points, over the time as indicated with
the Scene start/end frame. This then is drawn as a path, with little black
dots on every frame, and a white dot on every 10 frames.

Paths are not saved in files, and not calculated automatic yet on changes.

To make this relative fast, but also reliable, I had to add a new method
in the Dependency graph system, to find exactly (and only) these parents
of an Object that influence its position. This is needed because the path
should show the actual global coordinates of the entire animation system.

------------------------------------------------------------------------
r5545 | jesterking | 2005-10-23 11:11:48 +0200 (Sun, 23 Oct 2005) | 4 lines

fixing zero-size array
(source\blender\src\editmesh_add.c(122) : error C2466: cannot allocate an array of constant size 0
warning:: ISO C forbids zero-size array `mval')

------------------------------------------------------------------------
r5544 | bjornmose | 2005-10-23 00:50:09 +0200 (Sun, 23 Oct 2005) | 5 lines

fixing most of #3096
by 'eating' contol messages
still there is an issue on how transparent/opaque floating panels should be for messages
... and i am wondering if that should move to 'regular' buttons

------------------------------------------------------------------------
r5543 | ton | 2005-10-22 21:34:31 +0200 (Sat, 22 Oct 2005) | 8 lines

Long on the wishlist!

- CTRL+click in EditMesh now extrudes selection. If no selection, it adds
  a new vertex. Try it on a full selected monkey. Fun! :)
- CTRL+click now also adds the new stuff aligned with the view, as if you
  had translated it to the mouse cursor. Only new vertices are added with
  respect to 3D cursor location.

------------------------------------------------------------------------
r5542 | ton | 2005-10-22 20:47:38 +0200 (Sat, 22 Oct 2005) | 21 lines

Various stuff in one commit;

- Added (BKE_utildefines.h) POINTER_TO_INT(poin) and INT_TO_POINTER(int)
  defines, to help fixing issues with switch to 64 bits systems. This
  assumes that a) not more than 16GB mem is used and b) that address
  space is below the 1<<35 value. The latter has to be confirmed, but it
  seems to conform the current 64 bits generation of OSs (for mallocs).

  Needless to say; use long if you want to store pointers! This is for
  temporal fixing.

- Added editmesh version for mesh-octree lookups, not used yet.

- Fix: ESC on armature posemode restored the actions, should not happen

- Fix: If in NLA an action was 0 frame long, it caused draw error

- Fix: Click on name in Action Window now activates Bones

- Fix: "Snap to" options in Armature editmode now use X-axis mirror edit.

------------------------------------------------------------------------
r5541 | ton | 2005-10-22 17:03:29 +0200 (Sat, 22 Oct 2005) | 3 lines

Autokey option crashed on Transform... was still using defines from before
the object-action-ipo-nla recode 2 weeks ago.

------------------------------------------------------------------------
r5540 | ton | 2005-10-22 16:05:25 +0200 (Sat, 22 Oct 2005) | 32 lines

New: X-axis mirror weightpainting.

- Set the button in Paint Panel, Edit buttons context
- It assumes the mesh to be near-perfectly mirrored. Current threshold is
  set to 0.0001 (maximum difference allowed).
  In order to evaluate proper mirroring, a new option will be added in
  Mesh editmode later.
- When the flipped group doesn't exist yet, it creates the group
- Of course this doesn't work for mirror modifier!

New: Select/activate flipped bone or vertex group
- Press SHIFT+F in PoseMode or WeightPaint mode to get the flipped bone.
  Is especially to see while painting if the mirror copying works OK.

New: "Apply Envelope to VertexGroup" uses X-mirror option too.

Todo; check on mirror vertex painting, and mirror Mesh editmode....

The implementation is based on a 8x8x8 Octree, where vertex locations are
stored. Vertices on the threshold boundary of an Octree node are filled in
the neighbour nodes as well, ensuring that the lookup works with threshold.
The current size of the Octree gives good speedup, even for 128k vertices
it only needs 256 lookup cycles per checked vertex.
Same code could be used for the bevel tool for example.

src/meshtools.c:
int mesh_octree_table(Object *ob, float *co, char mode)

- mode 's' or 'e' is "start octree" or "end octree"
- mode 'u' is "use", it then returns an index nr of the found vertex.
  (return -1 if not found)

------------------------------------------------------------------------
r5539 | bjornmose | 2005-10-22 00:58:12 +0200 (Sat, 22 Oct 2005) | 5 lines


-bug fixed
-symtom: looks like rigged SB mesh follows weird goal settings
-cause: arbitary initialisation of 'edge spring rest length' ... must have happend by introducing 'modifyer stacK'

------------------------------------------------------------------------
r5538 | hos | 2005-10-21 22:30:09 +0200 (Fri, 21 Oct 2005) | 5 lines

A tweak for text follow curve -- the old comment in the code says
"why not 0.5?", so I am setting it to 0.5 since it looks way
better that way (I think somebody should really revisit this code
at some point).

------------------------------------------------------------------------
r5537 | khughes | 2005-10-21 19:20:54 +0200 (Fri, 21 Oct 2005) | 7 lines



- documentation updates:
  -- add Key module to index page
  -- include cross references for Object.colbits in material descriptions
     within Object, NMesh and Mesh modules

------------------------------------------------------------------------
r5536 | guitargeek | 2005-10-21 16:51:17 +0200 (Fri, 21 Oct 2005) | 4 lines

1. Moved Edgeloop Delete to Delete Menu out of Edge Specials
2. Edgeloop Delete will pop the undo stack if it fails
3. Small Tweak on CTRL-Subdivide selection

------------------------------------------------------------------------
r5535 | khughes | 2005-10-21 15:52:44 +0200 (Fri, 21 Oct 2005) | 5 lines



- Bugfix #3227: throw exception in NMesh if face data doesn't contain 3 or
  4 vertices

------------------------------------------------------------------------
r5534 | blendix | 2005-10-21 01:36:24 +0200 (Fri, 21 Oct 2005) | 4 lines



Bugfix: #3189, #3208, UV Mirror (MKEY) didn't work.

------------------------------------------------------------------------
r5533 | blendix | 2005-10-21 01:07:43 +0200 (Fri, 21 Oct 2005) | 8 lines



Bugfix: #3149, Parent rotation influences DoF / rotation limits

The rotation of the parent of the root in an IK chain was included
in the segment's basis, leading to the DoF / rotation limits to be
computed on the wrong basis.

------------------------------------------------------------------------
r5532 | ton | 2005-10-20 23:37:57 +0200 (Thu, 20 Oct 2005) | 3 lines

Crash fix (now discovered myself!). On sampling wpaint color (ctrl+lmb),
when no vertex groups exist, it was referencing illegal memory.

------------------------------------------------------------------------
r5531 | ton | 2005-10-20 23:02:04 +0200 (Thu, 20 Oct 2005) | 6 lines

Another memory error found, when deleting bones in editmode, it didn't
correctly free constraints.

To ensure the UI not to show any deleted data, after leaving editmode it
now also redraws nla, action and ipo.

------------------------------------------------------------------------
r5530 | ton | 2005-10-20 22:38:08 +0200 (Thu, 20 Oct 2005) | 4 lines

Memory error 'end corrupt' reports for deform groups... can't find it yet,
but this code ensures the strcpy() is using BLI_strncpy now, and it uses
more clear names for the mallocs.

------------------------------------------------------------------------
r5529 | ton | 2005-10-20 21:27:47 +0200 (Thu, 20 Oct 2005) | 2 lines

Bugfix; using weightpaint changed the default lighting setup (specular).

------------------------------------------------------------------------
r5528 | ton | 2005-10-20 20:52:29 +0200 (Thu, 20 Oct 2005) | 6 lines

Curve and Lattice deform Modifiers now accept optional Vertex Group name
to finetune deform further as well.
Note that curve deform requires object buttons 'track' and 'up' axes set
properly. Curve deform can twist/flip a lot, making Vertex Group based
deform hard to set up.

------------------------------------------------------------------------
r5527 | lukep | 2005-10-20 20:05:06 +0200 (Thu, 20 Oct 2005) | 7 lines

fix for Game engine bug #1961 furnished by Josh Nimoy.

Thanks.

Although the fix is not perfect (lacks screen requisition safeguards),
it does indeed allow to run game engine fullscreen

------------------------------------------------------------------------
r5526 | ton | 2005-10-20 18:31:46 +0200 (Thu, 20 Oct 2005) | 14 lines

Another option for more Armature deform control;

The "Use VGroup" or "Use Envelope" options now are in Modifier Panel
for Armature deform.
If Modifiers are in use, they override the Armature settings for it.
(Cannot get rid of the Armature panel options yet, since Blender still
allows parenting to be deforming too, which is displayed as a Virtual
modifier now)

This now allows to - for example - make a Envelope deform on a Lattice,
and have same Armature use vertexgroups on Mesh.

Next; vertexgroup option for Lattice & Curve deform

------------------------------------------------------------------------
r5525 | khughes | 2005-10-20 17:10:43 +0200 (Thu, 20 Oct 2005) | 5 lines



- fix bug calculating number of edges to create in mesh.edges.extend()
  (thanks to guitargeek for catching)

------------------------------------------------------------------------
r5524 | ton | 2005-10-20 16:58:46 +0200 (Thu, 20 Oct 2005) | 6 lines

- Fix for Wkey menu in WeightPaint modus; it didn't work when the armature
  is a modifier only (Armature not parented to Mesh).
  Note; if multiple Modifier/Armatures work, it uses only the first still.

- Armature option 'draw axes' now scales axes to 0.25 of bone length.

------------------------------------------------------------------------
r5523 | ton | 2005-10-20 16:41:10 +0200 (Thu, 20 Oct 2005) | 9 lines

New option; "Lock Time to Other Windows" for Ipo, Action, NLA and Time
windows. If set (in View pulldown), it synchronizes the horizontal scale of
the current window with the other Windows with this option set. That way
you always have these windows showing an identical part of the time you
work on.

Also added because Action Window now displays its content relative to
NLA strips.

------------------------------------------------------------------------
r5522 | broken | 2005-10-20 12:31:02 +0200 (Thu, 20 Oct 2005) | 11 lines

Adding some simple but very convenient selection
functionality for the UV editor:

* A "Select->Pinned UVs" command (Shift P) that
selects all the visible pinned UVs
* A "Select->Border Select Pinned" tool (Shift B) that
works just like the normal border select tool, but only acts on pinned UVs

This is really useful when using LSCM, I only want to
touch the pinned UVs and then recalculate.

------------------------------------------------------------------------
r5521 | ton | 2005-10-20 12:03:27 +0200 (Thu, 20 Oct 2005) | 6 lines

UV window, without an image, now draws a nice zoom-resistant grid.
It uses the themecolor for backdrop.

The units are in powers of 4, with a minimum grid cell size of 16 pixels.
(Another Orange request!)

------------------------------------------------------------------------
r5520 | ton | 2005-10-20 10:15:02 +0200 (Thu, 20 Oct 2005) | 3 lines

Uninitialized variable, caused OSX to work, but not the other OS's!
(for Mesh rip)

------------------------------------------------------------------------
r5519 | ton | 2005-10-20 09:47:10 +0200 (Thu, 20 Oct 2005) | 10 lines

New Mesh tool: "Rip".

http://www.blender3d.org/cms/Mesh_Ripping.712.0.html

This tool allows to insert gaps/seams in a Mesh, based on the selection
(1 vertex or a row of edges) and the position of the mouse (to indicate
the part that gets grabbed). Shortcut: Vkey.

Special Orange request!

------------------------------------------------------------------------
r5518 | khughes | 2005-10-19 23:24:18 +0200 (Wed, 19 Oct 2005) | 9 lines



- New additions to Mesh module
  - new methods from NMesh (transform, getFromObject, findEdges)
  - new methods for deleting groups of verts, edges and faces
  - new methods for accessing mesh editing tools: fill, flipNormals,
    recalcNormals, remDoubles, smooth, subdivide, toSphere
- Added PVertType to Types module (not my favorite name; any suggestions?)

------------------------------------------------------------------------
r5517 | ton | 2005-10-19 13:15:36 +0200 (Wed, 19 Oct 2005) | 4 lines

Overflow was possible for vertex index numbers in deformgroups, causing
the table with bones in deform code not to work. Added a check for amount
of Bones. (Orange bug!)

------------------------------------------------------------------------
r5516 | ton | 2005-10-17 21:03:16 +0200 (Mon, 17 Oct 2005) | 7 lines

Three fixes in 1 commit; (reports 3183 3201 3203)

- added redraw of Oops/Outliner on selecting in Databrowse
- Ipo Record in ipo window had copy paste error, causing in potential mem
  errors
- Ipo Record now creates a new Ipo again

------------------------------------------------------------------------
r5515 | ton | 2005-10-17 18:57:12 +0200 (Mon, 17 Oct 2005) | 3 lines

This fixes ALT+A playback in 3d windows, with one or more windows having
unlocked (not scene) layers. Depgraph pickyness.

------------------------------------------------------------------------
r5514 | khughes | 2005-10-17 05:48:02 +0200 (Mon, 17 Oct 2005) | 6 lines



- Bugfix #3202: ipo.addCurve() created curve but didn't add to the Ipo
  (thanks, lguillaume).  I think we need much more testing of the Ipo
  module following Ton's refactoring.

------------------------------------------------------------------------
r5513 | khughes | 2005-10-16 18:39:11 +0200 (Sun, 16 Oct 2005) | 5 lines



- Bugfix #3194: calling curve.appendNurb() with any number of float param
  other than 4 or 5 caused segfault (thanks for catching, Cam)

------------------------------------------------------------------------
r5512 | khughes | 2005-10-14 19:26:57 +0200 (Fri, 14 Oct 2005) | 5 lines



- Bugfix #3127: gives Python ability to do "reload()" on Blender Text scripts
  (not really a bug, just adding a missing capability)

------------------------------------------------------------------------
r5511 | khughes | 2005-10-13 22:47:15 +0200 (Thu, 13 Oct 2005) | 6 lines



- perform typechecking before calling EXPP_check_sequence_consistency
- change experimental methods for Mesh Tools "Subdivide" and "Smooth" to
  object methods.  if compiled, you can use mesh.subdivide() and mesh.smooth()

------------------------------------------------------------------------
r5510 | aphex | 2005-10-13 22:05:00 +0200 (Thu, 13 Oct 2005) | 2 lines

too much indentation!

------------------------------------------------------------------------
r5509 | aphex | 2005-10-12 22:59:47 +0200 (Wed, 12 Oct 2005) | 2 lines

indentation got messed up!

------------------------------------------------------------------------
r5508 | aphex | 2005-10-12 22:51:00 +0200 (Wed, 12 Oct 2005) | 4 lines

last minute updates for releasing on Windows...

scons 'wininst' target fixes (py2.3 -> py2.4)

------------------------------------------------------------------------
r5507 | ton | 2005-10-12 22:36:11 +0200 (Wed, 12 Oct 2005) | 4 lines

Two very easy crash fixes, one more proper pointer check, and a check
for a division by zero. Sorry... but i can't stand such known issues to be
in an official build. :)

------------------------------------------------------------------------
r5506 | aphex | 2005-10-12 20:00:28 +0200 (Wed, 12 Oct 2005) | 2 lines

Updated built-in python modules for windows (now py 2.4).

------------------------------------------------------------------------
r5505 | djcapelis | 2005-10-12 13:55:56 +0200 (Wed, 12 Oct 2005) | 3 lines


Build system - Bug Fix/Cleanup: Moving use_fluidsim variable to platform specific section where it belongs as per ML and IRC discussion.  This allows platform maintainers some flexibility in determining what should be compiling on each system.  Right now fluidsim is set as true everywhere and there is no functional change from before.

------------------------------------------------------------------------
r5504 | khughes | 2005-10-12 01:18:53 +0200 (Wed, 12 Oct 2005) | 5 lines



- swapped MFace.flag and MFace.mode code; they were reversed (thanks, Cam)
- fixed bug in MFace_getFlags(): was accessing wrong field

------------------------------------------------------------------------
r5503 | ton | 2005-10-12 00:10:17 +0200 (Wed, 12 Oct 2005) | 10 lines

Whoa! I get what the derivedmesh is about! :P

Fixed bugreport on crashing vertex duplicators in editmode. Apparently it
was not coded with new mesh/modifier support. And now it does, quite fun!

One day picture for quick people:
http://www.blender.org/bf/rt.jpg

Daniel; could you check the commit diff below?

------------------------------------------------------------------------
r5502 | ton | 2005-10-11 23:10:49 +0200 (Tue, 11 Oct 2005) | 3 lines

Orange bugreport; Only Shadow lamp crashed on rendering preview.
Bug caused due to fix a couple of weeks ago for this kind of lamp type...

------------------------------------------------------------------------
r5501 | ton | 2005-10-11 22:47:45 +0200 (Tue, 11 Oct 2005) | 6 lines

Bugfix #3163

Materials; using "Stencil" option, didn't work properly for multiply, and
other related filters. This is a very old issue, but now I found the good
way to fix it! :)

------------------------------------------------------------------------
r5500 | ton | 2005-10-11 21:54:15 +0200 (Tue, 11 Oct 2005) | 3 lines

Almost-sure-fix for crashes after joining meshes or curves. Was caused by
not updating depsgraph, and still evaluating it.

------------------------------------------------------------------------
r5499 | sirdude | 2005-10-11 21:21:31 +0200 (Tue, 11 Oct 2005) | 6 lines



looks like the warning fix caused problems so reverting it.

Kent

------------------------------------------------------------------------
r5498 | ton | 2005-10-11 21:09:27 +0200 (Tue, 11 Oct 2005) | 10 lines

Found a crasher in editing text; load file with text, enter editmode for
it and reload. I could fix the crash quickly, but it still gives not freed
memory errors.

More important; this code is VERY BAD! Not sure who added all this *goto*
stuff, but it's not acceptable code that way... (kernel, font.c)

The hacks in editfont.c are very bad too. I really hope Alexander and/or
Mika will clean up before we officially release!

------------------------------------------------------------------------
r5497 | ianwill | 2005-10-11 21:05:56 +0200 (Tue, 11 Oct 2005) | 8 lines

Scripts updated:
- Discombobulator by Evan R and DirectX8 Exporter by Ben Omari.

BPython:
- Crashed Blender while testing discombobulator: obj.setMaterials() was not checking if the passed obj had valid obj->data. If the object had been created and not linked yet to a mesh, a crash would happen when trying to sync ob and me material lists. Now an error is returned. Also made obj.setMaterials accept an empty list, since obj.getMaterials can return that.

Thanks to the script authors for the updated versions and special thanks to Tom (LetterRip) for collecting info about updated and new scripts, sending me updates I had missed, etc.

------------------------------------------------------------------------
r5496 | sirdude | 2005-10-11 20:07:37 +0200 (Tue, 11 Oct 2005) | 16 lines



A couple of small fixes to get things working on solaris.

added #include <ieeefp.h>  similar to where its included in
other files.  (made an ifdef that matches other includes of the same
file)

solaris does a lot of type overloading so there is no expf  its just exp
so I added a #define expf exp wrapped in an ifndef

Finally, I fixed a warning in cfglexer.cpp about multiply defined
yy_wrap functions.

Kent

------------------------------------------------------------------------
r5495 | ton | 2005-10-11 18:57:55 +0200 (Tue, 11 Oct 2005) | 4 lines

Bugfix #3170

Drawing axes in Armature editmode, draw type 'envelope' didnt work.

------------------------------------------------------------------------
r5494 | ton | 2005-10-11 18:49:57 +0200 (Tue, 11 Oct 2005) | 3 lines

Another fix for the heuristic code to prevent adding overlapping faces...
(report #3167). Now hope I covered all! :)

------------------------------------------------------------------------
r5493 | khughes | 2005-10-11 17:51:27 +0200 (Tue, 11 Oct 2005) | 2 lines

- force setResolu() to update all NURBS belonging to a curve

------------------------------------------------------------------------
r5492 | ton | 2005-10-11 17:27:28 +0200 (Tue, 11 Oct 2005) | 5 lines

Bugfix #3164

Very rare; a bugreport with a fix patch! Coolness, thanks Bill Currie!
(Segfault due to using un-initialized displaylist in Boolean code)

------------------------------------------------------------------------
r5491 | stiv | 2005-10-11 17:11:39 +0200 (Tue, 11 Oct 2005) | 7 lines

Updates and corrections to the BPy doc.  Patch #2975
A large chunk of documentation goodness from Campbell Barton (ideasman).
Thanks!

Note that any mispellings, errors, or inconsistencies are due to
my ham-fisted editing.

------------------------------------------------------------------------
r5490 | khughes | 2005-10-11 16:35:43 +0200 (Tue, 11 Oct 2005) | 4 lines



-Bugfix #3174: incorrectly counting number of face vertices

------------------------------------------------------------------------
r5489 | ton | 2005-10-11 16:04:57 +0200 (Tue, 11 Oct 2005) | 11 lines

Look, in one commit!

- test build alpha splash
- version update to 239 in code
- release names are 2.40-alpha1

Note about release names; this is really an alpha still, not a release
candidate, so cannot call it 2.40-pre either.
Naming conventions is a discussion still... hope this works as a compromise
for now.

------------------------------------------------------------------------
r5488 | khughes | 2005-10-11 15:36:07 +0200 (Tue, 11 Oct 2005) | 4 lines



- Fix compiler errors under MSVC free toolkit (thanks lguillaume)

------------------------------------------------------------------------
r5487 | khughes | 2005-10-11 06:09:08 +0200 (Tue, 11 Oct 2005) | 9 lines



- added Mesh.MVert(); can now create 'thick' vertices which don't wrap mesh
- implemented slice operations (get/set) for vertex list; allows script
  writers to manipulate lists of vertices (using 'thick' vertices)
- fixed problem in mesh.faces.extend() which allowed the creation of
  "Eeekadoodle" faces
- added mesh.update() method; (possibly) temporary fix to allow updating DAG

------------------------------------------------------------------------
r5486 | ianwill | 2005-10-11 04:32:58 +0200 (Tue, 11 Oct 2005) | 8 lines

Scripts:
- updating some bundled scripts, thanks to authors Jean-Michel Soler, Campbell Barton and Anthony D'Agostino.

BPython:
- removing wrong fix from BGL.c's glDrawPixels.

note: applied guitargeek's setName patch to Blender.Key, but saw that he updated it with more functionality and assigned to stivs, so I won't commit this old version.

------------------------------------------------------------------------
r5485 | ton | 2005-10-10 23:36:37 +0200 (Mon, 10 Oct 2005) | 3 lines

Depsgraph now adds all NLA strip driver relations. This makes the demo file
on the orange.blender.org blog (controller2.blend) work with the jaw driver

------------------------------------------------------------------------
r5484 | ton | 2005-10-10 22:14:12 +0200 (Mon, 10 Oct 2005) | 8 lines

Fix request from Orange;

When using vertex weight groups to control Shapes, the vertexgroup also
worked when no IpoCurve was assigned to channel (channel defaulting to 1).

This now only works with a Pinned Shape. For relative key situations it was
not useful. :)

------------------------------------------------------------------------
r5483 | ascotan | 2005-10-10 22:13:18 +0200 (Mon, 10 Oct 2005) | 3 lines

-ProjectFile .NET update
* added IPO files to /src

------------------------------------------------------------------------
r5482 | ascotan | 2005-10-10 21:50:53 +0200 (Mon, 10 Oct 2005) | 3 lines

-Another fix for mathutils.anglebetweenvecs()
* test dot before clamping

------------------------------------------------------------------------
r5481 | ton | 2005-10-10 21:34:35 +0200 (Mon, 10 Oct 2005) | 2 lines

Added stub, so game engine player compiles again

------------------------------------------------------------------------
r5480 | ton | 2005-10-10 20:57:55 +0200 (Mon, 10 Oct 2005) | 10 lines

Ack! Recently the get_ipocurve was added in the game engine, for baking
physics. This creates very bad dependencies... tsk!

comments indicate it though;

//quick hack
//todo, before 2.38/2.40 release, Erwin

Hrms... :)

------------------------------------------------------------------------
r5479 | bjornmose | 2005-10-10 20:21:31 +0200 (Mon, 10 Oct 2005) | 2 lines

added editipo_lib.c editipo_mods.c to project

------------------------------------------------------------------------
r5478 | ton | 2005-10-10 20:05:30 +0200 (Mon, 10 Oct 2005) | 3 lines

Stupid me! Committed in wrong console with wrong dir... here's the rest of
all files for the Ipo/Action/NLA makeover...

------------------------------------------------------------------------
r5477 | ascotan | 2005-10-10 19:57:53 +0200 (Mon, 10 Oct 2005) | 3 lines

-mathutils fix
* cos takes -1 to +1

------------------------------------------------------------------------
r5476 | ton | 2005-10-10 19:55:56 +0200 (Mon, 10 Oct 2005) | 3 lines

Missing include file made file not compilable...
ALso fixed midsing bracket.

------------------------------------------------------------------------
r5475 | ton | 2005-10-10 19:42:48 +0200 (Mon, 10 Oct 2005) | 30 lines

Stage two of the giant animation recode project; Ipo/Action/NLA cleanup

-> Note; added 2 new c files (split editipo.c). MSVC needs upgrade.

Impatient people can check the goodies in CMS:
http://www.blender3d.org/cms/Action_and_NLA_editor.706.0.html

Most work was on trying to unwind the spaghetti for editing ipos. Too much
history and bad design got added here. Most evident changes:
- made generic 'context' for detecting which Ipo is being edited, or to
  assign ipos or to retrieve ipo curves.
- made generic insertkey() for all ipo types, including actions
- shuffled a lot of code around to make things more logical. Also made
  sure local functions are not exported

It is far from ready... when action/nla was added in Blender, a lot of
duplicate code was generated. That's for another time.

Now the goodies;
- made Actions to allow any Ipo type
- made NLA to define active actions, for Action window too
- corrected timing for active action, so it shows the 'real time', as
  defined in NLA editor.

I did update python code, but that would require testing. Testing is
needed for this commit in general, too many changes happened on all
levels of the animation system. :)
Will keep track of all reports this evening, hopefully it doesnt break
the pre-release schedule!

------------------------------------------------------------------------
r5474 | bjornmose | 2005-10-10 19:27:17 +0200 (Mon, 10 Oct 2005) | 2 lines

msvc6 project file suite complete again

------------------------------------------------------------------------
r5473 | ascotan | 2005-10-10 17:34:56 +0200 (Mon, 10 Oct 2005) | 3 lines

Projectfile update
* added new file to elbeem project

------------------------------------------------------------------------
r5472 | ascotan | 2005-10-10 17:28:59 +0200 (Mon, 10 Oct 2005) | 3 lines

Patch for mathutils
* fixed another issue with anglebetweenvecs

------------------------------------------------------------------------
r5471 | n_t | 2005-10-10 13:31:06 +0200 (Mon, 10 Oct 2005) | 5 lines

- minor solver fix for msvc compilation
- added pop up menues for fluid sim bake with no
  fluid objects or without valid output dir settings
- fixed 3d view redraw for fluidsim buttons

------------------------------------------------------------------------
r5470 | n_t | 2005-10-10 10:52:42 +0200 (Mon, 10 Oct 2005) | 4 lines

- fixed fluidsim inflow speed init
- fixed intersecting fluid objects init
- added MSVC6 fixes from bjornmose (thanks!)

------------------------------------------------------------------------
r5469 | n_t | 2005-10-10 08:59:47 +0200 (Mon, 10 Oct 2005) | 8 lines

- added option to switch off compiling elbeem to scons files (set USE_FLUIDSIM=true)
	in this case only the new blenderdummy.cpp and utilities.cpp have to be compiled
- restructured gui:
   * domain options split up into 2 sections
	 * added compressibility and refinement settings
	 * added inflow/outflow object types
- increased progress bar by 1

------------------------------------------------------------------------
r5468 | zuster | 2005-10-09 23:01:57 +0200 (Sun, 09 Oct 2005) | 2 lines

 - silly test inversion, thanks to Stephan Kassemeyer for noticing

------------------------------------------------------------------------
r5467 | zuster | 2005-10-09 20:47:07 +0200 (Sun, 09 Oct 2005) | 2 lines

 - bug fix, paste clipboard on windows didn't free buffer

------------------------------------------------------------------------
r5466 | zuster | 2005-10-09 20:38:40 +0200 (Sun, 09 Oct 2005) | 6 lines

 - bug fix #2940, at some point assumption that mesh_get_derived_...
   returned NULL in editmode was invalidated which caused a crash in
   particles (was freeing subsurf cache). I can't remember but hope
   that I didn't intentionally break this assumption for some
   reason. :/

------------------------------------------------------------------------
r5465 | zuster | 2005-10-09 20:18:11 +0200 (Sun, 09 Oct 2005) | 5 lines

 - bug fix for #2948, made ccgSubSurf bail (completely) when it encounters
   an inconsistent mesh. I would really like this to be corrected at some
   other stage, probably on loading, but at least things shouldn't crash
   now.

------------------------------------------------------------------------
r5464 | zuster | 2005-10-09 18:59:10 +0200 (Sun, 09 Oct 2005) | 2 lines

 o another warning fix for msvc

------------------------------------------------------------------------
r5463 | zuster | 2005-10-09 18:57:49 +0200 (Sun, 09 Oct 2005) | 2 lines

 o some warning fixes (compare of int to NULL, missing prototype)

------------------------------------------------------------------------
r5462 | bjornmose | 2005-10-09 00:40:58 +0200 (Sun, 09 Oct 2005) | 3 lines

make compiling with free ms vc7 toolkit easier
hum .. do we need that ODBC .. looks like no

------------------------------------------------------------------------
r5461 | ascotan | 2005-10-07 17:24:32 +0200 (Fri, 07 Oct 2005) | 3 lines

-fix for AngleBetweenVecs
* correctly finds zero length vectors now

------------------------------------------------------------------------
r5460 | ton | 2005-10-06 23:43:56 +0200 (Thu, 06 Oct 2005) | 4 lines

Quickly re-enabled drawing of Text object in editmode.
Simple fix... but I am in a three meeting session in Stockholm now, can
not do full tests, hope it works. :)

------------------------------------------------------------------------
r5459 | broken | 2005-10-05 15:26:54 +0200 (Wed, 05 Oct 2005) | 3 lines

* Changed the wrong toolbox menu in the last commit
*sigh*

------------------------------------------------------------------------
r5458 | broken | 2005-10-05 15:08:07 +0200 (Wed, 05 Oct 2005) | 3 lines

* Added a Select -> Inverse for object mode, available
 in the 3d view header and toolbox.

------------------------------------------------------------------------
r5457 | intrr | 2005-10-04 23:46:48 +0200 (Tue, 04 Oct 2005) | 4 lines



Missing file, must have slipped between 2 of the phone calls :)

------------------------------------------------------------------------
r5456 | intrr | 2005-10-04 23:23:19 +0200 (Tue, 04 Oct 2005) | 24 lines



Beware, coded between 10 phone calls and 20 sudden surprises, but I still
hope it's somehow usable :-)

Colourpicker update:
-------------------

1) Converted numbuts to sliders and made the colourpicker wider. Sliders
   are more useful for something like RGB and HSV because they're fixed
   range values

2) Added a hex button for entering HTML-like color (#RRGGBB, can be
   entered both with and without the hash sign).

   This should completely replace the former strange NKEY functionality
   in buttonswindows, and even add hex support for buttons which didn't
   have it before.

Please test thoroughly, I never coded something in a hurry like this.

There are small rounding errors still... Maybe someone finds the
reason? :)

------------------------------------------------------------------------
r5455 | bjornmose | 2005-10-04 22:39:31 +0200 (Tue, 04 Oct 2005) | 3 lines

added elbeem though it won't compile without modifications
thus i did not add to dependencies but still a nice reminder to build it at times

------------------------------------------------------------------------
r5454 | khughes | 2005-10-04 22:27:25 +0200 (Tue, 04 Oct 2005) | 2 lines

remove non-standard __FUNCTION__ use

------------------------------------------------------------------------
r5453 | broken | 2005-10-04 22:17:30 +0200 (Tue, 04 Oct 2005) | 5 lines

* Added from tuhopuu: icons in ok/confirmation popups
( http://mke3.net/blender/interface/controls/error_ok_icons.png )

A bit nicer and quick to visually recognise at a glance

------------------------------------------------------------------------
r5452 | ton | 2005-10-04 22:17:10 +0200 (Tue, 04 Oct 2005) | 4 lines

Drivers cannot drive channels of own Object, added error warning for it. I
might allow this once, but it's a lot of new complexities then.
It also means you cannot drive one Bone with another Bone in same Pose.

------------------------------------------------------------------------
r5451 | bjornmose | 2005-10-04 22:07:21 +0200 (Tue, 04 Oct 2005) | 2 lines

adding mesh.c .h files to project

------------------------------------------------------------------------
r5450 | guitargeek | 2005-10-04 20:50:58 +0200 (Tue, 04 Oct 2005) | 2 lines

Another little fix for non-prop edgeslide

------------------------------------------------------------------------
r5449 | ton | 2005-10-04 20:04:49 +0200 (Tue, 04 Oct 2005) | 8 lines

Added (temporal) fix for crashes with the new cool "show modifier deform in
editmode" feature. This specific fix only patches the case with armature
deformed meshes & vertex groups.

Note that while in editmode, new created vertices have no weights or
groups assigned, so the result will be unpredictable. This feature should
actually only be allowed for moving vertices around I guess...

------------------------------------------------------------------------
r5448 | ton | 2005-10-04 19:43:41 +0200 (Tue, 04 Oct 2005) | 5 lines

Bugfix #3188

Enter Vpaint or Wpaint did not redraw headers of all 3d windows, so the
mode menu indicator didn't update.

------------------------------------------------------------------------
r5447 | ton | 2005-10-04 19:40:22 +0200 (Tue, 04 Oct 2005) | 6 lines

Posemode, ALT+R,G,S didn't work always, this because SHIFT+mouse selecting
accidentally could unselect the object itself.

It can be that older saved files still show this issue, then just select
another object, and select the armature again. :)

------------------------------------------------------------------------
r5446 | ton | 2005-10-04 17:58:25 +0200 (Tue, 04 Oct 2005) | 3 lines

Small fix; browse Vertex Weight groups in Edit panel, didn't update display
of 3d object.

------------------------------------------------------------------------
r5445 | ton | 2005-10-04 17:30:51 +0200 (Tue, 04 Oct 2005) | 4 lines

Duplicate Objects updated links in drivers wrong (the new object became a
driver). Now drivers are only corrected on duplicating when the whole Ipo
got copied a well.

------------------------------------------------------------------------
r5444 | khughes | 2005-10-04 17:17:27 +0200 (Tue, 04 Oct 2005) | 9 lines



Added Mesh.New() method; can now create new meshes within the module

Changed Object.link() to allow link objects with both BPython-type meshes
Changed Object.getData() to allow retrieving both types of BPython-type meshes

Added new mesh types to Types module

------------------------------------------------------------------------
r5443 | ton | 2005-10-04 17:00:28 +0200 (Tue, 04 Oct 2005) | 13 lines

Shape Keys now can be controlled with Vertex Weight groups as well!

Just fill in the name of a Vertex group in the Shape Panel, and this
Shape will then become blended with the reference Shape.

It is useful for example for a symmetrical modeled head, make a
copy of that Shape, and use two Vertex Groups to make it asymetric.
Of course the Shapes update nicely while Weight Painting.

Also new; since the Vertex group names reside on Object level, you might
want to copy these names to the other Objects that have the same Mesh.
That's a new button "Copy to Linked" in the first Edit Panel.

------------------------------------------------------------------------
r5442 | ton | 2005-10-04 16:53:55 +0200 (Tue, 04 Oct 2005) | 3 lines

Thought I committed it before... this is the fix for Python API version
of "library append", which keeps the current .blend file name.

------------------------------------------------------------------------
r5441 | broken | 2005-10-04 16:19:29 +0200 (Tue, 04 Oct 2005) | 3 lines

* Doubled the maximum shadow buffer size limit in the shading buttons.
Now, more than ever!

------------------------------------------------------------------------
r5440 | khughes | 2005-10-04 00:06:16 +0200 (Tue, 04 Oct 2005) | 7 lines



Bugfixes for #3102, #3104

- Fix incorrect usage of PySequence_Fast_GET_ITEM()
- make EXPP_setFloatRange() convert its argument to float instead of short

------------------------------------------------------------------------
r5439 | ton | 2005-10-03 23:29:45 +0200 (Mon, 03 Oct 2005) | 4 lines

Bugfix #3137

In UV Faceselect, the button "Set vertex color" needed Mesh update flush.

------------------------------------------------------------------------
r5438 | ton | 2005-10-03 23:17:33 +0200 (Mon, 03 Oct 2005) | 5 lines

Bugfix #3141

Ending localview didn't correctly restore selection, so oops or outline
were not updated.

------------------------------------------------------------------------
r5437 | khughes | 2005-10-03 23:05:41 +0200 (Mon, 03 Oct 2005) | 7 lines



Bugfix #2650.

Calling ipo.delCurve() with a curve that's not been displayed in the
Ipo curve editor caused a segfault.

------------------------------------------------------------------------
r5436 | ton | 2005-10-03 22:53:54 +0200 (Mon, 03 Oct 2005) | 4 lines

Bugfix #3143

CTRL+click adding bones now respects X-axis mirror edit too.

------------------------------------------------------------------------
r5435 | ascotan | 2005-10-03 22:48:43 +0200 (Mon, 03 Oct 2005) | 4 lines

Update for thin mesh
*warnings fixes
*projectfile update

------------------------------------------------------------------------
r5434 | sirdude | 2005-10-03 22:24:10 +0200 (Mon, 03 Oct 2005) | 9 lines



Small code cleanups by Stephane SOPPER...


remove extra ;   and move a variable declaration to top of function.

Kent

------------------------------------------------------------------------
r5433 | ton | 2005-10-03 21:50:05 +0200 (Mon, 03 Oct 2005) | 29 lines

Brought back Outliner operations!

Since clicking on outliner items activates/selects, and not all outliner
elements allow selection (like scene, mesh, material, etc) there's another
selection method needed.

It works by leftclicking (click-drag works too) outside of the outliner
icons or texts. This allows rapid selecting, without any change in the
other windows.

Then press Wkey or RightMouse for an operations menu. Based on the
selection you get a menu with options. Currently available;

- Objects: Select/Deselect/Delete
- Materials: Unlink
- Textures: Unlink
- Bones: Select/Deselect/Hide/Unhide

Notes:
- mixed selections give an error.
- selection doesn't flush down into closed outliner items.
- selection state is persistant (saved in files), and unique per
  Outliner window, so can be used as sortof temporal grouping.

Hotkey SHIFT+A: select/deselect all open outliner items

The system can be easily expanded with a lot of interesting options, of
course.

------------------------------------------------------------------------
r5432 | ton | 2005-10-03 21:39:34 +0200 (Mon, 03 Oct 2005) | 3 lines

World AO table was freed, but a pointer not NULLed correctly, causing a
memory error on end render.

------------------------------------------------------------------------
r5431 | khughes | 2005-10-03 21:36:15 +0200 (Mon, 03 Oct 2005) | 2 lines

Added new BPython thin mesh module

------------------------------------------------------------------------
r5430 | ton | 2005-10-03 21:30:50 +0200 (Mon, 03 Oct 2005) | 5 lines

Commit I did sept 22 gave returnvalues to buttons, but that should not be
on buttons in popup menus (like postproduction settings etc)

Error was that the menu returned immediate now.

------------------------------------------------------------------------
r5429 | ianwill | 2005-10-03 21:12:11 +0200 (Mon, 03 Oct 2005) | 18 lines

BPython bug fixes:

- #2781, reported by Ed Blake: crash on undo when there were active space handlers. Space Handler script links belong to screen areas, which do not get saved on undo. Thanks Ton for pointing out the function that restores ui pointers gone bad.

- Applied patch #2822 by Ken Hughes for bug #2647 ("Setting a Face UV"), reported by Campbell Barton.

- #3022, reported by Timothy Wakeham: "Blender.BGL.glDrawPixels crashes when drawing more pixels then buffer size". Made glDrawPixels check buffer dimensions.

- #2882, reported by Campbell: crash in nmesh.getMaterials(arg == 0 or 1) when nmesh came from GetRawFromMesh(). Raw nmeshes are not linked to Blender meshes, so the method doesn't support these options (getting mat info from the actual mesh) for it.

- #2817, reported by Tod Koeckeritz: Dir_Depth var was not being decremented in BPY_Menus.c, causing dir depth limits to be reached prematurely.

- #2954, reported by Daniel Holtz: "Python scripts crash hard with valid windows paths". Blender.Load() was not meant for background mode, now it's been update to support it, using BKE_read_file instead of BIF_read_file in this case. Also found another issue with command line scripts using Blender.Load() that could crash Blender: trying to free the Text when it wasn't available anymore (loading a new .blend already removed it). There are still issues with one case, though, causing a crash on start or "Memoryblock winopen: double free" at end, when running a script that is already a Blender Text (only if the script calls Blender.Load, of course). Will investigate.

- #2897: reported by Timothy Wakeham: object.setMaterials was asking the length of a Python list w/o confirming first if the passed obj was really a list.

Thanks all for the help and for being patient (long delay, again).

------------------------------------------------------------------------
r5428 | khughes | 2005-10-03 20:23:04 +0200 (Mon, 03 Oct 2005) | 2 lines

Documentation for new Python thinmesh module

------------------------------------------------------------------------
r5427 | ton | 2005-10-03 19:10:18 +0200 (Mon, 03 Oct 2005) | 4 lines

A fix for the menu button yesterday broke something else... the menu button
should return a non existing event instead. :)
Thanks elubie for reporting!

------------------------------------------------------------------------
r5426 | ton | 2005-10-03 17:48:17 +0200 (Mon, 03 Oct 2005) | 4 lines

NLA window:
Insert a NLA strip makes it size 100 frames if the actual action is smaller
than 2 frames, otherwise you cannot even select it :)

------------------------------------------------------------------------
r5425 | broken | 2005-10-03 16:50:25 +0200 (Mon, 03 Oct 2005) | 2 lines

* Argh, committed an old version in the last one. Works now :)

------------------------------------------------------------------------
r5424 | broken | 2005-10-03 16:44:48 +0200 (Mon, 03 Oct 2005) | 2 lines

* Added copying curve resolution settings to the copy attributes (ctrl c) menu

------------------------------------------------------------------------
r5423 | ton | 2005-10-03 16:40:42 +0200 (Mon, 03 Oct 2005) | 5 lines

Adding Drivers in Actions now update live as well.

The main change is that an Action now always updates Poses  on transform,
unless you are editing the Pose itself. Please test!

------------------------------------------------------------------------
r5422 | antont | 2005-10-03 16:29:03 +0200 (Mon, 03 Oct 2005) | 2 lines

oops the doc update did not come in the prev commit

------------------------------------------------------------------------
r5421 | antont | 2005-10-03 16:28:08 +0200 (Mon, 03 Oct 2005) | 2 lines

added getting names of shapes/KeyBlocks to bpy api so mikasaari can continue with his lipsync script (where names of phonemes are as names of shapes/keyblocks).

------------------------------------------------------------------------
r5420 | ton | 2005-10-03 16:13:47 +0200 (Mon, 03 Oct 2005) | 5 lines

New! Edit mode curve now draws solid extrusions, bevelcurves and tapers.

Fix: when unlinking an Action from Armature, the ipo window still allowed
adding drivers, causing crashes.

------------------------------------------------------------------------
r5419 | ton | 2005-10-03 15:03:25 +0200 (Mon, 03 Oct 2005) | 9 lines

IpoWindow, Action curve update.

When no Ipo existed yet for an Action Channel (Bone), you could not add
curves with CTRL+click or Drivers. This was due to antique action code
state... it's still messy, no time for big cleanup here yet. At least
this works now. :)

(Also: removed test prints of previous commit)

------------------------------------------------------------------------
r5418 | ton | 2005-10-03 12:10:19 +0200 (Mon, 03 Oct 2005) | 15 lines

Bugfix #3133

- Rendering an image with Border didn't check for sizes smaller than 1
  pixel yet.

Related to this code I found 2 other fixes:

- Themecolor set for drawing in Render Window was not restored correctly,
  sometimes causing into wrong Panel (transparency) drawing.

- When rendering an image with Gauss, it now renders by default 1 pixel
  extra, which gets stripped. This eliminates the "ugly" darker border
  in images.
  (Yes, let's make Mr. PixelCounter Goralczyk happy! :)

------------------------------------------------------------------------
r5417 | ton | 2005-10-03 11:11:51 +0200 (Mon, 03 Oct 2005) | 4 lines

Bugfix #3138

Editbuttons "Centre" options didn't correctly use depgraph for linked data.

------------------------------------------------------------------------
r5416 | ton | 2005-10-03 11:04:57 +0200 (Mon, 03 Oct 2005) | 8 lines

Bugfix #3046

When using 3d window "unlocked" (own layer and own camera possible), the
dependency updates didn't work, these were only using Scene layers.

Changed the dependency graph call DAG_scene_flush_update()
to accept an argument for all visible layers in a Screen.

------------------------------------------------------------------------
r5415 | guitargeek | 2005-10-03 01:10:56 +0200 (Mon, 03 Oct 2005) | 4 lines

bug #2909

header is redrawn at the end of loopcut to fix part 2 of the bug , my previous commit fixed the first half of it :)

------------------------------------------------------------------------
r5414 | ton | 2005-10-02 23:40:57 +0200 (Sun, 02 Oct 2005) | 4 lines

Bug fix; action editor, inserting mesh keys crashed. Referencing ipo stuff.

(yes, studio orange is testing :)

------------------------------------------------------------------------
r5413 | ton | 2005-10-02 23:29:28 +0200 (Sun, 02 Oct 2005) | 2 lines

Ipowindow header: Curve menu crashed when no curve was created yet.

------------------------------------------------------------------------
r5412 | ton | 2005-10-02 23:21:05 +0200 (Sun, 02 Oct 2005) | 2 lines

Driver fix; entering a non-existant object name in driver Panel crashed.

------------------------------------------------------------------------
r5411 | bjornmose | 2005-10-02 22:57:53 +0200 (Sun, 02 Oct 2005) | 25 lines

again an intermediate solution for the msvc6 builders

added msvc6 project file for builing elbeem

NOTE: it won't build unless some spots in elbeem code are cangend

see -->
fixing elbeem to build on msvc6
http://projects.blender.org/pipermail/bf-committers/2005-September/011952.html


[quote]
And no.. i won't set up a msvc6 project for building blender_elbeem.lib
until things calmed down a bit.
[/quote]

well i did for me to continue work, why not share.

if you do *rebuild all* in this project (release mode) on success will do a
post build step which will copy blender_elbeem.lib to the lib/windows..blah folder
such that the msvc6 (blender) project will find it for happy linking.

it even #defines MSVC6 so all the above changes could be nicly hidden behind that
( my local tree does so ) but it is on Nils to decide if he wants his code to be *pested*.

------------------------------------------------------------------------
r5410 | ton | 2005-10-02 22:51:35 +0200 (Sun, 02 Oct 2005) | 79 lines

Version 1.0 of IpoDrivers.

First note that this is new functionality, unfinished, and only for
testing and feedback purposes. I'll list below what works, and what will
need work still.

This text is also in cms: http://www.blender.org/cms/Ipo_Drivers.680.0.html

An IpoDriver is like an IpoCurve, but instead of a Bezier curve, it allows
to connect a property of other Objects as input for the "channel". For
example, IpoDrivers can be used to have a Shape Key being "driven" by
the rotation of a Bone. Or the RGB colors of a Material get driven by the
XYZ location of an Object.

Editing of Drivers happens in the IpoWindow. Here you can notice that the
channels (right hand window) now have an "active" channel indicator.
To add a Driver, you have to use the "Transform Properties" Panel (Nkey).
Here you can add or remove a Driver to the active channel, and use the
buttons to fill in what kind of relationship you want to establish.

Driver Objects

Note that any Ipo Channel can become driven now, but that only Object
transformation or Pose Bone transformation can be used to become a
Driver now.
At this moment, only the local transformation is taken into account.
For Objects that means the location/rotation/scale value without Parent
transform (as shown in "Transform Properties" Panel for Objects).
For Pose Bones it means that only the Pose transform (changes of rest
position) is Driver information (also as shown in Transform Property
Panel in Pose Mode).

Mapping of Drivers

When an Ipo Channel is "driven", the mapping is by default one-to-one.
It is only restricted by already built-in limits for Channels, like
for Material the "R" value can only range from 0.0 to 1.0.

Also note that when mapping rotations, the actual rotation values
in Ipos are scaled down with a factor 10.0. (180 degrees actually has
in the Ipo system a value of 18.0). This is an ancient year zero
convention in Blender... it is a bit hidden, because the ruler
(vertical as well as horizontal) displays the virtual values correctly.
Only the Properties panel shows the actual value.

When you draw an IpoCurve in a Driven channel, this curve will define
the mapping between the Driver output (horizontal) and Driven input
(vertical, as usual).
A nice new option to use is "Insert one-to-one curve" (press I-key,
or in pulldown menu). This will also zoom the display in exactly to
fill the window, allowing easy edit. If you use this option with
degrees, it will map 180 degree rotation to a range of 1.0 unit.

Live updates

Since the Drivers are integrated in the Ipo system, they will always
be updated whenever an Ipo is evaluated. This happens at least on
frame changes.
For interactive feedback, updates while transforming objects were
added in these cases:

- Driven Object Ipos, by other Objects or Pose Bones
- Driven Shape Key Ipos, by other Objects or Pose Bones

You can also insert Drivers on Action Ipos, but these are only evaluated
on frame change now.

Todo

- Drivers can also get a text button, allowing a 1 line Python script
  to be executed.
- Make UI for it a bit less hidden... maybe with visualization in 3D?
- Allowing global transform coordinates as Driver too.

Issues

- renaming Bones won't rename drivers
- (file) appending the Ipo won't append the linked driver Objects

------------------------------------------------------------------------
r5409 | theeth | 2005-10-02 21:31:32 +0200 (Sun, 02 Oct 2005) | 6 lines

Transform MMB behavior correction, as mentionned in meeting.

MMB uses global axis, Ctrl-MMB uses user defined. (Alt-MMB cause conflict with the window manager on linux)

(for hotkeys, first press is global, second press is user defined)

------------------------------------------------------------------------
r5408 | theeth | 2005-10-02 20:27:14 +0200 (Sun, 02 Oct 2005) | 4 lines

Fixing bones grab in "pose" transform. Bug #3030: http://projects.blender.org/tracker/?func=detail&atid=125&aid=3030&group_id=9

It didn't do initgrabz correctly.

------------------------------------------------------------------------
r5407 | zuster | 2005-10-02 19:09:11 +0200 (Sun, 02 Oct 2005) | 2 lines

 - add support for Python Buffer()s of type DOUBLE

------------------------------------------------------------------------
r5406 | ton | 2005-10-02 18:21:26 +0200 (Sun, 02 Oct 2005) | 4 lines

Crash fix; rendering AO with envmap on didn't work.

Note that envmaps still render without raytracing.

------------------------------------------------------------------------
r5405 | desoto | 2005-10-01 23:16:52 +0200 (Sat, 01 Oct 2005) | 6 lines

This commit sets the info header on the preferences window and the
header prints on the 3d view header to be the same color as the menu text.
This ensures that you can read the text against the color of the header
just as long as the theme color for the menu text is also readable against
the header color. This should make dark themes much better.

------------------------------------------------------------------------
r5404 | guitargeek | 2005-10-01 15:04:19 +0200 (Sat, 01 Oct 2005) | 2 lines

A little more cleanup of the loopcut code. Hoping to gain some speed, and letting qread() finish its work instead of breaking. I think this may have been causing trouble.

------------------------------------------------------------------------
r5403 | bjornmose | 2005-09-30 23:00:34 +0200 (Fri, 30 Sep 2005) | 5 lines

hum .. blender.dsp  would link to
blender_elbeem.lib  in
,..\..\..\lib\windows\elbeem\lib
if it was there

------------------------------------------------------------------------
r5402 | guitargeek | 2005-09-30 22:18:00 +0200 (Fri, 30 Sep 2005) | 2 lines

For loopcut, have the event queue ignore MOUSEX and MOUSEY events to help prevent it from bottlenecking

------------------------------------------------------------------------
r5401 | intrr | 2005-09-30 12:58:39 +0200 (Fri, 30 Sep 2005) | 4 lines



Fix SHIFT finetuning for edgeslide (aftermath from a warning cleanup ;-)

------------------------------------------------------------------------
r5400 | intrr | 2005-09-30 12:23:28 +0200 (Fri, 30 Sep 2005) | 5 lines



Possible fix for bug #3094 - use normal malloc/free for stuff that gets
alloced inside SDL threads.

------------------------------------------------------------------------
r5399 | broken | 2005-09-30 11:49:56 +0200 (Fri, 30 Sep 2005) | 4 lines

* Added additional shift space to fullscreen/tile window spaces. So much
more convenient than ctrl uparrow/downarrow since you don't have to take
your hand off the mouse!

------------------------------------------------------------------------
r5398 | broken | 2005-09-30 10:39:35 +0200 (Fri, 30 Sep 2005) | 2 lines

* added right mouse click to cancel a sequence strip transform, like everything else in blender.

------------------------------------------------------------------------
r5397 | ton | 2005-09-29 23:31:47 +0200 (Thu, 29 Sep 2005) | 4 lines

Bugfix #3112

Mesh selection in editmode didnt work proper with new ALT+B clip option.

------------------------------------------------------------------------
r5396 | ton | 2005-09-29 21:52:42 +0200 (Thu, 29 Sep 2005) | 5 lines

Bugfix #3115

Undo after you did a layer change, didn't restore the 'active layer' in the
3d window. Adding a new object then is invisble.

------------------------------------------------------------------------
r5395 | ton | 2005-09-29 21:33:50 +0200 (Thu, 29 Sep 2005) | 8 lines

- Added shadow buffer support for wire material and particle strands
  (Since strands are screen-aligned, it didn't fill in OK yet)

No shadow;
http://www.blender.org/bf/rt14.jpg
Shadow;
http://www.blender.org/bf/rt15.jpg

------------------------------------------------------------------------
r5394 | mikasaari | 2005-09-29 21:25:12 +0200 (Thu, 29 Sep 2005) | 2 lines

Text3d.c NULL pointer check added to get rid of MEM_freeN warning.

------------------------------------------------------------------------
r5393 | mikasaari | 2005-09-29 21:03:53 +0200 (Thu, 29 Sep 2005) | 3 lines

cu->strinfo reallocation added to Text3d.c, so when setText is executed
the strinfo is reallocated to include strlen(cu->str) amount of free memory

------------------------------------------------------------------------
r5392 | ton | 2005-09-29 20:13:36 +0200 (Thu, 29 Sep 2005) | 5 lines

New hair "strand" channel has wrong texture coord input... it rendered
from 0 - 1, instead of -1 to 1. Thats fixed.
The error made tests i did with alpha make nice though, apparently hairs
are nicer when rendered with alpha range 0.0 to 0.5.

------------------------------------------------------------------------
r5391 | ton | 2005-09-29 19:06:34 +0200 (Thu, 29 Sep 2005) | 4 lines


Storage of ME_FACE_STEPINDEX in mface iwas same flag as for new
anisotropic, causing nice interesting render errors.

------------------------------------------------------------------------
r5390 | ton | 2005-09-29 18:37:37 +0200 (Thu, 29 Sep 2005) | 7 lines

Orange report bug; Adding a new scene, choose "link obdata" gives corrupt
memory. Poses should be relinked right after duplicating, not during a
redraw (when more objects use same armature).

Added in readfile a patch to make sure files saved with this duplicate
error can still be used.

------------------------------------------------------------------------
r5389 | intrr | 2005-09-29 17:46:06 +0200 (Thu, 29 Sep 2005) | 12 lines



Fix Python API to correctly create Text3D objects. This is just a
temporary fix (duplicating code again), the *real* fix would be to once
make one central function to create and init a text object for all
places...

I also tried to introduce compatibility code to be able to load old files
with broken text objects (cu->tb == NULL due to missing init code).

Hope it works :)

------------------------------------------------------------------------
r5388 | ton | 2005-09-29 15:19:07 +0200 (Thu, 29 Sep 2005) | 30 lines

- Added "anisotropic" rendering for static particle hair strands.
  This means the diffuse and specular shaders don't use the normal
  for hair (which is actually undefined, a hair is micro cylinder) but
  it uses the tangent vector (vector in direction of hair).

For Diffuse, it computes a fake normal now, representing the optimal
hair normal pointing towards the light. All current builtin shaders
work with this, including ramps.

For Specular, it uses another formula to remap dot products for all
lines that now use the tangent vector instead of the normal:

dot = vector * tangent
dot = sqrt(1.0 - dot*dot)

Gives better results than using the 'fake' normal for diffuse. Officially
(according the papers) this could be used for diffuse too, but then hair
becomes very flat. Now you can control the flatness easily with ramps or
using Oren-Nayer for example.

Example image (disappears in some weeks)
http://www.blender.org/bf/rt9.jpg

- Added new texture channel "Strand" to apply textures on hairs over the
  length of hair (1 dimensional). Orco now gives 1 fixed coordinate for
  the entire hair, based on where it starts.
  Note; UV doesn't work yet. Nor vertexcolor.

http://www.blender.org/bf/rt10.jpg

------------------------------------------------------------------------
r5387 | stiv | 2005-09-29 09:05:00 +0200 (Thu, 29 Sep 2005) | 2 lines

fix Curve.update() method to use new DAG features.

------------------------------------------------------------------------
r5386 | ascotan | 2005-09-29 04:22:56 +0200 (Thu, 29 Sep 2005) | 5 lines

projectfile update to elbeem
* fixed lib paths
* removed files
* fix preprocessor define

------------------------------------------------------------------------
r5385 | n_t | 2005-09-28 20:09:46 +0200 (Wed, 28 Sep 2005) | 4 lines

- added stub for elbeemDebugOut in
  source/blender/blenkernel/bad_level_call_stubs/stubs.c
	for read/write bobj debug output

------------------------------------------------------------------------
r5384 | n_t | 2005-09-28 19:52:06 +0200 (Wed, 28 Sep 2005) | 3 lines

- corrected MSVC6 fix in ntl_vector3dim.h (caused problems with SDL includes)
- removed print from SConscript

------------------------------------------------------------------------
r5383 | n_t | 2005-09-28 18:20:57 +0200 (Wed, 28 Sep 2005) | 8 lines

- removed some unecessary files & code
- debug output now controlled globally by elbeem debug level
  (BLENDER_ELBEEMDEBUG environment var), also for fluidsimBake
	and read/writeBobj
- debug output is written to file for WIN32
- added "for" and "vector" etc. defines for MSVC6
  (I couldnt get hold of the compiler itself, so not tested yet)

------------------------------------------------------------------------
r5382 | antont | 2005-09-28 17:01:40 +0200 (Wed, 28 Sep 2005) | 2 lines

added missing DAG call to image_aspect.

------------------------------------------------------------------------
r5381 | broken | 2005-09-28 13:56:09 +0200 (Wed, 28 Sep 2005) | 2 lines

* Headers for the last Set Smooth commit

------------------------------------------------------------------------
r5380 | broken | 2005-09-28 13:55:43 +0200 (Wed, 28 Sep 2005) | 2 lines

* Added 'Set Smooth' and 'Set Solid' to the mesh edit mode specials menu/toolbox/3d view menu so you don't always have to keep switching back to edit buttons.

------------------------------------------------------------------------
r5379 | ton | 2005-09-28 13:24:39 +0200 (Wed, 28 Sep 2005) | 3 lines

Brought back (lost with modifier code) display of actual amount of faces
for subsurfs in info header.

------------------------------------------------------------------------
r5378 | ton | 2005-09-28 13:07:12 +0200 (Wed, 28 Sep 2005) | 5 lines

Bugfix;

Ipo window could crash on reading old files with keys, non proper use
of pointer...

------------------------------------------------------------------------
r5377 | ton | 2005-09-28 13:05:20 +0200 (Wed, 28 Sep 2005) | 8 lines

Bugfix;

- buttons "Show" and "Key" didn't set the active constraint, causing
  confusement in display for the IpoWindow

Also made the backdrop for constraints and modifiers to use the Panel
theme color, making it better integrated.

------------------------------------------------------------------------
r5376 | ton | 2005-09-28 12:07:54 +0200 (Wed, 28 Sep 2005) | 17 lines

Removed ancient (2.1) feature for Constraints... a highly undocumented and
unpredictable one!

This is what it did; if two or more Constraints are of the same type, it
accumulates the Target positions/rotations for the constraints, averages
them, and then only applies the last Constraint in the row. It seems to
be a trick to blend IK Constraints or so... in all other cases I cannot
find a good use for it (nor did Bassam).

For example; add three Empties, and make one Empty to have 2 location
constraints to the other two. This just didn't work, unless you insert
an "Empty" constraint inbetween.
I will post in the blender.org animation forum feedback for it too. :)

Its quite easy to make it an option, but I first like to grasp fully what
the actual use of such an option is.

------------------------------------------------------------------------
r5375 | ton | 2005-09-28 11:59:59 +0200 (Wed, 28 Sep 2005) | 7 lines

Suppressed another GL_FRONT drawing routine, causing potential slowdowns
for some configs. This was an old hack for sgi's, so I've put it behind an
ifdef for sgi and suns now.

Test if blender still works by switching screens, and check for the borders
between the blender area windows. These should draw all nice empty/black.

------------------------------------------------------------------------
r5374 | intrr | 2005-09-28 09:11:24 +0200 (Wed, 28 Sep 2005) | 4 lines



Fix forward declaration of drawscreen()

------------------------------------------------------------------------
r5373 | ton | 2005-09-28 00:33:06 +0200 (Wed, 28 Sep 2005) | 3 lines

Division by zero prevented in new hair strand algo. It showed as vertical
lines, especially with the "Step" size low.

------------------------------------------------------------------------
r5372 | ton | 2005-09-27 23:52:04 +0200 (Tue, 27 Sep 2005) | 11 lines

Recommitted this commit yesterday, was apparently done in the wrong
directory... so the slowdown was still evident!

Maintenance commit;

  - *Giant* speedup for LMB frame-dragging in ipo/action/nla windows. It was
    calling a routine that accessed frontbuffer drawing.... a very old patch
    for SGIs even! :)
  - Prepared code for support of unlimited Shape keys
  - Curve objects didnt draw correct for selection-outline option

------------------------------------------------------------------------
r5371 | ton | 2005-09-27 23:51:09 +0200 (Tue, 27 Sep 2005) | 12 lines

Hair!

Thanks to testing in studio orange (thnx andy, matt!) I've found the
simple way to code it.

Static particle systems, when not set to wire or halo, now render 1 pixel
wide 'strands', which are actually just faces with vertexnormals and
proper orco texture. Check for quick fun;

http://www.blender.org/bf/rt5.jpg
(and rt6, rt7, rt8)

------------------------------------------------------------------------
r5370 | stiv | 2005-09-27 22:56:39 +0200 (Tue, 27 Sep 2005) | 3 lines

set object->recalc flag when we change object's loc, rot, etc.
fix for problems with frame change scene scriptlinks.

------------------------------------------------------------------------
r5369 | ton | 2005-09-27 21:43:04 +0200 (Tue, 27 Sep 2005) | 2 lines

Shaded drawmode, ogl preview render, does update for lights.

------------------------------------------------------------------------
r5368 | ascotan | 2005-09-27 20:41:39 +0200 (Tue, 27 Sep 2005) | 3 lines

-fix for angleBetweenVecs
* adds a test to check for zero-length vectors

------------------------------------------------------------------------
r5367 | ascotan | 2005-09-27 19:03:28 +0200 (Tue, 27 Sep 2005) | 4 lines

Refcount fixes
* fixes posible reference count issues with mathutils
* mathutils classes should no longer memory leak

------------------------------------------------------------------------
r5366 | zuster | 2005-09-27 18:44:33 +0200 (Tue, 27 Sep 2005) | 2 lines

 - tooltip fix, double sided pretended it was per face

------------------------------------------------------------------------
r5365 | ascotan | 2005-09-27 00:00:39 +0200 (Tue, 27 Sep 2005) | 13 lines

added the method saveRenderedImage to the RenderData object
- should allow users to render a filename.extension to the render path
Example:

import Blender

s = Blender.Scene.GetCurrent()
r = s.getRenderingContext()
r.setRenderPath('C:\\')
r.render()
r.saveRenderedImage('myRender.jpg')
Blender.Scene.Render.CloseRenderWindow()

------------------------------------------------------------------------
r5364 | ascotan | 2005-09-26 22:37:52 +0200 (Mon, 26 Sep 2005) | 2 lines

drawscreen is called before it's defined crashing msvc

------------------------------------------------------------------------
r5363 | ascotan | 2005-09-26 22:11:13 +0200 (Mon, 26 Sep 2005) | 5 lines

- added some equivalency testing for vector classes
>, >=, <, <= test vector magnitude
==, != test vector values 'within epsilon' :)
- inspired by ideasman

------------------------------------------------------------------------
r5362 | ton | 2005-09-26 20:47:50 +0200 (Mon, 26 Sep 2005) | 4 lines

Ftgl patch for texture fonts got lost... somehow. That made them much
slower than pixmap fonts. Test on buttons window CTRL+ALT+T timer shows it
goes down from 2500 to 100 on this commit. :)

------------------------------------------------------------------------
r5361 | ton | 2005-09-26 20:10:20 +0200 (Mon, 26 Sep 2005) | 8 lines

Maintenance commit;

- *Giant* speedup for LMB frame-dragging in ipo/action/nla windows. It was
  calling a routine that accessed frontbuffer drawing.... a very old patch
  for SGIs even! :)
- Prepared code for support of unlimited Shape keys
- Curve objects didnt draw correct for selection-outline option

------------------------------------------------------------------------
r5360 | ton | 2005-09-26 19:11:15 +0200 (Mon, 26 Sep 2005) | 3 lines

Action editor: drag with LMB did three redraws... causing slowdown. Bug
since 2.0 it seems.

------------------------------------------------------------------------
r5359 | pidhash | 2005-09-26 18:21:22 +0200 (Mon, 26 Sep 2005) | 3 lines

adding sort by extension in filselect window
.

------------------------------------------------------------------------
r5358 | pidhash | 2005-09-26 18:17:14 +0200 (Mon, 26 Sep 2005) | 3 lines

adding sort files in fileselect window by extensions
.

------------------------------------------------------------------------
r5357 | ton | 2005-09-26 18:13:00 +0200 (Mon, 26 Sep 2005) | 6 lines

Two more 'shape' fixes;

- adding new Shape didn't set correct Ipocurve code... so you could not
  even add new curves
- the keylines (first channel) always came back in display... ancient error

------------------------------------------------------------------------
r5356 | ton | 2005-09-26 17:51:44 +0200 (Mon, 26 Sep 2005) | 2 lines

Quick fix; "delete shape key" didn't work without IpoWindow open.

------------------------------------------------------------------------
r5355 | ton | 2005-09-26 17:34:21 +0200 (Mon, 26 Sep 2005) | 25 lines

Cleanup and new features for vertex keys.

User doc: http://www.blender3d.org/cms/Shape_Keys.678.0.html

- The mixed use of "Vertex Key","Key" or "RVK" in Blender was a bit
confusing. Also a 'vertex key' assumes keys per vertex, which actually is
only a single key for the entire shape. The discussions on blender.org
forums all mentioned "Shape" or "Blend Shapes", which I think is an OK
name for a "Vertex Key" in the UI. :)

- Most work was code spaghetti cleanup. Doing shape-keys now nicely goes
via the depgraph and DerivedMesh. That then allows to have different
shapes per object, with the new "Pin" feature.
Objects now define what Shape is shown (ob->shapenr)

- Added a Shape Panel in the Edit buttons with the various options

- Fixed a lot of issues in the IpoWindow, with drawing the channels.
For example, deleting a key-line there caused the entire Relative option to
go wrong, same for moving the lines up/down.
Changing key-line order now reflects in order of channels. The active
Shape is drawn more clear now too.

- Noticed it doesnt work yet for curves/lattice. Need modifier advise!

------------------------------------------------------------------------
r5354 | ascotan | 2005-09-26 17:06:28 +0200 (Mon, 26 Sep 2005) | 6 lines

Theeth's mathutils patch
- adds intersections for lines
- triangle area
- tracking quaternion from vector
- some helpful normal calculators

------------------------------------------------------------------------
r5353 | ascotan | 2005-09-26 16:46:14 +0200 (Mon, 26 Sep 2005) | 3 lines

Project file update for elbeem
Warning clean up of python project

------------------------------------------------------------------------
r5352 | ton | 2005-09-25 12:41:35 +0200 (Sun, 25 Sep 2005) | 8 lines

Darn editmesh code! Trying to prevent user error (add overlapping faces)
caused a myriad of other errors in tools... now you couldn't create a
triangle if one 1 edge was in a face already.

I should have known it should be coded differently. :)
So, here's another version, which actually restores the old code, and
only has the exception on pressing Fkey.

------------------------------------------------------------------------
r5351 | ton | 2005-09-24 22:17:48 +0200 (Sat, 24 Sep 2005) | 13 lines

New!
Hooks now support vertex groups. With weight painting it looks very
interesting. Almost z-painting! :) Try a sphere with all vertices in a
group, hook it, and scale empty in object mode a bit.
http://www.blender.org/bf/rt3.jpg
(Which gives the idea to make a Displace Modifier working with normals and
vertexgroups..)

Works as follows now; in Mesh editmode, when no vertices are selected, it
tries to assign on CTRL+H command the active Vertex Group. (Menu is getting
to long now... need to think over). Only works when vertices are assigned
to a Vertex Group, this to calculate the Hook center.

------------------------------------------------------------------------
r5350 | guitargeek | 2005-09-24 20:44:24 +0200 (Sat, 24 Sep 2005) | 2 lines

A fix for edgeslide non-prop mode sticking at 0%.

------------------------------------------------------------------------
r5349 | theeth | 2005-09-24 20:00:32 +0200 (Sat, 24 Sep 2005) | 7 lines

Various Transform bugfixes.

- Trackball rotate was missing the NoConstraints flag
- Zooming didn't recalculate the 2D center correctly
- Zooming in transform was sending event to the 3D window even when working on UVs. (disabled when working on UVs for now, will need to send events to a 2D window handler eventually)
- In camera mode, when the selection was exactly on the camera, initgrabz was barfing, fallback to 1.0 now, which gives ok results.

------------------------------------------------------------------------
r5348 | zuster | 2005-09-24 18:02:56 +0200 (Sat, 24 Sep 2005) | 3 lines

 - assorted warning fixes (signedness, float->double)
 - added decimate,boolean modifier copydata methods

------------------------------------------------------------------------
r5347 | zuster | 2005-09-24 17:50:56 +0200 (Sat, 24 Sep 2005) | 2 lines

 - shouldnt be a trailing comma after include

------------------------------------------------------------------------
r5346 | ton | 2005-09-24 17:46:08 +0200 (Sat, 24 Sep 2005) | 6 lines

Bug fix #3098

Grmble... and now the feature ALT+J 'join triangles' broke. :)
Also found out the Fkey option didn't work anymore on 2 triangles (makes 1
quad too). Luckily we got people testing eh!

------------------------------------------------------------------------
r5345 | ton | 2005-09-24 17:36:25 +0200 (Sat, 24 Sep 2005) | 5 lines

bugfix #3100
Hrms... previous commit here to make sure faces are not added 'double',
caused a part in removedoubles not to work well, removing too many
faces. Solved it more proper now.

------------------------------------------------------------------------
r5344 | stiv | 2005-09-24 17:28:59 +0200 (Sat, 24 Sep 2005) | 5 lines

Patch #3099 - bugfix for #3097.
a little tweak for arg parsing.

Contributed by Ken Hughes.  Thanks!

------------------------------------------------------------------------
r5343 | ton | 2005-09-24 17:10:08 +0200 (Sat, 24 Sep 2005) | 10 lines

Created a new sub-context ("tab") for all physics related button panels.
There we can find now Particles, Fields & deflectors, Soft Body and Fluids.
This also as preparation for more work on the particle side (becomes two
panels).

Also renamed panels, and made sure the name "Soft Body" is spelled every-
where the same!

It uses an icon as was designed long ago already. Needs some thinking...

------------------------------------------------------------------------
r5342 | ton | 2005-09-24 16:27:32 +0200 (Sat, 24 Sep 2005) | 4 lines

Made sure in vpaint, wpaint and tpaint the "draw extra wire" shows identical
as for non-paint drawmodes. I guess this exception was from period before
we had subsurfed paint drawing... right daniel?

------------------------------------------------------------------------
r5341 | ton | 2005-09-24 16:19:37 +0200 (Sat, 24 Sep 2005) | 3 lines

Older files, saved with old IKs, crashed sometimes on do_versions.
This whole backward conversion stuff is getting nuts! :)

------------------------------------------------------------------------
r5340 | ton | 2005-09-24 15:55:39 +0200 (Sat, 24 Sep 2005) | 2 lines

Error in derivedmesh... OBACT undefined of course. :)

------------------------------------------------------------------------
r5339 | ton | 2005-09-24 15:49:55 +0200 (Sat, 24 Sep 2005) | 8 lines

Made WeightPaint use shaded mode. This thanks to the preparations as done
by daniel before. :)
Note; the shaded display uses smooth normals by default, because thats how
the derived mesh works!

Daniel; I've changed the G_WEIGHTPAINT hack in derivedmesh code... no idea
how this could work even. Still ugly though.

------------------------------------------------------------------------
r5338 | jiri | 2005-09-24 14:42:30 +0200 (Sat, 24 Sep 2005) | 5 lines



 - one line bug fix: when user changed position of keys in Ipo Curve Editor,
   then position of keys weren't redrawn in Timeline

------------------------------------------------------------------------
r5337 | ton | 2005-09-24 12:34:50 +0200 (Sat, 24 Sep 2005) | 3 lines

Old error... on ctrl+clicking new bones, the envelope bone distances were
not correctly flushed for connected bones.

------------------------------------------------------------------------
r5336 | ton | 2005-09-24 11:05:48 +0200 (Sat, 24 Sep 2005) | 21 lines

Bug fix #3094

Playback of sequencer sound crashed in combination with dupliverted
Objects. (confirmed in osx only btw).

Found out there's old not-needed code in the update_for_newframe() call,
that was intended to do updates for Manipulators (calling countall()).
In countall(), the entire duplilists were generated over, just for
counting the totals.

First step was removing the countall from update_for_newframe, and added
a count_duplilist() call which doesn't generate the full duplilist. That
made Blender not crashing anymore, but gives "Error totblock", without
printing the block names even...

The weird thing also was that the crash showed severe memory corruption in
the malloc library, when combining audio scrubbing (SDL) and duplilists.

I now suspect there's a remaining issue with DerivedMesh, but for that I
need help from Daniel.

------------------------------------------------------------------------
r5335 | n_t | 2005-09-23 16:42:14 +0200 (Fri, 23 Sep 2005) | 15 lines

- merged latest version of fluid solver
  (fixed shadowed variables warnings, removed cfgparser.hpp,
	added cfgparser.h, removed debugging output)
- added support for env. var BLENDER_ELBEEMDEBUG to enable
  debugging output again
- fixed missing triangle display (marching cubes produced v3=0 triangles)
- fixed geometry init bug (nearest intersection check
  for intersecting objects was messed up)
- changed position of derived mesh creation in DerivedMesh.c
  (for some reason the useDeform code is necessary, without it or
	 with useDeform=0 nothing is displayed)
- 3dviews now update every 2 seconds to show simulation progress
- note: mesh_strip_loose_faces(me); in ./source/blender/blenkernel/intern/mesh.c:937
  not necessary anymore?

------------------------------------------------------------------------
r5334 | bjornmose | 2005-09-23 12:41:11 +0200 (Fri, 23 Sep 2005) | 7 lines

the usual missing files /  include path setting game
So the linker only misses performElbeemSimulation(..)
I can't create El'Beem.lib with msvc6 as discussed in ML
If you comment off the 2 calls in fluidsim.c
blender compiles with msvc6 projects again
with the complete fluid UI but simulation won't run

------------------------------------------------------------------------
r5333 | ton | 2005-09-23 10:29:32 +0200 (Fri, 23 Sep 2005) | 6 lines

Bugfix #2746

In Surface editmode, solid draw  mode, curves are drawn in wire now
(where in invisible). Its a simple fix, it shouldn't give issues with
the Nurbana work. :)

------------------------------------------------------------------------
r5332 | ton | 2005-09-23 10:12:52 +0200 (Fri, 23 Sep 2005) | 8 lines

Bugfix #2948

For using the Fkey (add face) editmesh tool:
prevented triangles being made that are partially a quad face already.

Tools in editmode don't like such situations (tria->quad for example), also
subsurf hates it. :)

------------------------------------------------------------------------
r5331 | ton | 2005-09-23 09:28:15 +0200 (Fri, 23 Sep 2005) | 7 lines

Bug report #3092

Excluded the 3D cursor from being clipped with the new ALT+B clipping.

Also added a refresh for the object that gets (Pkey) separated in mesh
editmode, might solve issue reported by Campbell.

------------------------------------------------------------------------
r5330 | ton | 2005-09-22 22:11:21 +0200 (Thu, 22 Sep 2005) | 4 lines

Bugfix #3089

PoseMode rotate now also supports "Around individual Centers" for rotating.

------------------------------------------------------------------------
r5329 | ascotan | 2005-09-22 21:48:26 +0200 (Thu, 22 Sep 2005) | 2 lines

Warnings fix for windows.

------------------------------------------------------------------------
r5328 | ton | 2005-09-22 21:47:31 +0200 (Thu, 22 Sep 2005) | 12 lines

Bugfix #3085

When you move the mouse, while dragging numbers in buttons (or sliding),
and release it over another button, the release event was passed on to that
button. It happened with Radiosity buttons for example.

Reason; buttons with return event 0 are passing on events to other buttons.
This is needed for LABEL or ROUNDBOX buttons, to prevent them blocking
events when there's another button inside.

Made sure all these number/slider buttons returning B_NOP now.

------------------------------------------------------------------------
r5327 | ascotan | 2005-09-22 21:46:28 +0200 (Thu, 22 Sep 2005) | 3 lines

update to .NET project files
* added support for elbeem

------------------------------------------------------------------------
r5326 | ascotan | 2005-09-22 21:45:00 +0200 (Thu, 22 Sep 2005) | 4 lines

update to .NET project files
*Added elbeem project to /intern
(please rebuild intern)

------------------------------------------------------------------------
r5325 | antont | 2005-09-22 21:41:30 +0200 (Thu, 22 Sep 2005) | 2 lines

the missing menu selection for the newly added Curve RVKs

------------------------------------------------------------------------
r5324 | ton | 2005-09-22 21:12:53 +0200 (Thu, 22 Sep 2005) | 5 lines

Bugfix #3075

Wave Effect (and build etc) was being converted while the code later on
was reading existing modifiers (and unlinking the converted data).

------------------------------------------------------------------------
r5323 | ascotan | 2005-09-22 20:03:58 +0200 (Thu, 22 Sep 2005) | 2 lines

Before including <GL/gl.h> on windows you have to include <windows.h>

------------------------------------------------------------------------
r5322 | ton | 2005-09-22 19:52:41 +0200 (Thu, 22 Sep 2005) | 6 lines

More properly coded version for adding edges... now only do_versions()
reads from the old mface->edcode flag to set edge drawing.

ALso; added a pointer check in draw_mesh_object(), here the derivedmesh
gives NULL on reading regression file lostride.blend. Zr needs to check!

------------------------------------------------------------------------
r5321 | ton | 2005-09-22 19:25:15 +0200 (Thu, 22 Sep 2005) | 2 lines

Ack, previous commit didn't correctly do mfaces that expressed an edge only

------------------------------------------------------------------------
r5320 | ton | 2005-09-22 19:00:58 +0200 (Thu, 22 Sep 2005) | 11 lines

Bugfix #3077

Radiosity didn't add edges block, on "Replace Meshes". Caused wireframe
not to draw, but also crashes like for join().

Also: added patch that sets the drawflags in edges derived from the
ones set in faces. This ensures the conversion to be done correct.

TODO: this edges call also used in other areas in code, that has to be
catched and done differently.

------------------------------------------------------------------------
r5319 | jiri | 2005-09-22 14:45:19 +0200 (Thu, 22 Sep 2005) | 9 lines



 - interactive joining of two screen areas
 - user can interactively select, what screen are will be "kept alive" and
   what will be destroyed
 - screenshot:

   http://e-learning.vslib.cz/~hnidek/pics/interactive_joining_of_scrareas.jpg

------------------------------------------------------------------------
r5318 | intrr | 2005-09-21 22:28:44 +0200 (Wed, 21 Sep 2005) | 9 lines



Courtesy of Shaul Kedem:

Option to play sequence strips (Movie, Image, Scene) in reverse.
New toggle in the NKEY buttons for sequence strips.

Thanks Shaul!

------------------------------------------------------------------------
r5317 | stiv | 2005-09-21 21:48:40 +0200 (Wed, 21 Sep 2005) | 8 lines

Part of Bpy Cleanup: change attribute access to use tp_getset.
for these modules.  Adds some new convenience funcs to gen_utils.

This is internal change only and presents little change to the
BPy  API except for cleanup of some inconsistencies.

A big contribution from Ken Hughes.  Thanks!

------------------------------------------------------------------------
r5316 | n_t | 2005-09-21 15:30:39 +0200 (Wed, 21 Sep 2005) | 3 lines

- fixes elbeem SConscript file for python2.3
- added temporary fix for 128+ resolutions

------------------------------------------------------------------------
r5315 | ton | 2005-09-20 23:18:37 +0200 (Tue, 20 Sep 2005) | 3 lines

Orange request; get RVK (relative vertex keys) work for Curve objects.
Sir yes sir!

------------------------------------------------------------------------
r5314 | jiri | 2005-09-20 19:28:23 +0200 (Tue, 20 Sep 2005) | 5 lines



 - intrr said, that if(strlen(marker->name)>0) is a bit cumbersome ...
   I hope, that current solution will not provoke him ;-)

------------------------------------------------------------------------
r5313 | jiri | 2005-09-20 18:36:07 +0200 (Tue, 20 Sep 2005) | 7 lines



 - name of marker is printed only when strlen(marker->name) is bigger then
   zero
 - bug fix (feature request): name of marker isn't pushed out of window,
   when timeline window isn't very high (thanks Matt for bug report)

------------------------------------------------------------------------
r5312 | ton | 2005-09-20 12:26:23 +0200 (Tue, 20 Sep 2005) | 4 lines

Bugfix #3041

Missing updates for Textured objects in 3d window, using copy buttons.

------------------------------------------------------------------------
r5311 | ton | 2005-09-20 12:21:30 +0200 (Tue, 20 Sep 2005) | 8 lines

Bug fix #3044

Undid Daniels' commit (version 1.42) for this file, which claimed to fix
"free baked softbody". Result was that baked softbodies couldn't be read
from a file (always were freed).

I tested the free bake, and it works properly. Daniel: your move!

------------------------------------------------------------------------
r5310 | ton | 2005-09-20 11:43:03 +0200 (Tue, 20 Sep 2005) | 5 lines

Bug fix #3052

Syntax highlight in Text Window crashed with lines > 2000 chars. I now just
skip the highlighting code for these cases, it remains a bit weak code...

------------------------------------------------------------------------
r5309 | ton | 2005-09-20 10:48:06 +0200 (Tue, 20 Sep 2005) | 9 lines

Made EditMode armature border-selecting smarter.
Rule now is:
- If there's points in the border, only the points get selected (and an
  entire Bone when both points are in border)
- If no points in the border, the tip gets selected for connected Bones,
  the entire Bone gets selected for non-connected Bones.

OK OOPz, check this! :)

------------------------------------------------------------------------
r5308 | ton | 2005-09-20 10:06:03 +0200 (Tue, 20 Sep 2005) | 5 lines

Bug fix #3070
<blush>Missing "2*" caused AO tables to be only initialized half</blush>
Result was bad AO quality in render, and unpredictable brightness. This bug
happened in previous commit, when fixing random table issues.

------------------------------------------------------------------------
r5307 | mikasaari | 2005-09-19 19:58:51 +0200 (Mon, 19 Sep 2005) | 3 lines

Coding style from spaces to tabs in files related to Unicode Font Object.
Function strlen changed to wcslen in editfont.c in ALT-U (undo) functionality.

------------------------------------------------------------------------
r5306 | desoto | 2005-09-19 15:26:17 +0200 (Mon, 19 Sep 2005) | 4 lines

Added id strings to the tops of buttons_*.c files which were missing their
correct format. CVS expands $Id$ to the format you usally see at the tops
of files and these only had $Id: which CVS ignores.

------------------------------------------------------------------------
r5305 | desoto | 2005-09-19 15:00:44 +0200 (Mon, 19 Sep 2005) | 4 lines

Added 'Radial' blend texture type for created colored radial gradients
like that you might find on a CD. Special thanks to use Phlip in
#blenderchat for help on the math. Thanks Philp!

------------------------------------------------------------------------
r5304 | intrr | 2005-09-19 12:15:26 +0200 (Mon, 19 Sep 2005) | 4 lines



Add #ifdef INTERNATIONAL around #include, potentially fixes compilation

------------------------------------------------------------------------
r5303 | ton | 2005-09-19 09:53:08 +0200 (Mon, 19 Sep 2005) | 5 lines

Bugfix #2971

Alpha error in unified render, causing mist and non-ztransp alpha and 'env'
materials not to render correct.

------------------------------------------------------------------------
r5302 | intrr | 2005-09-19 02:12:43 +0200 (Mon, 19 Sep 2005) | 6 lines



Bug #2930:

Fix Amiga IFF loading for little-endian platforms

------------------------------------------------------------------------
r5301 | intrr | 2005-09-19 01:50:23 +0200 (Mon, 19 Sep 2005) | 6 lines



Looking at it, I could improve drawing of selection at least
*slightly* for TextOnCurve. It draws with errors, but it's at least
possible to remotely guess the selection :-)

------------------------------------------------------------------------
r5300 | intrr | 2005-09-19 01:44:30 +0200 (Mon, 19 Sep 2005) | 10 lines



Disabling underlining for text objects with "TextOnCurve", because it can
never work correctly with it, the way it is currently implemented.

The selection won't draw correctly either with TextOnCurve, and this is
really asking a bit much..

What to do...

------------------------------------------------------------------------
r5299 | desoto | 2005-09-18 19:06:21 +0200 (Sun, 18 Sep 2005) | 3 lines

Added zlib include for solaris and windows to fix broken compilation of
new fluids sim. Thanks lukep and theeth!

------------------------------------------------------------------------
r5298 | lukep | 2005-09-18 15:28:42 +0200 (Sun, 18 Sep 2005) | 2 lines

the fluidsim UI and blender interface files

------------------------------------------------------------------------
r5297 | lukep | 2005-09-18 15:27:12 +0200 (Sun, 18 Sep 2005) | 12 lines

initial commit of the fluid simulator.
Ton reviewed and gave his blessing.
Zr, can you have a look ?

see :
http://projects.blender.org/tracker/?func=detail&atid=127&aid=3039&group_id=9

for initial comments.

N_T : the solver itself (elbeem) needs some works to get rid of
warnings

------------------------------------------------------------------------
r5296 | ton | 2005-09-18 14:24:14 +0200 (Sun, 18 Sep 2005) | 6 lines

NLA strips that had an internal repeat, didn't use correct timing to be
rendered with MBlur or Fields.
This is a fix for now, but I've already noticed several pending issues for
Blender's internal time control (time ipos, global time control, startframe
offsets, etc). That's for another time! (pun not intended :)

------------------------------------------------------------------------
r5295 | ton | 2005-09-18 13:20:05 +0200 (Sun, 18 Sep 2005) | 7 lines

Small fixes, based on bugreports;

- Toolbox item for shaded mode had wrong hotkey
- Added countall() for select menu stuff (in 3d header, groupmenu)
  That way the stats in infoheader are updated.
- Tooltip was wrong for X-axis mirror mode Armatures

------------------------------------------------------------------------
r5294 | lukep | 2005-09-18 13:19:53 +0200 (Sun, 18 Sep 2005) | 10 lines

compatibility fix for Os X tiger with make.

add export USE_OSX10.4STUBS = 1 to your user-def.mk if compile fails
on missing definitions like _printf$LGDB

those are parts of the 10.4 sdk.

This is interim fix as scons dont need this and we should be able
to acheive same result with make. investigating further on this.

------------------------------------------------------------------------
r5293 | ascotan | 2005-09-17 00:36:30 +0200 (Sat, 17 Sep 2005) | 3 lines

update to .NET projectfiles
- added missing header files to src and src_cre projects

------------------------------------------------------------------------
r5292 | blendix | 2005-09-16 22:17:09 +0200 (Fri, 16 Sep 2005) | 11 lines



- Imagepaint code cleanup:
  - Move UVTEXTTOOL variables into global Gip struct (like Gvp for
    vertex paint). This will probably be moved into SpaceImage later,
    so it is saved with the .blend file.
  - Disable tool drawing. a better solution needs to be found.
  - Panel button layout is still the same, this will change.

- Removed the NAN_TPT define, it has no use anymore.

------------------------------------------------------------------------
r5291 | intrr | 2005-09-16 00:06:31 +0200 (Fri, 16 Sep 2005) | 4 lines



And this time, the right file.

------------------------------------------------------------------------
r5290 | intrr | 2005-09-16 00:03:41 +0200 (Fri, 16 Sep 2005) | 8 lines



Fix the "Text to 3D Font" options in the text editor.

Note: The "Insert Text" button pretty much replaces this, together with
      the fact that editing 3d text is now much more powerful than the
      usual text editor ;-)

------------------------------------------------------------------------
r5288 | ton | 2005-09-15 22:34:41 +0200 (Thu, 15 Sep 2005) | 3 lines

Bug fix #3036
Particle emittor parented to Bone in armature didnt update correct.

------------------------------------------------------------------------
r5287 | ton | 2005-09-15 22:25:44 +0200 (Thu, 15 Sep 2005) | 3 lines

Made sure makefiles use by default the lib/ libraries for OSX. It was
still pointing at /sw (fink stuff)

------------------------------------------------------------------------
r5286 | ton | 2005-09-15 19:32:24 +0200 (Thu, 15 Sep 2005) | 3 lines

Adding missing prototypes, removing unused variables, initializing vars,
all to make compiling warning less again in gcc. :)

------------------------------------------------------------------------
r5285 | hos | 2005-09-14 23:50:37 +0200 (Wed, 14 Sep 2005) | 12 lines

Getting blender to compile for IRIX, in particular:

IK: needed to change abs() to TNT::abs() (thanks brecht!)

Freetype: FT_ENCODING_UNICODE typecast to FT_CharMap (thanks intrr!)

header_image: missing include for liballoc stuff

Ketsji: needed to declare m_hitObject as public in KX_MouseFocusSensor.h.
This is probably the wrong thing to do, but KX_MouseFocusSensor.cpp
compilation fails on line 279 otherwise.

------------------------------------------------------------------------
r5284 | hos | 2005-09-14 22:07:32 +0200 (Wed, 14 Sep 2005) | 2 lines

An #include <wchar.h> was needed to ccoompile on OSX

------------------------------------------------------------------------
r5283 | intrr | 2005-09-14 19:01:03 +0200 (Wed, 14 Sep 2005) | 8 lines



Commented out the memset(...) in chtoutf8(), as it just assumed the buffer
was at least 16 bytes long, but wasn't always, and it gets cleared manually
by all calling places anyway.

Should fix crashes.

------------------------------------------------------------------------
r5282 | intrr | 2005-09-14 16:02:21 +0200 (Wed, 14 Sep 2005) | 24 lines



On behalf of Mika Saari, the famous Unicode Font support!

Further information is available here:

http://wiki.blender.org/bin/view.pl/Blenderdev/UnicodeFont3D

Shortlist of features:

- Unicode character support for Font3D
- UI to select characters from Unicode character list
- UI to select Unicode table areas
- Optimized character loading (Load only those characters which are used
  in font object)

Please test extensively if it breaks anything, try also loading/saving
files, packing fonts, etc.

The official text regression file in the regression suite should be a
good start.

Thanks to mikasaari for this very useful addition!

------------------------------------------------------------------------
r5281 | antont | 2005-09-14 15:59:43 +0200 (Wed, 14 Sep 2005) | 2 lines

=bpy beztriple: finally got the mem. management right with the help of khughes.

------------------------------------------------------------------------
r5280 | antont | 2005-09-14 13:04:13 +0200 (Wed, 14 Sep 2005) | 2 lines

Just a little addition to docs based on a discussion on irc.

------------------------------------------------------------------------
r5279 | antont | 2005-09-14 12:53:51 +0200 (Wed, 14 Sep 2005) | 14 lines

Memory management flag to behave better, as hinted by Ken Hughes.
Still not good, i.e. getting these when quitting: Error Totblock: 4
new bpytriple len: 60 0x8889bdc ... 'cause nothing frees them..

Changed the loop that parsed input args to PyArg_ParseTuple to have
support for passing ints from Python too as the floats that are the
coordinates. Didn't find PyInt_AsFloat and figured that this is an ok
way anyhow.

Changed the default handle mode from AUTO to ALIGN, which is the same
as in UI and more useful at least for me.

Little sanifying in CurNurb (this was done with Ton).

------------------------------------------------------------------------
r5278 | ascotan | 2005-09-14 04:27:15 +0200 (Wed, 14 Sep 2005) | 3 lines

update to .NET projectfiles
- added imagepaint and key files

------------------------------------------------------------------------
r5277 | bjornmose | 2005-09-13 23:04:19 +0200 (Tue, 13 Sep 2005) | 3 lines

KEYC pops up 'paint tool'
was always there .. but noone but me knew

------------------------------------------------------------------------
r5276 | broken | 2005-09-13 11:52:00 +0200 (Tue, 13 Sep 2005) | 4 lines

* Added hotkeys for rendering animation (Ctrl F12) and playing back
animation (Ctrl F11) similar to rendering a still with F12 and showing it in
the buffer with F11.

------------------------------------------------------------------------
r5275 | bjornmose | 2005-09-12 21:20:53 +0200 (Mon, 12 Sep 2005) | 3 lines

bug fix:
UV paint tool did not work with swapped mouse buttons in user prefs.

------------------------------------------------------------------------
r5274 | ton | 2005-09-12 19:43:48 +0200 (Mon, 12 Sep 2005) | 4 lines

Exclude only-shadow lamps to be rendered when the main render option
"shadow" is off.
Bugfix 3018

------------------------------------------------------------------------
r5273 | ton | 2005-09-12 17:17:35 +0200 (Mon, 12 Sep 2005) | 6 lines

Small fixes;

- "make track" in posemode only worked for objects, so disabled it for now
- in weightpaint, "Clear rotation/location" worked on armature-pose, as well
  as on object. Was confusing... disabled clearing object in weightpaint.

------------------------------------------------------------------------
r5272 | ton | 2005-09-12 16:48:00 +0200 (Mon, 12 Sep 2005) | 5 lines

Bug fix #3042

Button "text on curve" did not remake DAG dependencies, so editing the
curve gave no updates in text.

------------------------------------------------------------------------
r5271 | guitargeek | 2005-09-12 16:01:44 +0200 (Mon, 12 Sep 2005) | 4 lines

Fix for bug #3024

In non-prop mode for edgeslide, loop would not return to proper position after cancel.

------------------------------------------------------------------------
r5270 | ton | 2005-09-12 15:53:40 +0200 (Mon, 12 Sep 2005) | 5 lines

Bug fix #3026

Pulldown Mode select (3d header) failed to enter posemode in editmode,
but only when posemode was already set for armature

------------------------------------------------------------------------
r5269 | ton | 2005-09-12 15:26:53 +0200 (Mon, 12 Sep 2005) | 3 lines

Bugfix #3040, the new 'roundbox' button disabled copy/paste values in
buttons. You could notice that for Constraint and Modifier panels.

------------------------------------------------------------------------
r5268 | ton | 2005-09-12 15:02:36 +0200 (Mon, 12 Sep 2005) | 6 lines

Checked some regression files (2.37) and found issues with correct backward
conversion of data still. Remains a painful issue to get things converted
and in same time prevent things from calculated twice. :)

Anyhoo, issue was that old files with armatures in hidden layers went wrong

------------------------------------------------------------------------
r5267 | jiri | 2005-09-12 10:43:09 +0200 (Mon, 12 Sep 2005) | 4 lines



 - timemarker name is moved up, when current frame equals to frame of timemarker

------------------------------------------------------------------------
r5266 | stiv | 2005-09-12 08:18:45 +0200 (Mon, 12 Sep 2005) | 5 lines

bugfix: [ #3009 ] possible memory leak in Mathutils

fixed by patch [ #3013 ] patch for memleak in vector
Submitted By: Ken Hughes (khughes)

------------------------------------------------------------------------
r5265 | stiv | 2005-09-12 08:07:19 +0200 (Mon, 12 Sep 2005) | 7 lines

patch #3011 ] update to curnurb.setFlagU doc, added set and get for Taper
Contributed by Toni Alatalo (antont).

Support for Taper Objects for Curves.
Code for curnurb.setFlagU() method not changed as per discussion on
bf-python mail list.

------------------------------------------------------------------------
r5264 | stiv | 2005-09-12 06:46:34 +0200 (Mon, 12 Sep 2005) | 2 lines

fix compiler warning:  No newline at end of file

------------------------------------------------------------------------
r5263 | jiri | 2005-09-11 15:19:10 +0200 (Sun, 11 Sep 2005) | 6 lines



 - when marker is selected, then it's name is highlighted and name is moved
   up. It can be useful, when you have many named markers in timeline.
 - screenshot: http://www.kai.vslib.cz/~hnidek/pics/timeline_tweak.jpg

------------------------------------------------------------------------
r5262 | ton | 2005-09-11 15:02:55 +0200 (Sun, 11 Sep 2005) | 5 lines

My first DerivedMesh code! :)

Bugfix #3002: Using 'calc weights from envelope' WKey in weightpaint mode
now uses the subsurfered vertex coordinates to calculate weights.

------------------------------------------------------------------------
r5261 | ton | 2005-09-11 13:03:09 +0200 (Sun, 11 Sep 2005) | 7 lines

Bugfix #2999. Nkey buttons had a limit for input of 1000.0. That's not
much... made it 10 times larger, to match the max zoom level.

Nevertheless; on our ancient todo is that we once should give number
buttons 2 limits. One for the actual min/max values, and one for the best
sliding experience (matching zoom level or distance for example).

------------------------------------------------------------------------
r5260 | ton | 2005-09-11 12:20:30 +0200 (Sun, 11 Sep 2005) | 2 lines

Bugfix #2996. Delete vertexgroup didn't update Outliner.

------------------------------------------------------------------------
r5259 | ton | 2005-09-11 12:12:31 +0200 (Sun, 11 Sep 2005) | 12 lines

Bug fix #3033

Using "make parent armature with creating vertex groups" option gave
corrupted memory when one or more bones had the "Deform" option not set.
Was caused by old boneclass SKINNABLE variable. To end this confusement,
removed this define from code.

Note for future Armature tool coders; don't use this bonelooper
functionality. Operations in Object mode for armatures should use the
Pose Channels, which is a simple ListBase to go over. I have to recode
the 'create vertexgroups' still...

------------------------------------------------------------------------
r5258 | bjornmose | 2005-09-10 00:31:23 +0200 (Sat, 10 Sep 2005) | 3 lines

having a "mini gimp" in image editor
{ hope it does not break builds .. mscv6 .. scons works fine here }

------------------------------------------------------------------------
r5257 | bjornmose | 2005-09-09 23:15:00 +0200 (Fri, 09 Sep 2005) | 3 lines

make MSVC6 projects happy :
add key.h + .c to project

------------------------------------------------------------------------
r5256 | intrr | 2005-09-09 18:27:20 +0200 (Fri, 09 Sep 2005) | 6 lines



New feature for edgeslide: Holding SHIFT now slows down movement by factor
10 (like transform()) and allows for fine-tuning the loop with hairy
reference edges.

------------------------------------------------------------------------
r5255 | ton | 2005-09-09 17:38:20 +0200 (Fri, 09 Sep 2005) | 3 lines

Fix: when using in WeightPaint the Wkey option for the first time (no
vertex groups yet on Mesh), the undobuffer for Wpaint got corrupt.

------------------------------------------------------------------------
r5254 | ton | 2005-09-09 17:16:39 +0200 (Fri, 09 Sep 2005) | 4 lines

Fix for armature deform: if there's a vertexgroup on a vertex, but not with
bone assigned to the group (like for softbody) the envelope-deform was not
applied.

------------------------------------------------------------------------
r5253 | ianwill | 2005-09-09 03:31:10 +0200 (Fri, 09 Sep 2005) | 10 lines

BPython:

- Pontus Lidman contributed a new module: Blender.Key + access to key objects from NMesh, Lattice and Curve + docs (thanks and sorry for taking so long to check/commit the patch!)

- Allowing EVENT spacehandlers to call the file selector (scriptlinks in general are not allowed, but this special case should be able to). Requested by Paolo Colombo (thanks!)

- tiny doc update (Ken Hughes pointed an error in the space handlers example)

I didn't have time to update the Key module to follow the current bpython design, will do that later and also test it better than I did.

------------------------------------------------------------------------
r5252 | guitargeek | 2005-09-08 14:59:47 +0200 (Thu, 08 Sep 2005) | 2 lines

Removing Auto-Fgon feature till it can be a little better implemented and integrated

------------------------------------------------------------------------
r5251 | ton | 2005-09-08 12:59:36 +0200 (Thu, 08 Sep 2005) | 2 lines

New icons image

------------------------------------------------------------------------
r5250 | ton | 2005-09-08 12:59:13 +0200 (Thu, 08 Sep 2005) | 11 lines

Added icons for outliner display of Modifiers. Used ones as provided by
Eckhard Jaeger on forums. http://download.blender.org/demo/test/rt9.jpg

Notes;
- made new Armature icon, based on looks of Action icon. Using a Bone icon
  for everything was too confusing
- made softbody icon softer... it looked like a water drop, something that
  would be better for Fluid stuff later :)
- the Modifier icon itself (wrench) looks a bit too much like a tool... but
  its a clear icon that stands out.

------------------------------------------------------------------------
r5249 | ton | 2005-09-08 10:36:02 +0200 (Thu, 08 Sep 2005) | 2 lines

Ack! Yesterday forgot to add these changes in commit....

------------------------------------------------------------------------
r5248 | ton | 2005-09-07 20:07:24 +0200 (Wed, 07 Sep 2005) | 10 lines

Fix for weight painting errors, as reported by Bassam.

- Undo/Redo didn't work
- Crash on using weightpaint with Armature-modifier (instead of parent).

Note: checking if an object is being deformed cannot be simply done with
checking for a parent anymore... for this a call in modifier.c has been
added; modifiers_isDeformedByArmature(Object *). It even returns the
Armature object pointer.

------------------------------------------------------------------------
r5247 | guitargeek | 2005-09-07 05:37:37 +0200 (Wed, 07 Sep 2005) | 10 lines

This patch adds:

Add Intersect Modifier
Add Union Modifier
Add Difference Modifier

to the W key menu

Select 2 mesh object and press W. Then select a modifier entry. The active mesh selection will get a boolean modifier of the type selected with the inactive selection as target.

------------------------------------------------------------------------
r5246 | theeth | 2005-09-07 02:11:39 +0200 (Wed, 07 Sep 2005) | 8 lines

Roland Hess' Floor Constraint patch: https://projects.blender.org/tracker/?func=detail&aid=2993&group_id=9&atid=127

Minor modifications to simplify the code in evaluate_constraint.

The "Stick" feature will need more work as it gives bad results when skipping frames, jumping around on the timeline and when going backward in time.

Suggestion: Would be nice if it could use the local space too, not just global space planes.

------------------------------------------------------------------------
r5245 | ton | 2005-09-06 18:57:08 +0200 (Tue, 06 Sep 2005) | 9 lines

Three armature fixes (yes, i'm in studio orange!)

- on adding armatures, the "use vertexgroup" and "use envelope" options
  are now on.
- fixed ancient bug; on duplicate bone in editmode, it popped to the
  origin of armature, if parent bone was not selected and current bone not
  connected.
- subdivide bones now follows the Mirror edit option too

------------------------------------------------------------------------
r5244 | erwin | 2005-09-06 18:45:48 +0200 (Tue, 06 Sep 2005) | 2 lines

added some get methods and stuff

------------------------------------------------------------------------
r5243 | guitargeek | 2005-09-06 17:55:54 +0200 (Tue, 06 Sep 2005) | 2 lines

Percent and Flip now invalidate the edgeslide redraw, so that it updated on key press

------------------------------------------------------------------------
r5242 | ton | 2005-09-06 14:51:02 +0200 (Tue, 06 Sep 2005) | 2 lines

Forgot to add correct naming for subdiv bones.

------------------------------------------------------------------------
r5241 | ton | 2005-09-06 11:47:30 +0200 (Tue, 06 Sep 2005) | 3 lines

Quick added; editmode bone subdivision (Wkey only). Doesn't do mirrored
yet. Need commit so I can access it on the compu in Orange studio :)

------------------------------------------------------------------------
r5240 | intrr | 2005-09-04 11:30:57 +0200 (Sun, 04 Sep 2005) | 4 lines



Fix truetype (freetype2) font loading

------------------------------------------------------------------------
r5239 | zuster | 2005-09-03 20:10:13 +0200 (Sat, 03 Sep 2005) | 2 lines

 - added NewBooleanMeshDLM bad level call

------------------------------------------------------------------------
r5238 | zuster | 2005-09-03 19:22:29 +0200 (Sat, 03 Sep 2005) | 19 lines

Saturday morning first cup of coffee hack (yeah, its a late
morning)

 - fun for the whole family, boolean mesh modifier... doesn't work
   with layered modifiers yet (just uses base mesh), although may
   god have mercy on your soul if you want to run boolean on a
   subsurf anyway
 - added displistmesh_add_edges

This exposes a bug in boolean, apparently the output is somehow
random (hash on alloc'd pointer value perhaps) which is sortof
lame.

It also makes more apparent the desire for some level of control
over dep graph evaluation during editmode (at the moment dep
graph is reevaluated for a mesh object in editmode, but since
mesh changes are on editmesh other objects don't really see
any change, so it is a wasted recalc).

------------------------------------------------------------------------
r5237 | zuster | 2005-09-03 18:20:33 +0200 (Sat, 03 Sep 2005) | 2 lines

 - assorted minor warning fixes

------------------------------------------------------------------------
r5236 | blendix | 2005-09-03 15:28:14 +0200 (Sat, 03 Sep 2005) | 5 lines



Fix for bug #2974:
Circle select in uv editor crashed when an image was assigned but not loaded.

------------------------------------------------------------------------
r5235 | ton | 2005-09-03 14:35:13 +0200 (Sat, 03 Sep 2005) | 6 lines

Bug fix #2788

in 3d window, nkey panel, click in middle of number button & press ESC
moved the 3d cursor to that location. The button was passing on its
event to the window event queue, which shouldn't be.

------------------------------------------------------------------------
r5234 | ton | 2005-09-03 14:14:59 +0200 (Sat, 03 Sep 2005) | 4 lines

Bug fix #2985

Envelope correction for moving bone-points in edit mode didn't reset on ESC

------------------------------------------------------------------------
r5233 | ton | 2005-09-03 13:20:16 +0200 (Sat, 03 Sep 2005) | 6 lines

Bugfix #2977

Tweaked selection code for Manipulators in 'combo' mode, it gives
preference now to the scale/translate widgets over the rotate arcs. This
enables use of these widgets in ortho top/side views.

------------------------------------------------------------------------
r5232 | ton | 2005-09-03 12:50:21 +0200 (Sat, 03 Sep 2005) | 8 lines

Bug fix #2972

Copy/Paste bone name buttons crashed, didn't use the callback for buttons
proper yet.

Also added MAXFRAME defines for buttons, instead of hardcoded values 9000
or 18000

------------------------------------------------------------------------
r5231 | guitargeek | 2005-09-02 18:31:03 +0200 (Fri, 02 Sep 2005) | 10 lines

Auto-Fgon Feature for subdivide

If Fgon is selected in mesh tools panel, In the following cases

Quad - 2 edge Adjacent - Path
Quad - 2 edge Adjacent - Innervert
Quad - 3 edge

'extra' faces are combined to fgons. to make cleaner subdivides. Please give feedback

------------------------------------------------------------------------
r5230 | guitargeek | 2005-09-01 20:40:16 +0200 (Thu, 01 Sep 2005) | 2 lines

Adding back in the "Big Purple Dot" to indicate which edge the non-proportional Edgeslide is using for distance

------------------------------------------------------------------------
r5229 | blendix | 2005-09-01 00:09:44 +0200 (Thu, 01 Sep 2005) | 18 lines



- Changed xz limit drawing to use same formulas as the limiting in the IK
  module -- the previous method could be off pretty far.
- Added drawing of transparent surface for it, instead of just the border.
- Added "stretch IK", allowing bones not only to rotate, but also scale.
  The "Stretch" value below the DoF buttons is used to enabled this.

- Some code tweaking: slightly simplified computation of transform for IK,
  renamed chain to tree, removed unused pchan->ik_mat, ..

Internal IK module work:
- Do damping per DoF also based on stiffness, hopefully makes it converge
  faster with very stiff joints.
- Instead of having two joints types (translational and rotational), now
  all 6 DoF's can be enabled for one joint.
- Added limits for translational joints.

------------------------------------------------------------------------
r5228 | intrr | 2005-08-31 21:07:06 +0200 (Wed, 31 Aug 2005) | 4 lines



Re-enabled freetype font rendering :-)

------------------------------------------------------------------------
r5227 | zuster | 2005-08-31 06:04:28 +0200 (Wed, 31 Aug 2005) | 2 lines

 - mesh_strip_loose_faces was completely wrong, dunno what I was on...

------------------------------------------------------------------------
r5226 | ascotan | 2005-08-31 00:11:31 +0200 (Wed, 31 Aug 2005) | 4 lines

Update to .NET project files
- added edgehash stuff
- added new IK solver stuff (rebuild /intern)

------------------------------------------------------------------------
r5225 | guitargeek | 2005-08-30 22:33:35 +0200 (Tue, 30 Aug 2005) | 4 lines

Nonproportional mode for loopcut

while sliding the edge, press P this will swap modes. while in Non prop mode, press F to change the control "side". You can still change the control edge too.

------------------------------------------------------------------------
r5224 | guitargeek | 2005-08-30 20:09:07 +0200 (Tue, 30 Aug 2005) | 4 lines

Force redraw on Edgeslide Cancel (RMB and ESC)

Fixes bug reported by Fab31 on IRC

------------------------------------------------------------------------
r5223 | ton | 2005-08-29 20:03:03 +0200 (Mon, 29 Aug 2005) | 4 lines

Bug #2962

Moving in Posemode + Rest Position a Bone crashed. Uninitialized Trans...

------------------------------------------------------------------------
r5222 | ton | 2005-08-29 19:02:24 +0200 (Mon, 29 Aug 2005) | 14 lines

First version of visualizing the DoF (french degrees!) for Pose-bones. It
now only draws the limits for X and Z rotations (Y is bone axis itself).

Quick snaphsots (links will disappear):
http://www.blender.org/bf/rt6.jpg
http://www.blender.org/bf/rt7.jpg

It only draws for selected Bones that are part of IK, and have limits set.
Most work was getting code OK to setup drawing this 'DoF space', so now
experiments can be done with more drawing types.

ALso; Buttons for DoFs now only draw if the pose-bones are part of an IK
chain.

------------------------------------------------------------------------
r5221 | intrr | 2005-08-29 14:46:07 +0200 (Mon, 29 Aug 2005) | 52 lines



More text object fancyness, and fixes:

 - "Flush" is now split into two seperate Alignment modes "Flush" and
   "Justify":

   - Justify does exactly the same as a normal word processor's justify
     function does, and in addition, it uses *whitespace* instead of
     *character spacing* (kerning) to fill lines. Much more readable.

   - Flush is pretty much the old Blender "Flush" mode - and as such it
     uses character spacing to fill lines. Just as Justify, this only
     works with at least one textframe.

 - Underlining for text objects. Not a lot to explain. New button "U" in
   the editbuttons, and CTRL-U as hotkey toggle underlining for newly
   entered characters or for the selection, just like CTRL-B/CTRL-I do for
   bold/italic.

   Underline height (thickness) and Underline position (vertical) can be
   set in the editbuttons.

   Implemented as CU_POLY polygon curves.

 - The B, U and i buttons (and the corresponding CTRL-B/U/I keystrokes)
   have been fixed to only affect *one* attribute at a time. Formerly,
   hitting CTRL-B when no other style was active, on a text portion with
   italics text, for example, would kill the italics and just apply bold.

   Now, these attributes always add or substract only, but do not
   replace the style.

 - In the past, there were bugs with material indices uninitialized, and
   thus crashes in the renderer with illegal material indices.

   Even though I assume they have been fixed, I've put in a check that
   checks (hah) if the material index of a character is illegal (bigger
   than ob->totcol), and then sets it to zero, and spits out a warning
   on stderr.

   If you see such warnings, please report and link to the .blend.

 - Bugfix: All alignment modes only worked if there were at least *two*
   lines of text in the text object. Fixed


There's now a regression test file for text objects, please add to the
corresponding repository:

http://blender.instinctive.de/downloads/release/demo/text-regression.blend.gz

------------------------------------------------------------------------
r5220 | blendix | 2005-08-29 14:06:23 +0200 (Mon, 29 Aug 2005) | 5 lines



Bugfix; rotation limits for < 3 DOF bones were using wrong reference
rotation, causing incorrect limits if there was already a pose transform.

------------------------------------------------------------------------
r5219 | aphex | 2005-08-29 12:19:59 +0200 (Mon, 29 Aug 2005) | 2 lines

updated MSVC 6 Project file for IKSolver.

------------------------------------------------------------------------
r5218 | hos | 2005-08-29 04:47:55 +0200 (Mon, 29 Aug 2005) | 3 lines

MEM_freeN() and MEM_mallocN() should not have been redeclared in this
file.

------------------------------------------------------------------------
r5217 | ton | 2005-08-28 19:52:34 +0200 (Sun, 28 Aug 2005) | 3 lines

Errors in buttons defining DoF for bones; needed a redraw and fixed typo
in min/max detection for buttons.

------------------------------------------------------------------------
r5216 | ton | 2005-08-28 17:26:00 +0200 (Sun, 28 Aug 2005) | 3 lines

Pose depgraph error... skipped a bone for proper IK sorting. Caused lag or
bad updates in grabbing.

------------------------------------------------------------------------
r5215 | blendix | 2005-08-28 15:06:41 +0200 (Sun, 28 Aug 2005) | 7 lines



IK rotation limits fixes:
- Z-axis rotation limits were not working, was using wrong flag.
- Don't allow min limit to go over max, or vice versa.
- Fix for jacobian getting overwritten with IK clamping.

------------------------------------------------------------------------
r5214 | ton | 2005-08-28 14:23:06 +0200 (Sun, 28 Aug 2005) | 43 lines

Integration of new IK lib features in Armature Poses.
Best is to forget yesterday's commit and old docs. New docs are underway...

Here's how IK works now;

- IK chains can go all the way to the furthest parent Bone. Disregarding
  the old option "IK to Parent" and disgregarding whether a Bone has an
  offset to its parent (offsets now work for IK, so you can also make
  T-bones).
- The old "IK to Parent" option now only does what it should do: it denotes
  whether a Bone is directly connected to a Parent Bone, or not.
  In the UI and in code this option is now called "Connected".
- You can also define yourself which Bone will become the "Root" for an IK
  chain. This can be any Parent of the IK tip (where the IK constraint is).
  By default it goes all the way, unless you set a value for the new IK
  Constraint Panel option "Chain Lenght".
- "Tree IK" now is detected automatic, when multiple IK Roots are on the
  same Bone, and when there's a branched structure.
  Multiple IK's on a single chain (no branches) is still executed as usual,
  doing the IK's sequentially.
- Note: Branched structures, with _partial_ overlapping IK chains, that don't
  share the same Root will possibly disconnect branches.
- When you select a Bone with IK, it now draws a yellow dashed line to its
  Root.
- The IK options "Location Weight" and "Rotation Weight" are relative,
  in case there's a Tree IK structure. These weights cannot be set to
  zero. To animate or disable IK Targets, use the "Influence" slider.
- This new IK is backwards and upwards compatible for Blender files.
  Of course, the new features won't show in older Blender binaries! :)

Other changes & notes;

- In PoseMode, the Constraint Panel now also draws in Editing Buttons, next
  to the Bones Panel.
- IK Constraint Panel was redesigned... it's still a bit squished
- Buttons "No X DoF" is now called "Lock X". This to follow convention to
  name options positive.
- Added Undo push for Make/Clear Parent in Editmode Armature
- Use CTRL+P "Make Parent" on a single selected Bone to make it become
  connected (ALT+P had already "Disconnect").

On todo next; Visualizing & review of Bone DoF limits and stiffness

------------------------------------------------------------------------
r5213 | intrr | 2005-08-28 12:55:07 +0200 (Sun, 28 Aug 2005) | 6 lines



Fix gameengine compilation, nobody else seems to care ;-)

Thanks to Jorge Bernal.

------------------------------------------------------------------------
r5212 | blendix | 2005-08-28 01:04:37 +0200 (Sun, 28 Aug 2005) | 4 lines



Bugfix; the IK solver would crash if there were 0 DOF's in the chain.

------------------------------------------------------------------------
r5211 | stiv | 2005-08-27 20:44:56 +0200 (Sat, 27 Aug 2005) | 5 lines

patch #2911 - tp_getset for Lamp module.
A nice juicy chunk of new style attribute handling from Ken Hughes.

Thanks, Ken.

------------------------------------------------------------------------
r5210 | ton | 2005-08-27 19:04:29 +0200 (Sat, 27 Aug 2005) | 13 lines

IK work-in-progress commit;

- Removed old convention that only allowed one "IK" connection for Bones
  in a joint. Was highly frustrating for editing trees or branches.
  In a next commit, there will be a different method to define IK target
  and IK root, so this option actually will become "Connect Bone" or so.

- the IK group name is gone, now is just an option "Tree IK". When IK
  chains share a root they'll form a tree.
  Todo is preventing conflicts here (will be for editor to define IK Root)

- Adding new IK constraint with CTRL+I activates Constraint

------------------------------------------------------------------------
r5209 | blendix | 2005-08-27 16:27:05 +0200 (Sat, 27 Aug 2005) | 4 lines



Make IK DOF stiffness work in range 0.0-1.0, for consistency.

------------------------------------------------------------------------
r5208 | blendix | 2005-08-27 15:45:19 +0200 (Sat, 27 Aug 2005) | 53 lines



Update SConscript.
Fix some warnings.
Merge with latest soc code.

What changed in IK lib:

Fully restructured, with components now as follows:
  - IK_Solver: C <=> C++ interface
  - IK_QSegment: base class for bone/segment with 0
    to 3 DOF
  - IK_QTask: base class for a task (currently there's
    a position and a rotation task)
  - IK_QJacobian: the Jacobian matrix, with SVD
    decomposition, damping, etc
  - IK_QJacobianSolver: the iterative solver

The exponential map parametrization is no longer used,
instead we have now:
  - 3DOF and 2DOF XZ segments: directly update matrix
    with Rodrigues' formula
  - Other: Euler angles (no worries about singularities
    here)

Computation of the Jacobian inverse has also changed:
  - The SVD algorithm is now based on LAPACK code,
    instead of NR, to avoid some problems with rounding
    errors.
  - When the problem is underconstrained (as is the case
    most of the time), the SVD is computed for the transpose
    of the Jacobian (faster).
  - A new damping algorithm called the Selectively Damped
    Least Squares is used, result in faster and more
    stable convergence.
  - Stiffness is implemented as if a weighted psuedo-inverse
    was used.

Tree structure support.

Rotation limits:
  - 3DOF and 2DOF XZ segments limits are based on a swing
    (direct axis-angle over XZ) and twist/roll (rotation
    over Y) decomposition. The swing region is an ellipse
    on a sphere.
  - Rotation limits are implemented using an inner clamping
    loop: as long as there is a violation, a violating DOF
    is clamped and removed from the Jacobian, and the solution
    is recomputed.

Convergence checking is based now on the max norm of angle
change, or the maximum number of iterations.

------------------------------------------------------------------------
r5207 | blendix | 2005-08-27 15:27:49 +0200 (Sat, 27 Aug 2005) | 4 lines



Another file missed in IK commit.

------------------------------------------------------------------------
r5206 | ton | 2005-08-27 15:10:41 +0200 (Sat, 27 Aug 2005) | 2 lines

Forgot to add new files...

------------------------------------------------------------------------
r5205 | ton | 2005-08-27 14:48:45 +0200 (Sat, 27 Aug 2005) | 11 lines

Third and last commit for Brecht's IK work.

Full logs for changes will be added later. Worth to note now;
- support for 'tree IK' added
- DOF and stiffness per IK bone (in pose only)
- Orientation IK support (target rotates -> chain follows)

This is still WIP. Buttons might change, button ranges will change, and the
way 'IK groups' are working will change. You can play with this, but don't
expect saved files to work still by end of this day! :)

------------------------------------------------------------------------
r5204 | ton | 2005-08-27 14:45:29 +0200 (Sat, 27 Aug 2005) | 4 lines

Second commit for Brecht's IK work.

(Moto needs 'make install' before you can do IK lib btw)

------------------------------------------------------------------------
r5203 | ton | 2005-08-27 14:44:41 +0200 (Sat, 27 Aug 2005) | 4 lines

First commit of Brecht's new IK work. This only does the IK module.

Don't start compiling yet!

------------------------------------------------------------------------
r5202 | ton | 2005-08-26 19:48:46 +0200 (Fri, 26 Aug 2005) | 7 lines

Fixes, as reported by Basse

- Softbody Mesh didnt update when it was child of armature-posing
- Bone Stick drawing didn't draw selected in Solid + Object mode.
- WeightPaint + Subsurf (nice that it works!) didn't update on Bone
  selection

------------------------------------------------------------------------
r5201 | zuster | 2005-08-26 18:07:44 +0200 (Fri, 26 Aug 2005) | 3 lines

 - tsk tsk, ll suffix for constants is not C standard, doesn't
   work on msvc

------------------------------------------------------------------------
r5200 | ton | 2005-08-25 22:32:49 +0200 (Thu, 25 Aug 2005) | 2 lines

accidentally left in testing printf.

------------------------------------------------------------------------
r5199 | theeth | 2005-08-25 20:03:19 +0200 (Thu, 25 Aug 2005) | 3 lines

Based on a suggestion from Zr, using line line intersection for single axis projection.
This makes perspective handling a bit better.

------------------------------------------------------------------------
r5198 | ton | 2005-08-25 15:11:04 +0200 (Thu, 25 Aug 2005) | 16 lines

Random() issues with rendering...

- AO and soft shadow AreaLight tables were generated without fixed seed,
  causing animations to give unwanted amounts of noise.
- Made sure these tables now are calculated before render, with fixed seed
- Then found out the BLI_rand() has very bad seeding... it showed up as
  patterns. After some experimenting, found a nice method using noise.c
  hash tables. For compatibility with old code, named it BLI_srandom() to
  use this next to the BLI_srand(). This follows libc rand() and random()
  naming convention.
- Then of course threading should work... so made a BLI_thread_rand version
  of the calls. Now supports up to 16 threads, comments added in .h and .c

Result is stable animation render with AO and soft shadow. But, please
test and feedback!

------------------------------------------------------------------------
r5197 | ton | 2005-08-24 23:12:58 +0200 (Wed, 24 Aug 2005) | 5 lines

iBug fix #2965

Switching scene in Edit Mode crashed. Accessed the DAG without it being
initialized yet.

------------------------------------------------------------------------
r5196 | guitargeek | 2005-08-24 22:37:25 +0200 (Wed, 24 Aug 2005) | 2 lines

Move the settings in the Mesh Tools panel to the new toolsettings struct in Scene. These settings are now saved per scene.

------------------------------------------------------------------------
r5195 | ton | 2005-08-24 22:26:28 +0200 (Wed, 24 Aug 2005) | 6 lines

Making compiler happy;

- removed unused variables
- #if 0 around unused calls
- init of uninitialized vars

------------------------------------------------------------------------
r5194 | ton | 2005-08-24 22:18:03 +0200 (Wed, 24 Aug 2005) | 25 lines

Huge commit, but not much features... had to shuffle a lot of code around.

Main target was cleanup of editconstraint.c and removal of the ugly
ob->activecon (active constraint channel), which was set by the "Show"
button in the Constraint Panel.
Better is to introduce an 'Active Constraint' itself, which stores in
the Constraint itself. By using this setting, and by checking the active
Bone, the UI can update reliably now. This only shows now in IpoWindow
btw (for constraint ipos). The active Constraint is drawn in the Buttons
with a slightly brighter backdrop. Any action in that Panel selects a
constraint now (even click in backdrop).

So now we have pose channels & constraint channels nicely behaving. Now the
darn Action channels... :)

Further in this commit:

- interface.c: Button ROUNDBOX now does button callback too.
               Button NUMSLI didn't do the callback on a click only

- Cleaned up include files in yafray, got annoyed it compiled over all the
  time.

- removed unused variables from Constraint struct

------------------------------------------------------------------------
r5193 | hos | 2005-08-24 00:12:06 +0200 (Wed, 24 Aug 2005) | 4 lines

Variable was defined in a header file (constant_Type), resulting in
'multiply defined symbol' warning on IRIX for every file that
included that file. Moved to a C source file.

------------------------------------------------------------------------
r5192 | bjornmose | 2005-08-23 23:49:30 +0200 (Tue, 23 Aug 2005) | 2 lines

help MSVC6 projects for edgehash files

------------------------------------------------------------------------
r5191 | zuster | 2005-08-23 23:04:17 +0200 (Tue, 23 Aug 2005) | 5 lines

 - more fixes for wpaint mode, need to patch mesh modifier as well
 - change wpaint to flush changes during painting... can see this
   is going to be a problem because will also redeform. what to
   do, what to do...

------------------------------------------------------------------------
r5190 | zuster | 2005-08-23 22:39:58 +0200 (Tue, 23 Aug 2005) | 5 lines

 - disabled incremental subsurf support (during object mode) for the
   time being, misses features for texture/color drawing and I don't
   have time to finish at the moment. can return once UV/colors are
   incorporated into subdivision.

------------------------------------------------------------------------
r5189 | ton | 2005-08-23 22:19:01 +0200 (Tue, 23 Aug 2005) | 9 lines

Fix for reading older files... it didn't always convert OK for the new
deformation options of Armatures, causing bones not to deform.

It was caused by using the old "boneclass" variable and SKINNABLE.
Apparently the boneclass can have any value in older files. Will be killed.

Please note; in files created after last sunday, with setting "No deform" on a
Bone, that setting has to be done again.

------------------------------------------------------------------------
r5188 | zuster | 2005-08-23 22:04:10 +0200 (Tue, 23 Aug 2005) | 6 lines

 - add option to drawMappedFaces to draw with colors (from tface or mcol)
 - convert weightpaint/vertexpaint to draw using drawMappedFaces, slightly
   hacky because during weightpaint mcol's get overridden in order to
   have them propogate through modifiers. should work fine.
 - add NULL check in shaded draw, prevents crash w/ dupliframe

------------------------------------------------------------------------
r5187 | theeth | 2005-08-23 20:13:30 +0200 (Tue, 23 Aug 2005) | 8 lines

Bretch's patch for 2D transform. Thanks

Using new transform code to handle UV window.

With the ground work done, Transform could more easily be extended to handle IPO window now.

Tracker item: http://projects.blender.org/tracker/?func=detail&atid=127&aid=2946&group_id=9

------------------------------------------------------------------------
r5186 | erwin | 2005-08-23 18:50:53 +0200 (Tue, 23 Aug 2005) | 2 lines

don't need Object.h

------------------------------------------------------------------------
r5185 | guitargeek | 2005-08-23 16:13:00 +0200 (Tue, 23 Aug 2005) | 2 lines

Quad Adjacent edge subdivide type moved to Mesh Tools panel rather than pupmenu on all subdiv calls. This is a session value like beauty and will revert to path each time you load blender.

------------------------------------------------------------------------
r5184 | erwin | 2005-08-23 15:16:02 +0200 (Tue, 23 Aug 2005) | 7 lines

new game-menu option 'Record Game Physics to Ipo'
including implementation. hope it works, and doesn't break to much.
it bakes physics objects transform into ipo, every frame of the running gameengine.
When you disable and run the game again, it clears the ipo's again. just for physics objects at the moment.

(perhaps some better UI in the future?)

------------------------------------------------------------------------
r5183 | zuster | 2005-08-23 04:29:22 +0200 (Tue, 23 Aug 2005) | 3 lines

 - added iterator to edgehash
 - updated decimator to make edges

------------------------------------------------------------------------
r5182 | hos | 2005-08-23 04:28:01 +0200 (Tue, 23 Aug 2005) | 5 lines

Added (non-default) Makefile option to build blender with tweak mode.
To build with this option, set:

export NAN_TWEAK_MODE=true

------------------------------------------------------------------------
r5181 | zuster | 2005-08-23 04:05:45 +0200 (Tue, 23 Aug 2005) | 4 lines

 - subsurf getVertCos returned verts in wrong order since
   shuffling of code... led to fun and crazy results (maybe
   less fun for les artiste)

------------------------------------------------------------------------
r5180 | hos | 2005-08-23 03:31:11 +0200 (Tue, 23 Aug 2005) | 3 lines

On windows/gcc (aka. FREE_WINDOWS), build the blenderplayer whenever
blender is configured to build with the gameengine.

------------------------------------------------------------------------
r5179 | ton | 2005-08-22 23:58:55 +0200 (Mon, 22 Aug 2005) | 19 lines

Another painful editing issue solved!

Adding Ipos on a Constraint just was working totally insane. Here's how
it works now in the constraint Panel:

- Button "Show" will make the IpoWindow show the Constraint Ipo
 (it didn't before, when IpoWindow was not set to correct mode)

- Button "Key" will insert a key point on current frame (and show it in
  IpoWindow)

Note that both options will create an Action too, if not existed yet.
So, without opening an IpoWindow you can already animate Constraints.
(Todo: use the auto key option to always insert on changing slider)

And; selecting a Bone will update the Constraint IpoWindow too. Note
however, that when theres multiple Constraint Ipos on a Bone, it only
shows the first... will solve that later.

------------------------------------------------------------------------
r5178 | zuster | 2005-08-22 22:25:54 +0200 (Mon, 22 Aug 2005) | 3 lines

 - switch modifiers_isDeformedByArmature to also include
   virtual modifiers

------------------------------------------------------------------------
r5177 | zuster | 2005-08-22 22:24:59 +0200 (Mon, 22 Aug 2005) | 2 lines

 - added modifiers_isDeformedByArmature function

------------------------------------------------------------------------
r5176 | erwin | 2005-08-22 20:31:19 +0200 (Mon, 22 Aug 2005) | 2 lines

more preparation for physics recording to ipo keyframes

------------------------------------------------------------------------
r5175 | guitargeek | 2005-08-22 20:05:40 +0200 (Mon, 22 Aug 2005) | 2 lines

This commit introduces 2 new filling methods for subdividing quads which have only 2 adjacent edges selected. Path, Fan and Innerverts. ATM whenever a call is made to any subdivide calling tool, you will be asked for the type by a pupmenu. This will be replaced (perhaps) by a panel setting...

------------------------------------------------------------------------
r5174 | ton | 2005-08-22 19:52:52 +0200 (Mon, 22 Aug 2005) | 9 lines

Three little feats;

- Vpaint and Wpaint now use our own custom cursor, this was a very old
  plan anyway. It uses the 'knife' now, we need a good brush icon for it!
- On scaling bones in editmode, the deform distance info gets scaled now
  too when no "Envelope" draw mode was set.
- Disabled front buffer drawing of objects with CTRL+select in Edit Mode.
  Uses a regular redraw now (like for select in Object Mode btw)

------------------------------------------------------------------------
r5173 | erwin | 2005-08-22 17:47:56 +0200 (Mon, 22 Aug 2005) | 4 lines

- prepared for automatic game physics -> animation (ipo) conversion (this allows to use bullet for animation)
- default the m_edgecode to 65535, the wireframe was invisible. when is the edgecode available again ?
- added an extra condition, nearsensor is not yet working for bullet, but it crashed.

------------------------------------------------------------------------
r5172 | ton | 2005-08-22 00:01:20 +0200 (Mon, 22 Aug 2005) | 7 lines

Some fixes;

- Armature deform options "Envelope" and "Vertexgroup" didn't combine. One
  Vertexgroup added disabled all Envelopes
- "Clear" option in WPaint Panel now sends refresh to deform
- Same for Undo in Wpaint

------------------------------------------------------------------------
r5171 | blendix | 2005-08-21 23:39:44 +0200 (Sun, 21 Aug 2005) | 4 lines



Use new BLI_edgehash_* functions in unwrapper.

------------------------------------------------------------------------
r5170 | ton | 2005-08-21 23:20:53 +0200 (Sun, 21 Aug 2005) | 2 lines

Much wanted; Constraint "move up" and "move down" buttons, in the Panel!

------------------------------------------------------------------------
r5169 | zuster | 2005-08-21 22:48:45 +0200 (Sun, 21 Aug 2005) | 6 lines

 - sillyness... added drawMappedEdges for mesh
 - revert to drawLooseEdges instead of general drawEdgesFlag
 - ditched TFace edge flags, done dynamically now which also
   means don't need to recalc surface on flag changes
 - added BLI_edgehash, guess what it does

------------------------------------------------------------------------
r5168 | ton | 2005-08-21 22:09:50 +0200 (Sun, 21 Aug 2005) | 9 lines

Made weight-painting more bearable :)

- Hotkey CTRL+TAB toggles weightpaint on/off
- If Mesh has no vertex groups yet, it still accepts Weight Paint mode.
  Then, on a first painting stroke it creates a default group.
- When combining WeightPaint mode with Bone selecting, if you select a
  Bone without vertex group it draws Mesh dark blue. On a first painting
  stroke it then also creates a new group, with the Bone name.

------------------------------------------------------------------------
r5167 | zuster | 2005-08-21 21:01:30 +0200 (Sun, 21 Aug 2005) | 2 lines

 - bug fix, last edge wasn't flagged correctly on make_edges

------------------------------------------------------------------------
r5166 | ton | 2005-08-21 20:53:12 +0200 (Sun, 21 Aug 2005) | 24 lines

Control over Armature deform. Three new options are added for it;

Armature Panel
- "Vertex Groups"
- "Envelope"

Bones Panel
- "Mult"

The logic works as follows;
- Set "Vertex Groups" will enable vertex group based deform (default)
- Set "Envelope" will enable Bone Envelopes to deform
- Set both will apply Envelope deform on vertices without VertexGroups

- Set the per-Bone "Mult" option to have Envelopes work on top of a
  VertexGroup
- The per-Bone "Deform" option (was called "Skinnable") will dis/enable
  the Bone to deform for all situations.

The old convention was that, without any vertex groups, the Bones deformed
with bone-distances. I can't patch that... so you have to enable it by
hand in older files. Not too bad, since this option was unusable before
anyway. :)

------------------------------------------------------------------------
r5165 | zuster | 2005-08-21 19:57:06 +0200 (Sun, 21 Aug 2005) | 4 lines

 - edge draw experiment didn't turn out to be useful, removed and reverted
   to old.
 - updated fasterdraw() to work with edges

------------------------------------------------------------------------
r5164 | stiv | 2005-08-21 17:16:16 +0200 (Sun, 21 Aug 2005) | 6 lines

bugfix: #2924  Bugs in api2_2x/Material.c
 - BPy_Material_methods[] "setFilter" calls Material_setFresnelMirrFac()
 - Material_setSpecSmooth() should be setting param[3], not param[2]

Contributed by Ken Hughes.  Thanks!

------------------------------------------------------------------------
r5163 | stiv | 2005-08-21 17:00:17 +0200 (Sun, 21 Aug 2005) | 9 lines

A large collection of fixes from Ken Hughes including:
 - corrections to constants
 - parameter type checking
 - correct use of METH_VARARGS vs METH_NOARGS
 - return objects instead of strings in Scene.getChildren() as per doc.
 - correct logical operators

Thanks, Ken!

------------------------------------------------------------------------
r5162 | ton | 2005-08-21 16:39:08 +0200 (Sun, 21 Aug 2005) | 2 lines

Temporal; make compiling happy. :)

------------------------------------------------------------------------
r5161 | ton | 2005-08-21 13:26:53 +0200 (Sun, 21 Aug 2005) | 16 lines

At last! B-bones now deform. :)
This works pretty nice for better control over the curvature of any bone
deform. No need to give Bones (vgroups) large influence, just add a coupleof B-bone segments.

Two notes;
- The Bone property "Segments" defines if a deform happens as a 'B-bone'.
  The drawtype B-bone is just for display in 3d window.
- A B-bone also deforms (bends) in Rest-position, if there's a joint that
  creates a curved Bone. Therefore, best results you get by creating a
  rest-position with straight joints. Or, if you prefer a slightly bended
  restposition (for a spine or so), make sure the Mesh model is *not*
  curved, the B-bone will do this for you.

Also added: proper events on changing buttons for Bones, like "Segm" or
"Dist" etc.

------------------------------------------------------------------------
r5160 | ton | 2005-08-21 12:05:50 +0200 (Sun, 21 Aug 2005) | 7 lines

MEM_alloc allocated in units of 8 for 32 bits systems, and units of 4 for
64 bits systems... weird bug. :)
It now only does a unit-of-4 check, for all systems. This will work fine,
since the malloc code will return aligned anyway, and the guarded alloc
system only stores ints in the headers. Also, the sizeof() call will
correctly do padding, so there's no risk of allocating too small blocks.

------------------------------------------------------------------------
r5159 | zuster | 2005-08-21 09:19:20 +0200 (Sun, 21 Aug 2005) | 29 lines

 - added mesh_strip_loose_faces, works in conjunction with make_edges
   to get rid of faces with MFace.v3==0
 - change all Mesh's to have ->medge now. This is forced by make_edges
   on readfile, and in the various exotic important routines, and on
   conversion back in python.
 - make python NMesh structure always have medges now (needs testing)
 - with above two changes it is guarenteed that mf->v3 is never ==0
   in main blender code (i.e., all MFace's are actually triangles
   or quads) and so I went through and removed all the historic tests
   to deal with MFace.v3==0. Equals lots of deleting, I am in heaven!
 - removed MEdge edcode flag, no longer needed
 - added experimental replacement for edge flag system

Still are some inconsistencies in FACESELECT mode edge drawing to
be ironed out.

NOTE: This commit adds an experimental edge flag calc system, based
on 10-seconds-of-thought algorithm by yours truly. Would appreciate
feedback on how this system works, esp compared to old one and esp
on complex or interesting models.

To Use: New system is enabled by setting G.rt to a value between
1 and 1000 (Value of 0 uses old system). Value 1000 is reserved for
"auto" edge, which is more or less identical to old system but also
makes sure that at least 10% of edges are drawn (solves errors for
super subdivided meshes). Values between 1 and 999 act as percent
(out of 1000) of edges that should be drawn, starting with "most
interesting" edges first. Please try it and comment!

------------------------------------------------------------------------
r5158 | guitargeek | 2005-08-21 05:37:38 +0200 (Sun, 21 Aug 2005) | 2 lines

Some whitespace cleanup...

------------------------------------------------------------------------
r5157 | guitargeek | 2005-08-20 23:37:52 +0200 (Sat, 20 Aug 2005) | 2 lines

Temp edge selection for edgeslide draw length now deselected properly at the end of edgeslide

------------------------------------------------------------------------
r5156 | ton | 2005-08-20 22:30:13 +0200 (Sat, 20 Aug 2005) | 3 lines

Fix for setting in perspective view mode the ALT+B clipping planes.
Fun: do exact camera viewborder to see camera volume!

------------------------------------------------------------------------
r5155 | zuster | 2005-08-20 22:04:32 +0200 (Sat, 20 Aug 2005) | 3 lines

 - bug fix, mirror modifier could duplicate edges on boundary in
   certain cases

------------------------------------------------------------------------
r5154 | ton | 2005-08-20 21:45:34 +0200 (Sat, 20 Aug 2005) | 2 lines

Left in a testing value for clipping... tsk! Did only three planes :)

------------------------------------------------------------------------
r5153 | ton | 2005-08-20 21:18:35 +0200 (Sat, 20 Aug 2005) | 24 lines

New feature; User definable Clipping Planes.

Press ALT+B in 3d window, draw a rect, and it becomes a clipping
volume of 4 planes. You then can rotate the view anyway you like.
Works for each 3d window individually.

Disable it with another ALT+B press.

Commit is huge because it had to change all selection code as well.
The user-clipping planes are in 'eye space', the other clipping
happens in projected 'viewport space'.

Nice to notice is that the 'x=3200' convention (to denote a coordinate
is clipped) now is a define. Define value is still a number though... but
we now can get up to screens of 12000 pixels without issues!

Known issue; here it refuses to draw the 'object centers' or Lamp icons
within the clipping region. Can't find any reason for it... however, we
might move to non-pixmaps for it anyway.

Testing might reveil numerous issues, will be standby for it.

Curious? Check this http://www.blender.org/bf/rt4.jpg

------------------------------------------------------------------------
r5152 | zuster | 2005-08-20 20:49:08 +0200 (Sat, 20 Aug 2005) | 2 lines

 - another drawing bugfix, some normals were passed wrong

------------------------------------------------------------------------
r5151 | zuster | 2005-08-20 20:38:33 +0200 (Sat, 20 Aug 2005) | 2 lines

 - possible fix #2 for editmode face's draw black

------------------------------------------------------------------------
r5150 | zuster | 2005-08-20 20:25:11 +0200 (Sat, 20 Aug 2005) | 2 lines

 - bug fix for stooooopid crash in mirror modifier

------------------------------------------------------------------------
r5149 | zuster | 2005-08-20 20:14:04 +0200 (Sat, 20 Aug 2005) | 3 lines

 - possible fix for editmesh solid drawing black, I can't reproduce
   so working a bit blind here

------------------------------------------------------------------------
r5148 | guitargeek | 2005-08-20 18:38:05 +0200 (Sat, 20 Aug 2005) | 2 lines

In edgeslide if Draw Edge Length is on, the rail edges will be temporarily selected so that actual new edge length can be seen.

------------------------------------------------------------------------
r5147 | zuster | 2005-08-20 13:01:17 +0200 (Sat, 20 Aug 2005) | 3 lines

 - tweak virtual modifier display, now label "parent deform" and
   don't display with edit buttons

------------------------------------------------------------------------
r5146 | ton | 2005-08-20 11:55:11 +0200 (Sat, 20 Aug 2005) | 10 lines

A couple of smaller fixes;

- Modifier Panel, name label for "Virtual" modifiers was too short
- On extrude Bones, "soft distance" now is always set based on length
  of the bone (also on CTRL+click, also when Envelope drawmode is not set)
- Added undo-push for "Apply Bone Envelopees to VertexGroup" in WeightPaint.
- Menu-buttons in floating panels sometimes gave drawing error
- InfoWindow buttons were always allocated & drawn, even when window was
  zero sized... waste of cpu, tsk!

------------------------------------------------------------------------
r5145 | zuster | 2005-08-20 11:17:20 +0200 (Sat, 20 Aug 2005) | 3 lines

 - agh! missed it again! for real this time, fix for proper updating
   in image window

------------------------------------------------------------------------
r5144 | zuster | 2005-08-20 11:16:09 +0200 (Sat, 20 Aug 2005) | 8 lines

 - made make_edge mark edges with LOOSEEDGE appropriately
 - added user settable defaultEdgeData (for auto edge creation
   in CCGSubSurf)
 - bug fix, possible crash on meshes with loose edges but
   in mface not in medge
 - missed file in last commit, for proper updating in image
   window

------------------------------------------------------------------------
r5143 | zuster | 2005-08-20 09:42:25 +0200 (Sat, 20 Aug 2005) | 9 lines

 - bug fix, apply modifier removed modifier even on certain
   errors
 - change drawimagespace to check and update object data if
   it needs a recalc. this fixes errors with a recalc being
   flushed but not actually being done before spaceimage
   redraws. Updates typically actually happen in draw loop,
   which is not a great design...
 - make shared vertexcol didn't flush update

------------------------------------------------------------------------
r5142 | zuster | 2005-08-20 05:08:23 +0200 (Sat, 20 Aug 2005) | 47 lines

 - convert all DerivedMesh map functions to use index based
   mapping (instead of Edit{Vert,Edge,Face} pointers)
 - dropped convertToDispListMeshMapped (whew, glad of it too)
 - added DerivedMesh drawMappedFaces function
 - dropped EM suffix for DerivedMesh functions, it was neither
   particularly correct nor descriptive
 - converted test_index_mface to test_index_face that also corrects
   MCol and TFace. Good thing we had three versions of this routine,
   you never know when one might burn down.
 - removed flipnorm_mesh, not used anymore (and was incorrect to
   boot)

 - Getting face select to work with modifiers turned out to be much
   more complicated than expected. Reworked mapping architecture for
   modifiers - basically elements in a DispListMesh are now required
   to be stored in an order that corresponds exactly to original
   ordering. MVert/MEdge/MFace all have a new flag ME_XXX_STEPINDEX
   that is set on each element that is set on the first derived element
   of each original element. I can't say the code to follow these
   requirements for subsurf is particularly transparent, but on the
   upside it is a reasonably consistent and simple system that is memory
   efficient and allows keeping the DispListMesh structure.

 - rewrote mirror modifier to be simpler/conform to new requirements
   for mapped DispListMesh structure. This also means that mirror interacts
   much better with incremental subsurf calculation (it used to recalc
   one entire side on any topology change, now it generally avoids that).

 - added EM_{init,free}_index_arrays and EM_get_{vert,edge,face}_for_index
   functions to handle mapping indices back into appropriate EditMesh
   structures.
 - bug fix, make edges didn't recalc object data
 - bug fix, initial image assignment to TFace's didn't recalc object data

 - new feature, added circle select support for FACESELECT
 - bug fix, creating new faces in editmode duplicated the TFACE active
   flag - but there should only be one active tface
 - bug fix, possible crash when deleting all faces in faceselect mode
   on mesh with tfaces...

Still todo: TFace edge drawing is still not always correct in face
mode, in particular with a mirror modifier when mesh has edges (and
no preceeding subsurf). Have not yet decided how to deal with this.
Best solution is probably to do switch to meshes all having MEdge's,
in which case I can get rid of TFace edge flags (and need to recalc
modifiers on tface selection change).

------------------------------------------------------------------------
r5141 | bjornmose | 2005-08-20 00:55:05 +0200 (Sat, 20 Aug 2005) | 2 lines

Moving functions and  calls to have a cleaner situation for futre work (implicit solver .. n stuff)

------------------------------------------------------------------------
r5140 | ton | 2005-08-20 00:19:33 +0200 (Sat, 20 Aug 2005) | 3 lines

Fix for last commit... on extrude, the bone-point size got copied too,
while it was not set properly yet.

------------------------------------------------------------------------
r5139 | ton | 2005-08-19 23:37:29 +0200 (Fri, 19 Aug 2005) | 18 lines

More armature stuff;

- The "Skinnable" option for Bones now is taken into account for the
  Envelope drawmode. If not Skinnable, it also doesn't draw the soft
  deform area. Maybe bone should be hidden... dunno yet.
- Use CTRL+LMB in weightpaint mode to sample the weight in a mesh.
  Note; it returns the weight of the closest visible vertex, not of a
  Blended result.
- NKey Panel for Mesh edit now shows a menu with the VertexGroup name(s)
  of a selected Vertex, plus the Weight.

Fix:
- while scaling Bone points in editmode (Envelope drawtype), the Bone
  root scale was not copied from (or to) the parent tip. This was not
  visible (is not drawn) but deform did use it... causing weird errors.
  For those who saw this error today: just go into editmode, select all
  Bones, press Skey, enter. That fixes it :)

------------------------------------------------------------------------
r5138 | ton | 2005-08-19 18:15:51 +0200 (Fri, 19 Aug 2005) | 2 lines

CTRL+click now also allows Root-point extrude of Bones.

------------------------------------------------------------------------
r5137 | ton | 2005-08-19 14:39:43 +0200 (Fri, 19 Aug 2005) | 2 lines

Forgot hidden flag update in this file...

------------------------------------------------------------------------
r5136 | ton | 2005-08-19 14:35:15 +0200 (Fri, 19 Aug 2005) | 29 lines

Armature "Envelope" editing.

For defining the deformation distances of Bones, three values are being
used now. The bone tip and root radius define the bone-shape itself and the
"dist" defines the soft area around it. A full (user) doc is in CMS here;

http://www.blender3d.org/cms/Armature_Envelopes.647.0.html

Note: todo still is allowing both Vertex Deform Groups and these Envelopes
together (and or per Bone).

Also part of this commit is:

- New: Hiding bones in EditMode. This is a separate 'hide flag', so you can
  keep the PoseMode hidden Bones separate from EditMode.
  (In the future we should do some kind of bone-grouping or so)
- While transform(), the hotkeys G,R,S only switch mode when the previous
  mode was compatible. Caused conflicts with Crease/BoneDist/etc.
- Deleting the last VertexGroup now also deletes the entire Mesh 'dvert'
  data. Sounds logical, but remember that VertexGroups are partial on a
  Mesh, partial on Object. Weird design decision though...
  Anyhoo, at this moment the only way to have Bone Envelopes deform, is
  by deleting all VertexGroups!
- In PoseMode, the hotkey ALT+S now does both B-Bone size or Envelope,
  depending draw type.
- In EditMode, Extrude now also works when only Root points were selected.
- Weight editing is also symmetrical btw, with the "X-axis Mirror" option
  set.

------------------------------------------------------------------------
r5135 | erwin | 2005-08-18 19:32:25 +0200 (Thu, 18 Aug 2005) | 2 lines

support for __MINGW32__ compiler, it doesn't have __forceinline

------------------------------------------------------------------------
r5134 | hos | 2005-08-18 18:48:10 +0200 (Thu, 18 Aug 2005) | 3 lines

spack() is no longer used in the blender core, so I moved it to
this gameengine source file that depends on it.

------------------------------------------------------------------------
r5133 | zuster | 2005-08-18 13:49:33 +0200 (Thu, 18 Aug 2005) | 2 lines

 - added code to draw loose edges in textured and fastshade views

------------------------------------------------------------------------
r5132 | zuster | 2005-08-18 13:31:20 +0200 (Thu, 18 Aug 2005) | 27 lines

 - added DerivedMesh.drawUVEdges function & implementations
 - removed DerivedMesh.drawLooseEdges and replaced with much more
   general drawEdgesFlag function that draws based edge flags.
 - switch DerivedMesh.drawFacesTex to give user control over which
   faces are drawn
 - added object_uvs_changed and object_tface_flags_changed functions
   to do object recalc flag flush/redraw queueing and added calls
   in appropriate places
 - added various edge flags to mark TFace information. This is used
   by the drawEdgesFlag routine and was the best way I could come
   up with to deal with drawing TFace information from modifier stack.
   Unfortunate side effects are (1) uses a lot of MEdge flags (although
   not needed in file so thats fine) and (2) requires recalculation
   of modifier stack on UV selection changes. #2 is disappointing
   but I could not find a better solution.
 - update UV mesh shadow drawing to use modifier result. At the moment
   just uses the final result but probably should be integrated with
   the editmode cage option.
 - convert draw_tfaces3D to use drawEdgesFlag routine which cleaned
   up the code quite a bit.
 - convert draw_tface_mesh to draw using result of modifier stack.
   Same comment about which result actually gets draw in FACESELECT
   mode as for UV editor shadow drawing applies.

There is a still a bug in that selection is using the wrong
mesh to draw.

------------------------------------------------------------------------
r5131 | zuster | 2005-08-18 13:14:28 +0200 (Thu, 18 Aug 2005) | 5 lines

 - bug fix, convert modifiers function used a shared displistmesh which
   could lead to crash
 - bug fix, exit_editmode was warning too often about free'ng baked
   softbody data.

------------------------------------------------------------------------
r5130 | zuster | 2005-08-18 13:04:22 +0200 (Thu, 18 Aug 2005) | 2 lines

 - remove redundant calculation of spring length

------------------------------------------------------------------------
r5129 | hos | 2005-08-18 08:07:02 +0200 (Thu, 18 Aug 2005) | 6 lines

Support for 'Bullet' in the Makefiles. Enable with:

export NAN_USE_BULLET=true

in environment, or in user-def.mk

------------------------------------------------------------------------
r5128 | hos | 2005-08-18 08:04:50 +0200 (Thu, 18 Aug 2005) | 3 lines

The name of an included header had the capitalization wrong, causing
problems on unix.

------------------------------------------------------------------------
r5127 | erwin | 2005-08-17 21:52:56 +0200 (Wed, 17 Aug 2005) | 2 lines

some more fixes in the raycast/mouse over

------------------------------------------------------------------------
r5126 | sirdude | 2005-08-17 19:56:54 +0200 (Wed, 17 Aug 2005) | 7 lines



Got rid of a couple other warnings, of the form:
struct blah was declared in param list this is probably not what you want...

Kent

------------------------------------------------------------------------
r5125 | erwin | 2005-08-17 16:29:58 +0200 (Wed, 17 Aug 2005) | 2 lines

added the "mouse over any", makes the sensor more useful

------------------------------------------------------------------------
r5124 | ascotan | 2005-08-17 16:26:00 +0200 (Wed, 17 Aug 2005) | 9 lines

- update to constant.c
  - give it the key/items interface
  - creates some factory functions for const generation
- genutils methods
  - method for getting module constants
  - method for throwing errors with a print string
- updates to function names
- clean up interpreter launch a bit

------------------------------------------------------------------------
r5123 | ton | 2005-08-17 15:31:08 +0200 (Wed, 17 Aug 2005) | 2 lines

Accidentally #defined FLT_EPSILON... is already in blendef.h

------------------------------------------------------------------------
r5122 | ton | 2005-08-17 15:26:42 +0200 (Wed, 17 Aug 2005) | 10 lines

- New feature: shift+ctrl+t in Mesh editmode splits quads in exact opposite
  way. Requested for low-poly modeling.

- fix: on exit editmode, the code always created a mesh->dvert block...
  silly, this made other code confused which decided whether to use
  dverts (vertex groups) or not.

- removed obsolete call from armature.c. Also fixed name of function there,
  preparation work for nicer support in Blender for "deform envelopes"

------------------------------------------------------------------------
r5121 | zuster | 2005-08-17 00:58:31 +0200 (Wed, 17 Aug 2005) | 4 lines

 - bug fix, free bake didn't work
 - bug fix, force free of bake data on exit editmode, can't
   give user a choice

------------------------------------------------------------------------
r5120 | hos | 2005-08-17 00:11:40 +0200 (Wed, 17 Aug 2005) | 17 lines

For lukep:

In face select mode, select faces by triangle/quad/other.
Available through header menu, toolbox, or hot keys.

Hot keys are:

ctrl-shift-alt-3: Select all triangles
ctrl-shift-alt-4: Select all quads
ctrl-shift-alt-5: Select all non-triangles/quads
(maybe a bit sore for the wrist)

And also available through the menu/toolbox.

I've never used f-gons so I don't know if the 'select other'
function works there (or works at all, for that matter).

------------------------------------------------------------------------
r5119 | theeth | 2005-08-16 23:58:26 +0200 (Tue, 16 Aug 2005) | 2 lines

Turning off tweak mode until there's a better UI.

------------------------------------------------------------------------
r5118 | zuster | 2005-08-16 23:02:38 +0200 (Tue, 16 Aug 2005) | 3 lines

 - silly mistake in last commit, passed wrong argument to DerivedMesh
   function

------------------------------------------------------------------------
r5117 | zuster | 2005-08-16 22:42:52 +0200 (Tue, 16 Aug 2005) | 2 lines

 - bug fix, draw wire extra should use cage with vpaint/wpaint/tpaint

------------------------------------------------------------------------
r5116 | sirdude | 2005-08-16 22:21:43 +0200 (Tue, 16 Aug 2005) | 7 lines



Added prototypes for some stubs to shut gcc up ;)
(In doing so found a stub that had wrong # of args)

Kent

------------------------------------------------------------------------
r5115 | ton | 2005-08-16 21:37:36 +0200 (Tue, 16 Aug 2005) | 38 lines

Weight Paint & Vertex Paint goodies;

- New: "Spray" is an option now. This used to be the only available vertex
  painting method, while holding the mousebutton and move mouse, it keeps
  applying (adding, blending) the color.
  Disabling "Spray" will give more a 'paint' effect, only applying the
  maximum what you indicated to be painting.

- Weight Paint now offers all options Vertex Paint has. This includes "Add",
  "Mult", "Sub", and "Filter". And of course the "Spray", which is default
  off btw.
  Since Weight Paint might need totally different settings, they are stored
  separate from Vertex Paint options.

- Renamed the weird "Area" and "Soft" options into something that tells what
  it actually does (Even tooltips were wrong).
  Area -> "All Faces", option to have all Faces inside the brush being
     painted on. Disabling this only paints on the face under the cursor.
  Soft -> "Vertex Dist", option that uses distances from cursor to vertex
     to calculate the effect. Disable it to only paint per-face.
  If someone knows better names... go ahead! :)

- New WeightPaint option in the Panel: "Clear", which removes reference
  to this deform group from all vertices.

- Removed code that deleted 'deform vertices' from Mesh on exit editmode,
  when vertexgroups were empty. This just worked against you... you could
  not paint on empty groups.

- Made Weight Paint painting much nicer. The way it applied values was very
  harsh without good transitions. Mainly because it didn't use the
  "Vertex Dist" option, but also because it applied colors 3 or 4 times per
  vertex (tria/quad).

- Weight Paint undo now restores on a 2nd Undo.

- Vertex Paint Panel button "Clear" didn't work even.

------------------------------------------------------------------------
r5114 | theeth | 2005-08-16 20:23:28 +0200 (Tue, 16 Aug 2005) | 8 lines

Tweak mode

RMB click drag to select and transform (grab). Release to confirm. (Cancel with esc)

The difference with before is that it is a single motion, you don't have to click at the end of transform, you can just release the mouse button.

(Some float constant warning too)

------------------------------------------------------------------------
r5113 | bjornmose | 2005-08-16 19:54:59 +0200 (Tue, 16 Aug 2005) | 2 lines

Ooops, one slipped on porting

------------------------------------------------------------------------
r5112 | bjornmose | 2005-08-16 19:48:47 +0200 (Tue, 16 Aug 2005) | 17 lines

softbody <--> softbody collision
make softbodies collide with objects patented to armatures (bones), lattices .. )

Softbody deflectors always use the new modifier stack. (thanks ZR)

Softbody deflector code checks for identity of colliding objects so,
there is no need to prohibit softbodies to be a deflector.

So now you can put some soft balls in a box and see them bounce.

see : http://wund.privat.t-online.de/bt/sb_sb_coll.blend

A deflector cube parented to SB lattice:
http://wund.privat.t-online.de/bt/sb_lattice.blend

BM

------------------------------------------------------------------------
r5111 | theeth | 2005-08-16 19:37:42 +0200 (Tue, 16 Aug 2005) | 5 lines

ToSphere changes.
- Scale goes from 0 (original) to 1 (full sphere) instead of the contrary
- Mouse control is done by moving pointer left / right on screen. Full right is 1, left is 0. There's a 10% width padding on each border.
- Works correctly with Shift modifier now.

------------------------------------------------------------------------
r5110 | ton | 2005-08-16 12:17:02 +0200 (Tue, 16 Aug 2005) | 9 lines

New! When weight-painting a Mesh, and select a Bone, you can use transform
options on the Bone (G, R, S). The manipulator doesn't show btw.
Is usful to get immediate feedback on how painted weights behave with Bones.

Martin; I had to change the T_POSE behaviour in code a bit... it now
stores in TransInfo the actual posed armature being transformed. Maybe,
some day, we'll get mixed posechannel/object transform? Not much required
at the moment though. :)

------------------------------------------------------------------------
r5109 | ton | 2005-08-15 21:46:09 +0200 (Mon, 15 Aug 2005) | 17 lines

Added new button type: ROUNDBOX

This replaces drawing with uiRoundBox() or glRect() in button Panels,
which just fails for dynamic constructed button views where Panels are
sometimes invisible. Also eliminates hack with PanelPop().
Error was visible with new Modifier panel, entering/exiting EditMode.

Done Modifier and Constraints.

Syntax:

The last 4 free variables in the uiDefBut() call are:
- float, corner-rounding (0.0-pixels),
- not used,
- short: roundbox type (bits, 1 2 4 8 for clockwise corners starting left/top)
- short: color shade offset (color range 0-255)

------------------------------------------------------------------------
r5108 | ton | 2005-08-15 18:12:50 +0200 (Mon, 15 Aug 2005) | 8 lines

A nice character modeling time-saver:

In WeightPaint mode, pose-mode armatures now allow selecting Bones, but
without making the Armature object active.
Selecting a Bone then results in selecting the associated vertexgroup. :)

Little quirk; all armatures with posemode then draw selectable...

------------------------------------------------------------------------
r5107 | ton | 2005-08-15 16:44:51 +0200 (Mon, 15 Aug 2005) | 7 lines

Using NKey panel in 3d window on editmode armature now applies the
new 'mirror edit' as well. Including the 'roll'.

PLease note that roll values can differ a lot when you have modeled
without 'mirror' mode. You can enforce the roll to match by first
moving the Bone a little bit, so the other one aligns perfectly.

------------------------------------------------------------------------
r5106 | ton | 2005-08-15 16:02:03 +0200 (Mon, 15 Aug 2005) | 22 lines

EditMode armature: mirrored editing feature.

- Option is in EditButtons, Armature panel.
- Currently only local X-axis mirror (seems to be default anyway)
- Transform then applies changes to the mirrored-name bone as well.
- Extrude: also does the counterpart Bone
- New: SHIFT+E extrude: extrudes 2 mirrored Bones out of a normal Bone.
  (creating names by appening _L and _R)

Or in short: you can now model a full rig without any manual naming!
Of course the names are not too nice... a couple of ideas to explore;
- rename a mirrored bone renames counterpart too
- allow in weightpaint mode to select Bones
- and of course mirrored edit in PoseMode (if that's useful...)

Important note: I tweaked the naming convention a bit; names like
Bone_L.005 and Bone_R.005 are considered counterparts. However, if
you use the "Flip names" option, the number extension is still
truncated.

BTW: Commits in Zr's code are fixes for gcc warnings. :)

------------------------------------------------------------------------
r5105 | zuster | 2005-08-15 12:30:53 +0200 (Mon, 15 Aug 2005) | 24 lines

 - readded DL_VERTS type to store lattice deformed verts
 - new feature, twiddled with lattice resizing to try to maintain
   existing vertex changes... much nicer than just resetting the
   lattice if you decide you need more detail in the lattice.
 - modifiers work with lattices now. yes, that does mean you
   can make a chain of lattices effecting each other 8 miles
   long.
 - some cleanup of softbody code, was rather splintered and call
   path was twisted and confusing. reworked main object step
   routine to do things in a more obvious and consistent manner
   and without duplicate code
 - added ob->softflag OB_SB_RESET instead of sbObjectReset
   call
 - modifier changes reset softbody now
 - moved curve_getVertexCos/curve_applyVertexCos into curve.c
 - update curve modifier eval to work with virtual modifiers
 - update modifier apply to work with curves/surfs
 - update make parent to also recalc object data

NOTE: Although you can turn SB on for curve/font objects at the
moment it doesn't really work because they call deform in
multiple steps and this confuses SB. Not sure how to deal with
atm.

------------------------------------------------------------------------
r5104 | ton | 2005-08-15 11:45:48 +0200 (Mon, 15 Aug 2005) | 2 lines

Crash bug! Reading older files with follow-path constraints failed...

------------------------------------------------------------------------
r5103 | zuster | 2005-08-15 06:10:02 +0200 (Mon, 15 Aug 2005) | 11 lines

 - added view3d_get_object_project_mat function, returns mat to project
   object cos into screenspace without mucking with gl matrices.
 - added view3d_project_ functions, take arguments instead of using
   globals
 - removed View3D.{mx,my,mxo,myo}
 - switch drawobject foreachScreenVert functions to use new projection
   functions
 - switch edge slide to use new projection functions, fixes erratic
   behavior (project was using wrong mat I believe)
 - bug fix in edgeslide, nearest edge to start was one-off

------------------------------------------------------------------------
r5102 | zuster | 2005-08-15 02:53:51 +0200 (Mon, 15 Aug 2005) | 3 lines

 - get rid of unused object_deform_curve
 - some tweaks to modifier UI thanks to Bart (aligning buttons)

------------------------------------------------------------------------
r5101 | ton | 2005-08-14 22:50:02 +0200 (Sun, 14 Aug 2005) | 2 lines

Lamp-halo & Ortho didn't render correct. Thanks Desoto! :)

------------------------------------------------------------------------
r5100 | zuster | 2005-08-14 21:44:43 +0200 (Sun, 14 Aug 2005) | 2 lines

 - bug fix #2935, DAG update was not called on new boolean object

------------------------------------------------------------------------
r5099 | ton | 2005-08-14 21:26:58 +0200 (Sun, 14 Aug 2005) | 6 lines

Bugfix #2943

Render bug.
Alpha low or zero, Ztransp, didnt render with lamp halos over...
Note it still doesnt work for ray-transp!

------------------------------------------------------------------------
r5098 | ton | 2005-08-14 18:03:22 +0200 (Sun, 14 Aug 2005) | 4 lines

do_versions() for 2.37 was reading a library data pointer that wasn't set
yet. Crashed in windows...
Thanks Desoto for finding it!

------------------------------------------------------------------------
r5097 | zuster | 2005-08-14 14:54:57 +0200 (Sun, 14 Aug 2005) | 2 lines

 - forgot to remove a function prototype from header on static'ng

------------------------------------------------------------------------
r5096 | zuster | 2005-08-14 14:17:34 +0200 (Sun, 14 Aug 2005) | 5 lines

 - enable modifiers for curve/font/surf types... a little hacked in
   but should work ok. Means new features! Wave effect for curve/font/surf
   and armature deform as well.
 - added undo_push calls for some modifier ops.

------------------------------------------------------------------------
r5095 | ton | 2005-08-14 13:15:36 +0200 (Sun, 14 Aug 2005) | 3 lines

Patch provided by Adam (ajk48n). It reverses the turntable rotation when
you have the view 'upside down', resulting in correct feedback.

------------------------------------------------------------------------
r5094 | ton | 2005-08-14 12:58:17 +0200 (Sun, 14 Aug 2005) | 6 lines

Patch provided by Campbell Barton; this makes the editmode Mesh CTRL+T
"convert to triangles" check for shortest diagonal to decide how the
triangles will be made.

Fun todo for another occasion; check on facenormals too...

------------------------------------------------------------------------
r5093 | zuster | 2005-08-14 12:35:58 +0200 (Sun, 14 Aug 2005) | 8 lines

 - cleaned up edge drawing a tad, there were issues with mesh's
   with "loose" edges (edges without a face) and drawing in
   solid mode. they would either not draw, or draw with a nasty
   selection outline. Added a ME_LOOSEEDGE flag to mark such
   edges in displists/mesh and editmode sets it.
 - changed DerivedMesh drawEdges to take an argument whether
   it should draw loose edges or not

------------------------------------------------------------------------
r5092 | ton | 2005-08-14 12:31:14 +0200 (Sun, 14 Aug 2005) | 15 lines

Patch provided by Matt Ebb, cut sequence strips (patch tracker).
There were a couple of issues with the implementation:

- there was no proper test if selected strips would be cut or not
- cutting meta strips could go very wrong... for example when the cut
  of meta was in an internal gap. With meta's being recursive, and too
  complex, I've disabled Meta-cutting
- added an OK menu for hotkey K
- added warnings when no cut was done

This is the first time in 6 years I do work in sequencer... man, this has
grown into a messy bizz! Like sequence variables... using names like:
start, startdisp, startstill, startoffs... totally confusing here. Could
use giant cleanup! Implementation was weak from scratch though, Mea Culpa!

------------------------------------------------------------------------
r5091 | zuster | 2005-08-14 09:02:51 +0200 (Sun, 14 Aug 2005) | 5 lines

 - added hook "cursor center" feature (sets hook center to cursor position),
   gives better control over falloff
 - added modifier UI access to hook "select" and "reassign" features
 - bug fix, unbroke path-tilt drawing

------------------------------------------------------------------------
r5090 | zuster | 2005-08-14 08:08:41 +0200 (Sun, 14 Aug 2005) | 32 lines

 - added make_orco_curf, even does keys!
 - removed {lattice,curve}_modifier functions
 - changed render code to use displist for curve rendering
   instead of making its own. required adding a bevelSplitFlag
   field to DispList. I also fixed the bevel face splitting
   which did not work correctly in many situations.
 - changed so all curve data creation happens in makeDispListCurveTypes,
   includes making bevel list and filling polys
 - changed render code to use displist for surface rendering
 - removed Curve.orco variable, built as needed now
 - removed stupid BLI_setScanFill* functions... why use a function
   argument when you can use a global and two functions! Why indeed.
   (this fixed crash when reloading a file with filled curves and
   toggling editmode)
 - bug fix, setting curve width!=1 disabled simple bevel for no
   apparent reason
 - cleaned up lots and lots of curve/displist code (fun example:
   "if(dl->type==DL_INDEX3 || dl->type==DL_INDEX3)"). Hmmm!
 - switched almost all lattice calls to go through lattice_deform_verts,
   only exception left is particles
 - added DBG_show_shared_render_faces function in render, just
   helps to visualize which verts are shared while testing (no
   user interface).
 - renamed some curve bevel buttons and rewrote tooltips to be
   more obvious
 - made CU_FAST work without dupfontbase hack

Also by the way I wrote down some notes on how curve code
works, nothing spiffy but it is at:

http://wiki.blender.org/bin/view.pl/Blenderdev/CurveNotes

------------------------------------------------------------------------
r5089 | intrr | 2005-08-13 22:44:57 +0200 (Sat, 13 Aug 2005) | 4 lines



Add CTRL-Backspace to delete all text in textediting.

------------------------------------------------------------------------
r5088 | ton | 2005-08-13 21:41:45 +0200 (Sat, 13 Aug 2005) | 4 lines

New; Wkey in Armature Editmode. Has option for flipping names too.

(And moved flip_name to armature kernel)

------------------------------------------------------------------------
r5087 | ton | 2005-08-13 20:55:24 +0200 (Sat, 13 Aug 2005) | 7 lines

Two armature fixes;

- PoseMode selection accidentally always selected first bone as well (on
  multiple clicks)
- Hinge Bone didn't have correct inverse matrix in transform, for local
  rotations.

------------------------------------------------------------------------
r5086 | ton | 2005-08-13 19:53:37 +0200 (Sat, 13 Aug 2005) | 4 lines

Removed strcasestr() with version as found on web, opensolaris. It had a
bug though! :)
For people interested: both lines with tolower() had to be added...

------------------------------------------------------------------------
r5085 | stiv | 2005-08-13 19:20:46 +0200 (Sat, 13 Aug 2005) | 4 lines

bugfix #2931  crash if $HOME not set

unchecked pointer returned from BLI_gethome().

------------------------------------------------------------------------
r5084 | zuster | 2005-08-13 18:39:22 +0200 (Sat, 13 Aug 2005) | 3 lines

 - texcomesh used wrong texture space (should use the texcomesh object
   space)

------------------------------------------------------------------------
r5083 | ton | 2005-08-13 17:15:44 +0200 (Sat, 13 Aug 2005) | 22 lines

Bone naming fix.

- On duplicating bones in editmode, names with a dot in it (bone.L) lost
  the .L extension. Now it keeps it
- Recoded the 'flip name' routine from scratch, was a horrid construct!
  It works now as follows;

1) First it removes the number extension, if its there (like .001)
2) Then it checks for a separator (space, dot, minus, underscore) on either
the 2nd position (L_calfbone) or last-but-one (calfbone.R). If there's an
l, r, L or R it switches the letter.
3) If no switch done yet, it tries if a name starts or ends with "left" or
"right", case insensitive. It replaces this, disregarding separator.

Examples:

Lefthand    -> Righthand
L Hand.005  -> R Hand
hand.r      -> hand.l
right-l     -> right-r
pelvis LEFT -> pelvis RIGHT

------------------------------------------------------------------------
r5082 | erwin | 2005-08-13 12:04:01 +0200 (Sat, 13 Aug 2005) | 2 lines

now for the cigar...

------------------------------------------------------------------------
r5081 | erwin | 2005-08-13 10:05:48 +0200 (Sat, 13 Aug 2005) | 2 lines

these files missed the cvs commt yesterday, this should fix compilation problems

------------------------------------------------------------------------
r5080 | zuster | 2005-08-13 07:05:18 +0200 (Sat, 13 Aug 2005) | 7 lines

 - more nurbs fixes... as it turns out, rendering of cyclic UV didn't
   really work at all. Fortunately no one actually *USES* nurbs so
   no one noticed. This is bug from NaN days (strubi, I am looking at
   you here) which I guess says a lot (or a little) about NURBS usage.
   And as usual, the correct code is shorter.
 - added do_version copy of ME_OPT_EDGES flag

------------------------------------------------------------------------
r5079 | zuster | 2005-08-12 23:55:50 +0200 (Fri, 12 Aug 2005) | 16 lines

 - readded Subsurf "optimal" edge drawing/rendering
 - added ME_EDGERENDER flag, barely changes things atm except makes
   sure plain meshes with FasterDraw/etc set still render all edges.
   The edge drawing system needs a bit of a revamping - it is a cool
   feature but could use several improvements:
     (1) The algorithm could be better in choosing the best edges to
         draw.
     (2) The drawflags should interact well with modifiers. It is wierd
         to have a large grid with a deformer that draws no edges because
         flags are only calculated based on base mesh.
     (3) Drawflags should not be destroyed by editmode. Better design
         would be a "Draw % of edges" button.

   Of course, could also be the feature is not worth it and we
   should just drop. Feel free to comment if you have an opinion.

------------------------------------------------------------------------
r5078 | lukep | 2005-08-12 23:41:22 +0200 (Fri, 12 Aug 2005) | 3 lines

update to xcode
added a workaround for scons

------------------------------------------------------------------------
r5077 | ton | 2005-08-12 22:27:18 +0200 (Fri, 12 Aug 2005) | 6 lines

Very small size of arealights (0.001) could cause weird overflows/bands.
There was still one float component hanging around... saacos(). Made a
double version of it.

Reported by Shul. thnx!

------------------------------------------------------------------------
r5076 | blendix | 2005-08-12 17:33:06 +0200 (Fri, 12 Aug 2005) | 6 lines



Added the 4 new proportional editing modes also to the uv editor transform.
Eventually the uv editor should use the new transform code and get these
automatically, but until that's done this might fix bug #2920.

------------------------------------------------------------------------
r5075 | erwin | 2005-08-12 15:42:00 +0200 (Fri, 12 Aug 2005) | 2 lines

added more debug text, enabled the bullet penalty solver, instead of ode solver by default, added a better demo.

------------------------------------------------------------------------
r5074 | zuster | 2005-08-12 00:27:53 +0200 (Fri, 12 Aug 2005) | 3 lines

 - remove some silly array copying code for nurb displist generation
 - converted dl->flag to use consistent defines for cyclic U/V

------------------------------------------------------------------------
r5073 | mein | 2005-08-11 18:39:51 +0200 (Thu, 11 Aug 2005) | 19 lines


A couple of small fixes...

I removed config.h code from the files that had them.
effect.c had nested /* so cleaned that up...

added a newline to vector.c to shut gcc up ;)
buttons_editing.c had a possible unintalized var (height) so I gave
it a default value.

removed an unused var i in interface_draw.c
removed an unused var mti in outliner.c

in BL_SkinDeformer.cpp
commented out a call to bDeformGroup->data which no longer exists so it
compiles again.

Kent

------------------------------------------------------------------------
r5072 | blendix | 2005-08-11 15:08:08 +0200 (Thu, 11 Aug 2005) | 5 lines



Bugfix, the lock button in the uv editor didn't work, the 3d view would
always redraw even if it was disabled (only on non-apple).

------------------------------------------------------------------------
r5071 | zuster | 2005-08-11 09:52:41 +0200 (Thu, 11 Aug 2005) | 2 lines

 - bug fix, add hook didn't respect modifier ordering constraints

------------------------------------------------------------------------
r5070 | zuster | 2005-08-11 09:11:57 +0200 (Thu, 11 Aug 2005) | 11 lines

 - update displistmesh_to_mesh to free existing mesh data (including
   sticky, dvert, and keys if number of verts don't match)
 - changed modifier panel to not allow manual addition of hook or
   softbody modifiers
 - changed apply modifier to apply to existing mesh (fixes bug with
   materials) and to warn about loss of tface/mcol/keys/dvert/sticky
   for all modifier types
 - changed modifier UI to not display disclosure triangle for virtual
   modifiers
 - changed softbody ui to allow enable/disable

------------------------------------------------------------------------
r5069 | zuster | 2005-08-11 08:44:32 +0200 (Thu, 11 Aug 2005) | 15 lines

 - couldn't help myself, got distracted working on something else and
   wondered what these silly data pointers in MDeformVert were for.
   Turns out they aren't even need! Just taking up extra memory and
   space and confusing the armature deform algorithm. Naturally I
   had to clean things up. Sorry Ton.

   Deform weights are still stored in a pretty expensive and unnecessary
   way, probably use about twice as much memory as needed, and do
   way too many memory allocs.
 - moved armature_deform_verts into armature.c
 - some python code accessed the MDeformWeight data pointers, but
   did so in a completely wrong way, I am positive this code could
   never have worked (or maybe things changed during tons refactor),
   regardless it wouldn't work now... will test later.

------------------------------------------------------------------------
r5068 | zuster | 2005-08-11 07:56:48 +0200 (Thu, 11 Aug 2005) | 2 lines

 - added recalc ob, recalc data options to ctrl-alt-shift-t timer

------------------------------------------------------------------------
r5067 | zuster | 2005-08-11 07:45:47 +0200 (Thu, 11 Aug 2005) | 6 lines

Two quick bugfixes, thanks slikdigit!

 - armature modifier was not flagged to require original data (but it
   does)
 - add hook messed up the ModifierData initialization, stupid bug!

------------------------------------------------------------------------
r5066 | zuster | 2005-08-11 05:37:50 +0200 (Thu, 11 Aug 2005) | 2 lines

 - bug fix, cage buttons weren't displayed correct with virtual modifiers

------------------------------------------------------------------------
r5065 | zuster | 2005-08-11 05:31:33 +0200 (Thu, 11 Aug 2005) | 16 lines

 - added modifiers_getVirtualModifierList, returns pointer to first modifier
   but including "virtual" modifiers (for example, an object skel-parented
   to a lattice has a virtual first lattice modifier)
 - removed mesh_modifier(), all functionality has been incorporated into
   modifier stack (well, keys still don't exist as a modifier, but I am
   not sure if they should).
 - added interface option to convert a virtual modifier into a real modifier
 - added option to parent to lattice object or lattice with deform
 - bug fix, patch of hook indices patched all hooks (oops) not just ones
   for edited mesh

NOTE: Files saved with 2.38 that include an object parented to a lattice
will not load correctly, because it will look like the object is parented
only to the object (i.e. without deform). Can be simply fixed by reparenting
or adding a lattice modifier. Older files are handled automatically.

------------------------------------------------------------------------
r5064 | zuster | 2005-08-11 04:23:52 +0200 (Thu, 11 Aug 2005) | 13 lines

 - switch to using softbody modifier, controls enabling but does not have
   variables, these are still in same place. enable button automatically
   makes/enables modifier.
 - changed hook to hook modifier conversion to happen on direct link,
   required to make sure we don't forget to free any memory for files
   saved with 2.38 that have hooks.
 - update modifier interface to enforce modifiers with the require-original-
   data flag to not move beyond deforming modifiers.
 - enforce only one softbody modifier allowed

NOTE: Once again, no modifier stack for lattice yet means softbody for
lattice does not work atm.

------------------------------------------------------------------------
r5063 | blendix | 2005-08-11 02:00:24 +0200 (Thu, 11 Aug 2005) | 8 lines



New "Mirror UVs" function in faceselect mode, to complement Rotate UVs.
It mirrors the UVs or Vertex Colors of individual faces (on the red edge
of the UV face).

Patch provided by Martin Poirier, thanks!

------------------------------------------------------------------------
r5062 | zuster | 2005-08-11 00:25:32 +0200 (Thu, 11 Aug 2005) | 5 lines

 - bug fix, hook deform could crash because old files can have hook
   indices that are out of range
 - bug fix, hook indicies were not corrected on exit editmode (there
   probably should be a general interface for this kind of patch)

------------------------------------------------------------------------
r5061 | zuster | 2005-08-11 00:05:52 +0200 (Thu, 11 Aug 2005) | 27 lines

 - added eModifierTypeFlag_RequiresOriginalData for modifiers that
   can only follow deform (for example, they store mesh vertex
   indices)
 - added ModifierType.foreachObjectLink for iterating over Object
   links inside modifier data (used for file load, relinking, etc)
 - switched various modifiers_ functions to take object argument
   instead of ListBase
 - added user editable name field to modifiers
 - bug fix, duplicate and make single user didn't relink object
   pointers in modifier data
 - added modifiers to outliner, needs icon
 - added armature, hook, and softbody modifiers (softbody doesn't
   do anything atm). added conversion of old hooks to modifiers.

NOTE-THE-FIRST: User name field is not initialized on loading 2.38 files
so if you have saved stuff with a cvs blender you will see blank names.

NOTE-THE-SECOND: Since modifiers aren't evaluated yet for non-Mesh
objects, hooks for lattices and curves are broken. Don't updated if
you actually, say, *use* Blender.

NOTE-THE-THIRD: Old hooks used a quirky weighting system during
deformation which can't be extended to modifiers. On the upside,
I doubt anyone relied on the old quirky system and the new system
makes much more sense. (Although the way falloff works is still
quite stupid I think).

------------------------------------------------------------------------
r5060 | stiv | 2005-08-10 19:50:18 +0200 (Wed, 10 Aug 2005) | 11 lines

Patch #2758 Update of image module.
New Image methods from Austin Benesh:
- getPixelI(x, y)
- getMinXY()
- setPixelF(x, y, [r, g, b, a])
- setPixelI(x, y, [r, g, b, a])
- save()

sorry for the delay.
Thanks.

------------------------------------------------------------------------
r5059 | pidhash | 2005-08-10 16:08:32 +0200 (Wed, 10 Aug 2005) | 3 lines

added ^M fix
.

------------------------------------------------------------------------
r5058 | pidhash | 2005-08-10 15:36:40 +0200 (Wed, 10 Aug 2005) | 3 lines

ideasman fix that epydoc compile for it
.

------------------------------------------------------------------------
r5057 | zuster | 2005-08-10 05:51:34 +0200 (Wed, 10 Aug 2005) | 9 lines

 - bug fix, face center drawing was wrong for editmesh
 - added several useful utility functions to editmesh,
   these can simplify/clarify a lot of mesh code, check them
   out
 - cleaned up EdgeSlide a bit to be clearer/shorter
     o bug fix, EdgeSlide did not always cancel correctly
     o bug fix, EdgeSlide did not choose initial "control" edge
       correctly after calc_meshverts_ext change

------------------------------------------------------------------------
r5056 | guitargeek | 2005-08-09 22:07:59 +0200 (Tue, 09 Aug 2005) | 2 lines

Fixed some warnings that I just committed by accident

------------------------------------------------------------------------
r5055 | guitargeek | 2005-08-09 22:02:53 +0200 (Tue, 09 Aug 2005) | 2 lines

Removed need for vert-xs and ys in edgeslide

------------------------------------------------------------------------
r5054 | zuster | 2005-08-09 18:02:23 +0200 (Tue, 09 Aug 2005) | 2 lines

 - bug fix, convert modifiers should free modifiers from new object

------------------------------------------------------------------------
r5053 | guitargeek | 2005-08-09 16:44:46 +0200 (Tue, 09 Aug 2005) | 4 lines

fix for bug #2906

Was allocating array for all hidden edges, not needed, just hidden with a selected vert needed

------------------------------------------------------------------------
r5052 | guitargeek | 2005-08-09 15:49:05 +0200 (Tue, 09 Aug 2005) | 4 lines

Possible fix for bug #2906

Added some parens to change eval order

------------------------------------------------------------------------
r5051 | zuster | 2005-08-09 10:12:36 +0200 (Tue, 09 Aug 2005) | 39 lines

Big commit, had to rework lots of selection stuff so that things
worked properly with modifiers. Needs more testing I am sure.
No, honestly, I wasn't just cleaning for the hell of it, it
was *necessary* (I would never do such a thing). Selection should
work completely with cage options of modifiers now.

 - added DerivedMesh foreach functions to iterate over mapped
   verts/edges/face centers. These replaced some of the drawing
   functions and are more general anyway. Special edge drawing
   functions remain for performance reasons.
 - removed EditFace xs, ys fields
 - added general functions to iterate over screen coordinates of
   mesh/curve/lattice objects
 - removed all calc_*verts* functions that were used for storing
   screen coordinates in objects. they were recalc'd on the fly
   for most situations anyway, so now we just always do that.
   calc_*verts_ext was one of those calls that did dirty things
   deep down in the callstack (changing curarea and poking at
   matrices)
 - rewrote all vertex level selection routines (circle, lasso, bbox)
   and closest vertex routines (rightmouse select) to use the new
   system. This cleaned up the selection code a lot and the structure
   of selection is much easier to see now. This is good for future
   work on allowing modifiers to completely override the selection
   system. It also points out some discrepancies in the way selection
   is handled that might be nice to resolve (mesh vertex selection has
   fancy stuff to try to help with selecting overlapping, but it only
   works w/o bbuf select, and curves/lattices don't have at all).
 - had to remove ton's code to move Manipulator to cage location, this
   is not reliable (can come up with a different method if requested)
 - as it happens BezTriple.s and BPoint.s are basically available to
   be removed, just need to rewrite editipo code that still does
   background calc of screen coordinates
 - MVert.{xs,ys} are still around because they are abused in some places
   for other info (not sure if this is safe actually, since they are
   short's and the mvert limit went up).

And did I mention this commit is comes out to -305 lines? Well it does.

------------------------------------------------------------------------
r5050 | bjornmose | 2005-08-08 23:56:52 +0200 (Mon, 08 Aug 2005) | 3 lines

made weight paint panel full width ( still try to understand that X,Y system panels use  )
replaced senseless 0 opacity  with 1/8 opacity

------------------------------------------------------------------------
r5049 | zuster | 2005-08-08 20:50:47 +0200 (Mon, 08 Aug 2005) | 5 lines

 - added VecLerpf to blenlib
 - switch to using DerivedMesh.drawMappedFaceCentersEM to draw
   face dots, still need to do some work so this works in all
   selection modes (atm it does not work in no-zbuf mode)

------------------------------------------------------------------------
r5048 | erwin | 2005-08-08 19:08:42 +0200 (Mon, 08 Aug 2005) | 2 lines

some more work on bullet raycast

------------------------------------------------------------------------
r5047 | guitargeek | 2005-08-08 17:59:05 +0200 (Mon, 08 Aug 2005) | 8 lines

Added extra Select Type option for esubdivide and put them in defines to get rid of magic numbers

SUBDIV_SELECT_ORIG      - Retain selection to look like original selection
SUBDIV_SELECT_INNER     - New selection is all the new inner edges
SUBDIV_SELECT_INNER_SEL - New selection is all the new inner edges except where only 1 edges was selected on a face

Loopcut now uses SUBDIV_SELECT_INNER_SEL for better interaction with edgeslide

------------------------------------------------------------------------
r5046 | erwin | 2005-08-08 13:03:16 +0200 (Mon, 08 Aug 2005) | 10 lines


- fixed missing logic positive pulse repeat button

-better naming for collision bounds:
polytope -> convex polytope
polyheder -> concave mesh

-better naming:
frequency -> the pulse delay

------------------------------------------------------------------------
r5045 | ton | 2005-08-08 11:58:57 +0200 (Mon, 08 Aug 2005) | 5 lines

Bug fix #2894

Using Lkey (select connected) in Armature editmode could crash, it didn't
correctly check for drawing non selectable items (have index -1).

------------------------------------------------------------------------
r5044 | ton | 2005-08-08 11:36:07 +0200 (Mon, 08 Aug 2005) | 7 lines

Two radiosity glitches, bugs #2872 #2881

- add new scene, "Full Copy", didn't copy radio settings
- switch scene didn't reset radiosity baking
  (note that you can only do 1 radiosity scene in Blender, switch scene
  will free the radiosity data)

------------------------------------------------------------------------
r5043 | ton | 2005-08-08 10:49:24 +0200 (Mon, 08 Aug 2005) | 8 lines

Bugfix #2871

Selecting in Mesh edit mode or in FaceSelect mode is tied, but setting
faces hidden was not tied. This caused hidden faces in edit mode to
become selected, with all associated disasters. :)
Now hiding faces in editmode and faceselect are tied too. Please note
that leaving faceselect mode will unhide always!

------------------------------------------------------------------------
r5042 | guitargeek | 2005-08-08 01:59:34 +0200 (Mon, 08 Aug 2005) | 6 lines

Little fix for Edgeslide so it doesn't crash on usage!

Also fixed trying to edgeslide an edge with a missing rail.

And Changed the okee calls to error (thanks intrr)

------------------------------------------------------------------------
r5041 | guitargeek | 2005-08-07 23:47:08 +0200 (Sun, 07 Aug 2005) | 4 lines

Clean up spaces (make into tabs) in editmesh_tools

Also add menu items for Edgeloop Delete

------------------------------------------------------------------------
r5040 | ton | 2005-08-07 23:23:55 +0200 (Sun, 07 Aug 2005) | 5 lines

Fix for bug #2859

Beautyfill didnt work in illustrated case, due to 1) face select 2) no
correct edges selected...

------------------------------------------------------------------------
r5039 | guitargeek | 2005-08-07 22:46:26 +0200 (Sun, 07 Aug 2005) | 8 lines

In CTRL-E menu "Edgeloop Delete" with a valid "inner" edgeloop selected, this function calls other tools to delete that edgeloop by doing the following

Edgeslide to one side 100%
CTRL +  to select "more"
Remove Doubles

Leaves you with new faceloop selected.

------------------------------------------------------------------------
r5038 | zuster | 2005-08-07 21:43:14 +0200 (Sun, 07 Aug 2005) | 2 lines

 - update effect.c for function def change of convertToDispListMesh

------------------------------------------------------------------------
r5037 | bjornmose | 2005-08-07 21:22:29 +0200 (Sun, 07 Aug 2005) | 14 lines

Softbody collision with deformed deflectors2
using bit in pd->flag to signal the use of deformed rather than wasting pd->pad

removing evil cast
replaced by  using convertToDispListMesh()  ZR: I hope that's OK that way

commented off the ( debug purpose ) recursion trap in SoftBodyDetectCollision()
replaced forbidden okee() with printf() in there
( not so nice, since it does not anounce crash on UI )

note: crashing example from previous commit
needs enabling 'UMS'  on panel to crash again
UMS = uses modifier stack

------------------------------------------------------------------------
r5036 | ascotan | 2005-08-07 14:09:50 +0200 (Sun, 07 Aug 2005) | 4 lines

_updates and warning fix_
* fixed a few warnings in the python project
* added timeline to py project

------------------------------------------------------------------------
r5035 | zuster | 2005-08-07 07:59:19 +0200 (Sun, 07 Aug 2005) | 3 lines

 - bug fix, need to check mapped verts/edges/faces are non-NULL before
   using in assorted DerivedMesh functions

------------------------------------------------------------------------
r5034 | zuster | 2005-08-07 07:42:03 +0200 (Sun, 07 Aug 2005) | 15 lines

 - got rid of DerivedMesh.drawMappedEdgeEM function, can be implemented with
   drawMappedEdges
 - added DerivedMesh.convertToDispListMeshMapped function which converts and
   also returns mapping information for use in editmode
 - updated DispListMesh derivedmesh to be able to function in editmode
 - update mirror modifier to support use as a cage
 - update mirror & subsurf modifiers to properly pass mapping information down
   modifier stack

It is now possible to have a mesh with mirror/subsurf modifiers where you
can edit with both as cage. Selecting the mirror'd part works, but of course
transform is flipped so it is a bit weird. Not the cleanest code in the
world and I can't say I am really happy with the architecture but it works for
now and supports the existing feature set.

------------------------------------------------------------------------
r5033 | zuster | 2005-08-07 04:30:29 +0200 (Sun, 07 Aug 2005) | 10 lines

 - add allowShared argument to DerivedMesh.convertToDispListMesh to allow returned
   DLM to share data from DerivedMesh (reduces some copying/memory allocation)
 - added displistmesh_copyShared function to copy a DLM but not duplicate any
   internal data
 - changed crease drawing to use DerivedMesh functions... this means varying
   edge width style of creases had to go, I replaced by using varying color to
   show crease weight instead. Don't think this is a big loss since the subsurf
   result gives you a much better indication of the crease weight anyway.
 - bug fix in mirror modifier, didn't copy edge creases from editmesh correctly

------------------------------------------------------------------------
r5032 | bjornmose | 2005-08-07 01:20:52 +0200 (Sun, 07 Aug 2005) | 24 lines

working on : make softbodies collide with moving ( armatures,lattices .. ) objects

works nice & smooth unless we encounter logical circles
well, because of function pointers re-hooking i could not debug that in detail
may be DAG or modifier stack is .. dunno

anyway
did abuse pd->pad bit 1 ( i hope this was 'real' padding till now )
to get SoftBodyDetectCollision(..) use mesh_get_derived_XXX [in effect.c] ..[*sigh* (the linetriangle() func is there)
..]
and put that to the deflection panel (blush .. i would have decapted anyone in my team doing stuff like that)

to defend this commit:
it makes you aware of problems ahead
having code that works/doesn't (on some conditions) is is usefull to look at
i think code is OK , so the problem is either
a. me not understanding
b. real

for locical circles see files -->
http://wund.privat.t-online.de/bt/WorkFine1.blend
http://wund.privat.t-online.de/bt/WorkFine2.blend
http://wund.privat.t-online.de/bt/WorkCrash.blend

------------------------------------------------------------------------
r5031 | bjornmose | 2005-08-07 00:00:21 +0200 (Sun, 07 Aug 2005) | 2 lines

adding time line stuff

------------------------------------------------------------------------
r5030 | zuster | 2005-08-06 22:44:59 +0200 (Sat, 06 Aug 2005) | 7 lines

 - added editmhes_get_derived_base, used when a mesh with multiple users
   is in editmode. current bevahaior is to display the object that is
   actually in editmode with its modifiers, and all other objects that
   share the mesh using just the base editmesh data. this is not 100%
   consistent but no architecture at the moment to display all objects
   that have mesh in editmode with each individual modifier stack.

------------------------------------------------------------------------
r5029 | zuster | 2005-08-06 22:34:33 +0200 (Sat, 06 Aug 2005) | 2 lines

 - update B_MESH{BROWSE, ALONE, LOCAL} events to flag object changed

------------------------------------------------------------------------
r5028 | zuster | 2005-08-06 21:13:13 +0200 (Sat, 06 Aug 2005) | 5 lines

 - bug fix, extrude and duplicate automatically enter transform which
   may request info from the derived surface, this means we have to
   force a manual recalc before we enter transform... proper design
   of mesh data invalidation/recalc should make this unnecessary...

------------------------------------------------------------------------
r5027 | zuster | 2005-08-06 20:51:58 +0200 (Sat, 06 Aug 2005) | 8 lines

 - added copy button to modifier stack UI
 - add warning about applying decimation
 - some more UI tweaks (rounding of modifier pane, make toggles only in header,
   add object name to try to convey that modifier stack is tied to OB)
 - bug fix, modifier recalc wasn't done on make link
 - bug fix, uiBlockEndAlign didn't clear align flags with certain themes,
   pretty sure this wasn't intended. (TON: PLEASE CHECK)

------------------------------------------------------------------------
r5026 | erwin | 2005-08-06 12:13:22 +0200 (Sat, 06 Aug 2005) | 2 lines

added debugdraw

------------------------------------------------------------------------
r5025 | erwin | 2005-08-06 00:10:27 +0200 (Sat, 06 Aug 2005) | 3 lines

fixed sphere shape, added non-uniform scaling (making it an ellipsoid)
removed bug-fixing comments

------------------------------------------------------------------------
r5024 | pidhash | 2005-08-05 20:02:49 +0200 (Fri, 05 Aug 2005) | 3 lines

doc to bpy TimeLine support
.

------------------------------------------------------------------------
r5023 | pidhash | 2005-08-05 19:49:56 +0200 (Fri, 05 Aug 2005) | 3 lines

bpy TimeLine stuff
.

------------------------------------------------------------------------
r5022 | pidhash | 2005-08-05 19:47:48 +0200 (Fri, 05 Aug 2005) | 3 lines

adding TimeLine bpy support
.

------------------------------------------------------------------------
r5021 | erwin | 2005-08-05 19:00:32 +0200 (Fri, 05 Aug 2005) | 5 lines

fixed the mouse-over sensor,
added raycast support for bullet (no triangle-mesh support, soon)
added python methods for 'getHitObject', getRayDirection, getHitPosition and getHitNormal for mouse over sensor,
which makes it easy for a shootout.blend demo :)

------------------------------------------------------------------------
r5020 | pidhash | 2005-08-05 19:00:26 +0200 (Fri, 05 Aug 2005) | 3 lines

added bpy TimeLine
.

------------------------------------------------------------------------
r5019 | guitargeek | 2005-08-05 17:52:28 +0200 (Fri, 05 Aug 2005) | 4 lines

Now while choosing an edge in loopcut, S will toggle loopcut smooth. There is a headerprint to show current status of smooth.

Also a little tweak in subd smooth. is still not perfect in full quads/tris cases

------------------------------------------------------------------------
r5018 | guitargeek | 2005-08-05 17:08:43 +0200 (Fri, 05 Aug 2005) | 4 lines

A small improvement to Subdivide multi smooth. It is not perfect yet :( but its better.

BUT! Try doing a EdgeRing (CTRL-ALT-RMB in edge mode) select and a subdivide smooth multi...That works ok (read loopcut multi smooth)  :)

------------------------------------------------------------------------
r5017 | zuster | 2005-08-05 03:57:21 +0200 (Fri, 05 Aug 2005) | 3 lines

 - bug fix, some world material map to buttons missing
 - bug fix, logic bool property value buttons missing

------------------------------------------------------------------------
r5016 | stiv | 2005-08-05 03:41:48 +0200 (Fri, 05 Aug 2005) | 2 lines

removed comma at end of enumerator list.

------------------------------------------------------------------------
r5015 | zuster | 2005-08-05 00:36:21 +0200 (Fri, 05 Aug 2005) | 19 lines

 - added UI_EMBOSSR option (rounded emboss)
 - added support for vector icons, from user API side is just like using
   a regular icon... on icon side is defined by a function in resources.c
   instead of using the blenderbuttons png file. vector icons are much
   easier to add and scale properly. intent is that vector icons would
   be drawn in window coordinates which lets icon developers make the
   most beautiful icons, but this requires some tweaking of the interface
   drawing that I am not going to do atm.
 - changed BIF_draw_icon* to take coordinates of where to draw icon instead
   of using passed in raster position
 - switch modifier UI to using vector icons, and tweaked some position and
   style stuff.
 - replaced most uses of UI_EMBOSSX with UI_EMBOSS (do same thing, just there
   to confuse people I guess)

After the window coordinate stuff is sorted out with vector icons
it probably makes sense to move all non-photorealistic icons in blenderbuttons
to vector form just so scaling goes better.

------------------------------------------------------------------------
r5014 | guitargeek | 2005-08-04 21:31:14 +0200 (Thu, 04 Aug 2005) | 2 lines

Make Edgeslide work with Subsurf Optimal "on cage"

------------------------------------------------------------------------
r5013 | erwin | 2005-08-04 21:07:39 +0200 (Thu, 04 Aug 2005) | 4 lines

improved deactivation, exposed more tweakable parameters to python,
fixed some copy/paste bug in inertia/inverse inertia.
colors in deactivation debug

------------------------------------------------------------------------
r5012 | lukep | 2005-08-04 18:05:28 +0200 (Thu, 04 Aug 2005) | 21 lines

updates to the OS X build system :

- XCode project
- Scons :
    scons stopped working for Os X in the last month (dont know when) :

     * the '.' and '..' keywords in CCPPATH
          are not recognized anymore for sconscripts compiling files at
          a sub level
     * when doing a scons clean, the 3 subdirs in build dir are removed
      and scons then fail to recreate them (exten, intern, source)

this commit solve the first problem as a temp workaround
for the latter simply recreate the dirs manually

I will investigate that further when on vacations,  which i should already
 be.
 ;(

all 3 build systems are now working on Os X

------------------------------------------------------------------------
r5011 | bjornmose | 2005-08-04 12:41:47 +0200 (Thu, 04 Aug 2005) | 2 lines

finally have the diagonal springs in lattices too

------------------------------------------------------------------------
r5010 | zuster | 2005-08-04 09:25:43 +0200 (Thu, 04 Aug 2005) | 26 lines

 - modifier UI update (aka, find the modifier buttons!!)
 - moved back to editing buttons, where life is now cramped... switched
   to constraint style foldout panes, still a WIP. In particular not
   sure what buttons should be in header (and if current toggles stay
   in header if they should also be in an expanded pane). Also need
   new icons for move up/move down (and drag and drop would of course
   be nice). Finally current plane is to make it so modifiers will
   expand out in modifier pane for horizontal orientations instead of
   just going down down down to goblin town.
 - added error field to modifiers that is displayed in UI, need to have
   some way for modifiers to return errors back to interface (esp. important
   for python)
 - tweaked cage determination and handling, currently the editmode cage
   is determined by last modifier with OnCage set that is preceeded completely
   by modifiers that support mapping or are disabled in editmode. it is
   kinda confusing, but the interface only lets you toggle OnCage for modifiers
   that support it - it just might not be clear all the time why you can't
   toggle a certain modifier OnCage.
 - update displistmesh_copy to only copy edges if non-NULL

There is a display bug that already existed but is more obvious with
new modifiers where parts of the pane get drawn in a different area
after toggling editmode. It has to do with drawing parts of the interface
using GL instead of 100% buttons. I try to keep my grubby little toes
out of the interface code so this can wait for Ton to return.

------------------------------------------------------------------------
r5009 | bjornmose | 2005-08-03 23:38:02 +0200 (Wed, 03 Aug 2005) | 2 lines

first try on lattices having springs

------------------------------------------------------------------------
r5008 | intrr | 2005-08-03 23:02:25 +0200 (Wed, 03 Aug 2005) | 8 lines



The famous potential SDL audio fix (setenv("SDL_AUDIODRIVER", "dma", 1))...

Inside #ifdef __linux__ #ifndef __alpha__ ...

Who knows, it might help :)

------------------------------------------------------------------------
r5007 | zuster | 2005-08-03 21:56:27 +0200 (Wed, 03 Aug 2005) | 8 lines

 - removed BLO_findstruct_offset (obsolete)
 - remove python access to Optimal and Subsurf flags (they don't
   work this way anymore, I suppose need to replace with python
   access to modifiers but not going to do right now).
 - removed interface access to OPTIMAL mode, needs to be rethough...
   this means at the moment subsurfs outside editmode always draw
   and render all edges

------------------------------------------------------------------------
r5006 | zuster | 2005-08-03 21:27:19 +0200 (Wed, 03 Aug 2005) | 8 lines

 - modify CCG to not crash when passed invalid faces, just ignores
   that face... this situation should still not happen with well
   written modifiers but at least it won't crash now
 - bug fix in mirror modifier, calculation during editmode did not
   check to make sure built mface's had valid indices... grr the
   ==0 tagging system is really a pain.
 - convert a few uiDefBut calls to use explicit type

------------------------------------------------------------------------
r5005 | guitargeek | 2005-08-03 21:23:56 +0200 (Wed, 03 Aug 2005) | 2 lines

Made the screen redraw on loopcut cancel

------------------------------------------------------------------------
r5004 | zuster | 2005-08-03 20:48:22 +0200 (Wed, 03 Aug 2005) | 6 lines

 - got rid of silly #define ..._BIT, #define ... (1<<..._BIT) stuff
 - switched almost all uiDefBut(..., TOG|BIT|..) to use UiDefButBit and the
   name of the actual bit define instead of just a magic constant, this makes
   searching the code much nicer. most of the credit here goes to LetterRip
   who did almost all of the conversions, I mostly just checked them over.

------------------------------------------------------------------------
r5003 | erwin | 2005-08-03 20:22:30 +0200 (Wed, 03 Aug 2005) | 3 lines

moved some hardcoded constants into tweaking tresholds
exposed those tresholds to python (more 'expert' settings)

------------------------------------------------------------------------
r5002 | zuster | 2005-08-03 06:04:05 +0200 (Wed, 03 Aug 2005) | 17 lines

 - change modifier applyModifier[EM] function to not free derived argument
 - added modifier_supportsMapping function
 - update CCG to set actual vertex normal (and not just
   interior face vertex normal, bla bla bla no one knows
   what this means nevermind).
 - renamed modifierType_get_info to modifierType_getInfo for
   consistency and to increase my commit line count.
 - update EditMeshDerivedMesh to calculate (and use new) normals
   when given deformed vertices
 - added
 - update editmode modifier calculation to also calculate a cage,
   not working 100% atm, in particular if a deformer follows a modifier
   that returns a DerivedMesh the cage is not accurate.
 - added ccg derivedmesh drawMapped{Vert,Face]NormalsEM functions
 - currently UI for selecting the cage mesh is rather irritating,
   will be updated

------------------------------------------------------------------------
r5001 | theeth | 2005-08-03 01:20:33 +0200 (Wed, 03 Aug 2005) | 2 lines

Python 2.4 for MSVC 6.0 projectfiles.

------------------------------------------------------------------------
r5000 | aphex | 2005-08-02 20:54:11 +0200 (Tue, 02 Aug 2005) | 7 lines


Finalised support for compiling BULLET on linux.

Bullet is now off by default on all platforms until we get an OK
from Erwin. To enable it, change USE_PHYSICS to 'bullet' in your
config.opts.

------------------------------------------------------------------------
r4999 | guitargeek | 2005-08-02 20:20:36 +0200 (Tue, 02 Aug 2005) | 5 lines

A little feature for Broken...

When choosing Subdivide from the w menu or Confirming the number of cuts in a subdivide multi, hold down the CTRL key and
instead of getting the original selection recreated on the new edges, get the "inner edges" as you would get if doing a loopcut. UI for this may change before release (perhaps a toggle button in edit buttons)

------------------------------------------------------------------------
r4998 | ascotan | 2005-08-02 19:02:40 +0200 (Tue, 02 Aug 2005) | 4 lines

_.NET projectfiles update_
- links to python 2.4
(please update /lib/windows)

------------------------------------------------------------------------
r4995 | erwin | 2005-08-02 16:59:49 +0200 (Tue, 02 Aug 2005) | 3 lines

added python binding for debugdraw,
tweaked friction, some more preparations but no real functionality added yet

------------------------------------------------------------------------
r4994 | ascotan | 2005-08-02 15:44:49 +0200 (Tue, 02 Aug 2005) | 7 lines

_.NET projectfiles update_
* converted files to .NET 2002
* removed unneeded projectfiles from bullet
* PHY_Bullet outputs to correct directories
* Bullet linked to activex and blenderplayer
* misc updates

------------------------------------------------------------------------
r4993 | djcapelis | 2005-08-02 14:40:52 +0200 (Tue, 02 Aug 2005) | 6 lines

Modifications for bullet were made and variables were defined only for windows.  This commit defines these variables for the other blender platforms helping SCons not to barf quite as quickly.  Scons is still unable to compile a fresh CVS checkout at the present time on linux, but now at least allows config.opts to be properly created.

The new defines for use_bullet are currently set as false until testing can take place to ensure proper compilation on those systems.  The existing use_bullet='true' on the windows platform was left untouched.

Please ensure that variables are defined on _all_ platforms in the future instead of just defining them for the system you're currently developing under.

------------------------------------------------------------------------
r4992 | aphex | 2005-08-01 23:19:41 +0200 (Mon, 01 Aug 2005) | 12 lines

Added support for compiling BULLET with scons on windows
using bandoler's patch as a basis (thanks!).

A couple of notes:

-  This is for windows only, I did not have a chance to try linux yet.

-  SConscript for PHY_Bullet may need tweaking (plus support
 for other platforms), but at least it's in there :)

Any problems, shout :)

------------------------------------------------------------------------
r4991 | guitargeek | 2005-08-01 21:12:29 +0200 (Mon, 01 Aug 2005) | 2 lines

Make Loopcut in Faceselect mode able to enter Edgeslide and not get 'loop crosses itself' message. Still need to work on selection out of this condition

------------------------------------------------------------------------
r4990 | theeth | 2005-08-01 08:29:06 +0200 (Mon, 01 Aug 2005) | 3 lines

BMFont didn't define correct character size for "Screen 15" font for TAB and NBSP.
Found out through ideasman's interactive console script.

------------------------------------------------------------------------
r4989 | theeth | 2005-08-01 08:01:24 +0200 (Mon, 01 Aug 2005) | 33 lines

This patches adds support for Font, Curve, Surface and Meta Objects in
Blender.NMesh.GetRawFromObject through a displist conversion method as used by
Blender when converting them in the UI.

Notes:	Objects with only edges (3D curves/polyline without bevel) do not have
		normals, so they are all initialised to (1, 0, 0) on conversion

		Converting from meta objects only work on the "mother ball". That is,
		the object with the lower base name.
		Example: "meta" for all the "meta.*" objects.

		Meshes extracted from curve based objects (Font/2D filled curves)
		contain	both the filled surfaces and the outlines of the shapes.

		Materials are taken from the object's material list. Material handling
		in NMesh is incorrect anyway, as it always uses the materials from the
		mesh, ignoring the setting in ob->colbits.

This patch also makes the include order a little clearer.
A couple of warnings have been fixed by using better types:
	-	Using char instead of short when parsing color values.
		The "constructor" expects and uses char anyway.

	-	Explicit casting to short when storing normals back in mvert.

	-	Changing constant doubles to floats with "f" to make compiler happy.

The only warning left regards NMFace.flag which is stored as a short but is
used to fill in TFace.flag which is a char. I didn't want to change the
object's structure so I left it like that. I didn't add an explicit cast when
putting it back in TFace so that the warning can remind us that there might be
something to change there.

------------------------------------------------------------------------
r4988 | desoto | 2005-08-01 05:36:46 +0200 (Mon, 01 Aug 2005) | 7 lines

Work for fix of #2256 "something weird with some buttons":

NUMSLI buttons with retval of 0 can be used to trigger other buttons. Not
sure if this is best course of action but will investigate more. Until then
buttons_shading.c is clear of NUMSLI buttons with retval of 0 and now use
B_DIFF as retval argument (which happens to be 1).

------------------------------------------------------------------------
r4987 | ianwill | 2005-08-01 05:06:24 +0200 (Mon, 01 Aug 2005) | 9 lines

Scripts updated:
- Jean-Michel Soler: 1) paths import -- ai module; 2) tex2uvbaker;
- Campbell Barton: obj exporter.

BPython:
- Campbell also provided a patch (+docs) to add shader data access to Blender.Material.

Again, thanks guys and sorry for the long delay.

------------------------------------------------------------------------
r4986 | desoto | 2005-08-01 03:46:10 +0200 (Mon, 01 Aug 2005) | 2 lines

Moved some theme-related defines to BIF_space.h from space.c

------------------------------------------------------------------------
r4985 | guitargeek | 2005-07-31 22:56:20 +0200 (Sun, 31 Jul 2005) | 2 lines

Just a little cleanup, removed an extra redraw....move along :)

------------------------------------------------------------------------
r4984 | guitargeek | 2005-07-31 22:40:27 +0200 (Sun, 31 Jul 2005) | 2 lines

Some more loop fixing, this time in loopcut

------------------------------------------------------------------------
r4983 | guitargeek | 2005-07-31 22:18:38 +0200 (Sun, 31 Jul 2005) | 2 lines

Adding a little idling to Edgeslide loop,

------------------------------------------------------------------------
r4982 | bjornmose | 2005-07-31 22:01:15 +0200 (Sun, 31 Jul 2005) | 6 lines

yo bassam, here it is
Action editor UI tweaking:
PageUpKey moves action up one row ( shift == move to top )
PageDownKey moves action down one row ( shift == move to bottom )
multiple selections allowed

------------------------------------------------------------------------
r4981 | erwin | 2005-07-31 19:14:04 +0200 (Sun, 31 Jul 2005) | 2 lines

added first draft of user manual, mostly todo's.

------------------------------------------------------------------------
r4980 | erwin | 2005-07-31 16:40:51 +0200 (Sun, 31 Jul 2005) | 2 lines

updated vc7 projectfiles so they work with bullet

------------------------------------------------------------------------
r4979 | guitargeek | 2005-07-30 21:50:51 +0200 (Sat, 30 Jul 2005) | 6 lines

For edgeslide control rail there are 2 options:

Scroll Up/Down and Left/Right arrow key will cycle through the control edges in either direction.

I got rid of SHIFT for the time being.

------------------------------------------------------------------------
r4978 | erwin | 2005-07-30 20:58:21 +0200 (Sat, 30 Jul 2005) | 2 lines

updated testbed demo

------------------------------------------------------------------------
r4977 | erwin | 2005-07-30 20:21:02 +0200 (Sat, 30 Jul 2005) | 2 lines

enable bullet for vc7 too by default (can be switched off easily)

------------------------------------------------------------------------
r4976 | erwin | 2005-07-30 20:10:53 +0200 (Sat, 30 Jul 2005) | 2 lines

more physics work, tuning parameters, hooking up friction etc.

------------------------------------------------------------------------
r4975 | guitargeek | 2005-07-30 18:37:04 +0200 (Sat, 30 Jul 2005) | 12 lines

Edgeslide Mouse Movement Fix

Edgeslide movement is now controlled by a line drawn between the endpoints of the 2 control rail edges. Edgeslide will
try to pick a control rail pair (will color green ATM) if you don't like the edge it picked, use the mouse wheel up to change it.
have to code mouse wheel down to go other direction still. Just ran out of time ATM and wanted to get this in for movement testing.

movement is in 1% per edge (so 1% out of -1 to 1)
CTRL makes it 10%
SHIFT makes it .1%

Se what you think and give me some feedback on functionality :) Code needs cleanup and comments, so don't crit that too much yet.

------------------------------------------------------------------------
r4974 | erwin | 2005-07-30 16:24:28 +0200 (Sat, 30 Jul 2005) | 3 lines

added PHY_Bullet vc7 projectfiles
this one should be used, instead of extern\bullet\make\msvc_7_0\Physics_Interface1\CcdPhysics_vc7.vcproj and bullet\make\msvc_7_0\Physics_Interface1\PhysicsInterfaceCommon_vc7.vcproj

------------------------------------------------------------------------
r4973 | desoto | 2005-07-30 03:44:15 +0200 (Sat, 30 Jul 2005) | 2 lines

Fixed some warning shenanigans

------------------------------------------------------------------------
r4972 | intrr | 2005-07-30 03:14:59 +0200 (Sat, 30 Jul 2005) | 15 lines



Fixing (hopefully) a stupid issue with rendering text objects:

cu->curinfo.mat_nr appearently didn't get initialized to 0 when creating
a new curve / text object, thus assigning random material indices to
characters, which crashed when rendering.

I'm still not sure if this was the actual issue, though I'd hope so :)

For old files that crash on rendering, just enter editmode on EACH text
object, select all text, and assign a material to it.

I hope this fixes.

------------------------------------------------------------------------
r4971 | guitargeek | 2005-07-29 22:07:01 +0200 (Fri, 29 Jul 2005) | 2 lines

Flush Edge selection down to verts in subdivide if you are in Vertex select mode

------------------------------------------------------------------------
r4970 | guitargeek | 2005-07-29 20:54:48 +0200 (Fri, 29 Jul 2005) | 2 lines

Commented out some debug printfs

------------------------------------------------------------------------
r4969 | guitargeek | 2005-07-29 20:45:40 +0200 (Fri, 29 Jul 2005) | 2 lines

Another UV tweak for subdivide,  It seems to work better now, still not perfect

------------------------------------------------------------------------
r4968 | erwin | 2005-07-29 20:14:41 +0200 (Fri, 29 Jul 2005) | 3 lines

added physics-debugging
didn't check every single file, so might have broken some gameengine stuff, will fix it this weekend!

------------------------------------------------------------------------
r4967 | guitargeek | 2005-07-29 16:20:48 +0200 (Fri, 29 Jul 2005) | 6 lines

A Small change on Edgeslide while I try to come up with a better mouse interaction.

Move mouse  - 5%
SHIFT modifier - 1%
CTRL modifier - 10%

------------------------------------------------------------------------
r4966 | erwin | 2005-07-29 08:08:02 +0200 (Fri, 29 Jul 2005) | 8 lines

>humm, .. this seems to define USE_BULLET for 1400 > _MSC_VER
>e.g.  my msvc6 and gcc in linux. right?
>BM

thanks bjornmose, is was a typo
(it only disabled bullet for Visual Studio 2006, which is not even in planning stage :)
Should be fixed now

------------------------------------------------------------------------
r4965 | guitargeek | 2005-07-28 20:50:39 +0200 (Thu, 28 Jul 2005) | 2 lines

Linking to wrong zlib library. fixed!

------------------------------------------------------------------------
r4964 | ascotan | 2005-07-28 20:31:16 +0200 (Thu, 28 Jul 2005) | 6 lines

_.NET projectfile updates_
This fixes a number of build issues with msvc7 projectfiles
 * fixes the zlib problem
 * fully builds bullet + solid + blender
 * updates project files

------------------------------------------------------------------------
r4963 | ascotan | 2005-07-28 20:29:18 +0200 (Thu, 28 Jul 2005) | 4 lines

_build environment for bullet physics_
- adds bullet projectfiles to the extern.sln build
(please rebuild extern.sln)

------------------------------------------------------------------------
r4962 | guitargeek | 2005-07-28 20:11:10 +0200 (Thu, 28 Jul 2005) | 2 lines

Fix for zlib with MSVC/SCONS. Should compile now. This does not fix the bullet issues yet. But with this Blender should compile without the gameengine.

------------------------------------------------------------------------
r4961 | erwin | 2005-07-28 14:21:55 +0200 (Thu, 28 Jul 2005) | 2 lines

removed duplicate testing files

------------------------------------------------------------------------
r4960 | ton | 2005-07-28 13:36:47 +0200 (Thu, 28 Jul 2005) | 2 lines

Ack! The famous "cleaning code before a commit without testing" error...

------------------------------------------------------------------------
r4959 | ton | 2005-07-28 13:12:21 +0200 (Thu, 28 Jul 2005) | 3 lines

Forgot to add correct offset for drawing multiple PoseChannel buttons,
editbutton context. Thanks Ztonzy! :)

------------------------------------------------------------------------
r4958 | ton | 2005-07-28 13:05:21 +0200 (Thu, 28 Jul 2005) | 7 lines

Bugfix #2875

Removed old code that was used when the global undo still saved files. It
was restoring pointers in the UI based on names, which gave confusing
results when loading the quit.blend file (actually undobuffer).
Instead it should treat the quit.blend same as "Load without UI" option.

------------------------------------------------------------------------
r4957 | ton | 2005-07-28 12:01:10 +0200 (Thu, 28 Jul 2005) | 8 lines

Nice time saver for Armatures: Introduced Bone type "Hinge", which doesn't
inherit pose rotation/scale from its parent pose-channel.
Button is available in Editing Buttons for PoseMode as well as EditMode.

Aim is to reduce overhead of Constraint usage (copy location).

(in object.c I removed old code for IK)

------------------------------------------------------------------------
r4956 | bjornmose | 2005-07-28 10:33:17 +0200 (Thu, 28 Jul 2005) | 2 lines

zlib.lib update. some includes too.

------------------------------------------------------------------------
r4953 | desoto | 2005-07-28 05:20:21 +0200 (Thu, 28 Jul 2005) | 2 lines

Killed some warnings. No please.. hold the applause.

------------------------------------------------------------------------
r4951 | desoto | 2005-07-28 02:13:18 +0200 (Thu, 28 Jul 2005) | 5 lines

Part of a fix to the makefiles for compiling the new ZLib stuff. This
seemed to do the trick for me, however a game engine error has prevented me
from compiling to test. Anyone who has time to test compiling it would be
appreciated.

------------------------------------------------------------------------
r4950 | zuster | 2005-07-27 23:31:44 +0200 (Wed, 27 Jul 2005) | 4 lines

 - move zlib.h around to make windows happy

still having linking issues with zlib, grumble grumble

------------------------------------------------------------------------
r4949 | zuster | 2005-07-27 22:16:41 +0200 (Wed, 27 Jul 2005) | 20 lines

 - update storage.c to use standard time codes (should fix issue
   with MSVS 8)
 - broke mesh_create_shadedColors out of shadeDispList, used to
   build vertex colors for mesh in vpaint as well (also fixed
   bug where they were not initialized correctly for subsurfs)
 - added modifier_copyData and modifier_findByType functions
 - change editmode modifiers to only calculate if Realtime and
   Editmode bits are both set, makes more sense for copying
   modifiers
 - update object_copy to correctly copy modifiers
 - removed duplicate redefinition of ME_ attributes in python,
   this is a horrible idea, why was it done in the first place?
 - update armature auto vertex group code to check for subsurf
   in modifier stack
 - fixed flip_subdivision to work with move to modifier stack
 - added copymenu_modifiers, can copy all modifiers or just
   data from first modifier of a certain type (not sure how
   to deal with multiple modifiers of same type... not
   a big issue though I think)

------------------------------------------------------------------------
r4948 | ton | 2005-07-27 21:46:06 +0200 (Wed, 27 Jul 2005) | 24 lines

Patch provided by Shaul Kedem: Compressed files are back!
He even made a nice doc in wiki:
http://wiki.blender.org/bin/view.pl/Blenderdev/Blendgz

Usage: set the option "Compress File" in the main "File" pulldown menu.
This setting is a user-def, meaning it is not changed on reading files.
If you want it default, save it with CTRL+U.

The longest debate went over the file naming convention. Shaul started
with .blend.gz files, which gave issues in Blender because of the code
hanging out everywhere that detects blender files, and that appends the
.blend extension if needed.

Daniel Dunbar proposed to just save it as .blend, and not bother users
with such details. This is indeed the most elegant solution, with as
only drawback that old Blender executables cannot read it.
This drawback isn't very relevant at the moment, since we're heading
towards a release that isn't upward compatible anyway... the recode
going on on Meshes, Modfiers, Armatures, Poses, Actions, NLA already
have upward compatibility issues.
We might check - during the next month(s) - on a builtin system to
warn users in the future when we change things that make a file risky
to read in an older release.

------------------------------------------------------------------------
r4947 | ton | 2005-07-27 20:53:59 +0200 (Wed, 27 Jul 2005) | 6 lines

Bug fix #2870

Wire material doesn't work with raytrace, but the wire faces were still
trace-able, giving weird results.
Now the wire faces are excluded from the octree.

------------------------------------------------------------------------
r4946 | guitargeek | 2005-07-27 20:48:08 +0200 (Wed, 27 Jul 2005) | 13 lines

Added Name flip for
_L
_l
_R
_r

Also added if suffix == 001, do not re-add suffix. So allows the following procedure

 bone named Bone_R is copied, becomes Bone_R.001
Bone_R.001 is Flipped, becomes Bone_L

Currently only works for 001, could be extended later

------------------------------------------------------------------------
r4945 | ton | 2005-07-27 12:37:20 +0200 (Wed, 27 Jul 2005) | 21 lines

Cleanup & goodies for rigging geeks! :)

- PoseMode: Wkey menu, "Flip Left/Right Names". On selected bones, it flips
  the L/R tags in names, and calls the proper code to rename everything
  that's related (constraint targets, bone-childs, etc).
- PoseMode: Shift+S snapmenu: snap cursor to selected now works
- Outliner: select bones now correctly sets 'active' flag for bones,
  updating the UI as well.
  Also made sure you cannot select hidden bones in outliner.
- 3DWindow: in PoseMode/EditMode draws name of active Bone too (with user
  option "Draw active object name" set.
- Added the new Armature/PoseMode options in View3D pulldowns.

Cleanup:

- moved Pose code from editaction.c to poseobject.c
- removed BSE_editaction.h and BSE_editaction_types.h, moved contents of
  it to BIF_editaction.h. One include per C file should be fine. :)
  I know the src/ structure would require more elaborated includes, but
  we don't have that now...

------------------------------------------------------------------------
r4944 | erwin | 2005-07-27 11:48:55 +0200 (Wed, 27 Jul 2005) | 2 lines

no comment, see previous commit

------------------------------------------------------------------------
r4943 | erwin | 2005-07-27 11:47:08 +0200 (Wed, 27 Jul 2005) | 3 lines

got some "_1400 <= _MSC_VER" wrong, should be "_1400 < _MSC_VER"
Lets hope gcc doesn't define this :)

------------------------------------------------------------------------
r4942 | erwin | 2005-07-27 11:30:53 +0200 (Wed, 27 Jul 2005) | 4 lines

- added debug line drawing in gameengine (handy for debugging physics problems)
- added #ifdef for a visual studio 8 crashing problems
- added scaling and tolerances to triangle meshes

------------------------------------------------------------------------
r4941 | erwin | 2005-07-27 11:09:36 +0200 (Wed, 27 Jul 2005) | 2 lines

visual studio 8 crashes on this R argument, todo: find replacement

------------------------------------------------------------------------
r4940 | theeth | 2005-07-27 09:50:28 +0200 (Wed, 27 Jul 2005) | 2 lines

Correct init_userdef_file to not overwrite CollectRate and Image TimeOut every time it loads.

------------------------------------------------------------------------
r4939 | theeth | 2005-07-27 09:43:48 +0200 (Wed, 27 Jul 2005) | 4 lines

Image memory garbage collection:
clock seemed to work weird on some machine, switching to PIL_check_seconds_timer.
It's more in line with the rest of Blender anyway.

------------------------------------------------------------------------
r4938 | theeth | 2005-07-27 08:21:50 +0200 (Wed, 27 Jul 2005) | 4 lines

Image memory garbage collection wasn't working correctly due to a poorly constructed if clause (it was collecting only images marked as NO_COLLECT, which only happens with Python loaded images).

Another problem now is that the userpref values aren't correctly saved in .b.blend, they always reset to the default. Will look into that.

------------------------------------------------------------------------
r4937 | zuster | 2005-07-27 01:38:26 +0200 (Wed, 27 Jul 2005) | 3 lines

 - decimator modifier was giving wrong # of verts when a previous
   modifier was active

------------------------------------------------------------------------
r4936 | stiv | 2005-07-27 00:22:48 +0200 (Wed, 27 Jul 2005) | 2 lines

SCons fix for blenderplayer:  add blender_LOD  to link lib list.

------------------------------------------------------------------------
r4935 | ton | 2005-07-26 22:42:11 +0200 (Tue, 26 Jul 2005) | 10 lines

Fix in outliner. Renaming PoseChannels didn't call the routine that checked
all bones, other poses, constraints, actions, etc.

Also: for clarity, brought back the display of both Armature Bones as
Pose Channels. Renaming either works, but you can notice the constraints
are on Pose, not Armature.

Little bug still; the order of drawing (pose, armature) sometimes flips,
don't know why yet. Tomorrow!

------------------------------------------------------------------------
r4934 | ton | 2005-07-26 21:51:15 +0200 (Tue, 26 Jul 2005) | 2 lines

Added PoseMode CTRL+C copy menu. Does loc/rot/size and constraints.

------------------------------------------------------------------------
r4933 | zuster | 2005-07-26 21:27:56 +0200 (Tue, 26 Jul 2005) | 2 lines

 - missed in remove wave effect commit, option was still in effect menu

------------------------------------------------------------------------
r4932 | ton | 2005-07-26 20:46:28 +0200 (Tue, 26 Jul 2005) | 4 lines

Made do_versions() have proper arguments to do linked-library version
conversions as well, with proper check for each version of each linked
file.

------------------------------------------------------------------------
r4931 | stiv | 2005-07-26 16:32:03 +0200 (Tue, 26 Jul 2005) | 3 lines

SCons fix: move blender_LOD after blender_blenkernel in link list to fix
problems with undefined refs.  Let's see what this breaks!

------------------------------------------------------------------------
r4930 | guitargeek | 2005-07-26 16:09:46 +0200 (Tue, 26 Jul 2005) | 4 lines

In Vertex Select Mode

CTRL-Alt-RMB = Faceloop Select

------------------------------------------------------------------------
r4929 | guitargeek | 2005-07-26 15:55:10 +0200 (Tue, 26 Jul 2005) | 2 lines

Removed Vertloop Select and Faceloop select from toolbox

------------------------------------------------------------------------
r4928 | ascotan | 2005-07-26 15:30:08 +0200 (Tue, 26 Jul 2005) | 5 lines

_update to .NET projectfiles_
- removed wave from python
- added include path for decimation header
- added additional line to eof in point

------------------------------------------------------------------------
r4927 | guitargeek | 2005-07-26 15:15:29 +0200 (Tue, 26 Jul 2005) | 2 lines

Added ../../../intern/decimation/extern to CPPPATH

------------------------------------------------------------------------
r4926 | ton | 2005-07-26 11:21:20 +0200 (Tue, 26 Jul 2005) | 6 lines

Added correct call to have curve paths calculated, when the anim system
discovers it wasn't done yet. Needs displist now, not calc-path. :)

Solves reported bug in regression file bowl.blend (camera didnt move) and
errors in NLA stride paths.

------------------------------------------------------------------------
r4925 | zuster | 2005-07-26 09:15:17 +0200 (Tue, 26 Jul 2005) | 2 lines

 - move libdecimation in link order to keep gnu ld happy

------------------------------------------------------------------------
r4924 | bjornmose | 2005-07-26 09:00:32 +0200 (Tue, 26 Jul 2005) | 6 lines

help mscv6 to find
LOD_decimation.h for BKE_blenderkernel

BPY_python
waves good bye yo wave.c + .h

------------------------------------------------------------------------
r4923 | zuster | 2005-07-26 08:46:21 +0200 (Tue, 26 Jul 2005) | 2 lines

 - added decimation include dir to makefiles

------------------------------------------------------------------------
r4922 | zuster | 2005-07-26 08:39:58 +0200 (Tue, 26 Jul 2005) | 3 lines

 - bugfix, mirror modifier didn't copy deformed vertex cos for shared
   verts

------------------------------------------------------------------------
r4921 | zuster | 2005-07-26 04:44:59 +0200 (Tue, 26 Jul 2005) | 17 lines

 - added wave modifier & removed old wave effect
 - added decimate modifier & removed old decimate interface
   (currently lacks warning about destroying data, and there needs
   to be a way for modifiers to return errors back to the interface)
 - allow applyModifier to return NULL to indicate error
 - unfortunately new decimate modifier means it does not know exact
   number of faces in mesh (other modifiers may come before) and so
   instead interface uses a percentage. if people need exact face
   count slider then I will have to think of some hack to fit this
   in. note that it does display the output face count so its possible
   to tweak the pct to get what you want regardless.
 - removed python Wave object

If you are bored now how much easier it is to implement something
like decimate as a modifier. Very few changes to interface, very
few entry points.

------------------------------------------------------------------------
r4920 | zuster | 2005-07-26 02:45:19 +0200 (Tue, 26 Jul 2005) | 2 lines

 - added apply button for individual modifiers

------------------------------------------------------------------------
r4919 | zuster | 2005-07-26 01:56:57 +0200 (Tue, 26 Jul 2005) | 2 lines

 - commit some testing code for LetterRip's bit button conversion

------------------------------------------------------------------------
r4918 | zuster | 2005-07-26 00:02:13 +0200 (Tue, 26 Jul 2005) | 2 lines

 - displacement fix, need to calc normals before displacing

------------------------------------------------------------------------
r4917 | zuster | 2005-07-25 23:53:58 +0200 (Mon, 25 Jul 2005) | 8 lines

 - removed internal functions from effect header
 - made particle system generation use its own RNG object,
   keeps it safe against varying calculation order in the renderer

Still a funny bug where having a material on a particle object
changes the particle locations (in renderer, not in interface...
bizarro)

------------------------------------------------------------------------
r4916 | ton | 2005-07-25 23:38:13 +0200 (Mon, 25 Jul 2005) | 4 lines

- Dupliframes mball didn't work anymore (should be added to scene_update)
- restored nicer drawing for duplicator wireframe. Draws before selected,
  so you can see the duplicated object better

------------------------------------------------------------------------
r4915 | zuster | 2005-07-25 22:56:48 +0200 (Mon, 25 Jul 2005) | 2 lines

 - mixed up RNG type definition

------------------------------------------------------------------------
r4914 | zuster | 2005-07-25 22:33:10 +0200 (Mon, 25 Jul 2005) | 4 lines

 - added RNG abstract random object rng_{new/free/seed/get{Int,Double,Float}}
   to avoid use of global generator. at the moment the renderer owns the
   number generator and this is important for retaining render consistency.

------------------------------------------------------------------------
r4913 | zuster | 2005-07-25 20:35:49 +0200 (Mon, 25 Jul 2005) | 3 lines

 - fix some error handling in blend loader, correct error codes
   were not always returned.

------------------------------------------------------------------------
r4912 | guitargeek | 2005-07-25 19:03:09 +0200 (Mon, 25 Jul 2005) | 2 lines

Some bad use of non-public API. Changed the calls to BIF_undo_push() and BIF_undo() instead

------------------------------------------------------------------------
r4911 | bjornmose | 2005-07-25 16:12:28 +0200 (Mon, 25 Jul 2005) | 4 lines

build.c + .h going
point.c + .h coming
/me wonders if there ara any MSVC6er

------------------------------------------------------------------------
r4910 | ton | 2005-07-25 12:58:21 +0200 (Mon, 25 Jul 2005) | 8 lines

Little issues, combined commit!

- Bug #2857: Spin didn't create nice consistant normals
- removed unnecessary call to where_is_object() in init-render phase.
- Added DAG_scene_sort() calls when objects were removed (join cases)
- When using texture fonts, the file window header didn't display OK
- Saving a file didn't set the 'wait cursor' anymore (oldie!)

------------------------------------------------------------------------
r4909 | ton | 2005-07-25 11:19:23 +0200 (Mon, 25 Jul 2005) | 5 lines

Regression file teapot.blend didn't render... this due to a hack removal of
a month ago (trying to cope with vertexcolor 'paint' and 'light'.)
Forgot to add the correct check for calculaing UV texture coords, needed to
have vertexcolor 'paint' working.

------------------------------------------------------------------------
r4908 | zuster | 2005-07-24 21:13:27 +0200 (Sun, 24 Jul 2005) | 4 lines

 - warning fixes
 - rare bug in calc_vertexnormals, fourth vertex normal was not flipped
   correctly (found thanks to my new auto regression test script)

------------------------------------------------------------------------
r4907 | zuster | 2005-07-24 20:16:40 +0200 (Sun, 24 Jul 2005) | 6 lines

 - switch displistmesh_to_mesh to just dupalloc the mface's
 - added verteCos argument to sbObjectReset, lack of this was
   causing softbody objects to not be initialized with deform
 - made convert-to-mesh option call DAG_scene_sort, prevents
   crashes due to obsolete object pointer

------------------------------------------------------------------------
r4906 | ton | 2005-07-24 17:16:37 +0200 (Sun, 24 Jul 2005) | 3 lines

When entering editmode on Armature, the Pose now defaults to a correct
restposition, also for deform and bone childs.

------------------------------------------------------------------------
r4905 | ton | 2005-07-24 15:39:26 +0200 (Sun, 24 Jul 2005) | 5 lines

Bug fix #2856

Changing 'active material' in Editing Buttons didn't update preview in
in Material Buttons.

------------------------------------------------------------------------
r4904 | ton | 2005-07-24 15:30:44 +0200 (Sun, 24 Jul 2005) | 4 lines

NLA strip option "Add" accidentally also added constraint ipo values.
Result was characters going bezerk! By definition, pose blending now only
adds loc/rot/size, not constraint strength values.

------------------------------------------------------------------------
r4903 | ton | 2005-07-24 13:36:05 +0200 (Sun, 24 Jul 2005) | 16 lines

Armature-Pose IK goodies!

- Added option to the IK buttons, to have it use the 'tip' as end of the
  IK chain. I never really understood this old convention (IK didn't work
  on the Bone itself).
  Old files still will read OK though. But I made the "To Tip" a default
  when adding new IK constraints.

- Hotkey CTRL+I: add IK, with option to have it adding an Empty target,
  or use a selected Bone as target. With the new non-modal PoseMode, it
  gives instant access to playing with the IK chain.

- Hotkey ALT+I: clears IK, on all selected Bones

- Hotkey ALT+C: clears Constraints on all selected Bones (incl IK)

------------------------------------------------------------------------
r4902 | theeth | 2005-07-24 11:21:31 +0200 (Sun, 24 Jul 2005) | 2 lines

GCC 4 didn't like static function after non static prototype. Moved prototype to c file and added static to it.

------------------------------------------------------------------------
r4901 | theeth | 2005-07-24 10:26:45 +0200 (Sun, 24 Jul 2005) | 2 lines

Removing "Custom" as a menu entry in 3D view header (ztonzy spotted that).

------------------------------------------------------------------------
r4900 | theeth | 2005-07-24 09:10:56 +0200 (Sun, 24 Jul 2005) | 2 lines

Missing include file from commits. (tsk)

------------------------------------------------------------------------
r4899 | theeth | 2005-07-24 08:57:46 +0200 (Sun, 24 Jul 2005) | 2 lines

Some stuff slipped in header_view3d.c too. Thanks to basse for spoting that quickly.

------------------------------------------------------------------------
r4898 | theeth | 2005-07-24 08:27:49 +0200 (Sun, 24 Jul 2005) | 2 lines

Removed one line to many when preparing for my previous commit.

------------------------------------------------------------------------
r4897 | theeth | 2005-07-24 08:25:00 +0200 (Sun, 24 Jul 2005) | 23 lines

Big Transform Manipulator Merge

*NOTE*: Some UI decision done in this commit will most likely be revised, all flame shall go in /dev/null. Constructive discussions of course welcomed.

This commit merges manipulator orientation selection back in "traditional" transform.
That's how it works:
	- The dropdown in the 3D view header is always visible
	- The orientation chosen will be used when choosing an axis with MMB and for the *second* key press of X,Y,Z
		However, Local orientation doesn't use the one calculated by the manipulator. This is to ensure that multiple object local and armatures in pose still works as before.
	- Alt-Space (to change the orientation) works during transform


New Transform orientation: View, using the view axis.

Fixes for the following bugs:
	- Constraint projection code "jammed" if input vector was <0,0,0>, reported a couple of times on IRC. Thanks to Basse for the example file.
	- Transform on texspace crashed on objects without texspace data (camera, lamp, ...). This was reported in tracker.
	- Numinput with lock constraints didn't work correctly. Reported on elysiun

	Probably some others that I'm forgetting

I also moved a couple of functions around in an attempt to make things clearer.

------------------------------------------------------------------------
r4896 | ton | 2005-07-23 22:56:40 +0200 (Sat, 23 Jul 2005) | 11 lines

- Armature editmode now supports lasso. Please be aware that in editmode,
  armatures actually only consists of points, flushing bone selection
  based on points that are selected.

Renamed the "Lines" drawmode for bones to "Sticks". Thanks Basse! :)

- Fix; crash in selecting in editmode armature (commit 1 hour ago)
- Fix; in editmode, bones didn't transform (same commit)
- Fix; in drawmode "Sticks", names could go weird in editmode (commit
  two days ago)

------------------------------------------------------------------------
r4895 | zuster | 2005-07-23 21:15:08 +0200 (Sat, 23 Jul 2005) | 16 lines

 - added ModifierData flag, is modifier enabled in editmode
 - added modifier type flag: should modifier be enabled by default for
   active in editmode
 - added subsurf "debug incremental" option instead of G.rt==52 (it becomes
   a slightly useful feature now for debugging how well a modifier works
   with incremental subsurf... maybe important for future python modifier
   developers)
 - shuffled modifier button layout just to keep people guessing
 - switched back to drawing editmesh face centers not through derivedmesh,
   I didn't think this one through, forgot that centers were also used for
   selection. have to think about what to do about this, should be either
   (a) don't draw centers with a cage active (optimal mode) or (b) come up
   with api to draw centers through derivedmesh and also handle selection.
 - changed recalc_editnormals to also follow the len(no)==0.0 use vertex
   co convention

------------------------------------------------------------------------
r4894 | zuster | 2005-07-23 21:03:43 +0200 (Sat, 23 Jul 2005) | 15 lines

 - change mesh_calc_normals to set vertices with len(no)==0
   to normalised coordinate (convention in blender, helps with
   halo)
 - removed vertexnormals(), vertexnormals_mesh()
 - removed CTX_NO_NOR_RECALC (always assume already calculated)
 - change NMesh.c to call mesh_calc_normals
 - chance load_editMesh to call mesh_calc_normals after done
   converting instead of using editmesh normals
 - update recalc_editnormals to also calc vertex normals (whats
   4 more adds and a sqrt among friends)

Its hard to believe, but it just might be the case that there
are only two places mesh normals are calculated now (renderer
and kernel)

------------------------------------------------------------------------
r4893 | ton | 2005-07-23 20:52:31 +0200 (Sat, 23 Jul 2005) | 16 lines

Killed silly modal PoseMode mode! :)

- PoseMode now is a state Armature Objects can be in. So, while in PoseMode
  for an Armature, you can just select another Object or Armature.
- The old PoseMode options (transform, insert keys etc) are accessible
  with making the Armature Object 'active' (and have object in PoseMode).
- At this moment no multiple Poses can be transformed/edited at the same
  time.
- The old hotkey CTRL+TAB, and view3d header menu, still work to set an
  Object's PoseMode

It was quite a lot recode, so tests & reports are welcome.

Oh, as a bonus I added Lasso Select for Bones in PoseMode! It selects using
only the line between root and tip of the Bone.

------------------------------------------------------------------------
r4892 | zuster | 2005-07-23 20:27:09 +0200 (Sat, 23 Jul 2005) | 7 lines

 - cleaned up calc_vertexnormals, did unnecessary temporary array alloc
   and passed over faces twice
 - changed init_render_mesh to *always* call calc_vertexnormals. Vertex normal
   calculation is insignificant time wise in comparison to modern renders so
   it wasn't a big savings anyway, and vertex normals were sometimes incorrect.
   Still issue remaining regarding what to do with wire normals.

------------------------------------------------------------------------
r4891 | zuster | 2005-07-23 18:09:08 +0200 (Sat, 23 Jul 2005) | 5 lines

 - removed mface->puno flags, was only used to flip normals in display
   and this is better left to user (whee this was a fun commit! so
   much deleting!)
 - removed mesh_calculate_vertex_normals (replaced by mesh_calc_normals)

------------------------------------------------------------------------
r4890 | erwin | 2005-07-23 17:06:45 +0200 (Sat, 23 Jul 2005) | 2 lines

added bandoler's SConscript file for Bullet

------------------------------------------------------------------------
r4889 | guitargeek | 2005-07-23 16:39:59 +0200 (Sat, 23 Jul 2005) | 5 lines

Added code in loopcut to undo cut if edgeslide was cancelled. (For you Chris!)


Also Added some code for UV's in subdivide. This is close, but still is not perfect :(

------------------------------------------------------------------------
r4888 | guitargeek | 2005-07-23 16:15:13 +0200 (Sat, 23 Jul 2005) | 2 lines

Added point.c to the SConscript file

------------------------------------------------------------------------
r4887 | ascotan | 2005-07-23 15:52:12 +0200 (Sat, 23 Jul 2005) | 5 lines

_update to msvc7 project_
- added point to python
ps
 - the point commit remove vector division as it is undefined

------------------------------------------------------------------------
r4886 | ascotan | 2005-07-23 15:46:40 +0200 (Sat, 23 Jul 2005) | 13 lines

_new point class and update_
- adds a new point class
  * point/ vector math (p + v = p, p - p = v, etc.)
  * points can be transformed by matrices/quats
  * wraps 'place vector' type vectors that have no magnitude
- wrapped toXXX() methods work correctly
  * toXXX() will NOT wrap data (this is due to the fact that wrapped data cannot be converted)
  * added a 'wrapped' attribute to mathutils classes to determine wether the object is accessing python or blender data
- added the ability to negate vectors/points with "-vec"
  * deprecated vector.negate()
- added the ability to shorhand inverse matrices with "~mat" (tilde)
- conversion between vector/point with toXXX() methods

------------------------------------------------------------------------
r4885 | zuster | 2005-07-23 09:45:39 +0200 (Sat, 23 Jul 2005) | 9 lines

 - added DerivedMesh.drawMapped{VertNormals,FaceNormals,FaceCenters}EM
   functions and implementation for EditmeshDerivedMesh
 - switch drawobject to drawing normals/centers through the DerivedMesh
 - added G_DRAW_VNORMALS flag and button, implementation is not yet complete
   because editmesh normals are not updated regularly
 - switch editmesh draw buttons to use uiDefButBit (can't we get some
   monkey to convert all of the uiDefBut calls with TOG|BIT type? It
   makes grepping the source much nicer)

------------------------------------------------------------------------
r4884 | zuster | 2005-07-23 08:05:29 +0200 (Sat, 23 Jul 2005) | 8 lines

 - fix a bug with softbody, verts were copied out of order (meant
   history was lost... I think, dunno this code well.)
 - commented out code to do merging of quad with 3 verts shared in
   mirror mode... didnt seem worth the effort and mesh still wasnt
   perfect afterwards
 - bug fix, indices for triangles were not swapped correctly in
   mirror, could lead to crash with subsurf in editmode

------------------------------------------------------------------------
r4883 | zuster | 2005-07-23 06:37:02 +0200 (Sat, 23 Jul 2005) | 9 lines

 - agh!!!! horrible code alert!!! pushdata/popdata in build_particle_system
   actually copy Object data and then store it back later. Of course this
   means changes to object during the call are lost (and very hard to track
   down). Eekadoodle!

   Oh yeah, actual commit was to move call to fetch derived mesh above
   pushdata, because this call can alloc cache's in the Object (which won't
   get freed later if it is after pushdata)

------------------------------------------------------------------------
r4882 | zuster | 2005-07-23 00:01:39 +0200 (Sat, 23 Jul 2005) | 3 lines

 - move build_particle_system to makeDispList, it was getting called
   recursively in certain situations. needs review.

------------------------------------------------------------------------
r4881 | ton | 2005-07-22 23:42:56 +0200 (Fri, 22 Jul 2005) | 5 lines

Events added for:

- clear parent (didn't do a recalc data for deformed objects)
- add/remove object name in modifier menu (redraw event)

------------------------------------------------------------------------
r4880 | ton | 2005-07-22 21:51:08 +0200 (Fri, 22 Jul 2005) | 4 lines

Error in drawing of new armature options;
bglPolygonOffset(0) was accidentally called without it being set before,
causing window matrix to go weird. :)

------------------------------------------------------------------------
r4879 | ton | 2005-07-22 21:24:10 +0200 (Fri, 22 Jul 2005) | 6 lines

Motion blur didn't work for Object Ipos (rest worked OK), so simple
fix. :)

Also removed the ugly old 'update for newframe' from renderwin.c, the
new call scene_update_for_newframe() does it much friendlier.

------------------------------------------------------------------------
r4878 | zuster | 2005-07-22 19:03:50 +0200 (Fri, 22 Jul 2005) | 3 lines

 - moved mesh_getVertexCos to mesh.c and prototyped
 - make mesh_modifier build vertex locations on demand

------------------------------------------------------------------------
r4877 | erwin | 2005-07-22 18:46:15 +0200 (Fri, 22 Jul 2005) | 4 lines

aCVS: ----------------------------------------------------------------------
added minkowskisum in the raytrace demo
update vc8 projectfiles

------------------------------------------------------------------------
r4876 | zuster | 2005-07-22 18:40:26 +0200 (Fri, 22 Jul 2005) | 7 lines

 - got fed up with not being able to put a breakpoint on MEM_
   errors, switched MEM_set_error_stream to MEM_set_error_callback
   that calls a function to print result instead of just giving
   a FILE *

Note: requires intern recompile

------------------------------------------------------------------------
r4875 | zuster | 2005-07-22 17:09:54 +0200 (Fri, 22 Jul 2005) | 3 lines

 - bug fix, old files with me->subdiv==0 crashed, fix to make sure they
   don't crash and also changed patch to properly init SubsurfModifierData

------------------------------------------------------------------------
r4874 | ascotan | 2005-07-22 12:04:12 +0200 (Fri, 22 Jul 2005) | 5 lines

_update to msvc7 project files_
- adds new files for modifer
- removes build from python
- hopefully fixes the mac line endings

------------------------------------------------------------------------
r4873 | zuster | 2005-07-22 09:37:15 +0200 (Fri, 22 Jul 2005) | 39 lines

 - added data arguments to deformer modifiers, in case someone wants
   to write one that is based on geometry (and not just vertex position)
 - added editmode versions of modifier deform/apply calls and flag
   to tag modifiers that support editmode
 - added isFinalCalc param to applyModifier, basically a switch to let
   subsurf know if it is calc'ng orco or not (so it can deal with cache
   appropriately). This is kinda hacky and perhaps I can come up with
   a better solution (its also a waste to do a complete subdivide just
   to get vertex locations).
 - changed ccgsubsurf to not preallocate hash's to be approximately correct
   size... this was probably not a big performance savings but means that
   the order of faces returned by the iterator can vary after the first
   call, this messes up orco calculation so dropped for time being.
 - minor bug fix, meshes with only key didn't get vertex normals correctly
   calc'd
 - updated editmesh derivedmesh to support auxiliary locations
 - changed mesh_calc_modifiers to alloc deformVerts on demand
 - added editmesh_calc_modifiers for calculating editmesh cage and final
   derivedmesh's
 - bug fix, update shadedisplist to always calc colors (even if totvert==0)
 - changed load_editMesh and make_edge to build me->medge even if totedge==0
   (incremental subsurf checks this)

todo: add drawFacesTex for ccgderivedmesh

So, modifiers in editmode are back (which means auto-mirror
in edit mode works now) although still not finished. Currently
no cage is computed, the cage is always the base mesh (in
other words, Optimal edge style editing is off), and the final
mesh currently includes all modifiers that work in edit mode
(including lattice and curve). At some point there will be toggles
for which modifiers affect the final/cage editmode derivedmesh's.

Also, very nice new feature is that incremental subsurf in object
mode returns a ccgderivedmesh object instead of copying to a new
displistmesh. This can make a *huge* speed difference, and is very
nice for working with deformed armatures (esp. with only small
per frame changes).

------------------------------------------------------------------------
r4872 | zuster | 2005-07-22 08:45:37 +0200 (Fri, 22 Jul 2005) | 2 lines

 - add ID.h and correct dna.c locations for my projectiles

------------------------------------------------------------------------
r4871 | zuster | 2005-07-22 07:03:04 +0200 (Fri, 22 Jul 2005) | 2 lines

 - put {} around the various minmax defines... this was a nice bughunt

------------------------------------------------------------------------
r4870 | desoto | 2005-07-22 05:25:29 +0200 (Fri, 22 Jul 2005) | 11 lines

Fix for bug #2766: Shear shortcut broken

The problem is that the shear shortcut that was originally chosen was
eaten up by the shortcut to switch to the scale blezmo. Changed the
shortcut to CTRL + ALT + SHIFT + S which is painful but seeing as how
shear in object mode has limited use, I don't think it will cause any
real problems. I also updated the menu entry to match.

This was assigned to Martin but he's busy so I did it... and if I did it
wrong... blame him for not fixing it sooner ;)

------------------------------------------------------------------------
r4869 | zuster | 2005-07-22 00:34:01 +0200 (Fri, 22 Jul 2005) | 9 lines

 - bump blender version
 - warning fixes (unused vars)
 - added do_lib_versions for patches that need to happen
   after linking and updated some patches.

There are still issues where patches can go wrong, particularly
if an Object is linked from another file. However, this should
fix all crashes.

------------------------------------------------------------------------
r4868 | ton | 2005-07-22 00:03:27 +0200 (Fri, 22 Jul 2005) | 13 lines

New drawmode for the Armature geeks!

It was noticed that Bones dont perform well in 'xray' drawing, for that
purpose a very minimal style would serve best.
This new option "Line" draws a solid line with bitmap circles in endings.

http://www.blender.org/cms/Armature_draw_modes.629.0.html

Or temporal pics:

http://www.blender.org/bf/rt1.jpg
http://www.blender.org/bf/rt.jpg

------------------------------------------------------------------------
r4867 | zuster | 2005-07-21 23:19:38 +0200 (Thu, 21 Jul 2005) | 6 lines

 - add comments to BKE_DerivedMesh.h about which functions are called in editmode
 - gcc warning fixes
 - start work to make CCGDerivedMesh able to run in object mode (hint: more
   speed improvements)
 - fix modifier move down tooltip

------------------------------------------------------------------------
r4866 | zuster | 2005-07-21 22:31:30 +0200 (Thu, 21 Jul 2005) | 2 lines

 - oops, missed this variable change

------------------------------------------------------------------------
r4865 | zuster | 2005-07-21 22:30:33 +0200 (Thu, 21 Jul 2005) | 46 lines

 - shuffled editmesh derived function name/function
 - added ModifierTypeInfo.freeData function
 - added modifier_{new,free] utility function
 - added ccgSubSurf_getUseAgeCounts to query info
 - removed subsurf modifier faking (ME_SUBSURF flag is no
   longer valid). subsurf modifier gets converted on file load
   although there is obscure linked mesh situation where this
   can go wrong, will fix shortly. this also means that some
   places in the code that test/copy subsurf settings are broken
   for the time being.
 - shuffled modifier calculation to be simpler. note that
   all modifiers are currently disabled in editmode (including
   subsurf). don't worry, will return shortly.
 - bug fix, build modifier didn't randomize meshes with only verts
 - cleaned up subsurf_ccg and adapted for future editmode modifier
   work
 - added editmesh.derived{Cage,Final}, not used yet
 - added SubsurfModifierData.{mCache,emCache}, will be used to cache
   subsurf instead of caching in derivedmesh itself
 - removed old subsurf buttons
 - added do_modifiers_buttons to handle modifier events
 - removed count_object counting of modifier (subsurfed) objects...
   this would be nice to add back at some point but requires care.
   probably requires rewrite of counting system.

New feature: Incremental Subsurf in Object Mode

The previous release introduce incremental subsurf calculation during
editmode but it was not turned on during object mode. In general it
does not make sense to have it always enabled during object mode because
it requires caching a fair amount of information about the mesh which
is a waste of memory unless the mesh is often recalculated.

However, for mesh's that have subsurfed armatures for example, or that
have other modifiers so that the mesh is essentially changing on every
frame, it makes a lot of sense to keep the subsurf'd object around and
that is what the new incremental subsurf modifier toggle is for. The
intent is that the user will enable this option for (a) a mesh that is
currently under active editing or (b) a mesh that is heavily updated
in the scene, such as a character.

I will try to write more about this feature for release, because it
has advantages and disadvantages that are not immediately obvious (the
first user reaction will be to turn it on for ever object, which is
probably not correct).

------------------------------------------------------------------------
r4864 | zuster | 2005-07-21 18:46:13 +0200 (Thu, 21 Jul 2005) | 4 lines

 - changed GetRawFromObject to always return mesh name/info... this
   is a behavior change from prev releases, used to be only NMesh that
   were not from a subsurf would have name...

------------------------------------------------------------------------
r4863 | theeth | 2005-07-21 07:43:49 +0200 (Thu, 21 Jul 2005) | 3 lines

Tsk, noob mistake in intrr's radiosity commit (not collecting invisible faces).
Didn't check pointer, so it crashed if the mesh didn't have TFaces.

------------------------------------------------------------------------
r4862 | zuster | 2005-07-21 04:56:45 +0200 (Thu, 21 Jul 2005) | 4 lines

 - apologies, made stupid newbie error in makesdna change (I'm blushing),
   which majorly borked DNA and meant crashes everywhere. (C pointer
   arith, you know)

------------------------------------------------------------------------
r4861 | zuster | 2005-07-20 22:54:52 +0200 (Wed, 20 Jul 2005) | 11 lines

 - add my private version of VC7 project files... they are a lot better
   for actually working on blender than the standard ones:
     - all files are in one project, makes include directory maintainence
       much much easier
     - builds faster because VS.net doesn't build multiple projects fast
       (builds in 2 minutes on my athlon 1.5)
     - warnings settings are tweaked so that in debug mode only important
       and non-overwhelming ones show up
     - debug compile is incremental (speedy, one line change builds are
       about a second)

------------------------------------------------------------------------
r4860 | zuster | 2005-07-20 22:46:01 +0200 (Wed, 20 Jul 2005) | 4 lines

 - add option argument to makesdna for path within which to look
   for DNA includes instead of assuming run from in source dir
 - remove casts to long before comparing pointers (warning fix)

------------------------------------------------------------------------
r4859 | zuster | 2005-07-20 20:15:40 +0200 (Wed, 20 Jul 2005) | 3 lines

 - renderer always goes through DerivedMesh atm, means no need
   to recalc vertex normals (can be assumed good)

------------------------------------------------------------------------
r4858 | zuster | 2005-07-20 20:04:50 +0200 (Wed, 20 Jul 2005) | 11 lines

 - readfile incorrectly increased user count for Lattice & Curve
   modifier objects
 - make unlink_object clear Lattice & Curve Modifier object references
 - add expand_modifiers for liblinking

There really needs to be a more consistent and unified way of dealing
with datablock references between objects. It should be possible to
make this generic so that lib_link, expand_, DEP graph, unlink,
oops and maybe outliner can use a single API. The code to deal with
this is too bulky and error prone at the moment.

------------------------------------------------------------------------
r4857 | zuster | 2005-07-20 18:45:41 +0200 (Wed, 20 Jul 2005) | 2 lines

 - fix convert XXX _to mesh to recalc mesh data

------------------------------------------------------------------------
r4856 | erwin | 2005-07-20 12:19:43 +0200 (Wed, 20 Jul 2005) | 2 lines

added the Elsevier CDROM license to one file. This still allows to use the software for any purpose, commercial or non-commercial.

------------------------------------------------------------------------
r4855 | zuster | 2005-07-20 09:11:26 +0200 (Wed, 20 Jul 2005) | 13 lines

Wow! A new feature!

 - made ModifierData.isDisabled optional
 - Added new modifier type: Mirror
    o modifier system isn't running in editmode yet so still
      don't have mirrored editing, but otherwise it is pretty
      cool. code even goes to tricks to make sure mirror join
      looks nice in degenerate cases.
    o this kind of commit is basically the upshot of all the
      previous commits - in that implementing a new modifier
      changes only about 3 files and still integrates nearly
      completely.

------------------------------------------------------------------------
r4854 | zuster | 2005-07-20 06:56:15 +0200 (Wed, 20 Jul 2005) | 2 lines

 - orco fix for build effect, didn't copy input vertex cos over (duh!)

------------------------------------------------------------------------
r4853 | zuster | 2005-07-20 06:44:02 +0200 (Wed, 20 Jul 2005) | 7 lines

 - for some reason mesh_create_derived_no_deform took the raw data (not
   an object) but this is not going to work... I can't remember the reason
   I did it this way in the first place either! oops! regardless, switch
   to all mesh_ derived accessors taking object argument. there is still
   a bug in render orco calculation though. (hunt hunt)
 - removed python files that should have been ditched in previous commit

------------------------------------------------------------------------
r4852 | zuster | 2005-07-20 06:15:37 +0200 (Wed, 20 Jul 2005) | 2 lines

 - missed file from last commit

------------------------------------------------------------------------
r4851 | zuster | 2005-07-20 06:14:21 +0200 (Wed, 20 Jul 2005) | 11 lines

 - added modifier_dependsOnTime to check if modifier needs updating
   based on time change. would be nice if dep graph could handle this.
 - made dep check if modifiers need update on time change
 - fix render crash (access null)
 - added new Build Effect modifier type. compared to old one works as
   a full member of modifier system, means can apply subsurf, etc on
   it, reorder, what have you. and it is all nice and self contained.
 - removed old Build effect, old files convert to new style on load
 - couldn't help myself, added a randomize feature to build effect
 - removed Python BuildEffect support

------------------------------------------------------------------------
r4850 | zuster | 2005-07-20 05:49:36 +0200 (Wed, 20 Jul 2005) | 2 lines

 - remove MEM_dupallocN's warning on dup of len==0 sized object

------------------------------------------------------------------------
r4849 | zuster | 2005-07-20 05:33:44 +0200 (Wed, 20 Jul 2005) | 2 lines

 - added an array shuffling function to BLI_rand

------------------------------------------------------------------------
r4848 | zuster | 2005-07-20 04:23:09 +0200 (Wed, 20 Jul 2005) | 4 lines

 - fix for particle related crash in editmode. particle system calculation
   is pretty haphazard at the moment, needs to be reviewed before next
   release (as does duplis).

------------------------------------------------------------------------
r4847 | theeth | 2005-07-20 02:03:52 +0200 (Wed, 20 Jul 2005) | 4 lines

Improper indentation in getParentBoneName docstring.

I must say, the use of hard tab in the doc files is very annoying as it goes against what is done for the rest of the source code.

------------------------------------------------------------------------
r4846 | theeth | 2005-07-20 02:00:08 +0200 (Wed, 20 Jul 2005) | 2 lines

Windows Newline again (missed that one last time)

------------------------------------------------------------------------
r4845 | theeth | 2005-07-20 01:52:21 +0200 (Wed, 20 Jul 2005) | 5 lines

Project Files (MSVC 6.0) update:
	- drawarmature.c
	- modifier.c, BKE_modifier.h
	- DNA_modifier_types.h

------------------------------------------------------------------------
r4844 | theeth | 2005-07-20 01:42:08 +0200 (Wed, 20 Jul 2005) | 2 lines

Newline problem in BPY again.

------------------------------------------------------------------------
r4843 | zuster | 2005-07-20 01:04:34 +0200 (Wed, 20 Jul 2005) | 6 lines


 - added ModifierTypeInfo.updateDepgraph function, responsible for building
   appropriate relations in dep graph (modifiers respond to scene changes
   correctly now)
 - update modifier buttons to trigger depgraph rebuild if needed

------------------------------------------------------------------------
r4842 | zuster | 2005-07-19 22:42:34 +0200 (Tue, 19 Jul 2005) | 2 lines

 - fixed subsurf_make_derived_from_dlm

------------------------------------------------------------------------
r4841 | zuster | 2005-07-19 22:29:22 +0200 (Tue, 19 Jul 2005) | 2 lines

 - vertex indexing in softbody was wrong after I switch loop direction

------------------------------------------------------------------------
r4840 | zuster | 2005-07-19 22:14:17 +0200 (Tue, 19 Jul 2005) | 30 lines

 - split {curve,lattice,armature}_deform_verts out of mesh_deform
 - removed mesh_deform (merge into mesh_modifier)
 - switch python lattice_apply function to use object_apply_deform,
   this isn't exactly equivalent but the python system shouldn't
   have been calling that deep into the kernel anyway.

New feature: Modifier stack
 - added Object.modifiers (list of ModifierData elements)
 - added DNA_modifier_types.h
     o contains type definition for the file data for the various
       modifier types
 - added BKE_modifier.h
     o contains modifierType_get_info (access to modifier type registry)
     o structs and defines for runtime modifier usage
 - updated mesh_calc_modifiers to evaluate modifier stack (note that
   for the time being it also evaluates the old style modifiers so files
   should load and work as normal).
 - add file handling modifier code (todo: don't replicate on object copy)
 - add modifier stack UI code (lives in object panel)


Only real new feature at the moment is that you can apply lattices and
curves *after* a subdivision surface which was never possible before.

Todo:
 - DEP graph updating does not work correctly yet, so you generally have
   to tab cycle to see results.
 - editmode calculation does not use modifier stack.
 - bug fixes (there must be a few in there somewhere)

------------------------------------------------------------------------
r4839 | ton | 2005-07-19 21:25:17 +0200 (Tue, 19 Jul 2005) | 2 lines

Fix: CTRL+Click adding bones didn't attach them to the parent!

------------------------------------------------------------------------
r4838 | ascotan | 2005-07-19 20:47:25 +0200 (Tue, 19 Jul 2005) | 4 lines

__ bug fix__
- internal methods for mathutils class need to incref before returning a pointer to self
  * memory allocation errors (freeing bad pointers) were appearing after repeatedly calling internal methods on the same object due to ref counts.

------------------------------------------------------------------------
r4837 | ton | 2005-07-19 18:12:56 +0200 (Tue, 19 Jul 2005) | 11 lines

Couple of fixes combined;

- With Actions on a Pose, ESC in transform restored wrong.
  This is solved similar to ipos now, storing a 'last time evaluated'.
  Could be extended to ghosting... soon.
- Moving the little yellow 'key blocks' in Action window didn't update
  3d window. ALso the 'lock' option didn't work, and flashed header.
- Pose Transform: noticed there were still errors in cases, especially
  with actions. Painfully tried to build the desired matrix now.
- Removed obsolete Bone pointer from TransData

------------------------------------------------------------------------
r4836 | guitargeek | 2005-07-19 17:37:18 +0200 (Tue, 19 Jul 2005) | 15 lines

First step towards restoring / improving subdivide 'beauty'.

Beauty button now is Beauty and Short.

Works as follows

Beauty on: If a face is selected, only subdivide the longest 2 sides
Beauty & Short on: If a face is selected, only subdivide the shortest 2 sides

1 problem atm is when more than 2 sides are equal. Must add code to check for this and disable beauty on that face. Use with caution! :)

Also restoring selection needs to be tweaked here.

Side Note: for most accurate subdividing, use edge mode and select only the edges you wish to cut rather than relying on beauty.

------------------------------------------------------------------------
r4835 | ascotan | 2005-07-19 16:17:07 +0200 (Tue, 19 Jul 2005) | 3 lines

-Patch submitted by Campbell Barton
-Fixed matrix.invert() to return the correct inverse matrix

------------------------------------------------------------------------
r4834 | ton | 2005-07-19 13:47:22 +0200 (Tue, 19 Jul 2005) | 4 lines

Grms... removed too happily a part of depgraph yesterday. That fix was OK,
but doesn't make the removed code obsolete :)
Error was that transform on deformed objects didn't set recalc flags

------------------------------------------------------------------------
r4833 | ton | 2005-07-19 13:21:01 +0200 (Tue, 19 Jul 2005) | 3 lines

Removed last remainder of old transform. The function is still called
special_aftertrans_update() though...

------------------------------------------------------------------------
r4832 | ton | 2005-07-19 12:50:13 +0200 (Tue, 19 Jul 2005) | 7 lines

Bugfix #2818

On importing a file (dxf for example), the active filename got set to the
imported filename, causing save-over to use that too. Tracked it down to
be a very old feature... better to remove this, doesn't work according
specs!

------------------------------------------------------------------------
r4831 | ton | 2005-07-19 12:06:57 +0200 (Tue, 19 Jul 2005) | 17 lines

1) Removed old annoyance in adding armature or bones.

- Add Armature or Bone (SHIFT+A) now adds by default a single Bone, view
  aligned and of unit-size 1.
- Then use E-key (extrude) to draw chains, this option now doesn't popup
  the "OK" requester anymore, so works fast
- Another new method is using CTRL+click to add Bones

This makes it working identical to the other edit modes in Blender. The old
modal loop for drawing bones just wasn't working well either.

Related to this; have a real set of useful Armature primitives?

2) Removed event REMAKEALLIPO, which was added in NaN days for testing, and
proved to be extremely slow. Code is moved now to editnla.c.
Thanks Tom Hendrick to pointing to this nasty buggy feature!

------------------------------------------------------------------------
r4830 | ton | 2005-07-19 10:02:27 +0200 (Tue, 19 Jul 2005) | 3 lines

Bug fix; pose mode transform didn't count # of selected bones correctly,
skipping selected bones with parent but without "IK to Parent"

------------------------------------------------------------------------
r4829 | theeth | 2005-07-19 07:35:35 +0200 (Tue, 19 Jul 2005) | 3 lines

Added DAG flush to NMesh when updating geometry (was needed after zr's latest commits).
I added that in mesh_update, if anyone has a better idea, feel free to fix it.

------------------------------------------------------------------------
r4828 | zuster | 2005-07-19 06:27:43 +0200 (Tue, 19 Jul 2005) | 6 lines

 - some missing changes for switch of mesh_modifier to
   deform new verts array.

I don't really know how to use softbody, so it would be nice
if someone would test this for me.

------------------------------------------------------------------------
r4827 | erwin | 2005-07-19 06:11:47 +0200 (Tue, 19 Jul 2005) | 3 lines

initialize simd quad in default constructor
this should not be necessary, its for testing

------------------------------------------------------------------------
r4826 | zuster | 2005-07-19 06:05:30 +0200 (Tue, 19 Jul 2005) | 4 lines

 - fix newline screwup in python stuff

 Please watch this... its kinda annoying

------------------------------------------------------------------------
r4825 | zuster | 2005-07-19 04:36:21 +0200 (Tue, 19 Jul 2005) | 8 lines

 - split mesh_deform off from object_deform
 - changed mesh_modifier, sbObjectStep, object_deform to take vertexCo
   argument instead of operating on mesh
 - fixed bug where a derived mesh would not be returned in editmode
 - removed object_wave, replaced by init_wave_deform and calc_wave_deform
 - moved cached DerivedMesh to Object, not Mesh... fixes heisenbugs
   with linked objects

------------------------------------------------------------------------
r4824 | guitargeek | 2005-07-19 04:23:52 +0200 (Tue, 19 Jul 2005) | 2 lines

Fix for bug #2848 This flushes selection upward in subdivide based on select mode. So faces with all edges selected should now be selected as well.

------------------------------------------------------------------------
r4823 | zuster | 2005-07-19 03:12:14 +0200 (Tue, 19 Jul 2005) | 2 lines

 - silly bug, didn't test for hash before freeing

------------------------------------------------------------------------
r4822 | zuster | 2005-07-19 02:21:01 +0200 (Tue, 19 Jul 2005) | 9 lines

 - change mesh_get_derived_render to mesh_create_derived_render (always
   builds new DerivedMesh... caching can come later)
 - split DerivedMesh returning functions into editmesh and mesh groups
 - got rid of DL_NORS displist type (get built on fly for mesh when
   needed)
 - got rid of Mesh.disp (yay!)
 - started to punch DerivedMesh returning functions into shape to introduce
   modifier stack

------------------------------------------------------------------------
r4821 | ton | 2005-07-19 00:18:03 +0200 (Tue, 19 Jul 2005) | 8 lines

Bugfix: clear rotation on Pose bone didn't flush changes to DAG

Fix for previous commit today; found other test file with action
constraint that behaved different... found out the old action constraint
used the deform matrix (from restpos to pose) to define the key.

ALso removed unused function from outliner.c

------------------------------------------------------------------------
r4820 | zuster | 2005-07-18 22:49:19 +0200 (Mon, 18 Jul 2005) | 2 lines

 - ditch mesh_uses_displist

------------------------------------------------------------------------
r4819 | zuster | 2005-07-18 22:48:16 +0200 (Mon, 18 Jul 2005) | 3 lines

 - change convert subsurf to mesh to use mesh_create_derived_no_deform
   (converts any modifier now)

------------------------------------------------------------------------
r4818 | zuster | 2005-07-18 22:34:28 +0200 (Mon, 18 Jul 2005) | 2 lines

 - remove some extverts related cruft

------------------------------------------------------------------------
r4817 | zuster | 2005-07-18 22:05:30 +0200 (Mon, 18 Jul 2005) | 4 lines

 - miscapitalized ghash...

 Ok, I'll stop trying to bump up my commits per minute rate for now.

------------------------------------------------------------------------
r4816 | zuster | 2005-07-18 22:03:52 +0200 (Mon, 18 Jul 2005) | 2 lines

 - yet another warning fix

------------------------------------------------------------------------
r4815 | zuster | 2005-07-18 22:00:41 +0200 (Mon, 18 Jul 2005) | 2 lines

 - another warning fix

------------------------------------------------------------------------
r4814 | zuster | 2005-07-18 21:59:51 +0200 (Mon, 18 Jul 2005) | 2 lines

 - minor warning fix

------------------------------------------------------------------------
r4813 | zuster | 2005-07-18 21:58:23 +0200 (Mon, 18 Jul 2005) | 9 lines

 - added DerivedMesh.getVertCos function and implementations
 - added mesh_create_derived_no_deform[_render]
 - mesh_create_orco now always goes through a DerivedMesh, some
   redundant copying atm but can be fixed (and orco generation is
   not a big bottleneck)

New feature: TexMesh (texcomesh) works with subsurf now (are
you listening rob?)

------------------------------------------------------------------------
r4812 | ton | 2005-07-18 21:36:17 +0200 (Mon, 18 Jul 2005) | 5 lines

Two small fixes (armatures);

- adding relations to pose-constraints should call DAG on the pose
- prevented constraints to break "IK" chains

------------------------------------------------------------------------
r4811 | zuster | 2005-07-18 21:29:42 +0200 (Mon, 18 Jul 2005) | 2 lines

 - need to zero hash pointer on free

------------------------------------------------------------------------
r4810 | zuster | 2005-07-18 20:28:16 +0200 (Mon, 18 Jul 2005) | 6 lines

 - removed orco pointer from struct Mesh
 - switch renderer to store orco's in a hash table instead of
   caching in mesh (I don't like the renderer caching data
   in the actual mesh structure)
 - added mesh_create_orco[_render] function

------------------------------------------------------------------------
r4809 | ascotan | 2005-07-18 20:11:23 +0200 (Mon, 18 Jul 2005) | 4 lines

[ #2423 ] Object.getParentSubName
- this is a submitted patch by lordbosh
- adds to ability to get the bone name when and object is parented to a bone

------------------------------------------------------------------------
r4808 | zuster | 2005-07-18 19:45:30 +0200 (Mon, 18 Jul 2005) | 2 lines

 - remove unnecessary editmode cycle on convert subsurf to mesh

------------------------------------------------------------------------
r4807 | zuster | 2005-07-18 19:33:51 +0200 (Mon, 18 Jul 2005) | 6 lines

 - added boundbox_set_from_min_max function
 - fix DerivedMesh.getMinMax implementations to set min & max when
   there are no vertices
 - mesh boundbox calc was wrong in some cases, messed up HOMEKEY
   and localview zooming

------------------------------------------------------------------------
r4806 | ton | 2005-07-18 19:27:17 +0200 (Mon, 18 Jul 2005) | 9 lines

Made action constraints to become backwards compatible. In the old version
it used the 'global' (Pose Space) rotation to define the action timing.
That was of course hardly useful, reason for many weird patched rigs.
Nevertheless, sometimes it can be useful, and it's nice to see old files
nicely work still. So: "Local" is an option now.

Note: if you changed last week files because of the new action constraint,
set the new "Local" option in the object-buttons Constraint panel.

------------------------------------------------------------------------
r4805 | erwin | 2005-07-18 07:41:00 +0200 (Mon, 18 Jul 2005) | 2 lines

more preparations for bullet physics, and some eol issues with SCA_Joystick*

------------------------------------------------------------------------
r4804 | ascotan | 2005-07-18 05:52:29 +0200 (Mon, 18 Jul 2005) | 2 lines

Increase the warning level for the python vcproj

------------------------------------------------------------------------
r4803 | ascotan | 2005-07-18 05:50:37 +0200 (Mon, 18 Jul 2005) | 6 lines

Header file clean up and warning fixes
- Mostly this cleans up the #includes and header files in the python project.
- Warning fixes are mostly casting issues and misc fixes. General warning clean up.
- #include Python.h MUST come as the first include to avoid the POSIX redefine warning in the unix makefiles
- fno-strict-aliasing flag added to makefile to fix a unavoidable type punning warning in types.c

------------------------------------------------------------------------
r4802 | ton | 2005-07-18 00:15:12 +0200 (Mon, 18 Jul 2005) | 4 lines

Third attempt to fix crash on leave editmode + delete loadsa bones! :)

Now certain pointers get cleared better, prevent reading freed data...

------------------------------------------------------------------------
r4801 | zuster | 2005-07-17 23:54:12 +0200 (Sun, 17 Jul 2005) | 3 lines

 - "Text" tfaces should only be drawn from deformed (not subdivided)
   mesh

------------------------------------------------------------------------
r4800 | zuster | 2005-07-17 23:48:23 +0200 (Sun, 17 Jul 2005) | 2 lines

 - convert write_object_stl to use mesh_get_derived_final

------------------------------------------------------------------------
r4799 | zuster | 2005-07-17 23:43:35 +0200 (Sun, 17 Jul 2005) | 3 lines

 - convert draw_mesh_tfaces to use mesh_get_derived_final instead of
   calling mesh_uses_displist (becoming obsolete)

------------------------------------------------------------------------
r4798 | zuster | 2005-07-17 23:24:43 +0200 (Sun, 17 Jul 2005) | 2 lines

 - missed commit of file with mesh_calc_normals

------------------------------------------------------------------------
r4797 | zuster | 2005-07-17 22:40:07 +0200 (Sun, 17 Jul 2005) | 3 lines

 - commit patch from Matthew Plough to request buffer with SWAP_COPY
   behavior

------------------------------------------------------------------------
r4796 | zuster | 2005-07-17 22:12:16 +0200 (Sun, 17 Jul 2005) | 7 lines

 - replace displistmesh_calc_normals by mesh_calc_normals
 - convert MeshDerivedMesh to calculate new vertex normals and such
   on initialize, means copy free conversion to DispListMesh
 - replace vertex access through function by direct access fo
   MeshDerivedMesh
 - shadeDispList was not getting correct orco's

------------------------------------------------------------------------
r4795 | zuster | 2005-07-17 21:15:06 +0200 (Sun, 17 Jul 2005) | 2 lines

 - need to release object DerivedMesh prior to release object data

------------------------------------------------------------------------
r4794 | ton | 2005-07-17 21:08:04 +0200 (Sun, 17 Jul 2005) | 13 lines

More fixes thanks to irc testing;

- On exit editmode and after deleting bones, a pointer in PoseChannels
  was not set NULL correctly, causing potential crashes.
- Action Window: select on 'ipo key' (little icon) didn't select/deselect
  the associated bone (old bug!)
- After unlinking an Action, the blue color in bones was not cleared

Also:

- Improved selection in editmode, doing it in 2 stages. Makes it a lot more
  accurate.

------------------------------------------------------------------------
r4793 | zuster | 2005-07-17 20:51:50 +0200 (Sun, 17 Jul 2005) | 2 lines

 - switch shadeDispList to use DLM face normals if available

------------------------------------------------------------------------
r4792 | zuster | 2005-07-17 20:37:27 +0200 (Sun, 17 Jul 2005) | 5 lines

 - switch shadeDispList to always using DispListMesh from
   mesh_get_derived_final... a bit slower atm because of extraneous
   copying (will be fixed shortly) but normals are correct for deformed
   meshes now (don't think they ever have been)

------------------------------------------------------------------------
r4791 | zuster | 2005-07-17 20:31:39 +0200 (Sun, 17 Jul 2005) | 2 lines

 - assorted fixes for drawing "Text" tfaces

------------------------------------------------------------------------
r4790 | zuster | 2005-07-17 20:22:23 +0200 (Sun, 17 Jul 2005) | 3 lines

 - remove extverts argument from vertexnormals_mesh
 - changed new_NMesh_internal to not take extverts argument

------------------------------------------------------------------------
r4789 | zuster | 2005-07-17 19:43:15 +0200 (Sun, 17 Jul 2005) | 2 lines

 - removed unused DL_TRIA type

------------------------------------------------------------------------
r4788 | zuster | 2005-07-17 19:41:03 +0200 (Sun, 17 Jul 2005) | 10 lines

 - convert mesh_modifier to return deformed verts instead of
   leaving in a DL_VERTS type displist (and modifying mesh)
 - removed DL_VERTS displist type (woot woot)
 - makeDispListMesh now puts deformed verts in object->derivedDeform
 - switch over other system parts to new deformed vert storage,
   still kinda hacky and maybe some inconsistencies... will be
   sorted out soon enough.
 - moved build_particle_system to makeDispListMesh... this may have
   adverse side effects, needs to be sorted out with depgraph system

------------------------------------------------------------------------
r4787 | ton | 2005-07-17 19:36:54 +0200 (Sun, 17 Jul 2005) | 8 lines

Three fixes, thanks to irc reporting of Basse & Sten;

- Bone points for B-Bone drawing were not adjusted for size of Bone, now
  they draw same size as for other bone type
- Deleting bones in editmode didn't check for constraints in Pose, causing
  weird collapsed poses or even crashes
- ALT+S scaling on B-Bones in editmode didn't correct for the Object scale.

------------------------------------------------------------------------
r4786 | zuster | 2005-07-17 19:33:09 +0200 (Sun, 17 Jul 2005) | 2 lines

 - made particles use displistmesh not DerivedMesh interface

------------------------------------------------------------------------
r4785 | zuster | 2005-07-17 18:16:22 +0200 (Sun, 17 Jul 2005) | 2 lines

 - back out ton's vertex_duplilist "fix"

------------------------------------------------------------------------
r4784 | ton | 2005-07-17 18:04:53 +0200 (Sun, 17 Jul 2005) | 2 lines

Wire selecting in Armature editmode accidentally broke. :)

------------------------------------------------------------------------
r4783 | zuster | 2005-07-17 18:02:10 +0200 (Sun, 17 Jul 2005) | 2 lines

 - add extern to selboxes variables declaration

------------------------------------------------------------------------
r4782 | ton | 2005-07-17 17:45:35 +0200 (Sun, 17 Jul 2005) | 5 lines

Fix: outliner crash on deleting bones in editmode

Further cleaned up editmesh code to be warning free and to have a little
nicer style :)

------------------------------------------------------------------------
r4781 | ton | 2005-07-17 14:20:08 +0200 (Sun, 17 Jul 2005) | 11 lines

While checking old bugreports on the todo tracker, found weak issue in
current depgraph... that's when an object has multiple "parents", which
have different relation types. (one parent moves Object, the other
deforms). In that case the result was undefined.

Solved it nicely with the DAG building code, resulting in quicker flushing
of changes even.
Also noted a bug in the drawview.c 'object_handle_update' call, which
should not check for layers. The DAG flushing clears recalc flags for
invisible layers, if possible. Now need to write that @#!# doc!

------------------------------------------------------------------------
r4780 | erwin | 2005-07-17 12:07:46 +0200 (Sun, 17 Jul 2005) | 2 lines

provided proper license for lcp solver

------------------------------------------------------------------------
r4779 | ton | 2005-07-17 11:49:02 +0200 (Sun, 17 Jul 2005) | 5 lines

Bugfix #2836

Crash in Vertex-duplicator when there's an empty Mesh. Simply added check
for dm pointer. :)

------------------------------------------------------------------------
r4778 | ton | 2005-07-17 10:58:42 +0200 (Sun, 17 Jul 2005) | 7 lines

New: B-Bones now support adjusting the 'handle length', with the values
"In" and "Out" in the new posemode Panel, editing buttons.

http://www.blender.org/cms/Armature_draw_modes.629.0.html

Fix in image.c: just an unitialized variable.

------------------------------------------------------------------------
r4777 | ton | 2005-07-17 10:56:51 +0200 (Sun, 17 Jul 2005) | 6 lines

- The "in" and "out" interpolation values for B-Bones were not copied to
and from editmode Armature

- Altered 'axismat' for PoseMode bone transform. Fix for bug #2769, bone
  rotations using hotkey-constraints (R, Y, Y) didn't work well.

------------------------------------------------------------------------
r4776 | zuster | 2005-07-17 07:34:35 +0200 (Sun, 17 Jul 2005) | 3 lines

 - add DerivedMesh *derivedDeform to struct Object, this is temporary
   until fullblown modifier system comes in, need it now to move forward.

------------------------------------------------------------------------
r4775 | zuster | 2005-07-17 07:20:57 +0200 (Sun, 17 Jul 2005) | 8 lines

 - convert vertex_duplilist to use mesh_get_derived_deform
 - convert object_apply_deform to use mesh_get_derived_deform
 - convert build_particle_system to use mesh_get_derived_deform
 - remove apply option from mesh_modifier

What do you know, this leaves only one callsite for mesh_modifier
and one "user" site for DL_VERTS...

------------------------------------------------------------------------
r4774 | zuster | 2005-07-17 06:17:33 +0200 (Sun, 17 Jul 2005) | 5 lines

 - added DerivedMesh.getMinMax function (calls DO_MINMAX on all vertices)
 - static'd boundbox_displist
 - added getMinMax implementations for all existing DerivedMesh
   implementations (mesh, editmesh, displistmesh, and ccgsubsurf)

------------------------------------------------------------------------
r4773 | zuster | 2005-07-17 05:48:29 +0200 (Sun, 17 Jul 2005) | 4 lines

 - converted draw_tfaces3d and bbs_mesh_solid to use
   mesh_get_derived_deform... (whats that? more general AND it uses less
   lines? how can that be!!!)

------------------------------------------------------------------------
r4772 | zuster | 2005-07-17 03:29:12 +0200 (Sun, 17 Jul 2005) | 2 lines

 - convert give_parvert to use mesh_get_derived_deform

------------------------------------------------------------------------
r4771 | zuster | 2005-07-17 03:23:43 +0200 (Sun, 17 Jul 2005) | 2 lines

 - converted write_videoscape_mesh to use mesh_get_derived_deform

------------------------------------------------------------------------
r4770 | zuster | 2005-07-17 03:18:59 +0200 (Sun, 17 Jul 2005) | 8 lines

 - added DirectMesh.getVert{Co,No} functions
 - added mesh_get_derived_deform function (always returns a DerivedMesh
   corresponding to deformed (but not subdivided) mesh). used in places
   where original mesh is to be displayed but with deformed coordinates
   (vpaint for example).
 - added DirectMesh.getVert{Co,No} implementations for MeshDerivedMesh
 - updated vpaint to use mesh_get_derived_deform

------------------------------------------------------------------------
r4769 | erwin | 2005-07-17 00:13:20 +0200 (Sun, 17 Jul 2005) | 2 lines

another file behind the #USE_BULLET

------------------------------------------------------------------------
r4768 | intrr | 2005-07-17 00:02:59 +0200 (Sun, 17 Jul 2005) | 4 lines



Reverted to good line endings

------------------------------------------------------------------------
r4767 | erwin | 2005-07-17 00:00:57 +0200 (Sun, 17 Jul 2005) | 3 lines

reverted some accidental changes. sorry for the hassle, it has been too long that I used cvs :)
can zblur.h be reverted to the right eol ?

------------------------------------------------------------------------
r4766 | erwin | 2005-07-16 23:47:54 +0200 (Sat, 16 Jul 2005) | 2 lines

preparation for bullet physics

------------------------------------------------------------------------
r4765 | zuster | 2005-07-16 23:20:44 +0200 (Sat, 16 Jul 2005) | 4 lines

 - switch M_NMesh_GetRawFromObject to always get mesh data from
   DerivedMesh (needs testing)
 - added needsFree argument to mesh_get_derived_final

------------------------------------------------------------------------
r4764 | zuster | 2005-07-16 23:16:05 +0200 (Sat, 16 Jul 2005) | 6 lines

 - added dontFreeNors flag to DispListMesh as well
 - changed mesh_get_derived_render to always return a DerivedMesh (even if
   no subsurf)
 - changed init_render_mesh to always get the mesh data through a
   DerivedMesh

------------------------------------------------------------------------
r4763 | zuster | 2005-07-16 23:03:28 +0200 (Sat, 16 Jul 2005) | 9 lines

 - added dontFreeVerts and dontFreeOther flags to displistmesh for
   situations where data can be shared easily.
 - added convertDisplistToMesh function for regular mesh DerivedMesh
   interface (how many times can *you* use mesh in one sentence?)
 - do_puno was uninitialized in init_render_mesh
 - added mesh_get_derived_final (temporary), difference from
   mesh_get_derived is it always returns a derived mesh, even if
   no subsurf.

------------------------------------------------------------------------
r4762 | zuster | 2005-07-16 22:42:20 +0200 (Sat, 16 Jul 2005) | 3 lines

 - remove call to mesh_modifier from init_render_mesh, shouldn't
   be needed anymore

------------------------------------------------------------------------
r4761 | ton | 2005-07-16 21:09:33 +0200 (Sat, 16 Jul 2005) | 2 lines

Hrms... forgot to press 'save' or so on 1 file. :)

------------------------------------------------------------------------
r4760 | ton | 2005-07-16 21:07:02 +0200 (Sat, 16 Jul 2005) | 19 lines

More armature goodies;

The B-Bones!
(where the B can be read as 'block' or 'bezier' or 'b-spline')

- set option on/off in edit buttons, armature panel
- scaling of B-bones only works in editmode, use ALT+S to make bones fatter
  or thinner. Also works for constrainted transform
- In pose mode, you now have a buttons panel with per-bone settings too
  Here you can find the "segments" button, which allows bones to
  interpolate between previous/next bones, including roll.
- Buttons to control interpolation ("In" and "Out" are disabled, doesn't
  work satisfying yet

NOTE: this doesn't give deform yet! Main purpose for now is to test if this
drawing method serves to animate/pose armatures well.
Still need to review proper interpolation methods... maybe bezier is too
limited.

------------------------------------------------------------------------
r4759 | erwin | 2005-07-16 12:15:31 +0200 (Sat, 16 Jul 2005) | 2 lines

added Bullet physics binding files

------------------------------------------------------------------------
r4758 | erwin | 2005-07-16 11:58:01 +0200 (Sat, 16 Jul 2005) | 4 lines

Added Bullet library.
Only windows projectfiles for now.
Will ask Hans to get unix makefiles done.

------------------------------------------------------------------------
r4757 | erwin | 2005-07-16 11:55:22 +0200 (Sat, 16 Jul 2005) | 6 lines

Added type for Bullet collision detection and physics engine.
This will improve collision detection and physics for the game engine (Ketsji).
Bullet uses optionally uses the ODE quickstep solver.

Hope this commit doesn't break everything.

------------------------------------------------------------------------
r4756 | intrr | 2005-07-16 03:11:34 +0200 (Sat, 16 Jul 2005) | 4 lines



Oops, accidentally removed the #include <string.h>...

------------------------------------------------------------------------
r4755 | intrr | 2005-07-16 03:06:55 +0200 (Sat, 16 Jul 2005) | 6 lines



Fix radiosity "Collect Meshes" to ignore TFaces set to "Invisible".

I hope this doesn't break anything - works fine here.

------------------------------------------------------------------------
r4754 | zuster | 2005-07-15 22:56:55 +0200 (Fri, 15 Jul 2005) | 8 lines

 - removed makeDispList, set_displist_onlyzero
 - appropriate callers of makeDispList replaced with depgraph calls
 - unappropriate places just killed... small chance this gives some
   errors in corner cases if dep graph isn't notified (example, font
   family displists) but these can be tracked down as they show up.
 - still a large number of callers of makeDispListCurveTypes, but
   makeDispListMesh has just a few.

------------------------------------------------------------------------
r4753 | zuster | 2005-07-15 20:15:56 +0200 (Fri, 15 Jul 2005) | 3 lines

 - remove calls to showkeypos from exit editmode functions, should be
   handled by DAG update now. (ton: please confirm)

------------------------------------------------------------------------
r4752 | guitargeek | 2005-07-15 20:13:21 +0200 (Fri, 15 Jul 2005) | 4 lines

Part #2 to vert color fix in new subdivide, Please check UV and Vertcolor with new subdivide.

Was checking for a condition < 0 should have been > 1

------------------------------------------------------------------------
r4751 | zuster | 2005-07-15 19:57:40 +0200 (Fri, 15 Jul 2005) | 2 lines

 - missed a space in header title text

------------------------------------------------------------------------
r4750 | zuster | 2005-07-15 19:55:19 +0200 (Fri, 15 Jul 2005) | 6 lines

 - decided it made more sense to make a key_get_active function, switched
   to that in editmesh as well as for edit{curve,lattice}
 - added a G.editModeTitleExtra string that gets displayed in header info
   string in editmode. currently used to display "(Key)" when editing a
   key (before there was not UI level display of this info).

------------------------------------------------------------------------
r4749 | zuster | 2005-07-15 19:35:10 +0200 (Fri, 15 Jul 2005) | 2 lines

 - removed unused actkey field from struct Key

------------------------------------------------------------------------
r4748 | zuster | 2005-07-15 19:31:58 +0200 (Fri, 15 Jul 2005) | 4 lines

 - more signedness warning fixes in editsima
 - added mesh_get_active_key and replaced code in editmesh to use this
 - removed obsolete code in object_deform

------------------------------------------------------------------------
r4747 | guitargeek | 2005-07-15 18:12:34 +0200 (Fri, 15 Jul 2005) | 5 lines

Part #1 of the fix for UV colors in new subdivide code

UV colors on Tri's should go right now when subdivivded,
for Quads, 3 of the for points should be right. Still working on the 4th.

------------------------------------------------------------------------
r4746 | zuster | 2005-07-15 17:00:08 +0200 (Fri, 15 Jul 2005) | 4 lines

 - remove some redundant drawing code
 - mousewheel zooming in drawipo used uninitialized var (MSVC run time
   error).

------------------------------------------------------------------------
r4745 | zuster | 2005-07-15 16:50:48 +0200 (Fri, 15 Jul 2005) | 2 lines

 - static'd several functions in key.c, just for readability

------------------------------------------------------------------------
r4744 | theeth | 2005-07-15 07:30:58 +0200 (Fri, 15 Jul 2005) | 24 lines

BPY Support for Deform Parenting and Vertex Parenting

This adds two new method to the BPY Object type:
 - makeParentDeform
 - makeParentVertex

Both are based on makeParent. In fact, I splitted off the parenting
part of makeParent into an internal function so that all can reuse it. I
also added DEP_graph refresh flag that where missing.

makeParentDeform sets the parent type accordingly for correct
deformation (armature and curve) and checks if the parent and childs are of the
correct type for deformation.

makeParentVertex takes as additional mandatory argument a tuple of
indices to tell the parent which vertex to use. It does some object type
checking too.

Also included documentation. :)

Test file is in the patch there: http://projects.blender.org/tracker/?func=detail&atid=127&aid=2833&group_id=9

Note to Ton: When doing vertex parenting, the dashed parent line is only updated correctly if the objects are on screen when calling the function. If they aren't, the line is wrong and is only corrected when another recalc is called on the parent or child.

------------------------------------------------------------------------
r4743 | zuster | 2005-07-15 00:21:12 +0200 (Fri, 15 Jul 2005) | 2 lines

 - more warning killing: unused vars, double -> float constants, signedness

------------------------------------------------------------------------
r4742 | zuster | 2005-07-15 00:16:38 +0200 (Fri, 15 Jul 2005) | 9 lines

 - switch em_{vert,solid,wire}offs to be unsigned
 - some other twiddles to fix mixed signedness compiler warnings

And from the "Dear lazy programmers" file: After you have extern declared
a variable 5 or more times at the top a function, you would have actually
saved a lot of effort by just putting it in the header where it belonged.
Or perhaps you thought by hiding it no one else would notice you were
using global variables to pass information around. Tsk tsk.

------------------------------------------------------------------------
r4741 | ton | 2005-07-15 00:04:57 +0200 (Fri, 15 Jul 2005) | 2 lines

Appending armature crashed... nasty stuff, but works again :)

------------------------------------------------------------------------
r4740 | zuster | 2005-07-14 23:57:18 +0200 (Thu, 14 Jul 2005) | 7 lines

 - added mesh_get_texspace (should be used instead of direct access)
   which calculates texspace on demand if need be.
 - removed almost all calls to tex_space_mesh

There may be a few corner cases where this goes wrong (meshes with vertex
keys) but these should get ironed out by coming modifier system.

------------------------------------------------------------------------
r4739 | zuster | 2005-07-14 22:42:43 +0200 (Thu, 14 Jul 2005) | 3 lines

 - incremental subsurf calc in mesh_changed didn't actually make sure
   mesh used subsurf before calc (led to crash when subdiv==0). Woops!

------------------------------------------------------------------------
r4738 | guitargeek | 2005-07-14 21:44:10 +0200 (Thu, 14 Jul 2005) | 2 lines

Adding CTRL stepping for Edgeslide. Mouse control is still not finished here, this is just a temporary fix until it can be done right.

------------------------------------------------------------------------
r4737 | zuster | 2005-07-14 20:14:19 +0200 (Thu, 14 Jul 2005) | 2 lines

 - switch several instances of makeDispList to use more specific version

------------------------------------------------------------------------
r4736 | zuster | 2005-07-14 20:06:53 +0200 (Thu, 14 Jul 2005) | 2 lines

 - make mesh_changed invalidate the mesh boundbox as well

------------------------------------------------------------------------
r4735 | zuster | 2005-07-14 20:04:27 +0200 (Thu, 14 Jul 2005) | 5 lines

 - add mesh_get_bb function to return mesh boundbox and calc if needed
 - switch all mesh boundbox access to go through mesh_get_bb
 - switch object_handle_update to call mesh_changed instead of making
   the displist data immediately (delayed calculation)

------------------------------------------------------------------------
r4734 | zuster | 2005-07-14 19:59:36 +0200 (Thu, 14 Jul 2005) | 4 lines

 - change subsurf_make_derived_from_editmesh to check that subdivision
   levels match before proceeding with incremental (need to build new
   subdivision object if levels have changed)

------------------------------------------------------------------------
r4733 | zuster | 2005-07-14 19:57:27 +0200 (Thu, 14 Jul 2005) | 4 lines

 - fix extremely dismal approximation of vertex & face counts for
   count_object. It is pretty obvious whoever changed this didn't
   think about it much or test it well... *cough* *cough*.

------------------------------------------------------------------------
r4732 | ton | 2005-07-14 19:23:26 +0200 (Thu, 14 Jul 2005) | 4 lines

Armatures now draw bone names over solid.

(commit of initrender.c is just an added comment)

------------------------------------------------------------------------
r4731 | zuster | 2005-07-14 19:10:44 +0200 (Thu, 14 Jul 2005) | 4 lines

 - switch to using DAG_object_flush_update instead of mesh_changed
 - mesh drawing calculated derived surface before clipping to view matrix,
   waste for offscreen objects

------------------------------------------------------------------------
r4730 | zuster | 2005-07-14 17:59:42 +0200 (Thu, 14 Jul 2005) | 2 lines

 - use cos not cosf

------------------------------------------------------------------------
r4729 | zuster | 2005-07-14 17:58:32 +0200 (Thu, 14 Jul 2005) | 2 lines

 - declare Mesh.mface and Mesh.tface to be of proper type instead of void*

------------------------------------------------------------------------
r4728 | zuster | 2005-07-14 17:57:14 +0200 (Thu, 14 Jul 2005) | 3 lines

 - switch to new mesh_set_smooth_flag call (takes mesh object argument
   instead of raw mesh)

------------------------------------------------------------------------
r4727 | zuster | 2005-07-14 17:50:43 +0200 (Thu, 14 Jul 2005) | 2 lines

 - removed line that slipped in by accident

------------------------------------------------------------------------
r4726 | ton | 2005-07-14 17:49:31 +0200 (Thu, 14 Jul 2005) | 6 lines

Bug reported by Guillaume LeCocq

Setting both 'xray' and 'transp' did not work proper. Had to add one
extra check, and switch drawing order. Now a transparent object gets
drawn OK as Xray too. :)

------------------------------------------------------------------------
r4725 | zuster | 2005-07-14 17:48:01 +0200 (Thu, 14 Jul 2005) | 10 lines

 - split makeDispList into makeDispList{Mesh,MBall,CurveTypes}, there is
   still a makeDispList that dispatches to the appropriate one.
   makeDispList is on the way out and this makes it easier to track down
   exactly which places use makedispList and for what types of objects.
 - switch calls to makeDispList to appropriate more specific function (if
   the object type is known by caller).
 - added mesh_changed function that invalidates cached mesh data (but does
   not rebuild, mesh data gets rebuilt on access). Most old calls to
   makeDispListMesh use this instead now.

------------------------------------------------------------------------
r4724 | zuster | 2005-07-14 17:30:30 +0200 (Thu, 14 Jul 2005) | 2 lines

 - part of DerivedMesh interface change from yesterday that got left out

------------------------------------------------------------------------
r4723 | ton | 2005-07-14 15:50:48 +0200 (Thu, 14 Jul 2005) | 5 lines

Bug fix #2799

Sequence effect "gamma cross" didn't work since 2.36. Caused by not
initialized gamma tables...

------------------------------------------------------------------------
r4722 | ton | 2005-07-14 15:44:59 +0200 (Thu, 14 Jul 2005) | 5 lines

Bugfix for #2826

Initialize shadow buffer lamp accidentally altered the ob->obmat for the
lamp. Never showed up before until now (depgraph).

------------------------------------------------------------------------
r4721 | ton | 2005-07-14 15:12:29 +0200 (Thu, 14 Jul 2005) | 23 lines

Fix for a *very* nasty bug... somewhere in the ancient past - I tracked it
back to 1.4 - comparing pointers apparently gave warnings or errors... I
don't really have a memory of that. Could be the Irix compiler.

What it was used for is sorting edges in arrays or hash lists, like:

  if( ((long)v1) > ((long)v2) )

long is defined to be pointer size, so that should work 32/64 bits, where
it not that the long cast makes the value SIGNED! :)

Ken Hughes discovered this... noting that when his system uses a calloc, the
returned pointer had an uncommon address making the long negative.
It was a very hard bug to track, since (apparently) most OS's have an address
space being still in the lower part of an long...

Anyhoo; I have removed a couple of (long) casts from pointer comparing now,
need to get compile feedback if that's compliant for all our OS's.
If so, quite a lot of such hacks have to be removed from our code, or make
them casting to an unsigned long...

This has been confirmed to fix bugs #2709 and #2710. Thanks Ken!

------------------------------------------------------------------------
r4720 | ton | 2005-07-14 14:44:33 +0200 (Thu, 14 Jul 2005) | 21 lines

New:

- XRAY draw for armatures now is generic "Draw Extra" option for any
  Object type. This feature just moves drawing to the end, after clearing
  the zbuffer again.
- Solid draw mode now displays materials with Alpha, with the new
  "Draw extra" option "Transp" set. This also moves drawing transparent to
  the end, but it doesn't sort the transparent faces. Still looks OK.
  Note: this is not enabled in mesh editmode. Here all the fancy extra
  drawing just makes it nearly impossible to do OK.
- Re-ordered Object Buttons -> "Draw" panel

Fixes:

- do_versions had check for the UserDef in it (new ogl texture cache).
  that can't be there, should be in usiblender.c (stupid exception).
- same error caused reading older files to not always fix version
  changes on armatures (commit yesterday).
- Outline select drawing happened also on picking-select draw, needless
  slowdown.

------------------------------------------------------------------------
r4719 | theeth | 2005-07-14 08:25:02 +0200 (Thu, 14 Jul 2005) | 5 lines

Databrowse needed new code to handle the hide dot file correctly.
Added a comment explaining what and why.

Also added a couple of explicit cast to make compiler whine less (double to float mostly).

------------------------------------------------------------------------
r4718 | theeth | 2005-07-14 07:45:24 +0200 (Thu, 14 Jul 2005) | 5 lines

Joseph's commit included files with windows line ending.
You might want to check the configuration of your cvs client, that kind of conversion is usually handled there.

Fixing before *nix people have a panic attack.

------------------------------------------------------------------------
r4717 | ascotan | 2005-07-14 05:34:56 +0200 (Thu, 14 Jul 2005) | 53 lines

Mathutils update
- also included is some fixes for preprocessor inclues and some clean up of the previous commit

-rewrite and bugfixes
  ----------------------------------
  Here's my changelog:
  -fixed Rand() so that it doesn't seed everytime and should generate better random numbers
  - changed a few error return types to something more appropriate
  - clean up of uninitialized variables & removal of unneccessary objects
  - NMesh returns wrapped vectors now
  - World returns wrapped matrices now
  - Object.getEuler() and Object.getBoundingBox() return Wrapped data when data is present
  - Object.getMatrix() returns wrapped data if it's worldspace, 'localspace' returns a new matrix
  - Vector, Euler, Mat, Quat, call all now internally wrap object without destroying internal datablocks
  - Removed memory allocation (unneeded) from all methods
  - Vector's resize methods are only applicable to new vectors not wrapped data.
  - Matrix(), Quat(), Euler(), Vector() now accepts ANY sequence list, including tuples, list, or a self object to copy - matrices accept multiple sequences
  - Fixed Slerp() so that it now works correctly values are clamped between 0 and 1
  - Euler.rotate does internal rotation now
  - Slice assignment now works better for all types
  - Vector * Vector and Quat * Quat are defined and return the DOT product
  - Mat * Vec and Vec * Mat are defined now
  - Moved #includes to .c file from headers. Also fixed prototypes in mathutils
  - Added new helper functions for incref'ing to genutils
  - Major cleanup of header files includes - include Mathutils.h for access to math types
  - matrix.toQuat() and .toEuler() now fixed take appropriate matrix sizes
  - Matrix() with no parameters now returns an identity matrix by default not a zero matrix
  - printf() now prints with 6 digits instead of 4
  - printf() now prints output with object descriptor
  - Matrices now support [x][y] assignment (e.g. matrix[x][y] = 5.4)
  - Matrix[index] = value now expectes a sequence not an integer. This will now set a ROW of the matrix through a sequence.  index cannot go above the row size of the matrix.
  - slice operations on matrices work with sequences now (rows of the matrix) example:  mymatrix[0:2] returns a list of 2 wrapped vectors with access to the matrix data.
  - slice assignment will no longer modify the data if the assignment operation fails
  - fixed error in matrix * scalar multiplication
  - euler.toMatrix(), toQuat() no longer causes "creep" from repeated use
  - Wrapped data will generate wrapped objects when toEuler(), toQuat(), toMatrix() is used
  - Quats can be created with angle/axis, axis/angle
  - 4x4 matrices can be multiplied by 3D vectors (by popular demand :))
  - vec *quat / quat * vec is now defined
  - vec.magnitude alias for vec.length
  - all self, internal methods return a pointer to self now so you can do print vector.internalmethod() or vector.internalmethod().nextmethod() (no more print matrix.inverse() returning 'none')
  - these methods have been deprecated (still functioning but suggested to use the corrected functionality):
    * CopyVec() - replaced by Vector() functionality
    * CopyMat() - replaced by Matrix() functionality
    * CopyQuat() - replace by Quaternion() functionality
    * CopyEuler() - replaced by Euler() functionality
    * RotateEuler() - replaced by Euler.rotate() funtionality
    * MatMultVec() - replaced by matrix * vector
    * VecMultMat() - replaced by vector * matrix
  -  New struct containers references to python object data or internally allocated blender data for wrapping
  * Explaination here:  math structs now function as a 'simple wrapper' or a 'py_object' - data that is created on the fly will now be a 'py_object' with its memory managed by python
  *    otherwise if the data is returned by blender's G.main then the math object is a 'simple wrapper' and data can be accessed directly from the struct just like other python objects.

------------------------------------------------------------------------
r4716 | guitargeek | 2005-07-14 04:52:51 +0200 (Thu, 14 Jul 2005) | 6 lines

A few additions/changes suggested by Chris Burt

1. Return and PADENTER confirm loopcut and edgeslide
2. When choosing loop to cut in loopcut, can use numeric entry for number of cuts (less than 130)
3. Number of Cuts in loopcut printed in header

------------------------------------------------------------------------
r4715 | ascotan | 2005-07-14 03:58:14 +0200 (Thu, 14 Jul 2005) | 2 lines

Added drawarmature to src project

------------------------------------------------------------------------
r4714 | ton | 2005-07-13 23:28:43 +0200 (Wed, 13 Jul 2005) | 8 lines

Three fixes;

- Armature editmode, while armature was deforming children, was very slow
  because it kept making subsurfs... this goes still hackish :)
- CTRL+A on armatures used loadsa old code, removed all of it! Still works.
- Using "Set smooth" or "Set solid" on file loaded without 3d window
  crashed

------------------------------------------------------------------------
r4713 | ton | 2005-07-13 22:21:54 +0200 (Wed, 13 Jul 2005) | 3 lines

Previous commit for Xray bones disabled selection of bones. Overlooked one
if()...

------------------------------------------------------------------------
r4712 | zuster | 2005-07-13 22:16:35 +0200 (Wed, 13 Jul 2005) | 4 lines

 - Change DerivedMesh.drawSolidFaces setMaterial argument to return
   boolean value indicating whether faces with that material should
   be drawn or not.

------------------------------------------------------------------------
r4711 | ton | 2005-07-13 21:42:08 +0200 (Wed, 13 Jul 2005) | 11 lines

Armature "XRay mode" now draws nicely with solid too. For it to work, I
had to add a new feature to the 3d window, to collect "after draw" objects,
which get drawn as last, after a clear of the zbuffer.

Same method can be used for nice OpenGL transparent draw, the system is
ready for it, do that later.

The huge commit is caused by cleaning up globals from struct Global. Many
variables were unused or just not needed anymore. Did that to move the ugly
G.zbuf to where it belongs, in the View3D space struct. :)

------------------------------------------------------------------------
r4710 | guitargeek | 2005-07-13 21:39:01 +0200 (Wed, 13 Jul 2005) | 4 lines

If loopcut was cancelled, the screen was not refreshed to get rid of the last preview line.

Thanks to Desoto for reporting.

------------------------------------------------------------------------
r4709 | guitargeek | 2005-07-13 18:33:30 +0200 (Wed, 13 Jul 2005) | 4 lines

A warning cleanup from the last commit. Added some explicit casts. Should just be double to float warnings left here now. Will do more later

Also made edgeslide move a little faster for the time being.

------------------------------------------------------------------------
r4708 | guitargeek | 2005-07-13 17:20:40 +0200 (Wed, 13 Jul 2005) | 29 lines

Well here it is. Subdivision/Loop Tools Recode Commit #1

Ton has been pushing me to get this in and finish it up with help, so here is a run down of the commit

Revised Features
	Subdivide now is Edge based, allows for multicut
	Loopcut was recoded, now has multi option
	Knife tool now has multi option

New Features
	Edgeslide
	Edgering select

Removed Features
	Alt-B Edgeloop selection (use alt-RMB in edgemode)
	Shift-R Faceloop selection (use alt-RMB in facemode)
	Old Subdivide (Except for smooth which is left in until new one works)

Todo
	Subdivide Smooth Math is broken - could use some help here (look for alter_co in editmesh_tools.c)
	Tweak mouse control of Edgeslide is hackish ATM
	Add Non-proportional movement  to edgeslide
	Add smooth option to new loopcut

I probably left something out.

See here for more info
http://wiki.blender.org/bin/view.pl/Blenderdev/EdgeSubdivision

------------------------------------------------------------------------
r4707 | ton | 2005-07-13 15:56:15 +0200 (Wed, 13 Jul 2005) | 5 lines

Another old bug bites the dust! Actually the error was simple... but
thanks to depgraph it executes nicely now. :)

#bug 2397: frame-duplicator using Constraint not evaluated.

------------------------------------------------------------------------
r4706 | ton | 2005-07-13 15:30:51 +0200 (Wed, 13 Jul 2005) | 10 lines

Couple of small fixes;

- cleaned up 'version correction' a bit. There was code slowing down
  current files even (armatures were evaluated all, even when not in
  current layer, was added to make sure they get converted OK).
  Send me old files that crash now! :)
- on reading older files with path-constraints, a fix had to be added.
- error "badd call to addqueue' found when using header-less window for
  filewindow

------------------------------------------------------------------------
r4705 | ton | 2005-07-13 10:58:00 +0200 (Wed, 13 Jul 2005) | 2 lines

Same as last commit, forgot to include a proper check for pointer validity.

------------------------------------------------------------------------
r4704 | ton | 2005-07-13 10:56:07 +0200 (Wed, 13 Jul 2005) | 6 lines

Removed initializer  str = "";
Seems to give issues in MSVC, and wasn't needed after all.

Further fixed dependencies in constraints between armatures and armatures.
It didn't update the other armature when the armature-object itself moved.

------------------------------------------------------------------------
r4703 | ton | 2005-07-12 19:46:39 +0200 (Tue, 12 Jul 2005) | 6 lines

Two little bugskis;

- Solid armature drawing didn't do well for negative scaled armatures
- Layer Ipos were not evaluated for invisible objects (there goes another
  exception bypassing dependency...!)

------------------------------------------------------------------------
r4702 | zuster | 2005-07-12 19:26:19 +0200 (Tue, 12 Jul 2005) | 2 lines

 - add missing include

------------------------------------------------------------------------
r4701 | intrr | 2005-07-12 18:24:27 +0200 (Tue, 12 Jul 2005) | 6 lines



Fix "Replace Meshes" in radiosity to actually only replace Meshes, and not
also delete lamps, cameras and anything else that was selected in the
"Collect Meshes" phase.

------------------------------------------------------------------------
r4700 | ton | 2005-07-12 18:02:50 +0200 (Tue, 12 Jul 2005) | 2 lines

ACK! Forgot to add the new drawarmature.c file. :)

------------------------------------------------------------------------
r4699 | ton | 2005-07-12 18:00:47 +0200 (Tue, 12 Jul 2005) | 7 lines

Constraint "influence" slider didn't work once there was an ipo assigned
once. Variable got initialized too often. :)

Oh! Here's a nice webpage about the previous commit:

http://www.blender3d.org/cms/Armature_draw_modes.629.0.html

------------------------------------------------------------------------
r4698 | ton | 2005-07-12 17:47:53 +0200 (Tue, 12 Jul 2005) | 21 lines

Cleanup of Armature 3d drawing.

- In Solid drawmode, bones get drawn solid too now. Including Outline-
  selection color, if that's set.
  Disable it by setting Object-buttons "drawtype" for the Armature.
  Color used for solid bones is in Theme editor.
- EditMode armature now follows (Mesh edit) theme colors (Vertex, Edge)
- PoseMode armature has ThemeColor for selection, and draws three extra
  colors now;
   - blue shade for bones with action Ipos
   - yellow for bones with IK
   - green for bones with a constraint
- "X ray" now only works for PoseMode... needs review, can be done better
- "Draw Names" option uses theme color too, also indicates selection.

Fixes;

- In Armature EditMode, the deformed Mesh goes to rest-position
- Border select didn't clear 'active' flag in Bones in PoseMode
- Mouse-click select didn't work when a dashed line was close to Bone

------------------------------------------------------------------------
r4697 | zuster | 2005-07-12 15:50:42 +0200 (Tue, 12 Jul 2005) | 2 lines

 - added missing include

------------------------------------------------------------------------
r4696 | theeth | 2005-07-12 05:37:16 +0200 (Tue, 12 Jul 2005) | 5 lines

The hide .data code didn't work correctly when databrowse is used to return something (when selecting a datablock, not just browsing).
It only counted visible blocks, but to get a valid index, it has to count invisible ones too.

Fixed

------------------------------------------------------------------------
r4695 | theeth | 2005-07-12 01:49:06 +0200 (Tue, 12 Jul 2005) | 12 lines

Hide .file blocks in databrowse/pop menu.
This is mainly useful for scripts that generate/load datablocks for their own use and don't want to burry the user under an avalanche of datablocks he/she doesn't care about.

This adds a user pref "Hide .data" which now acts as a default value when opening a new fileselector.
It is also used when creating data select pop menus.

The "ghost" button in a fileselect window is independant from the userpref. It can be turned on/off individually without affecting

Note: When turning the option on/off, it sometimes take a couple of times before the pop menu registers it. Probably some caching thing. Will have to look at it.

Default value is Off.

------------------------------------------------------------------------
r4694 | theeth | 2005-07-12 01:23:06 +0200 (Tue, 12 Jul 2005) | 3 lines

My Radiosity commit had some code from my base list ordering experiement. (It wasn't removed because it didn't use the macros)
Caused radio to often say "no vertices" when that was obviously untrue.

------------------------------------------------------------------------
r4693 | ton | 2005-07-11 21:31:15 +0200 (Mon, 11 Jul 2005) | 3 lines

- Object buttons, Hooks panel, clear offset didn't redraw correct
- Particle panel was drawing in wrong size

------------------------------------------------------------------------
r4692 | ton | 2005-07-11 19:12:33 +0200 (Mon, 11 Jul 2005) | 6 lines

New: Armature editmode/posemode now react correctly to HOME or Numpad-DOT
for viewing all or only selection nicely centered.

Fix: Poses without NLA or Action were reset to restposition on file read
or exit editmode.

------------------------------------------------------------------------
r4691 | zuster | 2005-07-11 19:06:03 +0200 (Mon, 11 Jul 2005) | 2 lines

 - added bglVertex3f call (to match bglVertex3fv)

------------------------------------------------------------------------
r4690 | ton | 2005-07-11 17:38:51 +0200 (Mon, 11 Jul 2005) | 2 lines

Fix: Prevented depgraph to execute do_all_actions when you paste a poste.

------------------------------------------------------------------------
r4689 | ton | 2005-07-11 15:59:02 +0200 (Mon, 11 Jul 2005) | 4 lines

Corrected the Armature option "Delay deform", which doesn't update its
children during transform... to make it work, had to trick the nice
depgraph code... <sob> :)

------------------------------------------------------------------------
r4688 | ton | 2005-07-11 14:31:15 +0200 (Mon, 11 Jul 2005) | 6 lines

SLightly altered rule for the new IpoCurve option "Keep horizontal on
extrema". It now also keeps auto-handles horizontal when the Y coordinate
is exactly identical.

And; made this option default on inserting new curve/keys.

------------------------------------------------------------------------
r4687 | ton | 2005-07-11 13:58:29 +0200 (Mon, 11 Jul 2005) | 9 lines

 Fix for bug #2747

Knife cut in edge selection mode can cause crashes, since it uses subdivide
which isn't edge-select aware yet.
Quickly patched it by making knife checking on vertex selection.

Johnny: undo this change when you add the new subdiv code, good test for if
it works as well! :)

------------------------------------------------------------------------
r4686 | theeth | 2005-07-11 13:09:26 +0200 (Mon, 11 Jul 2005) | 7 lines

Boundbox select object mode optimisation.

Changed selectprojektie (and renamed to view3d_opengl_select as suggested by Ton) to accept a buffer size, so boundbox can adapt it's buffer size to the number of object in scene.
Also, the loop is done more smartly, since glSelect fills the buffer in the same order as the drawing order, so we save lops of looping on unselected object (which used to go through all the buffer before finding that they weren't selected).

This scheme could probably be applied to all the other loops using glSelect. (good project for newbie coders)

------------------------------------------------------------------------
r4685 | ton | 2005-07-11 13:01:06 +0200 (Mon, 11 Jul 2005) | 8 lines

Bug fix #2762

Quite harmless, but was lazy code...
When you choosed "Vertex Color Paint" material, the init_render_material()
also set the "Vertex color Light" option, because that flag was checked on
during render to detect vertex colors.
Now it has proper checks in render code.

------------------------------------------------------------------------
r4684 | theeth | 2005-07-11 12:48:14 +0200 (Mon, 11 Jul 2005) | 9 lines

This commit fixes radiosity to correctly preserve and subdivide UV
coordinates.

  Known problem: Pin status bleeds a bit, so new subdivided UVs around
points that were original pinned can end up pinned in the end. Could be
fixed, or could just drop pinned status entirely.

Also, when gathering meshes, it doesn't add materials twice, so it's harder to bust the 16 materials limit.

------------------------------------------------------------------------
r4683 | ton | 2005-07-11 11:46:05 +0200 (Mon, 11 Jul 2005) | 6 lines

Bug fix #2763

Depgraph missed proper relation from one armature bone to another armature
bone. Interesting rig setup for facial animation by Malefico! :)
http://projects.blender.org/tracker/index.php?func=detail&aid=2763&group_id=9&atid=125

------------------------------------------------------------------------
r4682 | ton | 2005-07-11 11:27:35 +0200 (Mon, 11 Jul 2005) | 5 lines

Bugfix for #2768

Starting a Bake for SoftBody didn't initialize the animation system for the
first frame correctly, causing an initial unwanted softbody effect.

------------------------------------------------------------------------
r4681 | ton | 2005-07-11 11:17:43 +0200 (Mon, 11 Jul 2005) | 5 lines

Bug fix #2772

EditMesh undo didn't restore vertex colors! That slipped our attention for
almost a year... :)

------------------------------------------------------------------------
r4680 | ton | 2005-07-11 10:33:52 +0200 (Mon, 11 Jul 2005) | 3 lines

More cleanup: removed do_all_actions() from the src/ tree, replaced with
proper recalc events. Now action-curve editing updates as it should be.

------------------------------------------------------------------------
r4679 | ton | 2005-07-11 10:04:34 +0200 (Mon, 11 Jul 2005) | 6 lines

Cleaned up the old call to do_all_actions(). It only is supposed to do
a single object, but was still called outside of that scope. Caused crashes
for example when editing Ipo curves of action keys.

editaction.c and editnla.c still need to be tackled...

------------------------------------------------------------------------
r4678 | ton | 2005-07-11 09:31:51 +0200 (Mon, 11 Jul 2005) | 3 lines

MetaBall editmode didn't send the DAG recalc event while transformed. :)
Meaning, it didn't do polygonizing while moving elements in edit mode.

------------------------------------------------------------------------
r4677 | ianwill | 2005-07-11 04:41:08 +0200 (Mon, 11 Jul 2005) | 9 lines

Scripts updated:
- Jean-Michel Soler: paths import -- ai and svg modules;
- Jean-Baptiste PERIN: bvh to armatures (note: should not work until we re-wrap armatures in bpython);
- Campbell Barton: obj importer.

Thanks guys, excuse me the delay.

- tiny doc update.

------------------------------------------------------------------------
r4676 | ascotan | 2005-07-10 22:40:20 +0200 (Sun, 10 Jul 2005) | 2 lines

Removed ika files from projectfiles for armature update

------------------------------------------------------------------------
r4675 | guitargeek | 2005-07-10 15:45:12 +0200 (Sun, 10 Jul 2005) | 4 lines

Fix for Bug #2793.

A really dumb coding error that I made when I coded this. left out brackets around an if block.

------------------------------------------------------------------------
r4674 | ton | 2005-07-10 14:50:14 +0200 (Sun, 10 Jul 2005) | 9 lines

For long on the wanna-have list;

Ipocurves with "Auto" handles now have option to remain horizontal on the
extrema (tops & valleys). Use ALT+H to set this per selected curve.
Note this is a per-curve feature, not per-handle.

If it works satisfying I can check on making this the default new added
curve.

------------------------------------------------------------------------
r4673 | ton | 2005-07-10 13:00:27 +0200 (Sun, 10 Jul 2005) | 7 lines

Bug fix #2774

Using linked library files with relative paths, didn't set the correct
relative root... so it only worked with files in the same directory.
ALso fixed the button-lock in material buttons, it didn't allow to see
which materials were linked to the mesh/object.

------------------------------------------------------------------------
r4672 | ton | 2005-07-10 12:36:01 +0200 (Sun, 10 Jul 2005) | 2 lines

Duplicating armatures didn't give proper re-build pose signal.

------------------------------------------------------------------------
r4671 | ton | 2005-07-10 11:55:55 +0200 (Sun, 10 Jul 2005) | 3 lines

Switching scenes in the editor now correctly exits all modes, it didn't do
vertex/weight/texture paint yet.

------------------------------------------------------------------------
r4670 | ton | 2005-07-10 11:42:13 +0200 (Sun, 10 Jul 2005) | 4 lines

Bug fix #2790

Pressing Wkey with no object active crashed.

------------------------------------------------------------------------
r4669 | ton | 2005-07-10 11:38:36 +0200 (Sun, 10 Jul 2005) | 4 lines

Bugfix #2791

Apply deform without object active crashed (only when using pulldowns)

------------------------------------------------------------------------
r4668 | ton | 2005-07-10 11:32:30 +0200 (Sun, 10 Jul 2005) | 7 lines

Bugfix #2797

Editmesh SHIFT+F "Fill" used an unsigned char to count amount of selected
edges linking to vertices, but also subtracted... causing the char to
become 255. Gave crashes (or infinite loops) when using "Fill" on random
input of solid meshes.

------------------------------------------------------------------------
r4667 | ton | 2005-07-10 10:55:14 +0200 (Sun, 10 Jul 2005) | 7 lines

Bugfix #2803

Transparent shadow could accidentally intersect first with a face being
farther away, due to the fact larger faces can fill up multiple octree
nodes. Had to use the same exception handling as for raytracing mirror or
glass.

------------------------------------------------------------------------
r4666 | ton | 2005-07-10 10:31:56 +0200 (Sun, 10 Jul 2005) | 13 lines

Changed type for new textimeout and texcollectrate into "int".

Please note that the "long" should be avoided in dna structs... it is a
reserved type for use in our code for pointer storage. It is 32 or 64 bits,
depending CPU architecture (pointer size).

The "long" type currently is in the makesdna.c code, and interpreted as 32
bits only, which is actually wrong yes... I should remove it or code it
correct.

BTW; this gave a warning in space.c, another case where MSVC forgives you?
:)

------------------------------------------------------------------------
r4665 | ton | 2005-07-09 22:40:44 +0200 (Sat, 09 Jul 2005) | 10 lines

Armature;

- IK constraint now uses Ipo from action again
- Bug in last commit; the object action was ignored... did NLA always

Editmesh:

- when there are edges in mesh, it now only copies selection in edges
  when you have selectmode edge

------------------------------------------------------------------------
r4664 | ton | 2005-07-09 21:37:38 +0200 (Sat, 09 Jul 2005) | 8 lines

New! Pose-constraint Ipos now are integrated in NLA. ALso cleaned up the
weird disabled code that was hanging out there for ages.

Also cleaned up NLA blending itself, it was copying far too much data
around. Should be three times faster or so... need good test!

And restored Action Baking.

------------------------------------------------------------------------
r4663 | zuster | 2005-07-09 20:04:53 +0200 (Sat, 09 Jul 2005) | 2 lines

 - add missing includes for lazy programmers who don't read error msgs

------------------------------------------------------------------------
r4662 | zuster | 2005-07-09 19:54:03 +0200 (Sat, 09 Jul 2005) | 3 lines

 - fix what appeared to be obvious bug, "if (fclose) fclose(file)" ->
   "if (file) fclose(file)", Text3d.c owner should check.

------------------------------------------------------------------------
r4661 | ton | 2005-07-09 18:16:45 +0200 (Sat, 09 Jul 2005) | 4 lines

Armatures; the bones menu used for "Make Parent" (CTRL+P) used wrong
indices still.
Cleaned the code, moved to editobject.c

------------------------------------------------------------------------
r4660 | ton | 2005-07-09 16:08:09 +0200 (Sat, 09 Jul 2005) | 5 lines

Armature drawing fixes;

- Dashed line to parent bone was drawn to wrong bone in Rest Position
- Dashed line had selection color of parent, not of own bone.

------------------------------------------------------------------------
r4659 | ton | 2005-07-09 15:41:01 +0200 (Sat, 09 Jul 2005) | 9 lines

- Fix for action constraints; for Bone targets (target is input bone
  actually) only the relative rotation is used.

- Added scale=1.0 initializer in saving files, this fixes a little  bit
  better upward compatibility

- Still there are cases where bones flip 180 degrees when you read it with
  older Blenders... not sure what it is caused by

------------------------------------------------------------------------
r4658 | ton | 2005-07-09 15:33:36 +0200 (Sat, 09 Jul 2005) | 3 lines

Commented out one more line to make debug version of engine compile, needed
because API for armatures changed.

------------------------------------------------------------------------
r4657 | ton | 2005-07-08 08:55:10 +0200 (Fri, 08 Jul 2005) | 7 lines

Two little bugs showing up in workshop;

- update_for_new_frame() (on frame advance, alt+a) crashed when no 3d view
  was opened ever (NULL pointer)
- using proportional mode on Curve editing wrote beyond end of a malloced
  block. Just a minus one needed here...

------------------------------------------------------------------------
r4656 | ton | 2005-07-07 09:03:35 +0200 (Thu, 07 Jul 2005) | 6 lines

Two small fixes;

- ALT+R clear rotation on PoseMode didn't work when an Action was assigned
- 'Delete object' didn't set object pointers to NULL for Armature/Pose
  constraints (old bug)

------------------------------------------------------------------------
r4655 | theeth | 2005-07-06 10:14:13 +0200 (Wed, 06 Jul 2005) | 2 lines

Well, it's better if the spelling is corrected everywhere the variable is used... (why must I make that kind of error?!)

------------------------------------------------------------------------
r4654 | theeth | 2005-07-06 10:09:51 +0200 (Wed, 06 Jul 2005) | 2 lines

After much debate on IRC, it was decided to spell "cancelled" properly...

------------------------------------------------------------------------
r4653 | theeth | 2005-07-06 10:05:18 +0200 (Wed, 06 Jul 2005) | 2 lines

Typo in Ton's last commit. Misspelled canceled as cancelled. :)

------------------------------------------------------------------------
r4652 | ton | 2005-07-06 09:31:43 +0200 (Wed, 06 Jul 2005) | 2 lines

Pressing ESC on armature posemode now restores position correctly again.

------------------------------------------------------------------------
r4651 | ton | 2005-07-06 09:01:27 +0200 (Wed, 06 Jul 2005) | 3 lines

Reverted accidental change in compiling Python for OSX. Now it is default
again to use the Framework library.

------------------------------------------------------------------------
r4650 | theeth | 2005-07-06 07:10:31 +0200 (Wed, 06 Jul 2005) | 2 lines

Image garbage collection settings init was in the wrong do_version branch (236 instead of 237).

------------------------------------------------------------------------
r4649 | theeth | 2005-07-06 02:33:41 +0200 (Wed, 06 Jul 2005) | 30 lines

3D view orbit option: Around Active
	This fixes the active object in place when orbiting the view.
	Choppy 15fps demo can be seen there: http://www.elysiun.com/~theeth/bf/around_active.html


Image Memory Grabage Collection
	This adds memory handling to the image code. An image is tagged each time it is used.
	During a collection cycle (frequency of cycles is user defined), if an image is older
	than a user defined limit, its buffer gets deallocated. This also applies to gl memory buffers.
	Images that are loading in GL memory needs to go through two time outs before being fully deallocated: the first time out deallocated the gl memorry, the second the buffer in ram.

	Notes:
		Image buffer loaded from python gets tagged as permanent upon load. That tag is removed when python stops using the image.
		I might have missed some tagging spots, especially in the rendering pipeline. Someone with more knowledge about this code should check to be careful.
		Tagging is done on every access, for rendering, this will probably be a performance hit. A scheme should be developped to only tag when the rendering is completed.
		Collecting is called in draw_object, most likely not the best place to do it.
		Safe from undo, since using undo deallocates memory anyway (like when loading a blend file with one currently opened)


Userpref DNA changes:
	I've changed a couple of flagging variables from short to int. Some because they needed more space, others to keep SDNA happy.


Info window changes:
	I've grouped a couple of buttons in aligned blocks and changed the color of mutually exclusive options to make them clearer.
	Matt didn't do any changes on that in tuhopuu, so hopefully I'm not stepping on anyone's feet with this.


Also changed double constants into floats with f in a couple of places (mostly space.c) to make compiler happier.

------------------------------------------------------------------------
r4648 | hos | 2005-07-05 21:04:52 +0200 (Tue, 05 Jul 2005) | 4 lines

Make WITH_FREETYPE2 and INTERNATIONAL set to true by default when
 building under linux (set to false in user-def.mk if you don't
want them).

------------------------------------------------------------------------
r4647 | theeth | 2005-07-05 02:46:52 +0200 (Tue, 05 Jul 2005) | 4 lines

cursors.c for blender's special cursors was half done.

GetBlenderCursor was prototyped but never defined. I filled it in, might be useful at one point (and for some uncommited evil Py code of mine).

------------------------------------------------------------------------
r4646 | theeth | 2005-07-05 02:30:40 +0200 (Tue, 05 Jul 2005) | 9 lines

Added some missing quaternions fonctions:

QuatMulVecf	Multiplies vector (3-float) by quaternion (rotation). Assumes it recieves a unit quaternion
QuatConj	Quaternion conjugate
QuatInv		Quaternion inverse (does not assume a unit quat)
QuatMulf	Quaternion multiplication with scalar
QuatDot		Quaternion dot product
printquat	debug print function

------------------------------------------------------------------------
r4645 | theeth | 2005-07-05 01:32:59 +0200 (Tue, 05 Jul 2005) | 2 lines

MSVC 6.0 projectfiles update for the removal of IKA files.

------------------------------------------------------------------------
r4644 | ton | 2005-07-04 22:09:32 +0200 (Mon, 04 Jul 2005) | 5 lines

Action constraint works again. Needs revision though... do that with
testfiles i get from Bassam. :)

Further removed old code that was ifdeffed hanging around still.

------------------------------------------------------------------------
r4643 | ton | 2005-07-04 19:41:58 +0200 (Mon, 04 Jul 2005) | 4 lines

Merging error... rotating bones in pose-mode, with an action inserted
accidentally flushed recalc of Pose. So it popped back to the action state,
preventing editing new keypositions.

------------------------------------------------------------------------
r4642 | theeth | 2005-07-04 07:20:15 +0200 (Mon, 04 Jul 2005) | 2 lines

Tsk, a one liner sneaked into last commit where it shouldn't have.

------------------------------------------------------------------------
r4641 | theeth | 2005-07-04 07:16:54 +0200 (Mon, 04 Jul 2005) | 9 lines

Fixing pose mode transform.
	With new system, very easy to do in the end (figuring it out was less so).
	No need to go down parent chains or anything of the sort, just apply parent pose and we're all set.


Ton's commit reverted back before my include files cleanup in transform, recleaning.

Also, as mentionned by bjornmose, declaration after instruction choked MSVC. Fixed.

------------------------------------------------------------------------
r4640 | ton | 2005-07-03 20:10:41 +0200 (Sun, 03 Jul 2005) | 2 lines

Old define in engine still...

------------------------------------------------------------------------
r4639 | ton | 2005-07-03 19:35:38 +0200 (Sun, 03 Jul 2005) | 91 lines

Result of 2 weeks of quiet coding work in Greece :)

Aim was to get a total refresh of the animation system. This
is needed because;
- we need to upgrade it with 21st century features
- current code is spaghetti/hack combo, and hides good design
- it should become lag-free with using dependency graphs

A full log, with complete code API/structure/design explanation
will follow, that's a load of work... so here below the list with
hot changes;

- The entire object update system (matrices, geometry) is now
  centralized. Calls to where_is_object and makeDispList are
  forbidden, instead we tag objects 'changed' and let the
  depgraph code sort it out
- Removed all old "Ika" code
- Depgraph is aware of all relationships, including meta balls,
  constraints, bevelcurve, and so on.
- Made depgraph aware of relation types and layers, to do smart
  flushing of 'changed' events. Nothing gets calculated too often!
- Transform uses depgraph to detect changes
- On frame-advance, depgraph flushes animated changes

Armatures;

Almost all armature related code has been fully built from scratch.
It now reveils the original design much better, with a very clean
implementation, lag free without even calculating each Bone more than
once. Result is quite a speedup yes!

Important to note is;

1) Armature is data containing the 'rest position'
2) Pose is the changes of rest position, and always on object level.
   That way more Objects can use same Pose. Also constraints are in Pose
3) Actions only contain the Ipos to change values in Poses.

- Bones draw unrotated now
- Drawing bones speedup enormously (10-20 times)
- Bone selecting in EditMode, selection state is saved for PoseMode,
  and vice-versa
- Undo in editmode
- Bone renaming does vertexgroups, constraints, posechannels, actions,
  for all users of Armature in entire file
- Added Bone renaming in NKey panel
- Nkey PoseMode shows eulers now
- EditMode and PoseMode now have 'active' bone too (last clicked)
- Parenting in EditMode' CTRL+P, ALT+P, with nice options!
- Pose is added in Outliner now, with showing that constraints are in
  the Pose, not Armature
- Disconnected IK solving from constraints. It's a separate phase now,
  on top of the full Pose calculations
- Pose itself has a dependency graph too, so evaluation order is lag free.

TODO NOW;

- Rotating in Posemode has incorrect inverse transform (Martin will fix)
- Python Bone/Armature/Pose API disabled... needs full recode too
  (wait for my doc!)
- Game engine will need upgrade too
- Depgraph code needs revision, cleanup, can be much faster!
  (But, compliments for Jean-Luc, it works like a charm!)
- IK changed, it now doesnt use previous position to advance to next
  position anymore. That system looks nice (no flips) but is not well
  suited for NLA and background render.

TODO LATER;

We now can do loadsa new nifty features as well; like:

- Kill PoseMode (can be option for armatures itself)
- Make B-Bones (Bezier, Bspline, like for spines)
- Move all silly button level edit to 3d window (like CTRL+I = add
  IK)
- Much better & informative drawing
- Fix action/nla editors
- Put all ipos in Actions (object, mesh key, lamp color)
- Add hooks
- Null bones
- Much more advanced constraints...


Bugfixes;

- OGL render (view3d header) had wrong first frame on anim render
- Ipo 'recording' mode had wrong playback speed
- Vertex-key mode now sticks to show 'active key', until frame change

-Ton-

------------------------------------------------------------------------
r4638 | theeth | 2005-06-30 06:11:41 +0200 (Thu, 30 Jun 2005) | 4 lines

Warning hunt:
INIT_MINMAX and INIT_MINMAX2 are always used on floats but use doubles for initializing, giving countless warnings.
Added the nice 'f' to tell compilers that we want floats.

------------------------------------------------------------------------
r4637 | theeth | 2005-06-29 03:32:45 +0200 (Wed, 29 Jun 2005) | 4 lines

Forgot to transform_constraints.c to my last commit, so the fix for single axis projection wasn't there.

This commit also fixes local axis on multiple object for Grab (only worked on the X axis).

------------------------------------------------------------------------
r4636 | theeth | 2005-06-28 10:02:21 +0200 (Tue, 28 Jun 2005) | 4 lines

Some stuff sneaked into my last commit that shouldn't have done so.

Fixing it.

------------------------------------------------------------------------
r4635 | theeth | 2005-06-28 09:58:16 +0200 (Tue, 28 Jun 2005) | 8 lines

Transform stuff

Cleanup in transform.c: removed uneeded includes and removed REPEAT experiment.

Split off manipulator init function, no need to resort on hacks to setup stuff before starting transform anymore.

Fix0r3d single axis projection for constraints. It deals with perspective correctly now (as much as planar constraints).

------------------------------------------------------------------------
r4634 | sirdude | 2005-06-27 17:57:09 +0200 (Mon, 27 Jun 2005) | 9 lines



Bug reported by Jean-Baptiste.
(Inexed 0 0 0 instead of 0 1 2

I also removed dos linebreaks.

Kent

------------------------------------------------------------------------
r4633 | blendix | 2005-06-26 17:37:36 +0200 (Sun, 26 Jun 2005) | 10 lines



Patch by Martin Poirier: display normalized coordinates in image window, with
a few small modifications:
- also display normalized coords while transforming
- adapt step size & precision for button
- moved option to 'View' menu

Also made sure pixel snapping when transforming uv's is off by default.

------------------------------------------------------------------------
r4632 | intrr | 2005-06-26 00:51:51 +0200 (Sun, 26 Jun 2005) | 29 lines



The overlapping curves/material indices problem got a bit out of control.

 - For avoiding the 'overlapping character problem' in Text objects, I had
   changed the sorting code for filling nurbs to use nu->charidx (a new
   variable incremented with each new character) instead of nu->mat_nr
   (which used to work for material indices inside a 2D Curve).

 - This broke material indices in normal 2D Curves completely, thus:

 - nu->charidx is now not only used for seperating
   characters in text objects for filling, but also for normal 2D curves
   when they contain material indices. In fact, charidx is just set to
   the material index.

 - There's compatibility code in readfile.c that sets nu->charidx to nu->mat_nr
   when reading curves from files that are not text objects

 - So, the big conclusion: Instead of using material indices for creating
   'filling groups', filldisplist() now uses nu->charidx, which is set
   appropriately when reading old files and assigning/deleting material
   indices in curves.

 - This is all pretty obscure and hard to explain. If I haven't been clear,
   ask.

 - If it breaks anything, complain!

------------------------------------------------------------------------
r4631 | intrr | 2005-06-25 14:18:23 +0200 (Sat, 25 Jun 2005) | 8 lines



Fix a potential issue with vfontb/i/bi not getting freed when converting
font to curve.

(Sorry, I had typed a 10000k commit log last time, then it errored and
I really don't feel like retyping it all.)

------------------------------------------------------------------------
r4630 | ascotan | 2005-06-24 19:23:47 +0200 (Fri, 24 Jun 2005) | 2 lines

- update to add lorem.c dependency

------------------------------------------------------------------------
r4629 | zuster | 2005-06-24 07:30:41 +0200 (Fri, 24 Jun 2005) | 2 lines

 - bug fix, crash with edges with no face in subsurf

------------------------------------------------------------------------
r4628 | zuster | 2005-06-24 01:44:22 +0200 (Fri, 24 Jun 2005) | 8 lines

 - bug fix, vertex normal calculation during incremental update was not
   correct (although fairly unnoticable).
 - bug fix, vertex normal calculation didn't normalize face normals before
   summing... silly mistake

p.s. perhaps the Crystal Space bla bla naming conversation is not most
appropriate for the commit list?

------------------------------------------------------------------------
r4627 | theeth | 2005-06-22 07:45:23 +0200 (Wed, 22 Jun 2005) | 2 lines

Segfault waiting to happen. This is way old code that I did, I blame my rusty C skills from back then (and the fact that lazy evaluation would make it work correctly). :)

------------------------------------------------------------------------
r4626 | intrr | 2005-06-21 17:10:49 +0200 (Tue, 21 Jun 2005) | 4 lines



Removed a debug print

------------------------------------------------------------------------
r4625 | zuster | 2005-06-21 16:51:57 +0200 (Tue, 21 Jun 2005) | 3 lines

 - fix strange declaration of adduplicate that just used matrix argument
   as flag... confusing and weird.

------------------------------------------------------------------------
r4624 | zuster | 2005-06-21 16:14:41 +0200 (Tue, 21 Jun 2005) | 3 lines

 - #ifndef O_BINARY section should be after includes which would define
   it...

------------------------------------------------------------------------
r4623 | zuster | 2005-06-21 16:13:44 +0200 (Tue, 21 Jun 2005) | 2 lines

 - fix pedantic complaint from MSVC

------------------------------------------------------------------------
r4622 | intrr | 2005-06-21 15:52:29 +0200 (Tue, 21 Jun 2005) | 7 lines



- Copy buffer is preserved across editing multiple text objects
- Potential memory leak with selection drawing fixed
- "Copy Attributes" menu (CTRL-C) now copies all fonts (Plain/B/I/BI)
  correctly

------------------------------------------------------------------------
r4621 | guitargeek | 2005-06-20 15:37:52 +0200 (Mon, 20 Jun 2005) | 2 lines

Updating with lorem.c

------------------------------------------------------------------------
r4620 | intrr | 2005-06-20 03:28:42 +0200 (Mon, 20 Jun 2005) | 7 lines



Fix for the "Lorem" button. Missing an extern keyword in BIF_editfont.h
(thanks Matthew for spotting this!)

Now it should work even on platforms with sane compilers (unlike gcc) :-)

------------------------------------------------------------------------
r4619 | intrr | 2005-06-18 02:52:25 +0200 (Sat, 18 Jun 2005) | 19 lines



Attempt at providing the best possible flexibility and usefulness with
"Flush":

- There are now two modes, "Flush" and "Justify". Justify only flushes
  a line when it is *terminated* either by wordwrap or by Enter.

- "Flush" *always* flushes the line, also when it's still being entered.

  This mode can be used for things like this:

  http://pub.intrr.org/flush.png

  ..while "Justify" would not flush the second line.

- Fixed "Flush" squeezing all characters on the same spot if the textframe
  was set to 0 width

------------------------------------------------------------------------
r4618 | theeth | 2005-06-18 02:37:41 +0200 (Sat, 18 Jun 2005) | 4 lines

Adding lorem.c file to BL_src.dsp MSVC 6.0 projectfile.

Note to intrr: pressing the lorem bug crashes here too, will trace later.

------------------------------------------------------------------------
r4617 | intrr | 2005-06-18 01:30:39 +0200 (Sat, 18 Jun 2005) | 4 lines



Fix drawing of text frames inside editmode, stupid error.

------------------------------------------------------------------------
r4616 | intrr | 2005-06-18 01:05:59 +0200 (Sat, 18 Jun 2005) | 5 lines



Compatibility code for 'Word spacing' value, old files will now load
with Word spacing set to 1.0 instead of 0.0.

------------------------------------------------------------------------
r4615 | intrr | 2005-06-18 00:52:11 +0200 (Sat, 18 Jun 2005) | 9 lines



- Fix a few warnings

- Improved text editing for justified ('Flush') text: Line will not
  be filled up until it is completed (wordwrap or Enter)

- Fixed waitcursor flickering in displist.c

------------------------------------------------------------------------
r4614 | intrr | 2005-06-17 23:05:38 +0200 (Fri, 17 Jun 2005) | 4 lines



File containing our famous Lorem Ipsum text, complete even!

------------------------------------------------------------------------
r4613 | intrr | 2005-06-17 23:04:27 +0200 (Fri, 17 Jun 2005) | 23 lines



Initial commit for new text object.

Important notes:

 - Full compatibility with old text objects not fully restored
   (word spacing will be 0.0, need to set it manually to 1.0), will
   either need version upgrade to 238 or a hack. Will check.

 - lorem.c (about to be committed) contains BF copyright notice, but as
   BF did not exist a few hundred years ago, probably best to remove it :)

 - If you notice any cross-platform issues (especially beloved windows),
   please report

 - A few tiny warnings left, I will fix those issues still.

The rest has been said already - so have fun testing. And please do!

=== Reminder:
=== Documentation at http://blender.instinctive.de/docs/textobject.txt ===

------------------------------------------------------------------------
r4612 | theeth | 2005-06-17 07:37:24 +0200 (Fri, 17 Jun 2005) | 2 lines

One file missing from prevous commit. This one is even worse, decref'ed a borrowed reference.

------------------------------------------------------------------------
r4611 | theeth | 2005-06-17 07:10:14 +0200 (Fri, 17 Jun 2005) | 3 lines

Some of the setattr functions created a tuple to pass to the set* functions and didn't decref'ed it properly, "leaking" memory.
Commit approved by stivs.

------------------------------------------------------------------------
r4610 | theeth | 2005-06-17 06:40:07 +0200 (Fri, 17 Jun 2005) | 2 lines

My patch to BPy's curve module (applied by stivs) had a small mem leak. Fixing now.

------------------------------------------------------------------------
r4609 | theeth | 2005-06-17 06:28:01 +0200 (Fri, 17 Jun 2005) | 2 lines

Adding Jiri's manipulator path. This makes Normal orientation align to meta element's rotation (in edit mode, obviously).

------------------------------------------------------------------------
r4608 | ton | 2005-06-16 23:56:49 +0200 (Thu, 16 Jun 2005) | 8 lines

Bug #2751

Recurring issue, but also bug in 2.37/37a: OSA sample amount versus AO
sample amount conflict... if AO and OSA amounts were exact equal it gives
black spots. Solution not optimal yet... but at least looks good.
Still think it's useless to sample fewer than AO level 8 (64), but
nevertheless. :)

------------------------------------------------------------------------
r4607 | ton | 2005-06-16 23:19:13 +0200 (Thu, 16 Jun 2005) | 3 lines

With no objects in scene, press F (ALT+F) for faceselect crashed.
Bugfix #2755

------------------------------------------------------------------------
r4605 | stiv | 2005-06-15 08:22:26 +0200 (Wed, 15 Jun 2005) | 10 lines

Changes to Documentation Format ONLY.
no executable code.

Martin noticed many of our bpy instance variables were
incorrectly marked as class variables in the doc.  This
commit essentially changes the title of sections of the doc
from Class Variables to Instance Variables.  Now that we are
adding class or module dictionaries for constants, etc. this is
a distinction worth making.  Plus it is right.

------------------------------------------------------------------------
r4604 | ton | 2005-06-13 23:03:13 +0200 (Mon, 13 Jun 2005) | 2 lines

Text files for the release

------------------------------------------------------------------------
r4603 | ton | 2005-06-13 22:56:19 +0200 (Mon, 13 Jun 2005) | 2 lines

SConstruct is 2.37a now

------------------------------------------------------------------------
r4602 | ton | 2005-06-13 22:55:24 +0200 (Mon, 13 Jun 2005) | 2 lines

Updated version for makefile 'make release' and splash

------------------------------------------------------------------------
r4601 | ton | 2005-06-13 22:33:44 +0200 (Mon, 13 Jun 2005) | 2 lines

Splash for 2.37a

------------------------------------------------------------------------
r4600 | stiv | 2005-06-13 21:15:02 +0200 (Mon, 13 Jun 2005) | 3 lines

Patch from Martin Poirier.
Misc bpy Curve fixes and updates, includes bugs #1687 and #2637

------------------------------------------------------------------------
r4599 | ianwill | 2005-06-13 19:21:30 +0200 (Mon, 13 Jun 2005) | 3 lines

Scripts:
- Campbell Barton updated his obj exporter and skin (bridge/skin/loft) scripts.  Thanks.

------------------------------------------------------------------------
r4598 | ianwill | 2005-06-13 01:40:46 +0200 (Mon, 13 Jun 2005) | 11 lines

Scripts:

- Jean-Michel Soler updated his paths importer (svg part) -- ongoing work related to this bug report by intrr:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2674&group_id=9

- small doc update in paths import about some imported curves needing "enter edit mode, select all points, toggle cyclic (press 'c')" to show up correctly;

- old vrml 2 exporter's menu name and tooltip updated to clarify that it is the old version, soon to be removed (in favor of the already included vrml 97 update by Bart).  Also prints a msg about it to the console when used.

Thanks all.

------------------------------------------------------------------------
r4597 | stiv | 2005-06-12 18:20:29 +0200 (Sun, 12 Jun 2005) | 4 lines

remove version number for doc directory name as
discussed at today's meeting.
Was BPY_API_237, now BPY_API

------------------------------------------------------------------------
r4596 | ton | 2005-06-12 14:57:21 +0200 (Sun, 12 Jun 2005) | 5 lines

Bug fix #2737

Extrude 1 edge, created with Fkey for 2 vertices, didn't give the
correct options... lacked a countall() to update stats.

------------------------------------------------------------------------
r4595 | ton | 2005-06-12 14:44:51 +0200 (Sun, 12 Jun 2005) | 5 lines

Bugfix #2734

Added update of normals and face center after using NKey properties or
do-centre option in Mesh EditMode.

------------------------------------------------------------------------
r4594 | ianwill | 2005-06-12 07:54:15 +0200 (Sun, 12 Jun 2005) | 16 lines

Scripts:
- Campbell Barton updated his Wavefront obj importer;
- Jean-Michel Soler updated his paths import (eps part).

BPython bug fixes:

- oldie found by Ken Hughes: reference count of two pyobjects not being decremented in slider callback (Draw.c):
http://projects.blender.org/tracker/index.php?func=detail&aid=2727&group_id=9&atid=127

- Gergely Erdelyi found that setText() in Text3d module was not updating str length var, leading to mem corruption and provided a patch:
http://projects.blender.org/tracker/?func=detail&aid=2713&group_id=9&atid=127

- doc updates (suggested by Campbell)

Thanks guys.

------------------------------------------------------------------------
r4593 | intrr | 2005-06-11 19:57:34 +0200 (Sat, 11 Jun 2005) | 5 lines



Typo in fastshade() giving wrong colors for shadeless objects with
Vertex colours

------------------------------------------------------------------------
r4592 | jesterking | 2005-06-11 18:30:36 +0200 (Sat, 11 Jun 2005) | 2 lines

Rollback of http://projects.blender.org/pipermail/bf-blender-cvs/2005-June/003769.html (which I in my commithappyness did before properly checking)

------------------------------------------------------------------------
r4591 | ton | 2005-06-11 14:56:39 +0200 (Sat, 11 Jun 2005) | 5 lines

Bug fix #2726

Adjustment in wire frame optimizer, it only removes edges with 'valence' 2,
meaning 2 faces sharing edge. Bug was that it removed edges having 3 faces.

------------------------------------------------------------------------
r4590 | ianwill | 2005-06-11 07:30:14 +0200 (Sat, 11 Jun 2005) | 21 lines

BPython bug fixes:

- #2646 reported by Campbell: Python/Fileselector (moving from fileselector called by script to another space caused script to hang around open but not accessible)
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2646&group_id=9

- #2676 reported by Wim Van Hoydonck: 2.37 python scripts gui: event 8 ignored (thanks Ton for discussing / pointing what to do, Ken Hughes for also working on a fix)
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2676&group_id=9

- gui-less scripts with calls to progress bar inside fileselector callbacks didn't return to the previous space on exit (staying on Scripts win), requiring an event to do so (mouse movement, for example).  Quick fix for now, will rework a little after 2.37a for a better alternative, not needing to move to the Scripts win at all.

- added syntax colors access to Window.Theme module.

Scripts:

- updates by Jean-Michel Soler: svg2obj (svg paths import), tex2uvbaker, fixfromarmature;
- updates by Campbell Barton: obj import / export, console;
- tiny: converted vrml97 export to unix line endings;
- updates in ac3d exporter, help browser, save theme.

Thanks all mentioned above.

------------------------------------------------------------------------
r4589 | theeth | 2005-06-11 04:17:25 +0200 (Sat, 11 Jun 2005) | 3 lines

Follow up on the Numinput / PET conflict bugfix.
Added Page Up and Page Down as hotkey to increase and decrease PET area of effect.

------------------------------------------------------------------------
r4588 | theeth | 2005-06-11 04:01:26 +0200 (Sat, 11 Jun 2005) | 4 lines

Fixed crash on transform_conversion with PET and hidden CV in a curve.

It now deals correctly with hidden CVs in Connected mode (creates a "segment" on each side of the hidden CV).

------------------------------------------------------------------------
r4587 | jesterking | 2005-06-10 15:55:09 +0200 (Fri, 10 Jun 2005) | 2 lines

* fix for bug #2733

------------------------------------------------------------------------
r4586 | jesterking | 2005-06-10 15:12:59 +0200 (Fri, 10 Jun 2005) | 2 lines

* fix for bug #2720

------------------------------------------------------------------------
r4585 | stiv | 2005-06-10 14:33:09 +0200 (Fri, 10 Jun 2005) | 2 lines

Lamp Ipo blocktype was incorrect

------------------------------------------------------------------------
r4584 | jesterking | 2005-06-10 10:43:59 +0200 (Fri, 10 Jun 2005) | 2 lines

scons wininst includes now plugins\include in the installer

------------------------------------------------------------------------
r4583 | jesterking | 2005-06-10 10:00:35 +0200 (Fri, 10 Jun 2005) | 2 lines

Make sure plugin includes are added to a release

------------------------------------------------------------------------
r4582 | theeth | 2005-06-10 02:23:42 +0200 (Fri, 10 Jun 2005) | 6 lines

MSVC 6.0 projectfiles small cleaning.

DNA_makesdna.dsp was missing DNA_meshdata_types.h

BL_src.dsp was missing most of the BIF and BDR and BSE includes

------------------------------------------------------------------------
r4581 | eeshlo | 2005-06-10 02:12:42 +0200 (Fri, 10 Jun 2005) | 30 lines

Some small modifications.
Absorption and Dispersion parameters now only visible when 'Ray Transp'
enabled. WardIso specular amount scale to match Blender output.
Updated halo spotlight 'samples' to use new yafray syntax.

Quick addition for access to another yafray feature:
When using HDR backgrounds for lighting ('SkyDome' of 'Full' GI methods),
it is currently not always possible to get smooth lighting results.
Especially HDR images with small lightsource can be very noisy,
because currently yafray still relies on brute force random sampling.
As a temporary simple solution (better options will be available in the
'next generation' yafray), yafray can do some processing on the
image to smooth out all (or most) noise.
Besides smooth lighting, this also has
the advantage that AA will have less work to do,
GI quality can be set to the lowest level and still get reasonably
good results. Disadvantage however is that shadow definition is lost.
To switch on this option, set the world image texture filter parameter
to any value greater than 1.0
When 'filter' is 1.0 or less, normal hdr sampling is done as before.

So, current fastest possible render settings for IBL:
set texture image filter parameter of the background image to any value
greater than 1.0, set GI to 'SkyDome' type, enable 'Cache',
(possibly enable 'NoBump' when scene uses lots of bumpmapping),
set 'Quality' menu to 'Use Blender AO settings',
make sure AO is enabled in blender World buttons and set there the number
of AO samples to 1.
Should at least be good enough for previews.

------------------------------------------------------------------------
r4580 | sirdude | 2005-06-09 20:42:43 +0200 (Thu, 09 Jun 2005) | 6 lines



uninitalized variable caught with valgrind.

Kent

------------------------------------------------------------------------
r4579 | ton | 2005-06-09 13:02:06 +0200 (Thu, 09 Jun 2005) | 5 lines

Bug fix #2723

When a scene had "do sequence" set, the OpenGL preview render option
crashed... it shouldn't do the sequencer anyway then. Old bug.

------------------------------------------------------------------------
r4578 | ton | 2005-06-08 20:55:49 +0200 (Wed, 08 Jun 2005) | 6 lines

(Accidentally sent previous commit without message... is same stuff)

gcc4 error fixes for compiling in OSX Tiger

Also; make using python framework default in makefiles

------------------------------------------------------------------------
r4577 | ton | 2005-06-08 20:54:17 +0200 (Wed, 08 Jun 2005) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r4576 | ton | 2005-06-08 17:09:11 +0200 (Wed, 08 Jun 2005) | 3 lines

Made anim player (blender -a) free memory in end, so we can check what the
leak comes from.

------------------------------------------------------------------------
r4575 | ton | 2005-06-08 15:01:31 +0200 (Wed, 08 Jun 2005) | 3 lines

On exit mesh editmode, the other objects using this mesh should get a
'redo softbody' signal.

------------------------------------------------------------------------
r4574 | ton | 2005-06-08 14:51:03 +0200 (Wed, 08 Jun 2005) | 8 lines

Bug fix #2719

Ortho render didn't correct texture/shadow coordinates for subpixel
position. Caused small errors where faces intersect each other.

Also found texture subpixel error in unified (using jitter table not
correctly). This also caused errors with z value comparing.

------------------------------------------------------------------------
r4573 | ton | 2005-06-08 10:13:33 +0200 (Wed, 08 Jun 2005) | 5 lines

Small tweak in Ward-Iso specular. It didn't work correctly on backfacing
light. Thanks Alfredo! :)

Report #2711

------------------------------------------------------------------------
r4572 | ton | 2005-06-07 15:04:31 +0200 (Tue, 07 Jun 2005) | 4 lines

Fix #2709

Editmesh; "Remove Doubles" also included hidden vertices.

------------------------------------------------------------------------
r4571 | sirdude | 2005-06-06 21:00:02 +0200 (Mon, 06 Jun 2005) | 10 lines



Bart updated his scripts...
Fixes:
- naming of Transform instead of Shape node
        X3D exporter: line 431 and 432
        VRML exporter: line 430 and 433
- wrong import of modules in the X3D exporter
        line 72

------------------------------------------------------------------------
r4570 | bjornmose | 2005-06-06 20:52:07 +0200 (Mon, 06 Jun 2005) | 8 lines

Fix for # 2655

Now triangles and quads of _any_ shape collide nicly with softbodies.
Some tricks don't work in a non euclidian geometry !
Had to brush up that dusty knowlege a bit :)

thanks efbie & ton

------------------------------------------------------------------------
r4569 | phase | 2005-06-06 16:42:50 +0200 (Mon, 06 Jun 2005) | 9 lines

Bugfix #2704

Modified bFTGL so the bitmaps supplied by the font itself aren't used.
Patch originally supplied by Shizu, somehow this was never added to
FTGL.

Be sure to build binaries with bFTGL, not the provided ftgl.lib from the
lib dir. (this one can be deleted afaic)

------------------------------------------------------------------------
r4568 | ton | 2005-06-06 15:10:02 +0200 (Mon, 06 Jun 2005) | 7 lines

Different fix for the nasty stars problem, previous one swallowed the
ESC during alt+a playback.

Solved in the 'proper' way, which is not abusing the (while render)
ESC callback for UI draw of stars, this confused everything. Means;
you cannot esc stars drawing anymore. Nice feature, bad hack...

------------------------------------------------------------------------
r4567 | theeth | 2005-06-06 14:23:47 +0200 (Mon, 06 Jun 2005) | 5 lines

Fixing bug #2707 : Local Axis constraints in transform working incorrectly on objects that have object constraints.
http://projects.blender.org/tracker/index.php?func=detail&aid=2707&group_id=9&atid=125

Problem was as suspected (axismtx defined after clearing constraints), so very easy to fix.

------------------------------------------------------------------------
r4566 | ton | 2005-06-06 14:18:44 +0200 (Mon, 06 Jun 2005) | 4 lines

Updated BL text.
This option has not been used for 3 years, and is very unlikely to happen
anytime.

------------------------------------------------------------------------
r4565 | ton | 2005-06-06 12:35:50 +0200 (Mon, 06 Jun 2005) | 8 lines

Fix for #2689

When drawing many stars (or for certain slow gfx cards) you can press ESC
to stop it from drawing. The variable set for this escape was not reset,
causing a first F12 render to not work. (Ancient bug!).

Added: redraw event for "Stars" button in worldbuttons.

------------------------------------------------------------------------
r4564 | ton | 2005-06-06 11:52:44 +0200 (Mon, 06 Jun 2005) | 22 lines

Changed test for (me->flag&ME_SUBSURF) into
                 ((me->flag&ME_SUBSURF) && me->subdiv)

In build_mesh_data(). This because meshes with subdiv==0 were calling a
MakeDisplist() for each redraw otherwise, disabling for example the
posemode "delay deform" feature. (bug #2700)

Daniel; it would help if you would add comments in the code, for example
to understand the difference between;

mesh_get_base_derived()
mesh_get_derived()

and how it relates to

build_mesh_data()

I realize most of the mess is in displist code... and confusing use
of features while editing, posemode, & render. Nevertheless, it's not
clear at first sight which parts of derivedmesh is design, and which
part reflects the hacks to make it work. :)

------------------------------------------------------------------------
r4563 | aphex | 2005-06-05 19:06:20 +0200 (Sun, 05 Jun 2005) | 9 lines

Fix v2.0 for #2256:

An alternative fix - last one broke stuff that I only discovered
*after* committing! Go figure!

Basically, gave B_REDR events for the sliders -- I still think
there is a bigger underlying issue here, but it is best left for
Ton the interface guru! ;)

------------------------------------------------------------------------
r4562 | aphex | 2005-06-05 18:40:48 +0200 (Sun, 05 Jun 2005) | 7 lines

Bug fix: #2256

Sliders (and potentially other buttons) with no retval were not breaking the ui_do_block() loop, which caused events to propagate to other panels!

(The effect could also be seen by dragging from AO sliders into the
World name textbox.)

------------------------------------------------------------------------
r4561 | theeth | 2005-06-05 16:26:45 +0200 (Sun, 05 Jun 2005) | 7 lines

As discussed in meeting, fixing Numinput annoyance in transform.
Numpad Minus can now be used all the time to type negative numbers, without interfering with PET.

WARNING Behavior change: PET area of effect is not resized with Alt-Num+ and Alt-Num- (in addition to the scrollwheel)

WARNING testing needed: it's late and the laptop here has a funny emulated numpad, so better be tested on a real keyboard by someone who is not coding past midnight.

------------------------------------------------------------------------
r4560 | theeth | 2005-06-05 15:50:21 +0200 (Sun, 05 Jun 2005) | 4 lines

Transform 2D center was using short. Not good enough when it's it's way off screen. Switched to ints, that fixed the bug in the tracker.

Switching to floats would probably be safer in the long term, but too many things to test to do that now.

------------------------------------------------------------------------
r4559 | lukep | 2005-06-05 15:46:28 +0200 (Sun, 05 Jun 2005) | 2 lines

ccommented stuff in qhull geom.c with standard C comments not C++ ones

------------------------------------------------------------------------
r4558 | ton | 2005-06-05 14:24:35 +0200 (Sun, 05 Jun 2005) | 6 lines

Float precision error could cause RKEY to start with 0.02 degree rotation.
This because the used integer+float division could result in a
9.999999e-01 value, which is for acos() to return 3.452670e-04.

Converted the division to use doubles instead.

------------------------------------------------------------------------
r4557 | lukep | 2005-06-04 18:22:50 +0200 (Sat, 04 Jun 2005) | 12 lines

new round of warning fixes. we are now down to 24 with Xcode on blender
alone with the following flags :
-Wall -Wno-char-subscripts -Wno-missing-braces.

the only one still worrying me is in rand.c line 57 :

rand.c:57: integer constant is too large for "long" type

but i have no clue about how correct cross-compiler and 32/64 bits friendly

see also my mail to commiter list for signed/unsigned issues

------------------------------------------------------------------------
r4556 | ton | 2005-06-03 20:44:01 +0200 (Fri, 03 Jun 2005) | 3 lines

Added threadsafe patch from Martin.
Now envmaps of type "Load" should not give errors. I assume Martin tested!

------------------------------------------------------------------------
r4555 | ton | 2005-06-03 19:04:26 +0200 (Fri, 03 Jun 2005) | 6 lines

Bug fix #2651

Area light soft shadow now renders transparant shadow as well.
ALso: found error in correct threadsafe use of soft shadow tables. Caused
dither/noise not to look as well as it could.

------------------------------------------------------------------------
r4554 | ton | 2005-06-03 10:37:04 +0200 (Fri, 03 Jun 2005) | 3 lines

Using render option "Crop" with OpenGL render (button in 3d header)
caused a struct Part to be allocated and not freed.

------------------------------------------------------------------------
r4553 | ton | 2005-06-02 19:38:42 +0200 (Thu, 02 Jun 2005) | 10 lines

Fix for #2657

Appending from files also set the string for "last loaded file". That's
a real bad one... so you can save over accidentally libraries.

Another fix: appending from files that have dynamic other files linked
with relative paths didn't work. (Yah, now it should all work!)

renderconverter change is just a more clear comment.

------------------------------------------------------------------------
r4552 | sirdude | 2005-06-02 18:16:11 +0200 (Thu, 02 Jun 2005) | 8 lines



This is a dumb little commit to do while things are frozen.
Just updated the comments about the imbuf there were lots of
comments that were /* What is this? */

Kent

------------------------------------------------------------------------
r4551 | ton | 2005-06-02 12:32:54 +0200 (Thu, 02 Jun 2005) | 9 lines

Bug fix #2660

When number of OSA samples is larger than number of AO samples, the AO
loop doesn't function well. Since rendering 16 OSA samples with only 9
AO samples isn't very useful, I've made the AO render level to become
at least equal or larger than amount of OSA samples.

Is first bug in 2.37 that worked in 2.36...

------------------------------------------------------------------------
r4550 | ton | 2005-06-02 12:12:13 +0200 (Thu, 02 Jun 2005) | 4 lines

Bugfix #2652

Typo in toolbox, editmode curve, "set vector handle" should be hotkey V.

------------------------------------------------------------------------
r4549 | ton | 2005-06-02 11:53:53 +0200 (Thu, 02 Jun 2005) | 6 lines

Bugfix #2648

Thread render with  using Area lights was not fully thread safe yet. I
thought I had a smart method to trick threads, but apparently it can best
(and only) be done with Mutexes...

------------------------------------------------------------------------
r4548 | ton | 2005-06-02 11:24:58 +0200 (Thu, 02 Jun 2005) | 9 lines

Bug fix #2659

The bugfix for linking recursively from files worked, but there was another
bug hidden... only showed up when actually *using* the recursive feature,
and not with only testing the bugfix. :) Famous coder error, but yah, we
got luckily users to test it!

I'v asked the reporter to give it more extensive testing!

------------------------------------------------------------------------
r4547 | ton | 2005-06-01 20:36:58 +0200 (Wed, 01 Jun 2005) | 5 lines

Bug #2661

Drawing face stats in editmesh didn't work... a typo caused using the 2nd
point of a face as third one.

------------------------------------------------------------------------
r4545 | ton | 2005-05-30 15:20:13 +0200 (Mon, 30 May 2005) | 6 lines

Stricter check for setting posemode. It is possible to have armatures
linked around to more scenes, which confuses the POSEMODE object flag.

Now posemode is only entered on file read when it is also the active
object.

------------------------------------------------------------------------
r4544 | ton | 2005-05-30 14:19:20 +0200 (Mon, 30 May 2005) | 4 lines

Lukep noticed bug in outliner, when an object has a parent that only resides
in another scene, the outliner inserts that child object in the parent's
scene. Although it seems cosmetic, i could create crashes with it... fixed.

------------------------------------------------------------------------
r4543 | jiri | 2005-05-30 10:31:07 +0200 (Mon, 30 May 2005) | 5 lines



 - hide button in button window didn't do anything due to some changes in
   transform code, fixed now

------------------------------------------------------------------------
r4542 | eeshlo | 2005-05-30 10:11:46 +0200 (Mon, 30 May 2005) | 10 lines

Since there still seem to be some commits being done, I thought I might
sqeeze in a minor bugfix.
I wouln't be surprised it is too late,
but since it really is sort of minor, it doesn't matter really.
I had mistakenly put the export of dispersion and absorption parameters in the
ray_mirror block instead of ray_transp, which means that both dispersion and
absorption can only be used if both ray mirror and ray transp are enabled.
Anyway, I don't want to make everyone recompile release builds if already
done, it is minor, but users should take this into account at least.

------------------------------------------------------------------------
r4541 | jiri | 2005-05-30 08:37:33 +0200 (Mon, 30 May 2005) | 10 lines



 - last time commit. It fixes bug reported by Kent Mein. Polygonisation of Metaball was broken. Test file:

    http://www.cs.umn.edu/~mein/blender/blend/metaball.blend
    http://www.cs.umn.edu/~mein/blender/blend/metaball.png

 - it should fill octal tree much more better ... polygonisation of MetaBalls is faster little bit now too
 - stiffness limit is 10.0

------------------------------------------------------------------------
r4540 | ianwill | 2005-05-30 04:26:40 +0200 (Mon, 30 May 2005) | 6 lines

No "release ahoy" yet, so it's probably still ok for these last minute updates (excuse me anyway):

Script bug fixes:
- Paths import: SVG update sent by author Jean-Michel Soler;
- Wavefront OBJ import / export updates sent by author Campbell Barton.

------------------------------------------------------------------------
r4539 | ton | 2005-05-30 02:17:08 +0200 (Mon, 30 May 2005) | 5 lines

After long debate on IRC we came up with the ultimate name for the
former "RKL" button and later renamed to "Precision": "Error Limit" :)

(Softbody yes)

------------------------------------------------------------------------
r4538 | ton | 2005-05-30 01:40:35 +0200 (Mon, 30 May 2005) | 3 lines

Tinsy wee buggie; added 'extrude vertices only' to menu that appears when
only 1 face is selected.

------------------------------------------------------------------------
r4537 | ton | 2005-05-30 01:21:56 +0200 (Mon, 30 May 2005) | 8 lines

Two more fixes in Transform:

- Ipokeys didnt have 'selected' flag, so were not included in center
  calculus
- Multiple keys transform didn't apply this center even...

ALso took extra work time to add credits in splash. Frédéric Van der Essen!

------------------------------------------------------------------------
r4536 | ton | 2005-05-30 00:39:49 +0200 (Mon, 30 May 2005) | 3 lines

While making TransData, with mixed selection of objects and ipokeys, the
transdata pointers were increased wrong, creating empty gaps (NULL)

------------------------------------------------------------------------
r4535 | ton | 2005-05-30 00:12:12 +0200 (Mon, 30 May 2005) | 5 lines

Changed 2 mallocs for object transdata to calloc. TransData->flag was
undefined... and somewhere else in code it thought there was a quaternion.

No idea why these mallocs... just asking for troubles!

------------------------------------------------------------------------
r4534 | ton | 2005-05-29 23:28:10 +0200 (Sun, 29 May 2005) | 2 lines

Simple release text file.

------------------------------------------------------------------------
r4533 | ton | 2005-05-29 21:41:03 +0200 (Sun, 29 May 2005) | 3 lines

Dependency variables in scenes were initialized in do_versions, instad of
in the scene reading function. Caused 2.37 saved files to crash.

------------------------------------------------------------------------
r4532 | ton | 2005-05-29 21:14:21 +0200 (Sun, 29 May 2005) | 2 lines

Version codes for release building + splash.jpg

------------------------------------------------------------------------
r4531 | ton | 2005-05-29 21:12:44 +0200 (Sun, 29 May 2005) | 2 lines

2.37 Version code, new Splash!

------------------------------------------------------------------------
r4530 | ton | 2005-05-29 20:44:42 +0200 (Sun, 29 May 2005) | 2 lines

Default .B.blend starts with bitmap fonts again.

------------------------------------------------------------------------
r4529 | ton | 2005-05-29 20:36:50 +0200 (Sun, 29 May 2005) | 6 lines

Texture font draw error in Outliner, only happens when a buttons window
is in a screen in location above outliner.
Was a missing BIF_SetScale()... this is confusing, we now have three
font systems mixed, which each own peculiarities and settings. Should be
cleaned!

------------------------------------------------------------------------
r4528 | ton | 2005-05-29 18:52:39 +0200 (Sun, 29 May 2005) | 3 lines

Reshuffled "Particle Interaction" Panel. Separated in left hand for
forces, right hand for deflection.

------------------------------------------------------------------------
r4527 | lukep | 2005-05-29 14:06:53 +0200 (Sun, 29 May 2005) | 3 lines

change for libpng includes path on openBSD
requested some times ago by Nathan houghton

------------------------------------------------------------------------
r4526 | ton | 2005-05-29 13:53:55 +0200 (Sun, 29 May 2005) | 3 lines

TimeLine playback settings were always initialized to default, for 2.36
version files. Made test a bit cumbersome.

------------------------------------------------------------------------
r4525 | ton | 2005-05-29 13:20:49 +0200 (Sun, 29 May 2005) | 11 lines

Tinsy cleanup of combo drawing Manipulators:
- translate+scale : arrow at end of axis
- translate+rotate: draws axis lines now
- while translate: draws the axis line too

And: GCC was nagging about Martin's precious code!
transform_constraints.c:745: warning: suggest parentheses around comparison
in operand of &

Apparently the if(a & b == c) is undefined? Whatever!

------------------------------------------------------------------------
r4524 | ton | 2005-05-29 12:59:50 +0200 (Sun, 29 May 2005) | 3 lines

The TOG3 button (material mapping buttons) didn't get correct color set...
Was accidentally not visible, until we added texture drawing for fonts.

------------------------------------------------------------------------
r4523 | ton | 2005-05-29 12:47:36 +0200 (Sun, 29 May 2005) | 5 lines

Bug fix #2638

More derivedmesh culling confusement... it should be enabled when double-
sided shaded lighting is used...

------------------------------------------------------------------------
r4522 | ton | 2005-05-29 12:44:52 +0200 (Sun, 29 May 2005) | 5 lines

Bug fix #2640

Somehow displacement got negated in my commit of april 12. Regression file
showed it, thanks efbie for finding it! :)

------------------------------------------------------------------------
r4521 | theeth | 2005-05-29 11:57:51 +0200 (Sun, 29 May 2005) | 2 lines

Crash Fix: Mirror Tool crashed when there was no selection (stupid lack of check).

------------------------------------------------------------------------
r4520 | theeth | 2005-05-29 11:50:10 +0200 (Sun, 29 May 2005) | 2 lines

Behavior consistency: Make Push-Pull and Shrink-Fatten work in the same way regarding what happens when you move the mouse toward or away from you.

------------------------------------------------------------------------
r4519 | theeth | 2005-05-29 11:21:34 +0200 (Sun, 29 May 2005) | 4 lines

Push/Pull didn't do Lock Constraint correctly. Fixed.

Also added an isLockConstraint function that tells if the current constraint is a locking constraint or not.

------------------------------------------------------------------------
r4518 | broken | 2005-05-29 06:18:59 +0200 (Sun, 29 May 2005) | 7 lines

* Last minute commit, updating the view3d menus for the new
transform stuff. All transformation menu items are now in the
'Transform' sub-menu. Added To Sphere and Push/Pull, and items
like Shear, Warp, etc. have been moved to there from the
top-level Mesh/Curve/etc menus, since they are now available in
object mode too.

------------------------------------------------------------------------
r4517 | ton | 2005-05-28 18:11:11 +0200 (Sat, 28 May 2005) | 5 lines

For texture fonts, the rasterpos has to be delivered as BIF_RasterPos().

This smells to me like temporal code... will study it. For now this
commit fixes error in header draw of fileselect.

------------------------------------------------------------------------
r4516 | ton | 2005-05-28 15:22:09 +0200 (Sat, 28 May 2005) | 6 lines

Bug fix #2636

New AA font drawing (using texture) didn't get initialized on startup,
only when button was pressed. Confusing code... we need to remove all
#ifdefs here once.

------------------------------------------------------------------------
r4515 | ton | 2005-05-28 14:59:48 +0200 (Sat, 28 May 2005) | 5 lines

#bug 2633

Keep fighting with proper normal calculus on extrudes... now the 'add grid'
had wrong normals again (alternating in rows).

------------------------------------------------------------------------
r4514 | ton | 2005-05-28 14:23:40 +0200 (Sat, 28 May 2005) | 3 lines

Disabled GL_CULL_FACE in mesh drawing for vertex colors, weight paint.
This made faces hidden with normals pointing inside. Not nice for paint...

------------------------------------------------------------------------
r4513 | eeshlo | 2005-05-28 04:50:55 +0200 (Sat, 28 May 2005) | 5 lines

Some last minute tweaks, for world background image, 'Hori' must now be
enabled.
And when using Blender's AO parameters, the lowest sample number
when no cache is used is 4.

------------------------------------------------------------------------
r4512 | ton | 2005-05-27 21:19:17 +0200 (Fri, 27 May 2005) | 3 lines

Oops, I've must had a weak moment... turntable is OFF again in the .B.blend
The trackball method is for real 3d work.... turntable for woossies! :)

------------------------------------------------------------------------
r4511 | ton | 2005-05-27 21:02:39 +0200 (Fri, 27 May 2005) | 5 lines

Colorband didn't correctly compute with 2 entries being exactly on the
same spot. Was division by zero here... coded nice exception catching.

BTW: worked before june 2004... was part of commit for Ramp Shading.

------------------------------------------------------------------------
r4510 | ton | 2005-05-27 20:09:10 +0200 (Fri, 27 May 2005) | 20 lines

Updated the .B.blend. Nothing radical, that's for the next release, when
tuho work gets merged.

- Manipulators on (already was though)
- Grid/floor size 60 parts (was 32)
- Audio window replaced with TimeLine, added TimeLine in Sequencer
- Editmode draw edge/faces option on
- Turntable view rotate (under protest! :)
- 2nd theme is the dark/orange theme by Andy
- added 5th screen for python (textwindow, script buttons)
- OSA, Ray on
- Render resol 800x600
- higher default octree level
- added outliner in Animation screen
- renamed default Cube to be "Cube" (not sphere)
- default lamp has 'ray' on.
- when you turn default lamp to shadowbuf-spot, clipstart is OK

It starts with the 'modeling' screen, single window.

------------------------------------------------------------------------
r4509 | eeshlo | 2005-05-27 19:52:53 +0200 (Fri, 27 May 2005) | 44 lines

Added some backward compatibility with old yafray blendershader. Because of missing
parameters the material preset menu won't be as useful. Both glass presets will look the same
because there is no 'filter' parameter in the old yafray for instance.
So using the new Blender version with an old yafray version should work a bit better,
though the other way around, using the new yafray with an old blender version, will generally
not work as well.

I added a few extra things. In 'yafray' panel re-arranged some buttons, and added a new
button 'Clamp RGB'. This button will be enabled by default and helps to improve AA on
high contrast edges in the image. When using bokeh however, it is best to switch this off,
otherwise lens shaped highlights will be quite a bit less visible.

Changed the 'extinction' parameter name to the probably more correct term 'absorption',
though mathematically it works out the same. Also changed the behaviour of this color,
it no longer specifies a color that will be removed as I wrote in the previous commit,
but instead the actual color at one (blender) unit of distance. The 'Ds' (distance scale)
button below the color sliders controls the scaling of this unit distance.
What this means is that if you take the standard blender cube, which covers two units of
distance by default, setting the distance scale button to 2.0 will make sure that the color
you specified is exactly that color at that distance (provided the base color itself is white
of course, or 'filter' is 0, otherwise it will be filtered by the base color too).
Beyond this distance the color will get darker.

The glow option for point/soft/sphere lights has a new parameter 'GloOfs', or glow offset.
Setting this to a higher value then 0 will soften the central peak of the glow.

Another unreported bug fix: For xml export, when yafray failed to render the xml file
for some unknown reason, or because of other problems, the export code would still load
the previously rendered image, this causes problems however if the image resolution is
not the same as the current Blender buffer, and so could cause memory corruption or crashes.
This is now taken into account.

World image backgrounds now use the blender mapping settings as well, but only the
'AngMap', 'Sphere' and 'Tube' settings. But in yafray those last two, unlike Blender, cover
the whole view, not just the upper half, so is not really fully compatible with yafray.
So now you have to set one of these buttons too when loading a hdr lightprobe image.
btw, something I forgot to mention in previous commits is that the exposure control using
the texture brightness slider is no longer restricted to integer values. It is now a
floating point value, so you're not restricted to the 0 1 and 2 slider positions anymore,
anything in between will work too.

And finally, display updating is now more like Blender, using the mouse cursor as frame
counter for animation, etc.

------------------------------------------------------------------------
r4508 | ton | 2005-05-27 15:28:26 +0200 (Fri, 27 May 2005) | 2 lines

When backbuf doesn't exist, it crashed during render... Fixed!

------------------------------------------------------------------------
r4507 | ton | 2005-05-27 14:53:28 +0200 (Fri, 27 May 2005) | 6 lines

On Render or Anim, no redraws should happin in the UI for sequence window.
This was enforced in a commit 5 months ago, for proper redraws while
working in sequencer itself (with scene strips)

Found by Ztonzy, explained by Jesterking. Thanks! :)

------------------------------------------------------------------------
r4506 | ton | 2005-05-27 11:51:07 +0200 (Fri, 27 May 2005) | 10 lines

Bug fix #2629

Aye... OpenGL cannot draw concave (C shaped) polygons... that screws up the
Lasso tool, when it uses backbuffer selection.
Examined for little while the GLU Tesselation library, but apart from its
nightmarish structure, it's even stupid (no builtin clock/counterclock).

So, instead coded a DispList based function using Blender's edgefill.
Works like a charm! :)

------------------------------------------------------------------------
r4505 | ianwill | 2005-05-27 07:39:41 +0200 (Fri, 27 May 2005) | 10 lines

BPython:
- Fix for bug #2621 reported by Yann Cointepas (material.setMode didn't accept integer param, only strings, making it inconsistent with material.getMode):
http://projects.blender.org/tracker/index.php?func=detail&aid=2621&group_id=9&atid=125
    Applied patch #2626 by Ken Hughes to both Material.c and doc (Material.py):
http://projects.blender.org/tracker/index.php?func=detail&aid=2626&group_id=9&atid=127

- Small C doc strings update I forgot to add before, for Render slinks (reminder about Render slinks docs also by Ken).

Thanks both -- btw, Ken Hughes has contributed considerably improving bpy documentation and fixing bugs for this release.

------------------------------------------------------------------------
r4504 | ton | 2005-05-26 23:00:50 +0200 (Thu, 26 May 2005) | 5 lines

Bug fix #2575

VertexPaint, FaceSelect draws with 'culled faces' but should therefor
check for negative scaling as well, set the glFrontFace() OK.

------------------------------------------------------------------------
r4503 | ton | 2005-05-26 22:11:41 +0200 (Thu, 26 May 2005) | 5 lines

Bug fix #2627

For rendering wire a wrong offset was used to find vertices... was caused
by commit Apr 13, part of reconstructing Mesh and subsurf.

------------------------------------------------------------------------
r4502 | ton | 2005-05-26 21:49:05 +0200 (Thu, 26 May 2005) | 2 lines

Disabled zblur render option when it was saved in testing builds. :)

------------------------------------------------------------------------
r4501 | ton | 2005-05-26 15:17:12 +0200 (Thu, 26 May 2005) | 9 lines

Bug fix #2625

Darn #$%#$# code cleanup in NaN days screwed up recursive feature of
linking dynamically data among Blender files. It now only supported 1
'deep'.

Now you can link data from file1 via file2 into a file3, etc. Nasty code,
but supposed to work :)

------------------------------------------------------------------------
r4500 | ton | 2005-05-25 23:54:13 +0200 (Wed, 25 May 2005) | 7 lines

Bug #2624

Typo in bspline interpolation code... a '1' should be '2', causing the
fourth key of interpolation always be equal to third.
Only shows error with larger key steps, like 5 frames or more. Nice it
was found before release!

------------------------------------------------------------------------
r4499 | stiv | 2005-05-25 18:38:51 +0200 (Wed, 25 May 2005) | 3 lines

updates and corrections for BPy Text3d module from Ken Hughes.
Thanks, Ken!

------------------------------------------------------------------------
r4498 | ton | 2005-05-25 18:37:24 +0200 (Wed, 25 May 2005) | 4 lines

Tinsy little but relevant bug; colors in Action channels used signed
bytes, glColor4b() instead of unsigned glColor4ub(). Gave ugly cycling
of colors in wrong ways.... reported by Ztonzy on irc. Thanks!

------------------------------------------------------------------------
r4497 | ton | 2005-05-25 18:19:00 +0200 (Wed, 25 May 2005) | 6 lines

Removed unused rect_float variable from imbuf structure. Was added for the
openEXR testing only. It broke sequence plugins...

Note: adding variables in end of Imbuf struct at least doesn't crash old
sequence plugins immediately. :)

------------------------------------------------------------------------
r4496 | ianwill | 2005-05-25 06:52:52 +0200 (Wed, 25 May 2005) | 16 lines

BPython bug fixes:

- Patch #2491: Mathutils.AngleBetweenVecs BUGFIX
http://projects.blender.org/tracker/?func=detail&aid=2491&group_id=9&atid=127

- #2607: Python String button can segfault if the allowable length is greater than 400
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2607&group_id=9

- #2490: Vector == None gives warning
http://projects.blender.org/tracker/?func=detail&aid=2490&group_id=9&atid=125

- #2476: Image.Draw()
http://projects.blender.org/tracker/?func=detail&aid=2476&group_id=9&atid=125

All reported by Campbell, who also wrote the #2491 patch.  Ken Hughes provided patches for #2490 and #2476.  Thanks guys.

------------------------------------------------------------------------
r4495 | bjornmose | 2005-05-25 00:17:23 +0200 (Wed, 25 May 2005) | 2 lines

rule  OB_SB_GOAL flag  over  SOFTGOALSNAP optimization in all cases

------------------------------------------------------------------------
r4494 | ton | 2005-05-24 21:33:04 +0200 (Tue, 24 May 2005) | 3 lines

Audio playback in TimeLine should not use 'scrubbing' option in the
update_for_newframe() call.

------------------------------------------------------------------------
r4493 | ton | 2005-05-24 19:36:20 +0200 (Tue, 24 May 2005) | 9 lines

Found float-related numerical instability with vertices lying EXACT on
the edge of an image. It should not be clipped, but comparisions with
floats then can go wrong... here the FLT_EPSILON is to the rescue.

/* smallest such that 1.0+FLT_EPSILON != 1.0 */
#define FLT_EPSILON 1.19209290e-07F

(Bug fix #2610)

------------------------------------------------------------------------
r4492 | stiv | 2005-05-24 17:14:32 +0200 (Tue, 24 May 2005) | 4 lines

updates to doc strings in code and doc from Ken Hughes.

add alias .recalc() for IpoCurve.Recalc() to match api standard.

------------------------------------------------------------------------
r4491 | ton | 2005-05-24 15:02:22 +0200 (Tue, 24 May 2005) | 6 lines

Bugfix #2602

Tooltips of buttons with menus (like for set constraint type) could popup
still... and in wrong location even!
Now it's a little bit tighter coded.

------------------------------------------------------------------------
r4490 | ton | 2005-05-24 14:33:35 +0200 (Tue, 24 May 2005) | 5 lines

Bug fix #2606

While in Shaded draw mode, and edting a Font Object, the linked duplicates
of this object didn't get reshaded correctly.

------------------------------------------------------------------------
r4489 | ton | 2005-05-24 13:50:12 +0200 (Tue, 24 May 2005) | 4 lines

Added init of 'postsat' to 1.0 in Scene, for the postprocess menu.
This only gave error in python. Added new scene in Blender itself copies
settings over of current scene. :)

------------------------------------------------------------------------
r4488 | ton | 2005-05-24 12:44:14 +0200 (Tue, 24 May 2005) | 6 lines

Disabled assert foolery in Decimator. :)
Code provided by Matthew Plough. Verified to run OK in OSX, Windows.

Solves bug #2598, which crashed blender on using non-manifold meshes with
decimator.

------------------------------------------------------------------------
r4487 | ton | 2005-05-24 12:03:53 +0200 (Tue, 24 May 2005) | 5 lines

Bug fix #2617

Using ipokeys with rotate crashed... caused by bugfix in ESC on ipokeys I
did before. Got confused by non-initialized (malloc) transdata...

------------------------------------------------------------------------
r4486 | bjornmose | 2005-05-23 23:40:19 +0200 (Mon, 23 May 2005) | 2 lines

added font.c and font.h to MSCV6 project

------------------------------------------------------------------------
r4485 | lukep | 2005-05-23 20:20:20 +0200 (Mon, 23 May 2005) | 3 lines

fix for #2592
Ken Hughes found the solution.

------------------------------------------------------------------------
r4484 | guitargeek | 2005-05-23 17:43:16 +0200 (Mon, 23 May 2005) | 4 lines

Moved a line containing a declaration and initialization to the top of the block, so that blender would compile. Sorry if this steps on any toes.

Johnny

------------------------------------------------------------------------
r4483 | intrr | 2005-05-23 02:14:23 +0200 (Mon, 23 May 2005) | 7 lines



Just putting a reminder into IMB_imbuf_types.h in case my mails to the list
got ignored, and for future reference ;)

If you change struct ImBuf, copy it over to the plugin API!

------------------------------------------------------------------------
r4482 | eeshlo | 2005-05-23 00:46:17 +0200 (Mon, 23 May 2005) | 83 lines

Second and final commit for this version of the yafray export code (probably, you never know
of course...)

Not quite complete, but due to lack of time as good as it will get for now.

From the previous commit, forgot to report that basic fog is supported as well. Though because I had not much time to complete the code, it is sort of unfinished, and you will have
to tweak parameters specifically for yafray again. It uses only the world horizon color, and
only uses the Blender mist distance setting.

Textures now support checker clip mode.

Fixed possibly all 'duplilist non-empty' errors, though it could hide the real cause of the
error.

AA is no longer enabled automatically for certain GI quality settings, I thought it best to
leave it to the user to decide.

SkyDome GI mode now supports cache as well. There is a new option in the GI quality menu 'Use
Blender AO settings', which will as it says use the most important AO settings for the
skydome parameters. The only AO parameters used are 'Samples', 'Dist' and the random sampling
switch, which unlike in Blender you might want to use more often, since the QMC sampling used
in yafray can result in visible patterns or a dithering type look. 'Random' is not completely
random in yafray however, it is actually jittered (stratified) sampling.
Using an occlusion cache, doesn't necessarily mean that you will always get much shorter
render times. As with 'full' GI and cache, one problem is bumpmaps, when using bump (or
normal) maps, the sampling will be much more dense, using lots more rendertime.
As a temporary fix there is a button 'NoBump', but this also has the side effect that in
areas of total indirect light (or when used with SkyDome cache) no bumpmapping will be
visible. It is therefor best used with some direct light as well.
For SkyDome with cache, and strong bumpmapping it might actually not make much difference,
since for low distance values you can usually get away with low sample values as well.

The entire material panel is now replaced by another panel to show only the parameters
important to yafray and add some new ones as well.

Since lots of users (especially yafray beginners) have had problems getting certain material
aspects right, there is now a material preset menu available to hopefully solve some of the
most common "How do I do this? It doesn't work!" questions seen in various forums.
Choosing an option from this menu will set the required parameters to default
values for yafray, and you can work your way from there to tweak it something you want.

Most buttons are copies of the same Blender parameters, with some variations. Just like
Blender 'Ray Mirror' enables reflection, 'Ray Transp' enables refraction. You can use
'ZTransp' for materials that have texture maps with alpha channels.
Again, same as Blender 'rayMir' sets the amount of reflection. Next button 'frsOfs' however
controls fresnel offset, meaning that when this is set to 1, you will get no fresnel effect
and when set to 5, reflection is totally determined by fresnel, which is important for
realistic glass/metals/etc.
IOR is self-explanatory (...), same as Blender.
When you have 'Ray Transp' enabled, the blender 'filter' button will appear next to the IOR
button. This has the same effect as in Blender.

Below that there are some new parameters, 'Ext.Color' sets the extinction color for
transparent materials. Usually, in real transparent materials, light loses some of it's
energy the further it has to travel through the object. This effect can be simulated with
this parameter. Thing to look out for is that it specifies the color which will be
REMOVED after traveling through the object. What this means is that say you have a clear
white glass sphere, and set the extinction color to a strong blue, the result will be a
very yellow object when rendered.

Next to the color sliders, there is another set of three parameters, with which you can
enable color dispersion for transparent objects. 'Pwr' sets the amount of dispersion,
the higher, the more dispersion (the more colorful the result).
(For real world materials, this number can be found or derived from data in various glass catalogues)
The 'Samples' button below that sets the number of samples used, minimum values are around
7-10, and for very strong dispersion you might need a lot more.
As usual, this also means an increase in render time of course, but to simulate
realistic materials, you shouldn't really need more than 25 samples.
In addition to that, when using low sample numbers, but to still get a good spread of colors,
you can enable the jitter button, but this will also add noise.

Point/soft(point with shadowbuffer) or sphere lights (light with radius), have a new option
to add a simple glow effect, so that lights can be made visible.
NOTE: just like spotlight halo's, glow is not visible against the background, there must be
another object behind it. Simplest solution is to use a large black shadeless plane behind
your scene.
The glow intensity can be set with the 'GlowInt' parameter (use very low values around 0.01
even lower), and you can choose from two different types with the 'GlowType' button (which
don't look much different, but type 1 is probably better, type 0 faster).

And that's it, with apologies for the still missing features and
full support in general, but this will have to do for now.

------------------------------------------------------------------------
r4481 | jiri | 2005-05-22 21:16:04 +0200 (Sun, 22 May 2005) | 4 lines



 - stiffness circle of MetaElem isn't paint in Object mode now

------------------------------------------------------------------------
r4480 | ianwill | 2005-05-22 20:50:46 +0200 (Sun, 22 May 2005) | 2 lines

Scripts: updated Bart's (thanks) vrml97 and x3d exporters, adding also doc link to the script's web page and commenting out two uneeded prints in each script.

------------------------------------------------------------------------
r4479 | stiv | 2005-05-22 20:43:29 +0200 (Sun, 22 May 2005) | 3 lines

Rename Image.getPixel() to .getPixelF() as per discussion
 to match OpenGl conventions and prepare for integer versions.

------------------------------------------------------------------------
r4478 | stiv | 2005-05-22 19:40:00 +0200 (Sun, 22 May 2005) | 2 lines

Roll back changes from Big Mathutils Commit on 2005/05/20.

------------------------------------------------------------------------
r4477 | theeth | 2005-05-22 14:01:12 +0200 (Sun, 22 May 2005) | 2 lines

Local constraint uses center mode again. This fixes a bug in the tracker, wasn't really a "bug", but anyway...

------------------------------------------------------------------------
r4476 | ianwill | 2005-05-22 09:22:34 +0200 (Sun, 22 May 2005) | 12 lines

BPython bug fixes:

- bug #2033 reported by Ken Hughes: Vertices of mesh parented to lattice is scaled incorrectly:
https://projects.blender.org/tracker/?func=detail&aid=2033&group_id=9&atid=125

- bug #2211 reported by German Alonso Tamayo (servivo): Add a vertex to a mesh with groups using a script and then edit that mesh hangs blender:
https://projects.blender.org/tracker/index.php?func=detail&aid=2211&group_id=9&atid=125

(#2211's hang was already fixed with previous commit, but this way should work better)

- doc updates (Ken reported missing info about Render slinks, thanks).

------------------------------------------------------------------------
r4475 | sgefant | 2005-05-22 03:21:01 +0200 (Sun, 22 May 2005) | 4 lines

late night commit:
* build blenderplayer on linux/ppc
* fix 'make clean' for darwin

------------------------------------------------------------------------
r4474 | lukep | 2005-05-21 23:52:58 +0200 (Sat, 21 May 2005) | 9 lines

fix for bug #2588

objects with circular dependancies where not handled correctly
when sorting bases.

the fix is actually a workaround only and may evolve later

also add changes to xcode project for recent commits

------------------------------------------------------------------------
r4473 | eeshlo | 2005-05-21 22:49:24 +0200 (Sat, 21 May 2005) | 46 lines

Part one of the final yafray commit.

Totally updated blender shader in yafray, hopefully better matches blender
results. Though ramps are now partially supported, they cannot work in all
cases properly in yafray, and in fact are a bit useless probably as far as
yafray is concerned. In fact the 'Result' ramp input mode is not supported
at all, because it works on the total lighting result, and in a yafray
shader this is not possible since it works per light.
Also, since Blender and Yafray have totally different lighting models,
the 'Energy' ramp input mode also won't generally give the same results
as in Blender, since it works with light energy and in yafray this is
different from Blender. Even worse, the only ramp shader that will work
properly when used with GI is the 'Normal' ramp input mode.
As contradictory as this might seem, at various stages of the GI process,
lighting is not known, so properly getting light (ramp 'energy' mode)
or shader information (ramp 'shader' mode, which depends on lighting)
is not possible. Which all means that when the ramp is in 'energy' or
'shader' mode and using it with GI enabled, yafray can only 'see' the
underlying material color, not the ramps, which results in a mix of the
ramp colors (from direct light) with the material color (from indirect light).
There is currently nothing that can be done about that.

The supported texture mapping modes now includes raymir as well, transparency
as far as texturing is concerned now works similar to Blender, with the
exception that you still have to set alpha to a low value to get any
transparency effect at all in yafray. So the Blender 'filter' parameter
now also will affect yafray.
All texture blending modes are now supported (same for ramps).
'Translu' and 'Amb' texture modulation are not supported.
Texture interpolation can be switched off ('InterPol' switch in blender
image texture button section).

All Blender brdf models (aka 'shaders' for the Blender users) are now supported,
and again, you won't necessarily get the same results as in Blender.
The reason for that is partially of course the lighting differences, but also,
not all Blender 'shader' implementations are  actually correct, and copying
those errors just for the sake of matching Blender results doesn't really
seem like a good idea...
Though this really is only the case for WardIso, less so for Minnaert and
Blinn, which in yafray are more or less (but not totally) a copy of
the Blender code.
In any case, in practice those differences might not be
too noticable at all (I hope).

Continue to the next part...

------------------------------------------------------------------------
r4472 | stiv | 2005-05-21 22:05:28 +0200 (Sat, 21 May 2005) | 3 lines

Matrix_Determinant() was returning its input arg rather than
the determinant.  bugfix via LetterRip.

------------------------------------------------------------------------
r4471 | stiv | 2005-05-21 06:20:57 +0200 (Sat, 21 May 2005) | 2 lines

Ipo doc update.  Contributed by Ken Hughes.

------------------------------------------------------------------------
r4470 | ascotan | 2005-05-20 22:52:47 +0200 (Fri, 20 May 2005) | 2 lines

O_BINARY define for unix compilers

------------------------------------------------------------------------
r4469 | ton | 2005-05-20 22:44:33 +0200 (Fri, 20 May 2005) | 5 lines

Bug fix #2591

Dependency issue... could solve it by calling an extra where_is_object
when a displaylist is made for vertex-parenting on deformed objects.

------------------------------------------------------------------------
r4468 | ascotan | 2005-05-20 21:28:04 +0200 (Fri, 20 May 2005) | 50 lines

-rewrite and bugfixes
----------------------------------
Here's my changelog:
-fixed Rand() so that it doesn't seed everytime and should generate better random numbers
- changed a few error return types to something more appropriate
- clean up of uninitialized variables & removal of unneccessary objects
- NMesh returns wrapped vectors now
- World returns wrapped matrices now
- Object.getEuler() and Object.getBoundingBox() return Wrapped data when data is present
- Object.getMatrix() returns wrapped data if it's worldspace, 'localspace' returns a new matrix
- Vector, Euler, Mat, Quat, call all now internally wrap object without destroying internal datablocks
- Removed memory allocation (unneeded) from all methods
- Vector's resize methods are only applicable to new vectors not wrapped data.
- Matrix(), Quat(), Euler(), Vector() now accepts ANY sequence list, including tuples, list, or a self object to copy - matrices accept multiple sequences
- Fixed Slerp() so that it now works correctly values are clamped between 0 and 1
- Euler.rotate does internal rotation now
- Slice assignment now works better for all types
- Vector * Vector and Quat * Quat are defined and return the DOT product
- Mat * Vec and Vec * Mat are defined now
- Moved #includes to .c file from headers. Also fixed prototypes in mathutils
- Added new helper functions for incref'ing to genutils
- Major cleanup of header files includes - include Mathutils.h for access to math types
- matrix.toQuat() and .toEuler() now fixed take appropriate matrix sizes
- Matrix() with no parameters now returns an identity matrix by default not a zero matrix
- printf() now prints with 6 digits instead of 4
- printf() now prints output with object descriptor
- Matrices now support [x][y] assignment (e.g. matrix[x][y] = 5.4)
- Matrix[index] = value now expectes a sequence not an integer. This will now set a ROW of the matrix through a sequence.  index cannot go above the row size of the matrix.
- slice operations on matrices work with sequences now (rows of the matrix) example:  mymatrix[0:2] returns a list of 2 wrapped vectors with access to the matrix data.
- slice assignment will no longer modify the data if the assignment operation fails
- fixed error in matrix * scalar multiplication
- euler.toMatrix(), toQuat() no longer causes "creep" from repeated use
- Wrapped data will generate wrapped objects when toEuler(), toQuat(), toMatrix() is used
- Quats can be created with angle/axis, axis/angle
- 4x4 matrices can be multiplied by 3D vectors (by popular demand :))
- vec *quat / quat * vec is now defined
- vec.magnitude alias for vec.length
- all self, internal methods return a pointer to self now so you can do print vector.internalmethod() or vector.internalmethod().nextmethod() (no more print matrix.inverse() returning 'none')
- these methods have been deprecated (still functioning but suggested to use the corrected functionality):
  * CopyVec() - replaced by Vector() functionality
  * CopyMat() - replaced by Matrix() functionality
  * CopyQuat() - replace by Quaternion() functionality
  * CopyEuler() - replaced by Euler() functionality
  * RotateEuler() - replaced by Euler.rotate() funtionality
  * MatMultVec() - replaced by matrix * vector
  * VecMultMat() - replaced by vector * matrix
-  New struct containers references to python object data or internally allocated blender data for wrapping
* Explaination here:  math structs now function as a 'simple wrapper' or a 'py_object' - data that is created on the fly will now be a 'py_object' with its memory managed by python
*    otherwise if the data is returned by blender's G.main then the math object is a 'simple wrapper' and data can be accessed directly from the struct just like other python objects.

------------------------------------------------------------------------
r4467 | ton | 2005-05-20 20:16:18 +0200 (Fri, 20 May 2005) | 8 lines

Manipulators now draw on location of optimal subsurf vertices. Looks
nicer, but be aware that these locations are 'virtual', derived from
the actual Mesh Cage vertices you don't see.

Normal transform (and actual transform with Manipulators) remains on
the original vertices, which also shows with dashed line towards pivot
on scale/rotate.

------------------------------------------------------------------------
r4466 | ton | 2005-05-20 18:01:36 +0200 (Fri, 20 May 2005) | 4 lines

Different drawing code for darkened part in TimeLine window, to indicate
the start/end frame. It uses a GL_BLEND which doesnt work nice for darker
backdrops. Now it uses ThemeColorShade() which does it OK.

------------------------------------------------------------------------
r4465 | jesterking | 2005-05-20 14:58:07 +0200 (Fri, 20 May 2005) | 2 lines

* Check path for NULL. Fixes potential crash on non-win32 systems at startup, but also future passes of null. (previous commit fixed 'wrong' func, which has same potential crash situation).

------------------------------------------------------------------------
r4464 | jesterking | 2005-05-20 14:37:48 +0200 (Fri, 20 May 2005) | 2 lines

* Check path for NULL. Fixes potential crash on non-win32 systems at startup, but also future passes of null.

------------------------------------------------------------------------
r4463 | jesterking | 2005-05-20 14:18:11 +0200 (Fri, 20 May 2005) | 9 lines

This commit fixes two related issues:
1:
* when a blendfile gets loaded, paths are corrected with OS specific slashes (see blender.c)
* made available BLI_char_switch(char *string, char from, char to)
* made available BLI_clean(char *string);. This function should be called whenever you're doing path stuff, so paths are correctly saved, and thus avoiding other path functions stopping to work

2:
* relative paths work now in sequencer too (due to slash mess that didn't work all too well).

------------------------------------------------------------------------
r4462 | stiv | 2005-05-20 14:16:54 +0200 (Fri, 20 May 2005) | 3 lines

corrections and missing ipo channels for Camera, World, Material
and Lamp.  Contributions from Ken Hughes.

------------------------------------------------------------------------
r4461 | ton | 2005-05-20 14:15:50 +0200 (Fri, 20 May 2005) | 7 lines

Two softbody thingies;

- fixed error in option "Enable Goal" which didn't work with Vertex groups
  assigned

- renamed some buttons & fixed tooltips. A doc online will be there soon

------------------------------------------------------------------------
r4460 | ton | 2005-05-20 12:27:11 +0200 (Fri, 20 May 2005) | 5 lines

Fix for TimeLine "Play" with sound-sync set.
Added check for audiostream_pos() - which should return current frame
corrected for audio playback - to be at least 1 frame larger than current
frame. It caused in some situations even a backwards playback!

------------------------------------------------------------------------
r4459 | ton | 2005-05-20 11:35:33 +0200 (Fri, 20 May 2005) | 4 lines

Bugfix reported by Basse; adding a new strip in Sequencer didn't initialize
the sequence "Mult" value properly when the "Properties" Panel was open.
That resulted in images displaying black...

------------------------------------------------------------------------
r4458 | ianwill | 2005-05-20 07:14:03 +0200 (Fri, 20 May 2005) | 50 lines

BPython: bug fixes / patches from trackers

(excuse me for not committing earlier)

Patches by Ken Hughes (thanks for all bug fixes!):

1) Setting a scene's MapOld and MapNew values in python does nothing:
bug #2566 submitted by Dominic Agoro-Ombaka (dmao):
https://projects.blender.org/tracker/?func=detail&aid=2566&group_id=9&atid=125
patch #2571:
https://projects.blender.org/tracker/index.php?func=detail&aid=2571&group_id=9&atid=127

2) Calling the file selector after setting the progress bar crashes Blender:
bug #2418 submitted by Alessandro Garosi (brandano):
https://projects.blender.org/tracker/?func=detail&aid=2418&group_id=9&atid=125
patch #2568:
https://projects.blender.org/tracker/index.php?func=detail&aid=2568&group_id=9&atid=127

3) Menus always generate same event when canceled:
bug #2429 submitted by Campbell Barton:
https://projects.blender.org/tracker/?func=detail&aid=2429&group_id=9&atid=125
patch #2579:
https://projects.blender.org/tracker/?func=detail&aid=2579&group_id=9&atid=127

4) Add a vertex to a mesh with groups using a script and then edit that mesh hangs blender:
bug #2211 reported by German Alonso Tamayo (servivo):
https://projects.blender.org/tracker/index.php?func=detail&aid=2211&group_id=9&atid=125
patch #2580
#https://projects.blender.org/tracker/index.php?func=detail&aid=2580&group_id=9&atid=127

About bug #2033, I'm still looking at it, committing a small fix now.

=====

Patches by Campbell Barton (thanks!):

#2482: BGL pydocs fix broken links
https://projects.blender.org/tracker/index.php?func=detail&aid=2482&group_id=9&atid=127

#2426: Large text in Draw.Text and Draw.GetStreingWidth
https://projects.blender.org/tracker/index.php?func=detail&aid=2462&group_id=9&atid=127

#2521: scene.getActiveObject()
https://projects.blender.org/tracker/index.php?func=detail&aid=2521&group_id=9&atid=127

#2523: NMesh.GetNames()
https://projects.blender.org/tracker/index.php?func=detail&aid=2523&group_id=9&atid=127

- docs also updated

------------------------------------------------------------------------
r4457 | ton | 2005-05-19 22:57:48 +0200 (Thu, 19 May 2005) | 3 lines

Pressing ESC now stops 'animated UI playback' too. It doesnt conflict with
ESC for other situations... so might work well after all.

------------------------------------------------------------------------
r4456 | ton | 2005-05-19 21:58:53 +0200 (Thu, 19 May 2005) | 8 lines

Made TimeLine "Play" also play sound and synchronize with it. Added the
feature with a header button.

Works like audio playback on ALT+A, meaning you have to add the audio
strips in Sequencer. The 'only sync' option for ALT+A doesn't work here.

Also: fixed crash on ESC in audio playback in sequencer.

------------------------------------------------------------------------
r4455 | ton | 2005-05-19 17:47:42 +0200 (Thu, 19 May 2005) | 8 lines

Back to the Future bugfix!

When a new space (window) type gets added, older Blender binaries will
crash on reading files saved with such spaces. This breaks the so nice
upward compility on files...  With addition of SpaceTime I got an occasion
to verify & fix that. If Blender detects a non-existant space it will
degrade it to a 3D window now. Tested on a full 2.34 compile.

------------------------------------------------------------------------
r4454 | ton | 2005-05-19 10:27:38 +0200 (Thu, 19 May 2005) | 9 lines

I've decided to not include this Zblur implementation in the release.
It fails in all criticial tests, not to mention the confusing UI even. :)

Code is still there, just the options for zblur are removed now, and
Output Panel restored.

Belongs actually as an effect in the Sequencer, nice todo for a next
release.

------------------------------------------------------------------------
r4453 | theeth | 2005-05-19 06:33:38 +0200 (Thu, 19 May 2005) | 4 lines

Fix MMB code again. (I'm near the "set an accronym for that so it's shorter to time next time" phase...)

This time, probably for good since I've really tested it through and the z factor used there never gives overflow and is correctly calibrated with both the real zfac and the zoom level.

------------------------------------------------------------------------
r4452 | stiv | 2005-05-19 05:15:49 +0200 (Thu, 19 May 2005) | 3 lines

text editor patch by antihc3.
fixes 'Memoryblock free: attempt to free NULL pointer' errors.

------------------------------------------------------------------------
r4451 | pidhash | 2005-05-19 01:54:56 +0200 (Thu, 19 May 2005) | 3 lines

fixed it sending null to MEM_freeN
.

------------------------------------------------------------------------
r4450 | pidhash | 2005-05-19 01:53:00 +0200 (Thu, 19 May 2005) | 3 lines

fix a little mem leak
.

------------------------------------------------------------------------
r4449 | ton | 2005-05-18 22:32:32 +0200 (Wed, 18 May 2005) | 6 lines

On start vertexpaint of subsurf, the initialized vertex colors were wrong.
It tries to use the shaded colors, but these are from the subsurfed mesh.

Didn't feel like hacking here, so for this case colors are initialized
as black.

------------------------------------------------------------------------
r4448 | ton | 2005-05-18 22:06:23 +0200 (Wed, 18 May 2005) | 6 lines

Bug fix #2585

Separate All Loose Parts crashed with subsurf on. Just copied the fix
from Separate itself, by Daniel last week.
Yes, its a nasty piece of code... :)

------------------------------------------------------------------------
r4447 | ton | 2005-05-18 22:00:39 +0200 (Wed, 18 May 2005) | 5 lines

Bug #2583

Pulldown Mesh in editmode didn't allow to set Proportional edit. Also the
name 'Sphere' for proportional mode was missing.

------------------------------------------------------------------------
r4446 | ton | 2005-05-18 21:50:39 +0200 (Wed, 18 May 2005) | 10 lines

Bug #2582

This combo didnt render OK:
1 Armature has Empties parented to Bones
2 Curve has these Empties as Hooks
3 Mesh is deformed with this Curve

Could be solved with calling makeDispList() earlier on, and it seems like
the depgraph already does a great job here. :)

------------------------------------------------------------------------
r4445 | ton | 2005-05-18 12:43:08 +0200 (Wed, 18 May 2005) | 5 lines

Bug fix #2577

With rendering a border, the amount of scanlines can be 'odd', which
wasn't checked for correctly on OSA thread render.

------------------------------------------------------------------------
r4444 | ton | 2005-05-18 12:27:52 +0200 (Wed, 18 May 2005) | 6 lines

Bugfix #2576

The ALT+F "Beauty Fill" could crash, for example on the already legendary
monkey head CTRL+T,J test. :)
Found out there was a necessary check for edge/face selection flags missing

------------------------------------------------------------------------
r4443 | ton | 2005-05-18 11:19:16 +0200 (Wed, 18 May 2005) | 6 lines

Bug fix #2578

My fix to make subloops more idling was not needed in the case for
drawing the knife cut 'mouse trail'. This uses a proper qread() which
has a wait builtin for events.

------------------------------------------------------------------------
r4442 | theeth | 2005-05-18 08:13:50 +0200 (Wed, 18 May 2005) | 4 lines

Fixing MMB selection code for good.

zfac needed to be inverted to be used properly. Works for extreme close ups and extreme zoom out.

------------------------------------------------------------------------
r4441 | stiv | 2005-05-17 22:23:06 +0200 (Tue, 17 May 2005) | 3 lines

add python 2.4ish macro Py_RETURN_NONE.
does incref and returns Py_None.

------------------------------------------------------------------------
r4440 | ianwill | 2005-05-17 21:56:29 +0200 (Tue, 17 May 2005) | 10 lines

No cvs freeze msg yet, so thought I could go with a last minute new script:

Scripts:
- license info for camera changer (thanks Tom for pointing), made it GPL since it's stricter and so can be "downgraded" w/o problems, but emailed the author to confirm and if necessary will fix before release.

- adding Discombobulator by Evan J. Rosky (in Mesh menu):
http://evan.nerdsofparadise.com/programs/discombobulator/index.html

This is a fun script to play with, giving quite interesting results.  It's good for that "high-tech" look in buildings, spaceships and walls.  Thanks Evan for contributing it.  GUI should have further updates in the future, like an added "horizontal" layout.  (Note: ignore mention in its online docs of a problem with edit mode, the script was fixed.)

------------------------------------------------------------------------
r4439 | ianwill | 2005-05-17 09:17:52 +0200 (Tue, 17 May 2005) | 14 lines

BPython:
- fixing bug reported by Paolo Colombo: space handler slinks set for a 3d view were not set when the area got maximized;
- Blender.Object: added object.isSB() method to know if an object is a soft body (has ob->soft != NULL).  Used in fixfromarmature.py.

Scripts:
- updates: batch_name_edit (Campbell), fixfromarmature (JMS);
- additions:
   X3D exporter by Bart;
   Envelope Suite by Jonas Petersen;
   BVH 2 Armature by Jean-Baptiste Perin;
   Camera Changer by Regis Montoya (3R);
   Interactive Console by Campbell (ideasman).
- tiny updates in other scripts.

------------------------------------------------------------------------
r4438 | theeth | 2005-05-17 01:23:19 +0200 (Tue, 17 May 2005) | 5 lines

Unitialized variable in resize function.
Was caused by a previous commit, disabling Element Center mode for edit mode, since it's not working properly yet.

Fixing bug #2558: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2558&group_id=9

------------------------------------------------------------------------
r4437 | ascotan | 2005-05-16 16:35:42 +0200 (Mon, 16 May 2005) | 2 lines

- updates to MSVC7 projectfiles for recent (and past) changes

------------------------------------------------------------------------
r4436 | theeth | 2005-05-16 10:25:49 +0200 (Mon, 16 May 2005) | 4 lines

Transform MMB code fixing Ton's last fix.

His fix was good, except that it switched to project_float instead of project_short, and that's not good because we're renormalizing the vector after that, which maximizes the float errors. Since it's scalling the axis anyway with the zfac method, it can use project_short safely (I tested it with the bug tracker file that triggered the fix in the first place).

------------------------------------------------------------------------
r4435 | theeth | 2005-05-16 06:26:40 +0200 (Mon, 16 May 2005) | 4 lines

Corrections on my last commit.

Sheesh, I missed "not" while copying the list and I forgot to bump the number variable to reflect the real number of keywords.

------------------------------------------------------------------------
r4434 | theeth | 2005-05-16 05:57:43 +0200 (Mon, 16 May 2005) | 6 lines

Corrected the python keywords list for syntax highlighting (it was missing "and" and "break").

Used the official list: http://docs.python.org/ref/keywords.html

While "as" is not a keyword, it is (should be) always used as such, so I've added it to the list too.

------------------------------------------------------------------------
r4433 | theeth | 2005-05-15 07:44:11 +0200 (Sun, 15 May 2005) | 6 lines

Fixing bug #2556: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2556&group_id=9

MEMSET was clearing the TransInfo struct after the constraint setup call has been made.

Temporary fix until the manipulator transform init is split off, like normal transform.

------------------------------------------------------------------------
r4432 | theeth | 2005-05-15 07:41:55 +0200 (Sun, 15 May 2005) | 2 lines

Variable declaration in the middle of some code. (MSVC complained, as it should)

------------------------------------------------------------------------
r4431 | lukep | 2005-05-14 13:28:53 +0200 (Sat, 14 May 2005) | 8 lines

fix for bug in timeline found by Ztonzy on Irc

when zooming in with frame enabled, partial of frame were drawn with
multiple same int labels. confusing if harmless.


Ton, can you check this fix is the proper one ?

------------------------------------------------------------------------
r4430 | theeth | 2005-05-14 02:38:34 +0200 (Sat, 14 May 2005) | 2 lines

Removing printf from previous commit

------------------------------------------------------------------------
r4429 | ton | 2005-05-13 18:18:01 +0200 (Fri, 13 May 2005) | 2 lines

New buttons image with syntax color icon

------------------------------------------------------------------------
r4428 | ton | 2005-05-13 18:11:28 +0200 (Fri, 13 May 2005) | 23 lines

TextEditor: syntax color support.

Patch provided by Ricki Myers. Works quite obvious, see Theme editor too!

Notes about the provided code;
- The default syntax colors were screaming! Toned it down to match the
  default dark on lightgrey background better.
- Added: initializing colors in saved themes (usiblender.c)
- The implementation of the button for this option was quite clumsy...
  Blender UI options services this a lot easier.
  (Same fixed for 'line numbers' option)
- Bracket matching now uses as color a mix of backdrop and the
  selected-text color. Noticed my texteditor did it too...

-> I really miss comments in code describing a little bit the thought
   process behind the code. Like a short introduction on this feature
   in the top of the drawtext.c, little remarks on new functions.
   ALso in patch tracker or the mailinglist no docs was mentioned?

-> drawtext.c now gets messy quickly... lack of overview, structure,
   and confusing mix of personal coding styles.
   For not-active supported code dangerous...

------------------------------------------------------------------------
r4427 | ton | 2005-05-13 16:10:34 +0200 (Fri, 13 May 2005) | 4 lines

Bug fix: Beauty Fill crashed on non-regular geometry. Pointers NULL...

Also: fixed tooltips for icon buttons for Transform Widgets

------------------------------------------------------------------------
r4426 | ton | 2005-05-13 15:06:20 +0200 (Fri, 13 May 2005) | 4 lines

Deform with Curves didn't take the 'tilt' value into account.
Note, the tilting only works for '3D' curves, and is accessible in
EditMode curve with TKEY.

------------------------------------------------------------------------
r4425 | theeth | 2005-05-13 12:20:10 +0200 (Fri, 13 May 2005) | 5 lines

Fix for bug #2201: Subdivide code not doing UV and VCol properly when not cutting in the middle (knife and loop cut)
http://projects.blender.org/tracker/index.php?func=detail&aid=2201&group_id=9&atid=125

I had to redo the uv/vcol splitting loop, merging triangles and quads code together for efficiency and cleanliness. Added a lots of comments too, so people more interested can look at that (nice ascii art too).

------------------------------------------------------------------------
r4424 | ton | 2005-05-13 12:07:14 +0200 (Fri, 13 May 2005) | 6 lines

Baking softbody: when 'frame mapping' is used, the baking process
should disable that, since animation systems remain in their own local
system time. Framemap is only for playback!

Not doing this caused corrupt baking, bug #2531 reported it.

------------------------------------------------------------------------
r4423 | ton | 2005-05-13 11:22:37 +0200 (Fri, 13 May 2005) | 13 lines

Three fixes in 1 commit. :)

- Bug #2530
  The MMB Transform constraint 'chooser' used projection code that didnt
  work when zoomed in extreme. Needed a correction to scale projected
  coordinate according zoomlevel.

- NKEY panel for objects: click on left/right side of scale button now
  goes with increments of 0.1 (was 1.0)

- Moving window edges in Screen: prevented top header from becoming too
  small due to grid-snapping. Was visible now with using Texture Font.

------------------------------------------------------------------------
r4422 | ton | 2005-05-12 22:06:30 +0200 (Thu, 12 May 2005) | 14 lines

Bug fix #2535

Armatures with > 100 bones can deliver a 'parent IK menu' that doesn't
fit on screen anymore. Fixed it with changes;

- when menu doesnt fit to right/left, it places it aligned to left hand
  of window
- when more than 8 collums in a menu exist, it makes collums 25 items
  instead of 20.

Also fixed for the popup menu on Bone parenting. On a 1280 screen we now
can have a menu with over 300 bones (even more when you zoom down the
buttons window a bit). Still not optimal, but at least it's less annoying.

------------------------------------------------------------------------
r4421 | ton | 2005-05-12 21:17:12 +0200 (Thu, 12 May 2005) | 16 lines

Fixed various errors with Blender allowing editing Library linked data.

CTRL+V on buttons
NKEY Panels
join mesh
join curve
editing buttons
boolean
vpaint
faceselect
Manipulator

Also; Transform() got in useless loop when you entered without anything
selected. Not sure why Martin recoded it this way... maybe as a first
step to handlerify it? For evil Python Aussie Bosses? :P

------------------------------------------------------------------------
r4420 | ton | 2005-05-12 19:24:47 +0200 (Thu, 12 May 2005) | 9 lines

Bug fix #2542

Fun, the error is in code committed by Kent Mein, in a patch provided by
Campbell, who also reported the bug. :)
There was a line that set ALL selected objects (on click) to become active,
in succession, in a loop... very bad.

Activating in Oops better be restricted to ctrl+click. Fixed!

------------------------------------------------------------------------
r4419 | ton | 2005-05-12 19:11:32 +0200 (Thu, 12 May 2005) | 7 lines

Bugfix #2541

Using as Pivot the "individual object centers" didn't do any rotation or
scaling in editmode. I think it was supposed to give some kind of
'connected' centers, for individual faces/edges rotate. That'll be some
more coding work to get to work. :)

------------------------------------------------------------------------
r4418 | ton | 2005-05-12 16:37:47 +0200 (Thu, 12 May 2005) | 4 lines

Bug fix #2533

Made face-looping code idling correctly (hotkey K in editmode)

------------------------------------------------------------------------
r4417 | ton | 2005-05-12 16:30:17 +0200 (Thu, 12 May 2005) | 5 lines

bugfix #2532

Grab Time marker didn't idle correctly... was not checking for correct
previous mousecoordinate.

------------------------------------------------------------------------
r4416 | ton | 2005-05-12 16:00:12 +0200 (Thu, 12 May 2005) | 8 lines

On "Add duplicate object" the softbody baking info wasn't freed.

Note: currently the 'baking' stores the entire animation system, which
makes further animation refining (or duplicating) useless for a Baked
SoftBody. You can even delete the entire anim system.
This can be presented as a feature too (saves slow armature stuff).
However, I might check on a 'relative' bake too.

------------------------------------------------------------------------
r4415 | broken | 2005-05-12 14:41:03 +0200 (Thu, 12 May 2005) | 4 lines

Argh. Sorry, committed some unrelated sequence stuff as well, which
this commit removes. I thought my bf tree was clean, but obviously
not. My bad.

------------------------------------------------------------------------
r4414 | broken | 2005-05-12 14:33:43 +0200 (Thu, 12 May 2005) | 2 lines

* Timeline should display frames by default, not seconds

------------------------------------------------------------------------
r4413 | stiv | 2005-05-12 07:45:13 +0200 (Thu, 12 May 2005) | 3 lines

bugfix: #2254 Curve.appendPoint() gives segfault in PySequence_Check().
Argument tuple not built correctly for CurNurb_appendPointToNurb().

------------------------------------------------------------------------
r4412 | jiri | 2005-05-11 23:50:19 +0200 (Wed, 11 May 2005) | 7 lines



- it was imposible to select one of two markers laying at the same frame ... this
   problem is solved now. Drawing of markers is little bit hackish, because it is
   neccessary to draw unselected markers at the first time (unselected marker can't
   hide selected marker ... visual information about selection would be lost)

------------------------------------------------------------------------
r4411 | ton | 2005-05-11 23:09:13 +0200 (Wed, 11 May 2005) | 4 lines

Another update on FTGL texture fonts drawing. Added the same floor() trick
to precisely align the glyphs to pixel coordinates as used in the Pixmap
version. It now looks fully identical here.

------------------------------------------------------------------------
r4410 | ton | 2005-05-11 22:51:11 +0200 (Wed, 11 May 2005) | 4 lines

Removed frontbuffer updating in FileWindow. Not only fixes annoyances on
graphics cards (ATIs mostly) but solves drawing errors of hilites while
scrolling. Especially apparant in 'animated UI mode'.

------------------------------------------------------------------------
r4409 | ton | 2005-05-11 22:11:09 +0200 (Wed, 11 May 2005) | 2 lines

Icon image with pause.

------------------------------------------------------------------------
r4408 | ton | 2005-05-11 22:10:51 +0200 (Wed, 11 May 2005) | 2 lines

Correct "Pause" icon for timeline header.

------------------------------------------------------------------------
r4407 | ton | 2005-05-11 22:01:42 +0200 (Wed, 11 May 2005) | 27 lines

Animated UI for TimeLine "Play"

Using the Play button in timeline, now uses an event-driven system to
update the animation system and signal windows to redraw. Meaning the
full UI remains responsive!

Check the new Pulldown "Playback" to set which windows you like to see
updated. Same settings is used for LMB 'dragging' frames in Timeline.

Implementation notes;

- the Icon for 'Pause' (or stop) has to be made yet, I commit this from
  my laptop... all was coded during a 2 x 5 hour train ride to germany
- the anim playback system (ALT+A too) now uses correct "frames per
  second" as maximum speed. Buttons can be found in 3 places in the UI,
  also added it as pulldown item
- The system works with 'screen handlers', which has been coded with
  using Python (networked) events or verse in mind too. A doc on that
  will follow.
- the buttons code has been made 'resistant' to animated UIs too,
  preventing flashing of hilites.
- All subloops (like transform) stop playback, with exception of MMB
  view manipulations.

As extra; found tweak to make Textured AA fonts draw without distortion.
Looks perfect here on laptop now (like Pixmap fonts) and is 20x faster.

------------------------------------------------------------------------
r4406 | ton | 2005-05-11 21:56:42 +0200 (Wed, 11 May 2005) | 2 lines

Testing commit... i keep getting errors. sorry!

------------------------------------------------------------------------
r4405 | theeth | 2005-05-10 06:21:11 +0200 (Tue, 10 May 2005) | 12 lines

Found some time do sanitize the big Transform call:

- Splited off the event treatment into a fonction of its own
- Splited off the initialisation phase into a function of its own (will have to do it for the manipulator function too)
	Calling transform now works like this:
		initTransform(mode, context)
		- possible post init calls, constraints mostly
		Transform()
		- eventually, the postTransform function, so that Transform is just a simple big loop which could in the end just be tied in the blender event system instead.
- Added a state variable in TransInfo to replace the ret_val local variable. Possible values are: TRANS_RUNNING, TRANS_CANCEL, TRANS_CONFIRM
- Tied MMB and the hotkey select for constraint together, so selecting an axis with MMB and pressing the axis key after that goes to local mode on that axis. Much less confusing.

------------------------------------------------------------------------
r4404 | eeshlo | 2005-05-10 04:00:13 +0200 (Tue, 10 May 2005) | 6 lines

Forgot part of the vertexcolor endian fix in xml export code.

Fixed an as of yet unreported bug, linked data objects which have materials
linked to object instead of data have to be exported as normal, they cannot
be instanciated, otherwise they will all share the same material.

------------------------------------------------------------------------
r4403 | theeth | 2005-05-10 01:37:35 +0200 (Tue, 10 May 2005) | 5 lines

Fixed rotating, didn't take parent into account properly (hmmm, I'm sure this worked before).
That was bug #2516: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2516&group_id=9

Also turned back some changes Ton did to drawing object constraint lines. Explained the why in a longish comment.

------------------------------------------------------------------------
r4402 | stiv | 2005-05-09 16:11:00 +0200 (Mon, 09 May 2005) | 4 lines

epy_docgen.sh: change directory name for generated doc to BPY_API_237
  for upcoming release.
Font.py:  fix a couple of warnings about mismatched header underlines.

------------------------------------------------------------------------
r4401 | pidhash | 2005-05-09 15:40:00 +0200 (Mon, 09 May 2005) | 3 lines

fixed a syntax error line 45
.

------------------------------------------------------------------------
r4400 | ton | 2005-05-09 14:59:05 +0200 (Mon, 09 May 2005) | 2 lines

New buttons image, with fix for slightly offset icons in top row.

------------------------------------------------------------------------
r4399 | pidhash | 2005-05-09 13:43:14 +0200 (Mon, 09 May 2005) | 3 lines

doc about Text3d.Font object
.

------------------------------------------------------------------------
r4398 | theeth | 2005-05-09 11:53:55 +0200 (Mon, 09 May 2005) | 4 lines

MSVC 6.0 Projectfile changes for the timeline in BL_src.dsp (adding new files mostly).

BPY_python.dsp need some changes too (adding Font.c and Font.h) but I've got other changes in there that I can't commit, so someone else will have to update.

------------------------------------------------------------------------
r4397 | eeshlo | 2005-05-09 05:46:21 +0200 (Mon, 09 May 2005) | 8 lines

bugfix #2494:
parented linked data lamps made the export crash.

fix for two bugs reported by Diego Pino, an endian issue with vertex colors,
and the plugin code didn't export multiple colorbands correctly.

Updated the ortho camera export code for the new Blender ortho camera model.

------------------------------------------------------------------------
r4396 | ianwill | 2005-05-08 23:20:34 +0200 (Sun, 08 May 2005) | 54 lines

BPython:

- Made Blender.event var (previously only used by script links) hold ascii value -- where it applies -- of current event during events callback registered with Draw.Register(gui, events, button_events).  Useful for gui scripts like Campbell's Python console. No problem using this var to hold the value, since in gui scripts it was not used (always None).

- Updated Window and Window.Theme with new theme vars and the Time space.

- Script links:

-- Added "Render" event for script links (runs twice, second time as "PostEvent", for clean-up actions). Now FrameChanged links don't run when a single pic is rendered.

-- Added "Enable Script Links" button in the script buttons tab.  Now this bit gets saved in .blends along with the rest of G.f, so users can define per .blend if they are on or off by default.  "blender -y" also disables all slinks as happened before with OnLoad ones only.

-- Other small changes in the script buttons tab:
  When a link is added (button "new"), it becomes the active one for the window, no need to press a button to reach it.
  Also, a pupmenu showing all available texts is shown when "new" is pressed, so users can choose a text w/o having to type.  Cancel the popup to leave the string button empty (link exists, but has no script assigned).  A pulldown would be better UI-wise, but it's kinda weird to show both scripts and normal texts (Blender doesn't differentiate them) in a script links pulldown.  With a popup we can show only texts ending in ".py" (not done in this commit, need opinions) and if the script has no or another extension, case of many in old and current .blend's, there's still the string box for writing its name.

-- Implemented Ton's space handler script links:

Right now only for the 3d View,  but it's trivial to add for others.  There are two types: EVENT, to receive 3d View events from a chosen window and DRAW, to draw on the window.  Ton's idea was to give scripts a controlled way to integrate better within Blender.

Here's how it works:

- scripts must have a proper header, like:
# SPACEHANDLER.VIEW3D.EVENT

and then they are shown in 3d View's View menu, "Space Handler Scripts" submenu.  Check (mark, click on it) a script to make it active.

EVENT handlers should consult the Blender.event var to get the current event, which can be compared with values from the Draw module:

import Blender
from Blender import Draw

evt = Blender.event
if evt == Draw.AKEY:
  print "a"
elif evt == Draw.LEFTMOUSE:
  print "left mouse button"
else:
  return # ignore, pass event back to Blender

Blender.event = None # tell Blender not to process itself the event

DRAW handlers are free to draw to their owner 3D View. OpenGL attributes and modelview and projection matrices are pushed before running the handler and poped when it finishes.

To communicate between EVENT and DRAW handler scripts we have the Blender.Registry module, as always.

Still need to code some nice example, which should also serve to test properly space handlers.  Simple tests went fine.

- doc updates about the additions.

=======

Note: the UI part of the space handlers and script links is of course open for changes, I just tried to make it understandable.  Probably we won't use the scriptlinks icon for "None Available" (check 3d View -> View -> Space Handler Scripts), though it hints at what space handlers are.  The tooltips may not be accepted either, since other menus don't use them.  Opinions welcomed.

------------------------------------------------------------------------
r4395 | ton | 2005-05-08 22:44:59 +0200 (Sun, 08 May 2005) | 6 lines

Bug fix #2528

Transform on "ipo keys" gave crash on ESC, due to non initialized pointer.
(Martin; that idea to not calloc new data... grumble!)
Note; that's another Margarita for Randall, at the Figueroa pool. :)

------------------------------------------------------------------------
r4394 | ton | 2005-05-08 22:10:59 +0200 (Sun, 08 May 2005) | 19 lines

Timline goodies;

- Mkey while ALT+A inserts markers.
  Note for Matt; You forgot to check for 'val'. The delay in tuho I brought
  back to max 1 frame. Delays are common in realtime gfx apps, the picture
  you see is old, and its possible you press a key while next frame is
  already drawing, and then it has to increase the frame value still... :)

- RMB escapes from anim playback

- on activate object, Timeline redraws too

- Added keyline drawing for Material Ipos. The CTRL+Page keys work with it.

Softbody:

- Renamed buttons to call "Spring constant" now "Stiff(ness)" and the
  "Friction" became "Damping".

------------------------------------------------------------------------
r4393 | ton | 2005-05-08 14:00:28 +0200 (Sun, 08 May 2005) | 12 lines

Another Transform todo: correct Undo names for using Transform.

Martin; I've added calls like:
	BIF_TransformSetUndo("Add Duplicate");
In advance of calling transform itself, to indicate that this is the
string name to be used for Undo, and also has to be done on ESC.
To make that possible I had to add a memset() to zero the global struct
TransInfo. Nicely done with if(Trans.mode==TRANS_INIT)

Not sure how this relates to setting constraints in advance... I always
found it tricky to work a non-initalized global struct. :)

------------------------------------------------------------------------
r4392 | ton | 2005-05-08 13:24:46 +0200 (Sun, 08 May 2005) | 17 lines

UI goodies & cleanup

- TimeLine: Marker grabbing works now. Use GKEY or select+drag, as usual
  Holding CTRL will step with 1 second (corrected for ntsc dudes yes!)
  Also added this in header pulldown

- Time values and Time grid draw fixed for Seconds display. It used to
  draw steps of 2/5/10/20/50/100 etc. frames. Now does steps in seconds.
  Again corrected for "Frames/Sec" value.

- "Frames/Sec" button redraws TimeLine, Secquencer, etc

- Bug fixed in editing Theme for TimeLine (was editing Image Select...)

- Added Grid color to Theme choices for Ipo, TimeLine, Sequencer, NLA,
  Action, Sound. Was missing!

------------------------------------------------------------------------
r4391 | ton | 2005-05-08 10:16:43 +0200 (Sun, 08 May 2005) | 7 lines

Added: new Pivot option, "Around active object".
Works nice quick to rotate a group of Objects around a defined center,
without hassle with the 3d cursor. Especially for the 3D Manipulator.

In EditMode/PoseMode this option falls back to "Centroid", as does the
"Individual centers" option already.

------------------------------------------------------------------------
r4390 | ton | 2005-05-07 23:04:55 +0200 (Sat, 07 May 2005) | 9 lines

Fix for negative scaling & Mirror menu in Object mode (CTRL+M)
Hope Martin likes this simple hack. :)

Also; added flag in constraint to denote whether its local or not. That
way its possible to:

- prevent local scale and rotate on multiple objects to change own position
- draw constraint lines cleaner

------------------------------------------------------------------------
r4389 | ton | 2005-05-07 22:15:54 +0200 (Sat, 07 May 2005) | 4 lines

Dang, flipped a zero and one!
Error in commit of 5 hours ago... normal alignment didnt work OK for the
case a face is selected.

------------------------------------------------------------------------
r4388 | ton | 2005-05-07 17:50:09 +0200 (Sat, 07 May 2005) | 15 lines

Patch from Tom Musgrove to bypass extrude popup on singular selections...
Implementation had some issues though, since:

a) Blender has no stats available that tells amount of selected edges
b) Bypassing the popup should be 100% accurate
b) Once you do that, the popup should actually only show possible
   choices as well.

So! I've added a G.totedge and G.totedgesel, also being printed in the
info header. Using this variable the extrude popups could be limited too.

Also: made 'normal alignment' for edge-only selections work when the
normal wasn't pointing OK. Now it aligns the Z axis with the edge itself
Exact algorithm for choosing a 'normal' and 'plane' still is weak.

------------------------------------------------------------------------
r4387 | ton | 2005-05-07 14:31:43 +0200 (Sat, 07 May 2005) | 8 lines

Added two UI level warnings on using Softbody;

- On leaving editmode, it deleted the Baked result automatically. Since
  that's an invisible and destructive ction, I've inserted an "OK?" menu
  here for it.
- Particle Deflectors themselves cannot be a Softbody (or viceversa).
  Added a LABEL button to denote this when a user tries to set that.

------------------------------------------------------------------------
r4386 | ton | 2005-05-07 13:13:37 +0200 (Sat, 07 May 2005) | 6 lines

Commit of 2 weeks ago to correctly find normals for extrusion had a typo...
started loop with "->last" instead of "->first".
This caused old faces that should be deleted on extrude to remain there.

Thanks Jean-Luc for finding it!

------------------------------------------------------------------------
r4385 | lukep | 2005-05-07 01:27:06 +0200 (Sat, 07 May 2005) | 2 lines

updated project for new files ( python font and sofbody forces stuff)

------------------------------------------------------------------------
r4384 | jesterking | 2005-05-06 15:37:18 +0200 (Fri, 06 May 2005) | 5 lines

* integrate bFTGL with Scons
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed)

Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.

------------------------------------------------------------------------
r4383 | ton | 2005-05-06 14:12:26 +0200 (Fri, 06 May 2005) | 6 lines

Fix for crash in Mesh EditMode "Join triangles" (JKEY). Found & code
provided by Campbell Barton, thanks mate! :)

Note; this tool gives quickly bad results... also errors printed in the
give_quad_verts call. Who likes to attack this!

------------------------------------------------------------------------
r4382 | ton | 2005-05-05 22:56:05 +0200 (Thu, 05 May 2005) | 5 lines

Bug fix #2512

When joining Meshes, with the active on having TFaces, and other Meshes
not, the new TFaces were created but not initialized.

------------------------------------------------------------------------
r4381 | ton | 2005-05-05 22:39:50 +0200 (Thu, 05 May 2005) | 4 lines

Bug fix #2515

Bumped up ipo limit for material "normal" mapping to 25.0 max.

------------------------------------------------------------------------
r4380 | ton | 2005-05-05 22:36:14 +0200 (Thu, 05 May 2005) | 4 lines

Bug fix #2414

Quat XYZW was mixed up in NKey panel for Armature... now OK.

------------------------------------------------------------------------
r4379 | ton | 2005-05-05 22:07:22 +0200 (Thu, 05 May 2005) | 3 lines

Replaced the round() call with floor(0.5 + ).
Apparently MSVC doesnt have it...

------------------------------------------------------------------------
r4378 | ton | 2005-05-05 21:37:22 +0200 (Thu, 05 May 2005) | 6 lines

Finetuning Timeline;

- Added Ckey for 'center view around current frame'.
- Completed View pulldown menu with remainder of options.
- prevented negative scaled views when start > end frame

------------------------------------------------------------------------
r4377 | ton | 2005-05-05 20:31:39 +0200 (Thu, 05 May 2005) | 7 lines

Two little issues for Timeline window;

- Using Arrowkeys to change frames didn't give proper redraw
- Option "Record" now tied to the User-preset "Auto key insert". It is
  no user preset anymore even, I thought to leave a button in the User-
  presets for the time being though...

------------------------------------------------------------------------
r4376 | ton | 2005-05-05 19:20:13 +0200 (Thu, 05 May 2005) | 2 lines

Button image changed for new space type. Had to move some icons away...

------------------------------------------------------------------------
r4375 | ton | 2005-05-05 19:19:21 +0200 (Thu, 05 May 2005) | 41 lines

Added the new Timeline Window, copied from Tuhopuu, coded by Matt Ebb.

Main change is that it's an own Space type now, not part of the Audio
window... the audio window should restrict to own options. This way
functionality is nicely separated.

Since it's the first time I added a new space (since long!) I've made an
extensive tutorial as well. You can find that here:
http://www.blender3d.org/cms/Adding_new_Space_Window.557.0.html

Notes for using timewindow;

- Add time markers with MKey
- CTRL+M gives option to name Marker
- Markers cannot be moved yet...
- Pageup-Pagedown keys moves current frame to next-prev Marker
- Xkey removes Markers

- If an object has Ipos or an Action, it draws key lines
- CTRL+Pageup-Pagedown moves current frame to next-prev Key

- Press S or E to set start/end frame for playback

Notes about the implementation in Tuhopuu:

- Add new Marker now selects new, deselects others
- Selecting Marker didn't work like elsewhere in Blender, on click it
  should deselect all, except the indicated Marker. Not when holding SHIFT
  of course
- Not exported functions are static now
- Removed unused defines (MARKER_NONE NEXT_AVAIL)
- Drawing order was confusing, doing too many matrix calls
- Removed not needed scrollbar, added new function to draw time values.
  (Has advantage the MMB scroll works not confusing on a scrollbar)
- Added proper support for 'frame mapping'
- The string button (name Marker) had a bug (checked str[64] while str
  was only 64 long)
- String button itself didn't allow "OK on enter"
- Made frame buttons in header larger, the arrows overlapped
- Removed support for negative frame values, that won't work so simple!

------------------------------------------------------------------------
r4374 | pidhash | 2005-05-05 07:55:29 +0200 (Thu, 05 May 2005) | 3 lines

erased headers dirent.h and unistd.h
.

------------------------------------------------------------------------
r4373 | stiv | 2005-05-05 06:46:06 +0200 (Thu, 05 May 2005) | 3 lines

print a msg about which Python version we are using
before the evil "'import site' failed" msg appears.

------------------------------------------------------------------------
r4372 | pidhash | 2005-05-05 01:18:10 +0200 (Thu, 05 May 2005) | 3 lines

added Font.c
.

------------------------------------------------------------------------
r4371 | pidhash | 2005-05-05 00:52:14 +0200 (Thu, 05 May 2005) | 2 lines

export function to Text3d use

------------------------------------------------------------------------
r4370 | pidhash | 2005-05-04 23:31:51 +0200 (Wed, 04 May 2005) | 3 lines

added load font support to Text3d submodule
.

------------------------------------------------------------------------
r4369 | pidhash | 2005-05-04 23:28:16 +0200 (Wed, 04 May 2005) | 3 lines

define BPy_Font
.

------------------------------------------------------------------------
r4368 | pidhash | 2005-05-04 23:26:29 +0200 (Wed, 04 May 2005) | 3 lines

it wrapping font stuff like font file info
.

------------------------------------------------------------------------
r4367 | ton | 2005-05-04 17:13:25 +0200 (Wed, 04 May 2005) | 3 lines

On click-release for Manipulator handles, without moving mouse, it will
stick to transform() until another mouse press (or ESC etc)

------------------------------------------------------------------------
r4366 | ton | 2005-05-04 14:53:35 +0200 (Wed, 04 May 2005) | 11 lines

Another big cleanup, thanks to transform recode. Could do this stage
because Martin recoded the Mirror().

- removed old globals like 'tottrans' or 'centre' or 'centroid' as used
  by old transform
- removed a lot of code from editobject.c
- moved all transform related code to transform_conversions.c
  (Note for Martin; sorry that's a mess... it now has all the weird
   functions for finding posemode dependencies... thats for the depgraph
   phase to remove)

------------------------------------------------------------------------
r4365 | ton | 2005-05-04 10:46:14 +0200 (Wed, 04 May 2005) | 7 lines

Removed redundant ghostwindow->commandqual veriable, which caused to hang
on using Apple command keys. For example; starting a TextEdit from the
Dock, Command+Q, caused Blender to treat all LMB events as a RMB.

The commandqual variable was replaced with normal 'qualifier' key already
long ago, should have been removed back then.

------------------------------------------------------------------------
r4364 | theeth | 2005-05-04 02:37:11 +0200 (Wed, 04 May 2005) | 7 lines

Mirror function reuses new Transform (basicly calls the split off ElementResize function on the data).
Updated the menus to work with that too.

Of course, this doesn't work in object mode right now, because resize I haven't fixed negative resize (yet).

Again, this would have easily benefited of a stand alone init and post Transform functions. When I have time... :|

------------------------------------------------------------------------
r4363 | ton | 2005-05-03 13:45:05 +0200 (Tue, 03 May 2005) | 5 lines

Bugfix #2506

Sky type "Paper" didn't give proper dx/dy texture frequencey in OSA render.
Remainder of render recoding of last january.

------------------------------------------------------------------------
r4362 | ton | 2005-05-03 13:05:00 +0200 (Tue, 03 May 2005) | 2 lines

Removed old NO_FROZEN hack

------------------------------------------------------------------------
r4361 | ton | 2005-05-03 12:55:03 +0200 (Tue, 03 May 2005) | 2 lines

Latest button image. Note: this is a png 24 bits

------------------------------------------------------------------------
r4360 | ton | 2005-05-03 12:54:42 +0200 (Tue, 03 May 2005) | 25 lines

UI cleanup work;

Proportional edit:

- Proportional mode added to header as button/menu. Including new option
  to have only connected geometry influenced.
- Added icons for proportional & proportional modes
- Make proportional edit data part of Scene, so all gets saved.
  The Global flag G_PROPORTIONAL was removed
- Made sure #defines get used properly, also tweaked order for proportional
  so it starts with regular 'smooth' by default.
- Use ALT+O in editmode to switch to new proportional 'connected' mode

Other UI stuff:

- in EditMode, the layer buttons get hidden... the amount of icons in
  3d header grows to fast. :)
- made less ugly icons for the Manipulators. Still can be better.
- Added alpha-filter for pre-processing Icon-image, giving nicer display
  of icon-antialising on dark or bright backdrops
- disabled Manipulators when in editmode, and current layers don't show
  the edited data.
- Added the value used to define Normal size (editmode draw) in Scene too,
  so it gets saved.

------------------------------------------------------------------------
r4359 | ton | 2005-05-02 21:47:50 +0200 (Mon, 02 May 2005) | 2 lines

Removed linewidth 2 from constraintlines

------------------------------------------------------------------------
r4358 | ton | 2005-05-02 20:47:00 +0200 (Mon, 02 May 2005) | 8 lines

Bug fix #2507

While doing a viewmove/rotate, the queue was not emptied nor read...
so after a while the entire queue gets full, not registering a modifier
key-release anymore. Fixed :)

Reported error confirmed in windows and OSX.

------------------------------------------------------------------------
r4357 | bjornmose | 2005-05-02 20:16:19 +0200 (Mon, 02 May 2005) | 3 lines

added DNA_object_force.h to DNA_makesdna project
to make it look nicer in MSVC6

------------------------------------------------------------------------
r4356 | ton | 2005-05-02 16:50:56 +0200 (Mon, 02 May 2005) | 5 lines

Accidentally a ceilf() crept in.

(Note; sorting this out once, for all platforms, could be worth the work.
float math can be faster in most cpus, no?)

------------------------------------------------------------------------
r4355 | ton | 2005-05-02 15:28:13 +0200 (Mon, 02 May 2005) | 24 lines

Added baking for softbodies.

Works as follows;
- press the 'show bake settings' button (no space left... :)
- define start/end frame for bake, and an interval step.
  The baked result interpolates nicely (Bspline, 4 keys) so in general a
  step size of 2 or 3 still gives OK results.
- Press "BAKE". This will do a full animation + playback. Press ESC if it
  you don't want it.

Once Baked, the BAKE button becomes a FREE BAKE. As reminder the softbody
buttons get blocked with error() menu.

This saves OK in a file. Renders any frame, including fields and moblur.
You can also set a "Timeoffs" for the softbody. And yes, this should be
in the NLA once... :)

NOTE! With this commit, files saved with the old (first commit) version by
Jens Ole won't read the settings back... he stored all sofbody variables in
Object, which was moved to a new struct when I did my first commit on SB
(over a month ago)

Also note that I moved particle deflecting & softbody to a new include.

------------------------------------------------------------------------
r4354 | ton | 2005-05-02 14:16:18 +0200 (Mon, 02 May 2005) | 4 lines

Removed DerivedMesh and DispList creation from countall().
Apart from the not very structured way countall() is called, it should not
make displists then, since the order of calculations then get spoiled.

------------------------------------------------------------------------
r4353 | theeth | 2005-05-02 04:18:13 +0200 (Mon, 02 May 2005) | 6 lines

Local axis constraint external call. Had to do it in a very hackish way which highlight a design problem in the code. To solve it (and would solve other problems too), we'd have to split off the initialisation function. Not terribly hard to do but I'm overwhelmed with work...

Push/Pull had a problem with constraints enabling/disabling. Fixed

Restablished infinite line for constraint draw (when not using manipulator) as discussed in meeting.

------------------------------------------------------------------------
r4352 | bjornmose | 2005-05-01 23:40:24 +0200 (Sun, 01 May 2005) | 3 lines

put depsgraph_private.h to BKE_blenkernel.dsp /include files
looks 'claener' to me

------------------------------------------------------------------------
r4351 | ton | 2005-05-01 21:51:54 +0200 (Sun, 01 May 2005) | 2 lines

Removed 2 totally antique docs... was stuffed with automake hints.

------------------------------------------------------------------------
r4350 | ton | 2005-05-01 19:11:48 +0200 (Sun, 01 May 2005) | 5 lines

Error in combo of Spothalo + normal halo over sky, with OSA + gammacorrected
adding. :)

Missing gamma correction...

------------------------------------------------------------------------
r4349 | stiv | 2005-05-01 01:29:10 +0200 (Sun, 01 May 2005) | 2 lines

fix 'no newline at end of file' warnings

------------------------------------------------------------------------
r4348 | stiv | 2005-05-01 01:24:48 +0200 (Sun, 01 May 2005) | 2 lines

changed empty #elif to #else

------------------------------------------------------------------------
r4347 | bjornmose | 2005-05-01 00:52:00 +0200 (Sun, 01 May 2005) | 10 lines

Updated MSVC6 projects to handle depgraph (added some files)
fixed some *includes*
with
#ifdef WIN32
#elif
#include <sys/time.h>
#endif
looks like MSVC6 does not need that include .. donno if cygwin builds will
so thats why i kept that *ifdef overhead*

------------------------------------------------------------------------
r4346 | ton | 2005-04-30 23:27:05 +0200 (Sat, 30 Apr 2005) | 6 lines

Dependency graph patch, provided by Jean-Luc Peuriere.

Works like a charm... well it now replaces the old base-sorting hack. :)
Next stage will be to define how to further integrate it. Plus some
minor code cleanups... static/internal functions versus external, etc.

------------------------------------------------------------------------
r4345 | ton | 2005-04-30 23:19:19 +0200 (Sat, 30 Apr 2005) | 13 lines

Removal of old transform() <sob> part one.

- added in new transform the (not so useful but yah) old feature that
  does scrollwheel zoom during transform
- had to change transform call arguments for uv-window/sequence/oops to
  match new transform for mouse callback

TODO (for martin?)

- pulldown menu support to call with local axes compliant as for pressing
  it with hotkey
- mirrormenu() still uses old transform stuff...

------------------------------------------------------------------------
r4344 | hos | 2005-04-30 23:06:54 +0200 (Sat, 30 Apr 2005) | 2 lines

Moved sinclude for user-def.mk

------------------------------------------------------------------------
r4343 | ton | 2005-04-30 22:18:46 +0200 (Sat, 30 Apr 2005) | 4 lines

Error in the clipping plane for drawing rotate-widget.
On zoom out or zoom in, this clipping went more narrow or wider... should
be fixed.

------------------------------------------------------------------------
r4342 | stiv | 2005-04-30 21:30:35 +0200 (Sat, 30 Apr 2005) | 8 lines

New methods for Image module:
.getPixel( x, y ) returns float list of [r, g, b, a] for pixel
.getMaxXY()  returns image size as float list [x, y]

Contributed by Austin Benesh (mchs3d).  Thanks!

also ran code thru indent.

------------------------------------------------------------------------
r4341 | hos | 2005-04-30 19:33:20 +0200 (Sat, 30 Apr 2005) | 3 lines

Allow make to find user-def.mk even when compiling in subdirectories
using the 'mke' trick.

------------------------------------------------------------------------
r4340 | hos | 2005-04-30 19:28:38 +0200 (Sat, 30 Apr 2005) | 6 lines

Weird, make on OS X needs an 'export' for CPPFLAGS to make value
persist when building subdirectories. I wonder why other platforms
don't need this?

Fixes the openal unresolved symbol issue with NAN_NO_KETSJI.

------------------------------------------------------------------------
r4339 | ton | 2005-04-30 13:29:05 +0200 (Sat, 30 Apr 2005) | 5 lines

Bug #2497

The CTRL+LeftMouse Lasso option was accidentally also invoked in Image
Window. Wasn't supposed to work anywhere but in 3d window.

------------------------------------------------------------------------
r4338 | ton | 2005-04-30 11:57:35 +0200 (Sat, 30 Apr 2005) | 6 lines

- file sizes > 4 GB were not correctly displayed in the file window. It
  still was using int for calculus... made it using 64 bits ints.

- The "disk free" indicator in the header didn't work for OSX, due to
  a missing #ifdef __APPLE_

------------------------------------------------------------------------
r4337 | ton | 2005-04-30 11:55:37 +0200 (Sat, 30 Apr 2005) | 5 lines

Manipulator with "normal alignment" now aligns to edges too (if no faces
selected) and to vertex normals. Only issue is that vertexnormals are not
updated on each editing command (it's a bit too much overhead...) so use
a TAB+TAB for now to enforce proper vertexnormals.

------------------------------------------------------------------------
r4336 | ton | 2005-04-30 11:17:10 +0200 (Sat, 30 Apr 2005) | 3 lines

Uncommitted fix in NAN_NO_KETSJI compile, which seems to work only for
Makefile usage... the linking error might be makefile related then.

------------------------------------------------------------------------
r4335 | ton | 2005-04-29 20:43:17 +0200 (Fri, 29 Apr 2005) | 6 lines

More stats-junk stuff!

Added in Nkey panel (transform properties) option to show in editmode
at choice the global or local coordinate values.
Same option works for the "Tech draw" options. :)

------------------------------------------------------------------------
r4334 | ton | 2005-04-29 19:36:30 +0200 (Fri, 29 Apr 2005) | 6 lines

Compile with NAN_NO_KETSJI kept giving me errors with OpenAL.

   undefined reference to SND_OpenALDevice::SND_OpenALDevice

I hacked c++ code in the dummy function wich worked! Now test it! :)

------------------------------------------------------------------------
r4333 | ton | 2005-04-29 10:18:41 +0200 (Fri, 29 Apr 2005) | 12 lines

Two fixes in one commit.

- The ortho render recode had a weak method to calculate the Z value of the
  render coordinate (shi.co[2]). Worked OK for normal render, but not in
  unified, giving big errors in Ortho Unfied render.
  Solved with proper math, using face equation a*x+b*y+c*y=d. Dunno why I
  didn't do it in first place. :)

- Bug fix #2493. Edge render gave much different result for Ortho. This
  was due to overflows in the integer math filtering zbuffer values.
  Cleaned it op properly, preventing any integer overflow now.

------------------------------------------------------------------------
r4332 | ton | 2005-04-28 21:29:54 +0200 (Thu, 28 Apr 2005) | 5 lines

Additional fix for malloc/MEM_mallocN issues in files code. Previous patch
left out a couple of strings, causing MEM_freeN() errors.

Patch provided by Anrea Weikert

------------------------------------------------------------------------
r4331 | ton | 2005-04-28 20:46:35 +0200 (Thu, 28 Apr 2005) | 4 lines

Made "Centre" in mesh editmode listen to the "Around" setting, so it can
now use centroid as well (instead of only bounbox-centre)
It doesn't do "cursor" though... it's centering for object center, right?

------------------------------------------------------------------------
r4330 | ton | 2005-04-28 19:53:14 +0200 (Thu, 28 Apr 2005) | 3 lines

Made circle select listen to the event queue nicely, so it doesn't keep
selecting after releasing a mouse button.

------------------------------------------------------------------------
r4329 | ton | 2005-04-28 19:04:08 +0200 (Thu, 28 Apr 2005) | 4 lines

Added menu in header for orientation of manipulator widgets.
Also slightly tweaked threshold for drawing text in menu buttons. The text
was clipped just too quick.

------------------------------------------------------------------------
r4328 | ton | 2005-04-28 17:41:09 +0200 (Thu, 28 Apr 2005) | 5 lines

To please the stats-junkies: the "tech stat" drawing now displays all
values that change during transform().
For the rest drawing sticks to actual selection, making the view quite
less cluttered. Hope this gets approval. :)

------------------------------------------------------------------------
r4327 | stiv | 2005-04-28 17:41:06 +0200 (Thu, 28 Apr 2005) | 6 lines

Add bracket matching to text editor.
#2437 from the Patch Tracker.
Contributed by Ricki Myers (themyers).  Thanks!

Highlight color is set in UserPref theme colors.

------------------------------------------------------------------------
r4326 | ton | 2005-04-28 16:41:43 +0200 (Thu, 28 Apr 2005) | 3 lines

Added idling with BIF_wait_for_statechange() in loop doing 'screen edge'
moving. Might fix issue reported by Campbell Barton, on low performance.

------------------------------------------------------------------------
r4325 | sirdude | 2005-04-28 16:37:15 +0200 (Thu, 28 Apr 2005) | 13 lines



A couple more simple gcc4.X warnings fixed.

softbody.c I removed an unused var.
text.c added return values to 2 return statements that didn't have anything.
Makefile added $(FIX_STUBS_WARNINGS) to CFLAGS for the stub.
source/blender/src/editface.c  fixed up int vs unsigned int stuff
source/blender/src/resources.c had two vars declared as unsigned char *
and then inputs to them were cast as char * so updated the casts.

Kent

------------------------------------------------------------------------
r4324 | ton | 2005-04-28 16:09:20 +0200 (Thu, 28 Apr 2005) | 7 lines

Restored traditional Turntable for view rotation, and without the error
of previous code which slanted after a while.
Patch provided by John Aughey, thanks!

(John will send me the additional diff for a correction when going from
trackball to turntable)

------------------------------------------------------------------------
r4323 | hos | 2005-04-28 15:03:39 +0200 (Thu, 28 Apr 2005) | 2 lines

ima_ibuf_is_nul() now needs a second arg, fixed.

------------------------------------------------------------------------
r4322 | ton | 2005-04-28 11:57:21 +0200 (Thu, 28 Apr 2005) | 5 lines

Fix for reported (thanks Jens Ole!) error in rendering UV map textures.
Caused by making threadsafe envmap render...

Commit in convertblenderscene.c is just replacing constant with define.

------------------------------------------------------------------------
r4321 | sirdude | 2005-04-27 13:52:50 +0200 (Wed, 27 Apr 2005) | 23 lines




Bunch of gcc 4.0 warning fixes.

source/creator/creator.c
	changed ifdef's around fpe_handler to match when its actually used.

intern/SoundSystem/intern/SND_AudioDevice.cpp
	Changed: SND_SoundObject* oldobject = oldobject = pIdObject->GetSoundObject();
	to: SND_SoundObject* oldobject = pIdObject->GetSoundObject();

intern/SoundSystem/openal/SND_OpenALDevice.cpp
	removed unused var.

source/blender/blenkernel/intern/mball.c
	initalized a couple of vars that might have been used uninitalized.

The rest were changing types to match, most of them were something like
was short * should have been unsigned short *.

Kent

------------------------------------------------------------------------
r4320 | ton | 2005-04-27 12:08:37 +0200 (Wed, 27 Apr 2005) | 11 lines

Bug fix #2483

Wrong referencing of Materials created when importing DXF caused crashes.
Note for the person who coded it: the use of Blender internals (database)
is quite confusing... most of exotic.c isn't really OK code to reuse
from.

There's also a lot of redundant code there... with many chunks adding
objects or mesh data being copied completely. This can be structured much
better! :)

------------------------------------------------------------------------
r4319 | ton | 2005-04-27 10:52:11 +0200 (Wed, 27 Apr 2005) | 3 lines

Fixed CTRL modifier for rotation widget drawing.
Also fixes bug #2481

------------------------------------------------------------------------
r4318 | ton | 2005-04-25 22:43:28 +0200 (Mon, 25 Apr 2005) | 2 lines

Forgot include for previous commit

------------------------------------------------------------------------
r4317 | guitargeek | 2005-04-25 22:42:50 +0200 (Mon, 25 Apr 2005) | 2 lines

Fix #2472  for rotate edges. Somewhere along the line edge h flags were being wiped out. This addition now saves those flags and restores them

------------------------------------------------------------------------
r4316 | ton | 2005-04-25 22:36:17 +0200 (Mon, 25 Apr 2005) | 6 lines

Small fix for envmap rendering + threads... not sure if it fixes linux and
windows for it... will be tested!

Fix was that the envmap cube side images (6) were stored in tex->ima, which
is shared data by other thread.

------------------------------------------------------------------------
r4315 | ton | 2005-04-25 10:30:49 +0200 (Mon, 25 Apr 2005) | 12 lines

Built in an escape from sbObjectStep() if transform() is used. Has to be
done for lattices... these keep calling this during transform, causing
the lattice itself and its children (if soft) to remain static on same
position.

Real solution has to be 2-fold:
- store deformed lattice points in Lattice, as a "DispList"
- usage of proper depgraph :)

There's also the idea to keep simulating softbody during a transform, to
give feedback on what softbody does... later.

------------------------------------------------------------------------
r4314 | ton | 2005-04-24 23:38:19 +0200 (Sun, 24 Apr 2005) | 8 lines

Bug fix #2469

Apparently DXF allows layers to be read too... this went wrong in 2 ways;

- object->lay was not equal to base->lay
- if DXF has layer info, but not readable, it set object->lay to 1 instead
  of using 'current layer'.

------------------------------------------------------------------------
r4313 | bjornmose | 2005-04-24 22:51:47 +0200 (Sun, 24 Apr 2005) | 6 lines

cleaned up parameter list for SoftBodyDetectCollision(...)
SoftBodyDetectCollision() is handeling the case
'user wants to prevent self intersection by declaring SB object a deflection target'
ahh .. yeah .. i can see the bug reports on that
(me shrugs .. never promised that to work)

------------------------------------------------------------------------
r4312 | ton | 2005-04-24 21:50:07 +0200 (Sun, 24 Apr 2005) | 6 lines

Bug #2467

For non-uniform scaled + rotated objects, the normal aligned Manipulator
got deformed (on multiple selected faces) or pointed wrong. Needed the
famous Transpose of Inverted Matrix trick here.

------------------------------------------------------------------------
r4311 | zuster | 2005-04-24 21:32:04 +0200 (Sun, 24 Apr 2005) | 3 lines

 - EXPP_addScriptLink called wrong error function (I bet the compiler
   warned about this...)

------------------------------------------------------------------------
r4310 | stiv | 2005-04-24 21:27:14 +0200 (Sun, 24 Apr 2005) | 3 lines

fix overlooked compiler warning.  sheesh.
update contributor names.

------------------------------------------------------------------------
r4309 | ton | 2005-04-24 21:08:14 +0200 (Sun, 24 Apr 2005) | 2 lines

Sigh! Left in debug print... :)

------------------------------------------------------------------------
r4308 | stiv | 2005-04-24 21:05:56 +0200 (Sun, 24 Apr 2005) | 2 lines

Crucial part of last commit:  new Ipo methods

------------------------------------------------------------------------
r4307 | stiv | 2005-04-24 21:03:39 +0200 (Sun, 24 Apr 2005) | 6 lines

New IPO methods.
Ipo.delCurve( curve_name ) deletes named curve from IPO.
Ipocurve.delBezier( int ) deletes point at index from Ipocurve.

Contributed by Ken Hughes (khughes).  Thanks!

------------------------------------------------------------------------
r4306 | ton | 2005-04-24 20:09:54 +0200 (Sun, 24 Apr 2005) | 5 lines

Adapted Nvidia hack for OSX; it checks for the gl string more narrow, to
also include othe 6800 card types. (reported in tracker)

Still no real clue if this is OK for release... stupid driver bugs!

------------------------------------------------------------------------
r4305 | ton | 2005-04-24 15:22:24 +0200 (Sun, 24 Apr 2005) | 9 lines

Reflecting the discussions on Transform Manipulators...

Here you can see the notes and pictures:
http://www.blender3d.org/cms/Manipulator_Widgets.548.0.html

The alternative rotate widgets are still under rt=2 and rt=3.

Still enough work todo here, but hope it's a good step forward!

------------------------------------------------------------------------
r4304 | blendix | 2005-04-24 13:57:23 +0200 (Sun, 24 Apr 2005) | 8 lines



Make view translation and zooming 'smooth' in the uv editor. Power-of-two
zoom levels can be found in the View > View Navigation menu. Also Ctrl+MMB
zooming was added.

Added the E-key, LSCM unwrap popup back again.

------------------------------------------------------------------------
r4303 | theeth | 2005-04-24 03:18:13 +0200 (Sun, 24 Apr 2005) | 7 lines

Toying a bit with MMB behavior:
MMB click with no constraint selects a constraint right away (the axis selector doesn't flash on screen)
MMB click with a constraint removes the constraint
MMB click-drag in both case (with and without a constraint) uses the axis selector.

stopConstraint didn't remove the CON_SELECT flag, so cancelling transform while selecting a constraint and then reentering transform was funny. Fixed

------------------------------------------------------------------------
r4302 | lukep | 2005-04-24 01:24:31 +0200 (Sun, 24 Apr 2005) | 2 lines

update to xcode for game engine and zblur

------------------------------------------------------------------------
r4301 | theeth | 2005-04-24 00:53:50 +0200 (Sun, 24 Apr 2005) | 6 lines

MSVC 6.0 Projectfile changes for transform_conversions.c

Didn't get any diff with cvs, had to use an evil switcheroo technique and then it worked.

MSVC 6.0 users should be able to compile out of the box now.

------------------------------------------------------------------------
r4300 | theeth | 2005-04-24 00:45:34 +0200 (Sun, 24 Apr 2005) | 6 lines

Replaced powf to (float)pow in zblur.c. Was giving problems with MSVC (the rest of the code base uses pow too).

MSVC 6.0 Projectfile changes for zblur and new files in ketsji.

Also adding BL_src projectfile to the commit, apparently it's not up to date with transform_conversions.c but I have it ok here and don't get any diffs.

------------------------------------------------------------------------
r4299 | ton | 2005-04-23 23:06:28 +0200 (Sat, 23 Apr 2005) | 3 lines

Ack, accidentally had testing drawing code committed, that shows the zsplit
in red color. Disabled!

------------------------------------------------------------------------
r4298 | ton | 2005-04-23 22:49:23 +0200 (Sat, 23 Apr 2005) | 30 lines

The zblur plugin (aka as DoF) integrated in render. Compared to patch
submitted by Alexander, changes/improvements are:

- Moved to new Panel in Scene buttons "Post Effects". Together with other
  postprocessing options, such as Edge render. It is also not called DoF,
  this because that's a bit pretending too much then. It's a zblur still!
- Made it render Alpha as well
- Made it use and deliver float buffers
- Huge cleanup of zblur.c code, was very messy. It was alling things in render
  code without need even (win matrices, transform faces, etc)
- Fixed errors in using Z values (zbuffer is signed int)
- Removed very weird gamma corrections for front/back half
- Tweaked gaussian table, allow variable 'Sigma' to be set for gauss curve
- Didn't copy 'auto focus' yet. Use of this is very limited, and gives
  false expectations, nor works for rendering anims with deamons well.

Main issue remains: it's not a very advanced feature... I still doubt
very much if this deserves to be released. Spent 2 days on trying to get
the key issues solved, with not much results.

- gauss filter code has weird side effects on large blur size
- having unsharp (blurred) in front also blurs what's around in back.
  only blurred in back with sharp in front works a little bit
- severe aliasing errors... also due the code splitting in 2 halves
- doesnt work with unified yet
- won't work for halos, spot halos or transparant faces

Anyhoo... It was promised to be committed, so now artists can play with it.
Who knows it's useful after all, or some fixes can be implemented. :)

------------------------------------------------------------------------
r4297 | kester | 2005-04-23 14:25:21 +0200 (Sat, 23 Apr 2005) | 2 lines

Added the docs & use Python booleans for physics reinstance.

------------------------------------------------------------------------
r4296 | kester | 2005-04-23 14:03:37 +0200 (Sat, 23 Apr 2005) | 2 lines

Support reinstancing the physics mesh from Python.

------------------------------------------------------------------------
r4295 | kester | 2005-04-23 13:54:21 +0200 (Sat, 23 Apr 2005) | 2 lines

Fix lighting in game engine

------------------------------------------------------------------------
r4294 | kester | 2005-04-23 13:36:44 +0200 (Sat, 23 Apr 2005) | 2 lines

Added bone parent relationship.

------------------------------------------------------------------------
r4293 | blendix | 2005-04-23 03:36:08 +0200 (Sat, 23 Apr 2005) | 17 lines



Merging over some uv editor tweaks from tuhopuu:

- Moved Weld/Align out of transform code, now it's a menu.
- Removed confirmation popups for LSCM unwrapping in the uv editor, didn't
  make sense anymore now we have undo.
- Extended select linked, to work more like it does in edit mode:
	- L: select linked uvs/faces under the mouse
	- Shift+L: select/deselect linked uvs/faces under the mouse
	(like shift+click for selecting single uvs/faces)
	- Ctrl+L: how L worked before
- More accurate uv selection: when selecting one uv from a group of uvs that
  are in the same position, it now selects the uv belonging to the face the
  mouse is over, instead of a random uv.
- 'View Selected' (numpad .-key) for both faceselect mode and the uv editor.

------------------------------------------------------------------------
r4292 | desoto | 2005-04-22 23:58:37 +0200 (Fri, 22 Apr 2005) | 5 lines

Commented out DOF code that did not have a home yet because it broke
compile. Normally it would probably be best just to wait till Ton committed
but its still pretty early and I didn't want people complaining all night.
Hope its no problem!

------------------------------------------------------------------------
r4291 | ton | 2005-04-22 23:31:52 +0200 (Fri, 22 Apr 2005) | 2 lines

The do_versions() for new shaders always initialized the values...

------------------------------------------------------------------------
r4290 | blendix | 2005-04-22 22:16:02 +0200 (Fri, 22 Apr 2005) | 5 lines



Add "View Selected" (numpad .-key) for faceselect mode and the uv editor.
Also includes some 2d vector operations (subtract, dot, normalise).

------------------------------------------------------------------------
r4289 | guitargeek | 2005-04-22 20:05:56 +0200 (Fri, 22 Apr 2005) | 2 lines

Matched the default value for rkerror limit in bpy

------------------------------------------------------------------------
r4288 | bjornmose | 2005-04-22 19:58:39 +0200 (Fri, 22 Apr 2005) | 2 lines

gave softbody runge kutta error limit a nice default value

------------------------------------------------------------------------
r4287 | stiv | 2005-04-22 18:17:27 +0200 (Fri, 22 Apr 2005) | 3 lines

removed extra qualifier `SumoPHYCallbackBridge::' that was choking
gcc in c89 mode.  More potential breakage.

------------------------------------------------------------------------
r4286 | stiv | 2005-04-22 18:10:46 +0200 (Fri, 22 Apr 2005) | 3 lines

Fix previous fix by moving some code around to try to please everyone.
or at least their compilers.  let me know what breaks.

------------------------------------------------------------------------
r4285 | stiv | 2005-04-22 04:27:16 +0200 (Fri, 22 Apr 2005) | 2 lines

fix compiler error with gcc 4.0.  mismatched declarations.

------------------------------------------------------------------------
r4284 | stiv | 2005-04-22 04:17:20 +0200 (Fri, 22 Apr 2005) | 3 lines

doc updates.  NMesn.transform( matrix, recalc_normals )
had description for recalc_normals backward.

------------------------------------------------------------------------
r4283 | theeth | 2005-04-22 03:14:15 +0200 (Fri, 22 Apr 2005) | 5 lines

Local axis constraints for pose mode. Added
Camera rotation fix (was off centered because it used persinv instead of viewinv. Now rotation center is always center screen in camera mode. (Still need to fix the helpline not showing)
Numinput constraint function was no good, didn't check if a constraint was even on... Fixed.
Rotation was missing constraint text in header print. Fixed.

------------------------------------------------------------------------
r4282 | ianwill | 2005-04-21 21:44:52 +0200 (Thu, 21 Apr 2005) | 7 lines

BPython:
- based on a request by Campbell (he also provided a patch for scene.Layer) access to layers was improved a little, keeping the old method (ob.Layers is a bitmask) and adding the nicer one (ob.layers is a list of ints).  Done for objects and scenes.  House-cleaning: .Layer was renamed to .Layers (actually just using strncmp instead of strcmp, so both work, same done for Window.ViewLayers).
- finally committing patch by Ken Hughes to let .clearScriptLinks() accept a parameter (list of strings) to clear only specified texts.
- doc updates and fixes (JMS reported a problem in nmesh.transform() example code).

Thanks all who contributed.

------------------------------------------------------------------------
r4281 | bjornmose | 2005-04-21 20:58:15 +0200 (Thu, 21 Apr 2005) | 7 lines

rescaled stregth of wind and forcefield effects by some magnitudes
wind 250
field 1000
yeah WARNING to all testers:
tighten belts
scale down wind and forcefield settings (IPOs)

------------------------------------------------------------------------
r4280 | ton | 2005-04-21 13:24:44 +0200 (Thu, 21 Apr 2005) | 2 lines

Testing, 1, 2, 3... (just added enter)

------------------------------------------------------------------------
r4279 | bjornmose | 2005-04-20 21:35:27 +0200 (Wed, 20 Apr 2005) | 2 lines

give some nice defaults for new SB deflectors

------------------------------------------------------------------------
r4278 | ton | 2005-04-20 18:55:04 +0200 (Wed, 20 Apr 2005) | 5 lines

Softbody: added "time" button, to control speed for wriggling. Low values
make it slower, higher values faster.

Monkey: accidentally got inverted normals for they eye again. :)

------------------------------------------------------------------------
r4277 | broken | 2005-04-20 10:26:22 +0200 (Wed, 20 Apr 2005) | 7 lines

* Brought over a 'mode' parameter to drawcircball to prevent
further loss of Hos' hair during tuhopuu merges.

This doesn't change any user functionality. 'Mode' can be
GL_LINE_LOOP for a circle outline (as it currently is), GL_POLYGON
for a filled circle, or whatever gl mode you like.

------------------------------------------------------------------------
r4276 | bjornmose | 2005-04-20 00:06:12 +0200 (Wed, 20 Apr 2005) | 7 lines

providing a minimalistic UI for SB vertex to face collision detection
in the particle interaction panel
"D"= "Amount of damping during softbody collision/intrusion"
"I"= "Inner face thickness" good value for unit cube == 0.2
"O"= "Outer face thickness" good value for unit cube == 0.02
still we can easily hide that before releasing

------------------------------------------------------------------------
r4275 | bjornmose | 2005-04-18 23:51:45 +0200 (Mon, 18 Apr 2005) | 20 lines


removed my SB hack from particle collision code
(which still can't really handle moving targets)
leaving 2 bug fixes
1. multiple objects need a reset on cache variable
2. quads always need to be handled as 2 triangles
(since they don't need to share a plane)

added a collision detecting function in effect.c for SB
( no need to be there, but i did not find a better place )
but should handle 'moving targets' up to 0.2 blender units/frame

well .. important info in this case:
collision
uses 'face normal' to decide if *intrusion* happend
uses 'damping' of collision target to slow down movement
when *intrusion* happend

+some more removing unneeded code in softbody.c

------------------------------------------------------------------------
r4274 | ton | 2005-04-18 21:36:34 +0200 (Mon, 18 Apr 2005) | 10 lines

Fixed several annoyances with halo render + unified render (bug 1989+2382)

- Maximum faces/halos per pixel was 500, which wasn't correctly applied in
  all cases, causing errors in AA
- Moved maximum up to 1000 now
- made halos become clipped away from filling in buffers when behind a
  solid face. That saves a lot of rendertime!

Unified remains weak with halos...

------------------------------------------------------------------------
r4273 | desoto | 2005-04-18 21:28:38 +0200 (Mon, 18 Apr 2005) | 5 lines

Uncommented a line in the FREE_WINDOWS section that appears to control the
detection of changes to dependencies. This should resolve issues with
Cygwin builds using makefiles which have bizarre behavior if 'make clean'
was not used before compile.

------------------------------------------------------------------------
r4272 | ton | 2005-04-18 18:06:37 +0200 (Mon, 18 Apr 2005) | 2 lines

On adding monkey primitive, the face centers were not calculated OK.

------------------------------------------------------------------------
r4271 | ton | 2005-04-18 17:55:52 +0200 (Mon, 18 Apr 2005) | 4 lines

Bug fix #2458

Without 3d window, using subsurf setting buttons crashed Blender.

------------------------------------------------------------------------
r4270 | ton | 2005-04-18 17:30:49 +0200 (Mon, 18 Apr 2005) | 4 lines

Little cleanup of eerie unified code for halos. Still got no clue what
was original idea of this implementation...
At least it's protected from crashing a bit more.

------------------------------------------------------------------------
r4269 | intrr | 2005-04-18 17:08:31 +0200 (Mon, 18 Apr 2005) | 5 lines



Fix crash with Unified Renderer on LMB in renderwindow. Ton needs to
provide Z-Buffer for Unified still :)

------------------------------------------------------------------------
r4268 | intrr | 2005-04-18 16:36:25 +0200 (Mon, 18 Apr 2005) | 4 lines



Oops, #included limits.h inside the wrong #ifdef.

------------------------------------------------------------------------
r4267 | intrr | 2005-04-18 15:56:19 +0200 (Mon, 18 Apr 2005) | 7 lines



Add a "Z:" display when pressing LMB in the renderwindow, which displays
the normalized Z-Buffer value of the corresponding pixel.

Useful for setting ZMin for DOF, see next mail to the list

------------------------------------------------------------------------
r4266 | kester | 2005-04-18 13:44:21 +0200 (Mon, 18 Apr 2005) | 19 lines

Patch: [ #2439 ] Makes objects react properly to deformations after a mesh replacement call.

from brian hayward (bthayward)

Detailed description:
 Currently, when an armature deformed object's mesh is replaced by the ReplaceMesh actuator, the new mesh fails to deform to the armature's movement.

 My patch fixes this by properly replacing the deform controller along with the mesh (when appropriete).

 For instance, if one had an animated character using any of the standard deformation techniques (armature, ipo, RVK, or AVK), that character's mesh would currently be prevented from changing mid-game. It could be replaced, but the new mesh would lack the controller which tells it how to deform. If one wanted to dynamiclly add a hat on top of the character's head, it would require storing a secondary prebuilt character (mesh, armature, logic, ect...) on another layer FOR EACH HAT the character could possibly wear, then swapping out the whole character when the hat change was desired. So if you had 4 possible hat/character combos, you would have 4 character meshes, 4 armatures, 4 sets of logic, and so on. I find this lack of flexibility to be unresonable.

 With my patch, one could accomplish the same thing mearly by making one version of the character in the main layer, and adding an invisible object atop the character's head (which is parented to the head bone). Then whenever it becomes desirable, one can replace the invisible object's mesh with the desirable hat's mesh, then make it visible. With my patch, the hat object would then continue to deform to the character's head regardless of which hat was currently being worn.

 *note 1*
 for armature/mesh deformations, the new mesh must have properly assigned vertex groups which match one or more of the bones of the target armature before the replaceMesh call is made. Otherwise the vertices won't react to the armature because they won't know how. (not sure if vertices can be scripted to change groups after the game has started)

 *note 2*
 The added processing time involved with replacing the object's deform controller is negligible.

------------------------------------------------------------------------
r4265 | ton | 2005-04-17 20:00:33 +0200 (Sun, 17 Apr 2005) | 5 lines

Replaced a bunch of malloc() calls with proper MEM_mallocN()
(and free() and calloc() of course)

Remainder malloc() calls need to be there for realloc().

------------------------------------------------------------------------
r4264 | ton | 2005-04-17 19:43:07 +0200 (Sun, 17 Apr 2005) | 10 lines

Patch submitted by Jorge Bernal (lordloki) and Jonathan Merritt.

This will add Minneart diffuse and WardIso specular to our shader menu.
Minneart gives nice control over darkness/brightness areas, the wardIso
over 'plastic' style sharp or fuzzy specular.

Webpage is being made with nice samples. Will be in release log.

Jorge: one change is in the do_versions, you inserted it on wrong location.

------------------------------------------------------------------------
r4263 | ton | 2005-04-17 17:50:52 +0200 (Sun, 17 Apr 2005) | 15 lines

Patch provided by Andrea Weikert (elubie):

With a few tests I have discovered that when quitting Blender the filelist
in SpaceFile doesn't get free'd.

storage.c:
I have replaced strdup for the relname member in BLI_builddir with BLI_strdup.
and malloc with MEM_mallocN for the string member in BLI_addstrings().

filesel.c:
Of course also had to replace free with MEM_freeN in freefilelist().

In freespacelist (space.c) I added call to freefilelist for the SPACE_FILE
space type.

------------------------------------------------------------------------
r4262 | stiv | 2005-04-17 16:37:40 +0200 (Sun, 17 Apr 2005) | 4 lines

More Curve Module features: access to the attributes flagU and flagV
in a  CurNurb object.
Contributed by Gergely Erdelyi (dyce).

------------------------------------------------------------------------
r4261 | stiv | 2005-04-17 15:48:16 +0200 (Sun, 17 Apr 2005) | 5 lines

New methods for Curve module:  getBevOb() and setBevOb()
Adds ability to set, clear and get bevel object for a Curve.
Contributed by Gergely Erdelyi (dyce).
Thanks!

------------------------------------------------------------------------
r4260 | ianwill | 2005-04-16 20:25:42 +0200 (Sat, 16 Apr 2005) | 8 lines

Updating build systems: folder release/bpydata/ moved to release/scripts/bpydata/

It seemed trivial enough, so I updated all systems (makefiles, xcode, scons, scons win installer), please complain if something went wrong.  Mostly it was just removing release/bpydata references, since the release/scripts dir is already worked on recursevely, handling dirs inside it.

For the scons nsi file writer script I had to write code for each new dir, but it can be recoded recursively, too (in fact joining all release stuff in a single dir tree with nothing else would be a good idea, making installation code simpler).  Since it's just python and I have a little more time now, I can help scons managers if they still need.

Thanks Campbell Barton for reporting.

------------------------------------------------------------------------
r4259 | intrr | 2005-04-16 18:56:06 +0200 (Sat, 16 Apr 2005) | 4 lines



copy_softbody() didn't check if object actually was softbody!

------------------------------------------------------------------------
r4258 | ton | 2005-04-16 17:51:44 +0200 (Sat, 16 Apr 2005) | 7 lines

Li'll feat request;

When curve objects have no front/back faces, the bevels were only drawn
for the outer part. Now it also makes interior bevels, so yo can
have a curve become a 'solid' ring easily.
Note: only works when you disable filling option "Front" and "Back".

------------------------------------------------------------------------
r4257 | guitargeek | 2005-04-16 17:33:38 +0200 (Sat, 16 Apr 2005) | 2 lines

The setup functions for SB and PI now initialize the vars to the defaults that are set in the UI when one of the panels are accessed. Current this happens whenever an SB or PI api function is called for the first time.

------------------------------------------------------------------------
r4256 | ton | 2005-04-16 17:06:02 +0200 (Sat, 16 Apr 2005) | 6 lines

More SoftBody stuff:

- after grab/duplicate the softbody didn't get a reset signal
- added 'copy properties' for softbody settings
- duplicate object didn't copy softbody yet

------------------------------------------------------------------------
r4255 | ton | 2005-04-16 16:01:49 +0200 (Sat, 16 Apr 2005) | 8 lines

Softbody:

- Added browsing for vertex group for "Goal" in SoftBody buttons.
- Means the default name "SOFTGOAL" isn't needed anymore
- temporally, on file read, the "SOFTGOAL" vertex group is set, if exists
- removing vertex group possible too
- changed softbody.c code to use this

------------------------------------------------------------------------
r4254 | ton | 2005-04-16 14:35:42 +0200 (Sat, 16 Apr 2005) | 3 lines

For the manipulator freaks; rotate widget with 'arcs' now displays the
transparant grey (ghosted) rotation where mouse click started.

------------------------------------------------------------------------
r4253 | ianwill | 2005-04-16 07:42:52 +0200 (Sat, 16 Apr 2005) | 2 lines

Scripts: missed removing this one (was updated by jms and renamed to unweld.py simply)

------------------------------------------------------------------------
r4252 | ianwill | 2005-04-16 07:25:42 +0200 (Sat, 16 Apr 2005) | 22 lines

Note: this commit includes new functionality to save and restore scripts configure options.  This is ongoing work, scripts still have to be updated to use this feature and more tests are needed, though many have been performed.  The new Scripts Config Editor script is the main part of this.  If anyone wants to check it, only the AC3D importer and exporter have already been updated to use it: simply open them (you can then cancel with ESC) to have the data created, then try the config editor.

Scripts:
- Thanks Jean-Michel Soler (jms) for updated versions of dispaint, fixfromarmature and unweld (also renamed to remove version part).
- Thanks Bart for the upgraded VRML exporter (great doc webpage!).  It is available as VRML 97 and the original VRML 2 is for now still there, to help users testing the new version.  For the next release the old one should be removed, of course.
- New script: Scripts Config Editor (Scripts win -> Scripts -> System).  Scripts with config options (simple data that is to be set according to user needs or preferences) can use this facility instead of providing a gui and writing config files to disk themselves.
- Added new menu: System, available in the Scripts win.
- Updated sys_info.py, help_browse.py and the AC3D importer and exporter.
- Removed use of the Scrollbar and added arrow keys and mouse wheel support instead in Daniel Dunbar's old doc_browser.py. The scrollbar events handling doesn't exist, Ton suggested removing the scrollbar from the API months ago.  For now its ref doc is gone and no bundled script uses it, until we get time to implement it properly.
- Added module BPyRegistry.py with functions to handle reading / writing config files automatically to the scripts/bpydata/config dir.
- Removing dir release/bpydata and its contents (moved earlier to release/scripts/bpydata/)
- Bug #2379: made small changes to bevel_center's ui to fix a problem reported by Alexander Ewering (intrr):
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2379&group_id=9

BPython:
- Thanks Campbell Barton for new functionality: Blender.Get() now can also return all the paths from the user prefs -> file paths win and there is a new function: Blender.sys.expandpath() to transform Blender paths (those starting with '//' and ending with '#') to absolute paths.
- Added function Blender.ShowHelp(), to open the Scripts Help Browser with a given help page -- just a time saver for scripts.
- Improved function Blender.Run() to also work with gui and file select scripts.
- Found a (new?) crash related to NMesh.PutRaw when creating a new object while in edit mode.  Leaving / entering edit mode fixes the problem, so a check for obj created, edit mode and leaving / re-entering it were added to the code for now (gdb didn't help much, no backtrace)
- doc updates, including splitting intro page in two, with bpython related stuff (registering / documenting / configuring scripts and command line mode (thanks Chris Want for "use system variables to pass parameters to scripts" idea).
- Registry: functions have been updated to support writing to / reading from disk, for the config editor -- only simple config data supported, for large amounts coders should write to a file themselves.  This is done with a new parameter: Registry.GetKey(keyname, True) will also search for the key on the config dir, if not already loaded; equiv. for Registry.SetKey(keyname, dict, True).  Data is only written to / read from disk when needed and only scripts already used (assuming they support this functionality) will have config data saved.

------------------------------------------------------------------------
r4251 | ton | 2005-04-15 23:39:36 +0200 (Fri, 15 Apr 2005) | 2 lines

In localview the Manipulator didnt center at correct 3d cursor location.

------------------------------------------------------------------------
r4250 | ton | 2005-04-15 23:33:41 +0200 (Fri, 15 Apr 2005) | 4 lines

Extrude normal correction part #4!

It works OK for faces extrude, but with only edges it should work too. :)

------------------------------------------------------------------------
r4249 | ton | 2005-04-15 22:29:08 +0200 (Fri, 15 Apr 2005) | 4 lines

Another attempt to make extrude deliver correct normals.
Rule is flipped when it doesn't extrude a 'volume', in that case normals
point outside based on extruding in direction of original normals.

------------------------------------------------------------------------
r4248 | guitargeek | 2005-04-15 15:38:27 +0200 (Fri, 15 Apr 2005) | 2 lines

Fixes timecode to run frames 0 to (fps-1)  rather than 1 to fps

------------------------------------------------------------------------
r4247 | guitargeek | 2005-04-14 22:41:02 +0200 (Thu, 14 Apr 2005) | 2 lines

Similar to last commit, This initializes the pd pointer if it is null for Particle interaction. for all the PI functions

------------------------------------------------------------------------
r4246 | guitargeek | 2005-04-14 22:11:10 +0200 (Thu, 14 Apr 2005) | 2 lines

This commit initializes the softbody pointer if it is accessed through python and has not yet been set up.

------------------------------------------------------------------------
r4245 | guitargeek | 2005-04-14 20:27:11 +0200 (Thu, 14 Apr 2005) | 2 lines

Adds getTimeCode() to Rendering Context so that you can get current frame in HH:MM:SS:FF string format

------------------------------------------------------------------------
r4244 | guitargeek | 2005-04-14 19:56:37 +0200 (Thu, 14 Apr 2005) | 11 lines

Adds API for Particle Interaction Settings and Softbody Settings
Also adds docs for above API.

My testing cases seem to work fine. Please test to make sure I have not
missed anything!

Stivs, I got ascotan's signoff on thses. But please make any adjustments that
you deem needed.

Johnny

------------------------------------------------------------------------
r4243 | zuster | 2005-04-14 15:46:49 +0200 (Thu, 14 Apr 2005) | 2 lines

 - make sure object outline doesn't get drawn in faceselect mode

------------------------------------------------------------------------
r4242 | zuster | 2005-04-14 15:46:05 +0200 (Thu, 14 Apr 2005) | 3 lines

 - bug fix, tface flags weren't checked correctly for INVISIBLE
 - bug fix, tfaces weren't accessed correctly in presence of hidden/invis.

------------------------------------------------------------------------
r4241 | hos | 2005-04-14 05:11:41 +0200 (Thu, 14 Apr 2005) | 10 lines

Having come to understand the nature of bug #1576 a little better,
I can now say that I declared it fixed erroneously before, and
I hope that when I call it fixed now it can really, truly be laid
to rest.

Sometimes when you escape a transform on an object that is the
target of an IK constraint on an armature bone, the rotations were
not restored correctly on the bones in the IK chain. This commit
fixes this problem in a rather brute force manner.

------------------------------------------------------------------------
r4240 | bjornmose | 2005-04-13 22:32:28 +0200 (Wed, 13 Apr 2005) | 4 lines

hum ..
turned off quad optimization, which is a bug IMHO, since breaking a quad it 2
faces always needs a test on both faces

------------------------------------------------------------------------
r4239 | ton | 2005-04-13 21:34:29 +0200 (Wed, 13 Apr 2005) | 4 lines

Little cleanup in code to detect correct normal directions on extrude.
It also now inverts normals of copied faces for extrude, provided the
originals remain there.

------------------------------------------------------------------------
r4238 | ton | 2005-04-13 21:26:38 +0200 (Wed, 13 Apr 2005) | 4 lines

Ack! Found out the bugfix commit #2411 was accidentally still calling to do
all actions (in all objects) instead of only the ones parented to
particle system.

------------------------------------------------------------------------
r4237 | ton | 2005-04-13 16:03:10 +0200 (Wed, 13 Apr 2005) | 5 lines

Two small corrections for subsurf + wire render;

- when edges data exists, it skips adding faces to renderlist
- edges are rendered according to "Optimal" subsurf setting

------------------------------------------------------------------------
r4236 | bjornmose | 2005-04-13 14:18:58 +0200 (Wed, 13 Apr 2005) | 3 lines

im going to dig a hole to hide in
beginners standard typo did break particles

------------------------------------------------------------------------
r4235 | zuster | 2005-04-13 14:06:59 +0200 (Wed, 13 Apr 2005) | 3 lines

 - quick fix for bug #2412, render normal was not initialized for mesh
   edges. fix by average two edge endpoint vertex normals.

------------------------------------------------------------------------
r4234 | zuster | 2005-04-13 13:46:46 +0200 (Wed, 13 Apr 2005) | 2 lines

 - fix for bug #2385, mesh outline wasn't drawing in potatoe mode

------------------------------------------------------------------------
r4233 | bjornmose | 2005-04-13 09:51:06 +0200 (Wed, 13 Apr 2005) | 5 lines

Rather give a pointer to a local copy of vital data to pdDoDeflection()
in sb_deflect_particle() than a pointer to data.

Changed de-swamping in sb collision to move along face normal.

------------------------------------------------------------------------
r4232 | bjornmose | 2005-04-12 23:36:21 +0200 (Tue, 12 Apr 2005) | 11 lines

Did put softbody time scaling stuff to functions,
so we can decide later what proper timing is meant to be.
i've prepared something in static float sb_time_scale(Object *ob) [softbody.c] (ton :) )

'hacked in' particle collision system to match softbodies needs
naa .. i don't realy like the hack to int pdDoDeflection(..) in kernel .. effect.c  (but it works :) )
so .. until we'll have a 'nice' collision detector this is what 'softbodies simulator can live with'
did not remove intentionally test function static int sb_deflect_test(..) for further discussions

http://mitglied.lycos.de/mosebjorn/hidden/  sbcol6.blend should work for a while

------------------------------------------------------------------------
r4231 | ton | 2005-04-12 13:53:46 +0200 (Tue, 12 Apr 2005) | 5 lines

Bug fix #2438

Snapping code checked for Hooks in object, but forgot to check first if
the Hook->parent existed. Crashed on 'empty' hooks.

------------------------------------------------------------------------
r4230 | ton | 2005-04-12 13:45:06 +0200 (Tue, 12 Apr 2005) | 14 lines

Bug fix #2323

The addition in 2.36 to correct bumpmapping for View and Object rotation,
made many nice bumpmap setups in older files less nice. Especially apparent
when you apply "flipped" mappings in "Map Input" Panel, like map the X to Z
and the Z to X. A correction then gives wrong results.

Since the "correct bumpmapping" is actually a new option, causing extra
rendertime too, I've made it an option now. With the "Map To" Panel being
fully used, I've put the new button option (temporally I hope) in the first
"Texture" Panel in material context.

Will be updated in release log page!

------------------------------------------------------------------------
r4229 | ton | 2005-04-12 12:08:04 +0200 (Tue, 12 Apr 2005) | 11 lines

Bug fix #2394

While in camera view, going to local axis rotation (R, X, X) the view
became instable. Was still using the view3d view matrix, instead of
initialized TransInfo->viewmat.

Martin; you could check on the mouse motion in this case, for some reason
it only uses horizontal motion?

ALso; renamed button in InfoWindow "Disable sound" to "Disable Game Sound".

------------------------------------------------------------------------
r4228 | eeshlo | 2005-04-12 01:23:25 +0200 (Tue, 12 Apr 2005) | 3 lines

Quick fix for bug #2393 (same as #2218), deformed meshes were not transformed
correctly anymore because of changes in other blender code.

------------------------------------------------------------------------
r4227 | theeth | 2005-04-12 00:29:20 +0200 (Tue, 12 Apr 2005) | 5 lines

Transform constraints with Ykey were mixed up, setting text to global
instead of local and vice versa.

Thanks to GSR's email for helping me notice that.

------------------------------------------------------------------------
r4226 | theeth | 2005-04-11 23:19:38 +0200 (Mon, 11 Apr 2005) | 11 lines

Small transform fixes.

Rotation acted weird in perspective mode. Works much better using viewinv
instead of persinv to get the rotation axis. What would be even better is
using real view vector depending on transformation center (with
getViewVector), but that can wait a bit.

Meta Element resize needed some code to reset radius changes or axis size
changes when switching from one to the other (my fault, I didn't think of this
when telling Jiri how to implement it).

------------------------------------------------------------------------
r4225 | jiri | 2005-04-11 21:31:05 +0200 (Mon, 11 Apr 2005) | 15 lines



 - It is possible to scale radius of MetaElem again.
 - It is possible to change dx, dy and dz params in 3Dview with manipulators
    or with some shortcuts (S-X, S-Y, S-Z).
 - User can scale stiffness when green circle is selected.
 - MetaElem is selected with RMB click at green or red circle, then user can
    grab or rotate with MetaElem as usual.

 - Screenshot:
    http://e-learning.vslib.cz/~hnidek/pics/scale_stiffness.jpg

 - Captured video:
    http://e-learning.vslib.cz/~hnidek/captured-videos/scale_stiffness.avi

------------------------------------------------------------------------
r4224 | ton | 2005-04-11 19:55:20 +0200 (Mon, 11 Apr 2005) | 14 lines

Bug fix #2411

(Looks like big commit, but is mostly just change of API call!)

Particle emittors now can be parented to an armature Bone, and give the
correct path for each particle. Note that this doesn't work for deform!
And, for each particle the entire armature is evaluated, all actions and
NLA strips.

It used to work a little while BTW, but the code just called ALL armatures
and made ALL deforms again. Was quite slow... thats why the API call
change: do_all_actions() now accepts Object * to only do that one. With
a NULL it now does all still. Will disapppear in recode of course...

------------------------------------------------------------------------
r4223 | ton | 2005-04-11 17:14:07 +0200 (Mon, 11 Apr 2005) | 5 lines

Silly pointer set on wrong place in code, caused Bones transform in
PoseMode not to work on branched armatures with multiple selected.

Thanks Richie for the test file!

------------------------------------------------------------------------
r4222 | ton | 2005-04-11 16:01:34 +0200 (Mon, 11 Apr 2005) | 4 lines

Bug fix #2413

Usage of uninitialezed pointer in 'extrude edges only' could crash.

------------------------------------------------------------------------
r4221 | ton | 2005-04-11 15:49:05 +0200 (Mon, 11 Apr 2005) | 7 lines

Bug fix #2415

Envmap rendering was using Gauss filtering, causing dark outlines in edges
of cube pictures. Now it temporally disables gauss in envmap render, which
isn't really noticable since the pics are filtered + gaussed anyway in the
end result.

------------------------------------------------------------------------
r4220 | ton | 2005-04-11 12:45:20 +0200 (Mon, 11 Apr 2005) | 10 lines

Bug fix #2428

The "Separate" and "Split" commands in editmode Mesh didn't take loose
edges into account correctly (leaving them in). These edges now get
removed correctly.

Note; this changes the tool XKEY "Delete->Faces" slightly. This already
removed entire faces and loose selected vertices. Now also removes loose
selected edges. More consistant, but maybe a bit confusing...

------------------------------------------------------------------------
r4219 | ton | 2005-04-11 12:20:17 +0200 (Mon, 11 Apr 2005) | 6 lines

Bug fix #2431

Underflow case in Blinn spec... resulting in large negative values to be
returned in certain cases, causing (again!) black dots.
Thanks randall for clear report with nice demo file. :)

------------------------------------------------------------------------
r4218 | ton | 2005-04-11 10:49:42 +0200 (Mon, 11 Apr 2005) | 11 lines

Bug fix #2424

With a sun lamp shining exact perpendicular to a face, the result was
undefined (black or full lit). Was caused by using acos() without checking
the input range. Float calculus can result in small under or overflows...
therefore: always use the arithb.c function saacos() !!!

Found more acos() usage in rendercore (in blinn and arealight too), removed
all of them. Might solve the white or black dots people were complaining
about?

------------------------------------------------------------------------
r4217 | theeth | 2005-04-10 22:09:31 +0200 (Sun, 10 Apr 2005) | 5 lines

Resize didn't work with bezier handles correctly. That is because bezier has preleminary work for Individual Center in edit mode.
While I was there, I cleaned up individual center a bit, it was messing with helpline.

For fun, set the center mode to Individual Center, create a bezier circle, change handle to free (H) and Resize or Rotate. Fun isn't it! :)

------------------------------------------------------------------------
r4216 | lukep | 2005-04-10 21:38:10 +0200 (Sun, 10 Apr 2005) | 2 lines

update to xcode project for files added and removed by Daniel & Martin

------------------------------------------------------------------------
r4215 | theeth | 2005-04-10 20:33:19 +0200 (Sun, 10 Apr 2005) | 5 lines

Merged all the internal transform includes into transform.h and moves it to /src to /include.
Split the conversion fonctions and sorting functions from transform.c into transform_conversions.c
Update MSVC 6.0 projectiles and SConscript accordingly.
Editview still included transform.h, replaced that for BIF_transform.h, the external include.

------------------------------------------------------------------------
r4214 | zuster | 2005-04-10 17:04:52 +0200 (Sun, 10 Apr 2005) | 3 lines

 - don't apply creasing to edges with no adjacent faces... things
   go wacky.

------------------------------------------------------------------------
r4213 | zuster | 2005-04-10 16:31:04 +0200 (Sun, 10 Apr 2005) | 3 lines

 - bug fix #2433, mesh not drawn correctly when only edges
   (and Mesh.medge).

------------------------------------------------------------------------
r4212 | stiv | 2005-04-10 16:01:41 +0200 (Sun, 10 Apr 2005) | 49 lines

Bugfix for disappearing hilight bug  and code re-org for text editor
from Ricki Myers (themyers).

Comes with nice juicy commit msg, too!

- source/blender/blenkernel/BKE_text.h

	- Removed indent_paste, uncommen, unindent_lines, comment_paste,
	uncomment_paste, uncomment, set_tabs.

	All these functions cut and re-added text (I felt this was
	unsafe). whicch is was caused the highlight loss.


	- Now the only functions are Indent, Unindent, comment, uncomment,
	  setcurr_tab. 	All these functions only take one @parm (struct Text)

	-indent(struct Text *text)
		copy's the selected text in a MEM_mallocN line by line added a
		tab at the begginning

	- Unindent(struct Text *text)
		Tests if current line starts with a tab.
		if TAB remove it
	- comment(struct Text *text)
		copy's the selected text in a MEM_mallocN and adding a # at the begginning

	- Uncomment(struct Text *text)
		Tests if current line starts with a #.
		if # remove it

	- setcurr_tab (Text *text)
		Checks for Tabs pri. to any text
		if : is found and not in a comment then Tabs is increased by one
		if "return", "break", "pass" is found then Tabs is decreased

- blender/source/blender/src/header_text.c

	Changed:	txt_cut_sel(text);
			indent_paste(text);
	TO:
			txt_order_cursors(text);
			indent(text);
	* no more cutting of the text

- source/blender/src/drawtext.c

	set_tabs(Text *text) just calls setcurr_tab(text);

------------------------------------------------------------------------
r4211 | phase | 2005-04-10 10:46:47 +0200 (Sun, 10 Apr 2005) | 2 lines

Uncommitted my last commit.

------------------------------------------------------------------------
r4210 | zuster | 2005-04-10 02:00:34 +0200 (Sun, 10 Apr 2005) | 5 lines

 - made shadedisplist not free all object displist data...
   this messed with data caches which messed with assumptions made
   by drawing code (and was just silly not to mention). here
   be dragons...

------------------------------------------------------------------------
r4209 | hos | 2005-04-10 01:38:35 +0200 (Sun, 10 Apr 2005) | 8 lines

Fix for bug #1576.

Constraints on bones that point to objects/bones outside of
an armature weren't working. The figure_pose_updating()
does a bunch of flagging based on the constraints on the
scene to figure out what armatures/bones need updating
(even when it is not the armature that is being manipulated).

------------------------------------------------------------------------
r4208 | hos | 2005-04-10 00:40:34 +0200 (Sun, 10 Apr 2005) | 4 lines

Clean up for Makefiles: some of the directories were being printed
wrong (e.g., "/Fuzzics" and "/Joystick", and some of  the solid stuff).
This was particularly noticable during "make clean".

------------------------------------------------------------------------
r4207 | phase | 2005-04-09 11:18:32 +0200 (Sat, 09 Apr 2005) | 3 lines

Added console printout when rendering in parts, to keep track of progress.
Requested by Relic.

------------------------------------------------------------------------
r4206 | jiri | 2005-04-08 12:30:46 +0200 (Fri, 08 Apr 2005) | 5 lines



 - bug fix #2400 (I forgot to add some parameters in uiDefButF() function)
    https://projects.blender.org/tracker/index.php?func=detail&aid=2400&group_id=9&atid=125

------------------------------------------------------------------------
r4205 | theeth | 2005-04-07 20:28:41 +0200 (Thu, 07 Apr 2005) | 8 lines

Toggle between Connected and Normal PET.

Alt-C during transform (hotkey subject to change)

No visual clue right now other than what is transformed and it gets resetted everytime (not kept as a global flag).

So, still a lot to do regarding that.

------------------------------------------------------------------------
r4204 | zuster | 2005-04-06 19:21:49 +0200 (Wed, 06 Apr 2005) | 2 lines

 - fix for crash in separate_mesh... thats some pretty nasty code

------------------------------------------------------------------------
r4203 | bjornmose | 2005-04-06 12:29:04 +0200 (Wed, 06 Apr 2005) | 3 lines

Fixed uninitialized causing almost infinite loop.
Wind is media friction now, to have consitent relaxing when the squall is gone, fixed direrction.

------------------------------------------------------------------------
r4202 | bjornmose | 2005-04-05 22:28:32 +0200 (Tue, 05 Apr 2005) | 6 lines

fixed small glitch multiplying nodemass twice (thanks ton)
claened up sbObjectStep(...) to follow 'time step rules'
added really care for framerate in scene
renamed arguments in softbody_calc_forces(...); and softbody_apply_forces(...); for better reading
fixed particle integration to be ODE solver compatible

------------------------------------------------------------------------
r4201 | sirdude | 2005-04-05 17:06:41 +0200 (Tue, 05 Apr 2005) | 6 lines



Added OPENGL includes to this one as well.

Kent

------------------------------------------------------------------------
r4200 | sirdude | 2005-04-05 17:02:21 +0200 (Tue, 05 Apr 2005) | 7 lines



Adds OpenGL includes for details see:
http://projects.blender.org/tracker/index.php?func=detail&aid=2387&group_id=9&atid=127

Kent

------------------------------------------------------------------------
r4199 | hos | 2005-04-05 16:33:43 +0200 (Tue, 05 Apr 2005) | 7 lines

Support for SGI Prism:

* set python version to 2.2;
* set link flags for ia64 linux to the same as i386, alpha.

Thanks to Wayne Vieira for this!

------------------------------------------------------------------------
r4198 | sirdude | 2005-04-05 16:32:35 +0200 (Tue, 05 Apr 2005) | 6 lines



Modified the warnings used (was using c++ warnings for c files)

Kent

------------------------------------------------------------------------
r4197 | theeth | 2005-04-05 01:37:15 +0200 (Tue, 05 Apr 2005) | 7 lines

Crease transformation

Behavior is a bit different. Instead of showing the weird two value thing like the old transform did, it always show the weight variation in +/- that is applied to every edge. Works a bit like scale. Move away from center to increase, move closer to decrease (between -1.0 and 1.0).
Works with PET (not using connection yet).

Also removed some missed global Trans variable abuse.

------------------------------------------------------------------------
r4196 | theeth | 2005-04-05 01:30:14 +0200 (Tue, 05 Apr 2005) | 4 lines

MSVC 6.0 projectfiles

Removing subsurf.c from the BKE_blenkernel project.

------------------------------------------------------------------------
r4195 | ton | 2005-04-04 20:09:47 +0200 (Mon, 04 Apr 2005) | 14 lines

- Made SoftBody work with Particle Force Fields.

- Added new (Particle) Deflector; type Wind.
  Wind gives constant directional force. It is animatable (Ipos) and reacts
  to Object scaling. Also uses FallOff. Works for particles and SoftBody
  quick movie check; http://www.blender.org/bf/0001_0250.avi
  test file is in download.blender.org/demo/test/wind_soft.blend

- Added MaxDist option for forcefields, to control its influence better.
  Is drawn as circle in 3d window.

Forcefields are a bit weak still... should react to scaling, or not; in
that case drawing should indicate it (done for spherical field now).

------------------------------------------------------------------------
r4194 | sirdude | 2005-04-04 17:57:50 +0200 (Mon, 04 Apr 2005) | 7 lines



Moved the start of an ifdef so it includes vars specific to the ifdef
to get rid of warnings about unused vars (on non __APPLE__ system)

Kent

------------------------------------------------------------------------
r4193 | ton | 2005-04-04 16:21:09 +0200 (Mon, 04 Apr 2005) | 3 lines

Yuck, forgot to uncommit the ugly version of Mat3ToSize(). Caused scaling
to do very weird things on rotated objects.

------------------------------------------------------------------------
r4192 | zuster | 2005-04-04 14:22:33 +0200 (Mon, 04 Apr 2005) | 5 lines

 - change make_orco_displist_mesh to use current editmesh as source
   if needed.
 - don't return cached subsurf during editmode, order is messed up (fixes
   orco rendering).

------------------------------------------------------------------------
r4191 | zuster | 2005-04-04 07:21:20 +0200 (Mon, 04 Apr 2005) | 3 lines

 - dropped user specified vertex data functions for ccgsubsurf,
   didn't really add value. hardcoded to use float[3] now.

------------------------------------------------------------------------
r4190 | zuster | 2005-04-04 06:50:41 +0200 (Mon, 04 Apr 2005) | 7 lines

 - removed DispListMesh.{editedge,editface}
 - removed displistmesh_from_{mesh,editmesh}
 - removed EditVert.ssco
 - removed unused functions for DispListMesh DerivedMesh

 Still need lots more testing for this stuff.

------------------------------------------------------------------------
r4189 | zuster | 2005-04-04 06:21:01 +0200 (Mon, 04 Apr 2005) | 2 lines

 - removed subsurf.c from SConscript

------------------------------------------------------------------------
r4188 | zuster | 2005-04-04 06:20:32 +0200 (Mon, 04 Apr 2005) | 11 lines

 - moved subsurf_calculate_limit_positions to using ccgsubsurf
 - removed ME_CCG_SUBSURF define
 - dropped CCGSubSurf from editing menu... subsurf is always
   CCG now.

 NOTE: If you saved a file with CCGSubSurf set on the button
 will show up blank (will still work as a subsurf). Just change
 type back to Catmull-Clark.

 Wave bye-bye to HyperMesh...

------------------------------------------------------------------------
r4187 | zuster | 2005-04-04 05:38:21 +0200 (Mon, 04 Apr 2005) | 6 lines

 - work-in-progress: subsurf level 0 now just acts like a regular mesh,
   before it would follow subsurf code path by creating fake displistmesh,
   etc... kinda fun for testing but just annoying now.
 - change to creasing behavior, to make sure that with full creasing effect
   is just simple subdivision.

------------------------------------------------------------------------
r4186 | zuster | 2005-04-04 04:55:56 +0200 (Mon, 04 Apr 2005) | 3 lines

 - kinda crazy, but replaced old ME_SIMPLE_SUBDIV method with just
   using regular ccgsubsurf but with crease set to full.

------------------------------------------------------------------------
r4185 | theeth | 2005-04-04 04:16:56 +0200 (Mon, 04 Apr 2005) | 6 lines

Added a NO_NOR_RECALC context flag. With Individual extrude, the normals are already set by the extrude code, recalculating breaks them.

Cosmetic changes, renamed CTX_NOPET to CTX_NO_PET

CKey during transform now clears the constraint.

------------------------------------------------------------------------
r4184 | zuster | 2005-04-04 00:02:03 +0200 (Mon, 04 Apr 2005) | 2 lines

 - sorry, forgot to save before commit, part of vertex normal fix

------------------------------------------------------------------------
r4183 | theeth | 2005-04-03 23:52:11 +0200 (Sun, 03 Apr 2005) | 7 lines

Removes global variable access from TransData conversion fonctions.

Added a NULL check on TransInfo->data before sorting. At that point, the conversion could have been cancel if there's no selected elements (caused segfaults with PET).
Another NULL check on TransInfo->data in postTrans fonction, since that is called on cancel on no selection too.

Was missing a matrix multiplication when setting TransData->dist on meshes which caused PET on scaled meshes to be bad. (bug report 2395: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2395&group_id=9 )

------------------------------------------------------------------------
r4182 | zuster | 2005-04-03 23:52:10 +0200 (Sun, 03 Apr 2005) | 6 lines

 - added vertex normal calculation functionality to CCG subsurf (CCGSS
   is fast, but can be rather tedious to work with...)
 - vertex normals for smooth faces draw correctly now... this code also
   switched to drawing with GL_QUAD_STRIP which can be quite a bit faster
   (depends how fast graphics card calcs lighting, I get 50% faster here)

------------------------------------------------------------------------
r4181 | zuster | 2005-04-03 23:45:43 +0200 (Sun, 03 Apr 2005) | 2 lines

 - BLI_STRUCT_OFFSET was not defined correctly, fixed

------------------------------------------------------------------------
r4180 | ton | 2005-04-03 22:57:31 +0200 (Sun, 03 Apr 2005) | 3 lines

Error in Softbody goal-min and goal-max correction. It was giving
not as result the range as indicated!

------------------------------------------------------------------------
r4179 | ton | 2005-04-03 22:13:10 +0200 (Sun, 03 Apr 2005) | 13 lines

SoftBody:

- on add new SoftBody, it creates automatically edges in Mesh now, gives
  too confusing results otherwise
- if no edges exist in mesh, it also doesnt add diagonals for faces in
  softbody

Transform;

- fixed stupid 'used unitialized' gcc warning (sorry theeth!)
- made dualAxisConstraint() accept string too
- little cleanup of prints in using Manipulators

------------------------------------------------------------------------
r4178 | ton | 2005-04-03 18:57:16 +0200 (Sun, 03 Apr 2005) | 4 lines

Added more dependencies to softbody, for correct recalc
For example; subsurfed softbody after play anim (ALT+A) didn't get
cleared correctly. Darn where_is_object stuff!

------------------------------------------------------------------------
r4177 | zuster | 2005-04-03 17:13:38 +0200 (Sun, 03 Apr 2005) | 2 lines

 - hidden edges were being drawn when DRAWEDGES was off

------------------------------------------------------------------------
r4176 | ton | 2005-04-03 15:12:08 +0200 (Sun, 03 Apr 2005) | 6 lines

New minimal & 2D drawing type for Manipulators; try F10 "rt" on 5 (or 6 for
same style in trackball arcs)

Full collection can be found temporally here;
http://www.blender.org/bf/rt.html

------------------------------------------------------------------------
r4175 | theeth | 2005-04-03 08:09:31 +0200 (Sun, 03 Apr 2005) | 5 lines

Hidden verts using mesh connected PET caused segfaults.
Was caused by the scratch array offsets counting hidden verts when, obviously, it shouldn't.

Also simplified the check for non connected when setting dist. This *might* have caused some errors.

------------------------------------------------------------------------
r4174 | ascotan | 2005-04-02 22:26:12 +0200 (Sat, 02 Apr 2005) | 2 lines

update to add subsurf csg stuff

------------------------------------------------------------------------
r4173 | ton | 2005-04-02 21:52:32 +0200 (Sat, 02 Apr 2005) | 13 lines

More softbody goodness;

- Added Softbody effect for Lattices (not too useful yet without
  vertexgroups though)
- Added default vertex "goal" value + button, to be assigned when no
  vertexgroup exists (or vertex isn't in the group)
- Made softmin and softmax work as documented (defining min and max range)
- made changes in buttons send 'update' signal to softbody

And:

- added Nkey Properties to show lattice coordinates

------------------------------------------------------------------------
r4172 | ascotan | 2005-04-02 20:42:30 +0200 (Sat, 02 Apr 2005) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r4171 | ton | 2005-04-02 20:42:16 +0200 (Sat, 02 Apr 2005) | 2 lines

Jacked up max resolu and resolv for Surface and Curve to 1024

------------------------------------------------------------------------
r4170 | zuster | 2005-04-02 20:37:18 +0200 (Sat, 02 Apr 2005) | 4 lines

 - fix for drawing of hidden edges in editmode (w/ optimal off)
   kinda hacky because it is in derivedmesh implementation not drawing
   logic where I would prefer it to be.

------------------------------------------------------------------------
r4169 | zuster | 2005-04-02 20:21:50 +0200 (Sat, 02 Apr 2005) | 5 lines

 - mesh was drawing edges underneath selected edges in optimal mode,
   waste of time!
 - made solid face drawing respect hidden faces
 - made selection work for hidden face drawing when select visible is on

------------------------------------------------------------------------
r4168 | zuster | 2005-04-02 20:20:03 +0200 (Sat, 02 Apr 2005) | 2 lines

 - fix unused variable warning

------------------------------------------------------------------------
r4167 | stiv | 2005-04-02 19:01:56 +0200 (Sat, 02 Apr 2005) | 4 lines

A little housekeeping:
Object.c - expand evil 1 character name.  nicer error msg.
doc/Object.py - clarify Object.getData() doc

------------------------------------------------------------------------
r4166 | zuster | 2005-04-02 17:56:16 +0200 (Sat, 02 Apr 2005) | 2 lines

 - add include for allqueue prototype

------------------------------------------------------------------------
r4165 | ton | 2005-04-02 17:55:15 +0200 (Sat, 02 Apr 2005) | 3 lines

Added signal OB_SB_REDO for ob->softflag to force a recalc.
Now used after weight painting, so it updates immediately.

------------------------------------------------------------------------
r4164 | zuster | 2005-04-02 17:36:57 +0200 (Sat, 02 Apr 2005) | 4 lines

 - got tired of str[n]casecmp not declared warnings
 - added BLI_str[n]casecmp, use instead of regular versions
 - rewrote BLI_str[n]casecmp to not be stupid

------------------------------------------------------------------------
r4163 | ton | 2005-04-02 15:57:23 +0200 (Sat, 02 Apr 2005) | 24 lines

Integration stage of Softbody project

User level notes are in Wiki here;
http://wiki.blender.org/bin/view.pl/Blenderdev/Softbodies
And will be added in blender3d.org CMS later.

Tech level notes are still pending, but here's the most relevant ones;

- made ob->soft struct SoftBody to hold all settings, and read/save in
  files
- added (temporal!) conversion for the old settings. So: read old files
  with softbody experiments now, and save over!
- cleaned API calls for softbody, which are only 5 of them now:
  sbNew()
  sbFree()
  sbObjectStep()          (animation steps)
  sbObjectToSoftbody()    (full re-initialize data)
  sbObjectReset()         (only reset motion)
- API calls accepts time in frames now, within softbody.c it converts

Further, internally code was cleaned some (missing tabs etc). Also tried
to keep a well defined structure with hints how to add support for more
objects. Can write notes about that...

------------------------------------------------------------------------
r4162 | theeth | 2005-04-01 22:04:24 +0200 (Fri, 01 Apr 2005) | 4 lines

Median center with PET was wrong (reported by JMS).

Was dividing running sum of vectors by the total number of elements, not by the number of selected elements, as it should have.

------------------------------------------------------------------------
r4161 | zuster | 2005-04-01 21:51:28 +0200 (Fri, 01 Apr 2005) | 2 lines

 - bug fix for old subsurf, crash when using meshes with free vertices

------------------------------------------------------------------------
r4160 | zuster | 2005-04-01 21:15:45 +0200 (Fri, 01 Apr 2005) | 2 lines

 - pickle transform didn't work well, backed out...

------------------------------------------------------------------------
r4159 | theeth | 2005-04-01 20:39:39 +0200 (Fri, 01 Apr 2005) | 6 lines

Removed casting warnings from transform_manipulator.
PET is now checked as a transform flag during transform. Much cleaner that way for NOPET context (extrude, duplicate)
Added Sphere as a new PET falloff mode (icon and all) and reordered them around in a more logical fashion (IMHO).

Also brought back Subsurf toggle with Shift-O (was supposed to be for PET object mode but that was canned).

------------------------------------------------------------------------
r4158 | phase | 2005-04-01 13:26:03 +0200 (Fri, 01 Apr 2005) | 3 lines

Teeth's msvc6 projectfiles commit solved almost all my bf compile probs, only one problem remained;
the including of <MT_assert.h> in the NG_network project. So here's a fix.

------------------------------------------------------------------------
r4157 | zuster | 2005-04-01 08:13:30 +0200 (Fri, 01 Apr 2005) | 2 lines

 - some code for testing the pickle matrix

------------------------------------------------------------------------
r4156 | zuster | 2005-04-01 05:02:13 +0200 (Fri, 01 Apr 2005) | 2 lines

 - part of creasing changes

------------------------------------------------------------------------
r4155 | zuster | 2005-04-01 04:52:55 +0200 (Fri, 01 Apr 2005) | 2 lines

 - apply spike crease bug fix to ccgsubsurf

------------------------------------------------------------------------
r4154 | desoto | 2005-04-01 04:28:39 +0200 (Fri, 01 Apr 2005) | 3 lines

Since new transform and subsurf are default now.. no more need for the
defines in the makefiles. Removed to prevent gunky buildup.

------------------------------------------------------------------------
r4153 | zuster | 2005-04-01 04:07:34 +0200 (Fri, 01 Apr 2005) | 4 lines

 - take out compile time conditional behavior of creasing for ccg
   subsurf (always on)
 - bug fix, creasing wasn't evaluated properly after incremental change

------------------------------------------------------------------------
r4152 | theeth | 2005-04-01 03:25:00 +0200 (Fri, 01 Apr 2005) | 4 lines

Sacre bleh another bugfix!

Mesh Connected PET was acting weird on geometry that curved on itself (reported by Desoto). Turned out the part of the floodfill working on verts already connected was just doing one case out of the two useful ones (little drawings helped :P).

------------------------------------------------------------------------
r4151 | theeth | 2005-04-01 00:18:08 +0200 (Fri, 01 Apr 2005) | 4 lines

Push/Pull (aka: non proportionnal resize, original idea by Robert Tiess) slipped in my last commit a bit, so might as well finish it.

Accesible with Shift-P (was free), the behavior is much like Shrink/Fatten. Pull mouse toward you to pull toward center, push away to push away. Constraint and PET works with it too, of course.

------------------------------------------------------------------------
r4150 | theeth | 2005-03-31 23:02:35 +0200 (Thu, 31 Mar 2005) | 10 lines

Transform fixes

Connected PET for mesh had an infinite loop in some case. Fixed an made a bit faster.
Renamed the numinput flag.
Corrected a conflict in TransInfo flags. This was a crash waiting to happen.
NO_CONSTRAINT flag now correctly used to disable MMB and constraint hotkeys when needed.


Added check for the manipulator flag when drawing them before applying transformation matrix. Was really weird when doing MMB with rotation.

------------------------------------------------------------------------
r4149 | theeth | 2005-03-31 20:49:52 +0200 (Thu, 31 Mar 2005) | 7 lines

Changing hard codec max frame release for a define (in blendef.h with the other maximums).

Tried to change it everywhere, hopefully I didn't miss any.

Also raised max frame to 30000 (maintainer of that code can safely modify it back since it is in one spot now ;) )
Needed that limit for a marketing video contract, might as well commit it.

------------------------------------------------------------------------
r4148 | theeth | 2005-03-31 20:39:38 +0200 (Thu, 31 Mar 2005) | 8 lines

Some MSVC 6.0 projectfiles updates:

BIF_transform.h added in BL_src
Adding moto include paths to EXP_expressions
SDL include paths and correct python version for all targets in SCA_gamelogic
KX_RayCast.cpp/h in KX_ketsji
SumoPHYCallbackBridge.cpp/.h in PHY_Sumo

------------------------------------------------------------------------
r4147 | theeth | 2005-03-31 20:22:43 +0200 (Thu, 31 Mar 2005) | 2 lines

Adding CCG stuff to MSVC 6.0 projectfiles

------------------------------------------------------------------------
r4146 | zuster | 2005-03-31 19:15:44 +0200 (Thu, 31 Mar 2005) | 2 lines

 - potential fix for crash on amd64

------------------------------------------------------------------------
r4145 | zuster | 2005-03-31 18:54:47 +0200 (Thu, 31 Mar 2005) | 4 lines

 - switch to drawing aging in and out of optimal mode
 - switch to not using arena allocator in editmode for ccgsubsurf (memory
   doesn't get freed during incremental)

------------------------------------------------------------------------
r4144 | stiv | 2005-03-31 18:21:08 +0200 (Thu, 31 Mar 2005) | 2 lines

Remove USE_CCGSUBSURFLIB stuff since it is always on now.

------------------------------------------------------------------------
r4143 | zuster | 2005-03-31 18:16:22 +0200 (Thu, 31 Mar 2005) | 2 lines

 - disable overriding color (to show aging) during selection drawing

------------------------------------------------------------------------
r4142 | zuster | 2005-03-31 18:08:29 +0200 (Thu, 31 Mar 2005) | 3 lines

 - fix warnings for gcc
 - some subsurf settings not correctly changed in editmode

------------------------------------------------------------------------
r4141 | zuster | 2005-03-31 17:57:18 +0200 (Thu, 31 Mar 2005) | 2 lines

 - adapt to reprototyping in BKE_DerivedMesh.h

------------------------------------------------------------------------
r4140 | zuster | 2005-03-31 17:55:31 +0200 (Thu, 31 Mar 2005) | 2 lines

 - adapt caching check for G.editMesh->derived

------------------------------------------------------------------------
r4139 | zuster | 2005-03-31 17:44:05 +0200 (Thu, 31 Mar 2005) | 18 lines

 - removed USE_CCGSUBSURF define (always on now)
 - added G.editMesh->derived pointer... idea is to use this
   for mesh derived from editmesh instead of Mesh->derived (as the
   derived mesh tends to vary depending on what it came from).

   This part could be cleaner, also there may problems with it not
   being invalidated correctly.

 - And most importantly: In case people were beginning to worry all
   these edits were just crazy zr stuff, the big point comes about:
   Incremental subsurf calculation is now enabled. This gives massive
   speed improvements when editing a large mesh.

   For the eye-candy happy: try setting G.rt==52 before entering editmode
   and the edges and vertices (in optimal mode) will switch to displaying
   visually the age since a region has last been calculated. Lots of
   fun!

------------------------------------------------------------------------
r4138 | zuster | 2005-03-31 17:15:12 +0200 (Thu, 31 Mar 2005) | 2 lines

 - fix some signed/unsigned comparison warnings

------------------------------------------------------------------------
r4137 | zuster | 2005-03-31 15:56:50 +0200 (Thu, 31 Mar 2005) | 2 lines

 - perhaps I should commit a version that compiles

------------------------------------------------------------------------
r4136 | zuster | 2005-03-31 15:44:23 +0200 (Thu, 31 Mar 2005) | 2 lines

 - committed VecLength function for theeth

------------------------------------------------------------------------
r4135 | theeth | 2005-03-31 01:19:42 +0200 (Thu, 31 Mar 2005) | 4 lines

Different floodfill method for PET connected with mesh. More accurate but needs two temporary scratch arrays to keep vectors and nearest element pointers.

Will comment the code more later tonight, I'm a bit pissed at the moment (stupid errors right in your face. grrrr)

------------------------------------------------------------------------
r4134 | zuster | 2005-03-30 20:06:42 +0200 (Wed, 30 Mar 2005) | 2 lines

 - zero derived and decimated pointers on copy

------------------------------------------------------------------------
r4133 | zuster | 2005-03-30 19:40:51 +0200 (Wed, 30 Mar 2005) | 2 lines

 - added dlm->medge for displistmesh_from_mesh

------------------------------------------------------------------------
r4132 | zuster | 2005-03-30 19:32:23 +0200 (Wed, 30 Mar 2005) | 6 lines

 - Claims of speed improvement last night were slightly
   overrated. Turns out there was a bug in recalc code where
   in editmode mesh was getting reevaluated all the time (because
   ob->disp doesn't get built in editmode). This should fix.
 - Fix some normal calculation/backwards face drawing

------------------------------------------------------------------------
r4131 | ton | 2005-03-30 16:17:53 +0200 (Wed, 30 Mar 2005) | 3 lines

Fix for centered submenu (for example py export script) also worked
when menu didn't open to left/right but on top/bottom. Caused errors...

------------------------------------------------------------------------
r4130 | stiv | 2005-03-30 14:13:02 +0200 (Wed, 30 Mar 2005) | 8 lines

Two scons changes:

1) fix evil use of internal scons interfaces that breaks latest scons version.

2) a hack to turn on new CCGSUBSURF stuff by adding -DUSE_CCGSUBSURFLIB
to extra_flags.  This is currently the default for all platforms except
win32 (due solely to my ignorance of win32 compiler flags).

------------------------------------------------------------------------
r4129 | ton | 2005-03-30 12:12:05 +0200 (Wed, 30 Mar 2005) | 3 lines

Bug in new drawing code; hack with storing stuff in editvertex->prev did
not get restored OK. :)

------------------------------------------------------------------------
r4128 | zuster | 2005-03-30 10:12:27 +0200 (Wed, 30 Mar 2005) | 6 lines

 - initial commit of a real (as in not just copying the DispListMesh)
   DerivedMesh implementation of CCGSubSurf. Only used in editmode at
   the moment, and does not draw smooth normals correctly.
 - Just in its own this brings a rather large speedup for editing
   subsurfs.

------------------------------------------------------------------------
r4127 | zuster | 2005-03-30 08:39:55 +0200 (Wed, 30 Mar 2005) | 2 lines

 - add editedge and editface for displistmesh_from_editmesh

------------------------------------------------------------------------
r4126 | zuster | 2005-03-30 08:24:34 +0200 (Wed, 30 Mar 2005) | 2 lines

 - fix another minor use of wrong mface bug

------------------------------------------------------------------------
r4125 | zuster | 2005-03-30 07:57:40 +0200 (Wed, 30 Mar 2005) | 4 lines

 - fix silly bug in mesh DerivedMesh tex drawing func (only was drawing
   first face.
 - change DerivedMesh callback prototypes to help eliminate errors

------------------------------------------------------------------------
r4124 | zuster | 2005-03-30 07:35:01 +0200 (Wed, 30 Mar 2005) | 3 lines

 - strange drawing bug, wierd vertices were showing up (wrong
   DerivedMesh call)

------------------------------------------------------------------------
r4123 | ascotan | 2005-03-30 07:19:33 +0200 (Wed, 30 Mar 2005) | 3 lines

- update to msvc7 projectfiles to accomodate recent file additions
- fixed bad path in extern project file

------------------------------------------------------------------------
r4122 | zuster | 2005-03-30 07:05:05 +0200 (Wed, 30 Mar 2005) | 2 lines

 - restored msvc warning disable code

------------------------------------------------------------------------
r4121 | zuster | 2005-03-30 02:32:10 +0200 (Wed, 30 Mar 2005) | 6 lines

 - made some DerivedMesh drawing functions more generic (take callback
   to determine if element should be drawn and to set draw options),
   which meant some could be combined - eases implementation of new
   DerivedMesh types and keeps more app specific logic out of DerivedMesh
   implementations.

------------------------------------------------------------------------
r4120 | zuster | 2005-03-29 19:52:14 +0200 (Tue, 29 Mar 2005) | 2 lines

 - zero derivedmesh pointers on load

------------------------------------------------------------------------
r4119 | zuster | 2005-03-29 19:20:28 +0200 (Tue, 29 Mar 2005) | 2 lines

 - removed dlm->flag

------------------------------------------------------------------------
r4118 | zuster | 2005-03-29 19:10:07 +0200 (Tue, 29 Mar 2005) | 4 lines

 - remove free_displist_by_type
 - free derived mesh on freedisplist_object... bit of a hack but
   just to be safe. oh dependency graph where are you!

------------------------------------------------------------------------
r4117 | ton | 2005-03-29 19:05:43 +0200 (Tue, 29 Mar 2005) | 9 lines

Prop mode goodie;

- Made proportional edit in Mesh editmode use connectivity to clip the
  area where proportional editing is allowed.
  Uses some kind of manhattan distance for clip area still, so is slightly
  too large for diagonals. Will be worked on!

- Fix; in constraint code, using (0 0 0) delta caused NaN.

------------------------------------------------------------------------
r4116 | zuster | 2005-03-29 18:56:26 +0200 (Tue, 29 Mar 2005) | 2 lines

 - remove unused var

------------------------------------------------------------------------
r4115 | zuster | 2005-03-29 18:43:39 +0200 (Tue, 29 Mar 2005) | 6 lines

 - added Mesh->derived and Mesh->decimated DerivedMesh pointers
 - removed DL_MESH displist type!!!! Now store a DerivedMesh directly.
 - May still be some issues left having to do with releasing this
   at the right time (old code just splashed free_displist all
   over the place).

------------------------------------------------------------------------
r4114 | theeth | 2005-03-29 18:12:42 +0200 (Tue, 29 Mar 2005) | 2 lines

Tiny error in Jiri's commit. Unselected meta elements needs the quat flag too if they want to rotate using PET.

------------------------------------------------------------------------
r4113 | zuster | 2005-03-29 17:31:35 +0200 (Tue, 29 Mar 2005) | 2 lines

 - print # bytes to add on sizeerror

------------------------------------------------------------------------
r4112 | stiv | 2005-03-29 16:27:20 +0200 (Tue, 29 Mar 2005) | 2 lines

Removed comma at end of enumerator list to please fussy compiler.

------------------------------------------------------------------------
r4111 | sirdude | 2005-03-29 15:27:13 +0200 (Tue, 29 Mar 2005) | 8 lines



removed the hardcoded 32 from the last commit and used sizeof instead.

Emil's idea.

Kent

------------------------------------------------------------------------
r4110 | sirdude | 2005-03-29 15:06:58 +0200 (Tue, 29 Mar 2005) | 10 lines



Changed:
-       memset(m_keyboard_vector,32,0);
+       memset(m_keyboard_vector,0,32);

Patch submitted by Dave Jones

Kent

------------------------------------------------------------------------
r4109 | jiri | 2005-03-29 12:03:30 +0200 (Tue, 29 Mar 2005) | 4 lines



 - it is possible to rotate with MetaBalls in edit mode now

------------------------------------------------------------------------
r4108 | zuster | 2005-03-29 09:58:56 +0200 (Tue, 29 Mar 2005) | 2 lines

 - simplify extverts handling

------------------------------------------------------------------------
r4107 | zuster | 2005-03-29 09:51:00 +0200 (Tue, 29 Mar 2005) | 14 lines

 - added drawFacesTex function to DerivedMesh with implementations
 - switched drawmesh.c to use new functions
 - WHEE! This is last such function that has to be written for the time
   being, and also effectively marks the end of DL_MESH! DispListMesh still
   hangs around as a kind of interchange format but should also die once
   DerivedMesh provides more intimate mesh access.

   DL_MESH (the displist type for DispListMesh) is still used to hold
   the DispListMesh, but that will die as soon as new subsurf switches to
   using a bonafide DerivedMesh implementation. There is also one silly
   usage for the decimator that is easy to kill.
 - Oh, and I also made potatoe mode draw mesh vertex colors - seemed to
   be more uniform behavior.

------------------------------------------------------------------------
r4106 | zuster | 2005-03-29 08:46:11 +0200 (Tue, 29 Mar 2005) | 4 lines

 - fix shadedisplist to use derivedmesh
 - also a bug fix! Made subsurfs now use tface colors when shading
   displist.

------------------------------------------------------------------------
r4105 | zuster | 2005-03-28 23:53:26 +0200 (Mon, 28 Mar 2005) | 3 lines

 - zero DispListMesh.{editedge,editface} on copy
 - calc normals for mesh displistmesh's

------------------------------------------------------------------------
r4104 | zuster | 2005-03-28 23:49:49 +0200 (Mon, 28 Mar 2005) | 9 lines

 - added mesh_get_derived_render
 - cancelled previous commit to add RE_findTFAce, instead just added
   a MemArena to render struct... free'd at end of render, can be used
   to store other data as well
 - switch rendering to using DerivedMesh API... this is slightly more
   inefficient now because it is doing some unnecessary copying. Can
   be fixed by defining a DerivedMesh function to convert the object
   into a render object (on todo list)

------------------------------------------------------------------------
r4103 | zuster | 2005-03-28 21:55:04 +0200 (Mon, 28 Mar 2005) | 3 lines

 - Funny joke! Blender gave "Can't apply deform to shared mesh" error
   and then went ahead and did it anyway. Someone is lying!

------------------------------------------------------------------------
r4102 | zuster | 2005-03-28 21:43:45 +0200 (Mon, 28 Mar 2005) | 5 lines

 - renderer currently uses links into tface structures that actually
   are owned by mesh (or displistmesh)... this causes problems for
   adapting to systems that build tfaces on the fly. Added RE_findTFace
   function to allow allocating tfaces inside renderer itself.

------------------------------------------------------------------------
r4101 | zuster | 2005-03-28 21:41:33 +0200 (Mon, 28 Mar 2005) | 2 lines

 - Bug fix, accidentally broke deform for non subsurfs.

------------------------------------------------------------------------
r4100 | zuster | 2005-03-28 20:37:19 +0200 (Mon, 28 Mar 2005) | 2 lines

 - switch some code to using BLI_strncpy (with right string lengths!)

------------------------------------------------------------------------
r4099 | ton | 2005-03-28 19:17:51 +0200 (Mon, 28 Mar 2005) | 5 lines

Shameless intrusive commit in Daniels beloved project! :)

The dl->mesh pointer was used without checking dl... dunno what this call
exactly does, but it causes crashes here. Fixed with a if(NULL) check.

------------------------------------------------------------------------
r4098 | theeth | 2005-03-28 18:11:35 +0200 (Mon, 28 Mar 2005) | 4 lines

Fix stupid error in connected code.

No more crashes, wheee!

------------------------------------------------------------------------
r4097 | aphex | 2005-03-28 17:29:59 +0200 (Mon, 28 Mar 2005) | 3 lines

bug fix for #2096:
  - switched strcpy calls to strncpy using FILE_MAXDIR & FILE_MAXFILE to prevent buffer overruns.  Non-windows code left untouched. :)

------------------------------------------------------------------------
r4096 | zuster | 2005-03-28 17:23:36 +0200 (Mon, 28 Mar 2005) | 2 lines

 - add bad level call stubs for bglBegin/bglVertex3fv/bglEnd

------------------------------------------------------------------------
r4095 | ton | 2005-03-28 16:00:49 +0200 (Mon, 28 Mar 2005) | 10 lines

Cleanup of widget code;

- made more general calls with args for drawing types
- made it accept transparency for all modes (used while transform now)
- added argument to detect 'combo' mode, gave offsets to translate/scale
  handles in combos.
- added 'pie chart' on view-aligned rotate for widget
- made trackball for rotate widget rt==4 behave compatible
- removed redundant code for 'ghosting'

------------------------------------------------------------------------
r4094 | zuster | 2005-03-28 10:43:24 +0200 (Mon, 28 Mar 2005) | 2 lines

 - subsurf creation no longer needs extverts argument... removed

------------------------------------------------------------------------
r4093 | zuster | 2005-03-28 10:17:51 +0200 (Mon, 28 Mar 2005) | 5 lines

 - added nors to DispListMesh (for face normals)... this is just to
   avoid throwing them on later with addnormalsdisplist which is just
   silly and burdensome.
 - renamed displist_calc_vert_normals to displist_calc_normals

------------------------------------------------------------------------
r4092 | zuster | 2005-03-28 09:40:19 +0200 (Mon, 28 Mar 2005) | 2 lines

 - removed old prototype (subsurf_optimal)

------------------------------------------------------------------------
r4091 | zuster | 2005-03-28 09:10:32 +0200 (Mon, 28 Mar 2005) | 7 lines

 - added getMappedVertCoEM and drawMappedVertEM to DerivedMesh with
   implementations (slightly redundant, could implement draw in terms
   of first... can be cleaned later)
 - switch to use of new APIs... all uses of EditVert->ssco are now
   clean (read: ready to die as soon as a proper DerivedMesh implementation
   is swapped in with ccgsubsurf)

------------------------------------------------------------------------
r4090 | zuster | 2005-03-28 08:46:21 +0200 (Mon, 28 Mar 2005) | 7 lines

 - added drawMapped{Verts,Edges,Faces}EMSelect calls to DerivedMesh with
   implementations
 - updated drawobject selection code to use DerivedMesh (last DispListMesh
   usage in drawobject.c that needs to be replaced! Woot!)
 - interface could still be a lot cleaner, mostly calculating indices for
   the various things to pass to selection color routine is hacky.

------------------------------------------------------------------------
r4089 | zuster | 2005-03-28 07:58:43 +0200 (Mon, 28 Mar 2005) | 3 lines

 - added mesh_get_cage_derived (returns appropriate DerivedMesh
   to be used as a cage - depends on ME_OPT_EDGE flag)

------------------------------------------------------------------------
r4088 | zuster | 2005-03-28 07:55:45 +0200 (Mon, 28 Mar 2005) | 4 lines

 - added set_framebuffer_index_color (shortcut for
   cpack(index_to_framebuffer(index)) but that is all that is ever
   used.

------------------------------------------------------------------------
r4087 | stiv | 2005-03-28 04:05:36 +0200 (Mon, 28 Mar 2005) | 2 lines

add new file DerivedMesh.c

------------------------------------------------------------------------
r4086 | zuster | 2005-03-28 03:21:27 +0200 (Mon, 28 Mar 2005) | 2 lines

 - non-optimal subsurf was drawing regular mesh faces

------------------------------------------------------------------------
r4085 | theeth | 2005-03-28 02:56:00 +0200 (Mon, 28 Mar 2005) | 8 lines

Alright, this hopefully fixes some problems with the last transform commit.

Replaced old transform call when extruding and duplicating. Added a CTX_NOPET context flag for extrude. This is done rather a bit hackishly in Transform right now, better to do it with a on/off pet flag in TransInfo and check that everywhere instead.

Made sure transinfo Ext was initialised at NULL (I'm pretty sure it was in another spot, but LetterRip reported some crash leading me to believe that it might not be all the time. Better be safe than sorry).

Connected PET for curves uses the real distance for the fall off calculations now.

------------------------------------------------------------------------
r4084 | lukep | 2005-03-28 01:40:07 +0200 (Mon, 28 Mar 2005) | 2 lines

added derived_mesh file o xcode project

------------------------------------------------------------------------
r4083 | theeth | 2005-03-28 01:13:52 +0200 (Mon, 28 Mar 2005) | 7 lines

Transform was still prototyped as having only one parameter in transform.h. Caused some warnings and possibly errors since some calls were missing the context.

The rest is proof of concept goody for a CONNECTED limiter for PET.
That is, PET affecting only elements which are connected together.

Only affects Curves right now since that was easier to test connectivity with. Still some polishing to do (falloff is based on distance of effect, not real distance), but it's a proof of concept, so...

------------------------------------------------------------------------
r4082 | zuster | 2005-03-28 00:51:48 +0200 (Mon, 28 Mar 2005) | 2 lines

 - update NMesh.c to use DerivedMesh API

------------------------------------------------------------------------
r4081 | zuster | 2005-03-28 00:42:57 +0200 (Mon, 28 Mar 2005) | 6 lines

 - added DerivedMesh convertToDispListMesh function with implementations,
   this is to ease migration.
 - updated particles and STL converter to use DerivedMesh interface. This
   is a bit wasteful at the moment, but these are not key performance areas.
   Can update once DerivedMesh has accessors for faces and face data.

------------------------------------------------------------------------
r4080 | zuster | 2005-03-28 00:14:57 +0200 (Mon, 28 Mar 2005) | 4 lines

 - added drawMappedEdgeEM function to DerivedMesh with implementations
   (draws single mapped edge)
 - updated editmesh code to use new interface (-2 DLM uses)

------------------------------------------------------------------------
r4079 | zuster | 2005-03-27 23:27:12 +0200 (Sun, 27 Mar 2005) | 3 lines

 - added getNum{Verts,Faces} accessors to DerivedMesh with implementations
 - updated edit.c to use DerivedMesh interface

------------------------------------------------------------------------
r4078 | theeth | 2005-03-27 23:25:15 +0200 (Sun, 27 Mar 2005) | 7 lines

Context parameter for Transform.

For tex space edit, crease (soon) and future use.


Manipulator assumes no context.

------------------------------------------------------------------------
r4077 | zuster | 2005-03-27 22:39:28 +0200 (Sun, 27 Mar 2005) | 10 lines

Scary commit!

 - Switch to using DerivedMesh interface for draw_mesh_object.
 - Code builds a "fake" DerivedMesh for Mesh/EditMesh which ends
   up making code a lot clearer.

Plenty of work to be done - the DerivedMesh is still very specialized
to how the code draws which means it is not a very general interface
and is a little messy. Should work though I hope.

------------------------------------------------------------------------
r4076 | zuster | 2005-03-27 22:34:18 +0200 (Sun, 27 Mar 2005) | 4 lines

NOTE: New file to be added to project files

 - add new DerivedMesh type, currently just encapsulates drawing

------------------------------------------------------------------------
r4075 | ton | 2005-03-27 21:54:18 +0200 (Sun, 27 Mar 2005) | 6 lines

Two small fixes in transform, committed so Martin can work...

- scale negative draws widget OK (scale widget only now)
- scale negative threshold (for flip) was on vertical Y, now is perpen-
  dicular to center of axis.

------------------------------------------------------------------------
r4074 | ton | 2005-03-27 20:18:08 +0200 (Sun, 27 Mar 2005) | 2 lines

Button image file with transform icons

------------------------------------------------------------------------
r4073 | ton | 2005-03-27 20:17:48 +0200 (Sun, 27 Mar 2005) | 14 lines

Transform goodies;

- Added icons for the Widgets to blenderbuttons pic
- Added in header - if widget in use - three buttons to choose widget type
  (hold shift for combo widgets)
- Hotkey CTRL+space now switches widgets on/off

I also noticed negative scaling doesn't work satisfying yet;
- for scale widget, using center didn't work correct anymore (fixed)
- negative scaling didn't even get applied! (fixed)
- but; scaling somethig negative now flips back to positive... ????

Last one i need Martin P for! Note that I had to change Mat3ToSize....

------------------------------------------------------------------------
r4072 | zuster | 2005-03-27 19:17:53 +0200 (Sun, 27 Mar 2005) | 2 lines

 - everyone loves prototypes

------------------------------------------------------------------------
r4071 | zuster | 2005-03-27 16:38:18 +0200 (Sun, 27 Mar 2005) | 2 lines

 - one last CCG warning patch

------------------------------------------------------------------------
r4070 | zuster | 2005-03-27 16:37:00 +0200 (Sun, 27 Mar 2005) | 3 lines

 - more warning removal/cleanup for CCG, apparently GCC is not
   happy about coercing (xxx**) to (void**) (sadly enough)

------------------------------------------------------------------------
r4069 | zuster | 2005-03-27 16:17:28 +0200 (Sun, 27 Mar 2005) | 2 lines

 - get rid of some warnings in CCG code, thanks lukep

------------------------------------------------------------------------
r4068 | lukep | 2005-03-27 15:50:19 +0200 (Sun, 27 Mar 2005) | 2 lines

added building of the solid and qhull libs

------------------------------------------------------------------------
r4067 | guitargeek | 2005-03-27 15:34:59 +0200 (Sun, 27 Mar 2005) | 2 lines

Adding some docs for camera insertIpoKey additions

------------------------------------------------------------------------
r4066 | stiv | 2005-03-27 15:28:49 +0200 (Sun, 27 Mar 2005) | 3 lines

New Bpy method: Camera.insertIpoKey()
Contributed by Johnny Matthews (guitarGeek)

------------------------------------------------------------------------
r4065 | zuster | 2005-03-26 22:41:39 +0100 (Sat, 26 Mar 2005) | 2 lines

 - lamp line was drawing in wrong location

------------------------------------------------------------------------
r4064 | zuster | 2005-03-26 20:47:22 +0100 (Sat, 26 Mar 2005) | 2 lines

 - shademodel wasn't being set correctly for normal mesh face draw

------------------------------------------------------------------------
r4063 | zuster | 2005-03-26 20:42:37 +0100 (Sat, 26 Mar 2005) | 3 lines

 - remove some unused variables from cleanup
 - fix for when mesh has no medge (would draw as points always)

------------------------------------------------------------------------
r4062 | stiv | 2005-03-26 19:14:29 +0100 (Sat, 26 Mar 2005) | 3 lines

Updated Bpy method Object.getData() now supports new Text3d type.
Contributed by Johnny Matthews.

------------------------------------------------------------------------
r4061 | guitargeek | 2005-03-26 19:01:30 +0100 (Sat, 26 Mar 2005) | 2 lines

Adding some docs for world and lamp insertIpoKey additions

------------------------------------------------------------------------
r4060 | stiv | 2005-03-26 18:30:21 +0100 (Sat, 26 Mar 2005) | 4 lines

More Bpy goodness!
New insertIpoKey() methods for Lamp and World types.
Contributed by Johnny Matthews (guitarGeek)

------------------------------------------------------------------------
r4059 | zuster | 2005-03-26 18:29:37 +0100 (Sat, 26 Mar 2005) | 12 lines

 - integrated get_mvert_weight and color_temperature
   into drawobject.c (just used for calculating weight
   map)
 - removed two_sided (replace with glLightModeli calls)
 - huge rewrite of drawobject.c for meshes, extracting simple
   drawing functions and then reworking to bring some order
   and clarity back to the code.

   A lot was changed here so it is likely I missed a few
   things in testing although I tried to be very careful.
   Please let me know if you find any changes in drawing.

------------------------------------------------------------------------
r4058 | lukep | 2005-03-26 17:58:30 +0100 (Sat, 26 Mar 2005) | 2 lines

added files for game engine

------------------------------------------------------------------------
r4057 | stiv | 2005-03-26 14:41:15 +0100 (Sat, 26 Mar 2005) | 2 lines

add new file SumoPHYCallbackBridge.cpp to SConscript for SCons build.

------------------------------------------------------------------------
r4056 | ton | 2005-03-26 11:59:49 +0100 (Sat, 26 Mar 2005) | 16 lines

TEMPORAL HACK!!!

Added the is_a_really_crappy_nvidia_card() call in BMF_DrawString(), this
to solve a bug in NVidia 6800 drivers of MacOSX G5. It is #ifdeffed for
OSX only, and queries for a NVidia 6800 card to activate the patch.

The issue is that these drivers forgot to correctly implement viewport()
offset for drawing bitmap fonts, causing text display in Blender to be
invisible, except for the leftmost/bottom sub window.

This hack will be removed when Apple releases a driver upgrade, which is
unknown when to happen. Has to be decided still if this is worth for a
release, or that we provide the hack as separate download.

Thanks Randall Rickert for all testing, and Daniel for code review! :)

------------------------------------------------------------------------
r4055 | zuster | 2005-03-25 22:18:14 +0100 (Fri, 25 Mar 2005) | 2 lines

 - made give_mesh_mvert static

------------------------------------------------------------------------
r4054 | ton | 2005-03-25 20:21:22 +0100 (Fri, 25 Mar 2005) | 3 lines

Previous commit error; drawing flags mixup caused centers of scale and
rotate widgets not to draw. :)

------------------------------------------------------------------------
r4053 | ton | 2005-03-25 17:59:04 +0100 (Fri, 25 Mar 2005) | 3 lines

Added Manipulator Combo mode, with translate/rotate/scale combined. Center
remains translate though. Can be activitated as 4th CTRL hotkey cycle.

------------------------------------------------------------------------
r4052 | sirdude | 2005-03-25 17:31:05 +0100 (Fri, 25 Mar 2005) | 12 lines



I'll break this commit into two sections in the moto files
I got rid of a few warnings about blah shadows a previous declaration.

In the gameengine files I fix the following:
	removed some unused vars
	removed dos style line breaks
	added newlines to last line in a couple of files to remove warnings.

Kent

------------------------------------------------------------------------
r4051 | desoto | 2005-03-25 17:05:31 +0100 (Fri, 25 Mar 2005) | 3 lines

Adjusted tooltips for RGB and Grad buttons on particle settings panel. User
pointed out in bug tracker that these weren't entirely accurate.

------------------------------------------------------------------------
r4050 | desoto | 2005-03-25 15:57:25 +0100 (Fri, 25 Mar 2005) | 6 lines

Quickly hacked together a fix for game engine compiling. There were two
missing files in Kester's new commits. This commit adds these two files so
that compiling can continue as it is intended to. Emilie M. found a
home for the files rather quickly, Ton recieived the files from Erwin via
email, and we all tested. Works great! Thanks to everyone that helped!

------------------------------------------------------------------------
r4049 | sirdude | 2005-03-25 15:48:29 +0100 (Fri, 25 Mar 2005) | 8 lines



Small fix for the following warning:
../include/MT_Quaternion.h:62: warning: declaration of 'angle' shadows a member
of 'this'

Kent

------------------------------------------------------------------------
r4048 | zuster | 2005-03-25 15:28:51 +0100 (Fri, 25 Mar 2005) | 2 lines

 - removed unused variable

------------------------------------------------------------------------
r4047 | ton | 2005-03-25 14:31:59 +0100 (Fri, 25 Mar 2005) | 2 lines

Transform fix; in PoseMode you now can do multiple chains again.

------------------------------------------------------------------------
r4046 | sirdude | 2005-03-25 14:18:13 +0100 (Fri, 25 Mar 2005) | 7 lines



added an #include <stdlib.h> to fix this:
KX_RayCast.h:92: error: `NULL' was not declared in this scope

Kent

------------------------------------------------------------------------
r4045 | ton | 2005-03-25 12:17:59 +0100 (Fri, 25 Mar 2005) | 23 lines

A couple of wee transform featurettes;

- center of rotation for camera in cameraview rotate has to remain the
  camera center itself, drawing the dashed helpline then doesn't work,
  since it's behind the camera clipplane. Just disabled that line.

- made MMB switch for cameraview grab to become quadratic, for a dolly
  this feels OK, and makes it possible to move in small and large scenes.

- restored SHIFT modifier for translation and scaling. This based on old
  convention that allowed precision editing on top of the transform you
  already applied before pressing SHIFT.
  Solved it with a new flag (T_SHIFT_MOD), since the G.qual cannot be
  used. Transform() innerloop has to detect the SHIFT event itself.
  Also coded it with storing the mouseposition while SHIFT event happened.
  Hope Martin can approve! :)

- Martin's last commit made Manipulator Translate not work, it passed on
  a zero translation to the constrainter, causing NaN's. Nicely catched the
  exception.

- Fixed 'Trackball' to accept number input too

------------------------------------------------------------------------
r4044 | kester | 2005-03-25 11:35:31 +0100 (Fri, 25 Mar 2005) | 4 lines

Patch from Erwin Coumans: Abstract the physics engine.

Reenable ODE in the physics engine buttons.

------------------------------------------------------------------------
r4043 | kester | 2005-03-25 11:33:39 +0100 (Fri, 25 Mar 2005) | 5 lines

Big patches:
Erwin Coumans: Abstract the physics engine
Charlie C: Joystick fixes
Me: Moved the ray cast (shadows, mouse sensor & ray sensor)

------------------------------------------------------------------------
r4042 | desoto | 2005-03-25 05:25:54 +0100 (Fri, 25 Mar 2005) | 15 lines

Commented out some old cruft in the Makefile which seemed to be unrelated
to the Cygwin platform. This produced some silly error message about files
which haven't existed in the CVS repository for many months now. I can
remember seeing this message for at least a year and since it has *never*
changed I decided to investigate. Looks like unmaintained part of the
build system that nobody pays attention to but just in case I've left it
in tact with the following comment:

This code below seems outdated and doesn't even seem to apply to the
Windows platform. I've commented it out until someone can take a look at it
and confirm or deny. If it breaks anything blame Chris Burt / Desoto

Hopefully that's clear enough, but I really think this is a trivial change
and if after review nobody minds I'll simply erase the offending code.

------------------------------------------------------------------------
r4041 | desoto | 2005-03-25 04:47:19 +0100 (Fri, 25 Mar 2005) | 18 lines

Since Cygwin isn't compatible with all of this fancy AVI codec business we
need to do a check to be sure that we're not attempting to compile AVI
codec related features on Cygwin.

Prior to Rob's commit today, this setting wasn't exposed to Cygwin by
default because it was hidden by a WITH_QUICKTIME ifdef but when Rob
cleaned up today he removed that and the WIN32 ifdef inspired Cygwin and
the free tools to try and compile these pieces. This resulted in an
undefined reference to get_avicodec_settings.

Rob: Please review this change to be sure its compatible with the rest of
your integration of the avicodec and quicktime. It seems to go flawlessly
here but without your OK I'm not comfortable making this permenant. I based
this modifcation on other instances of this check for FREE_WINDOWS so it
should be just fine.

As always if it breaks something blame Ton. :P

------------------------------------------------------------------------
r4040 | theeth | 2005-03-25 04:28:08 +0100 (Fri, 25 Mar 2005) | 4 lines

axisProjection can take care of zero-length vector so we don't need to check anymore. Was giving some problems with cameras looking perfectly down.

Also removed all NEWTRANSFORM defines, using the new code all the time now.

------------------------------------------------------------------------
r4039 | theeth | 2005-03-24 22:32:52 +0100 (Thu, 24 Mar 2005) | 4 lines

Reworked the camera dolly/parallel axis constraint code a bit. Works pretty much like the Shrink/Fatten code, meaning pull the mouse toward you pulls the camera, push pushes it away.

Also added a T_CAMERA flag for camera grab, which gets set on TransData conversion.

------------------------------------------------------------------------
r4038 | ton | 2005-03-24 22:01:12 +0100 (Thu, 24 Mar 2005) | 6 lines

Bug fix 2303

The gamma functions in gammaCorrectionTables.c cannot be used to correct
and correct back with identical results... causing banding in rendering
pictures with halos.

------------------------------------------------------------------------
r4037 | ton | 2005-03-24 19:47:09 +0100 (Thu, 24 Mar 2005) | 11 lines

Transform fixes;

- Camera translate in camera view, with MMB, works again. Code needs
  verification by Martin... it does it different now too.
- Camera rotate in camera view works again. MMB switches to 'trackball',
  as formerly. Isn't consistant with other rotate+MMB though...
- rotate camera in cameraview around cursor doesn't 'feedack' anymore

Martin; I only use the TransInfo->persinv[4][4] now, but I think it's
safe to use viewmat and viewinv too?

------------------------------------------------------------------------
r4036 | ton | 2005-03-24 14:13:00 +0100 (Thu, 24 Mar 2005) | 6 lines

Function std_rmouse_transform() works with function pointer to denote
what todo. With the new Transform(), using different args, it's not
easy to do it with single function pointer.

For the time being, the function pointer isn't used for the 3d window.

------------------------------------------------------------------------
r4035 | ton | 2005-03-24 10:37:06 +0100 (Thu, 24 Mar 2005) | 14 lines

Bug fix #2311

File name (40) and dirname (80) were too short in sequence data. Made it
compliant using defines FILE_MAXFILE and FILE_MAXDIR.
Also replaced all strcpy() and strcat() with strncpy/strncat, with the
defines in it.
Oh, also fixed plugin path length for sequence, was just 80!

Bug fix #2366

Restored old convention that made using SHIFT+CTRL while using button-
sliders go with 0.1 stepsize of CTRL.
(noticed too late that Chris Burt assigned to self... sorry!)

------------------------------------------------------------------------
r4034 | ton | 2005-03-23 23:19:51 +0100 (Wed, 23 Mar 2005) | 5 lines

Bug fix #2337

SHIFT+Z shaded view could display Shadeless overflows, due to lack of
clipping float to a char. :)

------------------------------------------------------------------------
r4033 | ton | 2005-03-23 22:20:27 +0100 (Wed, 23 Mar 2005) | 7 lines

bug fix 2353

Mesh object with hooks, which was used as duplivertor, didn't render the
duplicated objects on correct locations.
It did show OK in 3d window though, was due to not synced drawing and
render convertor code.

------------------------------------------------------------------------
r4032 | phase | 2005-03-23 22:10:03 +0100 (Wed, 23 Mar 2005) | 9 lines

Removed a couple of redundant "FTF_api.h" includes,
removed leftovers from Freeimage/Imagemagick experiments
and removed stuff from a Quicktime for linux implementation.

Also removed the (win32) Fullscreen button from the UI and
disabled the corresponding commandline option. The code is
still present to reenable the option whenever the ATI issues
get solved.

------------------------------------------------------------------------
r4031 | ton | 2005-03-23 22:08:15 +0100 (Wed, 23 Mar 2005) | 4 lines

Moved init of new gridview variable, for adaptive grid steps, out of
function that was only called in ortho... grid snapping otherwise can
not work. Thanks i-Alexander for reporting!

------------------------------------------------------------------------
r4030 | ton | 2005-03-23 20:21:43 +0100 (Wed, 23 Mar 2005) | 5 lines

bug fix #2367

Activate object in oops, while in posemode (or even editmode) was possible,
potentially causing all kinds of nasty stuff.

------------------------------------------------------------------------
r4029 | zuster | 2005-03-23 20:00:57 +0100 (Wed, 23 Mar 2005) | 4 lines

Fix for bug #1444
 - this changed creasing behavior at vertices with >2 adjacent creased
   edges. Hope no one minds (new behavior should be nicer).

------------------------------------------------------------------------
r4028 | ton | 2005-03-23 19:50:03 +0100 (Wed, 23 Mar 2005) | 4 lines

- Fix for CTRL (and possible ALT, SHIFT) as hotkey; now also works while
  moving mouse around :)
- Shift+D duplicate uses new transform

------------------------------------------------------------------------
r4027 | sirdude | 2005-03-23 19:33:52 +0100 (Wed, 23 Mar 2005) | 9 lines



a fix for: https://projects.blender.org/tracker/index.php?func=detail&aid=1173&group_id=9&atid=126

blender now does a little more homework to figure out what type of avi file is
being loaded.

Kent

------------------------------------------------------------------------
r4026 | ton | 2005-03-23 17:55:22 +0100 (Wed, 23 Mar 2005) | 8 lines

Bug fix #2375

Akey in ipowindow didn't deselect anymore. Or worse... each main refresh
in ipowindow selected all ipos!

Was related to trying to fix mess from jK's commit last year... now its
scientifically ok again! :)

------------------------------------------------------------------------
r4025 | ton | 2005-03-23 16:40:50 +0100 (Wed, 23 Mar 2005) | 4 lines

Bug fix #2349

Outliner click on mesh in screen without 3d window crashed. NULL pointer!

------------------------------------------------------------------------
r4024 | ton | 2005-03-23 15:24:43 +0100 (Wed, 23 Mar 2005) | 9 lines

New feature, since long on todo;

The grid function (transform translate, snap-to) now uses the grid step as
displayed in the 3d window, so it depends on how much you zoomed in/out.

The threshold for it is a bit tricky... it follows the drawing, but the
blending in/out of grid makes it sometimes not obvious.  might need slight
tweak?

------------------------------------------------------------------------
r4023 | ton | 2005-03-23 14:09:22 +0100 (Wed, 23 Mar 2005) | 3 lines

Monkey got accidentally 'recalcnormalled'. Causing eyes to have normals
pointing inside. Fixed!

------------------------------------------------------------------------
r4022 | ton | 2005-03-23 13:47:23 +0100 (Wed, 23 Mar 2005) | 7 lines

Bug #2444

Jkey, for showing spare render page, didn't work when using ztransp
material, or buttons F5 open or shaded view.... quite strange eh!
Caused by init-render-material setting R.flag to use Ztransp render.
Globals causing havock yes...

------------------------------------------------------------------------
r4021 | ton | 2005-03-23 12:49:54 +0100 (Wed, 23 Mar 2005) | 11 lines

Transform stuff for TEST!

- 4th rotation widget styling, activate with Scene buttons, Anim panel, "rt"
  on "4".
- drawing constraint lines replaced with widget compatible styling.
  (functionality unchanged)

Fix;
- click on center for Rotate widget didn't switch to local/normal in all
  cases

------------------------------------------------------------------------
r4020 | desoto | 2005-03-23 00:38:34 +0100 (Wed, 23 Mar 2005) | 8 lines

Updated channel listing for help with compiling Blender to reflect (once
again) the existence of #blendercompilers. Also added link to updated
compiling guide found here:

http://www.blender3d.org/cms/Building_with_Cygwin.524.0.html

Thanks to Tom M. and joeedh for pointing out that it should be updated.

------------------------------------------------------------------------
r4019 | ton | 2005-03-22 16:56:58 +0100 (Tue, 22 Mar 2005) | 6 lines

Small fix; when pulldown menus are too large to display (they get aligned
with top/bottom to active button) the menu aligns from bottom of blender
window.

This already happened for File->Export menu

------------------------------------------------------------------------
r4018 | ton | 2005-03-22 16:01:36 +0100 (Tue, 22 Mar 2005) | 9 lines

- Removed temporal hack that switched manipulator type on G, R, S hotkeys.
  That was blocking immediate hotkey access for normal blendering.
- New, experimental, hotkey to switch: CTRLKEY! Added code in such a way
  it detects a CTRL key press and release without using it as modifier.
  Pressing CTRL will cycle through the 3 manipulator types.

- Fix for yesterday's commit; click on centerpoint for switching
  orientation happened too on a click for other widgets. Not nice...

------------------------------------------------------------------------
r4017 | zuster | 2005-03-22 15:57:14 +0100 (Tue, 22 Mar 2005) | 2 lines

 - Nothing to see hear, move along, move along.

------------------------------------------------------------------------
r4016 | sirdude | 2005-03-22 14:34:31 +0100 (Tue, 22 Mar 2005) | 9 lines



Reordered some of the includes to fix STL issues.

For details, see:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=5867

Kent

------------------------------------------------------------------------
r4015 | ton | 2005-03-22 12:10:04 +0100 (Tue, 22 Mar 2005) | 3 lines

Added call in creating transform data Mesh editmode to calculate vertex-
normals for the ALT+S "shrink/fatten" option.

------------------------------------------------------------------------
r4014 | stiv | 2005-03-22 08:45:20 +0100 (Tue, 22 Mar 2005) | 13 lines

add files for Daniel Dunbar's new CCGSUBSURFLIB work to SCons build.
This commit *only* adds the new files.

Since this is an experimental feature, it is NOT enabled by default.

At the moment, you can turn it on by editing the toplevel SConstruct
file.  NOTE:  this is a hack.  it will be done properly later!

To enable this experimental feature,
add the following line after the line that starts with 'extra_flags = ['

    extra_flags.append( '-DUSE_CCGSUBSURFLIB' )

------------------------------------------------------------------------
r4013 | zuster | 2005-03-22 07:11:25 +0100 (Tue, 22 Mar 2005) | 9 lines

 - Hacked in blender style creasing support to new subsurfs.

I would like to have proper creasing (following what appears to be
the informal standard in the subdivision surface literature) but
I do not know when I will get to this or how complicated it will
be. With this patch CCGSubSurfs should now have the same capabilities
as regular subsurfs (barring possible bugs) and so replacing the
old implementation is a reasonable possibility.

------------------------------------------------------------------------
r4012 | ianwill | 2005-03-22 05:28:36 +0100 (Tue, 22 Mar 2005) | 5 lines

BPython:
-- Stephane Soppera (thanks) reported libc stat function fails for paths ending with "\" under win with free VC++ compiler toolkit 2003:
    removed final '/' (BLI_make_file_string changes the '/' to '\\\\' for win) slashes from relevant paths, that should take care of it .  Note: here (linux, glibc, gcc 3.3.3) stat doesn't have this problem.  Also checking if U.pythondir ends with a slash and, if so (as long as its length > 2 to), removing the slash, for the same reason.
-- small cosmetic changes in BPY_menus.c for debug msgs and in header_scripts (added a separator in the Scripts win -> Scripts menu).

------------------------------------------------------------------------
r4011 | ton | 2005-03-21 23:51:05 +0100 (Mon, 21 Mar 2005) | 18 lines

Transform widget update

- now support for global/local/normal orientation.
- LMB click on center switches orientation mode
- in object mode, local (now) only displays on single object selected
- in editmode, Normal orientation is derived from faces selected
- if no normal can be found, it shows local orientation

Currently implemented, for test, in Mesh editmode and PoseMode.

Note for PoseMode; the 'translation widget' shows on "IK" bones but
doesn't translate, it rotates instead. Pretty interesting to use the
translate widget for it...least cluttered display I think.

Note for Matt; I tried MMB click for switching orientation... it's just
weird that way... such clicks, repeatedly, with mousewheels isnt nice
either.

------------------------------------------------------------------------
r4010 | desoto | 2005-03-21 23:32:02 +0100 (Mon, 21 Mar 2005) | 6 lines

Added option to use new subsurf module added by Daniel Dunbar. Simply add:

export NAN_NEW_SUBSURF=true

to your user-def.mk file.

------------------------------------------------------------------------
r4009 | theeth | 2005-03-21 21:35:00 +0100 (Mon, 21 Mar 2005) | 2 lines

Size flipping, for kaito. Move pointer to the other side (horizontal) of the pointer to see. (Does affects size member, so just object position and edit mode)

------------------------------------------------------------------------
r4008 | theeth | 2005-03-21 20:16:39 +0100 (Mon, 21 Mar 2005) | 4 lines

Fix for possible divide by zero error in Rotate.

Fix for MMB behavior when two axis were exactly on one another or very close. It now defaults like this: X, Y, Z (meaning if as near as X as Y, it chooses X). This could be fixed further.

------------------------------------------------------------------------
r4007 | theeth | 2005-03-21 19:25:17 +0100 (Mon, 21 Mar 2005) | 3 lines

Created initConstraint. It basicly just checks if the CON_APPLY has been set up (by the BIF_setConstraint calls for example) and calls startConstraint. This must be done because startConstraint uses data initialised when starting transform so it needs to be called after that.
Also changed some strcpy into strncpy.

------------------------------------------------------------------------
r4006 | ton | 2005-03-21 18:52:45 +0100 (Mon, 21 Mar 2005) | 3 lines

Added string to BIF_setSingleAxisConstraint() function for headerprint.
Needed for martin to further work on print stuff

------------------------------------------------------------------------
r4005 | theeth | 2005-03-21 18:36:21 +0100 (Mon, 21 Mar 2005) | 7 lines

Shrink/Fatten behavior change. This time for good I hope.

Technically, it now works by getting the mouse motion in 3D (just like Translation/Grab), projecting it on the vertical view axis, using the vector length as the shrink/fatten factor. If the motion is downward (on the screen), shrink, if it is upward, fatten.
In layman terms: move up to fatten, down to shrink and it adapts to the viewport zoom, like Translation.

I changed to snapgrid factors to match those of Translation to, so it really acts like grabbing.

------------------------------------------------------------------------
r4004 | lukep | 2005-03-21 18:31:33 +0100 (Mon, 21 Mar 2005) | 6 lines


update of xcode project for zr subsurfs

you will need to add  USE_CCGSUBSURFLIB to the list of define macros
to compile them

------------------------------------------------------------------------
r4003 | ton | 2005-03-21 17:36:43 +0100 (Mon, 21 Mar 2005) | 9 lines

Transform:

- cleaner code for selection of handles in transform widget. in ortho views
  selecting the center handle defaults, to prevent Inf. overflows for
  perpendicular handles. While holding SHIFT it works the opposite!

- removed redraws on modifier (CTRL, SHIFT) key release. that ensures you
  can apply to grid nicely (functioned that way in all blender releases)

------------------------------------------------------------------------
r4002 | ton | 2005-03-21 15:20:04 +0100 (Mon, 21 Mar 2005) | 14 lines

More transform widget goodies;

- added 'ghosting' for while using translate/scaling widget
- added 'pie chart' ghost to denote angle while using rotate widget
- added settings to tweak widget in User menu (InfoWindow) "View & Control"
  - Size: total widget size as percentage of window size
  - Handle: as percentage of widget radius
  - Hotspot: for clicking handles, in pixels
  - Fized Size: option to make Widget size independent of window size
  Not sure if all of these are useful to keep, but makes for good testing
  in this stage.

Also: made #define to use new transform to be set TRUE by default now. :)

------------------------------------------------------------------------
r4001 | ianwill | 2005-03-21 06:26:52 +0100 (Mon, 21 Mar 2005) | 14 lines

Scripts (making some changes to the scripts dir):
- moved bpydata/ to scripts/bpydata/ and added a config/ subdir to it;
- created scripts/bpymodules for py modules (also got rid of those "mod_"'s appended to the files);
- updated scripts accordingly.

This will require you to "reinstall" (just copy the scripts/ dir over your older one) if you have a .blender/scripts/ dir somewhere.  Otherwise some scripts won't work.  You can use the updated "Help->System->System Information" script here to check all is fine.  An installer script yet to be written will help users with these issues, specially to make the user defined dir have the same structure expected from the default scripts dir, so the basic facilities (module search; saved config data; scripts: installer, help browser, config editor) are also available for a user's own collection of written and downloaded scripts.

BPython:
- slikdigit's crash was because he had no <home or blender exe location>/.blender/:
  proper check added and also now if all else fails the <cvsblender>/release/scripts/ dir is also searched for scripts.  All this registration dirs stuff is a little messy (installation!), so please report any troubles (I only tested on linux).
- slight change in error report in BPY_interface.c's BPY_menu_do_python; remembering to set globaldict pointer to NULL there, too.
- moved bpy_gethome() to EXPP_interface.[ch]
- "//" as user defined python dir is ignored while looking for scripts, considering it's only a default some users use, not really meant for a scripts dir.

------------------------------------------------------------------------
r4000 | zuster | 2005-03-21 05:22:58 +0100 (Mon, 21 Mar 2005) | 9 lines

 - update new conversion to DLM routine to use match subsurf
   (means optim, seams, selection should work same now, but I am
   not super familiar with all this stuff so can't test very well).

   These hacks to the DLM structure are disgusting btw Ton. What
   a waste of memory! All the information that is so meticulous to
   kept and managed in the old structure is essentially explicit (or
   easily made so) in the new one.

------------------------------------------------------------------------
r3999 | zuster | 2005-03-21 03:03:42 +0100 (Mon, 21 Mar 2005) | 2 lines

 - remove some duplicate prototypes, causes problems for some compilers

------------------------------------------------------------------------
r3998 | zuster | 2005-03-21 02:37:14 +0100 (Mon, 21 Mar 2005) | 3 lines

 - Part of CCGSubSurf integration, this is the actual blender side of the
   integration.

------------------------------------------------------------------------
r3997 | zuster | 2005-03-21 02:34:27 +0100 (Mon, 21 Mar 2005) | 8 lines

 - Initial integration of CCGSubSurf library into blender. The lib is
   only in one C file and not worth dropping in extern but presumably
   will be synced with public CCGSubSurf release I hope to be making
   soon.
 - Currently the implementation must be enabled by defining
   USE_CCGSUBSURFLIB somewhere with your build system. The code should
   be considered highly experimental.

------------------------------------------------------------------------
r3996 | zuster | 2005-03-21 01:48:19 +0100 (Mon, 21 Mar 2005) | 4 lines

 - switch BLI_memarena to use stdlib malloc/free (alloc errors
	will be caught by containing structure)
 - fixed off-by-one bug (reallocated one byte before necessary)

------------------------------------------------------------------------
r3995 | zuster | 2005-03-21 01:47:21 +0100 (Mon, 21 Mar 2005) | 2 lines

 - another BLI_winstuff.h removal

------------------------------------------------------------------------
r3994 | theeth | 2005-03-21 01:39:09 +0100 (Mon, 21 Mar 2005) | 9 lines

Warp was acting weird if the cursor wasn't centered in the data space, that is fixed.
Helpline for warp was wrong in edit mode if the object wasn't centered on global space.
Boundbox calculation for warp is done in view space now, so it is always maximised since aligned with the view.

Switch the negative/positive switch for Shrink/Fatten from horizontal motion to vertical motion. Pull down to shrink, pull up to fatten. This could still use some work.

BugFix: Constraint center was wrong with MMB (was bypassing the fix I commited the other day).
BugFix: Changing modes while in transform and switching to local constraints in edit mode crashed. This was due to resetting the TransInfo flag in initTransModeFlags. Now done correctly in initTrans.

------------------------------------------------------------------------
r3993 | zuster | 2005-03-20 21:48:40 +0100 (Sun, 20 Mar 2005) | 2 lines

 - kill some warnings (open/seek/read/write need io.h on win32)

------------------------------------------------------------------------
r3992 | zuster | 2005-03-20 21:36:46 +0100 (Sun, 20 Mar 2005) | 2 lines

 - apologies, accidentally commited code w/ game engine disabled

------------------------------------------------------------------------
r3991 | guitargeek | 2005-03-20 20:52:15 +0100 (Sun, 20 Mar 2005) | 2 lines

Adding some docs for material insertIpoKey additions

------------------------------------------------------------------------
r3990 | stiv | 2005-03-20 19:28:36 +0100 (Sun, 20 Mar 2005) | 4 lines

New Material method:  insertIpoKey( key_type )
inserts material ipo key at current frame.
contributed by Johnny Matthews.

------------------------------------------------------------------------
r3989 | ton | 2005-03-20 18:25:00 +0100 (Sun, 20 Mar 2005) | 6 lines

Three rotate manipulators to play with;

G.rt = 0: one handle for each rotate axis
G.rt = 2: traditional half-circle rotate handles
G.rt = 3: mixed version

------------------------------------------------------------------------
r3988 | stiv | 2005-03-20 13:34:36 +0100 (Sun, 20 Mar 2005) | 2 lines

correct bad reference to getDrawMode.

------------------------------------------------------------------------
r3987 | ton | 2005-03-20 10:45:54 +0100 (Sun, 20 Mar 2005) | 12 lines

- Fixed flipped orientation of getViewViewvector(), was opposite in ortho
  versus perspective.
  Note for Martin; still an issue with defining what positive/negative
  rotation is in perspective... needs more math here!
- Added Transform Widgets for PoseMode
- made adding bones in EditMode setting G.moving, so it doesn't draw other
  selected objects nor Widgets

Warning in commit of Martin yesterday: Trackball and initTrackball were
declared static, whilst also in transform.h. Quez; why are these functions
exported in the .h file?

------------------------------------------------------------------------
r3986 | guitargeek | 2005-03-20 04:50:56 +0100 (Sun, 20 Mar 2005) | 2 lines

Adding some docs for Object insertIpoKey additions

------------------------------------------------------------------------
r3985 | guitargeek | 2005-03-20 04:42:04 +0100 (Sun, 20 Mar 2005) | 2 lines

Adding some docs for Text3d additions

------------------------------------------------------------------------
r3984 | theeth | 2005-03-20 03:00:16 +0100 (Sun, 20 Mar 2005) | 8 lines

Ton broke a couple of things in his last commit including PET in rotation mode and local axis constraints on objects.
Bringing that back and enabling PET in trackball rotate.

Changed the rotation manipulator drawing code to really align the Trackball rotate ball with the view (using getViewVector) so that it always looks centered on the selection.
This was particularly ugly in perspective mode with a selection far from the center of the screen: http://www.clubinfo.bdeb.qc.ca/~theeth/screenie.jpg

Moved getViewVector from transform_constraints.c to transform_generics.c since it is not really a constraint related function. Also made it independant on the TransInfo structure so it might be useful elsewhere too.

------------------------------------------------------------------------
r3983 | stiv | 2005-03-20 00:47:39 +0100 (Sun, 20 Mar 2005) | 4 lines

New Bpy Object method:  insertIpoKey()
inserts Object IPO key for LOC, ROT, SIZE, LOCROT, or LOCROTSIZE
Contributed by Johnny Matthews (guitarGeek)

------------------------------------------------------------------------
r3982 | ton | 2005-03-19 23:03:14 +0100 (Sat, 19 Mar 2005) | 3 lines

- added helper lines in rotation widget
- switched to Local mode for widgets by default, will be a key/button later

------------------------------------------------------------------------
r3981 | stiv | 2005-03-19 22:28:40 +0100 (Sat, 19 Mar 2005) | 2 lines

fix warning: initialization makes integer from pointer without a cast

------------------------------------------------------------------------
r3980 | zuster | 2005-03-19 22:08:13 +0100 (Sat, 19 Mar 2005) | 8 lines

 - remove all obsolete inclusions of BLI_winstuff.h (due to recent changes)

NOTE: BLI_winstuff.h was meant to be a wrapper around windows.h to handle
undefining various crap that windows.h defines. Platform specific headers
should only have to be included in a few places. This reduces the number
of inclusions of BLI_winstuff.h to 16 which is a much more reasonable
number (than the 144 or whatever it used to be)

------------------------------------------------------------------------
r3979 | zuster | 2005-03-19 21:48:39 +0100 (Sat, 19 Mar 2005) | 5 lines

 - add some windows specific defines to BIF_gl.h so that OpenGL can
   be used without including windows.h - this is the main reason windows.h
   is included in so many places and this change allows most of those
   inclusions to die.

------------------------------------------------------------------------
r3978 | ton | 2005-03-19 21:27:13 +0100 (Sat, 19 Mar 2005) | 6 lines

Global G.moving got nice define flags, and additional meaning.

- move object mode
- move editmode/pose mode
- move with widgets

------------------------------------------------------------------------
r3977 | zuster | 2005-03-19 21:19:10 +0100 (Sat, 19 Mar 2005) | 2 lines

 - part of BLI_winstuff.h cleanup

------------------------------------------------------------------------
r3976 | zuster | 2005-03-19 21:04:25 +0100 (Sat, 19 Mar 2005) | 9 lines

Some cleaning up of BLI_winstuff.h usage
 - removed reference in render.h (really bad, shouldn't include a platform
   specific header so widely unless really necessary)
 - added M_PI, M_PI_2, M_SQRT, M_SQRT_2 defines to BLI_arithb.h... this is
   a better place as it is more the "standard" blender math header. left
   in winstuff.h as well for the moment for simplicity
 - other changes are patches to code so everything works ok with this
   shuffling.

------------------------------------------------------------------------
r3975 | ton | 2005-03-19 21:00:23 +0100 (Sat, 19 Mar 2005) | 3 lines

Little fix; while Transform() in editmode, and other objects were select,
these objects were drawn in transform color (white usually)

------------------------------------------------------------------------
r3974 | ton | 2005-03-19 19:54:45 +0100 (Sat, 19 Mar 2005) | 2 lines

New version of rotate handlers. I like it! Now the rest of you ;)

------------------------------------------------------------------------
r3973 | ianwill | 2005-03-19 19:23:05 +0100 (Sat, 19 Mar 2005) | 14 lines

BPython:
- Added Blender.Run(script) + doc update (forgot to mention in my previous commit).

Trying to fix two mistakes from my previous commit:

- nmesh.transform(): forgot yesterday that affine vectors have 4th component = 0, now updated normals transformation accordingly.

- As Ton pointed, recursive parsing of scripts dirs in search of scripts was a mess.  I simply forgot about the "//" trick and much worse, to protect against worst cases ("/", for example). Now the code uses BLI_convertstringcode to take care of "//", doesn't process if dir = "/" and there are limits:

max depth for traversing subdirs = 4
max dirs in the tree = 30.

I'll work more on this, check more, but these changes were tested and should make the code safer, of course, so I'm committing.  Sorry about the mess, I should take lessons on defensive programming ...

------------------------------------------------------------------------
r3972 | guitargeek | 2005-03-19 18:15:25 +0100 (Sat, 19 Mar 2005) | 2 lines

Fix for building on win32

------------------------------------------------------------------------
r3971 | goofster | 2005-03-19 15:13:45 +0100 (Sat, 19 Mar 2005) | 2 lines

Added transform_manipulator.c to the windows MSVC 6.0 projectfile

------------------------------------------------------------------------
r3970 | stiv | 2005-03-19 14:26:03 +0100 (Sat, 19 Mar 2005) | 3 lines

Added curly braces around an #ifdef NEWTRANSFORM.
Needed when NEWTRANSFORM was not defined.

------------------------------------------------------------------------
r3969 | ton | 2005-03-19 13:17:06 +0100 (Sat, 19 Mar 2005) | 17 lines

Transform widgets; Scale and Rotate versions

To use; press the (temporal) icon in header. Switching widget types is by
pressing G, R or S once, if current widget type is different it switches,
otherwise it goes to normal Transform().

Widgets need a bit test for picking accuracy, correct drawing etc.
The rotate widget has a center button for 'trackball' rotate. That latter
can also be used for hotkey-based rotate.

In current code, all widgets remain in "Global" space, also in editmode.
Also widget updates while using normal transform has to be done.

2 Bugfixes:
- rotate in PoseMode had error for 2d 'around' center
- transform in postemode could crash, due to typo (& or |)

------------------------------------------------------------------------
r3968 | ianwill | 2005-03-19 07:24:55 +0100 (Sat, 19 Mar 2005) | 25 lines

BPython:

- Scripts:
    fixed error in "Save Current Theme" which prevented it from automatically updating script registration in menus.
    cosmetic changes in a couple of Campbell's sel_same.py script strings + more descriptive name for its new menu place (3d view, face mode -> select menu).
    small updates to help_browser.py script.

 The above changes are related to this:
- Added new script menu entries: Render (for exporters to renderers), Themes, FaceSelect (this already at the proper place).  Updated Scripts win->Scripts menu so it won't show all available entries, only  the ones we mean to see there.
- Updated menu registration so that scripts folders can become trees.  The release/scripts/ dir should be updated soon with subdirs like converters/, modifiers/, generators/ or whatever -- better discuss first (or is it? /me afraid of long irc discussions during meetings :) ).

- Modules:
    Blender: added 'udatadir' option to .Get() function and added var Blender.mode to tell if Blender is in bg or interactive mode.
    NMesh: added Campbell's nmesh.transform(matrix, recalc_normals = False) method (reworked, so my fault if it doesn't work).

- Bugs fixed:
    #2123: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2123&group_id=9
    Reported by Ken Hughes (thanks!), who also found the exact problem later (it was in Text.Load, not with script links -- if only I had checked emails these days ... lost > 1 hour today to find the problem: passed filename to M_Text_Load was later being written over by a function called by add_text).  Also saw that Text.Load wasn't checking existence of passed filename (duh!), now it does.

    #1655: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1655&group_id=9
    Reported by Chris Want (thanks!): command line "blender -P script" not working properly for bg mode ("blender -b blendfile -P script").
    Had to make some small updates to get it working (bg mode for scripts was never explicitely handled, it worked due to collateral effects, let's say), interested readers can check the report after I update it or the API_intro.py doc file.  After more testing we can make further updates.  Updated many places to not call redraws if in bg mode, now it is officially available.  Blender outputs its own info when rendering in bg mode, if that is considered a nuissance we'll have to add a few "if (during_script())" calls outside bpython.

- Removed a few warnings here and there and also updated docs.

------------------------------------------------------------------------
r3967 | ascotan | 2005-03-19 04:24:00 +0100 (Sat, 19 Mar 2005) | 8 lines

- patch submitted by guitargeek
-includes:
*Text3d accessors - ablity to manipulate FONT objects through python
*update to Object.link - calls text_to_curve upon ob_font link for drawing
*update to constant.h - constant type checking define
*update to curve.c - clamp values on getters/setters
*clean up of Text3d module

------------------------------------------------------------------------
r3966 | ascotan | 2005-03-18 17:12:17 +0100 (Fri, 18 Mar 2005) | 3 lines

- adds /GR to compiler options for generating run time type info for c++ classes in the debug release
- add support for new transform files

------------------------------------------------------------------------
r3965 | theeth | 2005-03-18 16:08:02 +0100 (Fri, 18 Mar 2005) | 6 lines

Individual Element (object) center for Rotate and Resize. Note that using this in edit mode is a bit useless right now, but we have some surprises in our bozo bin :P

Transform can switch mode on the fly again (GRS).

Fixed a bug with the BIF constraint call, needed to call startConstraint and normalise the space matrix (this affected the manipulator).

------------------------------------------------------------------------
r3964 | lukep | 2005-03-18 00:21:35 +0100 (Fri, 18 Mar 2005) | 2 lines

added transform_manipulator.c to XCode project

------------------------------------------------------------------------
r3963 | ton | 2005-03-17 22:46:05 +0100 (Thu, 17 Mar 2005) | 5 lines

Forgot to cvs add a file!
Also did the SConscript file.

MSVC users have to add this!

------------------------------------------------------------------------
r3962 | ton | 2005-03-17 22:31:49 +0100 (Thu, 17 Mar 2005) | 32 lines

So! Finally a show-off of the *power* of Martin P's work! :)

- Made framework for 3d Transform Manipulators (widgets)
- The Manipulators act like '2d buttons', by default with LeftMouse and with
  while-hold-move-release
- Implemented now: Translation Widget, which allows:
  - four hotspots for axis grab or view-aligned grab
  - center defined by 'around' setting
  - SHIFT+LMB gives planar constraint on other 2 axes
  - works in Object mode and Edit mode (not posemode yet)

Enable it with (temporal) icon in 3D header. All other 'normal' transforms
then keeps working btw.

On the todo for this widget:
- choice for Global, Local or Normal orientation

The way the widgets are going to work is in review still. Commit is also for
Matt for his proposal/paper on topic.
Some notes regarding this project;

- no life updates (on mouse over) like 3DS, I think that's neurotic
- on click, dominant axis changes to theme defined "Transform" color, other axes disappear, like maya
- manipulater size is fixed preset, independent zoom.
- manipulator follows selection, and is located based on 'around' mode

Unresolved;

- in maya, when you select 2 or more objects, the manipulator draws on the 'active' object, also interesting
- what to do with G,R,S hotkeys? It could switch the manipulator "mode"...
- header button/menu for manipulator mode?

------------------------------------------------------------------------
r3961 | pidhash | 2005-03-17 15:41:36 +0100 (Thu, 17 Mar 2005) | 3 lines

fixed example of use the GetScreenInfo
.

------------------------------------------------------------------------
r3960 | theeth | 2005-03-17 14:55:48 +0100 (Thu, 17 Mar 2005) | 3 lines

Needed to normalise the axis orientation matrix.
This fixed the scaling bug intrr and LetterRip reported.

------------------------------------------------------------------------
r3959 | ton | 2005-03-17 13:01:07 +0100 (Thu, 17 Mar 2005) | 3 lines

Ack, typo in previous commit, bugfix for confusing edge selection. Passed
a face pointer to edge function... tsk tsk!

------------------------------------------------------------------------
r3958 | theeth | 2005-03-17 03:34:25 +0100 (Thu, 17 Mar 2005) | 11 lines

Trying a little something with the MMB behavior.

Constraint selection is now based on mouse motion (instead of pointer position).

What that means is that if you simply click MMB, it works exactly like it did with old transform (in 90% of the case, the last 10% is when MMB click was unpredictable in old transform because of extreme viewport orientation)

Also, since this means you don't really have a referential on which to base yourself, it draws a dashed line representing the mouse motion, starting at the center of the axis lines.


Please test and discuss, if this is better than before or not.

------------------------------------------------------------------------
r3957 | theeth | 2005-03-16 22:55:57 +0100 (Wed, 16 Mar 2005) | 8 lines

Fixed constraint center calculation. Much smarter to do it when calculating transformation center...

Fixed Extrude constraint. Needed to premul the normal by the object's matrix to but it in global space.

Also, moved the Locking Axis modifier (for constraints) from Alt to Shift. Alt was conflicting with middle mouse button emulation (reported in the test builds forum).

Tilt Transformation.

------------------------------------------------------------------------
r3956 | lukep | 2005-03-15 19:56:35 +0100 (Tue, 15 Mar 2005) | 5 lines

changed the absolute paths to relatives ones in XCode project. sorry

One interesting test would be to turn SCM control on in XCode and check the
 project update itself as it sould

------------------------------------------------------------------------
r3955 | theeth | 2005-03-15 18:31:46 +0100 (Tue, 15 Mar 2005) | 6 lines

Optimising transformations in PET mode.

Sorting elements in TransData array according to their distance. That means we can always stop loops when it finds the first element that doesn't apply. That makes PET factor calculation and actual transformations faster since it stops at the first element outside of the area.

The Sorting algo is a no swap version of quicksort using the start of each subset as the pivot (random would be better and easy to implement. Need 3 additional lines of code really).

------------------------------------------------------------------------
r3954 | ton | 2005-03-15 13:30:58 +0100 (Tue, 15 Mar 2005) | 9 lines

Bug fix #2320

Silly 2.36 bug! In FaceSelect mode, other solid objects didn't show. Bad!

Additional; when using Halo material, and setting 'X Alpha', and disabling
Halo option, the 'Only Shadow' option turned on... uses same bit...
No time for real fix here, so for now the bit is always cleared after
disabling Halo.

------------------------------------------------------------------------
r3953 | theeth | 2005-03-15 00:24:37 +0100 (Tue, 15 Mar 2005) | 2 lines

Matrix multiplcations for Multiple Object local constraints for Resize was done backward. Didn't show in my test case because they were too crude. Fixed now. (in essence, resize with multiple selected objects and local constraint was not good)

------------------------------------------------------------------------
r3952 | lukep | 2005-03-14 21:43:55 +0100 (Mon, 14 Mar 2005) | 21 lines

xcode build system for blender :

only blender itself for the moment, no player.
international build

divided in 3 subs :

- makesdna
- blender
- bundle packaging

build in order.
you should be able to enable CVS from inside xcode, even for the project,
but you need an initial checkout.

Note this is an initial project, which should evolve to something more
configurable. However, the main and officials build systems stay as
make and scons. This is only an help for the users.

Apple fix&continue feature cannot work due to the way we build the app

------------------------------------------------------------------------
r3951 | lukep | 2005-03-14 21:31:21 +0100 (Mon, 14 Mar 2005) | 2 lines

removing outdated project builder files. making room for xcode ;)

------------------------------------------------------------------------
r3950 | lukep | 2005-03-14 21:10:22 +0100 (Mon, 14 Mar 2005) | 2 lines

ome more warnings cleaning

------------------------------------------------------------------------
r3949 | ton | 2005-03-14 21:09:57 +0100 (Mon, 14 Mar 2005) | 5 lines

Bugfix #2324

Somehow, not proven how, edges can be selected in a mesh, and not faces or
vertices. When entering editmode these selection flags are checked too.

------------------------------------------------------------------------
r3948 | sirdude | 2005-03-14 15:56:40 +0100 (Mon, 14 Mar 2005) | 8 lines



This commit reverses the OpenEXR specific stuff in the OpenEXR commit I
did last friday.  A patch will be available in the patches tracker
that will have the current stuff there until everything is working.

Kent

------------------------------------------------------------------------
r3947 | ton | 2005-03-14 15:16:59 +0100 (Mon, 14 Mar 2005) | 8 lines

Transform: brought back axis constraint default after extruding. When
choosing 'individual faces' it uses the ShrinkFatten option.

Note for Martin: center of axis is still wrong, but you know!
Note for non-testers: unfortunately axis constrainting for old
transform now doesn't work anymore. New code is much nicer, I dont restore
hacks!

------------------------------------------------------------------------
r3946 | theeth | 2005-03-13 22:42:22 +0100 (Sun, 13 Mar 2005) | 9 lines

New AFFECTALL flag for numinput
When that flag is set, numbers typed when the cursor is on the first position will affect all positions who do not currently have something typed for them.

Enabled Skey, 2, Enter to quickly double the size of something.

All modesty asside, it's coded rather smartly so it shows the cursor in every position that it will affect and lets you tab in undefined position to type in values there.

Thanks to Samadam for reminding me that the old code permitted that.

------------------------------------------------------------------------
r3945 | theeth | 2005-03-13 21:25:43 +0100 (Sun, 13 Mar 2005) | 2 lines

Missed that file in the last commit.

------------------------------------------------------------------------
r3944 | theeth | 2005-03-13 21:17:39 +0100 (Sun, 13 Mar 2005) | 5 lines

Fixed edit mode armature bug reported by Gabio (transdata conversion wasn't setting data center correctly).

Brought back Shrink/Fatten. Changed the behavior a bit, move the cursor to the right to move toward the normal, to the left to move backward. Please comment.
Only works with meshes, defaults to resize otherwise.

------------------------------------------------------------------------
r3943 | ton | 2005-03-13 20:48:17 +0100 (Sun, 13 Mar 2005) | 5 lines

Transform:

Camera grab from camera mode works, but not the middlemouse-toggle, that
has to become a new "Dolly" constraint coded by Martin P! :)

------------------------------------------------------------------------
r3942 | stiv | 2005-03-13 14:17:59 +0100 (Sun, 13 Mar 2005) | 2 lines

A little editing on the doc for the newest member of our Bpy module familily: Text3d.

------------------------------------------------------------------------
r3941 | theeth | 2005-03-13 03:15:32 +0100 (Sun, 13 Mar 2005) | 2 lines

Made warp use TransData members instead of G.obedit. Made it work with PET and Objects at the same time.

------------------------------------------------------------------------
r3940 | theeth | 2005-03-13 00:15:26 +0100 (Sun, 13 Mar 2005) | 4 lines

Local axis with multiple objects wasn't working for Scaling.

Also, splitted of Translation's applying loop (for eventually macro interface).

------------------------------------------------------------------------
r3939 | theeth | 2005-03-12 21:34:02 +0100 (Sat, 12 Mar 2005) | 6 lines

NumInput is now applied correctly to constraints and prints correctly in the header.

What that means is that you can grab/resize an object, press Xkey, type 2 (to resize/move by 2 on the x axis) and then press Ykey and the numeric value will be applied to the transformation on the Y axis.

Fixed a small glitch where constraint center wasn't readjusted for edit mode when using MMB (graphical bug only).

------------------------------------------------------------------------
r3938 | sirdude | 2005-03-12 17:32:32 +0100 (Sat, 12 Mar 2005) | 24 lines



*sigh*  I obviously rushed this.  I honestly thought that this commit would
not affect anyone.

Changed:
if user_openexr == 'false':
	defines += ['WITH_OPENEXR']

To what it was suppose to be:
user_openexr = 'false':
if user_openexr == 'true':
	defines += ['WITH_OPENEXR']

This was messed up on most platforms, somewhere when adding them all
I switched to the bad version and continued with that...

I'm on irc if anyone else has any commits to clean this up.  I'm going
through things and trying to make sure its working for everyone.

Sorry,

Kent

------------------------------------------------------------------------
r3937 | ton | 2005-03-12 14:37:05 +0100 (Sat, 12 Mar 2005) | 3 lines

Added a #ifdef WITH_OPENEXR around this entire file. It doesn't compile for
Makefiles otherwise...

------------------------------------------------------------------------
r3936 | pidhash | 2005-03-12 13:31:33 +0100 (Sat, 12 Mar 2005) | 3 lines

doc about set/getDupliVerts method
.

------------------------------------------------------------------------
r3935 | ton | 2005-03-12 13:10:07 +0100 (Sat, 12 Mar 2005) | 9 lines

Bug fix as reported by Fish-Face/Chris Le Sueur on IRC

After deleting an object, the call free_and_unlink_base() takes care of
NULLifying object pointers. But, with exception of constraints. Silly!!!

So, in the end of a function additionally the test_scene_constraints()
has to be called to prevent crashes. This was missing in join_mesh and
convert_object.

------------------------------------------------------------------------
r3934 | pidhash | 2005-03-12 12:38:51 +0100 (Sat, 12 Mar 2005) | 3 lines

added getDupliVerts and setDupliVerts methods
.

------------------------------------------------------------------------
r3933 | zuster | 2005-03-11 22:20:33 +0100 (Fri, 11 Mar 2005) | 3 lines

 - made makesdna print how many bytes of padding should be added in
    a struct on alignment errors, simplifies fixing.

------------------------------------------------------------------------
r3932 | zuster | 2005-03-11 22:15:20 +0100 (Fri, 11 Mar 2005) | 2 lines

 - dna_error wasn't set on two errors in makesdna, allowed bad compilation

------------------------------------------------------------------------
r3931 | sirdude | 2005-03-11 21:16:14 +0100 (Fri, 11 Mar 2005) | 19 lines



Gernot Ziegler's  patch to add OpenEXR support to blender.

To enable it you will need to download OpenEXR and install it.
For the Makefiles you will need to set WITH_OPENEXR=true
and set NAN_OPENEXR to point to where OpenEXR is installed.

For scons you'll need to remove config.opts to get the new options
so you can enable OpenEXR, I was not able to get blender to link
with scons so the scons stuff may need to be tweaked a little but
I think it should work.

For other platform managers  The OpenEXR stuff is similar to QUICKTIME
you need to define WITH_OPENEXR and setup the library stuff and
as you'll notice in this commit there are two extra files.

Kent

------------------------------------------------------------------------
r3930 | ton | 2005-03-11 19:55:09 +0100 (Fri, 11 Mar 2005) | 6 lines

Bug fix 2301

Halo render had too narrow clipping for left/right or top/bottom part of
image. Was caused by fix for 2.36, incorrect clipping for distance...
distance was OK, but the old hack should be still there for X or Y clip!

------------------------------------------------------------------------
r3929 | theeth | 2005-03-11 19:48:14 +0100 (Fri, 11 Mar 2005) | 2 lines

It's fun to set flags correctly and not have everything crash down on you.

------------------------------------------------------------------------
r3928 | ton | 2005-03-11 19:24:15 +0100 (Fri, 11 Mar 2005) | 5 lines

Bug fix 2309

Move calls to exit editmode and posemode to "set_scene()". Was causing
errors when, in posemode, switching to empty scene.

------------------------------------------------------------------------
r3927 | sirdude | 2005-03-11 15:52:31 +0100 (Fri, 11 Mar 2005) | 8 lines



Removed Control-M's

bug#2288

Kent

------------------------------------------------------------------------
r3926 | sirdude | 2005-03-11 14:00:31 +0100 (Fri, 11 Mar 2005) | 8 lines



Found some messed up code that assumed abgr instead of rgba
In IMB_gamwarp which is used by the blur sequence plugin.
It should be fixed now.  Also fixes a warning with gcc.

Kent

------------------------------------------------------------------------
r3925 | theeth | 2005-03-11 02:33:43 +0100 (Fri, 11 Mar 2005) | 6 lines

IMPORTANT NOTE: Locking axis (planar constraints) now works with ALT instead of CTRL. Ctrl might have caused problems in the long run, with people holding down ctrl for precision and then having to release it so to press an axis key if they don't want to lock it.

Finish adding local constraints for multiple objects: One of the objects will have its axis highlighted lighter than the others. You control this one with your mouse and the others copy the motion on their respective axis.

Code changes: the TD_OBJECT flag is now a flag in TransInfo with the new T_POSE, T_EDIT and T_TEXTURE

------------------------------------------------------------------------
r3924 | ton | 2005-03-10 21:29:28 +0100 (Thu, 10 Mar 2005) | 6 lines

Bugfix 2062

Stringcopy to a buf[32] without checking stringsize caused errors.

All credits for Martin P who found it. I'm assistant-committer. :)

------------------------------------------------------------------------
r3923 | pidhash | 2005-03-10 03:49:27 +0100 (Thu, 10 Mar 2005) | 3 lines

Text3d submodule document
.

------------------------------------------------------------------------
r3922 | theeth | 2005-03-10 00:29:19 +0100 (Thu, 10 Mar 2005) | 2 lines

MSVC 6.0 Projectfile addition (include path) to compile after the big warning hunt commit.

------------------------------------------------------------------------
r3921 | ton | 2005-03-09 22:10:30 +0100 (Wed, 09 Mar 2005) | 8 lines

- Added more space in icons image (blenderbuttons.png)
  It now only uses 1 extra row of 21 buttons. More can simply be added
- Added new icons for the new proportional edit options Root, Linear and
  Constant
- Made sure pulldown and pop-up menu work for new prop options

- Transform fix; proportional edit circle was drawing in Object mode

------------------------------------------------------------------------
r3920 | ton | 2005-03-09 22:04:09 +0100 (Wed, 09 Mar 2005) | 2 lines

Upgraded buttons image

------------------------------------------------------------------------
r3919 | lukep | 2005-03-09 20:45:59 +0100 (Wed, 09 Mar 2005) | 3 lines

big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors

------------------------------------------------------------------------
r3918 | ton | 2005-03-09 20:32:23 +0100 (Wed, 09 Mar 2005) | 6 lines

Transform project; restored "auto key" after transform. It now inserts
always loc/rot/size ipos. The old method had a quite questionable
heuristic for detecting what changed, not sure if we want it back.

Added note in code, good candidate for later recode with dep graphs.

------------------------------------------------------------------------
r3917 | ton | 2005-03-09 17:58:42 +0100 (Wed, 09 Mar 2005) | 3 lines

- Restored 'align mode', which allows rotate/scale with only object centers
- commented out debug prints from theeth :)

------------------------------------------------------------------------
r3916 | pidhash | 2005-03-09 03:06:35 +0100 (Wed, 09 Mar 2005) | 3 lines

doc about Text3d module
.

------------------------------------------------------------------------
r3915 | zuster | 2005-03-08 20:31:16 +0100 (Tue, 08 Mar 2005) | 2 lines

 - replaced min() by MIN2() and max() by MAX2()... my bad.

------------------------------------------------------------------------
r3914 | zuster | 2005-03-08 20:27:58 +0100 (Tue, 08 Mar 2005) | 12 lines

Bug fix #2296
 - Background image would jitter around on ATI card when zoomed in too
   far. It appears that the driver is was multiplying the image width
   by the zoom factor at some point and clamping this number, before
   clipping the visible image. Somehow this then fed back in to clipping
   the zoom factor.

   Fix is to only tell GL to draw the smallest number of pixels (width
   and height) that would be visible on the screen. Since this is not
   a generally bad thing to do applied fix for all users of
   glaDrawPixelsSafe.

------------------------------------------------------------------------
r3913 | zuster | 2005-03-08 20:18:40 +0100 (Tue, 08 Mar 2005) | 3 lines

 - switch draW_bgpic to calculate window coordinates as floats, smoother
     zooming of background pic now.

------------------------------------------------------------------------
r3912 | zuster | 2005-03-08 19:58:27 +0100 (Tue, 08 Mar 2005) | 5 lines

 - replaced call to project_short_noclip with direct implementation
     because project_short_noclip doesn't do the calculation if
     the value would be near-clipped. For background picture we
     don't care about this.

------------------------------------------------------------------------
r3911 | ton | 2005-03-08 18:29:33 +0100 (Tue, 08 Mar 2005) | 6 lines

New transform project;

- restored 'Warp' (Shift+W). Should work like before, including type mode
  and holding ctrl/shift modifiers
- added CTRL event in queue, to only redraw when you press it. looks nicer.

------------------------------------------------------------------------
r3910 | theeth | 2005-03-08 04:51:45 +0100 (Tue, 08 Mar 2005) | 23 lines

+ Local axis constraint for multiple object selection works with resize and rotate (the easiest).

+ Refined the headerprint for Translation. Now prints only the needed info for constraint in the constraint's space (ie: if you're moving 1 unit along the local X axis, regardless of it's orientation, it will print "D: 1.000 along local X")
Still need to make numinput work like that (typing a number with a local axis constraint would move along that axis. There's some base code already though, just need a finishing touch, but it's late now)

+ Optimised PET calculations by using the TD_NOACTION flag (actually, that might have been in the last commit).

+ Added a float axismtx[3][3] member to TransData to store the orientation of the element (useful for local axis constrainst which, in edit could be moving along normals and the like).

- Fixed scaling in edit mode (was doing some matrix multiplications in the wrong order, only visible when using a constraint)

- Fixed the constraint projection matrix. It didn't work for planar constraint if the constraint space wasn't global (in a nutshell, it produced weird results for local space planes).

- Some potential bugs fixed (Note to Ton: added an ext pointer in TransInfo to point to the TransDataExtension block. With the sort done after allocation, the first td pointer doesn't necesarely point at the start of the ext block, so we needed another to free it correctly).

- Got rid of some remaining test with G.obedit.

- Moved constraint reset from init to post trans code (Ton, that means you can create constraints before calling transform, like for the menus for example).

NOTE:

I was getting some random segfault with the new headerprint code. Very random, couldn't reproduce with a debug version. I did some initialisation that might have been missing (though doubtful that's what caused the crashes). Was linked to using constraint though not caused by them. Probably due to some dumb late coding error.

------------------------------------------------------------------------
r3909 | ascotan | 2005-03-07 17:32:17 +0100 (Mon, 07 Mar 2005) | 2 lines

Changed a CRTL dependency for the debug build which generates a linker warning about missing output file which forces a full incremental link.

------------------------------------------------------------------------
r3908 | desoto | 2005-03-07 16:26:32 +0100 (Mon, 07 Mar 2005) | 3 lines

Tooltips for new marble buttons were from a copy/paste operation. This
caused error with... well... tooltips. ;) First commit!

------------------------------------------------------------------------
r3907 | guitargeek | 2005-03-07 15:48:13 +0100 (Mon, 07 Mar 2005) | 2 lines

Solves a build problem with MSVC scons build. Thanks kaito for pointing out the Black box of BLI_winstuff

------------------------------------------------------------------------
r3906 | ton | 2005-03-07 13:41:23 +0100 (Mon, 07 Mar 2005) | 9 lines

Bug fix #2292

Bumpmaps for skin on Env's dinosaurs appeared to be less nice in 2.36. This
was caused by the bugfix to make bumpmapping correct for rotations, which
should only work for flat/cube mapping. It also rotated it for sphere/tube
though, which gives less interesting bumps.

So; now the correction is skipped for tube/sphere mapping bumping.

------------------------------------------------------------------------
r3905 | ton | 2005-03-07 12:01:43 +0100 (Mon, 07 Mar 2005) | 8 lines

Patch provided by Chris Burt;

Wood/marble now have three waveforms to choose from: Sine, Saw and Triangle.
The Saw wave allows for much more realistic wood, especially in combination
with a ColorBand. A blender3d.org release page is being constructed about it.

Added: commit in editmesh_add.c to remove circle warning in face-select mode.

------------------------------------------------------------------------
r3904 | stiv | 2005-03-07 04:31:14 +0100 (Mon, 07 Mar 2005) | 3 lines

fix warnings about implicit declarations.
overlooked by being in a hurry.

------------------------------------------------------------------------
r3903 | theeth | 2005-03-07 03:21:04 +0100 (Mon, 07 Mar 2005) | 7 lines

Local axis constraint started.
Works with edit data and in object mode with single selections (only one object selected).

Also started adding constraint stuff in headerprints. Only for Translation for now.

Pressing X,Y,Z (and the Ctrl versions) toggle between global, local and off like it used to do.

------------------------------------------------------------------------
r3902 | ascotan | 2005-03-07 02:17:54 +0100 (Mon, 07 Mar 2005) | 2 lines

-Added Text3D module to project files

------------------------------------------------------------------------
r3901 | ton | 2005-03-06 20:25:58 +0100 (Sun, 06 Mar 2005) | 8 lines

Fix & further implementation of Proportional editing;

- made generic 'calc distance' function for it
- added generic call to sort TransData with selection first, for speedup
  of propmode calculus
- removed most propmode exceptions from code, only used for counting now
- all editmode transdata conversion function structured identical

------------------------------------------------------------------------
r3900 | aphex | 2005-03-06 17:57:17 +0100 (Sun, 06 Mar 2005) | 2 lines

Added new bpy files to MSVC 6 project files.

------------------------------------------------------------------------
r3899 | stiv | 2005-03-06 15:55:00 +0100 (Sun, 06 Mar 2005) | 3 lines

New Bpy type Text3d for accessing Blender's Font objects.
Contributed by Joilnen Leite (pidhash).

------------------------------------------------------------------------
r3898 | ton | 2005-03-04 23:17:52 +0100 (Fri, 04 Mar 2005) | 8 lines

Bug fix, provided by Martin Dickopp;

The dynamical allocated arrays (rwenzlaff, april 03) for render vertices/
faces/halos were freed in a way that requires the last element of array to
be NULL.
This wasn't coded however, causing memory errors in exceptional cases;
like when amount of faces/vertices is exact between 261888 and 262144. :)

------------------------------------------------------------------------
r3897 | ton | 2005-03-04 21:20:59 +0100 (Fri, 04 Mar 2005) | 10 lines

Bug fix #2265

Found (old) issue in render... the "VlakRen" (render face) has an Object
pointer which can point to a duplicated one (dupliframes/dupliverts option),
which is freed before actual render starts... this nicely crashes in Windows.

I now store the original Object pointer, which can lead to texture
orientation errors in some situations (like normal-bump stuff).
Real solution is recode of duplicator system!

------------------------------------------------------------------------
r3896 | ton | 2005-03-04 21:02:52 +0100 (Fri, 04 Mar 2005) | 5 lines

Bug fix #2270

Accidentally left in testing line in dxf reader... causing quads to be
imported as triangles. Was released in 2.36! Tsk.

------------------------------------------------------------------------
r3895 | ton | 2005-03-04 20:44:29 +0100 (Fri, 04 Mar 2005) | 7 lines

Bug fix #2289

Environment maps type "Load" don't need to have an "Ob" object set to
render. Without object it renders applied envmaps like reflection maps.
Please note that envmaps then still "mirror" realistic, provided the
original object the envmap was rendered with  was not rotated.

------------------------------------------------------------------------
r3894 | ascotan | 2005-03-04 17:35:07 +0100 (Fri, 04 Mar 2005) | 2 lines

-msvc7 project file needs to update the /src project to include files for the new transformation code so that the linker can be happy.

------------------------------------------------------------------------
r3893 | theeth | 2005-03-04 04:52:09 +0100 (Fri, 04 Mar 2005) | 2 lines

need to use MIN2 instead of min for compatibility with other compilers.

------------------------------------------------------------------------
r3892 | theeth | 2005-03-04 01:07:16 +0100 (Fri, 04 Mar 2005) | 4 lines

Fixed resize constraining. Was using same function as translation but this is no go for unaligned axis.

Made a generic snapGrid function. Now, each transform needs to define it's snapping parameters in their init. This is needed because of the constraint branching.

------------------------------------------------------------------------
r3891 | ton | 2005-03-03 22:25:53 +0100 (Thu, 03 Mar 2005) | 5 lines

Thanks to stefano; auto-handles on Bezier curve now make a (near) perfect
circle.
bug report;
http://projects.blender.org/tracker/index.php?func=detail&aid=2274&group_id=9&atid=125

------------------------------------------------------------------------
r3890 | aphex | 2005-03-03 21:40:48 +0100 (Thu, 03 Mar 2005) | 2 lines

Applied correct '\\' for file paths on Windows (thanks Elubie!)

------------------------------------------------------------------------
r3889 | ton | 2005-03-03 21:30:18 +0100 (Thu, 03 Mar 2005) | 3 lines

Tinsy UI change in game-framing menu (X and Y resol buttons correct align)
Provided by Carsten.

------------------------------------------------------------------------
r3888 | guitargeek | 2005-03-03 20:45:37 +0100 (Thu, 03 Mar 2005) | 2 lines

New menu option: When converting a subsurf or metaball to mesh, the option to delete the original is added, along with code to make it work :)

------------------------------------------------------------------------
r3887 | ascotan | 2005-03-01 23:07:11 +0100 (Tue, 01 Mar 2005) | 2 lines

A few todo items and misc notes

------------------------------------------------------------------------
r3886 | theeth | 2005-03-01 20:22:29 +0100 (Tue, 01 Mar 2005) | 21 lines

Fixed a bug in the constraint projection code. It only worked correctly when locking the Z axis because of a malformed if clause.

Renamed the constraints defines to CON_*

Renamed the fonctions used to interactively select a constraint (with MMB). The previous naming scheme was obscure at best.

Added a CON_SELECT flag when selecting interactively. (Following the idea of the patch joeedh submitted).
New behavior when selecting a constraint interactively, not only does it highlight the axis that will be selected, it also makes it the current constraint.

Holding down Ctrl when selecting a constraint with MMB now does the same as hitting Ctrl-AXIS. That is, it locks that axis (planar constraint on the normal plane).

- - - - -

To all those who posted suggestions, I'm not forgetting them:
- broken / desoto with the plane draw thingy,
- RobertT's push/pull transformation (that was from before the new code even)
- UnNamed's MMB interactive idea as we discussed on IRC
and all the others that I've noted down somewhere.

Next for today, I'll have a look at local constraint (object's axis).

------------------------------------------------------------------------
r3885 | ton | 2005-03-01 17:19:19 +0100 (Tue, 01 Mar 2005) | 5 lines

Bug #2266

- top header count updates correct now using SHIFT+F4 databrowse
- same for switching layers in 3d window

------------------------------------------------------------------------
r3884 | ton | 2005-03-01 16:29:01 +0100 (Tue, 01 Mar 2005) | 6 lines

Fixed very old annoyance;

If the startup file ".Blanguages" is not found, Blender now will only printf
a warning if started in debug mode (-d). It used to popup a menu, even
before the UI was initialized, causing annoyance... it's irrelevant info.

------------------------------------------------------------------------
r3883 | ton | 2005-03-01 15:03:59 +0100 (Tue, 01 Mar 2005) | 5 lines

Bug fix #2260

"Select group, Parent" menu crashed when parent was in other scene.
Simply added extra check in code.

------------------------------------------------------------------------
r3882 | ton | 2005-03-01 14:14:37 +0100 (Tue, 01 Mar 2005) | 6 lines

Bug fix #2248

Pressing AKEY in channel buttons (names) of IpoWindow did not show all or
hide all anymore. Was due to commit last july, which enabled unlimited
amount of channels.

------------------------------------------------------------------------
r3881 | ianwill | 2005-03-01 03:37:19 +0100 (Tue, 01 Mar 2005) | 7 lines

BPython:
- Gert de Roost reported an inconsistency between nmesh.getMode and .setMode.  Now .setMode() optionally accepts an int value, as returned by getMode().
- Campbell Barton pointed that object.getData(name_only=True) was by mistake returning the obj name, not the obdata name, as it should.  Fixed now.
- small doc updates

Thanks both for the reports.

------------------------------------------------------------------------
r3880 | stiv | 2005-02-27 21:07:26 +0100 (Sun, 27 Feb 2005) | 6 lines

Part of Big Cleanup:  move data declarations out of header files.
BGL.[ch] work done by Joilnen Leite (pidhash).  Thanks!

updated 0-todo.txt.
No changes to executable code.

------------------------------------------------------------------------
r3879 | theeth | 2005-02-27 20:14:21 +0100 (Sun, 27 Feb 2005) | 9 lines

Fixed Constraint projection code in perspective mode. When using a planar constraints, it follows the movement of the mouse exactly instead of just casting on the plane.
In user terms: the motion on screen of the selection follows the motion of the mouse pointer.

Gives some errors when the constraint plane is nearly perpendicular to the view port though.

Added a debug print function for 4D vectors to arithb.c

Optimised the 3D -> view projection functions in view.c (a bit).

------------------------------------------------------------------------
r3878 | stiv | 2005-02-27 16:15:39 +0100 (Sun, 27 Feb 2005) | 3 lines

Updates to NMesh doc contributed by Campbell Barton.
Corrections and useful user-oriented hints.

------------------------------------------------------------------------
r3877 | ascotan | 2005-02-26 00:09:11 +0100 (Sat, 26 Feb 2005) | 2 lines

MSVC7 project files link to lib/windows/freetype once again

------------------------------------------------------------------------
r3876 | ascotan | 2005-02-25 22:24:50 +0100 (Fri, 25 Feb 2005) | 2 lines

Removed freetype project from extern solution

------------------------------------------------------------------------
r3875 | ascotan | 2005-02-25 22:17:24 +0100 (Fri, 25 Feb 2005) | 2 lines

Freetype library removed from /export

------------------------------------------------------------------------
r3874 | ton | 2005-02-25 20:01:13 +0100 (Fri, 25 Feb 2005) | 2 lines

Transform; correct inverse parent implementation for translating children

------------------------------------------------------------------------
r3873 | guitargeek | 2005-02-25 18:48:06 +0100 (Fri, 25 Feb 2005) | 6 lines

Update on Add Text as lines:

Spaces lines based on view -tnx Kaito for inverse help
cleaned up code
added undo

------------------------------------------------------------------------
r3872 | ton | 2005-02-25 18:40:58 +0100 (Fri, 25 Feb 2005) | 2 lines

Ack, committed #define that sets new transform as default...

------------------------------------------------------------------------
r3871 | ton | 2005-02-25 18:40:03 +0100 (Fri, 25 Feb 2005) | 10 lines

New transform:

- added texture space grab/scale (TKEY objectmode)
- made new transform work with menus (meaning, dropping dreaded while-hold)

To Martin & other while-hold lovers: this needs to be carefully thought over
and designed. I prefer to look on this within context of making transform
fully tablet/pen friendly, as option. Aim now for me is still: get transform
back to work! :)

------------------------------------------------------------------------
r3870 | sirdude | 2005-02-25 16:33:56 +0100 (Fri, 25 Feb 2005) | 8 lines



dirent.h != direct.h

reversing the simplification I did it last commit.

Kent

------------------------------------------------------------------------
r3869 | sirdude | 2005-02-25 15:50:57 +0100 (Fri, 25 Feb 2005) | 7 lines



Added include sys/vfs.h for hpux  was in the patches tracker....
and cleaned up the include for dirent.h

Kent

------------------------------------------------------------------------
r3868 | ton | 2005-02-25 13:48:23 +0100 (Fri, 25 Feb 2005) | 2 lines

Transform: gesture for 'scale' did rotate, and viceversa. Typo :)

------------------------------------------------------------------------
r3867 | ton | 2005-02-25 13:19:42 +0100 (Fri, 25 Feb 2005) | 2 lines

Preview render of stucci was wrong. Fix found+provided by Chris Burt. thnx!

------------------------------------------------------------------------
r3866 | ton | 2005-02-25 12:55:03 +0100 (Fri, 25 Feb 2005) | 4 lines

Added the "initgrabz()" call in new transform, this is needed to calculate
correct mapping of mouse motion to a 3d vector in perspective mode, e.g.
corrected for depth.

------------------------------------------------------------------------
r3865 | ton | 2005-02-25 12:35:24 +0100 (Fri, 25 Feb 2005) | 8 lines

Transform project.

Brought back functionality to work with "Ipo Keys" (Kkey in 3d window). New
transform code is looking more messy now... its design was not purposed to
clean on this level. Acceptable for this stage however.

Also renamed old variables *tob into *td.

------------------------------------------------------------------------
r3864 | guitargeek | 2005-02-24 20:22:31 +0100 (Thu, 24 Feb 2005) | 2 lines

This is an initial commit for inserting a text file as one 3d text object per line. The function for making the objects aligned to the screen needs to be added, since right now it is aligning rotation to the screen but translation is not right since I am adding an offset to the non-viewport location of the objects. That offset just needs to be translated to screen first.

------------------------------------------------------------------------
r3863 | ton | 2005-02-23 15:19:41 +0100 (Wed, 23 Feb 2005) | 3 lines

- Transform works for Posemode again (after split of TransData in 2 parts)
- error in scaling objects fixed (it accumulated scaling)

------------------------------------------------------------------------
r3862 | theeth | 2005-02-23 03:23:50 +0100 (Wed, 23 Feb 2005) | 14 lines

Fixed some bugs with Shear and Resize, was acting weird in object mode when parenting was involved.

Changed the meaning of mtx and smtx for objects. It's now uniform accross the board.

Added TD_OBJECT as a TransData flag. Objects is requiring exception code here and there, use a flag instead of G.obedit. Will document what the exceptions are for people who wants to add more transformations.

Split TransData in two.

Note to Ton:
You'll have to change posemode to use the new structure. I've left some variables as part of TransData to have a compilable version in CVS, remove them when you stop using them.
Check MetaElement and Object conversion for example on how to use TransDataExtension (though I'm sure you can figure it out by yourself).

And that's it. Not much coding time in the week days. :\

------------------------------------------------------------------------
r3861 | sirdude | 2005-02-22 18:15:43 +0100 (Tue, 22 Feb 2005) | 7 lines



Modified the sdl stuff so it is similar to the way the soundsystem does it.
Was causing problems for people.

Kent

------------------------------------------------------------------------
r3860 | ton | 2005-02-22 17:51:18 +0100 (Tue, 22 Feb 2005) | 2 lines

Accident; #define is now commented out that enables new transform

------------------------------------------------------------------------
r3859 | ton | 2005-02-22 17:50:04 +0100 (Tue, 22 Feb 2005) | 15 lines

Transform project. Daily update:

- Pose Mode restored
- Dependencies work again as usual (mainly copied old code)
  so grabbing a Hook deforms, etc
- Made main transform loop idling nicely (save CPU)
- removed proportional mode for Objects (Martin OK'ed)
- code style: renamed "tv" into "td" variable names (trans-data now)

TODO:
- Ipo Key-mode editing
- texture space grab/scale
- correct inverse for scaling children offset
- actually, loadsa testing needed. :)

------------------------------------------------------------------------
r3858 | ascotan | 2005-02-21 23:00:11 +0100 (Mon, 21 Feb 2005) | 3 lines

Patch submitted by Michael Reimpell
- Adds NormalMap to python's list of Texture Image flags

------------------------------------------------------------------------
r3857 | ascotan | 2005-02-21 19:26:53 +0100 (Mon, 21 Feb 2005) | 2 lines

-AngleBetweenVecs() was returning only 8-digit precision. This changes the precision to 16-digits and should fix some problems regarding spurious numbers being returned by python after running this function.

------------------------------------------------------------------------
r3856 | jiri | 2005-02-21 11:40:30 +0100 (Mon, 21 Feb 2005) | 16 lines



- added "hide" flag for MetaElem. Hidden MetaElem doesn't influence polygonisation.
  It is useful for large scenes, when you work with lot of MetaElems. Example:

  http://e-learning.vslib.cz/~hnidek/pics/deer.jpg

  (PildaNovak's model)

- shortcuts for hiding of MetaElems:
   H ......... hide all selected MetaElems
   Shift-H ... hide all unselected MetaElems
   Alt-H ..... unhide all hidden MetaElems

- items in header menu of 3dview

------------------------------------------------------------------------
r3855 | ascotan | 2005-02-21 06:12:14 +0100 (Mon, 21 Feb 2005) | 3 lines

Part of the MSVC7 update
- MakesDNA vcproj was not linking to the proper libs for the 3D Plugin configurations

------------------------------------------------------------------------
r3854 | ascotan | 2005-02-20 22:33:11 +0100 (Sun, 20 Feb 2005) | 53 lines

MSVC7 update and freetype2 source
- Added correct .libs to be linked to GP_Ghost
- Fixed incorrect library extensions for the linker (*.lib and not unix *.a)
- Projects have been set to be multi-threaded - projects were being linked to different versions of the CRT
- All projects are now linking to python 2.3 (this fixes an error regarding struct sizes in python)
- Removed invalid source paths from inclusion for the compiler
- Fix dependency issues with the GP_Ghost module
- Proper .dll's are now being copied to their respective locations for debug and release version of blender/blenderplayer
- Warnings have been set to level 2
- Import paths have been updated and organized for the compiler
- Duplicate import paths for the compiler have been removed
- Removed silly silly silly silly unix path-separators from window paths
- Post-Build scripts have been updated where neccessary (XCOPY is retatined)
- Fixed the output of various .lib files (PHY_Sumo and Yafray)
- PHY_Sumo now uses a .pch
- Removed #undef _DEBUG from debug builds :p
- FTF_Font is now contains a debug build and is being set to it's correct output path
- Blender/Blenderplayer/3DPlugin all linkto Debug libs where appropriate (instead of static release libs to avoid conflicts with the CRT)
- Python23_d.dll is now loaded into a true debug output of both blenderplayer and blender debug builds
- msvcrtd.dll is now loaded into a true debug output of both blenderplayer and blender debug builds
- Post-builds now clean up their mess
- ActiveX controller now builds
- BlenderPlayer now builds
- Internal libs now using .pch
- Moved the build directory from /blender/obj to ../build/msvc_7/  to follow precedence with scons builds
- Builds are now organized to follow precedence with scons builds with a /libs and a /intern /extern /source obj folders
- Set the proper build path for opennl
- Forcing BLO_loader source files to follow project defaults
- Added an 'extern' project that mimics the /make build of the 'intern' project
- Extern build includes solid and it's associated builds, ftgl, and freetype
- Added .vcproj files to /extern directory
- Added new extern.sln file to /extern directory
- All project now link to the built solid.lib from the extern project instead of lib/windows
- Removed uneeded XCOPYs commands from post-builds
- Added conditional Directory building to post-builds
- Freetype2 source commit (this is need for the building of a correct MFC linked version of the activeX controller as well as a correct release and debug build of the blender project)
- Ftgl is built and linked by the 'extern' project
- Intern/Extern project are now exporting their proper header files
- PHY_Physics is now linking to the correct set of header files (in build path not source)
- Makesdna builds object files into build directory now
- Projects are now ignoring the CORRECT versions of the CRT's  :)
- Renderconverter is now outputting it's obj file to it's own directory instead of /render
- Gen_system is now being built to ../kernel
- BL_src_cre is now being built to /creator
- *.exp and *.ilk are now being cleaned up from linkers
- Libpng.dll and zlib.dll are now being copied to the /bin
- MTDLL build are now available for the correct projects
- ActiveX 3D Plugin now links correctly to solid and freetype2
- Corrected the Preprocessor #define that was labeled incorrectly in FTF_Font and Blender that was causing the FTGL libs to export dll calling conventions.
- Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for internal and external librarys
- Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for blender and added 2 new solutions configurations BlenderPlayer Release, Debug
-

------------------------------------------------------------------------
r3852 | ton | 2005-02-20 20:00:00 +0100 (Sun, 20 Feb 2005) | 11 lines

Daily commit for transform() project, to prevent conflicts with Martin's
work. :)

- added static and (void) and some style stuff  in transform.c
- first additions in code for posemode (do not even try now!)
- fixed warnings in previous commit martin (gcc only)

Note; posemode old transform had complex dependencies on redraw (Hos' home
grown dep graph), which is first being restored. Including old style
set_base_flags_for_editing. Tomorrow!

------------------------------------------------------------------------
r3851 | theeth | 2005-02-20 02:25:10 +0100 (Sun, 20 Feb 2005) | 4 lines

Making transform's code more Blenderish with a proper extern include file (BIF_transform.h) and extern function calls (BIF_*).

On a side note, Shear was fixed in last commit, just forgot to mention it. It wasn't acting correctly in Edit Mode (and Desoto was poking me about it every sunday).

------------------------------------------------------------------------
r3850 | ton | 2005-02-19 17:44:17 +0100 (Sat, 19 Feb 2005) | 2 lines

Actually done in previous commit; removed dreadful warp-pointer :)

------------------------------------------------------------------------
r3849 | ton | 2005-02-19 17:37:48 +0100 (Sat, 19 Feb 2005) | 8 lines

First commit for the transform coding for me!

- fixed warnings in compile (transform.h struct defines)
- drawPropCircle was on wrong location in editmode
- removed prop circle drawing for old transform (sorry, but we're going to
  move soon anyway!)
- removed spaces from transform.c

------------------------------------------------------------------------
r3848 | ton | 2005-02-19 17:31:42 +0100 (Sat, 19 Feb 2005) | 3 lines

Using border + OGL render is not supported, so renderwin should open
normal size

------------------------------------------------------------------------
r3847 | ton | 2005-02-19 14:04:23 +0100 (Sat, 19 Feb 2005) | 4 lines

Fix for Key alpha. Thanks to unifying code in render (unified and normal)
we cannot insert colored pixels in sky for Key alpha anymore. Well, this
was useless anyway! (BTW: error not in 2.36 release)

------------------------------------------------------------------------
r3846 | phase | 2005-02-19 11:46:52 +0100 (Sat, 19 Feb 2005) | 6 lines

Bugfix #2228

Quicktime on OSX now saves Movies with a correct alpha layer.
Also fixed the bottom-to-top orientation problem which occured
with several (OSX) applications.

------------------------------------------------------------------------
r3845 | jiri | 2005-02-18 20:48:12 +0100 (Fri, 18 Feb 2005) | 9 lines



   - user can interactively choose, what part of window will be splited
   - change direction between horizontal and vertical split,
      to change the split push TAKBEY or MIDDLEMOUSE (patch offered by Guillaume)
   - I captured short video, which demonstrates new functionality:

     http://e-learning.vslib.cz/~hnidek/captured-videos/split_window.avi

------------------------------------------------------------------------
r3844 | sirdude | 2005-02-18 17:52:03 +0100 (Fri, 18 Feb 2005) | 9 lines



I updated the FREETYPE2 checks so it didn't build freetype stuff
if WITH_FREETYPE2 was set to false.

Also added/cleaned up source/nan_compile.mk NAN_NOKETSJI stuff a hair.

Kent

------------------------------------------------------------------------
r3843 | theeth | 2005-02-18 02:34:38 +0100 (Fri, 18 Feb 2005) | 4 lines

Little test commit for slikdigit.
Moves mouse pointer to center of transformation on grabs init. Easier to select a constraint axis with MMB this way.
This is testing only and very hackish (couldn't find a proper way to get a screen's global coordinates offset).

------------------------------------------------------------------------
r3842 | sirdude | 2005-02-17 19:08:39 +0100 (Thu, 17 Feb 2005) | 13 lines



Modified version of Chris Burt's fix for border render with invalid
border selected.

I changed the test to this:
 if(R.r.border.xmax <= R.r.border.xmin ||
                       R.r.border.ymax <= R.r.border.ymin) {

Original patch tested xmin=0 which isn't quite right.

Kent

------------------------------------------------------------------------
r3841 | sirdude | 2005-02-17 17:50:23 +0100 (Thu, 17 Feb 2005) | 8 lines



Chris Burt's fix for bug #2245
(Puts good data in a tooltip that was a copy of another one and didn't
make sense)

Kent

------------------------------------------------------------------------
r3840 | guitargeek | 2005-02-17 15:09:05 +0100 (Thu, 17 Feb 2005) | 5 lines

A Couple of Small Fixes for Edge Rotate

1 - Face smoothing is copied from previous pages
2 - Old edge flags are copied from previous edge

------------------------------------------------------------------------
r3839 | guitargeek | 2005-02-16 16:02:58 +0100 (Wed, 16 Feb 2005) | 2 lines

This commit adds rotate edges Clockwise and CounterClockwise to the Edge Specials Menu (and of course the code to back them up)

------------------------------------------------------------------------
r3838 | ianwill | 2005-02-16 04:32:57 +0100 (Wed, 16 Feb 2005) | 9 lines

BPython bug fixes:
-- Ton caught a redraw trying to free a busy slider button in a script.  Made sure the redraws don't happen in the scripts win during slider updates, but the realtime slider (automatically updates the 3d view) isn't working yet as it probably shouldn't with the current code. There's a pre 2.25 comment in Draw.c about it being hackish and wrong;
-- Melchior FRANZ reported a bug related to a script dict being freed too early (when two instances of the same script were on: one with a gui and the other with a file selector -- selecting the file triggered the problem);
-- bug #2074 reported by Roland Hess: totally empty string button -- no prepended but->str (e.g. "OB:") neither but->poin (the actual string) -- crashing Blender.  Crash happened on editscreen.c: screen_delayed_push_undo calls strncpy() without checking the passed string.  Didn't mess with it, better let the coder in charge of undo (Ton, right?) choose a preferred way to deal with it (report error, simply use blank string).  Staying on the python side at least for now, I just made but->str = " " (a space) when user doesn't define it, so the crash shouldn't happen anymore.

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

Thanks guys for reporting the problems.

------------------------------------------------------------------------
r3837 | sirdude | 2005-02-15 14:06:08 +0100 (Tue, 15 Feb 2005) | 6 lines



Joseph Gilbert's fixes for the linux2 build target.

Kent

------------------------------------------------------------------------
r3836 | kester | 2005-02-15 11:02:19 +0100 (Tue, 15 Feb 2005) | 2 lines

Fix compile errors for MSVC

------------------------------------------------------------------------
r3835 | guitargeek | 2005-02-14 21:14:10 +0100 (Mon, 14 Feb 2005) | 2 lines

Not all flags and such were copied to new faces in edge rotate - should fix bug 2139

------------------------------------------------------------------------
r3834 | blendix | 2005-02-14 16:19:55 +0100 (Mon, 14 Feb 2005) | 4 lines


Small fix for new transform commit, scons complains about missing imagepaint.c.
This file is only in tuhopuu.

------------------------------------------------------------------------
r3833 | hos | 2005-02-14 04:12:12 +0100 (Mon, 14 Feb 2005) | 5 lines

To compile the new transform code with make, add the following to
user-def.mk:

  export NAN_NEW_TRANSFORM=true

------------------------------------------------------------------------
r3832 | theeth | 2005-02-14 03:56:15 +0100 (Mon, 14 Feb 2005) | 2 lines

MSVC 6.0 projectfile changes to go with last commit.

------------------------------------------------------------------------
r3831 | theeth | 2005-02-14 03:53:36 +0100 (Mon, 14 Feb 2005) | 15 lines

Initial new transform commit.
Disabled behind defines. Uncomment //#define NEWTRANSFORM in transform.h to enable.

Use at your own risk

For more info, see Wiki: http://wiki.blender.org/bin/view.pl/Blenderdev/TransformRefactoring
And tuhopuu mailing list: http://projects.blender.org/pipermail/tuhopuu-devel/

Notes for Ton (things that could need bulldozing:
- TransData conversions. Objects is ok, but others could be rechecked. (some still use totsel). Need to add pose mode support.
- Need more icons in the PET mode dropdown (in the 3D view header) for the new modes
- Add new transform calls to Toolbox and Menus and the one right after Extrude.

That's pretty much all I can think of now.

------------------------------------------------------------------------
r3830 | theeth | 2005-02-14 02:26:07 +0100 (Mon, 14 Feb 2005) | 2 lines

Vertex group support in Apply_Def. If subsurf is off on the original mesh, copies groups AND weight. If not, only copies weight.

------------------------------------------------------------------------
r3829 | phase | 2005-02-12 22:19:25 +0100 (Sat, 12 Feb 2005) | 2 lines

Fix for mipmap userpref button. (it was using the wrong userpref value).

------------------------------------------------------------------------
r3828 | ascotan | 2005-02-12 18:11:57 +0100 (Sat, 12 Feb 2005) | 2 lines

<strings.h> is not defined on Win32 systems

------------------------------------------------------------------------
r3827 | ascotan | 2005-02-12 17:36:49 +0100 (Sat, 12 Feb 2005) | 2 lines

The opennl vcproj was not copying ONL_opennl.h to the lib\windows\opennl\include directory

------------------------------------------------------------------------
r3826 | ton | 2005-02-12 17:05:40 +0100 (Sat, 12 Feb 2005) | 3 lines

Fixed annoyance with opion "DispView" and Border render. It now displays
the rendered pixels in the indicated border nicely.

------------------------------------------------------------------------
r3825 | ton | 2005-02-12 16:41:07 +0100 (Sat, 12 Feb 2005) | 3 lines

Added (but recoded) patch submitted by Chris Burt to have render window
opened in size of actual border, if option "Crop" is set.

------------------------------------------------------------------------
r3824 | ton | 2005-02-12 15:15:08 +0100 (Sat, 12 Feb 2005) | 4 lines

Second version of fix for display of all scanlines in preview render for
wacko 3d cards... now it draws 5 scanlines in a time, with first being
drawn double.

------------------------------------------------------------------------
r3823 | ton | 2005-02-12 14:46:12 +0100 (Sat, 12 Feb 2005) | 5 lines

Bug fix #2202

Beauty-fill in mesh editmode screwed up fgon faces.
Solved it by excluding fgon faces from it.

------------------------------------------------------------------------
r3822 | ton | 2005-02-12 14:12:40 +0100 (Sat, 12 Feb 2005) | 6 lines

Potential fix for #2177, scanline display errors on some gfx cards for the
preview render in buttons window. Solution is to draw 4 lines at once,
instead of 2. glPixelZoom then has a wider range to display without rounding
errors, I hope.
Is going to be verified stil...

------------------------------------------------------------------------
r3821 | ton | 2005-02-12 13:06:30 +0100 (Sat, 12 Feb 2005) | 5 lines

Bug 2057

Hotkeys comma and dot (around cursor, median) didn't work for user option
"global pivot". Now all 3d windows are set correctly.

------------------------------------------------------------------------
r3820 | ascotan | 2005-02-12 03:06:52 +0100 (Sat, 12 Feb 2005) | 6 lines

Update to the MSVC7 project files (vcproj) for Blender's internal libraries
- set build_install_all as the default project (if you give me a quarter ill tell you how :)
- set SoundSystem to it's proper dependencies
- updated those silly silly unix path separators
- set project warning levels to something not so noisy

------------------------------------------------------------------------
r3819 | ton | 2005-02-11 13:42:02 +0100 (Fri, 11 Feb 2005) | 14 lines

Little warming-up getting-feet-wet coding project. :)

Much wanted feature, to have paths with children having fixed distance
offsets from each other, for example to animate a train with wagons.

Solved it with Path option (Editing buttons curve) "PathDist Offs" which
interprets time-offsets of children as blender-unit offsets. The entire
animation system still works, but offsets are calculated based on distance,
even with a CurvePath without motion (speed curve horizontal).

http://download.blender.org/demo/test/pathdist.blend

Thanks to Bassam for kicking my ass!

------------------------------------------------------------------------
r3818 | ianwill | 2005-02-09 16:53:35 +0100 (Wed, 09 Feb 2005) | 4 lines

BPython:
- applied Campbell Barton's patch for access to Oops location and selection of materials, mesh data and objects, slightly modified. Thanks, Campbell;
- got rid of warnings in many files, hopefully not introducing any other during the process.  Mostly this was done: 1) new EXPP_incr_ret_True/False functions were added and used instead of "Py_INCREF(Py_True/False); return Py_True/False;".  Currently at least the functions use the fact that PyTrue/False == 1/0 and use 1 and 0 to avoid the warnings. 2) Filling of certain types structs got 0's added for all not defined data and methods.  This is surely Python version specific, since these structs can change size and content at each major version number Python update.

------------------------------------------------------------------------
r3817 | ianwill | 2005-02-09 06:19:24 +0100 (Wed, 09 Feb 2005) | 9 lines

BPython:

- NMesh: made nmesh.update accept an optional 'vertex_shade' param to init vcols with shading info, like when you enter vpaint mode or press the relevant "make" button for a mesh without vcols.  This is still a test, the functionality was requested by Manuel Bastioni for the SSS script they are working on:
http://www.dedalo-3d.com/index.php?filename=SXCOL/makehuman/articles/subsurface_scattering_in_python.html
- sys: made makename() accept files with max FILE_MAXDIR+FILE_MAXFILE name length, should fix #2192.  Was only FILE_MAXFILE, a mistake;
- Image: added .setFilename(), contributed by Campbell Barton;
- Camera: added camera.get/setScale for the new param added by Ton for ortho cameras.  Requested by Jean-Michel Soler for the Texture Baker script;
- related doc updates.

------------------------------------------------------------------------
r3816 | ton | 2005-02-08 17:31:39 +0100 (Tue, 08 Feb 2005) | 6 lines

Bug fix #2220

Another fix related to improved preview drawing (shade context buttons),
it didn't update glViewPort and glScissor correctly, causing the buttons
next to the preview-rect not to be offset win the window matrix anymore.

------------------------------------------------------------------------
r3815 | ton | 2005-02-08 17:25:20 +0100 (Tue, 08 Feb 2005) | 3 lines

Accidentally committed drawing editmode disregarding layer state. Brought
back to how it always worked.

------------------------------------------------------------------------
r3814 | ascotan | 2005-02-08 16:52:19 +0100 (Tue, 08 Feb 2005) | 2 lines

Joseph Gilbert (ascotan) added projects he is involved on

------------------------------------------------------------------------
r3813 | ton | 2005-02-05 17:35:19 +0100 (Sat, 05 Feb 2005) | 4 lines

Parkinson bug! A & accidentally became &&...
Error caused exceptions for ortho render to be active always... making
some frontfaces and backfaces mixupped.

------------------------------------------------------------------------
r3812 | ianwill | 2005-02-03 04:04:32 +0100 (Thu, 03 Feb 2005) | 4 lines

BPython:
- NMesh: added face.sel and face.hide attributes to NMFaces, to set / get selection and visibility state of faces as they appear in edit mode.
- doc updates, including the right fix to two edge related methods, thanks to Stephane Soppera for pointing it (my fault, Stephane).

------------------------------------------------------------------------
r3811 | lukep | 2005-02-02 23:13:23 +0100 (Wed, 02 Feb 2005) | 2 lines

support for new SDL build in makefiles and scons for Os X

------------------------------------------------------------------------
r3809 | ton | 2005-02-02 18:26:24 +0100 (Wed, 02 Feb 2005) | 6 lines

Fixed error in having Ztransp rendered in back of normal solid faces. Was
caused by changing definition of OSA pixel structs 3 weeks ago.
(result: AA looked bad).

Thanks phase for pointing at this.

------------------------------------------------------------------------
r3808 | sirdude | 2005-02-02 15:08:18 +0100 (Wed, 02 Feb 2005) | 6 lines



Fixed typo Latice...

Kent

------------------------------------------------------------------------
r3807 | ianwill | 2005-02-02 04:38:31 +0100 (Wed, 02 Feb 2005) | 6 lines

BPython:
- Fix related to bug #2157: crash in Blender.Image.image.reload() method.  "G.sima" was not being checked for validity.  Fix by Joilnen B. Leite (pidhash).  Thanks!
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2157&group_id=9
- Added optional argument to Blender.Object.object.getData() method: getData(only_name = True) or (only_name = 1) or (1) will return only the obdata name, not a wrapper for the given struct.  This is a test based on a request by Campbell Barton who submitted code for his proposed .getDataName() method (thanks!).
- doc updates and small fixes.

------------------------------------------------------------------------
r3806 | ton | 2005-01-31 19:37:54 +0100 (Mon, 31 Jan 2005) | 5 lines

Bug found by Bassam; in certain occasions reading a file calls setscreen()
without the (ugly) global curarea being set.
Fixed the crash in his sample by nicely passing on 'current area' as
argument.

------------------------------------------------------------------------
r3805 | hos | 2005-01-30 22:33:12 +0100 (Sun, 30 Jan 2005) | 2 lines

Doing the hotkey modifiers for select non-manifold the Ton way.

------------------------------------------------------------------------
r3804 | aphex | 2005-01-30 16:41:59 +0100 (Sun, 30 Jan 2005) | 4 lines

  -  updated MSVC 6 projectfiles.
  -  removed 'using namespace std;' from SCA_Joystick.h
     (gave compile error on VC6).

------------------------------------------------------------------------
r3803 | ton | 2005-01-30 16:40:42 +0100 (Sun, 30 Jan 2005) | 6 lines

Bug fixes;

#2187: Append to active layer now uses the real active layer
#2191: Stars didnt show up correctly in envmap render
#2194: Startfame > Endframe in anim render crashed (now it gives error)

------------------------------------------------------------------------
r3802 | ton | 2005-01-30 14:13:31 +0100 (Sun, 30 Jan 2005) | 6 lines

Bug fix (from own collection)

After using clip-safe pixeldraw from glutil.c (preview render, bg picture)
the current viewport had to be re-set. Not doing so caused a 1 pixel offset
for live updates buttons (on mouse over)

------------------------------------------------------------------------
r3801 | ton | 2005-01-30 12:25:27 +0100 (Sun, 30 Jan 2005) | 11 lines

Fixed old annoyance; enabling true Ortho render in Blender.

It used to be a simple hack, scaling lens with 100, and moving the camera
to the back with an equivalent amount.
Because of the hack, making it 100% compatible with older files I could not
achieve (yet?). To help reminding users, I've added a print when reading
old files with Ortho cameras.

Full description of how it works can be found here;
http://www.blender3d.com/cms/Render_changes.515.0.html

------------------------------------------------------------------------
r3800 | hos | 2005-01-29 22:34:45 +0100 (Sat, 29 Jan 2005) | 12 lines

Correcting the logic of the hotkey modifiers for select
non-manifold. If you want it so all three modifiers are needed
(e.g. ctrl-alt-shift-MKEY) use:

  if ( !(~G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY)) )

instead of

  if ( G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY) )

(which really allows any modifier, alone or in combination, to work).

------------------------------------------------------------------------
r3799 | sirdude | 2005-01-25 20:26:19 +0100 (Tue, 25 Jan 2005) | 4 lines



Fix to get gcc 3.4.1 with scons working again.

------------------------------------------------------------------------
r3798 | stiv | 2005-01-25 07:05:17 +0100 (Tue, 25 Jan 2005) | 4 lines

bugfix: #2117  Overflow in Armature.Bone.setName()

contributed by Joilnen B. Leite (pidhash).

------------------------------------------------------------------------
r3797 | sirdude | 2005-01-24 17:16:50 +0100 (Mon, 24 Jan 2005) | 6 lines



Fixed the Makefiles so the Joystick stuff works.

Kent

------------------------------------------------------------------------
r3796 | blendix | 2005-01-24 16:33:13 +0100 (Mon, 24 Jan 2005) | 5 lines


Added a color picker and a 'Set VertCol' button to the Texture face panel,
so the color of faces can be set in Uv Face Select Mode. Patch provided by
Carsten Wartmann (moved the buttons, and removed the rgb sliders).

------------------------------------------------------------------------
r3795 | ton | 2005-01-24 15:08:06 +0100 (Mon, 24 Jan 2005) | 7 lines

Added color filtering for raytrace transparency.

http://www.blender3d.org/cms/Transparent_filtering.514.0.html

Choice was for using a single (new) filter value and have it working OK
with existing alpha.

------------------------------------------------------------------------
r3794 | stiv | 2005-01-23 21:32:34 +0100 (Sun, 23 Jan 2005) | 2 lines

fix some undeclared parameters

------------------------------------------------------------------------
r3793 | lonetech | 2005-01-23 21:15:06 +0100 (Sun, 23 Jan 2005) | 2 lines

Separated some variable declarations from the code, for wider compiler support.

------------------------------------------------------------------------
r3792 | lonetech | 2005-01-23 18:04:02 +0100 (Sun, 23 Jan 2005) | 2 lines

Changes Mathutils.Vector() to be less picky about its argument(s).

------------------------------------------------------------------------
r3791 | lonetech | 2005-01-23 17:32:51 +0100 (Sun, 23 Jan 2005) | 2 lines

This should make the Texture stype attribute work for EnvMaps.

------------------------------------------------------------------------
r3790 | kester | 2005-01-23 02:40:37 +0100 (Sun, 23 Jan 2005) | 2 lines

Make the KX_PolygonMaterial Python member variables writable.

------------------------------------------------------------------------
r3789 | kester | 2005-01-23 02:38:41 +0100 (Sun, 23 Jan 2005) | 2 lines

Don't delete the Python Controller's private dictionary between frames.

------------------------------------------------------------------------
r3788 | kester | 2005-01-23 02:36:29 +0100 (Sun, 23 Jan 2005) | 2 lines

Added Joystick sensor (from snailrose)

------------------------------------------------------------------------
r3787 | kester | 2005-01-23 00:46:54 +0100 (Sun, 23 Jan 2005) | 2 lines

Don't fail on mesh objects with no faces.

------------------------------------------------------------------------
r3786 | ianwill | 2005-01-22 03:48:03 +0100 (Sat, 22 Jan 2005) | 11 lines

BPython:
- Stephane Soppera added long missed support for edge data in Blender.NMesh + related doc;
- Michael Reimpell improved script registration (fixes bug report #2160) and the file and image selectors in Blender.Window (improved with suggestions from Yann Vernier).  They now suppport methods as callbacks;
- World.get/setMode were not registered, so could not be directly called (reported by Ken Hughes).  Still needs some work to improve things, including docs.

Scripts:
- Jean-Michel Soler updated his texture baker based on input from Appolux;
- Campbell and Jean-Michel improved the bvh importer: faster, better float units scaling (by Campbell); supports Poser 3.01 files (by jms).

Thanks guys!

------------------------------------------------------------------------
r3785 | sirdude | 2005-01-21 18:50:11 +0100 (Fri, 21 Jan 2005) | 12 lines



fixed animations using jpeg  (bug # 2166)

Basically the deal was on the last fix (multiple opens/closes to a filehandle)
I changed the return values to match other image formats 0=fail and 1 = good
(was 1=fail 0=good before)
I Didn't update the animation code to see this so it was
thinking the first frame failed because it was looking for the old return code.

Kent

------------------------------------------------------------------------
r3784 | phase | 2005-01-21 15:48:03 +0100 (Fri, 21 Jan 2005) | 3 lines

Modified interface texture font support, which should work nicely with the freshly added bFTGL library.
Also removed some redundant #include's on some files.

------------------------------------------------------------------------
r3783 | phase | 2005-01-21 15:43:21 +0100 (Fri, 21 Jan 2005) | 3 lines

Modified FTGL for proper texturefont support.
Also fixed msvc6 (release only) projectfile to build and output correctly.

------------------------------------------------------------------------
r3782 | sirdude | 2005-01-21 14:02:14 +0100 (Fri, 21 Jan 2005) | 6 lines



Added some extra comments about creating a new image format.

Kent

------------------------------------------------------------------------
r3781 | ton | 2005-01-21 13:46:59 +0100 (Fri, 21 Jan 2005) | 5 lines

Bug fix 2116

Area lights with "Noise" dithering only worked for first area light, the
other ones then used wrong table... bug since area lights are in blender.

------------------------------------------------------------------------
r3780 | ton | 2005-01-21 12:07:35 +0100 (Fri, 21 Jan 2005) | 5 lines

Bug 2162

Current cvs bug; the texture 'crop' lines were not drawn using correct
Panel/Window transform. Simple fix.

------------------------------------------------------------------------
r3779 | sirdude | 2005-01-21 06:15:33 +0100 (Fri, 21 Jan 2005) | 11 lines



Added bFTGL to extern and updated the Makefiles.  I'm guessing there will
need to be tweaks but it seems to work on my linux box.  I haven't
touched any of the other build systems so those will need to be done.

We probably don't need all of this stuff but I figured better to add a little
too much then to little.

Kent

------------------------------------------------------------------------
r3778 | ton | 2005-01-20 11:33:11 +0100 (Thu, 20 Jan 2005) | 4 lines

Reading .blend from runtime closed file handle twice... seemed to crash in
windows? Weird, was a commit from april last year (Nathan) and nobody has
reported errors. (bug report 2155)

------------------------------------------------------------------------
r3777 | phase | 2005-01-19 14:53:43 +0100 (Wed, 19 Jan 2005) | 9 lines

Added experimental option to use GL textured interface fonts.
Set preferred method in userprefs->language & font.
Kinda requested by Kaito, i'm sure he regrets after seeing
my code changes.

This commit includes a patch provided by Jacques Baurain,
which seemed nescessary to handle font sizing properly.
Thank you !

------------------------------------------------------------------------
r3776 | sirdude | 2005-01-19 14:01:49 +0100 (Wed, 19 Jan 2005) | 7 lines



Melchior FRANZ's patch to allow the normal +- to work with border select.
Currently it doesn't conflict with anything and I think it makes sense.

Kent

------------------------------------------------------------------------
r3775 | sirdude | 2005-01-19 13:53:47 +0100 (Wed, 19 Jan 2005) | 8 lines



Jacques patch to get things compiling on windows.
basically it returns NULL for two functions that had their entire body
commented out.

Kent

------------------------------------------------------------------------
r3774 | ton | 2005-01-18 19:31:18 +0100 (Tue, 18 Jan 2005) | 9 lines

Using halo (particle) render with OSA and gauss had error.

Removed it in OSA from special thread loop now, making it unthreaded but
render OK. Main reason; subpixel-based adding with gauss doent work
for halos yet.

Unified render does that though, but result is just filter, no real
subpixel.

------------------------------------------------------------------------
r3773 | ton | 2005-01-18 16:22:42 +0100 (Tue, 18 Jan 2005) | 5 lines

Render lens flare works again. Didn't work due to wrong value for zbuffer
passed on (zbuffer values changed with previous commit)

Also fixed previewrender for lens flare.

------------------------------------------------------------------------
r3772 | sirdude | 2005-01-18 15:17:44 +0100 (Tue, 18 Jan 2005) | 12 lines



The non scons specific stuff for bug tracker bug #2131

Basically removed #include <iostream.h>
from some files that didn't need it (and I'm assuming it caused problems)

I'll leave the scons stuff for someone else to look at since I don't really
use it.

Kent

------------------------------------------------------------------------
r3771 | sirdude | 2005-01-18 14:49:56 +0100 (Tue, 18 Jan 2005) | 6 lines



This hopefully fixes things for Joeedh for mingw/msys windows builds.

Kent

------------------------------------------------------------------------
r3770 | kester | 2005-01-17 12:02:44 +0100 (Mon, 17 Jan 2005) | 3 lines

Use the default windows assert for VisualC
Update Scons

------------------------------------------------------------------------
r3769 | stiv | 2005-01-16 18:59:23 +0100 (Sun, 16 Jan 2005) | 8 lines

remove gcc compiler error using -pedantic flag:
  comma at end of enumerator list

If this change causes problems, feel free to back it out.

I am trying to get gcc to complain about mixed declarations and
code since that breaks on platforms that only support C89/C90.

------------------------------------------------------------------------
r3768 | aphex | 2005-01-16 18:40:59 +0100 (Sun, 16 Jan 2005) | 2 lines

Fixed #define for snprintf on win32

------------------------------------------------------------------------
r3767 | aphex | 2005-01-16 16:42:22 +0100 (Sun, 16 Jan 2005) | 2 lines

Added new files to VC6 project (KX_PolygonMaterial.cpp | h)

------------------------------------------------------------------------
r3766 | ton | 2005-01-16 12:29:44 +0100 (Sun, 16 Jan 2005) | 11 lines

Fix for bug #2152

Using File->Save Image menu didn't work while Stars were drawn... the used
method to save an image (mainqenter F3 key) is a bit awkward anyway, so
replaced with proper BIF_xxx call.
Reason for mainqenter not to work was RE_draw_stars() function calling
a blender_test_break(), swallowing queue events. Very bad and need review.

Small tweak in previewrender; preview type Cube now displays texture
coordinates better (it showed a bit too much)

------------------------------------------------------------------------
r3765 | kester | 2005-01-16 07:27:12 +0100 (Sun, 16 Jan 2005) | 2 lines

Add an Python Material example

------------------------------------------------------------------------
r3764 | kester | 2005-01-16 07:02:06 +0100 (Sun, 16 Jan 2005) | 5 lines

Unified KX_BlenderPolyMaterial & GPC_PolygonMaterial into KX_PolygonMaterial.

Make game engine materials use Zoffs in Materials.
Added Python material hooks.

------------------------------------------------------------------------
r3763 | kester | 2005-01-16 06:55:04 +0100 (Sun, 16 Jan 2005) | 2 lines

Added getDistanceTo Python method (thanks Charlie C)

------------------------------------------------------------------------
r3762 | kester | 2005-01-16 05:28:55 +0100 (Sun, 16 Jan 2005) | 4 lines

Advanced MT_assert macro.

It will attempt to break into the debugger instead of aborting the program.  On Windows you have a nice MessageBox function, so you can choose to break, ignore, or permanently ignore the assert.

------------------------------------------------------------------------
r3761 | phase | 2005-01-14 18:35:24 +0100 (Fri, 14 Jan 2005) | 2 lines

Made Suzanne speechless again... what was i thinking.

------------------------------------------------------------------------
r3760 | ianwill | 2005-01-13 20:19:05 +0100 (Thu, 13 Jan 2005) | 6 lines

BPython:
- Added Blender.UpdateMenus() + doc: so scripts can automatically update Blender menus when they create (or download or whatever) new scripts to be registered.
- Removed a long deprecated function from the Blender module (release dict).

Matt (broken) mentioned the UpdateMenus function a couple weeks ago.  I also updated the Save Current Theme script to use it.  This is all related to his ideas to use scripts to save and restore themes and e.g. render presets.

------------------------------------------------------------------------
r3759 | sirdude | 2005-01-13 14:58:29 +0100 (Thu, 13 Jan 2005) | 9 lines



Did some checking to make sure a variable exits before trying to use it.
(Submitted by Vidarino on irc)

I also cleaned up a couple of warnings in the file.

Kent

------------------------------------------------------------------------
r3758 | stiv | 2005-01-13 04:42:53 +0100 (Thu, 13 Jan 2005) | 3 lines

New methods:  Curve.isCyclic(), CurNurb.isCyclic() for checking if curve is cyclic ( closed ).  Both methods are boolean.
Patch contributed by Toni Alatalo.  Thanks.

------------------------------------------------------------------------
r3757 | ianwill | 2005-01-13 04:04:12 +0100 (Thu, 13 Jan 2005) | 7 lines

BPython:
- patch by Jonathan Merritt: new function Blender.Draw.Image() + its doc;
- patch by Campbell Barton: .users attribute for many types;
- tiny internal change in nmesh.hasVertexUV() method.

Thanks to Jonathan and Campbell for the patches and the patience!

------------------------------------------------------------------------
r3756 | blendix | 2005-01-13 00:57:33 +0100 (Thu, 13 Jan 2005) | 4 lines


Softbody commit broke compilation of blenderplayer. There was a dependancy
from blenkernel/ to src/. Moved the offending functions to blenkernel...

------------------------------------------------------------------------
r3755 | bjornmose | 2005-01-12 23:28:13 +0100 (Wed, 12 Jan 2005) | 4 lines

big softbody commit
some vertex group , weight painting stuff too
/me crosses fingers it does not break anything

------------------------------------------------------------------------
r3754 | phase | 2005-01-12 13:25:56 +0100 (Wed, 12 Jan 2005) | 2 lines

Let's keep Blender a monkey app.

------------------------------------------------------------------------
r3753 | phase | 2005-01-12 12:03:25 +0100 (Wed, 12 Jan 2005) | 4 lines

RGBA Quicktime movies give codec compression crashes on OSX.
Reverting Quicktime export to ARGB for both OSX and Windows to
keep some consistency on Blender's output.

------------------------------------------------------------------------
r3752 | phase | 2005-01-12 11:34:05 +0100 (Wed, 12 Jan 2005) | 2 lines

Trying to make RGBA Quicktime movies on OSX, instead of ARGB.

------------------------------------------------------------------------
r3751 | phase | 2005-01-12 11:18:47 +0100 (Wed, 12 Jan 2005) | 2 lines

Reverting Quicktime movie export method for OSX.

------------------------------------------------------------------------
r3750 | sirdude | 2005-01-11 16:07:06 +0100 (Tue, 11 Jan 2005) | 7 lines



make release
	Now copies over gameplayer if it was build durring the make.

Kent

------------------------------------------------------------------------
r3749 | ton | 2005-01-11 14:06:21 +0100 (Tue, 11 Jan 2005) | 6 lines

bug fix #2118

Rendering wire didnt work;
- for edges that are not in face, with subsurf on
- same for new Edges block, subsurf or not

------------------------------------------------------------------------
r3748 | ton | 2005-01-11 13:14:45 +0100 (Tue, 11 Jan 2005) | 5 lines

Bug fix #2061

On exit editing mesh being linked multiple times, and other object-users have
a deform, the displists were not recalculated.

------------------------------------------------------------------------
r3747 | phase | 2005-01-11 11:58:58 +0100 (Tue, 11 Jan 2005) | 5 lines

Improved functionality for Quicktime movie export.
Exporter now uses less memory and might be a little faster.

Needs tesing on OSX, there might be RGBA endian issues.

------------------------------------------------------------------------
r3746 | goofster | 2005-01-10 19:17:41 +0100 (Mon, 10 Jan 2005) | 9 lines

Bug #2119

The Separate option was missing from the toolbox and headermenu for curves,
Added it to both.

First commit in a loooooooooong time, have to start with something small ey ;)

Roel

------------------------------------------------------------------------
r3745 | sirdude | 2005-01-10 17:22:40 +0100 (Mon, 10 Jan 2005) | 11 lines



This is for bug # 2068

I standarized the returns on a failed opening of the output file for
the above image formats.

I also cleaned up a couple of warnings.

Kent

------------------------------------------------------------------------
r3744 | ton | 2005-01-10 13:34:39 +0100 (Mon, 10 Jan 2005) | 6 lines

Somehow in 2.3x the file window collum display got cancelled. It even
pretended to be a user-preset, which it isnt yet.

Brought back collum display and wait for severe complaints to have it as
option in user settings. :)

------------------------------------------------------------------------
r3743 | jandro | 2005-01-09 22:53:50 +0100 (Sun, 09 Jan 2005) | 2 lines

border render support through plugin. Working with current yafray CVS version

------------------------------------------------------------------------
r3742 | ton | 2005-01-09 15:28:18 +0100 (Sun, 09 Jan 2005) | 3 lines

Mixup of vectors in VecAngle3 (caused by me switching order of args!)
Resulted in wrong angle display, especially in trias

------------------------------------------------------------------------
r3741 | ton | 2005-01-09 14:36:14 +0100 (Sun, 09 Jan 2005) | 12 lines

Different integer overflow test for zbuffering, this due to mist+wire bug
that seems not to be solved on intel platforms.

Previously, a positive signed integer overflow addition was checked by
assuming it to become negative. Now it checks 'safe' with this version:

if(vergz > 0x7FFFFFF0 - dz) vergz= 0x7FFFFFF0;
else vergz+= dz;

Reason why using signed ints is cumbersome... overflows for unsigned are
much easer to find.

------------------------------------------------------------------------
r3740 | kester | 2005-01-09 01:06:45 +0100 (Sun, 09 Jan 2005) | 6 lines

Fix bug #2006:

Floating point imprecision made MT_Quaternion::angle return NaN, since acos(x) is NaN for |x| > 1.

Because of the way NaN's propagate through float math, the view pos would be set to [NaN, NaN, NaN] resulting in a grey screen.

------------------------------------------------------------------------
r3739 | jiri | 2005-01-09 00:31:04 +0100 (Sun, 09 Jan 2005) | 4 lines



 - correct position of "Edge Angles" and "Face Area" in button window

------------------------------------------------------------------------
r3738 | ton | 2005-01-08 22:16:24 +0100 (Sat, 08 Jan 2005) | 19 lines

The "teac" (measurement info) patch from Campbell Barton

Cleaned code somewhat (half the size!) and applied some changes:
- made it compatible with selection flags for new mesh editing (edge/face)
- renamed 'face angles' to 'edge angles' and made it display angles for
  2 selected edges too
- removed the confusing convention that always drawed the info if one
  of the vertices of edge/face/angle was selected. now it only displays on
  minimum of 1 full edge or face selected.
- made it react to "zbuf occluded selection" option (for zbuffered text)
- made it also colorize text for white theme color (TH_TEXT)

On larger meshes this info still draws very confusing. The idea of displaying
the info on 1 vertex selected was probably to show values while grabbing,
although that didnt really work for angles. One idea could be, for transform,
that it draws all lenghts/angles/areas that get changed during transform

All in all, still useful addition tho!

------------------------------------------------------------------------
r3737 | ton | 2005-01-08 15:51:43 +0100 (Sat, 08 Jan 2005) | 3 lines

Eew... forgot to save one file for previous commit, accidentally committed
commented out lines.

------------------------------------------------------------------------
r3736 | ton | 2005-01-08 15:45:58 +0100 (Sat, 08 Jan 2005) | 3 lines

Star halos still used old fashioned byte colors, instead of nice floats :)
Reason for them to show wrong.

------------------------------------------------------------------------
r3735 | ton | 2005-01-08 15:22:27 +0100 (Sat, 08 Jan 2005) | 6 lines

Fix for commit of yesterday, where wire render + mist was solved.

Had moved normalizing the view vector just a couple of lines to much...
causing OSA vectors to be calculated wrong, and image texture to show
much to filtered (nearly invisible)

------------------------------------------------------------------------
r3734 | ton | 2005-01-08 14:50:44 +0100 (Sat, 08 Jan 2005) | 6 lines

Bug fix #2113

A series of hide/reveil in editmode didn't result in identical selection
always, except in face mode. current method works in all modes, including
mixed (face+edge for example)

------------------------------------------------------------------------
r3733 | ton | 2005-01-08 14:15:43 +0100 (Sat, 08 Jan 2005) | 6 lines

- Added warning print and return in glaDrawPixelsSafe when zoom level
  exceeds window (glScissor) size. Apparently zooming in on one single
  pixels larger than a window isn't well supported.
- Moved drawing of editmode objects to 2nd loop in drawview.c, this
  makes sure draw-extra wire is always visible correctly

------------------------------------------------------------------------
r3732 | ton | 2005-01-07 23:17:56 +0100 (Fri, 07 Jan 2005) | 2 lines

Added push/pop matrix for 3d window + new agl draw pixels

------------------------------------------------------------------------
r3731 | ton | 2005-01-07 22:48:25 +0100 (Fri, 07 Jan 2005) | 17 lines

Should have done ages ago!

This commit replaces the glDrawPixels and rectwrite_part with the very
nice (thanks zr!) glaDrawPixelsSafe() call. Result is:
- 3d window background image displays correctly onto the edges when
  zoomed in extreme
- same for UV image window and sequence preview
- preview render now doesnt disappear when left part is outside window
(zr also deserves kick in butt for not doing this himself in NaN days!)

Especially from preview drawing quite some old hacks were deleted. It is
even quite some faster.
Please notify me when it doesnt work on your card... this now is just 100%
according opengl guidelines though :)

Also fixes bug #2100

------------------------------------------------------------------------
r3730 | ton | 2005-01-07 19:29:54 +0100 (Fri, 07 Jan 2005) | 7 lines

Bugfix #2048

Object "time" ipo was evaluated before it applied offset for field and
motion blur. Should be after! (ancient one)

in buttons_editing.c: removed sound include file

------------------------------------------------------------------------
r3729 | ton | 2005-01-07 19:07:13 +0100 (Fri, 07 Jan 2005) | 12 lines

Bug fix #2104

When using Sequencer for Alpha-Over images, it was assuming "Key" alpha by
default, and converting images to "Premul" (= multiplying RGB with alpha).
This isn't very nice, also because alpha generated by MBlur in Blender
always is of type Premul already.

Solution; make this an option. In the Nkey panel for strips you can set
or disable Premul now. As extra also added the "Filter" and "Mul" options,
as already there for Movie strips. Can easily be extended to more options
for various postprocess effects.

------------------------------------------------------------------------
r3728 | ton | 2005-01-07 16:40:57 +0100 (Fri, 07 Jan 2005) | 2 lines

Fixed signed/unsigned conversion for zbuffer (note; zbuf is signed int!)

------------------------------------------------------------------------
r3727 | ton | 2005-01-07 15:51:55 +0100 (Fri, 07 Jan 2005) | 7 lines

Fix for 2098

The directory where the last file was saved (in .Blog) wasnt added to the
history menu in the FileWindow when using CTRL+O for example. For
convenience, it now alwyas adds this directory to the end of default
history menu, so you can always jump back while browsing in filewindow.

------------------------------------------------------------------------
r3726 | ton | 2005-01-07 15:37:25 +0100 (Fri, 07 Jan 2005) | 3 lines

Bug fix 2107: RGB and brightness/contrast for preview render image texture
didnt work (commented out line, current WIP)

------------------------------------------------------------------------
r3725 | ton | 2005-01-07 15:11:00 +0100 (Fri, 07 Jan 2005) | 16 lines

Another round of cleanups for render code;

- removed ugly pointerhack from OSA render (negative indices denoted
  pointers). this should solve memory errors when using >1.5 gig mem
- cleaned up usage of zbuffer values. These are signed in Blender, and
  treated as unsigned all over, giving confusing code
- fixed incorrect gamma-adding for halos (caused in after xmas commit)

And bugfix #2101; wire render didn't give correct rendering for mist.
This caused by fact wires are 2D pixel lines, and not correctly filled
in faces. Retrieving the 3d coordinate while render cannot use a face-
equation then. Solved by retrieving 3D coordinate based on zbuffer value.

Still todo here: calculating correct texture coordinates for wire-edges
that are no faces.

------------------------------------------------------------------------
r3724 | stiv | 2005-01-07 02:38:14 +0100 (Fri, 07 Jan 2005) | 5 lines

bugfix: #2093  Ipo.addCurve() adds curves of undefined type

added some error checking and did a little cleanup.
still more to be done.

------------------------------------------------------------------------
r3723 | jiri | 2005-01-06 22:27:53 +0100 (Thu, 06 Jan 2005) | 10 lines



 - added some items to the MetaBall menu in view3d header

   - Snap menu
   - Transform menu
   - Transform Properties

 - correction of some typo in drawview.c

------------------------------------------------------------------------
r3722 | sirdude | 2005-01-05 18:32:15 +0100 (Wed, 05 Jan 2005) | 10 lines



Had to add a circular dependancy fix for debugging version of blenderplayer
on linux:
I added this after the yafray library.
 COMLIB += $(OCGDIR)/blender/blenlib/$(DEBUG_DIR)libblenlib.a


Kent

------------------------------------------------------------------------
r3721 | ton | 2005-01-05 11:31:27 +0100 (Wed, 05 Jan 2005) | 7 lines

Bugfix #2095

When loading a file with linked external scene, and that external scene
didnt exist anymore, and that scene was active in the file -> crash!

Render code; changed to use local 'puno' flag for threaded render.

------------------------------------------------------------------------
r3720 | phase | 2005-01-05 11:27:48 +0100 (Wed, 05 Jan 2005) | 5 lines

Bugfix #2094

Modified language code for Polish translation.
Corrected by Piotr Kiec, the polish translator. Thanks!

------------------------------------------------------------------------
r3719 | jiri | 2005-01-05 09:28:32 +0100 (Wed, 05 Jan 2005) | 4 lines



- small changes of buttons in MetaBall and MetaBall tool panels

------------------------------------------------------------------------
r3718 | sirdude | 2005-01-04 15:34:28 +0100 (Tue, 04 Jan 2005) | 8 lines



Requested by Stephane SOPPERA,

Made NMESH_SUBDIV_MIN 0 instead of 1 so NMesh is like the gui...

Kent

------------------------------------------------------------------------
r3717 | jiri | 2005-01-03 21:49:02 +0100 (Mon, 03 Jan 2005) | 5 lines



 - all snap operations work for MetaElems now
 - snap to center creates displist for subsurf mesh

------------------------------------------------------------------------
r3716 | ton | 2005-01-03 21:11:44 +0100 (Mon, 03 Jan 2005) | 4 lines

Forgot to do .h file for previous commit.

Also fixed three small errors in button declarations, to show three digits

------------------------------------------------------------------------
r3715 | ton | 2005-01-03 21:02:55 +0100 (Mon, 03 Jan 2005) | 3 lines

Thread render fix; using ray-transp + mirror didnt work...
the face-normal had to be local too...

------------------------------------------------------------------------
r3714 | sirdude | 2005-01-03 20:53:04 +0100 (Mon, 03 Jan 2005) | 8 lines



This is a pretty lame commit but here it is:
I just fixed indentation (replaced spaces with tabs where needed) and removed
#include config.h stuff from the above files.

Kent

------------------------------------------------------------------------
r3713 | ton | 2005-01-03 19:30:58 +0100 (Mon, 03 Jan 2005) | 4 lines

Bug #2083
Rendering in parts, and ESC from render, didn't check for not-rendered
parts yet. (due to recode of parts stuff)

------------------------------------------------------------------------
r3712 | sirdude | 2005-01-03 19:05:24 +0100 (Mon, 03 Jan 2005) | 18 lines



More warning cleanups...

added a casts to:
   blender/blenlib/intern/BLI_memarena.c
   gameengine/Rasterizer/RAS_TexVert.cpp

Removed unused vars from:
   blender/python/api2_2x/vector.c
   gameengine/Ketsji/KX_PyMath.cpp gameengine/Ketsji/KX_Scene.cpp
   gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp
   gameengine/Rasterizer/RAS_FramingManager.cpp
   gameengine/Rasterizer/RAS_Polygon.cpp
   gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp

Kent

------------------------------------------------------------------------
r3711 | sirdude | 2005-01-03 18:57:16 +0100 (Mon, 03 Jan 2005) | 8 lines



Some of the Makefiles had CPPFLAGS += LEVEL_(X)_C_WARNINGS
I changed them so that they have CPPFLAGS += LEVEL(X)_CPP_WARNINGS
instead.

Kent

------------------------------------------------------------------------
r3710 | ton | 2005-01-03 16:22:44 +0100 (Mon, 03 Jan 2005) | 7 lines

Bug fix 2054

Alpha for halos was always added, even when "Add" slider was zero. Fixed.

(also; made BROW define BROW16, to distinguish from int version in
BKE_utildefines.h)

------------------------------------------------------------------------
r3709 | ton | 2005-01-03 15:45:54 +0100 (Mon, 03 Jan 2005) | 6 lines

Bug #2053

For normal maps only:
Slider for "nor" mapping in "Map to" panel allowed values for over 1.0 in
preview render (not for render itself, causing confusement).

------------------------------------------------------------------------
r3708 | ton | 2005-01-03 15:17:33 +0100 (Mon, 03 Jan 2005) | 5 lines

Bug fix 2047

FileWindow didnt sort the dirs "." and ".." correctly. Now these two are
always first.

------------------------------------------------------------------------
r3707 | ton | 2005-01-03 14:40:11 +0100 (Mon, 03 Jan 2005) | 5 lines

Fix proposed by Brecht; on redraw events to renderwindow, it sets back
 the active main window, if that was active before.
We need to track down how to solve this more definite... for example, the
"make active" window command can also pop window to front.

------------------------------------------------------------------------
r3706 | ton | 2005-01-03 14:13:40 +0100 (Mon, 03 Jan 2005) | 6 lines

Small fixes;

- zbuf; error caused by using unsigned int as counter (while >= 0) in radio
- backbuffer didnt load in initrender (was removed from sky render)
- unitialized variable in envmap.c

------------------------------------------------------------------------
r3705 | lukep | 2005-01-02 17:35:48 +0100 (Sun, 02 Jan 2005) | 2 lines

update to scons for Ton SDL threads

------------------------------------------------------------------------
r3701 | aphex | 2004-12-31 12:23:34 +0100 (Fri, 31 Dec 2004) | 6 lines

Oops!

Fixed the previous fix :)

(Now checks dt>OB_SOLID instead of dt>OB_SHADED which is max anyway!)

------------------------------------------------------------------------
r3700 | aphex | 2004-12-31 11:48:42 +0100 (Fri, 31 Dec 2004) | 5 lines

Small fix:

- if object mode && G.vd==OB_TEXTURE, drawing mesh objects did not check
  object's max drawtype (ie. dt).

------------------------------------------------------------------------
r3699 | theeth | 2004-12-30 06:48:36 +0100 (Thu, 30 Dec 2004) | 4 lines

Bug #2073: Red value used instead of Green for World sky (render and preview).

Ton will probably have a good laugh when he'll see what the error was. ;)

------------------------------------------------------------------------
r3698 | kester | 2004-12-30 04:08:34 +0100 (Thu, 30 Dec 2004) | 2 lines

Fix loading of non-packed sounds for Linux.

------------------------------------------------------------------------
r3697 | eeshlo | 2004-12-30 02:34:42 +0100 (Thu, 30 Dec 2004) | 6 lines

If YFexport directory is not set, it will now attempt to use the temp directory.
(/tmp or $TEMP for win.)

Probably too early still, but now in plugin mode the floatbuffer will be used too,
including postprocessing.

------------------------------------------------------------------------
r3696 | theeth | 2004-12-29 21:44:54 +0100 (Wed, 29 Dec 2004) | 6 lines

Object Constraints weren't relinked correctly when duplicating both the target and the owner.
Bug since 2.35.

Was lost when bug #1307 was fixed in this commit: http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editobject.c.diff?r1=1.121&r2=1.122&cvsroot=bf-blender&diff_format=h
This doesn't seem to bring back the bug (copy full scene didn't update links in constraints).

------------------------------------------------------------------------
r3695 | aphex | 2004-12-29 18:04:14 +0100 (Wed, 29 Dec 2004) | 6 lines

Bug fix #2056:

Material texture channels 9 & 10 could not be deactivated.

Code used a char instead of a short as flag for this.

------------------------------------------------------------------------
r3694 | kester | 2004-12-29 02:39:34 +0100 (Wed, 29 Dec 2004) | 2 lines

PyDoc updates

------------------------------------------------------------------------
r3693 | kester | 2004-12-29 02:34:07 +0100 (Wed, 29 Dec 2004) | 2 lines

Make Python Matrix/Vector conversions more robust

------------------------------------------------------------------------
r3692 | kester | 2004-12-29 02:33:15 +0100 (Wed, 29 Dec 2004) | 2 lines

Python methods for camera actuators (thanks snailrose)

------------------------------------------------------------------------
r3691 | kester | 2004-12-29 02:31:17 +0100 (Wed, 29 Dec 2004) | 2 lines

Set the sound system listener properties.

------------------------------------------------------------------------
r3690 | kester | 2004-12-29 02:27:09 +0100 (Wed, 29 Dec 2004) | 2 lines

Set the listener properties correctly.

------------------------------------------------------------------------
r3689 | broken | 2004-12-28 06:38:56 +0100 (Tue, 28 Dec 2004) | 5 lines

Simple one - update the selected vertex count after doing a vertex
loop select (Alt B)

Reported by Gimble

------------------------------------------------------------------------
r3688 | ton | 2004-12-27 23:57:19 +0100 (Mon, 27 Dec 2004) | 3 lines

And a first threading fix; mist render still used a R global for storage.
caused very bad stripes in render.

------------------------------------------------------------------------
r3687 | theeth | 2004-12-27 22:05:39 +0100 (Mon, 27 Dec 2004) | 4 lines

MSVC 6.0 Projectfiles changes to fit Ton's commit.
Added new file to BRE_Render and include paths for SDL includes.
Removed deleted files.

------------------------------------------------------------------------
r3686 | ton | 2004-12-27 21:58:40 +0100 (Mon, 27 Dec 2004) | 6 lines

Removed include render.h

It *should* be there, but its a bad-level-include. The bad_level_calls.h
makes it compiling nice, but that wasnt the purpose.
Error is in the winstuff.h in render.h most likely

------------------------------------------------------------------------
r3685 | ton | 2004-12-27 21:02:27 +0100 (Mon, 27 Dec 2004) | 2 lines

Some weird CVS $id tag line got added on wrong place...?

------------------------------------------------------------------------
r3684 | ton | 2004-12-27 20:28:52 +0100 (Mon, 27 Dec 2004) | 35 lines

Biiig commit! Thanks to 2-3 weeks of cvs freeze...

Render:
- New; support for dual CPU render (SDL thread)
  Currently only works with alternating scanlines, but gives excellent
  performance. For both normal render as unified implemented.
  Note the "mutex" locks on z-transp buffer render and imbuf loads.
- This has been made possible by major cleanups in render code, especially
  getting rid of globals (example Tin Tr Tg Tb Ta for textures) or struct
  OSA or using Materials or Texture data to write to.
- Made normal render fully 4x32 floats too, and removed all old optimizes
  with chars or shorts.
- Made normal render and unified render use same code for sky and halo
  render, giving equal (and better) results for halo render. Old render
  now also uses PostProcess options (brightness, mul, gamma)
- Added option ("FBuf") in F10 Output Panel, this keeps a 4x32 bits buffer
  after render. Using PostProcess menu you will note an immediate re-
  display of image too (32 bits RGBA)
- Added "Hue" and "Saturation" sliders to PostProcess options

- Render module is still not having a "nice" API, but amount of dependencies
  went down a lot. Next todo: remove abusive "previewrender" code.
  The last main global in Render (struct Render) now can be re-used for fully
  controlling a render, to allow multiple "instances" of render to open.

- Renderwindow now displays a smal bar on top with the stats, and keeps the
  stats after render too. Including "spare" page support.
  Not only easier visible that way, but also to remove the awkward code that
  was drawing stats in the Info header (extreme slow on some ATIs too)

- Cleaned up blendef.h and BKE_utildefines.h, these two had overlapping
  defines.

- I might have forgotten stuff... and will write a nice doc on the architecture!

------------------------------------------------------------------------
r3683 | jandro | 2004-12-22 23:38:06 +0100 (Wed, 22 Dec 2004) | 4 lines

Multi-cpu support in yafray is back. This is a small fix to pass the
number of processors to yafray through plugin too. Will work with current
CVS yafray code. Now at p.b.org. Needs testing with a real multicpu machine.

------------------------------------------------------------------------
r3681 | ton | 2004-12-22 21:30:13 +0100 (Wed, 22 Dec 2004) | 5 lines

Another last minute bug... (thanks aphex)

Add text, TAB, CTR+Z, TAB -> crash... :/
Just forgot 1 if()... was there for weeks! So...

------------------------------------------------------------------------
r3680 | ton | 2004-12-22 20:21:45 +0100 (Wed, 22 Dec 2004) | 5 lines

Last minute fix #2

Undo on SHIFT+backspace in edit of 3d Text object, caused text editing
to stop working normal. (only added text in beginning)

------------------------------------------------------------------------
r3679 | ton | 2004-12-22 20:19:39 +0100 (Wed, 22 Dec 2004) | 7 lines

Last minute fix #1

Dxf reader had 2 crucial erros;
- didnt read files correct with \r\n enters (\n and \r go fine)
- polyline triangles were added as quads with identical first and last
  vertex, going terrible wrong on mesh import of 3DS files.

------------------------------------------------------------------------
r3678 | ton | 2004-12-21 23:12:29 +0100 (Tue, 21 Dec 2004) | 2 lines

Splash now has subtle credits for artist; www.venomgfx.com.ar

------------------------------------------------------------------------
r3677 | ton | 2004-12-21 19:49:31 +0100 (Tue, 21 Dec 2004) | 4 lines

Eeek! last minute error.
Commit of dec 9... still uses fopen(name, "ab") instead of "wb"
Caused targa and bmp files to write wrong on save-over, appended instead.

------------------------------------------------------------------------
r3676 | ton | 2004-12-21 18:00:25 +0100 (Tue, 21 Dec 2004) | 2 lines

Accidentally committed corrupt SConstruct.... here's the one fixed

------------------------------------------------------------------------
r3675 | ton | 2004-12-21 17:25:37 +0100 (Tue, 21 Dec 2004) | 2 lines

Upped sconstruct for 2.36 release

------------------------------------------------------------------------
r3674 | ton | 2004-12-21 17:24:29 +0100 (Tue, 21 Dec 2004) | 2 lines

Upped version for makefiles, and new splash (original image)

------------------------------------------------------------------------
r3673 | ton | 2004-12-21 17:23:24 +0100 (Tue, 21 Dec 2004) | 2 lines

Upped release code to 2.36

------------------------------------------------------------------------
r3672 | ton | 2004-12-21 17:22:52 +0100 (Tue, 21 Dec 2004) | 3 lines

New splash! :)
Looks great with the new header-color thing!

------------------------------------------------------------------------
r3671 | ton | 2004-12-21 17:19:36 +0100 (Tue, 21 Dec 2004) | 5 lines

- release log 2.36
- added note in copyright.txt to emphasis you can use blender artwork
  freely
- removed old logs, current log contains link to the old ones on the web

------------------------------------------------------------------------
r3670 | ton | 2004-12-21 13:10:35 +0100 (Tue, 21 Dec 2004) | 13 lines

Fix for 2042

With the new rule that allows correct calculation of vertex normals on a
mixed solid/smooth mesh, it is essential that vertex normals get
recalculated when changing smooth settings. Such a facility doesnt exist
in Blender yet, only after leaving editmode.
Hacking in a "enter editmode, leave editmode" event on the "Set Smooth"
button isn't nice... instead I've tweaked the calculus of vertexnormals
that it always sets them OK, apart from where they get mixed with solid
faces. Only in rare occasions this can still go "wrong" and needs a
TAB-TAB to fix. Will add that comment in release notes. For next release
we should definitely solve this smoothing bizz!

------------------------------------------------------------------------
r3669 | stiv | 2004-12-21 02:34:23 +0100 (Tue, 21 Dec 2004) | 4 lines

bugfix: #2031 World setIpo() method checks for wrong IPO type

wrong constant name.

------------------------------------------------------------------------
r3668 | stiv | 2004-12-21 02:15:42 +0100 (Tue, 21 Dec 2004) | 4 lines

bugfix: #2032  Ipo_woIcuName() uses CAM instead of WO constants

Wrong constant names.  Fix contributed by Joilnen B. Leite <pidhash>

------------------------------------------------------------------------
r3667 | ton | 2004-12-20 19:11:20 +0100 (Mon, 20 Dec 2004) | 9 lines

Bugfix for #2036

Backbuffer selection codes issue on OSX.
On some h/w configs, with "1000s of colors set", the drivers seem to round
colors up or down... whilst until now rounding always was just truncating
bits. This gives errors in writing color codes and reading it back.
The c code only changed for OSX. For other OS's and HW this test could be
done as well.

------------------------------------------------------------------------
r3666 | ton | 2004-12-19 19:38:17 +0100 (Sun, 19 Dec 2004) | 2 lines

Fix in hook menu; "select" option only worked in vertex selectmode.

------------------------------------------------------------------------
r3665 | ton | 2004-12-19 19:18:54 +0100 (Sun, 19 Dec 2004) | 13 lines

Fix for #2034

It appeared that the method as used in unified render for "render all sub-
pixels" isn't very well resistant to having large amounts of faces in a
single pixel. The bug file had about 16x70x2 faces per pixel... causing
tremendous slowdown and even wrong render.

I've disabled the option (was coded by Nzc in NaN days) and made it
sampling in the main render loop. Goes much faster, error free. Only loss
is in that it doesnt use superiour subsamples for gauss anymore. Here the
normal render performs slightly better. Not a real issue though. Hard to
notice.

------------------------------------------------------------------------
r3664 | phase | 2004-12-19 19:06:28 +0100 (Sun, 19 Dec 2004) | 2 lines

Fixed adding a filename extension for bmp images.

------------------------------------------------------------------------
r3663 | ton | 2004-12-19 19:04:48 +0100 (Sun, 19 Dec 2004) | 3 lines

Bugfix, reported by Basse: static particles didnt render correct with
"Layer" Lamp. Was just missing a value being written in halo struct.

------------------------------------------------------------------------
r3662 | ton | 2004-12-19 15:19:20 +0100 (Sun, 19 Dec 2004) | 9 lines

Bug fix #2026

Slightly altered rules for calculating vertexnormals. By only averaging
face normals from faces actually set 'smooth', the result looks much more
nice (for example on a cylinder with caps solid). Vertex normals not being
used by smooth faces are set to the face normal direction.

Shows both in editor as rendering.

------------------------------------------------------------------------
r3661 | phase | 2004-12-19 14:45:03 +0100 (Sun, 19 Dec 2004) | 3 lines

A one-line commit; Quicktime movies used as texture are now loaded at the highest quality.
I noticed Quicktime did not display interlaced fields for DV movies, it works OK now !

------------------------------------------------------------------------
r3660 | stiv | 2004-12-17 18:34:51 +0100 (Fri, 17 Dec 2004) | 10 lines

bugfix: #2025  getCurveBP (and others) segfault

This method is now unsupported.  The original intent appears to
return the first BPoint of an Ipo curve.  However, BPoint Ipo curves
are not implemented and the first point therefore never existed.

The segfault was from an unchecked input parameter.

Calling this method now always throws a NotImplemented exception.

------------------------------------------------------------------------
r3659 | ton | 2004-12-16 15:42:10 +0100 (Thu, 16 Dec 2004) | 5 lines

Increased builtin limit for selection buffer (border select in Object mode)
to allow up to 2500 objects (was 500).
Still an arbitrary limit, could use better code. For now its less
frustrating :)

------------------------------------------------------------------------
r3658 | ton | 2004-12-16 15:40:25 +0100 (Thu, 16 Dec 2004) | 6 lines

Errors in saving runtime, and fileops in file window; files were copied
or deleted without keeping track of spaces in names, causing in potential
loss of data.

Needs review!

------------------------------------------------------------------------
r3657 | ton | 2004-12-15 12:36:46 +0100 (Wed, 15 Dec 2004) | 7 lines

Bug #2019

Separate in Mesh editmode, selectmode 'face', and with a selection that
used to be in vertex mode a full select (like selecting the 2 opposing
faces in a cube) caused crash. There was still no good face-select
awareness there... tsk! :)

------------------------------------------------------------------------
r3656 | ton | 2004-12-14 23:01:52 +0100 (Tue, 14 Dec 2004) | 6 lines

Fix for #2017

Actually a 1 liner fix, added displist re-make event for wave objects
being used to vertexparent objects to. Will of course be much better
solved with the dep graph!

------------------------------------------------------------------------
r3655 | ton | 2004-12-14 19:18:31 +0100 (Tue, 14 Dec 2004) | 10 lines

Small fixes for UI;

- Add UV Sphere now aligns with view, as do all primitives
- Small drawing error in edges between blender areas (black lines were 2
  pixels too short)
- Replaced the heuristics in opening sublevel menus, to be less frustrating.
  It now keeps sublevel open while mouse moves within the triangle defined
  by original mouse location (before moving) and the closest vertical edge
  of the new sub menu. Works nice for toolbox and pulldowns.

------------------------------------------------------------------------
r3654 | ton | 2004-12-14 19:12:30 +0100 (Tue, 14 Dec 2004) | 11 lines

Bug fix #2016

Particles added to mesh being deformed with Armature crashes.
Bug introduced with 2.33, particle collisions... leon added some fancy
updates for actions and armature displists there, which are highly
disputable. I left it in, because I didn't see it was actually new.

Note: particles added while updating mesh with armatures is not supported,
it will shoot particles from original location.
What does work, is static particles.

------------------------------------------------------------------------
r3653 | ton | 2004-12-14 14:08:17 +0100 (Tue, 14 Dec 2004) | 3 lines

Makefile didnt copy files correctly, obviously because the nan_definitions
were not there...

------------------------------------------------------------------------
r3652 | ton | 2004-12-13 18:11:33 +0100 (Mon, 13 Dec 2004) | 4 lines

While giving snapto a good test (thanks all_select.blend!) I found it was
not implemented on MetaBall editmode, causing an old global var to wreak
havoc.

------------------------------------------------------------------------
r3651 | ton | 2004-12-13 17:46:40 +0100 (Mon, 13 Dec 2004) | 4 lines

Bug fix #2013

Face dots didn't recalculate after a 'snap to grid' or 'snap to cursor'.

------------------------------------------------------------------------
r3650 | sirdude | 2004-12-13 14:51:35 +0100 (Mon, 13 Dec 2004) | 7 lines


STEP macro was a typo waiting to happen.

Fix done by LetterRip.

Kent

------------------------------------------------------------------------
r3649 | kester | 2004-12-13 10:53:30 +0100 (Mon, 13 Dec 2004) | 2 lines

Set the physics scale on added objects. (Fix bug #1837)

------------------------------------------------------------------------
r3648 | kester | 2004-12-13 10:10:58 +0100 (Mon, 13 Dec 2004) | 2 lines

Reset backface culling. (Fix bug #1960)

------------------------------------------------------------------------
r3647 | ton | 2004-12-12 22:13:07 +0100 (Sun, 12 Dec 2004) | 14 lines

Bug fix, after irc report sk1p:

frame-sliding (LMB) in action, nla, sound and ipo window went into very
tight while loop, causing cpu to choke. Added nice idle.

Bug fix, found self while testing:
- relative.blend, editmode
- delete part, exit editmode
- enter editmode, undo twice, exit editmode -> crash

The trick to copy 'old' locations of vertices to keys isnt undo-resistant
yet. This fix at least doesnt crash, but copying doesnt work when undo-ing
back to previous editmode session (indices just differ from current mesh...)

------------------------------------------------------------------------
r3646 | ton | 2004-12-12 20:06:04 +0100 (Sun, 12 Dec 2004) | 11 lines

Bug, reported by Bassam;

When editing Meshes with vertex keys (RVKs), the undo stack isn't
updated correctly, causing a loss of the situation when entering
editmode after changing active key, and doing undo immediate after.

This due to an 'optimizer' in the undo code that tried to prevent undos
pushed on identical situations (e.g. pressing TAB multiple times).
Decided to remove that convention, the annoyance of having possible
multiple undos in a row isn't worth solving it by potential losses.

------------------------------------------------------------------------
r3645 | ton | 2004-12-12 19:16:35 +0100 (Sun, 12 Dec 2004) | 13 lines

Bugfix #2008

Combination of:
- render movie
- with border set
- and "crop" set
Crashed.

Was due to feeding movie initialize code wrong frame sizes. Another oldie!

Also found that crop+border+parts doesnt work. This now is prevented with
warning and return.

------------------------------------------------------------------------
r3644 | aphex | 2004-12-12 17:24:08 +0100 (Sun, 12 Dec 2004) | 2 lines

Added missing include path for BIF_toolbox.h.

------------------------------------------------------------------------
r3643 | jiri | 2004-12-12 16:28:38 +0100 (Sun, 12 Dec 2004) | 4 lines



 - bug fix reported by LetterRip at IRC (just typo: expant isn't expand)

------------------------------------------------------------------------
r3642 | jiri | 2004-12-12 14:42:49 +0100 (Sun, 12 Dec 2004) | 8 lines



- bug fix #1874

  https://projects.blender.org/tracker/?func=detail&aid=1874&group_id=9&atid=125

  normal vectors of vertexes are exported correctly now

------------------------------------------------------------------------
r3641 | lukep | 2004-12-12 14:29:54 +0100 (Sun, 12 Dec 2004) | 2 lines

fix for potential crasher. we were returning pointer to a local var

------------------------------------------------------------------------
r3640 | ton | 2004-12-12 12:19:27 +0100 (Sun, 12 Dec 2004) | 5 lines

Bug fix #2005

Simple case; make MAXSTACK define for vrml import to allow import up to
750k faces or 1M vertices (was 125k faces, 160k vertices).

------------------------------------------------------------------------
r3639 | ton | 2004-12-11 17:33:55 +0100 (Sat, 11 Dec 2004) | 3 lines

Ctrl+C and CTRL+V copy/paste didn't work for COL buttons ("swatches").
Thanks Chris B for a useful fix!

------------------------------------------------------------------------
r3638 | phase | 2004-12-11 16:56:01 +0100 (Sat, 11 Dec 2004) | 5 lines

Bugfix #1589

When the render output directory doesn't exist (on windows) the BLI_recurdir_fileops() function
tries to create a directory with no name. Added check if a name is specified..

------------------------------------------------------------------------
r3637 | ton | 2004-12-11 16:48:33 +0100 (Sat, 11 Dec 2004) | 6 lines

The ugly global R.flag was reset to zero, before it was calling functions
that could popup error() boxes. These dont work then, and need to be
disabled by keeping R.flag on R_RENDERING

This is a half fix for a report Rob H works on. Will wait for his test.

------------------------------------------------------------------------
r3636 | ton | 2004-12-11 15:07:38 +0100 (Sat, 11 Dec 2004) | 7 lines

Fix for bug #1823

Hiding window (Apple-H) caused the modifier to hang when reopened.
Added 1 line that re-reads modifier on "Inputchange" event, which only
is when you switch focus from one app to another.
Might solve more issues reported with 'hanging' keys.

------------------------------------------------------------------------
r3635 | ton | 2004-12-11 13:41:51 +0100 (Sat, 11 Dec 2004) | 8 lines

Fixes, after bug report Stefano:

- Dupli-Frames objects didn't render correct with Motion Blur (they moved!)
- VertexKey on Bezier paths didn't animate the 'twist' rotation. This did
  work for Nurbs paths.

Plus; removed Nabla slider from Stucci, it doesn't work for that texture.

------------------------------------------------------------------------
r3634 | ton | 2004-12-10 19:29:16 +0100 (Fri, 10 Dec 2004) | 6 lines

As addition to the use of Colorband for normals;
- Stucci now accepts it too (for normals and color)
  Note; stucci doesn't return a single value, like marble or wood, that's
  still so, to disable it coloring the "Col" Map input by default.
- Magic texture now accepts Colorband

------------------------------------------------------------------------
r3633 | ton | 2004-12-10 15:50:39 +0100 (Fri, 10 Dec 2004) | 7 lines

Bug fix #1994

Sequence editor crash when you delete Scenes which were used as a strip.
Related to that, file reading code didn't restore pointers for strips
correctly when you save with open "Meta" strip.
First bug 8 year old. Second 1 month. :)

------------------------------------------------------------------------
r3632 | phase | 2004-12-10 14:39:05 +0100 (Fri, 10 Dec 2004) | 2 lines

Disabled debug printing. Pfft.

------------------------------------------------------------------------
r3631 | phase | 2004-12-10 14:24:56 +0100 (Fri, 10 Dec 2004) | 4 lines

Bugfix #1262 bugfix.

Path detection was wrong. Grrr, stupid windows paths.

------------------------------------------------------------------------
r3630 | phase | 2004-12-10 13:55:53 +0100 (Fri, 10 Dec 2004) | 7 lines

Bugfix #1262 additions.

When the Quicktime movie output path lacks any path indication, the movie is created in the
executable directory.
Also new, when the Quicktime output movie isn't created for some reason, the rendering will
stop and give an error message (in the console).

------------------------------------------------------------------------
r3629 | ton | 2004-12-10 12:49:24 +0100 (Fri, 10 Dec 2004) | 3 lines

Patch provided by Chris Burt; constraint name button exceeded actual string
size.

------------------------------------------------------------------------
r3628 | phase | 2004-12-10 02:28:28 +0100 (Fri, 10 Dec 2004) | 8 lines

Bugfix #1262

Raw fix for the drive letter issue with Quicktime/Windows filenames.
When a drive letter is missing in a filename, it'll use the drive where the executable is.

Fix might be useful for Yafray too, because the extern char bprogname[]; doesn't return
a full path when Blender is started from the console.

------------------------------------------------------------------------
r3627 | aphex | 2004-12-09 23:11:40 +0100 (Thu, 09 Dec 2004) | 8 lines

Fixed a crafty little bug that only seemed to show up in 'Rotate Edges'.

Rotated edges (seemingly on quads only) were not drawn even if
'Draw All Edges' is active.

Finally tracked the bug down to a typo in flag checks! Eeugh, was much
head scratching on this one! :)

------------------------------------------------------------------------
r3626 | ton | 2004-12-09 17:43:37 +0100 (Thu, 09 Dec 2004) | 7 lines

Three fixes in edge/crease edit for Transform Properties Panel (NKEY)

- code wasn't edge-select aware yet
- the "Median" button now allows to move a "median" correctly around, also
  to 0 or 1 in a single step
- missing undo push  here.

------------------------------------------------------------------------
r3625 | sirdude | 2004-12-09 14:51:13 +0100 (Thu, 09 Dec 2004) | 7 lines



Stupid typo in last commit.
*sigh*

Kent

------------------------------------------------------------------------
r3624 | ton | 2004-12-09 14:46:38 +0100 (Thu, 09 Dec 2004) | 5 lines

Bug fix #1995

Unpacking a file with packed sounds didn't save the samples... was due
to *very* weird method samples were put in Blender.

------------------------------------------------------------------------
r3623 | sirdude | 2004-12-09 14:13:24 +0100 (Thu, 09 Dec 2004) | 9 lines



I had to change a bit of the stuff I added to get solaris openal working.

I also removed a redundant bit of config stuff for freebsd
that didn't do anything.

Kent

------------------------------------------------------------------------
r3622 | sirdude | 2004-12-09 14:09:11 +0100 (Thu, 09 Dec 2004) | 11 lines



This fixes bug #1990

It moves targa, bmp, iris and png loading so that were not opening
2 file handles for each file, and made them like the jpeg stuff.

Also cleaned up some minor other stuff.

Kent

------------------------------------------------------------------------
r3621 | ton | 2004-12-09 13:06:37 +0100 (Thu, 09 Dec 2004) | 12 lines

Bug fix #1988, ray-transparency render.

Five fixes in this commit...

- the normals for nurbs surfaces still were calculated pointing wrong in some occasions
- recoded ray-transp rendering to accept normals pointing any direction; it just counts how many times it passes a "glass" layer, and flips normals appropriate then. This means rendering will go fine on models without manually setting the normals. You can also move a camera inside a 'glass' object.
- rendering of the inside part of glass now uses correct normal too... specularity happen on a solid glass inside now.
- And an inside reflected mirror ray will keep bouncing inside glass

Related to rendering localview: old convention to render localview, but with the lamps in the normal layers, has been restored.
Please note; render happens based on active window. You *only* get a localview or 'unlocked layer' render when that 3d window is active = mouse in window.

------------------------------------------------------------------------
r3620 | ton | 2004-12-08 20:08:37 +0100 (Wed, 08 Dec 2004) | 16 lines

Bug fix based on bug report Chris Burt, IRC.

Appending objects with constraints expands links to objects (according
code) but doesn't give such objects a link to Scene.

Apprently, somewhere in NaN days, someone commented a call, which
already invoked comments... here's the full code + comments now:

	/* give a base to loose objects */
	give_base_to_objects(G.scene, &(G.main->object));
	/* has been removed... erm, why? (ton) */
	/* 20040907: looks like they are give base already in append_named_part(); -Nathan L */
	/* 20041208: put back. It only linked direct, not indirect objects (ton) */

:-)

------------------------------------------------------------------------
r3619 | ton | 2004-12-08 19:36:48 +0100 (Wed, 08 Dec 2004) | 7 lines

Narrowed code for restoring UI after undo. It seems still an error in
oops code, having pointers to ID structs that are invalid.

This solves at least it crashing... oops needs to be refreshed once :)

(occurred on testing complex files, with conversion from nurbs=>mesh)

------------------------------------------------------------------------
r3618 | ton | 2004-12-08 16:29:47 +0100 (Wed, 08 Dec 2004) | 5 lines

Bug fix #1987

Halos with texture, but only mapping to "Alpha" and not color, were
rendered black, instead of in material color.

------------------------------------------------------------------------
r3617 | ton | 2004-12-08 16:11:52 +0100 (Wed, 08 Dec 2004) | 6 lines

Bug fix #1985

Using ctrl+up/down in buttons window, didn't use a proper rescale of view
as already works for dragging window edges. Now the 'Full window' action
keeps size nicely.

------------------------------------------------------------------------
r3616 | phase | 2004-12-08 16:11:38 +0100 (Wed, 08 Dec 2004) | 2 lines

removed a debug printf. (excuse to check cvs permissions)

------------------------------------------------------------------------
r3615 | sirdude | 2004-12-08 15:58:40 +0100 (Wed, 08 Dec 2004) | 6 lines



This commit makes it so openal finally works on solaris.

Kent

------------------------------------------------------------------------
r3614 | ton | 2004-12-08 15:12:47 +0100 (Wed, 08 Dec 2004) | 62 lines

Essential cleanup for mess involved with reading files, initializing UI and
patching versions for UI settings.

Currently four different levels of routines for .blend file reading exist;

/* interface level */
1) BIF_init() -> calls 3
2) BIF_read_file() -> calls 11, optional 4
3) BIF_read_homefile() -> calls 11 or 12, and then 4
4) init_userdef_file()

/* kernel level */
11) BKE_read_file() -> calls 21, and then 14
12) BKE_read_file_from_memory() -> calls 22, and then 14
13) BKE_read_file_from_memfile() -> calls 23, and then 14
14) setup_app_data()

/* loader module level */
21) BLO_read_from_file() -> calls 24
22) BLO_read_from_memory() -> calls 24
23) BLO_read_from_memfile() -> calls 24

/* loader module, internal */
24) blo_read_file_internal()


Note:
- BIF_read_homefile() has additional UI initialize calls, like windows fullscreen and executing commandline options

- Reading from memory (12) only happens for the compiled-in .B.blend

- The "memfile" here is a name I gave to the undo "file" structure. Which is constructed out of memory chunks with basic compression features.

- the kernel function setup_app_data() sets globals like "current screen" and "current scene".

So far, so good. The levels as mentioned here clearly distinguish UI from kernel, and should enable for example game loading (runtime) or background (no UI) loading. In the past years however, 'bad level' dependencies were added, and especially the patches for 'file versions' were added in too many places. The latter is evidently a result of the problem that the "UserDef" struct cannot be initialized/patched if there's not a need for a UI.

Here's how the flow goes in four different cases:

----- Starting up Blender, in foreground with UI --------------------

- creator/creator.c, main() -> calls 1
- If the commandline contains a filename, it calls 11

----- Starting up Blender, in background without UI --------------------

- creator/creator.c, main() -> calls 11 if the commandline has a filename

Note: no Userdef is read, nor initialized. Please note that this was already an existing problem for using Yafray, not setting proper file paths in background mode. The Yafray paths don't belong in the User menu.

----- Starting up Blender as a runtime executable --------------------

This only has calls to 22

----- Loading a file from within the UI (with F1, CTRL+O, using pulldowns) -----

Only calls allowed to 2. It detects if a UserDef has been read too, and in that case the init_userdef_file() will be executed.

Hope this is understandable :)

-Ton-

------------------------------------------------------------------------
r3613 | ton | 2004-12-07 19:14:03 +0100 (Tue, 07 Dec 2004) | 5 lines

Bug fix 1982

Three buttons, showing float values, had only precision of 2 digits.
Made it three.

------------------------------------------------------------------------
r3612 | ton | 2004-12-07 19:06:13 +0100 (Tue, 07 Dec 2004) | 5 lines

Bugfix #1981

Pad-minus key didn't work in typemode transform().
Very easy, just flipping an && with || :)

------------------------------------------------------------------------
r3611 | ton | 2004-12-07 18:46:14 +0100 (Tue, 07 Dec 2004) | 8 lines

Sneak in little feature for texture editing pleasure;

- New channel for "Map to" added, "Warp"
- Use the slider next to the option to set amount of influence the texture
  will have on the coordinates of the next texture.
- Warp uses for this the same values as for Normal or Displacement mapping
- Warp remains active for all channels, until replaced (or zeroed).

------------------------------------------------------------------------
r3610 | ton | 2004-12-07 15:46:48 +0100 (Tue, 07 Dec 2004) | 20 lines

More tweaks related to bump mapping quality;

While going over the code, I found out the "nabla", the size of offset
vectors for calculating derivatives of a texture, is a built in constant.
Even worse, the value was different for new noise types (musgrave etc).
So I've added a new slider for it in the procedural texture panels, which
by default is set to 0.025, the value of the old constant. Also made sure
it works with equal effect in all procedurals.

NOTE: a small Nabla will give sharper, detailed bump, but the effect also
becomes smaller, correct that in the Mapping Panel of materials.

For better & compliant control over the bumpmapping, I've also included
the Colorband output in derivatives calculus, so the bump output then
matches the color created. It's also a nice tool to finetune output of
textures for bumpmapping in general.

Bug fix; clicking on the rightmose 'item' in ColorBand didn't activate it.
Found out the ColorBand was slightly drawn off (2 pixels).

------------------------------------------------------------------------
r3609 | eeshlo | 2004-12-07 06:31:17 +0100 (Tue, 07 Dec 2004) | 2 lines

Added support for normalmaps.

------------------------------------------------------------------------
r3608 | ton | 2004-12-06 20:14:53 +0100 (Mon, 06 Dec 2004) | 5 lines

Bug fix #1978

Stencil in World didn't work with RGB textures (like what returns from
colorbands).

------------------------------------------------------------------------
r3607 | ton | 2004-12-06 19:05:42 +0100 (Mon, 06 Dec 2004) | 8 lines

Tweaked support for normalmaps to be OK.

http://www.blender3d.org/cms/Normal_Mapping.491.0.html

main changes:
- The "Map Input" in Blender for normals was negated
- Range for Z in normal map is Z (0-1) to Blue (0-255)

------------------------------------------------------------------------
r3606 | ton | 2004-12-06 13:24:10 +0100 (Mon, 06 Dec 2004) | 11 lines

Bug #1970

Objects being vertex-parented to a mesh, which in turn was being deformed
by a curve or lattice, were never update correctly.
Whilst this is a typical issue for our beloved new Dependency Graph, I
consider it worth at least solving for now. An issue since Blender 1.0
you know. :)

Solution is only working for this specific case; vertex-parent to deformed
object.

------------------------------------------------------------------------
r3605 | kester | 2004-12-06 12:15:50 +0100 (Mon, 06 Dec 2004) | 2 lines

Fix the case when the physics system starves the logic & renderer of CPU time.  If this happens, we reduce physics precision to maintain some framerate.

------------------------------------------------------------------------
r3604 | kester | 2004-12-06 12:10:41 +0100 (Mon, 06 Dec 2004) | 2 lines

Fix numerical precision issue in physics.  Dividing by a number too close to zero would make the impulse response normal large hence the jittering.

------------------------------------------------------------------------
r3603 | kester | 2004-12-06 12:01:42 +0100 (Mon, 06 Dec 2004) | 2 lines

Set the default physics tic rate to 90 Hz

------------------------------------------------------------------------
r3602 | kester | 2004-12-06 11:58:38 +0100 (Mon, 06 Dec 2004) | 2 lines

Don't try to interpolate from prop ipo actuators

------------------------------------------------------------------------
r3601 | ton | 2004-12-06 10:57:01 +0100 (Mon, 06 Dec 2004) | 5 lines

Bug fix #1972

AKEY didn't toggle open/close outliner. It'll be back temporal, until
definitely defined what to do with selections in it.

------------------------------------------------------------------------
r3600 | ton | 2004-12-06 00:24:43 +0100 (Mon, 06 Dec 2004) | 5 lines

Outliner crash reported bu K-rich;

- with outliner visible
- alt+d (linked dupli) an armature

------------------------------------------------------------------------
r3599 | ton | 2004-12-05 22:49:13 +0100 (Sun, 05 Dec 2004) | 10 lines

Bugfix: normal mapping for textures wasn't rotated back to view space,
causing weird results on camera moves or object rotations.

Added: support for "normal maps". See for example:
http://members.shaw.ca/jimht03/normal.html

The Image panel in Texture buttons has new option "Normal Map" for it.
When this is used, normals are read straight from RGB values, and blended
with the current normal.

------------------------------------------------------------------------
r3598 | ton | 2004-12-05 22:46:30 +0100 (Sun, 05 Dec 2004) | 2 lines

Bugfix/feat request... in textured view mode the Build Effect didnt show.

------------------------------------------------------------------------
r3597 | ton | 2004-12-05 13:05:28 +0100 (Sun, 05 Dec 2004) | 5 lines

Reported on IRC;

Converting subsurf to mesh didn't display new Mesh object in correct wire,
when susurf was optimal.

------------------------------------------------------------------------
r3596 | ianwill | 2004-12-05 05:01:57 +0100 (Sun, 05 Dec 2004) | 7 lines

BPython, two bug fixes:
- #1911: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1911&group_id=9
    BOOL properties were returning True always, small mistake in logic.c's getData method.
- #1944: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1944&group_id=9
    G.vd was not being checked against NULL in Window.ViewLayer, causing a crash when this function was called from a command line script.  Now it returns an error in such cases.
- small doc updates, tiny minor change in Object.c.

------------------------------------------------------------------------
r3595 | eeshlo | 2004-12-05 04:51:01 +0100 (Sun, 05 Dec 2004) | 2 lines

Added support for the extra texture channels.

------------------------------------------------------------------------
r3594 | kester | 2004-12-05 03:50:57 +0100 (Sun, 05 Dec 2004) | 2 lines

Fix Action & IPO actuators: (Bugs #1921 & #1920)

------------------------------------------------------------------------
r3593 | kester | 2004-12-05 01:50:55 +0100 (Sun, 05 Dec 2004) | 6 lines

Fix for bug #1875:

OpenAL (pthreads) was generating a SIGHUP at alcDestroyContext().

Fix by setting SIGHUP to ignore.

------------------------------------------------------------------------
r3592 | ton | 2004-12-04 22:49:02 +0100 (Sat, 04 Dec 2004) | 12 lines

Special bf-committers request; Lamp/World/Material now each have 10
channels to link texture to.

The amount of code changes seems large, but is mostly getting rind of
hardcoded values (6 and 8) for channels, replacing it with MAX_MTEX.

Further did some fixes;
- Ipo for Lamp showed too many mapping channels
- Texture MapTo buttons for lamp missed the slider to blend texture color
- Lamp texture mapping "View" only worked for Spot, now it uses lamp-
  view vector for all types. (Nice for projections!)

------------------------------------------------------------------------
r3591 | ton | 2004-12-04 18:52:44 +0100 (Sat, 04 Dec 2004) | 5 lines

Was on my todo; with option "load No UI" the CTRL+X (start over) didnt
load UI either.

(editmesh commit is error in previous commit, but caused no harm)

------------------------------------------------------------------------
r3590 | ton | 2004-12-04 15:29:57 +0100 (Sat, 04 Dec 2004) | 6 lines

Bug fix #1955

Another tweak in the convex formula, replaced a ">" with ">=" for detecting
optimal projection of face in 2d. Solves issue reveiled in Bevel tool,
where it could happen that a face wasn't created.

------------------------------------------------------------------------
r3589 | ton | 2004-12-04 13:02:19 +0100 (Sat, 04 Dec 2004) | 5 lines

Bug fix #1954

Edge render for wire in unified was total mess! Code there apparently never
even tested. Gave wrong rendering and potential crashes.

------------------------------------------------------------------------
r3588 | ton | 2004-12-04 11:51:04 +0100 (Sat, 04 Dec 2004) | 4 lines

Bug #1957

Blender ALT+Z drawmode didnt support quad lights.

------------------------------------------------------------------------
r3587 | kester | 2004-12-04 10:51:04 +0100 (Sat, 04 Dec 2004) | 2 lines

Update the physics engine: interpolate between frames so track to/camera actuators work properly. (bug #1816)

------------------------------------------------------------------------
r3586 | blendix | 2004-12-04 01:12:53 +0100 (Sat, 04 Dec 2004) | 6 lines


Bugfix for #1949:

F11 to switch between render window / main window didn't work anymore in some
window managers (e.g. fluxbox), after fixing it to work in kde.

------------------------------------------------------------------------
r3585 | ton | 2004-12-04 00:22:21 +0100 (Sat, 04 Dec 2004) | 6 lines

Two small fixes;

- on exit editmode, displist for subsurf was not made, causing static
  particles to calculate wrong
- static particles were not selectable

------------------------------------------------------------------------
r3584 | ton | 2004-12-03 23:04:28 +0100 (Fri, 03 Dec 2004) | 5 lines

- added undo pushes for buttons invoking file window in scene buttons
  (set directory, backbuf, scene)
- small annoyance; after extrude the transform() didn't react to the
  "midtog" feature (middlemouse constraint)

------------------------------------------------------------------------
r3583 | ton | 2004-12-03 22:25:56 +0100 (Fri, 03 Dec 2004) | 8 lines

Bug fix #1952

When rotating camera itself in camera view, and choose local axis rotate,
the camera flipped around. Was due to using viewmat[][] while it changes...

Solved in the simplest elegant way; hope Martin will cope with this in new
transform!

------------------------------------------------------------------------
r3582 | ton | 2004-12-03 21:41:53 +0100 (Fri, 03 Dec 2004) | 4 lines

Bug fix #1945

Undo push missing after "ALT/SHIFT+D and ESC".

------------------------------------------------------------------------
r3581 | ton | 2004-12-03 21:22:37 +0100 (Fri, 03 Dec 2004) | 12 lines

Fixes in static particles. Result of going over details with Chris Burt,
thanks for that!

- static particles that are being deformed (curve/lattice/armature) now
  display correct in 3d window. Only updates when particle system updates
  normally though
- static particles without "animate" set didn't deform even
- static particles used as duplicators had errors with extreme low "life"
  value for particles. Also, still cases could happen with unrotated duplis
  at the end of a static particle line (with Vect option)
- Added tooltip for "Step" option in particles

------------------------------------------------------------------------
r3580 | ton | 2004-12-03 19:04:33 +0100 (Fri, 03 Dec 2004) | 6 lines

Bug fix #1946

Editmode Mesh, edge selectmode, not zbuffer on. Selecting edges didnt give
a small disadvantage to the already selected one, making it hard to select
edges that are extreme close or on top of each other.

------------------------------------------------------------------------
r3579 | ton | 2004-12-03 18:03:35 +0100 (Fri, 03 Dec 2004) | 9 lines

Bug fix #1947

Unified render added sky with alpha=1. Found the way how to fix it, didnt
dare that yesterday. :)
Now sky is rendered with alpha=0, like normal render.

Thanks to the recent reports, a lot of old issues with unified render have
been solved. This is going to be pretty OK!

------------------------------------------------------------------------
r3578 | ton | 2004-12-03 17:44:48 +0100 (Fri, 03 Dec 2004) | 7 lines

Bug fix #1948

When using a backbuffer with alpha, but alpha is not premulled, you can
get weird rendering results with halos or lens flare. This was caused by
optimize rule in alpha routine that assumed alpha==0 means color is zero.
Removed for the the halo case.

------------------------------------------------------------------------
r3577 | ton | 2004-12-03 17:32:24 +0100 (Fri, 03 Dec 2004) | 3 lines

Fixed the very annoying display of User Settings Menu when Blender window
is wider than 1280 pixels. It now keeps scale at 100% then, without zoom.

------------------------------------------------------------------------
r3576 | ton | 2004-12-03 16:28:48 +0100 (Fri, 03 Dec 2004) | 5 lines

Fix for #1951

Textbuttons and buttons showing ID names (Objects, etc) were accidentally
also translated. Error since 2.3 recode. :)

------------------------------------------------------------------------
r3575 | ton | 2004-12-03 15:30:32 +0100 (Fri, 03 Dec 2004) | 5 lines

Fix for #1700 and #1941

When a font for 3d Text Object doesnt exist anymore, Blender could crash.
Thanks Rob Haarsma for fixing it.

------------------------------------------------------------------------
r3574 | ton | 2004-12-03 11:16:29 +0100 (Fri, 03 Dec 2004) | 6 lines

Bufix for #1940

With material slider "Ray Mir" set non zero, but with toggle "Ray Mirror"
off, Blender accidentally entered a part of raytracing code, screwing up
the alpha value of the result.

------------------------------------------------------------------------
r3573 | sirdude | 2004-12-03 03:42:21 +0100 (Fri, 03 Dec 2004) | 10 lines



Added
#define B_UNLINKIMA            1358

Since it was undefined and causing things not to compile.  Whoever added it
might want to move it but hey its working again for now. ;)

Kent

------------------------------------------------------------------------
r3572 | ton | 2004-12-02 23:39:16 +0100 (Thu, 02 Dec 2004) | 5 lines

Fix, reported on irc by K-rich.

Texture buttons didn't allow to unlink the image. Nowhere in Blender this
even is possible or happens... reason for blocks to get "stuck" in file. :)

------------------------------------------------------------------------
r3571 | ton | 2004-12-02 22:22:17 +0100 (Thu, 02 Dec 2004) | 6 lines

Added new option:

In renderwindow, press AKEY to see the alpha in B&W. Another AKEY shows
normal RGB again. This uses glColorMask, an opengl 1.0 function.
Really needed it for debugging alpha in rendering. :)

------------------------------------------------------------------------
r3570 | ton | 2004-12-02 22:18:58 +0100 (Thu, 02 Dec 2004) | 6 lines

Bufix #1942

Halos with Flare option didn't render correct in Unified render, they were
added twice!
Also noticed errors in applying alpha for 'Premul' alpha in Unified. Fixed.

------------------------------------------------------------------------
r3569 | ton | 2004-12-02 19:12:18 +0100 (Thu, 02 Dec 2004) | 10 lines

Bug fix #1939

Combining panorama scene and Sequencer effect on scene (like glow) crashed.

Found two other issues;

- on click in sequencer, the image output window didn't redraw correct, but
  only when a render window was opened. Caused by missing 'activate' call
- added a pause in dragging-frame loop to make it idle friendly

------------------------------------------------------------------------
r3568 | ton | 2004-12-02 17:08:49 +0100 (Thu, 02 Dec 2004) | 5 lines

Reported on IRC, Wavez:

Objects with negative scale draw TFaces front/back inverted in FaceSelect
mode. Added same solution as 2 releases before for Solid draw mode.

------------------------------------------------------------------------
r3567 | ton | 2004-12-02 17:01:15 +0100 (Thu, 02 Dec 2004) | 2 lines

Selection on faces now includes the facedots in solid/visible-only mode.

------------------------------------------------------------------------
r3566 | ton | 2004-12-02 15:52:40 +0100 (Thu, 02 Dec 2004) | 13 lines

Bug fix #1937

In unified render, halos can give black/colored overflows. Found it this
happens with halos that are behind the camera clipping range. Halo clip
just had some weird code for panorama corrections...

In the provided .blend of report found 3 more glitches;

- after render particle system with Material Ipo, values for material were
  not restored correctly
- Meshes with particles didn't draw axis (draw extra) on correct location
- Same as above, axis didn't draw in selected color.

------------------------------------------------------------------------
r3565 | ton | 2004-12-02 13:37:08 +0100 (Thu, 02 Dec 2004) | 8 lines

Bug fix #1935

Using header view3d pulldown for "align active camera to view" didn't clear
the abused modifier value correctly. Learn from this:

incorrect: G.qual &= ~LR_CTRLKEY|LR_ALTKEY;
correct:   G.qual &= ~(LR_CTRLKEY|LR_ALTKEY);

------------------------------------------------------------------------
r3564 | stiv | 2004-12-02 00:09:59 +0100 (Thu, 02 Dec 2004) | 5 lines

bugfix: #1930 Mathutils.Euler constructor fails to initialize class variables

Euler object was holding pointer to bad memory.
Euler now owns internal array memory and frees it in destructor.

------------------------------------------------------------------------
r3563 | ton | 2004-12-01 23:35:42 +0100 (Wed, 01 Dec 2004) | 7 lines

Three little fixes as reported by Campbell;

- Mesh editmode; SHIFT+F fill didnt set default vertex color
- Parented spotlight had wrong (black) dashed line to parent when selected
- Constraint line draw while transform wasn't reset, causing sometimes to
  draw when using the (ugly) G.moving flag...

------------------------------------------------------------------------
r3562 | ton | 2004-12-01 21:10:08 +0100 (Wed, 01 Dec 2004) | 6 lines

Fixed old annoyance in Blender;

With mouse cursor over a screen-edge (between windows) none of the hotkeys
worked. Now it checks for the global list of keys, including screen-switch,
quit, frame change, Fkeys, load/save, undo/redo, etc.

------------------------------------------------------------------------
r3561 | ton | 2004-12-01 21:05:34 +0100 (Wed, 01 Dec 2004) | 3 lines

Typical... fixing & testing parts for Gauss, and forgot to check non-part
render. :)

------------------------------------------------------------------------
r3560 | ton | 2004-12-01 20:46:58 +0100 (Wed, 01 Dec 2004) | 6 lines

Bug fix #1922

Gauss filtered render now supports using Part render too.
Solved by increasing part sizes with 1 pixel around, but only with gauss
set.

------------------------------------------------------------------------
r3559 | ton | 2004-12-01 17:47:26 +0100 (Wed, 01 Dec 2004) | 5 lines

Buf fix #1928

Bug in Unified render with Edge outline option. Appeared to be lack of
setting buffer pointers at NULL after a render. Bad one, oldie. :)

------------------------------------------------------------------------
r3558 | ton | 2004-12-01 16:57:33 +0100 (Wed, 01 Dec 2004) | 5 lines

Bug #1924

In PoseMode, selecting multiple bones and transform() it crashes.
Found out the bones were not even counted at all! Bug since 2.25...

------------------------------------------------------------------------
r3557 | ton | 2004-12-01 13:39:14 +0100 (Wed, 01 Dec 2004) | 9 lines

Bug #1909

When choosing "render engine" in Scene Buttons, the newly added or removed
Panels didn't invoke a re-alignment event yet.
Also added code that inserts new panels as good as possible on their
previous locations. This works reliable for 1 new panel, not for more, this
because a Panel only stores its old location, not the locations of all
Panels in a given configuration. Consider that minor issue...

------------------------------------------------------------------------
r3556 | kester | 2004-12-01 09:43:58 +0100 (Wed, 01 Dec 2004) | 2 lines

Only do event processing for ipo actuators on frames.

------------------------------------------------------------------------
r3555 | kester | 2004-12-01 09:43:02 +0100 (Wed, 01 Dec 2004) | 2 lines

Make objects lit by default if there is a light in the scene, and no other face information exists for that object.

------------------------------------------------------------------------
r3554 | kester | 2004-12-01 09:35:38 +0100 (Wed, 01 Dec 2004) | 20 lines

.scr patch (from Raymond Penners)

- The patch only alters files in: blender/source/gameengine/GamePlayer/ghost

- Any blenderplayer.exe (with the patch applied) can be renamed into
something.scr, and it will behave as a Windows screen saver.
(Right-click the .scr file, and select "Install". Then, it will appear
in the screen saver properties dialog part of the display settings,
including small preview et al).

- The screen saving functionality does not affect the executable when
it is NOT named .scr

- The screen saver automatically exits when the mouse/keyboard is
moved/pressed. There is no more need to wrap blenderplayer.exe into a
bat file and use python quit controllers, or whatever else is
suggested at http://download.blender.org/documentation/oldsite/oldsite.blender3d.org/181_Blender%20news%20haloParty.html

- It has been currently been tested to work Windows XP

------------------------------------------------------------------------
r3553 | ianwill | 2004-12-01 05:49:04 +0100 (Wed, 01 Dec 2004) | 3 lines

Scripts:
-- Campbell Barton updated some of his contributions, thanks!

------------------------------------------------------------------------
r3552 | ton | 2004-11-30 23:46:13 +0100 (Tue, 30 Nov 2004) | 5 lines

Bugfix #1915

In unified render, AO with option "Sky" could give black dots, caused by
an overflow due to division by zero (was clipped away in normal render).

------------------------------------------------------------------------
r3551 | ton | 2004-11-30 23:32:52 +0100 (Tue, 30 Nov 2004) | 8 lines

- Bug fix #1913
Lasso select on objects didnt work with multiple views, due to lack of
calculation of screencoords.

- Bug fix #1914
Hooks didn't update 'parent' when snapping to grid a Hook. Solved it for
snap to cursor too.

------------------------------------------------------------------------
r3550 | sirdude | 2004-11-30 20:10:43 +0100 (Tue, 30 Nov 2004) | 8 lines



Removed an unused variable and the autoconf config.h stuff.
(was hunting down why audio isn't working on solaris and figured
I'd clean up the warning)

Kent

------------------------------------------------------------------------
r3549 | ton | 2004-11-30 14:06:00 +0100 (Tue, 30 Nov 2004) | 3 lines

On report from IRC: expand/shrink selection (CTRL + numpad-plus/minus) did
not work with edge/face selection modes correctly yet.

------------------------------------------------------------------------
r3548 | ianwill | 2004-11-30 03:27:46 +0100 (Tue, 30 Nov 2004) | 15 lines

Scripts:
- Fixes by Jean-Michel Soler: mod_ai2obj.py, mod_svg2obj.py;
- Fixes by Campbell Barton: obj_import.py;
- Small fix to mod_meshtools.py (fixes bug #1605: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1605&group_id=9);
- Updates by Jean-Baptiste (Jiba) to his blender2cal3d.py;
- Updates to all his import / export scripts (added doc data) by Anthony D'Agostino;
- Update to off_import: support for uv data, by Arne Schmitz.

BPython:
- Removed Object.get and .getSelected (deprecated long ago, we use .Get and .GetSelected) -- fixes #1861: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1861&group_id=9
- Applied patch by Michael Reimpell: quat.c - fix for wrong initialization with newQuaternionObject; Mathutils documentation improvements.
- Stani reported a wrong return msg in IpoCurve.Get (that is unimplemented).

Thanks to all coders mentioned above!

------------------------------------------------------------------------
r3547 | lukep | 2004-11-29 21:36:03 +0100 (Mon, 29 Nov 2004) | 3 lines

fix for #1590, possible fix for #1849 (to be confirmed)
OpenAl is subtly different on each platform. Os X need the alutinit/exit stuff

------------------------------------------------------------------------
r3546 | ton | 2004-11-29 13:57:35 +0100 (Mon, 29 Nov 2004) | 8 lines

Fixed fgon issues;

- removed rule restricting to co-planar fgons; isn't useful anyway. Now
  allows to fgonize the entire surface of a tube :)
- Hide/Reveil fgons cleared fgon flags
- Reveil ended with wrong selection status for verts/edges... solved with
  correctly using EM_select_edge and EM_select_face

------------------------------------------------------------------------
r3545 | ton | 2004-11-29 13:15:25 +0100 (Mon, 29 Nov 2004) | 13 lines

Bug reported by Wavez;

Leftmouse select option doesn't work with "Emulate 3 button mouse" option.
The latter maps middle mouse to ALT+leftmouse, frustrating loop select for
example.

Add tooltip to say this, made option to disable automatic on load (version
check) and made buttons redraw to show option being disabled.

Note; wrapping middle mouse to ALT+RMB will frustrate 1 button mices... the
current code for leftmouse-select is a hack at best, better do this good
when we have proper event handlers system.

------------------------------------------------------------------------
r3544 | eeshlo | 2004-11-29 06:33:32 +0100 (Mon, 29 Nov 2004) | 2 lines

bug #1897: Added check to make  sure plugin actually loaded correctly.

------------------------------------------------------------------------
r3543 | ton | 2004-11-29 00:11:41 +0100 (Mon, 29 Nov 2004) | 3 lines

Ack, previous commit (4 hr ago) cancelled out recalculating lookop tables
for Gaussian filter.

------------------------------------------------------------------------
r3542 | ton | 2004-11-28 23:29:28 +0100 (Sun, 28 Nov 2004) | 4 lines

Improved rule for selecting objects in solid view, the old method skipped
selection when clicked object was already active (didnt deselect others,
nor select active when it was not selected).

------------------------------------------------------------------------
r3541 | ton | 2004-11-28 20:48:53 +0100 (Sun, 28 Nov 2004) | 12 lines

Fixed something that annoyed me for ages;

In Object mode, Solid drawing, selection was just always not what you
wanted, the rules for wireframe (cycling) can't be used then.

New rule is;
- it always selects the frontmost visible item (wires in solid too), unless
  - frontmost is active already, then it picks the 2nd
  - mouse didnt move 2 pixels while selecting, then it starts cycling

Works nice :)

------------------------------------------------------------------------
r3540 | ton | 2004-11-28 19:35:40 +0100 (Sun, 28 Nov 2004) | 5 lines

Bug fix #1903

Bug in Nurb Surface orco, causing illegal pointer to be set, and crash.
Another oldie, pre-2.25!

------------------------------------------------------------------------
r3539 | ton | 2004-11-28 19:14:57 +0100 (Sun, 28 Nov 2004) | 10 lines

Fix for #1902

For composting sky behind alpha, a gamma corrected alpha_under was used,
but Blender didnt make the gamma tables unless OSA was set.
Old bug!

Changed; while rendering with "Backbuf" that doesn't exist, blender still
renders, but without backfbuf now. It used to stop render and return, with
only a print in console... confusing.

------------------------------------------------------------------------
r3538 | ton | 2004-11-28 15:28:55 +0100 (Sun, 28 Nov 2004) | 7 lines

Fix for unified rendering;

Gaussian sampling/rendering now supported too!
Also corrected gamma corrected adding of colors, which gives better alpha
and blending with sky than normal render does. The latter I could check
once too...

------------------------------------------------------------------------
r3537 | lukep | 2004-11-28 13:14:27 +0100 (Sun, 28 Nov 2004) | 3 lines

cleaning commit
shut the warnings GCC was producing for Os X

------------------------------------------------------------------------
r3536 | ton | 2004-11-28 12:32:55 +0100 (Sun, 28 Nov 2004) | 8 lines

Not really bug, but fix for report in tracker;

Added more support for lasso select; it now does:
- UV FaceSelect
- Editmode curve, surface, lattice

Missing: MBall and Armature; these make use of opengl selection still.

------------------------------------------------------------------------
r3535 | ton | 2004-11-28 11:31:18 +0100 (Sun, 28 Nov 2004) | 7 lines

Bug fix #1842, "black scanlines appear in render on windows".

Thanks to Brecht & Valgrind, found 2 cases for unitialized variables in
the render code. Both were for 2D texture input (Window and Sticky) which
didn't initalize a the third coordinate. Goes fine for 2D textures, but not
for 3d ones :)

------------------------------------------------------------------------
r3534 | eeshlo | 2004-11-28 03:13:57 +0100 (Sun, 28 Nov 2004) | 16 lines

Added nearly full support for Blender's procedural textures, with the exception
of 'envmap', 'magic', and 'plugin' modes.
The stucci texture also is not exact match, since it cannot be fully
emulated in yafray because of implementation issues. It will work best
for low turbulence values (which is actually not taken into account
in the export code).
Also, since Blender's static noise is basically just direct random number
output, don't expect the exact same result when rendered in yafray, but in this
case that probably shouldn't be that much of a problem...
(needs yafray from cvs)

(btw, on a side note, I put this in the comments once when working on the noise
stuff for Blender, but noise is affected by the 'depth' parameter, and there
is no way to control this directly from the GUI, can only be done by temporarily
switching to 'clouds' for instance.)

------------------------------------------------------------------------
r3533 | ton | 2004-11-27 19:47:51 +0100 (Sat, 27 Nov 2004) | 10 lines

Report #1841

Crash in this situation;
- one blender file with more scenes
- render image
- goto another Scene with no camera and larger output size for image
- render

Render buffer has to be freed then :)

------------------------------------------------------------------------
r3532 | ianwill | 2004-11-27 19:32:26 +0100 (Sat, 27 Nov 2004) | 7 lines

BPython:
- fixed bug #1882: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1882&group_id=9
    Crash / hang when changing meshes that had edge data.  The mesh->totedge value was not being set to 0.  Reported by jms, thanks.
- fixed bug #1780: https://projects.blender.org/tracker/index.php?func=detail&aid=1780&group_id=9&atid=125.
    Deleting a Text that was being used as script link crashed Blender.  Added a check to unlink the Text from eventual script links when it gets removed.  Reported by kaito, thanks.
- doc updates (one related to bug #1807: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1807&group_id=9 , actually a little misleading word in the NMesh doc: you can get the subsurfed mesh with NMesh.GetRawFromObject, but it's the display subdivision level that counts).

------------------------------------------------------------------------
r3531 | ton | 2004-11-27 18:59:16 +0100 (Sat, 27 Nov 2004) | 4 lines

- draw compatibility with engine; without lights texture-less objects
  draw shadeless
- buttons for physics in Material menu lined up

------------------------------------------------------------------------
r3530 | ton | 2004-11-27 18:33:40 +0100 (Sat, 27 Nov 2004) | 12 lines

- Bug fix, reported by Stefano;
  - Ztransp material didn't raytrace at all (now just traces it entirely,
    remember too set the transp depth for it)
  - tramsparent material reflected wrong in mirror material, due to
    specular being added without alpha.
- Cleaned up some code to improve raytrace speed some. The old conventions
  from before the AA recode were still there, this allowed coherence for
  octree traversal. Current AA doesn't allow this anymore.
  Added is improved check for 'first hit' on shadow render, per lamp this
  now is stored
  All in all, render with ray trace improved about 10-15%.

------------------------------------------------------------------------
r3529 | ton | 2004-11-26 21:20:42 +0100 (Fri, 26 Nov 2004) | 6 lines

Bug fix #1893

Option to switch left/right mouse didn't work for floating panels. It then
still selected stuff behind the button.
Was due to using wrong variable for events.

------------------------------------------------------------------------
r3528 | ton | 2004-11-26 20:59:11 +0100 (Fri, 26 Nov 2004) | 9 lines

Fixes in reading .dxf (bug #1883)

- fgets() doesn't recognize DOS strings in unices, made my own fgets
- reading polyline didnt support 3d lines
- reading polyline didn't create edges

All in all, this code isn't very nice and badly structured... a code
review or test (yes sirdude!) could have been useful. :)

------------------------------------------------------------------------
r3527 | ton | 2004-11-26 13:20:35 +0100 (Fri, 26 Nov 2004) | 9 lines

Two fixes;

- Bug #1890. While render subsurf in editmode, orco coordinates were
  incorrect (subsurf vertices in editmode have different ordering)
  Bug was oldie.
- IRC reported by Stefano; oops (not outliner) didnt show lamp textures
  nor material ipos correctly.
  Found error in oops curved lines too (the ones starting at right side)

------------------------------------------------------------------------
r3526 | ton | 2004-11-25 22:52:07 +0100 (Thu, 25 Nov 2004) | 15 lines

Small tweaks to make 3d drawing a tad more interactive, and; something
for our interactive 3d artists!

- AL+Z (potato) texture view now draws objects without Texture Faces
  compliant with (new) default in engine. Meaning lit faces, using
  Material RGB for diffuse and specular. It used to draw these as 'shaded'
  which is quite useless.
  Per definition, Potato mode is supposed to show what engine draws.
  (Note; this only for Mesh objects)

- Added a couple of more calls to ensure Shaded drawmode updates on
  changing RGB sliders, moving lamps to layers, or switch layers

This based on feedback from Mal, who'll also give it all good tests.

------------------------------------------------------------------------
r3525 | ton | 2004-11-25 19:16:50 +0100 (Thu, 25 Nov 2004) | 9 lines

Fix for #1806

View3d windows have 'unlock' option and 'localview', which was also
supported on render (F12 with mouse in window) to render only what is
visible there.
This didn't work very nice, with even code in render module to read from
interface variable. Removed that from render, and coded the exception
where it belongs, in renderwin.c

------------------------------------------------------------------------
r3524 | ton | 2004-11-25 17:27:21 +0100 (Thu, 25 Nov 2004) | 3 lines

One free too many on shading displaylists, causes material-less objects not
to render.

------------------------------------------------------------------------
r3523 | ton | 2004-11-25 16:48:19 +0100 (Thu, 25 Nov 2004) | 6 lines

Bugfix #1889

Reporter found omission in editmode undo. When you convert objects from Font
to Curve and/or to Mesh, the stack wasn't cleared (same object pointer!)
giving crashes on undo-restore calls. Nice discovery. :)

------------------------------------------------------------------------
r3522 | ton | 2004-11-25 13:04:31 +0100 (Thu, 25 Nov 2004) | 2 lines

Ack, accidentally a testing line got committed 1 minute ago.

------------------------------------------------------------------------
r3521 | ton | 2004-11-25 13:02:47 +0100 (Thu, 25 Nov 2004) | 5 lines

Bug fix #1844

Joining Meshes, with the active Mesh having no vertexgroups, and other
Meshes having them didn't work.

------------------------------------------------------------------------
r3520 | ton | 2004-11-25 12:30:56 +0100 (Thu, 25 Nov 2004) | 6 lines

Fix for #1887 and #1636

Old code in displist.c caused crash on OGL "render this view" option for
3D windows. No idea why this exception was in displist.c... must be for
old engine or so?

------------------------------------------------------------------------
r3519 | kester | 2004-11-25 09:09:18 +0100 (Thu, 25 Nov 2004) | 2 lines

Make the material colour the default colour for objects if textures & vertex colours are not available (instead of white)

------------------------------------------------------------------------
r3518 | ton | 2004-11-24 19:53:45 +0100 (Wed, 24 Nov 2004) | 6 lines

Bug fix #1880

Two accumulating errors, causing 'scanline' errors too, but now based on
using different filtering values for transparent shadows.
Was another 2 cases of unused variable render as well. :)

------------------------------------------------------------------------
r3517 | ton | 2004-11-24 19:02:07 +0100 (Wed, 24 Nov 2004) | 3 lines

Made sure exporting files (any, ranging from dxf to python scripts) signal
FileWindow to refresh on second usage, to show new file.

------------------------------------------------------------------------
r3516 | ton | 2004-11-24 17:29:10 +0100 (Wed, 24 Nov 2004) | 5 lines

Bug reported on IRC by Chris Want

Remove doubles, editmode Mesh, returns short. doesnt work nice on large
meshes! Is int now.

------------------------------------------------------------------------
r3515 | ton | 2004-11-24 16:52:25 +0100 (Wed, 24 Nov 2004) | 7 lines

Bugfix, based on Stefano IRC report.

Nkey panel in IpoWindow, the "Xmin" and "Xmax" buttons had a much too
narrow range, causing weird results when trying to fill in larger values.

NOTE; the button range method in Blender is still totally insufficient...

------------------------------------------------------------------------
r3514 | ton | 2004-11-24 13:11:06 +0100 (Wed, 24 Nov 2004) | 5 lines

Uncommit changes for "bind_textdomain_codeset". Apparently windows gettext
doesn't have this function, needs to be updated in lib/ dir.

We also dont have official maintainer for internationalization...

------------------------------------------------------------------------
r3513 | hos | 2004-11-24 00:04:30 +0100 (Wed, 24 Nov 2004) | 4 lines

Making the C++ stuff work for the MipsPro 7.3 compiler.
Kester might want to check this for correctness
Kent might want to test if this breaks the Sun compile.

------------------------------------------------------------------------
r3512 | bjornmose | 2004-11-23 23:29:17 +0100 (Tue, 23 Nov 2004) | 3 lines

make mscv6 usrers happy
does not matter since *offical* wibdows release is msvc7 anyway

------------------------------------------------------------------------
r3511 | ton | 2004-11-23 13:19:18 +0100 (Tue, 23 Nov 2004) | 12 lines

Patch provided by Yann Vernier

This patch should make gettext return unicode, which is what freetype
expects (also explicitly set in the same file). It makes translations
that support non-ascii *and* non-unicode encodings, such as latin 1 for
western european languages, draw correctly. The problem only occurs for
platforms where those encodings are default, i.e. in Linux if
/etc/locale.gen looks like this:
sv_SE ISO-8859-15
If it were to read UTF-8 this patch doesn't change the behaviour at all.
This is probably the case for Mac OS X and perhaps Windows.

------------------------------------------------------------------------
r3510 | kester | 2004-11-23 11:10:21 +0100 (Tue, 23 Nov 2004) | 4 lines

Fix for bug 1800: mouse over sensor doesn't work for ortho cameras.

The camera -> world transform wasn't being calculated properly for 'ortho' cameras: getOrigin()[2] should be scaled by 100 (like the render transform in KX_KetsjiEngine)

------------------------------------------------------------------------
r3509 | eeshlo | 2004-11-23 07:10:03 +0100 (Tue, 23 Nov 2004) | 8 lines

Possibly related to bug #1851:
orco coordinates were assumed to be valid when pointers were non-null,
this seems to have been a wrong assumption, pointers were probably unitialized
(but only for some objects like surfaces?), so when the export code tried to
access them, it crashed.
Now the rendermaterial texco flag is tested instead, which probably is how
it should have been done in the first place...

------------------------------------------------------------------------
r3508 | ton | 2004-11-22 23:41:07 +0100 (Mon, 22 Nov 2004) | 11 lines

Fix for #1839

On large changes of the Lattice resolution button, the undopush crashed.
Reason was that the push happened for buttons before the actual event for
buttons was executed.
Solved by creating new event UNDOPUSH that's being added to the queue by
by buttons now.

- Made button undo texts for number buttons more clear
- Added undo push for missing Add lamp/empty/lattice/camera

------------------------------------------------------------------------
r3507 | ton | 2004-11-22 22:22:09 +0100 (Mon, 22 Nov 2004) | 3 lines

Potential fix for Sun glCopyPixels problem.
It's an ifdef, copying pixels with offset of 1 pixel.

------------------------------------------------------------------------
r3506 | ton | 2004-11-22 19:13:56 +0100 (Mon, 22 Nov 2004) | 6 lines

Bugfix on irc report;

Static-animated particles didn't recalculate on render
when used for duplicators (did work for halos). Allows material/texture ipo
for animated motion.

------------------------------------------------------------------------
r3505 | ton | 2004-11-22 17:20:29 +0100 (Mon, 22 Nov 2004) | 3 lines

Oops, just a little initialize too much :)
Previous commit caused vertex color not to work.

------------------------------------------------------------------------
r3504 | ton | 2004-11-22 16:32:57 +0100 (Mon, 22 Nov 2004) | 4 lines

Three cases of unitialized variables found.
Hopefully it fixes the black scanlines error, as reported in #1842, but
need MSVC compiler to test it. ;)

------------------------------------------------------------------------
r3503 | kester | 2004-11-22 12:49:35 +0100 (Mon, 22 Nov 2004) | 2 lines

Fix for bug 1600: alpha sort doesn't work on linked (alt-d) objects

------------------------------------------------------------------------
r3502 | ton | 2004-11-22 12:48:51 +0100 (Mon, 22 Nov 2004) | 6 lines

Bug fix, irc report.

Move to layer buttons, using SHIFT+hotkeys to set button values and use
mouse to press OK undid the last change, this due to active flag hanging
on that button. It now clears hotkey active flags on mouseclick first.

------------------------------------------------------------------------
r3501 | kester | 2004-11-22 11:19:19 +0100 (Mon, 22 Nov 2004) | 3 lines

Fix for bugs: 1788 (forces) and 1799 (python delattr on game objects)
Use Polytope collision for faster mesh intersection tests, so SOLID can actually use that qhull lib now.

------------------------------------------------------------------------
r3500 | kester | 2004-11-22 11:09:08 +0100 (Mon, 22 Nov 2004) | 2 lines

Fix stereo window creation

------------------------------------------------------------------------
r3499 | ton | 2004-11-21 23:37:06 +0100 (Sun, 21 Nov 2004) | 5 lines

Bug fix #1838

AO option "Use sky" or "Use tex" now also take option "Use distances" into
account, so you can control shades of AO better then.

------------------------------------------------------------------------
r3498 | ton | 2004-11-21 15:39:20 +0100 (Sun, 21 Nov 2004) | 2 lines

Disabled B-B to goto circle selecting on armature edit mode.

------------------------------------------------------------------------
r3497 | ton | 2004-11-21 14:25:54 +0100 (Sun, 21 Nov 2004) | 11 lines

Bug #1865

On appending in posemoding, Blender could crash.
Found out the new 'select appended' also sets the 'active base/object'.
This isn't OK on that level of the code, 'active' exists (and needs to be
set) on UI code level in src/, not in the middle of file reading function.

Also removed weird negative bitflag that enforced 'select appended' to
be default. If you want that, set the flag itself in do_versions or so.
In my opinion it is best saved in .B.blend instead. Another time...

------------------------------------------------------------------------
r3496 | ton | 2004-11-21 13:23:21 +0100 (Sun, 21 Nov 2004) | 5 lines

Fix for #1864

In transform code the old global G.totvertsel was still used to define
centroid (editmesh). Replaced with nice local variable.

------------------------------------------------------------------------
r3495 | ton | 2004-11-21 12:44:50 +0100 (Sun, 21 Nov 2004) | 6 lines

Bug fix #1859

Appending or Linking data from other file always cleared scene scriptlinks,
due to having 1 line of code just on wrong location... is bug since 2.25,
so finally something again I didn't recently break in working code :)

------------------------------------------------------------------------
r3494 | ton | 2004-11-21 11:42:42 +0100 (Sun, 21 Nov 2004) | 5 lines

Fix for strange (showed in windows only) error that delivered flat curve
deforms by default. Proved to be a [3] array passed on to function needing
[4] array. Bad bad...
Thanks Ole for finding it! :)

------------------------------------------------------------------------
r3493 | jiri | 2004-11-20 12:59:44 +0100 (Sat, 20 Nov 2004) | 8 lines



- bug fix #1843

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

  function find_basis_mball() sometimes returned duplicated MetaBall as basis mball, which caused crash of Blender. It happened only when basis MBall object was used for duplication. It was propably caused by some changes in duplicator code.

------------------------------------------------------------------------
r3492 | ton | 2004-11-19 23:44:06 +0100 (Fri, 19 Nov 2004) | 10 lines

Bugreports keep coming in... including real bad one.

- Deformed mesh didnt give correct 'orco' anymore on render
- Mesh editmode, "Separate loose parts", crash on empty mesh (no verts)
- Global undo; buttons sending redraw events gave extra undo push called
  "Make single user or local". That latter was wrong event handling for
  REDRAW event, harmless, until now :)

First one is a real showstopper... bah!

------------------------------------------------------------------------
r3490 | larstiq | 2004-11-18 16:39:05 +0100 (Thu, 18 Nov 2004) | 2 lines

bump version to 2.35a for scons

------------------------------------------------------------------------
r3489 | ton | 2004-11-18 16:16:02 +0100 (Thu, 18 Nov 2004) | 3 lines

Upped version for "make release" to 2.35a
Added release log text file

------------------------------------------------------------------------
r3488 | ton | 2004-11-18 15:35:29 +0100 (Thu, 18 Nov 2004) | 4 lines

Fix for bug #forgot

Edge rotate tool didn't copy face material and smoothing flags.

------------------------------------------------------------------------
r3487 | ton | 2004-11-18 15:34:30 +0100 (Thu, 18 Nov 2004) | 3 lines

Made view3d "home" and "local view" and "zoom to selection" (dot key) doing
all the same. The latter two didnt take aspect ratio of windows into account

------------------------------------------------------------------------
r3486 | ton | 2004-11-18 15:32:06 +0100 (Thu, 18 Nov 2004) | 5 lines

Bug fix #1833

Switching to oops from outliner didn't call a view2d checking, needed because
oops uses different matrix methods than outliner.

------------------------------------------------------------------------
r3485 | ton | 2004-11-18 14:58:37 +0100 (Thu, 18 Nov 2004) | 9 lines

Bug fix for #1835

Found out the conversion functions for indices <-> framebuffer only went
up to 18 bits, making selection in zbuffer-select (or vpaint/faceselect
even) not work on large datasets. Provided you have 24 bits display, of
course.

This limit was just dangling in the code since long ago... modern times eh!

------------------------------------------------------------------------
r3484 | eeshlo | 2004-11-18 06:22:18 +0100 (Thu, 18 Nov 2004) | 8 lines

In plugin mode, blender's zbuffer will now also be filled, so it can be used
with the zblur plugin for faster dof (or other seq.plugins that need the
zbuffer).
I don't think the conversion to a blender zbuffer value is quite correct,
but at least it does produce usable results for zblur without too much
differences with the blender render (at least not for the short tests that I
could do in this short time...)

------------------------------------------------------------------------
r3483 | eeshlo | 2004-11-18 02:50:09 +0100 (Thu, 18 Nov 2004) | 3 lines

Material TexFace mode support was still not quite correct, didn't work for
objects that used faces having same image but not the same material.

------------------------------------------------------------------------
r3482 | ton | 2004-11-17 18:15:36 +0100 (Wed, 17 Nov 2004) | 8 lines

Three bugfixes from tracker;

- Nurbs objects didnt render ray-transp. Was caused by 1) wrong normal calc
  and 2) quads with vertices on same locations. Solved it with nice code that
  checks illegal quads and turns them into triangles
- Made 'physics engine' variable SUMO default
- Typo in toolbox fix; cyclic isn't F but C

------------------------------------------------------------------------
r3481 | ton | 2004-11-17 11:42:36 +0100 (Wed, 17 Nov 2004) | 2 lines

Committed the 2.35 splash, just for pleasure. ;)

------------------------------------------------------------------------
r3480 | ton | 2004-11-16 16:08:42 +0100 (Tue, 16 Nov 2004) | 8 lines

Three bugfixes, as reported on release;

- loopselect doesnt work proper with vertices outside window
- outliner crash on script select (potential showstopper...)
- make curve parent menu, press ESC, crashed blender

All minimal changes in code. no new development, promised!

------------------------------------------------------------------------
r3479 | jesterking | 2004-11-14 21:37:32 +0100 (Sun, 14 Nov 2004) | 2 lines

Buildinfo would give player instead of dynamic

------------------------------------------------------------------------
r3478 | jesterking | 2004-11-14 21:31:32 +0100 (Sun, 14 Nov 2004) | 2 lines

bump version to 2.35 for scons

------------------------------------------------------------------------
r3477 | ton | 2004-11-14 20:02:23 +0100 (Sun, 14 Nov 2004) | 2 lines

New release text file

------------------------------------------------------------------------
r3476 | ton | 2004-11-14 18:45:51 +0100 (Sun, 14 Nov 2004) | 2 lines

Splash size reduced with real jpg (previous was tga)

------------------------------------------------------------------------
r3474 | ton | 2004-11-14 18:16:54 +0100 (Sun, 14 Nov 2004) | 3 lines

- 2.35 splash
- Version code set to 2.35

------------------------------------------------------------------------
r3473 | ton | 2004-11-14 18:15:36 +0100 (Sun, 14 Nov 2004) | 2 lines

Upped version to 235

------------------------------------------------------------------------
r3472 | ton | 2004-11-14 17:19:34 +0100 (Sun, 14 Nov 2004) | 5 lines

Bugfix #1796

On undo (CTRL+Z) the flag 'save_over' was set, which caused the F2 and
CTRL+S save to not show "untitled.blend" but last saved file

------------------------------------------------------------------------
r3471 | ton | 2004-11-14 17:06:24 +0100 (Sun, 14 Nov 2004) | 3 lines

Localview fix of 2 hours ago created dependency with bad level calls...
removed calling function from src/ and added the few lines in readfile.c

------------------------------------------------------------------------
r3470 | stiv | 2004-11-14 16:27:47 +0100 (Sun, 14 Nov 2004) | 4 lines

add some notes about methods interoperating in the TODO list.

no changes to executable stuff.

------------------------------------------------------------------------
r3469 | broken | 2004-11-14 15:38:56 +0100 (Sun, 14 Nov 2004) | 2 lines

New outliner icon

------------------------------------------------------------------------
r3468 | lukep | 2004-11-14 15:38:03 +0100 (Sun, 14 Nov 2004) | 3 lines

more conservative default build options for OS X
O3 works thought on my system, but should not be set on reference releases

------------------------------------------------------------------------
r3467 | lukep | 2004-11-14 15:34:44 +0100 (Sun, 14 Nov 2004) | 2 lines

corrected typo

------------------------------------------------------------------------
r3466 | ton | 2004-11-14 14:58:38 +0100 (Sun, 14 Nov 2004) | 2 lines

Updated INSTALL for makefiles and OSX

------------------------------------------------------------------------
r3465 | ton | 2004-11-14 14:50:17 +0100 (Sun, 14 Nov 2004) | 2 lines

Latest icon buttons image

------------------------------------------------------------------------
r3464 | ton | 2004-11-14 14:44:47 +0100 (Sun, 14 Nov 2004) | 6 lines

Update make system for darwin;

- using python framework (default on, set it off with define in
  definitions.mk)
- not installing .bfont.tff

------------------------------------------------------------------------
r3463 | ton | 2004-11-14 14:38:21 +0100 (Sun, 14 Nov 2004) | 3 lines

- Added tooltips for Curve and MBall edit buttons
- added undo-push for CTRL+click add vertex Mesh editmode

------------------------------------------------------------------------
r3462 | broken | 2004-11-14 14:37:29 +0100 (Sun, 14 Nov 2004) | 4 lines

Added missing items & hotkeys to menus in Outliner and Text Editor.
Also moved the new text formatting stuff to a 'Format' menu since
'Select' should contain selection tools only.

------------------------------------------------------------------------
r3461 | broken | 2004-11-14 14:35:57 +0100 (Sun, 14 Nov 2004) | 3 lines

Since the outliner is now the default (rather than the OOPS
Schematic), we now call it 'Outliner' in the menu.

------------------------------------------------------------------------
r3460 | ton | 2004-11-14 13:56:56 +0100 (Sun, 14 Nov 2004) | 6 lines

Bugfix in undo:
localview got stuck after an Undo command, it now restores to normal view
when no localviewed objects are there.

Please note again; localview is UI, so actually not saved in the undo...

------------------------------------------------------------------------
r3459 | eeshlo | 2004-11-14 05:30:28 +0100 (Sun, 14 Nov 2004) | 4 lines

Minor modification of image texture export of 'TexFace' mode materials
which could have become a possible problem in the future.
Refinement button alignement in GI panel.

------------------------------------------------------------------------
r3458 | hos | 2004-11-14 02:03:01 +0100 (Sun, 14 Nov 2004) | 3 lines

There were some variables that should have been declared extern,
but weren't ... no more bus error when exiting on irix!

------------------------------------------------------------------------
r3457 | ton | 2004-11-13 19:30:07 +0100 (Sat, 13 Nov 2004) | 11 lines

Fix for bug #1791

- onlyshadow material defaulted to black when no shadow calc was used, is
  now 100% transparent
- AO 'shadows' were not included in onlyshadow material
- alpha render appeared to be wrong since 2.32... it was gamma corrected
  giving difference in OSA render with 'Gamma' on

That alpha issue i am going to tackle once, it is not well functioning, and
might be combined with new 'transmission' colors idea

------------------------------------------------------------------------
r3456 | ton | 2004-11-13 14:54:37 +0100 (Sat, 13 Nov 2004) | 6 lines

Two bugfixes, thanks to release candidate tests;

- 1768: edge rotate lacked remaking displaylists
- 1790: outliner crash on delete objects in certain situations, added more
        strict pointer check

------------------------------------------------------------------------
r3455 | ton | 2004-11-13 13:55:59 +0100 (Sat, 13 Nov 2004) | 7 lines

Fixed showstopper (thnx intrr!) bug in sequencer + global undo.
This was actually a wrong pointer check in fileread that caused no harm
in past, but with UI-less file save it wreaked havoc!

Decided to add undo in sequencer window after all... it also involved
saving Meta strip settings in files. Very nice :)

------------------------------------------------------------------------
r3454 | bjornmose | 2004-11-13 01:24:39 +0100 (Sat, 13 Nov 2004) | 3 lines

User Preferences Header got scrambled on OGL anim render
turned off *render statistics* in header for OGL render

------------------------------------------------------------------------
r3453 | bjornmose | 2004-11-13 01:12:02 +0100 (Sat, 13 Nov 2004) | 4 lines

bug #1698
in mywindow_build_and_set_renderwin(...
curswin= 2; was assigned too late

------------------------------------------------------------------------
r3452 | ton | 2004-11-12 23:16:23 +0100 (Fri, 12 Nov 2004) | 4 lines

- Disabled printf for undo (still works in debug mode blender -d)
- Made global undo to set default on 'old' files (2.34 too, so wait
  with saving a .B.blend without glob undo until release is 2.35)

------------------------------------------------------------------------
r3451 | ton | 2004-11-12 21:31:34 +0100 (Fri, 12 Nov 2004) | 2 lines

Small fix for deform lag in deforming curves on animted objects.

------------------------------------------------------------------------
r3450 | sirdude | 2004-11-12 18:50:11 +0100 (Fri, 12 Nov 2004) | 9 lines



I added a couple of button type defines for qwe.

We should probably add some more there are a lot missing but I'll
save that for after release.

Kent

------------------------------------------------------------------------
r3449 | sirdude | 2004-11-12 18:35:10 +0100 (Fri, 12 Nov 2004) | 10 lines


FTGL on my system put the includes in /usr/local/include/FTGL
while its setup to look in $(NAN_FTGL)/include
I added $(NAN_FTGL)/include/FTGL

I've had the mod lying around forever and just never bothered to commit
it but I'm sick of looking at the modified file in cvs update ;)

Kent

------------------------------------------------------------------------
r3448 | sirdude | 2004-11-12 17:28:34 +0100 (Fri, 12 Nov 2004) | 6 lines



I reworded some of the scons tips...

Kent

------------------------------------------------------------------------
r3447 | blendix | 2004-11-12 16:30:37 +0100 (Fri, 12 Nov 2004) | 4 lines


Headerprint for extrude along face normal was sometimes wrong, because of
invalid pointer.

------------------------------------------------------------------------
r3446 | jiri | 2004-11-12 12:35:55 +0100 (Fri, 12 Nov 2004) | 6 lines



- bug fix: Flip normal works corectly in edge/face select mode now

  bug reported by Campbell Barton, thanks Cam

------------------------------------------------------------------------
r3445 | ton | 2004-11-12 00:58:05 +0100 (Fri, 12 Nov 2004) | 5 lines

Cosmetic change; nice Icon for Python! :)
Used the one from python.org (favicon).

It displays now as icon for pulldown menus and script space.

------------------------------------------------------------------------
r3444 | ton | 2004-11-12 00:56:56 +0100 (Fri, 12 Nov 2004) | 5 lines

Fix for error found by aphex;

Some extrusions still use proportional mode when thats on. Was due to
adding transfrom('g') for non-normal extrude. Made it new code 'h'

------------------------------------------------------------------------
r3443 | ton | 2004-11-12 00:55:16 +0100 (Fri, 12 Nov 2004) | 5 lines

Bugfix 1781

Small draw error in camera objects from camera view (one from 1995 or so!)
Camera size depended on clipsta...

------------------------------------------------------------------------
r3442 | aphex | 2004-11-11 21:24:43 +0100 (Thu, 11 Nov 2004) | 4 lines

Fix for #1777:

  -  Flagged screens as 'dirty' to be redrawn at next swapbuffers.

------------------------------------------------------------------------
r3441 | ianwill | 2004-11-11 18:59:36 +0100 (Thu, 11 Nov 2004) | 4 lines

BPython:
- Stephan Gartner reported a crash with Scripts Help Browser script found while porting blender to Linux/x86_64, related to bugs in Blender.Window.Theme module:
    two object types were being defined with wrong sizes.  My mistake, when I wrote that code I copied/pasted those portions around and didn't check properly.  Should be fixed now.  Thanks Stephan.

------------------------------------------------------------------------
r3440 | ton | 2004-11-11 17:00:43 +0100 (Thu, 11 Nov 2004) | 3 lines

Tsk tsk! Using a short to count vertices amount in Mirror menu doesnt
work when there are a lot, eh :)

------------------------------------------------------------------------
r3439 | sirdude | 2004-11-11 16:58:24 +0100 (Thu, 11 Nov 2004) | 9 lines



Added a header to get rid of this:
editmesh_loop.c:305: warning: implicit declaration of function `backdrawview3d'

I also removed the config.h stuff from this file, since were not using autoconf

Kent

------------------------------------------------------------------------
r3438 | ton | 2004-11-11 16:31:44 +0100 (Thu, 11 Nov 2004) | 15 lines

1) Bug fix 1776

Lattices seem to have deform lag, when they're animated with Ipos.
Found out this behaviour is already from before 2.25... solved with
removing a where_is_object() from deform code, but dont fully grasp
why.
Tested with good demo file, with motion blur too.

2) No functional changes, just made 2 files compile without warnings;

- added extra ifdefs __NLA_BLENDCON for unused calls
- removed zealot 'const' from function protos and variables, these cannot
  work there, and hence gave warnings
- added void pointer casts for array conversions in matrix code

------------------------------------------------------------------------
r3437 | ton | 2004-11-11 14:47:06 +0100 (Thu, 11 Nov 2004) | 2 lines

Added winstuff.h for M_PI_2 define!

------------------------------------------------------------------------
r3436 | ton | 2004-11-11 14:17:32 +0100 (Thu, 11 Nov 2004) | 18 lines

Fix for bug #1756

This was caused by a very primitive method of interpolating quaternions.
It was converting quats to mat and back to quat, and then just doing
a linear interpolation. That whilst quaternions are renowned for having
good interpolation possible.

I've experimented with 2 quaternion interpolation methods, and can only
get one to work correctly... the "official" version from Watt brothers
I can't get working, both are in arithb.c now.

Will arrange *close* review with experienced NLAers for it! But testing
here gives fully predictable results.

Also changed;
- added pointer check in drawaction
- changed puldown menu for correct hotkeys for move NLA strips up/down

------------------------------------------------------------------------
r3435 | theeth | 2004-11-10 22:27:54 +0100 (Wed, 10 Nov 2004) | 7 lines

Proper fix for Ton's commit.

Original commit message:
"Cosmetic change (after bugreport), scaling in axis (press X,Y,Z) now prints in header "local" too, this to indicate it only does local scales."

The solution was half good, since only object mode is restricted to local axis constraints. Fixed by checking for the Local flag (which was properly set).

------------------------------------------------------------------------
r3434 | ton | 2004-11-10 19:36:50 +0100 (Wed, 10 Nov 2004) | 6 lines

Added undo pushes for;

- NLA window
- Action Window
- all databrowse buttons (assign, unlink, single user)

------------------------------------------------------------------------
r3433 | ton | 2004-11-10 17:23:05 +0100 (Wed, 10 Nov 2004) | 6 lines

Cosmetic change (after bugreport), scaling in axis (press X,Y,Z) now prints
in header "local" too, this to indicate it only does local scales.

In editmesh: added NULL pointer in return of function to prevent crash
on error "give quad verts"

------------------------------------------------------------------------
r3432 | ton | 2004-11-10 16:55:07 +0100 (Wed, 10 Nov 2004) | 2 lines

Wrong vector math for hooks with falloff... now its OK!

------------------------------------------------------------------------
r3431 | ton | 2004-11-10 16:04:13 +0100 (Wed, 10 Nov 2004) | 3 lines

GamePlayer seems to be forced to quit pressing "end key".
The code to check for it was very weak... causing apple key to quit it too.

------------------------------------------------------------------------
r3430 | jiri | 2004-11-10 14:20:13 +0100 (Wed, 10 Nov 2004) | 9 lines



- fix for bug #1577
  MetaElems aren't truncated. It was caused by bad filling of octal tree.

- bug fix: when non basis mball is in edit mode, then it is polygonised again.

- bug fix: fixed some other unexpected disappearing of MetaBalls caused by bad filling of octal tree.

------------------------------------------------------------------------
r3429 | ton | 2004-11-10 12:14:11 +0100 (Wed, 10 Nov 2004) | 12 lines

1) Fix for bugs #1735 #1759

Rotate edges was unfinished still, and not supposed to work on large
selections. Code cleaned up some, and restricted to work on a single
selected edge, or two adjacent selected faces.
Also changed menu description, and give error() on wrong selection.

2) Fix for undo mixup in texteditor
Global hotkey list now passes on ctrl+z (global undo) to local queue
in textwindow. (Also for ctrl+y). Scriptwindow also doesn't accept
global undo key.

------------------------------------------------------------------------
r3428 | ton | 2004-11-10 00:05:06 +0100 (Wed, 10 Nov 2004) | 7 lines

More small changes;

- Added "Add Hook" menu in mesh editmode pulldown (Vertices) and toolbox
- Small tweak in editmode undo, tighten rules for what to do inbetween
  editmode sessions. (use same stack when object names identical)
- Added correct redraw events for CTRL+C CTRL+V (r g b sliders for example)

------------------------------------------------------------------------
r3427 | theeth | 2004-11-09 23:47:47 +0100 (Tue, 09 Nov 2004) | 4 lines

Made numerical input work for extrude along normals (Bug #1762)

Gosh, I hate working with the old transform (of course, all those hackish fix are not making it any better, mind you).

------------------------------------------------------------------------
r3426 | ton | 2004-11-09 16:59:15 +0100 (Tue, 09 Nov 2004) | 6 lines

Cosmetic stuff;

- pulldown button for textwindow header OK
- color picker had no correct border around it
- border around 'game framing' and 'edge settings' smaller now

------------------------------------------------------------------------
r3425 | ianwill | 2004-11-09 15:07:25 +0100 (Tue, 09 Nov 2004) | 9 lines

BPython:
- Small doc update in a script;
- Fixed bug #1742:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1742&group_id=9

It was an internal error in bpython.  I was using G.main->script.last to find the currently running (if any) script, but this isn't reliable, we must check each open script to find out if one of them has the SCRIPT_RUNNING bitflag set.

Thanks intrr for reporting and blendix for pointing how to reproduce the bug.  From my tests it should be working fine now.

------------------------------------------------------------------------
r3424 | ton | 2004-11-09 13:16:00 +0100 (Tue, 09 Nov 2004) | 2 lines

Forgot that me->mface is void pointer (bad!)... fix found by Nathan. thnx!

------------------------------------------------------------------------
r3423 | ton | 2004-11-09 12:06:56 +0100 (Tue, 09 Nov 2004) | 6 lines

Bug fix #1758

Using ImageSelect window for background pic in 3d window, assigned it to
wrong window... this because the image-select window wasn't pushed before
it used the callback to set the image.

------------------------------------------------------------------------
r3422 | jesterking | 2004-11-09 09:46:19 +0100 (Tue, 09 Nov 2004) | 2 lines

update msvc7 projectfile for bfont.ttf.c

------------------------------------------------------------------------
r3421 | ton | 2004-11-09 00:31:01 +0100 (Tue, 09 Nov 2004) | 7 lines

- Bug located in outliner (missing break) by sgefant, thnx!
- On click on camera object in outliner, world buttons didnt display always

Plus; commented out the calls to select items with rightmouse. This is too
much WIP for official release, too much not working, and Matt prefers time
to further work on it as well.

------------------------------------------------------------------------
r3420 | ton | 2004-11-08 23:25:34 +0100 (Mon, 08 Nov 2004) | 4 lines

Fix for #1749

In solid drawmode, objects with wires didn't show nor were selectable

------------------------------------------------------------------------
r3419 | bjornmose | 2004-11-08 23:14:47 +0100 (Mon, 08 Nov 2004) | 3 lines

Msvc6 complies again with
bfont.ttf.c :)

------------------------------------------------------------------------
r3418 | ton | 2004-11-08 23:10:20 +0100 (Mon, 08 Nov 2004) | 10 lines

Sorry sorry... new feature while in freeze mode, bad bad bad!
But this was promised on conference, and have to keep that promise. :)

Buttons in Blender now allow copy/paste values and strings. Also works
for object names!
Mouse over button and press CTRL+C or CTRL+V for copy/paste
(Macs can do Apple key)

Plus bugfix: name button for object in Nkey panel didn't check name

------------------------------------------------------------------------
r3417 | ton | 2004-11-08 20:58:04 +0100 (Mon, 08 Nov 2004) | 6 lines

Nmesh module isn't edges aware yet; but can cause crashes replacing
existing ones that use edges (like when creases or fgons in use).

Added proper free and NULL for it to prevent crashing, rest is for py
team after release ;)

------------------------------------------------------------------------
r3416 | ton | 2004-11-08 20:20:59 +0100 (Mon, 08 Nov 2004) | 3 lines

Removed silly "==0" to check if "apply deform" should happen.
I'm just binary flipped...

------------------------------------------------------------------------
r3415 | ton | 2004-11-08 19:39:09 +0100 (Mon, 08 Nov 2004) | 7 lines

Three cosmetic fixes;

- Mesh editmode, draw 'bleeding edges' works again for subsurf (not optimal)
- New draw method (again!) for armature-add-bone loop. Should work now! Is
  also nice for cpu this version
- Draw screen edges (black lines inbetween windows) should not draw leftmost

------------------------------------------------------------------------
r3414 | ton | 2004-11-08 18:09:16 +0100 (Mon, 08 Nov 2004) | 2 lines

Casting added for unsigned/signed char weirdness in ftgl...

------------------------------------------------------------------------
r3413 | ton | 2004-11-08 17:23:46 +0100 (Mon, 08 Nov 2004) | 3 lines

Added update for picker fields themselves, when click in 'swatches'
(palette)

------------------------------------------------------------------------
r3412 | ton | 2004-11-08 16:46:57 +0100 (Mon, 08 Nov 2004) | 14 lines

To end the issues with AA (International) Fonts; the .bfont.tff now is
compiled in (datatoc) and doesn't need installation anymore.

Also reviewed weird path conventions for searching AA fonts;

- U.fontdir is only used as standard search path for fileselecting
- U.fontname stores only full path to AA font if used one
- If a font cannot be found, it always falls back to the compiled in one
- If .B.blend is saved with default font, U.fontname is not set

Also added a button in usermenu "restore default".

When this works as expected, I'll commit changes for installation too.

------------------------------------------------------------------------
r3411 | kester | 2004-11-08 12:30:41 +0100 (Mon, 08 Nov 2004) | 2 lines

Fix for MSVC (thanks Simon)

------------------------------------------------------------------------
r3410 | ton | 2004-11-08 12:15:31 +0100 (Mon, 08 Nov 2004) | 2 lines

Typo in path searching for ttf fonts... needed a trailing "/"

------------------------------------------------------------------------
r3409 | eeshlo | 2004-11-08 04:55:44 +0100 (Mon, 08 Nov 2004) | 32 lines

Fixed:
Texture matrix bug in plugin code reported by Mel_Q.
Vertex colors, this was basically the same as the previous uv coord
splitting bug, for xml export, uv coord splitting was actually not quite
complete either (reported by richie).

Added:
Camera Ipo curves for DoF aperture and focal distance.

Aspect ratio set with AspX & AspY are now taken into account as well.
(needs yafray from cvs)

Bokeh parameters for DoF (also needs yafray from cvs).
'Bokeh' controls the shape of out of focus points when rendering
with depth of field enabled.
This is mostly visible on very out of focus highlights in the image.
There are currently seven types to choose from.:
'Disk1' is the default, the same as was used before.
'Disk2' is similar, but allows you to modify the shape further with the 'bias'
parameter, see below.
Triangle/Square/Pentagon/Hexagon, in addition to the bias control, you can
offset the rotation with the 'Rotation' parameter (in degrees).
'Ring', a weird ring shaped lens, no additional controls.
The 'bias' menu controls accentuation of the shape.
Three types available, uniform, center or edge, with uniform the default.

Although based on an actual phenomenon of real camera's, the current
code is bit of a hack and not physically based, and doesn't work all that
well yet (in yafray anyway). Since this is also mostly visible in the very
out of focus parts of the image, it usually also means that you need lots
of samples to get a reasonably smooth result.

------------------------------------------------------------------------
r3408 | lukep | 2004-11-07 23:21:47 +0100 (Sun, 07 Nov 2004) | 3 lines

skip process serial number argument on os X
needed when starting player via drag & drop

------------------------------------------------------------------------
r3407 | lukep | 2004-11-07 22:55:13 +0100 (Sun, 07 Nov 2004) | 2 lines

dont start maximised for small comps with 16 Mo VRAM.

------------------------------------------------------------------------
r3406 | lukep | 2004-11-07 22:34:17 +0100 (Sun, 07 Nov 2004) | 3 lines

added correct new defaults for building solid.
We used previously the precompiled lib

------------------------------------------------------------------------
r3405 | ton | 2004-11-07 22:14:21 +0100 (Sun, 07 Nov 2004) | 2 lines

Undo for lattice editmode added.

------------------------------------------------------------------------
r3403 | ton | 2004-11-07 21:15:16 +0100 (Sun, 07 Nov 2004) | 2 lines

Forgot to add correct changed force_draw_all in stubs.c

------------------------------------------------------------------------
r3402 | ton | 2004-11-07 21:11:42 +0100 (Sun, 07 Nov 2004) | 6 lines

More undo goodies;

- Undo for editmode Font object
- Undo for posemode :)
  (btw; it also means posemode remains active on file load)

------------------------------------------------------------------------
r3401 | ton | 2004-11-07 19:20:44 +0100 (Sun, 07 Nov 2004) | 3 lines

Tweaked the force_draw() calls, to allow headerprint() to work while
doing a transform. Solves bug reported by Brecht about this.

------------------------------------------------------------------------
r3399 | theeth | 2004-11-07 19:03:18 +0100 (Sun, 07 Nov 2004) | 2 lines

Some additions to the docs for my scripts.

------------------------------------------------------------------------
r3398 | stiv | 2004-11-07 18:28:15 +0100 (Sun, 07 Nov 2004) | 3 lines

less scary 'python not found' msg was too warm and fuzzy.
now msg is less less scary and invisible if python is available.

------------------------------------------------------------------------
r3397 | ton | 2004-11-07 17:49:46 +0100 (Sun, 07 Nov 2004) | 8 lines

Lotsa undo stuff added;

- ALT+U undo menu shows history for global undo as well
- Added undo pushes for buttons window more consistantly
- Added it & tested for ipowindow too
- Added it in outliner
- And quite some missing occasions for 3d window editing

------------------------------------------------------------------------
r3396 | ianwill | 2004-11-07 17:31:13 +0100 (Sun, 07 Nov 2004) | 6 lines

Scripts:
-- adding help_browser.py to show help for installed scripts;
-- updated scripts to include basic doc info to be shown with above script:
    script authors can / will / should update with more info, of course;
-- updated some scripts to newer versions: disp_paint, fixfromarmature, hotkeys, etc.

------------------------------------------------------------------------
r3395 | bjornmose | 2004-11-07 17:30:19 +0100 (Sun, 07 Nov 2004) | 3 lines

fix bug #1546
ghost was unaware of extra *<>* key on german keyboards on windows

------------------------------------------------------------------------
r3394 | ianwill | 2004-11-07 16:05:35 +0100 (Sun, 07 Nov 2004) | 6 lines

Fixes in bpython:
-- Alexander Szakaly reported and provided a patch for Material.c and NMesh.c to solve crash in material handling when there's no material.
-- Ton reported a crash with advancing a frame after creating a new script link.  I couldn't reproduce the crash, but added a check in BPY_do_pyscript to make sure the passed ID pointer is valid.

Thanks both.

------------------------------------------------------------------------
r3393 | jandro | 2004-11-07 14:22:20 +0100 (Sun, 07 Nov 2004) | 3 lines

Fixed execution bit test for yafray plugin loading under unix.
Now, it just tests for read permissions.

------------------------------------------------------------------------
r3392 | blendix | 2004-11-07 14:15:04 +0100 (Sun, 07 Nov 2004) | 3 lines


Added some missing undo pushes for the UV editor and UV Face Select Mode.

------------------------------------------------------------------------
r3391 | ton | 2004-11-07 11:15:06 +0100 (Sun, 07 Nov 2004) | 2 lines

Global undo now saves/loads unused data as well.

------------------------------------------------------------------------
r3390 | ton | 2004-11-07 01:10:10 +0100 (Sun, 07 Nov 2004) | 3 lines

Found one other problem in convec() call... cannot use calcnormfloat4()
there, since the calcnormfloat of course requires a regular quad!

------------------------------------------------------------------------
r3389 | ton | 2004-11-07 00:22:06 +0100 (Sun, 07 Nov 2004) | 3 lines

Added undo in UV FaceSelect mode (3d window) and in UV Image window.
Brecht; can you give it a good test :)

------------------------------------------------------------------------
r3388 | ton | 2004-11-06 23:29:24 +0100 (Sat, 06 Nov 2004) | 3 lines

Fix, as reported by Martin; the 'make dupli real' code would also apply
size and rotation.

------------------------------------------------------------------------
r3387 | kester | 2004-11-06 23:10:58 +0100 (Sat, 06 Nov 2004) | 2 lines

Fix fixed time (enable all frames)

------------------------------------------------------------------------
r3386 | kester | 2004-11-06 23:10:47 +0100 (Sat, 06 Nov 2004) | 2 lines

Update Python reference version number

------------------------------------------------------------------------
r3385 | ton | 2004-11-06 22:59:35 +0100 (Sat, 06 Nov 2004) | 3 lines

- Pending Hook work; falloff value for soft hook deformation.
  Falloff= distance where influence becomes zero.

------------------------------------------------------------------------
r3384 | ton | 2004-11-06 15:59:28 +0100 (Sat, 06 Nov 2004) | 9 lines

Fix for bug #1487

On OSX, the SHIFT key release event got lost after a 'mouse pointer warp'.
Replaced the warp call in ghost, and updated the fly mode code to read
events better.

Nice positive side effect; using arrow keys to move while transform (e.g.
grab/rotate/scale) goes much much nicer now!

------------------------------------------------------------------------
r3383 | ton | 2004-11-06 15:52:25 +0100 (Sat, 06 Nov 2004) | 7 lines

Solved annoyance in OSX warp cursor. The former used CGPostMouseEvent call
behaves very unpredictable (ask google) and seems to clear pending events
as well (fly mode, shift event dissappears).

The now used call, CGWarpMouseCursorPosition, creates no event so it has
to be combined with updating mouse cursor location in ghostwinlay.c

------------------------------------------------------------------------
r3382 | kester | 2004-11-06 13:31:56 +0100 (Sat, 06 Nov 2004) | 2 lines

Reorder update: do physics before logic, so logic doesn't get stale position data (eg for camera actuator)

------------------------------------------------------------------------
r3381 | kester | 2004-11-06 05:58:10 +0100 (Sat, 06 Nov 2004) | 2 lines

Speed up the physics engine:  hook the SOLID broad phase, so we can either reject the test or request the penetration depth test as necessary.  Previously we were doing the penetration depth test, as well as SOLID's intersection test.

------------------------------------------------------------------------
r3380 | kester | 2004-11-06 05:56:05 +0100 (Sat, 06 Nov 2004) | 2 lines

Add new broad phase collision response to Solid: this will let us hook (and potentially reject) the detail phase.

------------------------------------------------------------------------
r3379 | kester | 2004-11-06 05:53:41 +0100 (Sat, 06 Nov 2004) | 2 lines

Fix the action actuator (bug #1699)

------------------------------------------------------------------------
r3378 | ton | 2004-11-05 18:18:17 +0100 (Fri, 05 Nov 2004) | 8 lines

Three minor fixes;

- themecolor for the 'bars' in NLA used signed char
- global undo, restore pointers for UI accidentally added user values for
  oops and outliner, causing unused blocks to show used
- moved popup menus one pix up or down, it was overlapping the button
  causing accidental selection of menus

------------------------------------------------------------------------
r3377 | ton | 2004-11-05 14:34:23 +0100 (Fri, 05 Nov 2004) | 2 lines

Inserted new convex method in beveling for editmesh too.

------------------------------------------------------------------------
r3376 | ton | 2004-11-05 13:58:12 +0100 (Fri, 05 Nov 2004) | 10 lines

Bug fix #1678

Deformed meshes (by armature for example) didn't get drawn correctly
for vertex paint, weightpaint, UV faceselect. Was OK in 2.34 :)

Additional to that I found out vertex paint doesn't correctly use the
'Area' option, when a mesh was deformed. That was an oldie.

Plus; made tooltips for 'Area' and 'Normals' in Paint Panel clear.

------------------------------------------------------------------------
r3375 | ton | 2004-11-05 11:19:13 +0100 (Fri, 05 Nov 2004) | 5 lines

Bug report #1732

Function "deselect vertex group" didn't use proper code for new edge/face
flags yet.

------------------------------------------------------------------------
r3374 | ton | 2004-11-04 21:00:57 +0100 (Thu, 04 Nov 2004) | 5 lines

- Added proper undopush for 'apply object'
- Added proper edgeflag test for knife
- Fixed error in 'make face' for cases I again didn't foresee (ordering
  of vertices can be any, need to try 3 cases before rejecting)

------------------------------------------------------------------------
r3373 | ton | 2004-11-04 16:35:24 +0100 (Thu, 04 Nov 2004) | 8 lines

- MBall displays smooth again in 3d win (coding nice smooth for curves
  borkened this... )

- Improved rule for adding face (FKEY); it now checks first for existance
  of 4 connected edges, if that exists a face is created anyway, otherwise
  it does the convex test. Alexander correctly noted that for subsurfs
  non-convex quads should be allowed anyway. Hope this rule satisfies it.

------------------------------------------------------------------------
r3372 | sgefant | 2004-11-03 15:45:52 +0100 (Wed, 03 Nov 2004) | 2 lines

build on Linux/x86_64

------------------------------------------------------------------------
r3371 | ton | 2004-11-03 12:25:27 +0100 (Wed, 03 Nov 2004) | 12 lines

Two fixes;

- The function "convex()" in editmesh_lib() actually did not deliver
a proper test for convex at all. It was checking only if a quad could
be subdivided into 2 trias. Code for adding face (FKEY) used this
call in total confusing manner. That code was there in 1.40 already,
cannot find any clue what it was supposed todo... :)
Recoded convex() to deliver a proper test. FKEY will give warning on
attempt to make convex faces now.

- Added undo-free for editmode undo on file load

------------------------------------------------------------------------
r3370 | kester | 2004-11-03 11:48:02 +0100 (Wed, 03 Nov 2004) | 2 lines

Fix IPO actuator (Bug #1694)

------------------------------------------------------------------------
r3369 | ton | 2004-11-02 23:51:09 +0100 (Tue, 02 Nov 2004) | 2 lines

Fix (thanks goran!) for stupid || and && mixup... causing dither to underflow

------------------------------------------------------------------------
r3368 | ton | 2004-11-02 16:58:36 +0100 (Tue, 02 Nov 2004) | 4 lines

Potential fix #2 for error in 'flashing UI' while adding Bones.
Also added redraw events for object buttons, to show constraints when
selecting bones

------------------------------------------------------------------------
r3367 | ianwill | 2004-11-02 06:13:52 +0100 (Tue, 02 Nov 2004) | 6 lines

BPython:
-- applied patch by Michael Reimpell that lets scripts registration info be either commented out or not (commented, it doesn't interfere with Python documentation tools.  The patch also fixes potential overflows, thanks (and sorry for the confusion) again, Michael.
-- fixed NMesh_hasFaceUV, it was returning true for false and vice-versa.  Reported by Jonas Petersen with patch, thanks.
-- added 'homedir' and 'uscriptsdir' to Blender.Get() to get Blender's home dir and the user defined scripts dir.
-- related to the above doc updates.

------------------------------------------------------------------------
r3366 | ton | 2004-11-01 22:17:42 +0100 (Mon, 01 Nov 2004) | 4 lines

Wavk report #1730

Mesh editmode, 'add face' didn't do an undopush

------------------------------------------------------------------------
r3365 | ton | 2004-11-01 21:50:42 +0100 (Mon, 01 Nov 2004) | 7 lines

- Added initialize to '4' for new tab variable in text window
  (prevents crash reported by sgefant!)
- Selection outline for Curve objects didnt draw right after leave
  editmode
- outliner now default when first viewing Oops window (dangerous?)
- Zoom with ctrl+middlemouse works in Oops again

------------------------------------------------------------------------
r3364 | ton | 2004-11-01 19:04:18 +0100 (Mon, 01 Nov 2004) | 4 lines

Small tweak in dithering; the noise varies around 0.0 now.
Value 'dithering' in buttons can go to '2', for extra noise. 1.0 defaults
to exact 1.0/256.0 noise.

------------------------------------------------------------------------
r3363 | ton | 2004-11-01 18:03:05 +0100 (Mon, 01 Nov 2004) | 11 lines

- Fix for #1726, the convex() function is smarter now, checking on valid
  trias to test in quad

PLus:

- Add undo-push after 'assign material' in curve editmode, plus redraw
  to reflect material change
- Added tooltips for opengl light buttons in user presets
- Added correct buttons window redraw for armature selecting in
  editmode

------------------------------------------------------------------------
r3362 | ton | 2004-11-01 16:21:50 +0100 (Mon, 01 Nov 2004) | 21 lines

Last new feature before release; patch provided by Goran Kocov.

In DisplayButtons, Panel "Output", a new slider "Dither" allows to add
random noise dither to rendered output. It works on sky as well as solid
and transparent. Note however that in OSA render, the Unified Render gives
much better results, since that render nicely delivers full scanlines of
high definition color. The old render mode isn't well suited for this
postprocess.

A dither value of '1.0' will exactly add maximum of 1.0/256.0 to the
pixels.

Potential improvements for next releases;
- regular patterns
- dither per color channel
- not only add, but also subtract dither

Also note that this gives best results for print work or stills. Animating it
gives slight visible noise. Also runlength compression wont really work, and
Jpeg needs to be given higher quality too.

------------------------------------------------------------------------
r3361 | sirdude | 2004-11-01 15:25:34 +0100 (Mon, 01 Nov 2004) | 7 lines



Needed to include <math.h> on solaris for some odd reason for their
c++....   so I ifdefed it.

Kent

------------------------------------------------------------------------
r3360 | sirdude | 2004-11-01 15:06:13 +0100 (Mon, 01 Nov 2004) | 7 lines



Cast 0 as unsigned int for sun's CC to get rid of this:
"BP_ProxyList.h", line 60: Error: Cannot use std::pair<BP_Proxy*, int> to initialize std::pair<BP_Proxy*, unsigned>.

Kent

------------------------------------------------------------------------
r3359 | ton | 2004-11-01 13:42:03 +0100 (Mon, 01 Nov 2004) | 9 lines

Fix for #1722

Reported was that padplus/padminus doesn't do a zoom in the NLA or Action
windows. Was missing since very beginning! :)
Found conflict with the new NLA strip move up/down, but using the pad
keys for that is a bit too inconsistant. I've now made it using the
PageUp/PageDown and normal plus/minus keys... Hos could check on this
though!

------------------------------------------------------------------------
r3358 | ton | 2004-11-01 13:11:03 +0100 (Mon, 01 Nov 2004) | 3 lines

Making Curve objects display smooth/solid was nice, but then the Surface
Objects should do that too, right? Bad testing... tsk! :)

------------------------------------------------------------------------
r3357 | ton | 2004-11-01 11:59:20 +0100 (Mon, 01 Nov 2004) | 10 lines

Select Menu patch, as provided by Campbell Barton, but recoded to make it
a nice separate function, reducing code size to half and keeping it
readable code :)

Functionality; while holding ALT on a mouse-select, a menu will pop up
displaying all Objects that can be potentially selected. Maximum 22
objects will be displayed. When only one object is found it selects it
automatically, otherwise it allows the user to select/activate by the
menu.

------------------------------------------------------------------------
r3356 | theeth | 2004-10-31 22:45:00 +0100 (Sun, 31 Oct 2004) | 4 lines

Bugfix for #1717 http://projects.blender.org/tracker/index.php?func=detail&aid=1717&group_id=9&atid=125
Scaling with PET with numerical input used a three axis input while it only gave access to one.
Made it use and give access to only one as it should.

------------------------------------------------------------------------
r3355 | ton | 2004-10-31 22:11:03 +0100 (Sun, 31 Oct 2004) | 8 lines

- Bug #1714; editmode undo error when ESC after extrude (missing undopush)
- Curve Join now moves all curves to 2D (if its 2D)
- FGon extrude keeps FGon flags correctly
- After Append undo-push added
- In almost all Ipo editing commands; undo-push added
- Icons in outliner now all consistant grey
- Zoffs button had to 20 high (hmetal :)

------------------------------------------------------------------------
r3354 | ton | 2004-10-31 22:08:18 +0100 (Sun, 31 Oct 2004) | 2 lines

Updated blenderbuttons image

------------------------------------------------------------------------
r3353 | ton | 2004-10-31 21:18:14 +0100 (Sun, 31 Oct 2004) | 5 lines

Bug #1721

Crash reported on combo of append object, do global undo, and re-append
same object. Appears to be an open filehandle...

------------------------------------------------------------------------
r3352 | ton | 2004-10-31 18:46:04 +0100 (Sun, 31 Oct 2004) | 3 lines

Serious omission; select-all also selected hidden vertices/edge/faces
Bad me!

------------------------------------------------------------------------
r3351 | ton | 2004-10-31 15:52:46 +0100 (Sun, 31 Oct 2004) | 4 lines

Fix for #1713

Snap-to on 2D curves could move points out of 2d space...

------------------------------------------------------------------------
r3350 | ton | 2004-10-31 15:51:35 +0100 (Sun, 31 Oct 2004) | 7 lines

Fix for #1715

Old & annoying; error() menu doesnt work while rendering, and is still
called for many occsasions. Error also caused Blender window to screw up.

Now error() just prints during render.

------------------------------------------------------------------------
r3349 | ton | 2004-10-31 15:43:27 +0100 (Sun, 31 Oct 2004) | 3 lines

Accidentally flipped flags for front/back filling. OK now, & thnx intrr
again. :)

------------------------------------------------------------------------
r3348 | ton | 2004-10-31 14:51:36 +0100 (Sun, 31 Oct 2004) | 6 lines

Just some nice updates in drawing (extruded) Curve objects;

- display of 'smooth' or 'solid' is correct now
- standard bevel and extrude displays in 'smooth' correctly now (with sharp
  edges where you expect it)

------------------------------------------------------------------------
r3347 | ton | 2004-10-31 11:52:38 +0100 (Sun, 31 Oct 2004) | 6 lines

Three cosmetic changes;

- removed obsolete ">>" from several menu buttons
- removed convert to cardinal/bspline buttons, dont work you know :)
- made sure a HOME event on ActionWindow works on epty window too

------------------------------------------------------------------------
r3346 | ianwill | 2004-10-31 05:09:19 +0100 (Sun, 31 Oct 2004) | 15 lines

BPython -- a few fixes:

-- fixed bug #1689:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1689&group_id=9

Reported by Tom Musgrove (thanks), the problem was that Window.QHandle was not passing events to windows that had id's below the current active window.  It was a stupid mistake (mine), the code was iterating from curarea instead of from the first area in the areabase list.

-- fixed bug #1568:
http://projects.blender.org/tracker/index.php?func=detail&aid=1568&group_id=9&atid=125

Stephen investigated the problem, reported by Gabriel Beloin, and left hints in the bug report, thanks :).  I also implemented what he suggested, now Effect.Get('objname') returns a list with all objname's effects and as before, Get('objname, position') returns the effect at position 'position'.  Ref doc already updated.

-- Allowed menu registration lines to appear commented out -- Python comments: '#', of course -- (suggested by Michael Reimpell) in scripts:
Some Python doc tools need the doc strings between triple double-quotes, so to avoid conflicts scripts writers can now comment out the registration code, it should work anyway.  Michael also provided a patch for this a few days ago, too (thanks), but to keep changes at a minimum because of proximity to a release I didn't use it.

------------------------------------------------------------------------
r3345 | ton | 2004-10-31 00:53:27 +0200 (Sun, 31 Oct 2004) | 5 lines

ESC during scanfill (triangulate) delivers corrupted memory
(well, not on OSX to be noticed :). Discovered thanks to adding filling
of curves in Solid display, and bugreport of intrr that ESC in grabbing
curve gives weird corruption.

------------------------------------------------------------------------
r3344 | ton | 2004-10-30 23:18:53 +0200 (Sat, 30 Oct 2004) | 7 lines

Found critical error in using pulldowns and toolbox menus; after returning
from menu code, it left the main window active (for global draw), this
sometimes could screw up drawing calls after... as happens when a command
is executed that draws immediate.

Now the previous window is restored before a menu command is executed

------------------------------------------------------------------------
r3343 | ton | 2004-10-30 22:46:10 +0200 (Sat, 30 Oct 2004) | 7 lines

For solid display of curves in editmode; found fix (thnx intrr :) that
hopefully prevents weird results in grabber... error was that the
editNurb was not used for triangulating.

Also; added drawing the wire as extra in solid display editing curves...
that for unfilled curves as well.

------------------------------------------------------------------------
r3342 | ton | 2004-10-30 21:12:34 +0200 (Sat, 30 Oct 2004) | 3 lines

Fix for ALT+B loopselect, in Z-culling selection mode...
Order of drawing had to be flipped

------------------------------------------------------------------------
r3341 | ton | 2004-10-30 19:13:10 +0200 (Sat, 30 Oct 2004) | 4 lines

AFAIK... last issue with new Z-culling selection.
Since the new menu system draws in backbuffer, the selectionbuffer then
needs a refresh after. Solved by nicely signalling stuff.

------------------------------------------------------------------------
r3340 | ton | 2004-10-30 18:11:36 +0200 (Sat, 30 Oct 2004) | 7 lines

Feat request intrr, he won a bet with me :)

Colorband sliders now activate automatic on a click closer than 12 pixels
away from it. No more clumsy 'act' button stuff.

BTW: Error in utildefines.h, ABS() was defined incorrect.

------------------------------------------------------------------------
r3339 | ton | 2004-10-30 16:11:05 +0200 (Sat, 30 Oct 2004) | 3 lines

Crease edit (SHIFT+E) didnt use the proper edge selection flag yet.
(Bug 1709)

------------------------------------------------------------------------
r3338 | ton | 2004-10-30 15:42:49 +0200 (Sat, 30 Oct 2004) | 6 lines

Wybren report #1709:
Deleting only-faces from fgon still draws wires hidden in editmode.

Added extra: when mesh has no faces, it draws wire in solid view, also
doesn't draw the 'fat' outline for selection.

------------------------------------------------------------------------
r3337 | ton | 2004-10-30 14:06:22 +0200 (Sat, 30 Oct 2004) | 3 lines

Added warning in makesdna to check for total struct sizes.
Found error in wipe struct, which was even constructed terrible weird :)

------------------------------------------------------------------------
r3336 | ton | 2004-10-29 20:47:58 +0200 (Fri, 29 Oct 2004) | 3 lines

Menus like 'edge' or 'game engine framing' could get flipped whilst the
alignment of buttons was still active, resulting in garbish.

------------------------------------------------------------------------
r3335 | ton | 2004-10-29 19:21:28 +0200 (Fri, 29 Oct 2004) | 8 lines

- Two fixes:

1) Sound window displays 'frs/sec' value correct now (found a 25 hardcoded)

2) LeftMouse click in sliders of IpoWind, NLA, Action allows to make
sliders smaller/larger, for quick zoom. Used to work but disappeared in
early this decade or so :)

------------------------------------------------------------------------
r3334 | ton | 2004-10-29 17:39:01 +0200 (Fri, 29 Oct 2004) | 6 lines

Finally something new!

- in Solid draw mode, curves without faces draw as wireframe now
- in Solid draw mode, curves without faces don't get fat outline on select
- in Solid draw mode, editing curves shows filled now!

------------------------------------------------------------------------
r3333 | ton | 2004-10-29 17:00:11 +0200 (Fri, 29 Oct 2004) | 9 lines

Fix for #1706 (Wavk again!)

- Undo in texteditor didnt work, event (ALT+U) was swallowed by new undo
  menu (ALT+U too)
- global undo doesnt restore UI's as we know... so undo-ing with a text
  editor active cannot always restore correct text block you were editing.
  As extra service I added that when no restore is possible, it links to
  the first block available.

------------------------------------------------------------------------
r3332 | ton | 2004-10-29 16:30:20 +0200 (Fri, 29 Oct 2004) | 9 lines

Two more wavk bugs (help he's pestering me!)

- 1702; edge selection should be evaluated properly before adding face
- 1704; crash in separate, two causes here:
        - separate didnt make selection flags consistant (needed badly
          there because of evil code)
        - after adding quad (Fkey) the face was not selected, but its
          vertices were... that can give bad bad crashes

------------------------------------------------------------------------
r3331 | sirdude | 2004-10-29 15:30:34 +0200 (Fri, 29 Oct 2004) | 9 lines



Added an #ifndef PRINT
to get rid of this: "../../blenlib/BLI_blenlib.h", line 332: warning: macro redefined: PRINT

I know pathetic but hey...

Kent

------------------------------------------------------------------------
r3330 | ton | 2004-10-29 13:35:13 +0200 (Fri, 29 Oct 2004) | 6 lines

Bug 1702

Holding shift, while in extrude transform mode ('n', along normal) popped
the extrusion back to beginning, this due to storage of printing value
in dvec[3]. Simple fix :)

------------------------------------------------------------------------
r3329 | ton | 2004-10-29 00:06:42 +0200 (Fri, 29 Oct 2004) | 4 lines

Bug fix #1606

Pulldown menu in action window "View All" didnt work

------------------------------------------------------------------------
r3328 | ton | 2004-10-28 23:50:32 +0200 (Thu, 28 Oct 2004) | 5 lines

Potential fix for #1684

Buttons (editingbuttons) flicker when adding armature bones. Added proper
redraw event extra for buttons menu

------------------------------------------------------------------------
r3327 | ton | 2004-10-28 23:21:24 +0200 (Thu, 28 Oct 2004) | 5 lines

bug fix 1698

- border render + backbuf crashed (!)
- escape from border render didn't put half-rendered result in final pic

------------------------------------------------------------------------
r3326 | ton | 2004-10-28 23:12:26 +0200 (Thu, 28 Oct 2004) | 4 lines

Brought back overkill of displist creation for armatures and deform...
Got some testfiles that I cannot get to work quickly, better do this
after release (again)

------------------------------------------------------------------------
r3325 | hos | 2004-10-28 19:29:03 +0200 (Thu, 28 Oct 2004) | 3 lines

Related to gameplayer png bug: cygwin needs to find the zlib library
too. (Thanks Richie)

------------------------------------------------------------------------
r3324 | ton | 2004-10-28 19:22:10 +0200 (Thu, 28 Oct 2004) | 3 lines

Duplicator object which is being deformed now gives deformed duplicates
too. Feat request & discovered by S68. :)

------------------------------------------------------------------------
r3323 | ton | 2004-10-28 18:56:23 +0200 (Thu, 28 Oct 2004) | 3 lines

Render with backbuffer, using border, crashed... was commit of many months
ago by self. Tsk!

------------------------------------------------------------------------
r3322 | ton | 2004-10-28 18:22:42 +0200 (Thu, 28 Oct 2004) | 3 lines

Changed order in evaluation for common_instertkey menu, to enable posemode
key insterting working on unselected armature.

------------------------------------------------------------------------
r3321 | ton | 2004-10-28 16:47:53 +0200 (Thu, 28 Oct 2004) | 3 lines

Report 1659
Delete object, after selecting it in Oops (not outliner!) crashed blender.

------------------------------------------------------------------------
r3320 | ton | 2004-10-28 16:13:46 +0200 (Thu, 28 Oct 2004) | 4 lines

New 'visible only' select didnt work correct when parts of faces were
hidden. The drawing function needs to return the actual face total, not
the amount that was drawn

------------------------------------------------------------------------
r3319 | ton | 2004-10-28 14:38:50 +0200 (Thu, 28 Oct 2004) | 12 lines

Fix for #1666

There's a conflict between global undo and editmode undo.  The first one
reloads a .blend actually, so pointers change all over. The latter still
uses the object pointers for checks. To resolve that the editmode undo
system cleans its stack based on object names, not pointers.

In previous code I tried something smart to prevent undo stacks being
reused when you delete an object, and add new object with same name.
That didn't go OK in all cases... so I accept this little quirk for now
(rename object still works though, wont clean the undo stack)

------------------------------------------------------------------------
r3318 | ton | 2004-10-28 13:03:16 +0200 (Thu, 28 Oct 2004) | 7 lines

Fix for report #1671

When you load sound in sequencer, most buttons for the sound where not
displayed (game engine usage only). But half of these buttons are useful
for renaming file paths or make relative paths. Just brought back the
entire panel, with clear info in tooltip what settings apply engine only

------------------------------------------------------------------------
r3317 | ton | 2004-10-27 12:39:49 +0200 (Wed, 27 Oct 2004) | 8 lines

Bug #1690

Crash on large mesh while vertex painting. Was combo of using shorts
(signed) and just a too low limit (64k).
Now it uses integer for main lookup table and max is 512k. Still an
artificial limit, but this wont crash when you exceed faces, just give
nice warning :)

------------------------------------------------------------------------
r3316 | ton | 2004-10-27 11:59:25 +0200 (Wed, 27 Oct 2004) | 5 lines

Fix for #1691

Using octree resolution 512 easily could overflow fixed sized array that
holds all node branches. Had to jack that up...

------------------------------------------------------------------------
r3315 | ton | 2004-10-27 11:25:55 +0200 (Wed, 27 Oct 2004) | 5 lines

Bug #1686

Subsurf, optimal; the outline-selected-draw now uses a normal wireframe
(not optimal) giving a nicer outline.

------------------------------------------------------------------------
r3314 | ton | 2004-10-27 10:48:49 +0200 (Wed, 27 Oct 2004) | 4 lines

bug #1681

Using a too short string for a file path (plugin) caused crash

------------------------------------------------------------------------
r3313 | ton | 2004-10-27 10:41:51 +0200 (Wed, 27 Oct 2004) | 7 lines

Fix for #1679

When rendering from localview, the lamp layers were not evaluated properly
for "Layer" option in Lamps. This because localview uses layers 24-31. :)

Fix is simple; just not use localview layers for lamp while render.

------------------------------------------------------------------------
r3312 | ton | 2004-10-27 09:41:44 +0200 (Wed, 27 Oct 2004) | 3 lines

Put back frontbuffer drawing for link-lines, used in the logic editor.
No quick & nice method can be found to prevent using frontbuffer for now.

------------------------------------------------------------------------
r3311 | ton | 2004-10-26 23:33:47 +0200 (Tue, 26 Oct 2004) | 2 lines

Fix in Makefile for added png library

------------------------------------------------------------------------
r3310 | ton | 2004-10-26 23:10:58 +0200 (Tue, 26 Oct 2004) | 10 lines

Bug #1670

Just one simple report, 4-5 hours work...
reported was that selecting in action+nla window is slightly off. Quite
annoying. It appeared to be a wrong usage of View2D facilities, causing
part rewrite of a lot of stuff here. Mainly did it as excercise, to get
better understanding of all of this. Would need some testing though!

PLus; fixed crash while using "single user" menu with Ipos in Object.

------------------------------------------------------------------------
r3309 | ton | 2004-10-26 20:47:54 +0200 (Tue, 26 Oct 2004) | 3 lines

Added glBlendFunc() in draw menu, but that's zealotic... anyhoo, who knows
it solves issues with transp menus

------------------------------------------------------------------------
r3308 | sirdude | 2004-10-26 15:04:27 +0200 (Tue, 26 Oct 2004) | 13 lines



Fix so it compiles on my machine....

Changed:
        row_pointers = new (png_bytep) [(GetHeight() * sizeof(png_bytep))];
to:
        row_pointers = new png_bytep [(GetHeight() * sizeof(png_bytep))];

Thanks emil....

Kent

------------------------------------------------------------------------
r3307 | ton | 2004-10-26 14:52:20 +0200 (Tue, 26 Oct 2004) | 8 lines

Enabling transparent pulldown/popup menus in Blender. Speed of drawing is
not affected when using standard (alpha=255) settings.

Only the backdrop for menus and unselected items can be transparent, the
highighted (active) item remains solid colored.

Just fun eyecandy tho :) but the recode of menu enables this easily.

------------------------------------------------------------------------
r3306 | eeshlo | 2004-10-26 02:52:12 +0200 (Tue, 26 Oct 2004) | 25 lines

Bugfixes:
Blender hemilight shadow flag now ignored (reported by varuag).
Texture axes were not exported for procedural textures.
Duplicate armatures were not handled correctly (reported by richie).
Triangle uv-coord splitting (reported by anael, richie & Alvaro).

Additions:
Material 'TexFace' mode now works too, as in Blender it functions as an extra
first texture channel, replacing the base color.

The new noise functions for procedural textures are now supported in yafray,
but is  not quite completed yet, still undergoing changes.
(needs yafray from cvs).

The 'power' button has been renamed to 'EmitPwr', since it controls background,
arealight (including lamp with radius) & material emit power.
This button can now be used with the 'SkyDome' method as well to control
background lighting.
To control indirect lighting power, a button called 'GI pwr' has been added,
only use this when really necessary, first try modifying 'EmitPwr' instead.

Removed:
The 'gradient' button. This includes the python code to set
this parameter as well.

------------------------------------------------------------------------
r3305 | jesterking | 2004-10-25 17:52:54 +0200 (Mon, 25 Oct 2004) | 2 lines

add necessary include paths for scons needed after fix for screenshot. NOTE:  GPC_Canvas.cpp doesn't compile with msvc7 currently!

------------------------------------------------------------------------
r3304 | kester | 2004-10-25 01:50:44 +0200 (Mon, 25 Oct 2004) | 2 lines

Tweek the stereo settings: allow negative eye separation.

------------------------------------------------------------------------
r3303 | kester | 2004-10-25 01:48:04 +0200 (Mon, 25 Oct 2004) | 2 lines

Do a complete physics timestep each step instead of some per frame

------------------------------------------------------------------------
r3302 | kester | 2004-10-24 13:03:18 +0200 (Sun, 24 Oct 2004) | 2 lines

Port stereo stuff from tuhopuu2: anaglyph, vinterlace

------------------------------------------------------------------------
r3301 | kester | 2004-10-24 12:42:31 +0200 (Sun, 24 Oct 2004) | 2 lines

Fix makeScreenshot for blenderplayer

------------------------------------------------------------------------
r3300 | ton | 2004-10-22 16:03:20 +0200 (Fri, 22 Oct 2004) | 5 lines

Two fixes!

- undo system didn't work in editmode AT ALL!!! (stupid me)
- Lattice deform on non-subsurfed objects did not update

------------------------------------------------------------------------
r3299 | ton | 2004-10-22 14:33:18 +0200 (Fri, 22 Oct 2004) | 2 lines

Better pointer check in outliner.c for actions, for bassam :)

------------------------------------------------------------------------
r3297 | michel | 2004-10-20 22:17:42 +0200 (Wed, 20 Oct 2004) | 3 lines

SConstruct now looks for tools/scons/bs for the files. This used to be just
bs.

------------------------------------------------------------------------
r3296 | michel | 2004-10-20 22:13:42 +0200 (Wed, 20 Oct 2004) | 3 lines

Created directories for the scons tools.
The actual move of the files will be done by jesterKing.

------------------------------------------------------------------------
r3295 | ton | 2004-10-20 14:39:48 +0200 (Wed, 20 Oct 2004) | 4 lines

Fix for better flushing up/down of hide flags in the selection modes. Still
tricky to find the perfect rule. This version should satisfy I think ;)
Aim is to have ALT+H and H doing always the same, regardless selection mode.

------------------------------------------------------------------------
r3294 | ianwill | 2004-10-20 07:51:24 +0200 (Wed, 20 Oct 2004) | 19 lines

BPython:
- Blender.Window: added function GetPerspMatrix() (Tom Musgrave's patch, thanks);
- added Chris Want's patch to tell argc, argv to the Python interpreter (thanks, Hos);
- Blender.Image: added image.glFree() to free textures bound by the recently added
  image.glLoad() (both suggested by Campbell Barton -- thanks, with these Blender can
  be used to load textures for scripts);
- Blender.Sound: removed for now at least a few get/set methods of vars that can't be
  accessed via interface;
- renamed Get/makeActive to Get/setCurrent in Blender.World (actually added alias for
  now), same in Blender.Sound: renamed makeActive to setCurrent.  Stephen Swaney
  pointed this some weeks ago, we should stick to one naming convention.
- added documentation for Sound and Window.Theme modules and the other added
  functions, made other small updates.
- Blender.Object: made 'worldspace' become the default output of .getMatrix and .mat/.matrix:
  after reading a discussion on blender.org's Python forum where eeshlo mentioned the
  pre 2.34 default was worldspace, I took a better look at Blender's relevant code,
  confirmed, talked to Theeth about this and as he suggested am changing the default
  back to 'worldspace'.

------------------------------------------------------------------------
r3293 | aphex | 2004-10-19 23:29:15 +0200 (Tue, 19 Oct 2004) | 10 lines

Bug fix for #1493 -

  - Changed shortcut of "Align Active Camera to View" to
    Ctrl+Alt+Numpad0 to make it Windows-friendly.

  - Old shortcut of Shift-Numpad0 still works (until we find some other
    use for it!)

Could use testing on KDE/Gnome, etc - incase we make X do somersaults or something equally daft! :P

------------------------------------------------------------------------
r3292 | ton | 2004-10-19 18:57:01 +0200 (Tue, 19 Oct 2004) | 11 lines

Two reported issues with undo #1667 and #1168

- press TAB without object active cleared undo stack
- typo (another!) in variable name, causing undo stack from wrong object
  to be used (when have edited more objects)

Plus i found:
- rule for preserving editmode undo stacks, while using global undo, made
  stricter now. Before it only checked name, now it checks for existance
  of pointers extra.

------------------------------------------------------------------------
r3291 | ton | 2004-10-19 00:47:26 +0200 (Tue, 19 Oct 2004) | 22 lines

Four new extrude possibilities;

- Individual faces
  Keeps Mesh manifold, so removes old faces always. Also uses a
  transform based on different vectors per vertex.

- Only edges
  Just extrudes the edges (not really 'individual', the edges still
  share the vertices. Uses same transform as normal extrude for that
  reason

- Only Vertices
  Uses normal transform after extrude

Also changed code a bit, to detect whether to call a normal-based
transform after extrude, or whether to call normal grabber. For example
when you just extrude 1 edge, it uses normal grabber.

Note; extruding an entire sphere goes OK with 'individual faces'. for
other extrudes you should press 's key' when in transform. Just cannot
predict (yet) when one method has preference over another.

------------------------------------------------------------------------
r3290 | ton | 2004-10-19 00:41:18 +0200 (Tue, 19 Oct 2004) | 6 lines

Outliner; menu 'scene operations' didnt do anything, commented out

Undo; when using global undo, the editmode undo stack remains accessible.
Meaning you can do global undo/redo, and then go back in editmode and
have all undo/redo steps as originally left in editmode.

------------------------------------------------------------------------
r3289 | ton | 2004-10-19 00:39:14 +0200 (Tue, 19 Oct 2004) | 3 lines

When you save a file while using radio tool, it didn't load correctly
because of a flag set which prevented drawing the objects.

------------------------------------------------------------------------
r3288 | ton | 2004-10-18 11:43:38 +0200 (Mon, 18 Oct 2004) | 5 lines

Fixes for #1654 and #1655

- crash when converting nurbs->bezier, with nurbs having <3 points
- copying audio strips in sequencer didnt increase ipo user counter

------------------------------------------------------------------------
r3287 | ton | 2004-10-17 00:30:54 +0200 (Sun, 17 Oct 2004) | 6 lines

Hah! found the trick to recover hierarchy in edit bones, so the display
of Outliner of it is nice hierarchical too.

Please note that storage in outliner for editbones and pose-bones are
separate, so you have to uncollapse the views independently

------------------------------------------------------------------------
r3286 | ton | 2004-10-17 00:06:52 +0200 (Sun, 17 Oct 2004) | 3 lines

Sorry! Third attempt for selection of f***g bones in editmode. Now I
discovered the BONE_IK_TOPARENT flag!

------------------------------------------------------------------------
r3285 | ton | 2004-10-16 23:53:23 +0200 (Sat, 16 Oct 2004) | 2 lines

2nd fix for selecting bones in outliner, in armature editmode!

------------------------------------------------------------------------
r3284 | ton | 2004-10-16 23:03:02 +0200 (Sat, 16 Oct 2004) | 5 lines

Two little fixes for previous commit;

- selecting 'loose' bones selected parent tip
- sends redraw outliner for armature edit

------------------------------------------------------------------------
r3283 | ton | 2004-10-16 22:41:18 +0200 (Sat, 16 Oct 2004) | 6 lines

Outliner now visualizes and allows selection and name editing of Armatures
in edit mode.

Small extra fix; selection (mouse) on armature points goes easier now
(larger accepted distance from mouse pointer)

------------------------------------------------------------------------
r3282 | stiv | 2004-10-16 21:40:58 +0200 (Sat, 16 Oct 2004) | 5 lines

more Text editor goodness from themeyers.

TABKEY indents current selection.
SHIFT-TABKEY unindents current selection.

------------------------------------------------------------------------
r3281 | ton | 2004-10-16 21:14:39 +0200 (Sat, 16 Oct 2004) | 6 lines

Small fix for #1628

Constraints on an object with hooks (or other deformer) didnt update
OK while transform(). The fix is easy code to isolate for Martin, so
hopefully he can find integrated solution in transform() refactor :)

------------------------------------------------------------------------
r3280 | jesterking | 2004-10-16 20:50:23 +0200 (Sat, 16 Oct 2004) | 2 lines

remove std:: to please msvc6

------------------------------------------------------------------------
r3279 | jesterking | 2004-10-16 20:13:00 +0200 (Sat, 16 Oct 2004) | 2 lines

Added #include <assert.h> so it compiles where assert() was used.

------------------------------------------------------------------------
r3278 | ton | 2004-10-16 17:55:16 +0200 (Sat, 16 Oct 2004) | 5 lines

Bug #1651

And another fix for only shadow render. Correct clipping for spotbundles
shining on only-shadow materials.

------------------------------------------------------------------------
r3277 | ton | 2004-10-16 17:25:58 +0200 (Sat, 16 Oct 2004) | 5 lines

Fix for #1618

Only shadow material + spotlamp-ray-shadow didn't clip for the spotbundle
correctly.

------------------------------------------------------------------------
r3276 | ton | 2004-10-16 15:53:41 +0200 (Sat, 16 Oct 2004) | 8 lines

Suggested by bug reporter; pressing Fkey to make a face, whilst the
selection already is 2 triangles, it should create a new face but
remove the old triangles. It actually calls the 'ALT+J' command then
(join triangles)

While testing found out more cases where new selection flags were not
properly used (join trias, beauty fill, flip edges, rotate edges)

------------------------------------------------------------------------
r3275 | ton | 2004-10-16 14:27:16 +0200 (Sat, 16 Oct 2004) | 6 lines

Fix for #1650

"Clear FGon" didn't call essential EM_fgon_flags(), to rebuild the lookup
table codes for polygons. This causes former fgon faces to become
not selectable

------------------------------------------------------------------------
r3274 | ton | 2004-10-16 14:20:06 +0200 (Sat, 16 Oct 2004) | 4 lines

Bug fix 1649

Add edge/face didn't use correct selection code yet.

------------------------------------------------------------------------
r3273 | ton | 2004-10-16 14:05:42 +0200 (Sat, 16 Oct 2004) | 5 lines

Bug fix #1647

Making 'nice' code (split reused code in separate call) caused DupliFrames
option not to work, dupliverts & particles did, but yah, testing eh! :)

------------------------------------------------------------------------
r3272 | ton | 2004-10-16 13:48:14 +0200 (Sat, 16 Oct 2004) | 5 lines

fix for #1646

view3d header menu, mesh editmode, "make edge/face" didn't work. not since
it was committed oct last year :)

------------------------------------------------------------------------
r3271 | kester | 2004-10-16 13:41:50 +0200 (Sat, 16 Oct 2004) | 6 lines

Switch fixed time system.  Logic updates should now happen at 30Hz, physics at 60Hz. (By default, use Python to set.)  Some actuators still run at framerate (IPO, Action) for nice smooth animation, and an excuse to buy high end hardware.

Keyboard sensors can now hook escape key.  Ctrl-Break can be used from within blender if you've forgotten an end game actuator.

Fixed a stupid bug preventing some actuators working (like TrackTo).

------------------------------------------------------------------------
r3270 | ton | 2004-10-16 13:29:09 +0200 (Sat, 16 Oct 2004) | 9 lines

Fix for #1549

This was something users found since tracing got into blender, having
sometimes small 'dots' or bright pixels or missing reflection rays in
an image. Thanks to the very simple sample file I could disect it...
it appeared to be an incomplete check for all numerical exceptions when
you traverse the octree nodes. Very technical, but clear comments are in
the code to explain ;)

------------------------------------------------------------------------
r3269 | sirdude | 2004-10-15 15:04:21 +0200 (Fri, 15 Oct 2004) | 12 lines


Martin DeMello's patch to add dxf import code for:
CIRCLE, ARC, ELLIPSE and LWPOLYLINE.

I made some modifications to it to clean it up a bit.

I entend to do some more dxf stuff in  the near future but figured
this is ready to go for now, and trying to clean up a bunch of small stuff
I've had sitting around for awhile. ;)

Kent

------------------------------------------------------------------------
r3268 | sirdude | 2004-10-15 14:52:48 +0200 (Fri, 15 Oct 2004) | 8 lines



Changed hints on scons :
scons --clean changed to scons clean
and added a hint about renaming config.opts

Kent

------------------------------------------------------------------------
r3267 | sirdude | 2004-10-15 14:46:57 +0200 (Fri, 15 Oct 2004) | 6 lines



added -h to the commandline args to print usage.

Kent

------------------------------------------------------------------------
r3266 | stiv | 2004-10-15 01:57:33 +0200 (Fri, 15 Oct 2004) | 2 lines

fix evil c++ declaration.

------------------------------------------------------------------------
r3265 | stiv | 2004-10-15 01:37:04 +0200 (Fri, 15 Oct 2004) | 25 lines

a patch for the Text editor contributed by themeyers.
adds new features for indenting and commenting.

Note: I am not sure if the best menu spot for these features
is under the Select menu, but we can argue about that later.
They do work on a selection, though.

from the mailing list post:

1&2. Added Indent/Unindent under Edit->Select
just select the text you want to indent and go to the menu (
note if nothing is selected Indent will just indent ( tab )
the line the line )

3&4. Added Comment/Uncomment to the same menu
same applies as above

5. Added Tab setting on the menu bar in text editor
Sets the number of spaces a tab ==
changing the setting will change the hole script

6. Added Auto indent
when you hit enter it goes to the next line at the same
tab number and the line above it ( needs more testing and input)

------------------------------------------------------------------------
r3264 | jesterking | 2004-10-15 01:34:19 +0200 (Fri, 15 Oct 2004) | 2 lines

Make msvc happy by 'improving' order of declaration and removing superfluous layout issues.

------------------------------------------------------------------------
r3263 | stiv | 2004-10-15 01:11:09 +0200 (Fri, 15 Oct 2004) | 3 lines

bugfix: #1642  Matrix multiplication memory leak
another memory leak plugged.

------------------------------------------------------------------------
r3262 | ton | 2004-10-15 01:03:12 +0200 (Fri, 15 Oct 2004) | 6 lines

fix for #1635

Field render, and field option for image texture, had error due to
returns in middle of calls... this bug was there already for long
while, not much used eh ;)

------------------------------------------------------------------------
r3261 | ton | 2004-10-15 00:39:13 +0200 (Fri, 15 Oct 2004) | 2 lines

Typo in effect.c, bad testing :)

------------------------------------------------------------------------
r3260 | ton | 2004-10-15 00:20:42 +0200 (Fri, 15 Oct 2004) | 7 lines

Bug fix & new feature;

http://www.blender3d.org/cms/Particle_duplicators.443.0.html

Static particle systems now can also duplicate children (Dupli Vert).
Even ipo's for children are evaluated correctly then, nice stuff :)

------------------------------------------------------------------------
r3259 | stiv | 2004-10-14 22:51:20 +0200 (Thu, 14 Oct 2004) | 3 lines

one teensy comment.
no executable changes

------------------------------------------------------------------------
r3258 | stiv | 2004-10-14 21:06:44 +0200 (Thu, 14 Oct 2004) | 3 lines

fix bad return types for errors in Matrix_coerce().
EXPP_ReturnPyObjError() should have been EXPP_ReturnIntError().

------------------------------------------------------------------------
r3257 | stiv | 2004-10-14 19:35:16 +0200 (Thu, 14 Oct 2004) | 26 lines

followup to vector memory leak fixes:
  fix for problems with NMesh vertices.
  plug some more leaks in matrix module.
  new vector method newVectorProxy().

In BPy-Land, we have overloaded the meaning of our Vector
type.  One use is for vectors in the traditional mathmatical
sense.  The other legacy use is as a proxy for Blender data.
The recent memory leak fixed have lead to the Vector type
behaving as mathematical vectors.

However, the NMesh module is still using Vector types as a
proxy to manipulate NMVert data.  To support this usage, in
the vector module there is a new factory method
newVectorProxy().  This creates a Vector that references
memory outside the Vector.  Vectors created by
newVectorProxy() do NOT free their referenced memory.  The
newVectorProxy() is used only in bpy code and is not exposed
thru the scripting interface.

Anyone using newVectorProxy() must be aware of object
lifetime and scoping issues because the returned Vector
holds a pointer to memory it does not own.  This works in
the NMVert case since we are referencing memory belonging to
the NMVert object via an NMVert method.

------------------------------------------------------------------------
r3256 | ton | 2004-10-14 16:20:24 +0200 (Thu, 14 Oct 2004) | 11 lines

Color picker fixes... (bug #1490)

Since color is stored RGB only in Blender, the conversion from and to HSV
causes values to be clipped all the time.
Solution found is adding a persistant hsv storage to the uiBut struct, and
have it working on that only while hsv button is open. Still, after usage
(leaving picker) the conversion will change values to rgb.

Also added; redraw event for editing buttons, to show correct changed
color while using nkey picker

------------------------------------------------------------------------
r3255 | sirdude | 2004-10-14 15:52:12 +0200 (Thu, 14 Oct 2004) | 7 lines


Added to the top of the file: struct SpaceOops;

to stop a warning about SpaceOops defined inside of parameter list...

Kent

------------------------------------------------------------------------
r3254 | sirdude | 2004-10-14 14:14:39 +0200 (Thu, 14 Oct 2004) | 7 lines



Kenneth Strom's patch to make Fractal Subdivide work in the -
direction as well as the positive.

Kent

------------------------------------------------------------------------
r3253 | ton | 2004-10-14 13:58:19 +0200 (Thu, 14 Oct 2004) | 9 lines

Bug #1468

"Home" or "View All" in NLA window didn't set a good result in all cases.
Now it uses the Scene start/end frame, which isn't correct always, but at
least gives results.

NLA and Action drawing is total mess! Certainly nice job for cleanup for
next release.

------------------------------------------------------------------------
r3252 | ton | 2004-10-14 12:50:08 +0200 (Thu, 14 Oct 2004) | 3 lines

Accidentally committed a line paste with declaration outside of { }...
Thanks jK!

------------------------------------------------------------------------
r3251 | ton | 2004-10-14 12:15:35 +0200 (Thu, 14 Oct 2004) | 19 lines

This fix, bug #1342, makes blender consistant, but won't really solve
weakness in design.

Issue was: if you delete the 'mother metaball', which is an object with
name without a number, the entire metaball family isn't polygonized. Sofar
so good, where it not that rendering still worked, because it searches all
objects in the scene for a family member with lowest name.

Doing such a search within the main drawing loops will become a major
slowdown, so this better isn't done.

I don't mind sticking to (documented) consistant behaviour. Alternative is
a flag in object to denote it's a Mother Ball, and check for that instead.
This isn't nice to code in current Blender though... we don't have a signaling
system where to insert such tests reliably, making it very hackish.

Jiri; I hope you can agree with the solution! :) Just want to have tracker
cleaned up, refine it to real bugs.

------------------------------------------------------------------------
r3250 | ton | 2004-10-14 11:47:26 +0200 (Thu, 14 Oct 2004) | 5 lines

Not a real fix, but report #1638 was a valid confusement...

When using Unified Render, the Gauss option cannot work, so the button then
disappears to indicate so.

------------------------------------------------------------------------
r3249 | ton | 2004-10-14 11:40:48 +0200 (Thu, 14 Oct 2004) | 5 lines

Fix for #1617

Volumetric spothalo shadow clipped at z=0.0 instead of correct z= -1.0.
Just forgot that zbuffer for spot shadow uses entire signed integer range.

------------------------------------------------------------------------
r3248 | ton | 2004-10-14 11:18:26 +0200 (Thu, 14 Oct 2004) | 6 lines

Bug fix #1341

Deleting all vertices in a Curve Path, crashed/corrupted a FollowPath
constraint using it.
Now it defaults to (0 0 0) for an empty path.

------------------------------------------------------------------------
r3247 | ton | 2004-10-14 10:52:12 +0200 (Thu, 14 Oct 2004) | 7 lines

Three fixes;

- bug #1307; copy full scene didn't update links in constraints
  (was an oldie bug!)
- also fixed same for Hooks, which even't didn't duplicate yet
- HOME in outliner (show hierarchy) now only does current scene

------------------------------------------------------------------------
r3246 | ton | 2004-10-14 00:18:34 +0200 (Thu, 14 Oct 2004) | 5 lines

Fix for #1626

Pulldown menu "Apply deform" in (3d header) called 'make duplis real'.
Easy fix :)

------------------------------------------------------------------------
r3245 | ton | 2004-10-13 22:37:00 +0200 (Wed, 13 Oct 2004) | 7 lines

minor fix, more a beauty glitch, bug 1612;
when adding first ipo curve position, editmode on the curve shows weird
handles, which solves when adding the next keys though...

Fix is that it sets all handles on zero size now. (is auto-handle, so no
harm done)

------------------------------------------------------------------------
r3244 | ton | 2004-10-13 21:39:26 +0200 (Wed, 13 Oct 2004) | 4 lines

Fill and beautyfill now respect new edge/face selection flags.
Also flipped normals for default filled faces, they were pointing away
always.

------------------------------------------------------------------------
r3243 | ton | 2004-10-13 19:59:44 +0200 (Wed, 13 Oct 2004) | 6 lines

Fix for #1569

Problem was dynamic linking of files with game logic. The links between
sensors/controllers/actuators got lost.
Never though i'd still understand the code, not too bad at all! :)

------------------------------------------------------------------------
r3242 | ton | 2004-10-13 18:33:59 +0200 (Wed, 13 Oct 2004) | 7 lines

Fix for bug report #1566

Some 3d cards, IBM mostly, crash when glBitmap draws while in glPicking
mode (for select).
This was fixed for empty objects before, but armatures also draw bone
names... here the check for 'picking' was added

------------------------------------------------------------------------
r3241 | ton | 2004-10-13 18:11:49 +0200 (Wed, 13 Oct 2004) | 3 lines

Cut'n'paste code, to fix bug 1500, resulted in crash when not rendering
extruded curves. thanks intrr for noticing! :)

------------------------------------------------------------------------
r3240 | ton | 2004-10-13 11:17:10 +0200 (Wed, 13 Oct 2004) | 10 lines

Fix for bug #1562

There's an ancient code in Blender to denote a projected vertex coordinate
is invisble, it sets the x coord at 3200. :)
This wasn't updated while coding loopselect, nor edge select. Causing in
extreme zoomed in situations vertex selecting go wrong.

Also added; option "don't load GUI" in fileselector doesn't get saved in
files.

------------------------------------------------------------------------
r3239 | stiv | 2004-10-13 01:58:03 +0200 (Wed, 13 Oct 2004) | 14 lines

fix numerous memory leaks in the math types.
fixed bug:  #1633  Memory leak in M_Mathutils_Vector

The math types ( matrix, vector, quad ) now make
copies of data passed to them rather than holding
a pointer to memory that cannot be freed, or that
may go away unexpectedly.

This also clarifies the problem of who is responsible
for freeing memory allocations.

Pre-checkin files are tagged mem_leak-1 in case this
breaks something.

------------------------------------------------------------------------
r3238 | ton | 2004-10-13 00:49:24 +0200 (Wed, 13 Oct 2004) | 7 lines

Linestyle (dashed, using glStipple) seems not to work proper on
circle selecing. I can't find clues (thanks k-rich for help!) what it
exactly causes...seems like inverted draw + glStipple + draw circle
somehow confuses a driver... we can live without i guess?

This commit is to verify it now works ;)

------------------------------------------------------------------------
r3237 | ton | 2004-10-12 19:22:56 +0200 (Tue, 12 Oct 2004) | 5 lines

Fix for bug #1500

Ray_transp on curve objects (filled polys) didnt work well, normals
were not pointing outside all nicely

------------------------------------------------------------------------
r3236 | ton | 2004-10-12 18:10:12 +0200 (Tue, 12 Oct 2004) | 2 lines

Swapped 1 line of code, missed the declaration in the subloop...

------------------------------------------------------------------------
r3235 | ton | 2004-10-12 17:47:15 +0200 (Tue, 12 Oct 2004) | 4 lines

Added safety test for occurance of zero scaled areas in Blender. This
totally screws up opengl calls...
If it detects a zero area now, it removes it and prints warning in terminal

------------------------------------------------------------------------
r3234 | blendix | 2004-10-12 17:34:26 +0200 (Tue, 12 Oct 2004) | 4 lines


Do better checking for hidden faces in uv editor, sometimes unwanted uv's got
pinned.

------------------------------------------------------------------------
r3233 | blendix | 2004-10-12 17:23:00 +0200 (Tue, 12 Oct 2004) | 4 lines


Draw Seams in subsurf optimal mode. They were already subdivided correctly,
just needed to be drawn.

------------------------------------------------------------------------
r3232 | blendix | 2004-10-12 17:15:10 +0200 (Tue, 12 Oct 2004) | 4 lines


Face selection in uv face select mode, with hidden faces, was broken:
there was no check for hidden tfaces in backbuffer draw.

------------------------------------------------------------------------
r3231 | ton | 2004-10-12 17:04:05 +0200 (Tue, 12 Oct 2004) | 6 lines

Extrude crashed on extruding verts/edges only, due to lack of pointer
check in theeths commit of 20h ago. :)

Theeth; the signal I added (for normal) was hackish, as noted in comments!
Hopefully in new transform that all will be nice.

------------------------------------------------------------------------
r3230 | ton | 2004-10-12 14:46:05 +0200 (Tue, 12 Oct 2004) | 2 lines

Join triangles to quads (alt+j) tool didnt set face selection flags.

------------------------------------------------------------------------
r3229 | ton | 2004-10-12 11:06:28 +0200 (Tue, 12 Oct 2004) | 9 lines

Bug fix 1432;

When you PAD-enter on a popup-number button (like for add circle) it
accidentally de/increased the value before assigning an "OK". Fixed.

Also: restored functionality that allows to use Enter keys as a mouse
button click. This de/increases values now, opens menus, etc. Not in
pupup or pulldown menus though!

------------------------------------------------------------------------
r3228 | stiv | 2004-10-11 22:33:51 +0200 (Mon, 11 Oct 2004) | 4 lines

bugfix: #1624  Can not switch layers of some objects through python.

All Bases were not getting updated with new layer.

------------------------------------------------------------------------
r3227 | theeth | 2004-10-11 20:42:18 +0200 (Mon, 11 Oct 2004) | 4 lines

Moved headerprint to editscreen (for logical placement and reusability).

Made extrude along normals more sane. Now behave like a move along an arbitrary axis (including Ctrl/Shift applications and typemode). Also prints "Along faces normal" in the header, to tell the user what's happening.

------------------------------------------------------------------------
r3226 | ton | 2004-10-11 20:35:42 +0200 (Mon, 11 Oct 2004) | 7 lines

- selection option for vertexgroups didnt use proper new flags

- outliner bugs:
  - shift+click on icons opened new window types
  - click on world of other scene, makes that scene active
  - deleting objects from multiple scenes crashed

------------------------------------------------------------------------
r3224 | stiv | 2004-10-11 19:05:14 +0200 (Mon, 11 Oct 2004) | 5 lines

fix memory leak in Object.GetSelected().
bugfix: #1631 Memory Leak in newMatrixObject
  PyMem_Malloc()s not followed with PyMem_Free().
  allocation error checking contributed by Tom Musgrove.

------------------------------------------------------------------------
r3223 | ton | 2004-10-11 13:54:14 +0200 (Mon, 11 Oct 2004) | 12 lines

Outliner features:

- Rename!
CTRL+leftmouse click on name, makes it a text button. Works for all items as
currently being displayed.
Most work was doing the Bones, which is a nightmare :) But it uses same
code as buttons in Armature-Editmode now, without even needing EditMode :)
When renaming a bone, the Outliner makes the Object active though.

- PageUp / PageDown keys
Do what you expect.

------------------------------------------------------------------------
r3222 | ton | 2004-10-11 00:02:07 +0200 (Mon, 11 Oct 2004) | 3 lines

Forgot about PC's using backbuffer draw for selecting (no AUX as on OSX),
so loopselect mode needs refresh of backbuffer during loops

------------------------------------------------------------------------
r3221 | ton | 2004-10-10 21:41:43 +0200 (Sun, 10 Oct 2004) | 11 lines

Fixes in editmesh:

- ALT+B loop edge select loop
- SHIFT+R loop face select loop
(both work with ALT+select too)

- CTRL+R loop cut
- Kkey menu, loop select/cut and knife

- and ALT+select on edge always selects a loop now

------------------------------------------------------------------------
r3220 | ton | 2004-10-10 18:54:25 +0200 (Sun, 10 Oct 2004) | 6 lines

Fix for reported Mesh+Subsurf+Optimal+particles, make linked duplicate, and
editmode crashed.

Cause: the stricter rules for when displaylists should be made failed on
the check for Effects (like particles).

------------------------------------------------------------------------
r3219 | bjornmose | 2004-10-10 15:55:57 +0200 (Sun, 10 Oct 2004) | 3 lines

.. take the proper example for edges in addfacelist()
may be different from exaple ..

------------------------------------------------------------------------
r3218 | ton | 2004-10-10 13:33:19 +0200 (Sun, 10 Oct 2004) | 16 lines

- Added Outliner selection

As a means to indicate items in the Outliner to do operations on, you can
select with RMB items. Works like FileSelect here. Since selection in
Outliner is only on outliner level, no further UI updates happen. That is
reserved for LMB actions.

Implemented right now are only few operations... they can be called up with
the WKEY (the famous spare key :)
- if objects selected, a menu appears with choices
- if materials or textures selected, a meny appears to unlink them

If you make mixed or confusing selections you get a warning message.

TODO: add selection color in theme, and of course more operations.

------------------------------------------------------------------------
r3217 | ton | 2004-10-10 12:32:32 +0200 (Sun, 10 Oct 2004) | 13 lines

Small cleanups in circle select code.

Brought back two hacks from previous code:
- do an 'activate window' for each event that happens. this might be not
  needed, see below
- also set glReadbuffer at GL_FRONT for inverse draw

And added an escape out of circle select on INPUTCHANGE, when you activate
another window. So the old hack to activate current window might be
redundant.

Purpose for now; get reports solved about wrong circle selection drawing

------------------------------------------------------------------------
r3216 | bjornmose | 2004-10-09 22:49:55 +0200 (Sat, 09 Oct 2004) | 3 lines

fixed subdividing bug with addfacelist(..) rule for edges
still needs revision on bevel and rotate edge

------------------------------------------------------------------------
r3215 | bjornmose | 2004-10-09 22:46:29 +0200 (Sat, 09 Oct 2004) | 2 lines

added outline.c :)

------------------------------------------------------------------------
r3214 | stiv | 2004-10-09 07:41:03 +0200 (Sat, 09 Oct 2004) | 5 lines

bugfix: #1607  Missing entry in Lamp Types

added Lamp types 'Area' and 'Photon'.
updated docs.

------------------------------------------------------------------------
r3213 | ton | 2004-10-08 18:03:43 +0200 (Fri, 08 Oct 2004) | 10 lines

More outliner stuff;

- added Images in overview
- added Scripts in overview, if clicked it makes it active in open Text
  Window
- Padplus/Padminus keys now open one level deeper or less

- fix: Akey didn't really open all...
- fix: click on item of non-active scene, activates new scene

------------------------------------------------------------------------
r3212 | ton | 2004-10-08 11:27:08 +0200 (Fri, 08 Oct 2004) | 10 lines

Outliner options;

- Added in pulldown the current view commands, including the 'show
  hierachy' option, which shows only the full object tree
- You now can activate data by clicking on the hidden icons (displayed in
  a row of a collapsed item)
- Added selection and display of active NLA strips
- Cleanup; white text in outliner only for active object
- Made hierachy helplines 1 pixel wide and black, looks nicer

------------------------------------------------------------------------
r3211 | ton | 2004-10-08 00:50:21 +0200 (Fri, 08 Oct 2004) | 3 lines

Accidentally committed work in progress/experiment with panel tab colors.
Was not meant for cvs yet!

------------------------------------------------------------------------
r3210 | ton | 2004-10-07 23:45:04 +0200 (Thu, 07 Oct 2004) | 12 lines

More outliner features;

- Made visualization of object hierarchy more clear with lines; this
  solves the sometimes confusing mix of 'children objects' and
  'linked data'.
- Enter editmode on click, also shows editing context buttons
- SHIFT+click on a item closes/opens all below that item
- Added constraints and Hooks (watch fun icon!)

Note; global undo doesnt restore former view for outliner... it does not
save the GUI, remember? :)

------------------------------------------------------------------------
r3209 | stiv | 2004-10-07 21:25:40 +0200 (Thu, 07 Oct 2004) | 16 lines

Another step in the Big Bpy Cleanup.

- move static declarations and data definitions out of headers.
  the BGL module still need cleaning.

- move declarations out of modules.h and into appropriate .h files.
  modules.h still exists as a container for the few modules that
  need to #include almost everything.

- all files now have a $Id tag and have been formatted by indent

there are no changes to executable code.

pre-commit versions are tagged with bpy-cleanup-pre-20041007
for the sake of paranoia.

------------------------------------------------------------------------
r3208 | ton | 2004-10-07 18:16:03 +0200 (Thu, 07 Oct 2004) | 3 lines

Aie... changed a define and now the silly ENUM doesnt work. :)
Fixed!

------------------------------------------------------------------------
r3207 | ton | 2004-10-07 17:20:50 +0200 (Thu, 07 Oct 2004) | 3 lines

Updated icons file (png). Has selection mode icons, and grey versions for
outliner.

------------------------------------------------------------------------
r3206 | ton | 2004-10-07 17:20:08 +0200 (Thu, 07 Oct 2004) | 9 lines

- Outliner now sorts Objects alphabetically
  (i tried sort 'by type', but thats very unclear... need think over)
- Vertex Groups are visualized in Outliner (and selectable)
- Armature Bones are visualized & editable too

In general; Outliner now also supports indirect data (Structs with no ID)

- changed weirdo NLA icon into something that makes sense. (Thnx sten!)

------------------------------------------------------------------------
r3205 | ton | 2004-10-07 13:43:25 +0200 (Thu, 07 Oct 2004) | 7 lines

Typo in code that keeps undo tree on a maximum amount. Onnly happens when
the stack has undo elements from another object type, and when you edit
sufficient steps in editmode.

Crash tutorial by Bassam Kurdali, who was totally flabbergasted about it!
Thanks.

------------------------------------------------------------------------
r3203 | broken | 2004-10-07 05:04:20 +0200 (Thu, 07 Oct 2004) | 4 lines

Made the outliner use leftmouse (as it is right now for default
rightmouse select) for activating, expanding the tree, etc
regardless of the mouse button selection user pref.

------------------------------------------------------------------------
r3202 | ton | 2004-10-06 23:48:29 +0200 (Wed, 06 Oct 2004) | 6 lines

- Fix: enter/exit posemode used wrong pointer, could crash
- enter/exit posemode now updates outliner view too

- New: outliner option "Show same type". Shows only object types as
  current active one. Nice to browse all lamps, mballs, armatures, etc

------------------------------------------------------------------------
r3201 | ton | 2004-10-06 22:44:11 +0200 (Wed, 06 Oct 2004) | 8 lines

- Outliner: new items (on first show) come up collapsed now
- Outliner: click on Armature data goes in posemode

And long wanted, and found out is just a threeliner in code:

- Posemode: click-select-drag or grab-gesture switches to 'rotate'
  automatic when no bone can be translated.

------------------------------------------------------------------------
r3200 | jesterking | 2004-10-06 21:39:07 +0200 (Wed, 06 Oct 2004) | 2 lines

Added new files for outliner view in OOPS window

------------------------------------------------------------------------
r3199 | ton | 2004-10-06 21:26:33 +0200 (Wed, 06 Oct 2004) | 2 lines

Added #ifdef INTERNATIONAL around ftf call and include file...

------------------------------------------------------------------------
r3198 | ton | 2004-10-06 21:21:57 +0200 (Wed, 06 Oct 2004) | 7 lines

Last fix for previous commit;

New option "passepartout" for drawing a darkened area around viewborder
in Camera view. Provided by Wybren van Keulen.
Added button in F10 buttons, just above "DispView". Would like feedback
if this is a temporal or real feature :)

------------------------------------------------------------------------
r3197 | jesterking | 2004-10-06 21:14:42 +0200 (Wed, 06 Oct 2004) | 2 lines

Add #ifdef WIN32 block so outliner compiles on windows, too.

------------------------------------------------------------------------
r3196 | jesterking | 2004-10-06 21:04:11 +0200 (Wed, 06 Oct 2004) | 2 lines

add outliner.c so new outliner stuff gets actually compiled in :)

------------------------------------------------------------------------
r3195 | ton | 2004-10-06 21:00:36 +0200 (Wed, 06 Oct 2004) | 2 lines

Ack! And the 2 new files!

------------------------------------------------------------------------
r3194 | ton | 2004-10-06 20:55:00 +0200 (Wed, 06 Oct 2004) | 39 lines

Version 1.0 of the new Outliner

The outliner is a hierarchical diagram displaying a list of data in Blender
and its dependencies. The 'databrowse' doesn't really show it, and Oops is
too chaotic still. And most of all, the former two don't offer much tools.

After discussions on irc, Matt came with this design proposal;
http://mke3.net/blender/interface/layout/outliner/
Which is closely followed for the implementation.

The current version only shows all 'library data' in Blender (objects,
meshes, ipos, etc) and not the 'direct data' such as vertex groups or NLA.

I decided to make it inside the Oopw window, as an option. You can find the
option in the "View" pulldown, or directly invoke it with ALT+SHIFT+F9
Here's a quick overview of the Outliner GUI:

- Header pulldown has options what it can show (Visible = in current layers)
- click on triangle arrow to open/close
- press AKEY to open/close all
- Leftmouse click on an item activates; and does based on type a couple of
  extra things:
  - activates a scene
  - selects/activates the Object
  - enters editmode (if clicked on Mesh, Curve, etc)
  - shows the appropriate Shading buttons (Lamp, Material, Texture)
  - sets the IpoWindow to the current IPO
  - activates the Ipo-channel in an Action
- Selected and Active objects are drawn in its Theme selection color
- SHIFT+click on Object does extend-select
- Press DOTkey to get the current active data in center of view


TODO;
- rightmouse selection; for indicating operations like delete or duplicate
- showing more data types
- icon (re)design...
- lotsof options as described in Matts paper still...

------------------------------------------------------------------------
r3192 | sirdude | 2004-10-06 16:35:08 +0200 (Wed, 06 Oct 2004) | 6 lines



removed 3 unused vars.

Kent

------------------------------------------------------------------------
r3191 | jesterking | 2004-10-05 10:57:05 +0200 (Tue, 05 Oct 2004) | 2 lines

small update in naming scheme for cygwin

------------------------------------------------------------------------
r3190 | jesterking | 2004-10-05 09:50:49 +0200 (Tue, 05 Oct 2004) | 2 lines

enable 'scons release' for cygwin

------------------------------------------------------------------------
r3189 | ton | 2004-10-04 14:37:16 +0200 (Mon, 04 Oct 2004) | 7 lines

Cleanup of Rounded Theme;

- pixel aligned clean AntiAliased outlines
- menu decoration integrated

And a fix for not drawing menu menubuttons pressed when clicking

------------------------------------------------------------------------
r3188 | stiv | 2004-10-04 06:35:52 +0200 (Mon, 04 Oct 2004) | 2 lines

correct doc error for Curve.getControlPoint()

------------------------------------------------------------------------
r3187 | ton | 2004-10-03 22:45:31 +0200 (Sun, 03 Oct 2004) | 2 lines

Ack, buttons calling a pop up menu didnt flush!

------------------------------------------------------------------------
r3186 | ton | 2004-10-03 22:02:22 +0200 (Sun, 03 Oct 2004) | 8 lines

Fix for new UI system and vertexpaint/faceselect/weightpaint/texturepaint

If backbuffer is in use for selection codes, the system switches back to
frontbuffer drawing temporally. Is easier solution now.

Next commit; fix for new 'zbuffer clipped selection', which also doesnt
work after using a pulldown or popup menu.

------------------------------------------------------------------------
r3185 | ton | 2004-10-03 18:54:05 +0200 (Sun, 03 Oct 2004) | 6 lines

Test for people which copybuffer method is best.

G.rt==2: uses a glReadPixel and glDrawPixel together

Otherwise it uses glCopyPixel (supposed to be faster :)

------------------------------------------------------------------------
r3184 | ton | 2004-10-03 15:49:54 +0200 (Sun, 03 Oct 2004) | 30 lines

Lots of small changes, all for UI in Blender;

----- Killed UI frontbuffer draw
The interface toolkit was drawing all live updates (while using menus/buttons)
in the frontbuffer. This isn't well supported cross-platform, so time to be
killed once. Now it uses *only* glReadPixels and glCopyPixels for frontbuffer
access.

Live updates or menus now are drawn in backbuffer always, and copied to
front when needed.

NOTE: it was tested, but needs thorough review! On PC systems I suspects
backbuffer selection to screw up (check!). On SGI/SUN workstations it
should work smooth; but I need evidence

----- Smaller fixes;

- AA fonts were garbled on ATI systems. Now the AA fonts are drawn exact
  on pixel positions. Needs the new FTGL libb too, patch is on maillist
- Rounded theme uses antialiased outlines
- Pulldown and popup menus have nice softshadow now
- New button type 'PULLDOWN', thats the one that callsup a pulldown menu.
  Should be added to themes, as is the full menu/pulldown drawing
- Screendump for 1 window does the full window now, including header
- Empty pulldowns (for example running blender without scripts) give no
  drawing error anymore

For review & fun;
- added curved lines as connectors, for Oops window

------------------------------------------------------------------------
r3182 | jesterking | 2004-10-01 23:48:46 +0200 (Fri, 01 Oct 2004) | 2 lines

Projectfile (MSVC 7.0) update for new softbody files

------------------------------------------------------------------------
r3181 | theeth | 2004-10-01 17:23:41 +0200 (Fri, 01 Oct 2004) | 2 lines

Projectfile (MSVC 6.0) update for new softbody files

------------------------------------------------------------------------
r3180 | ton | 2004-10-01 16:49:38 +0200 (Fri, 01 Oct 2004) | 4 lines

Accidentally previous commit went out, while i tried to abort it. :)
This is a fix for propert circular clipping for circleselect, when it
uses backbuffer selecting

------------------------------------------------------------------------
r3179 | ton | 2004-10-01 16:48:12 +0200 (Fri, 01 Oct 2004) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r3178 | ton | 2004-10-01 16:10:30 +0200 (Fri, 01 Oct 2004) | 2 lines

Added 2 files for softbody plus sconscript!

------------------------------------------------------------------------
r3177 | ton | 2004-10-01 16:04:17 +0200 (Fri, 01 Oct 2004) | 39 lines

OK. Here's the long awaited first step (V0.01!) of SoftBody. It is called
from within mesh_modifiers (kernel deform.c). It copies vertices to a
temporal particle system (struct SoftBody with BodyPoint structs) to do
physics tricks with it.

For each frame change the delta movements (based on standard ipo anim or
even other deforms (later) are applied to the physics system. How to apply
and calculate satisfying results is not my thing... so here I'll commu-
nicate with others for.

Since it's in the modifier stack, the SoftBody code can run entirely on
original data (no displists!).

Right now I've implemented 2 things;

- "Goal" which is a per vertex value for how much the current position
  should take into account (goal=1 is without physics). This is a powerful
  method for artists to get control over what moves and not. Right now i
  read the vertex color for it.
- And some spring stuff, which now only works based on force moving it to
  the originial location. This doesnt work with 'goal'... erhm.

- You can re-use physics vars from engine, used right now is (in Object)
  - damping
  - springf (spring factor)
  - softflag (to set types, or activate softbody for it

- The SoftBody pointer in struct Object is only runtime, nothing saved in
  file

To prevent all users going to complain it doesn't work, I've hidden the
functionality. :)
The buttons to set softbody 'on' only show now (psst psst) when the object has
name "soft" as first 4 characters. You can find the buttons in the F7 Particle
Interaction Panel (which should be renamed 'physics properties' later or so.

Demo file:
http://www.blender.org/bf/softbody.blend

------------------------------------------------------------------------
r3176 | ton | 2004-10-01 12:10:09 +0200 (Fri, 01 Oct 2004) | 5 lines

Header redraw added for 'select mode menu'. Also checked more files for it.

Reminder, the allqueue() function needs as last arg a '1' if you want header
to be refreshed too!

------------------------------------------------------------------------
r3175 | ton | 2004-10-01 11:54:47 +0200 (Fri, 01 Oct 2004) | 5 lines

- fixed error in lasso select (evaluated lasso coords one too many!)
- made ctrl+tab menu for selectmode only pop up in editmode mesh
- changed lasso code in zbuffer-select mode, that it also accepts lines
  as lasso

------------------------------------------------------------------------
r3174 | ton | 2004-10-01 09:51:12 +0200 (Fri, 01 Oct 2004) | 12 lines

- Improved memory system for pupmenu(), which now stores 255 entries max.
  Meaning menus come back to previous selection almost always. Also fixed
  annoying bug that caused Mirror menu (M in editmode) to start at 2nd item

- New hotkey (test :) CTRL+TAB in editmode gives (and shows!) current
  selectmode. I prefer this over cycling, since the menu is informing you
  what happens.

- To enforce pupmenus to start at specific item, use pupmenu_set_active()

- pupmenu_col() to be done

------------------------------------------------------------------------
r3172 | stiv | 2004-10-01 07:28:14 +0200 (Fri, 01 Oct 2004) | 4 lines

Tweak the bpy 'import site failed' msg.
A half-hearted attempt to make the World's Scariest Warning Msg
just a tad less scary.

------------------------------------------------------------------------
r3171 | ton | 2004-10-01 00:29:19 +0200 (Fri, 01 Oct 2004) | 6 lines

- Made the 'zbuf clip select' in editmode default when reading on old file
- Added transparent wires in solid draw for editmmode, to denote selecting
  clicks "through". Switching this and the zbuf-clip mode is actually nice!

- little annoyance; removed object centerpoint drawing in editmode.

------------------------------------------------------------------------
r3170 | ton | 2004-09-30 22:38:35 +0200 (Thu, 30 Sep 2004) | 7 lines

Recoded how 'handles' were implemented; these were extra wireframe edges
actually, adding vertices and edges to displist.

Now the subsurfer gives editvertices a pointer to the subsurfed vertex
location; allowing not only vertices in 'optimal' draw to show correct, but
also gives proper handling of borderselect and lasso for edges. :)

------------------------------------------------------------------------
r3169 | jiri | 2004-09-30 20:04:25 +0200 (Thu, 30 Sep 2004) | 4 lines



- Added undo menu for MetaBalls in edit mode

------------------------------------------------------------------------
r3168 | ton | 2004-09-30 18:35:40 +0200 (Thu, 30 Sep 2004) | 8 lines

Solved crash with;
- linked duplicate mesh
- subsurf on
- subdiv levels at 0
- new selectmode face + select clipping

Also found error in backbface draw when faces were hidden

------------------------------------------------------------------------
r3167 | ton | 2004-09-30 16:27:20 +0200 (Thu, 30 Sep 2004) | 16 lines

Special request; Lasso Select (thanks andy for nagging! :)
Is committed now for further test;

What works:
- Hold CTRL while leftmouse-draw (gesture) for lasso-select
- Hold also SHIFT for lasso-deselect
- In Object mode it only selects on object centers now
- In Mesh edit mode it works on same level as borderselect

Not:
- other editmodes or objects in general

Also fixed crash with circle-selecting outside of window edge.
Also put back wire-extra draw for curves (previous trial broke mball wire)
Turned borderselect, circle, lasso into dashed lines for visual language.

------------------------------------------------------------------------
r3166 | jesterking | 2004-09-30 16:09:17 +0200 (Thu, 30 Sep 2004) | 2 lines

wrong name!

------------------------------------------------------------------------
r3165 | jesterking | 2004-09-30 14:48:56 +0200 (Thu, 30 Sep 2004) | 2 lines

add editmesh_undo.c and windowTheme.c/h so everything links nicely again

------------------------------------------------------------------------
r3164 | ton | 2004-09-30 00:29:43 +0200 (Thu, 30 Sep 2004) | 8 lines

Patch/proposal from matt ebb: on changes in material color/shading or lamp
it redraws 3d window appropriate. That it didnt do that was again some
convention from 1995 :)
Result is actually very nice, with cool visual feedback.

I've coded it very friendly, with checks for minimal redraws to do. If thats
still giving interactive flow issues, let me know!

------------------------------------------------------------------------
r3163 | jiri | 2004-09-30 00:28:14 +0200 (Thu, 30 Sep 2004) | 4 lines



- added support for MetaBall undo in edit mode (Ctrl-Z ... undo) (Ctrl-Y/Ctrl-Shift-Z ... redo)

------------------------------------------------------------------------
r3162 | jiri | 2004-09-30 00:22:51 +0200 (Thu, 30 Sep 2004) | 5 lines



- Fixed some small bug due to one of previous commit.
  MetaBalls are displayed correctly in wireframe mode again

------------------------------------------------------------------------
r3161 | ton | 2004-09-29 23:44:12 +0200 (Wed, 29 Sep 2004) | 4 lines

- Previous commit broke selection of non-subsurf meshes :)
- fixed crash reported by SimonC on linked dupli meshes, editmode, set
  subsurf on, crash...

------------------------------------------------------------------------
r3160 | ton | 2004-09-29 23:11:13 +0200 (Wed, 29 Sep 2004) | 7 lines

Two small fixes;

- draw extra wire on solid displayed curve objects (cyclic filled curves)
  now doesnt draw wires of filled faces
- set glPolygonOffset much more narrow now, since we dont need it for zbuf
  value selecting

------------------------------------------------------------------------
r3159 | ton | 2004-09-29 22:38:23 +0200 (Wed, 29 Sep 2004) | 4 lines

- Removed printf from previous commit
- fixed small counter error in backbuffer color codes, when edge+faces
are drawn

------------------------------------------------------------------------
r3158 | ton | 2004-09-29 22:04:51 +0200 (Wed, 29 Sep 2004) | 3 lines

Added code to selection-flush to make sure fgons are selected/deselected
when changing vertex/edge selection

------------------------------------------------------------------------
r3157 | stiv | 2004-09-29 20:24:08 +0200 (Wed, 29 Sep 2004) | 5 lines

fix doc errors pointed out by wavk:
get/setMode() should be get/setFlag(), bitfield order was incorrect.

spellchecked Curve.py.

------------------------------------------------------------------------
r3156 | ton | 2004-09-29 20:08:04 +0200 (Wed, 29 Sep 2004) | 6 lines

Pooh pooh! This backbuffer system for selection codes works much easier on
osx with AUX buffers, than on other systems with GL_BACK buffer...

Now i've added a check in force_draw to also redraw the backbuffer, if
needed. ANother weak point in the sublooping system in blender.

------------------------------------------------------------------------
r3155 | sirdude | 2004-09-29 19:30:52 +0200 (Wed, 29 Sep 2004) | 9 lines



Removed those files because they were empty and were added for autoconf
crap ;)  Also removed last vestages of autoconf stuff from the INSTALL doc
I'm going to attempt an update of the INSTALL doc sometime in the next 2
weeks that will be more extensive.

Kent

------------------------------------------------------------------------
r3154 | ton | 2004-09-29 18:44:16 +0200 (Wed, 29 Sep 2004) | 4 lines

Fix for reported error in circle selection...
It had a clumsy if() check... meaning it went to normal selection mode
when zbuffer-clipped selection failed.

------------------------------------------------------------------------
r3153 | sirdude | 2004-09-29 18:27:12 +0200 (Wed, 29 Sep 2004) | 7 lines



Added Dump 3dView and Dump Screen to the File menu
with their shortcuts.

Kent

------------------------------------------------------------------------
r3152 | ton | 2004-09-29 13:32:08 +0200 (Wed, 29 Sep 2004) | 3 lines

Found potential crash in undo for Curve/Surface; the global var "lastnu"
wasn't restored on undo.

------------------------------------------------------------------------
r3151 | ton | 2004-09-29 12:49:19 +0200 (Wed, 29 Sep 2004) | 7 lines

Two fixes;

- borderselect draws cleaner info in bottom/left corner window
- OGL render (in view3d header) option didn't work on successive renders.
  was due to removing hack that reopened the window each time. But now it
  needed to be assigned correctly to blender's 'mywindow' system.

------------------------------------------------------------------------
r3150 | ton | 2004-09-29 00:05:16 +0200 (Wed, 29 Sep 2004) | 3 lines

Borderselect and circleselect now use backbuffer method too.
Maybe its time to make this a default now?

------------------------------------------------------------------------
r3149 | ton | 2004-09-28 22:59:14 +0200 (Tue, 28 Sep 2004) | 2 lines

Removed nantechnologies from identifierstring :)

------------------------------------------------------------------------
r3148 | ton | 2004-09-28 18:18:22 +0200 (Tue, 28 Sep 2004) | 6 lines

Cleaned the apply deform code in Blender. Now also using the modifier code.
Right now, it works for Meshes (all deformers including Curve) and for
Curve/Surfaces (only hooks).

More follows.

------------------------------------------------------------------------
r3147 | ton | 2004-09-28 16:53:44 +0200 (Tue, 28 Sep 2004) | 3 lines

Last of the beautifying for subsurf+optimal editing; selectmode 'face' now
draws on click the optimal outline correctly

------------------------------------------------------------------------
r3146 | ton | 2004-09-28 15:58:23 +0200 (Tue, 28 Sep 2004) | 8 lines

Crash fix;
- wireframe view
- editmode cube
- subsurf + optimal on
- set new selectmode 'face'

thanks sirdude & sgefant!

------------------------------------------------------------------------
r3145 | ton | 2004-09-28 14:04:10 +0200 (Tue, 28 Sep 2004) | 5 lines

More maintenance due to new selection code;

- fgons draw correctly again in face selectmode
- on select, fgons dont draw wrong selection dot

------------------------------------------------------------------------
r3144 | ton | 2004-09-28 13:19:57 +0200 (Tue, 28 Sep 2004) | 5 lines

Two small fixes thanks to test:
- backbuf draw vertices did still use pointsize 1.0, making them hard to
  select
- wire frontbuf draw on select used un-initialized color

------------------------------------------------------------------------
r3143 | ton | 2004-09-28 12:50:22 +0200 (Tue, 28 Sep 2004) | 2 lines

Changed valence rule for edgeloop, so it treats fgons OK.

------------------------------------------------------------------------
r3142 | ton | 2004-09-28 12:16:13 +0200 (Tue, 28 Sep 2004) | 3 lines

Eek! Commit for 'making transform aware for mesh select mode' caused all
other editmodes to crash in transform()!

------------------------------------------------------------------------
r3141 | ton | 2004-09-28 11:43:37 +0200 (Tue, 28 Sep 2004) | 17 lines

Recode of 'zbuffer selection'. I first was too afraid using the backbuffer
selection method, since there's too much trash in drawobject.c and displists...
But, I couldn't stand the zbuf selection to miss edges too often. Right now
both methods are still in the code, and can be reviewed.

Please note for test:
- borderselect and circle-select still use old method
- new selection works directly on faces & edges
- subsurf optimal draw and selection works fine now

To detect the closest vertex or edge, i use the old 'spiral selection' code,
which is extremely accurate. If your mouse is close to an edge, it should
find it.

Most evidently I need to test speed... also, the disadvantage of backbuf
selection is the limited depth, which can be 16 bits (65 k faces) on systems.

------------------------------------------------------------------------
r3140 | broken | 2004-09-28 07:04:55 +0200 (Tue, 28 Sep 2004) | 3 lines

Picky, picky: Removed the question mark from the end of
'Quit Blender?' as per language guidelines

------------------------------------------------------------------------
r3139 | stiv | 2004-09-28 01:04:10 +0200 (Tue, 28 Sep 2004) | 3 lines

fully qualify variable names to fix bug under Solaris.
reported by Casey Corn.

------------------------------------------------------------------------
r3138 | ton | 2004-09-27 22:19:16 +0200 (Mon, 27 Sep 2004) | 3 lines

- fixed error in copying selection from faceselectmode to editmode
- removed ancient convention that switches to wire then

------------------------------------------------------------------------
r3137 | ton | 2004-09-27 21:22:15 +0200 (Mon, 27 Sep 2004) | 9 lines

Faceloop select recoded, also nonmodal (no loop). It works by clicking with
ALT on an edge, in face-select mode. Holding shift again extends selection.

Current UI access can need rethink though. But I also think the loop tools
deserve to be accessible without menu, for speed/workflow. So what's good
shortcuts!

BTW: both tools don't do triangle meshes (yet)

------------------------------------------------------------------------
r3136 | ton | 2004-09-27 19:05:30 +0200 (Mon, 27 Sep 2004) | 7 lines

Added edgeloop selection as mode-less loop-less option.
Hotkey: ALT+select (ALT+CTRL for single button mouse)

Hold shift to extend selection, or to deselect

It correctly does edges on boundaries and loose edges too.

------------------------------------------------------------------------
r3135 | ton | 2004-09-27 17:08:12 +0200 (Mon, 27 Sep 2004) | 3 lines

Transform() now is edge/face selection aware too.
Theeth; i've done the changes as local as possible, and lotsa comments :P

------------------------------------------------------------------------
r3134 | ton | 2004-09-27 12:39:18 +0200 (Mon, 27 Sep 2004) | 3 lines

Bug fix: on scene append of curve deformer displist causes crash...
Crash is solved now, but create displist fails.

------------------------------------------------------------------------
r3133 | ton | 2004-09-27 12:12:45 +0200 (Mon, 27 Sep 2004) | 15 lines

- improvement for edge/face select
  - edges now sample on three locationsm gives more hits
  - own version of glPolygonOffset remains cumbersome... but for select
    now the selection routine gets more offset than draw.

- first attempt to clean drawobject.c and displists
  - generic call for draw object in backbuf for select purposes, cleans up
    a lot in the other calls.
  - also to verify if we can (in future) use this for vertex/edge/face
    select, but the whole drawobject code works against me... this is
    for another refactory (incl. displist) and out of the focus for now

- subsurf.c: now creates new faces in order of original. Not used yet, but is
  handy to recover the original order for selection/paint purposes.

------------------------------------------------------------------------
r3132 | ton | 2004-09-26 21:55:02 +0200 (Sun, 26 Sep 2004) | 9 lines

New drawmethod for creases editing (draw creases option) in editmode.
http://www.blender.org/bf/rt3.jpg

It draws a 2 pixel line, growing from center of edge, to denote sharpness.
This works nicely with the new selection modes.

Please note that subsurf-optimal still draws original edge then... but
this didnt work before neither. :)

------------------------------------------------------------------------
r3131 | ton | 2004-09-26 20:33:29 +0200 (Sun, 26 Sep 2004) | 3 lines

Fix for the beloveled bevel. ;)
Still could use cleanup for flags though.

------------------------------------------------------------------------
r3130 | ton | 2004-09-26 19:53:21 +0200 (Sun, 26 Sep 2004) | 6 lines

Two bugs:

- when adding creases in editmode, and separating that part, displists
  did weird things... separate is hackish anyway
- draw faces (transparant) didnt do triangles correctly

------------------------------------------------------------------------
r3129 | ton | 2004-09-26 19:15:52 +0200 (Sun, 26 Sep 2004) | 13 lines

New strict 'hide' rules for editmesh & new selectmodes

- vertex hidden, always means edge is hidden too
- edge hidden, always means face is hidden too
- face hidden, only means face hides

This means, that in face mode you can hide a face, whilst in edge mode
the edges will still display.

Please note, that when you have no edges saved in a Mesh, it also doesnt
store the hide flags for it, causing in/out editmode too reset hidden
edges.

------------------------------------------------------------------------
r3128 | ton | 2004-09-26 16:22:54 +0200 (Sun, 26 Sep 2004) | 3 lines

Quick commit to fix crash in hide option editmode subsurf... the hide flags
still are not doing it OK... later!

------------------------------------------------------------------------
r3127 | ton | 2004-09-26 15:45:25 +0200 (Sun, 26 Sep 2004) | 4 lines

Added initialize code for zbuffer-select option, where it reads larger
parts of zbuffer on border/circle select.
Should speed up quite some.

------------------------------------------------------------------------
r3126 | ton | 2004-09-26 15:44:15 +0200 (Sun, 26 Sep 2004) | 3 lines

Fix for crashes when mixed faces/edges were hidden. Not all combos were
correctly checked on in subsurf.c

------------------------------------------------------------------------
r3125 | jesterking | 2004-09-26 12:56:38 +0200 (Sun, 26 Sep 2004) | 2 lines

indentation commit -> use hard tabs (as decided in meeting)

------------------------------------------------------------------------
r3124 | jesterking | 2004-09-26 12:42:16 +0200 (Sun, 26 Sep 2004) | 2 lines

Correct lib order for linuxers.

------------------------------------------------------------------------
r3123 | jesterking | 2004-09-26 11:14:46 +0200 (Sun, 26 Sep 2004) | 2 lines

user_options_dict from appit() were missing bs_globals.

------------------------------------------------------------------------
r3122 | jesterking | 2004-09-25 22:45:44 +0200 (Sat, 25 Sep 2004) | 4 lines

note to all: actually adding+commited new files does help a lot.

:]

------------------------------------------------------------------------
r3121 | jesterking | 2004-09-25 22:44:57 +0200 (Sat, 25 Sep 2004) | 4 lines

This commit makes a structural change to SConstruct. Many of the functionality for it has been split of in a new package bs. This structural change is in preperation for changes Michel has planned against the option jungle.

More information on the wiki: http://wiki.blender.org/bin/view.pl/Blenderdev/SconsRefactoring

------------------------------------------------------------------------
r3120 | stiv | 2004-09-25 22:30:40 +0200 (Sat, 25 Sep 2004) | 9 lines

Another round in the Great BPy Cleanup:
Run everything thru indent to cleanup spaces vs tabs.
Clean up some of the comments by hand.
BGL.c was not touched due to all that macro wackyness.

There are no functional changes to the code.
Pre-indent versions of source are tagged with
tag bpy-cleanup-20040925 , just in case.

------------------------------------------------------------------------
r3119 | ton | 2004-09-25 19:57:46 +0200 (Sat, 25 Sep 2004) | 6 lines

Two more fixes:

- face centers didnt recalculate at vertex-smooth, vertex-sphere and so
- on edge extrude (meaning the new faces), it now copies face data (material
  index, smooth, tface) from the face that shared an edge

------------------------------------------------------------------------
r3118 | ton | 2004-09-25 18:38:51 +0200 (Sat, 25 Sep 2004) | 5 lines

Integer version of glReadBuffer with GL_DEPTH_COMPONENT...
reported were errors with ati-linux on using float here.

Code is still there, and can be easily switched back (  if(0) or if(1) !)

------------------------------------------------------------------------
r3117 | ton | 2004-09-25 18:07:16 +0200 (Sat, 25 Sep 2004) | 2 lines

Option 'all edges' didnt work anymore... fixed

------------------------------------------------------------------------
r3116 | ton | 2004-09-25 17:15:26 +0200 (Sat, 25 Sep 2004) | 4 lines

Zbuf-selection fix: while drawing vertices, it accepted writing in zbuf
for it too... giving (sometimes) no selection, and possible for linux the
solution too!

------------------------------------------------------------------------
r3115 | ton | 2004-09-25 16:21:09 +0200 (Sat, 25 Sep 2004) | 5 lines

Two small fixes for previous commit;

- new zbuf-clipped select was always on
- drawing the 'floor' now doesnt write in zbuffer when in editmode

------------------------------------------------------------------------
r3114 | ton | 2004-09-25 15:42:31 +0200 (Sat, 25 Sep 2004) | 15 lines

Two nice workflow improvements;

- Zbuffer clipped selection
Based on same algos as for drawing (blender polygon offset) vertices, edges
and faces now are clipped for draw and selection when Zbuffer is used.
Note that it works for endpoint vertices of edges, and for facecenters.
Also works for border and circle-select

- Optimal draw subsurfs
This now draws optimal with faces and edges selected/unselected, hiding the
original 'cage' (mesh) completely.
TODO: edge select, which still uses original (invisible) edge.

http://www.blender3d.org/cms/Mesh_editing_rewrite.425.0.html

------------------------------------------------------------------------
r3113 | ton | 2004-09-24 20:17:23 +0200 (Fri, 24 Sep 2004) | 10 lines

All kinds of fixes for new selection modes

- circle-select now works
- delete options for edge/face select work as to be expected.
  should check on a better set of choices in menu though
- assign material / select material options work for new modes
- shift+f fill didnt leave proper select flags...
- border select on face-gones (fgons) works
- 'draw normals' and fgons works now

------------------------------------------------------------------------
r3112 | ton | 2004-09-24 18:06:20 +0200 (Fri, 24 Sep 2004) | 11 lines

New: Fake Polygons, or Face-polygons, or FGons nicked for now.
Just select a bunch of faces (selection should be valid flat poly) and
press FKEY. Works in fact as selection-group optimizing. Nice in solid
drawmode!

Further some small additional fixes in the whole debugging process.
Found old error in loopselect for triangles, subdivision code, and
selection still.

NOTE: subdivide still works on vertex level only.

------------------------------------------------------------------------
r3111 | ton | 2004-09-24 14:58:21 +0200 (Fri, 24 Sep 2004) | 2 lines

Eek, no headerfiles for last commit...

------------------------------------------------------------------------
r3110 | ton | 2004-09-24 14:40:37 +0200 (Fri, 24 Sep 2004) | 9 lines

- basic code for fake-polygon support (called FGon in code). Disabled now
- hide flags now save correctly in mesh, to restore after going in/out
  editmode
- after an extrude, faces/edges could have wrong select flags
  (only in vertex select mode)
- new rule for addfacelist(); this now copies edges too, if an example
  is provided. That prevents a lot of awkward code, still testing if it
  goes as desired though...

------------------------------------------------------------------------
r3109 | broken | 2004-09-24 13:45:42 +0200 (Fri, 24 Sep 2004) | 3 lines

Fixed bug #1581, toolbox wasn't correctly opening the edit mode
transform properties panel.

------------------------------------------------------------------------
r3108 | ton | 2004-09-24 11:51:16 +0200 (Fri, 24 Sep 2004) | 3 lines

Very bad typo, causing wrong blocks to be freed when the undostack is
full. Gives crashes on exit...

------------------------------------------------------------------------
r3107 | theeth | 2004-09-24 01:05:13 +0200 (Fri, 24 Sep 2004) | 3 lines

Ack! Commited one projectfile with a link to transform.c (not yet in cvs).
Fixed

------------------------------------------------------------------------
r3106 | theeth | 2004-09-24 01:03:19 +0200 (Fri, 24 Sep 2004) | 2 lines

MSVC 6.0 projectfiles fixes for new editmesh and bpython files.

------------------------------------------------------------------------
r3105 | ton | 2004-09-24 00:54:18 +0200 (Fri, 24 Sep 2004) | 2 lines

Fix for loopcut, didn't work after reconstruct...

------------------------------------------------------------------------
r3104 | ton | 2004-09-24 00:17:52 +0200 (Fri, 24 Sep 2004) | 6 lines

Three bugfixes, thnx to irc testing! :)

- separate crashed
- wrong button for 'face dot' theme
- deselect vertex on mouseclick didnt work

------------------------------------------------------------------------
r3102 | jesterking | 2004-09-23 23:27:16 +0200 (Thu, 23 Sep 2004) | 2 lines

make sure this also builds on Windows.

------------------------------------------------------------------------
r3101 | ton | 2004-09-23 23:06:56 +0200 (Thu, 23 Sep 2004) | 3 lines

Little thing; added recalc normals after subdivide, for face centers.
We have to check on this all over very well.

------------------------------------------------------------------------
r3100 | ton | 2004-09-23 22:52:51 +0200 (Thu, 23 Sep 2004) | 121 lines

EditMesh refactory + undo recode

The changelog is very long... it's on the web too:
http://www.blender3d.org/cms/Mesh_editing_rewrite.425.0.html

EditMesh refactor notes (user)

**** New selection modes

When entering Edit Mode for a Mesh, you now have the choice for three selection modes. These are shown as icons in the 3D header (hotkey is being searched for!).

- Vertex Select
Select vertices as usual, fully compatible with how previous version work

- Edge Select
Vertices are not drawn anymore, and selections happen by default on the edges. It is a true edge select, meaning that you can select three out of four edges in a face, without automatic having the 4th edge selected.

- Face Select
Instead of vertices, now selection 'points' are drawn in the face centers. Selected faces also get a colored outline, like for edges. This also is true face select, for each face individual regardless selection status of its vertices or edges.

While holding SHIFT, and press a selection mode, you can also combine the above choices. Now selection becomes mixed, and will behave as expected.
For example; in Edge+Face select mode, selecting the 4 edges of a face will select the face too.

The selection modes and optional drawing modes (like transparant faces, normals, or solid drawing) all work together. All of Blender's mesh editing tools now react to the correct selection mode as well.
Most noticeable it's in:

**** Extrude

Extruding in Edge or Face Select mode allows much more precise control over what's extruded and what should be excluded. Try for example a checker pattern selection, and extrude it.

New is the fixed translation when faces are extruded. This always follows the (averaged) face normal(s) of the old face(s), enabling much easier working in 3D views . A single 'G' (Grab) or 'R' (Rotate) or 'S' (Scale) will change transform modus as usual.

**** Other things to note

- Hiding edges/faces will also behave different based on Select Mode.
- while editing, normals of faces are updated always now
- Border select (BKEY) has 2 different rules for edges; when one edge is fully inside of the border, it will only select edges that are fully inside. Otherwise it selects each edge intersecting with the border.
- in face mode, adding vertices, edges or a circle is invisible...
- "Add monkey" now works as a normal primitive (rotated and on 3d cursor)
- Mesh undo was fully recoded, hopefully solving issues now with Vertex Keys and Groups
- Going in and out of editmode was fully recoded. Especially on larger models you'll notice substantial speed gain.

**** Todo

Add 'FaceSelect mode' functionality in EditMode, including zbuffered selection, display and editing of UV texture.


EditMesh refactor notes (coder)

**** Usage of flags in general
The "->f" flags are reserved for the editmesh.c and editmesh_lib.c core functions. Actually only selection status is there now.
The "->f1" and "->f2" flags are free to use. They're available in vertex/edge/face structs. Since they're free, check carefully when calling other functions that use these flags... for example extrude() or subdivide() use them.

**** Selection flags
EditVert: eve->f & SELECT
EditEdge: eed->f & SELECT
EditFace: efa->f & SELECT

- Selection is only possible when not-hidden!
- Selection flags are always up-to-date, BUT:
  if selection mode >= SELECT_EDGE vertex selection flags can be incorrect
  if selection mode == SELECT_FACE vertex/edge selection flags can be incorrect
  This because of shared vertices or edges.

- use for selecting vertices:
  eve->f &= SELECT
- use for selecting edges always:
  void EM_select_edge(eed, 1)  // 1 = select, 0 = deselect
- use for selecting faces always:
  void EM_select_face(efa, 1)  // 1 = select, 0 = deselect

- To set the 'f' flags in all of the data:
  void EM_set_flag_all(int flag);
  void EM_clear_flag_all(int flag);

- the old faceselectedOR() and faceselectedAND() are still there, but only
  to be used for evaluating its vertices

**** Code hints for handling selection

If the selectmode is 'face'; vertex or edge selections need to be flushed upward. Same is true for 'edge' selection mode. This means that you'll have to keep track of all selections while coding... selecting the four vertices in a face doesn't automatically select the face anymore.

However, by using the above calls, at least selections flush downward (to vertex level). You then can call:

void EM_selectmode_flush(void);

Which flushes selections back upward, based on the selectmode setting. This function does the following:

- if selectmode 'vertex': select edges/faces based on its selected vertices
- if selectmode 'edge': select faces based its selected edges

This works fine in nice controlled situations.

However, only changing the vertex selections then still doesn't select a face in face mode! If you really can't avoid only working with vertex selections, you can use this call:

void EM_select_flush(void);

Now selection is flushed upward regardless current selectmode. That can be destructive for special cases however, like checkerboard selected faces. So use this only when you know everything else was deselected (or deselect it). Example: adding primitives.


**** Hide flags
EditVert: eve->h
EditEdge: eed->h
EditFace: efa->h

- all hide flags are always up-to-date
- hidden vertices/edges/faces are always deselected. so when you operate on selection only, there's no need to check for hide flag.

**** Unified undo for editmode

New file: editmode_undo.h
A pretty nice function pointer handler style undo. Just code three functions, and your undo will fly! The c file has a good reference.

Also note that the old undo system has been replaced. It currently uses minimal dependencies on Meshes themselves (no abuse of going in/out editmode), and is restricted nicely to editmode functions.

**** Going in/out editmode

As speedup now all vertices/faces/edges are allocated in three big chunks. In vertices/faces/edges now tags are set to denote such data cannot be freed.

ALso the hashtable (lookup) for edges uses no mallocs at all anymore, but is part of the EditEdge itself.

------------------------------------------------------------------------
r3099 | jiri | 2004-09-21 11:09:58 +0200 (Tue, 21 Sep 2004) | 5 lines



- Cam fixed bug reported by Manuel Bastioni (thanks)
- I fixed one bug too.

------------------------------------------------------------------------
r3098 | ianwill | 2004-09-21 07:28:17 +0200 (Tue, 21 Sep 2004) | 12 lines

- Blender: added option 'scriptsdir' to Blender.Get();
- small updates to the docs;
- Object: small fix to getMatrix: check during_script() to avoid undesired loops; added old behavior (pre 2.34) as option: .getMatrix('oldlocal');
- tentative fix for bug #1275: scene REDRAW scriptlinks were not being executed (the call to do so was missing):
http://projects.blender.org/tracker/index.php?func=detail&aid=1275&group_id=9&atid=125
    added the call in drawview.c, in drawview3dspace().  This causes the scriptlink to be called for each visible view3d, but that's what happens with object redraw scriptlinks, too.  Anyway, this is still a test.  The place was chosen based on the idea that a scene redraw scriptlink is like an object redraw one, but for all objs in the scene at once.

- Window.Theme: new submodule, to get/set theme options in Blender;
- Added the script save_theme.py (Help menu for now), to save the current theme in Blender as an executable script (currently shown in the Scripts->Misc menu).

There's more work to do for themes, like defining a proper place for them in the interface, adding documentation (for now the added script and the ones it generates can give a pretty good idea of how to use the new module), probably extending themes to support SpaceScript and so on.

------------------------------------------------------------------------
r3097 | broken | 2004-09-21 06:09:07 +0200 (Tue, 21 Sep 2004) | 3 lines

Added Hos' NLA move up/down to the NLA Strip menu. Also enabled
'Strip Properties' there again.

------------------------------------------------------------------------
r3096 | broken | 2004-09-21 05:35:36 +0200 (Tue, 21 Sep 2004) | 3 lines

Added the panel context choices in the 'Panels' menu (buttons
window). Helps for vertical layouts where the tabs are off screen.

------------------------------------------------------------------------
r3095 | eeshlo | 2004-09-21 01:59:09 +0200 (Tue, 21 Sep 2004) | 5 lines

test commit
Bugfix for anim crash with xml export and no export dir set.
Alternate relative path using blender function, but wouldn't be surprised
if it still is a problem in some cases for some (windows) users.

------------------------------------------------------------------------
r3094 | stiv | 2004-09-20 18:22:32 +0200 (Mon, 20 Sep 2004) | 5 lines

New bpy method for World module to set World for current scene:
	my_world.makeActive()

Contributed by Campbell Barton (ideasman)

------------------------------------------------------------------------
r3093 | kester | 2004-09-20 12:41:16 +0200 (Mon, 20 Sep 2004) | 2 lines

Fix link ordering for blenderplayer.

------------------------------------------------------------------------
r3092 | theeth | 2004-09-19 21:27:57 +0200 (Sun, 19 Sep 2004) | 4 lines

Matt's lamp submenu.

And reorganized the #includes in editobject by "modules"

------------------------------------------------------------------------
r3091 | ton | 2004-09-19 19:44:20 +0200 (Sun, 19 Sep 2004) | 6 lines

Removed all calls to object_wave in code, and moved it into the
mesh_modifier() in deform.c.

Now wave works on top of hooks, before lattice/curve deform and armature.
But together!

------------------------------------------------------------------------
r3090 | theeth | 2004-09-19 17:07:16 +0200 (Sun, 19 Sep 2004) | 4 lines

Fix for scalling bug with Stretch To constraint (practicly same bug as Track To last week, but deeper ramifications since stretch to affects scalling).

Quick description of bug: scalling armature had a weird effect on stretch to bone size.

------------------------------------------------------------------------
r3089 | broken | 2004-09-19 16:41:46 +0200 (Sun, 19 Sep 2004) | 3 lines

Sorry, last commit contained some other code from lamp patch.
This should fix it, hopefully.

------------------------------------------------------------------------
r3088 | theeth | 2004-09-19 16:33:33 +0200 (Sun, 19 Sep 2004) | 2 lines

Editmesh spliting project files fix (MSVC 6.0)

------------------------------------------------------------------------
r3087 | broken | 2004-09-19 16:08:04 +0200 (Sun, 19 Sep 2004) | 3 lines

Moved the 'Load UI' option from the File menu to the
fileselect window header.

------------------------------------------------------------------------
r3086 | jesterking | 2004-09-19 15:46:43 +0200 (Sun, 19 Sep 2004) | 2 lines

Update project files to compile and link with newest changes (editmesh refactoring)

------------------------------------------------------------------------
r3085 | ton | 2004-09-19 13:50:38 +0200 (Sun, 19 Sep 2004) | 2 lines

Service: SConscript file!

------------------------------------------------------------------------
r3084 | ton | 2004-09-19 13:47:49 +0200 (Sun, 19 Sep 2004) | 18 lines

Part one of editmesh.c refactoring. The huge file has been split in
logical parts, and include files altered to denote internal and external
functions.

include/editmesh.h: internal calls for editmesh_xxx.c files
include/BIF_editmesh.h: external calls for these files

src/editmesh.c: basic alloc/lists and in/out editmode, undo, separate
src/editmesh_lib.c: basic utility calls for all editmesh_xxx.c (no UI)
src/editmesh_add.c: add prim, add duplicate, add vertex/edge/face (UI)
src/editmesh_mods.c: selecting, transforming (UI)
src/editmesh_loop.c: loop tools like knife, loop select, loop subdiv (UI)
src/editmesh_tools.c: other tools (extrude, spin, etc) (UI)

And a new file:

src/meshtools.c: tools for Mesh outside of editmode (normals, draw flags)

------------------------------------------------------------------------
r3083 | jiri | 2004-09-19 12:41:04 +0200 (Sun, 19 Sep 2004) | 5 lines



- Cam (ideasman) improved speed of exporting
- I fixed indentation

------------------------------------------------------------------------
r3082 | kester | 2004-09-19 03:33:08 +0200 (Sun, 19 Sep 2004) | 4 lines

Convert and use actuators with no target object set.

Certain actuators (Add Object/Replace Mesh/Scene/Track To) used to always require a target, or they would not influence the scene.  If the actuator target is always set from Python, this could be annoying.

------------------------------------------------------------------------
r3081 | jiri | 2004-09-18 23:04:23 +0200 (Sat, 18 Sep 2004) | 5 lines



- Cam added function getUniqueName, which preserve overwriting of existing mesh.
- I removed fixed identing. It uses only tab for identing so Cam will not be fussed anymore:-).

------------------------------------------------------------------------
r3080 | ton | 2004-09-18 22:15:37 +0200 (Sat, 18 Sep 2004) | 8 lines

Evil commit! Nothing really changed except;

- EditVlak -> EditFace
- variables called 'evl' -> 'efa'
- functions with 'vlak' in it now have 'face'

Just thought was nice starter for editmesh recode...

------------------------------------------------------------------------
r3079 | stiv | 2004-09-18 20:47:03 +0200 (Sat, 18 Sep 2004) | 3 lines

One small part of the Great Bpy Code Cleanup.
Add cvs $Id tag to files

------------------------------------------------------------------------
r3078 | hos | 2004-09-18 20:36:11 +0200 (Sat, 18 Sep 2004) | 9 lines


For the Bass* people: pad plus/ pad minus moves nla strips up/down in
the nla editor.

Release note blurb:

Selected nla strips may be reordered down or up in the nla editor using
numpad plus/minus.

------------------------------------------------------------------------
r3077 | ton | 2004-09-18 20:34:50 +0200 (Sat, 18 Sep 2004) | 3 lines

- redo now also ctrl+y.
- made undo/redo display of previewrender nice

------------------------------------------------------------------------
r3076 | ton | 2004-09-18 15:58:35 +0200 (Sat, 18 Sep 2004) | 3 lines

Found little bug in undo system for editing Font objects. Causing
crash at undo after editing.

------------------------------------------------------------------------
r3075 | ton | 2004-09-18 15:25:29 +0200 (Sat, 18 Sep 2004) | 6 lines

OSX only: the Apple key now is a normal modifier in code, so can be
detected as others, LR_COMMANDKEY

Unline previous commit, Apple key doesnt map to control anymore, but is
handled separate where needed. Now only for undo (Apple-Z)

------------------------------------------------------------------------
r3074 | ton | 2004-09-18 14:12:45 +0200 (Sat, 18 Sep 2004) | 44 lines

Another step in the undo evolution.

- Made unified API for undo calls, to be found in space.c
  BIF_undo_push(char *str)
  BIF_undo(void)
  BIF_redo(void)
  These calls will do all undo levels, including editmode and vpaint.

  The transition is work in progress, because mesh undo needs recode.

- New global hotkey CTR+Z for undo
  Note: 'shaded draw mode' still is SHIFT+Z, the old CTRL+Z was to recalc
  the lighting in shaded mode, which already became much more interactive,
  like during/after any transform().
  Recalc hotkey now is SHIFT+ALT+Z

  CTRL+<any modifier>+Z is redo.

- For OSX users; the Apple-key ("Command") now maps to CTRL as well. This
  disables the one-mouse-button hack for rightmouse btw, will be fixed in
  next commit. At least we can use Apple-Z :)

- Old Ukey for undo is still there, as a training period... my preference is
  to restore Ukey to "reload original data" as in past, and only use new
  CTRL+Z for undo.

- Added undo_push() for all of editobject.c and editview.c. Meaning we can
  start using/testing global undo in the 3d window. Please dont comment on
  missing parts for now, first I want someone to volunteer to tackle all of
  that.

- Since the global undo has a full 'file' in memory, it can save extremely
  fast on exit to <temp dir>/quit.blend. That's default now when global undo
  is enabled. It prints "Saved session recovery to ..." in console then.

- In file menu, a new option is added "Recover Last Session". Note that this
  reads the undo-save, which is without UI.

- With such nice new features we then can also kill the disputed
  Cancel/Confirm menu on Q-KEY.

- Added fix which initializes seam/normal theme color on saved themes.
  They showed black now.... (Note: that's in usiblender.c!)

------------------------------------------------------------------------
r3073 | kester | 2004-09-18 08:03:15 +0200 (Sat, 18 Sep 2004) | 2 lines

Fixed PyObject_IsMT_Matrix

------------------------------------------------------------------------
r3072 | ton | 2004-09-17 23:30:53 +0200 (Fri, 17 Sep 2004) | 3 lines

curve_modifier() call was in makeDispList() already, and called twice,
causing initrender to free illegal pointer...

------------------------------------------------------------------------
r3071 | sirdude | 2004-09-17 13:31:17 +0200 (Fri, 17 Sep 2004) | 8 lines



updated the documentation on how to add new image types which consisted of:
removed autoconf stuff and replaced with scons info.
Added info on how to make your format showup in the thumbnail viewer.

Kent

------------------------------------------------------------------------
r3070 | ton | 2004-09-17 12:36:43 +0200 (Fri, 17 Sep 2004) | 6 lines

Fixed crash caused by new (strict) rule for displists. Reminder: to signal
that a displist has to be recalculated, you only have to free it.

In the init_render_mesh() not all situations were checked OK.
Thanks Basse for finding it!

------------------------------------------------------------------------
r3069 | ton | 2004-09-16 21:31:43 +0200 (Thu, 16 Sep 2004) | 6 lines

Bug fix in code committed for hooks; mesh check for displist was on
wrong location... causing tremendous slowdowns!

Note: in previous commit some WIP slipped in.. not dangerous. Plus it
has a text typo fix (beaty)

------------------------------------------------------------------------
r3068 | ton | 2004-09-16 19:57:14 +0200 (Thu, 16 Sep 2004) | 8 lines

Bug 1568

Wrong usage of B_NOP code in button events (xxxx | B_NOP), which is useles
since it is defined as -1.

Reminder for all: use a B_NOP if you want a button event not to be passed
on to the event queues.

------------------------------------------------------------------------
r3067 | ton | 2004-09-16 17:32:38 +0200 (Thu, 16 Sep 2004) | 5 lines

Bug fix #1525

RayTransp didnt work on Nurbs anymore (2.34 error).
Just a normal flip problem...

------------------------------------------------------------------------
r3066 | stiv | 2004-09-14 22:03:01 +0200 (Tue, 14 Sep 2004) | 3 lines

More Material settings: mirror and transparency.
Contributed by Joilnen B. Leite (pidhash)

------------------------------------------------------------------------
r3065 | ton | 2004-09-14 21:03:11 +0200 (Tue, 14 Sep 2004) | 29 lines

Lot of code... 2 new features:

1) Curve deform
http://www.blender3d.org/cms/Curve_Deform.392.0.html
Works simple as expected, but keep track of the rotation axis
in F7 buttons (Track X Y Z)
Only Mesh deform supported now.

Code changes:
- centralized deformation calls in curve_modifiers() mesh_modifiers()
etcetera. Here also other effects can be added like wave. Now the
evaluation order is fixed, but should become optional. It also doesnt
use the Displist anymore as deform-input. That latter part is unfinished
yet.
This code also is used for Hooks and will be needed for softbody

- made convention stricter that displists are being checked on in
drawobject(), this to prevent routines to make new displists recursively
(like armature does). Now a freedisplist() is sufficient to signal that
a new displaylist should be made.

2) Object Hooks
http://www.blender3d.org/cms/Object_Hooks.391.0.html
Support for Hooks is added to Mesh, Lattice, Curve and Surface objects.
For Armatures this would require some more work & research.
Main goal for this feature is to provide quick & simple access to the
underlying geometry in Objects on Object level, supporting hierarchies and
Ipos etc.

------------------------------------------------------------------------
r3064 | blendix | 2004-09-14 01:37:24 +0200 (Tue, 14 Sep 2004) | 4 lines


A more correct and simple fix to the me->medge==NULL problem from my last
commit.

------------------------------------------------------------------------
r3063 | jesterking | 2004-09-13 08:58:40 +0200 (Mon, 13 Sep 2004) | 2 lines

some cruft that forgot to delete itself :]

------------------------------------------------------------------------
r3062 | jesterking | 2004-09-13 08:57:24 +0200 (Mon, 13 Sep 2004) | 5 lines

Add two new options for appending *objects*:

1) append in current active layer (off by default)
2) append at 3d cursor (off by default). When more than one object is selected this will first calculate the bounding box of the centers of the objects, and then use the distance of the bounding box center to the 3d cursor to transform all objects.

------------------------------------------------------------------------
r3061 | blendix | 2004-09-13 00:35:49 +0200 (Mon, 13 Sep 2004) | 4 lines


Fix for error in last commit: forgot to check if me->medge==NULL when making
LSCM seam groups.

------------------------------------------------------------------------
r3060 | theeth | 2004-09-12 21:06:01 +0200 (Sun, 12 Sep 2004) | 2 lines

Emilie and Chris work on the Constraint UI (alignement).

------------------------------------------------------------------------
r3059 | jiri | 2004-09-11 15:45:17 +0200 (Sat, 11 Sep 2004) | 9 lines



- bug fix #1560
  https://projects.blender.org/tracker/?func=detail&aid=1560&group_id=9&atid=125

- Cam did some speedup: he replaced eval() with float() and int()

- it fix some other minor bugs too

------------------------------------------------------------------------
r3058 | theeth | 2004-09-08 14:12:52 +0200 (Wed, 08 Sep 2004) | 4 lines

Fix for bug #1591: Bones with TrackTo constraint do not scale properly when armature object is resized.

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

------------------------------------------------------------------------
r3057 | bjornmose | 2004-09-07 22:45:09 +0200 (Tue, 07 Sep 2004) | 2 lines

dangeling pointer fix :)

------------------------------------------------------------------------
r3056 | theeth | 2004-09-07 03:39:44 +0200 (Tue, 07 Sep 2004) | 5 lines

Got rid of quite a lot of warnings. Lot of them MSVC-ism dealing with const casting.
Some implicit cast warnings and more importantly, changed the parameter type to int for functions passing the particles random number seed around. No need to use floats there, it's an int anyway.

Effect.c is now warning free (on MSVC 6.0 at least)

------------------------------------------------------------------------
r3055 | theeth | 2004-09-07 03:26:44 +0200 (Tue, 07 Sep 2004) | 2 lines

Added some align block where needed. (Sorting buttons and Link/Append)

------------------------------------------------------------------------
r3054 | blendix | 2004-09-06 16:30:28 +0200 (Mon, 06 Sep 2004) | 7 lines


Fix for bug #1582: LSCM mesh splitting based on seams gives incorrect results in some setups.

The algorithm used before to split up the mesh before unwrapping was based on
vertices, resulting in leakage in some setups. Now it's edge based, allowing to
select only two edges of a triangle, and not automatically selecting the third.

------------------------------------------------------------------------
r3053 | jesterking | 2004-09-06 10:10:56 +0200 (Mon, 06 Sep 2004) | 2 lines

Add theme colour for "Draw Normals"

------------------------------------------------------------------------
r3052 | jesterking | 2004-09-06 09:58:11 +0200 (Mon, 06 Sep 2004) | 4 lines

Small patch by Joilnen Leiter:

Cancel window split with RMB

------------------------------------------------------------------------
r3051 | blendix | 2004-09-06 00:51:50 +0200 (Mon, 06 Sep 2004) | 12 lines


Bugfix for the render window not popping to the front when it already existed,
under linux / x11 / KDE.

The new behaviour in 2.34, not recreating the render window on re-render,
revealed that raising windows did not work under some window managers.  Now the
"net wm extensions" are used if available, otherwise it will work the same way
as before (e.g. Gtk+ does this as well).

More info:
http://www.freedesktop.org/Standards/wm-spec

------------------------------------------------------------------------
r3050 | theeth | 2004-09-05 23:20:03 +0200 (Sun, 05 Sep 2004) | 3 lines

All constraints (except FollowPath) now check if subtarget (bone) is valid and disable constraint if not. Previously, this only worked with IK Solver.
The problem was that it defaulted to the armature object as target but didn't clear the subtarget field. This makes it clear that there's a problem.

------------------------------------------------------------------------
r3049 | theeth | 2004-09-05 22:21:16 +0200 (Sun, 05 Sep 2004) | 8 lines

Stretch To constraint

Read today's meeting minutes for a description.

Bjornmose: We'll need some example and screenshots for the dev pages of blender3d.org. If you can do some, neat, if not, I'll do them.

Matt, Emilie and Chris: Please review UI addition. Pixel alignement and all that fun stuff has not be overly looked for (though I did some cleaning by adding alignment blocks).

------------------------------------------------------------------------
r3048 | jesterking | 2004-09-05 19:18:49 +0200 (Sun, 05 Sep 2004) | 5 lines

Update msvc7 project files:

* Add Sound module
* Add files for global undo

------------------------------------------------------------------------
r3047 | theeth | 2004-09-05 17:43:45 +0200 (Sun, 05 Sep 2004) | 2 lines

Quit confirm dialog

------------------------------------------------------------------------
r3046 | ton | 2004-09-05 16:18:45 +0200 (Sun, 05 Sep 2004) | 2 lines

Typo in ListBase -> listBase

------------------------------------------------------------------------
r3045 | theeth | 2004-09-05 16:18:39 +0200 (Sun, 05 Sep 2004) | 2 lines

Adding undo files to projectfiles (MSVC 6.0)

------------------------------------------------------------------------
r3044 | ton | 2004-09-05 15:59:08 +0200 (Sun, 05 Sep 2004) | 2 lines

Huh! that file was added... anyhoo, here again!

------------------------------------------------------------------------
r3043 | ton | 2004-09-05 15:53:55 +0200 (Sun, 05 Sep 2004) | 2 lines

SConscript for new file

------------------------------------------------------------------------
r3042 | ton | 2004-09-05 15:43:51 +0200 (Sun, 05 Sep 2004) | 14 lines

Second itteration of global undo system. Now based on:

- file-to-memory save
- incremental difference steps (compression)

everthing has been tightly coded to use minimum of memcpy or allocs. In
fact this system works with a single full buffer (=file) in memory, and undosteps as differences from it.
Speed gain is factor 4-8 faster. I've added it in CTRL+ALT+T timer menu for
a test. Please note the gain is especially in the undo-storing, not in
retrieving undo.

Also new: file read option to skip UI read (file menu). This now also is
default for the undo system.

------------------------------------------------------------------------
r3041 | hos | 2004-09-03 18:42:46 +0200 (Fri, 03 Sep 2004) | 6 lines

Fix for bug #1580.

If the mesh 'key' doesn't have an IPO, then don't try to
select any key's on the non-existent IPO curves in the
action window.

------------------------------------------------------------------------
r3040 | sirdude | 2004-09-03 16:31:06 +0200 (Fri, 03 Sep 2004) | 13 lines




Ipo.c
	Removed a block of a bunch of unused vars...
	Added a return NULL to the end of a funtion that is suppose to
		return something and could fall through.

editconstraint.c
	Added a newline to the end of the file to get rid of a stupid warning.

Kent

------------------------------------------------------------------------
r3039 | sirdude | 2004-09-01 15:33:24 +0200 (Wed, 01 Sep 2004) | 6 lines



removed 4 unused vars...

Kent

------------------------------------------------------------------------
r3038 | sirdude | 2004-09-01 15:29:44 +0200 (Wed, 01 Sep 2004) | 10 lines



removed 3 forward declarations's inside of a fuction.
They were not needed were for functions that were in the same .c file
higher up and I think its sort of a non standard way of doing things.
(using prototypes would probably be more inline with the other code but
as I mentioned they are not needed and were causing warnings in gcc)

Kent

------------------------------------------------------------------------
r3037 | sgefant | 2004-09-01 15:19:42 +0200 (Wed, 01 Sep 2004) | 2 lines

fix typo in GameLogic documentation

------------------------------------------------------------------------
r3036 | sirdude | 2004-09-01 14:09:22 +0200 (Wed, 01 Sep 2004) | 11 lines



I removed the following:
  LEVEL_2_CPP_WARNINGS += -Wstrict-prototypes
  LEVEL_2_CPP_WARNINGS += -Wmissing-prototypes

Every version of g++ i've used has stated these two were not for g++
but for c or objectivec.

Kent

------------------------------------------------------------------------
r3035 | ton | 2004-08-31 23:01:21 +0200 (Tue, 31 Aug 2004) | 3 lines

The undo test is now safely hidden behind a user-button (temporal)
Activate it in User menu "edit methods"

------------------------------------------------------------------------
r3034 | ton | 2004-08-31 22:13:32 +0200 (Tue, 31 Aug 2004) | 13 lines

Enabled trial for 'global undo'. This now only has undo steps for
- transform (grab, rot, scale, etc)
- all button commands, including menus

I sacrificed for now the UKEY in the 3d window for it. Shift+U does a redo.
(Only in 3d window)

What this system does is saving files in the temp directory (user pref).
The filenames are cycled around (32 in total now).

This commit will follow shortly with a userpref for it, not to frustrate
people who want to work in normal fashion with blender.

------------------------------------------------------------------------
r3033 | sirdude | 2004-08-31 16:23:29 +0200 (Tue, 31 Aug 2004) | 15 lines



ok my last little tweak for today ;)

I cleaned up the code a little did a couple of these:
if (blah > stuff - wah)  blah = stuff - wah;

changed to....
tmp = stuff - wah;
if (blah > tmp) blah = tmp;

and combined multiple if statements

Kent

------------------------------------------------------------------------
r3032 | ton | 2004-08-31 15:43:18 +0200 (Tue, 31 Aug 2004) | 20 lines

Three functionalities in one commit, but there's overlap so I can't
separate it...

1) Curve/Surface editmode undo
Uses same syntax as mesh undo, so simple to integrate. Edit-curve data is
also quite simpler, so no need for any hack at all.
It re-uses the undo system from next point, which is nice short & clean
local code

2) Framework for global undo
The undo calls themselves are commented out. In a next commit I want to
enable it for a couple of main features, for further feedback.
The speed goes surprisingly well, especially with this new version that
'pushes' undo after a command, ensuring interactivity isnt frustrated

3) framework for texture based icons in Blender
Not activated code, but tested here. Part of 2.3 UI project.

btw: Johnny Matthews will assist in (and complete) the undo project

------------------------------------------------------------------------
r3031 | sirdude | 2004-08-31 15:11:59 +0200 (Tue, 31 Aug 2004) | 6 lines



two more vars that were questionably not initalized...

Kent

------------------------------------------------------------------------
r3030 | sirdude | 2004-08-31 15:10:45 +0200 (Tue, 31 Aug 2004) | 10 lines



Some small clean ups again...

I added ifdef's around a var declaration since the code using
it had them...  Also initalized two vars that were questionable if they
could reach a state where they weren't assigned.

Kent

------------------------------------------------------------------------
r3029 | sirdude | 2004-08-30 20:43:00 +0200 (Mon, 30 Aug 2004) | 7 lines



Added the bmp include forgot to do that when I added the write support.
(fixes a warning about the imb_savebmp undefined...)

Kent

------------------------------------------------------------------------
r3028 | ton | 2004-08-30 20:31:30 +0200 (Mon, 30 Aug 2004) | 2 lines

Realtime updates of taper and bevel while editing them.

------------------------------------------------------------------------
r3027 | blendix | 2004-08-30 19:24:58 +0200 (Mon, 30 Aug 2004) | 4 lines


Fix for bug #1574: shift+tab switched back to object mode from all modes,
except for Texture Paint mode. Now it works for texture paint mode too.

------------------------------------------------------------------------
r3026 | ton | 2004-08-30 19:17:08 +0200 (Mon, 30 Aug 2004) | 6 lines

Stoopid typo in 'full osa' caused the wrong mask value to be sent to the
raytracer. Instead of only tracing the current subpixel it did all
(or most) of them.

Solves reports on slow AO in 2.34, but also will affect ray_mir and transp

------------------------------------------------------------------------
r3025 | sirdude | 2004-08-30 15:44:58 +0200 (Mon, 30 Aug 2004) | 13 lines



Changed :  A[i,k] to  A[i][k]

Caught from the following warning:
In file included from IK_QChain.h:47,
                 from IK_QChain.cpp:44:
TNT/cmat.h: In function `void TNT::matmultdiag(TNT::Matrix<T>&, const TNT::Matri
x<T>&, const TNT::Vector<T>&)':
TNT/cmat.h:593: warning: left-hand operand of comma has no effect

Kent

------------------------------------------------------------------------
r3024 | ton | 2004-08-29 19:05:19 +0200 (Sun, 29 Aug 2004) | 3 lines

Added a flush in radiotisitizer tool, to update draw of shooting patches
while it's doing a 'Go'

------------------------------------------------------------------------
r3023 | ton | 2004-08-29 18:59:44 +0200 (Sun, 29 Aug 2004) | 3 lines

Bah, having four different code projects doesnt work :/
This belongs to previous commit.

------------------------------------------------------------------------
r3022 | ton | 2004-08-29 18:27:54 +0200 (Sun, 29 Aug 2004) | 2 lines

Forgot to export Object as struct Object...

------------------------------------------------------------------------
r3021 | ton | 2004-08-29 15:58:48 +0200 (Sun, 29 Aug 2004) | 4 lines

Apparently the curve render code doesnt use the displist... so there's
duplicate code for tapering needed.
Now tapered curves render too.

------------------------------------------------------------------------
r3020 | ton | 2004-08-29 11:21:52 +0200 (Sun, 29 Aug 2004) | 15 lines

Feature for Curve objects in Blender; 'tapering'.

Next to the "BevOb" button you now have a "TaperOb" button to give a name
of a curve object which defines the width of extrusion of the 'BevObj'
along the curve. The TaperOb curve typically is horizontal, where the
height denotes the width.
Important rules;
- Only the firste curve in TaperObj is evaluated
- the first width is left, last width is right
- it scales the width of normal extrusions based on evaluating the taper
  curve; which means sharp corners in taper curve won't be easily visible

(That latter feature could be improved by extrusing based on the points
in the taper curve; this is a *lot* more work)

------------------------------------------------------------------------
r3019 | theeth | 2004-08-27 02:08:46 +0200 (Fri, 27 Aug 2004) | 2 lines

Adding BPY sound module to projectfiles (MSVC 6.0)

------------------------------------------------------------------------
r3018 | theeth | 2004-08-27 02:02:49 +0200 (Fri, 27 Aug 2004) | 2 lines

Added proper qualifier handling to make it possible to switch to Shrink/Fatten and Shear while already in transform mode.

------------------------------------------------------------------------
r3017 | hos | 2004-08-27 00:42:44 +0200 (Fri, 27 Aug 2004) | 3 lines

We don't use ODE anymore, so I commented out some lines that make it
required to build.

------------------------------------------------------------------------
r3016 | bjornmose | 2004-08-27 00:00:14 +0200 (Fri, 27 Aug 2004) | 4 lines

claiming this to be mine .. to remain compatible to tuhopuu development
CONSTRAINT_TYPE_STRETCHTO	15
bjornmose

------------------------------------------------------------------------
r3015 | stiv | 2004-08-26 04:16:26 +0200 (Thu, 26 Aug 2004) | 3 lines

Bpy access to more texture features:  Musgrave, Voronoi, and Distorted Noise.
Contributed by Joilnen B. Leite ( pidhash).  Thanks!

------------------------------------------------------------------------
r3014 | broken | 2004-08-24 10:36:02 +0200 (Tue, 24 Aug 2004) | 2 lines

Small modification to redraw the 3D View when an image is reloaded.

------------------------------------------------------------------------
r3013 | kester | 2004-08-24 05:30:16 +0200 (Tue, 24 Aug 2004) | 2 lines

Fix stereo window creation on X11.

------------------------------------------------------------------------
r3012 | broken | 2004-08-24 05:27:05 +0200 (Tue, 24 Aug 2004) | 2 lines

Added Zoom In and Zoom Out menu entries to the uv/image editor

------------------------------------------------------------------------
r3011 | broken | 2004-08-24 04:51:07 +0200 (Tue, 24 Aug 2004) | 2 lines

Test commit, nothing to see here.

------------------------------------------------------------------------
r3010 | guitargeek | 2004-08-24 00:13:57 +0200 (Tue, 24 Aug 2004) | 2 lines

This commit should clean up the warnings  in edge_rotate that Ton brought up. The do not show up now on mine with /W4 on MSVC.

------------------------------------------------------------------------
r3009 | ton | 2004-08-22 20:16:49 +0200 (Sun, 22 Aug 2004) | 2 lines

testing 1 2 3

------------------------------------------------------------------------
r3008 | ton | 2004-08-22 15:24:09 +0200 (Sun, 22 Aug 2004) | 2 lines

testing 1 2 3!

------------------------------------------------------------------------
r3007 | ton | 2004-08-22 13:06:00 +0200 (Sun, 22 Aug 2004) | 2 lines

Testing commit to check maillists

------------------------------------------------------------------------
r3006 | hos | 2004-08-21 21:12:59 +0200 (Sat, 21 Aug 2004) | 3 lines

Make sure directory $(OCGDIR)/extern is created before building extern
stuff.

------------------------------------------------------------------------
r3005 | guitargeek | 2004-08-20 23:22:47 +0200 (Fri, 20 Aug 2004) | 2 lines

This commit adds the 'Rotate Edges' functionality. Select edges and ctrl-E and choose rotate edges. is also in the mesh->edges menus in 3d header and toolbox. I put it here since there was not concensus about replacing the code for CTRL-F with this code.

------------------------------------------------------------------------
r3004 | broken | 2004-08-18 08:59:27 +0200 (Wed, 18 Aug 2004) | 2 lines

Added a missing hotkey in the toolbox.

------------------------------------------------------------------------
r3003 | broken | 2004-08-18 06:32:57 +0200 (Wed, 18 Aug 2004) | 4 lines

Small tweak to the default Glow effect values, so there's a
noticable difference when you add the effect (preventing
people like K-Rich wondering why it's not working :)

------------------------------------------------------------------------
r3002 | blendix | 2004-08-17 18:00:32 +0200 (Tue, 17 Aug 2004) | 8 lines


Bugfix for incorrect unwrapping of some triangle shaped quads;
Triangulation of these quads could lead to degenerate triangles, resulting
in UV's in random places. Now quads are automatically triangulated in the
best direction.

This bug was reported by Tim Fisher (thanks!).

------------------------------------------------------------------------
r3001 | ianwill | 2004-08-17 06:26:00 +0200 (Tue, 17 Aug 2004) | 13 lines

** Note: two new files added, projectfiles will need an update.

Scripts:
  Campbell Barton (Ideasman, thanks) updated his Wavefront OBJ importer.
BPython:
- Finally committed pending contributions:
    Chris Keith wrote the Blender.Sound module -- still some testing to do this week;
    Joseph (joeedh) added the OnLoad scene script event;
    Satish Goda added 6 GLU functions to Blender.BGL.  Great additions, thanks all!
- Small changes to Blender.Load (leave editmode as Blender wants) and Window.EditMode (allow definition of "undo string");
- Fixed bug #1539: Window.RedrawAll() crashed Blender if an empty spacescript was available while using it in a gui-less script.
- doc updates.

------------------------------------------------------------------------
r3000 | sirdude | 2004-08-16 14:03:46 +0200 (Mon, 16 Aug 2004) | 6 lines



Removed the autoconfig.txt notes...

Kent

------------------------------------------------------------------------
r2999 | jesterking | 2004-08-16 08:46:41 +0200 (Mon, 16 Aug 2004) | 4 lines

Objects will be autoselected on Append. There's a button to toggle this behaviour, by default it's enabled.

Feature requested by Bastian Salmela.

------------------------------------------------------------------------
r2998 | theeth | 2004-08-16 03:14:18 +0200 (Mon, 16 Aug 2004) | 13 lines

Renamed get_constraint_target in constraint kernel file to get_constraint_target_matrix since that's what it really does
Moved get_con_target from editconstraint to constraint kernel file and renamed to get_constraint_target

Make scene.c use constraint functions from kernel instead of doing the switch itself (regrouping specific constraint code in one file).

Add LockTrack as an option in the Make Track menu (Ctrl-T)

Adding fun for vortex forces in 3D window, the representation now match the orientation and direction of the force (this is code will need optimisation). I'll probably be slapped for mixing two things in one commit but some function calls needed to be fixed for the new spelling and since this is really isolated code I didn't feel like wasting time getting a fresh copy, doing the changes and then readded this after commiting.

Fixed some warning regarding implicit casts and constants (this last one is a MSVCism where you need to explicitely tell the compiler to use floats with an f. AFAIK, it doesn't affect/bother other compilers).

Removed a useless commented piece of code in readfile (there was an uncommented copy a couple of lines before)

------------------------------------------------------------------------
r2997 | h_xnan | 2004-08-15 20:09:37 +0200 (Sun, 15 Aug 2004) | 3 lines

Theodore Schundler's patches to add FreeBSD support to the scons build
system.

------------------------------------------------------------------------
r2996 | jesterking | 2004-08-14 11:20:38 +0200 (Sat, 14 Aug 2004) | 11 lines

Fix two problems in my code as reported on Forums and in release article thread on frontpage:

* Quaternion action ipos accidently got swapped in the Ipo module
* Ipos not editable if not linked to a datablock (was possible in 2.33a)

Also fixed a typo in Object.getMatrix(): localespace -> localspace

And I add:

* channels Key 32 through Key 63 for relative vertex keys

------------------------------------------------------------------------
r2995 | eeshlo | 2004-08-12 01:32:13 +0200 (Thu, 12 Aug 2004) | 5 lines

Fixed bug discovered by dotblend, parented empty's were mistakenly
included in the duplicate objects list.
Added support for spherelight 'dummy' mode when used with global photonmap.
It now behaves the same as arealight when used with gpm.

------------------------------------------------------------------------
r2994 | kester | 2004-08-10 13:35:38 +0200 (Tue, 10 Aug 2004) | 2 lines

Clear the Python error flag between 'overloaded' Python methods.

------------------------------------------------------------------------
r2993 | kester | 2004-08-10 13:34:12 +0200 (Tue, 10 Aug 2004) | 3 lines

Fix blenderplayer command line option parsing.
Fix stereo rendering in vertex array mode.  Added sidebyside & anaglyph stereo modes.

------------------------------------------------------------------------
r2992 | jesterking | 2004-08-09 20:25:08 +0200 (Mon, 09 Aug 2004) | 6 lines

Fix for #1509

Running the system info script with a text window (empty) open caused dereferencing of a null-pointer with obviously unwanted results.

Catching the possible situation before it happens.

------------------------------------------------------------------------
r2991 | jesterking | 2004-08-07 16:14:55 +0200 (Sat, 07 Aug 2004) | 2 lines

Fix typo in documentation

------------------------------------------------------------------------
r2989 | broken | 2004-08-05 14:40:20 +0200 (Thu, 05 Aug 2004) | 3 lines

Small tweak to the colour picker - make the palette
buttons rectangular, even in the rounded theme

------------------------------------------------------------------------
r2988 | ton | 2004-08-05 13:37:54 +0200 (Thu, 05 Aug 2004) | 2 lines

typo in view3d menus; Warp should be shift+w, not ctrl+w

------------------------------------------------------------------------
r2987 | ton | 2004-08-05 12:54:00 +0200 (Thu, 05 Aug 2004) | 7 lines

Little showstopper; the fix for enabling typing (3d) text in 3d window
with 'emulate numpad' disabled plus/minus hotkey in imagewindow for zoom.

Added it also for oops. More problems with it for other spaces makes it
important te review for next release. But this is for people who use
laptops or minimalistic keyboards... :)

------------------------------------------------------------------------
r2986 | broken | 2004-08-05 02:03:53 +0200 (Thu, 05 Aug 2004) | 4 lines

Fix for crash in select_parent() - check for OBACT

Thanks to Campbell for the last minute report!

------------------------------------------------------------------------
r2985 | ton | 2004-08-05 01:19:57 +0200 (Thu, 05 Aug 2004) | 5 lines

Slightly improved clipping of rgb colors in HSV picker, to prevent the Hue
slider in bottom to block on colors 0,0,0 or 1,1,1

This is not scientific yet, but could be released :)

------------------------------------------------------------------------
r2984 | jesterking | 2004-08-05 00:00:41 +0200 (Thu, 05 Aug 2004) | 9 lines

This commit prepares for 2.34:

* LarstiQ patched SConstruct to have it name tarballs and zips better for 'scons release'
* bump version numbers to 234
* added splash.jpg and datatoc'ed version
* add release notes

People can now do still some final tests. Can you feel the heat?

------------------------------------------------------------------------
r2983 | stiv | 2004-08-04 22:52:55 +0200 (Wed, 04 Aug 2004) | 6 lines

pidhash noticed some discrepancies in the bpy doc between getMode(), getFlag(),
getType() and their associated setters.  I changed the doc to match the
implementation.

Also did a little spellcheck.

------------------------------------------------------------------------
r2982 | stiv | 2004-08-04 10:03:39 +0200 (Wed, 04 Aug 2004) | 2 lines

updated docs

------------------------------------------------------------------------
r2981 | broken | 2004-08-04 10:02:44 +0200 (Wed, 04 Aug 2004) | 4 lines

Fix for some bad code that MSVC choked on. Thanks
jesterking for pointing it out, I think I'd better go sleep
or something...

------------------------------------------------------------------------
r2980 | broken | 2004-08-04 09:48:10 +0200 (Wed, 04 Aug 2004) | 3 lines

Missed a line in the last commit - obviously must be a
glitch in the matrix

------------------------------------------------------------------------
r2979 | broken | 2004-08-04 08:52:41 +0200 (Wed, 04 Aug 2004) | 6 lines

Tweak to the colour picker after conversation with Ton.
Moved the buttons to the side, so it's:
* consistent with the layout of the floating panel version
and consistent with the vertical R/G/B sliders layout
* using real number fields instead of abused menus :)

------------------------------------------------------------------------
r2978 | ianwill | 2004-08-04 08:24:21 +0200 (Wed, 04 Aug 2004) | 4 lines

Forgot to add the last script, tex2uvbaker.py to the 00.blender.nsi file.

BTW, thanks Simon, Nathan and Martin (am I forgetting anyone?) for your help keeping things in sync : ).

------------------------------------------------------------------------
r2977 | ianwill | 2004-08-04 08:16:46 +0200 (Wed, 04 Aug 2004) | 31 lines

Done.

Scripts:
- Jean-Michel Soler probably lost some hours of sleep since Sunday,
  but he managed to send me the updated path import scripts a few
  hours ago.  My tests with Inkscape .svg and .ps and Gimp worked fine.
  He also tested a lot and sent me info about what is already
  supported.  I'll send Ton a doc about bundled scripts including this
  info.  Importers: .ai, .svg, .eps/.ps, Gimp 1-1.2.5 / 2.0.

- Jean-Michel also contributed his Texture Baker script.

- Campbell Barton contributed two new scripts: a mesh cleaner and a
  vloop skinning / lofting script.  He also sent updates to his obj
  import / export ones.

- A Vanpoucke (xand) contributed his Axis Orientation Copy script.

And that makes 8 last minute additions.  Thanks a lot to the authors
and special thanks to JMS and Campbell for their hard work : ).

BPython:

- tiny addition (I'm forced to call it a showstopper bug ;) so JMS's
path import scripts (that actually convert to obj and make Blender
load the .obj curves) can use Blender.Load() and not rename G.sce,
the default filename.  Blender.Load(filename, 1) doesn't update G.sce.
Nothing should break because of this, Load(filename) still works fine.

- Made Blender complain again if script is for a newer Blender version than the one running it.

------------------------------------------------------------------------
r2976 | ton | 2004-08-03 23:58:07 +0200 (Tue, 03 Aug 2004) | 6 lines

Showstopper bug... found out while preparing demos for siggraph;

WHen you select the yellow keylines in iposwindow (camera.blend regression
suite) it should update 3d window; that didnt work... fixed with simple
redraw.

------------------------------------------------------------------------
r2975 | ton | 2004-08-03 23:42:37 +0200 (Tue, 03 Aug 2004) | 3 lines

do_version for 2.34; sets outline select by default on on older
files. (testers; note that you cannot save 2.34 yet!)

------------------------------------------------------------------------
r2974 | guitargeek | 2004-08-03 21:36:17 +0200 (Tue, 03 Aug 2004) | 2 lines

This commit changes the sweep effect to be called 'Wipe' in both UI and in backend variable naming.

------------------------------------------------------------------------
r2973 | larstiq | 2004-08-03 19:05:03 +0200 (Tue, 03 Aug 2004) | 6 lines

- Fix build failure on Linux sparc

Checks for operating systems should be that, and not checks for hardware.
Linux/sparc is a valid combination, using sparc to check for Solaris thus
results in problems on non-Solaris.

------------------------------------------------------------------------
r2972 | ton | 2004-08-02 23:36:44 +0200 (Mon, 02 Aug 2004) | 5 lines

Fix for 1488

IKEY in buttons window, Editing context, Camera; didn't give the menu.
Just moving an if statement down...

------------------------------------------------------------------------
r2971 | broken | 2004-08-02 15:06:09 +0200 (Mon, 02 Aug 2004) | 4 lines

Smallest commit ever: Make the OB: text entry field in
transform properties floating panel maximum 19 characters rather than 18, to bring it in line with the
similar field in buttons_editing.c

------------------------------------------------------------------------
r2970 | jesterking | 2004-08-02 13:02:14 +0200 (Mon, 02 Aug 2004) | 2 lines

* make sure all contents of bpydata are included in installer and archives

------------------------------------------------------------------------
r2969 | lukep | 2004-08-02 00:28:56 +0200 (Mon, 02 Aug 2004) | 12 lines

OS X fix:
those who work with visible dock where experimenting slowdown of UI  when
 blender window was overlapping dock.

now :
     - check available space excluding dock
     - create window with a 10 pixels border
     - maximised mode is only 1 click away

This code is fixing only. Will review that when consensus will be found
about how we should create the window.

------------------------------------------------------------------------
r2968 | eeshlo | 2004-08-02 00:21:22 +0200 (Mon, 02 Aug 2004) | 2 lines

Values for spherelight sampling were using incorrect blender lamp parameter.

------------------------------------------------------------------------
r2967 | aphex | 2004-08-01 23:13:41 +0200 (Sun, 01 Aug 2004) | 3 lines

- added missing py scripts to the non-sconsered NSIS installer script
- uninstall files now done semi-automatic for 'scons wininst'

------------------------------------------------------------------------
r2966 | jesterking | 2004-08-01 11:00:36 +0200 (Sun, 01 Aug 2004) | 6 lines

Under certain circumstances a null-pointer could get dereferenced. Disabling 'dynamic' on an object was one of the situations. Now checking before using.

NULL->m_mass never works, of course :)

Ryan Showalter spotted and located the problem.

------------------------------------------------------------------------
r2965 | broken | 2004-08-01 05:07:56 +0200 (Sun, 01 Aug 2004) | 3 lines

Tiny tweak to the selection mouse button prefs- put the
 'left mouse' button on the left side, and vice versa :)

------------------------------------------------------------------------
r2964 | ianwill | 2004-08-01 03:07:28 +0200 (Sun, 01 Aug 2004) | 3 lines

Script kloputils:
- translated tooltips from Spanish to English.

------------------------------------------------------------------------
r2963 | ton | 2004-08-01 00:05:46 +0200 (Sun, 01 Aug 2004) | 10 lines

- calculation of position within HSVCUBE button (picker) had wrong Y
  coordinate, only noticable in Panel versions of picker

- the fix to give Transform properties new name "Paint" can't
  work with this code... this due to fact that panel positions are saved
  in files or looked up on re-open based on their names. Giving the Panel
  a new new name then causes it jump to another position, and back on end
  of painting.
  Needs to be solved in another way. Not feasible for 2.34...

------------------------------------------------------------------------
r2962 | aphex | 2004-07-31 15:34:13 +0200 (Sat, 31 Jul 2004) | 2 lines

Re-added Czech blender.mo

------------------------------------------------------------------------
r2961 | aphex | 2004-07-31 15:32:05 +0200 (Sat, 31 Jul 2004) | 3 lines

Czech translation crashed blender on Windows - this file was committed
to cvs as text not binary (twice! :P)

------------------------------------------------------------------------
r2960 | ton | 2004-07-30 15:59:09 +0200 (Fri, 30 Jul 2004) | 4 lines

Fixed small annoyances with drawing selection circle and paint brush.
With glflush() change as committed before, updates weren't that good
anymore. Solution is actually just flipping drawing order.

------------------------------------------------------------------------
r2958 | broken | 2004-07-30 12:53:10 +0200 (Fri, 30 Jul 2004) | 3 lines

Menu item for the sequence editor properties panel wasn't
 showing in some circumstances - fixed and simplified.

------------------------------------------------------------------------
r2957 | ton | 2004-07-30 12:07:47 +0200 (Fri, 30 Jul 2004) | 6 lines

Moved the drawing of size and diagonal of border select into the chunk
that draws the XOR border as well, this prevents unnecessary updates, and
makes sure all drawing uses a single glFlush()

Should solve redraw errors as reported by Goofster

------------------------------------------------------------------------
r2956 | ton | 2004-07-30 11:55:47 +0200 (Fri, 30 Jul 2004) | 3 lines

Added a line in 'make release' that moves the .blender directory to the
MacOS directory.

------------------------------------------------------------------------
r2955 | ianwill | 2004-07-30 07:18:14 +0200 (Fri, 30 Jul 2004) | 6 lines

First of all thanks Kent Mein for committing the fix to space.c and Peter den Bak for reporting and testing it.

- making Blender not warn about 2.34 scripts, as Ton requested.  Will turn this on again before release;
- small fix to the new helpwebsites and helpsystem additions in BPy_menus.c, should solve problem reported by Jean-Luc Peurière about empty menus on startup;
- updated version info of a few scripts to 2.34, since they use recently added bpython api functions.

------------------------------------------------------------------------
r2954 | lukep | 2004-07-30 01:21:05 +0200 (Fri, 30 Jul 2004) | 5 lines

python scripts are  not found if they are not placed in a .blender folder
inside MacOs folder of bundle.

their previous location (ressource folder) would however be more logical.

------------------------------------------------------------------------
r2953 | ton | 2004-07-29 22:50:13 +0200 (Thu, 29 Jul 2004) | 2 lines

Attempt #3 (or so) to solve the "weird buggy" hardness slider updates. :)

------------------------------------------------------------------------
r2952 | sirdude | 2004-07-29 21:10:52 +0200 (Thu, 29 Jul 2004) | 6 lines



Willian's patch for enabling the menus again.

Kent

------------------------------------------------------------------------
r2951 | eeshlo | 2004-07-29 20:51:17 +0200 (Thu, 29 Jul 2004) | 7 lines

Reflection caustics did not work, fixed.
Note to users: even when you only want reflection caustics (metals/mirrors)
you have to set a IOR value higher than 1, similar to glass materials.
The higher, the brighter the caustics.

That should be it...

------------------------------------------------------------------------
r2950 | broken | 2004-07-29 16:12:30 +0200 (Thu, 29 Jul 2004) | 3 lines

Panel layout tweaks courtesy of Chris 'Desoto' Burt, and
Emilie 'hmetalcowgirl' McDavid

------------------------------------------------------------------------
r2949 | ton | 2004-07-29 15:57:59 +0200 (Thu, 29 Jul 2004) | 2 lines

Circle select (B+B) had drawing error, a missing segment in the circle.

------------------------------------------------------------------------
r2948 | broken | 2004-07-29 14:13:35 +0200 (Thu, 29 Jul 2004) | 2 lines

And the necessary scripts.

------------------------------------------------------------------------
r2947 | broken | 2004-07-29 14:12:20 +0200 (Thu, 29 Jul 2004) | 8 lines

Help menu!

Thanks to Willian for integrating the webbrowser module.

Some of the URLs (Python reference, Release notes) will
need to be updated upon release. These are contained in
http://www.blender3d.org/Help/index.php

------------------------------------------------------------------------
r2946 | stiv | 2004-07-29 14:00:34 +0200 (Thu, 29 Jul 2004) | 3 lines

some code cleanup. minor bug fixage: don't try to free null ptrs.
accidentally ran CurNurb.c thru indent utility  Doh!

------------------------------------------------------------------------
r2945 | broken | 2004-07-29 07:03:02 +0200 (Thu, 29 Jul 2004) | 3 lines

A hopefully less weird way of doing the selection mouse
button user preference

------------------------------------------------------------------------
r2944 | broken | 2004-07-29 05:05:39 +0200 (Thu, 29 Jul 2004) | 3 lines

A few small language/labelling edits to these bundled
scripts

------------------------------------------------------------------------
r2943 | broken | 2004-07-29 04:35:26 +0200 (Thu, 29 Jul 2004) | 3 lines

Removed an unnecessary separator in the Object/Mesh->
Scripts menus

------------------------------------------------------------------------
r2942 | broken | 2004-07-29 04:25:10 +0200 (Thu, 29 Jul 2004) | 5 lines

Fixed up the layout and language of the
View Properties Panel.

(reminder: http://www.blender3d.org/cms/Language_and_terminology.338.0.html )

------------------------------------------------------------------------
r2941 | eeshlo | 2004-07-29 02:12:43 +0200 (Thu, 29 Jul 2004) | 5 lines

First victim of the hurried work, halo spots always cast shadows.
So removed 'ray shadow' button for that case.
So what I said in the previous commit is not true, with  halo for
spots enabled, shadows are always cast, and cannot be disabled,  sorry...

------------------------------------------------------------------------
r2940 | lukep | 2004-07-29 01:45:52 +0200 (Thu, 29 Jul 2004) | 2 lines

bug correction for bundle creation on OS X.

------------------------------------------------------------------------
r2938 | eeshlo | 2004-07-29 00:37:12 +0200 (Thu, 29 Jul 2004) | 62 lines

Major update, all implemented a bit in a hurry, and probably will need bugfixes at some point.

Extended the range of the depth and cdepth parameters as reqested by leope.
Bumpmapping should now be a bit more similar to the Blender render.

Added support for all remaining lightsources in yafray, tried to make use of
as much of the existing Blender parameters as possible.

Blender Lamp: added switch to enable rendering with shadowbuffer ('softlight' in yafray).
All other parameters are similar to the Blender settings, for yafray both the
bias parameter and the shadowbuffer size can be lower than equivalent Blender
settings, since the yafray buffer is floating point. Remember that 6 shadowmaps
are created in this case, so can use quite a bit of memory with large
buffer settings.
When 'ray shadow' is enabled for this lamp type, it is possible to set a light
radius to create a spherical arealight source ('spherelight' in yafray),
when this is 0, it is exported as a pointlight instead.

Blender Spot: as in Blender now supports 'halo' rendering.
Halo spots always use shadowbuffers, so when enabled the buttons for shadowmap
settings will appear. The 'ray shadow' button can still be used to disable
shadows cast onto other objects, independent of halo shadows.
One thing to remember, halo's don't work with empty backgrounds, something must
be behind the spotlight for it to be visible.

And finally, the photonlight:
probably the most confusing (as more things related to yafray), the photonlight
is not a real lightsource, it is only used as a source to shoot photons from.
Since indirect lighting is already supported (and looks better as well)
only caustics mode is supported.
So to be able to use this properly other lightsources must be used with it.
For the photonlighting to be 'correct' similar lightsettings as for the 'source'
light are needed.
Probably the best way to do this, when you are happy with the lighting setup
you have, and want to add caustics, copy the light you want to enable for
caustics (shift-D) and leave everything as is, then change the mode to
'Photon'.
To not waiste any photons, the photonlight behaves similar to the spotlight,
you can set the width of the beam with the 'angle' parameter. Make sure
that any object that needs to cast caustics is within that beam, make
the beam width as small as possible to tightly fit the object.
The following other parameters can be set:
-photons: the number of photons to shoot.
-search: the number of photons to search when rendering, the higher,
the blurrier the caustics.
-depth: the amount of photon bounces allowed, since the primary use is for
caustics, you probably best set this to the same level as the 'ray depth'
parameter.
-Blur: this controls the amount of caustics blur (in addition to the search
parameter), very low values will cause very sharp caustics, which when used
with a low photonnumber, probably lead to only some noisy specks being rendered.
-Use QMC: Use quasi monte carlo sampling, can lead to cleaner results, but also
can sometimes cause patterns.

Since the photonlight has no meaning to Blender, when using photonlights and
switching back to the internal render, the light doesn't do anything, and no
type button will be selected. The lightsource can still be selected, but unless
switching to yafray, no parameters can set.

Apologies to Anexus, I had no time to really do something with your code,
I'll still look at it later, to see if I can improve anything in my implementation.

------------------------------------------------------------------------
r2937 | ton | 2004-07-28 23:31:26 +0200 (Wed, 28 Jul 2004) | 3 lines

Change in handling of ui_do_buttip(). It doesnt use the global var, but
gets it as argument. Potential fix for windows crash

------------------------------------------------------------------------
r2936 | goofster | 2004-07-28 23:00:23 +0200 (Wed, 28 Jul 2004) | 2 lines

added correct include paths for radio.h (for msvc debug build) and removed weird local includes (c:\blender...) in BPY_python projectfile

------------------------------------------------------------------------
r2935 | ton | 2004-07-28 22:20:43 +0200 (Wed, 28 Jul 2004) | 5 lines

As requested; the Ramp shaders have same blending operators as were added
for texture blending.

Also made the popups for this blending stuff in more logical order.

------------------------------------------------------------------------
r2934 | aphex | 2004-07-28 20:28:17 +0200 (Wed, 28 Jul 2004) | 5 lines

- added python23.zip & zlib.pyd (bundled python modules for Win32)
  provided by IanWill (thanks!)

- updated build systems to suit

------------------------------------------------------------------------
r2933 | ianwill | 2004-07-28 19:46:29 +0200 (Wed, 28 Jul 2004) | 10 lines

Scripts:
- Campbell Barton updated his sel_same.py script;
- Added to Mesh scripts a call to Window.EditMode(0) to leave editmode before changing meshes.

BPython:
- small doc fixes / updates;
- added a call to undo_push_mesh inside Window.EditMode(0).

Mesh scripts could change the mesh but not the editmesh -- that would then overwrite the changed mesh.  Made all mesh scripts leave edit mode before changing a mesh.

------------------------------------------------------------------------
r2932 | aphex | 2004-07-28 19:24:37 +0200 (Wed, 28 Jul 2004) | 2 lines

- small fix for the scons 'wininst' target, plus a typo correction :)

------------------------------------------------------------------------
r2931 | lukep | 2004-07-28 18:47:08 +0200 (Wed, 28 Jul 2004) | 2 lines

added a nice alert box when blender is run on a mac with less than 8Mb VRAM

------------------------------------------------------------------------
r2930 | ton | 2004-07-28 18:45:00 +0200 (Wed, 28 Jul 2004) | 2 lines

Added crease value in NKey menu editmode

------------------------------------------------------------------------
r2929 | aphex | 2004-07-28 18:22:04 +0200 (Wed, 28 Jul 2004) | 2 lines

- recommitting the installer bmp file (with the -kb option this time)

------------------------------------------------------------------------
r2928 | aphex | 2004-07-28 18:19:50 +0200 (Wed, 28 Jul 2004) | 2 lines

- update for the win installer scripts ( added new scripts, etc ).

------------------------------------------------------------------------
r2927 | ton | 2004-07-28 17:07:35 +0200 (Wed, 28 Jul 2004) | 16 lines

Oops, include file belonging to previous commit...

Plus: moved particle interaction and effect buttons back to a single
Object context. The proposed solution (sub context) has workflow issues,
(adds another click (no hotkey) to view settings)
whilst almost all Object buttons nicely fit in single view still.

This was on todo since first particle commit, actually the idea was to
move particle related issues to a special sub-context, but leave the
effects themselves in the Object main menu. Splitting off Particles from
the Effect system isn't in the scope of what is feasible now.

Also note; the current panel 'particle interaction' actually should be
a generic 'forces and collision' panel, since it's also relevant for
soft body feature (WIP)... that can be changed later.

------------------------------------------------------------------------
r2926 | ton | 2004-07-28 15:21:27 +0200 (Wed, 28 Jul 2004) | 5 lines

Added new selection outline as option in View->View Properties panel. And
while working there added 3d cursor there as well.
I admit it isn't the best location ever, but let's do the threaded
discussions after 2.34 is out. :)

------------------------------------------------------------------------
r2925 | ton | 2004-07-28 14:47:50 +0200 (Wed, 28 Jul 2004) | 9 lines

Removed unnecessary window-close on subsequent renders. This not only causes
delays and lotsof redraw events for the desktop, it also made it impossible
to drag a renderwindow to a desired position.
Now it only re-opens on render size changes. Maybe enables to have the
window permanent on 2nd monitor for extended desktops?

Note; the 'pref position' preset in F10 still works, but only on window
open of course.

------------------------------------------------------------------------
r2924 | ton | 2004-07-28 14:27:28 +0200 (Wed, 28 Jul 2004) | 4 lines

Both transparent render and Unified render now behave with old speed
again. Use raytraced material, or set the "full Osa" option if you
like slow rendering, but with nice specular/shading/texture AA.

------------------------------------------------------------------------
r2923 | ton | 2004-07-28 12:01:22 +0200 (Wed, 28 Jul 2004) | 6 lines

fix for #1479

Caused by commit Kester 7 weeks ago, adding sound actuator always crashes
when no sounds have been loaded. He forgot to put a MEM_Free within the
brackets. :)

------------------------------------------------------------------------
r2922 | ton | 2004-07-28 11:31:36 +0200 (Wed, 28 Jul 2004) | 3 lines

Added framework OpenGL to link path, to enable the video memory check
in osx ghost now.

------------------------------------------------------------------------
r2921 | lukep | 2004-07-28 11:09:32 +0200 (Wed, 28 Jul 2004) | 2 lines

forgot to copy back a change from my config.opt to SConstruct

------------------------------------------------------------------------
r2920 | guignot | 2004-07-28 11:00:46 +0200 (Wed, 28 Jul 2004) | 2 lines

fixed a typo in Mathutil.Matrix (inverse --> invert)

------------------------------------------------------------------------
r2919 | broken | 2004-07-28 02:21:11 +0200 (Wed, 28 Jul 2004) | 13 lines

Interface drawing tweaks:

* Made the shaded ends of popup menus the right shape,
 when the button is aligned, connected to another button.
 Found by desoto, fix by desoto

* Made the icons inside icon buttons scale up with zoom,
 rather than just sit down in the bottom-left corner. The
 scaling up is rather ugly - consider this a temporary
 measure until we can find a nicer solution, on the
 backburner for 2.35. Found once again by Bugmaster
 Desoto, fix by ton.

------------------------------------------------------------------------
r2918 | theeth | 2004-07-28 01:24:56 +0200 (Wed, 28 Jul 2004) | 2 lines

Uncommited dashed lines to indicated 1x1 zoom. While it did look nice and useful, it caused some rather nasty slowdown on some 3D cards. It was decided to push the feature as well as further discussions on it (zooming indicator in corner or others means of showing zoom level) for after 2.34.

------------------------------------------------------------------------
r2917 | ton | 2004-07-28 00:23:45 +0200 (Wed, 28 Jul 2004) | 9 lines

Added option to set 'full Osa' on non raytraced scenes. This makes sure
old files still use the old fast OSA, and when you want a specific
material to have specular/shader/texture AA you can set this individual.

When rendering ray_mir or ray_transp or ray_shadow the new OSA will be
effective by default however.

Still todo; make this switch work for transparant faces and unified...

------------------------------------------------------------------------
r2916 | lukep | 2004-07-27 22:40:42 +0200 (Tue, 27 Jul 2004) | 8 lines

 new window behaviour for macos X computers :

if video card is open GL accelerated and has 16 Mo or more
start window in maximized mode wich is a full screen mode
but keeping access to other windows and sytem menu items

older comps start as usual

------------------------------------------------------------------------
r2915 | lukep | 2004-07-27 22:31:03 +0200 (Tue, 27 Jul 2004) | 2 lines

compile options for macos X builds

------------------------------------------------------------------------
r2914 | stiv | 2004-07-27 22:15:57 +0200 (Tue, 27 Jul 2004) | 6 lines

Add missing funcs to Lamp method table:
  getIpo
  setIpo
  clearIpo
Methods were implemented but not in instance method table.

------------------------------------------------------------------------
r2913 | ton | 2004-07-27 20:48:27 +0200 (Tue, 27 Jul 2004) | 9 lines

Solution for old reports, that ray_transp filtered image textures wrong.
Problem was in calculation of oversampling vectors for correct AA. With
the new AA method, this is less necessary, so the code now doesnt use
mipmapped or filtered images when it is refracted. For reflected rays it
does still use the filter though, there the error is hardly noticable.

For all tests and report .blend files it looks much better.
However, a real mathematical solution is preferable still.

------------------------------------------------------------------------
r2912 | ton | 2004-07-27 17:23:09 +0200 (Tue, 27 Jul 2004) | 3 lines

What one little missing comma can wreak havoc! :)
Solved crash with choosing World ipo

------------------------------------------------------------------------
r2911 | ton | 2004-07-27 16:26:11 +0200 (Tue, 27 Jul 2004) | 6 lines

Fixed small calculation error for non-float slider, which defined
whether redraw was needed. This shows on (some) windows cards that the
button continuously keeps updating/flashing.

Since I can't test it here, please confirm :)

------------------------------------------------------------------------
r2910 | stiv | 2004-07-27 16:18:32 +0200 (Tue, 27 Jul 2004) | 2 lines

fix epydoc formatting errors.

------------------------------------------------------------------------
r2909 | ton | 2004-07-27 14:25:37 +0200 (Tue, 27 Jul 2004) | 2 lines

Removed inadequate cursor grab feature.

------------------------------------------------------------------------
r2908 | ton | 2004-07-27 13:42:50 +0200 (Tue, 27 Jul 2004) | 10 lines

Bug fix #1477

Important for everyone to know; buttons with event return code 0 pass on
the button event to other buttons. This was in yafray panels so, causing
buttons unwanted to be pressed when dragging sliders.

The official 'empty' event is B_DIFF, to denote that back and frontbuffers
are different, since the button was updated in front only with a press.
Alternative is B_NOP, which doesnt do anything.

------------------------------------------------------------------------
r2907 | ton | 2004-07-27 13:29:45 +0200 (Tue, 27 Jul 2004) | 11 lines

Fix for #1476

This is another extreme old one; from before NaN days even!
Issue is that shadowbuffers have a bias to prevent faces shadowing itself.
To make bias smarter, code was added to adjust bias based on light angle.
This correction allowed a factor of 10 times smaller bias, being in many
cases much too strong, causing frontally lighted faces becoming too dark.

New correction only halves the bias on frontal light, which looks quite
more convincing and pretty.

------------------------------------------------------------------------
r2906 | ton | 2004-07-27 13:00:09 +0200 (Tue, 27 Jul 2004) | 6 lines

Fix for #1475

Apparently appending or linking from other files didn't call a proper
do_version() patch to initialize new variables correctly. Was result of
the streamgluing stuff in NaN period... fixed.

------------------------------------------------------------------------
r2905 | ianwill | 2004-07-27 05:13:45 +0200 (Tue, 27 Jul 2004) | 8 lines

Scripts:
- Ben Omari sent an update version of his DirectX8.py, Jean-Michel Soler updated his disp_paint.py and Campbell Barton contributed a new one: sel_same.py (for now it's in the UV menu).  Thanks all, great scripts;
- small updates in some other scripts.

BPython:
- Finished wrapping radiosity functions for the Radio submodule;
- doc updates.

------------------------------------------------------------------------
r2904 | ton | 2004-07-27 00:46:56 +0200 (Tue, 27 Jul 2004) | 5 lines

Fixed small annoyonce that was there for long;
New objects were not created with correct 'ipowin' value, to denote the
default ipo to show. That caused sometimes wrong display with weird empty
menu button in header.

------------------------------------------------------------------------
r2903 | ton | 2004-07-26 23:44:55 +0200 (Mon, 26 Jul 2004) | 9 lines

Nathan's huge ipo patch.

- now more than 31 channels possible for ipos
- added lotsa new channels all over
- Texture block has ipo now too
- recoded getname_ei functions

(Will ask nathan to give release log info when he's back!)

------------------------------------------------------------------------
r2902 | ton | 2004-07-26 23:32:56 +0200 (Mon, 26 Jul 2004) | 5 lines

Error in new particle deflector buttons; wrong type! Doesn't anyone
check warnings, eh! :)

space.c error is mine though... warning too!

------------------------------------------------------------------------
r2901 | ton | 2004-07-26 23:23:20 +0200 (Mon, 26 Jul 2004) | 2 lines

Button type error; declaring short button and giving it an int!

------------------------------------------------------------------------
r2900 | ton | 2004-07-26 23:20:42 +0200 (Mon, 26 Jul 2004) | 4 lines

Removed 'static' declaration from addzbufImBuf(). This is an exported
function, static is for local functions...
Reason was it gave loads of warnings in compiling.

------------------------------------------------------------------------
r2899 | ton | 2004-07-26 22:09:43 +0200 (Mon, 26 Jul 2004) | 5 lines

Wrong threshold for reflection rays (prevent go through backside) caused
errors in rays going extreme close along surface. Like bug #1471 shows.

Threshold removed, can't find any sample where this happens now...

------------------------------------------------------------------------
r2898 | ton | 2004-07-26 19:12:04 +0200 (Mon, 26 Jul 2004) | 9 lines

Fix for #1449 (blocky shadows)

This problem appeared to be a famous one, with some fun read to be found
on the web. The solution as I commit here is described on the site:
http://www.blender3d.org/cms/Misc_improvements.355.0.html

As extra (I needed it quite some!) added requested feature to have the
renderwindow display in titlebar whether the spare page is shown (JKEY)

------------------------------------------------------------------------
r2897 | kester | 2004-07-26 13:54:10 +0200 (Mon, 26 Jul 2004) | 4 lines

Let the game engine manage it's own sound scene.  This is to fix bug 1415 (Patch from Peter den Bak)
http://projects.blender.org/tracker/index.php?func=detail&aid=1415&group_id=9&atid=125
Also release the OpenAL device & context.  These were leaked before, and would cause an assertion.

------------------------------------------------------------------------
r2896 | stiv | 2004-07-26 09:15:00 +0200 (Mon, 26 Jul 2004) | 6 lines

roll back changes made in Ipo.c version 1.25 so we can
easily apply Nathan's ipo patch which was made against
version 1.24.

this version is the same as 1.24

------------------------------------------------------------------------
r2895 | ianwill | 2004-07-26 04:13:42 +0200 (Mon, 26 Jul 2004) | 2 lines

Stupid mistake, forgot to add radiosity include dir to the source/blender/python/api2_2x/Makefile, breaking the makefiles build.  Thanks intrr for reporting.

------------------------------------------------------------------------
r2894 | eeshlo | 2004-07-26 02:48:28 +0200 (Mon, 26 Jul 2004) | 5 lines

Fixed camera flip bug.
Shadow lamp flags in plugin were not handled correctly.
Vertexcolors in plugin code were not exported.
Fixed a few bugs related to GIpower parameter.

------------------------------------------------------------------------
r2893 | theeth | 2004-07-25 23:56:07 +0200 (Sun, 25 Jul 2004) | 2 lines

New BPython files missing from MSVC 6.0 projectfiles

------------------------------------------------------------------------
r2892 | stiv | 2004-07-25 22:35:17 +0200 (Sun, 25 Jul 2004) | 2 lines

added a comment

------------------------------------------------------------------------
r2891 | stiv | 2004-07-25 22:12:57 +0200 (Sun, 25 Jul 2004) | 3 lines

a shot-in-the-dark attempt to fix the 'missing radio.h' problem.
changed #include <radio.h> to #include "radio.h"

------------------------------------------------------------------------
r2890 | ton | 2004-07-25 19:52:13 +0200 (Sun, 25 Jul 2004) | 2 lines

Forgot to add remaking displist on ESC for subsurf crease edit...

------------------------------------------------------------------------
r2889 | ianwill | 2004-07-25 18:55:45 +0200 (Sun, 25 Jul 2004) | 12 lines

BPython:
- new submodule Scene.Radio, for radiosity: still incomplete, but in shape for demos, updated SConscript to include it;
- new functions in Window module;
- doc updates: adding a todo file and a new start page for our docs: API_intro.py + other updates;
- small fix in Ipo.c provided by Damien McGuinnes (thanks!): Nathan has a patch with IPO additions and fixes for this and more, but until it is committed, there's this fix for Ipo.getCurve('LocX'), LocY, Z and QuatW,X,Y,Z too, according to Damien.

Other files:
- radpreprocess.c: added check for "during_script()" so eventual msgs don't popup during scripts;
- drawmesh.c: made a pointer (display list) be checked before accessed, fixes crash in scripts that forget to update display lists for subsurf meshes when a 3d view is in textured view mode.

Script: updated bevel_center by Loic Berthe.

------------------------------------------------------------------------
r2888 | ton | 2004-07-25 15:45:52 +0200 (Sun, 25 Jul 2004) | 2 lines

belongs to previous commit!

------------------------------------------------------------------------
r2887 | ton | 2004-07-25 15:36:44 +0200 (Sun, 25 Jul 2004) | 7 lines

Work on creases editing.
- while editing creases (SHIFT+E) it works like scaling now (towards or
  away from center selection).
- ESC while crease edit now works.
  (note; doesnt fit in Trans structs...)
- button 'draw edges' and 'draw creases' now exclude each other

------------------------------------------------------------------------
r2886 | blendix | 2004-07-25 12:49:25 +0200 (Sun, 25 Jul 2004) | 6 lines


Fix bug #1466: Crash on decimating non-manifold mesh in scons build.
- Enabled the NDEBUG define (to disable assertions) on all platforms in scons.
  This is already the default in Makefiles.
- Free MEdge data after decimating, it is not valid anymore.

------------------------------------------------------------------------
r2885 | broken | 2004-07-24 18:43:16 +0200 (Sat, 24 Jul 2004) | 2 lines

Cleaned up the User Prefs layout. More ordered, descriptive, and better room for growth.

------------------------------------------------------------------------
r2884 | guitargeek | 2004-07-24 07:32:08 +0200 (Sat, 24 Jul 2004) | 4 lines

This commit prevents the loopcut tool from selecting a starting edge which isn't part of any visible faces. Since the tool requires at least 1 face to cut, this does not limit tool functionality and prevents blender from crashing.

Fixes bug #1331

------------------------------------------------------------------------
r2883 | ton | 2004-07-23 23:07:32 +0200 (Fri, 23 Jul 2004) | 6 lines

Report #1457

The laptop option "no numpad" did this in the main queue, for all windows.
This caused problems, like for text editing in 3d window.
Now it only does it in 3d window, and not with editmode for Text object.

------------------------------------------------------------------------
r2882 | hos | 2004-07-23 22:50:44 +0200 (Fri, 23 Jul 2004) | 3 lines

Somewhat better determination of ascii vs. binary filetypes when
importing STL files.

------------------------------------------------------------------------
r2881 | ton | 2004-07-23 22:47:47 +0200 (Fri, 23 Jul 2004) | 5 lines

Bug #1462

A nurbs sphere parented to Bone accidentally was treated as parented to
armature (deform) in renderconverter.

------------------------------------------------------------------------
r2880 | ton | 2004-07-23 21:24:07 +0200 (Fri, 23 Jul 2004) | 3 lines

Added a fix for calculating centring buttons in panel. It was off 8 pixels
(the safety).

------------------------------------------------------------------------
r2879 | hos | 2004-07-23 17:23:42 +0200 (Fri, 23 Jul 2004) | 2 lines

Fixed (minor) memory leak that occurs when audio can't be opened.

------------------------------------------------------------------------
r2878 | ton | 2004-07-23 16:31:22 +0200 (Fri, 23 Jul 2004) | 3 lines

Report 1456; bezier subdivide was far too simple. The reporter provided
the correct math for it, works like a charm

------------------------------------------------------------------------
r2877 | ton | 2004-07-23 13:06:28 +0200 (Fri, 23 Jul 2004) | 3 lines

Fix in rendering AO + alphamode "Key". Sky color was set raytrace and not
properly reset when renderimg sky itself.

------------------------------------------------------------------------
r2876 | ton | 2004-07-23 12:49:04 +0200 (Fri, 23 Jul 2004) | 9 lines

Work on filesel.c :

- Bug fix #1464; a 2nd time shift+f1 append didn't make the ".." file a
  directory, preventing going to a parent directory in .blend file
- Bug fix (not reported): when saving an image, the fileselect window(s)
  didn't show that image file when calling fileselector again
- Removed redundant code from experiment with ImageMagick
- Renamed functions with dutch names... :)

------------------------------------------------------------------------
r2875 | ton | 2004-07-22 18:56:35 +0200 (Thu, 22 Jul 2004) | 6 lines

Bug 1447

CTRL+ALT+F was supposed to give a button popup to type a search string.
thanks to reordering code in oct last year this didnt work anymore, only
the first time.

------------------------------------------------------------------------
r2874 | ton | 2004-07-22 18:00:44 +0200 (Thu, 22 Jul 2004) | 3 lines

Added proper duplicate code for displistMesh. causing crashes...
(bug 1434)

------------------------------------------------------------------------
r2873 | ton | 2004-07-22 15:40:17 +0200 (Thu, 22 Jul 2004) | 2 lines

Added colorpicker support for theme editor

------------------------------------------------------------------------
r2872 | kester | 2004-07-22 02:26:34 +0200 (Thu, 22 Jul 2004) | 4 lines

Fix bug #1460: Camera IPOs Broken (Gameengine)

The camera IPO was not invalidating the cached projection matrix.

------------------------------------------------------------------------
r2871 | kester | 2004-07-22 02:15:50 +0200 (Thu, 22 Jul 2004) | 2 lines

GCC 3.4 compile fixes from bug #1277

------------------------------------------------------------------------
r2870 | theeth | 2004-07-22 00:59:09 +0200 (Thu, 22 Jul 2004) | 2 lines

New BPython files missing from MSVC 6.0 projectfiles

------------------------------------------------------------------------
r2869 | ton | 2004-07-21 23:27:14 +0200 (Wed, 21 Jul 2004) | 7 lines

Report #1433

In camera view, with ortho camera, the current camera was drawn with
unpredictable sizes. The code was not written to work for ortho, so
I check on that now. Means camera isnt visible itself then, which
is minor I think. Nice for a todo once...

------------------------------------------------------------------------
r2868 | stiv | 2004-07-21 23:26:11 +0200 (Wed, 21 Jul 2004) | 2 lines

fix warning: function declaration isn't a prototype

------------------------------------------------------------------------
r2867 | stiv | 2004-07-21 23:02:57 +0200 (Wed, 21 Jul 2004) | 3 lines

add CurNurb file.
goes with previous commit

------------------------------------------------------------------------
r2866 | stiv | 2004-07-21 23:01:15 +0200 (Wed, 21 Jul 2004) | 22 lines

New Curve method Curve.appendPoint( numcurve, newpoint ) to add
points to a Curve.

New supporting module CurNurb to provide access to the curves in a Curve
and their associated points.

Curve module now supports Python iterator and sequence protocols.
This allows typical python programming idioms using 'for' statement
and the [] operator.

# example 1
for curve in a_curve:
	for point in curve:
		print point

#example 2

curnurb = a_curve[0]
curnurb.append( [1,1,1,1] )

Still under construction.  Epydoc will follow.

------------------------------------------------------------------------
r2865 | goofster | 2004-07-21 21:01:44 +0200 (Wed, 21 Jul 2004) | 2 lines

added include path for some gameengine file and fixed an undefined function in the shading buttons

------------------------------------------------------------------------
r2864 | ton | 2004-07-21 19:44:44 +0200 (Wed, 21 Jul 2004) | 3 lines

Bug #1459
New buttons in editmode for mball forgot to check on NULL pointer.

------------------------------------------------------------------------
r2863 | jesterking | 2004-07-21 19:25:50 +0200 (Wed, 21 Jul 2004) | 2 lines

Kent Mein pointed out some embarrasing syntax errors in example. Corrected those.

------------------------------------------------------------------------
r2862 | sirdude | 2004-07-21 18:06:54 +0200 (Wed, 21 Jul 2004) | 7 lines



made it so the popup for mixing modes for textures was put into world
and lamp map to windows as well as the material one.

Kent

------------------------------------------------------------------------
r2861 | jesterking | 2004-07-21 15:53:10 +0200 (Wed, 21 Jul 2004) | 2 lines

More alignment corrections by Emilie, for "Anim Settings" buttons.

------------------------------------------------------------------------
r2860 | jesterking | 2004-07-21 11:51:36 +0200 (Wed, 21 Jul 2004) | 2 lines

The second part of the updated polish translation (by Piotr Kiec).

------------------------------------------------------------------------
r2859 | jesterking | 2004-07-21 11:50:49 +0200 (Wed, 21 Jul 2004) | 2 lines

Piotr Kiec updated the polish translation. The .mo will follow next

------------------------------------------------------------------------
r2858 | ianwill | 2004-07-21 05:19:52 +0200 (Wed, 21 Jul 2004) | 4 lines

creator.c wasn't updated in my last commit, here it is (the change reverts my previous change to it, since it was made unnecessary by handling onload scriptlinks a little differently, as can be checked in blender.c and editscreen.c).

- BPython:  finishing object and nmesh .setMaterials commit, fixing two bugs.  Also fixed a crash with object.track (pointer wasn't checked for validity).  All based on reports and patch by Yann Vernier, thanks again.

------------------------------------------------------------------------
r2857 | broken | 2004-07-21 03:44:27 +0200 (Wed, 21 Jul 2004) | 6 lines

More details:

* Added 'Crease SubSurf' to the menus/toolbox

* Language edits in the sequence editor

------------------------------------------------------------------------
r2856 | stiv | 2004-07-21 03:38:20 +0200 (Wed, 21 Jul 2004) | 2 lines

More stuff made pretty. Courtesy of Emilie.

------------------------------------------------------------------------
r2855 | intrr | 2004-07-21 00:35:09 +0200 (Wed, 21 Jul 2004) | 4 lines



Desoto fixed fine-alignment of buttons in Scene buttons. Looks cleaner now.

------------------------------------------------------------------------
r2854 | intrr | 2004-07-20 23:48:42 +0200 (Tue, 20 Jul 2004) | 5 lines



Undo never worked correctly for "Extrude" in BF-Blender. It just undid the
transform, not the extrusion itself. How did nobody notice? :)

------------------------------------------------------------------------
r2853 | kester | 2004-07-20 14:07:06 +0200 (Tue, 20 Jul 2004) | 2 lines

Added support for cameras in Blender's Ortho mode.

------------------------------------------------------------------------
r2852 | ianwill | 2004-07-20 10:16:46 +0200 (Tue, 20 Jul 2004) | 10 lines

Trying to fix bug reported by Peter den Bak and Meino Christian Cramer (thanks!):
-- splash screen disappeared (duh, I did that!) and Blender quits upon exiting from some 225 games:

It was troublesome to find how to run demos in general with the screen correctly redrawn before they started, etc.  Ended up making the above error in screenmain().  About the games, I don't have them and will need some time to get the files for testing, but I'll do it, though only on linux.

BPython:
-- Window: added GetScreens, SetScreen and improved GetScreenInfo.
-- Object, NMesh: updated (added in NMesh) method getMaterials to return either only valid materials as before or also empty slots (as None).  This previous omission can be considered a bug, since it made info about materials incomplete / incompatible with face mat indices.  Thanks Yann Vernier for bringing this up and sending/proposing a patch that also fixed a bug related to assigning lists of materials with different lengths to obj and its mesh. setMaterials also accepts Py_None entries now, which become empty slots in Blender.
-- doc updates.

------------------------------------------------------------------------
r2851 | theeth | 2004-07-20 03:53:32 +0200 (Tue, 20 Jul 2004) | 6 lines

Minor UI fixes by Emilie McDavid and Chris Burt. Mostly button alignement fixes, positioning, sizes and thingies like that.

Mostly in Editing and Shading (material).

Note: broken should review the changes though we've checked with all the different draw types and it didn't make any problem. If it worked correctly on Desoto's weird screen size, it can probably work anywhere. ;)

------------------------------------------------------------------------
r2850 | intrr | 2004-07-19 13:38:09 +0200 (Mon, 19 Jul 2004) | 10 lines



Fix Trackball view rotation method to allow rotation angles > 180 deg.
without having to start over.

I patched this into instinctive a long time ago when someone submitted
the math to the mailing list but never got heard.

I hope it's acceptable :)

------------------------------------------------------------------------
r2849 | intrr | 2004-07-19 10:42:24 +0200 (Mon, 19 Jul 2004) | 4 lines



"Grab Cursor" now only is invoked by GKEY.

------------------------------------------------------------------------
r2848 | broken | 2004-07-19 09:08:51 +0200 (Mon, 19 Jul 2004) | 9 lines

Details, details...

* Aligned the header align toggle button thing with the
 menu and gave handle_view3d_around() a prototype to
 clean up a warning

* Replaced the conglomerate of abbreviated texture blend
 modes with a menu

------------------------------------------------------------------------
r2847 | hos | 2004-07-19 04:43:07 +0200 (Mon, 19 Jul 2004) | 8 lines

windows-gcc vs. solid, round 2

Doing it the Kester way, but in a way that it actually compiles and links
for non-Kester people. >=P

(translation: FREE_WINDOWS now builds the stuff in extern and overwrites
the pre-compiled solid libs).

------------------------------------------------------------------------
r2846 | broken | 2004-07-19 02:24:56 +0200 (Mon, 19 Jul 2004) | 2 lines

Give the correct N key panel name when in vertex paint + edit mode (#1451 thanks Desoto for the report! )

------------------------------------------------------------------------
r2845 | theeth | 2004-07-19 00:24:39 +0200 (Mon, 19 Jul 2004) | 2 lines

argh, missed this one with previous commit

------------------------------------------------------------------------
r2844 | theeth | 2004-07-19 00:23:50 +0200 (Mon, 19 Jul 2004) | 7 lines

Particles effector type #define
Different draw mode for Vortex effector ( http://www.clubinfo.bdeb.qc.ca/~theeth/Temp/vortex.jpg )
Use row buts for effector type (only one effector at a time per object).
Forcefield circle transparency in 3D view is controlled by falloff value (for coolness factor).

Please note that those only draws in the 3D view for Empty objects. I've tested with all other object types through a global call, but lamps (and only those) give problems. Since we go in release status soon, I prefer commiting something that works all the time.

------------------------------------------------------------------------
r2843 | lukep | 2004-07-18 21:02:56 +0200 (Sun, 18 Jul 2004) | 2 lines

made Scons work again for Os X bundle creation

------------------------------------------------------------------------
r2842 | hos | 2004-07-18 20:42:36 +0200 (Sun, 18 Jul 2004) | 3 lines

This makes the windows-gcc build finish (only link to libsolid.a)
... might not be the best way, but it works.

------------------------------------------------------------------------
r2841 | ton | 2004-07-18 19:42:57 +0200 (Sun, 18 Jul 2004) | 4 lines

Adding the new blending modes, and coding nice code broke having
multiple layers of textures... silly cut/paste error. Fixed!
(check; moto9.blend in regression files)

------------------------------------------------------------------------
r2840 | intrr | 2004-07-18 18:10:41 +0200 (Sun, 18 Jul 2004) | 4 lines



Must have forgotten this file, sorry.

------------------------------------------------------------------------
r2839 | intrr | 2004-07-18 17:58:23 +0200 (Sun, 18 Jul 2004) | 6 lines



Forgot these two :)

Please test :)

------------------------------------------------------------------------
r2838 | intrr | 2004-07-18 17:57:33 +0200 (Sun, 18 Jul 2004) | 13 lines



1) Change the way "Align mode" is accessed in the UI: It's now a global
   toggle for all pivot modes. The 2 new pivot modes have been removed
   from the popup.

   Instead, a new toggle button is added to the 3d view header.

2) Grab cursor mode. Cursor can be grabbed (and constrained to axis, grid,
   etc. while moving) like any other object. If no object is selected,
   GKEY alone grabs the cursor, otherwise pressing CKEY while in GKEY mode
   moves the cursor.

------------------------------------------------------------------------
r2837 | ianwill | 2004-07-18 17:54:17 +0200 (Sun, 18 Jul 2004) | 7 lines

BPython:
- added image.getBindCode() docstring to Image's epydoc file (thanks Satish Goda).
Scripts:
- Adding Apply_def.py to "Mesh" scripts menu (thanks author: Theeth);
- Updating JMS's disp_paint.py (also changed its name to remove version info);
- minor updates in docs and scripts.

------------------------------------------------------------------------
r2836 | ton | 2004-07-17 16:18:34 +0200 (Sat, 17 Jul 2004) | 4 lines

Attempt 2 :)
Found the right +0.5 todo, now based on understanding why. Checked with
demo files in regression. But i bet intrr finds a new bug in an hour!

------------------------------------------------------------------------
r2835 | ton | 2004-07-17 15:56:05 +0200 (Sat, 17 Jul 2004) | 5 lines

Really bad luck with committing recently... past fix was plain wrong,
although it rendered the submitted bug file fine...
Note to self again; always also check if code even works in general! :)
Note to self 2: don't fix things ad hoc when you're not coding

------------------------------------------------------------------------
r2834 | intrr | 2004-07-17 14:55:16 +0200 (Sat, 17 Jul 2004) | 5 lines



"Force field" and "Vortex field" buttons in Effect buttons didn't update
the 3d view.

------------------------------------------------------------------------
r2833 | ton | 2004-07-17 13:23:57 +0200 (Sat, 17 Jul 2004) | 2 lines

Fixed OSX ranlib line, to match commented out part in make libs

------------------------------------------------------------------------
r2832 | kester | 2004-07-17 07:28:23 +0200 (Sat, 17 Jul 2004) | 4 lines

Port Python updates from Tuhopuu2:
getType/setType to action/sound actuator (sgefant)
Use a more generic python -> math conversion.

------------------------------------------------------------------------
r2831 | kester | 2004-07-17 07:23:17 +0200 (Sat, 17 Jul 2004) | 4 lines

Port a few rasterizer changes from tuhopuu2:
Up the max batch size.
Clean up some of the code - move code in headers to source files etc.

------------------------------------------------------------------------
r2830 | kester | 2004-07-17 06:59:25 +0200 (Sat, 17 Jul 2004) | 2 lines

One more cleanup for MSVC - need separation for debug/release because MSVC can't handle debug and optimisation flags at the same time.

------------------------------------------------------------------------
r2829 | guitargeek | 2004-07-17 05:23:17 +0200 (Sat, 17 Jul 2004) | 2 lines

If using the 'ob centers only' modes, the headers for scaling did not update properly. This commit should fix that.

------------------------------------------------------------------------
r2828 | kester | 2004-07-17 04:50:15 +0200 (Sat, 17 Jul 2004) | 2 lines

Missed these two...

------------------------------------------------------------------------
r2827 | kester | 2004-07-17 04:44:24 +0200 (Sat, 17 Jul 2004) | 3 lines

Remove all the autoconf stuff for QHull & SOLID and use the Makefiles.
This should make building Solid & Qhull much more reliable.

------------------------------------------------------------------------
r2826 | kester | 2004-07-17 02:48:59 +0200 (Sat, 17 Jul 2004) | 2 lines

Added the runtime fullscreen options.

------------------------------------------------------------------------
r2825 | kester | 2004-07-17 02:44:48 +0200 (Sat, 17 Jul 2004) | 2 lines

Fix m_type used uninitialised in MT_Transform.

------------------------------------------------------------------------
r2824 | sirdude | 2004-07-16 16:45:06 +0200 (Fri, 16 Jul 2004) | 32 lines


Bunch of small fixes for warnings and whatnot....

intern/SoundSystem/intern/SND_AudioDevice.cpp
   Initalized a var that could fall through with no value.

source/blender/readblenfile/intern/BLO_readblenfile.c
source/blender/src/space.c
intern/SoundSystem/intern/SND_Scene.cpp
source/gameengine/Converter/BL_MeshDeformer.cpp
        removed unused var's

intern/SoundSystem/openal/pthread_cancel.cpp
        fixed a nested /*

source/blender/imbuf/IMB_imbuf.h
        added static to the type returned for addzbufImBuf

source/blender/imbuf/intern/IMB_bmp.h
        had a wrong prototype

source/blender/src/view.c
        added newline at end of file.

source/blender/src/sequence.c
        removed unused var
        added #include <stdlib.h>  to avoid:
                 warning: implicit declaration of function `abs'
        initalized a var that could have been used without being set.

Kent

------------------------------------------------------------------------
r2823 | ianwill | 2004-07-16 08:00:40 +0200 (Fri, 16 Jul 2004) | 8 lines

Fixing a blenderplayer compile error reported by Meino Christian Cramer:
- added mainqenter to stubs.c so it can be used in blender/blenkernel/intern/blender.c's setup_app_data.

We can't run the onload scriptlink in setup_app_data because the visible areas won't have been updated and redrawn for the loaded .blend file until control returns to screenmain() in blender/src/editscreen.c.  So an ONLOAD_SCRIPT event is entered in setup_app_data and caught in screenmain, where the onload script is then executed.  All for a good looking demo mode ...

BPython:
- Added image.getBindCode() method, contributed by Andrew Corrigan (thanks!).

------------------------------------------------------------------------
r2822 | ianwill | 2004-07-16 05:08:43 +0200 (Fri, 16 Jul 2004) | 15 lines

Demo mode and BPython:

- small additions and fixes to enable the demo mode;

- Added sleep() to Blender.sys and 17 new functions to Blender.Window module:
    things to help demo script writing and as a bonus read / write access to Blender's input event queue;

- updates in docs, those interested please check Window.py in python/api2_2x/doc/ to read about the new Blender.Window functions.

----

Demo mode should be working well now for (I) playing rt animation -- aka ALT+A -- and (II) rendering pics and anims and playing anims.  I'll still add access to radiosity data and functions.

PS: Joseph Gilbert made (II) possible with the Scene.Render module he added for 2.32.  He's been coding great things for bpython, so I'd like to take the chance to point that and thank him here.

------------------------------------------------------------------------
r2821 | broken | 2004-07-16 04:10:52 +0200 (Fri, 16 Jul 2004) | 2 lines

Darn, missed this file with the last commit

------------------------------------------------------------------------
r2820 | broken | 2004-07-16 04:10:29 +0200 (Fri, 16 Jul 2004) | 6 lines

Details, details...

* Renamed the paint color picker panel to 'Paint' instead of 'Transform Properties'

* Minor label edits to the pivot icon menu

------------------------------------------------------------------------
r2819 | broken | 2004-07-16 03:34:19 +0200 (Fri, 16 Jul 2004) | 17 lines

* User preference to select with the left mouse button
instead of right.

This basically swaps left and right, in most window spaces
so you can choose between:
LMB: Cursor/time slider/paint  -  RMB: Select
or LMB: Select  -  RMB: Cursor/time slider/paint

Aimed at:
1. Newbies
2. 1 button mouse mac users
3. People like me who are sick of having to constantly keep putting their brains into different modes when
 switching between other apps and Blender :)

Yes, the User Preferences window is a bit of a nightmare
now, a layout cleanup will be forthcoming soon...

------------------------------------------------------------------------
r2818 | hos | 2004-07-16 03:31:25 +0200 (Fri, 16 Jul 2004) | 4 lines

OK, the game engine has been un-buildable on irix for long enough
-- I'm committing this change I had discussed on the mailing list
about a month ago.

------------------------------------------------------------------------
r2817 | kester | 2004-07-16 02:08:06 +0200 (Fri, 16 Jul 2004) | 2 lines

Fix to not create invalid bound shapes from non mesh objects (armatures).

------------------------------------------------------------------------
r2816 | kester | 2004-07-16 02:05:20 +0200 (Fri, 16 Jul 2004) | 6 lines

Fix ATI texture performance under Linux.
glGenTexturesEXT(1, &bind); // produces bind == 0
while:
glGenTextures(1, &bind); // produces bind correctly.
(Ported from tuhopuu2)

------------------------------------------------------------------------
r2815 | ton | 2004-07-15 22:03:35 +0200 (Thu, 15 Jul 2004) | 3 lines

Shadow buffer render wasn't corrected yet for OSA reconstruction of long
ago... samples where offsetted half a pixel, causing banding in render.

------------------------------------------------------------------------
r2814 | jesterking | 2004-07-15 19:47:43 +0200 (Thu, 15 Jul 2004) | 2 lines

Make sure that the hex value is checked as a hexvalue. On some systems this was apparently a problem.

------------------------------------------------------------------------
r2813 | guitargeek | 2004-07-15 19:42:04 +0200 (Thu, 15 Jul 2004) | 10 lines

This adds two modes to the 'around' drop down in 3d header

3d Cursor, only Ob Centers
Median Point, only Ob Centers

They prevent rotation/scaling from effecting the scale/rotation of the objects and just effects their position.
This is handy for aligning objects if you constrain to an axis and scale, as well as other neato things :)

Intrr came up with the code and I hacked it into the GUI

------------------------------------------------------------------------
r2812 | intrr | 2004-07-15 18:40:01 +0200 (Thu, 15 Jul 2004) | 4 lines



Oops. Forgot to restore setlinestyle(0); after drawing the dotted grid.

------------------------------------------------------------------------
r2811 | hos | 2004-07-15 17:06:54 +0200 (Thu, 15 Jul 2004) | 3 lines

This should have been fixed long ago ... create important
directories using 'mkdir -p' to avoid errors with fresh builds.

------------------------------------------------------------------------
r2810 | intrr | 2004-07-15 15:31:18 +0200 (Thu, 15 Jul 2004) | 42 lines




Commit for the 4 aforementioned "features":

 - "Global Pivot": Maintains a global Pivot and Align mode setting for
   all 3d views when enabled, instead of seperate settings per 3d view

 - "Auto Perspective": Switch to ortho mode automatically on 1/3/7, and
   to Perspective when the view is rotated with the mouse

 - "Align mode": As suggested on the list, when enabled, transformations
   on several objects only transform their locations, not their sizes or
   rotations.

 - Grid dotted when not 1:1

***ATTENTION***! The User Interface parts of these features have not been
committed, as I work on my own modified UI here. The three features need
toggle buttons to turn them on and off.

I used the following 3 buttons (first two features are in userprefs,
third as a 3d view setting):

        uiDefButBitS(block, TOG, USER_AUTOPERSP, B_DRAWINFO, "Auto Persp",
            (xpos+edgespace+(3*medprefbut)+(3*midspace)+smallprefbut+2),y3+10,smallprefbut,buth,
            &(U.uiflag), 0, 0, 0, 0,
            "Automatically switch between orthographic and perspective");

        uiDefButBitS(block, TOG, USER_LOCKAROUND, B_DRAWINFO, "Global Pivot",
            (xpos+edgespace+(4*midspace)+(4*medprefbut)),y3+10,smallprefbut,buth,
            &(U.uiflag), 0, 0, 0, 0,
            "Use global pivot setting for all 3d views");

    uiDefIconButS(block, TOG|BIT|10, B_AROUND, ICON_ALIGN,
                xco+=XIC,0,XIC,YIC,
                &G.vd->flag, 0, 0, 0, 0, "Translate only (align)");

Someone needs to add these to the interface in an appropriate manner!

Thanks.

------------------------------------------------------------------------
r2809 | jesterking | 2004-07-15 10:26:17 +0200 (Thu, 15 Jul 2004) | 3 lines

* on OS X the 'blender$PROGSUFFIX' caused problems due to SCons expanding it too late.
  This is now fixed by manually setting target to 'blender'

------------------------------------------------------------------------
r2808 | bjornmose | 2004-07-14 22:57:38 +0200 (Wed, 14 Jul 2004) | 10 lines

work on mcvc6 projects
add unwrapper.c to BL_src
in opennl create project/workspace to build
modify blender. to link to blender_ONL.lib
add ",..\..\..\lib\windows\opennl" to libpath
add ",..\..\..\lib\windows\opennl\debug" to libpath for debug
add opennl project to intern workspace .. adjusting dependancies

BM crosses fingers to work

------------------------------------------------------------------------
r2807 | bjornmose | 2004-07-14 22:55:20 +0200 (Wed, 14 Jul 2004) | 2 lines

workspace and project to make opennl

------------------------------------------------------------------------
r2806 | jesterking | 2004-07-14 22:55:17 +0200 (Wed, 14 Jul 2004) | 4 lines

* the clean target was doing some strange dependency stuff, so I changed that. As a bonus, it doens't read the SConscripts anymore, but just deletes the directories with object files. I leave the signature databases, since deleting them tended to give warning messages on subsequent runs.

ps. if it doesn't work, shoot me (and Jens, since he tested too ;)

------------------------------------------------------------------------
r2805 | bjornmose | 2004-07-14 22:52:41 +0200 (Wed, 14 Jul 2004) | 2 lines

workspace with opennl included

------------------------------------------------------------------------
r2804 | ton | 2004-07-14 20:18:21 +0200 (Wed, 14 Jul 2004) | 4 lines

Rewound changes done in alpha calculus for texturemapping. This
worked OK for alpha coming from antialising (rendered) but failed to do
in other situations (alpha as blending, painted in gimp)

------------------------------------------------------------------------
r2803 | jesterking | 2004-07-14 20:14:49 +0200 (Wed, 14 Jul 2004) | 3 lines

* use sys.exit() instead of exit()
* scons clean -> does a quick(er) clean. No need to think, just scons clean (it removes all content of root_build_dir)

------------------------------------------------------------------------
r2802 | jesterking | 2004-07-14 19:36:14 +0200 (Wed, 14 Jul 2004) | 2 lines

D'oh! Accidently testvalue for sys.hexversion got committed... Sorry!

------------------------------------------------------------------------
r2801 | jesterking | 2004-07-14 19:26:04 +0200 (Wed, 14 Jul 2004) | 2 lines

* Tell compilers they really need Python 2.3 when trying to SCons it all.

------------------------------------------------------------------------
r2800 | ton | 2004-07-14 17:37:49 +0200 (Wed, 14 Jul 2004) | 2 lines

The blenderbuttons file with EFFECT icon

------------------------------------------------------------------------
r2799 | jesterking | 2004-07-14 16:13:20 +0200 (Wed, 14 Jul 2004) | 9 lines

* the installer script so you can do 'scons wininst' (on win32 only, of course)

This installer script is modified from the original one so that the SConstruct
will dynamically add the files that need to go into the installer. This means
that adding a script to release/scripts will automatically put it in the installer.

Also, adding new resource files in bin/.blender/ will make sure that those get
added to the installer.

------------------------------------------------------------------------
r2798 | jesterking | 2004-07-14 16:10:39 +0200 (Wed, 14 Jul 2004) | 9 lines

* rewrote part of the targets code
* added 'scons wininst'. This will create a NSIS installer for blender.
  This will need the NSIS tool in your path (makensis.exe).
  The needed scriptfile will be committed seperately, so remember
  to 'cvs update -d'

* tested on windows and linux, so other platform maintainers, please
  check that the build process is not broken.

------------------------------------------------------------------------
r2797 | jandro | 2004-07-14 12:20:56 +0200 (Wed, 14 Jul 2004) | 3 lines

cache_size yafray parameter calculation changed to sync with current
yafray cvs code. Now given in screen coords (-1,+1)x(-1,+1)

------------------------------------------------------------------------
r2796 | jesterking | 2004-07-14 08:09:29 +0200 (Wed, 14 Jul 2004) | 3 lines

* the default 'scons' process now just builds Blender, but does no packaging, zipping or tarballing
* 'release' must be explicitely given as target to get all nicely wrapped up

------------------------------------------------------------------------
r2795 | aphex | 2004-07-13 23:52:23 +0200 (Tue, 13 Jul 2004) | 5 lines

- updated VC6 project files for SOLID - blender now links with the
  static solid lib.

- also cleaned up solid.dsw workspace (removed unused projects).

------------------------------------------------------------------------
r2794 | blendix | 2004-07-13 22:53:51 +0200 (Tue, 13 Jul 2004) | 6 lines


LSCM:
Fixed a bug where the projection axis for the initial solution was wrong,
causing the solution to collapse into one point.
Made packing denser (by reducing the padding between face groups).

------------------------------------------------------------------------
r2793 | ton | 2004-07-13 22:39:32 +0200 (Tue, 13 Jul 2004) | 2 lines

Removed VECADD and VECSUB, are in utildefine.h now

------------------------------------------------------------------------
r2792 | eeshlo | 2004-07-13 21:22:41 +0200 (Tue, 13 Jul 2004) | 11 lines

Removed some testcode from yafray_Render.cpp
Added the missing anti-aliasing pixel filter size and threshold parameters for manual AA control (disable 'Auto AA' button).
Added support for yafray raytraced depth-of-field.
Added extra panel for Camera in edit window to edit dof paramaters.
The actual focus point will be drawn as a cross when camera 'ShowLimits' is enabled, similar to the aqsis code in tuhopuu.

Note to users: raytraced DoF is very slow, for best results, the default AA parameters are not good enough, especially with higher aperture values (more blur).
So for best results, disable 'Auto AA' and set the AA parameters yourself.
It works best with multi-pass AA ('AA passes' > 1) and a reasonable 'AA samples' value, something in the range 8 - 25 or even higher.
Currently the post-process DoF is not available in yafray, alternatives are being worked on.

------------------------------------------------------------------------
r2791 | jesterking | 2004-07-13 21:10:34 +0200 (Tue, 13 Jul 2004) | 3 lines

* colon after def printadd() added to have correct and running python again :) (sorry, must've been subconsious spasm)
* made the build not depend on blenderplayer, so that it continues even when you have not the blenderplayer enabled

------------------------------------------------------------------------
r2790 | jesterking | 2004-07-13 20:27:40 +0200 (Tue, 13 Jul 2004) | 3 lines

* UNWRAPPER define in blenkernel for
* updates to have blender link with opennl

------------------------------------------------------------------------
r2789 | jesterking | 2004-07-13 20:25:44 +0200 (Tue, 13 Jul 2004) | 2 lines

* add opennl and superlu to intern project

------------------------------------------------------------------------
r2788 | jesterking | 2004-07-13 19:01:58 +0200 (Tue, 13 Jul 2004) | 11 lines

* Added a release target to SConstruct -> 'scons release':
      - after building blender and blenderplayer an archive is created in bin/ containing all necessary files
      - you'll need now python2.3 or newer for SConstruct to go through correctly. This is not a problem,
        since Blender requires python2.3 now anyway.
      - the release target has been done for linux, win32 and os x, other platforms get a
        warning message after blender has been built, just no package. See warning message for instructions
      - for linux, osx and win32 the blenderplayer target has been enabled for default
      - the build is logged to build.log for all platforms except win32. If you want it, you'll need tee.exe from
        http://unxutils.sf.net in your path (I put it in C:\\windows) and change the first if check in the
        SConstruct accordingly

------------------------------------------------------------------------
r2787 | blendix | 2004-07-13 13:48:52 +0200 (Tue, 13 Jul 2004) | 40 lines


Added LSCM UV Unwrapping:
http://www.loria.fr/~levy/Galleries/LSCM/index.html
http://www.loria.fr/~levy/Papers/2002/s2002_lscm.pdf

Implementation Least Squares Conformal Maps parameterization, based on
chapter 2 of:
Bruno Levy, Sylvain Petitjean, Nicolas Ray, Jerome Maillot. Least Squares
Conformal Maps for Automatic Texture Atlas Generation. In Siggraph 2002,
July 2002.

Seams: Stored as a flag (ME_SEAM) in the new MEdge struct, these seams define
where a mesh will be cut when executing LSCM unwrapping. Seams can be marked
and cleared in Edit Mode. Ctrl+EKEY will pop up a menu allowing to Clear or Mark
the selected edges as seams.

Select Linked in Face Select Mode now only selects linked faces if no seams
separate them. So if seams are defined, this will now select the 'face group'
defined by the seams. Hotkey is still LKEY.

LSCM Unwrap: unwrap UV's by calculating a conformal mapping (preserving local
angles). Based on seams, the selected faces will be 'cut'. If multiple
'face groups' are selected, they will be unwrapped separately and packed in
the image rectangle in the UV Editor. Packing uses a simple and fast
algorithm, only designed to avoid having overlapping faces.

LSCM can be found in the Unwrap menu (UKEY), and the UV Calculation panel.

Pinning: UV's can be pinned in the UV Editor. When LSCM Unwrap is then
executed, these UV's will stay in place, allowing to tweak the solution.
PKEY and ALT+PKEY will respectively pin and unpin selected UV's.

Face Select Mode Drawing Changes:
- Draw Seams option to enable disable drawing of seams
- Draw Faces option to enable drawing of selected faces in transparent purple
- Draw Hidden Edges option to enable drawing of edges of hidden faces
- Draw Edges option to enable drawing of edges of visible faces

The colors for these seams, faces and edges are themeable.

------------------------------------------------------------------------
r2786 | blendix | 2004-07-13 13:42:13 +0200 (Tue, 13 Jul 2004) | 23 lines


Added SuperLU 3.0:
http://crd.lbl.gov/~xiaoye/SuperLU/

This is a library to solve sparse matrix systems (type A*x=B). It is able
to solve large systems very FAST. Only the necessary parts of the library
are included to limit file size and compilation time. This means the example
files, fortran interface, test files, matlab interface, cblas library,
complex number part and build system have been left out. All (gcc) warnings
have been fixed too.

This library will be used for LSCM UV unwrapping. With this library, LSCM
unwrapping can be calculated in a split second, making the unwrapping proces
much more interactive.

Added OpenNL (Open Numerical Libary):
http://www.loria.fr/~levy/OpenNL/

OpenNL is a library to easily construct and solve sparse linear systems. We
use a stripped down version, as an interface to SuperLU.

This library was kindly given to use by Bruno Levy.

------------------------------------------------------------------------
r2785 | ton | 2004-07-12 23:40:41 +0200 (Mon, 12 Jul 2004) | 3 lines

Ack! Fixed something without testing... this broke updates for numbuts
in picker.

------------------------------------------------------------------------
r2784 | guitargeek | 2004-07-12 19:59:42 +0200 (Mon, 12 Jul 2004) | 2 lines

This commit add the clock wipe effect to the sweep menu in the sequence editor

------------------------------------------------------------------------
r2783 | eeshlo | 2004-07-12 05:20:31 +0200 (Mon, 12 Jul 2004) | 10 lines

added support for ortho camera (needs yafray from cvs)
When using xml export, yafray will now render the alpha channel as well when 'RGBA' button in blender is enabled (Plugin does this automatically).
In plugin code, fixed smooth shading bug for non-mesh objects.
Relative paths for textures are now recognized (plugin & xml).
Fixed problem with duplicate objects (plugin & xml).
Really old bug, sun position is now correct (plugin & xml).
World background now can also be a regular image texture (jpeg & tga), but for now always assumes spheremapping, which is not the same as Blender either. In yafray the texture is assumed to be a full 360 (panorama type) map.
convertBlenderScene.c cleanup, the identity transform 'hack' is removed.
THIS AFFECTS ALL EXTERNAL RENDERERS (Aqsis and others) WHICH RELY ON THE RENDERDATA OUTPUT, VERTICES AND LAMPCOORDINATES/VECTORS NOW NEED TO BE TRANSFORMED BACK TO WORLD COORDINATES. See yafray plugin/export code.

------------------------------------------------------------------------
r2782 | aphex | 2004-07-11 23:54:18 +0200 (Sun, 11 Jul 2004) | 5 lines

-  changed sequence for finding HOME on Win32.  Sequence is now as
   shown at http://www.blender3d.org/cms/Installation_Policy.352.0.html

   Still TODO:  update NSIS installer script to suit the change.

------------------------------------------------------------------------
r2781 | jesterking | 2004-07-11 22:14:54 +0200 (Sun, 11 Jul 2004) | 3 lines

* Fixed action conflict (win32):
    When also enabling the blenderplayer there would be a action conflict for the resource building.

------------------------------------------------------------------------
r2780 | ton | 2004-07-11 15:17:03 +0200 (Sun, 11 Jul 2004) | 9 lines

- Simple optimizing for deflected (collision) particles. It now caches
  transformation (from vertex -> world space), used defines for vecadd and
  vecsub, and intersects quads more efficient.
  Result is about 2 times faster.

- Added draw mode for empty used as forcefield

- added defines VECADD and VECSUB

------------------------------------------------------------------------
r2779 | ton | 2004-07-11 12:28:45 +0200 (Sun, 11 Jul 2004) | 3 lines

Oops! Changing return values for picker buttons to B_NOP causes pop-ups
to close. Changed it so that it sets retvals at zero for pop-up pickers.

------------------------------------------------------------------------
r2778 | ton | 2004-07-11 10:46:26 +0200 (Sun, 11 Jul 2004) | 5 lines

Tiny cleanup in call for glBitmap. Don't see any error in using it for
drawing vertices... on OSX this works 100%, also in zbuffer mode and with
transparent faces.
Code is simple enough for a linuxer to further test!

------------------------------------------------------------------------
r2777 | broken | 2004-07-11 06:44:50 +0200 (Sun, 11 Jul 2004) | 2 lines

Some tiny dialog message cleaning for easier scan-reading.

------------------------------------------------------------------------
r2776 | ton | 2004-07-10 23:44:45 +0200 (Sat, 10 Jul 2004) | 2 lines

Forgot to include glutil.h

------------------------------------------------------------------------
r2775 | ton | 2004-07-10 23:35:17 +0200 (Sat, 10 Jul 2004) | 13 lines

Long on the todolist: a patch to have pointsize working on systems that
don't have them larger than 1, since vertices are drawn with it.

It is solved by patching code with minimal confusement. So you can get
automatic patched glPoints with:

bglBegin(GL_POINTS);
bglVertex3fv(vector);
bglEnd();

In glutil.c the wrapper can be found, that checks for maximum Pointsize,
and bypasses it to a glBitmap then.

------------------------------------------------------------------------
r2774 | guitargeek | 2004-07-10 22:19:53 +0200 (Sat, 10 Jul 2004) | 2 lines

Added B_NOP to events buttons on wipe type effects panel.

------------------------------------------------------------------------
r2773 | ton | 2004-07-10 21:56:27 +0200 (Sat, 10 Jul 2004) | 5 lines

Small improvement in detecting which previews need update in Blender.
Now you can have multiple buttons windows open, for example one showing
only a larger material preview, and have it updated correctly. Nice for
setups where you can keep preview shown while scrolling buttons.

------------------------------------------------------------------------
r2772 | ton | 2004-07-10 19:40:40 +0200 (Sat, 10 Jul 2004) | 9 lines

Added colorpicker in Panel for:

- Transform properties 3d win, while Vertex/Texture paint is on
- Paint panel in UV window

Note; both use the same GVP struct to store current color in. Also the
function used now to add picker isn't complete... might need further
thinking over. Consult me when you like them in more places.

------------------------------------------------------------------------
r2771 | larstiq | 2004-07-10 15:48:12 +0200 (Sat, 10 Jul 2004) | 19 lines

More closely implement the Installation Policy
<http://www.blender3d.org/cms/Installation_Policy.352.0.html>

- Within those confines 'ERROR: File ".Blanguages" not found' won't show up
  again (all such bugs in tracker have already been closed, #745 for reference)

  And intrr, if it does, 'cp -a .blender ~' already :P


Of course, this issue should not be fixed on a per file basis (.Blanguages,
.bfont.ttf), but instead return the .blender dir location. Duplicating .blender
finding logic everywhere, sigh.

< jesterKinky> that's what I meant. for now this is ok to continue with, and then in a later stage correct it all in one bigger effort
< jesterKinky> and since you point code at policy url we all can get reminded of how it was supposed to go when cleaning it.
< LarstiQ> jesterKinky: yes, I meant to do a "grrrr, this is the last time I'm not fixing the underlying issue"
< LarstiQ> all your lazy coders are belong to me
< jesterKinky> set us up the superficial bugfix

------------------------------------------------------------------------
r2770 | ton | 2004-07-10 15:11:22 +0200 (Sat, 10 Jul 2004) | 4 lines

Added edges in Mesh undo.
Note; whether or not edges are created is derived from original Mesh, the
one still residing in obedit->data while modeling.

------------------------------------------------------------------------
r2769 | ton | 2004-07-10 14:04:03 +0200 (Sat, 10 Jul 2004) | 4 lines

Changed weird line in add_primitiveMesh() that caused cursor to flip back
to normal mousepointer while in editmode.
Was in code since 2.25...

------------------------------------------------------------------------
r2767 | theeth | 2004-07-10 12:33:02 +0200 (Sat, 10 Jul 2004) | 2 lines

Made effector strenght as big in the negative as in the positive.

------------------------------------------------------------------------
r2766 | theeth | 2004-07-10 11:17:25 +0200 (Sat, 10 Jul 2004) | 2 lines

Compressed the two particles effectors loop into one. It was rather stupid of me to do it as two at first, but it was the first thing that came to mind. Fixed now, so it will calculate much faster.

------------------------------------------------------------------------
r2765 | theeth | 2004-07-09 17:23:49 +0200 (Fri, 09 Jul 2004) | 2 lines

Fix metaball update bug when mirroring in object mode

------------------------------------------------------------------------
r2764 | theeth | 2004-07-09 16:39:06 +0200 (Fri, 09 Jul 2004) | 4 lines

Fixed for forcefield. It needed to add half of the acceleration as speed on each frame it affected.
Cleaned the GUI for effectors: Widen the panel and the buttons. Made the button text more conformed.
Added vortex field for particles.  Particles swirl around z-axis of the object. Little hackish, could be made better.

------------------------------------------------------------------------
r2763 | ton | 2004-07-09 11:21:37 +0200 (Fri, 09 Jul 2004) | 3 lines

Typing values in color picker got a mixup in but->func() usage... caused
weird values to be set after entering a value. Nicely solved now.

------------------------------------------------------------------------
r2762 | ton | 2004-07-09 10:15:57 +0200 (Fri, 09 Jul 2004) | 3 lines

Two little fixes in administrating new Mesh edges. Solves crash when
joining newly created (Added) Mesh with others...

------------------------------------------------------------------------
r2761 | ton | 2004-07-08 23:02:40 +0200 (Thu, 08 Jul 2004) | 3 lines

Fix for last commit; the escape out of SHIFT+E loop didnt work.
Caused error with 1 vertex selected.

------------------------------------------------------------------------
r2760 | ton | 2004-07-08 22:38:27 +0200 (Thu, 08 Jul 2004) | 24 lines

Quite a large one this time... but now we have:

Edges in Mesh
- adds automatic when you use creases. For other situations; call the
  void make_edges(Mesh *me) in mesh.c. Of course, once in editmode the
  edges are automatically recreated.
- in F9 buttons you can add/remove edges too
- both for Mesh and DisplistMesh, so it speeds up drawing quite some in
  wireframe
- render for edges can't work... edges have no material nor tface nor col..
  so here still the faces are rendered in wire

Creases in Subsurf
- based on the code by Chris McFarlen
- main changes is that now edges are used, saving quite some data in file
- use SHIFT+E in editmode to set edges-sharpness. values go from 0-1
- in F9 buttons you can set draw-crease mode. It draws now blended from
  wire color to edge-select color (as provided in Theme)

Known issue: setting sharpness on 1 cube (subdiv 2) gives weird results
with some values... Chris, can you check?

Further; code cleanups, changing 0 in NULL when needed, no warnings, etc etc

------------------------------------------------------------------------
r2759 | jesterking | 2004-07-07 10:49:33 +0200 (Wed, 07 Jul 2004) | 4 lines

* fixed bug in rainbow color for material and world ipoview
* removed 32 channel limit (can now have 50, or of you know what number to change, 999 ;)
* added new IPOs: mirror fresnel and fac, transparency fresnel and fac, and glow factor transparent materials (add)

------------------------------------------------------------------------
r2758 | blendix | 2004-07-07 00:25:14 +0200 (Wed, 07 Jul 2004) | 4 lines


Fix compile error: the 'log' function takes only one parameter: changed
log(xo, 2) to log(xo)/log(2).

------------------------------------------------------------------------
r2757 | guitargeek | 2004-07-06 21:07:13 +0200 (Tue, 06 Jul 2004) | 14 lines

This is the initial commit of a revamp of the sweep effects that goofster committed that was originally a sequence plugin from sirdude.

The changes from the original include the ability to add a blurred edge with a selectable width to the wipe and to rotate the effect.

Has these sweep types included already
-single
-double
-iris

These still need to be coded
-box
-cross
-clock

------------------------------------------------------------------------
r2756 | ton | 2004-07-06 18:32:44 +0200 (Tue, 06 Jul 2004) | 3 lines

- Removed new outline drawing from vpaint/faceselect and other paint modes
- fixed tooltip drawing in color picker

------------------------------------------------------------------------
r2755 | ton | 2004-07-06 14:49:57 +0200 (Tue, 06 Jul 2004) | 9 lines

Fixes in colorpicker;

- click on palette didn't update button values
- the bottom 'palette' button now restores to old color
- H values scroll allways, also with black or white

Todo still:
- save in file (btw, i changed default colors to my pref :)

------------------------------------------------------------------------
r2754 | ton | 2004-07-06 00:15:27 +0200 (Tue, 06 Jul 2004) | 5 lines

Colorpicker variant 2; One large field for S and V, and slider for H, like
Gimp has for example.

The previous picker is still as code there... ongoing experiments.

------------------------------------------------------------------------
r2753 | ton | 2004-07-05 22:45:41 +0200 (Mon, 05 Jul 2004) | 8 lines

Picker made slightly larger, and removed confusing "copy to" and "paste
from" buttons.

Now a click in palette is default: update the active color.
If you want to store in palette: hold CTRL while click.

This isn't optimal either, but at least better.

------------------------------------------------------------------------
r2752 | ton | 2004-07-05 19:48:47 +0200 (Mon, 05 Jul 2004) | 5 lines

Fixed NUM button code that it doesn't return halfway, but nicely proceeds
to end of the function to handle the exit requirements.
(returns where added for patch that makes NUM buttons into textbut on a
click in center)

------------------------------------------------------------------------
r2751 | ton | 2004-07-05 12:56:13 +0200 (Mon, 05 Jul 2004) | 2 lines

Cleaned up pop-up menus for F10; edge settings and framing menu.

------------------------------------------------------------------------
r2750 | ton | 2004-07-05 12:22:41 +0200 (Mon, 05 Jul 2004) | 2 lines

- oh, the protype for XORcircle...

------------------------------------------------------------------------
r2749 | ton | 2004-07-05 12:22:00 +0200 (Mon, 05 Jul 2004) | 6 lines

- clipped selection circle in colorpicker to prevent it drawing outside
  the color plane
- removed warnings from glutil.c, made circleXOR call become float instead
  of short
- fixed error in drawing text of buttons in pop-up menus, when zoomed small

------------------------------------------------------------------------
r2748 | ton | 2004-07-05 11:21:22 +0200 (Mon, 05 Jul 2004) | 2 lines

Changed redraw of picker not to include the background, prevents flashing.

------------------------------------------------------------------------
r2747 | jesterking | 2004-07-05 11:15:02 +0200 (Mon, 05 Jul 2004) | 3 lines

* Added IPO for displacement, translucency and raymirror
* Cleaned out IPO #defines

------------------------------------------------------------------------
r2746 | ton | 2004-07-05 10:48:17 +0200 (Mon, 05 Jul 2004) | 16 lines

New: color picker!

With a click on the 'COL' buttons (the ones showing RGB) a menu pops up
with three colorpicking fields and a palette.
The fields are the three planar intersections of a HSV cube, each allowing
choosing in the field without the field changing.

The palette is 'modal' unfortunately (couldn't find a simple working other
method) where the button "paste to color" denotes the state that click in
palette copies to edited color, and "copy to palette" means the active
color is copied into the palette...

Todo:
- saving of palette in file
- decide whether ESC leaves without changes...

------------------------------------------------------------------------
r2745 | broken | 2004-07-05 09:52:32 +0200 (Mon, 05 Jul 2004) | 7 lines

Directly edit number fields with a click instead of having
to use Shift-Click.

As before, clicking on the left side of a number field decreases, clicking on the right side increases, but clicking in the centre, on the text itself, starts editing the
value directly. Other behaviour like dragging left and right
is unchanged.

------------------------------------------------------------------------
r2743 | ascotan | 2004-07-04 21:57:41 +0200 (Sun, 04 Jul 2004) | 3 lines

- py docs update
- getMatrix(), properties for object class, some examples

------------------------------------------------------------------------
r2742 | jesterking | 2004-07-04 00:01:04 +0200 (Sun, 04 Jul 2004) | 2 lines

* ensure winblender.res gets build too.

------------------------------------------------------------------------
r2741 | ton | 2004-07-03 20:39:19 +0200 (Sat, 03 Jul 2004) | 6 lines

Made static particles working with a deformed Mesh, both for Lattice as
for Armature. Note: only works for subsurfed Mesh now!

Change in drawobject.c: Halo option on subsurf Mesh now draws points.
but using the original vertices...

------------------------------------------------------------------------
r2740 | ianwill | 2004-07-03 19:28:15 +0200 (Sat, 03 Jul 2004) | 12 lines

Interface:
- added submenu "Scripts" in both View3D->Object and Mesh menus.
  Put them on top (it's better to follow some guideline, so users don't have to search for "Scripts" submenu in a different position in each menu), feel free to change.
- added button 'previous win' to SpaceScript, makes accessing buttons win, for example, much faster.  Maybe all spaces could have this button.

BPython:
- added Window.EditMode(), to check, enter and leave edit mode.  Scripts that change mesh data need this to leave edit mode before making changes to the active (G.obedit) mesh, of course.
- updated script bevel_center to use the above function and also popup an error msg if the active obj is not a mesh.
- doc updates, minor fixes.

Forgot to mention in my previous commit that I also updated the "-P" command-line option (for running script files) to be able to run already loaded Blender Texts, too.  So, if you have a script called 'Text' in foo.blend, you can run it with blender foo.blend -P Text .

------------------------------------------------------------------------
r2739 | ton | 2004-07-03 16:18:21 +0200 (Sat, 03 Jul 2004) | 10 lines

Three in one:

- textures: added support for new mixers (div, diff etc) to work on the
  other map-to channels too, like ref or spec
  Also it works on lamp and world textures
- brought back uncommented line of code that was removed by leon, to have
  particle motion based on textures
- recoded the glPylonOffset hack to be nice function, this for future
  testing.

------------------------------------------------------------------------
r2738 | ianwill | 2004-07-03 07:17:04 +0200 (Sat, 03 Jul 2004) | 21 lines

New scripts:
- hotkeys, obdatacopier and renameobjectbyblock, all from Jean-Michel Soler (jms);
- bevel_center by Loic Berthe, suggested for inclusion by jms;
- doc_browser, by Daniel Dunbar (Zr)

  Thanks to them for the new contributions!

  (I included doc_browser at 'Misc' because only users interested in script writing would actually use it, but it could also be under 'Help'.  Opinions?)

BPython related:
- Added scriptlink methods to object, lamp, camera and world.
- Object: added object.makeTrack and object.clearTrack (old track method).
- sys: made sys.exists(path) return 0 for not found; 1 for file, 2 for dir and -1 for neither.
- doc updates and fixes.
- made ONLOAD event work.  G.f's SCENESCRIPT bit was being zeroed in set_app_data.
- Blender: updated functions Load and Save to support the builtin importers and exporters besides .blend (dxf, videoscape, vrml 1.0, stl, ...)
- Draw: added mouse wheel events.
- Scene: added scene.play to play back animations (like ALT+A and SHIFT+ALT+A).  Makes a good counter, too, when the 'win' attribute is set to a space that doesn't "animate".

The scene.play() addition and the fix to ONLOAD scriptlinks is part of the work for a Blender demo mode.  It already works, but I'll still add support for Radiosity calculations and fix a thing in main(): it executes onload scripts too early (BIF_Init), giving funny results in alt+a animations and renderings when firing up Blender.  Loading after the program is up has no such problems.  When I finish I'll post examples of demo mode scripts.

------------------------------------------------------------------------
r2737 | ton | 2004-07-03 00:29:06 +0200 (Sat, 03 Jul 2004) | 12 lines

Added new operators for "MapTo" panel as suggested & partially coded by
Kent Mein. So next to the mix, mult, add, sub we have now:

- Div: divides by texture color
- Screen: is like Mult, but works opposite (makes lighter)
- Diff: the difference between texture color and material
- Light: if texture is lighter it shows (per component)
- Dark: if texture is darker it shows (per component)

Next step: add this for specular and mirror, and the other channels...
I commit it now because it also fixes error in previous commit.

------------------------------------------------------------------------
r2736 | ton | 2004-07-02 22:49:08 +0200 (Fri, 02 Jul 2004) | 10 lines

Fixed rendering of image textures with alpha... it gave ugly dark outlines.
Please note the following:

- pictures need to be saved as 'premul' sky render if you want to use it
  in Blender as texture
- but for alpha-over in sequencer it has to be 'key alpha'...

This inconsistancy needs to be solved.. for example as option for both
texture as sequencer.

------------------------------------------------------------------------
r2735 | ton | 2004-07-02 15:51:33 +0200 (Fri, 02 Jul 2004) | 2 lines

Added new exported render calls in stubs... so player compiles again!

------------------------------------------------------------------------
r2734 | ton | 2004-07-02 14:44:32 +0200 (Fri, 02 Jul 2004) | 14 lines

Bug #1411

"inserting keys in editmode didnt work on newly created Meshes"

Found out the error was in code committed by Hos in december, when
he added feature to copy newly added vertices (or remove) when editing
vertex keys. In his commit he already noted "please test" :)

Error was that newly created meshes didn't give a correct first key.  For keys
to work in 2.32 and 2.33 you have to leave editmode at least once, or
insert keys outside of editmode.

The fix was fairly simple, just checking for an empty first key.

------------------------------------------------------------------------
r2732 | ton | 2004-07-01 20:06:27 +0200 (Thu, 01 Jul 2004) | 3 lines

Forgot to add code for copying/paste functionality Materials. With new
ColorBand data added in Material that needs to be tackled corectly.

------------------------------------------------------------------------
r2731 | ton | 2004-07-01 18:15:22 +0200 (Thu, 01 Jul 2004) | 9 lines

Report #1401

Division by zero in calculating render coords... only happens for
Wire material AND having face-less edges. Then the normal is zero, and
some calculations can't happen correctly.

(error in rendercore.c, other files committed was because of removed and
cleaned up enters)

------------------------------------------------------------------------
r2730 | broken | 2004-07-01 11:31:12 +0200 (Thu, 01 Jul 2004) | 2 lines

Corrected a misleading confirmation message when deleting a bone ("Erase selected bone", not "Erase selected armature")

------------------------------------------------------------------------
r2729 | ton | 2004-06-30 23:59:12 +0200 (Wed, 30 Jun 2004) | 3 lines

Fixed draw error in panels, the header was overdrawn with panel background.
Only visible when panels are not transparent.

------------------------------------------------------------------------
r2728 | ton | 2004-06-30 20:54:09 +0200 (Wed, 30 Jun 2004) | 13 lines

NEW: Ramp shades for diffuse and specular

http://www.blender3d.org/cms/Ramp_Shaders.348.0.html

Material color and specular now can be defined by a Colorband. The actual
color then is defined during shading based on:
- shade value (like dotproduct)
- energy value (dot product plus light)
- normal
- result of all shading (useful for adding stuff in the end)

Special request from [A]ndy! :)

------------------------------------------------------------------------
r2727 | kester | 2004-06-30 15:41:19 +0200 (Wed, 30 Jun 2004) | 3 lines

Switch to using floats instead of shorts for normal data - they're supposed to be faster.
Also use shorts instead of ints for the index data, since index arrays are limited anyhow.

------------------------------------------------------------------------
r2726 | sirdude | 2004-06-29 22:34:10 +0200 (Tue, 29 Jun 2004) | 14 lines


Two stupid fixes for warnings:

First one was for drawview.c I gave some types to things that didn't have them
example
-static void view3d_panel_background(cntrl)     // VIEW3D_HANDLER_BACKGROUND
+static void view3d_panel_background(short cntrl)       // VIEW3D_HANDLER_BACKGR

For edit.c I added a newline to the end of the file.

Weee

Kent

------------------------------------------------------------------------
r2725 | jiri | 2004-06-29 19:10:13 +0200 (Tue, 29 Jun 2004) | 9 lines



- added octal tree node optimalization of MetaBall polygonisation
  polygonization of 512 MetaBalls:
   - version 2.33a:      76 s
   - current cvs version 8 s

- button "Never" is added in button window: Metaballs are polygonized only during render time (it is useful for particle animation) http://e-learning.vslib.cz/hnidek/misc/bowl_metaballs.blend

------------------------------------------------------------------------
r2724 | ton | 2004-06-28 13:14:58 +0200 (Mon, 28 Jun 2004) | 2 lines

Metaball normals were flipped again... thanks jiri for pointing me to it...

------------------------------------------------------------------------
r2723 | jandro | 2004-06-27 22:10:20 +0200 (Sun, 27 Jun 2004) | 6 lines

Finally, fixed the evil dll problem. It works now
on my win32 box with my tests without crashing.
But be aware! There may be more of them watching
us, waiting for a moment of distraction, nobody
is safe.

------------------------------------------------------------------------
r2722 | ianwill | 2004-06-27 18:02:23 +0200 (Sun, 27 Jun 2004) | 2 lines

Cleaning root dir: moving release_22X.txt files to release/text/

------------------------------------------------------------------------
r2721 | ton | 2004-06-27 16:05:08 +0200 (Sun, 27 Jun 2004) | 2 lines

added fflush(stdout) for printf updates while calculating particles

------------------------------------------------------------------------
r2720 | ton | 2004-06-26 20:18:11 +0200 (Sat, 26 Jun 2004) | 24 lines

The revised patch from Leon for new particle effects.

New is that objects can have a force field, and Meshes can even deflect
(collide) particles. This is in a new sub-menu in Object buttons F7

The full instructions where on the web, Leon mailed it me and I will put
it in CMS tomorrow. For those who like to play with it now, here are demo
files:

http://download.blender.org/demo/test/

Quite some changes where in the integration though... so previous created
particle deflectors will not work. Changes to mention now are:
- gravity is renamed to 'force field'
- force field and deflector options are in Object now, not in Mesh
- the options also have its own struct, doesnt add to Object by default
- force fields are possible for all object types, but only work on center.
  So empty objects are typical for it.

Work to do:
- add draw method in 3d win to denote forcefield objects
- check on the UI (panel with different size?)
- add 'recalc' button in deflector panel

------------------------------------------------------------------------
r2719 | ton | 2004-06-26 20:03:57 +0200 (Sat, 26 Jun 2004) | 8 lines

Changes in code to allow double sided energy, but it's not possible
to activate it. Added comment in code how to enable it for those who
like to play (search for translu)

What doesnt work - according to me not satisfying - is fact that radiosity
hemicubes alias badly on short distances, so interior light doesn't spread
well.

------------------------------------------------------------------------
r2718 | ascotan | 2004-06-26 16:38:56 +0200 (Sat, 26 Jun 2004) | 3 lines

- added support for getting worlspace and localspace matrices from objects through python. Add cvars matrixWorld/matrixLocal.
- credits to Campbell Barton

------------------------------------------------------------------------
r2717 | kester | 2004-06-26 11:15:41 +0200 (Sat, 26 Jun 2004) | 6 lines

Minor Fixes:
Better use of booleans for python
#include fixes for Windows
Python Doc fixes
Use the farthest vertex as the face position when z sorting faces. (Camera is on -z axis!)

------------------------------------------------------------------------
r2716 | jesterking | 2004-06-25 14:44:54 +0200 (Fri, 25 Jun 2004) | 2 lines

* some updates to the build instructions (ie. no more autoconf etc.)

------------------------------------------------------------------------
r2715 | jandro | 2004-06-24 23:17:52 +0200 (Thu, 24 Jun 2004) | 3 lines

minor changes to sync with yafray cvs interface, getting closer
to the clean msvc build.

------------------------------------------------------------------------
r2714 | ton | 2004-06-24 17:12:45 +0200 (Thu, 24 Jun 2004) | 4 lines

The other fix for drawing XOR lines, now for dragging window edges too.
Main 'improvement' is it not using the gl_util function, but drawing it all
itself, and thus minimizing the amount of flush calls (factor 4).

------------------------------------------------------------------------
r2713 | ianwill | 2004-06-24 17:03:08 +0200 (Thu, 24 Jun 2004) | 7 lines

Scripts:
- Added KlopUtils by Carlos Lopez and Batch Object Name Edit by Campbell Barton (thanks both!)

BPython:
- Fixed things I recently broke in Blender.sys, added Blender.sys.join(dir, file)
- doc and other minor updates

------------------------------------------------------------------------
r2712 | ton | 2004-06-24 16:53:00 +0200 (Thu, 24 Jun 2004) | 3 lines

Screen edge split routine now uses 4 times less glFlush calls.
Is a testing commit... might be removed or further worked out.

------------------------------------------------------------------------
r2711 | ianwill | 2004-06-24 11:43:13 +0200 (Thu, 24 Jun 2004) | 5 lines

BPython:
- Added function Blender.Save(filename) to save .blend files.
- Added scriptlink-related methods (get, clear, add) to Scene and Materials.  Will still add method remove and add these methods to World, Object, Camera and Lamp.
- Updates and small fixes in docs.

------------------------------------------------------------------------
r2710 | jesterking | 2004-06-24 09:29:15 +0200 (Thu, 24 Jun 2004) | 2 lines

* missing include paths added for debug configuration

------------------------------------------------------------------------
r2709 | jesterking | 2004-06-24 09:02:55 +0200 (Thu, 24 Jun 2004) | 2 lines

* updated the msvc 7 projectfile of yafray for the plugin support

------------------------------------------------------------------------
r2708 | goofster | 2004-06-24 00:11:57 +0200 (Thu, 24 Jun 2004) | 2 lines

Added another Sequence effect: the wellknown Glow effect.

------------------------------------------------------------------------
r2707 | ton | 2004-06-23 20:48:55 +0200 (Wed, 23 Jun 2004) | 9 lines

Feature requests:

- usage of relative paths "//" now can be controlled with a button in the
  fileselect header
- relative path support added for linked Library files

Note: in oops window you can see the library file names, select the last
icon button in header to show the blocks.

------------------------------------------------------------------------
r2706 | aphex | 2004-06-23 20:43:25 +0200 (Wed, 23 Jun 2004) | 7 lines

Committing the NSIS installer script changes used for the 2.33a release.

- numerous bug fixes and improvements, that are far too numerous
  to mention here!
- In addition, the new python scripts have been added to the file list,
  bringing it up-to-date (for now!).

------------------------------------------------------------------------
r2705 | goofster | 2004-06-23 20:22:51 +0200 (Wed, 23 Jun 2004) | 3 lines

- Added correct Writing/Reading of the new Sweep sequence effect (Thanks Ton, where would I be without you)
- Sweep effect updates after you change the type of sweep now.

------------------------------------------------------------------------
r2704 | jesterking | 2004-06-23 16:56:30 +0200 (Wed, 23 Jun 2004) | 3 lines

* Syntax error on line 1050 prevented scons from starting the compile process.
* Corrected some indenting

------------------------------------------------------------------------
r2703 | kester | 2004-06-23 14:13:09 +0200 (Wed, 23 Jun 2004) | 2 lines

Fix a compile error in data conversion: double declaration of some vertex attributes.

------------------------------------------------------------------------
r2702 | kester | 2004-06-23 03:12:11 +0200 (Wed, 23 Jun 2004) | 3 lines

Fix for reflection mapping unlit faces:  normals were not being sent, hence reflection maps weren't being rendered properly (bf-bug #1385)
Set the diffuse material colour - lighting brightness should match blender better. (bf-bug #1385)

------------------------------------------------------------------------
r2701 | ton | 2004-06-22 16:35:35 +0200 (Tue, 22 Jun 2004) | 5 lines

Report 1387 (todo)

Added consistant zoom in ipo, oops, sound, sequencer, nla, action. This
conforming the new user setting too (cont, dolly, scale).

------------------------------------------------------------------------
r2700 | ton | 2004-06-22 14:59:53 +0200 (Tue, 22 Jun 2004) | 4 lines

Fixed another oldie; when loading file the totals counter (as displayed in
info header) didn't update. Also removed convention it counts from active
window-layer, now it uses scene layer.

------------------------------------------------------------------------
r2699 | ton | 2004-06-22 14:02:19 +0200 (Tue, 22 Jun 2004) | 3 lines

Little feat request: the rendertime disappeared from header after a
rendering; now it's a permanent part of it.

------------------------------------------------------------------------
r2698 | guignot | 2004-06-22 13:38:58 +0200 (Tue, 22 Jun 2004) | 2 lines

added a new function to the World module : GetActive(), which returns the world associated to the scene, or None if no such world exists

------------------------------------------------------------------------
r2697 | jiri | 2004-06-21 22:32:07 +0200 (Mon, 21 Jun 2004) | 5 lines



- Scripts:
  small update of ideasman's obj import/export scripts (added support for smooth faces)

------------------------------------------------------------------------
r2696 | ton | 2004-06-21 19:58:53 +0200 (Mon, 21 Jun 2004) | 7 lines

Report #1391

The work i did end of may on render normals (displacemap especially)
caused refraction code to work wrong... took a while to find out, but
just removed a couple of lines too much.
Added clear comment there what it is, and what danger of removing is!

------------------------------------------------------------------------
r2695 | ton | 2004-06-21 18:07:50 +0200 (Mon, 21 Jun 2004) | 5 lines

Report #1376

Rayshadow didn't use lamp option 'layer' correctly. Objects not in
lamp-layer now also don't get shadows (nor light).

------------------------------------------------------------------------
r2694 | ton | 2004-06-21 16:40:31 +0200 (Mon, 21 Jun 2004) | 4 lines

Fix: creating a Mesh primitive UV Sphere, used a remove doubles to get
rid of the seam (it's a Spin command!). The threshold value for remove
was set on 0.01, giving too easy errors. Now its 0.0001

------------------------------------------------------------------------
r2693 | ianwill | 2004-06-21 14:01:23 +0200 (Mon, 21 Jun 2004) | 6 lines

- Scripts:
  Campbell Barton updated his Wavefront OBJ scripts and Ben Omari updated his DirectX 7 and 8 ones (thanks both).  The other listed scripts had minor updates to accomodate the menu changes.
- Scripts in menus:
  renamed Tools to Object, Generators to Add, and Modifiers to Mesh (Metaball, Curve, Surface can be added later), to integrate better in the interface.
- Fixed a bug in Blender.sys.makename: last letter of file extension was being cut out.

------------------------------------------------------------------------
r2692 | jandro | 2004-06-21 10:17:05 +0200 (Mon, 21 Jun 2004) | 3 lines

These are changes sent by Luis_F who got this working on win32. Only applies
to that platform and fixes a problem findind yafray dll's

------------------------------------------------------------------------
r2691 | ton | 2004-06-19 20:23:22 +0200 (Sat, 19 Jun 2004) | 9 lines

Bug fix 1326

When changing subsurf level, in shaded mode, and with Mesh that has more
users... the shaded displist of the other meshes are corrupt, potentially
causing crash.

And: small improvement in select-outline: when drawtype-extra Wire is set,
it skips it. Not needed, looked a bit ugly.

------------------------------------------------------------------------
r2690 | ton | 2004-06-19 19:35:37 +0200 (Sat, 19 Jun 2004) | 6 lines

Fixed error in previous commit, that skipped drawing non-basis Mballs.
Thanks Jiri for pointing me to it!

New: removed frontbuffer draw of selected object for solid/shaded mode.
It serves no purpose anymore.

------------------------------------------------------------------------
r2689 | ton | 2004-06-19 16:37:25 +0200 (Sat, 19 Jun 2004) | 8 lines

Tooltips:

- lowered tooltip-update delay loop to 0.02 sec (was 0.05), which showed
  up 'trails' while going over pulldowns with tooltips
- changed tooltip calculation for size, it was drawing the labels far too
  large (height). Made sure text prints in middle too.
- by default tooltips print 12 pixels below button now

------------------------------------------------------------------------
r2688 | ton | 2004-06-19 14:25:28 +0200 (Sat, 19 Jun 2004) | 11 lines

Popular request: the floating panels (NKEY) now close on a 2nd NKEY command.
This for all current NKEY menus by default. Can be standard for each hotkey
controlled Panel from now on; use toggle_blockhandler() for it.

Another popular request: hotkey enabled Panels now optionally reopen on
the previous location, instead of under mouse. This option "Pinned" is a
user option now. Optional for later; have it as per-panel option... dunno!

The last request, close on mouse-exit, won't be implemented, this intrudes
with Panel consistancy, and is pretty OK solved with NKEY-NKEY now.

------------------------------------------------------------------------
r2687 | ton | 2004-06-19 11:35:23 +0200 (Sat, 19 Jun 2004) | 6 lines

- added Font object to have outlines on Solid draw + selection
- Font object didn't support draw xtra wire yet
- removed drawing the circles from MBall object, except in editmode
- little cleanup in draw_object() call, it had a weird exception for
  mball drawing

------------------------------------------------------------------------
r2686 | goofster | 2004-06-19 00:53:06 +0200 (Sat, 19 Jun 2004) | 10 lines

added a new Sequence Effect: Sweep.
this consists of 22 different ways to sweep from 1 strip to another. For you windows lovers: it's like "Blinds" in Powerpoint :)
- in the NKEY menu you can choose which type you want perform, vertical, horizontal, in/out etc. it's too much to decribe.

Credits for this go to Kent 'Sirdude" Mein who coded the sequence plugin I stole the code from.

To allow certain sequence effects to have settings, I also added a "varstr" void pointer to the Sequence DNA, that can point to a special struct for each effect. This is similar to how plugins are handles.

more neat effects to come....

------------------------------------------------------------------------
r2685 | goofster | 2004-06-18 23:13:33 +0200 (Fri, 18 Jun 2004) | 2 lines

I thought I added this include path for yafray to the msvc files already......o well, here it is again. it couldn't find RE-callbacks.h

------------------------------------------------------------------------
r2684 | guitargeek | 2004-06-18 22:04:39 +0200 (Fri, 18 Jun 2004) | 6 lines

This patch makes the vertex loop select tool only select edges which are part of 2 faces, this cleans up some incorrect selections the tool was making around areas in the mesh where faces had been deleted.

closes bug 1343

guitarGeek

------------------------------------------------------------------------
r2683 | guitargeek | 2004-06-18 19:50:49 +0200 (Fri, 18 Jun 2004) | 4 lines

This is a bandaid for a logic error in select_vertex_loop() that prevents an infinite loop in some cases. A fix for the logic error will come when I find the error :)

guitarGeek

------------------------------------------------------------------------
r2682 | goofster | 2004-06-18 17:04:27 +0200 (Fri, 18 Jun 2004) | 6 lines

Added the possibillity of naming sequence strips in the sequence editor. previously this was not possible for all types.
- Change the name of a strip in the NKEY menu of the strip.
- If a strip HAS a name, it will be displayed in the strip, instead of all that garbage that was previously there (image locations, lengths, whatever)

Still TODO: while adding new effects to the sequencer I will also add this for effect strips. at the moment it's not clear yet what should go in the NKEY menu.

------------------------------------------------------------------------
r2681 | ton | 2004-06-17 20:31:42 +0200 (Thu, 17 Jun 2004) | 4 lines

Scene.c: added missing code to copy base to object flag
Drawobject.c: added wireframe outline for selected solid objects. needs
some feedback though, at my system it is quite slow.

------------------------------------------------------------------------
r2680 | jandro | 2004-06-17 18:34:27 +0200 (Thu, 17 Jun 2004) | 2 lines

NaN makefile fix for yafray dir and typo corrected on "xml" button tooltip

------------------------------------------------------------------------
r2679 | kester | 2004-06-17 14:22:38 +0200 (Thu, 17 Jun 2004) | 2 lines

Use the correct python dll according to NAN_PYTHON_VERSION on cygwin.

------------------------------------------------------------------------
r2678 | jandro | 2004-06-17 13:24:30 +0200 (Thu, 17 Jun 2004) | 8 lines


These are changes necessary for building with msvc in a near future.
Just making sure memory is always allocated and freed in the same
binary  object, which seems to be mandatory on msvc if you don't have
the comercial version. If you are using this code you need to
syncronize with yafray cvs also, or it won't work. Binaries for os x
are updated in the link I gave in my last commit.

------------------------------------------------------------------------
r2677 | goofster | 2004-06-16 22:47:17 +0200 (Wed, 16 Jun 2004) | 2 lines

added files for yafray plugin export to msvc 6 projectfiles

------------------------------------------------------------------------
r2676 | ton | 2004-06-16 22:25:56 +0200 (Wed, 16 Jun 2004) | 2 lines

Added Panel support in Sequence window, and converted old Nkey menu for it.

------------------------------------------------------------------------
r2675 | jandro | 2004-06-16 20:44:12 +0200 (Wed, 16 Jun 2004) | 15 lines


New export through plugin scheme for yafray. It is working on linux and mac os x
Needs latest yafray, you can get it from cvs, but I have also binaries
for os x here:

http://www.coala.uniovi.es/~jandro/noname/downloads/yafray-0.0.6-3.pkg.zip

To use it, go to yafray panels (global settings) and uncheck the "xml" button.
That would tell the export code to avoid xml export and use the yafray plugin
instead. You'll see the render being draw while running and you can even stop it
with ESC key.

Since I'm sure problems will appear, expect updates soon.
Remember: does not work on win32

------------------------------------------------------------------------
r2674 | ton | 2004-06-16 15:31:32 +0200 (Wed, 16 Jun 2004) | 7 lines

Restored oldstyle zoom in/out, and added a new userpref for denoting zoom
types:

- Continue: is default, old style
- Dolly: is like previous, but not continuous
- Scale: is the new method. Name is based on fact it scales view

------------------------------------------------------------------------
r2673 | kester | 2004-06-16 13:34:45 +0200 (Wed, 16 Jun 2004) | 4 lines

Replace all glFinish() with glFlush().

This is supposed to fix gradual slowdown of Blender interface on ATI cards.

------------------------------------------------------------------------
r2672 | ianwill | 2004-06-16 03:18:57 +0200 (Wed, 16 Jun 2004) | 7 lines

- New Blender.Draw method by Campbell Barton (Cam / ideasman):
    PupStrInput, a wrapper for the Blender String popup (thanks!)
- Fixed bug #1374 reported by Gabriel Beloin (gabio, thanks too):
    http://projects.blender.org/tracker/?func=detail&atid=125&aid=1374&group_id=9
    There was a minor mistake in the import menu: vrml called dxf and vice-versa and shortcuts were wrong (removed them).
- Doc updates, minor updates elsewhere.

------------------------------------------------------------------------
r2671 | guignot | 2004-06-15 18:17:25 +0200 (Tue, 15 Jun 2004) | 2 lines

updated documentation

------------------------------------------------------------------------
r2670 | jiri | 2004-06-15 11:45:29 +0200 (Tue, 15 Jun 2004) | 8 lines



- some bug fix: some vert tVerts and normals are seperated by

   1/2/3 OR 1//2//3

- some files for testing could be found at: http://e-learning.vslib.cz/hnidek/misc/objs/

------------------------------------------------------------------------
r2669 | ianwill | 2004-06-15 06:16:30 +0200 (Tue, 15 Jun 2004) | 7 lines

- New script:
  Wim Van Hoydonck contributed the famous Knife script (put under Modifiers group) developed by Stefano Selleri and himself (thank to both!)
- Added helper function Blender.sys.makename, updated docs and script ac3d_export to use it (shall update other exporters too):
  this function is just a simple helper to format a filename as needed (change extension, strip dirname, it defaults to use G.sce as path).
- Added a test method: Blender.Scene.getScriptlinks(eventName):
  just testing, if this path proves useful other functions will be added and made general, for objects, etc.

------------------------------------------------------------------------
r2668 | jiri | 2004-06-14 22:51:09 +0200 (Mon, 14 Jun 2004) | 5 lines



- Campbell Barton's (AKA Ideasman) obj importer script (some split improvements)
- I added support of material and texture import (.mtl files) Textures are assigned to faces and materials too.

------------------------------------------------------------------------
r2667 | lukep | 2004-06-14 20:52:56 +0200 (Mon, 14 Jun 2004) | 5 lines

rewind of previous commit as some experiment bad problems.

This means that bug #1292 is alive again unless you define MT_NDEBUG
which I doubt many do.

------------------------------------------------------------------------
r2666 | broken | 2004-06-14 15:07:53 +0200 (Mon, 14 Jun 2004) | 4 lines

* Floating panel cosmetic tweaks

* Minor language/label cleanups I missed first time around.

------------------------------------------------------------------------
r2665 | guignot | 2004-06-14 13:05:48 +0200 (Mon, 14 Jun 2004) | 3 lines

Stupid typo correction...
: ----------------------------------------------------------------------

------------------------------------------------------------------------
r2664 | guignot | 2004-06-14 11:24:50 +0200 (Mon, 14 Jun 2004) | 4 lines

added a [get/set]Range function.
Updated documentation accordingly.
(suggested by Stephane SOPPERA, tks!)

------------------------------------------------------------------------
r2663 | guignot | 2004-06-14 10:55:45 +0200 (Mon, 14 Jun 2004) | 2 lines

updated Metaball doc

------------------------------------------------------------------------
r2662 | guignot | 2004-06-13 23:26:50 +0200 (Sun, 13 Jun 2004) | 3 lines

added a new function to the Metaball module, (tks Jiri!) : getMetaElemList
added a new class : metaelem class

------------------------------------------------------------------------
r2661 | lukep | 2004-06-13 23:11:10 +0200 (Sun, 13 Jun 2004) | 8 lines

changed MT_NDEBUG macro to a MT_DEBUG one and reversed defines
So now by default, assert is not used in moto code.

If you want to use assert (and stop blender if one fail),
define MT_DEBUG.

solve bug #1292 and better fix for #1260

------------------------------------------------------------------------
r2660 | ton | 2004-06-13 21:30:56 +0200 (Sun, 13 Jun 2004) | 14 lines

Bug 1335

Displace mapping + Map-Input using Object wasn't working. This caused
by the inverse matrix of an Object potentially not being calculated when
displace was calculated.

Solved by moving imat calculus to the top of the main function.

Yafray note: the convention to hack out all transformations from
renderconverter could be implemented more elegant, by moving this to
the yafray section (and just matrix-transform back). Makes code less
unreadable, but also support displacement then (and might solve other
errors).

------------------------------------------------------------------------
r2659 | ton | 2004-06-13 19:40:25 +0200 (Sun, 13 Jun 2004) | 6 lines

Bug 1349

Envmap render error; when no (f10) envmap option was used, it could give
a 'stripe' effect based on a non-initialized global value. Only happens
for transparant layers...

------------------------------------------------------------------------
r2658 | ton | 2004-06-13 12:18:32 +0200 (Sun, 13 Jun 2004) | 12 lines

Fix for #1355

Recalculate normals (mesh editmode) had some weak points, as demonstrated
in the bug report sample file. It appeared to be 2 aspects that could be
simply fixed:

- for calculation of the most outer face (to set normal outside) it used
  a manhattan distance. making it real distance helped quite some
- but most important: the routine only took triangles into account, which
  didn't work proper with very irregular quads, especially with non-flat
  quads. It now calculates both trias in a quad individually.

------------------------------------------------------------------------
r2657 | ianwill | 2004-06-12 22:46:24 +0200 (Sat, 12 Jun 2004) | 3 lines

New script:
  Ben Omari contributed a DirectX 8 Exporter (thanks!).  It will probably be updated before 2.34, as some of the other bundled scripts.

------------------------------------------------------------------------
r2656 | ascotan | 2004-06-11 15:21:32 +0200 (Fri, 11 Jun 2004) | 2 lines

- update to MSVC6 for Property support

------------------------------------------------------------------------
r2655 | ascotan | 2004-06-11 15:19:48 +0200 (Fri, 11 Jun 2004) | 2 lines

- update to MSVC7 for Property support

------------------------------------------------------------------------
r2654 | ascotan | 2004-06-11 15:17:36 +0200 (Fri, 11 Jun 2004) | 2 lines

- update to SCons for Property support

------------------------------------------------------------------------
r2653 | ascotan | 2004-06-11 15:15:50 +0200 (Fri, 11 Jun 2004) | 3 lines

- new internal Property module
- Object support for add/remove/modify object Properties

------------------------------------------------------------------------
r2652 | ianwill | 2004-06-11 11:17:49 +0200 (Fri, 11 Jun 2004) | 4 lines

Script menus:
-- new try so that scripts place their guis and file selectors in proper places:
     should be ok now for any but the really weirdest screen layouts, will be updated when scripts are added to other menus in the interface.

------------------------------------------------------------------------
r2651 | broken | 2004-06-11 04:39:22 +0200 (Fri, 11 Jun 2004) | 4 lines

* Added a spot for scripts to register themselves in the Help menu

* Gave the spiffy new 'System Information' script a new home there

------------------------------------------------------------------------
r2650 | broken | 2004-06-11 04:12:37 +0200 (Fri, 11 Jun 2004) | 6 lines

* Edited and consistent-ified the File->Import menu item labels and fileselect button labels, as discussed on the forums.

* Added items for importing DXF, VRML, etc. in the File->Import menu, that just call the normal Open function. Most people don't even know that you can open these formats through the normal Open fileselect, so this will make it more obvious.

* Removed the 'Export Selected' menu, and put poor old lonely STL in the Import and Export menus too. Most of the exporters export only the selected object anyway, so it's not really a necessary distinction to make.

------------------------------------------------------------------------
r2649 | ianwill | 2004-06-10 17:14:49 +0200 (Thu, 10 Jun 2004) | 4 lines

- small updates to scripts and bpython docs, also fixed two warnings;
- added function Blender.sys.exists(path) to check if a given file exists;
- forgot to mention: in my previous commit the blender.html file was also updated slightly.

------------------------------------------------------------------------
r2648 | ianwill | 2004-06-10 05:27:46 +0200 (Thu, 10 Jun 2004) | 16 lines

Scripts:

- tiny updates for better behavior, unix line endings, cvs Id tags;
- Updated DX7 exporter (thanks to author Ben Omari who's also working on a DX8 one);
- added sysinfo script;

Interface (scripts):

- changed behavior for which win is chosen for script guis:
    Now there's a smarter order, guis will use either:
    - Scripts win
    - Buttons win (if not a script from groups Wizards or Utils)
    - Text win
    - Closest bigger area
- Added a button to the scripts header so that it's faster to return to the buttons win (this can be made general), if that was the previous win used.

------------------------------------------------------------------------
r2647 | sirdude | 2004-06-09 21:49:43 +0200 (Wed, 09 Jun 2004) | 10 lines




This fix is thanks to: hangman4  (Thomas Power)

Basically needed a fflush on the file after all of the writing.
This closes out 1080

Kent

------------------------------------------------------------------------
r2646 | sirdude | 2004-06-09 21:27:48 +0200 (Wed, 09 Jun 2004) | 9 lines



Fixed part of write a bmp file, its still truncating the image slightly
however this fixes another problem.  (Basically  the offset wasn't
being computed correctly.
This is for bug: 1080

Kent

------------------------------------------------------------------------
r2645 | sirdude | 2004-06-08 17:47:19 +0200 (Tue, 08 Jun 2004) | 12 lines



updated NAN_PYTHON_VERSION to 2.3 for all platforms...

Solaris and a bunch of the others were out of date....

I guess we should change them back for platforms that don't work out
with 2.3 but I'm guessing that things will get updated better this way
then asking everyone to update their own platforms.

Kent

------------------------------------------------------------------------
r2644 | guignot | 2004-06-08 09:27:37 +0200 (Tue, 08 Jun 2004) | 4 lines

new function for the Metaball objects : addMetaelem, which allows users to create Metaballs from python.
modified doc/Metaball.py to add this function
modified Object.c to allow the creation of Metaball objects

------------------------------------------------------------------------
r2643 | ianwill | 2004-06-08 07:43:00 +0200 (Tue, 08 Jun 2004) | 2 lines

Scripts: Campbell (ideasman) donated two more scripts: bvh motion capture import/export (thanks!).

------------------------------------------------------------------------
r2642 | ianwill | 2004-06-08 06:43:40 +0200 (Tue, 08 Jun 2004) | 2 lines

Scripts: Campbell (ideasman) updated his obj wavefront scripts.

------------------------------------------------------------------------
r2641 | ianwill | 2004-06-08 06:41:02 +0200 (Tue, 08 Jun 2004) | 2 lines

BPython docs: small formatting fixes, basically, so that epydoc can generate dvi, ps and pdf versions.

------------------------------------------------------------------------
r2640 | kester | 2004-06-07 13:57:10 +0200 (Mon, 07 Jun 2004) | 2 lines

Add the separate spec colour definitions!

------------------------------------------------------------------------
r2639 | kester | 2004-06-07 13:03:12 +0200 (Mon, 07 Jun 2004) | 3 lines

Python updates:
Added scene module

------------------------------------------------------------------------
r2638 | kester | 2004-06-07 13:01:31 +0200 (Mon, 07 Jun 2004) | 4 lines

Lighting updates:
Added specular after texture.
Added Light properties: Negative, No Diffuse, No Specular, Quad, Quad2

------------------------------------------------------------------------
r2637 | kester | 2004-06-07 12:10:13 +0200 (Mon, 07 Jun 2004) | 2 lines

Correct blenderplayer target for sys.platform == win32

------------------------------------------------------------------------
r2636 | ianwill | 2004-06-07 03:34:15 +0200 (Mon, 07 Jun 2004) | 9 lines

Bundled scripts:
-starting updates and new additions for Blender 2.34:
  Some of the new scripts require Python modules not builtin with Blender, so you either need a full Python install or the needed extra modules.  This is an ongoing work, there should be more scripts, better testing and also proper ways to tell users they don't have all expected modules.  It's expected that Win users won't need full Python installs, since we can provide a minimal zip with the needed modules from 2.34 on.

Thanks to Anthony D'Agostino (scorpius), Jean-Michel Soler (jms) and Campbell Barton (Cam / ideasman) for donating the scripts now added / updated.

BPython:
-added two new script menu groups: Tools and Utils.  We still need to find places elsewhere in the gui where the groups can be put.

------------------------------------------------------------------------
r2635 | kester | 2004-06-07 02:57:31 +0200 (Mon, 07 Jun 2004) | 6 lines

Scons build fixes from lukep:
Remove Physics libraries from non gameblender builds
Add Quicktime to player
From Chris Keith:
Remove Quicktime framework (MacOSX!) on Windows builds.

------------------------------------------------------------------------
r2634 | stiv | 2004-06-07 00:42:51 +0200 (Mon, 07 Jun 2004) | 7 lines

Replace deprecated methods from old api:
  PythonReturnErrorObject
  PythonIncRef

Fix some compiler warnings about missing initializers
in method tables.

------------------------------------------------------------------------
r2633 | stiv | 2004-06-06 21:42:12 +0200 (Sun, 06 Jun 2004) | 3 lines

patch for bug #1347.  IpoCurve.evaluate() missing/disappeared.
Contributed by Philip Wainwright.

------------------------------------------------------------------------
r2632 | hos | 2004-06-05 16:59:30 +0200 (Sat, 05 Jun 2004) | 25 lines

Fixing something else broken broke: The fix for "no action == crash"
prevented rvk editing to work in the action window.

Please not that "if (act) {" (Does the object have an action? Currently
only true for some armatures) and "if (key) {" (does the object have
rvk's keys? Currently only true for meshes) are never both true at the
same time so in the following snippet, the function foo_key() never gets
executed:

if (act) {
  if (key) {
    foo_key();
  else
    foo_bar();
  }
}

Better is this:

if (key) {
  foo_key();
else if (act) {
  foo_bar();
}

------------------------------------------------------------------------
r2631 | hos | 2004-06-05 16:46:38 +0200 (Sat, 05 Jun 2004) | 3 lines

Fixing something broken broke: ICON_BLOCKBUT_CORNER is not defined
anywhere.

------------------------------------------------------------------------
r2630 | broken | 2004-06-05 09:13:05 +0200 (Sat, 05 Jun 2004) | 4 lines

* Fixed a crash in the action window when attempting to manipulate keys with no action loaded.

This addresses bug #1354 - Thanks to gabio for the report

------------------------------------------------------------------------
r2629 | broken | 2004-06-05 08:52:14 +0200 (Sat, 05 Jun 2004) | 4 lines

* Better error checking with apply deformation / make duplis real in the toolbox (blame it on ugly apply_object() )

Addresses bug #1348, thanks wavk for the report

------------------------------------------------------------------------
r2628 | broken | 2004-06-05 07:55:15 +0200 (Sat, 05 Jun 2004) | 15 lines

* Big, mundane clean up and edit of (error/ok/etc)
 messages and pupmenu()s. Edited spelling and grammar,
 stylistic consistency, etc.

I added the guidelines and rationale that I used to the
 CMS here:
http://www.blender3d.org/cms/Language_and_terminology.338.0.html

Next step is to get icons in there, to make it easier to see
 at a glance what sort of message (and how much attention
 should be paid to it, or if it can be dismissed with a flick
 of the mouse, eg. boring remove doubles notifications)

mockup: http://mke3.net:9000/blender/ui/controls/error_ok_icons.png

------------------------------------------------------------------------
r2627 | kester | 2004-06-04 14:58:46 +0200 (Fri, 04 Jun 2004) | 4 lines

blenderplayer target for SCons.

Would someone on MacOSX please check the bundle creation.

------------------------------------------------------------------------
r2626 | stiv | 2004-06-04 09:52:06 +0200 (Fri, 04 Jun 2004) | 3 lines

In Object.select() make the selected object the active object.
Update by Campbell Barton to his previous patch.

------------------------------------------------------------------------
r2625 | kester | 2004-06-04 05:04:56 +0200 (Fri, 04 Jun 2004) | 2 lines

Compile fixes for gcc 3.4

------------------------------------------------------------------------
r2624 | kester | 2004-06-04 05:00:13 +0200 (Fri, 04 Jun 2004) | 7 lines

Miscellaneous Fixes:
Add Python Mapping method to CListValue
Fix Bernoulli bool distribution python method for random actuator
Fix Python IpoActuator methods setProperty and force acts local
Make data objects private
Better sort method for polygon materials - much easier to understand

------------------------------------------------------------------------
r2623 | kester | 2004-06-04 04:10:58 +0200 (Fri, 04 Jun 2004) | 3 lines

Fix bug #1334: Crash with Python/GameEngine when the script has syntax errors.
When Python compile fails (eg syntax errors) skip the execute stage.

------------------------------------------------------------------------
r2622 | sirdude | 2004-06-03 21:59:34 +0200 (Thu, 03 Jun 2004) | 6 lines



deleted redefinition of var that is passed in.

Kent

------------------------------------------------------------------------
r2621 | stiv | 2004-06-03 18:23:51 +0200 (Thu, 03 Jun 2004) | 2 lines

bugfix #1345.  Curve.isNurb() segfault fixed.

------------------------------------------------------------------------
r2620 | broken | 2004-06-03 16:30:12 +0200 (Thu, 03 Jun 2004) | 2 lines

* Tiny almost-insignificant tweak to the curvature of button drawing

------------------------------------------------------------------------
r2619 | broken | 2004-06-03 16:29:14 +0200 (Thu, 03 Jun 2004) | 5 lines

* Added 'Transform' menus to Ipo, OOPS, Action, NLA, and
 Sequence spaces

* And a few small tweaks

------------------------------------------------------------------------
r2618 | sirdude | 2004-06-03 16:26:44 +0200 (Thu, 03 Jun 2004) | 6 lines



Cam's patch to enable parenting in the OOPS menu.

Kent

------------------------------------------------------------------------
r2617 | kester | 2004-06-02 15:34:58 +0200 (Wed, 02 Jun 2004) | 2 lines

Fix for MSVC compiler. ;-)

------------------------------------------------------------------------
r2616 | kester | 2004-06-02 15:17:39 +0200 (Wed, 02 Jun 2004) | 2 lines

Do a databrowse window for sound actuators when necessary.

------------------------------------------------------------------------
r2615 | kester | 2004-06-02 14:43:27 +0200 (Wed, 02 Jun 2004) | 3 lines

Updates to GamePython Reference.
Added Actuator documentation.

------------------------------------------------------------------------
r2614 | stiv | 2004-06-02 08:19:56 +0200 (Wed, 02 Jun 2004) | 4 lines

new Object.select() and Object.isSelected() methods to manipulate the
selection state of Objects.
Contributed by Campbell Barton.

------------------------------------------------------------------------
r2611 | hos | 2004-05-31 15:21:33 +0200 (Mon, 31 May 2004) | 6 lines

Fix for the IK Assertion bug when the IK constraint on a bone
points to the armature that owns the bone and the subtarget
bone for the constraint is invalid.

Thanks to Stephane Soppera for tracking this one down.

------------------------------------------------------------------------
r2610 | kester | 2004-05-31 15:06:04 +0200 (Mon, 31 May 2004) | 2 lines

Use epydoc for generating game python reference (like the bpython guys)

------------------------------------------------------------------------
r2609 | ton | 2004-05-31 14:08:50 +0200 (Mon, 31 May 2004) | 7 lines

Limit for Normalise() call was 0.000000001 or so. This is still far too
big, since a float can go to 10^-37. And, this value is still squared, so
a square root will not frustrate it.

Limit now is 10^-35, fixing disappearing faces in extreme small object
thats extreme close to a camera. (thanks OOPz!)

------------------------------------------------------------------------
r2608 | jiri | 2004-05-30 16:12:14 +0200 (Sun, 30 May 2004) | 4 lines



 - added some "Transform Properties" for MetaElem (Metaball in edit mode, N key). It is locx, loxy, locz, dx, dy, dz and stiffness

------------------------------------------------------------------------
r2607 | kester | 2004-05-30 13:09:46 +0200 (Sun, 30 May 2004) | 3 lines

Added Python module for Lights.
Added attributes to the vertex class.

------------------------------------------------------------------------
r2606 | kester | 2004-05-30 13:04:26 +0200 (Sun, 30 May 2004) | 3 lines

Check for zero normal vectors in the clip planes (if eg Python has set a strange projection matrix)
Fix the transformation of the frustum bound sphere to world coordinates.

------------------------------------------------------------------------
r2605 | ton | 2004-05-29 21:46:46 +0200 (Sat, 29 May 2004) | 6 lines

 report #1338

Switched order of routines for displacement and autosmooth, where the
autosmooth will be last now. This prevents displaced (loose) faces, and
might give attractive sharp edges in other cases too.

------------------------------------------------------------------------
r2604 | ton | 2004-05-29 19:33:30 +0200 (Sat, 29 May 2004) | 6 lines

bug #1340

Key alpha (render) set alph component at '1' for sky... this is an old
convention from NeoGeo days, and I have absolutely no clue whatfor...
maybe for some antique amiga iff format or so. Made it zero now.

------------------------------------------------------------------------
r2603 | ton | 2004-05-29 19:00:51 +0200 (Sat, 29 May 2004) | 3 lines

Counter of mballs, before polygonize, had error in taking linked mball-
data into account, causing errors modeling.

------------------------------------------------------------------------
r2602 | ton | 2004-05-29 18:22:07 +0200 (Sat, 29 May 2004) | 5 lines

Oh, the fix is an addition of a OB_NEG_SCALE flag in ob->transflag, which
is calculated in where_is_object.
Negative scale is found by a cross product of first 2 rows in matrix, and
comparing that (dot product) with third row.

------------------------------------------------------------------------
r2601 | ton | 2004-05-29 18:17:46 +0200 (Sat, 29 May 2004) | 10 lines

NEW! Blender now displays flipped (negative scaled) Objects correctly in
OpenGL draw.

(BTW: the previous commit also solves raytrace errors with negative scaled
objects...)

Further a cleanup of displaylist flags and object/base flags. The #define
ACTIVE is moved to filesel.c (only used here).
The GONNA_MOVE #define got a OB_ added in front.

------------------------------------------------------------------------
r2600 | ton | 2004-05-29 18:14:34 +0200 (Sat, 29 May 2004) | 20 lines

Recoded the methods how normals get corrected and flipped during render
conversion. Old method tried to solve it per object, detecting a flipped
matrix. Since we have displacemapping and raytracing this is too inaccurate.
Also, flipping normals should alsways result i correct flipped vertex-
normals too.

Solution is to completely recalcuate the 'puno' (vertex normal) flags in
renderHelp.c now (set_normal_flags). The face normals themselves are not
flipped until that stage.

Second major improvement involves the calculation of correct splitted
triangles, when a quad is not flat. It now creates triangles based on the
vertex normals, which have actual information on surrounding geometry, thus
resulting in much smoother results.
Without this you get errors in ray-shadow, with light shining almost
parallel to a face. But again, displacement mapping improves with it too.

Third fix is that by removing normal flipping from displace code the result
is much better now.

------------------------------------------------------------------------
r2599 | ton | 2004-05-27 19:54:26 +0200 (Thu, 27 May 2004) | 5 lines

Bug fix 1332

EnvMap render now uses the percentage button for size (f10 buttons).
That wasn't implemented yet for saving envmaps....

------------------------------------------------------------------------
r2598 | sirdude | 2004-05-27 16:54:14 +0200 (Thu, 27 May 2004) | 10 lines


Panagiotis Papadakos's patch to fix the following:

Implicit declaration of swab in Linux, needs to define __USE_XOPEN at
source/blender/src:

I also added #includst <stdlib.h> to this file to fix it on solaris as well.

Kent

------------------------------------------------------------------------
r2597 | sirdude | 2004-05-27 10:05:55 +0200 (Thu, 27 May 2004) | 8 lines



Tom's additions to the windows build.
(I changed #blendersaue to #blendercoders not #blendercompilers,
does anyone actually use #blendercompilers?)

Kent

------------------------------------------------------------------------
r2596 | sirdude | 2004-05-27 10:00:17 +0200 (Thu, 27 May 2004) | 9 lines



Tom Musgrove's patch to get things to compile on windows correctly.
(removes a \ thats in there for no reason)

Tom sorry this took so long to get pushed through.

Kent

------------------------------------------------------------------------
r2595 | ton | 2004-05-26 23:04:02 +0200 (Wed, 26 May 2004) | 6 lines

In drawing solid objects ("Solid" drawmode) there were material
switches (glMaterial) inbetween a glBegin and glEnd. Combined with a
switch of glShadeModel however, on recent Nvidia it caused faces not
to be drawn... dunno if this is official compliancy, but not too
complex just to correct.

------------------------------------------------------------------------
r2594 | kester | 2004-05-26 14:09:17 +0200 (Wed, 26 May 2004) | 8 lines

Python fixes:
Reenabled the setScript/getScript methods for python controller bricks.
Set the ray source point to MouseFocusSensor.getRaySource works.
Added: Python -> MT_Quaternion
MT_Matrix4x4, MT_Matrix3x3, MT_Vector3, MT_Point3 -> Python

Correct transform of frustum bound sphere centre point to world coordinates

------------------------------------------------------------------------
r2593 | kester | 2004-05-26 14:06:41 +0200 (Wed, 26 May 2004) | 7 lines

Added an UpdateTransform callback from SceneGraph -> Physics.
Profiling revealed that the SceneGraph updated every physics object, whether it moved or not, even though the physics object was at the right place.  This would cause SOLID to go and update its bounding boxes, overlap tests etc.
This callback handles the special case (parented objects) where the physics scene needs to be informed of changes to the scenegraph.

Added Python attributes (mass, parent, visible, position, orientation, scaling) to the KX_GameObject module.
Make KX_GameObject use the KX_PyMath Python <-> Moto conversion.

------------------------------------------------------------------------
r2592 | kester | 2004-05-26 14:01:08 +0200 (Wed, 26 May 2004) | 5 lines

Fix Bug #1309 Disabling Actor leaves Ghost, Dynamic and Rigid Body etc enabled.

Depth sorting for Transparent polygons.  Use ZTransp in Material buttons to enable.
This will cause an object's polygons to be sorted (back to front for alpha polygons, front to back for solid polygons.)

------------------------------------------------------------------------
r2591 | stiv | 2004-05-25 21:59:41 +0200 (Tue, 25 May 2004) | 7 lines

bugfix: #1322  minor tweaks to the documentation for Draw module.

Blender.Draw.Button() was not showing up.  Seems to be an epydoc
issue with Button() being both a module method and the name of a class.
I changed Button to Button_ and added a usage note.
Yes, this is lame.

------------------------------------------------------------------------
r2590 | guignot | 2004-05-25 21:31:13 +0200 (Tue, 25 May 2004) | 6 lines

Changed parameters names in addCurve function (suggested by Paolo)
DLoc* --> dLoc*
DRot* --> dRot*
DSize* --> dSize*
updated doc (Ipo.py)

------------------------------------------------------------------------
r2589 | blendix | 2004-05-25 21:06:48 +0200 (Tue, 25 May 2004) | 9 lines


Fixed a potential bug in the uv editor transform function, a check if the tface
might be only an edge was missing in one of the loops.

Fix a crash that would sometimes happen when clicking the texture painting
button in the image window header. Made headerbuttons_packdummy a static
variable again. The uiDefBut call for the texture painting button stores a
reference to it, so it must be kept in memory.

------------------------------------------------------------------------
r2588 | ianwill | 2004-05-25 12:36:58 +0200 (Tue, 25 May 2004) | 4 lines

BPython:
- Campbell Barton contributed another function (thanks again), the Image.reload method:
  with this a script can keep an image that is being edited and saved by an external program updated in Blender.

------------------------------------------------------------------------
r2587 | broken | 2004-05-25 08:08:49 +0200 (Tue, 25 May 2004) | 11 lines

* Added support for python scripts to register themselves
 in the UV/Image editor 'UVs' menu

Script authors can use:
Group: 'UV'
 in the headers of their scripts to let them appear in
 this menu.

* Updated the UV Face Layout script to reside in the UVs
 menu, rather than the (incorrect) File->Export menu.

------------------------------------------------------------------------
r2586 | ascotan | 2004-05-25 05:26:29 +0200 (Tue, 25 May 2004) | 3 lines

- documentation update for new functions
- error corrections in NLA about dictionaries

------------------------------------------------------------------------
r2585 | ascotan | 2004-05-25 04:48:02 +0200 (Tue, 25 May 2004) | 5 lines

- added Boneclass support
- ability to get a bonespace/worldspace bone matrix
- get ik flag
- some tweaking to matrix updates for addBone()

------------------------------------------------------------------------
r2584 | jesterking | 2004-05-24 21:48:07 +0200 (Mon, 24 May 2004) | 4 lines

After hearing that the reason for do_common_editbuts being in buttons_object.c I decided to move it to buttons_editing.c, where it logically belongs. Matter of copy and paste (and deleting from buttons_object.c :)

Now poor newcomers can more easily find the editing buttonevent handling code.

------------------------------------------------------------------------
r2583 | broken | 2004-05-24 15:46:36 +0200 (Mon, 24 May 2004) | 2 lines

Added the hotkey for Bevel in the menus

------------------------------------------------------------------------
r2582 | kester | 2004-05-24 09:49:50 +0200 (Mon, 24 May 2004) | 4 lines

Game Python Reference Manual.
This manual lists all the Python classes and modules for Game Objects, Sensor bricks, Controllers etc.
Missing: Actuator & Controller reference.

------------------------------------------------------------------------
r2581 | ton | 2004-05-23 21:13:15 +0200 (Sun, 23 May 2004) | 5 lines

Changed two shorts in int, for calculation of distance between bezier point
and mouse coordinate in selecting routine.
Caused selection not to work in extreme zoom ins.
(Thanks OOPz!)

------------------------------------------------------------------------
r2580 | ianwill | 2004-05-22 22:25:22 +0200 (Sat, 22 May 2004) | 8 lines

BPython:
- updated docs with recently added functions
- dynamic menu entries now are sorted (alphabetically, of course)
- added new menu categories for scripts: Wizards, Modifiers, Generators, Materials, Animation:
  only added to list of options, didn't mess with any Blender header.  They are already available from the "Scripts" menu in the scripts win, but not elsewhere.
- added option 'datadir' to Blender.Get(option):
  so scripts can use .blender/bpydata for reading / writing their data files.

------------------------------------------------------------------------
r2579 | kester | 2004-05-21 16:09:18 +0200 (Fri, 21 May 2004) | 2 lines

near & far are reserved words on MSVC.  Don't use them as variable names.

------------------------------------------------------------------------
r2578 | kester | 2004-05-21 11:27:42 +0200 (Fri, 21 May 2004) | 2 lines

Cunning hack for Blender python module in the game engine - just don't unload it before running the game!

------------------------------------------------------------------------
r2577 | kester | 2004-05-21 11:21:15 +0200 (Fri, 21 May 2004) | 4 lines

Frustum sphere culling.

Do a sphere<->camera sphere and a sphere<->frustum before the box<->frustum test.

------------------------------------------------------------------------
r2576 | kester | 2004-05-21 11:18:42 +0200 (Fri, 21 May 2004) | 6 lines

Fixes for Camera objects and python:

Normalise clip planes for sphere testing.
Do a frustum-sphere <-> sphere test
Reference count all python objects (!)

------------------------------------------------------------------------
r2575 | kester | 2004-05-21 10:56:05 +0200 (Fri, 21 May 2004) | 2 lines

Query GL for max number of lights to use.

------------------------------------------------------------------------
r2574 | kester | 2004-05-21 10:55:12 +0200 (Fri, 21 May 2004) | 7 lines

Depth sorting for alpha mesh objects.

- Mesh Objects are sorted by depth (based on object centre.)  Using object centre means the user has control over the sort.
- Polygons are not sorted.
- Polygons are not split.
- O(nlog(n))

------------------------------------------------------------------------
r2573 | broken | 2004-05-21 03:35:10 +0200 (Fri, 21 May 2004) | 2 lines

Added Shift C 'Center Cursor and View All' to View -> Align View menu

------------------------------------------------------------------------
r2572 | broken | 2004-05-20 14:27:21 +0200 (Thu, 20 May 2004) | 2 lines

A few hotkey additions/corrections to the toolbox and 3d view menus.

------------------------------------------------------------------------
r2571 | stiv | 2004-05-20 09:21:07 +0200 (Thu, 20 May 2004) | 2 lines

add some explanation about Object.Layer being a bitmask.

------------------------------------------------------------------------
r2570 | stiv | 2004-05-20 08:26:43 +0200 (Thu, 20 May 2004) | 4 lines

removed unused var in Object.getBoundBox()

bugfix: #1212 changing object's layer had no effect.

------------------------------------------------------------------------
r2569 | theeth | 2004-05-20 04:12:14 +0200 (Thu, 20 May 2004) | 2 lines

MSVC 6.0 ProjectFiles update. The file Kester added in his last commits were missing from the project files.

------------------------------------------------------------------------
r2568 | theeth | 2004-05-20 03:22:43 +0200 (Thu, 20 May 2004) | 5 lines

Bug #1289
Mirror menu missing in the Header Menu for most object types in edit mode

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

------------------------------------------------------------------------
r2567 | theeth | 2004-05-20 03:18:13 +0200 (Thu, 20 May 2004) | 2 lines

UV_Export script update. Typo fix and add tga extension automaticly.

------------------------------------------------------------------------
r2566 | ton | 2004-05-19 21:30:43 +0200 (Wed, 19 May 2004) | 11 lines

Removed a bzero from octree-filling, replaced with exact code what
needs cleared. Timings go down nice:

octree new     2.33a

128    0:04.2  0:07.5
256    0:06.5  0:20.0
512    0:18.0  2.06.9

Time is including initialize renderfaces etc. 100k quads.

------------------------------------------------------------------------
r2565 | ianwill | 2004-05-19 03:28:12 +0200 (Wed, 19 May 2004) | 5 lines

BPython:
-- Added two new functions to the Draw module, to display int and float popup buttons:
    Both contributed by Campbell Barton, thanks!
-- Fixed a couple warnings.

------------------------------------------------------------------------
r2564 | ton | 2004-05-18 22:00:51 +0200 (Tue, 18 May 2004) | 3 lines

Removed double #defines from include, added some comments in code, and
added define for future use to bring back old (fast) AA.

------------------------------------------------------------------------
r2563 | ton | 2004-05-18 21:59:50 +0200 (Tue, 18 May 2004) | 6 lines

Patch provided by Matthew Plough for better view zoom with CTRL+middle
mouse.

For me it's a good replacement, and more intuitive & compatible. Now
let's wait for the storm of reactions...

------------------------------------------------------------------------
r2562 | jesterking | 2004-05-18 11:56:19 +0200 (Tue, 18 May 2004) | 2 lines

Forgot to add PyMath.cpp and .h

------------------------------------------------------------------------
r2561 | jesterking | 2004-05-18 11:34:06 +0200 (Tue, 18 May 2004) | 2 lines

Modified .vcproj files to include files for scenegraph, and remove a redundant file from render

------------------------------------------------------------------------
r2560 | ianwill | 2004-05-18 05:23:45 +0200 (Tue, 18 May 2004) | 4 lines

BPython:
- Finally added Blender.Load function for loading .blend files, useful for demos, for example.
- Moved data from Blender.h to Blender.c.  We'll keep doing this where it applies and someday remove all unused files at once.

------------------------------------------------------------------------
r2559 | kester | 2004-05-18 01:56:56 +0200 (Tue, 18 May 2004) | 2 lines

Compiler portability fixes (MSVC 6)

------------------------------------------------------------------------
r2558 | ton | 2004-05-17 23:40:00 +0200 (Mon, 17 May 2004) | 3 lines

<blush> this should have been part of render commit of some days ago.
This fixes errors in quads that are non-planar...

------------------------------------------------------------------------
r2557 | broken | 2004-05-17 16:36:13 +0200 (Mon, 17 May 2004) | 4 lines

Tweaked the display and positioning of tooltips so they aren't obscured by the mouse pointer.

This is addressing bug #952

------------------------------------------------------------------------
r2556 | kester | 2004-05-17 11:06:54 +0200 (Mon, 17 May 2004) | 2 lines

Same again - change static const for MSVC++

------------------------------------------------------------------------
r2555 | kester | 2004-05-17 10:31:35 +0200 (Mon, 17 May 2004) | 3 lines

Fix for MSVC .NET, which can't handle static const declarations in classes.
Make it static, and define in SM_Object.cpp

------------------------------------------------------------------------
r2554 | kester | 2004-05-17 02:42:07 +0200 (Mon, 17 May 2004) | 5 lines

Fix for bug 1245: Vertex Colours are wrong in GameBlender. 2nd try.
http://projects.blender.org/tracker/index.php?func=detail&aid=1245&group_id=9&atid=125

The member names of MCol are wrong, so we will convert to unsigned char* like the rest of blender.

------------------------------------------------------------------------
r2553 | ton | 2004-05-16 18:25:40 +0200 (Sun, 16 May 2004) | 11 lines

Rewind of change in MCol structure.

Kester: since this is in DNA, it backwards converts all R into B now,
which isn't the bug. On big endian systems (OSX) there engine colors
are OK, which indicates the conversion of MCol goes wrong on the
engine side, by using some endian-sensative approach.

The main confusement is, that the MCol struct isn't in use for read
or write in Blender, only for a save in files. The contents of that
struct is wrong, yes. See note in vpaint.c top.

------------------------------------------------------------------------
r2552 | kester | 2004-05-16 15:23:59 +0200 (Sun, 16 May 2004) | 2 lines

Drawing cylinder & cone bounding objects according to how they will act in the physics simulation.

------------------------------------------------------------------------
r2551 | kester | 2004-05-16 15:13:41 +0200 (Sun, 16 May 2004) | 2 lines

Port closest points fix from tuhopuu - should return positive distance.

------------------------------------------------------------------------
r2550 | kester | 2004-05-16 15:10:10 +0200 (Sun, 16 May 2004) | 2 lines

Cleanup unused/commented out code, compiler warnings, coding standards etc.

------------------------------------------------------------------------
r2549 | kester | 2004-05-16 15:07:20 +0200 (Sun, 16 May 2004) | 3 lines

Added #!/usr/bin/python standard script identifier to the start of SConscript files.
Makes text editors identify SConscripts as Python, and syntax highlight properly.

------------------------------------------------------------------------
r2548 | kester | 2004-05-16 15:05:15 +0200 (Sun, 16 May 2004) | 2 lines

Changed Python _getattr/_setattr methods to use const STR_String& instead of char* - makes using these methods much nicer.

------------------------------------------------------------------------
r2547 | kester | 2004-05-16 14:56:36 +0200 (Sun, 16 May 2004) | 3 lines

Up the maximum triangles in a bucket.
GPUs can do more now.

------------------------------------------------------------------------
r2546 | kester | 2004-05-16 14:56:08 +0200 (Sun, 16 May 2004) | 3 lines

Use safe_normalized instead of normalized in shadow cast.
Should fix crashes reported by Calli

------------------------------------------------------------------------
r2545 | kester | 2004-05-16 14:55:37 +0200 (Sun, 16 May 2004) | 2 lines

Inline accessor methods used by armature deformation.

------------------------------------------------------------------------
r2544 | kester | 2004-05-16 14:55:21 +0200 (Sun, 16 May 2004) | 3 lines

Use const for SetProjectionMatrix
Remove warning printf.

------------------------------------------------------------------------
r2543 | kester | 2004-05-16 14:55:05 +0200 (Sun, 16 May 2004) | 2 lines

Use bitset instead of mucking around with <<, | and &

------------------------------------------------------------------------
r2542 | kester | 2004-05-16 14:54:44 +0200 (Sun, 16 May 2004) | 2 lines

SceneGraph support for bounding boxs

------------------------------------------------------------------------
r2541 | kester | 2004-05-16 14:53:54 +0200 (Sun, 16 May 2004) | 2 lines

Python utils for Python <-> MT_Vector, MT_Point & MT_Matrix

------------------------------------------------------------------------
r2540 | kester | 2004-05-16 14:53:39 +0200 (Sun, 16 May 2004) | 2 lines

Don't overwrite camera's projection matrix every frame.

------------------------------------------------------------------------
r2539 | kester | 2004-05-16 14:53:22 +0200 (Sun, 16 May 2004) | 3 lines

Frustum culling
New Python Hooks for cameras.

------------------------------------------------------------------------
r2538 | kester | 2004-05-16 14:52:54 +0200 (Sun, 16 May 2004) | 3 lines

Don't touch protected KX_GameObject members.
Protect KX_GameObject - Py_Header unprotects!

------------------------------------------------------------------------
r2537 | kester | 2004-05-16 14:52:30 +0200 (Sun, 16 May 2004) | 4 lines

Frustum Culling.
- tests every object against the view frustum.
- Tree based culling is there, need to build tree.

------------------------------------------------------------------------
r2536 | kester | 2004-05-16 14:52:08 +0200 (Sun, 16 May 2004) | 3 lines

Don't increment tface if tface == NULL
Generate bounding boxes for frustum culling

------------------------------------------------------------------------
r2535 | kester | 2004-05-16 14:50:16 +0200 (Sun, 16 May 2004) | 5 lines

Fix for bug 1245: Colours are wrong on GameBlender
http://projects.blender.org/tracker/index.php?func=detail&aid=1245&group_id=9&atid=125

The vertex paint routines were storing red in the blue channel, and blue in the red channel.

------------------------------------------------------------------------
r2534 | stiv | 2004-05-16 01:10:37 +0200 (Sun, 16 May 2004) | 5 lines

bugfix: #1206  Object.getBoundBox() was returning obdata coordinates.

fix memory leak in vector module.  Memory allocated by vector constructor
was not being freed.

------------------------------------------------------------------------
r2533 | ton | 2004-05-15 20:14:53 +0200 (Sat, 15 May 2004) | 2 lines

Adapted sconscript for removed file

------------------------------------------------------------------------
r2532 | ton | 2004-05-15 20:13:42 +0200 (Sat, 15 May 2004) | 2 lines

Removed obsolete file

------------------------------------------------------------------------
r2531 | ton | 2004-05-15 20:07:09 +0200 (Sat, 15 May 2004) | 16 lines

Assuming the freeze is over and we can head towards 2.34: this is the
first commit for review and improvements on OSA (anti aliasing) in
Blender.

http://www.blender3d.org/cms/Rendering_engine.320.0.html

Most relevant changes:
- full check on subpixel sample locations
- all subpixels are fully rendered (gives spec AA, procedural texture AA)
- also unified render uses it
- removed double-used code for unified render

Whether or not this will be optional (better pics, but in some cases slow)
is to further evaluate. For raytracing - for example - this cannot be simply
done, since the new sampling system made raytrace code much simpler.

------------------------------------------------------------------------
r2530 | ascotan | 2004-05-15 16:32:21 +0200 (Sat, 15 May 2004) | 3 lines

- added setBorder() to renderingContext to set border render rects from python.
- updated sizePreset() to deal with borders.

------------------------------------------------------------------------
r2529 | ascotan | 2004-05-15 05:09:27 +0200 (Sat, 15 May 2004) | 3 lines

- bugfix #998 Object matrix incorrect
- object's matrix is not updated until redraw. pymatrix returned is updated to reflect current variables.

------------------------------------------------------------------------
r2528 | ascotan | 2004-05-15 05:02:11 +0200 (Sat, 15 May 2004) | 2 lines

- spelling error and example fix

------------------------------------------------------------------------
r2527 | guitargeek | 2004-05-15 04:28:03 +0200 (Sat, 15 May 2004) | 4 lines

Adds a 'paint' floating panel to the image window to control brush settings for texture paint mode.

Also adds paint and properties to the view menu in image window.

------------------------------------------------------------------------
r2526 | h_xnan | 2004-05-14 22:40:56 +0200 (Fri, 14 May 2004) | 2 lines

extend clean target for qhull and solid

------------------------------------------------------------------------
r2524 | jiri | 2004-05-13 18:29:39 +0200 (Thu, 13 May 2004) | 5 lines



- added new Czech blender.mo file
- next time: don't forget to use add command fith -kb flag, when you add binary file :-)

------------------------------------------------------------------------
r2523 | jiri | 2004-05-13 18:25:05 +0200 (Thu, 13 May 2004) | 4 lines



- removed corupted Czech blender.mo file

------------------------------------------------------------------------
r2522 | jiri | 2004-05-13 17:35:02 +0200 (Thu, 13 May 2004) | 4 lines



- fixed bug #1268, Czech translation is fixed

------------------------------------------------------------------------
r2521 | ton | 2004-05-13 17:02:01 +0200 (Thu, 13 May 2004) | 3 lines

 Added the basic installation notes for each OS.
 People might want to check it. :)

------------------------------------------------------------------------
r2520 | larstiq | 2004-05-13 16:21:08 +0200 (Thu, 13 May 2004) | 2 lines

- Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in cwd.

------------------------------------------------------------------------
r2519 | kester | 2004-05-13 15:07:38 +0200 (Thu, 13 May 2004) | 3 lines

Make game users happier.
Don't apply friction to external velocities.  The means motion actuators that set linV will work, without having to be repeatedly triggered.

------------------------------------------------------------------------
r2518 | ton | 2004-05-13 00:22:04 +0200 (Thu, 13 May 2004) | 2 lines

 release log

------------------------------------------------------------------------
r2517 | lukep | 2004-05-13 00:11:39 +0200 (Thu, 13 May 2004) | 5 lines



completed build for release on mac Os X, no more  manual operations
build for debug still to be completed

------------------------------------------------------------------------
r2516 | larstiq | 2004-05-12 22:58:46 +0200 (Wed, 12 May 2004) | 2 lines

- sync version up with blender/release/VERSION

------------------------------------------------------------------------
r2515 | aphex | 2004-05-12 22:30:18 +0200 (Wed, 12 May 2004) | 2 lines

quick fix -- bug #1217 (Unable to access AA fonts in Linux)

------------------------------------------------------------------------
r2514 | ton | 2004-05-12 21:17:00 +0200 (Wed, 12 May 2004) | 4 lines

Secured division by extreme values with a FLT_EPSILON. This might
prevent hanging on optimized windows build. That's going to be tested
now!

------------------------------------------------------------------------
r2513 | broken | 2004-05-12 18:54:06 +0200 (Wed, 12 May 2004) | 2 lines

Argh, missed this in the last commit.

------------------------------------------------------------------------
r2512 | broken | 2004-05-12 18:53:11 +0200 (Wed, 12 May 2004) | 14 lines

A few fixes to the menus:

* Added the axis constraints (and fixed a bug) in the newly
 added View3D transform menus, and in doing so removed
 some duplicated code from toolbox.c
* Cleaned up text labelling

Hint:
Remember to use Title Case for menu labels, and only use
an ellipsis (...) when the menu opens up another new
dialog like a panel or a pupmenu(). The ellipsis indicates
"there is something more to come" and that no action,
mode-change, whatever will be executed immediately.

------------------------------------------------------------------------
r2511 | stiv | 2004-05-12 10:06:15 +0200 (Wed, 12 May 2004) | 3 lines

bugfix from bpy mail list:
Object.setEuler() was not accepting old style args of 3 floats.

------------------------------------------------------------------------
r2510 | ton | 2004-05-11 23:54:44 +0200 (Tue, 11 May 2004) | 2 lines

2.33a splash

------------------------------------------------------------------------
r2509 | ton | 2004-05-11 23:49:46 +0200 (Tue, 11 May 2004) | 2 lines

Version 2.33a

------------------------------------------------------------------------
r2508 | ton | 2004-05-11 23:40:39 +0200 (Tue, 11 May 2004) | 5 lines

Little things pending for menus...

- grab/rot/scale sublevel in object pulldown (mostly as hotkey reminder)
- added missing hotkeys to 2 toolbox items

------------------------------------------------------------------------
r2507 | ton | 2004-05-11 21:08:02 +0200 (Tue, 11 May 2004) | 3 lines

Added warning message on attempt to join 2 Meshes with vertex keys.
That feature is not available... and I doubt that'll be soon. :)

------------------------------------------------------------------------
r2506 | phase | 2004-05-11 19:49:19 +0200 (Tue, 11 May 2004) | 2 lines

Here's a polish translation... done by Piotr Kiec. Thank you!

------------------------------------------------------------------------
r2505 | ton | 2004-05-11 14:50:04 +0200 (Tue, 11 May 2004) | 4 lines

Changed printing an empty string to print "0" for files for zero size
in file selector.
Thanks Joilnen for pointing to this line.

------------------------------------------------------------------------
r2504 | ascotan | 2004-05-11 10:32:13 +0200 (Tue, 11 May 2004) | 2 lines

- oops NLA reversion - part II of bugfix

------------------------------------------------------------------------
r2503 | ascotan | 2004-05-11 10:26:44 +0200 (Tue, 11 May 2004) | 4 lines

- bugfix #1197 (New Bone.parent/child Access Destructive)
- a major redo of the Bone module
- BPy_Bone structs are separated into Bone data and python vars. This is necessary for the correct memory allocation of bone data between python and the global armature list.

------------------------------------------------------------------------
r2502 | ton | 2004-05-10 23:15:18 +0200 (Mon, 10 May 2004) | 3 lines

Tinsy error in undo for selection. Undo_push() was called too late.
Reported by Grogilius. Thanks!

------------------------------------------------------------------------
r2501 | zuster | 2004-05-10 22:35:46 +0200 (Mon, 10 May 2004) | 4 lines

 - nasty memory corruption on windows for getting home directory
 - check to make sure $HOME/.blender exists before returning that
    as the home

------------------------------------------------------------------------
r2500 | ton | 2004-05-10 22:14:21 +0200 (Mon, 10 May 2004) | 8 lines

PATCH!

Bug 1258: selecting objects with text drawing (axis, or as draw extra)
causes crashes in IBM cards. Has been tested & verified. A crash on
selecting Empty is often reported... so I just disabled drawing of
text when in selecting-draw mode.
Added comments in code to note it clearly.

------------------------------------------------------------------------
r2499 | ton | 2004-05-10 20:17:06 +0200 (Mon, 10 May 2004) | 5 lines

Bug 1272

Normals for mball where flipped, when using displace mapping.
Fix is both flipping normals, and flipping flip flags.

------------------------------------------------------------------------
r2498 | ton | 2004-05-09 23:52:23 +0200 (Sun, 09 May 2004) | 6 lines

Bug fix for AO and Soft shadow:

When Traceable was off, and the rendered pixel outside Octree, the
intersection was going wrong. Due to the many samples taken not easy
to see, but certainly causing extra noise.

------------------------------------------------------------------------
r2497 | ton | 2004-05-09 23:37:36 +0200 (Sun, 09 May 2004) | 5 lines

Bug #1264

When in texture buttons, selecting Lamp, Camera or other Object didnt
update the shown texture correctly. Now it nicely switches.

------------------------------------------------------------------------
r2496 | ton | 2004-05-09 23:26:43 +0200 (Sun, 09 May 2004) | 2 lines

Added tooltips for Lattice editbuttons.

------------------------------------------------------------------------
r2495 | ton | 2004-05-09 23:15:05 +0200 (Sun, 09 May 2004) | 5 lines

 fix for bug #1263

When zooming in extreme, scaling things outside of view caused dashed
line to be wrong... it used shorts for screencoords. Made it a float.

------------------------------------------------------------------------
r2494 | ton | 2004-05-09 22:40:21 +0200 (Sun, 09 May 2004) | 8 lines

As we dutchies say: "Now breaks my clog!"

Apparently the 'sync' option for alt+a anim playback *can* run without
the sound_init_audio() being called, but it cannot play audio... o_O
(For who doesnt know, syncing was coded abusing audio timing)

Anyhoo. This also fixes #1267, reporting that 'sync' option didnt work.

------------------------------------------------------------------------
r2493 | ianwill | 2004-05-09 04:18:51 +0200 (Sun, 09 May 2004) | 3 lines

BPython:
- Manuel from MakeHuman reported a memory leak in NMesh_getVertsFromGroup, should be fixed now.  A pylist was not being decref'ed.

------------------------------------------------------------------------
r2492 | lukep | 2004-05-09 00:29:56 +0200 (Sun, 09 May 2004) | 8 lines



Fixed Sconstruct file so that blender.app Bundle builds correctly
with all needed files in Ressources dir (.Blanguages, .bfont.ttf, locale)
and with unwanted CVS dirs and DS_Store files removed.

binary is also stripped before inclusion in Bundle.

------------------------------------------------------------------------
r2491 | ton | 2004-05-08 11:42:33 +0200 (Sat, 08 May 2004) | 4 lines

Fixed little annoyance that caused previewrender not to clear sometimes.
For example when no Texture exists, and you switch from material to
texture buttons.

------------------------------------------------------------------------
r2490 | lukep | 2004-05-08 03:34:39 +0200 (Sat, 08 May 2004) | 10 lines



post 2.33 release commit of the modified SCons files for Os X.

Sconstruct modified so that Blender build on 10.3 without any additionnal
download than source + darwin libs.
defaults settings correct for 10.3.

fixed bug # 1260 : added MT_NDEBUG flag at top-level.

------------------------------------------------------------------------
r2489 | kester | 2004-05-08 02:25:20 +0200 (Sat, 08 May 2004) | 2 lines

Delete all SOLID shapes at the end of the game engine.  They were all being leaked!

------------------------------------------------------------------------
r2487 | ton | 2004-05-07 21:56:26 +0200 (Fri, 07 May 2004) | 2 lines

Num-slider buts and CTRL didn't work when range was > 1.0

------------------------------------------------------------------------
r2486 | ton | 2004-05-07 20:03:40 +0200 (Fri, 07 May 2004) | 12 lines

Added two more mapping types to World buttons for sky render.

"Sphere": spherical mapping for a 360 degree panorama
"Tube": cylindrical mapping for a 360 degree panorama

Both mappings by default do only the sky (upper) hemisphere. The color
below is same as regular Horiz and Zenith colors, useful for setting
an AO effect.

Sample pics:
http://www.1000skies.com/fullpanos/index.htm (commercial)

------------------------------------------------------------------------
r2485 | jesterking | 2004-05-07 15:50:22 +0200 (Fri, 07 May 2004) | 3 lines

* bump VERSION to 2.33
* change python2.2 in python2.3 for win32

------------------------------------------------------------------------
r2484 | ton | 2004-05-07 13:59:41 +0200 (Fri, 07 May 2004) | 7 lines

When pressing ALT+A, i noticed other windows advance 1 frame. This is
caused by swapbuffers system, which redraws the other windows when the
CFRA timer already advanced 1 frame.

Added an extra redraw to fix this. Could fix report #964, will wait for
JWalton to verify.

------------------------------------------------------------------------
r2483 | ton | 2004-05-07 13:35:38 +0200 (Fri, 07 May 2004) | 4 lines

Improved three tooltips:
- Material Shadow and Traceable still mentioned old shadowbuffer methods
- AngMap option in World mapping has better explanation

------------------------------------------------------------------------
r2482 | aphex | 2004-05-06 23:40:38 +0200 (Thu, 06 May 2004) | 4 lines

- switched a strcat and strcpy pair... doh! (well spotted b-ix!)
- appended "./blender" to %HOME% return for Win32. Is consistant now
  with the other returns for Win.

------------------------------------------------------------------------
r2481 | ton | 2004-05-06 22:53:05 +0200 (Thu, 06 May 2004) | 4 lines

potential fix for windows crash when it encounters file dates beyond
the nice limited unix range (1970-2034 or so).
Zr will check!

------------------------------------------------------------------------
r2480 | ton | 2004-05-06 21:57:21 +0200 (Thu, 06 May 2004) | 5 lines

Fix related to audio crash. Made the check for when audio_init runs a
tinsy bit more strict. Now it did it for each ALT+A play anim.

I leave the debug print in still, for testing.

------------------------------------------------------------------------
r2479 | ton | 2004-05-06 21:42:38 +0200 (Thu, 06 May 2004) | 5 lines

bug fix #1237

A too strict pointer check caused action browsing in action-window not
to work when object didn't have action yet.

------------------------------------------------------------------------
r2478 | ton | 2004-05-06 21:31:16 +0200 (Thu, 06 May 2004) | 4 lines

fix for bug #1223

Bump was inverted in previewrender for planar preview.

------------------------------------------------------------------------
r2477 | ton | 2004-05-06 19:32:17 +0200 (Thu, 06 May 2004) | 4 lines

fix for bug #1226:
With subsurf level 0, in editmode, the hidden faces where still drawn.
Was caused because subsurfing code then is skipped.

------------------------------------------------------------------------
r2476 | ton | 2004-05-06 13:15:04 +0200 (Thu, 06 May 2004) | 2 lines

Member added, who wasnt included due to wrong subscription.

------------------------------------------------------------------------
r2475 | kester | 2004-05-06 04:13:07 +0200 (Thu, 06 May 2004) | 4 lines

Fix Bug #1243: http://projects.blender.org/tracker/?func=detail&aid=1243&group_id=9&atid=125

Use external velocity (velocity set by the game engine - not the physics engine) for Motion Actuators.

------------------------------------------------------------------------
r2474 | kester | 2004-05-05 06:12:53 +0200 (Wed, 05 May 2004) | 2 lines

Enable doubles internally in Solid for the Makefile build system.

------------------------------------------------------------------------
r2473 | zuster | 2004-05-05 05:22:22 +0200 (Wed, 05 May 2004) | 8 lines

 - PyInt_AsLong() was called on a possibly NULL object, this may be
    a checked error but is no good anyway
 - Bone_dealloc free'd Blender's actual copy of the Bone! AGH!!!!
 - On syntax errors the python global dictionary was being free'd
    twice. AGH!!! again!

Can someone from the Python team please audit this.

------------------------------------------------------------------------
r2472 | zuster | 2004-05-04 23:16:39 +0200 (Tue, 04 May 2004) | 2 lines

 - made a VERY IMPORTANT change to usiblender.c

------------------------------------------------------------------------
r2471 | zuster | 2004-05-04 21:40:11 +0200 (Tue, 04 May 2004) | 3 lines

 - change to non-typedef'ng method of declaring BCursor in winlay.h
     (OSX doesn't like)

------------------------------------------------------------------------
r2470 | zuster | 2004-05-04 21:13:35 +0200 (Tue, 04 May 2004) | 4 lines

 - removed debug prints that had no meaning to most people
 - zr: you lazy developer, you shouldn't commit code that has debug prints
     in it. you ruined my life!!!!

------------------------------------------------------------------------
r2469 | zuster | 2004-05-04 21:10:55 +0200 (Tue, 04 May 2004) | 4 lines

 - ugh, do not break open an abstract data type just to add one single
    function, especially when you are introducing extra dependencies
    (GHOST) on files that should not have them.

------------------------------------------------------------------------
r2468 | sirdude | 2004-05-04 19:18:26 +0200 (Tue, 04 May 2004) | 6 lines



removed old examples since they are no longer used at all.

Kent

------------------------------------------------------------------------
r2467 | sirdude | 2004-05-04 18:26:52 +0200 (Tue, 04 May 2004) | 9 lines



Shortened up the Makefile since freebsd,linux and solaris do the
same stuff:
Basically use this instead of seperate sections for each platform.
  ifeq ($(OS),$(findstring $(OS), "linux freebsd solaris"))

Kent

------------------------------------------------------------------------
r2466 | sirdude | 2004-05-04 18:25:35 +0200 (Tue, 04 May 2004) | 6 lines



Added Camera Fly Mode (Shift F) to the toolbox.

Kent

------------------------------------------------------------------------
r2465 | h_xnan | 2004-05-04 18:08:15 +0200 (Tue, 04 May 2004) | 3 lines

remove this file as it is no longer needed. The normal Makefile works
fine for FreeBSD. Mind to use gmake instead of FreeBSD's own (p)make.

------------------------------------------------------------------------
r2464 | sirdude | 2004-05-04 17:04:29 +0200 (Tue, 04 May 2004) | 7 lines



Removed the printf that was causing about 50000
"Color depth R=8 G=8 B=8"  lines.....

Kent

------------------------------------------------------------------------
r2463 | zuster | 2004-05-04 16:27:41 +0200 (Tue, 04 May 2004) | 7 lines

 - fix silly scriptlink running code, pulled out convenient
	ID_asPyObject and ID_getScriptlinks functions,
	moved code into BPY_interface.c (where it fit better)
 - EXPP_interface.c is essentially obselete now
 - I didn't test this, I'm sure I broke something, if a Pythonista
	could comment that would be nice (oh and the maintainer too).

------------------------------------------------------------------------
r2462 | kester | 2004-05-04 15:17:46 +0200 (Tue, 04 May 2004) | 3 lines

Use a better compare function for RAS_IPolygonMaterial
Fix sharing verticies - must test pos, normal, uv & colour before sharing (not just index)

------------------------------------------------------------------------
r2461 | kester | 2004-05-04 11:34:02 +0200 (Tue, 04 May 2004) | 7 lines

Fix for bug #945 getVertexArrayLength(x) returns different values on different runs of the game engine.
http://projects.blender.org/tracker/index.php?func=detail&aid=945&group_id=9&atid=125

The material buckets were being sorted by pointer (ie their location in memory.)

Also fixed find shared verticies.

------------------------------------------------------------------------
r2460 | hos | 2004-05-04 06:55:24 +0200 (Tue, 04 May 2004) | 8 lines

Build blender with solid-based gameengine on irix using pre-compiled
libs. I turned off the automatic building of solid in extern/ for
irix since the vendor supplied build system does not work well.

Note to JW: this can be built with either mipspro 7.3 or 7.4
(I needed to archive solid with "CC -ar ..." for this to work
with 7.3).

------------------------------------------------------------------------
r2458 | ton | 2004-05-03 23:21:29 +0200 (Mon, 03 May 2004) | 6 lines

Apparently the sequencer has its own audiosystem, so the change I did
for init sound only when needed, was not catched by sequencer.

Somehow, however, the SND_xxx library needs to be set when using the
sequencer... so, here a patch!

------------------------------------------------------------------------
r2457 | h_xnan | 2004-05-03 19:58:36 +0200 (Mon, 03 May 2004) | 2 lines

- build qhull and solid (next to ode)

------------------------------------------------------------------------
r2456 | blendix | 2004-05-03 15:23:19 +0200 (Mon, 03 May 2004) | 4 lines


Fixed a bug where From Window mapping in perspective view would give strange
results, caused by a little typo. The solution was proposed by bjornmose.

------------------------------------------------------------------------
r2455 | h_xnan | 2004-05-03 10:12:40 +0200 (Mon, 03 May 2004) | 2 lines

- add 'tar file changed while reading' remark and a commented workaround

------------------------------------------------------------------------
r2454 | jesterking | 2004-05-03 08:11:58 +0200 (Mon, 03 May 2004) | 2 lines

bumped VERSION to 2.33-cvs and enable gameengine+solid per default for Linux

------------------------------------------------------------------------
r2453 | theeth | 2004-05-03 03:37:50 +0200 (Mon, 03 May 2004) | 2 lines

Projectfiles update for Python 2.3.X

------------------------------------------------------------------------
r2452 | kester | 2004-05-03 02:17:07 +0200 (Mon, 03 May 2004) | 2 lines

Somehow I renamed Keyboard sensors to x.  Whoops!

------------------------------------------------------------------------
r2451 | kester | 2004-05-03 01:45:03 +0200 (Mon, 03 May 2004) | 4 lines

Mouse Wheel Support for the Game Engine.

This adds "Wheel Up" and "Wheel Down" as choices to the Mouse sensor brick.

------------------------------------------------------------------------
r2450 | hos | 2004-05-03 00:03:22 +0200 (Mon, 03 May 2004) | 3 lines

Check that deformer is an armature defore updating the displists
of it's children (gives speed up for alt-A, animation rendering).

------------------------------------------------------------------------
r2449 | ascotan | 2004-05-02 16:29:31 +0200 (Sun, 02 May 2004) | 2 lines

- Documentation for the new python API

------------------------------------------------------------------------
r2447 | ton | 2004-05-01 18:52:29 +0200 (Sat, 01 May 2004) | 5 lines

Changes for OSX compiling with Makefiles;
- support 2.3 python
- use -O2 for all
- fixed reference to SOLID.h

------------------------------------------------------------------------
r2446 | h_xnan | 2004-04-30 19:50:48 +0200 (Fri, 30 Apr 2004) | 4 lines

- use SDL sound on FreeBSD too.
- add solid include path to unix common makefile ... this is not FreeBSD
  specific, so I'm a bit confused as this wasn't corrected before.

------------------------------------------------------------------------
r2445 | ton | 2004-04-30 13:52:08 +0200 (Fri, 30 Apr 2004) | 4 lines

Splash! :)

Thanks Piotr Kordala for the great artwork.

------------------------------------------------------------------------
r2444 | hos | 2004-04-30 04:12:28 +0200 (Fri, 30 Apr 2004) | 2 lines

Make python 2.3 the default for the irix build.

------------------------------------------------------------------------
r2442 | ton | 2004-04-30 00:31:48 +0200 (Fri, 30 Apr 2004) | 7 lines

Fix committed a while ago, revision 1.52, still set a bluroffset in a
very unexpected location, causing small offset in rendered sub-pixel,
which showed only up raytracing a very detailed object with small
faces... ugh!

(Thanks [A]ndy, sorry Desoto! :-)

------------------------------------------------------------------------
r2441 | ton | 2004-04-29 21:41:40 +0200 (Thu, 29 Apr 2004) | 2 lines

And another error in creating 'release' for MacOS

------------------------------------------------------------------------
r2440 | ton | 2004-04-29 20:25:27 +0200 (Thu, 29 Apr 2004) | 3 lines

Changed copying README to copying blender.html instead
Only affects "make release"

------------------------------------------------------------------------
r2439 | ton | 2004-04-29 19:14:31 +0200 (Thu, 29 Apr 2004) | 4 lines

Upped version to 233 for in header in Blender

(Warn: still to do: splash!)

------------------------------------------------------------------------
r2438 | ton | 2004-04-29 19:13:50 +0200 (Thu, 29 Apr 2004) | 2 lines

World->physicsEngine is SUMO when you create new one.

------------------------------------------------------------------------
r2437 | ton | 2004-04-29 19:10:35 +0200 (Thu, 29 Apr 2004) | 2 lines

2.33 now, for release building

------------------------------------------------------------------------
r2436 | ton | 2004-04-29 19:09:38 +0200 (Thu, 29 Apr 2004) | 3 lines

Release text, but very reduced due to the very complete CMS version
we are completing on blender3d.org

------------------------------------------------------------------------
r2435 | ton | 2004-04-29 18:39:39 +0200 (Thu, 29 Apr 2004) | 2 lines

Added python license to txt directory for binary releases.

------------------------------------------------------------------------
r2434 | ton | 2004-04-29 18:33:08 +0200 (Thu, 29 Apr 2004) | 3 lines

Noted by Desoto: new 'Checker' option for Image repeat could use better
preview.

------------------------------------------------------------------------
r2433 | ton | 2004-04-29 18:20:34 +0200 (Thu, 29 Apr 2004) | 5 lines

Fix #1207

Flag for 'only shadow' was still working when lamp type switched to
Hemi. Also 'only shadow' didnt work yet for ray_shadow Spot lamp.

------------------------------------------------------------------------
r2432 | ton | 2004-04-29 17:56:26 +0200 (Thu, 29 Apr 2004) | 5 lines

Fix #1205

Array with 'auto' names for textures didn't have the new names yet
(musgrave, voronoi, distnoise)

------------------------------------------------------------------------
r2431 | ton | 2004-04-29 17:52:11 +0200 (Thu, 29 Apr 2004) | 4 lines

fix #1204

Two typos in tooltips.

------------------------------------------------------------------------
r2430 | kester | 2004-04-29 12:51:02 +0200 (Thu, 29 Apr 2004) | 2 lines

Fix blenderplayer unable to load .blend files (only runtimes!)

------------------------------------------------------------------------
r2429 | ton | 2004-04-29 12:49:00 +0200 (Thu, 29 Apr 2004) | 4 lines

Added (very nice!) new blender.html written by Willian. This will replace
the short README file. The blender.html doc is meant to give new users
quick hints how to survive with Blender.

------------------------------------------------------------------------
r2428 | stiv | 2004-04-29 06:50:28 +0200 (Thu, 29 Apr 2004) | 7 lines

fix for #1123 by Roland Hess (harkyman)

Testing has not convinced me this is a complete solution to the
Ipo Curve handle issue, but it does seem to make things
better for curves created via python.  We will probably need to revisit
this, especially if we expose the curve handles in the bpy interface.

------------------------------------------------------------------------
r2427 | stiv | 2004-04-29 03:56:55 +0200 (Thu, 29 Apr 2004) | 2 lines

bump version number

------------------------------------------------------------------------
r2426 | phase | 2004-04-29 00:37:00 +0200 (Thu, 29 Apr 2004) | 4 lines

Yurec updated his russian translation to version 0.2. Thanks you !!
It is a comprehensive piece of work, and probably the most updated
translation available at the moment !

------------------------------------------------------------------------
r2425 | ton | 2004-04-28 23:19:18 +0200 (Wed, 28 Apr 2004) | 2 lines

Correct icons for OSX

------------------------------------------------------------------------
r2424 | ton | 2004-04-28 20:08:34 +0200 (Wed, 28 Apr 2004) | 11 lines

Sneaked in new feature (request samo):

The Image texture repeat options, now allow a "Checker" repeat. With
odd and even tiles set separately, and a size button to set a
'Mortar' inbetween tiles.

http://www.blender3d.org/cms/Render_engine_features.215.0.html

Also fixed bug: using 'CalcAlpha' option for image textures didn't give
antialised edges for image.

------------------------------------------------------------------------
r2423 | ton | 2004-04-28 19:35:35 +0200 (Wed, 28 Apr 2004) | 8 lines

Bug 1203

Error in code invoked by menu:
View3d header -> Select -> Groups -> Parent
There was a call to draw an object in frontbuffer, whilst the header
was still active.
Not needed, because full redraw event was sent too.

------------------------------------------------------------------------
r2422 | ton | 2004-04-28 19:26:30 +0200 (Wed, 28 Apr 2004) | 6 lines

Bug fix 1202

Sample file showed UV-textured Subsurf, in 'Potato' texture view. When
separating part of it in editmode, a null pointer was referenced in
drawing code.

------------------------------------------------------------------------
r2421 | kester | 2004-04-28 11:08:42 +0200 (Wed, 28 Apr 2004) | 3 lines

Fix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Check for Actor && Dynamic to enable dynamic.

------------------------------------------------------------------------
r2420 | ton | 2004-04-27 21:42:41 +0200 (Tue, 27 Apr 2004) | 7 lines

Error in popup menu for new Musgrave texture. The order was wrong, and the
button values where wrong... big messup!
Only thing that actually changes is that now the Musgrave names suddenly
are different.

Thanks Desoto for finding it!

------------------------------------------------------------------------
r2419 | ton | 2004-04-27 21:30:16 +0200 (Tue, 27 Apr 2004) | 8 lines

Bug 1199

Joining meshes could crash when 1 had vertexgroups, other not.
The first then should have been appended from other file, to make
it more complex. :)

Crash caused by reading NULL pointer.

------------------------------------------------------------------------
r2418 | ton | 2004-04-27 21:05:41 +0200 (Tue, 27 Apr 2004) | 2 lines

Fixed minimum limit for values in Armature panel.

------------------------------------------------------------------------
r2417 | ton | 2004-04-27 19:06:02 +0200 (Tue, 27 Apr 2004) | 3 lines

- UGH! Some optimize line in sky code screwed up sky render when it had
  no texture nor blend... gave weird lines in render.

------------------------------------------------------------------------
r2416 | jiri | 2004-04-27 16:37:19 +0200 (Tue, 27 Apr 2004) | 4 lines



- Bug fix: MetaBalls was not polygonized, when armature (as parent of MetaBalls) was in pose mode.

------------------------------------------------------------------------
r2415 | ton | 2004-04-27 14:17:16 +0200 (Tue, 27 Apr 2004) | 2 lines

removed print "break true" when pressing ESC with render window active.

------------------------------------------------------------------------
r2414 | ton | 2004-04-27 00:14:31 +0200 (Tue, 27 Apr 2004) | 7 lines

Error found in code that allows dynamic octrees. A lookup table was not
cleared correctly for each face, causing too many octree nodes to be
filled in.
Especially for more complex scenes this fix is quite a time saver.

Still looking at ways to speedup octree filling though.

------------------------------------------------------------------------
r2413 | ton | 2004-04-26 23:38:36 +0200 (Mon, 26 Apr 2004) | 8 lines

Request from [A]ndy:
When tracing a mirror with AO, the rendering was extremely slow due to
each mirror sample (like 8 per pixel) taking a full range of AO samples.

Now it uses for mirror samples a corrected amount, which makes sure for
a single pixel still a full AO range is used.
Makes mirror+AO render 5-6 times faster, at least.

------------------------------------------------------------------------
r2411 | stiv | 2004-04-26 19:21:51 +0200 (Mon, 26 Apr 2004) | 3 lines

bugfix:  Ipo.addCurve() was creating a new Ipo block and adding curve there
instead of adding curve to existing Ipo.  reported on elysiun.

------------------------------------------------------------------------
r2410 | ton | 2004-04-26 18:49:05 +0200 (Mon, 26 Apr 2004) | 3 lines

Added Ambient channel in "Map To" Panel for materials. Is now means to
control AO and Radio with texture too.

------------------------------------------------------------------------
r2409 | jesterking | 2004-04-26 17:52:45 +0200 (Mon, 26 Apr 2004) | 2 lines

Update projectfile for new python module

------------------------------------------------------------------------
r2408 | ton | 2004-04-26 17:07:08 +0200 (Mon, 26 Apr 2004) | 5 lines

Optimize for AO: when material ambient value is zero, no AO calculus
takes place now. Also nice to tweak & speedup environments.

(Thanks Theeth for hint!)

------------------------------------------------------------------------
r2407 | ton | 2004-04-26 16:17:48 +0200 (Mon, 26 Apr 2004) | 7 lines

Solved AO smooth rendering, by introducing a "Bias" value for smoothed
rendered faces.
http://www.blender3d.org/cms/Ambient_Occlusion.231.0.html

ALso removed prints when allocating new 'face groups' etc, which wasn't
informative at all.

------------------------------------------------------------------------
r2406 | phase | 2004-04-26 13:44:57 +0200 (Mon, 26 Apr 2004) | 2 lines

Croatian translation added, thanks go to Tomislav Corak ! (tommy5)

------------------------------------------------------------------------
r2405 | kester | 2004-04-26 09:19:18 +0200 (Mon, 26 Apr 2004) | 2 lines

Fix MouseFocus Sensor objects for dynamic cameras. (Bug 1165)

------------------------------------------------------------------------
r2404 | zuster | 2004-04-25 17:12:45 +0200 (Sun, 25 Apr 2004) | 3 lines

 - add comment in filesel.c to note where memory from some BLO_blendhandle
    functions is going

------------------------------------------------------------------------
r2403 | ianwill | 2004-04-25 16:45:02 +0200 (Sun, 25 Apr 2004) | 2 lines

duh!, forgot to add the file.

------------------------------------------------------------------------
r2402 | ianwill | 2004-04-25 16:43:21 +0200 (Sun, 25 Apr 2004) | 4 lines

BPython:
-- epydoc Documentation for eeshlo's Noise module + small typo fix in Noise.c
-- BPY_end_python closes .blend file opened by Library module when script doesn't do it by itself.

------------------------------------------------------------------------
r2401 | ascotan | 2004-04-25 07:18:43 +0200 (Sun, 25 Apr 2004) | 8 lines

- finalize scene.render module
- added some constants for the rendering module to blender module
- moved rendering functions from scene to scene.render
- rendering functions called from renderData struct instead of from scene directly
- getRenderingContext() returns rendering data struct
- deprecation of old scene functions
- some formatting/documentation of code

------------------------------------------------------------------------
r2400 | theeth | 2004-04-24 23:59:34 +0200 (Sat, 24 Apr 2004) | 2 lines

Ah, it's better when the menus show the correct hotkeys isn't it ;)

------------------------------------------------------------------------
r2399 | ton | 2004-04-24 23:51:38 +0200 (Sat, 24 Apr 2004) | 6 lines

For the 100st time or so: fix in selecting vertices for Mesh editmode.
Why do i keep thinking it works? And will it be still broken? We find
out in a month! :)

Fixes also report 1191.

------------------------------------------------------------------------
r2398 | theeth | 2004-04-24 23:09:06 +0200 (Sat, 24 Apr 2004) | 6 lines

Mirror in object mode. Works like Mirror in edit mode but only works on local axis (doing it differently would require a much more clever algorithm).
Mirror Object is assigned to Ctrl-M and I've add Ctrl-M to call Mirror Edit (on top of M alone) for practical reason. We should consider switching both to Ctrl-M for pratical reasons but I kept M for backward compatibility
Also added the menu and toolbox counterparts.

Minor addition to arithb.c: A function to print vectors to the console. Easier for debuging.

------------------------------------------------------------------------
r2397 | theeth | 2004-04-24 22:50:23 +0200 (Sat, 24 Apr 2004) | 2 lines

projectfile update for the new python module

------------------------------------------------------------------------
r2396 | ton | 2004-04-24 22:27:29 +0200 (Sat, 24 Apr 2004) | 6 lines

Turned Sky render code in Blender to become fully float, it still returned
bytes for RGB.
This to allow very bright contrasted images to be used for AO as well. As
a first start also the Texture->Colors panel now allows contrast setting
up to 5.0 (was 2.0).

------------------------------------------------------------------------
r2395 | ianwill | 2004-04-24 22:04:37 +0200 (Sat, 24 Apr 2004) | 7 lines

BPython:
- New module + doc: Blender.Library:
  It's like File->Append, loads datablocks from .blend files.
- small updates to fix warnings and accomodate for the new module, in readfile.[ch]
- New Blender.sys module function: time, a wrapper of the PIL get time function.
- Updated original makefile and scons builds.

------------------------------------------------------------------------
r2394 | zuster | 2004-04-24 20:38:04 +0200 (Sat, 24 Apr 2004) | 2 lines

 - more binary file patching

------------------------------------------------------------------------
r2393 | zuster | 2004-04-24 20:34:08 +0200 (Sat, 24 Apr 2004) | 2 lines

 - convert darwin icon files to binary

------------------------------------------------------------------------
r2392 | zuster | 2004-04-24 20:31:26 +0200 (Sat, 24 Apr 2004) | 2 lines

 - convert some qhull files to binary

------------------------------------------------------------------------
r2391 | zuster | 2004-04-24 20:30:41 +0200 (Sat, 24 Apr 2004) | 2 lines

 - convert binary ode files to binary (should be done on commit peeps)

------------------------------------------------------------------------
r2390 | ton | 2004-04-24 14:02:39 +0200 (Sat, 24 Apr 2004) | 9 lines

New: rendering in background mode (blender -b) now prints a percentage to
indicate scanlines being in progress. For motion blur frames it works too.

Bug fix: in background render it accidentally tried to free a sound pointer
that wasn't set. (caused by own commit of three days ago).

Fix: rendering motion blur in forground prints correct sample # in info-
header again.

------------------------------------------------------------------------
r2389 | kester | 2004-04-24 08:40:15 +0200 (Sat, 24 Apr 2004) | 2 lines

Synchronise game engine with Tuhopuu2 tree.

------------------------------------------------------------------------
r2388 | kester | 2004-04-24 08:36:55 +0200 (Sat, 24 Apr 2004) | 4 lines

Fixes for MouseFocusSensor:  (bug 1165)
1. Do the ray cast properly (from the near plane to the far clip plane)
2. Loop over invisible objects (sensors)

------------------------------------------------------------------------
r2387 | kester | 2004-04-24 08:29:51 +0200 (Sat, 24 Apr 2004) | 2 lines

Remove ability to open a published executable from Blender.

------------------------------------------------------------------------
r2386 | blendix | 2004-04-23 23:38:01 +0200 (Fri, 23 Apr 2004) | 13 lines


The Anim and Tiles settings in the Image Window are now available again, in the
new Properties panel (was first called Transform Properties). They include the
same settings as were previously found in the window header: Anim toggle,
Start/End frame, Speed, Tiles toggle, X repeat and Y repeat.

The Tiles button used to work incorrectly in 2.25, this is now fixed too.

The drawing of the UV Vertex transform buttons in the Properties panel used to
give popup error messages when in Edit Mode (uv_tface_editing_is_allowed is not
silent). Also these buttons would still draw in Edit Mode. Both are problems
are solved now.

------------------------------------------------------------------------
r2385 | ton | 2004-04-23 23:02:58 +0200 (Fri, 23 Apr 2004) | 12 lines

Raytrace now has option to change the resolution of the Octree used. It
appeared that the standard size (64x64x64) just works fine for small
scenes, like a single character in a small environment. Larger scenes and
larger environments became exponentional slower.

Disadvantage of larger octrees is longer build time, and overhead traver-
sing it though, so something to tweak based on some experimenting.
A table with test results + blender file will be in CMS soon.

New button is in F10 Render panel, in bottom. Last free spot there! O_o
Sizes supported now 64, 128, 256 or 512.

------------------------------------------------------------------------
r2384 | sgefant | 2004-04-23 17:27:40 +0200 (Fri, 23 Apr 2004) | 3 lines

a sensors 'invert' toggle button was showing the wrong state.
thanks to Ton for figuring out what's wrong

------------------------------------------------------------------------
r2382 | ianwill | 2004-04-23 15:11:48 +0200 (Fri, 23 Apr 2004) | 6 lines

BPython:
- fixed two warnings, unused var in Object.c and undeclared function in script.c
- updated Blender.Draw doc, it was missing info about Button object
- refactored pytype initialization to try to fix for once platform (and distro!) specific crashes on startup.  This asked for tiny updates in Effect.[ch] (removed static from declaration, moved definitions to the .c file) and modules.h
- fixed error I made trying to fix scripts w/ no [eol] char in menus.  Thanks Michael Velikanje for reporting the problem!

------------------------------------------------------------------------
r2381 | ton | 2004-04-23 15:11:29 +0200 (Fri, 23 Apr 2004) | 7 lines

When Sound blocks are loaded, they can have packedfiles. If a Sound isn't
played (= packedfiles opened and copied to another block) these
packed data blocks where not freed.

The error showed in console at closing of Blender, like:
	read_struct len: 24 0x1c4423c

------------------------------------------------------------------------
r2380 | hos | 2004-04-23 00:33:57 +0200 (Fri, 23 Apr 2004) | 3 lines

Enable the new, fast loading of the STL exotic file type
(thanks Ton!)

------------------------------------------------------------------------
r2379 | jiri | 2004-04-22 23:16:54 +0200 (Thu, 22 Apr 2004) | 7 lines



-bug fix #1186
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1186&group_id=9

-I forgot somethig, when i commited to this file last (i'm really sorry)

------------------------------------------------------------------------
r2378 | ton | 2004-04-22 22:37:24 +0200 (Thu, 22 Apr 2004) | 2 lines

typo in this file...

------------------------------------------------------------------------
r2377 | ton | 2004-04-22 21:58:54 +0200 (Thu, 22 Apr 2004) | 12 lines

Nasty Library linking and appending stuff!

Problem: when appending data, it called the local_all() function, which
indeed made all data local, including all other dynamic linked data.
Not very nice... but mixing dynamic & appending data from single file is
headcrunching code.

Solution: when appending data, it now only makes local_all() the data from
that specific library file, leaving dynamic data from other files linked.

(Bug report 1183)

------------------------------------------------------------------------
r2376 | ton | 2004-04-22 19:46:07 +0200 (Thu, 22 Apr 2004) | 7 lines

Fix for CTRL+drag on sliders and number buttons.
The code wasn't correct at all (for ages!). Rule now again is:

Button range 0.0-2.0 : ctrl goes with steps of 0.1, shift+ctrl steps of 0.01
Button range 2.0-20.0: ctrl goes with steps of 1.0, shift+ctrl steps of 0.1
Button range larger: ctrl goes with steps of 10.0

------------------------------------------------------------------------
r2375 | blendix | 2004-04-22 19:22:01 +0200 (Thu, 22 Apr 2004) | 5 lines


Fixed bug #1187: tooltip typos in the uv calculation panel
- Draw Edges buttons all had the same tooltip
- aequator -> equator

------------------------------------------------------------------------
r2374 | ton | 2004-04-22 19:11:20 +0200 (Thu, 22 Apr 2004) | 5 lines

bug 1181

Inconsistancy... choose International Fonts, choose Load Font, then disable
International font, but still load a font: AA fonts magically are set. :)

------------------------------------------------------------------------
r2373 | ton | 2004-04-22 15:08:49 +0200 (Thu, 22 Apr 2004) | 4 lines

In beginning of buttons for logic editor was weird code checking physics model.
It even has old enji buttons still!
Anyhoo, if no World was active it returned.. that could be coded friendlier.

------------------------------------------------------------------------
r2372 | ton | 2004-04-22 14:44:33 +0200 (Thu, 22 Apr 2004) | 3 lines

- forgot correct prototype include in this file.
  #include "BSE_drawnla.h"

------------------------------------------------------------------------
r2371 | ton | 2004-04-22 14:36:27 +0200 (Thu, 22 Apr 2004) | 13 lines

- NLA Window:
Added support for Panels, and converted old NKEY menu here.
Also enabled zooming in further, as for Action Window.
(note: this editor can use some work, this action stuff is underdeveloped
and mysterious!)

- UI code
Brought back fix that sets for each Panel a GL matrix for UI code thats
coming after it. This makes system more flexible, and prevents conflicts
with other uiBlocks in a window (like ipo, action).
This will give a tinsy bit more load for moving mouse around... please
report back if this causes troubles.

------------------------------------------------------------------------
r2370 | ton | 2004-04-22 12:35:02 +0200 (Thu, 22 Apr 2004) | 4 lines

Small fix: when using vertex keys for Lattices, all buttons in the panel
where locked. This should not be for three of them, to set drawtype or
key mode (slurph, relative)

------------------------------------------------------------------------
r2369 | jesterking | 2004-04-22 06:50:41 +0200 (Thu, 22 Apr 2004) | 2 lines

[SCONS] Optimisation flags for msvc

------------------------------------------------------------------------
r2368 | aphex | 2004-04-21 21:03:22 +0200 (Wed, 21 Apr 2004) | 3 lines

- zeroed out a variable before strcat()'ing! :)
- removed a rogue debug printf().

------------------------------------------------------------------------
r2367 | ton | 2004-04-21 20:04:02 +0200 (Wed, 21 Apr 2004) | 4 lines

commented out code to enable multiple uiBlocks in window with different
matrices (like action window should have). This one gave error in
IpoWindow with Panel.

------------------------------------------------------------------------
r2366 | ton | 2004-04-21 19:23:04 +0200 (Wed, 21 Apr 2004) | 8 lines

Fix for #1174

When toonshading is used, also backfacing polygons are rendered. This
causes a conflict with raytraced shadow, since backfacing polygons
always have shadow.
There was an error in the code that didnt set shadow for backfacing
polys, assuming shading would be 'zero' then as well. That's fixed.

------------------------------------------------------------------------
r2365 | ton | 2004-04-21 18:43:51 +0200 (Wed, 21 Apr 2004) | 5 lines

fix for bug #1178

Apparently gcc 3.4 gives error when not casting a pointer to long.
Found and reported by Noselasd.

------------------------------------------------------------------------
r2364 | ton | 2004-04-21 17:44:37 +0200 (Wed, 21 Apr 2004) | 9 lines

Fix for radio render.

Somewhere after 2.28c I fixed some thing in radio rendering that prevented
textures to be applied to radio energy.
Now it is a normal 'diffuse' energy again, and multiplied with actual
(textured) material color.

Small fix: the radiosity steps show up as numbers printed in time-cursor.

------------------------------------------------------------------------
r2363 | ianwill | 2004-04-21 16:24:59 +0200 (Wed, 21 Apr 2004) | 5 lines

BPython:
- Michel's linux test builds with Python 2.3.x were crashing.  This of course shouldn't happen even when Python isn't installed in the system.  The problem was much probably some uninitialized internal type needed by the Mathutils module and the "fix" is stupid.

Moving the registration of Mathutils module in Blender.c to the end of the list solves the crash here.

------------------------------------------------------------------------
r2362 | hos | 2004-04-21 16:18:02 +0200 (Wed, 21 Apr 2004) | 6 lines

Fix for bug #1176 -- During animation, NLA seems to like to have
'do_all_actions' run twice for all of the constraints to be updated
properly. (/me grumbles: I fixed this last week for the OpenGL
updating stuff in header_buttons.c ...  do we really need to have so many
update_for_newframe()-style functions?)

------------------------------------------------------------------------
r2361 | ton | 2004-04-21 16:15:37 +0200 (Wed, 21 Apr 2004) | 3 lines

Forgot to remove test prints from creator.c
Also added note about removing audio init in comment.

------------------------------------------------------------------------
r2360 | ton | 2004-04-21 15:38:54 +0200 (Wed, 21 Apr 2004) | 13 lines

Fix for slow starting of Blender.

This was caused by calling sound_init_audio() at startup. In situations
where Blender was first started, or when other applications used memory,
this could take 5-15 seconds.
I have moved the init call to 'start ketsji', and made sure any call
to an audio play routine will invoke an init as well.

Tested with engine and loading/play sound in F10 menu. I don't know how
the BlenderPlayer handles it... should be investigated.

Result: At OSX Blender starts in a second again! :)

------------------------------------------------------------------------
r2359 | ton | 2004-04-21 00:00:33 +0200 (Wed, 21 Apr 2004) | 4 lines

- code cleanup: blender/src now compiles -Wall without warnings again.

- first code for panel in NLA window, tomorrow I continue with it.

------------------------------------------------------------------------
r2358 | goofster | 2004-04-20 22:10:58 +0200 (Tue, 20 Apr 2004) | 2 lines

Small annoyance of mine. Upped the maximum of the extrude dup button in editbuttons to 100 instead of 10

------------------------------------------------------------------------
r2357 | aphex | 2004-04-20 21:12:48 +0200 (Tue, 20 Apr 2004) | 15 lines

- Returned multi-user support on Win2k/XP.
  Now uses 'Application Data/Blender Foundation/Blender' instead of old
  "Not A Number" dir.

- Updated windows installer to make this change transparent for the
  users. It copies /.blender to the new location and displays a short
  message to advise them of the change
  (http://homepages.nildram.co.uk/~aphex/installer_msg.jpg).

- Installer also includes fix for opening blend files from explorer (patch provided by Valentin Ungureanu (vung) - thanks!)

Note to CVS users on Win2k/XP:  Although blender will continue to work
without changes, you should ideally copy the /.blender dir to
<app data>/Blender Foundation/Blender for the sake of correctness :)

------------------------------------------------------------------------
r2356 | ton | 2004-04-20 20:27:10 +0200 (Tue, 20 Apr 2004) | 10 lines

Another phase in panelizing all window types. Did lots of small code
fixes, including:

- Panel in action window (disabled it, since there's no need for it)
- fix: when action was added to mesh with vertex keys, the action couldn't
  be deleted, nor did action window draw key names
- mouse on RVK (key) in Action window: Nkey menu pops as well.
  This is not a good candidate to put in Panel, no selection possible here.
- when you change name of RVK in action window, it shows in IpoWindow too

------------------------------------------------------------------------
r2355 | jesterking | 2004-04-20 13:01:00 +0200 (Tue, 20 Apr 2004) | 2 lines

Tooltip for Ambient Occlusion button had wrong tooltip (c&p from starfield button ;), now reads "Toggle ambient occlusion"

------------------------------------------------------------------------
r2354 | ton | 2004-04-20 12:46:28 +0200 (Tue, 20 Apr 2004) | 4 lines

Fix for #1172

Just an update for correct mentioning of shortcuts in toolbox menu.

------------------------------------------------------------------------
r2353 | guitargeek | 2004-04-20 06:59:04 +0200 (Tue, 20 Apr 2004) | 6 lines

Adds a 'Edit Selected' to the curve menu in the IPO window. So that the curve editmode can be entered with a menu selection as well as TAB. Previously, there was no reference to the curve editmode in the IPO window.

When one or more curves is being edited,there is a checkmark by the menu option and you can slect it again to leave editmode.

This commit is more for people learning Blender as people who know will just press TAB.

------------------------------------------------------------------------
r2352 | ton | 2004-04-20 00:05:37 +0200 (Tue, 20 Apr 2004) | 9 lines

Preparations to have Panels in all window types. Also implemented
it for the UV Image window (as Nkey replacement). Blendix can take
this further now.

Other little improvement: vertices in UV window now draw unselected
first, and then selected over it. Less confusing!

Next spaces: Action and Nla.

------------------------------------------------------------------------
r2351 | aphex | 2004-04-19 20:51:15 +0200 (Mon, 19 Apr 2004) | 2 lines

- updated MSVC 6 projectfiles with the glue removal changes.

------------------------------------------------------------------------
r2350 | ton | 2004-04-19 17:38:04 +0200 (Mon, 19 Apr 2004) | 2 lines

- world init for AO settings added.

------------------------------------------------------------------------
r2349 | ton | 2004-04-19 16:40:46 +0200 (Mon, 19 Apr 2004) | 8 lines

Fixed error in  OSA render & using AO causing stripes.

The OSA ofset vector for current rendercoord (O.dxco) wasn't
initialised in all cases. Actually, just removed it for AO, effect is
invisible.

Bug provided by jK, not in tracker. thnx!

------------------------------------------------------------------------
r2348 | ianwill | 2004-04-19 12:19:41 +0200 (Mon, 19 Apr 2004) | 6 lines

BPython:
- Scripts that ended without an [eol] (end of line char) would give syntax errors when called from menus.
  Now all loaded menu scripts have '\\n\\0' appended to them, not only '\\0' as before.

- bug #1146: Kester reported a Valgrind warning, should be fixed now.

------------------------------------------------------------------------
r2347 | ascotan | 2004-04-19 09:17:36 +0200 (Mon, 19 Apr 2004) | 2 lines

-update to MSVC7 project for NLA module

------------------------------------------------------------------------
r2346 | ascotan | 2004-04-19 09:11:00 +0200 (Mon, 19 Apr 2004) | 2 lines

-update to SCONS project for NLA module

------------------------------------------------------------------------
r2345 | ascotan | 2004-04-19 09:09:50 +0200 (Mon, 19 Apr 2004) | 2 lines

-update to msvc6 project for NLA module

------------------------------------------------------------------------
r2344 | ascotan | 2004-04-19 09:08:21 +0200 (Mon, 19 Apr 2004) | 2 lines

-update to msvc7 project for NLA module

------------------------------------------------------------------------
r2343 | ascotan | 2004-04-19 08:57:41 +0200 (Mon, 19 Apr 2004) | 6 lines

-NLA module added
-ability to set poses for the armatures - allows for keyframing armatures
-adds support for actions/actionchannels
-additional checking for addBone and clear parenting
-moved getActionIpos from object module to NLA module

------------------------------------------------------------------------
r2342 | ton | 2004-04-18 18:18:08 +0200 (Sun, 18 Apr 2004) | 4 lines

Found error in Energy for AO. This didnt work correctly for 'sub' and 'add
and sub' methods.
Also reduced limit for slider. AO energy of value 50 was useless.

------------------------------------------------------------------------
r2341 | ton | 2004-04-17 22:01:00 +0200 (Sat, 17 Apr 2004) | 10 lines

Better sampling for arealight soft shadow. Now using a distributed sample
pattern as previous commit for AO.

Previous setting, dither+jitter, has been cancelled. Now you can choose
for either nothing, dither, or for noise. With the latter giving same
nice noise as for AO.

Pics:
http://www.blender3d.org/cms/Render_engine_features.215.0.html

------------------------------------------------------------------------
r2340 | kester | 2004-04-17 03:14:35 +0200 (Sat, 17 Apr 2004) | 2 lines

Enable doppler on platforms other than WIN32.

------------------------------------------------------------------------
r2339 | kester | 2004-04-17 02:56:54 +0200 (Sat, 17 Apr 2004) | 2 lines

Fix segfault on collisions between dynamic complex (polyheder) and dynamic convex (box/sphere/cone/cylinder) objects.

------------------------------------------------------------------------
r2338 | jesterking | 2004-04-17 00:31:34 +0200 (Sat, 17 Apr 2004) | 2 lines

[MSVC7] Update of projectfiles for the removal of the glue.

------------------------------------------------------------------------
r2337 | jesterking | 2004-04-17 00:07:18 +0200 (Sat, 17 Apr 2004) | 2 lines

correct path to qhull in extern.

------------------------------------------------------------------------
r2336 | jesterking | 2004-04-16 23:34:23 +0200 (Fri, 16 Apr 2004) | 4 lines

Correct a project dependency.

SoundSystem depends on STR_*, but that was not checked, so you had to build twice to get all internal libraries built.

------------------------------------------------------------------------
r2335 | ton | 2004-04-16 19:14:05 +0200 (Fri, 16 Apr 2004) | 3 lines

Fix for removed streamglue stuff.
BLO_sys_types.h was moved.

------------------------------------------------------------------------
r2334 | jesterking | 2004-04-16 18:36:11 +0200 (Fri, 16 Apr 2004) | 4 lines

Forgot to commit this file, as part of the antiglue campaign.

/jesterKing

------------------------------------------------------------------------
r2333 | jesterking | 2004-04-16 17:55:16 +0200 (Fri, 16 Apr 2004) | 14 lines

This commit removes the glue from Blender, and with it
the directories decrypt, deflate, encrypt, inflate, readstreamglue,
sign, writeblenfile and writestreamglue.

Sirdude was so kind to modify the makefiles, so SCons and
Make are ready to build with the new Blender.

Visual Studio workspaces, solutions and projectfiles still need
to be updated (I'll do the .vcprojs and .sln myself after this commit).

Runtimes created with the Blender Publisher are not anymore
recognised - if you want these available, you'll have to convert
them first to .blends with the Publisher.

------------------------------------------------------------------------
r2332 | ton | 2004-04-16 17:32:49 +0200 (Fri, 16 Apr 2004) | 12 lines

Improved sample pattern for AO. It used to jitter locatations within
a UV Sphere which isn't a very uniform distribution on a sphere.
Now I itterate a evenly distributed set of points on sphere, and use that
by random rotating the entire sphere for each pixel.

http://www.blender.org/bf/samp3.jpg
http://www.blender.org/bf/samp4.jpg

Both pics same rendertime, 36 AO samples. Quite a difference, eh!

Will put html page for release up.

------------------------------------------------------------------------
r2331 | kester | 2004-04-16 08:26:33 +0200 (Fri, 16 Apr 2004) | 3 lines

Improved rigid body handling for non spherical bounds type.
Polyheder dynamic objects are now converted properly.

------------------------------------------------------------------------
r2330 | kester | 2004-04-16 08:07:09 +0200 (Fri, 16 Apr 2004) | 3 lines

Increased maximum mass to 10000.
Added "%x4" to the end of "Polyheder" in drawtypes menu.

------------------------------------------------------------------------
r2329 | ton | 2004-04-15 19:59:45 +0200 (Thu, 15 Apr 2004) | 5 lines

Bug fix 1161

Rendering showed stripes in scanlines, caused by not re-initializing the
horizon and zenith colors for the AO "only sky color" type.

------------------------------------------------------------------------
r2328 | guitargeek | 2004-04-15 17:52:28 +0200 (Thu, 15 Apr 2004) | 6 lines

Added "Auto AA" toggle in Yafray Render panel defaulted to On (current functionality AA is determined by OSA and GI quality settings)

When disbaled, 2 number buttons appear to allow setting  manual AA passes and AA samples.

Johnny Matthews (guitarGeek)

------------------------------------------------------------------------
r2327 | sgefant | 2004-04-15 17:15:20 +0200 (Thu, 15 Apr 2004) | 10 lines

fix for bug #1144:
the tooltip of the To: field of a message actuator was saying that
messages will only be sent to objects with a property of that name,
while in fact it was sent to objects with that name.

Unfortunately, the GameKit (and probably other documentation, too)
is wrong about this as well.

corrected the tooltip to reflect what's actually happening

------------------------------------------------------------------------
r2326 | ascotan | 2004-04-15 01:42:58 +0200 (Thu, 15 Apr 2004) | 6 lines

- parenting checks for bone additions to armature
- update to addBone parenting transform code
- hide/unhide bones
- draw axes/draw names
- clear parenting and clear children from bones - removes childbase links from bone and set as root or remove parenting and set as root

------------------------------------------------------------------------
r2325 | sgefant | 2004-04-14 15:00:36 +0200 (Wed, 14 Apr 2004) | 5 lines

enable openal support for os x and linux-powerpc
as there is a conflict between openal and sdl (when compiled with cdrom
support), i had to disable support for cd playing using sdl on os x
for the time being.

------------------------------------------------------------------------
r2324 | ton | 2004-04-14 14:52:35 +0200 (Wed, 14 Apr 2004) | 4 lines

Solved crash caused by referencing NULL ->camera pointer in preview for
World shading buttons.
Thanks Goofster for reporting it!

------------------------------------------------------------------------
r2323 | kester | 2004-04-14 07:57:24 +0200 (Wed, 14 Apr 2004) | 5 lines

Rigid body physics for non spherical bounding objects.
If your simulation becomes unstable, crank up the 'Form' control.

Removed Solid from class SumoPhysicsEnvironment (since it wasn't actually used.)

------------------------------------------------------------------------
r2322 | ascotan | 2004-04-13 20:11:10 +0200 (Tue, 13 Apr 2004) | 2 lines

- reversion to 1.5

------------------------------------------------------------------------
r2321 | ton | 2004-04-13 17:23:24 +0200 (Tue, 13 Apr 2004) | 6 lines

- fix for bug 62

I found it was an easy one to fix after all... the stars system is still
old and very cumbersome code, but for parts it now just works too, by
just disabling clipping in advance (as for panorama).

------------------------------------------------------------------------
r2319 | ascotan | 2004-04-13 04:14:05 +0200 (Tue, 13 Apr 2004) | 2 lines

- Fix for compiler error regarding overloaded binary equality operator not defined on MSVC

------------------------------------------------------------------------
r2318 | ton | 2004-04-12 22:27:48 +0200 (Mon, 12 Apr 2004) | 6 lines

Bug fix 1148

In do_versions() the new texture parameters were always initialized,
whilst we didn't go for a new release number yet.
Now it checks for a value==0.0

------------------------------------------------------------------------
r2317 | ton | 2004-04-12 21:29:52 +0200 (Mon, 12 Apr 2004) | 9 lines

Alternative for abusing enter/exit editmode after doing an import.

mesh_add_normals_flags()

Basically this abuse was only for normals and draw flags. For huge imports
the editmode hack is far too slow.

Now added to vrml importer. Hos can check for his stl work!

------------------------------------------------------------------------
r2316 | ton | 2004-04-12 19:32:29 +0200 (Mon, 12 Apr 2004) | 19 lines

Just code cleanup here. I tried to check if a replacement of malloc() and
friends with a group-malloc system would speedup. That wasn't...
While doing this I noticed such mess... so spent a while cleaning things
a bit:

- all malloc() replaced with MEM_mallocN()
  (this except for vertices/edges/faces, for speed)
- unified free_xx names, this was too confusing! so now we have:

  free_editvert()
  free_editedge()
  free_editvlak()

  free_vertlist()
  free_edgelist()
  free_vlaklist()

  and only very few calls to free() and alloc() themselves.

------------------------------------------------------------------------
r2315 | ton | 2004-04-12 16:53:17 +0200 (Mon, 12 Apr 2004) | 27 lines

More AO fun to play with:
- AO energy slider to control amount
- option "Use sky color" for colored AO. The horizon color will define
  bottom diffuse color, the zenith works on top
- option "Use sky texture" will do a full sky render to define AO color

Please note that AO energy and color only is found when a ray does not
intersect. So for interior scenes make sure 'Dist' value is sufficient
low.

New also is:

- World "Map input" allows "Ang Map" (Angular mapping) which can be used
for 360 degree spherical maps, aka as Light Probes. Check samples here:
http://www.debevec.org/Probes/
Note that Blender doesn't support HDRI images yet, but option "Use sky tex"
already gives intersting results with such images

- World sky rendering with Image Textures now correctly filters and uses
antialiasing. Also noticable for raytrace mirror reflections

- World preview render for sky type "Real" now gives correct view as
defined by current used camera.

I tried to speed up AO tracing with coherence systems, none of it really
worked yet... time to tackle octree itself i guess!

------------------------------------------------------------------------
r2314 | michel | 2004-04-12 00:28:16 +0200 (Mon, 12 Apr 2004) | 4 lines

SCons updates
* Links on Cygwin now.
  Blender has trouble in starting up though. That's the next step.

------------------------------------------------------------------------
r2313 | hos | 2004-04-11 23:53:26 +0200 (Sun, 11 Apr 2004) | 2 lines

Updated libs/includes for windows-gcc

------------------------------------------------------------------------
r2312 | michel | 2004-04-11 23:11:18 +0200 (Sun, 11 Apr 2004) | 9 lines

SCons updates
* Updates to the cygwin build.
  the dna.c file used to be generated with a full path. Cygwin doesn't like
  this. The problem was with some cflags and linkflags that are used to build
  makesdna.exe
  Hos nicely pointed this out and proposed a solution.
  Now, these flags are only added to the command when the platform != 'cygwin'.
* Updated some variables in SConstruct.

------------------------------------------------------------------------
r2311 | michel | 2004-04-11 21:49:03 +0200 (Sun, 11 Apr 2004) | 5 lines

SCons updates
* Updates to the cygwin build. All variables are now included, but the build
  itself is not yet working.
  This is a work in progress.SCons updates

------------------------------------------------------------------------
r2310 | hos | 2004-04-11 21:30:26 +0200 (Sun, 11 Apr 2004) | 5 lines

An update to the windows/gcc docs:

1) Explained the usage of the backslash at an end of a line
2) added note about new package gcc-g++

------------------------------------------------------------------------
r2309 | hos | 2004-04-11 17:18:39 +0200 (Sun, 11 Apr 2004) | 7 lines

Fix for Bug #620.

Selection in the NLA window was often offset due to bad handling of
constraint channels (whatever the heck they are) and such.

Thanks to malefico and slikdigit for example blends.

------------------------------------------------------------------------
r2308 | ton | 2004-04-11 15:54:47 +0200 (Sun, 11 Apr 2004) | 8 lines

Bug fix 1130

In buttons_object panels, there was an old check for used library data
that evaluated data linked on objects, instead of object.
Restored it to checking for ob->id.lib only.

BTW: the setButLock() is persistant, and should be reset after.

------------------------------------------------------------------------
r2307 | michel | 2004-04-11 15:09:10 +0200 (Sun, 11 Apr 2004) | 4 lines

SCons update
* False was used in a comparisson. Only recent Python versions support this.
  Changed it to 0.

------------------------------------------------------------------------
r2306 | ascotan | 2004-04-11 14:59:32 +0200 (Sun, 11 Apr 2004) | 2 lines

- Sets this as the active project for internal make

------------------------------------------------------------------------
r2305 | ton | 2004-04-11 14:46:53 +0200 (Sun, 11 Apr 2004) | 13 lines

Bug fix #799 revisited

Now we're on the root of the problem. Ghost (OSX) didn't accept rawkeys
for the 1-2-...0 keys on a french keyboard. These have apparently different
symbols on it. (these silly french! :)
This commit intercepts the rawkeys in convertKey() call, and manually
makes sure theyre correctly mapped.

So: now french (spanish, etc) OSX users can finally use layer hotkeys! And
the popup menu shortcuts! :)

Tested & verified by Lukep. Merci!

------------------------------------------------------------------------
r2304 | jiri | 2004-04-11 12:32:14 +0200 (Sun, 11 Apr 2004) | 2 lines

Fix bug: adding Armature as parent for object, which is not Mesh, crashes blender. Menu item "Use Armature" is present only for Mesh object.

------------------------------------------------------------------------
r2303 | ianwill | 2004-04-11 06:41:33 +0200 (Sun, 11 Apr 2004) | 31 lines

BPython: cleaning some bug tracker entries:

(excuse me for doing all in a single commit, but they are tiny
fixes and it's bpython, that dark corner ...)

#1025 - FileSelector SEGV on dynamic callback Category:

  Can't reproduce with current cvs, I'd say recent changes to fix
another crash related to FileSelector in gui-less scripts solved this
one, too.

#1028 - Reserved button event number:

  Menu choices generate two events, one extra related to the menu
itself, with value=4.  Made bpython ignore this extra event.

#1068 - FileSelector No file extension support:

  As Ton wrote there, Blender itself doesn't support this yet.  But the
requester also wanted Window.File/ImageSelector to accept a pathname.  Done.  Also updated doc.

#959 - Segfault on background rendering:

  This happened in bg mode (blender -b filename -a, for example) when
a script with the line "Blender.Redraw()" was linked to FRAMECHANGED events.  As reported in the bug page, it was because curarea is NULL in bg mode.  Made Redraw() check for this and not call functions that expected curarea in Redraw, like one to swap buffers.

#1072 - Blender.Redraw() Segfault:

  Good catch : ). Scripts called from the scripts win that called
Blender.Redraw() or Blender.Window.Redraw() would crash Blender because of a dirty pointer in Spacescript->script.  Fixed.

------------------------------------------------------------------------
r2302 | kester | 2004-04-11 04:50:02 +0200 (Sun, 11 Apr 2004) | 11 lines

1. Check material names passed to the physics engine (for collision sensors.)

Consider:
gameobj->getClientInfo()->m_auxilary_info = (matname ? (void*)(matname+2) : NULL);
It works if matname is "MAblah", but not if matname is "".

2. Added constructor for struct RAS_CameraData.
3. Added initializers to the struct KX_ClientObjectInfo constructor
4. Collision sensors won't detect near sensors.
5. A stack of minor tweaks, adjusting whitespace, using ++it for stl stuff.

------------------------------------------------------------------------
r2301 | kester | 2004-04-11 04:27:20 +0200 (Sun, 11 Apr 2004) | 2 lines

Remove GamePlayer libraries from the Scons build - they have to be linked into their own target.

------------------------------------------------------------------------
r2300 | theeth | 2004-04-11 02:23:06 +0200 (Sun, 11 Apr 2004) | 10 lines

Fix for bug #1145 bevel numbutton not changing when clicking on the sides

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

I changed the fbutton function to give the possibility to control the a1 and a2 parameters of the button.

This commit also fixes two things in the bevel function:
- The numbut didn't do anything because it wasn't recalculating the proper variable
- The display wasn't recalculated when pressing Ctrl or Shift (it's now done by recalculating after every keyboard event. I've done it this way since the event loops seems to skip CTRL and SHIFT events)

------------------------------------------------------------------------
r2299 | ascotan | 2004-04-10 23:32:35 +0200 (Sat, 10 Apr 2004) | 2 lines

- MSVC 6 compiler include paths update

------------------------------------------------------------------------
r2298 | hos | 2004-04-10 20:02:26 +0200 (Sat, 10 Apr 2004) | 3 lines

Fix for a bug where changing frames would not update some blend's
using nla.

------------------------------------------------------------------------
r2296 | ton | 2004-04-10 17:13:28 +0200 (Sat, 10 Apr 2004) | 12 lines

Bug 729

When more than 30 scenes are in a scene, the sequencer "Add" option didnt
show a databrowse window.
This was a nasty one, because databrowse facilities are more-of tied to
having a header. The fix is that I added option to IDnames_to_pupstring()
to not limit the menu (by passing NULL for menu short pointer).

Also noticed a bug with pupmenu_col(), which did return on a val==0 event
(mouse release) which shouldn't be, this makes sequences of menus not
possible.

------------------------------------------------------------------------
r2292 | ton | 2004-04-10 16:24:57 +0200 (Sat, 10 Apr 2004) | 14 lines

Bug 1136

Saving images from UV editing window was confused... initially I thought
it only used the same format as input image, but it did use the same
as F10 buttons specified, sorta. Fixes include:

- BIF_write_ibuf() now uses current Scene renderdata to check for
  image type (it checked the global R struct instead, which is only
  set correct after render)
- Fileselector now gives correct title in bar (like "SAVE TARGA")
- Pulldown menu in UV window now always gives the "Save" option
- removed the weird usage of BTST() to check for flags, and made it
  using the #defines instead for readability

------------------------------------------------------------------------
r2291 | ton | 2004-04-10 14:41:19 +0200 (Sat, 10 Apr 2004) | 5 lines

Bug fix 1139

Weight Painting didn't work with (Paint Panel) option "Soft". This due
to a wrong check for normals in displaylists.

------------------------------------------------------------------------
r2290 | ton | 2004-04-10 13:33:01 +0200 (Sat, 10 Apr 2004) | 6 lines

Bug 1142

In Mesh editmode, with option "draw faces", hiding 1 vertex of a quad
doesn't always result in not drawing the face. Only 3 out of 4 vertices
were tested.

------------------------------------------------------------------------
r2289 | aphex | 2004-04-09 19:50:51 +0200 (Fri, 09 Apr 2004) | 2 lines

cleaning up MSVC 6 project files (Part 2).

------------------------------------------------------------------------
r2288 | aphex | 2004-04-09 19:30:00 +0200 (Fri, 09 Apr 2004) | 3 lines

cleaning up MSVC 6 project files -- fixed a couple of stray *.obj
file paths.

------------------------------------------------------------------------
r2287 | hos | 2004-04-09 17:10:47 +0200 (Fri, 09 Apr 2004) | 5 lines

A fix for bug #1060 (crashes in armature editmode after IK children are
grabbed in pose mode).

Bug fix by pidhash (a.k.a Joilnen). Thanks!

------------------------------------------------------------------------
r2286 | phase | 2004-04-09 16:09:56 +0200 (Fri, 09 Apr 2004) | 8 lines

Fix for bug #1100

Under Windows, Quicktime images with a depth < 32 didn't
show up in the sequence editor. To fix this a non transparent layer was added to them. (bf227-bf232)

I now have disabled this trick for GIF images, so the transparency is preserved. But this is a quick fix and
should be replaced by a transparency check function.

------------------------------------------------------------------------
r2285 | ton | 2004-04-09 15:51:48 +0200 (Fri, 09 Apr 2004) | 7 lines

Bug #1141

When choosing 'International fonts' this variable was not reset
when loading .B.blend again with CTRL+X.

Move the check for this to read_homefile() instead of init() call.

------------------------------------------------------------------------
r2284 | jesterking | 2004-04-09 09:42:43 +0200 (Fri, 09 Apr 2004) | 2 lines

Tell the user he is trying to do a boolean op with a faceless mesh, instead of spewing a meaningless "An internal error occurred -- sorry" message.

------------------------------------------------------------------------
r2283 | kester | 2004-04-09 05:48:17 +0200 (Fri, 09 Apr 2004) | 2 lines

Fix bug #1126:  Ray sensor detects a near sensor attached to the same object and then goes into an endless loop trying to ignore it.

------------------------------------------------------------------------
r2282 | theeth | 2004-04-09 01:20:25 +0200 (Fri, 09 Apr 2004) | 6 lines

Fix for bug #1134 Numpad "." key broken for num entry

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

Thanks to jesterking for saving me the time to look for the proper spelling for the event ;)

------------------------------------------------------------------------
r2281 | jesterking | 2004-04-08 20:58:32 +0200 (Thu, 08 Apr 2004) | 6 lines

Fix for bug #1065: boolean ops with meshes containing 0 faces crashed on Linux and OSX.

Check first if meshes have faces, otherwise don't do boolean op.

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

------------------------------------------------------------------------
r2280 | ton | 2004-04-08 15:18:46 +0200 (Thu, 08 Apr 2004) | 8 lines

Bug 1016

When you use arrow keys to activate items in a menu (like IKEY for Ipos)
the selected items were not correctly choosen when mousepointer was over
an item, only when mousepointer over title.

Fixed by catching 'RETKEY' event in buttons event subloop.

------------------------------------------------------------------------
r2279 | kester | 2004-04-08 14:57:03 +0200 (Thu, 08 Apr 2004) | 2 lines

Reenable the "Save Runtime..." file menu option

------------------------------------------------------------------------
r2278 | ton | 2004-04-08 14:22:41 +0200 (Thu, 08 Apr 2004) | 5 lines

bug fix 1003

When no object active (after delete) a Panel in IpoWindow drawed wrong.
Solved by disabling drawing panels in such situations

------------------------------------------------------------------------
r2277 | kester | 2004-04-08 14:10:09 +0200 (Thu, 08 Apr 2004) | 2 lines

Fix SConscript for GamePlayer.

------------------------------------------------------------------------
r2276 | kester | 2004-04-08 14:01:48 +0200 (Thu, 08 Apr 2004) | 2 lines

Missed this one! :-(

------------------------------------------------------------------------
r2275 | ton | 2004-04-08 14:00:58 +0200 (Thu, 08 Apr 2004) | 15 lines

Bug fix 823

Animated metaballs didn't update correctly when changing frame, this when
they were parented (for example) to an object with Ipo.
The fix consists of three things:

- the test_displist() call doesn't remake displist anymore, but frees it.
  this works, because when drawing an mball object it checks for a displist
  and creates one when needed
- the main drawing routine drawview3d() now has a separate loop where first
  all objects are updated with where_is_object(), then they're drawn.
  This effectively solves lag for mballs. Might improve other lags too!
- included in NumPad-9 call to test_displist() too, to force a full upgraded
  3d view

------------------------------------------------------------------------
r2274 | kester | 2004-04-08 13:43:41 +0200 (Thu, 08 Apr 2004) | 3 lines

Don't import Blender python module into the gameengine.  It causes link problems for blenderplayer.
Added a python function for MT_Vector4s

------------------------------------------------------------------------
r2273 | kester | 2004-04-08 13:36:22 +0200 (Thu, 08 Apr 2004) | 30 lines

In NaN times I suggested a python function to get the subject of a
Message using a python function of the MessageSensor.

Thats a nice thing if you want complex message handling in one python
script. Just get all messages, check the subject and do what you
want. In the current situation you end up with several MessageSensors
connected to the python script, instead of one Sensor and a smart
script.

Some developer (cant remember who) did implement that function, but
however not the way I wanted (maybe I was not clear enough) ;-) So the
getSubject() function will return whats entered in the "Subject:"
filter field of the MessageSensor. Quite useless IMHO.

So I added a new function getSubjects() which is similar to
getBodies(), in fact I stole the code from there ;-)

I left the getSubject() alone, because of backward compatibility
(never saw someone using that function, but...)


The future:

In conjunction with a wildcard subject: filter field the getSubjects()
function will be even more usefull.

i.e. Player* will filter for PlayerScore, PlayerKill etc.

-- Carsten Wartmann

------------------------------------------------------------------------
r2272 | kester | 2004-04-08 13:34:50 +0200 (Thu, 08 Apr 2004) | 3 lines

Added resolveCombinedVelocities()
Fixed drot actuator.  The rotation matrix was being mutilated by passing a float[9] instead of float[12].

------------------------------------------------------------------------
r2271 | jesterking | 2004-04-08 12:40:12 +0200 (Thu, 08 Apr 2004) | 2 lines

Added preliminary support for GamePlayer building with SCons. GPG_ghost and GPC_common are now being built. These will be built by setting BUILD_BLENDER_PLAYER to true in config.opts. BUILD_GAMEENGINE must be set to true, too.

------------------------------------------------------------------------
r2270 | jesterking | 2004-04-08 11:27:39 +0200 (Thu, 08 Apr 2004) | 2 lines

Wrong URL to nspr corrected.

------------------------------------------------------------------------
r2269 | stiv | 2004-04-08 00:42:02 +0200 (Thu, 08 Apr 2004) | 12 lines

fix for bug #1115
This was a problem with the BezTriple type.
Write access to BezTriple via 'pt' member did not work.

Preferred method to access BPy type members, especially for
write access, is via get*/set* methods.

BezTriple.setPoints() will accept x,y coordinates as either
a tuple or a list.

Updated BezTriple section of Ipo module doc.

------------------------------------------------------------------------
r2268 | ton | 2004-04-07 23:08:28 +0200 (Wed, 07 Apr 2004) | 11 lines

bug fix 799

Solved by Styken, thanks dude!

the winqreadtextspace() function wants CTRL/ALT events, but also should
accept special characters that are sometimes behind an ALT on certain
keyboards (like [ ] in sweden).

In the old code all ALT events caused ascii to set on zero. Now it
checks first for ispunct() chars.

------------------------------------------------------------------------
r2267 | ton | 2004-04-07 22:45:47 +0200 (Wed, 07 Apr 2004) | 3 lines

- normals in previewrender showed bumpmap inverted (a bump became a hole)
  just added a flip!

------------------------------------------------------------------------
r2266 | jesterking | 2004-04-07 21:52:12 +0200 (Wed, 07 Apr 2004) | 2 lines

Updated the document with MSVC7 build instructions.

------------------------------------------------------------------------
r2265 | jesterking | 2004-04-07 21:11:07 +0200 (Wed, 07 Apr 2004) | 2 lines

removed now redundant msvc7 projectfile tree.

------------------------------------------------------------------------
r2264 | ton | 2004-04-07 20:19:30 +0200 (Wed, 07 Apr 2004) | 6 lines

bug fix #1127

Quads in radiositizer got normals calculated using 3 vertices only. this
can go wrong in occasions... and made blender hang.
Used CalcNormFloat4() instead!

------------------------------------------------------------------------
r2263 | jesterking | 2004-04-07 20:17:37 +0200 (Wed, 07 Apr 2004) | 6 lines

Major update for Visual Studio .Net project files. Both Release and Debug modes have been sanitised (ie. use .lib instead of .a). This update also makes the structure similar to the msvc6 projectfiles.

The new blender.sln is now found in directory projectfiles_vc7\\blender.

Update to the INSTALL file will follow soon.

------------------------------------------------------------------------
r2262 | ton | 2004-04-07 18:09:22 +0200 (Wed, 07 Apr 2004) | 8 lines

bug fix #953

This more of a quality issue... changes now are:

- in (ortho) 3d view, changing window aspect keeps zooming
  level (it zoomed out with extreme portrait aspect)
- pressing 'home' in 3d window now shows all with extreme aspect ratios too

------------------------------------------------------------------------
r2261 | blendix | 2004-04-07 17:13:06 +0200 (Wed, 07 Apr 2004) | 6 lines


'Replace Image' did not work in the Image Window, it worked as 'Load Image'.
Patch provided by Carsten Wartmann.

Got rid of a 'unused variable' warning too.

------------------------------------------------------------------------
r2260 | ton | 2004-04-07 16:05:53 +0200 (Wed, 07 Apr 2004) | 8 lines

Bug #928

Logic buttons have not been Panelized (will be difficult, dont try!) so
the 'Home' and automatic view-limits didn't work it anymore.
This caused logic blocks not being accessible by scrolling window.

Fixed by updating the code that sets view limits.

------------------------------------------------------------------------
r2259 | ton | 2004-04-07 14:55:45 +0200 (Wed, 07 Apr 2004) | 8 lines

bug fix 1064

Credits go to blendix! Well done!

Reported were errors in using procedural textures on "Map input" UV type.
It was due to un-initialized uv[2] members, which were actually still
used by texture.c for some coord flip magic.

------------------------------------------------------------------------
r2258 | ton | 2004-04-07 14:46:50 +0200 (Wed, 07 Apr 2004) | 8 lines

Bug fix #1073

CTRL+SHIFT+A (apply lattice deform) on a Bezier Curve object was not
implemented yet. Added this.

Little sidenote: when curves are 2D the result will remain 2D, disregarding
deformation in 3rd dimension.

------------------------------------------------------------------------
r2257 | ton | 2004-04-07 13:35:11 +0200 (Wed, 07 Apr 2004) | 7 lines

Bug fix #1093

When editing a Curve object, type Poly, some code still thought it was
a Nurbs instead, doing nasty stuff with knots arrays.
Also fixed redraw events for buttons while editing Curve, this wasn't
done properly at all, causing the UI showing non-existant data...

------------------------------------------------------------------------
r2256 | jesterking | 2004-04-07 13:09:50 +0200 (Wed, 07 Apr 2004) | 2 lines

Removed the -W warning flag so 'unnecessary' warnings are not shown. We should first get everything to compile cleanly with -Wall, after that we can enable more warnings.

------------------------------------------------------------------------
r2255 | stiv | 2004-04-06 23:13:12 +0200 (Tue, 06 Apr 2004) | 4 lines

fix for bug 1110.
Updated epydoc.  Function name is BezTriple.getTriple().
Set prototype to NOARGS in source.

------------------------------------------------------------------------
r2254 | ton | 2004-04-06 22:31:11 +0200 (Tue, 06 Apr 2004) | 4 lines

bug fix 1009

Arrow keys to select items were flipped for button type MENU.

------------------------------------------------------------------------
r2253 | ton | 2004-04-06 21:16:14 +0200 (Tue, 06 Apr 2004) | 6 lines

Bug #1003

Using Nkey in 3d window, you could create a parent-loop, which hangs
Blender.
Added here that it checks loops, as for normal CTRL+P parenting.

------------------------------------------------------------------------
r2252 | ton | 2004-04-06 20:15:16 +0200 (Tue, 06 Apr 2004) | 4 lines

bug #1004

Error in tooltip; too tiny to even mention!

------------------------------------------------------------------------
r2251 | sirdude | 2004-04-06 18:12:56 +0200 (Tue, 06 Apr 2004) | 15 lines



Going through some really old bf-committers email and Casey Corn
brought up the following "fixes":

removed these prototypes since they were not used anymore:
void cspace(struct ImBuf *ibuf, float mat[][4]);
void freezbufImBuf(struct ImBuf * ibuf);
void IMB_init_movie_pointers(void);

Renamed IMB_addzbufImBuf prototype so it maches the actual
function: addzbufImBuf

Kent

------------------------------------------------------------------------
r2250 | ton | 2004-04-06 17:16:06 +0200 (Tue, 06 Apr 2004) | 5 lines

Bug report #1007

Missing option in menus: 'make duplis real'. Added it in both Object
pulldown as in toolbox now.

------------------------------------------------------------------------
r2249 | blendix | 2004-04-06 16:37:25 +0200 (Tue, 06 Apr 2004) | 5 lines


Fixed bug #1007:
With extra Wire and Bounds (Cylinder, Cone or Sphere) drawing enabled in the
Object Buttons, the Wire was drawn incorrectly.

------------------------------------------------------------------------
r2248 | jiri | 2004-04-06 16:14:18 +0200 (Tue, 06 Apr 2004) | 2 lines

Panel "MetaBall" in button window is now available for every MetaBall (not only for base MetaBall)

------------------------------------------------------------------------
r2247 | jiri | 2004-04-06 15:51:59 +0200 (Tue, 06 Apr 2004) | 4 lines

 Fixed bug [ #1101 ] Duplivert Limit for Metaball

No limits for count of MetaElems (1024 in past).

------------------------------------------------------------------------
r2246 | ton | 2004-04-06 13:21:44 +0200 (Tue, 06 Apr 2004) | 11 lines

bugfix #1119

When using MotionBlur, the rendered coordinates were not correctly
adjusted, causing visual artifacts using the new AO, but it was also
visible for normal ray-shadow, which didn't become anti-aliased in
Mblur render.

Solved it with 2 globals now, to pass on blur offset to renderloop.
Leave it that way... the entire method used to jitter/AA/blur stuff
needs revision.

------------------------------------------------------------------------
r2245 | ascotan | 2004-04-06 03:01:34 +0200 (Tue, 06 Apr 2004) | 2 lines

- Armature documentation update

------------------------------------------------------------------------
r2244 | ascotan | 2004-04-06 03:01:11 +0200 (Tue, 06 Apr 2004) | 3 lines

- quaternion support for bone type
- get/set bone weighting

------------------------------------------------------------------------
r2243 | ton | 2004-04-05 23:04:13 +0200 (Mon, 05 Apr 2004) | 29 lines

Eeshlo AO patch, revised

- Ambient Occlusion is a more sophisticated ambient trick, which takes
  nearby faces into account by firing a hemisphere of shadow-rays
  around. AKA 'dirt shader'.
- Eeshlo made it a Lamp type, which doesn't fit well. I've moved the
  settings to the World menu, and let the Material->ambient value control
  the amount it contributes
- currently, the AO value is added/subtracted/mixed with the 'diffuse'
  factor while shading, before it is multiplied with Material color

Buttons are in new Panel 'Amb Occ" in F8 menu. Note:

- "Dist:" by shortening the length of rays you get subtler effects and it
  renders faster too
- "DistF:" the attennuation factor gives control over how the 'shadow'
  spreads out.

Further it's just raytracing, so tends to be slooooow.... :)
Here same tricks as for other raytraced scenes apply, especially try to
keep the environment as small as possible (exclude faces from Octree by
giving them no Material Traceable).

I still have to think over a couple of aspects, will await feedback on it:
- AO color? Now it just adds 'white'
- other sampling patterns? I tried dithering, which was so-so
- method of controlling final 'samples' in F10? Might be useful for other
  oversampling too (area light) to have it reacting to a percentage or so..

------------------------------------------------------------------------
r2242 | blendix | 2004-04-05 21:50:58 +0200 (Mon, 05 Apr 2004) | 8 lines


Fixed bug #1006:
In Faceselect Mode, in the Face menu, Copy Vertexcolors, Copy UVs & Textures
and Copy Drawmode did not work.

Also fixed some menu entries redrawing the logic buttons window instead of the
edit buttons window.

------------------------------------------------------------------------
r2241 | sirdude | 2004-04-05 20:06:00 +0200 (Mon, 05 Apr 2004) | 12 lines


Code cleanups.  I removed a couple of unused vars.
changed sprintf (var, "blahhh %"); to      sprintf(var, "blahhh %%");
and initilized a questionable variable to NULL.


drawd should be looked at to see if there is ever a time it might not
be initalized and if so what would be a good default? 1?
I left this one, but if I had to guess I'd initalize it to 1.

Kent

------------------------------------------------------------------------
r2240 | blendix | 2004-04-05 19:08:00 +0200 (Mon, 05 Apr 2004) | 29 lines


New UV Calculation panel and code. The uv mapping function was split up into
multiple functions and partially recoded. Because now all the uv mapping
settings are accessible throught the panel, no popus will be shown when
pressing 'U' to unwrap faces in face select mode. Also From Window to Cylinder
and From Window to Shpere became obsolete, as you can set this in the new
panel.

The panel contains buttons for all the existing uv mapping modes, and the
following settings:

- Cube size: For Cubical unwrapping.

- Radius: Radius for Cylindrical unwrapping.

- View Aligns Face, View Aligns Top, Align to Object: For Cylinder and Shpere.
Respectively means you are in front of the Cylinder/Sphere, look through the
Cylinder, or use the object rotation to determine how the cylinder is
positioned (old Cylindrical unwrapping).

- Polar XZ, Polar XY: With 'View Aligns Top' enabled, defines at which polar
you are looking.

- No Edges, Draw Edges, All Edges: Draw no edges, draw edges z-buffered on top,
draw all edges, without depth test.

All credits for this part (and also at least half of the other UV editor
improvements) go to Jens Ole Wund aka "bjornmose".

------------------------------------------------------------------------
r2239 | sirdude | 2004-04-05 19:07:06 +0200 (Mon, 05 Apr 2004) | 6 lines


Rick Kimball's patch Basically it checks to make sure the unix platforms
were able to find a user before copying that user as the owner.

Kent

------------------------------------------------------------------------
r2238 | stiv | 2004-04-05 18:50:08 +0200 (Mon, 05 Apr 2004) | 2 lines

remove 6 trillion warnings about missing initializers.

------------------------------------------------------------------------
r2237 | blendix | 2004-04-05 15:22:55 +0200 (Mon, 05 Apr 2004) | 13 lines


Added hotkeys for sticky / face select in UV editor:
Sticky UVs: Ctrl+C
Local Stikcy UVs: Shift+C
Active Face Select: C

Constrained Scaling / Grabbing in the UV editor. Press XKEY or YKEY to scale
or move only in X or Y direction. XKEY and YKEY previously did mirroring while
scaling. Now mirroring can be done using the MKEY.

Grab, Rotate, Scale, Weld / Align and Mirror were added to a new Transform
sub-menu of the UVs menu.

------------------------------------------------------------------------
r2236 | blendix | 2004-04-05 14:42:23 +0200 (Mon, 05 Apr 2004) | 7 lines


New icons for the sticky / face select state in the UV editor / Image Window.

The png file containing the icons, 'blenderbuttons', was updated to contain
these new icons. It now also contains the icons from the 2.30 ui makeover.
The file had not been updated since then.

------------------------------------------------------------------------
r2235 | ton | 2004-04-05 13:25:25 +0200 (Mon, 05 Apr 2004) | 7 lines

- bugfix #1013

When you try to SHIFT+F1 Link a file, but accidentally choose the current
file, the error handling didn't immediately close the file. That can give
problems with saving over with CTRL+W.
Fix is that filesel.c now prevents selecting the current file.

------------------------------------------------------------------------
r2234 | ascotan | 2004-04-05 06:17:46 +0200 (Mon, 05 Apr 2004) | 2 lines

- documentation for armature/bone methods update

------------------------------------------------------------------------
r2233 | ascotan | 2004-04-05 06:17:01 +0200 (Mon, 05 Apr 2004) | 2 lines

- getBones() fixed - returns all armature bones including children

------------------------------------------------------------------------
r2232 | theeth | 2004-04-04 19:23:51 +0200 (Sun, 04 Apr 2004) | 10 lines

Revert the changes I did in solve_constraints.
The real bug is in the matrices blending function which doesn't handle non-uniform scaling correctly.
I've minimized the occurence of the bug by calling the blending function only when the influence is smaller than one (woah, optimisation AND bug fix!)
This should make the bug disappear approximatly 90% of the time since people don't use influence all that often (also, this only applies to constraint that are alone, not using influence IPOs to switch between two constraints).

I'd solve the blending function bug, but I haven't had much time to dig into it really.


Incidently, by reverting to the previous code, this solves bug #1069 http://projects.blender.org/tracker/index.php?func=detail&aid=1069&group_id=9&atid=125

------------------------------------------------------------------------
r2231 | theeth | 2004-04-04 19:13:35 +0200 (Sun, 04 Apr 2004) | 2 lines

Forgot an offset when correcting the last bug. This fits with the last commit. Nothing new really.

------------------------------------------------------------------------
r2230 | theeth | 2004-04-04 18:20:49 +0200 (Sun, 04 Apr 2004) | 3 lines

Fix for bug #1109 FollowPath not working with motion blur
http://projects.blender.org/tracker/index.php?func=detail&aid=1109&group_id=9&atid=125

------------------------------------------------------------------------
r2229 | hos | 2004-04-04 17:33:18 +0200 (Sun, 04 Apr 2004) | 2 lines

Making the SDL CD stuff link right.

------------------------------------------------------------------------
r2228 | michel | 2004-04-04 15:57:28 +0200 (Sun, 04 Apr 2004) | 4 lines

SCons update.
* Bug fix for latest commit. SCons would choke when the <root_build_dir> did
  not exist. First action now is to create the root_build_dir.

------------------------------------------------------------------------
r2227 | michel | 2004-04-04 15:03:14 +0200 (Sun, 04 Apr 2004) | 4 lines

SCons update.
* .sconsign files are no longer written to the source tree.
  The output is now written to <root_build_dir>/scons-signatures

------------------------------------------------------------------------
r2226 | goofster | 2004-04-04 13:34:43 +0200 (Sun, 04 Apr 2004) | 4 lines

- Added source\blender\python to MSVC 6 debug target include path for KX_Ketsji
- Added vertex_loop_select to bif_editmesh.h (gave a warning)
- Re-added "Get Same Uv" feature. this selects all faces that have the same uv-texture as the active face. it's placed in the Select headermenu while in faceselect mode.

------------------------------------------------------------------------
r2225 | kester | 2004-04-04 11:34:58 +0200 (Sun, 04 Apr 2004) | 2 lines

Fix only looped sounds play on platforms other than Windows/Apple.

------------------------------------------------------------------------
r2224 | ascotan | 2004-04-04 10:34:43 +0200 (Sun, 04 Apr 2004) | 3 lines

- added support for adding/parenting bones to armatures
- fixed getArmatureIpo compiling error

------------------------------------------------------------------------
r2223 | hos | 2004-04-04 03:36:16 +0200 (Sun, 04 Apr 2004) | 2 lines

Making noise.c more palatable on irix.

------------------------------------------------------------------------
r2222 | hos | 2004-04-04 01:46:33 +0200 (Sun, 04 Apr 2004) | 6 lines

Fixes to projectfiles:

* Added SDL CD stuff to Open AL project (/me lazy)
* Made ketsji project find the python headers
* Added noise stuff to python project

------------------------------------------------------------------------
r2221 | hos | 2004-04-04 01:28:27 +0200 (Sun, 04 Apr 2004) | 3 lines

Converted all of the projectfiles to DOS text format
(half were DOS, half were UNIX).

------------------------------------------------------------------------
r2220 | michel | 2004-04-03 22:24:46 +0200 (Sat, 03 Apr 2004) | 5 lines

Python API update. Again by Anders Nilsson.
* Addition to the Object module.
  obj.getActionIpos(). This method will return a dict with all ipo keys.
  Only works when the Object is an armature.

------------------------------------------------------------------------
r2219 | ton | 2004-04-03 19:11:14 +0200 (Sat, 03 Apr 2004) | 5 lines

- bug fix #1086
  using backbuffer, and having an odd number of lines in image, skipped the
  last one to fill in backbuffer...
  An oldie!

------------------------------------------------------------------------
r2218 | zuster | 2004-04-03 18:26:45 +0200 (Sat, 03 Apr 2004) | 3 lines

 - moved dm_menu var to declaration section
 - no need for it to be static

------------------------------------------------------------------------
r2217 | stiv | 2004-04-03 17:10:17 +0200 (Sat, 03 Apr 2004) | 2 lines

add missing comma

------------------------------------------------------------------------
r2216 | ton | 2004-04-03 16:07:30 +0200 (Sat, 03 Apr 2004) | 2 lines

and the sconscriptstructthingemabobs!

------------------------------------------------------------------------
r2215 | ton | 2004-04-03 16:01:13 +0200 (Sat, 03 Apr 2004) | 2 lines

- oh, the new C file!

------------------------------------------------------------------------
r2214 | ton | 2004-04-03 15:59:27 +0200 (Sat, 03 Apr 2004) | 28 lines

Eesho's patch for new noise textures!

Basically this provides three new things:

1. Choice of a list of noise-base functions, which can be used by the
   current Clouds, Marble, Wood textures as well.
2. Three new texture types: Musgrave, Voronoi and DistortedNoise
3. Python access to noise functions (not for render!)

All of this together makes Blender's builtin procedural textures a LOT
more powerful. Here again, a full webpage should be made to show off all
possibilities, and explain some of the more scientific names for settings.

A good read on Musgrave textures can be found here:
http://www.ypoart.com/Downloads/Musgrave.htm
About Voronoi:
http://www.ypoart.com/Downloads/Worley.htm
I can't find official DistortedNoise docs easily... maybe its something
Eeshlo created himself.

I've spent some time to change the patch Eeshlo provided. Worth noting:
- created main texture "Musgrave" with 5 sub choices (instead of 5 new
  main textures)
- added for all new textures the option to scale (zoom in out)
- added patch in do_versions to initialize variables

I hope the Python team will check on the Noise.c API. And include in docs!

------------------------------------------------------------------------
r2213 | kester | 2004-04-03 02:04:44 +0200 (Sat, 03 Apr 2004) | 2 lines

#define some constants for physics engines in DNA world types.

------------------------------------------------------------------------
r2212 | hos | 2004-04-03 00:18:36 +0200 (Sat, 03 Apr 2004) | 8 lines

Changed the physics menu to expect a pointer to an int for
&wrld->physicsEngine instead of a pointer to a short.

car: please rebuild and test.

Kester: please check the entries/values in the physics menu (they
differ from the values in tuhopuu).

------------------------------------------------------------------------
r2211 | michel | 2004-04-02 22:26:58 +0200 (Fri, 02 Apr 2004) | 4 lines

Bug fix provided by Anders Nilssen.
TotIpo was never meant to be exposed in the Ipocurve object. It's a variable
to store the number of IPOs.

------------------------------------------------------------------------
r2210 | michel | 2004-04-02 21:53:53 +0200 (Fri, 02 Apr 2004) | 4 lines

Anders Nilsson has promissed me to provide some updated Python API docs :)
Python API documentation updates for the Object and Ipo modules.
Provided by Anders Nilsson (breakin)

------------------------------------------------------------------------
r2209 | sirdude | 2004-04-02 21:37:20 +0200 (Fri, 02 Apr 2004) | 8 lines



Lowered optimization for solaris gcc to -O1
this is for bug # 1052  Basically the higher optimization causes
blender to choke on the provided blend file.

Kent

------------------------------------------------------------------------
r2208 | michel | 2004-04-02 20:38:38 +0200 (Fri, 02 Apr 2004) | 10 lines

Python API fixes. Provided by Anders Nilsson (breakin)
* Typo fixed in IpoCurve_getInterpolation.
  'Bonstant' was used, while 'Constant' is what we want.
* IpoCurve.getName now also returns curve names for action-IPOs.

* Update to the Object module:
  Added obj.getTimeOffset() and obj.setTimeOffset() methods

Anders Nilsson has promissed me to provide some updated Python API docs :)

------------------------------------------------------------------------
r2207 | kester | 2004-04-02 15:21:04 +0200 (Fri, 02 Apr 2004) | 3 lines

Added blender python module to game engine.
Updated Scons & Makefile

------------------------------------------------------------------------
r2206 | kester | 2004-04-02 15:18:54 +0200 (Fri, 02 Apr 2004) | 2 lines

Allow C++ linkage for the python module.

------------------------------------------------------------------------
r2205 | kester | 2004-04-02 15:15:18 +0200 (Fri, 02 Apr 2004) | 3 lines

Added CD Audio support for OpenAL.
Updated Scons & Makefiles to cope

------------------------------------------------------------------------
r2204 | kester | 2004-04-02 14:35:48 +0200 (Fri, 02 Apr 2004) | 2 lines

Speed up the physics engine by cutting down on the number of fix pass iterations.

------------------------------------------------------------------------
r2203 | ton | 2004-04-01 15:27:24 +0200 (Thu, 01 Apr 2004) | 6 lines

- disabled 'ray shadow' option from UI and render for Hemi lights.
  reason is that raytrace code doesnt like shadow on backfacing faces
  at all. the hemi light is omni-directional, and would need a shadow
  calculation to mimic this as well. the new 'Ambient Occlusion' patch
  will make that possible.

------------------------------------------------------------------------
r2202 | blendix | 2004-04-01 14:55:12 +0200 (Thu, 01 Apr 2004) | 21 lines


New UV editor / Image Window features:
- Draw Faces in the UV editor
- Draw Faces, selected in the UV editor, in the 3D view
- Draw Shadow Mesh in the UV editor (for faces unselected in the 3D view)
- Select Linked UVs (LKEY)
- Unlink Selection (Alt+LKEY)
- Stick (Local) UVs to Mesh Vertex on selection
- Active Face Select
- Reload Image
- Show / Hide Faces in the UV editor (H, Shift+H, Alt+H)
- Proportional Editing (O, Shift+O)
- Stitch, Limit Stitch UVs (snap by mesh vertex)
- Weld / Align UVs (WKEY)
- UVs Snap to Pixels on/off switch
- RMB in Texture Paint or Vertex Paint mode picks color
- Select Inverse in Faceselect mode

I hope these are all the features that were commited. The new UV Mapping
panel (and code) will follow later.

------------------------------------------------------------------------
r2200 | sirdude | 2004-03-31 19:01:45 +0200 (Wed, 31 Mar 2004) | 7 lines


Added #if defined (__sparc) || (__APPLE__)
bits around sqrtf and friends.  ON these two platforms
they are overloaded so its just sqrt not sqrtf.

Kent

------------------------------------------------------------------------
r2199 | kester | 2004-03-31 14:20:02 +0200 (Wed, 31 Mar 2004) | 4 lines

* Only load needed extensions (ie none.)
* Fix bug in version query.
* First commit!

------------------------------------------------------------------------
r2198 | stiv | 2004-03-31 09:40:08 +0200 (Wed, 31 Mar 2004) | 3 lines

more housekeeping.  move static declarations and definititions out of .h files.
tidy up initializers and  c++ style comments.

------------------------------------------------------------------------
r2197 | ianwill | 2004-03-31 06:18:39 +0200 (Wed, 31 Mar 2004) | 18 lines

BPython:
- tentative fix for scripts with CR/LF endings and split lines:
    in 2.32, the ac3d and vrml2 exporters, for example, had lines
    split with '\\\\' and so gave syntax errors when executed on Win
    platforms, because the scripts bundled with Win binaries had dos
    line endings.

- Chris Keith has written code to execute Python scripts from the
  command-line, with '-P ' switch: "blender -P filename":
    a Blender.Quit function was also added, so Blender can quit after
    running the script (end the script with Blender.Quit()), but there's
    still work to be done in this part, including adding more functions,
    to load / save .blend files and to run scripts.  More testing and
    discussions are necessary.

Thanks Chris, for both your contributions and your patience, since I
wasn't available to check / commit this for a while.

------------------------------------------------------------------------
r2196 | sirdude | 2004-03-30 16:41:08 +0200 (Tue, 30 Mar 2004) | 7 lines



Fixed the fix I did earlyer.  (Move var declaration up in the function
to where it should be)  Darn SGI ;)

Kent

------------------------------------------------------------------------
r2195 | sirdude | 2004-03-30 16:33:02 +0200 (Tue, 30 Mar 2004) | 6 lines



Added iris zsize=2 support.  Provided by Melchior Franz.

Kent

------------------------------------------------------------------------
r2194 | jesterking | 2004-03-30 10:54:02 +0200 (Tue, 30 Mar 2004) | 6 lines

Fixes bug #948 (http://projects.blender.org/tracker/index.php?func=detail&aid=948&group_id=9&atid=125)

Fixed Blender crashing on f3 with tooltip showing and renderwin active.

Searching for the source of this problem it became apparent that on win32 the UI kept being responsive to mousemovement events, even with Blender not being the active application. This commit fixes this too.

------------------------------------------------------------------------
r2193 | hos | 2004-03-30 05:10:34 +0200 (Tue, 30 Mar 2004) | 7 lines

Support for the STL (stereolithography) file format. Reads the ASCII and
binary subformats, and writes the binary subformat. Read is done with
usual F1, write is done in the menu 'File->Export Selected->STL'. Writes
meshes only, writing the 'displistmesh' if subsurf is on. The 'magic'
to determine whether it is reading the binary or ASCII subformat
could use a little work, but makes the correct choice most of the time.

------------------------------------------------------------------------
r2192 | jesterking | 2004-03-29 20:46:17 +0200 (Mon, 29 Mar 2004) | 4 lines

On Windows linking to the FTGL library was problematic for some users. This is solved by adding FTGL_LIBRARY_STATIC to the defines for win32.

Thanks go to BjornMoose and alien-xmp.

------------------------------------------------------------------------
r2191 | sirdude | 2004-03-29 20:39:48 +0200 (Mon, 29 Mar 2004) | 11 lines


Bug fix for #977

Removes the creation of a password table for Non Windows machines
and instead calls getpwuid Was a lot slower before,
 on systems with many users.

fix provided by Ryan Hayward (rhayward)

Kent

------------------------------------------------------------------------
r2190 | zuster | 2004-03-29 15:59:55 +0200 (Mon, 29 Mar 2004) | 2 lines

 - change <bpy_types.h> to "bpy_types.h"

------------------------------------------------------------------------
r2189 | zuster | 2004-03-29 15:50:21 +0200 (Mon, 29 Mar 2004) | 2 lines

 - fix use of unitialized variable in v2d scrolling (mousewheel code)

------------------------------------------------------------------------
r2188 | stiv | 2004-03-29 10:16:18 +0200 (Mon, 29 Mar 2004) | 21 lines

General housekeeping and cleanup.  Move static declarations and
data definitions from .h files into corresponding .c files.
Blame zr for this since he's the one who pointed out that our
bpy headers were a mish-mash of stuff that belonged in the .c files!

In a nutshell, the headers should contain the declarations necessary
to use a module or class.  The implementation files ( .c in this case )
should contain statements that allocate storage ( definitions in
the C sense ) and executable code.

When used at file scope, the keyword 'static' means "don't tell
anyone else about this".  Since headers describe a public
interface, static declarations and definitions belong in the
implementation files.

The net result of all this is that after stuff has moved out
into the .c files, the .h files are empty or mostly empty.
I didn't delete them since there seem to be some public
declarations and because I did not want to cause too much
disruption at one time. Time enough for that later!

------------------------------------------------------------------------
r2187 | hos | 2004-03-29 00:37:56 +0200 (Mon, 29 Mar 2004) | 3 lines

A fix for the MIPSPro 7.4 compiler ... please let me know if there
are problems with 7.3.

------------------------------------------------------------------------
r2186 | hos | 2004-03-29 00:36:28 +0200 (Mon, 29 Mar 2004) | 6 lines

Disable compilation of the game engine for irix.

I don't want to do this, but the new Open GL extension stuff won't
compile under Irix, and the glext.h from sgi only works under
linux/windows (Kester: can you look into a work around for this?)

------------------------------------------------------------------------
r2185 | hos | 2004-03-29 00:33:21 +0200 (Mon, 29 Mar 2004) | 2 lines

I had misspelled a macro name.

------------------------------------------------------------------------
r2184 | blendix | 2004-03-29 00:13:25 +0200 (Mon, 29 Mar 2004) | 9 lines


Fixed bug #963: UV editor wrong center
When using "From Window" unwrapping in a 3d view (that isn't square), the UV
coords would not be centered in the UV editor, even if the object was centered
in the 3d view.

Fixed two warnings (type definition defaulted to int for a variable that
should have been a float).

------------------------------------------------------------------------
r2183 | hos | 2004-03-28 23:56:00 +0200 (Sun, 28 Mar 2004) | 3 lines

Makefile support for solid -- assumes solid and qhull are in the lib
dir, i.e., ../lib/your_platform/{solid|qhull}.

------------------------------------------------------------------------
r2182 | zuster | 2004-03-28 10:46:35 +0200 (Sun, 28 Mar 2004) | 5 lines

 - replaced G.{edve,eded,edvl} with G.editMesh, atm just a structure to
    hold the three lists, nothing major, but gives a place to hang data
    off of and a single "mesh" structure to pass around for editing
    functions.

------------------------------------------------------------------------
r2181 | ton | 2004-03-27 19:27:55 +0100 (Sat, 27 Mar 2004) | 5 lines

- bug #979
  the non-flat quad detecting routine apparently didn't do anything
  anymore! I've fixed it now with more comments, so people are warned
  not to mesh with this... er... mess!

------------------------------------------------------------------------
r2180 | ton | 2004-03-27 12:32:25 +0100 (Sat, 27 Mar 2004) | 8 lines

- bug fix #996
  Apparently the reorganize of code in this c file, to merge the converter
  routines for normal Mesh and subsurfed Mesh, cancelled out the fix I did
  before to make sure Material option Wire correctly takes the OPTIM mode
  into account.
  Error was that it always rendered in OPTIM wire for subsurf, regardless
  setting for subsurf.

------------------------------------------------------------------------
r2179 | stiv | 2004-03-26 02:12:45 +0100 (Fri, 26 Mar 2004) | 2 lines

fix warnings about implicit declaration of sprintf before Mom finds out.

------------------------------------------------------------------------
r2178 | aphex | 2004-03-25 22:04:51 +0100 (Thu, 25 Mar 2004) | 2 lines

- updated MSVC 6 projectfiles with gameengine/solid changes.

------------------------------------------------------------------------
r2177 | jesterking | 2004-03-25 19:17:40 +0100 (Thu, 25 Mar 2004) | 2 lines

[GameEngine] As Kester Maddock pointed out to me, I had left one small, but important patch out. Now 2.25 blends are read correctly.

------------------------------------------------------------------------
r2176 | ton | 2004-03-25 17:13:32 +0100 (Thu, 25 Mar 2004) | 2 lines

- typo in 'saave as videoscape'/ :)

------------------------------------------------------------------------
r2175 | ton | 2004-03-25 16:32:37 +0100 (Thu, 25 Mar 2004) | 3 lines

- just a typo in button. sizeZ should be sizeY!
  (bug 1070)

------------------------------------------------------------------------
r2174 | ton | 2004-03-25 14:30:20 +0100 (Thu, 25 Mar 2004) | 5 lines

- small patch to make sure buttons are fully used for strings (when it
  doesnt fit), plus the 'user count' button now increases in size when
  amount is larger than 10.
  was report #1049

------------------------------------------------------------------------
r2173 | stiv | 2004-03-25 07:18:56 +0100 (Thu, 25 Mar 2004) | 2 lines

add info about units for rotation IPOs and Object Euler angles.

------------------------------------------------------------------------
r2172 | ascotan | 2004-03-25 00:43:56 +0100 (Thu, 25 Mar 2004) | 3 lines

- bugfix for texture types
- fix supplied by alex mole

------------------------------------------------------------------------
r2171 | stiv | 2004-03-24 17:06:01 +0100 (Wed, 24 Mar 2004) | 3 lines


add comment to BezTriple struct.

------------------------------------------------------------------------
r2170 | ascotan | 2004-03-23 04:07:41 +0100 (Tue, 23 Mar 2004) | 4 lines

- bugfix for 1078
- slider crashes blender because of redraw commands - fixed
- styken reported/fixed this bug

------------------------------------------------------------------------
r2169 | jesterking | 2004-03-22 23:02:18 +0100 (Mon, 22 Mar 2004) | 12 lines

[GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics.
[SCons] Build with Solid as default when enabling the gameengine in the build process
[SCons] Build solid and qhull from the extern directory and link statically against them

That was about it.

There are a few things that needs double checking:

* Makefiles
* Projectfiles
* All the other systems than Linux and Windows on which the build (with scons) has been successfully tested.

------------------------------------------------------------------------
r2168 | hos | 2004-03-21 20:59:51 +0100 (Sun, 21 Mar 2004) | 9 lines

Added 2 options to the Makefiles (enable in environment, user-def.mk,
or whatever):

NAN_NO_KETSJI: when set to true, disables compilation of the game engine.
NAN_JUST_BLENDERDYNAMIC: when set to true, only dynamic executable is
build (i.e., no plugin, etc).

Note that NAN_NO_KETSJI implies NAN_JUST_BLENDERDYNAMIC.

------------------------------------------------------------------------
r2167 | zuster | 2004-03-21 01:10:05 +0100 (Sun, 21 Mar 2004) | 2 lines

 - removed unused sortfaces function

------------------------------------------------------------------------
r2166 | zuster | 2004-03-21 00:59:57 +0100 (Sun, 21 Mar 2004) | 5 lines

 - added editmesh_[de]select_by_material function
 - added mesh_set_smooth_flag, mesh_delete_material_index function
 - isolated some globals
 - got rid of reliance on meshdata in buttons_editing.c and material.c

------------------------------------------------------------------------
r2165 | zuster | 2004-03-20 23:55:42 +0100 (Sat, 20 Mar 2004) | 5 lines

 - split the data structures that actually constitute a mesh
    (MVert,MFace,etc) off into DNA_meshdata_types.h, to isolate areas
    of source that actually edit mesh *data* vs. areas that just edit
    mesh object information.

------------------------------------------------------------------------
r2164 | zuster | 2004-03-20 23:06:01 +0100 (Sat, 20 Mar 2004) | 2 lines

 - added object_apply_deform, removed lt_applyflag global

------------------------------------------------------------------------
r2163 | sirdude | 2004-03-18 16:06:48 +0100 (Thu, 18 Mar 2004) | 10 lines


Douglas Bischoff's fix for OSX  (removing the spaces from link_env.Append
 link_env.Append (LINKFLAGS=' -framework Carbon')
is now
 link_env.Append (LINKFLAGS='-framework')
 link_env.Append (LINKFLAGS='Carbon')


Kent

------------------------------------------------------------------------
r2162 | ascotan | 2004-03-18 12:57:05 +0100 (Thu, 18 Mar 2004) | 2 lines

- rendering documentation adding for the python scene module

------------------------------------------------------------------------
r2161 | michel | 2004-03-17 14:18:03 +0100 (Wed, 17 Mar 2004) | 3 lines

SCons updates
* A little environment cleanup.

------------------------------------------------------------------------
r2160 | jesterking | 2004-03-16 22:45:46 +0100 (Tue, 16 Mar 2004) | 11 lines

- [SCONS] Adding the creation of an Object Browser database (Source browser in MSVC6) when building a debug binary.

This is contributed by Jonathan Harris. I paste here his comments for further reference:

MSVC will open the database automatically when you debug blender.exe.
The database needs to be explicitly closed before rebuilding by removing
it from the MSVC7 "Solution Explorer" window. Add it back after the build.

TODO: .sbr intermediate files are created in the build tree. These
should be removed by a clean but aren't.

------------------------------------------------------------------------
r2159 | michel | 2004-03-16 19:43:18 +0100 (Tue, 16 Mar 2004) | 4 lines

SCons updates
* Removed win32 specific stuff from the SConscript in makesdna/intern.
  This stuff is obsolete after yesterdays update.

------------------------------------------------------------------------
r2158 | michel | 2004-03-15 20:55:11 +0100 (Mon, 15 Mar 2004) | 15 lines

SCons updates
* Added the following flags to config.opts:
  - PYTHON_LINKFLAGS
  - PLATFORM_LIBS
  - PLATFORM_LIBPATH
  - PLATFORM_LINKFLAGS
  Backup your original config.opts file and run scons again to get these new
  options.
* Use freetype-config instead of pkg-config for determining the freetype2
  flags.
* The new PYTHON_LINKFLAGS now enable the dynamic linking on Linux and
  possibly other platforms as well. This should resolve all linking problems
  reported to the mailing lists. (At least for Linux, I can't test other
  platforms).

------------------------------------------------------------------------
r2157 | ascotan | 2004-03-15 01:43:38 +0100 (Mon, 15 Mar 2004) | 2 lines

-bug fix: matrix_item callback now returns rows from a matrix as in previous API implementation (exmple: ob.getMatrix()[0])

------------------------------------------------------------------------
r2156 | hos | 2004-03-14 22:21:09 +0100 (Sun, 14 Mar 2004) | 6 lines

Fixed issues surrounding the increased vertex limit:

* Created a MESH_MAX_VERTS macro in DNA_mesh_types.h
* fixed vert limit for converting displistmesh ==> mesh
* fixed vert limit when doing boolean operations

------------------------------------------------------------------------
r2155 | zuster | 2004-03-14 22:21:08 +0100 (Sun, 14 Mar 2004) | 2 lines

 - redundant code killing for MFaceInt removal

------------------------------------------------------------------------
r2154 | hos | 2004-03-14 22:00:51 +0100 (Sun, 14 Mar 2004) | 5 lines

Removed the struct MFaceInt from DNA_mesh_types.h (by the recommendation
of zr). This struct was never written to file and the new 'int based'
MFace can be used in it's place. Some removal of redundant code could
perhaps be done now (I didn't do any though, just "s/MFaceInt/MFace/").

------------------------------------------------------------------------
r2153 | hos | 2004-03-14 20:19:58 +0100 (Sun, 14 Mar 2004) | 3 lines

Change an AUTOSPACE to ME_AUTOSPACE to comply with the new naming
convention.

------------------------------------------------------------------------
r2152 | zuster | 2004-03-14 18:02:20 +0100 (Sun, 14 Mar 2004) | 2 lines

 - missed one part of last commit, removing DNA_mesh_types.h include

------------------------------------------------------------------------
r2151 | zuster | 2004-03-14 17:59:48 +0100 (Sun, 14 Mar 2004) | 5 lines

 - replaced AUTOSPACE define with {ME_,CU_,MB_}AUTOSPACE,
  different objects shouldn't share flags this way (still sharing of
  other mesh flags in renderer... ickity pickity, but I'm not fixing now)
 - removed some unnecessary uses of DNA_mesh_types.h

------------------------------------------------------------------------
r2150 | ascotan | 2004-03-14 03:08:37 +0100 (Sun, 14 Mar 2004) | 2 lines

-update to msvc7 for render module

------------------------------------------------------------------------
r2149 | ascotan | 2004-03-14 03:08:05 +0100 (Sun, 14 Mar 2004) | 2 lines

-update to msvc6 for render module

------------------------------------------------------------------------
r2148 | ascotan | 2004-03-14 03:07:30 +0100 (Sun, 14 Mar 2004) | 2 lines

-update to sconscript for render module

------------------------------------------------------------------------
r2147 | ascotan | 2004-03-14 03:06:57 +0100 (Sun, 14 Mar 2004) | 5 lines

- new files sceneRender.c/.h
- added new rendering module as part of the existing scene module
- support for individual scene rendering
- support for yafray rendering

------------------------------------------------------------------------
r2146 | guitargeek | 2004-03-12 22:09:53 +0100 (Fri, 12 Mar 2004) | 4 lines

Added Vertex loop select to the toolbox in editmode.

Johnny Matthews (guitarGeek)

------------------------------------------------------------------------
r2145 | guitargeek | 2004-03-12 21:58:11 +0100 (Fri, 12 Mar 2004) | 9 lines

Added a non-proportional mode to loopcut:

Short usage info:
In loopcut mode after selecting a 'reference edge' and you are selecting the % to cut press p to toggle non-proportional mode.

the base side of the reference edge will be indicated by a large pink vertex. This is the side that 0% is calculated from and the side that the non-proportional  cut will mimic. To change the side of the base, press the Fkey

The header has always shown the % of the cut, but now in non-proportional mode, it will show the distance from the base side of the loop. It will also show which cut mode you are currently in.

------------------------------------------------------------------------
r2144 | ascotan | 2004-03-11 13:23:53 +0100 (Thu, 11 Mar 2004) | 3 lines

- fixed a few setattr calls to use tuple parsing
- bug reported by Alfredo de Greef

------------------------------------------------------------------------
r2143 | sirdude | 2004-03-10 20:16:08 +0100 (Wed, 10 Mar 2004) | 8 lines



Modifications to get scons to work under Solaris.  Currently
its setup to use gcc and you need to edit config.opts and replace cc and CC
with gcc and g++ but other than that it compiles now.

Kent

------------------------------------------------------------------------
r2142 | guitargeek | 2004-03-09 23:00:51 +0100 (Tue, 09 Mar 2004) | 10 lines

Added Activator Code for a Loop select rotation

Rotation Current;y goes like this in editmode...

alt-b : vertex loop select
alt-b : face loop select
alt-b : off

I also removed the console output for changing to small cursor.

------------------------------------------------------------------------
r2141 | jesterking | 2004-03-09 22:14:03 +0100 (Tue, 09 Mar 2004) | 2 lines

- [SCONS] Added building of qhull and Solid from extern when selecting the Solid gameengine. The gameengine has not been updated with  the Tuhopuu2 one, so it is not wise to do that yet. This is in preparation for that and won't effect the current build process.

------------------------------------------------------------------------
r2140 | michel | 2004-03-09 21:02:38 +0100 (Tue, 09 Mar 2004) | 11 lines

SCons updates
* Default build dir is now: ../build/<platform>/
  with <platform> ofcourse the platform you're building on.
  This option is still configurable in config.opts. It was just a feature
  request.
* Allow the user to specify a different config.opts file from the command
  line. This one was at my todo, but Kester was kind enough to implement this
  in Tuhopuu2 already. Thanks Kester!
  To generate/use a different options file:
  scons CONFIG=your_config_options_file

------------------------------------------------------------------------
r2139 | jesterking | 2004-03-09 19:21:28 +0100 (Tue, 09 Mar 2004) | 2 lines

- [SCONS] update to use the new csg script if you set the variable to true. I keep it to this file for the moment, since building this is not always successfull. So if you want to use this instead of the current method, set NEW_CSG in this file to true.

------------------------------------------------------------------------
r2138 | jesterking | 2004-03-09 19:19:53 +0100 (Tue, 09 Mar 2004) | 2 lines

- [SCONS] SConscript for the new csg library

------------------------------------------------------------------------
r2137 | theeth | 2004-03-09 18:21:08 +0100 (Tue, 09 Mar 2004) | 11 lines

Constraint blending and accumulator fixes for bug #924 and #983

924: Constraints (especially tracking) on objects with non uniform scaling was screwing the orientation of the object badly
983: Two or more Follow Path constraint on one object was fubar

Fixing 983 enables nice tricks like this: http://www.clubinfo.bdeb.qc.ca/~theeth/Work/Path.blend

URLs for both bugs:
http://projects.blender.org/tracker/index.php?func=detail&aid=924&group_id=9&atid=125
http://projects.blender.org/tracker/index.php?func=detail&aid=983&group_id=9&atid=125

------------------------------------------------------------------------
r2136 | guitargeek | 2004-03-09 18:06:21 +0100 (Tue, 09 Mar 2004) | 8 lines

Added Simple Image Background Exporting for Yafray

Add an image texture to the world (in any channel, the first one with an image will be used) and it will be exported as an image background
   The texture 'bright' slider is connected to the 'power' variable

If the image selected ends in hdr, it will be exported into an HDRI block.
   The texture 'bright' slider effects exposure adjust (it is slider value - 1) so a value of 1 == no expousre adjust. (this needs a better solution in a later    implementation)

------------------------------------------------------------------------
r2135 | jesterking | 2004-03-09 15:55:59 +0100 (Tue, 09 Mar 2004) | 4 lines

* fix for bug 1008 where the gamma slider for post process (unified renderer) wouldn't update when toggling the gamma button. Fixed by making the toggle redraw.

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

------------------------------------------------------------------------
r2134 | rwenzlaff | 2004-03-09 14:49:45 +0100 (Tue, 09 Mar 2004) | 6 lines

rwenzlaff:  Added a small round-off constant to Faceloopcut's percent calc
	so that it rounds numbers off consistantly.  (Fixes bug #970) Though
	it was only a 0.03% error.

	Also fixed some sloppy/missing comments.

------------------------------------------------------------------------
r2133 | guitargeek | 2004-03-08 03:49:50 +0100 (Mon, 08 Mar 2004) | 6 lines

Initial commit for vertexloop select. I altered the version that is in tuhopuu to not take into consideration hidden verts.

This commit: selection code, loop cursor and menu option for 3d header committed.

Still to come will be activation code (perhaps shift-B rotation) after more discussion.

------------------------------------------------------------------------
r2132 | rwenzlaff | 2004-03-08 03:48:43 +0100 (Mon, 08 Mar 2004) | 6 lines

	rwenzlaff: Added call to makeDispList() in test_all_displists() after
	object_wave(ob) called so subsurf and wave will update 3D window for Alt-A
	and frame change.

	fixes other 1/2 of bug #1000.

------------------------------------------------------------------------
r2131 | rwenzlaff | 2004-03-08 01:24:44 +0100 (Mon, 08 Mar 2004) | 7 lines

	Rwenzlaff: Force update of displist when effects are present.
	In an attempt to optimize, displist wasn't recalced if 3D window subsurf
	level was the same as render subsurf level, this kept wave effect
	from being calculated in animations if leves were equal.

	Fixes 1/2 of bug #1000 (Still doesn't update 3D Window)

------------------------------------------------------------------------
r2130 | jesterking | 2004-03-07 21:27:27 +0100 (Sun, 07 Mar 2004) | 3 lines

* Added linux-i386 to appease Mandrake 9 users
* Added stdc++ to the platform libs for linux2/linux-i386 for the same users

------------------------------------------------------------------------
r2129 | rwenzlaff | 2004-03-07 18:41:20 +0100 (Sun, 07 Mar 2004) | 5 lines

	Fixed a few typos in tool tips, and made area lamp buttons
	label the dimentions more consistantly.

	Resolves bugtracker #1001

------------------------------------------------------------------------
r2128 | sirdude | 2004-03-06 20:32:33 +0100 (Sat, 06 Mar 2004) | 7 lines



Updated the Sun ifdef's basically I standardized them so they
were all the same and make sure all platforms see them.

Kent

------------------------------------------------------------------------
r2127 | sirdude | 2004-03-06 18:16:35 +0100 (Sat, 06 Mar 2004) | 14 lines



Reverted the casts so it would compile on irix.
Complaining because the cast confuses the compiler and it complains
lvalue of the expression isn't modifiable.
Probably a way to fix this but I'm lazy so I'm just reverting it to the
warning that works. :)

Also noticed a debug statment that was after a return value so I remove it.
(It was also trying to print memory that had been set to NULL above so
pretty much worthless)

Kent

------------------------------------------------------------------------
r2126 | sirdude | 2004-03-06 18:04:52 +0100 (Sat, 06 Mar 2004) | 11 lines



Got rid of a cast to float which was causing a warning. (Used a temp
var instead)   return (float)atof(something);

is now   float x=atof(something); return x;

There is still another one(warning)in this file but hey its a start.

Kent

------------------------------------------------------------------------
r2125 | sirdude | 2004-03-06 17:14:25 +0100 (Sat, 06 Mar 2004) | 14 lines



added #include <string.h>
to remove the following warnings:
playanim.c:228: warning: implicit declaration of function `strdup'
playanim.c:228: warning: assignment makes pointer from integer without a cast
playanim.c:234: warning: implicit declaration of function `strcpy'
playanim.c:281: warning: assignment makes pointer from integer without a cast
playanim.c:299: warning: implicit declaration of function `strlen'
playanim.c: In function `playanim':
playanim.c:378: warning: implicit declaration of function `strcat'

Kent

------------------------------------------------------------------------
r2124 | jesterking | 2004-03-06 14:08:36 +0100 (Sat, 06 Mar 2004) | 2 lines

- [WIN32] Ask user to press enter after exiting Blender in debug mode. Previously it would either not fall back to the prompt or not close the new dos-box (ie. not started from a dos-box).

------------------------------------------------------------------------
r2123 | stiv | 2004-03-06 11:35:15 +0100 (Sat, 06 Mar 2004) | 4 lines


Fix for bug# 986
Assigning a new value to a Button string did not resize the string buffer.

------------------------------------------------------------------------
r2122 | sirdude | 2004-03-05 22:29:34 +0100 (Fri, 05 Mar 2004) | 8 lines



removed -Wbad-function-cast -Wmissing-declarations -Wnested-externs
from LEVEL_2_CPP_WARNINGS since they aren't valid for c++
(Note they are still in the LEVEL_2_C_WARNINGS)

Kent

------------------------------------------------------------------------
r2121 | guitargeek | 2004-03-05 21:08:30 +0100 (Fri, 05 Mar 2004) | 6 lines

Bugfixes by eeshlo

Fixes Bug 990 and 976
990 - Parenting Issues with Yafray Export
976 - Curve (Text) 'Front' and 'Back' not Exporting to Yafray

------------------------------------------------------------------------
r2120 | guitargeek | 2004-03-05 18:15:49 +0100 (Fri, 05 Mar 2004) | 2 lines

Added 'Execute Script' to the right click pupmenu in the text editor

------------------------------------------------------------------------
r2119 | jesterking | 2004-03-05 16:20:52 +0100 (Fri, 05 Mar 2004) | 2 lines

* [SCons] enable BUILD_DATE for win32. Basically SCons creates an extra file in source/creator, which is included by buildinfo.c whenever BUILD_DATE is on and building on Windows. SCons automatically takes care of this dependency.

------------------------------------------------------------------------
r2118 | stiv | 2004-03-05 09:20:18 +0100 (Fri, 05 Mar 2004) | 6 lines


Fix for bug #1014
In IpoCurve.addBezier() method, set handles of newly added point to type Auto.

Fix provided by Roland Hess (harkyman).

------------------------------------------------------------------------
r2117 | stiv | 2004-03-05 07:25:49 +0100 (Fri, 05 Mar 2004) | 5 lines


Fix for Bug 1039
Changed doc to match the parameters for Ipo New() method.
Corrected error message for expected argument types in New() method.

------------------------------------------------------------------------
r2116 | stiv | 2004-03-05 06:50:50 +0100 (Fri, 05 Mar 2004) | 4 lines

Fix for Bug 1045.
Added more detail for method return types in various doc files.
Changed version number in epy_docgen.sh to BPY_API_232.

------------------------------------------------------------------------
r2115 | ascotan | 2004-03-03 01:45:10 +0100 (Wed, 03 Mar 2004) | 3 lines

- set/get Euler works with the real thing now
- ability to set the object's matrix

------------------------------------------------------------------------
r2114 | jesterking | 2004-03-02 22:34:41 +0100 (Tue, 02 Mar 2004) | 2 lines

- [SCons] Take out redundant 'defines' usage. _LIB is not needed for SoundSystem. This stops SCons from complaining on Windows when building.

------------------------------------------------------------------------
r2113 | sirdude | 2004-03-02 19:50:54 +0100 (Tue, 02 Mar 2004) | 12 lines



Removed a fudge factor of .5
think it was an old opengl hack for something.

See for more info:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=3107

Also the person that should get credit for this is: chrish and meestaplu

Kent

------------------------------------------------------------------------
r2112 | sirdude | 2004-03-02 17:49:50 +0100 (Tue, 02 Mar 2004) | 8 lines



Styken's fix for bug # 1035

Its a if to check for divide by 0 case.

Kent

------------------------------------------------------------------------
r2111 | ascotan | 2004-03-02 12:56:20 +0100 (Tue, 02 Mar 2004) | 2 lines

Documentation for mathutils.

------------------------------------------------------------------------
r2110 | ascotan | 2004-03-02 12:44:06 +0100 (Tue, 02 Mar 2004) | 2 lines

Documentation for mathutils.

------------------------------------------------------------------------
r2109 | jesterking | 2004-03-02 09:40:19 +0100 (Tue, 02 Mar 2004) | 2 lines

Added OpenBSD3.x to the SCons build system.

------------------------------------------------------------------------
r2108 | sirdude | 2004-03-01 19:54:11 +0100 (Mon, 01 Mar 2004) | 8 lines



Another Patch by Joilnen,

This one uses struct casts to get rid of some gcc warnings.

Kent

------------------------------------------------------------------------
r2107 | sirdude | 2004-03-01 18:55:42 +0100 (Mon, 01 Mar 2004) | 15 lines



Joilnen's Fix for bug #999

Basically the switch statement for the menu had some numbers that were off.
it went 7 9 10 11 instead of 7 8 9 10


Joilnen's Fix for bug #999

Basically the switch statement for the menu had some numbers that were off.
it went 7 9 10 11 instead of 7 8 9 10

Kent

------------------------------------------------------------------------
r2106 | ascotan | 2004-03-01 12:24:41 +0100 (Mon, 01 Mar 2004) | 2 lines

Update to msvc7 for new Mathutils lib :)

------------------------------------------------------------------------
r2105 | michel | 2004-02-29 22:40:48 +0100 (Sun, 29 Feb 2004) | 24 lines

SCons updates
* Blender static now links. By default this option is disabled on all
  platforms. Simply set the option in config.opts to 'true'.
* Added the following flags to config.opts:
  - HOST_CC.    This is the C compiler for the host platform. This value is the
                same as TARGET_CC when not cross compiling.
  - HOST_CXX.   This is the C++ compiler for the host platform. This value is
                the same as TARGET_CXX when not cross compiling.
  - TARGET_CC.  This is the C compiler for the target platform.
  - TARGET_CXX. This is the C++ compiler for the target platform.
  - TARGET_AR.  This is the linker command for linking libraries.
  - PATH        This is the standard search path
  All SConscript files have been updated to reflect these changes. Now it's
  possible to change only the root SConstruct file, and all compiler specific
  variables are passed automatically to all SConscript files. Of course, this
  does not apply to makesdna because there the host and target platform is
  different from all other libraries.
  To pass a variable that applies to all platforms, all we now have to do is
  set the correct value in library_env


Note: as usual, to get the latest options in the config.opts file, first
      remove your version.

------------------------------------------------------------------------
r2104 | rwenzlaff | 2004-02-29 17:45:10 +0100 (Sun, 29 Feb 2004) | 3 lines

	Fixes bug report 1012.  Copy Attrib didn't copy sudsurftype.
	(Now it does.)

------------------------------------------------------------------------
r2103 | zuster | 2004-02-29 16:08:18 +0100 (Sun, 29 Feb 2004) | 3 lines

 - SCons prob, options file strings were printed with %s, changed
    to %r so special characters are quoted properly

------------------------------------------------------------------------
r2102 | zuster | 2004-02-29 16:07:32 +0100 (Sun, 29 Feb 2004) | 2 lines

 - SConscript error for mathutils, no comma after C file

------------------------------------------------------------------------
r2101 | theeth | 2004-02-29 16:07:31 +0100 (Sun, 29 Feb 2004) | 2 lines

Projectfiles fix for Mathutils

------------------------------------------------------------------------
r2100 | ascotan | 2004-02-29 14:26:42 +0100 (Sun, 29 Feb 2004) | 2 lines

Update to SCons for new Mathutils lib

------------------------------------------------------------------------
r2099 | ascotan | 2004-02-29 14:20:34 +0100 (Sun, 29 Feb 2004) | 10 lines

Mathutils library for the python API
- support for quaternions, euler, vector, matrix operations.
- euler supports unique rotation calculation
- new matrix memory construction and internal functions
- quaternion slerp and diff calculation
- 2d, 3d, 4d vector construction and handling
- full conversion support between types
- update to object/window to reflect to matrix type
- update to types/blender/module to reflect new module

------------------------------------------------------------------------
r2098 | phase | 2004-02-25 15:39:25 +0100 (Wed, 25 Feb 2004) | 3 lines

Here's the Russian translation of Blender's interface.
Thanks go out to Yurec !

------------------------------------------------------------------------
r2097 | michel | 2004-02-24 21:03:27 +0100 (Tue, 24 Feb 2004) | 20 lines

SCons updates
* Added the options to build (configurable via config.opts):
  - blender dynamic (default enabled),
  - blender static (default disabled). Not working because of a linking order
    problem. The /usr/lib/libGL.a and /usr/lib/libGLU.a flags need to be
    appended at the end of the link command, not directly after the linker.
    Mailed the SCons mail list for a possible solution.
  - blender player (default disabled). Not implemented yet anyway.
  - blender plugin (default disabled). Not implemented yet anyway.
* Added the following variables to the config.opts:
  - OPENGL_STATIC. This flag is only needed when building blender static.
  - USE_BUILDINFO (true/false). Display build information in the splash
    screen. When enabled, it will always rebuild source/creator/buildinfo.c,
    so for compilation speed reasons, it is not adviced to enable this all the
    time.

I had to make some adjustments specifically for the windows build
(winblender.res) file. This file is only compiled when building the dynamic
blender. I hope this is correct.

------------------------------------------------------------------------
r2096 | sirdude | 2004-02-23 20:14:38 +0100 (Mon, 23 Feb 2004) | 6 lines



sorry more ;'s  this should be the last of them though.

Kent

------------------------------------------------------------------------
r2095 | sirdude | 2004-02-23 20:05:42 +0100 (Mon, 23 Feb 2004) | 6 lines



another extraninous ;

Kent

------------------------------------------------------------------------
r2094 | sirdude | 2004-02-23 19:46:19 +0100 (Mon, 23 Feb 2004) | 7 lines



some more warnings cleared up from Solaris compiler.
(extra commas in enum declarations.)

Kent

------------------------------------------------------------------------
r2093 | michel | 2004-02-23 17:18:28 +0100 (Mon, 23 Feb 2004) | 15 lines

SCons updates
* OpenAL support is now available on Linux. By default this feature is
  disabled since it is only necessary when building the game engine. And the
  game engine is disabled by default as well, so...
* Added 3 configurable options to config.opts. These apply to OpenAL settings.

NOTE: remove your current config.opts file to get the new options. (remember
      your current settings though ;) )

2nd NOTE: All options* are now configurable via the config.opts file. If the
          default settings for your platform are not correct, you should be
          able to only update the config.opts file.
  * FMOD is still not available - and I do not know if it is necessary to
    enable this feature.

------------------------------------------------------------------------
r2092 | sirdude | 2004-02-23 16:31:27 +0100 (Mon, 23 Feb 2004) | 6 lines


removed an extra ;
Found it with Sun's compiler.

Kent

------------------------------------------------------------------------
r2091 | michel | 2004-02-23 15:39:08 +0100 (Mon, 23 Feb 2004) | 9 lines

SCons updates
* Removed the I18N_DEFINES from the config.opts file. This define is not a
  user setting. The defines depend on what options the user enables in the top
  of the config.opts file (USE_INTERNATIONAL).
* Moved the defines to the correct SConscript files.
  Only the relevant libraries now use these defines.
* Windows fix for the python settings. There were missing brackets [ and ] for
  these settings.

------------------------------------------------------------------------
r2090 | sirdude | 2004-02-23 15:29:10 +0100 (Mon, 23 Feb 2004) | 8 lines



Added a  if defined(__sun)
I believe gcc and sun's cc have it defined differently.
It wasn't including statfs.h now it is.

Kent

------------------------------------------------------------------------
r2089 | sirdude | 2004-02-23 15:10:00 +0100 (Mon, 23 Feb 2004) | 10 lines



Added a return GHOST_kSuccess;
to setWindowCustomCursorShape

Sun's compiler complained that it didn't return anything even though
it was suppose to.

Kent

------------------------------------------------------------------------
r2088 | jesterking | 2004-02-23 10:04:55 +0100 (Mon, 23 Feb 2004) | 2 lines

* [WIN32] Added snprintf define so msvc linker doesn't complain about missing symbols.

------------------------------------------------------------------------
r2087 | michel | 2004-02-22 20:01:12 +0100 (Sun, 22 Feb 2004) | 15 lines

SCons updates
* Game engine can now be build on Linux. By default this feature is disabled.
  The reason is that you need to have a precompiled version of the ode library
  for your gcc version.
  To enable ode support you need to do the following:
  - compile ode.
  - set BUILD_GAMEENGINE = 'true' in the config.opts file.
  - set USE_PHYSICS='ode' in the config.opts file.
  - set the ODE_INCLUDE and ODE_LIBPATH to valid locations.

* Linking order has changed for the game engine
  There are cyclic dependencies between libraries. On linux we have to do some
  duplicate linking. I looked at the order of linking in source/Makefile, and
  did some clean up.

------------------------------------------------------------------------
r2086 | michel | 2004-02-22 14:39:00 +0100 (Sun, 22 Feb 2004) | 18 lines

SCons updates
* Internationalization support is now available on Linux. By default this
  feature is disabled. The reason is that you need to have a precompiled
  version of the ftgl library for your gcc version.
  To enable ftgl support you need to do the following:
  - compile ftgl.
  - set USE_INTERNATIONAL='true' in the config.opts file
  - set the FTGL_INCLUDE and FTGL_LIBPATH to valid locations.
  Freetype2 is detected automatically on your system by using pkg-config.

  There was a problem with linking libraries. I took a look at how the
  Makefile environment did it, and copied the mechanism. Now we're linking:
  freetype, blender_ftf, ftgl and freetype. (Yes, 2x freetype).

* Minor variable cleanup.
  sdl flags are now collected in one Environment() in stead of two. Adapted
  all relevant platform variables accordingly.

------------------------------------------------------------------------
r2085 | jesterking | 2004-02-21 20:00:31 +0100 (Sat, 21 Feb 2004) | 3 lines

- [win32] updated SConscripts to use new configuration method (config.opts).
  NOTE: ODE support needs still to be reviewed, so disable gameengine for now.

------------------------------------------------------------------------
r2084 | hos | 2004-02-21 18:45:19 +0100 (Sat, 21 Feb 2004) | 4 lines

Todd Koeckeritz' patch to sort the vertex groups menu and adapted to
sort the bone parenting menu. Only really works if your menu is near
the top of the screen ...

------------------------------------------------------------------------
r2083 | hos | 2004-02-21 17:50:09 +0100 (Sat, 21 Feb 2004) | 3 lines

Todd Koeckeritz' patch to fix inconsistent placement in multicolumn
menu's.

------------------------------------------------------------------------
r2082 | hos | 2004-02-21 17:36:49 +0100 (Sat, 21 Feb 2004) | 2 lines

Making the scons build create a mips3 binary.

------------------------------------------------------------------------
r2081 | michel | 2004-02-21 16:13:15 +0100 (Sat, 21 Feb 2004) | 12 lines

SCons updates
* Almost all library settings are now available in the config.opts user option
  file.
* All platform variables had to be updated to make this possible. Things are
  much clearer now, but I only was able to test the changes on Linux. I've
  tried to update all other platform variables, but things are most likely to
  be broken. Please contact me how to resolve the issues.


Note: Before running scons, remove your existing config.opts file to get all
      new options.

------------------------------------------------------------------------
r2080 | hos | 2004-02-20 05:57:07 +0100 (Fri, 20 Feb 2004) | 8 lines

Jonathan Thambidurai's patch for fixing the baking of NLA.
I added to this patch some code for keying size too ... please test.

This probably fixes bug #602, but I can't say for sure: Guignot's
poor ol' example blend no longer opens in blender (not since 2.26).

Release notes remark: Bug causing inconsistent baking of actions fixed.

------------------------------------------------------------------------
r2079 | jesterking | 2004-02-18 15:35:36 +0100 (Wed, 18 Feb 2004) | 2 lines

* [WIN32] Make SCons build with debuggable info when BUILD_BINARY set to 'debug' in config.opts

------------------------------------------------------------------------
r2078 | phase | 2004-02-17 13:34:56 +0100 (Tue, 17 Feb 2004) | 3 lines

Replaced old spanish (catalan) translation by the one submitted by Pablo Martin.
Thank you !

------------------------------------------------------------------------
r2077 | sirdude | 2004-02-16 16:59:06 +0100 (Mon, 16 Feb 2004) | 8 lines



I ran dos2unix on everything in the extern directory.
People were having problems with some of the files, see:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=3002

Kent

------------------------------------------------------------------------
r2076 | hos | 2004-02-16 16:29:10 +0100 (Mon, 16 Feb 2004) | 3 lines

A little improvement by Joilnen Leite: makes the pixel RGBA values visible
(even with a white background) when left clicking in the render window.

------------------------------------------------------------------------
r2075 | michel | 2004-02-15 20:40:45 +0100 (Sun, 15 Feb 2004) | 2 lines

Removed the entire auto* build as has been agreed on during the meeting.

------------------------------------------------------------------------
r2074 | michel | 2004-02-15 20:25:32 +0100 (Sun, 15 Feb 2004) | 9 lines

SCons updates
* libraries are now generated in [BUILD_DIR]/lib
* passed the user_options to all libraries now.
  This means I could remove a couple of Export/Import lines.
* Changed the order in source/blender/src/SConscript and
  source/gameengine/SConscript.
  All libraries are now sorted alphabetically. This has no impact on the build
  process.

------------------------------------------------------------------------
r2073 | hos | 2004-02-15 18:50:56 +0100 (Sun, 15 Feb 2004) | 8 lines

Moved a line to make armarures recalculate better after framechanged
scriptlinks are executed.

This fixes bug #997.

Note: this fix does not need to be mentioned in release notes (problem
was caused by the recent armature speedups).

------------------------------------------------------------------------
r2072 | theeth | 2004-02-15 03:03:33 +0100 (Sun, 15 Feb 2004) | 6 lines

Text Window keyboard event cleaning.
There was two switch where only one was needed (which caused an event to register in two different actions under some conditions). I merged both of them, which not only made the code a lot clearer but also safer.
Fixed the Home and End case which didn't update the display correctly.

I've tested it for some time, so I'm pretty sure nothing is broken.

------------------------------------------------------------------------
r2071 | aphex | 2004-02-11 19:55:31 +0100 (Wed, 11 Feb 2004) | 3 lines

Learning to follow my own advice (I had set the dependancies to csg
already!)

------------------------------------------------------------------------
r2070 | aphex | 2004-02-11 19:36:48 +0100 (Wed, 11 Feb 2004) | 9 lines

- Added csg.dsp to the main intern workspace (intern.dsw)
- Fixed up the paths for "/lib/..." in csg.dsp

Quick note: Currently intern still builds the old lib (bsplib).

To compile the new lib (when everything is ready for it), uncheck
bsplib from the dependancies in build_install_all and replace with csg.
Will eventually drop bsplib completely - but not just yet :)

------------------------------------------------------------------------
r2069 | loczar | 2004-02-10 21:16:44 +0100 (Tue, 10 Feb 2004) | 26 lines

Ok here is the new CSG library that implements boolean operations for blender through the 'C' api in csg/extern/CSG_Interface.h.

As mentioned earlier on bf-commiters mailing list, there is no current *nix make file only an msvc60 project file. I only have a linux box at work and to be honest I want to avoid doing any commits from there! So if some kind soul could sort it out that would be great.

Dependencies:
This code only depends on other stuff in the intern library, moto and memutils the CSG lib needs to have their include paths to compile. Other than that its completely self contained.

Acknowledgements:
To speed up the polygon-polygon intersection queries I've used some code (under the GPL) from freesolid2.0 this clearly marked in the appropriate files and Gino van den Bergen still owns the copyright to that material. The algorithm I used in based on one from Paul Nettle described on flipcode (www.flipcode.com) and I think his work was a derivative of the "Laidlaw algorithm"

There is also some basic 'ear clipping' triangulation code that unfortunately remains unatributable. I have no right to publish this code under the GPL nor BPL for that matter as I have no idea who the original authors are. Its just one of those random bits of internet code.

Warning!
The stuff used a lot of C++ template features, which on one hand makes it very generic but on the other means that some work will need to be done to get working with other compilters. The msvc60 compiler is not very compliant to the C++ standards with respect to templates so its very difficult to say if this code will compile out of the box on other platforms.

I still haven't committed modifications to booleanops.c in the blender code as without a working library to link to it will break the current build. This needs to be done first!

Improvements
This code is much simpler than the previous bsp implementation see intern/bsp and this old code should be deprectated/removed. However, whilst this implementation produces less triangles in the output than the bps algo, its still not an optimal solution. This is just hard to do and beyond my humble skills.

License:
Just to make it clear this stuff for the reasons mentioned above and for the fact I'm to mean to give the copyright away to BF is licensed under the GPL only.

Cheers,
Laurence.

------------------------------------------------------------------------
r2068 | zuster | 2004-02-08 14:26:52 +0100 (Sun, 08 Feb 2004) | 2 lines

 - bug fix, ctrl-x didn't clear file name in window title

------------------------------------------------------------------------
r2067 | michel | 2004-02-07 21:44:43 +0100 (Sat, 07 Feb 2004) | 30 lines

SCons updates
* All output is now generated in a seperate directory. By default this is
  ../build/
  Currently all .lib / .a files are still build in lib/
  So, I guess I need to update all SConscript files to build the lib now also
  in the build_dir. TODO
* User configurable options have been added.
  When running SCons for the first time, a new config.opts file is generated.
  The defaults are taken from each section currently in SConstruct.
  Currently implemented options:
  - VERSION             // Blender version. not used at the moment
  - BUILD_BINARY        // release or debug
  - BUILD_DIR           // target directory to build intermediate files
  - USE_INTERNATIONAL   // true or false
  - BUILD_GAMEENGINE    // true or false
  - USE_PHYSICS         // ode or solid
  - USE_OPENAL          // true or false
  - USE_FMOD            // true or false
  - USE_QUICKTIME       // true or false

  Note that all options are strings, so quotes are necessary (')

  There's currently some duplicate code in the SConstruct and SConscript
  files, but this currently works and cleanup can be done in small steps
  afterwards.

* Disabled international support on Linux by default for now.
  There is something wrong with this currently. I'll fix it in the near
  future.

------------------------------------------------------------------------
r2066 | sirdude | 2004-02-06 16:20:45 +0100 (Fri, 06 Feb 2004) | 6 lines



Kino's tooltip fix for envmap. (fixes a typo)

Kent

------------------------------------------------------------------------
r2065 | phase | 2004-02-06 14:23:05 +0100 (Fri, 06 Feb 2004) | 2 lines

Added the DELKEY for editing a Text object.

------------------------------------------------------------------------
r2064 | sirdude | 2004-02-05 18:26:37 +0100 (Thu, 05 Feb 2004) | 10 lines



Christian Pless's patch it just updates the toolbox shorcuts for
Rotation and Scaling so they have R and S instead of all 3 having G as
the shortcut.

(Its in the transform/Rotate on Axis and transform/Scale on Axis toolbox items.)

Kent

------------------------------------------------------------------------
r2063 | hos | 2004-02-05 16:08:26 +0100 (Thu, 05 Feb 2004) | 10 lines

This one is a bit strange to describe so I'll just mention the symptom:
bones in one armature that were constrained to bones in another
armature, which in turn were constrained to a non-armature object
weren't getting updated correctly.

This fixes bf-blender bug #955 (thanks Appolux).

Note: This commit need not be logged in future release notes (was
caused by recent armature speed ups).

------------------------------------------------------------------------
r2062 | sirdude | 2004-02-03 17:52:08 +0100 (Tue, 03 Feb 2004) | 10 lines



Added two small bug fixes LukeW found.
HoR, HoG, HoB tooltips talked about Zenith instead of Horizon.
added (F6) to the texture tooltip. He also mentioned F5 but
the F5 is already there its just context sensitive and the
sub menus do not have the shortcut.

Kent

------------------------------------------------------------------------
r2060 | ton | 2004-02-01 23:28:01 +0100 (Sun, 01 Feb 2004) | 2 lines

- release notes for 2.32. finally!

------------------------------------------------------------------------
r2059 | aphex | 2004-02-01 16:44:37 +0100 (Sun, 01 Feb 2004) | 3 lines

- Added missing break statements. Panning and zooming from the menus
  now works correctly.

------------------------------------------------------------------------
r2058 | aphex | 2004-02-01 16:42:14 +0100 (Sun, 01 Feb 2004) | 6 lines

- added new translation files pt_br & zh_cn, and the new python scripts
  to win installer script.

(Note to self: see if there is a way to automate this with some sed or
awk magic...)

------------------------------------------------------------------------
r2057 | broken | 2004-02-01 12:39:18 +0100 (Sun, 01 Feb 2004) | 2 lines

* Got rid of the dual URLs on the splash screen

------------------------------------------------------------------------
r2056 | broken | 2004-02-01 00:49:25 +0100 (Sun, 01 Feb 2004) | 4 lines

* Put the great new splash screen graphic inside the standard splash template (fonts, layout, etc).

I thought it was already available - I guess not, so I've uploaded the Photoshop template to http://www.blender.org/bf/splash_template.psd

------------------------------------------------------------------------
r2055 | ton | 2004-01-31 18:08:18 +0100 (Sat, 31 Jan 2004) | 3 lines

- splash for 2.32
  credits go to Suzanne-Andy!

------------------------------------------------------------------------
r2054 | ton | 2004-01-31 14:00:31 +0100 (Sat, 31 Jan 2004) | 3 lines

- version upped to 2.32
  (warn: still waiting for splash!)

------------------------------------------------------------------------
r2053 | eeshlo | 2004-01-30 22:47:34 +0100 (Fri, 30 Jan 2004) | 3 lines

Fixed problem of missing win32 drive when file selector was used to choose export path.
Fixed missing background when not rendering with GI enabled.

------------------------------------------------------------------------
r2052 | ton | 2004-01-30 19:07:26 +0100 (Fri, 30 Jan 2004) | 3 lines

- removed error() call from initrender, for when no backbuf found.
  this function needs the UI active, doesnt work with renderwindow.

------------------------------------------------------------------------
r2051 | theeth | 2004-01-30 12:56:32 +0100 (Fri, 30 Jan 2004) | 2 lines

License update for uv_export

------------------------------------------------------------------------
r2050 | ianwill | 2004-01-30 05:27:28 +0100 (Fri, 30 Jan 2004) | 6 lines

- Last minute script addition (blame / thank Theeth :) -- Theeth's UV Face export script.
- tiny harmless change in module Blender.Material's *doc*.

Aphex: tested your fix for windows (thank you -- and Bill Baxter for reporting):
  It doesn't break anything here (linux).  So probably no need for #ifdef's.

------------------------------------------------------------------------
r2049 | theeth | 2004-01-30 00:34:20 +0100 (Fri, 30 Jan 2004) | 2 lines

Lamp Dist limit brought back up to 5000 like it was before. (Hoping it doesn't cause any problems)

------------------------------------------------------------------------
r2048 | ton | 2004-01-29 23:28:51 +0100 (Thu, 29 Jan 2004) | 2 lines

- made f10 mode buttons (shadow/env/ray/etc) all equal height.

------------------------------------------------------------------------
r2047 | ton | 2004-01-29 23:28:04 +0100 (Thu, 29 Jan 2004) | 4 lines

- fix after testing with regression files; the boundary on a sphere, on the
  edge where shaded is unshaded, the shadow routine didn't work correctly.
  Had to put back an old dot-product check to fix.

------------------------------------------------------------------------
r2046 | aphex | 2004-01-29 23:12:14 +0100 (Thu, 29 Jan 2004) | 5 lines

second last minute commit! -- removed a trailing slash which prevented
win32 from locating .blender/scripts.
I'm hoping other OSes are a little more forgiving about these things...
but PLEASE test, else we may need to #ifdef it.

------------------------------------------------------------------------
r2045 | aphex | 2004-01-29 21:30:05 +0100 (Thu, 29 Jan 2004) | 6 lines

last minute commit -- saving .b.blend files on Windows for users
who have set a %HOME% environment var now works again.
Patch provided by Bill Baxter, plus an additional fix for Win9x.

There is still work to be done with this after the 2.32 release...

------------------------------------------------------------------------
r2044 | ton | 2004-01-29 18:33:38 +0100 (Thu, 29 Jan 2004) | 3 lines

fix for bug #933, specularity was clipped too soon, especially evident
when using low spec hardness value (1 or 2).

------------------------------------------------------------------------
r2043 | jandro | 2004-01-29 09:46:08 +0100 (Thu, 29 Jan 2004) | 2 lines

Fixed problem reported by Panagiotis Papadakos about yafray path in unix

------------------------------------------------------------------------
r2042 | theeth | 2004-01-29 01:47:35 +0100 (Thu, 29 Jan 2004) | 5 lines

NURBS CV Weight button fix for the Editing window and Properties floating panel.

Upped both limit to 100. (in 2.23, the limit in the Nkey window was 100).
Corrected the minimum of the Properties panel (was -10 which made no sense).

------------------------------------------------------------------------
r2041 | sirdude | 2004-01-28 20:25:32 +0100 (Wed, 28 Jan 2004) | 9 lines



Added #include <stdio.h>

to get rid of a warning about undefined printf
I know stupid but hey might as well make it do the right thing.

Kent

------------------------------------------------------------------------
r2040 | ianwill | 2004-01-28 20:16:50 +0100 (Wed, 28 Jan 2004) | 9 lines

BPython:
-- fixing a last minute bug: scripts w/o guis that called the file selector were
   not being checked for errors, which could cause crash dumps upon exiting.
-- docs: updates for Draw (fixed example) and Material (added tex related methods docs)

Scripts:
-- added some more scripts, all I could get in shape in time (at least they export / import back).
   Only tested on linux.

------------------------------------------------------------------------
r2039 | sirdude | 2004-01-28 20:11:24 +0100 (Wed, 28 Jan 2004) | 9 lines



Added Solaris specific stuff.  Mostly its just a copy of the linux side
of things with a couple of tweaks.  It still needs work but I'm stuck.
Working with Michel to change compiler to gcc for solaris since Sun's c++
compiler is broken and won't compile blender.

Kent

------------------------------------------------------------------------
r2038 | michel | 2004-01-28 20:05:52 +0100 (Wed, 28 Jan 2004) | 8 lines

Makefile update
* In a previous commit, the following targets on Linux were commented out:
  - plugin
  - xplink
  - blenderstatic
  - blenderplayer
  This commit uncommented those targets again.

------------------------------------------------------------------------
r2037 | broken | 2004-01-28 13:24:45 +0100 (Wed, 28 Jan 2004) | 2 lines

Whoops, this should have gone along with the panel shading commit.

------------------------------------------------------------------------
r2036 | broken | 2004-01-28 13:20:19 +0100 (Wed, 28 Jan 2004) | 2 lines

* Widened the tooltips when using non-AA fonts, so there's a margin between the top of the tooltip and the ascender.

------------------------------------------------------------------------
r2035 | broken | 2004-01-28 13:17:54 +0100 (Wed, 28 Jan 2004) | 4 lines

* Replaced crappy close icon (that always got distorted) with an OpenGL drawn X. Can someone with a graphics card that supports AA lines please check that this looks ok, since mine doesn't :(

* Minor tweaks to panel shading/colours

------------------------------------------------------------------------
r2034 | broken | 2004-01-28 13:16:05 +0100 (Wed, 28 Jan 2004) | 2 lines

* Reverted to an older method of drawing button outlines (previous caused a stupid 'building up' effect from transparent lines being repeatedly drawn over the top of each other). This causes minor problems elsewhere, but it's less troublesome overall, for now - hopefully a proper solution can be found in the future.

------------------------------------------------------------------------
r2033 | sirdude | 2004-01-28 12:51:13 +0100 (Wed, 28 Jan 2004) | 10 lines



Fixed a couple of explicit references to .blender made them $(CONFDIR)
instead.  Also moved the creation of $(CONFDIR) up so that it
gets created before dumping files into it.  There is still one
extra reference to .blender for osX but I wasn't sure what was going on
so I left it.  It really should be "fixed" though.

Kent

------------------------------------------------------------------------
r2032 | sgefant | 2004-01-28 12:42:19 +0100 (Wed, 28 Jan 2004) | 3 lines

(re)added pulldown menu to select physics. Both the menu and the gravity
slider are only enabled if GAMEBLENDER is set to 1

------------------------------------------------------------------------
r2031 | aphex | 2004-01-27 23:16:46 +0100 (Tue, 27 Jan 2004) | 3 lines

- oops, this belongs with previous commit - missed a new file needed for
  the installer script.

------------------------------------------------------------------------
r2030 | aphex | 2004-01-27 23:13:41 +0100 (Tue, 27 Jan 2004) | 3 lines

- updated "make release" for windows to include new python files.
- updated win32 installer script.

------------------------------------------------------------------------
r2029 | hos | 2004-01-27 16:18:04 +0100 (Tue, 27 Jan 2004) | 4 lines

My beautification of the behemoth do_all_actions() broke NLA blend in/out
... I don't have time to find a fix before the release so I'll just revert
the code.

------------------------------------------------------------------------
r2028 | jandro | 2004-01-27 13:41:37 +0100 (Tue, 27 Jan 2004) | 4 lines

Gi power behaviour changed so it's exported as a multiplier for the emit
component of the materials, background color, and dummy arealights. Hemi/Path
power is kept 1.0 now. Also changed the range for power to [0-100]

------------------------------------------------------------------------
r2027 | phase | 2004-01-27 12:12:33 +0100 (Tue, 27 Jan 2004) | 2 lines

Thanks to Li Jun (oyster), here's a Simplified Chinese translation for Blender's interface.

------------------------------------------------------------------------
r2026 | ianwill | 2004-01-27 10:30:29 +0100 (Tue, 27 Jan 2004) | 7 lines

BPython - two small fixes:
-- search/remove '\r' from string buffers read from scripts:
    used a fast way: change each '\r' to a space, since it should
    work for scripts and the buffer is only needed for a short while.
-- added call to clear error indicator before running a script.
    A previous script may set it even on succesful returns.

------------------------------------------------------------------------
r2025 | eeshlo | 2004-01-27 07:23:33 +0100 (Tue, 27 Jan 2004) | 2 lines

As reported by Hiroshi Saito,  M_1_PI apparently not recognized in VC6, removed it.

------------------------------------------------------------------------
r2024 | hos | 2004-01-27 07:08:37 +0100 (Tue, 27 Jan 2004) | 15 lines

Armature related fixes and cleanups:

* Armatures that had constraint targets inside other armatures
  weren't transform()-ing correctly

* Issues with lattice deformed objects that are parents of bones
  when rendering an animation. Seems to be mostly OK now with the
  exception of the first rendered frame -- weird bugs like this have
  plagued blender for ages, which leads me to believe that
  RE_rotateBlenderScene() is a piece of garbage that nobody understands
  (especially me).

* made a few helper functions to clean up some repeated code related
  to clearing constraint status and rebuilding displists.

------------------------------------------------------------------------
r2023 | eeshlo | 2004-01-27 06:46:12 +0100 (Tue, 27 Jan 2004) | 4 lines

On request of broken, monkeyboi and others the rendering engine menu is back again.
The menu button was also moved to the render panel, this required some changes to the placement of the other buttons.
I hope this is no problem...

------------------------------------------------------------------------
r2022 | hos | 2004-01-27 05:42:12 +0100 (Tue, 27 Jan 2004) | 3 lines

Made select more, select less, and select non-manifold more aware of
hidden verts.

------------------------------------------------------------------------
r2021 | ianwill | 2004-01-27 04:34:16 +0100 (Tue, 27 Jan 2004) | 12 lines

BPython:
- as proposed by Ton, default dir for menu enabled scripts is:
userhome/.blender/scripts if available or (using bprogname -- argv[0]),
blenderInstallationDir/.blender/scripts/ otherwise.
- moved a piece of code from BPY_interface.c to BPY_menus.c to get rid
of a linkage warning reported by J. Walton
-- added the first scripts to release/scripts:

We need time to get more scripts there, but the situation should improve
consistently from now on.  Adding three export scripts: cal3d, directX, ac3d.
And one import: ac3d.

------------------------------------------------------------------------
r2020 | phase | 2004-01-27 01:55:49 +0100 (Tue, 27 Jan 2004) | 2 lines

Czech translation fix.

------------------------------------------------------------------------
r2019 | phase | 2004-01-27 01:39:44 +0100 (Tue, 27 Jan 2004) | 5 lines

Here's Frank´s (José Silva) tiny contribution to Blender´s community,
a translation of Blender's interface to Brazilian Portuguese.

Thanks for posting ;)

------------------------------------------------------------------------
r2018 | eeshlo | 2004-01-27 01:15:12 +0100 (Tue, 27 Jan 2004) | 5 lines

fixed problem with ray button and shadow rendering
Blender 'sphere' mode lights in yafray should now have more similar light levels
render shadow button in Blender must now be enabled to render shadows in yafray too
some other minor shadow related corrections

------------------------------------------------------------------------
r2017 | ton | 2004-01-26 16:42:54 +0100 (Mon, 26 Jan 2004) | 3 lines

- added line as provided by Bill Baxter, which makes option "no numpad"
  accept the minuskey for numerical input while transform().

------------------------------------------------------------------------
r2016 | phase | 2004-01-26 13:53:40 +0100 (Mon, 26 Jan 2004) | 2 lines

Fixed nasty #include.

------------------------------------------------------------------------
r2015 | phase | 2004-01-26 13:37:34 +0100 (Mon, 26 Jan 2004) | 4 lines

Fixed behaviour of cyclic anim textures.

Note: the Fie/Ima (fields per rendered image) functionality is still broken.

------------------------------------------------------------------------
r2014 | jandro | 2004-01-26 13:15:33 +0100 (Mon, 26 Jan 2004) | 2 lines

possible fix for os x problem, caused by SIGVTALRM

------------------------------------------------------------------------
r2013 | hos | 2004-01-26 00:59:22 +0100 (Mon, 26 Jan 2004) | 2 lines

Modified 'make release' as recommended by J. Walton (removed some @'s)

------------------------------------------------------------------------
r2012 | intrr | 2004-01-26 00:48:11 +0100 (Mon, 26 Jan 2004) | 6 lines



"Fixes" bug 929 - The undo system crashed when the maximum number of undo
steps in userprefs was set to 1. Increased the lowest possible value to
2 :)

------------------------------------------------------------------------
r2011 | hos | 2004-01-25 22:42:18 +0100 (Sun, 25 Jan 2004) | 2 lines

SCons for irix update (now does mips3 binary).

------------------------------------------------------------------------
r2010 | hos | 2004-01-25 21:59:06 +0100 (Sun, 25 Jan 2004) | 2 lines

Fix for irix 'make release'

------------------------------------------------------------------------
r2009 | michel | 2004-01-25 21:57:25 +0100 (Sun, 25 Jan 2004) | 7 lines

SCons update
* makesdna generates dna.c which in turn should be compiled with nice cflags,
  linkflags etc. But, a small error slipped in which caused the .c file to be
  compiled into a nice .o file without those flags.
  Thanks to Hos for pointing out the error and persisting there indeed was an
  error.

------------------------------------------------------------------------
r2008 | eeshlo | 2004-01-25 21:28:46 +0100 (Sun, 25 Jan 2004) | 3 lines

arealight now can be used without global photonmap
fixed problem with spotlights not rendering

------------------------------------------------------------------------
r2007 | hos | 2004-01-25 19:37:56 +0100 (Sun, 25 Jan 2004) | 2 lines

Fixed a typo in the 'make release' stuff

------------------------------------------------------------------------
r2006 | hos | 2004-01-25 19:31:05 +0100 (Sun, 25 Jan 2004) | 9 lines

A few 'make release' related modifications:

* the compiled plugins get moved to .blender/plugins in the
  release tarball (the include and C files remain where they
  were). Please test.

* if they exist, the directories release/scripts and release/bpydata
  get copied to .blender/scripts and .blender/bpydata respectively.

------------------------------------------------------------------------
r2005 | michel | 2004-01-25 18:58:24 +0100 (Sun, 25 Jan 2004) | 6 lines

Python bug fix for #724
* Blender.Object.setDrawMode does not work. I had accidentally switched the
  variables for setDrawMode and setDrawType. This implied that _both_
  functions did not work correctly. The functions getDrawMode and getDrawType
  use the correct variables.

------------------------------------------------------------------------
r2004 | michel | 2004-01-25 18:42:40 +0100 (Sun, 25 Jan 2004) | 4 lines

Python bug fix for #875
* Blender.Object.GetSelected() would crash when no 3d-view has been
  initialized at startup. Fixed.

------------------------------------------------------------------------
r2003 | rwenzlaff | 2004-01-25 17:25:55 +0100 (Sun, 25 Jan 2004) | 3 lines

	- Port fix for Backbuffer/Optimize hang (caused by short pointer hack)
	from tuhopuu.

------------------------------------------------------------------------
r2002 | phase | 2004-01-25 14:50:54 +0100 (Sun, 25 Jan 2004) | 3 lines

Applied checks for more secure 3D font handling.
(Loading fonts without a valid name would crash Blender)

------------------------------------------------------------------------
r2001 | ton | 2004-01-24 18:26:58 +0100 (Sat, 24 Jan 2004) | 6 lines

- code i committed for correct arrowkeys on selecting items in pulldowns
  broke the ui_mouse_motion_towards_block() function. This made sure
  mouse motion (diagonal) towards a new opened sub-level keeps the sub-
  level open.
  Fixed!

------------------------------------------------------------------------
r2000 | ton | 2004-01-24 17:56:12 +0100 (Sat, 24 Jan 2004) | 3 lines

- Nurbs curve/surface Nkey editmode now displays the W value again!
  was lost in 2.30 makeover.

------------------------------------------------------------------------
r1999 | ton | 2004-01-24 13:24:58 +0100 (Sat, 24 Jan 2004) | 3 lines

- commented out line with unused variable, to make warnings going down
  with 1!

------------------------------------------------------------------------
r1998 | jandro | 2004-01-24 13:23:41 +0100 (Sat, 24 Jan 2004) | 3 lines

Added another control for new pathlight refinement parameter and solved
a problem with name collision betwen textures and shaders reported by kino.

------------------------------------------------------------------------
r1997 | ton | 2004-01-24 13:18:35 +0100 (Sat, 24 Jan 2004) | 3 lines

- moved declaration of new variable up; in plain C you cannot do that
  in the middle of code, only after a "{". :)

------------------------------------------------------------------------
r1996 | broken | 2004-01-24 06:10:34 +0100 (Sat, 24 Jan 2004) | 3 lines

* Fixed an incorrect hotkey label in the 3D view menus
and toolbox

------------------------------------------------------------------------
r1995 | broken | 2004-01-24 06:08:11 +0100 (Sat, 24 Jan 2004) | 2 lines

* Small tweaks to the default theme's colours

------------------------------------------------------------------------
r1994 | broken | 2004-01-24 06:06:12 +0100 (Sat, 24 Jan 2004) | 11 lines

* Preferences for displaying the grid floor, X axis, Y axis,
Z axis. (ported from tuhopuu2)

Controls are found in the 3D View Properties panel (with
the rest of the grid settings). This is more flexible for
people like me who hate the grid getting in the way when
modelling - turning off the grid floor and turning on the Z
axis gives a setup like in Wings 3D or Clay.

* Cleaned up the 3D View Properties and Background Image panel's layout while I was adding the new buttons (including change over to UiDefButBit).

------------------------------------------------------------------------
r1993 | ton | 2004-01-23 23:33:33 +0100 (Fri, 23 Jan 2004) | 8 lines

- when not F10->"Ray" option is set, materials with "Ray Transp" will
  render solid now (no alpha).
- This gives nicer previews, but also makes envmaps look better, since
  environment maps are rendered without raytracing
- I decided not to raytrace envmaps mainly because of speed... if you use
  environment maps you want something quick... otherwise just use ray_mir
  material here!

------------------------------------------------------------------------
r1992 | ton | 2004-01-23 23:03:42 +0100 (Fri, 23 Jan 2004) | 3 lines

- forgot to commit this file for fix several days ago which fixed
  only_shadow rendering...

------------------------------------------------------------------------
r1991 | ton | 2004-01-23 22:58:19 +0100 (Fri, 23 Jan 2004) | 7 lines

- another fix for incorrect Osa vectors during tracing... I've now solved
  it by precalculating all needed Osa vectors when rendering glass, this
  because it is unpredictable what is exactly going to be needed after.
- a hint that this should be done better is in the code... will mostly
  improve sharpness and a bit rendertime though
(thanks bugmaster intrr!)

------------------------------------------------------------------------
r1990 | ton | 2004-01-23 21:54:26 +0100 (Fri, 23 Jan 2004) | 3 lines

- when pulldown menus get flipped, the arrow keys were not behaving OK.
  also added that left/right arrow is handled, to prevent weird redraw.

------------------------------------------------------------------------
r1989 | ianwill | 2004-01-23 20:24:45 +0100 (Fri, 23 Jan 2004) | 17 lines

Blender's debug mode only worked on startup:
- G.f's G_DEBUG flag was being erased in blenkernel/intern/blender.c's
  setup_app_data:

G.f= bfd->globalf

// added a line above it to fix this:

if (G.f & G_DEBUG) bfd->globalf |=G_DEBUG;
G.f= bfd->globalf;

BPython:
- debug info now only shown if Blender is started with '-d' option
- added ~/.blender/scripts to modules sys.path
- added two new functions to Blender.sys: basename and splitext
- added doc for Blender.sys, updated other docs

------------------------------------------------------------------------
r1988 | ton | 2004-01-23 19:29:14 +0100 (Fri, 23 Jan 2004) | 5 lines

- fix for raytrace render; when you render ray_transp material, it didn't
  recalculate the O.dxno and O.dyno for each pixel. This causes scanline
  errors (stripes) when in same scanline something else is called that
  calculates O.dxno/dyno...

------------------------------------------------------------------------
r1987 | phase | 2004-01-23 17:02:10 +0100 (Fri, 23 Jan 2004) | 3 lines

#ifdef INTERNATIONAL fix for usiblender.c
thankyou Todd Koeckeritz.

------------------------------------------------------------------------
r1986 | zuster | 2004-01-23 15:19:44 +0100 (Fri, 23 Jan 2004) | 6 lines

 - FTF_TTFont didn't initialize fontm,fontl,fonts to NULL, leads to
    possible bad free
 - FTF_Api.cpp used static C++ object, hard to understand and icky,
    was probably source of phase4's crashes, replaced with dynamically
    allocated object and added FTF_End to free it and sensible time.

------------------------------------------------------------------------
r1985 | ianwill | 2004-01-23 03:59:54 +0100 (Fri, 23 Jan 2004) | 12 lines

BPython:
- local tentative fix for BLI_gethome(), which returns '.blender' appended only
    on some Windows systems.  Created bpymenu_gethome() to check and
    add '.blender' if needed.
- changed name: .Bpymenus to Bpymenus as suggested by GSR
- trivial additions:
    Object module: added methods .set/getSize
    Armature/Bone module: bone.set???() methods now accept both n
    floats or a list of n floats: fff or (fff).  All these additions were requested
    by user Carlos Lopez (Klopes).
- New doc: for module Registry.

------------------------------------------------------------------------
r1984 | hos | 2004-01-23 03:25:51 +0100 (Fri, 23 Jan 2004) | 3 lines

Bug Fix: bones get updated after using NKEY in pose mode (not really
useful, but anyways ...).

------------------------------------------------------------------------
r1983 | hos | 2004-01-23 03:10:36 +0100 (Fri, 23 Jan 2004) | 4 lines

Bug fix: meshes deformed by armatures were not getting updated
when rendering an animation, i.e., the deformation was delayed.
Please test by rendering any animations you have that involve armatures.

------------------------------------------------------------------------
r1982 | sirdude | 2004-01-22 16:45:42 +0100 (Thu, 22 Jan 2004) | 12 lines



I modified it so that the particles on a face's position are affected
by the seed variable.  Requested by S68.

Basically they move slightly when you change the seed.  Might be
a good idea to split this up so there are two seed options in a
particle effect, however there are already quite a bit of them so I opted
for this.

Kent

------------------------------------------------------------------------
r1981 | ton | 2004-01-22 13:59:46 +0100 (Thu, 22 Jan 2004) | 3 lines

- increased max targa size to 8192x8192
  was done before by Phase in tuho1, and no error found...

------------------------------------------------------------------------
r1980 | ton | 2004-01-22 13:14:21 +0100 (Thu, 22 Jan 2004) | 6 lines

- added clipping value for spothalo rendering. Unified render doesn't like
  alpha>1.0, the 'threshold' calculation in vanillaRenderPipe.c then works
  wrong... not sure if this should be fixed there.
- for now, the spothalo render function itself clips.
- again; thanks to horrible intrr test scene! :P

------------------------------------------------------------------------
r1979 | ton | 2004-01-22 12:15:28 +0100 (Thu, 22 Jan 2004) | 5 lines

- fix for specularity calculus. Because of new area lamps and new ray-shadow
  some tests where moved around, causing specularity being calculared when
  light actually shines behind a face.
  Thanks inttr for the (horrible!) test scene that showed it. :)

------------------------------------------------------------------------
r1978 | goofster | 2004-01-21 22:45:38 +0100 (Wed, 21 Jan 2004) | 24 lines

New loopcut version. much praise goes to Johnny Matthews who implemented precision cutting.

new features:

- after choosing a loop to cut you go into a second mode that lets you choose where exactly on the edge you want to cut.
the placement is in percentages, so 0% is one side of the edge, and 100% is the other side.

- holding CTRL snaps the placement to whole percentages. 1.00 instead of the standard 0.01 of a percentage.

- Pressing S while you place the cut turns on Smooth-subdivide for the cut (or as I like to call it: Loopcutsubdividesmooth :)

- the percentages and the ON/OFF for smooth cut can be seen in the view3D header.

fixes:

- loop takes into account hidden vertices, this solves bug #895.
- Cutpreviews are drawn correctly for triangular faces.
- renamed the function from loop -> loopoperations. I'm sure someone has a problem with the new name too, but BLAH! :D
- the parameters for the function are defines. loopoperations(LOOP_CUT) cuts, and loopoperation(LOOP_SELECT) selects (duh). this is changes in all the places the function gets called.

if people find new bugs, feel free to yell! :)

Roel

------------------------------------------------------------------------
r1977 | goofster | 2004-01-21 22:06:19 +0100 (Wed, 21 Jan 2004) | 2 lines

findnearestedge() ignored hidden vertices. both vertices of the edge should be non-hidden and at least 1 of them should be on-screen (visible in the 3D viewport)

------------------------------------------------------------------------
r1976 | goofster | 2004-01-21 21:57:29 +0100 (Wed, 21 Jan 2004) | 5 lines

some MSVC cleanup.

- removed DNA_script_types from makesdna project.
- fixed a few errors in the projectsettings of the yafray project...it's a wonder people actually got it to compile.

------------------------------------------------------------------------
r1975 | ton | 2004-01-21 21:52:31 +0100 (Wed, 21 Jan 2004) | 5 lines

- fix for bug #903
  this was an error as reported more, with horizontal lines in raytraced
  renderings. It appeared to be an Osa struct being not reset to zero
  for normals... only happens when using bumpmapping.

------------------------------------------------------------------------
r1974 | jiri | 2004-01-21 13:45:13 +0100 (Wed, 21 Jan 2004) | 3 lines


- some declaration was missing. Blender runs again at IRIX

------------------------------------------------------------------------
r1973 | jesterking | 2004-01-21 10:05:17 +0100 (Wed, 21 Jan 2004) | 3 lines

- (win32) moved the .res addition to source_files to after the first use of source_files, so the addition makes sense.
- (win32) set the path for ode_include to the prebuilt library.

------------------------------------------------------------------------
r1972 | ianwill | 2004-01-21 05:42:14 +0100 (Wed, 21 Jan 2004) | 6 lines

[this belongs to the previous commit, sorry -- had wrong selection in wincvs]
BPython:
-- fixed two small warnings in Ipo.c (variables might be used uninitialized)
-- fixed a bug reported on blender.org's python forum by Wim Van Hoydonck (aka tuinbels):
   Blender would hang if a script failed.  My fault, accidentally put a node=node->next type call outside the while loop check, so it never ended.

------------------------------------------------------------------------
r1971 | ianwill | 2004-01-21 05:38:03 +0100 (Wed, 21 Jan 2004) | 10 lines

BPython:
-- removed struct Script (DNA_script_types.h) from makesdna to blender/include/BPI_script.h
   (BPI meaning Blender Python-related external Include file).
   Had agreed with Ton that makesdna was not the proper place for it.
-- fixed two small warnings in Ipo.c (variables might be used uninitialized)
-- fixed a bug reported on blender.org's python forum by Wim Van Hoydonck (aka tuinbels):
   Blender would hang if a script failed.  My fault, accidentally put a node=node->next type call outside the while loop check, so it never ended.

With makesdna/DNA_script_types.h removed and include/BPI_script.h added, msvc projectfiles will need to be updated.  Sorry to do it now, but I promissed I'd fix this before next release.

------------------------------------------------------------------------
r1970 | rwenzlaff | 2004-01-21 02:53:56 +0100 (Wed, 21 Jan 2004) | 3 lines

	- Fixed Displacement Hollow vs. Solid problem. Test for flipped
	normals was commented out.

------------------------------------------------------------------------
r1969 | michel | 2004-01-20 21:28:39 +0100 (Tue, 20 Jan 2004) | 10 lines

SCons updates: (All done by jesterKing)
* Windows .exe file now includes the blender icon.
* Builds with game engine on Windows only.
  I tried building the game engine on Linux, but I get weird errors when
  building with ode. There's a dirty #include path in
  Physics/BlOde/OdePhysicsEnvironment.cpp (../ode/src/joint.h). gcc doesn't
  like this somehow.
* Other platforms need to add a couple of flags to the SConstruct:
  use_sumo, use_ode, solid_include and ode_include

------------------------------------------------------------------------
r1968 | hos | 2004-01-20 06:12:42 +0100 (Tue, 20 Jan 2004) | 3 lines

Fixed the "bones on invisible layers, that are constrained to objects on
visible layers, don't move during transform()" bug.

------------------------------------------------------------------------
r1967 | ianwill | 2004-01-20 05:57:47 +0100 (Tue, 20 Jan 2004) | 12 lines

Scripts in menus:
- now the file .Bpymenus is in ~/.blender/, please delete the old one
- both ~/.blender/scripts/ and (if set) user pref scripts dir are scanned for scripts
- 2 scripts of the same group with the same name, one in each dir: user pref overwrites the other's entry
- fixed the problem with trailing backslash, was my fault (used NULL instead of "/" for relbase in BLI_make_file_string
- slightly changed msgs to be less verbose and parsing to be more forgiving
- if a script registers with a wrong group, 'Misc' is used instead
- 'Blender' tag is now checked, gives a warning (notice) msg if script is newer than Blender program

Blender.NMesh module and doc:
- added vertex.sel var to get/set selection state of vertex.

------------------------------------------------------------------------
r1966 | jandro | 2004-01-19 19:44:06 +0100 (Mon, 19 Jan 2004) | 2 lines

Added missing headers for unix systems

------------------------------------------------------------------------
r1965 | jandro | 2004-01-19 19:36:53 +0100 (Mon, 19 Jan 2004) | 2 lines

Error checking in system call.

------------------------------------------------------------------------
r1964 | theeth | 2004-01-19 17:33:06 +0100 (Mon, 19 Jan 2004) | 7 lines

Text Editor hotkeys fixing (Bug #904 http://projects.blender.org/tracker/index.php?func=detail&aid=904&group_id=9&atid=125 )
The real hotkeys didn't match the ones written in the menus.

I made the hotkey match the menu entry (I could have done the other way around, but the hotkeys in the menu were more consistant and logical than the real ones).

Also started cleaning hotkey management in this file. The even is splitted in two switch with some events being catched in both. This creates some strange double event catching sometimes. I'll be fixing that this afternoon (school time now).

------------------------------------------------------------------------
r1963 | jandro | 2004-01-19 16:32:16 +0100 (Mon, 19 Jan 2004) | 3 lines

Search for yafray path under unix like systems (using expected paths).
Should fix OS X problems with executing yafray.

------------------------------------------------------------------------
r1962 | guignot | 2004-01-19 11:52:07 +0100 (Mon, 19 Jan 2004) | 2 lines

moved  a local variable declaration, which crashed MSVC... Picky compiler...

------------------------------------------------------------------------
r1961 | guignot | 2004-01-19 00:43:23 +0100 (Mon, 19 Jan 2004) | 2 lines

fixed a bug in addCurve function. The semantics has not been changed. Tkx to jms for pointing it.

------------------------------------------------------------------------
r1960 | eeshlo | 2004-01-18 21:00:17 +0100 (Sun, 18 Jan 2004) | 3 lines

corrected particle object dupliverts and aramature duplivert export problems
corrected power slider increment update

------------------------------------------------------------------------
r1959 | zuster | 2004-01-18 19:14:15 +0100 (Sun, 18 Jan 2004) | 4 lines

 - spelled catmull's name right ;)
 - bug fix, rebuild displist after decimation apply
 - bug fix, decimation was not freeing deform weights

------------------------------------------------------------------------
r1958 | zuster | 2004-01-18 19:04:58 +0100 (Sun, 18 Jan 2004) | 3 lines

 - bug fix, access thru null displist (rare, triggered by another bug
    where mesh displist isn't rebuilt)

------------------------------------------------------------------------
r1957 | rwenzlaff | 2004-01-18 18:17:44 +0100 (Sun, 18 Jan 2004) | 4 lines

	- Made dispfact for new mtex default to 0.2.
	- Fine tunes scaleing of Nor channel to better match intensity chan.
	- removed last debug printf.

------------------------------------------------------------------------
r1956 | theeth | 2004-01-18 17:55:07 +0100 (Sun, 18 Jan 2004) | 4 lines

Drawing a line to show where the area lights are heading.

Feel free to make better.

------------------------------------------------------------------------
r1955 | ianwill | 2004-01-18 16:08:02 +0100 (Sun, 18 Jan 2004) | 11 lines

Script menus:
-- trying a different approach to see if the crash on Windows goes away.

Running a script with PyRun_File -- a Python/C API function -- was probably
the cause for crashes on Windows, because it uses a pointer to a FILE
struct and on windows this struct can be "different and incompatible"
depending on which libc was used to build the program.  This is mentioned in
the Python/C API Ref Manual, chapter 2.

Now we're loading the file contents to a string buffer and using PyRun_String.

------------------------------------------------------------------------
r1954 | hos | 2004-01-17 19:40:22 +0100 (Sat, 17 Jan 2004) | 4 lines

When renaming a bone in editmode, make sure the name of the pose channel
for the bone is also updated (and hence ensure that the constraints are
still valid).

------------------------------------------------------------------------
r1953 | ton | 2004-01-17 18:12:05 +0100 (Sat, 17 Jan 2004) | 3 lines

- Add new scene, and choose "Full Copy", didn't create a new Ipo for a
  Camera block; it remained linked to 2 camera's. Fixed!

------------------------------------------------------------------------
r1952 | ton | 2004-01-17 17:01:51 +0100 (Sat, 17 Jan 2004) | 6 lines

- ray shadow now also does the options:
  - Lamp only shadow (use 'energy' to control amount that gets subtracted)
  - Material only shadow (remember, is an alpha trick)
- demo files for this have been included in testing suite, will be
  upgraded soon.

------------------------------------------------------------------------
r1951 | ton | 2004-01-17 14:54:21 +0100 (Sat, 17 Jan 2004) | 4 lines

- updated stringlenght for animated texture images in Texture. It used
  only the define FILE_MAXFILE, which should be added with FILE_MAXDIR.
- one day these defines should be made more clear, uh!

------------------------------------------------------------------------
r1950 | ton | 2004-01-17 14:24:09 +0100 (Sat, 17 Jan 2004) | 4 lines

- removed ugly code, that used sprintf with an input string identical to
  output string. Seems to be a reason for windows versions to crash,
  sometimes.

------------------------------------------------------------------------
r1949 | ton | 2004-01-17 14:15:19 +0100 (Sat, 17 Jan 2004) | 2 lines

- fix for drawing lamp name in 3d window at correct location.

------------------------------------------------------------------------
r1948 | ton | 2004-01-17 13:54:11 +0100 (Sat, 17 Jan 2004) | 4 lines

- fix for error in 2.31 release! in editmode, ctrl+rightmouse didnt allow
  selection of other objects, for vertex parenting.
  I added comments to the call to remind.

------------------------------------------------------------------------
r1947 | broken | 2004-01-17 06:51:06 +0100 (Sat, 17 Jan 2004) | 6 lines

* Fixed some non-working toolbox entries (Thanks William Reynish for the report)

* Added animation playback menu items to IPO, Sequencer, Sound menus

* Added hotkey descriptions to more items in the 3D View menus

------------------------------------------------------------------------
r1946 | ianwill | 2004-01-17 00:40:14 +0100 (Sat, 17 Jan 2004) | 11 lines

Scripts menus:
-- added re-eval entry to Scripts Win -> Scripts menu
-- added it also as a button at Info Win -> File Paths, Python path
-- updated bpymenus code:
    added 'Blender' tag, for version;
    made a .Bpymenus file be written only if there's actual data to save
    made file->export menu open a scriptspace only if none is available already
-- bug fixes (bugs 866 and 879, related) for linking and sharing mesh data:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=866&group_id=9
http://projects.blender.org/tracker/?func=detail&atid=125&aid=879&group_id=9

------------------------------------------------------------------------
r1945 | ton | 2004-01-16 22:16:09 +0100 (Fri, 16 Jan 2004) | 3 lines

- pressing Enter key on numbutton increases/decreases again.
- added displist.h for proper prototype in previous commit

------------------------------------------------------------------------
r1944 | ton | 2004-01-16 20:30:25 +0100 (Fri, 16 Jan 2004) | 7 lines

two fixes:

- while Faceselect mode on Subsurf, it didnt render the changes. this was
  because the displaylist wasnt updated (the 3d window shows original mesh)
- added proper redraw event for F10-sound buttons when you add a new sound.
  somehow sound doesnt play anymore here... have to check further.

------------------------------------------------------------------------
r1943 | phase | 2004-01-16 15:50:22 +0100 (Fri, 16 Jan 2004) | 2 lines

Comes with previous commit. Allow linedist setting smaller than 1.0.

------------------------------------------------------------------------
r1942 | phase | 2004-01-16 13:49:43 +0100 (Fri, 16 Jan 2004) | 5 lines

Corrected the line distance behaviour for Text objects.

The font vectordata is scaled on load, so the character size will fit between the default (1.0) linedist.
Warning: this might change the font size in older blend files. (read: breaks backward compatibility)

------------------------------------------------------------------------
r1941 | ascotan | 2004-01-16 02:19:36 +0100 (Fri, 16 Jan 2004) | 2 lines

-reimplement OB_Surf support for curves

------------------------------------------------------------------------
r1940 | phase | 2004-01-15 21:34:54 +0100 (Thu, 15 Jan 2004) | 3 lines

Changed the Font editing panel so it displays the Postscript name of the font.
Also supplied tooltip information for the buttons in the Font panel.

------------------------------------------------------------------------
r1939 | jandro | 2004-01-15 18:01:02 +0100 (Thu, 15 Jan 2004) | 3 lines

Gradient button is back and now there are controls to export bias and
raydepth to yafray. Plus some minor fixes

------------------------------------------------------------------------
r1938 | ascotan | 2004-01-15 13:55:41 +0100 (Thu, 15 Jan 2004) | 4 lines

-bug fixes for materials updating - BalaGi found these bugs
- NMesh.c added support for materials updating while converting a python NMesh to a Mesh object
- Object.c added support for materials updating in Link() and shareFrom() when two objects share a mesh linked to a material

------------------------------------------------------------------------
r1937 | rwenzlaff | 2004-01-15 05:06:24 +0100 (Thu, 15 Jan 2004) | 12 lines

	- Separates displace from Var slider.  Added Disp Slider to
	  control how the intensity channel affects displacement.  Nor
	  slider still controls how Nor channel affects displacement.

	- Scaled Nor displacement to make Nor slider more usable.

	- Removed Data scale from displacement routines.  Made
	  sliders unusable for objects scaled in editmode.  Displacement
	  now relative to unit sized object.  Displace still tracks
	  with object scale, so scale out of editmode if you want a
	  large object with deep displacement.

------------------------------------------------------------------------
r1936 | ianwill | 2004-01-15 04:46:47 +0100 (Thu, 15 Jan 2004) | 3 lines

BPython:
- some fixes for menu and error reporting code.

------------------------------------------------------------------------
r1935 | goofster | 2004-01-15 00:04:09 +0100 (Thu, 15 Jan 2004) | 2 lines

Object > Copy Attributes menu items crashed my system if there weren't any objects selected and active. found a if(ob=OBACT) block that caused it. aparently assigment in if statements doesn't always go to well.

------------------------------------------------------------------------
r1934 | goofster | 2004-01-14 22:48:56 +0100 (Wed, 14 Jan 2004) | 2 lines

added python script files to MSVC 6.0 projectfiles and changed snprintf to PyOS_snprintf

------------------------------------------------------------------------
r1933 | ianwill | 2004-01-14 22:36:10 +0100 (Wed, 14 Jan 2004) | 10 lines

Scripts in menus:
-- this finishes the heavier part (not counting tweaks and possible bugs) of
letting scripts be accessed from Blender menus.  Will explain more in emails
to bf and bpython lists, but just check
source/blender/python/BPY_menus.[hc] and
source/blender/src/header_info.c and header_script.c for details.

Scripts need a small update (registering info, basically a header) to be used.
Scripts dir (user pref file paths: Python) must be set.

------------------------------------------------------------------------
r1932 | ton | 2004-01-14 21:13:41 +0100 (Wed, 14 Jan 2004) | 5 lines

- fix for speedup raytracing, which gave errors in very simple scenes
  (1 lamp, shadow). The 'coherence' check gets reset now for each new
  pixel rendered, which remains efficient for oversampling.
- small cleanups in code, prototype added, less globals.

------------------------------------------------------------------------
r1931 | ton | 2004-01-14 21:11:42 +0100 (Wed, 14 Jan 2004) | 3 lines

- preview render cube was too small, increased size a bit
- preview render sphere and cube had texture upside down

------------------------------------------------------------------------
r1930 | jandro | 2004-01-14 17:03:06 +0100 (Wed, 14 Jan 2004) | 7 lines

Just a bit of export values tunning. Should now work ok, with current
yafray CVS version using photons.
Last image got:
http://www.coala.uniovi.es/~jandro/noname/images/fromblender3.jpg
which you can compare with old:
http://www.coala.uniovi.es/~jandro/noname/images/causfromblender.jpg

------------------------------------------------------------------------
r1929 | broken | 2004-01-14 17:00:56 +0100 (Wed, 14 Jan 2004) | 4 lines

* Also fixed the same problem as before in editobject.c

* Cleaned up some stupid warnings I sleepily brought in the last commit. Argh!

------------------------------------------------------------------------
r1928 | broken | 2004-01-14 16:51:37 +0100 (Wed, 14 Jan 2004) | 2 lines

* Bug fix in view3d menus - wasn't checking a pointer's initialisation strictly enough.

------------------------------------------------------------------------
r1927 | theeth | 2004-01-14 16:41:49 +0100 (Wed, 14 Jan 2004) | 2 lines

Set cursor calls for the bevel function. Making sure the hourglass (waiting cursor) is not displayed when we don't want it to.

------------------------------------------------------------------------
r1926 | ton | 2004-01-14 15:47:41 +0100 (Wed, 14 Jan 2004) | 4 lines

- code that limited zooming in and zooming out for spaces like sequencer,
  audiotimeline, etc. was accidentally removed in 2.30 UI makeover. put
  it back. fixes report in tracker from Cessen, thnx!

------------------------------------------------------------------------
r1925 | ton | 2004-01-14 15:30:59 +0100 (Wed, 14 Jan 2004) | 5 lines

 fix for tracker report on crashing border render in unified render.
 it is related to the fix for 2.31, wich disabled hackish feature of
 inserting the previous render outside border. i forgot the unified has
 this code entirely duplicated, something to get rid of one day...

------------------------------------------------------------------------
r1924 | rwenzlaff | 2004-01-14 14:18:11 +0100 (Wed, 14 Jan 2004) | 2 lines

	- Correction to scale calculation on Metaballs, provided by Jiri.

------------------------------------------------------------------------
r1922 | ton | 2004-01-13 23:49:11 +0100 (Tue, 13 Jan 2004) | 8 lines

 fix for bug that caused transparant shadow change how a texture
 rendered itself. this happened when transparent shadow ray hit a face
 with same material as where ray started.

 is this understandable? i guess not! :P
 the actual fix is just a few lines, to store material locally before
 going to trace transp shadow.

------------------------------------------------------------------------
r1921 | ton | 2004-01-13 23:45:44 +0100 (Tue, 13 Jan 2004) | 5 lines

restored old clipping plane method.

Justin will come with separate option to choose for 'automatic clipping', not
based on the vd->dist value, but something smarter... needs more work.

------------------------------------------------------------------------
r1920 | goofster | 2004-01-13 21:55:59 +0100 (Tue, 13 Jan 2004) | 2 lines

Justin improved clipping at extreme zoomlevels. when you were fully zoomed in you couldn't see all the geometry (correctly).

------------------------------------------------------------------------
r1919 | jandro | 2004-01-13 17:51:35 +0100 (Tue, 13 Jan 2004) | 3 lines

Global photons export for yafray. Square arealights, spot and point can work
as emitters. Needs latest yafray code, still not in cvs.

------------------------------------------------------------------------
r1918 | ton | 2004-01-13 16:51:50 +0100 (Tue, 13 Jan 2004) | 3 lines

- commented out drawing of file->import item in pulldown menu, it is
  empty now

------------------------------------------------------------------------
r1917 | phase | 2004-01-13 15:50:45 +0100 (Tue, 13 Jan 2004) | 3 lines

Converted the Userpreference buttons to zr's new ButBit calls.
Also added USER_*  to each define located in DNA_userdef.h.

------------------------------------------------------------------------
r1916 | rwenzlaff | 2004-01-13 01:45:01 +0100 (Tue, 13 Jan 2004) | 4 lines

	- Fixed metaball boundingbox bug.  tex_space_mball() only fills in
	ob->bb, not data->bb, like tex_space_mesh() and tex_space_curve().
	Reported by Jiri Hnidek.

------------------------------------------------------------------------
r1915 | broken | 2004-01-13 01:35:11 +0100 (Tue, 13 Jan 2004) | 4 lines

* Added the 'U' hotkey in the Unwrap UVs view3d menu item. Thanks very much for the fix, Ton!

* Fixed a small bug in the toolbox (editmode transformations)

------------------------------------------------------------------------
r1914 | ton | 2004-01-12 17:51:33 +0100 (Mon, 12 Jan 2004) | 4 lines

- fix for calling 'unwrap UV' from faceselect view3d pulldown. it needed
  a 'winset' to activate window, otherwise header still active
- removed 'size' button from Magic texture, was accidentally added

------------------------------------------------------------------------
r1913 | jandro | 2004-01-12 17:46:47 +0100 (Mon, 12 Jan 2004) | 4 lines

Yafray panel splitted in two so we can add more settings.
Also preliminar square arealight export, not usable yet, will be usefull
as soon as photon export is added.

------------------------------------------------------------------------
r1912 | rwenzlaff | 2004-01-12 15:42:43 +0100 (Mon, 12 Jan 2004) | 3 lines

	-Attempted fix for flipped normal.  Solves "No V. Norm flip" problem,
	but I doubt it's the whole solution.

------------------------------------------------------------------------
r1911 | broken | 2004-01-12 14:48:26 +0100 (Mon, 12 Jan 2004) | 2 lines

Another small fix to some toolbox titles that I missed before. Woops! :/

------------------------------------------------------------------------
r1910 | broken | 2004-01-12 14:42:16 +0100 (Mon, 12 Jan 2004) | 4 lines

Fixed a couple of small typos in curve menus/toolbox.

Forgot to mention in the last big commit, thanks to William Reynish for reporting/proposing some missing menu items and nagging me to fix them :)

------------------------------------------------------------------------
r1909 | broken | 2004-01-12 14:35:37 +0100 (Mon, 12 Jan 2004) | 4 lines

Most people will have it collapsed away anyway, but...

* Changed the menu name in buttons panels from 'View' to 'Panels'. Two 'View' menus stacked above each other just looked dumb :)

------------------------------------------------------------------------
r1908 | broken | 2004-01-12 14:30:00 +0100 (Mon, 12 Jan 2004) | 20 lines

* Big menus update

Hard to describe other than by saying:

* Updates, re-thought organisation, etc based on testing
and feedback from 2.30 -> 2.31
* A *lot* of missing entries added
* Toolbox expanded, tidied and more consistent with
 pulldown menus
* A lot of functionality hidden behind secondary pupmenu()s is now exposed through arguments, so that
they can be more easily explored from the pulldowns and
toolbox.

This is the reason for the many changed files in this
commit - had to clean up editing functions. Mixing
interface code in the middle of editing functionality is not
good for menus and toolboxes. Please don't do it!

At this stage, the menu and toolbox system (at least for most window spaces) should be just about 'stable' and 'complete'. It's now up to people to keep them up to date :)

------------------------------------------------------------------------
r1907 | theeth | 2004-01-12 03:46:14 +0100 (Mon, 12 Jan 2004) | 2 lines

Mirror function: Moved push_mesh to functionality function, to truely split functionality and interface. Thanks to broken for spotting that.

------------------------------------------------------------------------
r1906 | hos | 2004-01-12 01:53:23 +0100 (Mon, 12 Jan 2004) | 4 lines

Better pose figuring: fix for the "blender's bone constraints don't work
in pose mode when you merely move the parent of a constraint subtarget"
bug.

------------------------------------------------------------------------
r1905 | ton | 2004-01-12 01:15:21 +0100 (Mon, 12 Jan 2004) | 8 lines

Historical commit... error found in DNA code! <blush>
It is just too hard to describe, just that it didnt check for changing
arrays well enough, causing contents of array textfield[] to be copied in
array text[]....

Anyhoo, this fixes the grey text, as showed up in brokens commit of
saturday. Thanks Matt! :)

------------------------------------------------------------------------
r1904 | ton | 2004-01-11 23:15:24 +0100 (Sun, 11 Jan 2004) | 6 lines

- fix for cubemap, rendered without render face available.
  currently only for preview render and displaylist. It then uses the
  provided texture coordinate itself...
  Solution is not perfect... disadvantage of not having globals! then
  you have to fix all mess! :)

------------------------------------------------------------------------
r1903 | ton | 2004-01-11 21:58:12 +0100 (Sun, 11 Jan 2004) | 4 lines

- tex->nor was not reset to zero for lamp texture. this caused weird thing
  to happen when you use lamp textures with material textures.
  Bug provided by aphex, thanks!

------------------------------------------------------------------------
r1902 | rwenzlaff | 2004-01-11 20:53:20 +0100 (Sun, 11 Jan 2004) | 3 lines

	- Normalized normal vector after perterbing normals to stop
	  artifacts in displace preview.

------------------------------------------------------------------------
r1901 | goofster | 2004-01-11 18:22:14 +0100 (Sun, 11 Jan 2004) | 2 lines

oops, slip of the keyboard.

------------------------------------------------------------------------
r1900 | goofster | 2004-01-11 18:12:39 +0100 (Sun, 11 Jan 2004) | 2 lines

Clean up of edge select code. found some useless loops..

------------------------------------------------------------------------
r1899 | rwenzlaff | 2004-01-11 17:20:49 +0100 (Sun, 11 Jan 2004) | 3 lines

	- Potential future bug in simple subsurf (used & when should be ==).
	- out of date comment in Displace code.

------------------------------------------------------------------------
r1898 | theeth | 2004-01-11 16:48:32 +0100 (Sun, 11 Jan 2004) | 2 lines

Fixed headerprint for wrap transform. It wasn't consistent with the rest.

------------------------------------------------------------------------
r1897 | phase | 2004-01-11 12:56:08 +0100 (Sun, 11 Jan 2004) | 3 lines

Applied Daniel Fairhead's correction for a correct functioning DELKEY in text input buttons.
(thanks again !)

------------------------------------------------------------------------
r1896 | rwenzlaff | 2004-01-11 01:39:17 +0100 (Sun, 11 Jan 2004) | 2 lines

	- Better fake for displace preview.

------------------------------------------------------------------------
r1895 | rwenzlaff | 2004-01-11 00:00:52 +0100 (Sun, 11 Jan 2004) | 3 lines

	- Displacement now allows use of either Var or Nor slider.  Nor uses
	  texture's Nor channel, Var uses intensity channel.

------------------------------------------------------------------------
r1894 | goofster | 2004-01-10 21:52:59 +0100 (Sat, 10 Jan 2004) | 2 lines

Bugfix: [ #857 ] Select/Desel vertex groups doesn't update vertex count in headerbar

------------------------------------------------------------------------
r1893 | goofster | 2004-01-10 21:26:38 +0100 (Sat, 10 Jan 2004) | 2 lines

Bugfix: [ #840 ] ALT-M causes memory leak

------------------------------------------------------------------------
r1892 | rwenzlaff | 2004-01-10 19:49:11 +0100 (Sat, 10 Jan 2004) | 4 lines

	- Added ""fake" preview for displacement.  Preview does not
	  use renderfaces so real preview will have to wait for preview
	  overhaul.

------------------------------------------------------------------------
r1891 | jandro | 2004-01-10 15:14:14 +0100 (Sat, 10 Jan 2004) | 2 lines

Fixed unresolved symbol bprogname under win32

------------------------------------------------------------------------
r1890 | goofster | 2004-01-10 14:42:35 +0100 (Sat, 10 Jan 2004) | 2 lines

added bmp.c and the new yafray files to the MSVC projectfiles

------------------------------------------------------------------------
r1889 | broken | 2004-01-10 14:41:03 +0100 (Sat, 10 Jan 2004) | 4 lines

* Fixed a silly problem when changing the colours of the 'Neutral' button theme entry (which changed both the outline of buttons and various other grey buttons). Added a new theme colour 'Outline' and left 'Neutral' to remain, well, neutral.

Thanks Desoto for the report.

------------------------------------------------------------------------
r1888 | ton | 2004-01-10 13:41:47 +0100 (Sat, 10 Jan 2004) | 7 lines

Improved method to calculate normals for procedural textures such as
Marble, wood, clouds. Instead of the retarded (but faster :) old method
it now derives the normal based on displacement of a 'nabla' vector;
sampling the texture additionally with three little offsets in x, y and z.

Code provided by Eeshlo, and gratefully accepted!

------------------------------------------------------------------------
r1887 | broken | 2004-01-10 12:19:05 +0100 (Sat, 10 Jan 2004) | 4 lines

* Added butspace and sound menus. That's all of them now, phew.

* Very small tweaks to Sequence and Ipo menus

------------------------------------------------------------------------
r1886 | rwenzlaff | 2004-01-10 02:22:07 +0100 (Sat, 10 Jan 2004) | 4 lines

       -Changed "Simple" button to pulldown menu or subsurf type.
	Paves way for additional subsurf types, and avoids confusion
	where Simple is on, but Subsurf is off.

------------------------------------------------------------------------
r1885 | sirdude | 2004-01-10 00:03:22 +0100 (Sat, 10 Jan 2004) | 6 lines



Eduardo's movement of SoundSystem patch to autoconf files.

Kent

------------------------------------------------------------------------
r1884 | sirdude | 2004-01-09 23:04:08 +0100 (Fri, 09 Jan 2004) | 11 lines



Added support for outputting bmp's
The padding is slightly messed up, so it produces somewhat trunkcated images
however it works.  I'll try and fix it later but I have to go home now.
Its atleast usable at this stage.

I moved bmp_decode.c to bmp.c and cleaned it up a little bit.

Kent

------------------------------------------------------------------------
r1883 | jandro | 2004-01-09 22:15:08 +0100 (Fri, 09 Jan 2004) | 2 lines

Eeshlo's fix for the unit problem with texture paths exporting to yafray

------------------------------------------------------------------------
r1882 | ton | 2004-01-09 21:52:44 +0100 (Fri, 09 Jan 2004) | 6 lines

- Merged conversion to renderfaces for mesh and subsurfs.
  This fixes bug in wrong flipping of normals during render in some cases
  too. Most important, it also allows autosmooth and halos now with subsurf.
  Particles do work, but still use the original geometry.
- I only coded 4 bytes of this, rest is from master zr!

------------------------------------------------------------------------
r1881 | larstiq | 2004-01-09 12:13:58 +0100 (Fri, 09 Jan 2004) | 5 lines

- Introduce use_precomp on Darwin to decide wether to use precompiled
  libraries/headers from lib, or use the system libraries.

  At the moment just use sdl-config output for SDL.

------------------------------------------------------------------------
r1880 | jandro | 2004-01-09 09:31:23 +0100 (Fri, 09 Jan 2004) | 4 lines


From Eeshlo: fixed bug with dupliverted lamps not exporting. Also now it
skips envmaps, octree and radiosity when yafray is enabled.

------------------------------------------------------------------------
r1879 | rwenzlaff | 2004-01-09 05:16:16 +0100 (Fri, 09 Jan 2004) | 2 lines

	- Removed some out-of-date comments in Displacement.

------------------------------------------------------------------------
r1878 | rwenzlaff | 2004-01-09 04:57:14 +0100 (Fri, 09 Jan 2004) | 7 lines

	- Displacement scalling.  Displacement now handles sizex/y/z of object
	properly, and uses the AutoTexSpace button to see if the size of the
	data needs to be adjusted for.

	- Scale now split to x/y/z components.  Not sure if this is the most.
	logical way to do it.  Will have to reconsider later.

------------------------------------------------------------------------
r1877 | larstiq | 2004-01-09 00:57:57 +0100 (Fri, 09 Jan 2004) | 2 lines

- Add new yafray files to SConscript

------------------------------------------------------------------------
r1876 | jandro | 2004-01-09 00:12:56 +0100 (Fri, 09 Jan 2004) | 4 lines


Code reorganization to allow a clean export to plugin alternative for
yafray

------------------------------------------------------------------------
r1875 | zuster | 2004-01-08 21:08:27 +0100 (Thu, 08 Jan 2004) | 3 lines

 - added displist option to 10-timer (ctrl-alt-t), runs makedisplist
    on current option (for timing subsurf stuff).

------------------------------------------------------------------------
r1874 | zuster | 2004-01-08 20:53:19 +0100 (Thu, 08 Jan 2004) | 23 lines

 - committed new uiDef{Icon,IconText,}ButBit? functions
 - change object draw flag buttons to use new functions (just an example)

 While I probably wouldn't recommend patching other buttons to use the new
functions a week before release, it is a good (simple but tedious) project
to complete. Note that some code actually defined the constants for the
bit index, when such code is fixed the _BIT constant should be removed from
the headers.

Example:
DNA_constraint_types.h:
#define CONSTRAINT_DISABLE		0x00000004
#define CONSTRAINT_DISABLE_BIT	2

buttons_object.c:
uiDefIconButS(block, ICONTOG|BIT|CONSTRAINT_EXPAND_BIT, ...);

The button definition should change to:
uiDefIconButBitS(block, ICONTOG, CONSTRAINT_EXPAND, ...);

(whats that, the more correct way uses less typing, GOOD GOD!)
and the CONSTRAINT_DISABLE_BIT define should be removed.

------------------------------------------------------------------------
r1873 | sgefant | 2004-01-08 17:28:45 +0100 (Thu, 08 Jan 2004) | 3 lines

some cosmetic changes to make the compiler shut up when building with scons
on os x

------------------------------------------------------------------------
r1872 | sgefant | 2004-01-08 17:26:30 +0100 (Thu, 08 Jan 2004) | 4 lines

fix (?) for compiling with quicktime support on some versions of os x
with some versions of gcc (aka. the nasty ID problem). see also
http://www.blender.org/pipermail/bf-committers/2003-November/004660.html

------------------------------------------------------------------------
r1871 | sgefant | 2004-01-08 17:14:09 +0100 (Thu, 08 Jan 2004) | 6 lines

fix building with quicktime support on os x.
some platform specific sections had link_env.Append(CPPDEFINES=defines)
(darwin was not one of them). I moved that line to the global part of
SConstruct and added "defines = []" to the platforms that didn't have
it (sunos and hp-ux). I hope I didn't break anything...

------------------------------------------------------------------------
r1870 | rwenzlaff | 2004-01-08 15:19:25 +0100 (Thu, 08 Jan 2004) | 3 lines

	- Corrected scale factor to be independant of object
	rotation.  (Still not right, but better).

------------------------------------------------------------------------
r1869 | jandro | 2004-01-08 12:42:40 +0100 (Thu, 08 Jan 2004) | 10 lines


Added export for caustic settings based on the raytrans values. And settings
for casting them from GI (pathlight). A new contro "caus depth" in the panel
controls the maximun number of bounces going through objects.

Now images like this:
http://www.coala.uniovi.es/~jandro/noname/images/causfromblender.jpg
are possible with scenes like this:
http://www.coala.uniovi.es/~jandro/noname/examples/exp_test2.blend

------------------------------------------------------------------------
r1868 | jesterking | 2004-01-08 10:16:19 +0100 (Thu, 08 Jan 2004) | 2 lines

- fixing a bug which can lead users to potentially resize windows such that they can't be regained anymore. Also, when removing the header from the userdefs, resizing it to 1 pixel height made it very inaccessible. This problem was reported _and_ fixed by ndh (Andreas Haferburg). Thanks!

------------------------------------------------------------------------
r1867 | jandro | 2004-01-08 09:55:21 +0100 (Thu, 08 Jan 2004) | 5 lines


From Eeshlo, also create the temporary dir inside yafray's install dir if the
user does not put a valid path on YFexport. So now all windows path problems
should be fixed, but never understimate windows.

------------------------------------------------------------------------
r1866 | zuster | 2004-01-08 05:42:29 +0100 (Thu, 08 Jan 2004) | 7 lines

 - removed duplicate flags from BKE_mesh.h
 - removed rendermesh_uses_displist (no longer relevant)
 - converted appropriate me->flag tests to using mesh_uses_displist
 - made vert and face counting (for info header) use proper counts
 - changed flip_subdivision to allow level==0 argument
 - ps. thanks for subsurf orco fix ton

------------------------------------------------------------------------
r1865 | phase | 2004-01-08 00:45:09 +0100 (Thu, 08 Jan 2004) | 2 lines

tsk, little screwup on last commit

------------------------------------------------------------------------
r1864 | jandro | 2004-01-08 00:40:19 +0100 (Thu, 08 Jan 2004) | 5 lines


Possible definitive fix for the problem of not finding yafray executable
on win32. Since yafray saves its installation path in the registry, we read it
from there and convert to a legal path for system()

------------------------------------------------------------------------
r1863 | phase | 2004-01-08 00:33:40 +0100 (Thu, 08 Jan 2004) | 9 lines

Applied Daniel Fairhead's patch for a correct working DELKEY in textinput buttons.
(thanks!)

Added a 'void' somewhere to silence a compiler warning.

(Windows only)
Moved the flip fullscreen button in the topheader a little to the right, since the
questionmark button mysteriously disappeared.

------------------------------------------------------------------------
r1862 | ton | 2004-01-07 22:46:54 +0100 (Wed, 07 Jan 2004) | 2 lines

- belongs to previous commit... forgot to save while typing comment.

------------------------------------------------------------------------
r1861 | ton | 2004-01-07 22:44:09 +0100 (Wed, 07 Jan 2004) | 8 lines

Left over work from localizing renderdata!

- when quads get split before render, the vertexcolors and texture face
  (UV) info has to be corrected as well. This happens runtime during
  render, no new data is created. The code was in previous versions, but
  with raytrace and other new features it needed a rewrite
- this now also should work for the new smart split code from robert!

------------------------------------------------------------------------
r1860 | jesterking | 2004-01-07 22:03:11 +0100 (Wed, 07 Jan 2004) | 2 lines

- [win32] now really using the directory Blender is installed in. My patch was kinda incomplete, but aphex_ (Simon) was kind enough to point out the lines to edit :)

------------------------------------------------------------------------
r1859 | ton | 2004-01-07 21:29:21 +0100 (Wed, 07 Jan 2004) | 17 lines

Fix for cube map error subsurf.

- cubemap relied on pointer to MFace, which is only available for Mesh
  when directly converted to renderfaces.
  It then checked the 'puno' flag where also bits were set to indicate
  the optimal projection for a face (XY, XZ or YZ).
- I found out the renderface also has a puno flag, so the mface pointer
  in a renderface is redundant. Is removed now
- added code in texture cubemap call, which checks on a projection flag
  in 'puno'. If not set, it uses the orco's to calculate one.
- this means, that cubemap now also works for other objects than meshes,
  provided they have an orco block while render.
- if no orco block available, it uses the 'global' projection to find which
  of the cube sides map.

I couldnt find other errors with subsurf & orco though...

------------------------------------------------------------------------
r1858 | hos | 2004-01-07 18:11:20 +0100 (Wed, 07 Jan 2004) | 7 lines

Some better pose figuring: in pose mode, when *any* parent of a
constrained bone is flagged for updating (not just an IK parent) we
should update the constrainted bone (except possibly when the
subtarget bone shares the parent). This solves the "Character doesn't
crouch when I pull his spine downward" bug reported in the testing
builds forum.

------------------------------------------------------------------------
r1857 | rwenzlaff | 2004-01-07 15:39:50 +0100 (Wed, 07 Jan 2004) | 2 lines

	- Ooops, random keystroke snuck into file between make and commit.

------------------------------------------------------------------------
r1856 | rwenzlaff | 2004-01-07 15:31:58 +0100 (Wed, 07 Jan 2004) | 2 lines

	- Added UV mapping to displacement.

------------------------------------------------------------------------
r1855 | broken | 2004-01-07 13:59:42 +0100 (Wed, 07 Jan 2004) | 6 lines

Ported from tuhopuu2:

* Added hotkeys Ctrl , (comma) to select 'median point'
pivot and Ctrl . (period) to select 'individual object
centers' pivot.

------------------------------------------------------------------------
r1854 | broken | 2004-01-07 13:26:40 +0100 (Wed, 07 Jan 2004) | 2 lines

* Added OOPS Schematic menus

------------------------------------------------------------------------
r1853 | jesterking | 2004-01-07 13:14:52 +0100 (Wed, 07 Jan 2004) | 3 lines

* Added patch by ndh (Andreas Haferburg) for the windows build.
* Added section on SCons.

------------------------------------------------------------------------
r1852 | zuster | 2004-01-07 11:17:37 +0100 (Wed, 07 Jan 2004) | 9 lines

 - removed some old cruft from init_render_displist_mesh (for smeshes-RIP)
 - reduced main subsurf interface to two functions to make DispListMesh
    structures from an editmesh or a regular mesh. for the most part this
    means that to implement a geometry modifier you only need to write
    these two functions (not very plugable yet however).
 - added displistmesh_from_mesh and displistmesh_from_editmesh functions
    which allow simple support of subdivLevel(0) subsurfs, somewhat handy
    for testing things (like why orco doesn't work for subsurf).

------------------------------------------------------------------------
r1851 | broken | 2004-01-07 08:30:29 +0100 (Wed, 07 Jan 2004) | 8 lines

Small usability fix for Knife Subdivide

* If there are no selected edges when the function's
invoked, it now gives an error message and returns.

If anyone can think of a better message, please suggest it
(or just commit it ;)

------------------------------------------------------------------------
r1850 | zuster | 2004-01-07 07:31:16 +0100 (Wed, 07 Jan 2004) | 2 lines

 - removed some cruft from old method of subsurf hiding during editmode

------------------------------------------------------------------------
r1849 | zuster | 2004-01-07 07:13:43 +0100 (Wed, 07 Jan 2004) | 3 lines

 - added BLI_ghash_size(), number of entries in table
 - added GHashIterator ADT, for iterating over GHash-tables

------------------------------------------------------------------------
r1848 | zuster | 2004-01-07 06:50:17 +0100 (Wed, 07 Jan 2004) | 4 lines

 - migrated a subsurf routine to displist.c: displistmesh_calc_vert_normals()
 - removed some vertice tweaking for subsurf->displist conversion
 - replaced stupid way of doing edcode calculation for ME_OPT_EDGES flag

------------------------------------------------------------------------
r1847 | rwenzlaff | 2004-01-07 05:10:50 +0100 (Wed, 07 Jan 2004) | 12 lines

	- Displacement now works for all object types. (However, some are only
	marginally suitable, like curves, because of relatively low renderface
	count).  Will have to thoroughly document pros and cons of each type.

	Usefullness order (greatest to least):
		CC Subsurf Meshes (Displacement likes the smooth normals)
		Simple Subsurf Meshes
		Manual subdivided meshes
		MBalls
		Surfaces (Normal errors/ hidden seams)
		Curves (Large flat areas with few renderfaces to displace).

------------------------------------------------------------------------
r1846 | jandro | 2004-01-07 00:33:25 +0100 (Wed, 07 Jan 2004) | 4 lines


Added multi-processor setting for yafray and quotes around the xml
file in the system call to avoid problems with complex paths.

------------------------------------------------------------------------
r1845 | ton | 2004-01-06 21:25:50 +0100 (Tue, 06 Jan 2004) | 7 lines

- decided to use a new variable for the new exposure option, instead of
  re-using old one. New one = 'exp'.
- at first I used the old 'exposure' value, and just mapped it to 0. this
  causes a problem with upward compatibility, old blenders then render a
  black picture. is too confusing!
- warning; exposure values saved with commit of last week will get lost.

------------------------------------------------------------------------
r1844 | jandro | 2004-01-06 21:24:33 +0100 (Tue, 06 Jan 2004) | 4 lines


improvements in the reflection/refraction exporting for yafray.
Now should be more intuitive and controlable.

------------------------------------------------------------------------
r1843 | jandro | 2004-01-06 13:28:31 +0100 (Tue, 06 Jan 2004) | 9 lines


Eeshlo fixed the iYFexport path problem and added a file selector button
for it. Now win32 users should have less problems.

I added export of the "no shadow" flag (traceable) And changed the reflection
export scheme so now blender's RayMir is used as yafray's min_refle and the
amount of reflection is controled by the mir color. This seems more intuitive.
And now IOR is exported also for reflection only, wich is needed for fresnel.

------------------------------------------------------------------------
r1842 | rwenzlaff | 2004-01-06 06:21:16 +0100 (Tue, 06 Jan 2004) | 4 lines

- Adaptive spliting of renderfaces for displacement.  Choose to split
        between verts 1-3 or 2-4 based on minimum displacement gradient.
        drastically improves smoothness with out additional subdividing.

------------------------------------------------------------------------
r1841 | ton | 2004-01-06 00:33:22 +0100 (Tue, 06 Jan 2004) | 3 lines

- displacement 'map to' channel now has three values, to allow to negate
  the effect as well.

------------------------------------------------------------------------
r1840 | ton | 2004-01-05 23:54:07 +0100 (Mon, 05 Jan 2004) | 3 lines

- belonging to previous commit... correct splitting into triangles
  when quads are not planar.

------------------------------------------------------------------------
r1839 | michel | 2004-01-05 22:30:26 +0100 (Mon, 05 Jan 2004) | 7 lines

SCons updates:
* Removed debug print in ftfont.
* Added FreeType/FTGL support to the Linux build.
  NOTE: This feature is on by default, but depends on the pre-build libraries.
  So checkout the lib directory. The lib dir should be on the same level as
  the blender dir. (In case you didn't know).

------------------------------------------------------------------------
r1838 | ton | 2004-01-05 22:18:47 +0100 (Mon, 05 Jan 2004) | 3 lines

- previewrender with mapping type "Cube" didnt show correctly.
  added fake 'face normal' for this case

------------------------------------------------------------------------
r1837 | ton | 2004-01-05 21:25:07 +0100 (Mon, 05 Jan 2004) | 17 lines

Displacement map

- changed code to make use of actual textures, not the hackish
  'externtex', which is only for tools
- added a 'displacement' vector in ShadeInput, and moved calculation of
  displacement vector to texture.c itself. So it works with stencil, but
  also for options as 'add', 'mult' and 'sub'.
- for RGB textures it uses the brightness value of color for displace
- for stucci, and plugin textures returning a normal, it uses that

- Also: wrote call in end of preparing renderfaces, to split non-flat
  quad faces in triangles. gives a lot fewer errors in displace textures,
  but also raytracing irregular subsurfs goes better now.

- texture mapping that works for displace: orco, sticky, global, obj, normal.
  UV not yet. Reflection-displace? uhh! :)

------------------------------------------------------------------------
r1836 | michel | 2004-01-05 20:39:20 +0100 (Mon, 05 Jan 2004) | 4 lines

Fix building a bundle for MacOS. (SCons related).
This is a dirty solution. Maybe when we get to understand SCons better, we can
come up with a better one. For now, it works - and that's important!

------------------------------------------------------------------------
r1834 | jesterking | 2004-01-05 19:17:23 +0100 (Mon, 05 Jan 2004) | 4 lines

- Added the SConscripts for ftfont and quicktime
- [win32] python_include was missing, there was a double python_libpath. Corrected
- [win32] the soundsystem SConscript broke the win32 build.

------------------------------------------------------------------------
r1833 | sirdude | 2004-01-05 18:42:07 +0100 (Mon, 05 Jan 2004) | 6 lines



Tweaks to get yafray stuff working with Makefiles

Kent

------------------------------------------------------------------------
r1832 | goofster | 2004-01-05 17:10:11 +0100 (Mon, 05 Jan 2004) | 2 lines

forgot to change debug target for yafray files

------------------------------------------------------------------------
r1831 | goofster | 2004-01-05 16:58:48 +0100 (Mon, 05 Jan 2004) | 5 lines

- Added projectfiles for yafray
- renamed some variables in yafray_render.cpp so msvc doesn't whine

I'm not fluent in MSVC, so I hope I don't screw up :)

------------------------------------------------------------------------
r1830 | sgefant | 2004-01-05 16:33:32 +0100 (Mon, 05 Jan 2004) | 2 lines

update scons files to build with yafray support

------------------------------------------------------------------------
r1829 | jandro | 2004-01-05 16:31:44 +0100 (Mon, 05 Jan 2004) | 4 lines


Forgot to add the object to the link list for blender in root dir for the
last yafray code movement

------------------------------------------------------------------------
r1828 | jandro | 2004-01-05 15:53:56 +0100 (Mon, 05 Jan 2004) | 8 lines


Yafray export code moved to source/blender/yafray to keep blender/src pure C
code. Now all the cpp code is in intern under yafray and the api include
file is just plain C

Also changed old include in initrender.c and updated Makefiles.am and configure.ac
so the new dirs are taken into account.

------------------------------------------------------------------------
r1827 | sgefant | 2004-01-05 15:49:52 +0100 (Mon, 05 Jan 2004) | 2 lines

don't link makesdna against libpng and friends when building with scons

------------------------------------------------------------------------
r1826 | sgefant | 2004-01-05 15:48:59 +0100 (Mon, 05 Jan 2004) | 2 lines

added yafray_Render.cpp to scons files

------------------------------------------------------------------------
r1825 | jiri | 2004-01-05 14:49:16 +0100 (Mon, 05 Jan 2004) | 4 lines


- this commit enable compile blender at IRIX again
- #include <math.h> was missing

------------------------------------------------------------------------
r1824 | rwenzlaff | 2004-01-05 09:44:49 +0100 (Mon, 05 Jan 2004) | 10 lines

-First port of Displacement mapping from tuhopuu.  Image textures not working
yet (R.vn and R.vlr no longer exist, and were needed to get the image mapped
right).  Works esp. well with Subsurfs. Sensitive to vertex normal issues
in Simple and Mesh modes.

-Also porting Simple Subdivide.  Subdivides mesh at rendertime w/o changing
shape, for smooth displace and Radiosity.

-Removed an unused var from KnifeSubdivide.

------------------------------------------------------------------------
r1823 | larstiq | 2004-01-05 01:06:11 +0100 (Mon, 05 Jan 2004) | 2 lines

- Revert to NaN makefiles

------------------------------------------------------------------------
r1822 | jandro | 2004-01-04 23:10:36 +0100 (Sun, 04 Jan 2004) | 24 lines


Basic initial yafray integration by Eeshlo.

Materials are exported the best we can do by now. It will look almost as in
blender except for the missing procedural textures and some minor issues.
You have to tweak normal modulation amount to get the desired result cause
is not the same in yafray.

We added a panel in render space to adjust some yafray settings (GI and so)

Also we export transparency and reflection using new raytracing settings,
but that will be changed and improved soon.

Remember that you have to set YFexport path in user defaults and yafray must
be on path (version 0.0.6)

We added the "yafray" button to activate all this stuff in the render window.
Panel and settings are only shown when checked.

So now when activated the code calls yafray export instead of the internal
renderer and finally the resulting image is loaded back into render window's
buffer. So animation is also possible and results can be saved using blender
usual scheme.

------------------------------------------------------------------------
r1821 | michel | 2004-01-04 22:42:01 +0100 (Sun, 04 Jan 2004) | 6 lines

Forgot to add some lines and cleanup in the makesdna/intern/SConscript file.
The makesdna tool is SDL 'aware', but I forgot to pass some crucial flags to
the build command.
While working in that file, did some cleanup to make it more consistent with
the other SConscript files.

------------------------------------------------------------------------
r1820 | ton | 2004-01-04 22:32:50 +0100 (Sun, 04 Jan 2004) | 4 lines

- oren nayar call didnt return float value... but still worked on my
  system, and gcc refuses to see it as warning. weirdos!
  this caused previewrender to show black for oren nayar.

------------------------------------------------------------------------
r1819 | michel | 2004-01-04 22:11:59 +0100 (Sun, 04 Jan 2004) | 38 lines

SCons build system files added.
You'll need SCons (www.scons.org) to build.
Platforms currently working:
* Linux (me)
  - options for quicktime, openal and international disabled
  - uses the system libs and include files for building - no option to build
    with the precompiled libraries yet.
* Windows (jesterKing)
  - builds with quicktime (optional)
  - builds with openal (optional)
  - builds with international support (optional)
  - Use the DOS box to build
  - builds with precompiled libraries
* Irix (Hos)
  - Uses default Irix compiler
  - Not all optimization levels correct yet
  - options for quicktime, openal and international disabled
  - builds with precompiled libraries
* Cygwin (me)
  - has a problem in the linking stage
  - uses free build tools (gcc)
  - options for quicktime, openal and international disabled
  - uses the system libs and include files for building - no option to build
    with the precompiled libraries yet.
* MacOS (sgefant)
  - builds with quicktime (optional)
  - options for openal and international disabled
  - builds a nice bundle
  - builds with precompiled libraries

Thanks to IanWill for a bugfix in the Linux build.
Note: This is a work in progress. A lot still has to be done - for example the
      optional parts are only to be enabled by directly setting 'true' or
      'false' in the SConstruct file. This needs to be moved to a user config
      file. Also, the .o/.obj files are stored in the source tree. This needs
      to be fixed as well.
      The game engine is not yet built.

------------------------------------------------------------------------
r1818 | hos | 2004-01-04 18:11:22 +0100 (Sun, 04 Jan 2004) | 3 lines

Fixed a problem where duplicating bones with a freshly created
armature would segfault (access to a non-existent pose).

------------------------------------------------------------------------
r1817 | ton | 2004-01-04 14:27:18 +0100 (Sun, 04 Jan 2004) | 6 lines

- changed calculus for area light to use double precision. Using float
  already gave noise with area size of 0.1.
  Limited buttons to minimum value of 0.01 for area light. For people
  who want smaller they can scale it down in 3d, effectively reducing
  the energy then as well.

------------------------------------------------------------------------
r1816 | hos | 2004-01-04 08:47:51 +0100 (Sun, 04 Jan 2004) | 3 lines

Returning the copy/paste/'paste flip' buttons to the 3D window header
while in pose mode.

------------------------------------------------------------------------
r1815 | hos | 2004-01-04 07:11:09 +0100 (Sun, 04 Jan 2004) | 3 lines

Adding a call to countall() to the select non-manifold, select more,
and select less features.

------------------------------------------------------------------------
r1814 | hos | 2004-01-04 04:39:06 +0100 (Sun, 04 Jan 2004) | 14 lines

A few related bug-fixes/refinements

  * A patch to make sure that constraints on bones that point to
    external objects are evaluated correctly (and that the bones that
    depend on these bones are evaluated correctly, etc, ad nauseum).
    This addresses some of intrr's issues (the blender-related ones,
    that is).

  * Make sure that deformed displists are updated when the user
    manipulates any of the constraint buttons.

  * Added a nice little function, ik_chain_looper(), that executes a
    callback for every bone in an IK chain.

------------------------------------------------------------------------
r1813 | zuster | 2004-01-03 23:05:26 +0100 (Sat, 03 Jan 2004) | 2 lines

 - removed dead reference to UserStruct, causing problems in some builds.

------------------------------------------------------------------------
r1812 | broken | 2004-01-03 14:44:42 +0100 (Sat, 03 Jan 2004) | 2 lines

Woops! Forgot an #include, and rude old GCC didn't even let me know.

------------------------------------------------------------------------
r1811 | broken | 2004-01-03 14:36:28 +0100 (Sat, 03 Jan 2004) | 2 lines

* Small tweaks to improve button positioning in the headers

------------------------------------------------------------------------
r1810 | broken | 2004-01-03 14:35:25 +0100 (Sat, 03 Jan 2004) | 6 lines

* Preliminary UV/Image header menus

Again, there are still a couple of commented out items that will continued to be worked on. Committed for testing, etc.

Also forgot to mention in the previous commit, thanks to Monkeyboi for some help gathering items for the UV/Image, Action, NLA menus.

------------------------------------------------------------------------
r1809 | broken | 2004-01-03 14:13:51 +0100 (Sat, 03 Jan 2004) | 4 lines

* Preliminary NLA header menus

A couple of items are still commented out in the code, that still need to be implemented. I'm committing this now, so people can test/help ;)

------------------------------------------------------------------------
r1808 | broken | 2004-01-03 10:22:33 +0100 (Sat, 03 Jan 2004) | 11 lines

* Ported mesh editmode 'select random' from tuhopuu by popular request

Description:
Mesh editmode header/toolbox: Select -> Random...

Randomly selects a user-set percentage of vertices, adding to the current selection.

* Modified some menu entries to be consistent with the guidelines doc.

* Added 'Align Active Camera to View' in 3D View menu

------------------------------------------------------------------------
r1807 | zuster | 2004-01-03 07:52:16 +0100 (Sat, 03 Jan 2004) | 3 lines

 - constline was overwriting stack (this patch brought to you by VC7's
    nifty runtime stack corruption detection).

------------------------------------------------------------------------
r1806 | hos | 2004-01-03 07:50:36 +0100 (Sat, 03 Jan 2004) | 5 lines

Duplicating bones in edit mode now also duplicates the constraints
associated with that bone ... if the constraint subtarget bone is
also duplicated the new constraint points to this new bone as it's
subtarget.

------------------------------------------------------------------------
r1805 | hos | 2004-01-03 07:27:53 +0100 (Sat, 03 Jan 2004) | 3 lines

When a bone is renamed, all constraints that point to it are
updated with the new name.

------------------------------------------------------------------------
r1804 | hos | 2004-01-03 07:01:16 +0100 (Sat, 03 Jan 2004) | 22 lines

Three new selection techniques in mesh edit mode, two of which are
controversial:

* "Select non-manifold geometry" via ctrl-alt-shift-M, or through
  the menu or toolbox. Great for troubleshooting weirdness on a
  subsurf, or for preparing a mesh for decimation or for rapid
  prototyping.

* "Select more" via ctrl-PADPLUS, or through the menu or toolbox.
  If a selected vert shares an edge with an unselected vert, the
  unselected one gets selected too. Similar to PADPLUS in wings3d.
  This is controversial because maybe it would be more useful to
  select all of the verts that share a face (instead of just an
  edge) with a selected vert -- what do *you* think?

* "Select less" via ctrl-PADMINUS, or through the menu or toolbox.
  If a selected vert shares an edge with an unselected vert, the
  selected one gets unselected too. Similar to PADMINUS in wings3d.
  Also, selected non-manifold geometry becomes unselected. This is
  controversial because of the non-manifold stuff ... is it needed?
  What do *you* think?

------------------------------------------------------------------------
r1803 | hos | 2004-01-03 06:36:56 +0100 (Sat, 03 Jan 2004) | 3 lines

Added the prototype for the bone_looper() function to this header
to silence some warnings.

------------------------------------------------------------------------
r1802 | hos | 2004-01-03 06:07:31 +0100 (Sat, 03 Jan 2004) | 6 lines

Hide selected/hide unselected/show all bones in posemode using the
usual HKEY, shift-HKEY, alt-HKEY, and also through the menu.

Thanks to malefico for the feature request, and thanks to broken
for doing the menu code.

------------------------------------------------------------------------
r1801 | hos | 2004-01-03 04:53:18 +0100 (Sat, 03 Jan 2004) | 8 lines

Armature speed ups, Part III
----------------------------

Another (major) armature speed up for bones with many constraints.

When tranform()-ing, figure out which bones need to be recalculated
beforehand and only update those bones.

------------------------------------------------------------------------
r1800 | ianwill | 2004-01-03 04:50:58 +0100 (Sat, 03 Jan 2004) | 13 lines

BPython:
- Fixed small typo in doc file Object.py, reported by user Bill.
- Fixed bug #803:

Bug #803's Summary: print, type() or BezTriple broken

Trying to print type(BezTriple) was crashing Blender because
that type wasn't being initialized to PyType_Type. The other
problem is that the getName method for ipocurves only works for
object ipos.  A warning was added for when users try to use it
with other blocktypes,  we'll later update ipo related stuff in
bpython to work for all types.

------------------------------------------------------------------------
r1799 | zuster | 2004-01-03 04:18:00 +0100 (Sat, 03 Jan 2004) | 2 lines

 - predeclared UserStruct with wrong name

------------------------------------------------------------------------
r1798 | zuster | 2004-01-03 04:11:22 +0100 (Sat, 03 Jan 2004) | 2 lines

 - more duplicate UserStruct patching

------------------------------------------------------------------------
r1797 | zuster | 2004-01-03 03:50:33 +0100 (Sat, 03 Jan 2004) | 3 lines

 - solve redefinition of UserStructType in a different way, blenkey.h
    is not good to include it would seem.

------------------------------------------------------------------------
r1796 | hos | 2004-01-03 03:13:04 +0100 (Sat, 03 Jan 2004) | 3 lines

made verify_pose_channel() return the pose channel that is either
found or created (just removed some silly duplicated work).

------------------------------------------------------------------------
r1795 | hos | 2004-01-03 02:40:53 +0100 (Sat, 03 Jan 2004) | 11 lines

Armature speed ups, Part II
---------------------------
"Delay Deform" option for armatures.

The button is under the X-ray bones button in the edit buttons.
With this armature option selected, manipulations in pose mode
will only deform children after the transformation is finished.
While hardly an optimal solution to the slow armature crisis, this
gives about 4 times speed up on some meshes (ah well, at least lets
me isolate armature vs. displist slowdowns while profiling).

------------------------------------------------------------------------
r1794 | zuster | 2004-01-03 00:35:21 +0100 (Sat, 03 Jan 2004) | 2 lines

 - update VC7 projectfiles

------------------------------------------------------------------------
r1793 | hos | 2004-01-03 00:29:34 +0100 (Sat, 03 Jan 2004) | 15 lines

Armature speed ups, Part I
--------------------------

Major speed up for armatures during times when you aren't
posing a figure.

Background: the calculation of poses generated by actions and the
calculation of displists were getting somewhat out of sync.
This was being remedied by 'clearing the constraint done flag'
of the pose channels and recalculating the displists every time
the 3d view was redrawn, making life slow and unpleasant.
Commenting out the code that was doing this, then reinserting
the 'clearing the constraint done flag' at the right times
made things a bit more perky.

------------------------------------------------------------------------
r1792 | zuster | 2004-01-03 00:15:30 +0100 (Sat, 03 Jan 2004) | 3 lines

 - BLO_keyStore.h was redeclaring UserStructType from blenkey.h, removed
    duplicate definition and include blenkey.h where needed. (VC7 patch)

------------------------------------------------------------------------
r1791 | hos | 2004-01-02 22:23:19 +0100 (Fri, 02 Jan 2004) | 3 lines

Decoded the 'do_all_actions()' function into smaller functions that are
a bit more sane and readable (actually fit in an 80 character term too).

------------------------------------------------------------------------
r1790 | hos | 2004-01-02 21:57:43 +0100 (Fri, 02 Jan 2004) | 2 lines

Fixed the goofy way the function prototypes in these files were done

------------------------------------------------------------------------
r1789 | hos | 2004-01-02 05:59:45 +0100 (Fri, 02 Jan 2004) | 3 lines

Expanding some work done by Matt Ebb to add menu's to the
action window (Matt: please check).

------------------------------------------------------------------------
r1788 | larstiq | 2004-01-02 00:19:08 +0100 (Fri, 02 Jan 2004) | 27 lines

Work done to build blender on Linux [sparc64].


extern/ode/dist/ode/test/test_ode.cpp:
- Don't include <ieeefp.h> on sparc linux, it doesn't exist.

extern/ode/Makefile:
- While hacking on ode, get rid of that annoying infinite rebuild

source/Makefile:
- Define a default BINTARGETS (just blenderdynamic) for linux, individual archs
  can override/add to that if they so please

source/nan_link.nmk:
- Add a sparc64 arch target to the linux section of nan_link.mk, using the same
  options as powerpc

After the first ode problem, the build completed all but the linking of a
blender binary, because there wasn't any target defined!

On the rebuilding: The usersettings would have a newer date than targets
depending on it, so it would rebuild entirely. I haven't really fixed this, but
isolated it to the platforms where usersettings need to be moved around (darwin
and windows). FBSD patches the usersettings, so it might still happen there.  I
didn't bother with a proper fix, as it looks like we're moving to scons soon.
I'm amazed no one got annoyed enough before to take care of this.

------------------------------------------------------------------------
r1787 | theeth | 2004-01-01 20:21:06 +0100 (Thu, 01 Jan 2004) | 6 lines

Fix a problem that has been bugging me for a while. Tracking axis by default are different for Lamp and Camera than for the rest. For the constraint, it wasn't using the correct ones for them, so obviously, it didn't track correctly by default.

Fixed by checking the object type and changing the up and track axis accordingly.

Also added some comments in the DNA file (recompiling makedna because of comments is fun!)

------------------------------------------------------------------------
r1786 | theeth | 2003-12-31 23:44:26 +0100 (Wed, 31 Dec 2003) | 8 lines

Some random small stuff packed in one commit:

- Moved a couple of undo_push_mesh after the action has been confirmed (mainly bevel, merge and mirror)

- Split mirror in two functions, interface and functionality

- Simplified the code of the merge function

------------------------------------------------------------------------
r1785 | ton | 2003-12-31 17:51:28 +0100 (Wed, 31 Dec 2003) | 2 lines

- removed Quicktime warning from buttons. Thanks for the fix Maarten!

------------------------------------------------------------------------
r1784 | maarten | 2003-12-31 16:47:09 +0100 (Wed, 31 Dec 2003) | 2 lines

Fixes the freeze on Mac OSX when a Quicktime Settings window for Compression was brought up. Blender swallowed every event, not giving Quicktime a change to receive update events and mouse clicks.

------------------------------------------------------------------------
r1783 | ton | 2003-12-31 16:45:04 +0100 (Wed, 31 Dec 2003) | 4 lines

- fixed reported bug in doing correct redraws for multiple 3d windows, and
  using vertex select. Was just caused by being to cheapskate with cpu
  cycles... but I don't give up on that!

------------------------------------------------------------------------
r1782 | ton | 2003-12-31 16:27:31 +0100 (Wed, 31 Dec 2003) | 5 lines

- added extra check for valid Material pointer array in Mesh. Someone
  reported crash with a popular Python script that apparantly doesnt
  initialize a Mesh good (setting totcol, but not creating pointer array)
  When no Material array is present, 'totcol' is set at zero now.

------------------------------------------------------------------------
r1781 | ton | 2003-12-31 14:48:45 +0100 (Wed, 31 Dec 2003) | 10 lines

- bug fix #828

  Blender crashed when assigning background image to 3d window, when no
  buttons window was visible. This caused by copying code from old location
  with still using some variables of the 'button space' struct.

  Solved by creating these variables in View3d 'space' as well, and using
  these instead. Could also remove old coder /* comment */ that there was
  a unknown bug in the code there. :)

------------------------------------------------------------------------
r1780 | hos | 2003-12-31 05:00:26 +0100 (Wed, 31 Dec 2003) | 3 lines

A fix for the missing pad1 bug: henceforth, world->pad1 shall be known as
world->gameEngine (a la tuhopuu).

------------------------------------------------------------------------
r1779 | ton | 2003-12-30 19:03:37 +0100 (Tue, 30 Dec 2003) | 25 lines

Added improved exposure calculation

- based at 1.0-exp(-color) trick in Yafray. But to guarantee backwards
  compatibility, and some more control, Stefano Selleri hacked a useful
  formula for it.
- We now have 2 values to set:
  - "exp": the exponential correction value (0-1)
  - "range": the light range that maps on color 1.0 (0-5)
- Using exp(x) (is e^x) we can much better prevent overflows from render,
  which are currently hard-clipped in Blender. Setting a small 'exp' value
  wil efficiently smooth out high energy and map that back to a color for
  display.
- total formula:
  newcol= linfac*(1.0-exp(col*logfac))
    col, newcol are colors
  linfac= 1.0 + 1.0/((2.0*wrld.exp +0.5)^10)
  logfac= log( (linfac-1.0)/linfac )/wrld.range
    wrld.exp and wrld.range are the button values
- default setting: exp=0.0 and range=1.0 give results extremely close to
  previous rendering.
- graph: http://www.selleri.org/Blender/buffer/Image1.png  for 'exp' setting
  ranging from 0-1, and with 'range'=2

Thanks Stefano for the help!

------------------------------------------------------------------------
r1778 | ton | 2003-12-30 17:00:38 +0100 (Tue, 30 Dec 2003) | 9 lines

- fixed switching contexts... the previous commit about this was too
  rigurous. Now it only switches context when selecting a new object
  type, also "invisble", when shading buttons are not drawn.

  What I committed changed context always when pressing the 'shading
  context' icon button. This was annoying when you were editing textures
  or radiosity, world, etc. In such cases it should just draw the old
  settings.

------------------------------------------------------------------------
r1777 | ton | 2003-12-30 01:04:22 +0100 (Tue, 30 Dec 2003) | 5 lines

- fix for area light versus oren-nayer shading.
  oren-nayer was of course of not built for area-lights... so probably
  Cessen will kill me for this hack. Nice challenge for him to come with
  better solution. Visually it works & looks fine.

------------------------------------------------------------------------
r1776 | ton | 2003-12-29 22:32:03 +0100 (Mon, 29 Dec 2003) | 4 lines

- forgot to clip negative values coming from arealight formula.
- excluded 'dist' factor calculus from arealamps, which caused too much
  distance sensitivity

------------------------------------------------------------------------
r1775 | ton | 2003-12-29 21:12:21 +0100 (Mon, 29 Dec 2003) | 3 lines

- since the Object Transform panel in 3d window has sufficient space,
  made all buttons display 3 digits after dot, instead of 2.

------------------------------------------------------------------------
r1774 | ton | 2003-12-29 21:05:15 +0100 (Mon, 29 Dec 2003) | 4 lines

- fixed crashing texture plugin, caused by not checking the tex->nor
  pointer.
  Now variables are localized, this is not always set anymore.

------------------------------------------------------------------------
r1773 | ton | 2003-12-29 18:57:37 +0100 (Mon, 29 Dec 2003) | 3 lines

- fix for compilation with irix cc.
  accidentally declared a new var one line too late. :)

------------------------------------------------------------------------
r1772 | ton | 2003-12-29 17:52:51 +0100 (Mon, 29 Dec 2003) | 60 lines

Area lights and more...

- New lamp type added "Area". This uses the radiosity formula (Stoke) to
  calculate the amount of energy which is received from a plane. Result
  is very nice local light, which nicely spreads out.
- Area lamps have a 'gamma' option to control the light spread
- Area lamp builtin sizes: square, rect, cube & box. Only first 2 are
  implemented. Set a type, and define area size
- Button area size won't affect the amount of energy. But scaling the lamp
  in 3d window will do. This is to cover the case when you scale an entire
  scene, the light then will remain identical
  If you just want to change area lamp size, use buttons when you dont want
  to make the scene too bright or too dark
- Since area lights realistically are sensitive for distance (quadratic), the
  effect it has is quickly too much, or too less. For this the "Dist" value
  in Lamp can be used. Set it at Dist=10 to have reasonable light on distance
  10 Blender units (assumed you didnt scale lamp object).
- I tried square sized specularity, but this looked totally weird. Not
  committed
- Plan is to extend area light with 3d dimensions, boxes and cubes.
- Note that area light is one-sided, towards negative Z. I need to design
  a nice drawing method for it.

Area Shadow

- Since there are a lot of variables associated with soft shadow, they now
  only are available for Area lights. Allowing spot & normal lamp to have
  soft shadow is possible though, but will require a reorganisation of the
  Lamp buttons. Is a point of research & feedback still.
- Apart from area size, you now can individually set amount of samples in
  X and Y direction (for area lamp type 'Rect'). For box type area lamp,
  this will become 3 dimensions
- Area shadows have four options:
  "Clip circle" : only uses a circular shape of samples, gives smoother
  results
  "Dither" : use a 2x2 dither mask
  "Jitter" : applys a pseudo-random offset to samples
  "Umbra" : extra emphasis on area that's fully in shadow.

Raytrace speedup

- improved filling in faces in Octree. Large faces occupied too many nodes
- added a coherence check; rays fired sequentially that begin and end in
  same octree nodes, and that don't intersect, are quickly rejected
- rendering shadow scenes benefits from this 20-40%. My statue test monkey
  file now renders in 19 seconds (was 30).

Plus:

- adjusted specular max to 511, and made sure Blinn spec has again this
  incredible small spec size
- for UI rounded theme: the color "button" displayed RGB color too dark
- fixed countall() function, to also include Subsurf totals
- removed setting the 'near' clipping for pressing dot-key numpad
- when you press the buttons-window icon for 'Shading Context' the context
  automaticilly switches as with F5 hotkey

Please be warned that this is not a release... settings in files might not
work as it did, nor guaranteed to work when we do a release. :)

------------------------------------------------------------------------
r1771 | theeth | 2003-12-28 22:28:35 +0100 (Sun, 28 Dec 2003) | 12 lines

Alex Mole's patch for END and HOME
http://www.blender.org/pipermail/bf-committers/2003-December/004691.html

Makes HOME and END keys work in text space and text
edit boxes.

I've tested it for some time now and I haven't had any problem or spotted any irregularities of some sort.

One think though. It doesn't update the panning of the text window if the cursor gets out of the screen. I guess someone (more familiar with the code) could look into this.

Really nifty when coding scripts.

------------------------------------------------------------------------
r1770 | theeth | 2003-12-28 22:16:11 +0100 (Sun, 28 Dec 2003) | 7 lines

Bugfix for bug #760
http://projects.blender.org/tracker/index.php?func=detail&aid=760&group_id=9&atid=125

When using numerical input with scaling, axis that did not have any input scaled to 0 (it defaults to 1 now). Fix inspired by Koryo's patch (it was easier to recode it than to apply the patch and then run through the code to see if he didn't forget anything).

Also fixed some other stuff (the variables didn't reset correctly at some point).

------------------------------------------------------------------------
r1769 | theeth | 2003-12-28 21:24:32 +0100 (Sun, 28 Dec 2003) | 6 lines

Function without a return (warning)

This function just calls another function which returns a success value, so I'm just passing that value directly as a return value.

Slap me with a trout if I wasn't suppose to fix this.

------------------------------------------------------------------------
r1768 | theeth | 2003-12-28 20:59:06 +0100 (Sun, 28 Dec 2003) | 11 lines

bjornmose's UV mapping patch
two new options to uv auto calculation:
"from window to shere", "from window to cylinder".
the differences to sphere/cylinder mapping as is:
1. the around settings of the 3D view sets the projection center
2. the origin of the polar/spherical coordinate system always points out of the screen.
   so the rotation of the view affects mapping.
3. in the cylinder case the radius of the projection cylinder is read by a popup button.

Basicly what you need to do is rotate the viewport until the cylinder/sphere is aligned with the depth (Z axis) of the view, as if you where looking through the mesh from one end to another (makes more sense in the case of a cylinder), and choose the From window to cylinder/sphere mapping option.

------------------------------------------------------------------------
r1767 | rwenzlaff | 2003-12-28 17:06:05 +0100 (Sun, 28 Dec 2003) | 2 lines

	Added cursors.c to automake system. (Auto.  heh!)

------------------------------------------------------------------------
r1766 | rwenzlaff | 2003-12-27 18:29:25 +0100 (Sat, 27 Dec 2003) | 2 lines

	Another bad flag.  Mea Culpa.

------------------------------------------------------------------------
r1765 | rwenzlaff | 2003-12-27 17:52:51 +0100 (Sat, 27 Dec 2003) | 2 lines

	Accidently committed local flags.  Bad coder.

------------------------------------------------------------------------
r1764 | rwenzlaff | 2003-12-27 00:01:47 +0100 (Sat, 27 Dec 2003) | 2 lines

More cursor port bugs.

------------------------------------------------------------------------
r1763 | rwenzlaff | 2003-12-26 23:41:51 +0100 (Fri, 26 Dec 2003) | 2 lines

Bugfix:  Error in cursor port, only showed up under cygwin.

------------------------------------------------------------------------
r1762 | goofster | 2003-12-26 21:29:11 +0100 (Fri, 26 Dec 2003) | 2 lines

added Robert's cursor stuff to the msvc 6.0 project files

------------------------------------------------------------------------
r1761 | rwenzlaff | 2003-12-26 21:12:42 +0100 (Fri, 26 Dec 2003) | 4 lines

Commit of cursor framework.  Cursors now defined in source/blender/src/cursors.c and
source/blender/include/BIF_cursors.h.  Allows large cursors on Win32 and X11.
See cursors.c for documentatioin on how to use.

------------------------------------------------------------------------
r1760 | ton | 2003-12-24 20:05:38 +0100 (Wed, 24 Dec 2003) | 5 lines

- improved filling in faces in octree, resulting in less nodes and
  branches. Especially larger faces give result. Rendering times go down
  with an average of 10%. My reference testfile went down from 30.4 to
  27.9 seconds.

------------------------------------------------------------------------
r1759 | sirdude | 2003-12-24 17:44:24 +0100 (Wed, 24 Dec 2003) | 6 lines



Dan Sinclair's patch to add --version or -v to blender's command line options.

Kent

------------------------------------------------------------------------
r1758 | ton | 2003-12-24 17:18:13 +0100 (Wed, 24 Dec 2003) | 4 lines

- fixed bug in shaded view mode (SHIFT+Z) when it tried to calculate
  reflection normals... NULL pointer reference.
  (thanks Desoto!)

------------------------------------------------------------------------
r1757 | ton | 2003-12-24 12:44:57 +0100 (Wed, 24 Dec 2003) | 4 lines

- only cosmetic stuff; result of going over the output of mipspro cc
  compile round. Wrong prototypes, unused variables, zealot const usage,
  and in action.c fixed insane & unreadable function call syntax.

------------------------------------------------------------------------
r1756 | ton | 2003-12-23 23:31:48 +0100 (Tue, 23 Dec 2003) | 14 lines

- Fresnel V4.0

Based on feedback (thnx phase!) I found a big disadvantage of the 'real'
fresnel formula. It doesnt degrade to 0.0, causing 2-3 times too many
rays being fired compared to the previous one. So; a lot slower.

Now committed is a hybrid which allows (close to) real, and nice artistic
freedom, *and* it really goes to 0.0 and 1.0, assisting nicely in optimal
render times.
A real doc how it works (with pics) will be made before real release.

- Fixed bug in raytrace: the first renderpass didn't use fresnel for mirror.
- Fixed bug in previewrender, now it closer matches how fresnel renders

------------------------------------------------------------------------
r1755 | theeth | 2003-12-23 20:03:30 +0100 (Tue, 23 Dec 2003) | 3 lines

Fixed bevel width preview drawing which draws the correctly with higher recursion level (it was incorrect for anything higher than 2).
Also commented out a couple of unused variables that were shouting warnings (and we all love the lack of warning and the couple of extra free bytes) :)

------------------------------------------------------------------------
r1754 | ton | 2003-12-22 23:27:51 +0100 (Mon, 22 Dec 2003) | 27 lines

- another fresnel improvement. :)
  At last irc meeting, eeshlo pointed to an error in the code. It didn't
  use the IOR value correctly. This has been solved. So how it works now:
  - the IOR button value influences (very subtle) the fresnel effect.
    Only for realism diehards.
  - the Fresnel value (slider) now denotes the power in the function
    rf + (1-rf) * (1-c)^5
    where rf= rf = ((ior-1)/(ior+1))^2
    and c the dot-product ray/normal.
  - so, set the slider at '5' and you have real fresnel. Lower values
    for interesting artistic effects.

- put back the forgotten code for gaussian corrected sampling during
  antialising render. Normally, each sub-pixel sample in Blender counts
  equally, and together make up the pixel color.
  With 'Gauss' option set (F10 menu) each sub-pixel sample creates a small
  weighted mask with variable size, which (can) affect neighbouring pixels
  as well. The result is smoother edges, less sensitive for gamma, and
  well suited to reduce motion-aliasing (when things move extreme slow).
  This is result of *long* period of research in NeoGeo days, and based on
  every scientific sampling/reconstructing theory we could find. Plus a
  little bit of our selves. :)

- I should write once how blender constructs Jitter tables for sub-sampling.
  this is a very nice method, and superior to normal block filter or random
  jittering... time!

------------------------------------------------------------------------
r1753 | ton | 2003-12-22 00:38:41 +0100 (Mon, 22 Dec 2003) | 4 lines

- fixes for the stubs, to make sure blenderplayer compiles.
  error was caused by moving render calls to render module... but some
  are still called in blender kernel...

------------------------------------------------------------------------
r1752 | ton | 2003-12-21 23:57:02 +0100 (Sun, 21 Dec 2003) | 3 lines

- globals were defined double... showed up thanks to warning of irix
  compiler!

------------------------------------------------------------------------
r1751 | goofster | 2003-12-21 23:43:10 +0100 (Sun, 21 Dec 2003) | 2 lines

updated msvc projectfiles: added texture.c and removed some others..

------------------------------------------------------------------------
r1750 | ton | 2003-12-21 23:38:29 +0100 (Sun, 21 Dec 2003) | 2 lines

- moved render.h struct back to beginning of file...

------------------------------------------------------------------------
r1749 | ton | 2003-12-21 23:31:03 +0100 (Sun, 21 Dec 2003) | 2 lines

- brought back to render.h includes... ifdef SGI and Windows...

------------------------------------------------------------------------
r1748 | ton | 2003-12-21 23:23:20 +0100 (Sun, 21 Dec 2003) | 2 lines

- removed render.h from this file.

------------------------------------------------------------------------
r1747 | ton | 2003-12-21 22:56:42 +0100 (Sun, 21 Dec 2003) | 2 lines

- I gave it a try, fixed makefile.am!

------------------------------------------------------------------------
r1746 | ton | 2003-12-21 22:52:51 +0100 (Sun, 21 Dec 2003) | 34 lines

Phew, a lot of work, and no new features...

Main target was to make the inner rendering loop using no globals anymore.
This is essential for proper usage while raytracing, it caused a lot of
hacks in the raycode as well, which even didn't work correctly for all
situations (textures especially).

Done this by creating a new local struct RenderInput, which replaces usage
of the global struct Render R. The latter now only is used to denote
image size, viewmatrix, and the like.

Making the inner render loops using no globals caused 1000s of vars to
be changed... but the result definitely is much nicer code, which enables
making 'real' shaders in a next stage.
It also enabled me to remove the hacks from ray.c

Then i went to the task of removing redundant code. Especially the calculus
of texture coords took place (identical) in three locations.
Most obvious is the change in the unified render part, which is much less
code now; it uses the same rendering routines as normal render now.
(Note; not for halos yet!)

I also removed 6 files called 'shadowbuffer' something. This was experimen-
tal stuff from NaN days. And again saved a lot of double used code.

Finally I went over the blenkernel and blender/src calls to render stuff.
Here the same local data is used now, resulting in less dependency.
I also moved render-texture to the render module, this was still in Kernel.
(new file: texture.c)

So! After this commit I will check on the autofiles, to try to fix that.
MSVC people have to do it themselves.
This commit will need quite some testing help, but I'm around!

------------------------------------------------------------------------
r1744 | intrr | 2003-12-20 14:46:50 +0100 (Sat, 20 Dec 2003) | 9 lines



Fixed the call to CalcNormFloat to use neweve[]->co.

Goofster: The difference between you and Ton reporting the problem was
that he actually took the time to analyze the warning and pin down the
problem, while your "hahaha, your code has a warning!" didn't really
help me a lot in the first place.

------------------------------------------------------------------------
r1743 | ton | 2003-12-19 16:23:12 +0100 (Fri, 19 Dec 2003) | 21 lines

More render stuff:

- added 'Mapping to" channel "RayMirror", to control mirror with texture
- fixed bug in using mirror-rgb as texture channel... this is cumbersome
  because it is abused by Envmap in a not nice way. Fixing the abuse will
  cause compatibility errors, which can be fixed when we up release # to
  2.32.

- added "Translucency", which is nothing else than allowing another
  shading pass for the backside of a face (with normal inverted). This
  is interesting for all kinds of situations where you want light from
  behind to 'shine through'. Also works to reduce dark areas in
  unlighted parts of rendering transparent faces. Light from behind on
  transparent red window should make it glowing some, right?!
- added texture channel for this as well

- Reorganized Material Panels to reveil some consistancy where buttons
  can be found. Not perfect yet, but at least all options for Shaders and
  options for Mirror & Transparency now are together.
  This gives some space in Shader Panel for nice expansion.

------------------------------------------------------------------------
r1742 | broken | 2003-12-19 13:07:24 +0100 (Fri, 19 Dec 2003) | 2 lines

Updated the Mac OS X blender file icon with standard background and xype's nice shiney blender logo

------------------------------------------------------------------------
r1741 | guignot | 2003-12-18 22:45:15 +0100 (Thu, 18 Dec 2003) | 2 lines

Bug fixes (sigh...)

------------------------------------------------------------------------
r1740 | ton | 2003-12-18 22:34:48 +0100 (Thu, 18 Dec 2003) | 19 lines

another trace commit

- implemented tracing of transparency for shadows. This is a material
  option, in the new RayTrace panel.
  it only traces color and alpha, not shading. So the results of some
  transparant colored unlit faces can look odd. I will look onto that.
- changed fresnel formula (got hint from eeshlo!). this simplifies the UI,
  now only one button needed. The fresnel value "should" be identical as
  the refraction index, but that is booooring! So i added a special fresnel
  refraction slider for both mirroring and transparency. By setting all 3
  sliders equal, you get 'realism'.
- fresnel for transparancy works for Ztra rendering too. Same for transpa-
  rent shadow. But then you need to set 'ray' on in F10 menu.
- uploaded new monkey_glass blend in download.blender.org/demo/test/

Next stage: killing the globals from render, and implement "translucency"
which is effectively allowing faces being lit from behind, as paper or
cloth.

------------------------------------------------------------------------
r1739 | theeth | 2003-12-18 05:41:34 +0100 (Thu, 18 Dec 2003) | 2 lines

Argh! Last commit disabled bevel face preview. Fixed now. (the flag needs to be checks for the real action but not for the draw)

------------------------------------------------------------------------
r1738 | theeth | 2003-12-18 02:37:50 +0100 (Thu, 18 Dec 2003) | 2 lines

Yay! Bevel is back in business. Thanks to intrr for pointing out the problem (flag check missing).

------------------------------------------------------------------------
r1737 | guignot | 2003-12-17 15:15:14 +0100 (Wed, 17 Dec 2003) | 3 lines

Modification of the function getCurvecurval suggested by Jiba. This function can take an integer argument (the position of the curve) or a string (the name of the curve)
Updated documentation in doc/Ipo.py

------------------------------------------------------------------------
r1736 | theeth | 2003-12-17 05:27:29 +0100 (Wed, 17 Dec 2003) | 43 lines

Nathanael Law's fix to make numerical input more compatible with axis constraints.

I thought this was a nice addition, so I'm commiting it.

To Ton for easier changelog creation: When constraining to an axis, numerical input is limited (and will switch automaticly) to that axis.

Original e-mail
-------------------------------
I was playing with the axis constraints for grab and scale transforms
and I thought that the behavior was slightly illogical.  Without axis
constraints, I think everything is great, but once a constraint is used
some irregularities show up.  (Note, this is not a bug, it's more of a
possible improvement)

When you enter grab or scale mode, then constrain the transformation to
a
particular axis, then enter numeric entry mode by hitting a number or
'n', there is no reason for you to try and edit the numeric value of a
non-constrained axis which is the current behavior.

E.g. You grab an object and want to move it along the z-axis, so you
enter grab mode and either hit 'z' or the middle mouse button and you
move the mouse to get an idea of how it looks.  You decide that you
want to use a value of +4.2 with numeric entry; now you have to enter
the following sequence: 'g', 'z', 'move mouse', 'tab', 'tab', '4.2',
'enter'.  However, you're already constrained to the z-axis, so you
should not have to enter 'tab', 'tab'.

The included patch changes the behavior of grab and scale transforms so
that if you are constrained to an axis, and enter numeric entry mode
via
'n' or by hitting a number, you will immediately begin editing the
appropriate axis, and will not have to hit 'tab'.

This may not seem like a big improvement (because it's not), but I feel
that it improves the workflow of a commonly used task slightly and does
not negatively impact any other aspects of the program.

I welcome feedback on this idea.

--
 - Nathanael Law <njlaw@xyrodian.com>

------------------------------------------------------------------------
r1735 | theeth | 2003-12-17 05:16:32 +0100 (Wed, 17 Dec 2003) | 2 lines

Fix for the bevel wrapping face detection algorithm. Still some case where quad will wrap. From the test I did, this seems to happen most of the time with MAJORLY non-coplanar faces. Still trying to find a final fix that would work all the time.

------------------------------------------------------------------------
r1734 | ton | 2003-12-16 17:07:46 +0100 (Tue, 16 Dec 2003) | 4 lines

- shadeless rendering fixed!
  error was due to new localized render result code... and of course only
  shading and tracing was tested :)

------------------------------------------------------------------------
r1733 | ton | 2003-12-16 15:12:01 +0100 (Tue, 16 Dec 2003) | 35 lines

Another commit for raytracing, now with glass refraction & fresnel!
Changelog:

- enable refraction with button "Ray Transp" in Material buttons.
- set "Angular Index" value for amount of refraction.
- use the "Alpha" value to define transparency.
- remember to set a higher "Depth" too... glass can bounce quite some
  more than expected.
- for correct refraction, 3D models MUST have normals pointing in the
  right direction (consistently pointing outside).
- refraction 'sees' the thickness of glass based on what you model. So
  make for realistic glass both sides of a surface.

- I needed to do some rewriting for correct mirroring/refraction,
  especially to prevent specularity being blended away.
  Solved this with localizing shading results in the rendercore.c.
  Now specularity correctly is added, and reduces the 'mirror' value.
- Localizing more parts of the render code is being planned. The old
  render heavily relies on struct Render and struct Osa to store globals.
  For scanline render no problem, but recursive raytracing dislikes that.

- done test with gamma-corrected summation of colors during tracing, is
  commented out still. But this will give more balanced reflections. Now
  dark reflections that are reflected in a bright surface seem incorrect.

- Introduced 'Fresnel' effect for Mirror and Transparency. This
  influences the amount of mirror/transparency based at viewing angle.
  Next to a new Fresnel slider, also a 'falloff' button has been added to
  define the way it spreads.
- Fresnel also works for Ztransp rendering

- created new Panel for Raytrace options
  I have to evaluate still where it all should be logically located.
- material preview shows fake reflection and fake refraction as well.

------------------------------------------------------------------------
r1732 | hos | 2003-12-16 02:27:37 +0100 (Tue, 16 Dec 2003) | 9 lines

OK, My turn to break things ...

The maximum vertex count for a mesh has been raised from 65000 to
2000000000L (yep, 2 billion!).

Please test!

Chris

------------------------------------------------------------------------
r1731 | hos | 2003-12-16 02:15:52 +0100 (Tue, 16 Dec 2003) | 4 lines

The final piece to make blender build with the new python stuff
using the Makefiles (an #include was #excluded). Thanks
for doing the rest of it, Willian!

------------------------------------------------------------------------
r1730 | ianwill | 2003-12-16 01:17:59 +0100 (Tue, 16 Dec 2003) | 11 lines

Trying again to fix build problems with traditional makefiles.

I took a look at how other BPY_* functions were working in blenkernel/
and got to bad level calls (ah, so this is what that is for...).
As a test, I added BPY_clear_script to the "stubs", argh.  If this works,
I'm curious: are these bad level calls needed only by some targets (irix)
because of peculiarities in compiler linkage?

Thanks again, Chris, if this doesn't work, I'll move or copy  the function to
script.c, probably, also adding Python.h to it.

------------------------------------------------------------------------
r1729 | ianwill | 2003-12-15 19:18:09 +0100 (Mon, 15 Dec 2003) | 7 lines

Chris reported build errors w/ traditional makefiles.
This commit moves the 2 undefined references to BPY_interface.c and
changes things a little, hopefully fixing the problem.  I had to add a new dir,
source/blender/include/ to auto*'s Makefile.am in source/blender/python/.

Thanks Chris for the report, and Jiri, for adding a missing declaration.

------------------------------------------------------------------------
r1728 | jiri | 2003-12-15 17:06:00 +0100 (Mon, 15 Dec 2003) | 3 lines


- added declaration SpaceType *spacescript_get_type		(void);

------------------------------------------------------------------------
r1727 | ton | 2003-12-15 15:18:37 +0100 (Mon, 15 Dec 2003) | 7 lines

- fix for particle duplicators:
  when an object has an Ipo, the timing for each duplicated Object is
  corrected for the lifetime of particle. Looks great!
  Remark: this won't work  for object location (is at particle) or for
  particle type 'Vect' which gives a rotation already. But now you can
  scale an object small, and let it grow over time.

------------------------------------------------------------------------
r1726 | theeth | 2003-12-15 05:38:30 +0100 (Mon, 15 Dec 2003) | 23 lines

BEVEL FOR MESH **** LONG LOG WARNING ****

The interesting part:

Bevelling functions for meshes.
Accessible through the Wkey menu.
You then have to enter the recursivity level (Warning, don't use 3 on a big mesh) and interactivly set the bevel width by moving the mouse. It draws the new faces in yellow. Ctrl constraint to 0.1 multiples, Shift switches to low gear, Space to type a value directly.
Support for selective bevelling isn't really working yet, so be sure to select all the vertices beforehand.


The less interesting part:

Code done by intrr (logical stuff, how the algorithm works) and me (math stuff and the interactive bevel width code).

The splitting and bevelling algorithm is not yet fully optimized, and the face shrinking math still doesn't like too big bevel width values. So this will have to be cleaned too.

Selective bevel is on the list next.

If you have any questions about how the code works, send the questions regarding the logic of the method to intrr and math questions to me.


This is very much testing code (or should I say teasing code), so please don't flood me with bug reports. (This excludes OFFICIAL Blender developpers who were there at the meeting and pretty much know what the limitations of the code is and what it should do.)

------------------------------------------------------------------------
r1725 | theeth | 2003-12-15 04:24:47 +0100 (Mon, 15 Dec 2003) | 2 lines

Projectfiles fixes for new script space code thingy

------------------------------------------------------------------------
r1724 | theeth | 2003-12-15 04:13:22 +0100 (Mon, 15 Dec 2003) | 4 lines

Some fix for local axis translation in edit mode. Sorry, I've fixed that weeks ago but never commit, so I really don't remember what the actual bug was. :o(

It wasn't from the bugtracker though.

------------------------------------------------------------------------
r1723 | broken | 2003-12-14 14:25:38 +0100 (Sun, 14 Dec 2003) | 2 lines

Updated some pulldown menus to be more consistent within themselves, and with the new guildelines.

------------------------------------------------------------------------
r1722 | ianwill | 2003-12-14 02:18:09 +0100 (Sun, 14 Dec 2003) | 10 lines

BPython - first step for better integration of Python in Blender:
- add a new space: Space Script
- add a new dna struct: Script
- add these two properly everywhere they are meant to

It's not a tiny commit, but most of it is ground work for what is still to be done.
Right now the benefits should be: freeing the Text Editor to be used in a window even while a script w/ gui in "on" and letting more than one currently running script w/ gui be accessible from each window

Some files are added, so some build systems (not autotools) will need updates

------------------------------------------------------------------------
r1721 | guignot | 2003-12-13 18:15:15 +0100 (Sat, 13 Dec 2003) | 3 lines

support for curve objects.(the code was ready, but commented out)
modified functions : New and Object_shareFrom

------------------------------------------------------------------------
r1720 | goofster | 2003-12-13 14:41:29 +0100 (Sat, 13 Dec 2003) | 2 lines

I'm not quite awake yet. commiting wrong things all over the place... part3 of a simple commit, see my previous 2 commits...

------------------------------------------------------------------------
r1719 | goofster | 2003-12-13 14:05:52 +0100 (Sat, 13 Dec 2003) | 2 lines

ack! committed more than I wanted in my previous commit

------------------------------------------------------------------------
r1718 | goofster | 2003-12-13 14:04:41 +0100 (Sat, 13 Dec 2003) | 3 lines

Merge at center and at cursor update vertex-counter in the header.....
I will try to remember this stuff for my new stuff :)

------------------------------------------------------------------------
r1717 | theeth | 2003-12-13 00:44:07 +0100 (Sat, 13 Dec 2003) | 2 lines

By adding undo capability to the Mkey event calling for mirrormenu, I accidentilly disabled it for all other object type. Fixed now.

------------------------------------------------------------------------
r1716 | ton | 2003-12-13 00:40:35 +0100 (Sat, 13 Dec 2003) | 4 lines

- another fix, to make sure radio colors work local during tracing...
  this will be quite a lot of reconstruction, if i want to go for
  refraction, caustics, pathlights, etc... :/

------------------------------------------------------------------------
r1715 | ton | 2003-12-13 00:04:05 +0100 (Sat, 13 Dec 2003) | 4 lines

- fix for error caused by last commit... colors changed by textures
  during raytracing were 'hanging' and showing up in the first rendered
  material.

------------------------------------------------------------------------
r1714 | goofster | 2003-12-12 21:54:12 +0100 (Fri, 12 Dec 2003) | 3 lines

Numpad - . (dot) now centers on selected vertices/controlpoints in editmode.
It already centered on selected objects outside of editmode, so this is just a consistency feature.

------------------------------------------------------------------------
r1713 | aphex | 2003-12-12 21:21:35 +0100 (Fri, 12 Dec 2003) | 6 lines

Removed an '#ifndef FREE_WINDOWS' statement that prevented
a gcc/cygwin built Blender from showing the Blender app icon in the
main window title bar.

Only a minor issue, but it annoyed me long enough to want to fix it!

------------------------------------------------------------------------
r1711 | ton | 2003-12-12 21:00:15 +0100 (Fri, 12 Dec 2003) | 2 lines

- fixed tooltips for new 'ray' buttons in material buttons.

------------------------------------------------------------------------
r1710 | ton | 2003-12-12 16:03:01 +0100 (Fri, 12 Dec 2003) | 4 lines

- fix for AA of mirroring.
  It appeared that the Osa vectors for view vector, and for rendered coord
  had an opposite sign...

------------------------------------------------------------------------
r1709 | ton | 2003-12-12 12:28:33 +0100 (Fri, 12 Dec 2003) | 8 lines

- removed call to bzero, replaced with memset
  (bzero seems to be old, not supported anymore, also not for windows)
- think I fixed the error compiling in Irix, for a correct cast now
  (added parentheses around the subject for cast)
- changed call to ray_mirror, now included in the shading loop, just
  before the addition happens for specular. That way specular is added
  over mirroring. This changes the appearance quite some!

------------------------------------------------------------------------
r1707 | ton | 2003-12-11 17:28:04 +0100 (Thu, 11 Dec 2003) | 9 lines

- fix for error in octree traverse code, as appeared in sample provided
  by Ztonzy. Error happened when:
  - ray intersects in first node of traversal
  - next ray should intersect in same first node as well
  - no other nodes were accessed inbetween
  It's a bit hard to explain! But the reason is in the optimize code
  in top of ocread() function, where binary XOR magic speeds up. Here
  some static variables needed a reset.

------------------------------------------------------------------------
r1706 | theeth | 2003-12-11 05:08:49 +0100 (Thu, 11 Dec 2003) | 3 lines

Fixes in ray.c for linking under windows (seems lie bzero doesn't exist).
Shouldn't affect other platform if I did it correctly.

------------------------------------------------------------------------
r1705 | theeth | 2003-12-11 05:00:52 +0100 (Thu, 11 Dec 2003) | 3 lines

Fixed bug #794
The displist needed to be updated

------------------------------------------------------------------------
r1704 | sirdude | 2003-12-10 22:19:09 +0100 (Wed, 10 Dec 2003) | 6 lines



Update the build systems to include ray.c

Kent

------------------------------------------------------------------------
r1703 | ton | 2003-12-10 21:41:53 +0100 (Wed, 10 Dec 2003) | 22 lines

- Xmas special: shiny mirroring bells & whistles!

This is a revision of the old NeoGeo raytracer, dusted off, improved quite
a lot, and nicely integrated in the rest of rendering pipeline.
Enable it with F10-"Ray", and set either a 'ray-shadow' lamp or give the
Material a "RayMirror" value.
It has been added for 2 reasons:
- get feedback on validity... I need artists to play around with it if it's
  actually useful. It still *is* raytracing, meaning complex scenes will
  easily become slow.
- for educational purposes. All raytracing happens in ray.c, which can be
  quite easily adjusted for other effects.

When too many disasters pop up with this, I'll make it a compile #ifdef.
But so far, it seems to do a decent job.

Demo files: http://www.blender.org/docs/ray_test.tgz
An article (tech) about how it works, and about the new octree invention
will be posted soon. :)

Note: it doesn't work with unified render yet.

------------------------------------------------------------------------
r1702 | ton | 2003-12-10 20:01:26 +0100 (Wed, 10 Dec 2003) | 3 lines

- Bug fix: lamp axis was not drawn at correct location. Was already wrong
  since a long long time... :P

------------------------------------------------------------------------
r1701 | ton | 2003-12-10 17:22:30 +0100 (Wed, 10 Dec 2003) | 2 lines

- committed fixes for tooltips as provided by Bischofftep. Thanks!

------------------------------------------------------------------------
r1700 | rwenzlaff | 2003-12-10 14:40:02 +0100 (Wed, 10 Dec 2003) | 2 lines

	Adding MakeCursor.py to tools section.

------------------------------------------------------------------------
r1699 | sirdude | 2003-12-09 20:25:30 +0100 (Tue, 09 Dec 2003) | 8 lines



Fixed error messages for saving jpeg files so its quite again.
(before I simplified it to return the result of the call to
imb_savejpeg turns out that makes it a little more verbose)

Kent

------------------------------------------------------------------------
r1698 | ton | 2003-12-09 18:46:40 +0100 (Tue, 09 Dec 2003) | 4 lines

- fix: SHIFT+CTRL+P didn't work (make parent without inverse)
- added: when start blender in debug mode (blender -b) it prints the depth
  of framebuffer.

------------------------------------------------------------------------
r1697 | ton | 2003-12-08 18:39:54 +0100 (Mon, 08 Dec 2003) | 4 lines

- bug report #761
  Subsurf, rendered in Wire, always displayed the 'optimal edges' version.
  Added check for 'optimal' flag here, now it renders as it draws in 3d win

------------------------------------------------------------------------
r1696 | ton | 2003-12-08 18:24:28 +0100 (Mon, 08 Dec 2003) | 3 lines

- and another fix needed due to the change in view3d matrices...
  This one is the UV coord calculate function for FaceSelect mode.

------------------------------------------------------------------------
r1695 | ton | 2003-12-08 17:53:44 +0100 (Mon, 08 Dec 2003) | 4 lines

- bug #766
  the toolbox, editmode curve, 'edit' submenu had the wrong 'show/hide'
  sublevel. Was more of a typo...

------------------------------------------------------------------------
r1694 | ton | 2003-12-08 17:46:36 +0100 (Mon, 08 Dec 2003) | 9 lines

- bug report Theeth, #772
  When joining 2 unconnected control points in Curve/Surface (FKEY) Blender
  crashed.
  Was just assuming in this code that a knots vector array was there...
  simple fix!

  BTW: I think Theeth discovered here the oldest Blender ever, I could
  track it back to old Traces code from 1992. :)

------------------------------------------------------------------------
r1693 | phase | 2003-12-08 16:13:00 +0100 (Mon, 08 Dec 2003) | 2 lines

Corrected function name.

------------------------------------------------------------------------
r1692 | jiri | 2003-12-08 14:48:20 +0100 (Mon, 08 Dec 2003) | 3 lines


- some warning removed

------------------------------------------------------------------------
r1691 | jiri | 2003-12-08 14:30:04 +0100 (Mon, 08 Dec 2003) | 5 lines


- bug of hidden MetaBalls removed :-) (some problems with old TubeX/Y/Z can occured)
- MetaBalls/MetaElems with too small stiffness are not polygonized, but still can influence others MetaBalls/MetaElems
- better behavior of negative MetaBalls/MetaElems

------------------------------------------------------------------------
r1690 | phase | 2003-12-08 14:08:24 +0100 (Mon, 08 Dec 2003) | 2 lines

Prints current blend filename in windowheader.

------------------------------------------------------------------------
r1689 | broken | 2003-12-08 11:51:24 +0100 (Mon, 08 Dec 2003) | 2 lines

* Renewed the constraints panel's design

------------------------------------------------------------------------
r1688 | broken | 2003-12-08 11:48:28 +0100 (Mon, 08 Dec 2003) | 3 lines

* Further general tweaking to UI controls drawing
* Improved TOG3 buttons to communicate functionality better

------------------------------------------------------------------------
r1687 | hos | 2003-12-08 06:07:36 +0100 (Mon, 08 Dec 2003) | 3 lines

A fix so that verts can be added or removed from a mesh with vertex keys
in editmode without damaging the mesh. Please test.

------------------------------------------------------------------------
r1686 | ton | 2003-12-07 20:20:10 +0100 (Sun, 07 Dec 2003) | 8 lines

- Solution for fixing plugins, which now runs without -ldl at OSX 10.2/3
  Code from Peter O'Gorman <ogorman@users.sourceforge.net which has
  been credited in the source.
  Basically the dlopen() and dlerror() calls have been recreated wrapping
  the standard OSX methods.
  Names used are osxdlopen() and osxdlerror(). So no naming conflict will
  occur.

------------------------------------------------------------------------
r1685 | hos | 2003-12-07 20:03:43 +0100 (Sun, 07 Dec 2003) | 13 lines

Introducing the 'quicky' make.

Sick of waiting for make to traverse all of those directories
when you only modified one little file? Well, enough of that nonsense!

Doing "make quicky=dir" (e.g. "make quicky=source/blender/src")
goes to that directory, compiles the stuff in there (and the
subdirectories), then instantly links blender afterwards.
Also has support for more than one directory using quotes, e.g.,

1 dir:   make quicky=source/blender/src
2 dirs:  make quicky="source/blender/src source/blender/blenkernel"

------------------------------------------------------------------------
r1684 | ton | 2003-12-07 19:44:47 +0100 (Sun, 07 Dec 2003) | 4 lines

- fixed texture paint mode... and that all caused by fixing another bug!
  again - reminder to self - the 3d window leaves in ortho mode default,
  and for evaluating it in 3d view you have to call persp(PERSP_VIEW)

------------------------------------------------------------------------
r1683 | ton | 2003-12-07 13:55:18 +0100 (Sun, 07 Dec 2003) | 7 lines

- committed in the 'hack' as mailed to committers list by Douglas B, which
  he got from Nicolas Zinovieff, to solve the struct ID conflict with
  AIFF. By including a #define __AIFF__ in the top of the files, the
  blender includes won't get frustrated by an already defined struct ID.

  should still be tested for 10.3 and other OSX installs!

------------------------------------------------------------------------
r1682 | broken | 2003-12-07 07:05:08 +0100 (Sun, 07 Dec 2003) | 8 lines

Default buttons drawing update
* Big code cleanup and re-organisation, cleaner drawing
* Button alignment now enabled for default theme
* Sliders tweaked and improved
* Tooltip shadow cleaned up

Todo: Alignment looks pretty, but at this stage, what it *means* is not clear or consistent. Need to work out some UI guidelines for when to and when not to use the alignment code.

------------------------------------------------------------------------
r1681 | theeth | 2003-12-07 04:44:36 +0100 (Sun, 07 Dec 2003) | 2 lines

Fixed error in Face Normals toolbox. All the menu entries called the function to Recalculate Inside.

------------------------------------------------------------------------
r1680 | michel | 2003-12-06 20:17:13 +0100 (Sat, 06 Dec 2003) | 5 lines

Added the qhull sources to the repository.
These files are needed by Solid.
I left out the generated Windows .exe files. If needed later on, I'll add
them.

------------------------------------------------------------------------
r1679 | michel | 2003-12-06 20:02:42 +0100 (Sat, 06 Dec 2003) | 7 lines

Added the Solid 3.5 sources to the blender source tree.
This is a direct copy from the CD-ROM contents except for the generated
libraries for the Windows platform. If needed, I can add those later on.
(Those take up over 800 kb).
All files, including license files, documentation, examples and sources are
committed.

------------------------------------------------------------------------
r1678 | theeth | 2003-12-05 00:45:47 +0100 (Fri, 05 Dec 2003) | 2 lines

Projectfile fix for new png.c file

------------------------------------------------------------------------
r1677 | michel | 2003-12-04 21:20:45 +0100 (Thu, 04 Dec 2003) | 3 lines

Added png.c to the imbuf/Makefile.am file and removed png_decode.c
and png_encode.c.

------------------------------------------------------------------------
r1676 | sirdude | 2003-12-04 19:18:05 +0100 (Thu, 04 Dec 2003) | 36 lines



This looks like a lot but its a few small changes.

Summary: standardized imageformat functions(make function names similar, and
parameters in same order where relavant), small code cleanups, and
added a description of how to add an image format to blender.

Kent

Specifics:
merged png_decode.c and png_encode.c to png.c and cleaned function calls.

fixed some spacing in IMB_imbuf_types.h

casting cleanups:
        intern/amiga.c
        intern/ham.c
        intern/iris.c

Modified switch statements to have a default type to insure values are set:
        intern/antialias.c

Initalization of some vars and make types similar.
        intern/bitplanes.c

cleaned function calls, and changed if else to if's with return:
        intern/jpeg.c

added {}'s in multidemensional arrays.
        intern/matrix.h

Made a little cleaner to read, and matched above changes.
        intern/readimage.c
        intern/writeimage.c

------------------------------------------------------------------------
r1675 | ton | 2003-12-04 12:37:39 +0100 (Thu, 04 Dec 2003) | 2 lines

- added wire color theme usage for drawing edges in editmode.

------------------------------------------------------------------------
r1674 | ton | 2003-12-03 17:13:58 +0100 (Wed, 03 Dec 2003) | 6 lines

- fixed matrix conversion to make rgb -> bw images.
  somehow this was mixed up, or forgotten to fix when endian issues were
  solved in the past (1998)...
  To check: red color should be 30% grey, blue 10%. This was switched,
  making B&W images look unnatural.

------------------------------------------------------------------------
r1673 | ton | 2003-12-03 16:44:11 +0100 (Wed, 03 Dec 2003) | 20 lines

- another oldie! Bug 475, which was wrongly categorized by me as OpenGL
  error... Jesterking report helped me finding the mistake! We found out
  that pressing F12 while rendering is in progress, crashes...

Hi Yamyam,

I beg you to forgive me! Totally misread the report... the error was only
in pressing F12 *during* rendering, it even restarts a render then. This
happens always, no matter what is being rendered.

I found the code for renderwindow doesn't use queues to store events, like
in the rest of Blender, but immediately executes incoming events. This
means you can even press ZKEY (zoom) or F11 (hide) while rendering.

In CVS I've committed a patch that checks if Blender renders, before
allowing to execute the F12 event. Also now blocked is F3 (!) during render.
The other options (zoom, push window) still work.

-Ton-

------------------------------------------------------------------------
r1672 | ton | 2003-12-03 16:39:19 +0100 (Wed, 03 Dec 2003) | 7 lines

- fixed ridiculous old bug that didn't allow weightpainting with the
  option "Area" in paint buttons set.
  Apparently reevan forgot to check on some old vertexpaint globals
  hanging around, preventing the routine from sampling the backbuffer.

  Now weightpaint works identical to vertexpaint for 'area' or 'no area'.

------------------------------------------------------------------------
r1670 | ton | 2003-12-02 19:39:32 +0100 (Tue, 02 Dec 2003) | 6 lines

- fixed vertexpaint and weightpaint, which stopped working because of
  previous fix for Transform Panel...
  the convention that 3d window has to leave in 2d ortho mode also applies
  on backbuffer now, which left painting routine confused.
  A single call to persp(PERSP_VIEW) fixes this.

------------------------------------------------------------------------
r1669 | ton | 2003-12-02 16:09:35 +0100 (Tue, 02 Dec 2003) | 3 lines

- new splash for 2.31a.
  thanks Matt!

------------------------------------------------------------------------
r1668 | ton | 2003-12-02 15:30:58 +0100 (Tue, 02 Dec 2003) | 2 lines

- upped version to 2.31a

------------------------------------------------------------------------
r1667 | ton | 2003-12-02 15:30:06 +0100 (Tue, 02 Dec 2003) | 2 lines

- updated 2.31a release notes

------------------------------------------------------------------------
r1666 | theeth | 2003-12-02 01:19:08 +0100 (Tue, 02 Dec 2003) | 6 lines

Fixed constline camera grab

There's a bug left with local axis constraints, but it's only a minor annoyance and fixing it would take more time that I can give (finals at the U you know...)

Also deleted some vestige of an old feature that was disabled.

------------------------------------------------------------------------
r1665 | theeth | 2003-12-02 01:04:38 +0100 (Tue, 02 Dec 2003) | 2 lines

Fixed FollowPath flag annoyance

------------------------------------------------------------------------
r1664 | goofster | 2003-12-01 16:01:20 +0100 (Mon, 01 Dec 2003) | 2 lines

Nathan Letwory's patch for bug #424 const errors kept MSVC7 projectfiles from compiling.

------------------------------------------------------------------------
r1663 | goofster | 2003-12-01 15:27:06 +0100 (Mon, 01 Dec 2003) | 2 lines

Nathan Letwory's patch for Bug #458 (Fileselect bug)

------------------------------------------------------------------------
r1662 | ton | 2003-12-01 14:13:43 +0100 (Mon, 01 Dec 2003) | 5 lines

- added fix done for manual designer: when you want to make screenshot with
  a pulldown or popup menu in it, press (alt+)ctrl+f3 while the menu is
  visible, ESC, press (alt+)ctrl+f3 again.
  Note the (alt+) is for OSX users only.

------------------------------------------------------------------------
r1661 | ton | 2003-12-01 14:01:18 +0100 (Mon, 01 Dec 2003) | 5 lines

- fix for reported error in drawing 3d window buttons Panel when you have
  VertexPaint or FaceSelect mode on.
  The error was caused by not resetting to 2d buttons matrix after drawing
  the color codes for selection in backbuffer.

------------------------------------------------------------------------
r1660 | ton | 2003-12-01 12:58:11 +0100 (Mon, 01 Dec 2003) | 3 lines

- bug fix: for OSX using ctrl or alt + f12 didn't render anymore. this is
  because some macs eject a cdrom then... ahem!

------------------------------------------------------------------------
r1659 | ton | 2003-12-01 11:37:37 +0100 (Mon, 01 Dec 2003) | 2 lines

- fixed type in printf (radiostity!)

------------------------------------------------------------------------
r1658 | ton | 2003-11-30 23:29:54 +0100 (Sun, 30 Nov 2003) | 4 lines

- added initializers for scaling button panels in view3d and ipo...
  this was never done because of file read do_versions() did it!
  but creating an ipowin where never was one before showed error.

------------------------------------------------------------------------
r1657 | ton | 2003-11-30 20:18:08 +0100 (Sun, 30 Nov 2003) | 4 lines

- fix for layer buttons, now button rows type TOGR accept input based at
  actual bit value, and not order of creation.
  it is the only location in Blender where this is used... so!

------------------------------------------------------------------------
r1655 | ton | 2003-11-28 22:09:41 +0100 (Fri, 28 Nov 2003) | 4 lines

- bug #742
  autosmooth (F9) was always on, when material Radio was set... should only
  be done when Radio render was on too.

------------------------------------------------------------------------
r1654 | ton | 2003-11-28 21:45:11 +0100 (Fri, 28 Nov 2003) | 6 lines

- ARGH! breaking the cvs tag for 2.31... but this a true crash which should
  have been fixed now we know it.

  pressing CTRL+1,2,3,4 was meant to set subdivision levels, but it read
  the active pointer without it checking for NULL... tsk!

------------------------------------------------------------------------
r1653 | ton | 2003-11-28 00:41:54 +0100 (Fri, 28 Nov 2003) | 6 lines

- last minute crash, reported by aphex' testing:
  when removing header from buttons window, the previewrender didnt show
  or crashes.
  was caused by relying to an evil global pointer 'lockpoin' which was only
  set in headerbuttons...

------------------------------------------------------------------------
r1652 | ton | 2003-11-28 00:34:52 +0100 (Fri, 28 Nov 2003) | 3 lines

- while i am committing: small button aligning arror for 'separate textures'
  in F5 menu.

------------------------------------------------------------------------
r1651 | ton | 2003-11-28 00:34:07 +0100 (Fri, 28 Nov 2003) | 2 lines

- release log copied for release binaries as well.

------------------------------------------------------------------------
r1650 | ton | 2003-11-28 00:32:58 +0100 (Fri, 28 Nov 2003) | 3 lines

- release log for 2.31
  long one!

------------------------------------------------------------------------
r1649 | ton | 2003-11-27 11:22:13 +0100 (Thu, 27 Nov 2003) | 2 lines

- forgot a define...

------------------------------------------------------------------------
r1648 | broken | 2003-11-27 03:14:47 +0100 (Thu, 27 Nov 2003) | 2 lines

2.31 splash screen

------------------------------------------------------------------------
r1647 | ton | 2003-11-26 23:29:33 +0100 (Wed, 26 Nov 2003) | 2 lines

- upped VERSION file :)

------------------------------------------------------------------------
r1646 | ton | 2003-11-26 23:14:51 +0100 (Wed, 26 Nov 2003) | 5 lines

- turned the decimator (F9) button into a normal number button. the slider
  was too small to display the number in it (amount of vertices). Also the
  range can be too large to make the slider display useful info.
  direct reason: mesh with 1 vertex made the slider draw corrupt.

------------------------------------------------------------------------
r1645 | ton | 2003-11-26 22:54:33 +0100 (Wed, 26 Nov 2003) | 7 lines

- bug fix #732
  when you set halo, and star, then disable halo, the texface flag was set.
  this is because both values use the same bit in the flag <blush>

  solved by clearing the 'star' flag when you disable halo.
  Not perfect, but at least it looks OK. :)

------------------------------------------------------------------------
r1644 | ton | 2003-11-26 22:19:22 +0100 (Wed, 26 Nov 2003) | 3 lines

- minor change in .b.blend, to make sure a small blender start window
  (tested 700 and 800 pix high) also displays all buttons in first screen.

------------------------------------------------------------------------
r1643 | ton | 2003-11-26 22:13:41 +0100 (Wed, 26 Nov 2003) | 3 lines

- changed wording of three menu items in theme menu, to match the window-
  type pulldown in all headers

------------------------------------------------------------------------
r1642 | ton | 2003-11-26 18:48:31 +0100 (Wed, 26 Nov 2003) | 12 lines

- new .b.blend
  - no start 4 split anymore, split 3d win in 3rd screen instead
  - print of name active object in 3d window
  - added a theme in the file, for manual demo
  - no scrub/sync set
  - removed text files
  - auto save on (per 5 minutes)
  - no standard osa rendering
  - and i might have forgotten some
All for getting a manual compatible version. but the 4 split in start for
2.30 release caused quite some annoyed reactions.

------------------------------------------------------------------------
r1641 | michel | 2003-11-26 18:35:29 +0100 (Wed, 26 Nov 2003) | 2 lines

Updated Python documentation for the Texture module. Done by Alex.

------------------------------------------------------------------------
r1640 | ton | 2003-11-26 18:33:51 +0100 (Wed, 26 Nov 2003) | 2 lines

- version upped to 2.31

------------------------------------------------------------------------
r1639 | michel | 2003-11-25 22:38:37 +0100 (Tue, 25 Nov 2003) | 5 lines

When no text file is open in the text editor, ALT-O did not work.
Fixed it.
We really should look at the entire event system there for the key selections.
Can be cleaned up a bit - not important right now.

------------------------------------------------------------------------
r1638 | sirdude | 2003-11-25 22:38:31 +0100 (Tue, 25 Nov 2003) | 6 lines



Removed all references to mxTextTools since we aren't using it anymore.

Kent

------------------------------------------------------------------------
r1637 | sirdude | 2003-11-25 21:10:06 +0100 (Tue, 25 Nov 2003) | 6 lines



Douglas Bischoff's Fix for Plugins on OSX.

Kent

------------------------------------------------------------------------
r1636 | ton | 2003-11-25 19:45:05 +0100 (Tue, 25 Nov 2003) | 3 lines

- removed an old optimization line from code, which caused stenciling
  with multiple bump-mapping channels not to work

------------------------------------------------------------------------
r1635 | ton | 2003-11-25 19:14:00 +0100 (Tue, 25 Nov 2003) | 5 lines

- forgot to do this... belongs to commit with text:

  bug fix: in background render, the default builtin font was not
  activated for rendering when other fonts were packed too.

------------------------------------------------------------------------
r1634 | ton | 2003-11-25 18:36:37 +0100 (Tue, 25 Nov 2003) | 3 lines

- bug fix: blender didn't rename temp save file to quit.blend at quit.
  also reported on linux...

------------------------------------------------------------------------
r1633 | ton | 2003-11-25 17:48:55 +0100 (Tue, 25 Nov 2003) | 3 lines

- the weird OB and ME buttons in 2nd Panel in MaterialButtons didnt work
  properly. Also the "1 Mat 1" buttons didnt display in all situations.

------------------------------------------------------------------------
r1632 | sirdude | 2003-11-25 16:29:20 +0100 (Tue, 25 Nov 2003) | 6 lines



Added 2 tooltips and fixed the tooltips for stucci Wall In/Wall Out

Kent

------------------------------------------------------------------------
r1631 | ton | 2003-11-25 14:44:46 +0100 (Tue, 25 Nov 2003) | 11 lines

- moved do_versions stuff for 2.30 release, to also check 2.30 files.
  this is safe initialization only.
  based at report from madprof.. he had a 2.30 file without this
  data correctly initialized... but how it happens? tuhopuu files?

  anyhoo, we might think of splitting do_versions in 2 parts:
  1. do_versions initialization of old variables that changed
     like physics properties that need to be scaled or so
  2. do_init for newly created variables that are not allowed to be zero,
     this can safely be done for each file

------------------------------------------------------------------------
r1630 | theeth | 2003-11-25 00:18:24 +0100 (Tue, 25 Nov 2003) | 2 lines

Fixed typing mode in resize to allow scaling to 0.0

------------------------------------------------------------------------
r1629 | larstiq | 2003-11-24 16:42:46 +0100 (Mon, 24 Nov 2003) | 4 lines

The debug target was erroneously removed, put it back.

Fixes build failure reported by ztonzy

------------------------------------------------------------------------
r1628 | ianwill | 2003-11-24 04:47:49 +0100 (Mon, 24 Nov 2003) | 2 lines

BPython: small update to Types.c and the docs, to finish welcoming the new modules.

------------------------------------------------------------------------
r1627 | ton | 2003-11-24 00:51:18 +0100 (Mon, 24 Nov 2003) | 3 lines

- bug fix: in background render, the default builtin font was not
  activated for rendering when other fonts were packed too.

------------------------------------------------------------------------
r1626 | ton | 2003-11-24 00:33:19 +0100 (Mon, 24 Nov 2003) | 3 lines

- bug fix: colorband color sliders didnt update the colorband
- bug fix: enter editmode from faceselect correctly selects vertices

------------------------------------------------------------------------
r1625 | ton | 2003-11-24 00:04:35 +0100 (Mon, 24 Nov 2003) | 8 lines

- another hack!
  well... probably OK, got it from a python mailing list.

  When starting from commandline, the window doesnt pop to the front. this
  was really bad for the play function in blender, which opens a new blender
  thread.
  solved with SetFrontProcess()

------------------------------------------------------------------------
r1624 | ton | 2003-11-23 22:31:35 +0100 (Sun, 23 Nov 2003) | 2 lines

- ALT+N in new texteditor (no text block) will add new text now.

------------------------------------------------------------------------
r1623 | guignot | 2003-11-23 22:25:55 +0100 (Sun, 23 Nov 2003) | 2 lines

Fixed two minor warnings

------------------------------------------------------------------------
r1622 | theeth | 2003-11-23 21:28:35 +0100 (Sun, 23 Nov 2003) | 6 lines

No line for constraint without target

Code notes:

The constraint_has_target can be used to test if a constraint has a target at all.

------------------------------------------------------------------------
r1621 | theeth | 2003-11-23 21:24:23 +0100 (Sun, 23 Nov 2003) | 2 lines

Projectfiles fix for new Python module

------------------------------------------------------------------------
r1620 | ascotan | 2003-11-23 20:18:04 +0100 (Sun, 23 Nov 2003) | 2 lines

- performance upgrade with the vgroup methods

------------------------------------------------------------------------
r1619 | ton | 2003-11-23 20:11:04 +0100 (Sun, 23 Nov 2003) | 4 lines

- fixed glrects and emboss for constraint drawing again...
  there's somewhere something hanging in this code... a weird difference
  in how buttons draw and rect draws?

------------------------------------------------------------------------
r1618 | ianwill | 2003-11-23 18:58:26 +0100 (Sun, 23 Nov 2003) | 5 lines

BPython:
-- Blender.Texture doc file, also by Alex Mole.

Three commits where one was enough! I feel stupid!

------------------------------------------------------------------------
r1617 | ianwill | 2003-11-23 18:53:45 +0100 (Sun, 23 Nov 2003) | 5 lines

BPython:
-- New module: Blender.Texture, by new developer Alex Mole.

Forgot to add the new files, sorry!

------------------------------------------------------------------------
r1616 | ianwill | 2003-11-23 18:46:06 +0100 (Sun, 23 Nov 2003) | 4 lines

BPython:
-- New module: Blender.Texture, by new developer Alex Mole.
Most of it is done: guess only Ipo, envmap, colorband and plugin were not implemented yet.

------------------------------------------------------------------------
r1615 | goofster | 2003-11-23 17:59:54 +0100 (Sun, 23 Nov 2003) | 2 lines

Fixed a crash that would happen if the user tried to faceloop-cut starting at an edge that didn't belong to any face.

------------------------------------------------------------------------
r1614 | michel | 2003-11-23 15:31:37 +0100 (Sun, 23 Nov 2003) | 2 lines

Grumble. forgot those files. These needed to be included with last commit.

------------------------------------------------------------------------
r1613 | michel | 2003-11-23 15:28:46 +0100 (Sun, 23 Nov 2003) | 7 lines

Added all necessary BPY_extern.h include files to the .c files.
Updated the Make environment to point to the correct location. The include
paths were still pointing to source/blender/bpython/include while it should be
source/blender/python.
I did not encounter the build problems because I'm always working with the
autoconf build environment.

------------------------------------------------------------------------
r1612 | goofster | 2003-11-23 15:02:54 +0100 (Sun, 23 Nov 2003) | 2 lines

Replaced all references to ..\..\source\blender\bpython\include with ..\..\source\blender\python. this because of the old python removal.

------------------------------------------------------------------------
r1611 | ton | 2003-11-23 14:48:12 +0100 (Sun, 23 Nov 2003) | 2 lines

- fix: switching main Theme didn't update button drawtype for info buttons

------------------------------------------------------------------------
r1610 | ton | 2003-11-23 13:22:59 +0100 (Sun, 23 Nov 2003) | 4 lines

- added to Constraint panel the 'Active Bone' or 'Active Object', like
  previously was drawn in constraint buttons header.
- cleaned up buttons in panels for manual... just nicer aligning.

------------------------------------------------------------------------
r1609 | guignot | 2003-11-23 00:30:40 +0100 (Sun, 23 Nov 2003) | 3 lines

several warning fixes, for a bug-free *and* warnings-free 2.31 !
Just moved some declarations, nothing important.

------------------------------------------------------------------------
r1608 | ton | 2003-11-22 23:22:16 +0100 (Sat, 22 Nov 2003) | 3 lines

- added button aligning code for most other panels... still unfinished
  next step first is cleaning up design in panels itself.

------------------------------------------------------------------------
r1607 | hos | 2003-11-22 21:21:59 +0100 (Sat, 22 Nov 2003) | 5 lines

Got rid of many #include "BPY_extern.h"

Homework from Michel: do grep BPY source/blender/src/*
and see if there is anything that needs fixing.

------------------------------------------------------------------------
r1606 | ton | 2003-11-22 20:35:25 +0100 (Sat, 22 Nov 2003) | 2 lines

- forgot commit...

------------------------------------------------------------------------
r1605 | ton | 2003-11-22 19:38:53 +0100 (Sat, 22 Nov 2003) | 3 lines

- this routine is going to be my waterloo!
  forgot to check null pointer...

------------------------------------------------------------------------
r1604 | michel | 2003-11-22 19:33:54 +0100 (Sat, 22 Nov 2003) | 5 lines

Last part of removing the old Python API implementation. Removed
/source/blender/bpython.
To remove the directories on your system, do a:
cvs update -P

------------------------------------------------------------------------
r1603 | michel | 2003-11-22 18:29:46 +0100 (Sat, 22 Nov 2003) | 5 lines

A couple of files I left in the intern/python dir needed to be removed as
well.
To remove the directories on your system, do a:
cvs update -P

------------------------------------------------------------------------
r1602 | michel | 2003-11-22 18:28:05 +0100 (Sat, 22 Nov 2003) | 5 lines

First action of removing the old Python API stuff from cvs. Removed the
/intern/python stuff.
To remove the directories on your system, do a:
cvs update -P

------------------------------------------------------------------------
r1601 | ton | 2003-11-22 17:59:54 +0100 (Sat, 22 Nov 2003) | 5 lines

- added check before freeing a font pointer... dunno if its needed, but
  better do this anyway!
  theres a 0.01% chance errors with AA goes away now on some platforms...
  but i doubt!

------------------------------------------------------------------------
r1600 | ton | 2003-11-21 21:52:27 +0100 (Fri, 21 Nov 2003) | 2 lines

- made calloc for clear mverts in subsurf-mesh conversion

------------------------------------------------------------------------
r1599 | ton | 2003-11-21 14:16:04 +0100 (Fri, 21 Nov 2003) | 2 lines

 fix for description of UI_BLOCK_RET_1.

------------------------------------------------------------------------
r1598 | ton | 2003-11-21 14:14:50 +0100 (Fri, 21 Nov 2003) | 13 lines

- Fix: the MKEY 'movetolayer' option doesnt close anymore on numeric
  input. Somewhere in end  NaN period this was changed... weird.

  Now you can set layers with numeric buttons, including using ALT for
  numbers larger than 10, and using SHIFT for extend-select buttons.

  for the UI diehards who like to know; when you create a menu block, you
  can provide two flags to control behaviour on keyboard input:
  UI_BLOCK_RET_1  == return on any keypress (not mouse)
  UI_BLOCK_ENTER_OK  == return on Enter key

  this was not correct in the doc/interface_API.txt , which will be fixed.

------------------------------------------------------------------------
r1597 | ton | 2003-11-21 13:30:15 +0100 (Fri, 21 Nov 2003) | 7 lines

- fixed another oldie... displaylists for MBall was generated FAR too often.
  even for each redraw! Now its all smooth & fast again.

  introduced new kernel API call: int is_basis_mball(ob), this provides a
  quick check of the object is the actual basis for the displaylist and
  polygonization.

------------------------------------------------------------------------
r1596 | hos | 2003-11-21 05:07:45 +0100 (Fri, 21 Nov 2003) | 3 lines

Fixed it so that "Parent Armature->Name Groups" puts the mesh in a state
that is ready for weight paint.

------------------------------------------------------------------------
r1595 | theeth | 2003-11-20 23:22:48 +0100 (Thu, 20 Nov 2003) | 2 lines

newline conversion speed up by intrr

------------------------------------------------------------------------
r1594 | ton | 2003-11-20 18:51:37 +0100 (Thu, 20 Nov 2003) | 3 lines

- fixed an oldie! When using a spotlamp in 'potato' textured drawmode, the
  normal opengl light didnt work proper anymore.

------------------------------------------------------------------------
r1593 | ton | 2003-11-20 18:41:46 +0100 (Thu, 20 Nov 2003) | 4 lines

- bug fix: when moving an object to not-visible layer, and selecting an
  other object, the moved one was drawn in 3d window...
  Hopefully the last error caused be me cleaning up frontbuffer draw... :/

------------------------------------------------------------------------
r1592 | theeth | 2003-11-20 02:54:34 +0100 (Thu, 20 Nov 2003) | 4 lines

Fix for bug #238 and #435 (same bug difference effect).

I've tested pretty much everything, but please proof read the code, the fonction calls and IFDEF could be used elsewhere (especially the IFDEFs, I wasn't sure if I had to enclose the whole function or whatnot.

------------------------------------------------------------------------
r1591 | ton | 2003-11-19 23:38:19 +0100 (Wed, 19 Nov 2003) | 3 lines

- bug fix: subdiv level 0 and drawtype 'optim' caused mesh not drawing
  in editmode...

------------------------------------------------------------------------
r1590 | ton | 2003-11-19 23:13:53 +0100 (Wed, 19 Nov 2003) | 2 lines

- fixed warning by not prototyping something a couple of commits ago...

------------------------------------------------------------------------
r1589 | ton | 2003-11-19 23:00:14 +0100 (Wed, 19 Nov 2003) | 23 lines

Fix for undo... it didn't do the UV coords (tface) nor the vertexpaint
colors. This because of the pretty weird (ab)use of load & make editmesh...

For each added undo step, the load_editmesh was fed with an empty mesh
to assign data to, without knowledge of what was in the original mesh.
That way UV and color data got lost.

Solved it in 2 steps:

1. removing the ->tface pointer from EditVlak, and make TFace a builtin
  struct inside EditVlak. This didnt cost much extra mem, since it already
  stored UV and color. This enabled some pretty cleanup in editmesh.c as
  well, storing tface pointers was cumbersome.
2. for each undo step, it then generates always a tface and mcol block to
  link to the undo Mesh.
  Even when it wasn't in the actual Mesh, at exit editmode the original
  Mesh is used as reference anyway, and undo-meshes are freed correctly.

The enormous commit is because I had to change the BLI_editVert.h file, and
found it was included in about every file unnecessary. I removed it there.
ALso found out that subsurf has code ready (unfinished) to make UV coords for
the displaylist in EditMode as well, nice to know for later...

------------------------------------------------------------------------
r1588 | ton | 2003-11-19 18:07:17 +0100 (Wed, 19 Nov 2003) | 4 lines

- fix: keys couldnt have more than 32k vertices. Just made a short into an
  int in the key struct.
  warn: this recompiles dna!

------------------------------------------------------------------------
r1587 | intrr | 2003-11-19 17:21:37 +0100 (Wed, 19 Nov 2003) | 11 lines



- Fixes hidden vertices for undo. They are now stored in mvert->flag and
  thus also preserved over exiting/entering editmode (is this desirable?)
  Can be turned off easily ...

- "Half-fixes" lost UV info problem with undo. I couldn't get it to
  crash or lose UV info anymore, but we now have a memory leak (me->tface).

  Ton, please check this!

------------------------------------------------------------------------
r1586 | ton | 2003-11-19 16:20:18 +0100 (Wed, 19 Nov 2003) | 6 lines

- fixed reported bug with constraints... somehow someone managed to save
  a follow-path constraint in 2.28c without data assigned.
  this patch checks for proper data in a constraint, if not available
  it will turn the type into CONSTRAINT_TYPE_NULL
- i will forward the demo file to theeth for further check

------------------------------------------------------------------------
r1585 | ton | 2003-11-19 13:43:21 +0100 (Wed, 19 Nov 2003) | 3 lines

- fixed bug caused by changing order of drawing buttons in material panel 2
  the 'OB' and 'ME' buttons were not visible in all situations anymore...

------------------------------------------------------------------------
r1584 | ton | 2003-11-18 22:16:24 +0100 (Tue, 18 Nov 2003) | 4 lines

- further small alignment errors...
- 'unlink set' button from f10 menu only draws when set is linked
- 'copy sound' in sound buttons only draws when sound is available

------------------------------------------------------------------------
r1583 | goofster | 2003-11-18 15:26:42 +0100 (Tue, 18 Nov 2003) | 2 lines

While I'm at it, loopselect/cut also didn't update vertexcount :)

------------------------------------------------------------------------
r1582 | goofster | 2003-11-18 15:18:00 +0100 (Tue, 18 Nov 2003) | 2 lines

edge select: bad selected vert count (fixes bug #681)

------------------------------------------------------------------------
r1581 | ton | 2003-11-18 12:52:28 +0100 (Tue, 18 Nov 2003) | 3 lines

- changed evaluation order for drawing pulldowns in 3d header. In editmode
  it didnt show the 'Mesh' options when 'vertex paint' mode was still on.

------------------------------------------------------------------------
r1580 | ton | 2003-11-18 12:22:17 +0100 (Tue, 18 Nov 2003) | 6 lines

- removed temporal patch from myortho2() in mywindow.c, and changed
  all calls to ortho2 with correctness offset of 0.375 instead of 0.5.
  this efficiently solves bug in drawing UV lines as reported.

cvS: ----------------------------------------------------------------------

------------------------------------------------------------------------
r1579 | ton | 2003-11-17 23:33:11 +0100 (Mon, 17 Nov 2003) | 2 lines

- added color for constraint dashed line

------------------------------------------------------------------------
r1578 | ton | 2003-11-17 22:11:50 +0100 (Mon, 17 Nov 2003) | 2 lines

- oops! committed wrong...

------------------------------------------------------------------------
r1577 | ton | 2003-11-17 22:10:18 +0100 (Mon, 17 Nov 2003) | 3 lines

- fix: vpaint and weightpaint and texturepaint allow drawmode wire-extra
  again.

------------------------------------------------------------------------
r1576 | ton | 2003-11-17 21:20:14 +0100 (Mon, 17 Nov 2003) | 7 lines

- bug fix: moved vertex group buttons to first panel (F9 editing buts).
  these buttons should be available outside editmode as well.
- fix: changed order of tools in f9 mesh a bit... it was totally random
- fix: fileselect draw error; text sometimes draws over outer border

cvs: ----------------------------------------------------------------------

------------------------------------------------------------------------
r1575 | ascotan | 2003-11-17 18:12:58 +0100 (Mon, 17 Nov 2003) | 2 lines

- added vgrouping methods for renaming headers

------------------------------------------------------------------------
r1574 | ton | 2003-11-17 15:31:25 +0100 (Mon, 17 Nov 2003) | 9 lines

- finished some minor drawing stuff which i couldnt complete last friday:
  (related to rounded theme)
  - layer buttons in view3d header grouped
  - outline colour now blends darker with respect to background (better
    visibility on dark backgrounds)
  - added some align calls to user settings menu

Now back to real bugs!

------------------------------------------------------------------------
r1573 | ton | 2003-11-17 13:11:42 +0100 (Mon, 17 Nov 2003) | 9 lines

- bug fixes:
  - "Crop and Anim" panel had wrong name... now "Anim and Movie"
  - this panel didnt draw buttons always, should be for 'anim option' (which
    is different from 'movie' option!
  - added call to re-align the panels each time a new screen is set (also
    after file read) to make sure new panels (or with new name) are properly
    initialized
  - fixed drawing error in nurbs buttons

------------------------------------------------------------------------
r1572 | ascotan | 2003-11-17 08:22:29 +0100 (Mon, 17 Nov 2003) | 2 lines

- added vgrouping methods for renaming to documentation

------------------------------------------------------------------------
r1571 | ascotan | 2003-11-17 08:13:27 +0100 (Mon, 17 Nov 2003) | 2 lines

- added vgrouping methods for renaming a vertex group and returning all vgroup names

------------------------------------------------------------------------
r1570 | theeth | 2003-11-17 03:25:33 +0100 (Mon, 17 Nov 2003) | 4 lines

Fixed the fix for constraint loop :P

Everything works properly now

------------------------------------------------------------------------
r1569 | hos | 2003-11-16 22:29:12 +0100 (Sun, 16 Nov 2003) | 2 lines

Fix for bf-bug #389 (endless loop when creating constraint)

------------------------------------------------------------------------
r1568 | theeth | 2003-11-16 22:02:45 +0100 (Sun, 16 Nov 2003) | 4 lines

Fixed the material window crash

Thanks to Meino from the mailing list and MadProf

------------------------------------------------------------------------
r1567 | michel | 2003-11-16 20:43:36 +0100 (Sun, 16 Nov 2003) | 3 lines

Fix in the autoconf build: test for libpng requires -lm on a couple of Linux
distributions. Moved the test for jpeg before png.

------------------------------------------------------------------------
r1566 | theeth | 2003-11-16 01:31:27 +0100 (Sun, 16 Nov 2003) | 4 lines

delimiters are you friends

fixed a silly bug with merge and mirror

------------------------------------------------------------------------
r1565 | michel | 2003-11-15 19:40:51 +0100 (Sat, 15 Nov 2003) | 4 lines

Fixed compiler errors. The new function uiBlockBeginAlign() has been updated to
be smarter. The result was only 1 argument instead of 2 were needed.
Unfortunately, not all calls to uiBlockBeginAlign() were updated accordingly.

------------------------------------------------------------------------
r1564 | ton | 2003-11-14 16:49:26 +0100 (Fri, 14 Nov 2003) | 15 lines

- Bug fix: at osx, default AA font couldnt be written in .b.blend
  (unless you manually install font)
- Bug fix: string for AA font was only 64 chars... made 256.

- Changed API for buttons aligning... it now detects automatic what rows
  are, or collums, and aligns buttons. This makes call easier:
  uiBlockBeginAlign(block);
  ... defBut....
  uiBlockEndAlign(block);
  Only works when you provide buttons in row order!
- made sure only 'rounded' theme uses this align stuff
- still work in progress.. I commit now because I leave to denmark for 2 days!

http://www.blender.org/bf/rt.jpg  <- now also groups with rows+collums

------------------------------------------------------------------------
r1563 | ton | 2003-11-14 13:32:32 +0100 (Fri, 14 Nov 2003) | 3 lines

- fixed 2 drawing errors because of new align code.
  thanks ztonzy for report!

------------------------------------------------------------------------
r1562 | theeth | 2003-11-14 13:29:05 +0100 (Fri, 14 Nov 2003) | 2 lines

Fixed edge select shift modifier

------------------------------------------------------------------------
r1561 | theeth | 2003-11-14 02:34:13 +0100 (Fri, 14 Nov 2003) | 2 lines

Fixed typing mode for Warp

------------------------------------------------------------------------
r1560 | ascotan | 2003-11-14 02:10:59 +0100 (Fri, 14 Nov 2003) | 2 lines

- Lattice documentation

------------------------------------------------------------------------
r1559 | theeth | 2003-11-14 02:02:18 +0100 (Fri, 14 Nov 2003) | 2 lines

Projectfile update for the Lattice module

------------------------------------------------------------------------
r1558 | ton | 2003-11-14 01:44:48 +0100 (Fri, 14 Nov 2003) | 14 lines

- Added button align code:
  uiBlockBeginAlign(block, 'v');  'v'= vertical. 'h'=horizontal
  ..... (button def calls)
  uiBlockEndAlign(block);

  this will allow new themes to have buttons nicely drawn together.
- added new rounded draw theme, to test & illustrate the above.
- only did parts of button code with align... rest for later
- fixed 'minimal' theme to make it usable (with some decoration)
- put back 'oldskool' theme... but it just looks plain ugly! remove?

Lazy people: http://www.blender.org/bf/rt.jpg
check the top header, or Nkey menu, to see the meaning of 'align'.

------------------------------------------------------------------------
r1557 | theeth | 2003-11-14 00:04:46 +0100 (Fri, 14 Nov 2003) | 4 lines

Fixed the lag with Follow Path and optimized constraint loops with Track To and Lock Track. I was plainly disabling the refresh of the target, but that caused a lag (3D window, not Render). Now, it raises a flag when it find a loop, so it only disables the refreshing when it needs to.

This is a temporary fix, but a complete fix will require a rewrite of of some part of the where_is_object function, and that would take too much time before 2.31.

------------------------------------------------------------------------
r1556 | theeth | 2003-11-13 23:57:42 +0100 (Thu, 13 Nov 2003) | 2 lines

Fixed the last bug with Mirror and removed it from the Wkey menu (it seemed to confuse some people). Merge should probably be removed too.

------------------------------------------------------------------------
r1555 | ianwill | 2003-11-13 18:24:47 +0100 (Thu, 13 Nov 2003) | 2 lines

BPython: fixing a few warnings

------------------------------------------------------------------------
r1554 | ton | 2003-11-13 15:55:13 +0100 (Thu, 13 Nov 2003) | 3 lines

- found one other wrong ortho2... causing wrong ortho2 matrices in
  3d window...

------------------------------------------------------------------------
r1553 | phase | 2003-11-13 15:13:48 +0100 (Thu, 13 Nov 2003) | 3 lines

The Quicktime-Options-Button-Freeze warning is only nescessary on OSX
machines. The problem doesn't occur on windows platforms.

------------------------------------------------------------------------
r1552 | ton | 2003-11-13 13:44:34 +0100 (Thu, 13 Nov 2003) | 8 lines

- bug fix #694
  when using linked-duplicated mesh, with subsurf and tfaces (UV texture)
  the render crashed.
  Found out the renderloop makes a new displaylist for each Mesh, also when
  it is linked multiple times. That way pointers to previous created elements
  in displaylists become invalid. Crash!
  Result now it even renders faster for linked-duplis. :)

------------------------------------------------------------------------
r1551 | ascotan | 2003-11-13 13:24:18 +0100 (Thu, 13 Nov 2003) | 2 lines

- modified insertKey() to set current frame back to 1 instead of redraw the headers

------------------------------------------------------------------------
r1550 | ascotan | 2003-11-13 05:00:59 +0100 (Thu, 13 Nov 2003) | 7 lines

The new Lattice module for python
- enabled all the Lattice methods in Object.c
- added Lattice types to Types.c
- add Lattice initialization to Blender.c
- updated makefile for new lattice file
- added Lattice.c/Lattice.h

------------------------------------------------------------------------
r1549 | theeth | 2003-11-13 00:34:24 +0100 (Thu, 13 Nov 2003) | 4 lines

Fixed a majority of the mirror function bug. AFAIK, the last bug remaining is related to flipping normals.

Also added a couple of undo_push_mesh where they were lacking (mainly Merge, Smooth, Mirror)

------------------------------------------------------------------------
r1548 | ton | 2003-11-12 23:20:27 +0100 (Wed, 12 Nov 2003) | 4 lines

fixed two errors in events for knife tool:
- ESC for pupmenu was not handled
- pressing ENTER at pupmenu caused mousetrail call to exit

------------------------------------------------------------------------
r1547 | ton | 2003-11-12 22:34:12 +0100 (Wed, 12 Nov 2003) | 5 lines

- added themecolor text for textwindow
- fixed bug introduced by rwenzlaff commit in interface.c
  why replace the defButI call with defButS ? you should have seen the
  compile warning... :)

------------------------------------------------------------------------
r1546 | ton | 2003-11-12 22:23:37 +0100 (Wed, 12 Nov 2003) | 3 lines

- fixed safety area for 'floating' popup menus, such as move-to-layer
  but also works for toolbox, quit menu, etc.

------------------------------------------------------------------------
r1545 | ton | 2003-11-12 22:14:30 +0100 (Wed, 12 Nov 2003) | 6 lines

- further cleanup of window matrix code. Now ALL 2d ortho calls are
  using an identical offset; which is 0.375 and official recommended
  by OpenGL.
  This to further investigate the AA font errors on some systems
  with ATI cards.

------------------------------------------------------------------------
r1544 | ton | 2003-11-12 21:43:01 +0100 (Wed, 12 Nov 2003) | 10 lines

All related to unified render:
- fixed bug in halo rendering combined with spothalo
- fixed bug in no antialiasing with sky with spothalo
- cleaned some weird usage of gamma for spothalo and sky
  (when rendering sky + spothalo, sky got gamma corrected
- removed old test code and #ifdefs for code readability

On test scenes here unified render looks much better. still some minor
issues with antialiasing... cant pin that down yet.

------------------------------------------------------------------------
r1543 | ton | 2003-11-12 16:07:04 +0100 (Wed, 12 Nov 2003) | 2 lines

- bug fix: alpha wrong in unified render halos with lines or rings

------------------------------------------------------------------------
r1542 | rwenzlaff | 2003-11-12 14:32:11 +0100 (Wed, 12 Nov 2003) | 2 lines

Adds Hotspot control to custom cursor.

------------------------------------------------------------------------
r1541 | stiv | 2003-11-12 08:46:07 +0100 (Wed, 12 Nov 2003) | 4 lines


unfix previous fix.
Scene and Text don't need their user counts adjusted.

------------------------------------------------------------------------
r1540 | theeth | 2003-11-11 17:56:51 +0100 (Tue, 11 Nov 2003) | 6 lines

Constraint dashed line drawing.

Still one little problem: It draws the line even where there is not constraint target. Guess I'll have to wip a function to check for that if there isn't one already.

Note to Ton: You just need to add the color link to theme

------------------------------------------------------------------------
r1539 | stiv | 2003-11-11 11:13:04 +0100 (Tue, 11 Nov 2003) | 4 lines


fixed the bug Joseph Gilbert found in numerous python files.
newly created data objs had incorrect user counts.

------------------------------------------------------------------------
r1538 | ascotan | 2003-11-11 06:37:28 +0100 (Tue, 11 Nov 2003) | 2 lines

Fixed some problems with makeParent()

------------------------------------------------------------------------
r1537 | rwenzlaff | 2003-11-11 01:58:25 +0100 (Tue, 11 Nov 2003) | 2 lines

(Hopefully) Fixed bug that caused non-selected edges to be cut by knife.

------------------------------------------------------------------------
r1536 | ton | 2003-11-10 16:28:48 +0100 (Mon, 10 Nov 2003) | 4 lines

- further tweaking of selecting objects...
  I keep forgetting to add 'curarea->win_swap= WIN_FRONT_OK;' after
  drawing in frontbuffer... tsk tsk!

------------------------------------------------------------------------
r1535 | ton | 2003-11-10 15:49:41 +0100 (Mon, 10 Nov 2003) | 2 lines

- redid buttons in image header, was completely messed up...

------------------------------------------------------------------------
r1534 | stiv | 2003-11-10 06:51:55 +0100 (Mon, 10 Nov 2003) | 4 lines


fix for bug #285
text buffer not marked as modified after delete operation

------------------------------------------------------------------------
r1533 | aphex | 2003-11-09 13:36:15 +0100 (Sun, 09 Nov 2003) | 3 lines

-  small fix for snprintf() on Win32...  MS renamed the function
   to _snprintf !?

------------------------------------------------------------------------
r1532 | ton | 2003-11-09 00:18:32 +0100 (Sun, 09 Nov 2003) | 4 lines

- added panel backdrop for buttonswin to themes
- made hilite of headers a tinsy bit subtler
- opengl render (icon 3d window) uses theme for backdrop

------------------------------------------------------------------------
r1531 | ton | 2003-11-09 00:00:55 +0100 (Sun, 09 Nov 2003) | 5 lines

- removed options from main header 'render' menu;
  render opengl 3d window at this location gave unpredictable results, and
  crashes occasionally. Moved it back to header as icon for now... the
  view pulldown menu in 3d header is too full.

------------------------------------------------------------------------
r1530 | ton | 2003-11-08 22:00:09 +0100 (Sat, 08 Nov 2003) | 5 lines

- added popup warning when choosing quicktime at OSX.
  this to notify that the 'options' button in QT dialog freezes.

  Will ask Apple for hints... no clue why this happens.

------------------------------------------------------------------------
r1529 | ton | 2003-11-08 20:04:50 +0100 (Sat, 08 Nov 2003) | 3 lines

- zooming in for action window increased 5 fold.
  (bug report #679). Also corrects old files for it.

------------------------------------------------------------------------
r1528 | ton | 2003-11-08 19:46:50 +0100 (Sat, 08 Nov 2003) | 3 lines

- fix bug #682
  button wrong size...

------------------------------------------------------------------------
r1527 | ton | 2003-11-08 19:37:28 +0100 (Sat, 08 Nov 2003) | 4 lines

- another fix because of the stricter 'qualifier key' checking;
  ctrl+mouseclick didnt work to select objects in editmode, needed for
  making vertex parents.

------------------------------------------------------------------------
r1526 | ton | 2003-11-08 18:51:32 +0100 (Sat, 08 Nov 2003) | 3 lines

- fixed drawing in frontbuffer of selected object... the previous
  fix for selecting multiple objects reveiled this error...

------------------------------------------------------------------------
r1525 | ton | 2003-11-08 17:57:23 +0100 (Sat, 08 Nov 2003) | 8 lines

- bug fix #304
  Wire rendering gave errors with parts.
  This due to the fact the lines are clipped exactly at the pixel
  centers of the image edge. For polys (triangles) that works fine, but
  in wireframe you see the lines ending at the edge.

  Solved by adjusting clipping routine for wires just a tinsy bit.

------------------------------------------------------------------------
r1524 | ton | 2003-11-08 15:41:56 +0100 (Sat, 08 Nov 2003) | 5 lines

- fix bug #294
  removed some code of someone in NaN who tried to fix
  prototypes... just solved by introducing a correct cmat[3][3] instead
  of using weird new matrix code.

------------------------------------------------------------------------
r1523 | ton | 2003-11-08 14:36:16 +0100 (Sat, 08 Nov 2003) | 5 lines

- fixed bug #253
  from NaN period, someone just commented out a piece of code... this to
  prevent the curve itself being converted (as edges) next to the 3d filled
  faces. but for 3D curves there are no filled faces.

------------------------------------------------------------------------
r1522 | ton | 2003-11-08 13:50:40 +0100 (Sat, 08 Nov 2003) | 9 lines

- removed hack in initrender code that allowed 'border render' in a
  previously rendered image. it was just screwing up memory in some cases.
  for it to work quite more elaborate coding is needed.
- when selecting border in camera view (SHIFT+B) the associated render
  option is set automatic
- fixed some mallocs to become callocs in renderloop, to prevent garbish
  when border rendering
- also enables closing bug #179

------------------------------------------------------------------------
r1521 | ton | 2003-11-08 11:59:59 +0100 (Sat, 08 Nov 2003) | 7 lines

- bug fix #74 (oldie!)
  rendering uses data as set in active 3d window again. meaning it renders
  localview or 'unlocked layers' correctly again.
  in background render it uses the scene layers by default.

  was disabled in 2.24 in NaN period... can't find the reason for it.

------------------------------------------------------------------------
r1520 | ton | 2003-11-08 11:47:50 +0100 (Sat, 08 Nov 2003) | 7 lines

- removed all buttons to choose for 'image selector'. where loading images
  is meant, a ctrl+click will invoke image selector still.
- this as discussed a while ago at meeting; the image selector is highly
  unstable, and causes bug reports for each release we do.
- removed reference to 'save runtime' from file menu.
- added icons to fileselect buttons in f10 menu

------------------------------------------------------------------------
r1519 | ton | 2003-11-08 11:02:30 +0100 (Sat, 08 Nov 2003) | 7 lines

- fixed bug #384
  browsing new texture for lamp in texturebuttons (f6) only gave 'add new'
  option.
- saving images in texturepaint mode saves in same format only. this is
  far from an easy fix to use the scene settings, so it indicates with
  saving clearly its in the same type now

------------------------------------------------------------------------
r1518 | ianwill | 2003-11-08 03:19:09 +0100 (Sat, 08 Nov 2003) | 5 lines

BPython:
- Fixed uninitialized NMFace.mode var in NMesh.c
- Incref'ed a couple Py_None's in Object.c
- Minor update in the docs, changed required version to 2.30

------------------------------------------------------------------------
r1517 | ton | 2003-11-07 23:26:15 +0100 (Fri, 07 Nov 2003) | 3 lines

- fixed layout of curve panel (f9 menu)
- changed 'curve' to 'path' in ipo types menu for ipowindow

------------------------------------------------------------------------
r1516 | ton | 2003-11-07 22:12:43 +0100 (Fri, 07 Nov 2003) | 4 lines

- bug #670
  input in ipowindow NKey menu went wrong for vertices... buttons were
  accidentally created double, resulting in double actions. uh!

------------------------------------------------------------------------
r1515 | sirdude | 2003-11-07 22:03:58 +0100 (Fri, 07 Nov 2003) | 8 lines



Updated so that Default Vars button will reset envmap data, if it exists.
doesn't do object its tied to but does everything else for envmaps
now. (clipsta, depth, etc...)

Kent

------------------------------------------------------------------------
r1514 | ton | 2003-11-07 20:23:13 +0100 (Fri, 07 Nov 2003) | 9 lines

- fixed bugreport intrr about shadeless UV texture face having wrong
  brightness... it had one multiplication too many...

- found 3 month old error: the fix i committed for ESC during render
  was undone partially by a commit from guignot one week later. I already
  *thought* ESC reacted so slow... but i had fixed it, not!? :-)

  Now its still fast and instantly reacts to ESC again.

------------------------------------------------------------------------
r1513 | theeth | 2003-11-07 02:52:31 +0100 (Fri, 07 Nov 2003) | 4 lines

Middle mouse emulation fix.

I know Ton fixed this already, but I modified it to be more in accordance with what we decided to do in Space.c

------------------------------------------------------------------------
r1512 | theeth | 2003-11-07 02:51:01 +0100 (Fri, 07 Nov 2003) | 2 lines

Fixed Ctrl-Shift-F3 to capture the whole screen.

------------------------------------------------------------------------
r1511 | theeth | 2003-11-07 02:50:14 +0100 (Fri, 07 Nov 2003) | 2 lines

Raised the numbot upper limit for DupSta and DupEnd.

------------------------------------------------------------------------
r1510 | ton | 2003-11-06 23:38:41 +0100 (Thu, 06 Nov 2003) | 2 lines

- fixed specularity for sun lights

------------------------------------------------------------------------
r1509 | ton | 2003-11-06 23:10:33 +0100 (Thu, 06 Nov 2003) | 4 lines

- made shadowbuffer button into normal num but.
  sliders should be reserved for more limited ranges like 0.0-1.0 and so
  reason was it wasnt readable at all!

------------------------------------------------------------------------
r1508 | sirdude | 2003-11-06 23:07:41 +0100 (Thu, 06 Nov 2003) | 8 lines



Fixed my blunder with Default Vars button.
It was causing plugins not to accept changes to buttons.
Now it works correctly, defaults are set only when you press the button.

Kent

------------------------------------------------------------------------
r1507 | ton | 2003-11-06 22:31:47 +0100 (Thu, 06 Nov 2003) | 2 lines

- zoom in/out in rendered image always includes zoom level 1.0 now.

------------------------------------------------------------------------
r1506 | ton | 2003-11-06 20:20:56 +0100 (Thu, 06 Nov 2003) | 4 lines

- selecting multiple objects at same location had error. was caused by
  new code that manages multiple matrices for 'overlay' buttons.
  just forgot to add call persp(PERSP_VIEW);

------------------------------------------------------------------------
r1505 | stiv | 2003-11-06 19:17:05 +0100 (Thu, 06 Nov 2003) | 4 lines


setControlPoint() had incorrect argument list.
also some minor reformatting.

------------------------------------------------------------------------
r1504 | ton | 2003-11-06 18:22:39 +0100 (Thu, 06 Nov 2003) | 3 lines

- little new feature; 'hide' vertices/edges/faces works in editmode
  for subsurf

------------------------------------------------------------------------
r1503 | hos | 2003-11-06 18:17:52 +0100 (Thu, 06 Nov 2003) | 3 lines

nla strips were not updating the reference counts of actions they
were using.

------------------------------------------------------------------------
r1502 | ton | 2003-11-06 17:35:15 +0100 (Thu, 06 Nov 2003) | 3 lines

- fixed order in addmenu pulldown
- added 'add bones' for in editmode armatures in toolbox

------------------------------------------------------------------------
r1501 | ton | 2003-11-06 16:28:40 +0100 (Thu, 06 Nov 2003) | 2 lines

-fixed bug; ALT+LeftMouse emulates MiddleMouse again.

------------------------------------------------------------------------
r1500 | ton | 2003-11-06 15:13:49 +0100 (Thu, 06 Nov 2003) | 8 lines

bug fix: audio hangs on OSX when playback with ALT+A

reason: mixbuffer size was not correctly initialized in .blend. Doing this
for struct UserData has some extra quirks, so better not do it with
checking for version (if version<2.27 etc) but always (if U.mix==0 etc).

I mail this to committers list as well.

------------------------------------------------------------------------
r1499 | ton | 2003-11-06 12:59:36 +0100 (Thu, 06 Nov 2003) | 4 lines

- fixed bug: removing a window edge (join areas) sometimes found the wrong
  edge.
  this code error was very old... wonder how this error could exist so long

------------------------------------------------------------------------
r1498 | rwenzlaff | 2003-11-06 02:57:49 +0100 (Thu, 06 Nov 2003) | 2 lines

Discovered I never remapped RMB to cancel in get_mouse_trail().  Done now.

------------------------------------------------------------------------
r1497 | rwenzlaff | 2003-11-06 01:01:51 +0100 (Thu, 06 Nov 2003) | 2 lines

Improved Knife line drawing, and added Knife cursor.

------------------------------------------------------------------------
r1496 | rwenzlaff | 2003-11-06 00:54:22 +0100 (Thu, 06 Nov 2003) | 2 lines

Modified pupmenu_col() to allow separators.

------------------------------------------------------------------------
r1494 | ton | 2003-10-30 11:56:06 +0100 (Thu, 30 Oct 2003) | 3 lines

- typo in toolbox, caused faceloop not to work.
  (making release notes, and checking it all... sorry!)

------------------------------------------------------------------------
r1493 | ton | 2003-10-30 10:17:54 +0100 (Thu, 30 Oct 2003) | 5 lines

second violate against freeze & tag... :/

- added tooltips, trackball, and correct menu thresholds to .b.blend
- and default 'emulate 2-button mouse'

------------------------------------------------------------------------
r1492 | ton | 2003-10-30 01:41:36 +0100 (Thu, 30 Oct 2003) | 4 lines

- violating my own AHOY a few minutes ago.. last minute bug report.
  small errors in texture panel... 2 buttons invisible, and 'add new'
  in lamp texture added texture to world.

------------------------------------------------------------------------
r1491 | ton | 2003-10-30 01:13:50 +0100 (Thu, 30 Oct 2003) | 4 lines

- a SPLASHing splash! Made by our house designer Xype.
  it's a teaser for the upcoming manual... but the design for it is not
  ready... the hands theme will come back on cover though.

------------------------------------------------------------------------
r1490 | ton | 2003-10-30 00:30:29 +0100 (Thu, 30 Oct 2003) | 3 lines

- place holder text for 2.3 release. I am preparing a lot of docs for in
  html at the website. The changes in 2.30 don't present well in .txt...

------------------------------------------------------------------------
r1489 | stiv | 2003-10-30 00:03:30 +0100 (Thu, 30 Oct 2003) | 3 lines


shell script to generate blender python api docs using epydoc

------------------------------------------------------------------------
r1488 | ton | 2003-10-29 23:53:09 +0100 (Wed, 29 Oct 2003) | 3 lines

- missing break statement caused middle mouse click to zoom one step,
  only in text editmode

------------------------------------------------------------------------
r1487 | ton | 2003-10-29 22:57:02 +0100 (Wed, 29 Oct 2003) | 3 lines

- fixed error in .b.blend... now all 'dupli' settings that need to be on
  are on... to prevent default 'linked dupli'.

------------------------------------------------------------------------
r1486 | ton | 2003-10-29 22:03:55 +0100 (Wed, 29 Oct 2003) | 2 lines

- release code upped to 2.30 as well

------------------------------------------------------------------------
r1485 | ton | 2003-10-29 22:03:28 +0100 (Wed, 29 Oct 2003) | 2 lines

- blender is 2.30 now! Oh my, what a nice color! :)

------------------------------------------------------------------------
r1484 | ton | 2003-10-29 21:43:40 +0100 (Wed, 29 Oct 2003) | 5 lines

- new .B.blend as provided by intrr, and tweaked by me. :)
- fixed error introduced by coding color for panel, instead of just
  implementing the right default color. this caused colors not possible
  below value '100'... tsk tsk

------------------------------------------------------------------------
r1483 | ton | 2003-10-29 20:23:51 +0100 (Wed, 29 Oct 2003) | 3 lines

- increased tooltip back-grab safety one pixel
- fixed good merging of constraint and effect panel in odd situations

------------------------------------------------------------------------
r1482 | ton | 2003-10-29 19:22:48 +0100 (Wed, 29 Oct 2003) | 4 lines

- added name button for lamp data, lamp-object and empty-object in
  F9 menu.
  actually also belongs in F7 one.... thats for later

------------------------------------------------------------------------
r1481 | michel | 2003-10-29 19:01:57 +0100 (Wed, 29 Oct 2003) | 5 lines

Reorderred linking order in the auto* build environment.
This should fix the link errors experienced the last 2 weeks. Sorry for that.
Still some work left to do in the library linking department, but that's
something for the future...

------------------------------------------------------------------------
r1480 | ton | 2003-10-29 14:54:39 +0100 (Wed, 29 Oct 2003) | 4 lines

- improved readability of top header bar text a bit. patch submitted by
  Desoto.
- also aligned color bar behind 'www.blender.org' vertically with buttons

------------------------------------------------------------------------
r1479 | theeth | 2003-10-29 13:33:15 +0100 (Wed, 29 Oct 2003) | 4 lines

Commented the Key buttons in the constraint window. Sadly, I didn't have time to add the functionality.

Some UI fixes for IK constraints (resizing the buttons)

------------------------------------------------------------------------
r1478 | guignot | 2003-10-29 10:12:22 +0100 (Wed, 29 Oct 2003) | 2 lines

removed duplicated arrays

------------------------------------------------------------------------
r1477 | guignot | 2003-10-29 10:04:01 +0100 (Wed, 29 Oct 2003) | 2 lines

fixed a typo... sorry...

------------------------------------------------------------------------
r1476 | ianwill | 2003-10-29 02:37:32 +0100 (Wed, 29 Oct 2003) | 4 lines

Exppython:
- Minor tweaks related to ipos and Added Object_setIpo and Object_clearIpo to Object.c
- Updated docs

------------------------------------------------------------------------
r1475 | ton | 2003-10-29 02:10:10 +0100 (Wed, 29 Oct 2003) | 5 lines

- made option for auto open toolbox on left/mouse hold.
  standard starts with 0.5 sec. Turn the threshold value up to effectively
  disable it when you dislike it. But give it a try!
- added 'Home' after splitting window for buttonswindow

------------------------------------------------------------------------
r1474 | ton | 2003-10-29 01:23:16 +0100 (Wed, 29 Oct 2003) | 10 lines

- added another load of items to new toolbox... yeez, what an
  ENORMOUS job Matt has done with the menus! :)
- followed as much as possible order and options in pulldowns, but since
  toolbox has more categories, it is split up sometimes.
- did some minor changes in pulldowns to make it more consistant
- not yet: armature & text options...
- not yet: toolbox in other window types

(warning; shift+a now is new... eek!)

------------------------------------------------------------------------
r1473 | theeth | 2003-10-29 01:06:59 +0100 (Wed, 29 Oct 2003) | 2 lines

fixed the last bug with FollowPath (it didn't work with path without a speed IPO).

------------------------------------------------------------------------
r1472 | guignot | 2003-10-29 00:25:59 +0100 (Wed, 29 Oct 2003) | 2 lines

update of the doc (ipoCurve function)

------------------------------------------------------------------------
r1471 | guignot | 2003-10-29 00:25:25 +0100 (Wed, 29 Oct 2003) | 2 lines

modified the print function

------------------------------------------------------------------------
r1470 | guignot | 2003-10-29 00:23:30 +0100 (Wed, 29 Oct 2003) | 2 lines

added getIpo() function.

------------------------------------------------------------------------
r1469 | goofster | 2003-10-28 23:46:34 +0100 (Tue, 28 Oct 2003) | 2 lines

faceloop select adds to selection by default now. I know this is not standard behaviour but there isn't a nice way to implement the normal "Shift adds to selection" for this yet..

------------------------------------------------------------------------
r1468 | ton | 2003-10-28 22:28:13 +0100 (Tue, 28 Oct 2003) | 4 lines

- fixed hotkey error; apply object needs 2 combos
- changed call to selectconnected to accept qualifier as input
  (need to do that for all such tools... no more checking inside!

------------------------------------------------------------------------
r1467 | ton | 2003-10-28 20:03:28 +0100 (Tue, 28 Oct 2003) | 7 lines

- forgot to add links panel for:
  Armature, Camera, Lattice
- this enables browsing data again. All in F9 menu (editing)

- fixed 'home' in buttonswindow, mixed up 1 and 0 again! :)
  (it scaled in the wrong direction...)

------------------------------------------------------------------------
r1466 | ton | 2003-10-28 19:43:55 +0100 (Tue, 28 Oct 2003) | 9 lines

Fixes after report from Matt:

- errors in names/hotkeys pulldowns fixed
- full window option in pulldown win caused ortho on/off event
- weight paint now shows vertex color Panel in editbuttons
- adding armature while vpaint mode, didnt end vpaint mode
- cleaned up some buttons design
- leftmouse press-hold for toolbox also moved 3d cursor

------------------------------------------------------------------------
r1465 | theeth | 2003-10-28 18:47:04 +0100 (Tue, 28 Oct 2003) | 4 lines

Fixed Edge shift selection with Ctrl-Alt-Shift-Right click

Please, if you find anymore bugs like this, report them.

------------------------------------------------------------------------
r1464 | ton | 2003-10-28 17:26:51 +0100 (Tue, 28 Oct 2003) | 3 lines

- added buttons for NKEY menu editmode curve, nurbs, armature
- same for PoseMode

------------------------------------------------------------------------
r1463 | theeth | 2003-10-28 16:29:25 +0100 (Tue, 28 Oct 2003) | 4 lines

Ooops

typing code for all the other transform mode too

------------------------------------------------------------------------
r1462 | ton | 2003-10-28 16:05:11 +0100 (Tue, 28 Oct 2003) | 4 lines

- added Ipo Panel in 'curve' pulldown menu
- fixed: with a minimized 'object transform' panel in 3d win, another call
  for it using pulldowns didnt force it open

------------------------------------------------------------------------
r1461 | ton | 2003-10-28 15:37:47 +0100 (Tue, 28 Oct 2003) | 3 lines

- fixed bug in wrong event code, causing some plugin buttons not working
- added redraw events to plugin buttons, to show updates better

------------------------------------------------------------------------
r1460 | ton | 2003-10-28 15:20:03 +0100 (Tue, 28 Oct 2003) | 10 lines

Fixing loose ends:

- nkey menu for buttonswindow (hex values) couldnt be restored yet, is
  for next release
- replaced Nkey in IpoWindow with Panel, this now displays the buttons
  that were formerly in 'anim buttons' as well; to view the boundbox
  values of all visible curves, and adjust it.
- the new panel also has the 'set speed' option, fixed stuff in it and
  added better errorwarning... still not a very well coded tool!

------------------------------------------------------------------------
r1459 | rwenzlaff | 2003-10-28 14:14:47 +0100 (Tue, 28 Oct 2003) | 5 lines

--Changed labels in Knife from "Centers" to "Midpoints".

--Removed unintenntional reliance on headerprint() to swap buffers.
	(Needed to click on screen to update mesh if header was off).

------------------------------------------------------------------------
r1458 | stiv | 2003-10-28 08:15:02 +0100 (Tue, 28 Oct 2003) | 5 lines


Missing feature: Snap menu was not available in editmode.

Fixed compiler warning about ambiguous else in TKEY block.

------------------------------------------------------------------------
r1457 | theeth | 2003-10-28 04:08:50 +0100 (Tue, 28 Oct 2003) | 4 lines

mostly done for both toets.c and space.c

maybe a couple of odd cases here and there. I'll be cleaning tomorrow.

------------------------------------------------------------------------
r1456 | ianwill | 2003-10-28 01:29:37 +0100 (Tue, 28 Oct 2003) | 5 lines

Exppython:
- Small fix in NMesh.c
- Updates to ipo related methods in Camera, World and Material
- Doc updates

------------------------------------------------------------------------
r1455 | theeth | 2003-10-28 00:55:38 +0100 (Tue, 28 Oct 2003) | 4 lines

Hotkey fixes for space.c

renaming mirrormesh to mirrormenu and added to the hotkey M in editmode (Layer move no longer works in edit mode)

------------------------------------------------------------------------
r1454 | guignot | 2003-10-27 22:50:36 +0100 (Mon, 27 Oct 2003) | 2 lines

Updated documentation for the getCurves function.

------------------------------------------------------------------------
r1453 | ton | 2003-10-27 17:13:45 +0100 (Mon, 27 Oct 2003) | 8 lines

- fixed very very old but in TOG button (it didnt check the values
  correctly for deciding whether its pressed or not
- added 'add new' buttons to material & texture menus
  is done by std_lib buttons in headerbuttons.c, now only for this.
  doing it for ipowindow, sound, etc. has some weird consequences, save
  that for later
- verified usage of 'setting2' color for databuttons only

------------------------------------------------------------------------
r1452 | ton | 2003-10-27 14:32:48 +0100 (Mon, 27 Oct 2003) | 4 lines

- included glitch patch from Desoto:
  the 'copy/paste' icons in Materials editor are drawn on fixed location
  now.

------------------------------------------------------------------------
r1451 | ton | 2003-10-27 14:23:48 +0100 (Mon, 27 Oct 2003) | 5 lines

- added a 'collapse pulldown' icon to all headers that have it
- narrowed the space icon takes, looks pretty
- the status (pulldown or not) is now stored locally per window, it was
  global flag in user settings.

------------------------------------------------------------------------
r1450 | rwenzlaff | 2003-10-27 01:03:18 +0100 (Mon, 27 Oct 2003) | 2 lines

Changed Knife cursor in windows back to an arrow, since cross is "normal" cursor.

------------------------------------------------------------------------
r1449 | ton | 2003-10-27 00:47:58 +0100 (Mon, 27 Oct 2003) | 8 lines

- fixed this nasty selection problem, i hope for good!
- problem was in limiting the abuse of frontbuffer drawing as happended
  a lot in 2.28 and older. the less the better...
- bug was not registering a curarea->win_swap=FRONT_OK, to indicate there
  was only drawn in frontbuffer
- cleaned up calls further, and made sure it doesnt draw 1 vertex too many!
  also means it works better with selecting in solid drawmode now, check!

------------------------------------------------------------------------
r1448 | rwenzlaff | 2003-10-26 22:22:32 +0100 (Sun, 26 Oct 2003) | 2 lines

	Added K Menu for Loop Select, Loop Cut, and Knife tools.

------------------------------------------------------------------------
r1447 | guignot | 2003-10-26 22:22:24 +0100 (Sun, 26 Oct 2003) | 2 lines

Update of the documentation files for the new IPO functions

------------------------------------------------------------------------
r1446 | ton | 2003-10-26 22:09:33 +0100 (Sun, 26 Oct 2003) | 5 lines

- fixed printing in headers (during modes) for when there is no header...
  (uhh.. i mean, then it doesnt print!)
- put back axis icon of 3d win to left/bottom corner.
  it was only moved for tests with an extended header to the left...

------------------------------------------------------------------------
r1445 | ton | 2003-10-26 21:45:52 +0100 (Sun, 26 Oct 2003) | 9 lines

- restored default one 'solid' light
- subsurd level '0' is possible again.
  however; it was changed to '1' because convert-to-mesh crashes. the
  subsurf code doesnt give a result when level is '0', causing the convert
  routines to either crash, or deliver empty mesh...
  I added a warning in the convert routine now, and dont do anything then.
- changed all glFlush() in glFinish() in editobject.c, which seems to be
  the right magical call to show frontbuffer drawing.

------------------------------------------------------------------------
r1444 | guignot | 2003-10-26 17:54:33 +0100 (Sun, 26 Oct 2003) | 2 lines

added a new function : getCurve(string) allowing access to an ipo curve from its name.

------------------------------------------------------------------------
r1443 | guignot | 2003-10-26 17:51:53 +0100 (Sun, 26 Oct 2003) | 2 lines

iaccess to the IPOs of a Camera, a World, or of a Material

------------------------------------------------------------------------
r1442 | aphex | 2003-10-26 09:58:48 +0100 (Sun, 26 Oct 2003) | 2 lines

- removed a debug printf().

------------------------------------------------------------------------
r1441 | ianwill | 2003-10-26 07:03:18 +0100 (Sun, 26 Oct 2003) | 7 lines

Exppython:
- Added "Radio" to Material modes
- Fixed bug in bone.getParent (bug report on blender.org py forum)
- Added more types to object.shareFrom (method to share obdata)
- Added nmesh.get/setMaxSmoothAngle and nmesh.get/setSubDivLevels
- Updated NMesh doc

------------------------------------------------------------------------
r1440 | theeth | 2003-10-26 05:18:03 +0100 (Sun, 26 Oct 2003) | 6 lines

Mirror now works with all types of data
Fixes the different type of center for Mirror
Rename mirrormesh to mirrormenu

I'm looking for a hotkey for that. Will talk about it tomorrow during the meeting

------------------------------------------------------------------------
r1439 | ton | 2003-10-26 01:57:58 +0200 (Sun, 26 Oct 2003) | 6 lines

- new menu type; with icon support!
  (the one you make with uIDefBut(..., MENU, ...)
  add a %i<nr> to the string, and the item gets <nr> as icon.
- added this to the 'mode' selectors in 3dwin and ipowin
- cleaned up code for modeselector pup... that was a bad ass one! :)

------------------------------------------------------------------------
r1438 | theeth | 2003-10-26 00:59:15 +0200 (Sun, 26 Oct 2003) | 2 lines

Background image offset buttons

------------------------------------------------------------------------
r1437 | ton | 2003-10-26 00:43:08 +0200 (Sun, 26 Oct 2003) | 3 lines

- fixed bug: strcat used instead of strcpy.
  is dangerous on unitialized stack string...

------------------------------------------------------------------------
r1436 | ton | 2003-10-26 00:30:27 +0200 (Sun, 26 Oct 2003) | 2 lines

- added more items to the menu. Object is getting complete, now Mesh...

------------------------------------------------------------------------
r1435 | ton | 2003-10-26 00:29:24 +0200 (Sun, 26 Oct 2003) | 7 lines

- fixed colors of ipokeys in 3d window
- fixed constraint popup menu (used icons)
- moved 'full' and 'View3d props' and 'background' items in menu to bottom
  Hope Matt wont kill me for it, but these were about the only useful
  ones there... :)
- little fix in interface.c for menus...

------------------------------------------------------------------------
r1434 | theeth | 2003-10-26 00:24:00 +0200 (Sun, 26 Oct 2003) | 2 lines

Fixed grab on local axis in object mode

------------------------------------------------------------------------
r1433 | ton | 2003-10-26 00:03:19 +0200 (Sun, 26 Oct 2003) | 10 lines

Split the 'background and settings' panel in 3d window in 2 parts.
Instructions for how to add panels there:

- add a handler define code in BIF_space.h
- create a menu item that invokes a add_blockhandler()
- add to view3d_blockhandlers() the correct handler for it

- plus create a panel itself, just copy one... it needs some stuff
  to get working, docs for that are for later

------------------------------------------------------------------------
r1432 | goofster | 2003-10-25 22:56:05 +0200 (Sat, 25 Oct 2003) | 2 lines

fixed a few warnings in my code

------------------------------------------------------------------------
r1431 | theeth | 2003-10-25 22:30:37 +0200 (Sat, 25 Oct 2003) | 2 lines

corrected a bug with Align view and rotated objects

------------------------------------------------------------------------
r1429 | ton | 2003-10-25 21:17:24 +0200 (Sat, 25 Oct 2003) | 4 lines

- fixed crash with ALT+C conversion of subsurf to mesh with subdiv level 0
- also changed the limits in the subdiv levels buttons; ranging now 1-6
  (note: '6' gives 16k new faces per old face... and max was 12!)

------------------------------------------------------------------------
r1428 | ton | 2003-10-25 19:33:47 +0200 (Sat, 25 Oct 2003) | 3 lines

- fixed smooth drawing of subsurf & mesh in 'shaded' draw mode.
  looks indeed a lot better!

------------------------------------------------------------------------
r1427 | ton | 2003-10-25 18:53:50 +0200 (Sat, 25 Oct 2003) | 12 lines

New feature!

You now can adjust the way the default 'solid opengl' drawing happens.
It provides three lights now, all still located around your viewpoint.
In the UserSettings menu you can set them on/off, give location and
color / specularity.

Very nice to enhance modeling in solid drawmode :)

By default blender starts with 2 lights on now, but this is something we
can define in the default .b.blend later on.

------------------------------------------------------------------------
r1426 | jiri | 2003-10-25 16:33:53 +0200 (Sat, 25 Oct 2003) | 3 lines


- item "Export" renamed: "Convert to 3d text"

------------------------------------------------------------------------
r1425 | aphex | 2003-10-25 16:09:18 +0200 (Sat, 25 Oct 2003) | 6 lines

- fixed a bug when saving user defaults (Win32 only)
  (the first save didn't store paths or font settings!)

This is something I broke back at 2.28a :)
I'm suprised there were no bug reports on this, but it's fixed now! ;)

------------------------------------------------------------------------
r1424 | aphex | 2003-10-25 15:29:38 +0200 (Sat, 25 Oct 2003) | 2 lines

added IPO header pull-down menus.

------------------------------------------------------------------------
r1423 | ton | 2003-10-25 15:27:12 +0200 (Sat, 25 Oct 2003) | 3 lines

- commented out the #ifdef APPLE for closing renderwindow.
  this only works with compiling GHOST again!

------------------------------------------------------------------------
r1422 | ton | 2003-10-25 15:25:59 +0200 (Sat, 25 Oct 2003) | 12 lines

- found the bad line in Ghost that preventing closing windows.
  I've mailed Maarten to verify it, this commit is for test at other
  OSX platforms.

- this was the baddie:
  setDrawingContextType(GHOST_kDrawingContextTypeNone);
  it was called in the window destructor, for each window closed.
  I've hacked in a temporal global var to store the mainwindow. When this
  line is only called for mainwindow, it all works smoothly.

- next commit is needed too!

------------------------------------------------------------------------
r1421 | jiri | 2003-10-25 15:08:15 +0200 (Sat, 25 Oct 2003) | 3 lines


- removed tooltips from pull-down menus

------------------------------------------------------------------------
r1420 | jiri | 2003-10-25 14:27:16 +0200 (Sat, 25 Oct 2003) | 3 lines


- removes warnings

------------------------------------------------------------------------
r1419 | ton | 2003-10-25 13:38:04 +0200 (Sat, 25 Oct 2003) | 11 lines

fixed three bugs:

- subsurf also smoothed loose vertices, in a strange way that never showed
  up until 'draw subsurf handles' was implemented.
  fixed subsurf code not to include loose vertices anymore
- saving a file in editmode caused a new displaylist to made... fixed an
  old bad hack from NaN period.
  (displists are still lousy code...)
- fixed drawing vertices in frontbuffer on select.
  the delay you see is because blender waits for 'rightmouse transform'.

------------------------------------------------------------------------
r1418 | jiri | 2003-10-25 12:33:03 +0200 (Sat, 25 Oct 2003) | 5 lines


- added menus to header of text editor
- added Alt-N shortcut (New text)
- look at blender.webpark.cz/texteditor.html

------------------------------------------------------------------------
r1417 | goofster | 2003-10-25 11:41:22 +0200 (Sat, 25 Oct 2003) | 2 lines

Fixed bug in Loop Subdivide preview line (cause a crash)

------------------------------------------------------------------------
r1416 | goofster | 2003-10-25 02:37:14 +0200 (Sat, 25 Oct 2003) | 28 lines

Final (hopefully) commit for faceloop select and loop subdivide

Loop Select:

Selects a row (or loop) of faces in a mesh, keeps searching till it
finds a loop (End face == Start Face) or till it finds a dead end.

Loop Subdivide:

Searches for the same row/loop as loop select but inmediately
splits it in half.

Usage:
- Loop select:
  Shift-R (or select->faceloop)
  move mouse over mesh to see preview of selection
  LMB to confirm selection, RMB or ESC to cancel

- Loop Subdivide:
  Ctrl-R (or Mesh->Edges-> Loop Subdivide)
  move mouse over mesh to see preview of the newly cut loop
  LMB to confirm selection, RMB or ESC to cancel


Please test! (besides, it's fun to play with :)

Roel

------------------------------------------------------------------------
r1415 | ton | 2003-10-25 02:11:32 +0200 (Sat, 25 Oct 2003) | 9 lines

I did one commit, but two logs!

- another click at pulldown menu doesnt close it anymore (annoying!)
- the order of Menus (from buttons) now is correctly flipped if needed
- had a LOAD of work on getting matrix code in interface.c cleaned up...
  there was still a bug with automatic flipping of menus to prevent them
  going outside the screen. should be solved now
- fixed crash: add new screen didnt work...

------------------------------------------------------------------------
r1414 | ton | 2003-10-25 02:08:12 +0200 (Sat, 25 Oct 2003) | 43 lines

First commit of a new toolbox system.

Aim was to find a simple & easy system, script alike, to add and configure
a toolbox system, so that others can experiment, but also of course Python.

Summary:
- spacebar calls it up. SHIFT+A still does old toolbox
- hold left or rightmouse for 0.4 second, and it pops up as well
  this is experimental! Can be tweaked with Userdef var "ThresA"
- it is a little bit complete for Object mode only. Needs still work
  at information desing/structure level
- the code works like an engine, interpreting structs like this:

static TBitem addmenu_curve[]= {
{	0, "Bezier Curve", 	0, NULL},
{	0, "Bezier Circle", 1, NULL},
{	0, "NURBS Curve", 	2, NULL},
{	0, "NURBS Circle", 	3, NULL},
{	0, "Path", 			4, NULL},
{  -1, "", 			0, do_info_add_curvemenu}};

- first value is ICON code,
- then name
- return value
- pointer to optional child

last row has -1 to indicate its the last...
plus a callback to event function.

I also built an old toolbox style callback for this:

static TBitem tb_object_select[]= {
{	0, "Border Select|B", 	'b', NULL},
{	0, "(De)select All|A", 	'a', NULL},
{	0, "Linked...|Shift L", 	'L', NULL},
{	0, "Grouped...|Shift G", 	'G', NULL},
{  -1, "", 			0, tb_do_hotkey}};

here the return values are put back as hotkeys in mainqueue.

A mainloop can do all context switching, and build menus on the fly.
Meaning, it also allows other designs such as radials...

------------------------------------------------------------------------
r1413 | ianwill | 2003-10-24 19:08:59 +0200 (Fri, 24 Oct 2003) | 2 lines

Exppython: fixed crash caused by linking to a scene objects with NULL obdata, caused by recent (2.28c) internal changes to avoid unneded creation of obdata.

------------------------------------------------------------------------
r1412 | ascotan | 2003-10-24 01:44:18 +0200 (Fri, 24 Oct 2003) | 2 lines

Annotation of the BGL module - small clarifications about Buffer class

------------------------------------------------------------------------
r1411 | ascotan | 2003-10-24 01:17:48 +0200 (Fri, 24 Oct 2003) | 2 lines

Annotation of the BGL module

------------------------------------------------------------------------
r1410 | ton | 2003-10-24 00:28:49 +0200 (Fri, 24 Oct 2003) | 4 lines

- added ifdef INTERNATIONAL for changes in interface.c
- changed switching to smaller/larger fonts, it now does only 1 pnt size.
  with standard font (11), medium is 10, small 9

------------------------------------------------------------------------
r1409 | theeth | 2003-10-24 00:20:19 +0200 (Fri, 24 Oct 2003) | 2 lines

there was a function prototype missing from interface.c that caused an error with MSVC.

------------------------------------------------------------------------
r1408 | ton | 2003-10-23 20:25:08 +0200 (Thu, 23 Oct 2003) | 6 lines

- AntiAlias fonts (FTF) now are used in three sizes, like the normal
  fonts, and switched based at the window zoom.

  Might be something to tweak when to switch exactly, but it works
  cool!

------------------------------------------------------------------------
r1407 | ton | 2003-10-23 18:52:54 +0200 (Thu, 23 Oct 2003) | 5 lines

- added Panel for 'anim playback settings'
- removed draw rect from avi coded settings (should become label but)
- changing texture settings, now also updates lamp/material/world
  preview when thats open

------------------------------------------------------------------------
r1406 | ton | 2003-10-23 18:15:05 +0200 (Thu, 23 Oct 2003) | 20 lines

Cleaned up new constraint line drawing while grab/rot/scale

- uses callback mechanism to tell main drawing routine what to do
- for that reason it doesn't use frontbuffer drawing anymore
  and it shows up in all 3d windows as well
- it uses the same colors as for the grid axes (I tweaked it a bit,
  this is based at themecolors, and also should work in different
  background and grid color)
- I disabled drawing lines through every object or every vertex.
  The current display method is clear and not distracting
- when in 'local' transform (double press X/Y/Z), it displays a nice
  axis in the center of transform for vertices.
  In object-mode, local transform differs per object, so constraint lines
  and axes are drawn for each individually...

Also:

- fixed an old bug in rotate transform(). Using a constraint for
  rotation (X, Y, Z) didn't work for multiple objects at all!

------------------------------------------------------------------------
r1405 | ton | 2003-10-23 13:00:51 +0200 (Thu, 23 Oct 2003) | 4 lines

- fixed drawing of headers... they align now exactly with the 1 pixel
  black edge between 'area windows'.
  the new ortho matrix seems to work for me... :)

------------------------------------------------------------------------
r1404 | ton | 2003-10-23 12:23:38 +0200 (Thu, 23 Oct 2003) | 8 lines

- changed ortho2 calls by default... according the 'opengl correctness'
  chapter in 'opengl programming guide' you have to offset the matrix
  with 0.375 for exact & predictable cross platform pixel drawing.
  Blender used 0.5....

Committed for test among platforms... if you see weird drawing results
(like polygons not aligning good with lines) just notify me.

------------------------------------------------------------------------
r1403 | ton | 2003-10-23 11:38:10 +0200 (Thu, 23 Oct 2003) | 4 lines

- <blush> forgot to delete an old line:
  if(R.mat->septex) break;
  this caused the new per-channel switching only to work with 2 textures!

------------------------------------------------------------------------
r1402 | rwenzlaff | 2003-10-23 08:34:50 +0200 (Thu, 23 Oct 2003) | 2 lines

	Adjusted Layout in texture, texture_plugin, and texture_mapto panels.

------------------------------------------------------------------------
r1401 | rwenzlaff | 2003-10-23 04:42:09 +0200 (Thu, 23 Oct 2003) | 4 lines

BugFix: do_global_buttons() was split into  do_global_buttons() and do_global_buttons2(),
	but do_butspace() still routed events for do_global_buttons2() to
	do_global_buttons().  This kept a lot of "Single User" buttond from working.

------------------------------------------------------------------------
r1400 | ton | 2003-10-23 01:20:44 +0200 (Thu, 23 Oct 2003) | 10 lines

- themed all window types... phew!
  BTW: text colors don't work everywhere yet... but this state should
  be save to store themes in your .B.blend (CTRL+X)

and some fixes:

- leftmouse click now works in NLA and Action window to select a
  strip in the left part
- faceselect+vpaint mode didnt show both panels

------------------------------------------------------------------------
r1399 | theeth | 2003-10-23 01:17:48 +0200 (Thu, 23 Oct 2003) | 9 lines

Small constraint loop detection and calculation fix that now allows two objects to track each other (normal track or LockTrack).
This is done by disabling the object position refresh call when calculating these constraints. From the tests I did, this doesn't cause any problem at all.

The main point of this is to create pistons and the like.

For coders:

the detect_constraint_loop function now takes an additional parameter that determines the constraint type of the object it's looping from.

------------------------------------------------------------------------
r1398 | theeth | 2003-10-23 00:13:23 +0200 (Thu, 23 Oct 2003) | 2 lines

fixed a warning that slipped by :|

------------------------------------------------------------------------
r1397 | ton | 2003-10-22 20:58:46 +0200 (Wed, 22 Oct 2003) | 7 lines

- material editor: each texture channel can be individually switched,
  instead of the old 'septex' which only showed the active one

- rendering: the 'stencil' option now works to stencil out normals as well

(special requests from our manual master, s68)

------------------------------------------------------------------------
r1396 | ton | 2003-10-22 19:34:51 +0200 (Wed, 22 Oct 2003) | 9 lines

- fixed bug: 'header select' themecolor had no alpha, causing antialiased
  lines not drawn (triangles in buttons for example)
- correct colors for channels in texture buttons
- fixed bug: using proportional editing, the extra wire draw had incorrect
  matrix
- fixed bug: drawing in imagewindow didnt work anymore... was a very old
  one! the wrong pointer was read, and it accidentally went OK, until now
- selecting vertices with multiple 3d wins open works again

------------------------------------------------------------------------
r1395 | ton | 2003-10-22 11:06:30 +0200 (Wed, 22 Oct 2003) | 13 lines

More fixes in object drawing:

- transparent faces in editmode don't write in zbuffer anymore (prevents
  drawing errors) but still read (so behind the subsurf faces for example)
- improved drawing 'handles' for subsurf editing
- going in editmode to Solid view, will draw extra wire always, including
  transparent faces when set
- works in all combos... http://www.blender.org/docs/ton/subsurf.html

- fixed error; padplus/padminus didnt work in buttonswindow anymore
- improved buttonswin: when dragging window edge, the buttons dont
  rescale, but stay same size

------------------------------------------------------------------------
r1394 | theeth | 2003-10-22 04:05:51 +0200 (Wed, 22 Oct 2003) | 2 lines

Added mirror function to the code and to the Wkey menu (at the end)

------------------------------------------------------------------------
r1393 | theeth | 2003-10-22 03:25:11 +0200 (Wed, 22 Oct 2003) | 2 lines

Added PADENTER confirmation to transform.

------------------------------------------------------------------------
r1392 | rwenzlaff | 2003-10-22 03:21:37 +0200 (Wed, 22 Oct 2003) | 3 lines

	- Added PADENTER to knife confirm, to make it more consistant
	with okee() et. al.

------------------------------------------------------------------------
r1391 | rwenzlaff | 2003-10-22 02:52:26 +0200 (Wed, 22 Oct 2003) | 4 lines

	- Preserved selections in undo.

	- Fixed spurious "recalc norm" enties in Undo.

------------------------------------------------------------------------
r1390 | theeth | 2003-10-22 01:39:47 +0200 (Wed, 22 Oct 2003) | 18 lines

Numerical input in transformation modes (Grab, Rotate, Scale,
Warp, Shear, Shrink/Fatten). It works with the transformations mode,
it doesn't replace them, so just enter grab, scale or rotate mode
as usual and start typing. Both numpad and non-numpad works for the
numbers.

Tab switches between axis (the axis that is being modified has
parenthesis)
Backspace clears the current axis. Twice clears all axis.
Minus (-) switches between positive and negative value.

The mouse is now disabled when you type (as soon as you use one of
the numerical keys). You can use Nkey to switch between numerical
and mouse driven mode.

The minus key on the numpad still affects the PET in mouse-driven
mode, but affects the sign of the number in numerical input.

------------------------------------------------------------------------
r1389 | rwenzlaff | 2003-10-22 01:27:08 +0200 (Wed, 22 Oct 2003) | 2 lines

	Fixes Makefile for intern/SoundSystem/intern.

------------------------------------------------------------------------
r1388 | ton | 2003-10-21 23:59:00 +0200 (Tue, 21 Oct 2003) | 9 lines

- fixed error; the vertices didnt draw anymore in editmode with sold draw.
  was caused because i only tested the new cool 'draw wire extra'. :)

- by default, in solid draw mode & editmode, it does a 'draw wire extra'
  now, giving nice clean editmesh drawing.

- there's still a few quirks, i do a test now... this commit is to have
  a good working blender in cvs. the whole drawing system is such chaos...

------------------------------------------------------------------------
r1387 | ascotan | 2003-10-21 19:25:27 +0200 (Tue, 21 Oct 2003) | 2 lines

A few bugfixes to the vgrouping methods

------------------------------------------------------------------------
r1386 | theeth | 2003-10-21 19:01:10 +0200 (Tue, 21 Oct 2003) | 19 lines

Axis constraint in transform for grab mode
Axis constraint in size mode

note: the original behavior when constraining with middle mouse in object mode is weird. I've leave it that way, but I think it would be a good time to fix it. Another thing: in object mode, you can only constrain size to local axis. Global axis would involve either screwing the matrix (which stinks) or modifying the vert coords directly (which is a no no)

Please also note that this breaks the mirroring combo.
I'll be commiting my edit mode mirror function soon to fix that.

Coder note:

You can now call the transform function with an additional parameter to constraint to an axis.
example:

transform('g'*'X')
transform('s'*'y')
transform('r'*'z')

Capital axis letter for global axis, lower case for local axis

------------------------------------------------------------------------
r1385 | theeth | 2003-10-21 18:56:25 +0200 (Tue, 21 Oct 2003) | 2 lines

fixed warnings and errors in buttons_object.c

------------------------------------------------------------------------
r1384 | ton | 2003-10-21 18:41:28 +0200 (Tue, 21 Oct 2003) | 19 lines

Mesh drawing stuff!

- in zbuffer mode, vertices will be blended 50% in... and when you increase
  vertex size larger than 2 pixels, it will draw them smaller
- removed all 'wire extra' calls (there were dozens!) and replaced it with
  simple call where it belongs.
  This drawing mode is becoming nice & stable... maybe something to make
  default on for new objects? Makes selecting quite easier...

- Subsurf: in editmode, with new 'Optimal' option set, the mesh itself
  will not draw, but instead it draws 'handles' to the vertices. Looks
  extremely clean!

- matched drawing of default grid-floor (persp) to ortho grid

- killed drawing vertices outside of main drawing loop, apart from the
  routine that uses mouse-selecting. (tekenvertices_ext()). It was an old
  optimize routine which became quite useless.

------------------------------------------------------------------------
r1383 | theeth | 2003-10-21 18:25:00 +0200 (Tue, 21 Oct 2003) | 11 lines

Helpline drawing in transform (semi broken in this commit)
This is only usefull for rotate now, but the axis constraining code has a part that depended on this, so I commit this part first.

For coders:

void constline(float *center, float *dir, int col)
	Draw an infinite line on the screen. col is the color argument. It must be cpack compatible

void project_short_infiniteline(float *vec, float *dir, short *adr1, short *adr2);
	clips infinite line to screen border

------------------------------------------------------------------------
r1382 | theeth | 2003-10-21 17:57:16 +0200 (Tue, 21 Oct 2003) | 5 lines

For coders:

Axis CONST and variable rename in transform in preparation of further commits
Parsing code to supply axis constraint with the mode (Broken knows what I'm talking about)

------------------------------------------------------------------------
r1381 | theeth | 2003-10-21 15:22:07 +0200 (Tue, 21 Oct 2003) | 31 lines

Constraint stuff from tuhopuu including (but probably not limited too):

Axis options for TrackTo
LockTrack
FollowPath

Auto creation of TrackTo constraint from Ctrl-T (old track still an option)

Auto creation of FollowPath when parenting to path (Normal parent still an option)

Backward compatibility stuff to convert the per object axis settings to per constraint when a Track constraint is present.

Function to convert old track to constraint (commented out)

Revamped the constraints interface with Matt's work from tuhopuu and the stuff we were discussing earlier.

--------------------
For coders:

unique_constraint_name and *new_constraint_data  moved to the kernel (constraint.c)

new Projf function in arithb gives the projection of a vector on another vector

add_new_constraint now takes a constraint type (int) parameter

add_constraint_to_object(bConstraint *con, Object *ob) to link a constraint to an object

add_constraint_to_client(bConstraint *con) to link constraint to current client (object or bone)

add_influence_key_to_constraint (bConstraint *con) to (eventually) add a keyframe to the influence IPO of a constraint

------------------------------------------------------------------------
r1380 | ton | 2003-10-21 14:23:38 +0200 (Tue, 21 Oct 2003) | 6 lines

fixed bugs:

- faceselect mode works again
- selecting vertices for lattices, surfaces and curves works again
- in previewrender sometimes a square was drawn, which was texture-crop

------------------------------------------------------------------------
r1379 | ton | 2003-10-21 13:46:12 +0200 (Tue, 21 Oct 2003) | 3 lines

- forgot to set 'minimal theme' callback for sliders, causing a crash when
  displaying Constraint Panel in F7 menu.

------------------------------------------------------------------------
r1378 | ton | 2003-10-21 10:43:29 +0200 (Tue, 21 Oct 2003) | 4 lines

- another formula for 'draw wire extra'. this time it doen't scale, but
  only moves z-values in drawing in zbuffer. still matrix art I don't
  fully grasp... but it seems to work!

------------------------------------------------------------------------
r1377 | broken | 2003-10-21 09:28:44 +0200 (Tue, 21 Oct 2003) | 3 lines

Made pupmenu() separators consistent with pulldowns
TODO: same for popup menu buttons

------------------------------------------------------------------------
r1376 | broken | 2003-10-21 09:02:38 +0200 (Tue, 21 Oct 2003) | 2 lines

Added a function to shade alpha as well as colour

------------------------------------------------------------------------
r1375 | broken | 2003-10-21 09:02:04 +0200 (Tue, 21 Oct 2003) | 5 lines

- Lots of tweaks to interface colours, shading, etc.
- Fixed alignment/width of menus

Still needs more work.

------------------------------------------------------------------------
r1374 | ton | 2003-10-21 01:20:37 +0200 (Tue, 21 Oct 2003) | 12 lines

- fixed drawmode 'wire extra'.
  it was using some unsupported linewidth trick... I've been trying to
  get the official glPolygonOffset to working, but my silly Mac doesnt
  support it, it seems.
  So! I thought of another trick, and that's just moving the window
  matrix a little to the front. :)

- for those interested; the code for glPolygonOffset is still there,
  commented out. (drawobject.c)

- btw: the drawobject.c routines are a TOTAL mess!

------------------------------------------------------------------------
r1373 | ton | 2003-10-20 23:58:15 +0200 (Mon, 20 Oct 2003) | 7 lines

- added new drawing type for subsurf editing. Is called 'Optimal' and
  can be found under the 'SubSurf' button.
  Optimal drawing only shows the subdivided original edges. Quite nice!
  And; it's a load faster!

- to evaluate: do we want this in editmode too?

------------------------------------------------------------------------
r1372 | aphex | 2003-10-20 22:14:15 +0200 (Mon, 20 Oct 2003) | 2 lines

oops!.. this belongs with previous commit! ;)

------------------------------------------------------------------------
r1371 | aphex | 2003-10-20 22:12:01 +0200 (Mon, 20 Oct 2003) | 5 lines

added sequence editor pull-down menus.

TODO: fix "Enter/Exit Meta Strip" to work correctly for nested
meta strips.

------------------------------------------------------------------------
r1370 | ianwill | 2003-10-20 20:57:31 +0200 (Mon, 20 Oct 2003) | 2 lines

Exppython: small changes in NMesh internals and docs

------------------------------------------------------------------------
r1369 | ton | 2003-10-20 20:15:06 +0200 (Mon, 20 Oct 2003) | 2 lines

- fixed correct themecolor for popup menus

------------------------------------------------------------------------
r1368 | ton | 2003-10-20 19:46:33 +0200 (Mon, 20 Oct 2003) | 13 lines

- made a template function for editmesh enthusiasts.
  - goes in a loop,
  - draws current window
  - sets view transform to correct matrix
  - you can draw stuff
  - swapbuffers
  - event queue test to escape

Test: CTRL+R in editmode.
Right now it hilites the closest edge to to mouse cursor, just for fun!
Goofster will use it for the loop-cutter tool later. But the template
will remain there, commented out, for others to play with.

------------------------------------------------------------------------
r1367 | sirdude | 2003-10-20 18:49:07 +0200 (Mon, 20 Oct 2003) | 7 lines



Added interface_draw.c to autoconf, Ton you should really look at this
its easy to do ;)

Kent

------------------------------------------------------------------------
r1366 | goofster | 2003-10-20 17:57:43 +0200 (Mon, 20 Oct 2003) | 2 lines

added interface_draw.c to msvc 6.0 projectfile

------------------------------------------------------------------------
r1365 | ton | 2003-10-20 17:54:31 +0200 (Mon, 20 Oct 2003) | 2 lines

- and a new file! Belongs to previous commit...

------------------------------------------------------------------------
r1364 | ton | 2003-10-20 17:40:20 +0200 (Mon, 20 Oct 2003) | 47 lines

Another mega commit... loadsof restructure, and a pretty good one! :)

- changed the BIF_DrawString() function. it used to work different for
  AA fonts  as for default fonts. Now it's identical. Setting color for fonts
  can just be done with OpenGL, for both font types.
  Removed: BIF_DrawStringRGB()
- added theme color options for Buttons
- recoded DefButton, so it automatically chooses the right color.
- had to remove a 1000 uiBlockSetCol() calls for that reason...
- uiBlockSetCol() still works, to override automatic color

- removed entirely the silly old color system (BIFColorID). All color
  calls can now be done with a BIF_ThemeColor() call, including fonts and
  buttons and opengl stuff

- all buttons in button header have headercolor by default

- recoded drawing icons, it was a really bad & old loop doing manually
  colorshading and blending... which was per pixel a load of code!
  Now it uses a single OpenGL call to blend or colorize. Quite faster!
- (as test, for review) icons don't colorize anymore with button color,
  but have a different alpha to blend in (when not active)


- recoded the entire interface_draw.c file...:
- drawing buttons is separated in three parts:
  1. main drawing function for text and icons
  2. free definable callback for button itself
  3. free definable callback for slider
- removed a load of redundant code for this!
- coded a minimal theme, and adjusted Matt's buttons to match new
  callback system

- adding new drawing themes is piece of cake now
- for coders, default 'themes' to be aware of:
  UI_EMBOSS : the themable drawing style
  UI_EMBOSSP: the pulldown menu system (apart from color not themable)
  UI_EMBOSSN: draw nothing, only text and/or icon
  UI_EMBOSSM: minimal theme, still in use for Logic and Constraintsa
  this can be set with uiBlockSetEmboss(block) or in the uiNewBlock() call.

TODO: make UI API call for button alignment

(plus removed another series of warnings from code...)

Plus: fixed bug in Matts commit: he used a 'short' button for an 'int'

------------------------------------------------------------------------
r1363 | broken | 2003-10-20 06:05:31 +0200 (Mon, 20 Oct 2003) | 2 lines

- Added nicer, smoother tooltip drawing

------------------------------------------------------------------------
r1362 | broken | 2003-10-20 05:33:29 +0200 (Mon, 20 Oct 2003) | 7 lines

- Cleaned, compacted the 3D View header

- Cleaned, compacted and slightly re-arranged 3D View edit menus
- Added Undo and Knife Subdivide to 3D View menus
- Added undo_push_mesh to a couple of menu entries to make them work
  properly with undo

------------------------------------------------------------------------
r1361 | broken | 2003-10-20 04:19:48 +0200 (Mon, 20 Oct 2003) | 4 lines

Added
void selectall_type(short obtype);
void selectall_layer(int layernum);

------------------------------------------------------------------------
r1360 | broken | 2003-10-20 04:19:17 +0200 (Mon, 20 Oct 2003) | 21 lines

Object selection from tuhopuu2:
Select All by Type / Select All by Layer

User info:
Found in (object mode) 3D View header menu > Select >
Select All by Type selects all objects on visible layers of a certain type
Select All by Layer selects all objects on a certain layer (visible / invisible)

These used together are useful for managing a complex scene, for example
quickly selecting all the lamps and moving them to a separate layer, or
selecting the contents of a layer without having to disrupt the view
configuration of visible/invisible layers.

Coder Info:
Added two functions in editview.c
void selectall_type(short obtype);
void selectall_layer(int layernum);

I committed both of these together since the code/changes are both
very similar.

------------------------------------------------------------------------
r1359 | rwenzlaff | 2003-10-20 02:46:03 +0200 (Mon, 20 Oct 2003) | 4 lines

Knifetool bugfix:
	The call to headerprint left GL environment in wrong state to draw knife
	line in all but top view. Moved persp() call to after headerprint().

------------------------------------------------------------------------
r1358 | rwenzlaff | 2003-10-19 23:47:03 +0200 (Sun, 19 Oct 2003) | 21 lines

Dynamic Face/Vert/Halo/Lamp tables:

User Info:
	Hard coded limits on the total number of face, verts, halos, and lamps
	is gone.  Blender now allocates the tables for these on an as needed
	basis.  As long as your system can come up with the memory, you won't
	run out.  As a bonus, it also uses slightly less memory on smaller scenes.

Coder info:
	This has been in tuhopuu for a while, but I don't know how hard it
	has been tested.  Since it now allocates only an initial 1024 tables
	(of 256 verts/faces/halos each), it seems like it has been put through
	it's paces. Lamps are allocated one at a time, and I start with 256.
 	I rendered 2.5M Faces/Verts/Halos. 4444 lamps. None the less, I left
	a few printf's in the realocation to hunt bugs.  I'll take them out
	just before the release freeze.

	Also, be on the lookout for other "sanity checks" that assume
	a limited number of the above items.  I think I got them all, but
	you never know.

------------------------------------------------------------------------
r1357 | rwenzlaff | 2003-10-19 23:08:44 +0200 (Sun, 19 Oct 2003) | 15 lines

Unified renderer OSA sample clipping:

User info:
	This change limits the contribution of any OSA sample to 1.0 per color
	in the Unified renderer.  Because color=1.0 gives fully saturated color,
	samples contributing more than 1.0 were overweighted in the OSA average
	causing aliasing (sometimes quite severe).

	Samples can contribute more than 1.0 because a material's spec and refl
	values are not normalized (In real world spec+refl <= 1.0).  This solves
	a large class of aliasing problems in the unified renderer.

Coder Info:
	None.

------------------------------------------------------------------------
r1356 | rwenzlaff | 2003-10-19 22:52:34 +0200 (Sun, 19 Oct 2003) | 29 lines

Editmesh Undo:

User Info:
	Pressing UKey in mesh edit mode now undoes only last step.  Undo can save
	upto 64 steps of undo info.  This is configurable under User Prefs->
	Edit Methods.  The default is 32.  High numbers of undo steps use a
	lot of memory, since each step stores a copy of the mesh.

	Shift-U redoes the last undone step (Undoes the undo.)

	Alt-U brings up a menu of possible steps that can be undone.  Selecting
	an item on the list undoes that item plus all items before it on the list.
	The top selection "Undo All" is identical to the old Ukey.  It undoes
	all editing since entering Editmode, even if all regular undo steps are
	used up.

	Undo info is only saved for one object at a time.  You can leave and re-
	enter editmode for the same object, and all undo steps for that object are
	preserved.  Undo info for an object is lost once a different object is
	edited.

Coder Info:
	In order for undo to work, a checkpoint save has to be made.  This is
	done with a call to undo_push_mesh("name of step").  This should be done
	after the last quick abort for a function (typ. the
	"if (G.obedit==0) return;", or similar).  the undo_push_mesh() does alter some
	flags, so don't try to be too tricky and call undo_push_mesh() too late.
	The step name is what shows up in the undo_menu.  The name "U" is reserved.

------------------------------------------------------------------------
r1355 | rwenzlaff | 2003-10-19 21:50:17 +0200 (Sun, 19 Oct 2003) | 37 lines

Adding Knife tool as to be released in 2.3

User Info:
	To use this tool, select a group of verts, it can be larger than the
	desired cut as explained below.  Then hit Shift-K.
	The tool will  prompt for cut type (Exact line or Edge centers),
	Select, then use LMB to draw a "cut-line".  Holding down LMB causes
	a freehand draw, clicking LMB causes a polyline draw.  MMB locks the axis.
	When done press enter to divide mesh on cut line. Subdivide routines have
	been modified to produce fewer triangles as part of this tool.
	Edge Centers preserves UV info, Exact Line does not (it will be there, just
	slightly distorted).

	Since the cut line exists in 2D space, and does not make a persistant
	selection that can be modified in another 3D view, the knife selection
	is the AND of the vertex selection and the knife line, ie; the edge will
	be subdivided only if both verts are selected, and the knife line crosses
	the edge.  Select your verts first, but you don't have to be overly
	precise. If you want to cut a few faces on the front of a sphere, you
	can select the whole front of the sphere, then knife the faces you want.

Coder Info:
	KnifeSubdivide is called with 1 of 3 modes. KNIFE_PROMPT, KNIFE_EXACT,
	KNIFE_MIDPOINTS.  The hotkey calls KNIFE_PROMPT.  When adding to a menu
	or button, explicitly call out the mode.

	Part of the tool provides get_mouse_trail() that returns a CutCurve struct
	that defines a knife line.  There are modes defined, but currently they are not
	implimented.

	Another part of this tool defines new behaviour for subdivideflag().
	Setting beauty param to B_KNIFE	tells subdivideflag() that the edges
	are preselected ans to skip the vert check.  Also setting B_PERCENTSUB tells
	subdivideflag() to divide the edge at a percentage of the distance from
	eed->v1 to eed->v2.  This percentage is passed in the eed->f1 flag as a
	short (ie, setting eed->f1 to 16384 cuts the edge half-way).

------------------------------------------------------------------------
r1354 | ascotan | 2003-10-19 18:03:18 +0200 (Sun, 19 Oct 2003) | 2 lines

included "BLI_arithb.h" for normal calculations...

------------------------------------------------------------------------
r1353 | broken | 2003-10-19 14:53:46 +0200 (Sun, 19 Oct 2003) | 4 lines

- fix to prevent the following-mouse frame number display
from disappearing when mouse pointer is moved above
the window space edge

------------------------------------------------------------------------
r1352 | ton | 2003-10-19 11:19:58 +0200 (Sun, 19 Oct 2003) | 6 lines

- simplified Theme API. No need to include 'current active area' anymore.
  like: BIF_ThemeColor(TH_GRID); will be sufficient. Blender does the rest.
- fixed bug in CTRL-X (reload home file) with themes
- fixed bug in horizontal alignment of different height panels. Seems also
  to solve the drawing error with constraints...

------------------------------------------------------------------------
r1351 | stiv | 2003-10-19 08:26:32 +0200 (Sun, 19 Oct 2003) | 4 lines


Fix unchecked pointer reference when adding sitedirs to sys.path.
This is a bugfix against the 2.28c release.

------------------------------------------------------------------------
r1350 | ascotan | 2003-10-19 05:15:43 +0200 (Sun, 19 Oct 2003) | 2 lines

Added support for returning the normal of a NMFace

------------------------------------------------------------------------
r1349 | ton | 2003-10-18 14:21:41 +0200 (Sat, 18 Oct 2003) | 15 lines

- added Theme for File Window
- made grid drawing using the main theme color
- was annoyed with the primitive grid... so coded something that allows
  zooming in and out a 100fold without losing gridlines
- brought back 'NKEY' for mesh editmode
- added to this a 'median' option; when more vertices selected you see
  the average coordinate. works nice when inputting values as well
  (todo: make this for other editmodes)
- renamed the 'NKEY' panel to 'Transform Properties', also fixed in
  pulldown menu.

I am off for the rest of the day. More committing fun tomorrow!

-Ton-

------------------------------------------------------------------------
r1348 | broken | 2003-10-18 14:02:03 +0200 (Sat, 18 Oct 2003) | 2 lines

A few small tweaks to the panel drawing

------------------------------------------------------------------------
r1347 | broken | 2003-10-18 09:37:37 +0200 (Sat, 18 Oct 2003) | 2 lines

- Added ICON_PANEL_CLOSE

------------------------------------------------------------------------
r1346 | broken | 2003-10-18 09:36:46 +0200 (Sat, 18 Oct 2003) | 3 lines

- Updated panel style based on funboard feedback
- Added white 'close panel' icon ICON_PANEL_CLOSE to blenderbuttons

------------------------------------------------------------------------
r1345 | broken | 2003-10-18 05:41:22 +0200 (Sat, 18 Oct 2003) | 3 lines

- A few small wording edits
- Added Copy/Pase/Paste Flipped pose to the Armature menu

------------------------------------------------------------------------
r1344 | ton | 2003-10-18 01:18:18 +0200 (Sat, 18 Oct 2003) | 9 lines

- further work on theme colors:
  - panels work
  - ipo window done
  - buttonswindow done

Please be warned that saving  Themes now wont work... it will also save
BLACK for all uninitalized colors... so dont panic when you see weird
things, just go back the default theme and copy a new one.

------------------------------------------------------------------------
r1343 | goofster | 2003-10-17 22:46:19 +0200 (Fri, 17 Oct 2003) | 4 lines

oops. rotate in editmode fixed.

Roel

------------------------------------------------------------------------
r1342 | goofster | 2003-10-17 21:59:32 +0200 (Fri, 17 Oct 2003) | 9 lines

Preliminary work on faceloop selection and faceloop cutting. Commiting in steps to prevent Ton from sneaking in between me! :D

some small things to fix:

- cutting on 1 face doesn't work
- options now under shift/ctrl R, they will be under a K menu that will contain DetectiveThorn's Knife tool too.

Roel

------------------------------------------------------------------------
r1341 | ton | 2003-10-17 21:06:13 +0200 (Fri, 17 Oct 2003) | 3 lines

- forget to mention: Panel (3d win) header and back color is part of
  Theme now. Try black transparant... neat. :)

------------------------------------------------------------------------
r1340 | ton | 2003-10-17 21:03:53 +0200 (Fri, 17 Oct 2003) | 12 lines

- fixed bug in windows with extreme small height... it didnt accept
  input
- was needed for usage of this windowtype (headerless) as 'timeline'
  dragger, which was supposed to be...
- as extra I fixed 'home', it sets start/end frame for sound window
- at mouselocation the current frame or time is printed
- rightmouse menu switches seconds/frames (should be in header as option...)
- displaybutton 'frs/sec/' updates soundwindow too

So, its not perfect... but try opening a tiny high headerless audio
window on top of buttonswin or somewhere full width. not bad...

------------------------------------------------------------------------
r1339 | ton | 2003-10-17 18:24:10 +0200 (Fri, 17 Oct 2003) | 3 lines

- fixed reopen last file (in file pulldown menu)
- fixed delay in drawing active item in pop menus...

------------------------------------------------------------------------
r1338 | ton | 2003-10-17 18:17:21 +0200 (Fri, 17 Oct 2003) | 2 lines

- fixed AA font drawing in view3d Panels... forgot to clear a pixelzoom

------------------------------------------------------------------------
r1337 | ton | 2003-10-17 17:20:13 +0200 (Fri, 17 Oct 2003) | 2 lines

- fatal error: when reloading .B.blend (CTRL+X) the themes were not freed.

------------------------------------------------------------------------
r1336 | ton | 2003-10-17 17:12:45 +0200 (Fri, 17 Oct 2003) | 3 lines

- fixed redraw for copy button in new themes editor
- typo in include DNA_ListBase.h... has to be DNA_listBase.h

------------------------------------------------------------------------
r1335 | ton | 2003-10-17 16:18:53 +0200 (Fri, 17 Oct 2003) | 2 lines

- color for 'Panel' was not defined in resources yet... :)

------------------------------------------------------------------------
r1334 | ton | 2003-10-17 16:11:17 +0200 (Fri, 17 Oct 2003) | 2 lines

- one button was invisible...

------------------------------------------------------------------------
r1333 | ton | 2003-10-17 16:02:08 +0200 (Fri, 17 Oct 2003) | 31 lines

- The basic layer for Themes in place!
- currently only implemented for 3d window
- create as many themes you like, and name them
- default theme is not editable, and always will be defined at startup
  (initTheme)
- saves in .B.blend
- themes for spaces can become local too, so you can set individual
  3d windows at theme 'Maya' or so. (to be implemented)
- it uses alpha as well...!

API:
This doesnt use the old method with BFCOLORID blahblah. The API is copied
from OpenGL conventions (naming) as much as possible:

- void BIF_ThemeColor(ScrArea *sa, int colorid)
  sets a color... id's are in BIF_resources.h (TH_GRID, TH_WIRE, etc)

- void BIF_ThemeColorShade(ScrArea *sa, int colorid, int offset)
  sets a color with offset, no more weird COLORSHADE_LGREY stuff

- void BIF_GetThemeColor3fv(ScrArea *sa, int colorid, float *col)
  like opengl, this gives you in *col the three rgb values

- void BIF_GetThemeColor4ubv(ScrArea *sa, int colorid, char *col)
  or the one to get 4 bytes

ThemeColor calls for globals (UI etc) can also call NULL for *sa... this
is to be implemented still.

Next step: cleaning up interface.c for all weird colorcalls.

------------------------------------------------------------------------
r1332 | ton | 2003-10-17 02:49:59 +0200 (Fri, 17 Oct 2003) | 3 lines

- accidentally removed 2 lines in this file that made previewrender not
  showing up...

------------------------------------------------------------------------
r1331 | ton | 2003-10-16 22:36:29 +0200 (Thu, 16 Oct 2003) | 2 lines

- fixed edge selecting... :)

------------------------------------------------------------------------
r1330 | ton | 2003-10-16 18:13:01 +0200 (Thu, 16 Oct 2003) | 2 lines

- bone selection armatures fixed!

------------------------------------------------------------------------
r1329 | ton | 2003-10-16 14:03:03 +0200 (Thu, 16 Oct 2003) | 3 lines

- fix for drawing buttons in fileselectors, it used an old exception
  and special 'EMBOSSF' drawing function. Now complies to standard.

------------------------------------------------------------------------
r1328 | ton | 2003-10-16 11:56:23 +0200 (Thu, 16 Oct 2003) | 4 lines

- fixed correct drawing of frontbuffer vertices... it still gives some
  nice increased interactivity when selecting in slow drawing situations.
  nevertheless, can be worked on later once, to make it less hackish. :)

------------------------------------------------------------------------
r1327 | ton | 2003-10-16 11:39:19 +0200 (Thu, 16 Oct 2003) | 14 lines

- fixed editing vertices again!

I had to clean up very old calls to switch matrices for 3d windows.
To make it more clear, I've introduced defines for the infamous persp()
function:

persp(PERSP_WIN);  sets matrices at pixel level window
persp(PERSP_VIEW); restores matrices back to 3d drawing
persp(PERSP_STORE); only called once, to store correct matrices

I will now check on frontbuffer drawing of vertices... it's very doubtful
if it's used still correctly, was only meant for visual speed in the
early nineties you know. :)

------------------------------------------------------------------------
r1326 | ton | 2003-10-16 02:17:24 +0200 (Thu, 16 Oct 2003) | 11 lines

- further work on view3d panels:
- you can close them (x icon) or press ESC
- option to open panel at mouse location (try Nkey)
- using 'collapse' (triangle icon) stows header in bottom
- opening again restores at old location
- dragging panels or zooming clips nicely with window

evaluate: an 'auto close' when mouse goes outside panel

Warning: vertex selecting still broken! :) It's 2 am now, bedtime...

------------------------------------------------------------------------
r1325 | goofster | 2003-10-15 21:39:02 +0200 (Wed, 15 Oct 2003) | 2 lines

added interface_panel.c to msvc 6 projectfile

------------------------------------------------------------------------
r1324 | michel | 2003-10-15 21:30:45 +0200 (Wed, 15 Oct 2003) | 2 lines

Added the interface_panel.c file to the autoconf build.

------------------------------------------------------------------------
r1323 | ton | 2003-10-15 21:23:54 +0200 (Wed, 15 Oct 2003) | 7 lines

- removed all #include "interface.h" from files. this is a local/internal
  include only (use BIF_interface.h instead)
- split up interface.c in two files: NEW: interface_panel.c
- removed the temporal text files

WARN: FIX AUTOMAKE AND MSVC!

------------------------------------------------------------------------
r1322 | michel | 2003-10-15 20:56:01 +0200 (Wed, 15 Oct 2003) | 22 lines

Major updates to the autoconf system for all platforms. This is a works in
progress to get things better for the other platforms too. I can't test on
the other platforms (non-Linux), so please test.
* Added checks for a working STL implementation.
* Updated blender version to 2.29
* Added possibility to do a CFLAGS="-foo" ./configure
* Defaults to MSVC for win32
* Renamed the --enable-debug flag to --enable-ghostdebug
* Added preliminairy checks for international support. Warning, this is not
  complete yet. (added the flag --enable-international)
* Fixed a check for the wrong SDL version. It checked for 1.0. It needs to
  be 1.0.0
* Many header file checks updated. Not completely done yet
* Commented out all POSIX functions checks. Are they really needed?
* Disabled building shared libraries by default. Speeds up compilation by a
  factor 2!
* Added a new flag (--enable-precompiled) that uses the precompiled libraries
  found in the lib dir in cvs. The lib directory and the blender directory
  must be in the same dir. (as in cvs).
  (Note: only for Linux, the precompiled libraries are defined. The other
   platform settings still need to be updated.)

------------------------------------------------------------------------
r1321 | ton | 2003-10-15 19:41:40 +0200 (Wed, 15 Oct 2003) | 5 lines

- fixed drawing errors in constraint panel
- join 3d window could crash... unchecked pointer in interface.c
- setting align in buttonswin caused stripes to draw in view3d-panels
- fixed events for new 'background and view settings menu'

------------------------------------------------------------------------
r1320 | broken | 2003-10-15 18:28:57 +0200 (Wed, 15 Oct 2003) | 2 lines

- Added ICON_MENU_PANEL

------------------------------------------------------------------------
r1319 | broken | 2003-10-15 18:28:00 +0200 (Wed, 15 Oct 2003) | 3 lines

- Added icon to indicate floating panels in menus: ICON_MENU_PANEL
- Added it plus tiny edits to view3d menus

------------------------------------------------------------------------
r1318 | ton | 2003-10-15 18:01:08 +0200 (Wed, 15 Oct 2003) | 6 lines

- More code for handling Panels in other windows.
  Added the 'Nkey' object menu as Panel now. Live updates, whoohoo!

closing them, minimizing, etc will follow. first bring back vertex
selection :)

------------------------------------------------------------------------
r1317 | broken | 2003-10-15 17:23:58 +0200 (Wed, 15 Oct 2003) | 3 lines

- Various cosmetic fixes to menu buts in headers, alignment etc.
- Make text fields' text black when deselected, white when selected (editing)

------------------------------------------------------------------------
r1316 | broken | 2003-10-15 15:47:15 +0200 (Wed, 15 Oct 2003) | 9 lines

- Modified drawing of ICONROW controls to be clearer,
more consistent and logical. (ICONROWs haven't
scrolled left/right in years!

More detailed tweaking of headerbuttons positions can come when
more menus are finished

- added text labels to the drawtype menu in 3d view header

------------------------------------------------------------------------
r1315 | ton | 2003-10-15 14:51:01 +0200 (Wed, 15 Oct 2003) | 9 lines

- fixed warnings in drawmesh.c
- with mouse in Panel, padplus/minus defines scaling of Panel... dunno if
  this is the correct key. thats for later to worry!

Forgot to mention in previous commit:

- Panels now have a uiSetPanelStyle() API call. Is under construction...
  now for test purposes mostly.

------------------------------------------------------------------------
r1314 | ton | 2003-10-15 14:26:26 +0200 (Wed, 15 Oct 2003) | 21 lines

- expanded internal windowmanager that it allows button panels in any
  window (type)
- each SpaceData struct (not the window!) can get 'block handlers'
  assigned, basically event codes that invoke drawing button panels.
- this is saved in files, and Panels behave in any window like it does now
  in buttonswindow
- it also means that a 'space window' should leave with a matrix set for
  buttons level
- try it in view3d header menu, 'view'->'backdrop'. this opens the old
  viewbuttons
- it all works non blocking! instant updates of viewbuttons visible in
  3d window now.

Not done yet:
- checking and fixing frontbuffer drawing (select a wireframe draws over)
- temporally vertices cannot be selected, is my next project
- closing or hiding Panels...
- styling stuff... i committed for others to review as well.

Have fun. this is certainly a huge improvement over the old viewbuttons!

------------------------------------------------------------------------
r1313 | ton | 2003-10-14 23:01:01 +0200 (Tue, 14 Oct 2003) | 4 lines

- another improvement in button panels align: after 'home' it puts the panels
  always in the left/top corner. it did a centre first...
- fixed color print error with AA fonts in textbuttons

------------------------------------------------------------------------
r1312 | ton | 2003-10-14 22:13:51 +0200 (Tue, 14 Oct 2003) | 2 lines

- cleared a flag in reading Panels back, could cause errors...

------------------------------------------------------------------------
r1311 | broken | 2003-10-14 18:38:48 +0200 (Tue, 14 Oct 2003) | 4 lines

Modifications to buttons drawing code:
- colour tweaks to buttons and menus
- improved method of drawing triangles on menus and numbuts

------------------------------------------------------------------------
r1309 | jiri | 2003-10-14 14:09:57 +0200 (Tue, 14 Oct 2003) | 5 lines


- Lattice as parent of Metaball affect deforming of polygonized implicit surface

- fixed compile problem at IRIX with buttons_editing.c (look at JWalton's message in mailing list) ... sorry for mixed commit :-(

------------------------------------------------------------------------
r1308 | ton | 2003-10-14 12:45:35 +0200 (Tue, 14 Oct 2003) | 6 lines

- fixed threshold for merging closed Panels (was not sufficient narrow)
- in 'Horizontal Align' mode, Panels now close as a vertical bar
- switching align modes, also switches how closed Panels are drawn
- opengl nor ftgl support vertical string drawing... so for now it only
  draws the capitals of the Panel title in a horizontal collapsed header

------------------------------------------------------------------------
r1307 | ton | 2003-10-14 01:46:08 +0200 (Tue, 14 Oct 2003) | 9 lines

- converted constraint buttons, they're a Panel in Object main menu
- converted sound buttons, part of Scene
- special request Matt: headers of windows 2 pixels higher! (test)
- special request Stefano: icons instead of menu for buttons-header
- 'data browse' buttons now almost all in buttonswindow.
- almost all buttons have been panelized now.

next stage: cleaning up usage of color in Blender, to allow presests!

------------------------------------------------------------------------
r1306 | ton | 2003-10-13 21:36:26 +0200 (Mon, 13 Oct 2003) | 6 lines

- the 'activitate window' call in mainloop, which was removed to save
  performance, gave display errors in some occasions.
  now its moved to the main drawing loop, which is not for each event
  luckily.
  tested at windows by ztonzy

------------------------------------------------------------------------
r1305 | ton | 2003-10-13 16:57:43 +0200 (Mon, 13 Oct 2003) | 4 lines

- experiment: changed drawing style of Panels to minimal and fully
  transparant.
- converted the Texture buttons, they're nice too!

------------------------------------------------------------------------
r1303 | intrr | 2003-10-13 01:43:26 +0200 (Mon, 13 Oct 2003) | 5 lines



Robert (DetectiveThorn) Wenzlaff's Knife subdivide tool. See previous
message on Bf-committers for description.

------------------------------------------------------------------------
r1302 | ianwill | 2003-10-13 01:41:33 +0200 (Mon, 13 Oct 2003) | 2 lines

Getting rid of warnings in NMesh.c, should fix compile problems.

------------------------------------------------------------------------
r1301 | ton | 2003-10-13 00:26:09 +0200 (Mon, 13 Oct 2003) | 10 lines

- restored scriptlink buttons
  i tried to find place for it in the other menus, like material, object,
  camera, etc. But thats hard... now it's just one nice Panel, without
  the idiot headerbuttons icons!
- changed drawing of 'tabbed' Panels. The old method takes too much space.
  hint from xype! Dragging tabbed Panels can be done with the right hand
  circle. designers are welcom to tweak this.
  main reason: dragging is not meant to be happening a lot... pressing tabs
  is more important.

------------------------------------------------------------------------
r1300 | ton | 2003-10-12 21:46:17 +0200 (Sun, 12 Oct 2003) | 3 lines

- added radiobuttons
- cleaned unused calls and defines

------------------------------------------------------------------------
r1299 | ascotan | 2003-10-12 19:15:51 +0200 (Sun, 12 Oct 2003) | 2 lines

Added updates to reflect the vertex grouping changes in NMesh.c

------------------------------------------------------------------------
r1298 | ascotan | 2003-10-12 18:23:39 +0200 (Sun, 12 Oct 2003) | 2 lines

Add vertex group support...

------------------------------------------------------------------------
r1297 | ascotan | 2003-10-12 18:14:03 +0200 (Sun, 12 Oct 2003) | 2 lines

Added vertex grouping support

------------------------------------------------------------------------
r1296 | ascotan | 2003-10-12 18:13:12 +0200 (Sun, 12 Oct 2003) | 2 lines

Added vertex group support...

------------------------------------------------------------------------
r1295 | ascotan | 2003-10-12 18:03:52 +0200 (Sun, 12 Oct 2003) | 2 lines

Removed spaces - test commit

------------------------------------------------------------------------
r1294 | ton | 2003-10-12 15:58:56 +0200 (Sun, 12 Oct 2003) | 11 lines

- Converted lamp buttons and world buttons, they're pretty!
- menu auto open now is user preset, including 2 thresholds you can set
- hilites of pulldown menus were not cleared, fixed
- changed F4 key to logic. F5 will show lamp buttons, when lamp active
- in 'shader context' buttons, clicking camera will show world
- Converted lamp buttons and world buttons, they're pretty!
- menu auto open now is user preset, including 2 thresholds you can set
- hilites of pulldown menus were not cleared, fixed
- changed F4 key to logic. F5 will show lamp buttons, when lamp active
- in 'shader context' buttons, clicking camera will show world

------------------------------------------------------------------------
r1293 | ton | 2003-10-12 02:42:09 +0200 (Sun, 12 Oct 2003) | 11 lines

- rewrote the panel align heuristics.
  leftmost/top panel now always at same location, so switching button
  'main contextes' works consistantly
- fixed some more events to make sure Panels update when editing
- preview render panel now is 320 wide, just for getting the space filled!
- error in preview render matrix, which caused unpredictable drawing errors

Bedtime!

-Ton-

------------------------------------------------------------------------
r1292 | ton | 2003-10-12 00:32:09 +0200 (Sun, 12 Oct 2003) | 3 lines

- error in shader buttons... when no material on object, it draws the
  tabs really weird...

------------------------------------------------------------------------
r1291 | ton | 2003-10-12 00:00:30 +0200 (Sun, 12 Oct 2003) | 7 lines

- converted full materialbuttons...
  EEEK! It doesn't look well yet! Hopefully it inspires others to come
  with great solutions.
- the material buttons have 6 panels, three of them merged
- some drawing errors in preview render
- made settings for new Material that makes sense for Flares

------------------------------------------------------------------------
r1290 | ianwill | 2003-10-11 22:56:26 +0200 (Sat, 11 Oct 2003) | 2 lines

Fixing header*** files to use tabs instead of spaces (was my fault, sorry).

------------------------------------------------------------------------
r1289 | ton | 2003-10-11 20:15:07 +0200 (Sat, 11 Oct 2003) | 19 lines

- fixes in material buttons (still tentative design!)

- cutoff of text in menus and buttons now even better!
- size of pull-up menu buttons is corrected
- pressing at 'menu button' had a delay, fixed

General: the 'outo open' wont become default, it will be removed or
become a user option. I am experimenting with it to get it all OK.
The 'auto open' for secondary levels in pulldowns will remain there

Check the latest state of pull-up menu buttons. for example the mode
selector: you can use such buttons in three ways,

- click on it, it opens and you can select
- click-and-hold-mouse, move, release at item you want to select
- move mouse over button, wait, it opens

The 'auto open' and its time threshold both can be user settings.

------------------------------------------------------------------------
r1288 | ton | 2003-10-11 16:12:14 +0200 (Sat, 11 Oct 2003) | 2 lines

- two more panels for material buttons. work in progress....

------------------------------------------------------------------------
r1287 | ton | 2003-10-11 13:28:24 +0200 (Sat, 11 Oct 2003) | 2 lines

- small fix, number buttons strings were cut off like sliders...

------------------------------------------------------------------------
r1286 | ton | 2003-10-11 12:57:38 +0200 (Sat, 11 Oct 2003) | 3 lines

- improved drawing of slider button
- strings for slider button are cut off correctly

------------------------------------------------------------------------
r1285 | ton | 2003-10-11 02:21:05 +0200 (Sat, 11 Oct 2003) | 5 lines

- added method to have a preview render in panel
- increased size of preview from 100 to 125 pix :)
- put back header buttons for databrowse, but they need to move to
  buttonswindow itself

------------------------------------------------------------------------
r1284 | goofster | 2003-10-11 01:20:01 +0200 (Sat, 11 Oct 2003) | 3 lines

- Added all the stuff of the last week to the MSVC 6.0 project file.
- Added include BIF_gl.h to  header_imasel.c (I think it needs that :)

------------------------------------------------------------------------
r1282 | ton | 2003-10-10 23:14:49 +0200 (Fri, 10 Oct 2003) | 2 lines

- fixed bug in aligning different sized panels vertically

------------------------------------------------------------------------
r1281 | ton | 2003-10-10 22:50:21 +0200 (Fri, 10 Oct 2003) | 4 lines

- another fix, now for unix systems with 'sloppy focus'.
  the mainwindow is set active again after rendering, without
  destroying the (optional) dispview image

------------------------------------------------------------------------
r1279 | ton | 2003-10-10 22:15:11 +0200 (Fri, 10 Oct 2003) | 3 lines

- fixed error in making main window active again after rendering, it didnt
  work...

------------------------------------------------------------------------
r1278 | michel | 2003-10-10 19:49:30 +0200 (Fri, 10 Oct 2003) | 2 lines

Added the new files to the auto* build environment.

------------------------------------------------------------------------
r1277 | ton | 2003-10-10 19:47:54 +0200 (Fri, 10 Oct 2003) | 2 lines

- small little unitialized variable error...

------------------------------------------------------------------------
r1276 | ton | 2003-10-10 19:44:59 +0200 (Fri, 10 Oct 2003) | 2 lines

- missing headerfile...

------------------------------------------------------------------------
r1275 | ton | 2003-10-10 19:29:01 +0200 (Fri, 10 Oct 2003) | 21 lines

Another huge commit!!!

First, check on the new files, which are listed below.
The new butspace.h is a local include, only to be used for the buttons
drawn in the buttonswindow.

- editbuts, animbuts, gamebuts, displaybuts, paintbuts,  work now
- i quite completely reorganized it, it's now nicely telling you what
  context it is in
- sorting error in panel align fixed (tabs were flipping)
- align works correctly automatic when you click around in Blender
- editsca.c renamed to buttons_logic.h
- button names are truncated from the right for allmost all buttons
  (except text buttons and number buttons)
- while dragging panels, you cannot move them outside window anymore

And of course fixed loads of little bugs I encountered while testing
it all. This is a version I really need good test & feedback for.

Next step: restoring material/lamp/texture/world

------------------------------------------------------------------------
r1274 | ton | 2003-10-10 15:36:38 +0200 (Fri, 10 Oct 2003) | 4 lines

- adapted startsize for osx version to match powerbook (768 high)
- add patch in prevsize routine (editscreen.c) to subtract apple
  top header, this allows 'fullscreen' with windowbar behind topbar.

------------------------------------------------------------------------
r1273 | ianwill | 2003-10-10 05:16:32 +0200 (Fri, 10 Oct 2003) | 8 lines

Splitting source/blender/src/headerbuttons.c in smaller header_***.c files.
The original headerbuttons.c is for now kept as headerbuttons.txt

The included .h files were updated to only include needed ones in each file.

Makefile.am (for the autotools build) was updated.  Didn't test with original makefiles.
Other build systems will of course need to be updated.

------------------------------------------------------------------------
r1272 | ton | 2003-10-09 14:20:14 +0200 (Thu, 09 Oct 2003) | 5 lines

- increased default windowsize for OSX a bit, to match better a good
  layout. Old size was 800x600, just not too nice
  New size is 900x768. this default small size is for older macs that
  dont allow full size 32 bits opengl windows... silly er! :)

------------------------------------------------------------------------
r1270 | ton | 2003-10-08 00:55:16 +0200 (Wed, 08 Oct 2003) | 11 lines

- brought back hilites in buttons when mouse-over
- automatic pulldown opening can now be controlled ( user setting?)
  it has two thresholds:
  - when no menu was opened before, it waits A milliseconds
  - when (in the same block a menu was opened, it waits B millisec.
  Currently A= 0.4 sec, B= 0.1 (or so)
- 3d window header; brought back old drawtype menu (test, compare!)
- another test: the old menubutton doesnt work anymore with hold-mouse
  only, you can also use it as the other popups (old method still works)
- proposal; all buttons that pop up a block, get special drawtype (arrows)

------------------------------------------------------------------------
r1269 | aphex | 2003-10-07 23:01:36 +0200 (Tue, 07 Oct 2003) | 2 lines

- removed link with libblenkey.a (keymaker) (MSVC 6)

------------------------------------------------------------------------
r1268 | aphex | 2003-10-07 22:59:42 +0200 (Tue, 07 Oct 2003) | 2 lines

- removed keymaker project from intern build (MSVC 6) - no longer needed.

------------------------------------------------------------------------
r1267 | ton | 2003-10-07 21:21:37 +0200 (Tue, 07 Oct 2003) | 3 lines

- forgot one event code in render...
- fixed the () in the && || code, typo... <blush>

------------------------------------------------------------------------
r1266 | michel | 2003-10-07 21:19:34 +0200 (Tue, 07 Oct 2003) | 3 lines

* Updated the autoconf system. Removed the 2 files from the Makefile.am's no
  longer in cvs.

------------------------------------------------------------------------
r1265 | aphex | 2003-10-07 21:14:12 +0200 (Tue, 07 Oct 2003) | 2 lines

- removed button.c from MSVC 6 project files.

------------------------------------------------------------------------
r1264 | ton | 2003-10-07 20:42:37 +0200 (Tue, 07 Oct 2003) | 3 lines

- if( a || b && c) is (a || (b && c))
  and not the other way! thats what you get with cleaning warnings. :)

------------------------------------------------------------------------
r1263 | ton | 2003-10-07 20:24:02 +0200 (Tue, 07 Oct 2003) | 14 lines

- another huge commit! read this!

- removed src/buttons.c and include/BIF_buttons.h
- added src/buttons.txt, which is the old buttons.c for review and adding
  code to new panels structure

- changed internal events to match new buttonspace structure
- added tabs for new shading group of buttons
- removed loads of little warnings, -Wall now compiles src/ almost without
  error (hint: setenv NAN_QUIET to see it all better)

Now I'm ready to do actual buttons -> panels conversion. I will do the raw
versions first, others then can cleanup

------------------------------------------------------------------------
r1261 | ton | 2003-10-07 14:49:39 +0200 (Tue, 07 Oct 2003) | 7 lines

- changed header from buttonwindow into new type
- changed meaning of F4-F10 keys (as compatible as possible, but we need
  something!) check UI design doc for proposal
- made new call for switching direction of buttons in Y, for when pulldown
  moves direction
- cleaned up all redundant manual switching code from headerbuttons.c

------------------------------------------------------------------------
r1260 | ton | 2003-10-07 13:24:48 +0200 (Tue, 07 Oct 2003) | 3 lines

- removed debug variable from 'automatic check of view2d'... so now it
  keeps zooming within limits by default

------------------------------------------------------------------------
r1259 | ton | 2003-10-07 00:17:57 +0200 (Tue, 07 Oct 2003) | 2 lines

- at designer request: move closed button of panel to the left.

------------------------------------------------------------------------
r1258 | ton | 2003-10-06 23:53:03 +0200 (Mon, 06 Oct 2003) | 3 lines

- fixed bugs with Panel.. when you merge them while they had tabs,
  some calculations went wrong.

------------------------------------------------------------------------
r1256 | ton | 2003-10-06 16:16:31 +0200 (Mon, 06 Oct 2003) | 11 lines

- fixed error (OSX only i think) that didnt make window/area active when
  startup
- made nexted pulldowns easier to enter with diagonal mousemovement.
  coded a heuristic like:
  - while mouse moves in good x direction
  - while mouse motion x is bigger than y motion
  - while distance to center block diminishes
  - only for 1 second
  Works nice, but i left debug prints commented in for those who'd like
  to tweak it.

------------------------------------------------------------------------
r1255 | ton | 2003-10-06 12:33:01 +0200 (Mon, 06 Oct 2003) | 8 lines

- pulldowns and 'BLOCK' buttons now open automatic, when mouseover
  without moving for 0.25 second. Also works for sublevels in pulldowns.
- removed hacks from mainloop, which caused setting the main window and
  active subwindow for each event (including mousemove).
  WARN: test for all OS's that no events get lost, and active window focus
  is OK. For OSX it works nicely
- reduced load for uibuttons with 50%....

------------------------------------------------------------------------
r1254 | ton | 2003-10-05 23:00:01 +0200 (Sun, 05 Oct 2003) | 4 lines

- fixed more menu colors
- left in patch for sgi, seems to work there....
  would like some reports from nvidia windows users though

------------------------------------------------------------------------
r1253 | ton | 2003-10-05 22:35:30 +0200 (Sun, 05 Oct 2003) | 2 lines

- testing commit for drawing error sgi

------------------------------------------------------------------------
r1252 | ton | 2003-10-05 22:17:37 +0200 (Sun, 05 Oct 2003) | 4 lines

- fixed some of the weird placement of buttons when changing window size
- home key buttonswin had error
- fixed bug: split area with tabbed panels didnt work correct

------------------------------------------------------------------------
r1251 | h_xnan | 2003-10-05 21:37:16 +0200 (Sun, 05 Oct 2003) | 2 lines

Finally add spike's FreeBSD suggestions. Tnxto Chris for forwarding.

------------------------------------------------------------------------
r1250 | goofster | 2003-10-05 17:28:44 +0200 (Sun, 05 Oct 2003) | 4 lines

SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY SILLY.

People in blendercoders seem to think they need to pay attention to rigid, conservative users.....ok...so I moved the selection-> center snap in the shift-s menu to place number 5....sigh

------------------------------------------------------------------------
r1249 | ton | 2003-10-05 15:19:08 +0200 (Sun, 05 Oct 2003) | 4 lines

- added little original feature to panels: TABS! :)
  while dragging you can merge panels, or while dragging on a tab you
  can unmerge them.

------------------------------------------------------------------------
r1248 | michel | 2003-10-05 13:23:49 +0200 (Sun, 05 Oct 2003) | 2 lines

Referenced a wrong variable. Stupid typo.

------------------------------------------------------------------------
r1247 | michel | 2003-10-05 13:17:14 +0200 (Sun, 05 Oct 2003) | 9 lines

* Made internals of the Python Object module more consistent with other
  modules.
* .setLocation(), .setDeltaLocation() and .setEuler() now can accept 3 floats
  or a list of 3 floats.
  This finally makes the following possible:
    obj.setLocation (obj.getLocation())
    obj.loc = obj.loc
  Of course this applies to the other functions as well.

------------------------------------------------------------------------
r1246 | michel | 2003-10-05 12:06:26 +0200 (Sun, 05 Oct 2003) | 2 lines

* Added new files for the UI changes to the autoconf build environment.

------------------------------------------------------------------------
r1245 | ton | 2003-10-04 23:47:25 +0200 (Sat, 04 Oct 2003) | 2 lines

- version number 2.29 for this testing period!

------------------------------------------------------------------------
r1244 | goofster | 2003-10-04 23:27:57 +0200 (Sat, 04 Oct 2003) | 2 lines

added tons AWESOME files to the msvc 6.0 projectfile

------------------------------------------------------------------------
r1243 | ton | 2003-10-04 23:24:32 +0200 (Sat, 04 Oct 2003) | 2 lines

- added winstuff.h in new files... oops!

------------------------------------------------------------------------
r1242 | ton | 2003-10-04 23:03:57 +0200 (Sat, 04 Oct 2003) | 2 lines

- panels now scroll with page-up and page-down too.

------------------------------------------------------------------------
r1241 | ton | 2003-10-04 22:49:32 +0200 (Sat, 04 Oct 2003) | 2 lines

- belongs to previous commit, new .h file!

------------------------------------------------------------------------
r1240 | ton | 2003-10-04 22:35:50 +0200 (Sat, 04 Oct 2003) | 14 lines

huge commit, sorry!

this is part 1 of the UI makeover. It has:
- menu system from Matt integrated
- buttons drawing from Matt
- generic button panel system implemented
- converted displaybuttons (not the rest yet)
- cleaned up a lot in drawing spaces itself, to make it aligned and pixel exact.
- cleaned loads of little compiler warnings, protos...

still a lot of work needed, will all be in next week i hope!

(warn: 2 new c files! butspace.c and buttons_scene.c)

------------------------------------------------------------------------
r1238 | sirdude | 2003-10-02 22:56:09 +0200 (Thu, 02 Oct 2003) | 8 lines



fixed default vars button for texture plugins

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

Kent

------------------------------------------------------------------------
r1237 | ton | 2003-10-02 12:05:57 +0200 (Thu, 02 Oct 2003) | 4 lines

- changed a couple of shorts to ints, to allow images larger than
  8192 pixels.
  I dont have a lot of mem here though, so others should test too!

------------------------------------------------------------------------
r1236 | intrr | 2003-09-27 13:10:49 +0200 (Sat, 27 Sep 2003) | 6 lines



"Set Camera to View3d": SHIFT-NUMPAD0 selects the camera like NUMPAD0, and
in addition aligns and positions it so that it exactly "sees" the former
View3d.

------------------------------------------------------------------------
r1235 | ton | 2003-09-27 11:38:09 +0200 (Sat, 27 Sep 2003) | 11 lines

- Bug fixes for radio render (yes, releasing gives more reports!)

1. Rendering with material without radio flag sometimes caused scanline
   errors. The 'rad' value for rendercore loop wasn't reset in all cases
2. The color didn't truely match the color when using 'radio tool'.
   Cleaned up a few old lines in rendercore loop... accidentally one
   calculation was done double.
3. When adding new radiosity block, 'max iterations' is set at 120. this
   prevents noobies/experiment from going into radio-solving with a long
   itteration time (it exits at convergence < 0.1)

------------------------------------------------------------------------
r1232 | intrr | 2003-09-25 00:34:13 +0200 (Thu, 25 Sep 2003) | 5 lines



Fixed a bug that prevented volume envelopes from being applied to the
Mixdown WAV. Thanks dittohead for the report!

------------------------------------------------------------------------
r1231 | intrr | 2003-09-24 23:21:29 +0200 (Wed, 24 Sep 2003) | 7 lines



Bugfix: The renderloop has a few problems concerning abortion with the ESC
key, among which is a crash related to lensflares rendering even though no
render buffer exists (after pressing ESC). Fixed this one. Be sure there
are more! :)

------------------------------------------------------------------------
r1229 | ton | 2003-09-24 14:30:09 +0200 (Wed, 24 Sep 2003) | 2 lines

- splashcreen for 2.28c

------------------------------------------------------------------------
r1228 | ton | 2003-09-24 14:29:16 +0200 (Wed, 24 Sep 2003) | 2 lines

- splash.jpg file and release text file

------------------------------------------------------------------------
r1227 | ton | 2003-09-24 14:26:16 +0200 (Wed, 24 Sep 2003) | 2 lines

- inserted Python upgrades in text (thanks Willian!)

------------------------------------------------------------------------
r1226 | ton | 2003-09-24 00:07:07 +0200 (Wed, 24 Sep 2003) | 2 lines

- hacked new color for this release, named it 2.28a in header.

------------------------------------------------------------------------
r1225 | ton | 2003-09-23 23:58:20 +0200 (Tue, 23 Sep 2003) | 2 lines

- version upped to 'c'

------------------------------------------------------------------------
r1224 | ton | 2003-09-23 23:45:12 +0200 (Tue, 23 Sep 2003) | 6 lines

- buttons align 1 pixel better!

  (also forgot in last commit; this envmap work was mostly from Intrr. :)

cvs: ----------------------------------------------------------------------

------------------------------------------------------------------------
r1223 | ton | 2003-09-23 23:35:44 +0200 (Tue, 23 Sep 2003) | 2 lines

- release log 2.28c

------------------------------------------------------------------------
r1222 | h_xnan | 2003-09-23 23:12:47 +0200 (Tue, 23 Sep 2003) | 2 lines

FreeBSD-STABLE's python moved from 2.2 to 2.3

------------------------------------------------------------------------
r1221 | ton | 2003-09-23 23:05:51 +0200 (Tue, 23 Sep 2003) | 18 lines

- Recursive environment map render

Multiple environments now can be rendered in one pass. Previously the other objects with environment maps didn't show up in a reflection. Like this:
http://www.blender.org/bf/dep.jpg

By default, Blender renders now this result:
http://www.blender.org/bf/dep0.jpg

For a further 'recursive ray-tracing effect' you can give each EnvMap texture a higher "Depth" value. Here is a result with depth set at '2':
http://www.blender.org/bf/dep2.jpg

Related new options:
- in (F10) DisplayButtons, environment map rendering can be turned on and off.
- in EnvMap texture buttons you can free all environment maps
- Environment map sizes are also reduced with the (F10) 'percentage' option.

Tech note: with this commit the VlakRen struct has on *ob pointer!

------------------------------------------------------------------------
r1220 | ianwill | 2003-09-23 05:02:54 +0200 (Tue, 23 Sep 2003) | 3 lines

Exppython:
- Object.c: forgot to initialize an object->data pointer to NULL in Object_New

------------------------------------------------------------------------
r1219 | ton | 2003-09-22 13:44:36 +0200 (Mon, 22 Sep 2003) | 2 lines

- fixed stringlength for plugin path button, max 160 chars now.

------------------------------------------------------------------------
r1218 | goofster | 2003-09-20 22:58:14 +0200 (Sat, 20 Sep 2003) | 8 lines

added 2 new features:

- "Seperate loose parts" is an option in the new pkey popup (in mesh editmode) that seperates a mesh based on objects in it that are not connected.

- "Select same uv" is an option in the wkey popup (in facemode) that selects all faces in the mesh that have the same uv texture assigned as the current active face.

ps. first commit! I hope I can live up to expectations...but don't expect too much! :D

------------------------------------------------------------------------
r1217 | ianwill | 2003-09-20 05:40:16 +0200 (Sat, 20 Sep 2003) | 7 lines

Exppython:
- Object: implemented getBoundBox and makeDisplayList methods
- NMesh and Object: small internal changes for nicer behavior
- Draw: added function PupMenu
- Docs: updated for the additions above
Auto build tiny fix: added the imbuf include dir to source/creator/Makefile.am

------------------------------------------------------------------------
r1216 | phase | 2003-09-18 14:27:43 +0200 (Thu, 18 Sep 2003) | 2 lines

added missing #ifdef for quicktime_exit

------------------------------------------------------------------------
r1215 | phase | 2003-09-18 13:41:50 +0200 (Thu, 18 Sep 2003) | 2 lines

removed native quicktime init/exit calls from main blender code.

------------------------------------------------------------------------
r1214 | ianwill | 2003-09-18 02:54:43 +0200 (Thu, 18 Sep 2003) | 10 lines

Exppython:
- Window: implemented .SetCursorPos, .GetViewMatrix, .GetViewVector
- Lamp: .setDist was not in the methods table:
    Fix by new bpython developer Stephen Swaney
- Scene: .frameSettings was crashing Blender (pointed by jms)
- Added site dirs to sys.path (patch by Stephen Swaney)
- NMesh: small internal change (added pointer to parent object)
- Object: function NMesh_FromPyObject has a new arg: pointer to obj
- Docs: added docs for implemented functions, plus some more info

------------------------------------------------------------------------
r1213 | michel | 2003-09-17 20:15:51 +0200 (Wed, 17 Sep 2003) | 5 lines

* Fix bug in Object.getEuler() and Object.setEuler() methods
  I must have been looking outside when writing those functions :) They
  accessed the dloc values instead of the loc values. Doh
* Minor cleanup in Object.h

------------------------------------------------------------------------
r1212 | ton | 2003-09-17 13:39:55 +0200 (Wed, 17 Sep 2003) | 5 lines

- bug #500

  extreme wide spotbundles cannot be rendered correctly (180 degrees).
  the bundle value is clipped at 170 degree in renderconverter.

------------------------------------------------------------------------
r1211 | ton | 2003-09-17 13:22:21 +0200 (Wed, 17 Sep 2003) | 6 lines

- fix bug 496

  when you choose a window with no header, go to 'full window mode',
  sometimes the header was still drawn. fixed it with a more strict
  test in the drawing call.

------------------------------------------------------------------------
r1210 | ton | 2003-09-17 13:05:33 +0200 (Wed, 17 Sep 2003) | 6 lines

- bugfix #492

  "Waste cpu while rotating view"
  I added a tiny idle in the 'wait_for_statechanged' call, I suspect
  ghostwinlay returns events while holding mousebutton...

------------------------------------------------------------------------
r1209 | ton | 2003-09-17 12:23:53 +0200 (Wed, 17 Sep 2003) | 5 lines

- fixed display of dashed helpline, when rotating multiple objects or
  around the 3d cursor.
  fix only works for OSX and certain nvidia cards. they need a glFinish()
  call after drawing in frontbuffer.

------------------------------------------------------------------------
r1208 | michel | 2003-09-16 21:28:29 +0200 (Tue, 16 Sep 2003) | 5 lines

* Fix bug #390 - auto/gcc compile fails on irix:openal
  OpenAL is now a configurable option again. The trick was to update the
  SND_DependKludge not to #define/#undef anything when the auto* tools are
  used.

------------------------------------------------------------------------
r1207 | aphex | 2003-09-12 21:56:49 +0200 (Fri, 12 Sep 2003) | 2 lines

-  updated projectfile with new registry.c/h files. (MSVC 6)

------------------------------------------------------------------------
r1206 | intrr | 2003-09-11 21:08:45 +0200 (Thu, 11 Sep 2003) | 10 lines



On popular request, I made the "Sync" button (correct realtime
synchronization (framedrop) in ALT-A and synchronization to audio strips)
off by default when loading old .blend files or old ~/.B.blends.

This, however, makes the audio sequencer unusable by default, ALT-A will
not show realtime on complex scenes, and the "Frs/sec" value will be
ignored.

------------------------------------------------------------------------
r1205 | guignot | 2003-09-10 21:47:05 +0200 (Wed, 10 Sep 2003) | 2 lines

removed an useful #include which caused a compilation error

------------------------------------------------------------------------
r1204 | intrr | 2003-09-10 18:26:21 +0200 (Wed, 10 Sep 2003) | 7 lines



The "extrude" operation now automatically sets newly created faces "smooth",
based on the assumption that if any of the faces attached to any of the
edges that have been extruded were "smooth", the result should also be.
(There is no other way to detect this, as edges don't have a "smooth" flag :-))

------------------------------------------------------------------------
r1203 | intrr | 2003-09-10 04:46:22 +0200 (Wed, 10 Sep 2003) | 5 lines



Finally, the "Emulate 3 buttons" button in the userprefs actually
*does* turn ALT-LEFTMOUSE emulation on and off :)

------------------------------------------------------------------------
r1202 | phase | 2003-09-09 23:26:34 +0200 (Tue, 09 Sep 2003) | 2 lines

moved Quicktime init function from creator.c

------------------------------------------------------------------------
r1201 | jiri | 2003-09-08 14:57:18 +0200 (Mon, 08 Sep 2003) | 3 lines


- I forgot to add file blender.mo and I made changes in .Blanguages. I'm really sorry.

------------------------------------------------------------------------
r1200 | jiri | 2003-09-08 14:13:54 +0200 (Mon, 08 Sep 2003) | 4 lines


- added czech translation (cs.po)
- changed function drawcircball() in source/blender/src/drawobject.c. Circle is computed faster (no 32 calls of sin() and cos() each time witch same results).

------------------------------------------------------------------------
r1199 | jiri | 2003-09-05 15:54:22 +0200 (Fri, 05 Sep 2003) | 8 lines


- improved polygonization (linear interpolation) of Implicit Surfaces (Meta)
- added new MetaElem types (plane, elipsoid and cube) old TubeX, TubeY and TubeZ will not be supported
- new buttons in Edit button window (dx, dy, dz)
- added new items into the headers menu and toolbox menu

more details at: http://blender.webpark.cz

------------------------------------------------------------------------
r1198 | ianwill | 2003-09-03 06:13:08 +0200 (Wed, 03 Sep 2003) | 9 lines

Exppython:
- Window: added .GetCursorPos()
- Lamp: updated for NoDiffuse and NoSpecular modes
- Registry: new module to handle persistent data
- vector: made it correctly print only 3 values when vec->size==3:
    Fixes nmvert coords printed with a 4th 0.0 coordinate
- Text: fixed crash on startup (Python 2.3, linux):
    added definition of the Text pyobject earlier, in Types.c

------------------------------------------------------------------------
r1197 | ianwill | 2003-09-03 06:04:17 +0200 (Wed, 03 Sep 2003) | 3 lines

Exppython:
- Updated two doc files

------------------------------------------------------------------------
r1196 | guignot | 2003-09-02 22:13:43 +0200 (Tue, 02 Sep 2003) | 2 lines

function PyArgsParse changed for PyArgsParseTuple by Stephen ( not so that sure...)

------------------------------------------------------------------------
r1195 | guignot | 2003-09-02 22:11:11 +0200 (Tue, 02 Sep 2003) | 3 lines

Modification of the GetControlPoint function by Stephen, who is now responsible for this module
slight bug fixes (Steph.)

------------------------------------------------------------------------
r1194 | ton | 2003-09-02 21:32:48 +0200 (Tue, 02 Sep 2003) | 4 lines

- fixed crash when you render a scene without emit Material and
  new Radio render on.
  crash happened after redraw in 3d window.

------------------------------------------------------------------------
r1193 | sirdude | 2003-09-02 21:09:15 +0200 (Tue, 02 Sep 2003) | 8 lines



I haven't tested this but this should fix autoconf issues.
(libradiosity was already after librender so just needed to add
the extra source file to libradiosity.)

Kent

------------------------------------------------------------------------
r1192 | aphex | 2003-09-01 20:21:17 +0200 (Mon, 01 Sep 2003) | 4 lines

-  added /debug to the libpath of guardedalloc in makesdna. Pointed out
   by Maci_Ray (thanks!).
-  updated project files with radiosity changes.

------------------------------------------------------------------------
r1191 | ton | 2003-08-31 23:43:23 +0200 (Sun, 31 Aug 2003) | 2 lines

- forgot this one! eek!

------------------------------------------------------------------------
r1190 | ton | 2003-08-31 22:33:46 +0200 (Sun, 31 Aug 2003) | 30 lines

So, for the platform managers to check:
- the link order for Blender has changed, the libradiosity.a has to be moved after the librender.a (obviously for a new dependency!). Check blender/source/Makefile
- there's a new file: blender/source/radiosity/intern/source/radrender.c

Here's what the new code does:

Using the core routines of the Radiosity tool, each renderface with 'emit material' and each renderface with 'radio material flag' set will be used to itterate to a global illumination solution. Per face with high energy (emit) little images are rendered (hemicubes) which makes up lookup tables to 'shoot' its energy to other faces.
In the end this energy - color - then is directly added to the pixel colors while rendering, Gouraud shaded.
Since it's done with renderfaces, it works for all primitives in Blender.

What is doesn't do yet:
- take into account textured color of faces. Currently it uses the material RGB color for filtering distributed energy.
- do some smart pre-subdividing. I don't know yet if this is useful... Right now it means that you'll have to balance the models yourself, to deliver small faces where you want a high accuracy for shadowing.
- unified render (is at my todo list)

User notes:
- per Material you want to have included in radiosity render: set the 'radio' flag. For newly added Materials it is ON by default now.
- the Ambient slider in Material controls the amount of radiosity color.
- for enabling radiosity rendering, set the F10 "Radio" button.
- the Radiosity buttons now only show the relevant radiosity rendering options. Pressing "collect meshes" will show all buttons again.
- for meshes, the faces who use Radio material always call the 'autosmooth' routine, this to make sure sharp angles (like corners in a room) do not have shared vertices. For some smooth models (like the raptor example) you might increase the standard smoothing angle from 30 to 45 degree.

Technical notes:
- I had to expand the renderface and rendervertices for it... shame on me! Faces have one pointer extra, render vertices four floats...
- The size of the hemicubes is now based at the boundbox of the entire scene (0.002 of it). This should be more reliable... to be done
- I fixed a bug in radiosity render, where sometimes backfaces where lit

In general:
I'd like everyone to play a bit with this system. It's not easy to get good results with it. A simple "hit and go" isn't there... maybe some good suggestions?

------------------------------------------------------------------------
r1189 | michel | 2003-08-27 20:10:59 +0200 (Wed, 27 Aug 2003) | 3 lines

* Fix crash when linking something illegal to an Object.
  Pointed out and fixed by Stephen Swaney

------------------------------------------------------------------------
r1188 | ton | 2003-08-27 19:46:59 +0200 (Wed, 27 Aug 2003) | 3 lines

- text provided by Gregor Mueckl
  describes the MEM_mallocN and MEM_callocN api

------------------------------------------------------------------------
r1187 | hos | 2003-08-23 21:09:52 +0200 (Sat, 23 Aug 2003) | 4 lines

In ODE, a dVector3 is really a 4D array ... the 3D initialization
used in this file caused the MipsPro 7.4 compiler to choke
... please test on all platforms!

------------------------------------------------------------------------
r1186 | ton | 2003-08-21 14:49:28 +0200 (Thu, 21 Aug 2003) | 3 lines

- Bisschofftep's improvements of tooltips text.
  in editmesh three error menus were made more clear.

------------------------------------------------------------------------
r1185 | ton | 2003-08-17 19:59:03 +0200 (Sun, 17 Aug 2003) | 2 lines

- a control-s character accidentally inserted here... but how?

------------------------------------------------------------------------
r1184 | intrr | 2003-08-17 18:00:37 +0200 (Sun, 17 Aug 2003) | 8 lines



- Duplicated both the "Sync" button (from Sound buttons) and the "Frs/Sec"
  button (from the Render buttons) in the Anim Buttons (F7) for more
  clarity.

- Removed old 'AnimSpeed' option

------------------------------------------------------------------------
r1183 | ton | 2003-08-17 17:57:12 +0200 (Sun, 17 Aug 2003) | 4 lines

- fixed bug #448

  now 'only shadow' lamps won't give light when rendering without shadows.

------------------------------------------------------------------------
r1182 | ton | 2003-08-17 15:42:50 +0200 (Sun, 17 Aug 2003) | 7 lines

- fix bug #479

  crash when deleting all curves from Curve Object, when EditButtons open.
  Bad memory reference, caused by using an unsupported feature in
  interface.c... fixed by not using that feature! (making buttons with NULL
  pointers)

------------------------------------------------------------------------
r1181 | ton | 2003-08-17 15:02:17 +0200 (Sun, 17 Aug 2003) | 3 lines

- fix bug #480
  SHIFT+C in 3dWindow didnt update the other 3d windows, when open.

------------------------------------------------------------------------
r1180 | ton | 2003-08-17 14:56:41 +0200 (Sun, 17 Aug 2003) | 4 lines

- fix bug #481
  when adding a new scene in a Screen without buttons window, a pointer
  was referenced which is zero

------------------------------------------------------------------------
r1179 | sgefant | 2003-08-17 00:28:19 +0200 (Sun, 17 Aug 2003) | 2 lines

allow NAN_SDL etc. to be overridden on OS X

------------------------------------------------------------------------
r1178 | hos | 2003-08-16 22:16:40 +0200 (Sat, 16 Aug 2003) | 2 lines

Making Hans' mods to sdl in nan_definition.mk work under irix.

------------------------------------------------------------------------
r1177 | h_xnan | 2003-08-16 13:28:51 +0200 (Sat, 16 Aug 2003) | 6 lines

SDL definitions cleanup and fix for FreeBSD (FreeBSD SDL ports
maintainers really *really* only want to use sdl11-config while not
offering sdl-config as well ...)
This patch was briefly discussed on -committers but still might break
SDL stuff.

------------------------------------------------------------------------
r1176 | ton | 2003-08-15 16:39:08 +0200 (Fri, 15 Aug 2003) | 3 lines

- make sure shadowbuffers are tested & corrected for sizes that are
  multiples of 16 pixels

------------------------------------------------------------------------
r1175 | ton | 2003-08-14 17:20:12 +0200 (Thu, 14 Aug 2003) | 2 lines

- release 2.28a notes

------------------------------------------------------------------------
r1174 | sirdude | 2003-08-14 17:18:45 +0200 (Thu, 14 Aug 2003) | 7 lines



A little more cleanup, removed a bunch of unused vars in the code.
Trying to get rid of some of the extra warnings we can ignore ;)

Kent

------------------------------------------------------------------------
r1172 | aphex | 2003-08-12 22:37:45 +0200 (Tue, 12 Aug 2003) | 2 lines

- Transition period for Windows... Part 2! :)

------------------------------------------------------------------------
r1171 | aphex | 2003-08-12 22:37:14 +0200 (Tue, 12 Aug 2003) | 6 lines

- Transition period for Windows... Ctrl+U now saves in
  ~/.blender, but we still check old locations to avoid people from
  losing settings! :)

  This does not affect any other platform.

------------------------------------------------------------------------
r1170 | ton | 2003-08-12 19:43:50 +0200 (Tue, 12 Aug 2003) | 2 lines

release number is 2.28a

------------------------------------------------------------------------
r1169 | aphex | 2003-08-11 20:53:23 +0200 (Mon, 11 Aug 2003) | 7 lines

- Fix bug #250:
  Blender no longer uses the windows dir as %HOME%
  This also fixes the ".blanguage not found" errors when
  double-clicking .blend files. (Win32)

  Needs testing at Win2k/XP!!!

------------------------------------------------------------------------
r1168 | ton | 2003-08-11 20:18:11 +0200 (Mon, 11 Aug 2003) | 7 lines

- increased toon value 'size' to 3.14 for diff, and 1.53 for spec, as in
  tuhopuu (as max for buttons)
- Sun lamps now do toon specularity too

Hemi lamps dont do any other shader than the old ones still... the
implimentation of it in Tuhopuu is disputable, will solve this for 2.29

------------------------------------------------------------------------
r1167 | ianwill | 2003-08-11 01:18:00 +0200 (Mon, 11 Aug 2003) | 6 lines


Exppython:
- Adding argv to the builtin sys Python module:
    Currently only argv[0] is there.  This fixes a weird error that can make
    correct scripts fail.

------------------------------------------------------------------------
r1166 | larstiq | 2003-08-10 15:55:20 +0200 (Sun, 10 Aug 2003) | 4 lines

- Split build/install info out from README into INSTALL
- Add information on the .blender dir
- Add some helpful links

------------------------------------------------------------------------
r1165 | michel | 2003-08-10 12:03:37 +0200 (Sun, 10 Aug 2003) | 7 lines

* Fix crash in the getParent() and getTracked() methods of the Python API.
  This crash was reported by Jean-Michel Soler (jms).
  Problem was that I was trying to be a little too intelligent. I kept a
  reference to created PyObjects which at some point apparently fails. Keeping
  the object references is not necessary. Now we just create a new PyObject
  when necessary and let Python handle the reference counts.

------------------------------------------------------------------------
r1164 | ton | 2003-08-09 19:09:11 +0200 (Sat, 09 Aug 2003) | 6 lines

- patch provided by Jiri, to prevent polygonizer not to do metaballs
  outside of the old boundbox of the Object.

  it's a small fix, the code is still commented in... need further
  work to find out why sometimes balls disappear

------------------------------------------------------------------------
r1163 | ton | 2003-08-07 16:08:41 +0200 (Thu, 07 Aug 2003) | 6 lines

- Fixed bug #440, an error resulting from work at optimizing 'glflush'
  calls.

  Added a comment in the code why it happens... its about safely
  escaping from buttons/blocks loops before loading a new file!

------------------------------------------------------------------------
r1162 | guignot | 2003-08-07 15:20:25 +0200 (Thu, 07 Aug 2003) | 2 lines

changed a return value for Irix compiler

------------------------------------------------------------------------
r1161 | ianwill | 2003-08-07 06:12:44 +0200 (Thu, 07 Aug 2003) | 6 lines


Exppython:
- Fixed crash in NMesh:
    When trying to rename newly created meshes, Blender would crash due to
    invalid id->lib in new_id().

------------------------------------------------------------------------
r1160 | michel | 2003-08-07 00:08:56 +0200 (Thu, 07 Aug 2003) | 4 lines

* Updated the Python API module documentation for Object.
  Added a couple of examples for some functions.
* Fixed some small documentation problems with regards to the implementation.

------------------------------------------------------------------------
r1159 | ianwill | 2003-08-06 21:25:06 +0200 (Wed, 06 Aug 2003) | 6 lines


Exppython:
- Update method scene.update():
    To accept an optional parameter for a "full" update (using set_scene_bg()).
- Updated the docs accordingly.

------------------------------------------------------------------------
r1158 | michel | 2003-08-06 19:04:36 +0200 (Wed, 06 Aug 2003) | 3 lines

* Updated the Python API module documentation for Object.
  This module now contains a complete description - finally.

------------------------------------------------------------------------
r1157 | michel | 2003-08-06 16:57:11 +0200 (Wed, 06 Aug 2003) | 4 lines

* Fixed crash when editing Ipo curves on Linux.
  This problem only occurs on Linux with NVidia cards.
  Fixed by Timo Mihaljov (noid).

------------------------------------------------------------------------
r1156 | michel | 2003-08-06 14:25:24 +0200 (Wed, 06 Aug 2003) | 4 lines

* Fix problem that edge select hotkey doesn't work on Linux.
  Edge select is now _only_ working with ctrl-alt-RMB. Patch provided by
  Roel Spruit (Goofster).

------------------------------------------------------------------------
r1155 | intrr | 2003-08-05 15:39:27 +0200 (Tue, 05 Aug 2003) | 4 lines



Fix volume envelopes for audio strips, they now work in all spaces.

------------------------------------------------------------------------
r1154 | sgefant | 2003-08-05 14:44:34 +0200 (Tue, 05 Aug 2003) | 3 lines

don't use QuickTime to load tga, png, and jpg images, as this causes
problems when trying to play a sequence of images (fixes bug #430)

------------------------------------------------------------------------
r1153 | guignot | 2003-08-05 12:19:28 +0200 (Tue, 05 Aug 2003) | 4 lines

removed unuseful function calls in BezTriple.[ch]
general cleaning of Ipocurve.c Ipocurve.h Ipo.h Ipo.c
updated doc

------------------------------------------------------------------------
r1152 | ianwill | 2003-08-05 05:45:31 +0200 (Tue, 05 Aug 2003) | 8 lines


Exppython:
- Fixed bug #399:
    Old bug on NMesh: segfault on NMesh.Face(vertexlist).
- Fixed bug #433:
    "Typo" on Armature: bone's setQuat method was changing bone->head, not
    bone->quat.

------------------------------------------------------------------------
r1151 | aphex | 2003-08-04 20:12:34 +0200 (Mon, 04 Aug 2003) | 2 lines

- added include path for imbuf (MSVC 6)

------------------------------------------------------------------------
r1150 | ton | 2003-08-04 14:40:09 +0200 (Mon, 04 Aug 2003) | 2 lines

- interface.c doc

------------------------------------------------------------------------
r1149 | hos | 2003-08-04 05:26:07 +0200 (Mon, 04 Aug 2003) | 7 lines

Irix mips3 build, Part 2

Ensuring that the build uses the rebuilt
mips3 libs.

Please test!

------------------------------------------------------------------------
r1147 | ianwill | 2003-08-02 22:49:31 +0200 (Sat, 02 Aug 2003) | 5 lines


Exppython:
  Text module: trying to get the filename attribute didn't check for NULL.
  Reported by Stani Michiels. Fixed now.

------------------------------------------------------------------------
r1146 | ianwill | 2003-08-02 05:37:16 +0200 (Sat, 02 Aug 2003) | 5 lines


Exppython:
  Expanding NMesh_update() to accept a parameter to tell it to recalculate
  normals, I introduced an error: new meshes would segfault Blender.  Fixed.

------------------------------------------------------------------------
r1145 | guignot | 2003-08-01 21:47:01 +0200 (Fri, 01 Aug 2003) | 3 lines

Added a new function (member of the Ipo object) EvaluateCurveOn(int pos, float time) which returns the value of the ipo curve number pos at the given time.
Updated doc accordingly.

------------------------------------------------------------------------
r1144 | sgefant | 2003-07-31 20:34:41 +0200 (Thu, 31 Jul 2003) | 2 lines

added path to IMB_imbuf_types.h to include path (needed by Image.c)

------------------------------------------------------------------------
r1143 | ianwill | 2003-07-30 23:15:41 +0200 (Wed, 30 Jul 2003) | 27 lines

* got rid of a warning in editipo.c:
   changed "get_ipo(key, ..." to "get_ipo((ID *)key, ..." in line 107.
* changed insert_meshkey(Mesh *me) to insert_meshkey(Mesh *me, short offline):
   To call this function from a script, so that it doesn't pop the
   "relative / absolute" dialog window when the "offline" arg is non-zero.

Exppython:

* NMesh module:
   - Added method NMesh.addMaterial(mat) to the NMesh module:
   alternative safer (aka slower) way to add materials.
   - Added optional arg to NMesh_update():
   if given and equal to 1, the mesh normals are recalculated.
   - Fixed NMesh.getVertexInfluences: it was segfaulting when a NULL bone was
   linked to the vertex.  Thanks to Jiba on the bf-python mailing list for
   bug report and sample .blend file.  Also made this method give an IndexError
   when the vertex index is out of range.
* Material module:
   Added specR, specG, specB vars for compatibility with the 2.25 API.
   Pointed by Manuel Bastioni.
* Image module:
    Exposed image width, height and depth parameters.
    From a suggestion by jms.
* BPython Ref Doc:
  - Small updates to reflect the above additions.
  - Added info for the Bone type in the Armature doc.

------------------------------------------------------------------------
r1142 | michel | 2003-07-30 23:02:55 +0200 (Wed, 30 Jul 2003) | 3 lines

* Linking a Mesh object to the base object was not possible. Fixed.
* Clean up of some comments.

------------------------------------------------------------------------
r1141 | michel | 2003-07-30 22:52:35 +0200 (Wed, 30 Jul 2003) | 3 lines

* Updated the Object.py documentation.
  Not all is finished, but we're getting there.

------------------------------------------------------------------------
r1140 | michel | 2003-07-30 20:47:05 +0200 (Wed, 30 Jul 2003) | 4 lines

* Fixed crash in Object.getTracked() method
  It tried to create a new Object from the tracked variable, when the variable
  was NULL. Ouch.

------------------------------------------------------------------------
r1139 | phase | 2003-07-29 16:22:08 +0200 (Tue, 29 Jul 2003) | 2 lines

cvs maillist test. pls ignore.

------------------------------------------------------------------------
r1138 | phase | 2003-07-29 15:36:18 +0200 (Tue, 29 Jul 2003) | 2 lines

Modified Text alignment, it now aligns from the origin (centre) of the Text object.

------------------------------------------------------------------------
r1137 | hos | 2003-07-27 19:09:19 +0200 (Sun, 27 Jul 2003) | 4 lines

Added the variable NAN_NO_OPENAL to force building without
openal. Set NAN_NO_OPENAL to true for this behavior.
Also removed a comment about EXPYTHON, which is obsolete.

------------------------------------------------------------------------
r1136 | michel | 2003-07-27 17:56:32 +0200 (Sun, 27 Jul 2003) | 3 lines

* Fixed problems in with script linking.
  I had to update many files to get this to work.

------------------------------------------------------------------------
r1135 | guignot | 2003-07-27 15:53:29 +0200 (Sun, 27 Jul 2003) | 2 lines

added functions World_CheckPyObject World_FromPyObject World_CreatePyObject and World_compare

------------------------------------------------------------------------
r1134 | ianwill | 2003-07-26 22:19:01 +0200 (Sat, 26 Jul 2003) | 4 lines


Exppython docs:
  Fixing a small comment in the nmesh doc, to avoid confusion.

------------------------------------------------------------------------
r1133 | aphex | 2003-07-26 20:05:20 +0200 (Sat, 26 Jul 2003) | 2 lines

MSVC 6 debug target finally fixed! (yes, really!) :)

------------------------------------------------------------------------
r1132 | aphex | 2003-07-26 18:26:01 +0200 (Sat, 26 Jul 2003) | 2 lines

- fixed include paths for SoundSystem (MSVC 6).

------------------------------------------------------------------------
r1131 | guignot | 2003-07-25 21:53:42 +0200 (Fri, 25 Jul 2003) | 2 lines

added function 	buildParts

------------------------------------------------------------------------
r1130 | guignot | 2003-07-25 21:52:51 +0200 (Fri, 25 Jul 2003) | 3 lines

bug fixes in functions getLocation and similar.
added buildParts() methods, which forces the computation of the partivcle system.

------------------------------------------------------------------------
r1129 | guignot | 2003-07-25 11:00:01 +0200 (Fri, 25 Jul 2003) | 2 lines

removed a debug message

------------------------------------------------------------------------
r1128 | guignot | 2003-07-25 00:53:03 +0200 (Fri, 25 Jul 2003) | 2 lines

deleted old blend files. My 56k modem didn't like...

------------------------------------------------------------------------
r1126 | aphex | 2003-07-23 20:06:10 +0200 (Wed, 23 Jul 2003) | 2 lines

- added sdl.dll to the release makefiles for windows

------------------------------------------------------------------------
r1125 | aphex | 2003-07-23 19:59:27 +0200 (Wed, 23 Jul 2003) | 2 lines

Updated win self-installer script. Still uses the 16-color icon images (sorry broken!) :)

------------------------------------------------------------------------
r1124 | larstiq | 2003-07-23 19:51:40 +0200 (Wed, 23 Jul 2003) | 4 lines

Don't fail cleaning if the locale directory doesn't exist.

Reported by Frank W. Samuelson among others.

------------------------------------------------------------------------
r1122 | ton | 2003-07-23 18:04:20 +0200 (Wed, 23 Jul 2003) | 2 lines

- release notes, version 2.28

------------------------------------------------------------------------
r1120 | ton | 2003-07-23 11:47:22 +0200 (Wed, 23 Jul 2003) | 4 lines

- tiny changes:
  - more crispy splash screen from Matt
  - insert key menu reworded in more logical way ("Nah, the other kind" :)

------------------------------------------------------------------------
r1119 | sgefant | 2003-07-23 02:24:42 +0200 (Wed, 23 Jul 2003) | 3 lines

fix bug #397:
shift+o caused a crash if no object was active (tsk...)

------------------------------------------------------------------------
r1118 | ton | 2003-07-22 23:50:21 +0200 (Tue, 22 Jul 2003) | 7 lines

bugreport from intrr:

- spec was at wrong location in shaded view
- shaded view didnt do 'nospec' and 'nodiffuse' options

Both fixed!

------------------------------------------------------------------------
r1117 | intrr | 2003-07-22 23:17:30 +0200 (Tue, 22 Jul 2003) | 4 lines



Images in Sequence editor work again! Isn't this great! :)

------------------------------------------------------------------------
r1116 | ton | 2003-07-22 22:50:14 +0200 (Tue, 22 Jul 2003) | 2 lines

- updated release release number. :)

------------------------------------------------------------------------
r1115 | ton | 2003-07-22 22:46:42 +0200 (Tue, 22 Jul 2003) | 2 lines

- new 2.28 splash screen, with special thanks to Nishin who made it. :)

------------------------------------------------------------------------
r1114 | ton | 2003-07-22 22:38:15 +0200 (Tue, 22 Jul 2003) | 3 lines

- fixed .B.blend, with hacked in version number 2.27... otherwise it does
  not show a splash, hah!

------------------------------------------------------------------------
r1113 | ton | 2003-07-22 21:49:47 +0200 (Tue, 22 Jul 2003) | 13 lines

- new standard .b.blend file which has changes:
  - the plane has a material
  - material has texture
  - scene has a world
  - default set 'draw faces' and 'draw edges'

that last one for the noobies, to prevent them complaining!

- added a note in interface.c about the new api doc

- forgot to commit blender.c, for setting the G.f from the file
  (this will save faceselect and vertexpaint mode too)

------------------------------------------------------------------------
r1112 | michel | 2003-07-22 20:42:57 +0200 (Tue, 22 Jul 2003) | 4 lines

* Fix an ugly crash when retrieving an object and trying to get the ipo from
  it. Ouch, I really need to remove those small parts of duplicate code for
  2.29 - too much maintanance which eventually goes wrong.

------------------------------------------------------------------------
r1111 | guignot | 2003-07-22 20:11:07 +0200 (Tue, 22 Jul 2003) | 2 lines

addition of a small example

------------------------------------------------------------------------
r1110 | ton | 2003-07-22 18:19:55 +0200 (Tue, 22 Jul 2003) | 6 lines

- reverted change which only displayed lamp icon in buttons-header when a
  lamp was selected.

- left in that; when a lamp is selected with materialbuttons open, it goes
  to lampbuttons automatic, and vice versa

------------------------------------------------------------------------
r1109 | ton | 2003-07-22 16:28:56 +0200 (Tue, 22 Jul 2003) | 5 lines

- fixed 'HOME' option for action window. it had a wrong 'max zoom' setting.
  also provided a patch in do_versions to make saved action windows work.

  now you can zoom out nicely again!

------------------------------------------------------------------------
r1108 | guignot | 2003-07-22 15:56:41 +0200 (Tue, 22 Jul 2003) | 2 lines

removed the patch for ipo attr, which had side effects

------------------------------------------------------------------------
r1107 | ton | 2003-07-22 14:49:32 +0200 (Tue, 22 Jul 2003) | 7 lines

- tinsy bit toned down new color for rvk sliders, to match the blender
  scheme
- restored commented out test_view2d() call in changeactionspace(). this
  fixes the errors when opening a new or larger action window, with wrong
  layout/matrices
  (HOS: can you verify that doesnt break stuff?)

------------------------------------------------------------------------
r1106 | hos | 2003-07-22 04:38:27 +0200 (Tue, 22 Jul 2003) | 2 lines

Fixed it so that add nla strip works even when databrowse is not needed.

------------------------------------------------------------------------
r1105 | ianwill | 2003-07-22 02:27:03 +0200 (Tue, 22 Jul 2003) | 4 lines


Exppython docs:
- Updates and fixes to the documentation files, only, no code involved.

------------------------------------------------------------------------
r1104 | guignot | 2003-07-21 23:58:13 +0200 (Mon, 21 Jul 2003) | 2 lines

modified the function getattr, which crashed blender when someone tried to access a NULL field. This function returns now PyNone.

------------------------------------------------------------------------
r1103 | ton | 2003-07-21 23:21:15 +0200 (Mon, 21 Jul 2003) | 6 lines

- bugfix #178

  Well, it fixes the crash, but the cause can still be in wrong freeing
  memory when deleting strips...
  Hos; I leave in the bugreport with a note for you

------------------------------------------------------------------------
r1102 | michel | 2003-07-21 22:10:22 +0200 (Mon, 21 Jul 2003) | 5 lines

* configure stops now when libGL or libGLU are not found on the system. It
  used to continue and let you think everything was fine. However when
  linking, you get all the trouble.
  Tested by Gregor Mückl - thanks.

------------------------------------------------------------------------
r1101 | larstiq | 2003-07-21 22:09:36 +0200 (Mon, 21 Jul 2003) | 8 lines


- Make the output bin/ directory for every target that needs it.

Fixes build problems where (for example) plugin was to be made before the real
blender targets, and the entire build failed because of this missing directory.
It used to be so that nan_subdirs.mk made the output directory, but that relies
on DIR being correctly set, which is no longer the case.

------------------------------------------------------------------------
r1100 | ton | 2003-07-21 21:41:07 +0200 (Mon, 21 Jul 2003) | 4 lines

- saves the 'draw faces' flag in a file, in fact the entire G.f flag.
  WARN: this recompiles other stuff too, outside of the loader. be sure
  to 'make' in source/blender/ or a higher dir.

------------------------------------------------------------------------
r1099 | michel | 2003-07-21 21:36:54 +0200 (Mon, 21 Jul 2003) | 3 lines

* Fix for a CFLAGS variable that got accidentally overwritten. This caused
  gcc not to use the -funsigned-char flag.

------------------------------------------------------------------------
r1098 | ton | 2003-07-21 20:25:50 +0200 (Mon, 21 Jul 2003) | 3 lines

- slightly improved icons, again by xype. Now they are less ... er ..
  shady!

------------------------------------------------------------------------
r1097 | ton | 2003-07-21 20:11:35 +0200 (Mon, 21 Jul 2003) | 5 lines

- lazy pointer check... foei foei ton!

  reported bug: deleting object, with material button visible, crash!
  fixed now...

------------------------------------------------------------------------
r1096 | ton | 2003-07-21 19:46:55 +0200 (Mon, 21 Jul 2003) | 5 lines

- fixed a small error, the change i made before with frontbuffer drawing
  of right-mouse selection of objects, now calls a correct glFlush

  only to be noticed at osx and nvidia systems...

------------------------------------------------------------------------
r1095 | ton | 2003-07-21 19:44:23 +0200 (Mon, 21 Jul 2003) | 10 lines

- restored proportional hotkey. it now works again as follows:

  In editmode;
    press OKEY to toggle proportional editing
    press SHIFT+OKEY to toggle sharp/smooth proportional editing

- outside of editmode, the SHIFT+O toggles subsurf on/off

- its a compromise... :)

------------------------------------------------------------------------
r1094 | michel | 2003-07-21 19:35:19 +0200 (Mon, 21 Jul 2003) | 3 lines

* Fix small compilation problem in Ipo.c
  Moved the declaration of a variable to the beginning of a function.

------------------------------------------------------------------------
r1093 | guignot | 2003-07-21 02:08:30 +0200 (Mon, 21 Jul 2003) | 2 lines

reincorporation in the cvs of modifications which had been lost.

------------------------------------------------------------------------
r1092 | hos | 2003-07-21 01:26:38 +0200 (Mon, 21 Jul 2003) | 2 lines

sdl stuff modified to work well on irix

------------------------------------------------------------------------
r1091 | hos | 2003-07-21 01:06:59 +0200 (Mon, 21 Jul 2003) | 3 lines

Some manipulations of the keyword 'static' to get
blender to compile

------------------------------------------------------------------------
r1090 | hos | 2003-07-21 01:04:09 +0200 (Mon, 21 Jul 2003) | 23 lines

Support for using the action window as a tool for modifying
(mesh or lattice) RVK IpoCurves: support currently includes:

	- RVK sliders. Pressing the little triangle next to
	  the word 'sliders' in the channel names opens them up.
	- NKEY in the area where the key block names are allows the
	  user to change the name of the keyblock, and the max and min
	  values of the RVK sliders.
	- ability to visualize the keyframes for the IpoCurves when
	  the object is selected.
	- right mouse can be used to select the keys
	- border select in the main area can be used to border
	  select keys.
	- AKEY selects/deselects all of the keys
	- GKEY and SKEY can be used to grab or scale the key
	  selections.
	- XKEY deletes the selected keys.
	- DKEY duplicated the selected keys.
	- VKEY, HKEY and shift-HKEY change the bezier handles for
	  the selected keys.

Please, please, please test!

------------------------------------------------------------------------
r1089 | ton | 2003-07-20 22:38:22 +0200 (Sun, 20 Jul 2003) | 3 lines

- changed order for 'draw faces'... it now draws first, then wire and
  vertices

------------------------------------------------------------------------
r1088 | ton | 2003-07-20 22:25:30 +0200 (Sun, 20 Jul 2003) | 5 lines

- added ALT_RIGHTMOUSE select edges in Mesh editmode
- added 'draw edges' mode in F9 menu
- changed ugly 'draw faces' in a nice transparant :)
- hotkey for screenshots: ALT+CTRL+F3 now works too

------------------------------------------------------------------------
r1087 | aphex | 2003-07-20 21:52:20 +0200 (Sun, 20 Jul 2003) | 2 lines

- removed soundsystem projects (now part of intern) (MSVC 6)

------------------------------------------------------------------------
r1086 | aphex | 2003-07-20 21:51:03 +0200 (Sun, 20 Jul 2003) | 2 lines

- updated intern project files to include soundsystem (MSVC 6)

------------------------------------------------------------------------
r1085 | michel | 2003-07-20 20:06:06 +0200 (Sun, 20 Jul 2003) | 6 lines

* removed the #include .c statements and replaced them with corresponding .h
  files.
* updated the build environment to include the needed .c files.
* Updated the modules.h file to expose the necessary functions to other
  modules.

------------------------------------------------------------------------
r1084 | ton | 2003-07-20 19:59:57 +0200 (Sun, 20 Jul 2003) | 2 lines

- added patches for shaders in the stub... displist.c calls it. Bad Bad!

------------------------------------------------------------------------
r1083 | ton | 2003-07-20 17:55:02 +0200 (Sun, 20 Jul 2003) | 5 lines

- added the 'no diffuse' and 'no specularity' options for Lamps, as were
  in Tuhopuu
- added the Tuhopuu feature which displays material-buttons and lamp-
  buttons integrated. saves button presses that way!

------------------------------------------------------------------------
r1082 | ton | 2003-07-20 17:52:25 +0200 (Sun, 20 Jul 2003) | 2 lines

- translated the main radiosity structure comments

------------------------------------------------------------------------
r1081 | sgefant | 2003-07-20 15:38:51 +0200 (Sun, 20 Jul 2003) | 2 lines

new os x icons by xype

------------------------------------------------------------------------
r1080 | ton | 2003-07-20 10:58:42 +0200 (Sun, 20 Jul 2003) | 3 lines

- changed button type for WorldButtns->misi to fit with the others. Just
  for a better looks.

------------------------------------------------------------------------
r1079 | ianwill | 2003-07-19 23:04:33 +0200 (Sat, 19 Jul 2003) | 4 lines


Exppython:
  Still compilation problems, wrong type returned in a function.

------------------------------------------------------------------------
r1078 | ianwill | 2003-07-19 22:44:25 +0200 (Sat, 19 Jul 2003) | 4 lines


Exppython:
- Trying to correct a compile problem. IpoCurve_Init wasn't declared in modules.h

------------------------------------------------------------------------
r1077 | ton | 2003-07-19 22:31:29 +0200 (Sat, 19 Jul 2003) | 35 lines

WARNING: with makefiles I could not get a stable blender compiled.
         do a make clean in source/blender/ to be sure!

- Included the new shaders from Cessen... well, only the shader calls
  themselves. To make sure the shaders work I nicely integrated it

- MaterialButtons: layout changed a bit, but still resembles the old
  layout. The 'shader' options now are located together.

- Shaders are separated in 'diffuse' and 'specular'. You can combine them
  freely.

- diffuse Lambert: old shader
  diffuse Oren Nayar: new shader, gives sandy/silky/skinny material well
  diffuse Toon: for cartoon render

- specular Phong: new spec, traditional 70ies spec
  specular CookTorr: a reduced version of cook torrance shading, does
                     off specular peak well
  specular Blinn: new spec, same features as CookTorr, but with extra
                  'refraction' setting
  specular Toon: new spec for cartoon render

- default blender starts with settings that render compatible!

- works in shaded view and preview-render

- works in unified render

Further little changes:

- removed paranoia compile warnings from render/loader/blenlib

- and the warnings at files I worked at were removed.

------------------------------------------------------------------------
r1076 | ton | 2003-07-19 22:19:31 +0200 (Sat, 19 Jul 2003) | 6 lines

- fixed bug in renderwin zoom function. You now can press 'Z' in a window
  again, and move your mouse around to scan the image.
  MiddleMouse works too, but less intuitive

- at some systems it is still slow, bad clipping code...

------------------------------------------------------------------------
r1075 | ton | 2003-07-19 22:14:07 +0200 (Sat, 19 Jul 2003) | 6 lines

- Blender in background render mode (blender -b) now reacts to CTRL+C
  again. You'll have to do it twice... first CTRL+C will send an internal
  break (exit render loops)
- I prefer this in foreground mode too, but Python uses it as well, to
  escape from loops. We have to fix this once.

------------------------------------------------------------------------
r1074 | guignot | 2003-07-19 10:32:01 +0200 (Sat, 19 Jul 2003) | 4 lines

World : got rid of debug messages
Blender : declatation of the module IpoCurve
Ipo : modifications (new attributes) to keep the compatibility with 227 api

------------------------------------------------------------------------
r1073 | guignot | 2003-07-19 10:29:55 +0200 (Sat, 19 Jul 2003) | 2 lines

Nex modules added to keep a minimal compatibility with 227 api

------------------------------------------------------------------------
r1072 | ton | 2003-07-18 22:10:01 +0200 (Fri, 18 Jul 2003) | 2 lines

- left a debug printing in my previous commit. tsk tsk tsk!

------------------------------------------------------------------------
r1071 | ton | 2003-07-18 20:32:57 +0200 (Fri, 18 Jul 2003) | 3 lines

- fixed error message at OSX in interface.c, added a load of comments there
  to understand the central loop better.

------------------------------------------------------------------------
r1070 | intrr | 2003-07-18 17:50:33 +0200 (Fri, 18 Jul 2003) | 20 lines



Added "Group selection" menu (SHIFT-G), which offers the following options:

1 - Children
2 - Immediate Children
3 - Parent
4 - Objects on shared layers

1: Selects all direct children of the active object
2: Select all children, children's children etc. of the active object
3: Makes the parent of the current object active, and deselects the
   active object
4: Selects all objects that share at least one layer with the active object

Useful for stepping through object hierarchies and for quickly selecting
objects belonging together.

See my message on bf-committers as well.

------------------------------------------------------------------------
r1069 | intrr | 2003-07-18 17:30:12 +0200 (Fri, 18 Jul 2003) | 6 lines



Added a MEM_freeN call to sound_free_sound() to release bSound->stream
created by audio_makestream(). Fixes "Err Totblck stream len..." messages
and memory leak.

------------------------------------------------------------------------
r1068 | sgefant | 2003-07-18 16:43:18 +0200 (Fri, 18 Jul 2003) | 2 lines

properly fix the fix this time (I need more coffee...)

------------------------------------------------------------------------
r1067 | sgefant | 2003-07-18 16:37:51 +0200 (Fri, 18 Jul 2003) | 3 lines

fix last "fix" (I accidentally removed the definition of NAN_FTGL from the
common section)

------------------------------------------------------------------------
r1066 | sgefant | 2003-07-18 15:34:55 +0200 (Fri, 18 Jul 2003) | 2 lines

fix sdl detection

------------------------------------------------------------------------
r1065 | ton | 2003-07-18 15:23:03 +0200 (Fri, 18 Jul 2003) | 2 lines

- oops, forgot to put back a temporal removed line...

------------------------------------------------------------------------
r1064 | ton | 2003-07-18 15:20:47 +0200 (Fri, 18 Jul 2003) | 16 lines

* fixed bug: pressing F11 in dispview mode opened a window

* new feature: rendering large images now displays correctly zoomed down
  in an imagewindow. The fact that it didn't also caused unpredictable
  slowdowns at various systems (tested osx, win).
  Of course after rendering you can still zoom in/out as usual.

* there was code that limits the maximum size of an imagewindow, keeping
  a small border around it free. By increasing the border 15 pixels I got
  huge speedup at OSX. Still looks good though...
  Needs more research what is happening here, maybe we need a user setting
  for it... but i rather implement the usage of the internal ImageWindow
  first.
  Still unsolved: 24 bits windows opening... I don't dare yet hacking in it
  Ghost.

------------------------------------------------------------------------
r1063 | sgefant | 2003-07-18 12:11:40 +0200 (Fri, 18 Jul 2003) | 9 lines

some sdl related stuff:

* moved references to libSDL out of ifeq($(INTERNATIONAL), true) (win32)
and  ifeq($(WITH_FREETYPE2),true) (irix) conditionals in source/Makefile

* look for sdl in $(LCGDIR)/sdl if sdl-config isn't found

thanks to LarstiQ for doing most of the work

------------------------------------------------------------------------
r1062 | aphex | 2003-07-17 21:25:36 +0200 (Thu, 17 Jul 2003) | 2 lines

- added 'Textured Solid' to the Draw mode popup (DKEY).

------------------------------------------------------------------------
r1061 | sirdude | 2003-07-17 16:47:19 +0200 (Thu, 17 Jul 2003) | 7 lines



Added  $(NAN_SDLCFLAGS) to CPPFLAGS so that my machine
could find the SDL headers (SDL.h)

Kent

------------------------------------------------------------------------
r1060 | sirdude | 2003-07-17 16:19:55 +0200 (Thu, 17 Jul 2003) | 6 lines



Fixed a couple more warnings.

Kent

------------------------------------------------------------------------
r1059 | sirdude | 2003-07-17 15:47:58 +0200 (Thu, 17 Jul 2003) | 6 lines



fixed a warning by adding a newline to end of file.

Kent

------------------------------------------------------------------------
r1057 | hos | 2003-07-17 05:36:25 +0200 (Thu, 17 Jul 2003) | 5 lines

- Made references to SoundSystem look in intern instead of gameengine for
all platforms. Please test on non-linux/non-irix.
- Changed another libsoundsystem.a to libSoundSystem.a.
- Removed comments refering to fmod (I assume it's not coming back ever)

------------------------------------------------------------------------
r1056 | hos | 2003-07-17 04:36:56 +0200 (Thu, 17 Jul 2003) | 5 lines

Changed some occurances of the lib 'soundsystem' to 'SoundSystem'
(seems half of the references were one way, the other half were
the other way). Also made irix link to $(OCGDIR)/intern/*SoundSystem/*
instead of $(OCGDIR)/gameengine/*SoundSystem/*

------------------------------------------------------------------------
r1055 | ianwill | 2003-07-17 02:26:33 +0200 (Thu, 17 Jul 2003) | 4 lines


Exppython docs:
- Minor: fixed wrong url to www.python.org/doc (had written 'docs').

------------------------------------------------------------------------
r1054 | hos | 2003-07-17 01:53:09 +0200 (Thu, 17 Jul 2003) | 2 lines

Sound support for irix

------------------------------------------------------------------------
r1052 | sirdude | 2003-07-16 21:53:53 +0200 (Wed, 16 Jul 2003) | 6 lines



Further fixes to the old makefiles.

Kent

------------------------------------------------------------------------
r1051 | phlo | 2003-07-16 21:53:48 +0200 (Wed, 16 Jul 2003) | 2 lines

-SDL links now on windows for cygwin-msvc and cygwin-gcc.

------------------------------------------------------------------------
r1049 | sirdude | 2003-07-16 21:00:04 +0200 (Wed, 16 Jul 2003) | 9 lines



Hopefully update for NaN Makefiles for the moving of SoundSystem.
I need to get openal working on my machine before I can test it so
if it doesn't work feel free to fix it.  Hopefully this will be
the majority of the stuff though.

Kent

------------------------------------------------------------------------
r1048 | aphex | 2003-07-16 20:35:12 +0200 (Wed, 16 Jul 2003) | 2 lines

- moved the 'Enable All Codecs' button over in the info window (for Win32)

------------------------------------------------------------------------
r1047 | michel | 2003-07-16 20:23:50 +0200 (Wed, 16 Jul 2003) | 9 lines

* Updated the auto* build system to compile again.
  SoundSystem has been moved from source/gameengine to intern. This was needed
  because functionality from SoundSystem was needed by
  source/blender/src/editsound.c.
* Removed the option for the openal check in configure.ac. It's needed now by
  SoundSystem
* Removed the functionality for checking if 'noaudio' was provied on the
  commandline. Now audio is default on.

------------------------------------------------------------------------
r1046 | hos | 2003-07-16 06:53:15 +0200 (Wed, 16 Jul 2003) | 2 lines

Was doing #include "FTF_api.h" instead of #include "FTF_Api.h"

------------------------------------------------------------------------
r1045 | ianwill | 2003-07-16 03:44:51 +0200 (Wed, 16 Jul 2003) | 5 lines


Exppython docs:
- Added a very brief intro to the api doc and updated the command to generate
  the documentation (it's in a comment in Blender.py). Improved the NMesh ex.

------------------------------------------------------------------------
r1044 | sirdude | 2003-07-15 19:09:24 +0200 (Tue, 15 Jul 2003) | 11 lines



Added extra files that weren't there.

We still need to tie in the gameengine SoundSystem stuff to get
things building again, really though we should probably move
the sound stuff so its a blender subdir and or a kernel subdir
instead of in the gameengine now that its used in both.

Kent

------------------------------------------------------------------------
r1043 | phase | 2003-07-15 17:09:40 +0200 (Tue, 15 Jul 2003) | 3 lines

Added newline to file (seeing tinderbox burn...) and
declared the BMF_Font struct for proper headerfile handling.

------------------------------------------------------------------------
r1042 | sirdude | 2003-07-15 16:43:18 +0200 (Tue, 15 Jul 2003) | 6 lines



Was including BMF_api.h instead of BMF_Api.h

Kent

------------------------------------------------------------------------
r1041 | sirdude | 2003-07-15 16:38:32 +0200 (Tue, 15 Jul 2003) | 6 lines



Added a --with-sdl=dir option

Kent

------------------------------------------------------------------------
r1040 | phase | 2003-07-14 15:48:44 +0200 (Mon, 14 Jul 2003) | 4 lines

Removed the old INTERNATIONAL Drawstring constructions.
These are now handled through BIF_DrawString(...) in src/language.c,
where it chooses between the old BMF and the new FTF DrawString.

------------------------------------------------------------------------
r1039 | aphex | 2003-07-13 23:48:05 +0200 (Sun, 13 Jul 2003) | 2 lines

- updated MSVC 6 project files to include the sequencer audio support

------------------------------------------------------------------------
r1038 | intrr | 2003-07-13 23:43:15 +0200 (Sun, 13 Jul 2003) | 8 lines



- Fixed two swapped array indices in seqaudio.c which prevented panning
  from working correctly

- Added MKEY for muting audio strips (as they can't be part of a meta strip
  anyway)

------------------------------------------------------------------------
r1036 | intrr | 2003-07-13 23:29:44 +0200 (Sun, 13 Jul 2003) | 10 lines



Finally changed the Blender version (BLENDER_VERSION) to 228!
(Some of the audio features do a version check in do_versions
(usiblender.c, readfile.c) and depend on this to convert fields in older
(<2.28) files).

I also removed the "2.27.Newpy.1" line from headerbuttons.c, it now shows
"www.blender.org 228" again.

------------------------------------------------------------------------
r1034 | larstiq | 2003-07-13 22:16:56 +0200 (Sun, 13 Jul 2003) | 91 lines


Commit message and the brunt of the code courtesy of intrr, apologies for the
size of this;


Finally, the Sequencer audio support and global audio/animation sync stuff!
(See http://intrr.org/blender/audiosequencer.html)

Stuff that has been done:

./source/blender/blenloader/intern/writefile.c
./source/blender/blenloader/intern/readfile.c

Added code to make it handle sounds used by audio strips, and to convert
Scene data from older (<2.28) versions to init Scene global audio settings
(Scene->audio) to defaults.

./source/blender/include/BSE_seqaudio.h
./source/blender/src/seqaudio.c

The main audio routines that start/stop/scrub the audio stream at
a certain frame position, provide the frame reference for the current
stream position, mix the audio, convert the audio, mixdown the audio
into a file.

./source/blender/makesdna/DNA_sound_types.h

Introduced new variables in the bSound struct to accomodate the sample
data after converted to the scene's global mixing format (stream, streamlen).
Also added a new flag SOUND_FLAGS_SEQUENCE that gets set if the Sound
belongs to a sequence strip.

./source/blender/makesdna/DNA_scene_types.h

Added AudioData struct, which holds scene-global audio settings.

./source/blender/makesdna/DNA_sequence_types.h

Added support for audio strips. Some variables to hold Panning/Attenuation
information, position information, reference to the sample, and some flags.

./source/blender/makesdna/DNA_userdef_types.h
./source/blender/src/usiblender.c

Added a "Mixing buffer size" userpref. Made the versions stuff initialize
it to a default for versions <2.28.

./source/blender/makesdna/DNA_space_types.h
./source/blender/src/filesel.c

Added a Cyan dot to .WAV files. Any other suggestions on a better color? :)

./source/blender/src/editsound.c

Changes (fixes) to the WAV file loader, re-enabled some gameengine code that
is needed for dealing with bSounds and bSamples.

./source/blender/src/editipo.c
./source/blender/src/drawseq.c
./source/blender/src/editnla.c
./source/blender/src/space.c
./source/blender/src/drawview.c
./source/blender/src/renderwin.c
./source/blender/src/headerbuttons.c

 - Created two different wrappers for update_for_newframe(), one which scrubs
   the audio, one which doesn't.
 - Replaced some of the occurences of update_for_newframe() with
   update_for_newframe_muted(), which doesn't scrub the audio.
 - In drawview.c: Changed the synchronization scheme to get the current audio
   position from the audio engine, and use that as a reference for setting
   CFRA. Implements a/v sync and framedrop.
 - In editipo.c: Changed handling of Fac IPOs to be usable for audio strips as
   volume envelopes.
 - In space.c: Added the mixing buffer size Userpref, enabled audio scrubbing
   (update_for_newframe()) for moving the sequence editor framebar.

./source/blender/src/editseq.c

Added support for audio strips and a default directory for WAV files which
gets saved from the last Shift-A operation.

./source/blender/src/buttons.c

Added Scene-global audio sequencer settings in Sound buttons.

./source/blender/src/sequence.c

Various stuff that deals with handling audio strips differently than
usual strips.

------------------------------------------------------------------------
r1032 | ianwill | 2003-07-13 18:28:17 +0200 (Sun, 13 Jul 2003) | 4 lines


Exppython:
- "last minute" updates to documentation and two modules.

------------------------------------------------------------------------
r1031 | aphex | 2003-07-13 13:23:36 +0200 (Sun, 13 Jul 2003) | 2 lines

- fixed the output file path for python project (MSVC 6)

------------------------------------------------------------------------
r1030 | guignot | 2003-07-12 23:31:55 +0200 (Sat, 12 Jul 2003) | 2 lines

forgotten to remove the calls to removed functions...

------------------------------------------------------------------------
r1029 | guignot | 2003-07-12 22:48:56 +0200 (Sat, 12 Jul 2003) | 3 lines

Doc for the world module. Got rid of some unuseful fields in World module.
The last doc  ;-))

------------------------------------------------------------------------
r1028 | ianwill | 2003-07-12 20:21:07 +0200 (Sat, 12 Jul 2003) | 5 lines


Exppython:
- A few more changes to integrate the documentation:
    Instructions to build it with epydoc are on the file Blender.py.

------------------------------------------------------------------------
r1027 | ianwill | 2003-07-12 20:02:54 +0200 (Sat, 12 Jul 2003) | 5 lines


Exppython:
- More documentation files for epydoc.
- Few minor changes in other files.

------------------------------------------------------------------------
r1026 | guignot | 2003-07-12 16:35:49 +0200 (Sat, 12 Jul 2003) | 2 lines

Effect module documentation. What can more tedious than writing docs ?...

------------------------------------------------------------------------
r1025 | aphex | 2003-07-12 14:49:36 +0200 (Sat, 12 Jul 2003) | 2 lines

- cleaned up MSVC 6 project files (removed non-existing .h files, etc)

------------------------------------------------------------------------
r1024 | hos | 2003-07-12 02:46:43 +0200 (Sat, 12 Jul 2003) | 2 lines

EXPYTHON in now the only python for the Makefiles build.

------------------------------------------------------------------------
r1023 | aphex | 2003-07-11 22:18:47 +0200 (Fri, 11 Jul 2003) | 2 lines

- removed exppython project (which is now the new BPY_python project!)

------------------------------------------------------------------------
r1022 | aphex | 2003-07-11 22:10:24 +0200 (Fri, 11 Jul 2003) | 3 lines

- removed old freeze and python projects, exppython now compiles by
  default. (MSVC 6)

------------------------------------------------------------------------
r1021 | ton | 2003-07-11 22:02:52 +0200 (Fri, 11 Jul 2003) | 9 lines

* selecting objects has a different frontbuffer drawing handling now.
  instead of drawing everything again, in all windows, it restricts to
  the active and previous active object. when there are more objects to
  be redrawn, it does a normal swapbuffers.
  Result is it all redraws & selects a lot faster in complex scenes

* Little fix in "BallTable" routine when moving mouse vertical out of
  the 3d window.

------------------------------------------------------------------------
r1020 | aphex | 2003-07-11 21:34:20 +0200 (Fri, 11 Jul 2003) | 2 lines

- removed freeze project from intern build (MSVC 6)

------------------------------------------------------------------------
r1019 | ton | 2003-07-11 19:34:08 +0200 (Fri, 11 Jul 2003) | 2 lines

* from Douglas Bischoff: improved tooltip descriptions.

------------------------------------------------------------------------
r1018 | ton | 2003-07-11 18:50:31 +0200 (Fri, 11 Jul 2003) | 15 lines

* fixed bug "turntable deviation" #364

In fact, I made it working different, much more cooler!

-------The BallTable Method TM (patent pending)------------

This is a hybrid of the old turntable method (a virtual camara that rotates
around a table) and the trackball method. Mouse moving horizontal, gives
the turntable effect, but with vertical movement it works like a trackball.
So, vertically moving in the middle of the window exactly mimics old
turntable method, moving vertically in the window edge gives a 'twist'
rotation.

Try the turntable for fun! (is in user settings menu)

------------------------------------------------------------------------
r1017 | ton | 2003-07-11 14:45:04 +0200 (Fri, 11 Jul 2003) | 8 lines

* fixed code that tried to restore material links, after radiosity, and
  when you want a new Mesh.
  Problem happened when over 16 materials are used for 'collect meshes'.
  Blender does not support (yet) more than 16. For clarity, I added a
  warning for the user when this occurs

  (was bug 370)

------------------------------------------------------------------------
r1016 | guignot | 2003-07-11 00:03:27 +0200 (Fri, 11 Jul 2003) | 2 lines

changed the get/setSize to get/setWinSize. Tks Willian.

------------------------------------------------------------------------
r1015 | guignot | 2003-07-10 23:56:03 +0200 (Thu, 10 Jul 2003) | 2 lines

documentation for the Metaball module.

------------------------------------------------------------------------
r1014 | aphex | 2003-07-10 22:53:59 +0200 (Thu, 10 Jul 2003) | 3 lines

-  fixed a problem with face select and vertex paint modes by removing
   the check for nors != NULL (sorry miencho!).

------------------------------------------------------------------------
r1013 | ton | 2003-07-10 22:45:17 +0200 (Thu, 10 Jul 2003) | 3 lines

* removed warning from Glut "unknown key" when pressing the 'paragraph'
  key.

------------------------------------------------------------------------
r1012 | ton | 2003-07-10 22:38:40 +0200 (Thu, 10 Jul 2003) | 5 lines

* OSX Ghost now accepts the (glut) mousewarp method. is in call:
  GHOST_SetCursorPosition()

You need this patch to have my previous commit in interface.c working!

------------------------------------------------------------------------
r1011 | ton | 2003-07-10 22:34:41 +0200 (Thu, 10 Jul 2003) | 8 lines

* cursor now moves with arrow keys again for OSX
* this apple method to do it generates unwanted events, so it could not
  be used for the menu mouse-move trick. this is #ifdeffed
* we should re-evaluate if this mousemove should remain in blender...
  there are better ways (scrolling contents of pup)

* plus: removed warnings from drawview.c

------------------------------------------------------------------------
r1010 | michel | 2003-07-10 22:00:51 +0200 (Thu, 10 Jul 2003) | 7 lines

* Object_getInverseMatrix now returns a correct matrix.
  The problem was that the memory was allocated at the stack, but after the
  Python object was created, the pointer to the memory goes invalid.

  Thanks to Kester Maddoc for providing a patch - almost 2 weeks ago. Ouch,
  I should read my mail a little bit better.

------------------------------------------------------------------------
r1009 | phlo | 2003-07-10 20:32:42 +0200 (Thu, 10 Jul 2003) | 2 lines

When cutting out a part of a python script the old textbuffer was still used when executing the script. Adding a txt_make_dirty() to txt_cut_sel() helped.

------------------------------------------------------------------------
r1008 | guignot | 2003-07-10 15:00:44 +0200 (Thu, 10 Jul 2003) | 2 lines

2 new functions : getSize and setSize

------------------------------------------------------------------------
r1007 | guignot | 2003-07-10 10:27:34 +0200 (Thu, 10 Jul 2003) | 2 lines

anged CurveCreatePyObject to Curce_CreatePyObject

------------------------------------------------------------------------
r1006 | guignot | 2003-07-10 02:28:03 +0200 (Thu, 10 Jul 2003) | 2 lines

removed a wrong parameter name

------------------------------------------------------------------------
r1005 | guignot | 2003-07-10 02:23:11 +0200 (Thu, 10 Jul 2003) | 3 lines


Documentation fot the Ipo module

------------------------------------------------------------------------
r1004 | guignot | 2003-07-10 02:22:17 +0200 (Thu, 10 Jul 2003) | 3 lines


minor changes; deleted unuseful functions.

------------------------------------------------------------------------
r1003 | guignot | 2003-07-10 01:21:41 +0200 (Thu, 10 Jul 2003) | 2 lines

removed a function prototype which was already in modules.h

------------------------------------------------------------------------
r1002 | guignot | 2003-07-10 01:19:18 +0200 (Thu, 10 Jul 2003) | 2 lines

name changes for Curve functions (added an underscore)

------------------------------------------------------------------------
r1001 | guignot | 2003-07-09 23:20:01 +0200 (Wed, 09 Jul 2003) | 2 lines

documentation for the module Curve, to be formatted with epydoc

------------------------------------------------------------------------
r1000 | guignot | 2003-07-09 23:18:34 +0200 (Wed, 09 Jul 2003) | 5 lines

change the values of the functions get/set size/loc/rot to lists.
added the attributes loc, rot, size
changed the parameters of getControlPoint to int int list
cosmetic changes in names

------------------------------------------------------------------------
r999 | michel | 2003-07-09 22:14:08 +0200 (Wed, 09 Jul 2003) | 4 lines

* Removed the --enable-exppython from the auto* build environment.
  Building the old implementation is no longer possible with this environment.
* Updated all necessary Makefile.am files accordingly.

------------------------------------------------------------------------
r998 | ton | 2003-07-09 22:09:07 +0200 (Wed, 09 Jul 2003) | 5 lines

- this smartass hack, which was removed from editscreen.c, was needed for
  the textwindow. doh!

  now you can press alt+p in textwindow again!

------------------------------------------------------------------------
r997 | ton | 2003-07-09 18:02:39 +0200 (Wed, 09 Jul 2003) | 4 lines

* F11 now nicely pops/pushes a window again
* works (for OSX) only with the commit I did in Ghost 1 minute ago!
* needs to be checked for all other OS's.

------------------------------------------------------------------------
r996 | ton | 2003-07-09 18:01:27 +0200 (Wed, 09 Jul 2003) | 10 lines

* Added a roman -> latin charset convertor.
MacOSX returns a Roman charset with kEventParamKeyMacCharCodes
as defined here: http://developer.apple.com/documentation/mac/Text/Text-516.html
I am not sure how international this works...
For cross-platform convention, we'll use the Latin ascii set instead.
As defined at: http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html

* changed window-pop behaviour, it now also activates the window for input
  (OSX only)

------------------------------------------------------------------------
r995 | ton | 2003-07-09 17:54:52 +0200 (Wed, 09 Jul 2003) | 6 lines

* typing special characters in 3d font now works again. For OSX ghost will
  use the internal standards for ascii values > 127
* someone has to check how X11 returns these values! Otherise the old
  Blender codes (alt+s = german S) will still work though.
* still have to check this for the buttons!

------------------------------------------------------------------------
r994 | ton | 2003-07-09 16:44:53 +0200 (Wed, 09 Jul 2003) | 3 lines

- increased the character loading/conversion routine that it includes the
  entire ascii extended set (up to 255)

------------------------------------------------------------------------
r993 | guignot | 2003-07-09 14:25:27 +0200 (Wed, 09 Jul 2003) | 4 lines

added what needed to link a curve to an object (modification of Object_link
added 2 functions Curve_CheckPyObject and Curve_FromPyObject
that I had forgotten

------------------------------------------------------------------------
r992 | michel | 2003-07-08 22:06:00 +0200 (Tue, 08 Jul 2003) | 3 lines

* Forgot to update the Object.name variable functionality. Had a bug in it to
  return the first 2 identifying characters too - which it shouldn't.

------------------------------------------------------------------------
r991 | ton | 2003-07-08 15:07:35 +0200 (Tue, 08 Jul 2003) | 2 lines

- changed silly name 'shadelamplus' to shade_lamp_loop

------------------------------------------------------------------------
r990 | ton | 2003-07-08 12:15:42 +0200 (Tue, 08 Jul 2003) | 3 lines

* fixed two more subloops in button drawing for new optimized usage of
  glFinish(). Textbut and the 'But' (render for example) didnt work proper.

------------------------------------------------------------------------
r989 | ton | 2003-07-07 18:12:31 +0200 (Mon, 07 Jul 2003) | 3 lines

- old python: removed reference to UIfrontbuf, just to get it compiling
  for those who dont have EXPYTHON defined

------------------------------------------------------------------------
r988 | ton | 2003-07-07 17:50:44 +0200 (Mon, 07 Jul 2003) | 14 lines

* removed the global uiFrontbuf from interface.c (and python, it was used
  there)
* replaced with nice local (uiBlock) storage of what goes on in drawing.
  it now only calls a glDrawBuffer() and glFinish() when it is actually
  needed

Result: interface drawing in general is speedy again, especially for gfx
cards that dont allow frontbuffer drawing, and copy stuff to the frontbuf
with a glFinish() call.

Needs to be tested on all platforms... report to me when you see problems
like menus not drawing correctly, tooltips not drawing or not disappearing,
etc.

------------------------------------------------------------------------
r987 | phlo | 2003-07-07 11:54:43 +0200 (Mon, 07 Jul 2003) | 2 lines

Added missing symbols of gnu_gettext.dll.

------------------------------------------------------------------------
r986 | michel | 2003-07-06 22:34:59 +0200 (Sun, 06 Jul 2003) | 3 lines

* removed some debugging prints. Accidentally committed them last time.
* nicely format the matrix object when printing.

------------------------------------------------------------------------
r985 | ton | 2003-07-06 22:18:42 +0200 (Sun, 06 Jul 2003) | 4 lines

- miencho (thanks) pointed me to a weak line in draw mesh solid call.
  it used a pointer, without checking its value. the calling code
  took care it never happened, nevertheless... added a comment there.

------------------------------------------------------------------------
r984 | michel | 2003-07-06 21:58:27 +0200 (Sun, 06 Jul 2003) | 12 lines

* Fixed:
    - Object_getMatrix()    - prints correct values now
    - Object_getName()      - removes the two identifying chars from the front
    - Object_setName()      - calls the internal function to correctly set the
                              name of the object.
* Removed the Object_print function. It causes a crash on Windows.
* Updated the Object_repr function to display the Object nicely.
* Object.Get() now returns a list of Objects when no argument has passed to
  it.
* Changed the function declaration for newMatrixObject function
  Easier to read now.

------------------------------------------------------------------------
r983 | ton | 2003-07-05 22:38:31 +0200 (Sat, 05 Jul 2003) | 7 lines

- bug #149.
  rendering the current view (view3d header, render) didn't render solid
  drawmode.

  found missing opengl initialization calls in opening renderwin.
  probably remains from ghost migration.

------------------------------------------------------------------------
r982 | ton | 2003-07-05 18:50:29 +0200 (Sat, 05 Jul 2003) | 7 lines

- removed "SILLY CODE" comment. :-)

  it is from zr, a note to remind him to have better drawing of procuderal
  duplicators in Blender. the code below that comment was mostly a copy
  from code it used before already.
  writing it more efficient would give a gain of about 20 code lines...

------------------------------------------------------------------------
r981 | ton | 2003-07-05 18:41:04 +0200 (Sat, 05 Jul 2003) | 10 lines

- fixed slow file reading of vertex deform groups.

  found out that per vertex, per deform group, a heavy function was called
  to get an address from a huge array. that address even didnt exist, was
  not written in the file... just removing the code makes .blend file
  reading happy again.

  check it by parenting a 40k vertex mesh, to an armature with "use
  armature" and "create vertex groups". save and load file.

------------------------------------------------------------------------
r980 | hos | 2003-07-05 17:01:35 +0200 (Sat, 05 Jul 2003) | 3 lines

*All* of the symbols of python22.dll for use with dlltool
(thanks Florian!)

------------------------------------------------------------------------
r979 | ton | 2003-07-05 16:24:05 +0200 (Sat, 05 Jul 2003) | 2 lines

- included missing <string.h> (ah, these warnings...)

------------------------------------------------------------------------
r978 | larstiq | 2003-07-05 13:27:50 +0200 (Sat, 05 Jul 2003) | 2 lines

Multiline string literals are deprecated in gcc3.3, fixes build error

------------------------------------------------------------------------
r977 | ton | 2003-07-05 13:15:49 +0200 (Sat, 05 Jul 2003) | 7 lines

Patch provided by Jacques Beaurain (thanks!) to fix bug #322. I've added
the text below as comment:

adding a glFinish() here is to prevent Geforce in 'full scene antialias' mode
from antialising the Blender window. Officially a swapbuffers does a glFinish
itself, so this feels really like a hack... but it won't harm. (ton)

------------------------------------------------------------------------
r976 | ton | 2003-07-05 12:50:42 +0200 (Sat, 05 Jul 2003) | 7 lines

- fixed small bug in menu button (preset dirs) in fileselect. When the menu
  is empty (no $HOME/.Bfs and first time use of FileSelect) it was empty,
  causing a nasty drawing error.
  It now doesn't draw the menubutton when there are no preset dirs yet.

- removed 'unused variable' warnings from space.c

------------------------------------------------------------------------
r975 | hos | 2003-07-05 04:28:52 +0200 (Sat, 05 Jul 2003) | 2 lines

Iconified windows do not get window focus.

------------------------------------------------------------------------
r974 | ianwill | 2003-07-05 03:44:32 +0200 (Sat, 05 Jul 2003) | 3 lines


Exppython: small update to fix a warning and a compile problem.

------------------------------------------------------------------------
r973 | ianwill | 2003-07-05 03:18:41 +0200 (Sat, 05 Jul 2003) | 7 lines


Exppython:
- Continued getting rid of print methods and updating repr ones:
    Needed to fix crashes on Windows >= 98 systems.
- Found and fixed a few small memory leaks in EXPP_interface, related to
  execution of script links.

------------------------------------------------------------------------
r972 | ton | 2003-07-04 22:15:13 +0200 (Fri, 04 Jul 2003) | 5 lines

- fixed bug that printed: "bad call to addqueue: 0 (18, 1)" when using
  layer buttons or the layer hotkeys 1-2-3-etc.

  was caused in space.c, view3dlock, untested call to addqueue.

------------------------------------------------------------------------
r971 | guignot | 2003-07-04 18:09:34 +0200 (Fri, 04 Jul 2003) | 3 lines

deleted print function, which caused crashes.
Objects are printed with the repr function.

------------------------------------------------------------------------
r970 | guignot | 2003-07-04 18:06:39 +0200 (Fri, 04 Jul 2003) | 3 lines

Following Willian's proposal,deleted the print function, which caused crashes.
The objects are now printed with the repr function.

------------------------------------------------------------------------
r969 | ianwill | 2003-07-04 04:56:07 +0200 (Fri, 04 Jul 2003) | 11 lines


Exppython:
- Fixed a problem with control of the global Python dictionary persistence:
    Blender.ReleaseGlobalDict(bool) should now work fine.
- Trying to fix the sigsegv crashes on Windows:
    They happen when we try to "print" our objects, like Lamps or Cameras.
    Following advice from the Python Embedding doc, removed the tp_print
    method from Camera and also improved its tp_repr one, that will be used
    as print, repr() and str() for Cameras.  If this test works all other objs
    will be updated accordingly.

------------------------------------------------------------------------
r968 | sirdude | 2003-07-03 15:53:11 +0200 (Thu, 03 Jul 2003) | 17 lines



removed extra tabs in the help function.
It was
function()
{
						blah
}

changed it to just
function()
{
	blah
}

Kent

------------------------------------------------------------------------
r967 | ton | 2003-07-03 14:31:19 +0200 (Thu, 03 Jul 2003) | 5 lines

- second change in vrml file writing. Thanks to testing of a user (don't have good
  vrml viewer here) I could make the UV coords in the right order.

  seems to look good now, but will keep in touch with the tester for verification

------------------------------------------------------------------------
r966 | ianwill | 2003-07-03 03:42:00 +0200 (Thu, 03 Jul 2003) | 5 lines


- exppython now can import modules contained in Blender Texts:
    The Python import function was substituted by our own one (like done
    in the old bpython) to also check Blender Texts upon importing.

------------------------------------------------------------------------
r965 | h_xnan | 2003-07-02 20:51:37 +0200 (Wed, 02 Jul 2003) | 2 lines

OPENGL headers include path is necessary on non-linuxes

------------------------------------------------------------------------
r964 | ianwill | 2003-07-02 20:26:21 +0200 (Wed, 02 Jul 2003) | 5 lines


- NMesh.PutRaw:
   - now it returns the Object wrapper if an obj was created, as in 2.25
   - fixed another bug related to obj-mesh material lists

------------------------------------------------------------------------
r963 | ton | 2003-07-02 15:45:45 +0200 (Wed, 02 Jul 2003) | 5 lines

- removed MXtools reference from Makefiles.

  This compiles so much faster! and hardly no useless warnings anymore
  now, so finally we can pay some attentian to real warnings.

------------------------------------------------------------------------
r962 | ton | 2003-07-02 15:37:03 +0200 (Wed, 02 Jul 2003) | 8 lines

- removed the 'const' from arithb function declarations. it caused
  the myriad of warnings people complained about so long.

  after careful consulting & reading I could not find a good reason
  for this const stuff, apart from a sort-of comment to indicate
  this array (matrix) pointer cannot be changed. Well, doh! you
  should not do that with a float mat[][3] anyway!

------------------------------------------------------------------------
r961 | michel | 2003-07-01 19:05:28 +0200 (Tue, 01 Jul 2003) | 4 lines

* Updated the version number of Blender to display 2.27.NewPy1 in the User
  Interface only. Commented the original line.
  THIS NEEDS TO BE RESTORED TO THE ORIGINAL LINE WHEN A RELEASE IS BUILD!!!

------------------------------------------------------------------------
r960 | ianwill | 2003-07-01 07:19:14 +0200 (Tue, 01 Jul 2003) | 11 lines


- small fix in Sys.c to compile on Windows:
   Thanks Florian Eggenberger for telling us about it. And Greg McBride for
   pointing a possible fix.
- Draw.Text and Draw.GetStringWidth updated:
   Now they accept an optional second parameter to set font size and Draw.Text
   returns the drawn string width.
- Partially fixed the update() and PutRaw() bugs in NMesh:
   A total fix will require bigger changes, but what was done (unless buggy)
   takes care of the common cases.

------------------------------------------------------------------------
r959 | hos | 2003-07-01 02:53:26 +0200 (Tue, 01 Jul 2003) | 2 lines

Jacques patch for initializing m_context as NULL

------------------------------------------------------------------------
r958 | ton | 2003-06-30 21:51:18 +0200 (Mon, 30 Jun 2003) | 8 lines

- added a call calc_meshverts_ext_f2(void) which:
 - projects vertices without clipping code (xs at 3200)
 - sets flag in editvert ( eve->f & 2) when it is not visible

general note: that flag is only valid after the calc_meshverts_ext_f2
call. it is a free flag. be aware that selection
is stored in bit 1 (eve->f & 1)

------------------------------------------------------------------------
r957 | ton | 2003-06-30 21:13:18 +0200 (Mon, 30 Jun 2003) | 2 lines

- accidentally commited an armature test call. sorry!

------------------------------------------------------------------------
r956 | ton | 2003-06-30 20:09:08 +0200 (Mon, 30 Jun 2003) | 7 lines

- this probably fixes export to vrml 1.0 output for textures (UV coords)

  it needs tests... just a simple cube with sides texmapped. and then
  import to whatever vrml viewer or importer you have around.

  the trick lies in adding textureCoordIndex nodes to file.

------------------------------------------------------------------------
r955 | hos | 2003-06-30 18:52:42 +0200 (Mon, 30 Jun 2003) | 2 lines

2 more symbols for expython (thanks again Florian!)

------------------------------------------------------------------------
r954 | ton | 2003-06-30 16:11:17 +0200 (Mon, 30 Jun 2003) | 4 lines

- fixed bug #316

 just two icons that were switched accidentally

------------------------------------------------------------------------
r953 | michel | 2003-06-29 21:57:41 +0200 (Sun, 29 Jun 2003) | 3 lines

* The Object.get and Object.getSelected will become obsolete in the future.
  Added a warning about this - and to use the alternative function.

------------------------------------------------------------------------
r952 | hos | 2003-06-29 19:21:38 +0200 (Sun, 29 Jun 2003) | 5 lines

Moved the OPENGL_HEADERS to the end of the include paths
-- so that render.h from another package (such as the
Xrender extension on irix) doesn't conflict with the
blender one.

------------------------------------------------------------------------
r951 | michel | 2003-06-29 18:49:21 +0200 (Sun, 29 Jun 2003) | 5 lines

* Added some internal functions to the Material module
* Updated the Object module with some more functions. Only 1 function left to
  implement.
* Removed the getDeformData function declaration.

------------------------------------------------------------------------
r950 | ianwill | 2003-06-29 16:35:49 +0200 (Sun, 29 Jun 2003) | 7 lines


- Trying to fix something I caused:
    Added a function call to creator.c that is needed by exppython, but forgot
    to add the function also to the old bpython implementation.  Thanks, Hos!
- Addition in Draw.Text and Draw.GetStringWidth (Python Draw methods):
    Now script writers can select the font size: normal, small or tiny.

------------------------------------------------------------------------
r949 | michel | 2003-06-28 17:10:23 +0200 (Sat, 28 Jun 2003) | 7 lines

* Added functionality to the Object module for getting and setting the name of
  the object.
* Added the GetSelected function. (Same as getSelected).
* Added a start for the Object.py API documentation.
* Some minor bug-fixes to the Object module.
* Added the functionality to get the IPO of the Object.

------------------------------------------------------------------------
r948 | ianwill | 2003-06-28 12:35:14 +0200 (Sat, 28 Jun 2003) | 5 lines


- Added user defined python dir to Python's sys.path:
    Had to add a function call to creator.c, explained in a note there (look
    for pythondir in the file)

------------------------------------------------------------------------
r947 | ianwill | 2003-06-28 09:38:21 +0200 (Sat, 28 Jun 2003) | 6 lines


- More renaming all around to follow our conventions
- Implemented partially Blender.Sys
- Worked on issues related to sys, path
- Took away most "debug" printfs

------------------------------------------------------------------------
r946 | hos | 2003-06-28 05:47:05 +0200 (Sat, 28 Jun 2003) | 3 lines

expython needs pthreads to link under irix (prolly a python 2.2
requirement).

------------------------------------------------------------------------
r945 | ton | 2003-06-27 17:29:36 +0200 (Fri, 27 Jun 2003) | 4 lines

- associated .h file change for previous commit (bug #152).
  plus added a warning in screen_types.h. Some wierd person
  thinks ENUM is nice? It's dangerous! ;-)

------------------------------------------------------------------------
r944 | ton | 2003-06-27 17:26:23 +0200 (Fri, 27 Jun 2003) | 9 lines

- bug #152

  databrowse didnt work in NLA editor, for a SHIFT+A "add action"

  note: the databrowse is a bit out-focus here. the NLA editor is not yet
  well integrated with blender standards. For example, there is no awareness
  of an 'active' strip in the editor, which makes a bit clumsy code. It needs
  some more work... options in the window header etc.

------------------------------------------------------------------------
r943 | sirdude | 2003-06-27 17:17:22 +0200 (Fri, 27 Jun 2003) | 6 lines



Deleted a ^S that was causing it to not compile on my linux box.

Kent

------------------------------------------------------------------------
r942 | ton | 2003-06-27 14:58:21 +0200 (Fri, 27 Jun 2003) | 4 lines

- when inserting first key for Bone in Armature, the IpoWindow now gets
  a signal to change to 'show Action Ipos'
  Makes it all a tad more clear...

------------------------------------------------------------------------
r941 | ton | 2003-06-27 14:34:44 +0200 (Fri, 27 Jun 2003) | 3 lines

- part 1 of investigating how armatures work!
  fixed display error; when adding a 'key' in a bone, it didnt update IpoWindow

------------------------------------------------------------------------
r940 | guignot | 2003-06-27 10:26:41 +0200 (Fri, 27 Jun 2003) | 3 lines


oops! forgot this one!

------------------------------------------------------------------------
r939 | guignot | 2003-06-27 09:46:29 +0200 (Fri, 27 Jun 2003) | 2 lines

end of cleanup ; naming conventions, balance between c and h files

------------------------------------------------------------------------
r938 | guignot | 2003-06-27 09:35:55 +0200 (Fri, 27 Jun 2003) | 2 lines

some cleanup; naming conventions

------------------------------------------------------------------------
r937 | hos | 2003-06-26 15:47:49 +0200 (Thu, 26 Jun 2003) | 3 lines

Added 2 symbols to dlltool/python.def to make
expython compile for windows-gcc (thanks Florian!)

------------------------------------------------------------------------
r936 | ianwill | 2003-06-26 04:03:51 +0200 (Thu, 26 Jun 2003) | 5 lines


* Added function Blender.Draw.GetStringWidth().
* Added doc and small test for Blender.Test
* trying changes to make Blender.Test.unlink() safer.

------------------------------------------------------------------------
r935 | ianwill | 2003-06-25 06:38:38 +0200 (Wed, 25 Jun 2003) | 3 lines


* Documentation and a simple test for BGL.

------------------------------------------------------------------------
r934 | sirdude | 2003-06-24 17:03:07 +0200 (Tue, 24 Jun 2003) | 7 lines



Added example scripts to help first time users get things going....
Will be referenced in a doc I'm working on. :)

Kent

------------------------------------------------------------------------
r933 | ianwill | 2003-06-24 09:21:17 +0200 (Tue, 24 Jun 2003) | 6 lines


* Added more doc files for epydoc and a test for the camera module.
* Moved public declarations in camera and lamp to a new file: bpy_types.h.
* Fixed minor bugs in material, rgbTuple and Lamp + other minor changes.
* Made part of the changes to conform to decided naming conventions.

------------------------------------------------------------------------
r932 | ton | 2003-06-23 14:28:20 +0200 (Mon, 23 Jun 2003) | 2 lines

- added reference to genfile.c instructions

------------------------------------------------------------------------
r931 | ton | 2003-06-23 10:20:30 +0200 (Mon, 23 Jun 2003) | 3 lines

- renderwindow doesn't close when switching from dispwin to dispview
- left out activating the mainwindow after rendering, this is confusing

------------------------------------------------------------------------
r930 | michel | 2003-06-22 22:14:11 +0200 (Sun, 22 Jun 2003) | 6 lines

* Added matrix module
* Moved the function EXPP_tuple_repr from vector.c to gen_utils.[ch]
* Matrix functionality should work now in Object module.
* Fixed compilation warning about implicit declaration of M_World_Init.
  Added the declaration to modules.h

------------------------------------------------------------------------
r929 | guignot | 2003-06-22 21:52:04 +0200 (Sun, 22 Jun 2003) | 5 lines

removed all references to FP_INFINITE, dirty hack I used before, which is not useful now.


: ----------------------------------------------------------------------

------------------------------------------------------------------------
r928 | michel | 2003-06-22 20:48:22 +0200 (Sun, 22 Jun 2003) | 3 lines

* Added the definition of FP_INFINITE back to Metaball.c
  It really doesn't compile on some platforms if it isn't defined.

------------------------------------------------------------------------
r927 | michel | 2003-06-22 20:34:36 +0200 (Sun, 22 Jun 2003) | 7 lines

* Fixes segfault caused in the Object.getParent function.
  Found by Jonathan Thambidurai
* Fixes a scriptlink problem when a script is run using ALT-p.
  Found by Yann Vernier (LoneTech)
* Prints unhandled exceptions. Should fix some memory leaks too.
  Fixed by Yann Verniet (LoneTech)

------------------------------------------------------------------------
r926 | guignot | 2003-06-22 18:23:58 +0200 (Sun, 22 Jun 2003) | 4 lines


bug fix
-

------------------------------------------------------------------------
r925 | guignot | 2003-06-22 15:51:29 +0200 (Sun, 22 Jun 2003) | 4 lines


new module
-

------------------------------------------------------------------------
r924 | guignot | 2003-06-22 15:51:01 +0200 (Sun, 22 Jun 2003) | 3 lines


nex module

------------------------------------------------------------------------
r923 | ton | 2003-06-21 23:34:40 +0200 (Sat, 21 Jun 2003) | 3 lines

- for test: action space has no 'winchange' callback now.
  well. the callback is empty!

------------------------------------------------------------------------
r922 | guignot | 2003-06-21 22:57:16 +0200 (Sat, 21 Jun 2003) | 3 lines


taking care of mist intensity in the render process

------------------------------------------------------------------------
r921 | guignot | 2003-06-21 22:54:33 +0200 (Sat, 21 Jun 2003) | 4 lines



a slider for controlling mist intensity

------------------------------------------------------------------------
r920 | guignot | 2003-06-21 22:47:12 +0200 (Sat, 21 Jun 2003) | 3 lines


Integration of the new modules

------------------------------------------------------------------------
r919 | guignot | 2003-06-21 22:44:44 +0200 (Sat, 21 Jun 2003) | 3 lines


several bug fixes

------------------------------------------------------------------------
r918 | ton | 2003-06-21 22:24:42 +0200 (Sat, 21 Jun 2003) | 7 lines

- added (old supposed) option for uiDefBut to define the amount of digits
  in NUM or NUMSLI buttons. It's the last but one argument...

  i really have to put the interface.c API doc back!!! :-)

  (get probably killed for the fact that i have it)

------------------------------------------------------------------------
r917 | guignot | 2003-06-21 18:11:50 +0200 (Sat, 21 Jun 2003) | 4 lines



very last test.

------------------------------------------------------------------------
r916 | guignot | 2003-06-21 18:09:21 +0200 (Sat, 21 Jun 2003) | 4 lines



check in test...

------------------------------------------------------------------------
r915 | guignot | 2003-06-21 18:07:55 +0200 (Sat, 21 Jun 2003) | 5 lines



added python test files
these tests should be exhaustive

------------------------------------------------------------------------
r914 | guignot | 2003-06-21 13:44:10 +0200 (Sat, 21 Jun 2003) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r913 | guignot | 2003-06-21 13:34:43 +0200 (Sat, 21 Jun 2003) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r912 | guignot | 2003-06-21 13:27:19 +0200 (Sat, 21 Jun 2003) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r911 | guignot | 2003-06-21 13:12:14 +0200 (Sat, 21 Jun 2003) | 2 lines

*** empty log message ***

------------------------------------------------------------------------
r910 | ton | 2003-06-20 14:49:36 +0200 (Fri, 20 Jun 2003) | 9 lines

- removed 'gldrawbuffer()' and 'glflush()' calls from main buttons loop.
  these calls were done without anything actually happening, for each
  mouse move, and caused quite some slowdown at OSX.
  Might help the other platforms as well. Check it by just moving your mouse
  around, over window edges, buttons, etc. Especially Radiosity buttons
  were horrible slow in a large window

  Please be aware that the above calls cause a swapbuffer at OSX!

------------------------------------------------------------------------
r909 | ianwill | 2003-06-20 04:01:22 +0200 (Fri, 20 Jun 2003) | 4 lines


* Adding doc dir to exppython, with sample Camera.py file.
    We're testing the epydoc doc generator with good results.

------------------------------------------------------------------------
r908 | cmccad | 2003-06-18 05:48:55 +0200 (Wed, 18 Jun 2003) | 3 lines

Rolled back comments.  According to new guidelines, no .c files
should contain doxygen comments.

------------------------------------------------------------------------
r907 | ton | 2003-06-15 21:08:50 +0200 (Sun, 15 Jun 2003) | 2 lines

- fixed error, in 'z buffer' mode the bg color in 3d view was too bright

------------------------------------------------------------------------
r906 | michel | 2003-06-15 15:14:45 +0200 (Sun, 15 Jun 2003) | 3 lines

* Fixed compilation error. FP_INFINITE needs to be defined _after_ all header
  files are included.

------------------------------------------------------------------------
r905 | sgefant | 2003-06-15 12:25:12 +0200 (Sun, 15 Jun 2003) | 2 lines

Draw extra wire tuhopuu-style. Fixes Bug 244

------------------------------------------------------------------------
r904 | hos | 2003-06-15 08:18:21 +0200 (Sun, 15 Jun 2003) | 6 lines

The mipspro compiler also doesn't like FP_INFINITE,
so extended it so Simon's redefinition also occurs whenever
FP_INFINITE isn't defined (don't know why setting infinity
equals to 1 would be a good thing though)... maybe the author
might choose a more portable method for doing this.

------------------------------------------------------------------------
r903 | h_xnan | 2003-06-15 00:58:01 +0200 (Sun, 15 Jun 2003) | 2 lines

fix the link target naming

------------------------------------------------------------------------
r902 | hos | 2003-06-15 00:49:20 +0200 (Sun, 15 Jun 2003) | 2 lines

The makes EXPYTHON=true link correctly (for now) on windows-gcc

------------------------------------------------------------------------
r901 | hos | 2003-06-15 00:47:54 +0200 (Sun, 15 Jun 2003) | 3 lines

This makes the new renderwin.c behavior work
for windows-gcc.

------------------------------------------------------------------------
r900 | aphex | 2003-06-14 17:52:53 +0200 (Sat, 14 Jun 2003) | 22 lines

- Added exppython project to VC6

  A quick HOW-TO:

  * Open /blender/projectfiles/blender/blender.dsw
  * Replace all existing files in the exppython project with the
    .c/h files found in /blender/source/blender/python/ and subdirs
  * Make sure Blender project is active.
  * Remove the old BPY_python and BPY_freeze dependancies.
    (Project->Dependancies...)
  * Add the new exppython as a dependancy.
  * Recompile, et voila! :)

  I'm sure the python team would appreciate some Windows feedback,
  so please test this if you can and report any probs, etc to the
  bf-python mailist.

  Note: The old BPY_python/freeze project will be removed and exppython
  made default just as soon as it is declared ready! ;)

--aphex

------------------------------------------------------------------------
r899 | aphex | 2003-06-14 17:20:53 +0200 (Sat, 14 Jun 2003) | 5 lines

- Fixed a compile error on Windows:
  VC98 Win32 Platform SDK does not define FP_INFINITE!

  Anyone know if VC7 is C99 compliant?

------------------------------------------------------------------------
r898 | ton | 2003-06-14 16:49:12 +0200 (Sat, 14 Jun 2003) | 3 lines

- removed test_break call from #ifdef POSIX part, to prevent double
  it now is a cross platform function again.

------------------------------------------------------------------------
r897 | aphex | 2003-06-14 15:34:35 +0200 (Sat, 14 Jun 2003) | 2 lines

- Holger's patch to enable ESC detection when rendering (Win32).

------------------------------------------------------------------------
r896 | ianwill | 2003-06-14 12:10:01 +0200 (Sat, 14 Jun 2003) | 4 lines


* Fixed crash on file image selectors:
   The global python dict can't be cleaned before the callbacks are executed.

------------------------------------------------------------------------
r895 | ton | 2003-06-13 21:56:15 +0200 (Fri, 13 Jun 2003) | 3 lines

- bug fix #257
  crash when ESC out of FileSelect, while previous window Info (user settings)

------------------------------------------------------------------------
r894 | ton | 2003-06-13 18:51:22 +0200 (Fri, 13 Jun 2003) | 4 lines

- fixed bug #228
  dispview mode now doesnt disappear immedately after render
  oh, what i hated that one!

------------------------------------------------------------------------
r893 | ton | 2003-06-13 16:04:06 +0200 (Fri, 13 Jun 2003) | 2 lines

- again same commit, typo in comment was still there...

------------------------------------------------------------------------
r892 | ton | 2003-06-13 15:54:08 +0200 (Fri, 13 Jun 2003) | 2 lines

- fixed commenting in renderwin.c

------------------------------------------------------------------------
r891 | ton | 2003-06-13 15:46:00 +0200 (Fri, 13 Jun 2003) | 10 lines

- restored functionality for ESC detection during rendering which doesnt
  eat up cpu time.
  in fact it was in pre-ghost blender already.

works now for all posix OS's, except for windows. now working on getting
that fixed as well. until then, rendering will be slow at win32...


cvS: ----------------------------------------------------------------------

------------------------------------------------------------------------
r890 | ton | 2003-06-13 15:43:27 +0200 (Fri, 13 Jun 2003) | 5 lines

- at systems with an inverted-draw crosshair cursor (editmode) it was almost
  invisible in the 3d win. Jacked up the background grey a tinsy bit to
  improve that.
  also made the grid lines brighter, less distracting that way.

------------------------------------------------------------------------
r889 | ianwill | 2003-06-13 06:21:48 +0200 (Fri, 13 Jun 2003) | 6 lines


* Bugs item #169 fixed:
    Now Blender.NMesh.PutRaw() doesn't destroy vertex color info anymore.
    Both exppython's NMesh.c and bpython's opy_nmesh.c were updated.
* Minor changes in other files.

------------------------------------------------------------------------
r888 | sirdude | 2003-06-12 21:17:33 +0200 (Thu, 12 Jun 2003) | 7 lines



Kester's patch, for FreeBSD from,
 http://www.elysiun.com/forum/viewtopic.php?t=12096

Kent

------------------------------------------------------------------------
r887 | sirdude | 2003-06-12 21:06:32 +0200 (Thu, 12 Jun 2003) | 7 lines



Added @LIBM@  to each of the targets  (so it will add -lm when needed)
Hopefully this will fix bug #206...

Kent

------------------------------------------------------------------------
r886 | sirdude | 2003-06-12 20:25:56 +0200 (Thu, 12 Jun 2003) | 8 lines



Added some small comments on cygwin building under windows.
From this post...
http://projects.blender.org/viewcvs/viewcvs.cgi/blender/doc/README.windows-gcc?rev=1.3&cvsroot=bf-blender&content-type=text/vnd.viewcvs-markup

Kent

------------------------------------------------------------------------
r885 | ton | 2003-06-12 12:07:36 +0200 (Thu, 12 Jun 2003) | 5 lines

- Completely reorganized renderwin.c, added readable comments and removed
  confusing functions which were only used once.
  Part of examining how renderwindows get opened/closed, and to enable
  a third option for render output to ImageWindow in Blender

------------------------------------------------------------------------
r884 | ianwill | 2003-06-12 06:51:50 +0200 (Thu, 12 Jun 2003) | 9 lines


* Small changes in many files:
-  Trying to fix linking problems in OSX;
-  Making module .Get functions behave like the ones in Blender 2.25 - 2.27
   (Guignot pointed the incompatibility);
-  Included more types to Blender.Types;
-  Found by luck and corrected two bugs that were making Blender crash;
-  Added/updated some simple functions.

------------------------------------------------------------------------
r883 | aphex | 2003-06-11 22:26:35 +0200 (Wed, 11 Jun 2003) | 3 lines

A better method for finding the installation dir on Windows.
Now works properly for _all_ Windows versions!

------------------------------------------------------------------------
r882 | ton | 2003-06-11 21:38:35 +0200 (Wed, 11 Jun 2003) | 3 lines

- fixed timer-wait for tooltips. this annoyed me such a long time!
  now the tooltip waits 0.3 seconds before popping up.

------------------------------------------------------------------------
r881 | ton | 2003-06-11 17:43:20 +0200 (Wed, 11 Jun 2003) | 5 lines

- OSX bugfix: drawing selection code for vpaint and faceselect happens in AUX
  buffers now. It only works nice at OSX (tested, linux and windows do not
  support it nicely)
  This fixes the annoying flashing during paint or select

------------------------------------------------------------------------
r880 | ton | 2003-06-11 17:41:11 +0200 (Wed, 11 Jun 2003) | 2 lines

- Makefile: removed 'creator lib' compiling. only 'publisher lib' is used

------------------------------------------------------------------------
r879 | ton | 2003-06-11 17:40:25 +0200 (Wed, 11 Jun 2003) | 3 lines

- OSX bug: selecting vertices in imagewindow didnt draw in frontbuf visibly
  added a glFlush

------------------------------------------------------------------------
r878 | ton | 2003-06-11 17:11:59 +0200 (Wed, 11 Jun 2003) | 2 lines

- OSX ghost: hand cursor, and it creates an opengl context with AUX buffer

------------------------------------------------------------------------
r877 | ton | 2003-06-11 17:02:57 +0200 (Wed, 11 Jun 2003) | 5 lines

- cursors: now display a nice hand over the edges, and another arrow for
  vpaint/faceselect
- BUGFIX: restoring focus from renderwin to editor caused a click at the
  wrong location (annoying when pressing 'render'

------------------------------------------------------------------------
r876 | phase | 2003-06-10 23:07:56 +0200 (Tue, 10 Jun 2003) | 2 lines

enabled mousewheel functionality also in 3D textediting.

------------------------------------------------------------------------
r875 | ianwill | 2003-06-09 22:07:43 +0200 (Mon, 09 Jun 2003) | 3 lines


* Added 'extern' to PyTypeObject declarations in some headers.

------------------------------------------------------------------------
r874 | ianwill | 2003-06-09 06:35:24 +0200 (Mon, 09 Jun 2003) | 2 lines

small update to getAttr method

------------------------------------------------------------------------
r873 | ianwill | 2003-06-09 06:01:48 +0200 (Mon, 09 Jun 2003) | 10 lines


* Applied a small fix to a bug reported by Guignot:
    When a script that used setAttr for Camera Data objs (the bug also
    affected some other modules) was executed multiple times, Blender
    would crash after, let's say, the first 5 or 6 tries.  Problem, as
    Guignot pointed, was with reference counting.  Should be ok now, all
    affected modules were fixed.
* The Scene module is now "complete" (= 2.25).
* Made some necessary updates to Object and NMesh.

------------------------------------------------------------------------
r872 | phase | 2003-06-08 18:25:48 +0200 (Sun, 08 Jun 2003) | 2 lines

fixed a prob with background rendering, also spotted by intrr.

------------------------------------------------------------------------
r871 | ianwill | 2003-06-07 05:49:45 +0200 (Sat, 07 Jun 2003) | 6 lines


* Improved error checking in BPY_interface.c:
    Applied a fix suggested by Guignot
* Added part of Module Blender.Scene.
* Added doxygen comments to Camera.c .

------------------------------------------------------------------------
r870 | sgefant | 2003-06-06 13:55:16 +0200 (Fri, 06 Jun 2003) | 2 lines

readded IS_jpg() macro

------------------------------------------------------------------------
r869 | cmccad | 2003-06-06 05:21:39 +0200 (Fri, 06 Jun 2003) | 2 lines

Hopfully fixed the readability issue by using distributed group docs.

------------------------------------------------------------------------
r868 | aphex | 2003-06-05 20:36:27 +0200 (Thu, 05 Jun 2003) | 3 lines

Blender now correctly checks the current dir for /.blender/.Blanguages
on Windows

------------------------------------------------------------------------
r867 | ianwill | 2003-06-05 20:03:46 +0200 (Thu, 05 Jun 2003) | 6 lines


* Added two modules:
   Guignot contributed the Ipo and Metaball modules.  Metaball wasn't
   available in the 2.25 API, it's a new addition.
* Minor changes in other files.

------------------------------------------------------------------------
r866 | ianwill | 2003-06-05 18:21:44 +0200 (Thu, 05 Jun 2003) | 4 lines


*Minor updates:
    changed some function names and cleaned the Camera header file

------------------------------------------------------------------------
r865 | sirdude | 2003-06-05 17:24:47 +0200 (Thu, 05 Jun 2003) | 5 lines


Holger's update.

Kent

------------------------------------------------------------------------
r864 | aphex | 2003-06-04 23:22:57 +0200 (Wed, 04 Jun 2003) | 5 lines

Registering .blend files now works for Windows -- hopefully!

You will need to re-register the blend files (blender.exe -R)
for the fix to come into action.

------------------------------------------------------------------------
r863 | michel | 2003-06-04 22:18:29 +0200 (Wed, 04 Jun 2003) | 4 lines

* Made three functions static in the Object module.
* Updated the method struct for the Object module. It now terminates with a
  {0}.

------------------------------------------------------------------------
r862 | michel | 2003-06-04 20:59:19 +0200 (Wed, 04 Jun 2003) | 3 lines

* Fixed stupid compilation bug (non-gcc) in BGL. I did some initialization
  before variable declarations. ugh, gcc -Wall didn't complain.

------------------------------------------------------------------------
r861 | sirdude | 2003-06-03 21:09:03 +0200 (Tue, 03 Jun 2003) | 5 lines


holger's patch for visual-c ssl stuff.

Kent

------------------------------------------------------------------------
r860 | sirdude | 2003-06-03 17:40:46 +0200 (Tue, 03 Jun 2003) | 7 lines



Updated to compile with file Hos removed.  (Look I actually fixed something
this time instead of breaking it)  ;)

Kent

------------------------------------------------------------------------
r859 | hos | 2003-06-03 16:19:55 +0200 (Tue, 03 Jun 2003) | 3 lines

Removing this ssl-related file as it is no longer needed
and breaks the Irix build.

------------------------------------------------------------------------
r858 | cmccad | 2003-06-03 04:24:35 +0200 (Tue, 03 Jun 2003) | 3 lines

Enabled distributing group documentation, in order to make docs
cleaner.

------------------------------------------------------------------------
r857 | michel | 2003-06-02 22:15:50 +0200 (Mon, 02 Jun 2003) | 5 lines

* Fix compilation errors on Windows hopefully. Implemented the suggestion done
  by Aphex - thanks.
* Added the doc strings to the Object module.
* Added more functionality to the Object module.

------------------------------------------------------------------------
r856 | larstiq | 2003-06-01 18:35:13 +0200 (Sun, 01 Jun 2003) | 4 lines

- Update the instructions on how to get the latest released source tarball

(testing new commit list)

------------------------------------------------------------------------
r855 | intrr | 2003-05-31 17:44:58 +0200 (Sat, 31 May 2003) | 5 lines



Fixes a memory leak which caused Blender to hog up more and more memory
when rendering long animations.

------------------------------------------------------------------------
r854 | ianwill | 2003-05-31 06:43:10 +0200 (Sat, 31 May 2003) | 6 lines


* Updated NMesh port to exppython:
    Added material and image handling/hooks and the constant dictionaries.
    Changed Image.h and Material.h to only have public declarations, so
    NMesh could include them.

------------------------------------------------------------------------
r853 | sirdude | 2003-05-30 21:00:12 +0200 (Fri, 30 May 2003) | 8 lines



Patch submitted by Martin Renold (maxy)
To complain on a certain error he was getting with a blend file.
See http://projects.blender.org/tracker/index.php?func=detail&aid=230&group_id=9&atid=127 for more info...

Kent

------------------------------------------------------------------------
r852 | hos | 2003-05-30 19:39:32 +0200 (Fri, 30 May 2003) | 3 lines

Oops, looks like msgfmt comes in the gettext-devel package.
Updated the docs to reflect this.

------------------------------------------------------------------------
r851 | hos | 2003-05-30 17:50:09 +0200 (Fri, 30 May 2003) | 3 lines

Updated the docs for building blender using cygwin/gcc.
Thanks for the input Pjotr!

------------------------------------------------------------------------
r850 | sirdude | 2003-05-30 17:06:54 +0200 (Fri, 30 May 2003) | 18 lines


This is a fun one ;)
Removes ssl from blender.
makes the following directorys not needed anymore:
blender/intern/keymaker
blender/source/blender/src/pub
blender/source/blender/encrypt
blender/source/blender/decrypt
blender/source/blender/sign
blender/source/blender/verify

It works with The Nan Makefiles and autoconf, could whoever is working
on the other build systems update them so we can nuke those directorys?
They won't do anything but I figured I'd leave them in for a week or so
to make things easyer on people.

Kent

------------------------------------------------------------------------
r849 | ton | 2003-05-30 12:38:00 +0200 (Fri, 30 May 2003) | 2 lines

- fixed typo, a : should be ;

------------------------------------------------------------------------
r848 | cmccad | 2003-05-30 03:50:46 +0200 (Fri, 30 May 2003) | 3 lines

Added more docs, mostly header stuff, but some real docs in
IMB_imbuf_types.h and amiga.c

------------------------------------------------------------------------
r847 | cmccad | 2003-05-30 03:48:17 +0200 (Fri, 30 May 2003) | 2 lines

Added some input files and turned the INTERNAL_DOCS option on.

------------------------------------------------------------------------
r846 | sirdude | 2003-05-29 22:49:11 +0200 (Thu, 29 May 2003) | 6 lines



Moved release_log.txt to doc/oldbugs.txt

Kent

------------------------------------------------------------------------
r845 | hos | 2003-05-29 18:29:57 +0200 (Thu, 29 May 2003) | 3 lines

Support for the experimental python stuff in the traditional
Makefiles (set EXPYTHON=true in user-def.mk).

------------------------------------------------------------------------
r844 | sirdude | 2003-05-29 16:18:48 +0200 (Thu, 29 May 2003) | 6 lines



Added Jan's Notes on NetBSD/pkgsrc building the source...

Kent

------------------------------------------------------------------------
r843 | sirdude | 2003-05-29 16:12:11 +0200 (Thu, 29 May 2003) | 9 lines



Jan's other patch.  This actually affects all platforms and was a good
catch.
(Two lines call python one was calling $PYTHON the other python.
Now they both call $PYTHON)

Kent

------------------------------------------------------------------------
r842 | sirdude | 2003-05-29 16:09:25 +0200 (Thu, 29 May 2003) | 6 lines



One of Jan's patches for NetBSD.

Kent

------------------------------------------------------------------------
r841 | ianwill | 2003-05-29 06:00:35 +0200 (Thu, 29 May 2003) | 9 lines


* Module Curve updated:
    Jacques Guignot (guignot) sent updated files for his Curve module.
* Module Armature (and its submodule Bone) added:
    Jordi Rovira i Bonet (bandoler) contributed both modules, which
    are NEW additions to Blender Python, not available in Blender 2.27.
* Added function to NMesh.c:
    Jordi again.  He added the function NMesh_getVertexInfluence().

------------------------------------------------------------------------
r840 | ton | 2003-05-28 17:02:09 +0200 (Wed, 28 May 2003) | 2 lines

OSX app name now is Blender with a capital Bee!

------------------------------------------------------------------------
r839 | sirdude | 2003-05-28 12:41:30 +0200 (Wed, 28 May 2003) | 6 lines



Michael Velikanje's patch to renable Sphereical UV mapping.

Kent

------------------------------------------------------------------------
r838 | ianwill | 2003-05-28 06:36:18 +0200 (Wed, 28 May 2003) | 5 lines

* Added submodule Blender.Material
* Added submodule Blender.Types:
    Blender Type definitions can't be static anymore.
* Some cleanup of now unused defines in Camera.h and Lamp.h

------------------------------------------------------------------------
r837 | hos | 2003-05-28 04:17:26 +0200 (Wed, 28 May 2003) | 4 lines

Added a debug target to the Makefile in the
dlltool directory (thanks for the heads-up,
Florian!)

------------------------------------------------------------------------
r836 | cmccad | 2003-05-27 00:53:16 +0200 (Tue, 27 May 2003) | 2 lines

Added cgul's comments.

------------------------------------------------------------------------
r835 | cmccad | 2003-05-26 21:20:56 +0200 (Mon, 26 May 2003) | 2 lines

Added docs/formatted existing docs for doxygen.

------------------------------------------------------------------------
r834 | cmccad | 2003-05-26 21:16:30 +0200 (Mon, 26 May 2003) | 4 lines

Turned on the EXTRACT_STATIC flag and added BUILD_DATE to
the PREDEFINED variables.  The generated docs will now show
documented static functions, and show the variables in buildinfo.c

------------------------------------------------------------------------
r833 | ton | 2003-05-26 16:17:26 +0200 (Mon, 26 May 2003) | 2 lines

updated comment for osx compiling

------------------------------------------------------------------------
r831 | phase | 2003-05-26 14:43:47 +0200 (Mon, 26 May 2003) | 2 lines

modified to load fonts correctly.

------------------------------------------------------------------------
r829 | phase | 2003-05-26 13:31:24 +0200 (Mon, 26 May 2003) | 2 lines

removed a mousecoords printf message

------------------------------------------------------------------------
r828 | cmccad | 2003-05-26 07:24:53 +0200 (Mon, 26 May 2003) | 2 lines

Documentation commit.

------------------------------------------------------------------------
r827 | ton | 2003-05-25 14:51:43 +0200 (Sun, 25 May 2003) | 5 lines

Changed cursor type for moving window edges in OSX into a 'grasping hand'.
For some real idiot reason, osx only has the left-right arrow cursor builtin, and not an up-down arrowed one. The little hand cursor seems to be used in other apps, so let's stick with that!

-Ton-

------------------------------------------------------------------------
r826 | hos | 2003-05-25 07:22:46 +0200 (Sun, 25 May 2003) | 2 lines

Some tweaks to make the windows-gcc play nice with irix.

------------------------------------------------------------------------
r825 | cmccad | 2003-05-24 22:49:29 +0200 (Sat, 24 May 2003) | 2 lines

Modified existing docs to integrate with new docs.

------------------------------------------------------------------------
r824 | cmccad | 2003-05-24 22:48:29 +0200 (Sat, 24 May 2003) | 2 lines

Added ghost and imbuf to mainpage.

------------------------------------------------------------------------
r823 | cmccad | 2003-05-24 22:42:56 +0200 (Sat, 24 May 2003) | 4 lines

Added ghost, imbuf, and some src files to input, and switched on the
SOURCE_BROWSER flag to make the source code available in HTML
format.

------------------------------------------------------------------------
r822 | hos | 2003-05-24 22:04:37 +0200 (Sat, 24 May 2003) | 19 lines

Support for building bf-blender under windows with gcc (huge thanks to
Florian Eggenburger).

Full instructions are in doc/README.windows-gcc.

Main differences from Florian's patch:

- the 'lib' dir should now be the same level as the 'blender' dir (rather
than being a subdir of 'blender'). This is consistent with the other
platforms that bf-blender supports (tuhopuu will also adopt this convention
hopefully soon).

- the script 'free_windows-env.mk' is no longer needed ... see the
docs about how this is overcome (again, tuhopuu will hopefully
also follow this route soon).

- the dlltool dir has it's own Makefile that builds all of the
needed stub libraries from the dll's in cvs.

------------------------------------------------------------------------
r821 | hos | 2003-05-24 19:22:18 +0200 (Sat, 24 May 2003) | 4 lines

Use of a (not included in cvs) file called user-def.mk to override the
build variables ... basically a way to override the build
defaults with less risk of a cvs conflict.

------------------------------------------------------------------------
r820 | cmccad | 2003-05-24 18:53:40 +0200 (Sat, 24 May 2003) | 2 lines

Last of cgul's documentation submissions.

------------------------------------------------------------------------
r819 | michel | 2003-05-24 17:16:26 +0200 (Sat, 24 May 2003) | 2 lines

* Fix compiler warning. Struct QuicktimeCodecData had to be declared.

------------------------------------------------------------------------
r818 | cmccad | 2003-05-24 02:41:27 +0200 (Sat, 24 May 2003) | 2 lines

Added  group defaultconfig to group mainmodule.

------------------------------------------------------------------------
r817 | cmccad | 2003-05-24 02:38:31 +0200 (Sat, 24 May 2003) | 2 lines

Comments submitted by: cgul

------------------------------------------------------------------------
r816 | cmccad | 2003-05-24 02:10:39 +0200 (Sat, 24 May 2003) | 3 lines

This is the initial commit for the doxygen config file and the file which
defines the blender blender mainpage and the major module groups.

------------------------------------------------------------------------
r815 | ianwill | 2003-05-23 06:37:33 +0200 (Fri, 23 May 2003) | 2 lines

bug fix: sigsegv when script had syntax errors

------------------------------------------------------------------------
r814 | ianwill | 2003-05-23 06:34:55 +0200 (Fri, 23 May 2003) | 6 lines

* Fixed bug in BPY_interface.c (exppython):
    Found that syntax errors in scripts were giving SIGSEGV, my mistake.
* Added new helper type: rgbTuple.
    This is used to represent and deal with rgb color triplets in modules
    like Material and Lamp.  Updated Lamp module to use it.

------------------------------------------------------------------------
r813 | cmccad | 2003-05-23 02:38:54 +0200 (Fri, 23 May 2003) | 2 lines

First documentation commit :)

------------------------------------------------------------------------
r812 | aphex | 2003-05-22 20:17:22 +0200 (Thu, 22 May 2003) | 2 lines

removed the unnecessary #include.

------------------------------------------------------------------------
r811 | aphex | 2003-05-22 20:06:25 +0200 (Thu, 22 May 2003) | 3 lines

- fixed 'double-click on blend file' errors on Windows -- INTERNATIONAL stuff now also checks the installation directory for /.blender, etc
- registering .blend files for WinNT/2000/XP now works correctly (settings remain after a reboot).

------------------------------------------------------------------------
r810 | sirdude | 2003-05-22 19:16:41 +0200 (Thu, 22 May 2003) | 13 lines



Stage two of removing ssl support.
I've modified things so it nolonger uses the stuff in
blender/source/blender/verify
This should be working for both the old Makefiles and the autoconf stuff.
People working with other build systems please update them,
both blender/source/blender/verify and sign will be going away soon.

(Next step is to get rid of blender/intern/keymaker)

Kent

------------------------------------------------------------------------
r809 | sirdude | 2003-05-22 13:11:56 +0200 (Thu, 22 May 2003) | 7 lines



Moved the MAX section up so its with MAXFLOAT
also cleaned up some tabbing to make the file look pretty...

Kent

------------------------------------------------------------------------
r808 | phase | 2003-05-21 23:42:36 +0200 (Wed, 21 May 2003) | 2 lines

fixed a memory deallocation error.

------------------------------------------------------------------------
r807 | ianwill | 2003-05-21 21:58:31 +0200 (Wed, 21 May 2003) | 5 lines


Implemented the compare callback for Camera, Image, Lamp and Text types:
    Following a suggestion made by Jordi Rovira i Bonet, the comparison
    now is made via the pointers to the Blender objects, not their py wrappers.

------------------------------------------------------------------------
r806 | michel | 2003-05-21 21:54:19 +0200 (Wed, 21 May 2003) | 3 lines

* Implemented more of the Object module.
* Keep a Python Object reference for parent and track objects when available.

------------------------------------------------------------------------
r805 | sirdude | 2003-05-21 20:59:42 +0200 (Wed, 21 May 2003) | 13 lines



Moved the misc txt files into the doc dir...
I wasn't sure maybe the two license files should be put in the root dir
instead....

I also reformated the bf-members.txt file a little to nuke extra spaces and
newlines (as well as updated my entry to include my name instead of just
sirdude... It looks like there are some special chars in it that someone
should fixup, not sure what they are suppose to be though)

Kent

------------------------------------------------------------------------
r804 | sirdude | 2003-05-21 17:55:00 +0200 (Wed, 21 May 2003) | 12 lines



Jeroen Lamain's edgeRender patch....
Removes floating point calculations and fixes some rounding errors
too boot.

I created a test program so you can see the differences if anyone is
interested you can grab it from
http://www.cs.umn.edu/~mein/blender/testedge.c

Kent

------------------------------------------------------------------------
r803 | phase | 2003-05-21 04:26:45 +0200 (Wed, 21 May 2003) | 2 lines

fixed dialog framerate.

------------------------------------------------------------------------
r802 | phase | 2003-05-21 03:21:07 +0200 (Wed, 21 May 2003) | 9 lines

Updated Quicktime code so settings can be stored in the blendfile.

This enables Blender to;
- have scenes with different codec settings. (same as avicodec)
- render directly without dialog.
- batch/background render to Quicktime movies.

Only tested on windows. ;)

------------------------------------------------------------------------
r801 | michel | 2003-05-20 21:02:09 +0200 (Tue, 20 May 2003) | 8 lines

* Fixed a bug in Object.getSelected(). All the objects were returned in stead
  of just the selected object(s). This bug was pointed out by
  Jacek Poplawski.
* If there's already a PyObject of a certain object available, then don't
  create a new one, just return the specified object.
* Updated the Object_getData function to return correct objects. So far it can
  return objects of type Camera, Curve, Lamp and Object.

------------------------------------------------------------------------
r800 | sirdude | 2003-05-20 19:13:39 +0200 (Tue, 20 May 2003) | 11 lines



First step in removing ssl support...

I removed the source/blender/sign dir from both autoconf and the
old makefiles.
If someone could update the projectfiles and the other build systems
then we can nuke that directory.

Kent

------------------------------------------------------------------------
r799 | sirdude | 2003-05-20 19:09:55 +0200 (Tue, 20 May 2003) | 9 lines



Slightly Modified version of Kester Maddock's Lamps patch to up the
max from 256 to 32766.

I removed the duplicate define and updated the files that needed it.

Kent

------------------------------------------------------------------------
r798 | sirdude | 2003-05-20 17:34:23 +0200 (Tue, 20 May 2003) | 5 lines



Kester Maddock's valgrind memory issue patch.
(initalizes a var to 0 before its used for the first time)

------------------------------------------------------------------------
r797 | jesterking | 2003-05-20 13:29:01 +0200 (Tue, 20 May 2003) | 2 lines

removed redundant solution file (moved to blender directory)

------------------------------------------------------------------------
r796 | jesterking | 2003-05-20 13:28:02 +0200 (Tue, 20 May 2003) | 2 lines

updated paths for two subprojects.

------------------------------------------------------------------------
r795 | jesterking | 2003-05-20 13:21:17 +0200 (Tue, 20 May 2003) | 2 lines

updated include directories. Using msvc7 projectfile macros.

------------------------------------------------------------------------
r794 | jesterking | 2003-05-20 13:10:46 +0200 (Tue, 20 May 2003) | 2 lines

moved one dir up.

------------------------------------------------------------------------
r793 | jesterking | 2003-05-20 13:09:40 +0200 (Tue, 20 May 2003) | 2 lines

move it one dir up.

------------------------------------------------------------------------
r792 | jesterking | 2003-05-20 13:02:32 +0200 (Tue, 20 May 2003) | 4 lines

updated msvc7 project files and solution file. Updated to reflect new include directories. Added WITH_QUICKTIME, WITH_FREETYPE2 and INTERNATIONAL to the subprojects that needed them.

created FTF_ttfont and blenderqt.

------------------------------------------------------------------------
r791 | ianwill | 2003-05-20 05:56:41 +0200 (Tue, 20 May 2003) | 5 lines


* Implemented the 3 functions needed by the Object module:
    For  Camera and Lamp
* Minor updates, NMesh is not finished yet.

------------------------------------------------------------------------
r790 | ianwill | 2003-05-20 05:53:30 +0200 (Tue, 20 May 2003) | 2 lines

Guignot implemented 3 functions needed by the Object Module

------------------------------------------------------------------------
r789 | jesterking | 2003-05-19 14:48:37 +0200 (Mon, 19 May 2003) | 2 lines

MSVC7 Solution file. The main entry for MSVC7. Project files will follow shortly.

------------------------------------------------------------------------
r788 | ianwill | 2003-05-19 06:53:39 +0200 (Mon, 19 May 2003) | 2 lines

simple outline for newbie Blender Python developers

------------------------------------------------------------------------
r787 | michel | 2003-05-17 15:46:15 +0200 (Sat, 17 May 2003) | 6 lines

* Updated the naming convention for some functions. I forgot those the last
  time.
* Created the M_ObjectCheckPyObject and M_ObjectFromPyObject functions. These
  are needed for interfacing to other modules.
* The Object methods have been created. Not all of them are implemented yet.

------------------------------------------------------------------------
r786 | ianwill | 2003-05-17 09:08:08 +0200 (Sat, 17 May 2003) | 4 lines

* Added Blender.Curve submodule, written by Jacques Guignot (guignot):
    Jacques contributed a new module to exppython, one that isn't available
    in the current 2.27 API.  Welcome, guignot : ).

------------------------------------------------------------------------
r785 | ianwill | 2003-05-17 06:29:49 +0200 (Sat, 17 May 2003) | 6 lines

* Added submodule NMesh:
    Partially implemented.  Most of it comes from opy_nmesh.c, plus needed
    changes to integrate in into exppython.
* Added helper submodule vector, needed by NMesh.
* Minor changes in other files.

------------------------------------------------------------------------
r784 | phase | 2003-05-16 16:31:31 +0200 (Fri, 16 May 2003) | 2 lines

Fixed nasty issue when aborting Quicktime rendering.

------------------------------------------------------------------------
r783 | phase | 2003-05-16 14:48:38 +0200 (Fri, 16 May 2003) | 5 lines

reverted to 2.27 original fontcoloring method
reverted to patched ftgl library.

speed improvements were not really noticable.

------------------------------------------------------------------------
r781 | phase | 2003-05-15 19:01:00 +0200 (Thu, 15 May 2003) | 11 lines

Seeing all comments on the interface slowdown, I decided to try a different
approach for the coloring of interface texts. Currently two seperate fonts get
generated, one black and one white, which eliminates the glPixelTransfer
command. (which assumably caused the huge slowdowns)

Please try, and post your experiences on the interface drawing speed.
NOTE: for this new method you need the *unmodified* FTGL library:
http://homepages.paradise.net.nz/henryj/code/#FTGL

Apologies on any inconveniences...

------------------------------------------------------------------------
r780 | larstiq | 2003-05-14 22:25:40 +0200 (Wed, 14 May 2003) | 2 lines

- Copy the font and .Blanguages into the end result

------------------------------------------------------------------------
r779 | aphex | 2003-05-14 20:36:48 +0200 (Wed, 14 May 2003) | 2 lines

updated release makefiles and self installer script for windows

------------------------------------------------------------------------
r778 | larstiq | 2003-05-14 17:04:27 +0200 (Wed, 14 May 2003) | 4 lines

- Remove duplicates from po files
- Provide debug target
- Run msgfmt on all but fi.po

------------------------------------------------------------------------
r777 | hos | 2003-05-14 15:47:36 +0200 (Wed, 14 May 2003) | 2 lines

Irix doesn't like 'cp -a' for recursive copying

------------------------------------------------------------------------
r776 | phase | 2003-05-14 15:43:53 +0200 (Wed, 14 May 2003) | 2 lines

added the mergemenu to the featurelist.

------------------------------------------------------------------------
r775 | ton | 2003-05-14 15:25:47 +0200 (Wed, 14 May 2003) | 3 lines

- updated iff.h, for compatibility with blender itself
this fixes zbuffer reading for plugins again

------------------------------------------------------------------------
r774 | ton | 2003-05-14 15:24:49 +0200 (Wed, 14 May 2003) | 2 lines

just translated imbuf struct

------------------------------------------------------------------------
r773 | larstiq | 2003-05-14 15:15:09 +0200 (Wed, 14 May 2003) | 3 lines

Awaiting phase's reworked it.po, remove non-translatable strings that were
fatally erroring out the build.

------------------------------------------------------------------------
r772 | phase | 2003-05-14 12:01:36 +0200 (Wed, 14 May 2003) | 3 lines

doubled the size of the string to be translated, which fixes
the italian mo crash.

------------------------------------------------------------------------
r771 | sgefant | 2003-05-14 02:23:58 +0200 (Wed, 14 May 2003) | 3 lines

don't crash when adding an object after the previously selected object
has been deleted (thanks to Bischofftep for pointing this out)

------------------------------------------------------------------------
r770 | sgefant | 2003-05-14 00:41:39 +0200 (Wed, 14 May 2003) | 2 lines

.mo files were created in the wrong directory on os x (d'oh!)

------------------------------------------------------------------------
r769 | larstiq | 2003-05-14 00:08:07 +0200 (Wed, 14 May 2003) | 2 lines

- Document the GL context fix to GHOST

------------------------------------------------------------------------
r768 | sgefant | 2003-05-14 00:00:44 +0200 (Wed, 14 May 2003) | 2 lines

use $(NANBLENDERHOME) instead of ../..

------------------------------------------------------------------------
r767 | phase | 2003-05-13 22:50:12 +0200 (Tue, 13 May 2003) | 2 lines

added the italian blender.mo.

------------------------------------------------------------------------
r766 | larstiq | 2003-05-13 22:26:39 +0200 (Tue, 13 May 2003) | 2 lines

- More complete Italian translation, completely utf-8, one header :)

------------------------------------------------------------------------
r765 | sirdude | 2003-05-13 21:45:57 +0200 (Tue, 13 May 2003) | 7 lines




Added some comments on FTGL

Kent

------------------------------------------------------------------------
r764 | sgefant | 2003-05-13 16:52:51 +0200 (Tue, 13 May 2003) | 3 lines

revert to previous version, as starting blender maximized on os x doesn't
seem to be ready for prime time yet

------------------------------------------------------------------------
r763 | phase | 2003-05-13 16:22:28 +0200 (Tue, 13 May 2003) | 3 lines

fixed some more screenupdate issues and eliminated a crash
when trying tio shear/warp not visible objects. (thanks Matt)

------------------------------------------------------------------------
r762 | phase | 2003-05-13 15:53:36 +0200 (Tue, 13 May 2003) | 2 lines

added Dutch and Catalan preliminary translations.

------------------------------------------------------------------------
r761 | sgefant | 2003-05-13 15:50:24 +0200 (Tue, 13 May 2003) | 2 lines

updated blender icon for os x

------------------------------------------------------------------------
r760 | phase | 2003-05-13 15:20:45 +0200 (Tue, 13 May 2003) | 2 lines

revised. seems plugins don't work on OSX.

------------------------------------------------------------------------
r759 | phase | 2003-05-13 15:10:38 +0200 (Tue, 13 May 2003) | 2 lines

added hotkey info.

------------------------------------------------------------------------
r758 | larstiq | 2003-05-13 14:56:29 +0200 (Tue, 13 May 2003) | 7 lines

The previous version of fi.po had mixed encodings in one file.
Thanks to Nathan Letwory for brining it back to valid Finnish again.

Note to all translators: when you cvs update and start translating again,
take care to work in only 1 encoding. So either recode to your native
encoding before translating, or set your editor to UTF-8.

------------------------------------------------------------------------
r757 | sgefant | 2003-05-13 14:14:52 +0200 (Tue, 13 May 2003) | 2 lines

maximize blender window on startup on os x

------------------------------------------------------------------------
r756 | sgefant | 2003-05-13 13:30:22 +0200 (Tue, 13 May 2003) | 2 lines

create .po files in the application bundle on os x

------------------------------------------------------------------------
r755 | sgefant | 2003-05-13 13:29:25 +0200 (Tue, 13 May 2003) | 3 lines

don't copy the .blender dir to $DISTDIR on OS X, as it's contents is
already in the application bundle

------------------------------------------------------------------------
r754 | phase | 2003-05-13 12:52:55 +0200 (Tue, 13 May 2003) | 2 lines

updated again.

------------------------------------------------------------------------
r753 | phase | 2003-05-13 12:34:33 +0200 (Tue, 13 May 2003) | 2 lines

fixed minor text color issue.

------------------------------------------------------------------------
r752 | larstiq | 2003-05-13 12:31:25 +0200 (Tue, 13 May 2003) | 2 lines

- Add po/ to the list of subdirs.

------------------------------------------------------------------------
r751 | larstiq | 2003-05-13 12:28:52 +0200 (Tue, 13 May 2003) | 4 lines

- Preliminary makefile that just calls msgfmt on po files

Start with the italian translation (least buggy)

------------------------------------------------------------------------
r750 | larstiq | 2003-05-13 12:08:43 +0200 (Tue, 13 May 2003) | 2 lines

Copy the .blender directory into DESTDIR for bundling up with release.

------------------------------------------------------------------------
r749 | phase | 2003-05-13 11:28:39 +0200 (Tue, 13 May 2003) | 2 lines

moved BKE_utildefines behind __APPLE__ #ifdef.

------------------------------------------------------------------------
r748 | hos | 2003-05-13 05:30:26 +0200 (Tue, 13 May 2003) | 4 lines

Static linking of freetype, libintl from sgi freeware for irix
and made WITH_FREETYPE2 independent of INTERNATIONAL (please
test).

------------------------------------------------------------------------
r747 | ianwill | 2003-05-13 03:56:48 +0200 (Tue, 13 May 2003) | 2 lines

forgot these, implemented some missing functions

------------------------------------------------------------------------
r746 | ianwill | 2003-05-13 03:54:28 +0200 (Tue, 13 May 2003) | 11 lines

* Added 3 missing functions, 2 of them called by blender/src/drawtext.c:
    Callbacks registered with Draw.Register in Python are called now.
    That should fix submodule Blender.Draw.
* Added a few other missing functions to BPY_interface.c
* Finished implementing Get() function for Camera, Lamp, Image and Text:
    Both the .Get(name) and .Get() cases are handled now.
* Added function Blender.ReleaseGlobalDict():
    This function should give script writers control over whether the
    global Python Interpreter Dict should be cleared after the script is
    run (default is to clear).  This is a test.

------------------------------------------------------------------------
r745 | phase | 2003-05-13 01:21:19 +0200 (Tue, 13 May 2003) | 2 lines

updated.

------------------------------------------------------------------------
r744 | sgefant | 2003-05-12 20:12:25 +0200 (Mon, 12 May 2003) | 3 lines

store locales, .Blanguage, and .bfont.ttf inside of Resources folder of
application bundle on OS X

------------------------------------------------------------------------
r743 | sgefant | 2003-05-12 19:13:12 +0200 (Mon, 12 May 2003) | 2 lines

moved #include <sys/param.h> inside #ifdef __APPLE__

------------------------------------------------------------------------
r742 | phase | 2003-05-12 18:37:48 +0200 (Mon, 12 May 2003) | 2 lines

leftovers removed. could someone *please* remove the bin/message dir and the bin/po dir ?

------------------------------------------------------------------------
r741 | phase | 2003-05-12 18:33:19 +0200 (Mon, 12 May 2003) | 2 lines

removed obsolete files

------------------------------------------------------------------------
r740 | phase | 2003-05-12 18:25:57 +0200 (Mon, 12 May 2003) | 2 lines

all suitable .po translation files added.

------------------------------------------------------------------------
r739 | phase | 2003-05-12 18:17:00 +0200 (Mon, 12 May 2003) | 2 lines

added French and Spanish preliminary translations.

------------------------------------------------------------------------
r738 | phase | 2003-05-12 17:52:57 +0200 (Mon, 12 May 2003) | 2 lines

added .blenderdir/locale and preliminary translations.

------------------------------------------------------------------------
r737 | sgefant | 2003-05-12 16:59:08 +0200 (Mon, 12 May 2003) | 2 lines

added function to get the full path to the application bundle on os x

------------------------------------------------------------------------
r736 | phase | 2003-05-12 16:23:03 +0200 (Mon, 12 May 2003) | 4 lines

modified so .Blanguages and .bfont get loaded from .blender dir.
the path to the selected ui font gets stored in the U.fontdir userprefs.
fixed a fullscreen thingie for windows.

------------------------------------------------------------------------
r735 | larstiq | 2003-05-12 10:57:55 +0200 (Mon, 12 May 2003) | 5 lines

- Destroy the glx context _before_ the X window.

Fixes long standing crash for several DRI drivers.
Thanks to Jacek Popławski for hunting this bug down and supplying the patch.

------------------------------------------------------------------------
r734 | sgefant | 2003-05-12 09:48:18 +0200 (Mon, 12 May 2003) | 2 lines

added some more include paths to CPPFLAGS...

------------------------------------------------------------------------
r733 | sgefant | 2003-05-12 09:41:05 +0200 (Mon, 12 May 2003) | 2 lines

added -I../../blenlib to CPPFLAGS

------------------------------------------------------------------------
r732 | phase | 2003-05-12 04:49:29 +0200 (Mon, 12 May 2003) | 2 lines

added routine that checks for LOCALE/message directory.

------------------------------------------------------------------------
r731 | phase | 2003-05-12 01:28:32 +0200 (Mon, 12 May 2003) | 7 lines

modified userprefs layout.
modified linenumber display.

for Win32:
added display of framenumber in titlebar of animwindow.
added userpref that enables all codecs for rendering.

------------------------------------------------------------------------
r730 | hos | 2003-05-12 00:57:14 +0200 (Mon, 12 May 2003) | 2 lines

"Animation Mixer" is now "NLA Editor"

------------------------------------------------------------------------
r729 | aphex | 2003-05-11 22:58:41 +0200 (Sun, 11 May 2003) | 2 lines

cygwin build now uses Matt Ebb's new blender icon

------------------------------------------------------------------------
r728 | aphex | 2003-05-11 20:17:00 +0200 (Sun, 11 May 2003) | 2 lines

cygwin build now links with freetype2ST.lib

------------------------------------------------------------------------
r727 | phase | 2003-05-11 19:44:05 +0200 (Sun, 11 May 2003) | 2 lines

modified to load the new .bfont.ttf correct

------------------------------------------------------------------------
r726 | aphex | 2003-05-11 19:41:58 +0200 (Sun, 11 May 2003) | 2 lines

Blender now links with freetype2ST.lib (MSVC 6)

------------------------------------------------------------------------
r725 | aphex | 2003-05-11 19:31:18 +0200 (Sun, 11 May 2003) | 2 lines

renaming vera.ttf to .bfont.ttf (Part 2) :)

------------------------------------------------------------------------
r723 | aphex | 2003-05-11 19:27:37 +0200 (Sun, 11 May 2003) | 2 lines

renaming vera.ttf to .bfont.ttf

------------------------------------------------------------------------
r722 | sgefant | 2003-05-11 19:07:13 +0200 (Sun, 11 May 2003) | 2 lines

changed default location of gettext libs on OS X

------------------------------------------------------------------------
r720 | sgefant | 2003-05-11 18:54:01 +0200 (Sun, 11 May 2003) | 2 lines

disable INTERNATIONAL and WITH_FREETYPE2 on FreeBSD

------------------------------------------------------------------------
r719 | phase | 2003-05-11 18:48:55 +0200 (Sun, 11 May 2003) | 2 lines

(win32) you can now safely cancel the avicodec dialog

------------------------------------------------------------------------
r718 | phase | 2003-05-11 17:44:23 +0200 (Sun, 11 May 2003) | 3 lines

fixed a (wn32 avi) codec issue when adding an Empty scene.
added ttc and otc to the list of font extensions.

------------------------------------------------------------------------
r717 | larstiq | 2003-05-11 16:29:16 +0200 (Sun, 11 May 2003) | 2 lines

- Removed requests to mail reevan@blender.nl

------------------------------------------------------------------------
r716 | phase | 2003-05-11 16:10:37 +0200 (Sun, 11 May 2003) | 4 lines

applied Matt Ebb's patch for the infoeditmenu:
"This patch checks what type of object is selected first and gives an error
message rather than crashing."

------------------------------------------------------------------------
r713 | hos | 2003-05-11 02:27:23 +0200 (Sun, 11 May 2003) | 3 lines

FTGL support for irix (I would like to say international and truetype
text object support, but I can't test too much until Monday).

------------------------------------------------------------------------
r711 | sgefant | 2003-05-10 18:35:28 +0200 (Sat, 10 May 2003) | 4 lines

enable truetype fonts for text objects when building with the original
Makefiles. Platform manages should check nan_definitions.mk and set
INTERNATIONAL to true for their platforms.

------------------------------------------------------------------------
r710 | hos | 2003-05-10 18:25:23 +0200 (Sat, 10 May 2003) | 2 lines

Some modifications to get cygwin/msvc compiling/linking

------------------------------------------------------------------------
r709 | larstiq | 2003-05-10 16:29:25 +0200 (Sat, 10 May 2003) | 4 lines

- Provide upstream urls for the i18n work (gettext, freetyp2 and FTGL)
- Explain not all translations are done yet in the release
- List the needed patch for FTGL to get uniformly coloured glyphs

------------------------------------------------------------------------
r708 | sgefant | 2003-05-10 15:19:23 +0200 (Sat, 10 May 2003) | 2 lines

don't link against libiconv on os x

------------------------------------------------------------------------
r707 | phase | 2003-05-10 14:22:26 +0200 (Sat, 10 May 2003) | 3 lines

added Goofster's mergemenu to the alt-w menu.
revised by Matt Ebb

------------------------------------------------------------------------
r706 | phase | 2003-05-10 13:25:52 +0200 (Sat, 10 May 2003) | 2 lines

made Blender 2.27 startup with aa fonts on by default.

------------------------------------------------------------------------
r705 | phase | 2003-05-10 13:24:37 +0200 (Sat, 10 May 2003) | 2 lines

added GNU font Vera.ttf as default font.

------------------------------------------------------------------------
r704 | ton | 2003-05-10 12:37:43 +0200 (Sat, 10 May 2003) | 2 lines

- release now is called 2.27

------------------------------------------------------------------------
r703 | phase | 2003-05-10 12:36:14 +0200 (Sat, 10 May 2003) | 2 lines

added Matt Ebb's new windowtype button

------------------------------------------------------------------------
r702 | ton | 2003-05-10 12:35:06 +0200 (Sat, 10 May 2003) | 2 lines

- added text file with 2.27 release notes

------------------------------------------------------------------------
r701 | ton | 2003-05-10 12:07:07 +0200 (Sat, 10 May 2003) | 3 lines

updated version to 2.27.
Just compile blendkernel/intern/blender.c at least

------------------------------------------------------------------------
r700 | sgefant | 2003-05-09 22:20:40 +0200 (Fri, 09 May 2003) | 5 lines

store message catalogs in Resources folder of the application bundle on OS
X. Opening a file selector is no longer needed in order to switch the
language for the first time; apparently gettext wasn't too happy about
relative paths.

------------------------------------------------------------------------
r699 | phase | 2003-05-09 16:03:34 +0200 (Fri, 09 May 2003) | 2 lines

added Matt Ebb's icons for the new headerbuttons.

------------------------------------------------------------------------
r698 | phase | 2003-05-09 15:07:41 +0200 (Fri, 09 May 2003) | 2 lines

replaced depricated p2cstr with CopyPascalStringToC for OSX.

------------------------------------------------------------------------
r697 | phase | 2003-05-09 15:05:16 +0200 (Fri, 09 May 2003) | 2 lines

minor fix

------------------------------------------------------------------------
r696 | phase | 2003-05-09 14:56:55 +0200 (Fri, 09 May 2003) | 2 lines

Oops, forgot to put the codecname label behind ifdefs.

------------------------------------------------------------------------
r695 | phase | 2003-05-09 14:48:21 +0200 (Fri, 09 May 2003) | 2 lines

cleaned up language support for a release.

------------------------------------------------------------------------
r694 | phase | 2003-05-09 14:45:59 +0200 (Fri, 09 May 2003) | 2 lines

minor code cleanups

------------------------------------------------------------------------
r693 | phase | 2003-05-09 13:39:37 +0200 (Fri, 09 May 2003) | 2 lines

modified tooltip heights

------------------------------------------------------------------------
r692 | phase | 2003-05-09 13:24:55 +0200 (Fri, 09 May 2003) | 2 lines

added a labelbutton that displays the selected avi/quicktime codec.

------------------------------------------------------------------------
r691 | ianwill | 2003-05-09 06:34:40 +0200 (Fri, 09 May 2003) | 3 lines

* Implement Blender_Redraw(), minor changes in other files
* Implemented submodule Text

------------------------------------------------------------------------
r690 | ianwill | 2003-05-09 01:51:09 +0200 (Fri, 09 May 2003) | 5 lines


* Finishing renaming of interface.[ch] to EXPP_interface.[ch]:
    removed old files -- should solve compile problems.
* Updated Window.c to access a variable in Draw.c

------------------------------------------------------------------------
r689 | phase | 2003-05-08 22:53:38 +0200 (Thu, 08 May 2003) | 2 lines

forgot to commit this one for win/fullscreen

------------------------------------------------------------------------
r688 | phase | 2003-05-08 22:40:57 +0200 (Thu, 08 May 2003) | 2 lines

aa fonts have correct colors in the toolbox now.

------------------------------------------------------------------------
r687 | phase | 2003-05-08 21:59:51 +0200 (Thu, 08 May 2003) | 3 lines

added 2.27 splash screen, designed by Matt Ebb.
nice work !!

------------------------------------------------------------------------
r686 | frank | 2003-05-08 21:29:09 +0200 (Thu, 08 May 2003) | 4 lines

- new Blender Installer Icon (thanks Matt)

It's a pity nsis only uses the 32x32x16 bit version of this icon ;-(

------------------------------------------------------------------------
r685 | sgefant | 2003-05-08 19:27:43 +0200 (Thu, 08 May 2003) | 2 lines

fix loading of truetype fonts on linux

------------------------------------------------------------------------
r684 | phase | 2003-05-08 18:24:58 +0200 (Thu, 08 May 2003) | 3 lines

added a fullscreen button in the top header (windows only)
written by Florian Eggenberger.

------------------------------------------------------------------------
r683 | phase | 2003-05-08 18:22:41 +0200 (Thu, 08 May 2003) | 2 lines

changed for the new fullscreen button (windows only)

------------------------------------------------------------------------
r682 | phase | 2003-05-08 15:44:16 +0200 (Thu, 08 May 2003) | 2 lines

fixed ui_draw_but_TOG3 for correct coloring non-ftgl texts.

------------------------------------------------------------------------
r681 | ianwill | 2003-05-08 05:13:17 +0200 (Thu, 08 May 2003) | 2 lines

updating change in an included filename

------------------------------------------------------------------------
r680 | ianwill | 2003-05-08 05:06:46 +0200 (Thu, 08 May 2003) | 16 lines

* Added submodule Window, including FileSelector and ImageSelector:
    Most of the code comes from bpython/intern/opy_window.c, but two
    new functions were added, to access the file and image selector
    windows in Blender.

* Added submodules Draw (gui) and BGL (OpenGL wrapper):
    The code comes from bpython/intern/opy_draw.c, with minor changes
    to integrate it in the new implementation.

* Made changes to Camera, Lamp and Image submodules:
    The implementation was improved. These files should be good
    starting points for interested new coders to look at, now.

* Renamed interface.[ch] to EXPP_interface.[ch] to avoid conflict:
    There is another interface.h file in source/blender/include.

------------------------------------------------------------------------
r679 | phase | 2003-05-07 21:32:09 +0200 (Wed, 07 May 2003) | 2 lines

removed two paste errors :)

------------------------------------------------------------------------
r678 | phase | 2003-05-07 21:27:29 +0200 (Wed, 07 May 2003) | 4 lines

hotkey for changing a mesh to a subsurface and back again: shift+o
hotkey for changing display resolution for subdiv: ctrl+1 or 2 or 3 or 4
written by Green

------------------------------------------------------------------------
r677 | hos | 2003-05-07 16:47:49 +0200 (Wed, 07 May 2003) | 4 lines

A fix to the release Makefile so that strip happens *after* copy.

Please test!

------------------------------------------------------------------------
r676 | phase | 2003-05-07 05:00:11 +0200 (Wed, 07 May 2003) | 2 lines

pulldown menus now scale according to textwidths

------------------------------------------------------------------------
r675 | aphex | 2003-05-06 22:25:53 +0200 (Tue, 06 May 2003) | 2 lines

Post-build step to copy gnu_gettext.dll to bin dir (MSCV 6)

------------------------------------------------------------------------
r674 | sgefant | 2003-05-06 20:22:32 +0200 (Tue, 06 May 2003) | 2 lines

statically link against python on os x

------------------------------------------------------------------------
r673 | phase | 2003-05-06 14:51:04 +0200 (Tue, 06 May 2003) | 2 lines

fixed some interface font issues.

------------------------------------------------------------------------
r672 | hos | 2003-05-06 04:32:56 +0200 (Tue, 06 May 2003) | 6 lines

Autoskinning:

-- added Matt Ebb's menu suggestion
-- Maybe it so the 'empty'/'name' option is disabled for bones that
   are of type 'Unskinnable'.

------------------------------------------------------------------------
r671 | sgefant | 2003-05-06 00:24:54 +0200 (Tue, 06 May 2003) | 2 lines

disable i18n on linux, second attempt

------------------------------------------------------------------------
r670 | sgefant | 2003-05-06 00:21:24 +0200 (Tue, 06 May 2003) | 2 lines

disable i18n support on linux

------------------------------------------------------------------------
r669 | sgefant | 2003-05-05 23:28:54 +0200 (Mon, 05 May 2003) | 2 lines

enable multilingual support on linux and os x using the original Makefiles

------------------------------------------------------------------------
r667 | sgefant | 2003-05-05 21:48:36 +0200 (Mon, 05 May 2003) | 2 lines

added missing directory

------------------------------------------------------------------------
r666 | phase | 2003-05-05 14:18:22 +0200 (Mon, 05 May 2003) | 3 lines

fixed a lot of interface update issues.
big thanks to broken !

------------------------------------------------------------------------
r665 | phase | 2003-05-05 12:53:04 +0200 (Mon, 05 May 2003) | 5 lines

added fullscreen command line switch on Win32 -W
written by Florian Eggenberger.

Since Ghost in the bf tree is still used, i patched it here.

------------------------------------------------------------------------
r664 | phase | 2003-05-05 12:51:52 +0200 (Mon, 05 May 2003) | 3 lines

added fullscreen command line switch on Win32 -W
written by Florian Eggenberger.

------------------------------------------------------------------------
r663 | phase | 2003-05-04 21:56:34 +0200 (Sun, 04 May 2003) | 3 lines

wheee! the all-feared 'bin' directory is here.
sorry LarstiQ. remove/move files as you please.

------------------------------------------------------------------------
r659 | phase | 2003-05-04 14:38:44 +0200 (Sun, 04 May 2003) | 2 lines

made the preview update correctly when switching the actual material

------------------------------------------------------------------------
r658 | phase | 2003-05-04 13:33:45 +0200 (Sun, 04 May 2003) | 2 lines

reverted to previous version, changes weren't meant for a commit.

------------------------------------------------------------------------
r657 | phase | 2003-05-04 13:20:14 +0200 (Sun, 04 May 2003) | 2 lines

drawinfospace function now matches zr's recent changes

------------------------------------------------------------------------
r656 | phase | 2003-05-03 18:06:30 +0200 (Sat, 03 May 2003) | 3 lines

added two extra uv mapping types to uv menu,
nothing big really

------------------------------------------------------------------------
r655 | phase | 2003-05-03 18:05:45 +0200 (Sat, 03 May 2003) | 2 lines

changed buttontype for the pulldown titles

------------------------------------------------------------------------
r654 | phase | 2003-05-03 15:25:49 +0200 (Sat, 03 May 2003) | 4 lines

Multilingual interface support added.

Oops. forgot these two files.

------------------------------------------------------------------------
r653 | phase | 2003-05-03 14:59:33 +0200 (Sat, 03 May 2003) | 6 lines

Multilingual interface support added.

Added compileflag INTERNATIONAL to the 'release'
projectfiles for msvc and added the FTF_ftfont project
to the main blender project.

------------------------------------------------------------------------
r652 | phase | 2003-05-03 14:20:23 +0200 (Sat, 03 May 2003) | 6 lines

Multilingual interface support added.

Added compileflag INTERNATIONAL to the 'release'
projectfiles for msvc and added the FTF_ftfont project
to the main blender project.

------------------------------------------------------------------------
r651 | phase | 2003-05-03 14:17:11 +0200 (Sat, 03 May 2003) | 14 lines

Multilingual interface support added.

All modifications are behind compileflag INTERNATIONAL,
and affect these two directories; source/blender/src and
source/blender/ftfont.

Thanks to philipp, a new utf8towchar() function is added
to Shizu's work, which fixes the international support for
OSX. It also makes the iconv library obsolete. This means
all translation files (blender.mo) need to be 'recoded' to
UTF-8, and language support in the fileselect window and
the text editor is not possible. Iconv might be added in
the future to enable these features.

------------------------------------------------------------------------
r650 | maarten | 2003-05-03 14:04:17 +0200 (Sat, 03 May 2003) | 4 lines

Removed old project builder project files.
Somebody with cvs surgery rights might want to move the empty directories out
of sight.

------------------------------------------------------------------------
r649 | maarten | 2003-05-03 14:01:32 +0200 (Sat, 03 May 2003) | 5 lines

Moved Project Builder project.
Updated for changed lib location
Added Quicktime support
Changed compiler optimisation level to O2 (reduced binary size to 4.5 MB)

------------------------------------------------------------------------
r648 | sirdude | 2003-05-02 22:52:58 +0200 (Fri, 02 May 2003) | 7 lines


Updated the scatter program to fix some warnings.
Modified the Makefile's call to strip so it leaves symbols for
plugins...

Kent

------------------------------------------------------------------------
r647 | sirdude | 2003-05-02 19:48:06 +0200 (Fri, 02 May 2003) | 8 lines



First whack at getting FREETYPE2 stuff added to the
old and autoconf makefiles.  My machine seems to have messed up libs
so I can't test it, its a start though :)

Kent

------------------------------------------------------------------------
r646 | sirdude | 2003-05-02 16:22:14 +0200 (Fri, 02 May 2003) | 6 lines



Added Kester's python linking patch...

Kent

------------------------------------------------------------------------
r645 | sgefant | 2003-05-02 16:21:47 +0200 (Fri, 02 May 2003) | 2 lines

added missing files for quicktime support on os x

------------------------------------------------------------------------
r644 | sgefant | 2003-05-02 15:36:56 +0200 (Fri, 02 May 2003) | 8 lines

fun with quicktime:
#include <QuickTime/Movies.h> instead of #include <Movies.h> on OS X to
avoid having to specify the full path to the QT headers in the Makefiles

#undef NDEBUG on OS X to avoid errors about ID being declared twice

enable support for QuickTime in the original Makefiles on OS X

------------------------------------------------------------------------
r643 | phase | 2003-05-02 12:44:14 +0200 (Fri, 02 May 2003) | 2 lines

fixed a slowdown in the 3D window with multiple objects.

------------------------------------------------------------------------
r642 | sirdude | 2003-05-01 21:52:40 +0200 (Thu, 01 May 2003) | 7 lines



dos2unixed relivant stuff in the interndir.
I'll wait a couple of days and if no complaints do the other dirs as well.

Kent

------------------------------------------------------------------------
r641 | sirdude | 2003-05-01 18:34:14 +0200 (Thu, 01 May 2003) | 8 lines



The stuff in release/plugins/include was duplcated in
source/blender/blenpluginapi  So I removed the stuff in the release dir
after merging changes and updated the Makefile.

Kent

------------------------------------------------------------------------
r640 | sirdude | 2003-05-01 17:25:38 +0200 (Thu, 01 May 2003) | 5 lines


Fixed prototype for drawinfospace  (from the new space.c)

Kent

------------------------------------------------------------------------
r638 | phase | 2003-05-01 15:02:51 +0200 (Thu, 01 May 2003) | 3 lines

Matt Ebb's new windows Blender icons (Nice!)
 (hopefully wincvs does it right this time)

------------------------------------------------------------------------
r637 | phase | 2003-05-01 15:02:04 +0200 (Thu, 01 May 2003) | 2 lines

Matt Ebb's new installer icon (hopefully wincvs does it right this time)

------------------------------------------------------------------------
r636 | phase | 2003-05-01 14:50:49 +0200 (Thu, 01 May 2003) | 2 lines

Matt Ebb finished the userprefs window layout

------------------------------------------------------------------------
r635 | sirdude | 2003-04-30 20:38:50 +0200 (Wed, 30 Apr 2003) | 7 lines



Added IMB_gamwarp and IMB_interlace  (and the interlace and gamwarp wrappers
for the plugins)

Kent

------------------------------------------------------------------------
r634 | sirdude | 2003-04-30 19:18:34 +0200 (Wed, 30 Apr 2003) | 11 lines


Moved the compiling plugins to after the binary is copied over.
(macosX needs the binary to link against for the plugins)

Also updated the plugins/Makefile to use
$(MAKE) -C dir
	instead of
cd dir; make

Kent

------------------------------------------------------------------------
r633 | sirdude | 2003-04-30 17:55:50 +0200 (Wed, 30 Apr 2003) | 6 lines


Updated the macosX error message for plugins so it actually reports
something other than plugins not supported on macosx.

Kent

------------------------------------------------------------------------
r632 | ton | 2003-04-30 15:22:26 +0200 (Wed, 30 Apr 2003) | 3 lines

LAST of the c code comment translations... hooray!
Might be possible I mised an .h or so, just notify me in that case.

------------------------------------------------------------------------
r631 | sgefant | 2003-04-29 21:40:11 +0200 (Tue, 29 Apr 2003) | 2 lines

added instructions on how to enable QuickTime support on OS X

------------------------------------------------------------------------
r630 | sgefant | 2003-04-29 21:19:04 +0200 (Tue, 29 Apr 2003) | 2 lines

enable quicktime support on os x when building with auto*

------------------------------------------------------------------------
r629 | sirdude | 2003-04-29 21:15:22 +0200 (Tue, 29 Apr 2003) | 7 lines



modified it so ghost debugging is not done by default but you can
renable it with configure --enable-debug

Kent

------------------------------------------------------------------------
r628 | sgefant | 2003-04-29 18:33:20 +0200 (Tue, 29 Apr 2003) | 3 lines

move renderwindow down a bit so that it doesn't get hidden behind the menu
bar on os x

------------------------------------------------------------------------
r627 | sirdude | 2003-04-29 18:24:56 +0200 (Tue, 29 Apr 2003) | 10 lines



I know were in a freeze but this ones really small and I figured were not
quite frozen yet ;)

Anyway this was submitted by intrr and its just a small patch to
allow you to select all children of an object with shift-p.

Kent

------------------------------------------------------------------------
r626 | sirdude | 2003-04-29 17:58:03 +0200 (Tue, 29 Apr 2003) | 7 lines



Moved -lcrypto so its after the lib. Which fixes undefined refs for platforms
that care about the order of the libs, (linux).

Kent

------------------------------------------------------------------------
r625 | ton | 2003-04-29 17:30:59 +0200 (Tue, 29 Apr 2003) | 3 lines

phew... a whole bunch of old and nasty files translated, including the
central mesh editing one.

------------------------------------------------------------------------
r624 | phase | 2003-04-28 23:20:33 +0200 (Mon, 28 Apr 2003) | 2 lines

Reflected all recent changes in the ChangeLog

------------------------------------------------------------------------
r623 | phase | 2003-04-28 23:18:43 +0200 (Mon, 28 Apr 2003) | 4 lines

Added the WITH_FREETYPE2 compile flag, in the blenkernel
and blenlib msvc 'release' projectfiles. Compile and link with the
lib/windows/freetype directory.

------------------------------------------------------------------------
r622 | phase | 2003-04-28 23:16:27 +0200 (Mon, 28 Apr 2003) | 7 lines

Added a 3D font loader that uses the Freetype2 library to
parse the vector data. Freetype2 supports many font formats
including Type1, TrueType and OpenType fonts.

Enable with the WITH_FREETYPE2 compile flag, in the
source/blender/blenkernel and source/blender/blenlib dirs.

------------------------------------------------------------------------
r621 | ton | 2003-04-28 16:43:20 +0200 (Mon, 28 Apr 2003) | 2 lines

first of the c code comment translation in the mother of all directories!

------------------------------------------------------------------------
r620 | sgefant | 2003-04-28 14:18:08 +0200 (Mon, 28 Apr 2003) | 2 lines

added imbuf/intern/anim5.c to libblender_imbuf_la_SOURCES

------------------------------------------------------------------------
r619 | ton | 2003-04-28 14:10:59 +0200 (Mon, 28 Apr 2003) | 2 lines

translated renderconverter c comments

------------------------------------------------------------------------
r618 | ton | 2003-04-28 13:25:42 +0200 (Mon, 28 Apr 2003) | 2 lines

rest of c comment translations render files

------------------------------------------------------------------------
r617 | phase | 2003-04-28 13:17:21 +0200 (Mon, 28 Apr 2003) | 10 lines

Added rename/delete popups to the file and imageselect windows.

Redesigned the userpreference window layout. (not finished yet)

Enhanced the texteditor with; a rightmousemenu, clipboard text
support (for windows !) and the alt-m keystroke generates a 3d
text object. (up to 1000 characters)

(1, 2, 3, 4 and 7 from http://www.tncci.com/blender/feats.html)

------------------------------------------------------------------------
r616 | larstiq | 2003-04-28 13:01:44 +0200 (Mon, 28 Apr 2003) | 2 lines

Add includedir for quicktime

------------------------------------------------------------------------
r615 | phase | 2003-04-28 04:17:04 +0200 (Mon, 28 Apr 2003) | 11 lines

Added Quicktime support for OSX and Windows.

For Windows, the WITH_QUICKTIME flag, together with approriate paths
is added to the following msvc6 'release' projectfiles:
bf\blender\projectfiles\blender\imbuf\BL_imbuf.dsp
bf\blender\projectfiles\blender\src\BL_src.dsp
bf\blender\projectfiles\blender\render\BRE_render.dsp
bf\blender\projectfiles\blender\blender.dsp

Erase the flag if you don't want Quicktime support.

------------------------------------------------------------------------
r614 | phase | 2003-04-28 04:15:46 +0200 (Mon, 28 Apr 2003) | 18 lines

Added Quicktime support for OSX and Windows.

This code allows you to load Quicktime images and movies as textures
and render animations to Quicktime movies.
Note that the selected output codec is *not* saved in the blendfile.

To enable Quicktime functionality you need the SDK from Apple:
OSX: ftp://ftp.apple.com/developer/Development_Kits/QT6SDK_Mac.hqx
Win: ftp://ftp.apple.com/developer/Development_Kits/QT6SDK_Win.hqx
Add the \QTDevWin\CIncludes and \QTDevWin\Libraries directories
from this SDK to your build environment.

Enable the WITH_QUICKTIME compile flag in the following directories:
bf\blender\source\blender\imbuf
bf\blender\source\blender\src
bf\blender\source\blender\render
bf\blender\source\creator

------------------------------------------------------------------------
r613 | hos | 2003-04-27 17:11:49 +0200 (Sun, 27 Apr 2003) | 2 lines

Added an entry about autoskinning.

------------------------------------------------------------------------
r612 | ton | 2003-04-27 16:05:41 +0200 (Sun, 27 Apr 2003) | 2 lines

first commit with hours and hours of comment translation for render code...

------------------------------------------------------------------------
r611 | ton | 2003-04-27 13:55:33 +0200 (Sun, 27 Apr 2003) | 2 lines

More translations of c comments, now also include files!

------------------------------------------------------------------------
r610 | aphex | 2003-04-27 12:37:45 +0200 (Sun, 27 Apr 2003) | 2 lines

Removed BL_misc project which is no longer required (blendertimer.c/.h)

------------------------------------------------------------------------
r609 | ton | 2003-04-27 12:05:36 +0200 (Sun, 27 Apr 2003) | 2 lines

just 2 include files translated...

------------------------------------------------------------------------
r608 | ton | 2003-04-27 11:59:36 +0200 (Sun, 27 Apr 2003) | 2 lines

translated comments for imbuf c files

------------------------------------------------------------------------
r607 | ton | 2003-04-26 20:01:01 +0200 (Sat, 26 Apr 2003) | 2 lines

comments translated for blenloader files

------------------------------------------------------------------------
r606 | ton | 2003-04-26 18:13:58 +0200 (Sat, 26 Apr 2003) | 3 lines

all comments translated in blenkernel C files
(fake commit, for cvs mail to be sent out)

------------------------------------------------------------------------
r605 | ton | 2003-04-26 18:03:39 +0200 (Sat, 26 Apr 2003) | 2 lines

DNA instructions translated! Now we can do some serious manipulations...

------------------------------------------------------------------------
r604 | ton | 2003-04-26 18:02:26 +0200 (Sat, 26 Apr 2003) | 2 lines

- translations for comments in blender lib files

------------------------------------------------------------------------
r603 | larstiq | 2003-04-26 16:22:21 +0200 (Sat, 26 Apr 2003) | 2 lines

Small update on otherwise unmaintained documentation to test commit mails

------------------------------------------------------------------------
r602 | hos | 2003-04-26 16:16:07 +0200 (Sat, 26 Apr 2003) | 2 lines

Test of commit mail

------------------------------------------------------------------------
r601 | ton | 2003-04-26 15:07:59 +0200 (Sat, 26 Apr 2003) | 2 lines

The last of the blenkernel files with translated comments

------------------------------------------------------------------------
r600 | ton | 2003-04-26 13:56:44 +0200 (Sat, 26 Apr 2003) | 4 lines

- another series of translated c files.

-Ton-

------------------------------------------------------------------------
r599 | ton | 2003-04-25 17:48:11 +0200 (Fri, 25 Apr 2003) | 2 lines

- first of a series of translated C comments. No dutchies get advantage anymore soon... :-)

------------------------------------------------------------------------
r598 | hos | 2003-04-25 01:13:58 +0200 (Fri, 25 Apr 2003) | 3 lines

A fix for bug #96 (MNME's armature bug). The result of a
crossproduct was not checked for a zero vector.

------------------------------------------------------------------------
r597 | hos | 2003-04-24 02:48:43 +0200 (Thu, 24 Apr 2003) | 4 lines

Support for auto-skinning when parenting a mesh to an armature.
Applies to bones that do not have a boneclass of unskinnable
(set per bone in editmode in the button window).

------------------------------------------------------------------------
r596 | michel | 2003-04-21 22:33:06 +0200 (Mon, 21 Apr 2003) | 10 lines

* Split Object.c (created Object.h)
* Split Blender.c (created Blender.h)
* Followed a naming convention suggested by Willian for Modules and Classes.
* Implemented New, Get and GetSelected functions for the Object module.
* Implemented most of the attributes in the Get and Set functions for the
  Object module.
* Hopefully fixed a link error on OS X.
  Declared g_blenderdict externally in modules.h and moved the real
  declaration to Blender.c

------------------------------------------------------------------------
r592 | sgefant | 2003-04-17 01:28:00 +0200 (Thu, 17 Apr 2003) | 2 lines

don't link against libXxf86dga

------------------------------------------------------------------------
r587 | sgefant | 2003-04-15 18:23:43 +0200 (Tue, 15 Apr 2003) | 2 lines

don't link against X11 libs on OS X

------------------------------------------------------------------------
r586 | michel | 2003-04-13 22:14:12 +0200 (Sun, 13 Apr 2003) | 4 lines

* Removed AC_FIND_X, AC_FIND_XTRA and AC_PATH_X
  AC_PATH_XTRA is sufficient :)
* After a comment, added some arguments to the X11, and OpenGL library checks.

------------------------------------------------------------------------
r585 | michel | 2003-04-12 19:33:53 +0200 (Sat, 12 Apr 2003) | 3 lines

* Run autoheader when doing a ./bootstrap.
  This is needed to generate the config.h.in file.

------------------------------------------------------------------------
r584 | michel | 2003-04-12 19:21:19 +0200 (Sat, 12 Apr 2003) | 13 lines

Fix for the -lm -lc -lgcc_s linking problem.
* Set the LIBS variable to empty in all Makefile.am
  We know the dependencies to the created library, so libtool does not need to
  have the information from each single library.
* Removed the X_LIBS variable from configure.ac.
  Libraries are added to the LIBS variable anyway, no need to specify them in
  a seperate variable.
* Cleaned up some library linking.
  No additional libraries are linked when creating libraries (for example, no
  python is linked when creating libblender_source.la.
* Removed config.h.in
  This file is generated by autoheader. (When running ./bootstrap).

------------------------------------------------------------------------
r583 | michel | 2003-04-08 21:54:14 +0200 (Tue, 08 Apr 2003) | 12 lines

The following updates have been contributed by Willian P. Germano:
* Implemented BPY_end_python function.
* Implemented error handling. This results in rerunning a script after an
  error has occurred. No need to restart blender anymore.
* Camera module supports dir()
* variable assignment now calls the Python equivalent function - this has
  type checking and should be safer now.
* Implemented the Lamp module. Used the Camera module as a template.
* Implemented the Image module.
* Added EXPP_ClampFloat and EXPP_intError functions to gen_utils.[ch]
* Implemented 'constant' object.

------------------------------------------------------------------------
r582 | zuster | 2003-04-07 02:43:32 +0200 (Mon, 07 Apr 2003) | 2 lines

More VC7 stack trashing fixes, vec3 ops performed on a vec2 (oh my!)

------------------------------------------------------------------------
r581 | larstiq | 2003-04-06 17:07:46 +0200 (Sun, 06 Apr 2003) | 6 lines

Use the AC_CHECK_LIBM macro provided by libtool.m4 to get the right math
library on each platform, only link with it for the final binaries.
This solves the cosmetic problem of having multiple -lm instances when linking.

Will it fix the segfaults on Slackware 9? Who knows...

------------------------------------------------------------------------
r578 | hos | 2003-03-31 19:27:20 +0200 (Mon, 31 Mar 2003) | 2 lines

Irix will now link to ode

------------------------------------------------------------------------
r576 | larstiq | 2003-03-27 20:44:41 +0100 (Thu, 27 Mar 2003) | 3 lines

- Normalize OSX bin_PROGRAMS target names
- Add OSX application bundle creation target (copied from source/darwin)

------------------------------------------------------------------------
r575 | larstiq | 2003-03-27 20:35:47 +0100 (Thu, 27 Mar 2003) | 2 lines

Sigh, OSX and ranlib again

------------------------------------------------------------------------
r574 | zuster | 2003-03-26 05:59:28 +0100 (Wed, 26 Mar 2003) | 3 lines

Change the VC7 project to directly call python with the right arguments
to freeze.py (including my new -D hack).

------------------------------------------------------------------------
r573 | zuster | 2003-03-26 05:58:41 +0100 (Wed, 26 Mar 2003) | 5 lines

Added a -D option to freeze.py to cause it to not check to see if certain
directories exist. They don't exist for a standard Python 2.3 installation
but they aren't needed either... this is really a hack, I wish someone
who understood the freeze process better could look at this.

------------------------------------------------------------------------
r572 | larstiq | 2003-03-26 01:49:19 +0100 (Wed, 26 Mar 2003) | 21 lines

to implement a configuration file, I've made the choice to simply 'do
$rcfile' inside the BuildIt() loop so it is possible to change, for
example, $BuildAutotools and have tinderbox pick it up on the next
iteration. To accomodate that I've reshuffled the code a bit:
InitVars now initializes variables to default values, ConditionalArgs is
only for stuff that might change whilst tinderbox is running. So
 if ($UNAME eq 'Darwin') type code is now located in InitVars, as the
arch is not likely to change under tinderbox's nose. (Perhaps renaming
some of the subs is in order to reflect their nature, but not critical)

- 2 new global vars: $rcfile and @BuildType
- @BuildType changed from $BuildType, and index into that with
        $BuildAutotools to get the description.
- $FE moved to InitVars instead of ConditionalArgs, as it is conditional on
        <arch>, which should not chance during the running of the script
- Moved code that relies on variables likely to be changed in .tinderboxrc
        to ConditionalArgs
- Computing the BTVersion everytime in ConditionalArgs because it would
        otherwise be another global
- Added example .tinderboxrc

------------------------------------------------------------------------
r571 | larstiq | 2003-03-26 00:36:40 +0100 (Wed, 26 Mar 2003) | 2 lines

FreeBSD can use the exact same python includes as everyone else

------------------------------------------------------------------------
r570 | larstiq | 2003-03-25 22:11:23 +0100 (Tue, 25 Mar 2003) | 3 lines

According to the package list of python-2.2.2_2 on moya a prefix should
also work for FreeBSD, thanks Hans

------------------------------------------------------------------------
r569 | larstiq | 2003-03-25 20:16:22 +0100 (Tue, 25 Mar 2003) | 3 lines

Ahum, ode does needs it's usersettings. (non-patching platforms didn't have it,
tried to be to smart)

------------------------------------------------------------------------
r568 | michel | 2003-03-25 20:16:13 +0100 (Tue, 25 Mar 2003) | 3 lines

* Added the Camera module.
  This one has been implemented by Willian (IanWill).

------------------------------------------------------------------------
r567 | zuster | 2003-03-25 18:43:08 +0100 (Tue, 25 Mar 2003) | 3 lines

The filesel common-path menu didn't work properly when
there were consecutive separators, fixed.

------------------------------------------------------------------------
r566 | zuster | 2003-03-25 16:54:46 +0100 (Tue, 25 Mar 2003) | 10 lines

Fix for bug #70.

I am a little skeptical about this patch, because somehow
the file had the TXT_ISEXT flag set in it, and the support for
that feature isn't complete. What I want to know is how that
flag got set in the first place, none of the interface code
turns it on.

At least it fixes the crash.

------------------------------------------------------------------------
r565 | larstiq | 2003-03-25 15:39:19 +0100 (Tue, 25 Mar 2003) | 3 lines

- Build ode on OSX
- shuffle patching around

------------------------------------------------------------------------
r564 | larstiq | 2003-03-25 00:45:11 +0100 (Tue, 25 Mar 2003) | 2 lines

On OSX, run ranlib on libfrozen.a after creation

------------------------------------------------------------------------
r563 | michel | 2003-03-24 21:04:37 +0100 (Mon, 24 Mar 2003) | 6 lines

* Updated a Makefile.am to conditionally link in the correct python
  implementation (bpython or python). This depends on the --enable-exppython
  flag.

Michel

------------------------------------------------------------------------
r562 | larstiq | 2003-03-24 20:47:30 +0100 (Mon, 24 Mar 2003) | 3 lines

Don't try to be smart with dependencies, it needs to be a bit smarter still
to work in all cases, at least building works without it (hint: tinderbox)

------------------------------------------------------------------------
r561 | sgefant | 2003-03-24 19:09:21 +0100 (Mon, 24 Mar 2003) | 2 lines

Remove references to obsolete misc lib

------------------------------------------------------------------------
r560 | sgefant | 2003-03-24 18:52:58 +0100 (Mon, 24 Mar 2003) | 2 lines

(re)added path to render.h

------------------------------------------------------------------------
r559 | larstiq | 2003-03-24 18:51:22 +0100 (Mon, 24 Mar 2003) | 8 lines

- Reference all the intern libs directly instead of through libblender_intern.la
- Link the source/blender libraries directly into libblender_source.la, instead
  of libblender_blender.la
- Stop building libblender_intern.la and libblender_blender.la
- Link against OpenGL, AGL and Carbon frameworks on OSX
- Use the noinst_ prefix instead of lib_, the libraries are only for
  convenience, not to be installed (gets rid of the wrapper script)

------------------------------------------------------------------------
r558 | zuster | 2003-03-24 18:34:43 +0100 (Mon, 24 Mar 2003) | 2 lines

Remove references to obsolete misc lib

------------------------------------------------------------------------
r557 | zuster | 2003-03-24 18:32:38 +0100 (Mon, 24 Mar 2003) | 4 lines

Update ActiveX control to drop use of obsolete ReadHuge
function, hopefully not just a VC7 thing but really who cares
about the plugin anyway? (Run!)

------------------------------------------------------------------------
r556 | zuster | 2003-03-24 17:58:29 +0100 (Mon, 24 Mar 2003) | 2 lines

Removed BL_misc from VC7 projectfiles, no longer used.

------------------------------------------------------------------------
r555 | zuster | 2003-03-24 17:56:43 +0100 (Mon, 24 Mar 2003) | 3 lines

Small fudge in loader project was setup to build things
as BLO_loader_bak for complicated reasons.

------------------------------------------------------------------------
r554 | zuster | 2003-03-24 17:46:45 +0100 (Mon, 24 Mar 2003) | 2 lines

Oops, forgot to use 'struct Mesh' in prototype.

------------------------------------------------------------------------
r553 | larstiq | 2003-03-24 17:42:09 +0100 (Mon, 24 Mar 2003) | 2 lines

Obsoleted by editscreen.c:blender_test_break

------------------------------------------------------------------------
r552 | zuster | 2003-03-24 17:38:32 +0100 (Mon, 24 Mar 2003) | 2 lines

Remove unused reference to "blendertimer.h"

------------------------------------------------------------------------
r551 | zuster | 2003-03-24 17:37:08 +0100 (Mon, 24 Mar 2003) | 3 lines

Update things to use blender_test_break() vs MISC_test_break() and
remove use of blendertimer.h

------------------------------------------------------------------------
r550 | zuster | 2003-03-24 17:34:05 +0100 (Mon, 24 Mar 2003) | 3 lines

Added editscreen.c:blender_test_break (copy of MISC_test_break, so
misc dir can be killed)

------------------------------------------------------------------------
r549 | zuster | 2003-03-24 17:08:15 +0100 (Mon, 24 Mar 2003) | 5 lines

Fix for bug #72.
Update mesh normals after a boolean operation.
Also updated boolen operation to copy face flag (propagate
face smoothness information).

------------------------------------------------------------------------
r548 | zuster | 2003-03-24 16:55:21 +0100 (Mon, 24 Mar 2003) | 3 lines

Added a mesh_calculate_vertex_normals function for rebuilding the normals
outside edit mode.

------------------------------------------------------------------------
r547 | zuster | 2003-03-24 16:05:51 +0100 (Mon, 24 Mar 2003) | 2 lines

Kill 2 undefined function warnings.

------------------------------------------------------------------------
r546 | zuster | 2003-03-24 02:46:05 +0100 (Mon, 24 Mar 2003) | 10 lines

Update space dispatch:
 - drawXXXspace, changeXXXspace, and winqreadXXXspace now receive the area
     and spacedata as explicit arguments, allowing them to access private
     data w/o going through globals.
 - pass the new BWinEvent through to the winqreadXXXspace, allowing future
     access to extended event data.

Removed direct calls to winqreadXXXspace to simulate user actions, replaced
by calls to action functions in edit.c or the appropriate handler.

------------------------------------------------------------------------
r545 | larstiq | 2003-03-24 01:27:50 +0100 (Mon, 24 Mar 2003) | 4 lines

- GHOST_WindowManager.cpp needs to be built by all platforms
  fixes missing GHOST_WindowManager::GHOST_WindowManager symbol on OSX
  which prevented linking, doh

------------------------------------------------------------------------
r544 | larstiq | 2003-03-24 01:15:20 +0100 (Mon, 24 Mar 2003) | 2 lines

Left over generated cruft, time to go

------------------------------------------------------------------------
r543 | zuster | 2003-03-24 01:06:40 +0100 (Mon, 24 Mar 2003) | 3 lines

Canonize all space functions to follow the drawXXXspace and winqreadXXXspace
conventions.

------------------------------------------------------------------------
r542 | zuster | 2003-03-23 23:52:11 +0100 (Sun, 23 Mar 2003) | 4 lines

Change the core internal event dispatch to use a BWinEvent structure
instead of passing seperate arguments. For when we want to pass 'richer'
events around.

------------------------------------------------------------------------
r541 | larstiq | 2003-03-23 23:38:15 +0100 (Sun, 23 Mar 2003) | 3 lines

As NAN_PYTHON_BINARY is now used to determine the correct binary for the
freeze, provide it on all platforms

------------------------------------------------------------------------
r540 | zuster | 2003-03-23 22:42:31 +0100 (Sun, 23 Mar 2003) | 3 lines

Removed NLA winqread and write runtime obfuscation cruft.
Can we just dump all this silly key stuff please?

------------------------------------------------------------------------
r539 | zuster | 2003-03-23 21:47:05 +0100 (Sun, 23 Mar 2003) | 3 lines

Unitialized buffer patch (zero length runs in font loading), again thanks to
vc7 magic.

------------------------------------------------------------------------
r538 | larstiq | 2003-03-23 21:21:43 +0100 (Sun, 23 Mar 2003) | 2 lines

This generated file (by aclocal) has no business in cvs

------------------------------------------------------------------------
r537 | zuster | 2003-03-23 20:11:52 +0100 (Sun, 23 Mar 2003) | 6 lines

Fix for bug #78.
The tooltip on the button is wrong, it doesn't translate
the view it zooms it to a specific region. Tooltip has
been updated and border-zoom functionality was not working
in oops window, fixed.

------------------------------------------------------------------------
r536 | sirdude | 2003-03-23 17:10:51 +0100 (Sun, 23 Mar 2003) | 6 lines



Updated bubble help for Mult: under the particle system.

Kent

------------------------------------------------------------------------
r535 | sirdude | 2003-03-23 17:01:32 +0100 (Sun, 23 Mar 2003) | 8 lines



Didn't hear any complaints so I'm commiting the patch for bug:
http://projects.blender.org/tracker/index.php?func=detail&aid=76&group_id=9&atid
=125

Kent

------------------------------------------------------------------------
r534 | sirdude | 2003-03-21 22:50:47 +0100 (Fri, 21 Mar 2003) | 7 lines



Modified it to use $(NAN_PYTHON_BINARY) instead of just plain old
python.  (otherwise why have the env var?) ;)

Kent

------------------------------------------------------------------------
r533 | sirdude | 2003-03-21 19:07:04 +0100 (Fri, 21 Mar 2003) | 6 lines



Small translation of some comments.

Kent

------------------------------------------------------------------------
r532 | sirdude | 2003-03-20 16:27:38 +0100 (Thu, 20 Mar 2003) | 8 lines



Modified them to use: #!/usr/bin/env perl
each was pointing at different locations for perl and everything else
is using that so hey might as well be consistant ;)

Kent

------------------------------------------------------------------------
r531 | michel | 2003-03-19 19:57:23 +0100 (Wed, 19 Mar 2003) | 6 lines

* Implemented the BPY_do_all_scripts interface function (BPY_interface.c)
* Created a function to return all scripts from a linked list
  (DoAllScriptsFromList).

Michel

------------------------------------------------------------------------
r530 | zuster | 2003-03-19 16:54:40 +0100 (Wed, 19 Mar 2003) | 3 lines

Fix for bug #59.
Silly strubel, strncpy does not 0 terminate strings.

------------------------------------------------------------------------
r529 | hos | 2003-03-19 06:29:07 +0100 (Wed, 19 Mar 2003) | 6 lines

Added a UI_BLOCK_ENTER_OK flag to the uiBlock in button()
(this alleviates the problem where using the enter key
effects the widget under the mouse cursor instead of
doing an 'OK' (symptom: getting the wrong number of verts
when adding a mesh circle).

------------------------------------------------------------------------
r528 | zuster | 2003-03-19 01:55:52 +0100 (Wed, 19 Mar 2003) | 2 lines

Remainder of the vc7 projectfiles.

------------------------------------------------------------------------
r527 | zuster | 2003-03-19 01:49:28 +0100 (Wed, 19 Mar 2003) | 3 lines

Creator portion of VC7 projectfiles, put in make/msvc_7_0 for consistency w/ intern
projectfiles organization.

------------------------------------------------------------------------
r526 | zuster | 2003-03-19 00:21:31 +0100 (Wed, 19 Mar 2003) | 2 lines

Update to use <iostream> vs <iostream.h>

------------------------------------------------------------------------
r525 | zuster | 2003-03-19 00:20:10 +0100 (Wed, 19 Mar 2003) | 3 lines

Killed MT_Scalar to float conversion warnings (should be
explicit cast anyway).

------------------------------------------------------------------------
r524 | zuster | 2003-03-19 00:17:09 +0100 (Wed, 19 Mar 2003) | 2 lines

Added string.h include (for memcpy, memcmp, strcpy, strlen, etc.)

------------------------------------------------------------------------
r523 | zuster | 2003-03-18 23:15:30 +0100 (Tue, 18 Mar 2003) | 4 lines

Avoid calling blenderqread on dummy event. (This patch
courtesy of VS.NETs magic new prevent-use-of-unitialized-data
debugging feature).

------------------------------------------------------------------------
r522 | michel | 2003-03-18 21:21:26 +0100 (Tue, 18 Mar 2003) | 8 lines

* Moved the code to retrieve an object by name to a seperate function in
  gen_utils.c (GetObjectByName).
* Blender.link, Blender.bylink and Blender.event should work. Somehow the
  only event coming through now is only REDRAW.
* Added include path to /intern/guardedalloc

Michel

------------------------------------------------------------------------
r521 | zuster | 2003-03-18 20:38:36 +0100 (Tue, 18 Mar 2003) | 2 lines

Rest of the VC7 intern projectfiles.

------------------------------------------------------------------------
r520 | zuster | 2003-03-18 20:27:13 +0100 (Tue, 18 Mar 2003) | 3 lines

First set of VC-7 project files. Also first my first commit in the free
world, what hath hell wrought.

------------------------------------------------------------------------
r519 | hos | 2003-03-16 22:31:30 +0100 (Sun, 16 Mar 2003) | 2 lines

Fixed Goofster's merge menu (added the merge at center option)

------------------------------------------------------------------------
r518 | hos | 2003-03-15 23:30:18 +0100 (Sat, 15 Mar 2003) | 2 lines

removed a line to test cvs mailout

------------------------------------------------------------------------
r517 | hos | 2003-03-15 23:28:00 +0100 (Sat, 15 Mar 2003) | 2 lines

added an extra line to test the cvs commit mailout

------------------------------------------------------------------------
r516 | michel | 2003-03-15 20:14:16 +0100 (Sat, 15 Mar 2003) | 7 lines

* Removed datablock.[ch]
* Object.Get("") should work.
* Many variables from module Object are implemented.
* Updated build environment to generate more warnings (-Wall)

Michel

------------------------------------------------------------------------
r515 | aphex | 2003-03-12 23:45:34 +0100 (Wed, 12 Mar 2003) | 2 lines

updated intern project files to suit the lib dir move.

------------------------------------------------------------------------
r514 | aphex | 2003-03-12 22:40:56 +0100 (Wed, 12 Mar 2003) | 3 lines

- updated MSVC project files to suit the lib dir move - better late than never!
- blenderplayer and the web plugin now compile again (now using OpenAL)

------------------------------------------------------------------------
r513 | michel | 2003-03-08 19:10:20 +0100 (Sat, 08 Mar 2003) | 13 lines

Swig is unfortunately not an option anymore. This means implementing all
wrapper functionality by hand.

* Removed the swig files (*.i and *_wrap.c)
* Created initial datablock functionality. Most of it has been copied from
  the old implementation.
* Created some general functions in gen_utils.[ch]
* Blender.Get(), Blender.Set() and Blender.Redraw functions should work in a
  script now.
* Started implementation on an Event function call (BPY_do_pyscript)

Michel

------------------------------------------------------------------------
r512 | aphex | 2003-03-02 15:14:03 +0100 (Sun, 02 Mar 2003) | 4 lines

Applied curve editing bugfix submitted by Klaus Stengel (nathanel)

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

------------------------------------------------------------------------
r511 | aphex | 2003-03-02 14:46:07 +0100 (Sun, 02 Mar 2003) | 3 lines

- removed files no longer created during freeze.
- removed '-2.26' prefix from the blender exe.

------------------------------------------------------------------------
r510 | michel | 2003-02-26 20:22:24 +0100 (Wed, 26 Feb 2003) | 11 lines

Implemented enough functionality to actually execute Python from within
Blender.
* Moved api2_2x/interface.c to ./BPY_interface.c
  This will be the general api layer from which all variants of the Blender
  api. Currently only the 2.2x variant is initialised.
* Used swig (www.swig.org) to create Python wrappers for a couple of dummy
  functions.
* Started implementation of the Blender and Blender.Object modules.

Michel

------------------------------------------------------------------------
r509 | frank | 2003-02-24 20:04:20 +0100 (Mon, 24 Feb 2003) | 2 lines

- python include path is now taken from nan_definitions.mk

------------------------------------------------------------------------
r508 | h_xnan | 2003-02-23 21:59:39 +0100 (Sun, 23 Feb 2003) | 4 lines

- lib/ was moved to ../
We should use cvs modules, so that we can check out lib/<platform>
without the other libs. We need CVSROOT write access for this. Stefan ?

------------------------------------------------------------------------
r507 | h_xnan | 2003-02-23 20:57:52 +0100 (Sun, 23 Feb 2003) | 2 lines

lib/ just moved to ../

------------------------------------------------------------------------
r506 | h_xnan | 2003-02-21 21:08:34 +0100 (Fri, 21 Feb 2003) | 4 lines

- use strict (about time too)
- removed some dead code
- clean up 'main' routine

------------------------------------------------------------------------
r505 | sirdude | 2003-02-21 19:42:56 +0100 (Fri, 21 Feb 2003) | 12 lines



zel365 showed me this bug with deleting nla keys...
If I had to guess REMAKEIPO is kind of miss named.
since what it does it free up memory it almost looks like it should be a part of
REMAKEALLIPO we both felt a little overwhelmed by the code though and opted for
just calling both of them in delete_nlachannel_keys
I also added in         allqueue (REDRAWVIEW3D, 0);
since things could probably change around since your recalcing the ipo's...

Kent

------------------------------------------------------------------------
r504 | sirdude | 2003-02-21 17:40:29 +0100 (Fri, 21 Feb 2003) | 6 lines



Added Goofsters alt-m menu for merging verts while in edit mode menu.

Kent

------------------------------------------------------------------------
r503 | sirdude | 2003-02-21 16:37:55 +0100 (Fri, 21 Feb 2003) | 13 lines



The first two files enables building of plugins under macosx.
The third is for actually loading the plugins in blender.
For some reason its not identifying the plugins correctly,
but it compiles and runs so I'm including it hoping someone else
might see where I've messed things up...

I have a simple example at http://www.cs.umn.edu/~mein/test.tgz that
works, if anyone is interested in playing with it.

Kent

------------------------------------------------------------------------
r502 | larstiq | 2003-02-20 19:45:35 +0100 (Thu, 20 Feb 2003) | 2 lines

- Seperate keyloader.c into it's own target. No more stupid 'main' symbol mixups

------------------------------------------------------------------------
r501 | frank | 2003-02-19 22:54:29 +0100 (Wed, 19 Feb 2003) | 3 lines

- added $msg->dataend(); when done with sending the e-mail with
  Net::SMTP. This might make e-mail delivery a bit more reliable.

------------------------------------------------------------------------
r500 | michel | 2003-02-19 20:20:11 +0100 (Wed, 19 Feb 2003) | 15 lines

Added flag '--enable-exppython' to the auto* build environment.
Using this flag the following component is build:
  source/blender/python
and the following components are not build:
  intern/python
  source/blender/bpython

Without specifying the flag, things act as they used to do.
Also created a dummy interface.c file and created the directories
which will contain the replacement code for:
- intern/python
- source/blender/bpython

Michel

------------------------------------------------------------------------
r499 | aphex | 2003-02-19 19:55:31 +0100 (Wed, 19 Feb 2003) | 2 lines

Fixed a typo in my addy (of all places!) ;)

------------------------------------------------------------------------
r498 | h_xnan | 2003-02-17 17:51:16 +0100 (Mon, 17 Feb 2003) | 3 lines

- fix 'debug' target
- add ID and copyrights to top level makefile

------------------------------------------------------------------------
r497 | phase | 2003-02-17 13:30:11 +0100 (Mon, 17 Feb 2003) | 2 lines

fixed mousewheel behaviour in editmode

------------------------------------------------------------------------
r496 | hos | 2003-02-16 01:12:06 +0100 (Sun, 16 Feb 2003) | 6 lines

It turns out that the "Pressing AKEY to deselect all objects still
leaves one object center pink" bug was actually designed by somebody
to mark the active object (which need not necessarily be selected).
I've added a couple of source comments to explain this so the next
person trying to fix this doesn't bother.

------------------------------------------------------------------------
r495 | hos | 2003-02-15 05:18:22 +0100 (Sat, 15 Feb 2003) | 5 lines

gcc 3.2.1 seems to have problems casting a double like 32772.0 to
a short, so we cast to an int first, then to a short when a button that
modifies a short value is pressed. (Allieviates the bug where the
Unified Renderer button modifies the values of a bunch of other buttons).

------------------------------------------------------------------------
r494 | hos | 2003-02-14 16:29:24 +0100 (Fri, 14 Feb 2003) | 5 lines

I decremented the 'user' of the deleted ipo,
but it had already been decremeted elsewhere.

Thanks to zel365 for the head's up.

------------------------------------------------------------------------
r493 | hos | 2003-02-14 04:24:45 +0100 (Fri, 14 Feb 2003) | 4 lines

Fix to make plugins work on windows (last system error code for
the thread wasn't getting reset). Somebody with more windows
saavy might want to check that this doesn't break other stuff.

------------------------------------------------------------------------
r492 | hos | 2003-02-14 00:30:51 +0100 (Fri, 14 Feb 2003) | 22 lines

This modification removes a bone's
action channel from the cooresponding
action when the bone's IPO is deleted
from the IPO window (the old behavior
was to set the channel's ipo to NULL
without removing it from the action).
This is to alleviate the problem that
there is a lot of action channel code
that tries to access the channel's ipo
(chan->ipo) without testing whether
it is NULL or not (resulting in a
segfault).

This seems to be the best way to
solve this problem ... unless there
is a reason why it might be useful
to have an action channel with no
ipo attached to it?

Thanks to zel365 for uncovering this
problem.

------------------------------------------------------------------------
r491 | h_xnan | 2003-02-13 22:20:09 +0100 (Thu, 13 Feb 2003) | 3 lines

- 2 todo notes
- check for configguess availability after cvs co

------------------------------------------------------------------------
r490 | hos | 2003-02-13 17:56:42 +0100 (Thu, 13 Feb 2003) | 6 lines

Some small de-optimizations :)

Reverting this file to it's original
version fixed a bug involving particles
and lattices.

------------------------------------------------------------------------
r489 | h_xnan | 2003-02-11 13:35:18 +0100 (Tue, 11 Feb 2003) | 3 lines

- glue top level makefile and release one together
- fix 8 spaces problem in release/Makefile

------------------------------------------------------------------------
r487 | maarten | 2003-02-10 23:26:32 +0100 (Mon, 10 Feb 2003) | 4 lines

pointed PB to the frozen files in the obj tree
removed old splash and added the new 2.26 screen (beautiful as always)
maarten

------------------------------------------------------------------------
r486 | frank | 2003-02-10 18:43:41 +0100 (Mon, 10 Feb 2003) | 3 lines

- add GPL-license to installer
- add options in installer to create desktop icon and register .blend files

------------------------------------------------------------------------
r485 | frank | 2003-02-10 18:41:47 +0100 (Mon, 10 Feb 2003) | 2 lines

- change GPL_license to dos text

------------------------------------------------------------------------
r484 | hos | 2003-02-10 16:01:54 +0100 (Mon, 10 Feb 2003) | 2 lines

Changes to deal with the single splash file

------------------------------------------------------------------------
r483 | hos | 2003-02-10 15:59:10 +0100 (Mon, 10 Feb 2003) | 2 lines

Another change to replace fmod with OpenAL

------------------------------------------------------------------------
r482 | ton | 2003-02-10 15:36:25 +0100 (Mon, 10 Feb 2003) | 2 lines

- GPL license text now included in the binary distros as well.

------------------------------------------------------------------------
r481 | ton | 2003-02-10 15:23:09 +0100 (Mon, 10 Feb 2003) | 4 lines

- As promised, the listing with names of people who have sponsored
  to make the sources open. It adds another 180k to the download, but
  luckily only once!

------------------------------------------------------------------------
r480 | phase | 2003-02-10 15:14:35 +0100 (Mon, 10 Feb 2003) | 2 lines

patched default wheellinescroll usersetting

------------------------------------------------------------------------
r479 | phase | 2003-02-10 15:13:51 +0100 (Mon, 10 Feb 2003) | 2 lines

removed default wheellinescroll usersetting (didnt work here)

------------------------------------------------------------------------
r478 | frank | 2003-02-10 12:50:07 +0100 (Mon, 10 Feb 2003) | 4 lines

- removed debug line from windows/specific.sh
- deinstalling Blender now also removes "%PROGRAMFILES%\Blender Foundation"
  if it's empty

------------------------------------------------------------------------
r477 | frank | 2003-02-10 12:41:49 +0100 (Mon, 10 Feb 2003) | 2 lines

- mixed up python version and blender version ;-)

------------------------------------------------------------------------
r476 | frank | 2003-02-10 12:30:12 +0100 (Mon, 10 Feb 2003) | 2 lines

- display Blender version number in title of installer

------------------------------------------------------------------------
r475 | frank | 2003-02-10 12:07:14 +0100 (Mon, 10 Feb 2003) | 3 lines

- windows/specific.sh now creates a custom NSIS configuration file for this
  release and executes NSIS to build the Blender intaller

------------------------------------------------------------------------
r474 | frank | 2003-02-10 11:44:26 +0100 (Mon, 10 Feb 2003) | 3 lines

- export VERSION so specific.sh can use it
- made remove in the final directory a bit more specific

------------------------------------------------------------------------
r473 | frank | 2003-02-10 10:20:27 +0100 (Mon, 10 Feb 2003) | 2 lines

- updated url to http://www.blender3d.org/Support/

------------------------------------------------------------------------
r472 | sgefant | 2003-02-10 03:01:41 +0100 (Mon, 10 Feb 2003) | 2 lines

use new splash screen

------------------------------------------------------------------------
r471 | larstiq | 2003-02-10 02:59:40 +0100 (Mon, 10 Feb 2003) | 3 lines

- Added 'Still Not Working' items previously int ChangeLog
- aspell -c spelling check corrections

------------------------------------------------------------------------
r470 | sgefant | 2003-02-10 02:08:56 +0100 (Mon, 10 Feb 2003) | 2 lines

added new splash screen

------------------------------------------------------------------------
r469 | sirdude | 2003-02-10 01:18:29 +0100 (Mon, 10 Feb 2003) | 7 lines



Modified ld flags on SunOS changed -O2 to -O
because sun's compiler does not support -O2.

Kent

------------------------------------------------------------------------
r468 | sgefant | 2003-02-10 00:31:26 +0100 (Mon, 10 Feb 2003) | 3 lines

update description of "fake user" button
mention rgba targa bugfix

------------------------------------------------------------------------
r467 | h_xnan | 2003-02-09 23:01:05 +0100 (Sun, 09 Feb 2003) | 2 lines

fix clean target

------------------------------------------------------------------------
r466 | aphex | 2003-02-09 22:59:35 +0100 (Sun, 09 Feb 2003) | 2 lines

Added files for using NSIS (http://nsis.sourceforge.net) as an alternative self-install/uninstall system for windows.

------------------------------------------------------------------------
r465 | aphex | 2003-02-09 21:59:35 +0100 (Sun, 09 Feb 2003) | 2 lines

removed fmod lib from blender target and added openal_static lib (MSVC)

------------------------------------------------------------------------
r464 | frank | 2003-02-09 21:51:14 +0100 (Sun, 09 Feb 2003) | 4 lines

- build and link against OpenAL instead of FMod on windows

Note: this needs to be changed in the projectfiles as well

------------------------------------------------------------------------
r463 | sgefant | 2003-02-09 21:15:39 +0100 (Sun, 09 Feb 2003) | 2 lines

don't use fmod on darwin

------------------------------------------------------------------------
r462 | hos | 2003-02-09 20:39:13 +0100 (Sun, 09 Feb 2003) | 2 lines

Added a couple of lines about the slow render bug.

------------------------------------------------------------------------
r461 | aphex | 2003-02-09 20:34:22 +0100 (Sun, 09 Feb 2003) | 2 lines

added a disabled notice when pressing PKEY and building without game engine.

------------------------------------------------------------------------
r460 | sgefant | 2003-02-09 20:20:18 +0100 (Sun, 09 Feb 2003) | 3 lines

disabled "Start Game" menu entry and button when building without
gameengine

------------------------------------------------------------------------
r459 | sgefant | 2003-02-09 19:32:55 +0100 (Sun, 09 Feb 2003) | 3 lines

fill in correct values for VERSION and DATE when building the
application bundles

------------------------------------------------------------------------
r458 | sgefant | 2003-02-09 19:22:45 +0100 (Sun, 09 Feb 2003) | 2 lines

updated copyright notice

------------------------------------------------------------------------
r457 | phase | 2003-02-09 19:09:13 +0100 (Sun, 09 Feb 2003) | 2 lines

revised new feature list.

------------------------------------------------------------------------
r456 | phase | 2003-02-09 18:55:49 +0100 (Sun, 09 Feb 2003) | 2 lines

added default variable (3) for the wheellinescroll usersetting

------------------------------------------------------------------------
r455 | phase | 2003-02-09 18:50:12 +0100 (Sun, 09 Feb 2003) | 2 lines

The list of new features in Blender 2.26.

------------------------------------------------------------------------
r454 | sirdude | 2003-02-09 18:33:06 +0100 (Sun, 09 Feb 2003) | 7 lines



Fixed some typos and added mention of the new configure build system
(noting its not finished yet)

Kent

------------------------------------------------------------------------
r453 | frank | 2003-02-09 18:17:00 +0100 (Sun, 09 Feb 2003) | 2 lines

- changed version to 2.26 instead of 2.26a

------------------------------------------------------------------------
r452 | sirdude | 2003-02-09 18:01:19 +0100 (Sun, 09 Feb 2003) | 6 lines



Added stuff from board

Kent

------------------------------------------------------------------------
r451 | phase | 2003-02-09 16:51:20 +0100 (Sun, 09 Feb 2003) | 2 lines

fixed mousewheel linescrolling.

------------------------------------------------------------------------
r450 | frank | 2003-02-09 16:43:45 +0100 (Sun, 09 Feb 2003) | 2 lines

- upped BLENDER_VERSION to 226

------------------------------------------------------------------------
r449 | frank | 2003-02-09 16:25:02 +0100 (Sun, 09 Feb 2003) | 8 lines

make in the release directory now works correctly again on windows

- updated Help.url -> http://www.blender3d.org/Community/websites.php
- export $(DISTDIR) from Makefile
- chmod +x windows/specific.sh
- use awk to generate dos txt files instead of perl, perl stuff was broken
- chmod +x python22.dll, otherwise blender refuses to start

------------------------------------------------------------------------
r448 | phase | 2003-02-09 16:16:36 +0100 (Sun, 09 Feb 2003) | 3 lines

prevented loading of .dotfiles as an image,
bugfix added for illegal avi/anim handling.

------------------------------------------------------------------------
r447 | phase | 2003-02-09 13:47:43 +0100 (Sun, 09 Feb 2003) | 2 lines

disabled loading of bmp files :(

------------------------------------------------------------------------
r446 | phase | 2003-02-09 12:31:17 +0100 (Sun, 09 Feb 2003) | 2 lines

small patch to disable new drawingroutines on sgi

------------------------------------------------------------------------
r445 | ton | 2003-02-08 16:46:48 +0100 (Sat, 08 Feb 2003) | 2 lines

- adapted versions of the README and Copyright files

------------------------------------------------------------------------
r444 | sgefant | 2003-02-08 14:51:55 +0100 (Sat, 08 Feb 2003) | 2 lines

don't close the render window on OS X

------------------------------------------------------------------------
r443 | aphex | 2003-02-08 14:46:13 +0100 (Sat, 08 Feb 2003) | 2 lines

the last of the FUTURE_PYTHON_API changes for MSVC.

------------------------------------------------------------------------
r442 | phase | 2003-02-08 13:59:25 +0100 (Sat, 08 Feb 2003) | 2 lines

added mousewheel for zooming circleselect

------------------------------------------------------------------------
r441 | h_xnan | 2003-02-08 00:24:12 +0100 (Sat, 08 Feb 2003) | 4 lines

- fix 'original code' part
- add Initial Installation Instructions
- shorten traditional->trad and autotoolized->auto and add script version

------------------------------------------------------------------------
r440 | h_xnan | 2003-02-07 21:14:33 +0100 (Fri, 07 Feb 2003) | 4 lines

- small cleanup: functions order
- be more strict about getting GuessConfig right. So that we don't see
  those irritating wide 'blahblah not found' systems anymore.

------------------------------------------------------------------------
r439 | sirdude | 2003-02-06 18:14:22 +0100 (Thu, 06 Feb 2003) | 13 lines



I added some of the changes I made to bmake at:
http://www.cs.umn.edu/~mein/blender/plugins/bmake

Basically added options for Darwin, and made a var $EXT
that gets set to so, dll or dynlib depending on the platform.

It looks like I'm still getting linking errors on macosx on some of the plugins
but its a good start.

Kent

------------------------------------------------------------------------
r438 | phase | 2003-02-06 15:04:47 +0100 (Thu, 06 Feb 2003) | 3 lines

added filetype for python (.py) scripts
(orange square in front of the name)

------------------------------------------------------------------------
r437 | phase | 2003-02-06 15:03:51 +0100 (Thu, 06 Feb 2003) | 2 lines

added filetype for python (.py) scripts

------------------------------------------------------------------------
r436 | larstiq | 2003-02-06 04:30:25 +0100 (Thu, 06 Feb 2003) | 4 lines

Revert to the FUTURE_PYTHON_API, this means:
- switching the define on in buildsystems (NaN, auto and msvc are done)
- again import _Blender, which is the C module, from the Python modules

------------------------------------------------------------------------
r435 | sirdude | 2003-02-05 16:49:04 +0100 (Wed, 05 Feb 2003) | 6 lines



Removed ^M's sun's compiler for the plugins was complaining.

Kent

------------------------------------------------------------------------
r434 | sgefant | 2003-02-05 16:13:42 +0100 (Wed, 05 Feb 2003) | 2 lines

added darwin, changed package name from blender-creator to blender

------------------------------------------------------------------------
r433 | sirdude | 2003-02-05 15:48:26 +0100 (Wed, 05 Feb 2003) | 8 lines



Added
 CFLAGS="$CFLAGS -DGAMEBLENDER=1"
When enabling game blender.

Kent

------------------------------------------------------------------------
r432 | phase | 2003-02-04 13:30:52 +0100 (Tue, 04 Feb 2003) | 2 lines

minor (2.26 release) cleanup

------------------------------------------------------------------------
r431 | aphex | 2003-02-03 23:27:30 +0100 (Mon, 03 Feb 2003) | 2 lines

removed obsolete msvc projectfiles.

------------------------------------------------------------------------
r430 | aphex | 2003-02-03 23:21:35 +0100 (Mon, 03 Feb 2003) | 2 lines

fixed dependancies for blender target and removed unneeded projects from workspace. (MSVC)

------------------------------------------------------------------------
r429 | sirdude | 2003-02-03 21:58:21 +0100 (Mon, 03 Feb 2003) | 13 lines



Ok this should fix up make inside of blender/release
you can also do a make release inside of blender/source
Should this be moved to the rootdir or do we want it sort of hidden?

Also I only tested it on linux so feel free to give it a shot it probably will
need some tweaks for other platforms but hey :)

I set VERSION to 2.26a  wasn't sure what we want it to be.

Kent

------------------------------------------------------------------------
r428 | sirdude | 2003-02-03 17:29:30 +0100 (Mon, 03 Feb 2003) | 7 lines



I took out the include since it was causing problems on some platforms
and added targets for clean, debug and test, so we don't need the include.

Kent

------------------------------------------------------------------------
r427 | larstiq | 2003-02-03 06:24:22 +0100 (Mon, 03 Feb 2003) | 4 lines


- Plug leak where $Message was accumulating the logfiles of every iteration
- Print out the version of the tinderbox script for easier debugging

------------------------------------------------------------------------
r426 | larstiq | 2003-02-03 04:56:41 +0100 (Mon, 03 Feb 2003) | 10 lines


Makefile
- fix make/shell buglet to make use of --no-print-directory for cleaner logs
- Conform to the nan_subdirs.mk mechanism of building
intern/Makefile
- include nan_subdirs.mk again

This enables people to run make clean and all those other targets from the top
level dir again, 'make source' has been lost for now

------------------------------------------------------------------------
r425 | larstiq | 2003-02-03 02:46:29 +0100 (Mon, 03 Feb 2003) | 5 lines


Change a freebsd and Linux/ppc case to first build blenderdynamic, and blenderstatic after that.
This works around tinderbox bailing out on static and thus burning, the static
build still breaks but we're not checking that in tinderbox yet.

------------------------------------------------------------------------
r424 | larstiq | 2003-02-03 02:16:46 +0100 (Mon, 03 Feb 2003) | 4 lines


Check the resulting binaries on cygwin and other platforms, not just OSX
(fixes the bug where tinderbox tests for $(OCGDIR) existance which is always true)

------------------------------------------------------------------------
r423 | sgefant | 2003-02-02 18:53:41 +0100 (Sun, 02 Feb 2003) | 2 lines

replace "blenderpublisher" with "blender"

------------------------------------------------------------------------
r422 | sgefant | 2003-02-02 18:28:15 +0100 (Sun, 02 Feb 2003) | 2 lines

build the OSX application bundle in $(DIR)/bin

------------------------------------------------------------------------
r421 | larstiq | 2003-02-02 17:45:32 +0100 (Sun, 02 Feb 2003) | 3 lines


Correct typo in blenderstatic rule

------------------------------------------------------------------------
r420 | sirdude | 2003-02-02 16:58:46 +0100 (Sun, 02 Feb 2003) | 7 lines



Fix the problem with X11 libs...
It now adds -Lblahhh not just -l's

Kent

------------------------------------------------------------------------
r419 | sirdude | 2003-02-02 16:38:42 +0100 (Sun, 02 Feb 2003) | 10 lines



Modified the Makefile to build just blender now instead of blenderpublisher
blendercreator....

This might break tinderbox but we need to commit it to test it to
get it working fully. :)

Kent

------------------------------------------------------------------------
r418 | michel | 2003-02-01 13:01:41 +0100 (Sat, 01 Feb 2003) | 7 lines

This small update should fix the build errors in python/freeze.
I added a check if the output directory (../frozen) exists and will create
the directory if it does not exist.
This time I tested it also with the NaN make environment :)

Michel

------------------------------------------------------------------------
r417 | sgefant | 2003-02-01 09:25:09 +0100 (Sat, 01 Feb 2003) | 5 lines

added simple shaded+wire and solid+wire drawmodes. It basically draws
the wireframe after drawing the model in solid/shaded/textured mode.
The user can set this per object using the "Wire" button in the
edit buttons window.

------------------------------------------------------------------------
r416 | michel | 2003-01-31 21:24:18 +0100 (Fri, 31 Jan 2003) | 11 lines

Now the make freeze is done when any of the *.py files in intern/python
is updated.
* modulefinder creates a file src.list which contains all the *.py files
  needed for the python suport in Blender.
* Makefile.am is able to depend on the files listed in src.list.
* makemakefile_ac.py is reverted to the previous version. The old version
  contained my first attempt to get the make freeze trick working. It was
  wrong.

Michel

------------------------------------------------------------------------
r415 | phase | 2003-01-31 18:22:20 +0100 (Fri, 31 Jan 2003) | 2 lines

added mousewheel support for UV Image window

------------------------------------------------------------------------
r414 | phase | 2003-01-31 18:21:29 +0100 (Fri, 31 Jan 2003) | 2 lines

added mousewheel support

------------------------------------------------------------------------
r413 | sirdude | 2003-01-31 09:49:58 +0100 (Fri, 31 Jan 2003) | 6 lines



Added -pthread for openbsd

Kent

------------------------------------------------------------------------
r412 | sirdude | 2003-01-30 21:05:04 +0100 (Thu, 30 Jan 2003) | 6 lines



opps had a typo...

Kent

------------------------------------------------------------------------
r411 | sirdude | 2003-01-30 20:46:36 +0100 (Thu, 30 Jan 2003) | 6 lines



updated to call $(MAKE) instead of just make in the frozen dir.

Kent

------------------------------------------------------------------------
r410 | sirdude | 2003-01-30 19:51:05 +0100 (Thu, 30 Jan 2003) | 8 lines



Modified checks for defined __FreeBSD__ to also include defined (__OpenBSD__)

From: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=840

Kent

------------------------------------------------------------------------
r409 | sgefant | 2003-01-30 15:20:08 +0100 (Thu, 30 Jan 2003) | 5 lines

added NTSC preset (Image size - 720x480, Aspect ratio - 10x11, 30 fps)
PAL and PAL 16:9 presets set frs_sec to 25

I know 30 fps isn't quite correct for NTSC, but it's close :)

------------------------------------------------------------------------
r408 | sgefant | 2003-01-30 14:19:26 +0100 (Thu, 30 Jan 2003) | 2 lines

added "fake user" button (basically a shortcut for pressing Shift+F4 and F)

------------------------------------------------------------------------
r407 | hos | 2003-01-30 07:19:49 +0100 (Thu, 30 Jan 2003) | 10 lines

Extra selection support for the action window, including:
  - border select initiated in the channel names border
    selects the channels and constraint channels.
  - right click or border select initiated in the horizontal
    scroll causes blender to select all keys for the selected
    frames.
  - right click or border select in the vertical scroll
    causes blender to select all keys for the channel or
    constraint channels that are to the left of the selection.

------------------------------------------------------------------------
r406 | hos | 2003-01-30 06:41:46 +0100 (Thu, 30 Jan 2003) | 7 lines

gcc on Irix doesn't like fast atoms -- it chokes on a
quotation mark within an "#if 0" style comment in
/usr/include/X11/SGIFastAtom.h

(This prob was introduced by my patch to
intern/ghost/intern/GHOST_SystemX11.cpp).

------------------------------------------------------------------------
r405 | sirdude | 2003-01-30 04:13:56 +0100 (Thu, 30 Jan 2003) | 10 lines



added
#ifdef USE_SUMO_SOLID

around this line.
   #include "SM_Scene.h"

Kent

------------------------------------------------------------------------
r404 | sirdude | 2003-01-30 03:47:29 +0100 (Thu, 30 Jan 2003) | 6 lines



Added multitest to the targets that get built for tests for ghost.

Kent

------------------------------------------------------------------------
r403 | frank | 2003-01-30 00:51:18 +0100 (Thu, 30 Jan 2003) | 12 lines

- tinderbox-blender.pl now can use two different ways of delivering mail.
  Either through Mail::Send or through Net::SMTP. Which module is
  installed is detected automatically. Mail::Send relies on mail or
  sendmail to deliver the outgoing messge. Neither is installed on
  cygwin/windows. The Net::SMTP is part of the perl package for cygwin.
- created a function SendMail($subject, $body) which uses one of the
  two modules
- Net::SMTP by default tries to deliver the e-mail to whatever is
  listening on port 25 on localhost (untested). This can be overruled
  by setting the environment variable SMTP_SERVER to the smtp server
  of your ISP.

------------------------------------------------------------------------
r402 | hos | 2003-01-29 20:49:22 +0100 (Wed, 29 Jan 2003) | 3 lines

Ignore WM_DELETE_WINDOW on IRIX (somebody smarter than me please
check this for correctness).

------------------------------------------------------------------------
r401 | phase | 2003-01-29 14:49:25 +0100 (Wed, 29 Jan 2003) | 2 lines

added win32 style ctrl keystrokes for cut/copy/paste/undo/redo

------------------------------------------------------------------------
r400 | phase | 2003-01-29 13:18:25 +0100 (Wed, 29 Jan 2003) | 2 lines

fixed error message, bmp header wasn't included

------------------------------------------------------------------------
r399 | phase | 2003-01-29 12:29:06 +0100 (Wed, 29 Jan 2003) | 2 lines

added loading of bmp images. (bmp code was already present in blender)

------------------------------------------------------------------------
r398 | phase | 2003-01-29 12:28:15 +0100 (Wed, 29 Jan 2003) | 3 lines

added iff, lbm and bmp filetypes to the fileselect. added loading of bmp images,
modified drawing of the imageselect, and a bugfix for popups.

------------------------------------------------------------------------
r397 | hos | 2003-01-29 06:37:24 +0100 (Wed, 29 Jan 2003) | 3 lines

The other part of sgefant's fullscreen by default patch: turning
off fullscreen using the -w flag.

------------------------------------------------------------------------
r396 | hos | 2003-01-29 05:45:13 +0100 (Wed, 29 Jan 2003) | 2 lines

Mousewheel under X11 (patch by Martin Vollrathson)

------------------------------------------------------------------------
r395 | hos | 2003-01-29 05:42:25 +0100 (Wed, 29 Jan 2003) | 2 lines

Full screen by default under Unix (patch by sgefant)

------------------------------------------------------------------------
r394 | hos | 2003-01-28 20:54:19 +0100 (Tue, 28 Jan 2003) | 3 lines

CKEY in the action window scrolls the window so that the current frame
is in the center.

------------------------------------------------------------------------
r393 | aphex | 2003-01-28 20:39:06 +0100 (Tue, 28 Jan 2003) | 5 lines

Modified MSVC intern projectfiles - XCOPY doesn't need the /E option.
Updated README to suit the new 'merged' blender target.

--aphex

------------------------------------------------------------------------
r392 | phase | 2003-01-28 13:14:47 +0100 (Tue, 28 Jan 2003) | 2 lines

added mousewheel support part 3

------------------------------------------------------------------------
r391 | phase | 2003-01-28 12:14:38 +0100 (Tue, 28 Jan 2003) | 2 lines

added mousewheel support part 2

------------------------------------------------------------------------
r390 | hos | 2003-01-28 06:16:41 +0100 (Tue, 28 Jan 2003) | 5 lines

Added x-ray bones support (sgefant ended up
doing the bulk of the work when he added the button).
The new x-ray button is added in the edit buttons when
the armature is selected. (suggested by ztonzy)

------------------------------------------------------------------------
r389 | hos | 2003-01-28 04:59:33 +0100 (Tue, 28 Jan 2003) | 4 lines

Added functionality for using TKEY in the action windows
to change the Ipo type (constant/linear/bezier) for the Ipo curves
owned by the selected channels

------------------------------------------------------------------------
r388 | hos | 2003-01-28 04:11:27 +0100 (Tue, 28 Jan 2003) | 5 lines

Added support for manipulating Ipo bezier handles through
the action window. Selecting action keys and pressing VKEY,
HKEY, or shift-HKEY modifies the handles of the keys in
the same way it does in the IPO window. (suggested by Lyubomir)

------------------------------------------------------------------------
r387 | phase | 2003-01-28 01:18:16 +0100 (Tue, 28 Jan 2003) | 2 lines

added mousewheel support

------------------------------------------------------------------------
r386 | phase | 2003-01-28 00:57:43 +0100 (Tue, 28 Jan 2003) | 2 lines

added mousewheel support

------------------------------------------------------------------------
r385 | maarten | 2003-01-27 23:08:51 +0100 (Mon, 27 Jan 2003) | 5 lines

Fixed constructor of wheel event.
Limited wheel event ticks to plus and minus one on Mac.
Maarten
PS Any volunteers for X11?

------------------------------------------------------------------------
r384 | maarten | 2003-01-27 22:36:07 +0100 (Mon, 27 Jan 2003) | 3 lines

Added GHOST_WheelEvent.h
Maarten

------------------------------------------------------------------------
r383 | maarten | 2003-01-27 22:35:26 +0100 (Mon, 27 Jan 2003) | 4 lines

Added mouse wheel support for windows.
Both gears (C and C++) projects contain an example.
Maarten

------------------------------------------------------------------------
r382 | larstiq | 2003-01-27 02:43:09 +0100 (Mon, 27 Jan 2003) | 8 lines


- Update the basic Makefile tips to reflect the current situation
- Update the upstream ODE site to it's current canonical location
- Update the location of bundled ODE to extern/
- Removed the manual unpacking of fmod for OSX, it's in lib/ now
- Add the #blendersauce irc channel to the contact information
- some minor cosmetic fixes

------------------------------------------------------------------------
r381 | sirdude | 2003-01-26 16:58:28 +0100 (Sun, 26 Jan 2003) | 14 lines



Took out the bit about --with-cxxflags= blah...

I added a if gcc
CXXFLAGS="$CXXFLAGS -funsigned-char"
CFLAGS="$CFLAGS -funsigned-char"

To replace it.

also added some -D's for various platforms that were in nan_compile.mk

Kent

------------------------------------------------------------------------
r380 | aphex | 2003-01-26 16:19:27 +0100 (Sun, 26 Jan 2003) | 3 lines

Merged the blenderpublisher and blendercreator targets for MSVC.
Should the old targets be removed or moved to /old?

------------------------------------------------------------------------
r379 | frank | 2003-01-26 14:12:29 +0100 (Sun, 26 Jan 2003) | 3 lines

- files are now compiled in a different location. So the include path
  to Python.h had to be adjusted

------------------------------------------------------------------------
r378 | frank | 2003-01-26 11:19:06 +0100 (Sun, 26 Jan 2003) | 2 lines

- create lib dir when compiling blender for windows

------------------------------------------------------------------------
r377 | larstiq | 2003-01-26 03:42:22 +0100 (Sun, 26 Jan 2003) | 9 lines


Get the Blender module back using the traditional makefiles, other
build systems (auto, msvc, PB) do not seem to have this problem.

- Change intern/python/freeze/Makefile to freeze outside of the source/ tree
- Change source/blender/bpython/Makefile to not build the frozen stuff anymore
- Change source/blender/bpython/intern/Makefile to use CURRENT_PYTHON_API
   instead of FUTURE_PYTHON_API, damage control

------------------------------------------------------------------------
r376 | aphex | 2003-01-24 22:25:07 +0100 (Fri, 24 Jan 2003) | 2 lines

last of the libjpeg-static.a -> libjpeg.a changes for MSVC.

------------------------------------------------------------------------
r375 | aphex | 2003-01-24 22:10:41 +0100 (Fri, 24 Jan 2003) | 3 lines

renamed libjpeg-static.a to libjpeg.a to suit NaN makefiles (for cygwin)
and updated the MSVC project files.

------------------------------------------------------------------------
r374 | larstiq | 2003-01-24 17:53:47 +0100 (Fri, 24 Jan 2003) | 3 lines


Use saner defaults on Linux

------------------------------------------------------------------------
r373 | sgefant | 2003-01-24 08:18:30 +0100 (Fri, 24 Jan 2003) | 3 lines

make switching to bottom, back, and left view (shift+pad7, shift+pad1
and shift+pad1) work when in camera view

------------------------------------------------------------------------
r372 | sirdude | 2003-01-24 07:00:38 +0100 (Fri, 24 Jan 2003) | 7 lines



Fixed up the code so it compiles.  (Basically added one more arg to
GHOST_CreateWindow)

Kent

------------------------------------------------------------------------
r371 | sirdude | 2003-01-24 06:52:25 +0100 (Fri, 24 Jan 2003) | 8 lines



fixed 3 warnings...

One uninitalized var and 2 unused vars.

Kent

------------------------------------------------------------------------
r370 | sirdude | 2003-01-24 06:32:14 +0100 (Fri, 24 Jan 2003) | 8 lines



Fixed doxygen so it would run again for ghost....
My first time using it so I may have done it wrong but it produces the
docs now and it didn't before so maybe someone else wants to look at it ;)

Kent

------------------------------------------------------------------------
r369 | hos | 2003-01-24 02:57:24 +0100 (Fri, 24 Jan 2003) | 3 lines

Changed NAN_PYTHON_VERSION from 2.0 to 2.2 for the
windows build.

------------------------------------------------------------------------
r368 | maarten | 2003-01-23 22:39:29 +0100 (Thu, 23 Jan 2003) | 4 lines

First light of mouse wheel support.
Only working (soso) on osx.
Maarten

------------------------------------------------------------------------
r367 | maarten | 2003-01-23 21:14:02 +0100 (Thu, 23 Jan 2003) | 3 lines

updated paths to Python
Maarten

------------------------------------------------------------------------
r366 | maarten | 2003-01-23 19:18:51 +0100 (Thu, 23 Jan 2003) | 3 lines

removed isect.c
Maarten

------------------------------------------------------------------------
r365 | phase | 2003-01-23 17:39:17 +0100 (Thu, 23 Jan 2003) | 2 lines

added showlinenrs variable to spacetext

------------------------------------------------------------------------
r364 | phase | 2003-01-23 17:38:12 +0100 (Thu, 23 Jan 2003) | 2 lines

added headerbutton for drawing of linenumbers

------------------------------------------------------------------------
r363 | phase | 2003-01-23 17:37:40 +0100 (Thu, 23 Jan 2003) | 2 lines

added drawing of linenumbers in the texteditor

------------------------------------------------------------------------
r362 | phase | 2003-01-23 17:36:47 +0100 (Thu, 23 Jan 2003) | 2 lines

added buttondefine to show linenumbers

------------------------------------------------------------------------
r361 | sirdude | 2003-01-22 04:09:30 +0100 (Wed, 22 Jan 2003) | 7 lines



Looks like the two definitions were inside constructors duh....
So I'm reverting.

Kent

------------------------------------------------------------------------
r360 | h_xnan | 2003-01-22 00:11:10 +0100 (Wed, 22 Jan 2003) | 6 lines

- Tired of copying the latest tinderbox-blender.pl from CVS to ~tinderbox/ ?
    touch enableTinderboxAutoUpdate
  in ~tinderbox/ and tinderbox-blender.pl updates itself from CVS from now on.
  This has interesting security implications, you might want to set up a jail.
- Fix nanguess hint overwriting.

------------------------------------------------------------------------
r359 | sirdude | 2003-01-21 19:31:50 +0100 (Tue, 21 Jan 2003) | 13 lines



This commit may need to be reversed, for some of the older compilers but
I'm guessing its safe.

Basically it fixes a warning about typedef usage.
Reading the docs on gcc-3.2 it says that classes that use a typedef
need to have the keyword "typename" infront of them according to the c++
standard.  Currently it only produces a warning but it may be an
error later, so I figured why not fix it.

Kent

------------------------------------------------------------------------
r358 | sirdude | 2003-01-21 19:30:44 +0100 (Tue, 21 Jan 2003) | 7 lines



Removed two local vars that were set and then never used.
(for example heres one:   bool isActor = objprop->m_isactor;)

Kent

------------------------------------------------------------------------
r357 | larstiq | 2003-01-20 02:49:17 +0100 (Mon, 20 Jan 2003) | 4 lines


Sigh, of course guessconfig depends on SRCHOME before make commences, export
it again.

------------------------------------------------------------------------
r356 | larstiq | 2003-01-20 01:01:05 +0100 (Mon, 20 Jan 2003) | 3 lines


Create dist/lib so the build can create it's library as expected

------------------------------------------------------------------------
r355 | larstiq | 2003-01-20 00:02:47 +0100 (Mon, 20 Jan 2003) | 4 lines


- Change tinderbox to use the toplevel Makefile
- remove old cruft

------------------------------------------------------------------------
r354 | larstiq | 2003-01-19 23:30:56 +0100 (Sun, 19 Jan 2003) | 3 lines


Reenable the ode build on Linux

------------------------------------------------------------------------
r353 | h_xnan | 2003-01-19 22:17:45 +0100 (Sun, 19 Jan 2003) | 6 lines

reshuffle the 'install' target :
- 'all' in extern/ first builds every subdir, then also 'install's the
  header files and the library. This way a top-level Makefile only needs
  to call 'all' for extern/ and have it build and install.
- 'clean' still works as it should

------------------------------------------------------------------------
r352 | sirdude | 2003-01-19 15:13:50 +0100 (Sun, 19 Jan 2003) | 9 lines



changed:
#else !_APPLE
to:
#else /* !_APPLE */

Kent

------------------------------------------------------------------------
r351 | sirdude | 2003-01-19 10:04:23 +0100 (Sun, 19 Jan 2003) | 7 lines



I updated the sumo includes paths to point to the right places...
Probably can just remove the lines from these files but ohh well :)

Kent

------------------------------------------------------------------------
r350 | sirdude | 2003-01-19 09:45:49 +0100 (Sun, 19 Jan 2003) | 17 lines



I modified the header so that it didn't warn about comment inside of a comment.

Changed
/* id blah
/* text
 */

to
/*
 * id blah
 * text
 */

Kent

------------------------------------------------------------------------
r349 | sirdude | 2003-01-19 09:39:58 +0100 (Sun, 19 Jan 2003) | 8 lines



I took out:    isect.c

since its no longer there.

Kent

------------------------------------------------------------------------
r348 | larstiq | 2003-01-18 22:12:55 +0100 (Sat, 18 Jan 2003) | 4 lines


Finally a toplevel Makefile, all it does is prepare the environment and call
make in extern/, intern/ and source/

------------------------------------------------------------------------
r347 | h_xnan | 2003-01-17 00:46:25 +0100 (Fri, 17 Jan 2003) | 4 lines

Juggle around the nanguess cache and hints file.
Basically the /tmp/.nanguess idea was copied, but a manual kickstart is
now mandatory. Explanations are printed when nanguess is not found.

------------------------------------------------------------------------
r346 | h_xnan | 2003-01-16 23:05:57 +0100 (Thu, 16 Jan 2003) | 4 lines

- add extern/ handling
- change 'export' so that Solaris gets it too ;-) Now this script's name
  is very wrong.

------------------------------------------------------------------------
r345 | larstiq | 2003-01-15 16:19:24 +0100 (Wed, 15 Jan 2003) | 3 lines

Add some code to be able to do an autotools build with tinderbox, as well as
the traditional one.

------------------------------------------------------------------------
r344 | maarten | 2003-01-15 15:51:47 +0100 (Wed, 15 Jan 2003) | 3 lines

fixed missing frozen files
Maarten

------------------------------------------------------------------------
r343 | maarten | 2003-01-15 15:51:23 +0100 (Wed, 15 Jan 2003) | 3 lines

fixed the missing copy of the header file
Maarten

------------------------------------------------------------------------
r342 | h_xnan | 2003-01-15 00:01:28 +0100 (Wed, 15 Jan 2003) | 4 lines

- replace the eval src=\${$i}; expressions with 'shift' construction as
  $10 and larger do not work on Solaris' ancient /bin/sh :-P
- also remove the '-q' from diff as it is a GNU-ism

------------------------------------------------------------------------
r341 | h_xnan | 2003-01-14 23:24:05 +0100 (Tue, 14 Jan 2003) | 2 lines

kill the obsolete and annoying /tmp/.nanguess cache

------------------------------------------------------------------------
r340 | sirdude | 2003-01-14 22:41:03 +0100 (Tue, 14 Jan 2003) | 10 lines



changed calls to perl to
#!/usr/bin/env perl

Now you just need to make sure perl is in your path.
Note: this was suggested by Han's not LarstiQ sorry.

Kent

------------------------------------------------------------------------
r339 | sirdude | 2003-01-14 20:08:56 +0100 (Tue, 14 Jan 2003) | 22 lines



I took out adding ode to the directorys to build in blender/source/Makefile
since its no longer there.  Here is the diff.

Kent

Index: Makefile
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile    11 Jan 2003 22:47:48 -0000      1.24
+++ Makefile    14 Jan 2003 19:06:59 -0000
@@ -39,9 +39,6 @@
 include nan_definitions.mk

 DIRS = creator blender kernel gameengine
-ifneq ($(OS),$(findstring $(OS), "darwin freebsd irix linux"))
-    DIRS += ode
-endif

------------------------------------------------------------------------
r338 | loczar | 2003-01-13 20:25:57 +0100 (Mon, 13 Jan 2003) | 3 lines

Made debug build of blender creator use the debug libraries from intern.
(visual C++)

------------------------------------------------------------------------
r337 | loczar | 2003-01-13 20:23:58 +0100 (Mon, 13 Jan 2003) | 4 lines

Remove isect.c
from the BL_src.dsp (visual c++ project file)
Goodbye isect

------------------------------------------------------------------------
r336 | loczar | 2003-01-13 20:20:34 +0100 (Mon, 13 Jan 2003) | 5 lines

Remove BDR_isect.h

The purpose of this and the previous commit is to remove the old mesh
intersection function (activated by the "Intersect" button in the mesh buts)

------------------------------------------------------------------------
r335 | loczar | 2003-01-13 20:17:55 +0100 (Mon, 13 Jan 2003) | 2 lines

Remove isect.c sorry Ton :-(

------------------------------------------------------------------------
r334 | loczar | 2003-01-13 20:07:01 +0100 (Mon, 13 Jan 2003) | 2 lines

Get rid of call to isect - the old (but loved)interection function.

------------------------------------------------------------------------
r332 | loczar | 2003-01-12 20:48:53 +0100 (Sun, 12 Jan 2003) | 10 lines

Hello,
*Fixed boolean buglet in the bsp lib. I have not committed any libraries so you'll
have to do this to see the changes in blender.
*Got the bsp test program working again with the new GHOST createWindow
interface.
*(Visual C++) Modfied some of the dsp in the intern library to NOT prompt when
overwirting old libs and header files. This is the /Y option after XCOPY
Cheers
Laurence.

------------------------------------------------------------------------
r331 | frank | 2003-01-12 11:52:45 +0100 (Sun, 12 Jan 2003) | 2 lines

- ode now compiles and installs under MSVC / cygwin

------------------------------------------------------------------------
r330 | h_xnan | 2003-01-12 07:12:25 +0100 (Sun, 12 Jan 2003) | 2 lines

kill unneccesary python ramblings on Solaris

------------------------------------------------------------------------
r329 | h_xnan | 2003-01-12 00:20:10 +0100 (Sun, 12 Jan 2003) | 5 lines

Enable automated build and install runs on FreeBSD for ODE.
ODE does not build on FreeBSD out of the box, so an automated patchfile
is included as well.
The 'clean' target reverses the patches that were done by 'all'.

------------------------------------------------------------------------
r328 | h_xnan | 2003-01-11 23:47:48 +0100 (Sat, 11 Jan 2003) | 2 lines

don't try to link against ODE on Irix

------------------------------------------------------------------------
r327 | h_xnan | 2003-01-11 23:10:00 +0100 (Sat, 11 Jan 2003) | 2 lines

skip BlOde for irix

------------------------------------------------------------------------
r326 | h_xnan | 2003-01-11 20:14:34 +0100 (Sat, 11 Jan 2003) | 4 lines

Build and install ode in lib/<platform>
Only enabled for Linux now, and not even tested yet :-P (what do you
mean 'in a hurry' ;-)

------------------------------------------------------------------------
r325 | h_xnan | 2003-01-11 18:40:16 +0100 (Sat, 11 Jan 2003) | 2 lines

skip test traversal for Irix (on request of JWalton)

------------------------------------------------------------------------
r324 | larstiq | 2003-01-11 03:37:11 +0100 (Sat, 11 Jan 2003) | 3 lines


Revert NAN_OPENSSL to it's previous value of '/usr' on FreeBSD

------------------------------------------------------------------------
r323 | sirdude | 2003-01-10 23:45:25 +0100 (Fri, 10 Jan 2003) | 14 lines



I went whole hog on the definitions  each platform has its own block
and there is a block at the very end for platforms not specified above.

(not all of the defintions are in the platform's for example there
is no need for  export NAN_IKSOLVER ?= $(LCGDIR)/iksolver
to be repeated all over the place, all of the ones you'll probably
want to change are in the platform specific blocks though)

This allows all platforms to be overridden by env vars...

Kent

------------------------------------------------------------------------
r322 | sirdude | 2003-01-10 17:15:49 +0100 (Fri, 10 Jan 2003) | 8 lines



modified the default path to python for macosX to /sw

which is where fink puts it.

Kent

------------------------------------------------------------------------
r321 | sirdude | 2003-01-09 19:36:50 +0100 (Thu, 09 Jan 2003) | 16 lines



Not sure why my last commit didn't get emailed to the group anyway.
I reverted the file because it didn't work the way I thought it did.

It seems if you do
NAN_PYTHON ?= blah
NAN_PYTHON ?= blah2

It gets set to blah2 instead of blah...

I'm going to work on setting up each platform in its own block,
that way we can still use env vars to override the special cases.

Kent

------------------------------------------------------------------------
r320 | sirdude | 2003-01-09 19:19:37 +0100 (Thu, 09 Jan 2003) | 12 lines



I moved the platform specific stuff above the generic stuff.
(This enables us to set everything with ?= and
then we can override things with environment vars no matter what...)

I also removed the ode defs in the platform specific dir and
replaced the generic one with since the old default no longer worked anyway.
    export NAN_ODE ?= $(LCGDIR)/ode

Kent

------------------------------------------------------------------------
r319 | sirdude | 2003-01-07 19:16:58 +0100 (Tue, 07 Jan 2003) | 13 lines



Added another fink bit under the macosX instructions.

6. python22 ((addes the static lib for python) fink install python22)
        You will probably want to select python22-nox-shlibs when
        it asks you.

        After you have done this you should install the mx lib from:
        http://www.egenix.com/files/python/mxTextTools.html

Kent

------------------------------------------------------------------------
r318 | larstiq | 2003-01-07 06:08:10 +0100 (Tue, 07 Jan 2003) | 3 lines


Linux now also uses ode from lib/

------------------------------------------------------------------------
r316 | sgefant | 2003-01-07 02:26:30 +0100 (Tue, 07 Jan 2003) | 3 lines

enable more targets (blendercreator,blenderplayer,blenderpublisher) for
darwin

------------------------------------------------------------------------
r315 | sgefant | 2003-01-07 01:18:59 +0100 (Tue, 07 Jan 2003) | 13 lines

added a buch of

#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
(also for <GL/glu.h>)

so that people don't have to create symlinks in
/System/Library/Frameworks/OpenGL.framework on Mac OS X
(Charles Wardlaw)

------------------------------------------------------------------------
r314 | h_xnan | 2003-01-07 00:01:28 +0100 (Tue, 07 Jan 2003) | 2 lines

John Walton's changes for Irix mips3 (NaN makefiles build)

------------------------------------------------------------------------
r313 | sirdude | 2003-01-06 22:45:02 +0100 (Mon, 06 Jan 2003) | 13 lines



Ok took out the ln -s for the GL headers.
A little looking shows that MacOSX uses OpenGL/blah.h
instead of GL/blah.h

Looks like time for more ifdef's

I also added a note to fink install cvs
(fixes a bug in the cvs you get by default with empty dirs)

Kent

------------------------------------------------------------------------
r312 | maarten | 2003-01-06 22:38:26 +0100 (Mon, 06 Jan 2003) | 3 lines

updates because of python changes
Maarten

------------------------------------------------------------------------
r311 | sirdude | 2003-01-06 22:30:28 +0100 (Mon, 06 Jan 2003) | 12 lines



Ok hopefully this is the last one for macosX ;)

Added this:
Step 4:
cd /System/Library/Frameworks/OpenGL.framework/
ln -s Headers GL


Kent

------------------------------------------------------------------------
r310 | sirdude | 2003-01-06 22:09:09 +0100 (Mon, 06 Jan 2003) | 7 lines



added for MacOSX instructions:  (This has the static lib for libcrypto)
2. openssl-dev (fink install openssl-dev)

Kent

------------------------------------------------------------------------
r309 | sirdude | 2003-01-06 21:23:45 +0100 (Mon, 06 Jan 2003) | 6 lines



Updated the fink calls to libjpeg and libpng instead of just jpeg and png.

Kent

------------------------------------------------------------------------
r308 | michel | 2003-01-06 18:27:43 +0100 (Mon, 06 Jan 2003) | 5 lines

Removed references to modules that do not exist. The python interface is
broken, but it should give 0 errors when building.

Michel

------------------------------------------------------------------------
r307 | sgefant | 2003-01-06 18:22:57 +0100 (Mon, 06 Jan 2003) | 2 lines

on Mac OS X run ranlib on libfrozen.a after creating it

------------------------------------------------------------------------
r306 | frank | 2003-01-05 18:58:46 +0100 (Sun, 05 Jan 2003) | 3 lines

- DEFFILE needed for linking Netscape Blender plugin now points to local
  version of npB3DPlg.def

------------------------------------------------------------------------
r304 | h_xnan | 2003-01-05 15:38:58 +0100 (Sun, 05 Jan 2003) | 4 lines

A small script that sets some environment variables and then calls the
NaN makefiles to build blender (intern/ and source/)
Targetted at FreeBSD, but might work elsewhere too :)

------------------------------------------------------------------------
r303 | h_xnan | 2003-01-05 15:28:33 +0100 (Sun, 05 Jan 2003) | 2 lines

cleanup.

------------------------------------------------------------------------
r302 | h_xnan | 2003-01-05 15:27:57 +0100 (Sun, 05 Jan 2003) | 2 lines

remove ssr leftovers

------------------------------------------------------------------------
r301 | sirdude | 2003-01-05 05:06:07 +0100 (Sun, 05 Jan 2003) | 14 lines



I don't think this went through last time so trying again :)

Anyway I modified the math calls to be a little more generic..
i.e. changed this:
cpargs=$(($numargs - 1))
to this:
cpargs=`expr $numargs - 1`

Was causing a problem under solaris....

Kent

------------------------------------------------------------------------
r300 | h_xnan | 2003-01-05 00:20:36 +0100 (Sun, 05 Jan 2003) | 3 lines

- build only once per hour, maybe we should go even slower for now
- remove debugging email addres (mine ;-)

------------------------------------------------------------------------
r299 | h_xnan | 2003-01-04 23:33:23 +0100 (Sat, 04 Jan 2003) | 2 lines

kill jot, it appears to be a BSD-ism

------------------------------------------------------------------------
r298 | h_xnan | 2003-01-04 22:58:47 +0100 (Sat, 04 Jan 2003) | 2 lines

check the right obj place

------------------------------------------------------------------------
r297 | sgefant | 2003-01-04 22:58:04 +0100 (Sat, 04 Jan 2003) | 8 lines

cpifdiff.sh died with an error when $(LCGDIR)/$(LIBNAME)/include/blenkey.h
didn't exist instead of installing it as it should.

-       @../tools/cpifdiff.sh blenkey.h $(LCGDIR)/$(LIBNAME)/include/blenkey.h
+       @../tools/cpifdiff.sh blenkey.h $(LCGDIR)/$(LIBNAME)/include/

sgefant

------------------------------------------------------------------------
r296 | h_xnan | 2003-01-04 21:20:54 +0100 (Sat, 04 Jan 2003) | 4 lines

- use ODE in lib/ for FreeBSD
- use default python library path
- remove obsolete SSR comments

------------------------------------------------------------------------
r294 | michel | 2003-01-04 19:36:50 +0100 (Sat, 04 Jan 2003) | 5 lines

Check only for libode when --enable-gameblender is specified. Quit with an
error when libode is not found.

Michel

------------------------------------------------------------------------
r293 | frank | 2003-01-04 19:17:50 +0100 (Sat, 04 Jan 2003) | 6 lines

- replaced #elif with more correct version:

< #elif _WIN32
---
> #elif defined(_WIN32)

------------------------------------------------------------------------
r292 | michel | 2003-01-04 18:31:11 +0100 (Sat, 04 Jan 2003) | 4 lines

libfrozen will be built only once until one of the python files is changed.

Michel

------------------------------------------------------------------------
r291 | frank | 2003-01-04 18:18:50 +0100 (Sat, 04 Jan 2003) | 3 lines

- replaced files with the original versions that also contain 32x32 and
  8 bit icons.

------------------------------------------------------------------------
r290 | frank | 2003-01-04 17:49:57 +0100 (Sat, 04 Jan 2003) | 6 lines

- current cywins come with perl in /usr/bin

< #!/usr/local/bin/perl
---
> #!/usr/bin/perl

------------------------------------------------------------------------
r289 | frank | 2003-01-04 17:46:49 +0100 (Sat, 04 Jan 2003) | 2 lines

- on windows alcGetError() has no arguments. On other platforms it does.

------------------------------------------------------------------------
r288 | frank | 2003-01-04 17:29:09 +0100 (Sat, 04 Jan 2003) | 2 lines

- we're using python22.lib instead of python20.lib nowadays

------------------------------------------------------------------------
r287 | frank | 2003-01-04 17:27:26 +0100 (Sat, 04 Jan 2003) | 4 lines

- when compiling on windows, override CC=gcc with CC=..../cl_wrapper.pl
  and use the Python.h in the lib/windows/python/include directory.
  MSVC++ doesn't like linking with a gcc compiled frozen library.

------------------------------------------------------------------------
r286 | h_xnan | 2003-01-04 16:07:25 +0100 (Sat, 04 Jan 2003) | 2 lines

Workaround for the header file copying dependency hell

------------------------------------------------------------------------
r285 | h_xnan | 2003-01-04 11:54:11 +0100 (Sat, 04 Jan 2003) | 3 lines

- add hostname
- remove scp stuff

------------------------------------------------------------------------
r284 | h_xnan | 2003-01-04 02:41:19 +0100 (Sat, 04 Jan 2003) | 2 lines

and the other FreeBSD python locations.

------------------------------------------------------------------------
r283 | h_xnan | 2003-01-04 01:40:47 +0100 (Sat, 04 Jan 2003) | 2 lines

another FreeBSD python location change

------------------------------------------------------------------------
r282 | h_xnan | 2003-01-04 01:35:01 +0100 (Sat, 04 Jan 2003) | 3 lines

start using platform default locations for FreeBSD.
try not to break anything for other platforms.

------------------------------------------------------------------------
r281 | h_xnan | 2003-01-04 01:33:53 +0100 (Sat, 04 Jan 2003) | 15 lines

Start making this script ready for the open source blender.
Quick start (also see my bf-committers email):
1) make a useraccount named 'tinderbox'
2) copy intern/tools/tinderbox/tinderbox-blender.pl to ~tinderbox/
3) su - tinderbox
4) touch .cvspass
5) (tcsh assumed) setenv CVSROOT :pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender
6) cvs login (password is anonymous)
7) ./tinderbox-blender.pl

8) beat tinderbox-blender.pl into submission and look at
   http://tinderbox.blender.org/showbuilds.cgi?tree=source for its results.
9) make your changes such that they do not interfere with other
   platforms (duh) and commit them.

------------------------------------------------------------------------
r280 | h_xnan | 2003-01-04 01:19:53 +0100 (Sat, 04 Jan 2003) | 2 lines

Use FreeBSD's default python location when on FreeBSD

------------------------------------------------------------------------
r279 | h_xnan | 2003-01-03 23:51:49 +0100 (Fri, 03 Jan 2003) | 13 lines

Start using platform default locations of libraries that used to be in
lib/ and came from extern/ (which isn't in the new repository at all)

So use stuff like:

   ifeq ($(OS),freebsd)
     export NAN_OPENSSL ?= /usr
   else
     export NAN_OPENSSL ?= $(LCGDIR)/openssl
   endif

Hans

------------------------------------------------------------------------
r278 | michel | 2003-01-03 22:36:16 +0100 (Fri, 03 Jan 2003) | 14 lines

These updates enable the build of the gameengine
(configure --enable-gameengine). However, you still need to manually configure,
compile and install ode.

* Following the original NaN makefile, I removed the TerraplayNetwork files
  from the build. (Moved the two files to EXTRA_DIST).

* Pass a const char * to Py_BuildValue instead of a STR_String in
  BL_ActionActuator.cpp

* Added some include directories in Makefile.am's

Michel

------------------------------------------------------------------------
r277 | sirdude | 2003-01-03 22:25:08 +0100 (Fri, 03 Jan 2003) | 9 lines



I had a slight typo in the MOZILLA includes for these testfiles:

-CPPFLAGS += -I$(NAN_MOZILLA_INC)/include/nspr
+CPPFLAGS += -I$(NAN_MOZILLA_INC)/nspr

Kent

------------------------------------------------------------------------
r276 | sirdude | 2003-01-03 17:01:12 +0100 (Fri, 03 Jan 2003) | 7 lines



Added the following prototype to get rid of another warning:
void pub_priv_test(char *HexPriv, char *HexPub);

Kent

------------------------------------------------------------------------
r275 | sirdude | 2003-01-03 16:53:46 +0100 (Fri, 03 Jan 2003) | 65 lines



Two small updates to fix warnings.

The first is renaming fv_data to fv_data2 to get rid of a shadow warning
second is an unused var that was an extra uneeded call to fabs.

Diff included:

Kent
--
mein@cs.umn.edu

Index: BSP_CSGMeshBuilder.cpp
===================================================================
RCS file: /cvsroot/bf-blender/blender/intern/bsp/intern/BSP_CSGMeshBuilder.cpp,v
retrieving revision 1.3
diff -u -r1.3 BSP_CSGMeshBuilder.cpp
--- BSP_CSGMeshBuilder.cpp      25 Nov 2002 09:52:48 -0000      1.3
+++ BSP_CSGMeshBuilder.cpp      3 Jan 2003 15:47:15 -0000
@@ -89,13 +89,13 @@
        }

        if (props.user_face_vertex_data_size) {
-               char * fv_data = NULL;
-               fv_data = new char[4 * props.user_face_vertex_data_size];
+               char * fv_data2 = NULL;
+               fv_data2 = new char[4 * props.user_face_vertex_data_size];

-               face.user_face_vertex_data[0] = fv_data;
-               face.user_face_vertex_data[1] = fv_data + props.user_face_vertex
_data_size;
-               face.user_face_vertex_data[2] = fv_data + 2*props.user_face_vert
ex_data_size;
-               face.user_face_vertex_data[3] = fv_data + 3*props.user_face_vert
ex_data_size;
+               face.user_face_vertex_data[0] = fv_data2;
+               face.user_face_vertex_data[1] = fv_data2 + props.user_face_verte
x_data_size;
+               face.user_face_vertex_data[2] = fv_data2 + 2*props.user_face_ver
tex_data_size;
+               face.user_face_vertex_data[3] = fv_data2 + 3*props.user_face_ver
tex_data_size;
        } else {
                face.user_face_vertex_data[0] = NULL;
                face.user_face_vertex_data[1] = NULL;
[9:47] ~/blender/intern/bsp/intern(mein@captcrab) % cvs diff BSP_MeshFragment.cp
p
Index: BSP_MeshFragment.cpp
===================================================================
RCS file: /cvsroot/bf-blender/blender/intern/bsp/intern/BSP_MeshFragment.cpp,v
retrieving revision 1.3
diff -u -r1.3 BSP_MeshFragment.cpp
--- BSP_MeshFragment.cpp        25 Nov 2002 09:52:48 -0000      1.3
+++ BSP_MeshFragment.cpp        3 Jan 2003 15:47:21 -0000
@@ -106,8 +106,6 @@
                if (BSP_Classification(vert.OpenTag()) == e_unclassified)
                {
                        MT_Scalar sdistance = plane.signedDistance(vert.m_pos);
-                       MT_Scalar fsdistance = fabs(sdistance);
-
                        if (fabs(sdistance) <= BSP_SPLIT_EPSILON) {
                                // this vertex is on
                                vert.SetOpenTag(e_classified_on);

------------------------------------------------------------------------
r274 | sateh | 2003-01-03 13:54:42 +0100 (Fri, 03 Jan 2003) | 2 lines

Last test. I removed the TEST file. Have fun with your new CVS rep :-)

------------------------------------------------------------------------
r273 | sateh | 2003-01-03 13:36:23 +0100 (Fri, 03 Jan 2003) | 2 lines

Second test. Almost there :-)

------------------------------------------------------------------------
r272 | sateh | 2003-01-03 13:33:37 +0100 (Fri, 03 Jan 2003) | 2 lines

This is just a test. Ignore me.

------------------------------------------------------------------------
r271 | mein | 2003-01-02 22:41:07 +0100 (Thu, 02 Jan 2003) | 7 lines



Modifications I mentioned earlyer convering to MailTools instead of
system calls.

Kent

------------------------------------------------------------------------
r270 | michel | 2003-01-02 22:16:33 +0100 (Thu, 02 Jan 2003) | 5 lines

The only file left to update for the 'make dist-gzip'.
Should work now...

Michel

------------------------------------------------------------------------
r269 | michel | 2003-01-02 21:18:12 +0100 (Thu, 02 Jan 2003) | 11 lines

Some more updates to get 'make distdir', 'make dist-gzip', and
possibly some more dist-... targets to work.
It should be possible to build a blender from such a distribution
package. Only tested on Linux.

Not all NAN-Makefiles are included yet. Still working on that.
Also none of the test stuff is included, no documentation, no...
only the sources to build blender :)

Michel

------------------------------------------------------------------------
r268 | maarten | 2003-01-01 23:32:35 +0100 (Wed, 01 Jan 2003) | 5 lines

Added fix for invisible size widget on OSX.
It's still behind a define because it does not work with
blender (player and gears work fine).
Maarten

------------------------------------------------------------------------
r267 | maarten | 2003-01-01 22:35:51 +0100 (Wed, 01 Jan 2003) | 6 lines

Added mouse down event when window was activated by
clicking on it. The mouse up was already generated. They
are now balanced by mouse downs. The behaviour of the
OSX target now matches that of the WIN32 target.
Maarten

------------------------------------------------------------------------
r266 | maarten | 2003-01-01 22:31:36 +0100 (Wed, 01 Jan 2003) | 3 lines

Fix for lots of window size events during window drag
Maarten

------------------------------------------------------------------------
r265 | maarten | 2003-01-01 22:30:39 +0100 (Wed, 01 Jan 2003) | 3 lines

Enabled event printer in debug target to trace event handling in ghost.
Maarten

------------------------------------------------------------------------
r264 | maarten | 2003-01-01 22:20:10 +0100 (Wed, 01 Jan 2003) | 3 lines

Removed injust assertion failure when clicking on the menu bar. Debug target would complain about an invalid window.
Maarten

------------------------------------------------------------------------
r263 | maarten | 2003-01-01 21:42:27 +0100 (Wed, 01 Jan 2003) | 3 lines

Added test for events pending for windows already disposed. These events are removed from the event stack now.
Maarten

------------------------------------------------------------------------
r262 | maarten | 2003-01-01 21:31:12 +0100 (Wed, 01 Jan 2003) | 3 lines

Removed unused vars.
Maarten

------------------------------------------------------------------------
r261 | maarten | 2003-01-01 21:23:42 +0100 (Wed, 01 Jan 2003) | 4 lines

Fixed ghost full-screen problem
After switching back from full-screen, the active window is returned to the one active before full-screen mode was entered.
Maarten

------------------------------------------------------------------------
r260 | maarten | 2003-01-01 20:57:02 +0100 (Wed, 01 Jan 2003) | 3 lines

Fixed some documentation errors
Maarten

------------------------------------------------------------------------
r259 | mein | 2003-01-01 19:28:31 +0100 (Wed, 01 Jan 2003) | 8 lines



Finished cleaning up the ik directory removing unused files.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r258 | mein | 2003-01-01 19:11:26 +0100 (Wed, 01 Jan 2003) | 10 lines



I added the two patches Chris and I pointed too back in Nov.
(Adding Window Hints and giving the window input focus after it has
been raised.)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r257 | mein | 2003-01-01 18:47:20 +0100 (Wed, 01 Jan 2003) | 8 lines



Rob's patches for the slow render problem.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r256 | hos | 2003-01-01 16:11:07 +0100 (Wed, 01 Jan 2003) | 7 lines

Initial commit of 'release'.

These 2 got files missed because the * wildcard didn't match the
'.' at the beginning of the names (%$&#*!)

Chris

------------------------------------------------------------------------
r255 | hos | 2003-01-01 16:06:10 +0100 (Wed, 01 Jan 2003) | 20 lines

Initial commit of the 'release' directory (splash screen/icon
junkies will be happy to find the datatoc.c program in the
datafiles directory).

Some quick notes:

* 'datafiles' has the version 2.21 splash.jpg and blenderbuttons (e.g., so
no NLA icon). Someone should at least get the 2.25 blenderbuttons from
somewhere and commit them.

* 'text' has obsolete content/license

* I did not include the python scripts as they have copyright
Jan Walter and no license specified.

* I changed to unix line terminators everywhere with the exeption of the
'windows' directory.

Chris

------------------------------------------------------------------------
r254 | hos | 2003-01-01 03:07:47 +0100 (Wed, 01 Jan 2003) | 7 lines

A kludge to use the right compiler while freezing
using gcc under Irix -- without this it uses only
'cc -n32' (since this is what the sgi employee
who compiled the python stuff used).

Chris

------------------------------------------------------------------------
r253 | michel | 2002-12-31 16:52:29 +0100 (Tue, 31 Dec 2002) | 5 lines

Fixed layout issues (indenting).
Now tabs should have been inserted. Grumble...

Michel

------------------------------------------------------------------------
r252 | michel | 2002-12-31 16:38:41 +0100 (Tue, 31 Dec 2002) | 4 lines

First attempt to get make dist-gzip work.

Michel

------------------------------------------------------------------------
r251 | mein | 2002-12-31 15:43:16 +0100 (Tue, 31 Dec 2002) | 8 lines



changed back to char :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r250 | mein | 2002-12-31 12:54:33 +0100 (Tue, 31 Dec 2002) | 29 lines



Sorry about that this is part of the last update.  I ment to cancel it
and include both files.

Anyway I was fixing the warning with ascii char...  Here is the diff for
editfont.c (the .h was just fixing the header to match it)

Kent

Index: editfont.c
===================================================================
RCS file: /cvs01/blender/source/blender/src/editfont.c,v
retrieving revision 1.3
diff -u -r1.3 editfont.c
--- editfont.c  25 Nov 2002 12:02:05 -0000      1.3
+++ editfont.c  31 Dec 2002 11:52:10 -0000
@@ -226,11 +226,12 @@
        }
 }

-void do_textedit(unsigned short event, short val, char ascii)
+void do_textedit(unsigned short event, short val, unsigned char _ascii)
 {
        Curve *cu;
        static int accentcode= 0;
        int x, doit=0, cursmove=0;
+        int ascii = _ascii;

------------------------------------------------------------------------
r249 | mein | 2002-12-31 12:53:03 +0100 (Tue, 31 Dec 2002) | 4 lines



:q!

------------------------------------------------------------------------
r248 | mein | 2002-12-30 21:15:07 +0100 (Mon, 30 Dec 2002) | 27 lines



Updated the spacebar toolbox so the fonts are moved up 2 pixels.

It was causing funky artifacts on some letters that dropped down into the
background.

Here is the diff

Kent


Index: toolbox.c
===================================================================
RCS file: /cvs01/blender/source/blender/src/toolbox.c,v
retrieving revision 1.5
diff -u -r1.5 toolbox.c
--- toolbox.c   22 Dec 2002 13:43:21 -0000      1.5
+++ toolbox.c   30 Dec 2002 20:13:51 -0000
@@ -506,7 +506,7 @@
        oldcursor= get_cursor();
        set_cursor(CURSOR_STD);

-       tbfontyofs= (TBOXH-11)/2;       /* toolbox, hier stond ooit getheigh */
+       tbfontyofs= (TBOXH-11)/2 +2;    /* toolbox, hier stond ooit getheigh */
 }

------------------------------------------------------------------------
r247 | maarten | 2002-12-30 13:11:03 +0100 (Mon, 30 Dec 2002) | 3 lines

removed second CVS id tags, cleaned up new lines
Maarten

------------------------------------------------------------------------
r246 | maarten | 2002-12-30 10:25:52 +0100 (Mon, 30 Dec 2002) | 3 lines

small correction to temporary and output directory
Maarten

------------------------------------------------------------------------
r245 | mein | 2002-12-30 08:15:47 +0100 (Mon, 30 Dec 2002) | 11 lines



renamed a var to avoid name conflicts...
In the header its just this..
-void initjit(float *jit, int num)
+void initjit(float *jitarr, int num)

its respectively renamed in jitter.c

Kent

------------------------------------------------------------------------
r244 | mein | 2002-12-30 08:13:26 +0100 (Mon, 30 Dec 2002) | 36 lines



Removed another unused var and cleaned up a couple of lines of code

Here is the diff

Kent

Index: GameLogic/SCA_KeyboardSensor.cpp
===================================================================
RCS file: /cvs01/blender/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp,v
retrieving revision 1.3
diff -u -r1.3 SCA_KeyboardSensor.cpp
--- GameLogic/SCA_KeyboardSensor.cpp    25 Nov 2002 15:29:42 -0000      1.3
+++ GameLogic/SCA_KeyboardSensor.cpp    30 Dec 2002 07:09:42 -0000
@@ -167,14 +167,14 @@
        } else
        {

-         //            cerr << "======= SCA_KeyboardSensor::Evaluate:: peeking at key status" << endl;
-               const SCA_InputEvent & inevent = inputdev->GetEventValue((SCA_IInputDevice::KX_EnumInputs) m_hotkey);
+       //              cerr << "======= SCA_KeyboardSensor::Evaluate:: peeking at key status" << endl;
+               const SCA_InputEvent & inevent = inputdev->GetEventValue(
+                       (SCA_IInputDevice::KX_EnumInputs) m_hotkey);

-               //              cerr << "======= SCA_KeyboardSensor::Evaluate::
status: " << inevent.m_status << endl;
+       //              cerr << "======= SCA_KeyboardSensor::Evaluate:: status: " << inevent.m_status << endl;

                if (inevent.m_status == SCA_InputEvent::KX_NO_INPUTSTATUS)
                {
-                       int i=4;
                } else
                {
                        if (inevent.m_status == SCA_InputEvent::KX_JUSTACTIVATED)

------------------------------------------------------------------------
r243 | mein | 2002-12-30 08:09:23 +0100 (Mon, 30 Dec 2002) | 23 lines



Removed unused var here is the diff:

Kent


Index: gameengine/Ketsji/KX_PyConstraintBinding.cpp
===================================================================
RCS file: /cvs01/blender/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp,v
retrieving revision 1.3
diff -u -r1.3 KX_PyConstraintBinding.cpp
--- gameengine/Ketsji/KX_PyConstraintBinding.cpp        25 Nov 2002 15:29:49 -0000      1.3
+++ gameengine/Ketsji/KX_PyConstraintBinding.cpp        30 Dec 2002 07:08:18 -0000
@@ -128,7 +128,6 @@
 {
        int constraintid;

-       int len = PyTuple_Size(args);
        if (PyArg_ParseTuple(args,"i",&constraintid))
        {
                if (g_physics_env)

------------------------------------------------------------------------
r242 | maarten | 2002-12-30 00:22:35 +0100 (Mon, 30 Dec 2002) | 3 lines

Made the ActiveX plug-in link and run with ode.
Maarten

------------------------------------------------------------------------
r240 | hos | 2002-12-29 17:02:04 +0100 (Sun, 29 Dec 2002) | 35 lines

An attempt to make the Irix build closer to
"Out of the Box" on Irix -- in my case, the build
with gcc works with ../blender/configure; make;
and *seems* to run OK on the limited number of
tests I could run while forwarding graphics
accross town. The MipsPro built still needs
some work to add some additional compiler flags,
and the user must of course explicitely
export CC=/usr/bin/cc; export CXX=/usr/bin/CC

Changes:

* the check for libcl now searches for the
symbol clSetParams which blender needs
(the search for symbol audioAlgorithms would
fail)

* the check for libmovieCL now searches for
the symbol mvOpenFile which blender needs
(the search for symbol thisRoutineDoesNothing
sould fail). mvOpenFile is actually in
libmoviefile which libmovieGL depends on.

* if the user does not explicitely set
--with-ssl then configure assumes it is
in /usr/freeware.

* /usr/freeware/lib32 is added to the
library path for the linker.

This stuff was also tested to build/run on
debian linux/x86.

Chris

------------------------------------------------------------------------
r239 | hos | 2002-12-29 16:59:51 +0100 (Sun, 29 Dec 2002) | 39 lines

While building with gcc on Irix one is confronted by the message:

---------------------------->8----------------------------------------------
g++ -DHAVE_CONFIG_H -I. -I../../../blender/intern/bsp -I../.. -I../../../blender/intern/container -I../../../blender/intern/moto/include -I../../../blender/intern/memutil -I/usr/freeware/include -g -funsigned-char -c ../../../blender/intern/bsp/intern/BSP_CSGMesh.cpp -MT BSP_CSGMesh.lo -MD -MP -MF .deps/BSP_CSGMesh.TPlo  -DPIC -o .libs/BSP_CSGMesh.lo
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/include/g++/bits/stl_iterator.h: In
   constructor `std::__normal_iterator<_Iterator,
   _Container>::__normal_iterator(const std::__normal_iterator<_Iter,
   _Container>&) [with _Iter = const BSP_MFace*, _Iterator = BSP_MFace*,
   _Container = std::vector<BSP_MFace, std::allocator<BSP_MFace> >]':
../../../blender/intern/bsp/intern/BSP_CSGMesh.cpp:270:   instantiated from here
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/include/g++/bits/stl_iterator.h:474: cannot
   convert `const BSP_MFace* const' to `BSP_MFace*' in initialization
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
---------------------------->8----------------------------------------------

The line in question that causes the error is the middle one in this group:

	vector<BSP_MFace>::const_iterator f_it_end = FaceSet().end();
	vector<BSP_MFace>::const_iterator f_it_begin = FaceSet().begin();
	vector<BSP_MFace>::iterator f_it = FaceSet().begin();

Dropping the 'const_' from that middle line enables gcc to compile the
file correctly (this is also consistent with what is going on with other
parts of the file, i.e., stuff that is returned from a begin() method is
declared as vector<BSP_MFace>::iterator instead of
vector<BSP_MFace>::const_iterator.

But I'll be honest: I have no idea what this code does, so if somebody with
better C++ skills wants to check it, then please do.

This change was also tested to compile and run on debian linux/x86
(well, booleans are broken right now, so I wasn't able to do too much
testing).

Chris

------------------------------------------------------------------------
r237 | maarten | 2002-12-29 00:32:57 +0100 (Sun, 29 Dec 2002) | 4 lines

Added new OSX project builder project that builds both the C and C++ gears
test programs.
Maarten

------------------------------------------------------------------------
r236 | maarten | 2002-12-28 23:33:48 +0100 (Sat, 28 Dec 2002) | 5 lines

Replaced old doxygen config file with two new ones:
ghost_all.cfg to generate doxygen documentation for all of ghost.
ghost_interface.cfg to generate docs for the interface only.
Maarten

------------------------------------------------------------------------
r235 | maarten | 2002-12-28 23:26:45 +0100 (Sat, 28 Dec 2002) | 5 lines

Removed those extra CVS tag lines in the header files of ghost (now I know what
Gilles meant) and added some extra doxygen tags I had lying around.
Removed the cocoa file since it was rubbish.
Maarten

------------------------------------------------------------------------
r234 | hos | 2002-12-28 18:55:24 +0100 (Sat, 28 Dec 2002) | 6 lines

Reverted changes to bsp code so that the code will compile
under gcc 3.x. A better solution should be found as this
breaks booleans.

Chris

------------------------------------------------------------------------
r233 | hos | 2002-12-28 18:45:46 +0100 (Sat, 28 Dec 2002) | 3 lines

Reverting change to decimation to fix compatibility with
gcc 3.x (a better solution should be found)

------------------------------------------------------------------------
r232 | sgefant | 2002-12-27 22:14:32 +0100 (Fri, 27 Dec 2002) | 5 lines

added two accidentally deleted #'s (without them makesdna wouldn't work
properly)

sgefant

------------------------------------------------------------------------
r231 | mein | 2002-12-27 21:51:48 +0100 (Fri, 27 Dec 2002) | 10 lines



I took out the -ldl and -lpthread
Working on a fix so they will be auto included.
(actually ldl is already there probably not in the right spot though)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r230 | mein | 2002-12-27 14:17:26 +0100 (Fri, 27 Dec 2002) | 27 lines



Added the following:

Submitted by Bert Driehuis

Kent
--
mein@cs.umn.edu

Index: configure.ac
===================================================================
RCS file: /cvs01/blender/configure.ac,v
retrieving revision 1.21
diff -u -r1.21 configure.ac
--- configure.ac        2002/12/21 10:12:18     1.21
+++ configure.ac        2002/12/27 13:16:41
@@ -275,6 +275,8 @@
    , dnl found -- nop
    [enable_openal=no] )  dnl not found -- disable openal
 fi
+  AC_CHECK_LIB([Xext], [XextFindDisplay],,,$X_LIBS)
+  AC_CHECK_LIB([X11], [XOpenDisplay],,,$X_LIBS)
   AC_CHECK_LIB([GL], [glIsTexture],,,$X_LIBS)
   AC_CHECK_LIB([GLU], [gluGetString],,,$X_LIBS)
   AC_CHECK_LIB([Xxf86dga], [XDGAQueryModes],,,$X_LI

------------------------------------------------------------------------
r229 | mein | 2002-12-27 14:11:01 +0100 (Fri, 27 Dec 2002) | 9 lines



Removed the config.h thing from the .h's in the source dir.
So we should be all set now :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r228 | mein | 2002-12-26 19:25:17 +0100 (Thu, 26 Dec 2002) | 13 lines



WooHoo me again ;)
I took out the following from the includes in the intern dir that still had
it:
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r227 | hos | 2002-12-25 22:42:56 +0100 (Wed, 25 Dec 2002) | 7 lines

Sorry, Kent the indexing changes to this file turn out to be broken
too -- a user reported crashing while using decimation and rolling back
the modifications between rev 1.2 and rev 1.3 for this file fixed it.

Regards,
Chris

------------------------------------------------------------------------
r226 | hos | 2002-12-25 09:35:08 +0100 (Wed, 25 Dec 2002) | 13 lines

Some changes made to the bsp code in early November
(to stop gcc compiler warnings) caused segfaults when
performing intersections (and possibly while doing other
boolean operations). I felt it was best to revert these
changes (I also got rid of the DOS line terminators in
the files). Some more info about the matter can be found
in the first 10 or so posts for Novembor on the old
mailing list:

http://www.soze.com/mailman/private/bf-committers/2002-November/date.html

Chris (Merry Christmas!)

------------------------------------------------------------------------
r225 | maarten | 2002-12-24 13:43:56 +0100 (Tue, 24 Dec 2002) | 4 lines

Added ode physics to blender and player targets.
ActiveX control still has a linkigng problem.
Maarten

------------------------------------------------------------------------
r223 | maarten | 2002-12-23 00:03:15 +0100 (Mon, 23 Dec 2002) | 3 lines

Updated README with directions for Windows.
Maarten

------------------------------------------------------------------------
r222 | maarten | 2002-12-23 00:02:21 +0100 (Mon, 23 Dec 2002) | 5 lines

Removed fixed path for Python excutable.
The README will explain how to set an option in MSVC to make it find
python.
Maarten

------------------------------------------------------------------------
r221 | maarten | 2002-12-22 23:58:54 +0100 (Sun, 22 Dec 2002) | 3 lines

Fixed ode link path.
Maarten

------------------------------------------------------------------------
r220 | maarten | 2002-12-22 23:42:11 +0100 (Sun, 22 Dec 2002) | 4 lines

Fixed ActiveX control libraries and library paths.
Removed abundant frozen python files.
Maarten

------------------------------------------------------------------------
r219 | maarten | 2002-12-22 23:02:57 +0100 (Sun, 22 Dec 2002) | 3 lines

Disabled player's check for Publisher file for input.
Maarten

------------------------------------------------------------------------
r218 | maarten | 2002-12-22 23:00:55 +0100 (Sun, 22 Dec 2002) | 3 lines

Fixed binary files stored as text files for plug-ins
Maarten

------------------------------------------------------------------------
r217 | maarten | 2002-12-22 22:46:44 +0100 (Sun, 22 Dec 2002) | 3 lines

Fixed missing sumo path in ActiveX control
Maarten

------------------------------------------------------------------------
r216 | aphex | 2002-12-22 14:43:21 +0100 (Sun, 22 Dec 2002) | 16 lines

fixed a *really* minor bug where tooltips were not resetting if next
call to add_numbut() asks for a NULL tooltip. --aphex

============================================================
RCS file: /cvs01/blender/source/blender/src/toolbox.c,v
retrieving revision 1.4
diff -r1.4 toolbox.c
1356c1356,1360
< 	if(tip) strcpy(numbuts[nr].tip, tip);
---
> 	if(tip)
> 		strcpy(numbuts[nr].tip, tip);
> 	else
> 		strcpy(numbuts[nr].tip, "");
>

------------------------------------------------------------------------
r214 | maarten | 2002-12-21 23:28:56 +0100 (Sat, 21 Dec 2002) | 6 lines

Rewired python for OSX. The Project Builder project now uses the Python that
comes with OSX in /usr/local.
Removed some frozen python files that were not generated by the freeze script.
mxTextTools is still disabled because of a link error.
Maarten

------------------------------------------------------------------------
r213 | maarten | 2002-12-21 23:26:46 +0100 (Sat, 21 Dec 2002) | 5 lines

Rewired python for OSX. The Makefiles now use the Python that comes with OSX
in /usr/local.
mxTextTools is still disabled because of a link error.
Maarten

------------------------------------------------------------------------
r212 | mein | 2002-12-21 11:14:03 +0100 (Sat, 21 Dec 2002) | 14 lines



added the DELKEY stuff...
                        else if(dev==DELKEY) {
                                if(but->pos>=0 && but->pos<strlen(str)) {
                                        for(x=but->pos; x<=strlen(str); x++)
                                                str[x]= str[x+1];
                                        str[--len]='\0';
                                        dodraw= 1;
                                }
                        }

Kent

------------------------------------------------------------------------
r211 | mein | 2002-12-21 11:12:18 +0100 (Sat, 21 Dec 2002) | 19 lines



Changes submitted to bf-committers from Guillermo S. Romero

I updated the minimum version of python in configure.ac to 2.0
(The check he gave worked with 2.0 I haven't actually build it with
this version but its better and 1.5 didn't work)

Also in Makefile.am changed:
-       @PYTHON@@PYTHON_VERSION@ -S -O \
+       @PYTHON@ -S -O \

Looking at aclocal.m4 it puts the binary in @PYTHON@ so no need to add
the PYTHON_VERSION.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r210 | mein | 2002-12-21 10:52:03 +0100 (Sat, 21 Dec 2002) | 28 lines



Fix so that rgba targa files view correctly in gimp:
Submitted to bf-committers by Chris Want

Kent

Index: targa.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v
retrieving revision 1.4
diff -u -r1.4 targa.c
--- targa.c     2002/12/20 01:29:14     1.4
+++ targa.c     2002/12/21 09:50:24
@@ -289,6 +289,12 @@

        if (flags & IB_ttob) buf[17] ^= 0x20;

+        /* Don't forget to indicate that your 32 bit
+         * targa uses 8 bits for the alpha channel! */
+        if (ibuf->depth==32) {
+           buf[17] |= 0x08;
+        }
+
        if (write(file, buf, 18) != 18) return (0);
        if (ibuf->cmap){
                for (i = 0 ; i<ibuf->maxcol ; i++){

------------------------------------------------------------------------
r209 | mein | 2002-12-20 20:37:38 +0100 (Fri, 20 Dec 2002) | 51 lines



This is sort of a two parter from the mailling list but really its the
same thing:

Added the xpcom include and added a flag to use mozilla vs netscape.
Which basically adds some ifdefs to
_Blender3DPlugin_implementation_.cpp

Basically I modified the nan_definitions.mk in the following way
(You'll need to update yours don't forget) ;)
Also updated the makefiles to use the new vars and flushed them out
so they first include whatever nspr is set to and then look in
NAN_MOZILLA_INC

I wasn't sure what the NAN_MOZILLA_INC and _LIB defaults should be
since were assuming they point to a netscape dir by default (or maybe
old mozilla???)
maybe they should be
   export NAN_MOZILLA_INC ?= $(LCGDIR)/netscape/include
   export NAN_MOZILLA_LIB ?= $(LCGDIR)/netscape/lib/

instead...

Anyone have any opinions on the defaults?

Kent
--
mein@cs.umn.edu

Index: nan_definitions.mk
===================================================================
RCS file: /cvs01/blender/source/nan_definitions.mk,v
retrieving revision 1.8
diff -u -r1.8 nan_definitions.mk
--- nan_definitions.mk  2002/12/19 21:12:58     1.8
+++ nan_definitions.mk  2002/12/20 19:28:51
@@ -75,7 +75,13 @@
     export NAN_TEST_VERBOSITY ?= 1
     export NAN_ZLIB ?= $(LCGDIR)/zlib
     export NAN_BMFONT ?= $(LCGDIR)/bmfont
-    export NAN_MOZILLA ?= $(LCGDIR)/mozilla
+    # Uncomment the following line to use Mozilla inplace of netscape
+    # CPPFLAGS +=-DMOZ_NOT_NET
+    # Location of MOZILLA/Netscape header files...
+    export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
+    export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
+    # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
+    # if this is not set.
     export NAN_NSPR ?= $(LCGDIR)/nspr

------------------------------------------------------------------------
r208 | mein | 2002-12-20 20:27:39 +0100 (Fri, 20 Dec 2002) | 23 lines



Shrunk the hack so it didn't get used in newer versions of OpenAL which
seems to be working.

Kent

(diff follows)

Index: SND_OpenALDevice.cpp
===================================================================
RCS file: /cvs01/blender/source/gameengine/SoundSystem/openal/SND_OpenALDevice.cpp,v
retrieving revision 1.4
diff -u -r1.4 SND_OpenALDevice.cpp
--- SND_OpenALDevice.cpp        2002/11/25 15:29:57     1.4
+++ SND_OpenALDevice.cpp        2002/12/20 19:26:04
@@ -59,7 +59,7 @@
 #include <fcntl.h>

 /* untill openal gets unified we need this hack for non-windows systems */
-#ifndef WIN32
+#if !defined(WIN32) && !defined(ALC_MAJOR_VERSION)

------------------------------------------------------------------------
r207 | mein | 2002-12-20 10:52:45 +0100 (Fri, 20 Dec 2002) | 8 lines



Added a link for where to get glut

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r206 | mein | 2002-12-20 10:41:25 +0100 (Fri, 20 Dec 2002) | 13 lines



Fixed up the header comment so it didn't produce a warning about
comment inside of a comment

Also removed the config.h thing since this is a .h

Hopefully I'll get around to the other .h's soon.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r205 | mein | 2002-12-20 10:39:02 +0100 (Fri, 20 Dec 2002) | 23 lines



Back at it ;)

Removed an unused var...
Here is the cvs diff.

Kent

Index: bsp/intern/BSP_CSGUserData.cpp
===================================================================
RCS file: /cvs01/blender/intern/bsp/intern/BSP_CSGUserData.cpp,v
retrieving revision 1.4
diff -u -r1.4 BSP_CSGUserData.cpp
--- BSP_CSGUserData.cpp 2002/11/25 09:52:48     1.4
+++ BSP_CSGUserData.cpp 2002/12/20 09:37:58
@@ -79,7 +79,6 @@
        int record_index
 ){
        if (m_width) {
-               int output = Size();
                IncSize();

------------------------------------------------------------------------
r204 | mein | 2002-12-20 03:52:58 +0100 (Fri, 20 Dec 2002) | 28 lines



Ok last change for the night :)
Time to go watch er.

Note this was already done with face_old, img_old was probably just
overlooked.
(If you guys didn't notice I was sick for a couple of days but I'm back now
as you can tell)

Kent
--
mein@cs.umn.edu

Index: editface.c
===================================================================
RCS file: /cvs01/blender/source/blender/src/editface.c,v
retrieving revision 1.3
diff -u -r1.3 editface.c
--- editface.c  2002/11/25 12:02:05     1.3
+++ editface.c  2002/12/20 02:50:55
@@ -1202,7 +1202,7 @@
        TFace *face, *face_old = 0;
        short xy[2], xy_old[2];
        //int a, index;
-       Image *img, *img_old;
+       Image *img, *img_old = 0;

------------------------------------------------------------------------
r203 | mein | 2002-12-20 03:18:57 +0100 (Fri, 20 Dec 2002) | 25 lines



Opps had a typo in the stubs.c commit
forgot a ;

You'll love this little one in opy_nmesh.c :)
(see below, yes its still valid just funny)

Kent

Index: bpython/intern/opy_nmesh.c
===================================================================
RCS file: /cvs01/blender/source/blender/bpython/intern/opy_nmesh.c,v
retrieving revision 1.3
diff -u -r1.3 opy_nmesh.c
--- opy_nmesh.c 2002/11/25 12:01:57     1.3
+++ opy_nmesh.c 2002/12/20 02:17:21
@@ -1352,7 +1352,6 @@
        faces = nmesh->faces;
        for (i = 0; i < PySequence_Length(faces); i++) {
                nmface = (NMFace *) PyList_GetItem(faces, i);
-               n =
                n = PySequence_Length(nmface->uv);
                if (n != PySequence_Length(nmface->v))

------------------------------------------------------------------------
r202 | mein | 2002-12-20 03:08:46 +0100 (Fri, 20 Dec 2002) | 30 lines



In stubs.c I added a dummy return to functions that were non void types.

in readfile.c I renamed some localvars that were named main to mainl in
a couple of functions.

in action.c I initalized a var to 0.  This is probably not needed but
its a little safer incase someone adds more modes...
I've included a diff of this last one below.

Kent

Index: action.c
===================================================================
RCS file: /cvs01/blender/source/blender/blenkernel/intern/action.c,v
retrieving revision 1.6
diff -u -r1.6 action.c
--- action.c    2002/11/25 12:01:52     1.6
+++ action.c    2002/12/20 02:06:27
@@ -153,7 +153,7 @@
 ){
        bConstraint *dcon;
        const bConstraint *scon;
-       float dstweight;
+       float dstweight = 0;

        switch (mode){
        case POSE_BLEND:

------------------------------------------------------------------------
r201 | mein | 2002-12-20 02:29:14 +0100 (Fri, 20 Dec 2002) | 39 lines



Two more variables that were not initalized.

cvs diff included below.

Kent
--
mein@cs.umn.edu

Index: png_encode.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/png_encode.c,v
retrieving revision 1.3
diff -u -r1.3 png_encode.c
--- png_encode.c        2002/11/25 12:02:00     1.3
+++ png_encode.c        2002/12/20 01:28:18
@@ -91,7 +91,7 @@
        unsigned char *pixels = 0;
        unsigned char *from, *to;
        png_bytepp row_pointers = 0;
-       int i, bytesperpixel, color_type;
+       int i, bytesperpixel, color_type = PNG_COLOR_TYPE_GRAY;
        FILE *fp = 0;

Index: targa.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v
retrieving revision 1.3
diff -u -r1.3 targa.c
--- targa.c     2002/11/25 12:02:00     1.3
+++ targa.c     2002/12/20 01:28:20
@@ -247,7 +247,7 @@
        char buf[20];
        FILE *fildes;
        int i;
-       short ok;
+       short ok = 0;

------------------------------------------------------------------------
r200 | mein | 2002-12-20 02:14:46 +0100 (Fri, 20 Dec 2002) | 12 lines



Ok since no one cares about this I put a 5 second fix on it and won't
worry about it anymore :)

(initalized it to 0 and then later return 0 if its still 0 before doing
the work)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r199 | mein | 2002-12-19 23:13:37 +0100 (Thu, 19 Dec 2002) | 29 lines



Fixed two uninitalized vars:

Kent

 /cvs01/blender/source/blender/imbuf/intern/iris.c,v
retrieving revision 1.3
diff -u -r1.3 iris.c
--- iris.c      2002/11/25 12:02:00     1.3
+++ iris.c      2002/12/19 22:12:53
@@ -212,7 +212,7 @@
 /*  unsigned int *tab; */
 /*  int len; */
 {
-       int r;
+       int r = 0;

        while(len) {
                r = putlong(outf,*tab++);
@@ -548,7 +548,7 @@
 {
        FILE *outf;
        IMAGE *image;
-       int tablen, y, z, pos, len;
+       int tablen, y, z, pos, len = 0;
        int *starttab, *lengthtab;
        unsigned char *rlebuf;

------------------------------------------------------------------------
r198 | maarten | 2002-12-19 23:06:32 +0100 (Thu, 19 Dec 2002) | 3 lines

Added the the magic compiler flag that will turn on game-engine integration with Blender. The line is commented by default as was discussed on the list.
Maarten

------------------------------------------------------------------------
r197 | mein | 2002-12-19 22:26:34 +0100 (Thu, 19 Dec 2002) | 8 lines



I initalized mask to 0 in IMB_converttocmap

This may not be correct but at least now its predictable.

Kent

------------------------------------------------------------------------
r196 | maarten | 2002-12-19 22:14:18 +0100 (Thu, 19 Dec 2002) | 3 lines

Used NAN_ODE to point to the ode lib location.
Maarten

------------------------------------------------------------------------
r195 | maarten | 2002-12-19 22:12:58 +0100 (Thu, 19 Dec 2002) | 3 lines

Overrided NAN_ODE in OSX to point to the precompiled ode lib in the lib tree.
Maarten

------------------------------------------------------------------------
r194 | mein | 2002-12-19 21:08:12 +0100 (Thu, 19 Dec 2002) | 13 lines



-static void SleepTillEvent(Display *display, GHOST_TUns64 maxSleep) {
+static void SleepTillEvent(Display *display, GHOST_TInt64 maxSleep) {

maxSleep is checked against -1 so it needs to have a sign.
This could even fix some stability problems since -1 is passed in sometimes
in the code.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r193 | mein | 2002-12-19 21:06:07 +0100 (Thu, 19 Dec 2002) | 22 lines



Fixed this warning:

IK_QSegment.h: In constructor `IK_QSegment::IK_QSegment(MT_Point3,
   MT_Matrix3x3, double, MT_ExpMap)':
IK_QSegment.h:271: warning: member initializers for `MT_Scalar
   IK_QSegment::m_length'
IK_QSegment.h:270: warning:   and `MT_ExpMap IK_QSegment::m_q'
IK_QSegment.cpp:56: warning:   will be re-ordered to match declaration order
IK_QSegment.h: In constructor `IK_QSegment::IK_QSegment()':
IK_QSegment.h:271: warning: member initializers for `MT_Scalar
   IK_QSegment::m_length'
IK_QSegment.h:270: warning:   and `MT_ExpMap IK_QSegment::m_q'
IK_QSegment.cpp:73: warning:   will be re-ordered to match declaration order

Kind of goofy its just the order of which 2 private vars are defined.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r192 | maarten | 2002-12-16 23:43:27 +0100 (Mon, 16 Dec 2002) | 5 lines

Updated the readme section on building OSX.
Not sure whether this should also go in the xml file in the doc directory.
If so, what editor should I use?
Maarten

------------------------------------------------------------------------
r191 | maarten | 2002-12-16 23:31:50 +0100 (Mon, 16 Dec 2002) | 4 lines

Removed Ode build from OSX target.
This is now replaced by the Ode lib in CVS.
Maarten

------------------------------------------------------------------------
r190 | mein | 2002-12-16 13:02:24 +0100 (Mon, 16 Dec 2002) | 8 lines



Created a Makefile and got it actually to compile :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r189 | mein | 2002-12-16 12:18:31 +0100 (Mon, 16 Dec 2002) | 9 lines



Added extra libs for solaris
(-l/usr/openwin/lib -lglut etc...)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r188 | mein | 2002-12-16 12:12:32 +0100 (Mon, 16 Dec 2002) | 10 lines




Small fixes in the code.
(Again wrong number of Params to processEvent and CreateWindow

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r187 | mein | 2002-12-16 11:57:08 +0100 (Mon, 16 Dec 2002) | 10 lines



Fixed the files so they compile...
Had to add an argument to Create_window... (it was missing the sterio flag)

Also cleaned up some variable overloading warnings...
(i.e. window shadows previous def)

Kent

------------------------------------------------------------------------
r186 | mein | 2002-12-14 16:38:45 +0100 (Sat, 14 Dec 2002) | 8 lines



Gilles's patch to get rid of the the same identifier warnings

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r185 | aphex | 2002-12-14 13:31:17 +0100 (Sat, 14 Dec 2002) | 3 lines

Corrected intern lib names so blendercreator.dsp can find them.
Previous commit broke this. --aphex

------------------------------------------------------------------------
r184 | maarten | 2002-12-13 22:34:52 +0100 (Fri, 13 Dec 2002) | 10 lines

OSX Project Builder project for makes_dna, blender and player targets.
After building intern with the Makefile, this project builds all three targets.
blender and player targets are dependent on makes_dna so that dna.c is generated
automatically (at the moment it is created evry build).
The applications are complete with icons and file type registering.
The only catch is that it might be necessary to symlink the darwin-6.1-powerpc
directory if your kernel is no on 6.1.

Maarten

------------------------------------------------------------------------
r182 | mein | 2002-12-13 21:30:07 +0100 (Fri, 13 Dec 2002) | 33 lines



This might be a slight hack but Iksolver library was complaining about
some linking stuff that was in libmoto.a so I added a libmoto after it
in the link lines.

Hans got a better way to do this? :)

Kent

Here is the diff:
RCS file: /cvs01/blender/source/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile    2002/11/13 16:09:38     1.12
+++ Makefile    2002/12/13 20:28:13
@@ -165,6 +165,7 @@
     COMLIB += $(NAN_PNG)/lib/libpng.a

     BCLIB = $(NAN_IKSOLVER)/lib/libiksolver.a
+    BCLIB += $(NAN_MOTO)/lib/libmoto.a
     BCLIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a
     BCLIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a
     BCLIB += $(OCGDIR)/blender/writestreamglueSTUB/$(DEBUG_DIR)libwritestreamglueSTUB.a
@@ -174,6 +175,7 @@
     BCLIB += $(OCGDIR)/blender/src/$(DEBUG_DIR)libsrccreator.a

     PULIB = $(NAN_IKSOLVER)/lib/libiksolver.a
+    PULIB += $(NAN_MOTO)/lib/libmoto.a
     PULIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a
     PULIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a
     PULIB += $(OCGDIR)/blender/writestreamglue/$(DEBUG_DIR)libwritestreamglue.a

------------------------------------------------------------------------
r180 | mein | 2002-12-13 19:45:30 +0100 (Fri, 13 Dec 2002) | 10 lines



moved browserplugin.la to libbrowserplugin.la

also took ./configure out of cvs.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r179 | maarten | 2002-12-12 23:18:25 +0100 (Thu, 12 Dec 2002) | 4 lines

Had to add a function (BPY_call_importloader) and a variable (bprogname)
to the stubs to get the player linking with Project Builder under OSX.
Maarten

------------------------------------------------------------------------
r178 | aphex | 2002-12-12 22:16:46 +0100 (Thu, 12 Dec 2002) | 2 lines

And the rest! ;) --aphex

------------------------------------------------------------------------
r177 | aphex | 2002-12-12 22:13:47 +0100 (Thu, 12 Dec 2002) | 7 lines

Modified the intern MSVC project files to make them more
Win9x/ME-friendly.

This shouldn't break the NT/2000/XP builds, but let me know if it does!

--aphex

------------------------------------------------------------------------
r176 | mein | 2002-12-12 21:14:46 +0100 (Thu, 12 Dec 2002) | 32 lines



Don't want you all to think I'm not breaking things anymore ;)

I cleaned up configure.ac a little.
  --enable-blenderstatic  Build static binary (default=disable)
  --enable-gameblender    Build game engine (default=disable)
  --enable-blenderplugin  Build browser plugin(default=disable)

(some were with instead of enable before so run configure --help to see
whats what)

The basic idea is this:
--enable-gameblender will add in gamemode support to blender and
build the gameplayer
--enable-blenderplugin will build the web plugin.

Both are not working/finished yet but I'm able to build without them
on a Sun, sgi, and linux machine.
(Note the Sun segv's when you try to run it and the sgi says some
symbols are unresolved)
I haven't had enough time to try cygwin under windows2000.

I also added a fix so -lpython comes after the libfrozen.a (needed for irix)

One thing on the todo list is the autgenerated Makefile for the python stuff
assumes your using gcc this should probably be fixed if possible.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r175 | aphex | 2002-12-12 19:42:00 +0100 (Thu, 12 Dec 2002) | 2 lines

Updated the debug target defines. --aphex

------------------------------------------------------------------------
r174 | phaethon | 2002-12-11 10:43:05 +0100 (Wed, 11 Dec 2002) | 4 lines

Copy makesdna_CPPFLAGS to makesdna_CFLAGS.

-Fred <phaethon>

------------------------------------------------------------------------
r173 | sgefant | 2002-12-11 00:55:59 +0100 (Wed, 11 Dec 2002) | 9 lines

compile and run source/blender/makesdna/intern/makesdna to (re)create
source/blender/makesdna/intern/dna.c

This should fix the segfault at startup for non-x86 systems (tested on
linux/ppc and linux/x86). I would be glad if someone could check
if it works on other systems as well.

sgefant

------------------------------------------------------------------------
r172 | michel | 2002-12-10 19:59:58 +0100 (Tue, 10 Dec 2002) | 7 lines

Added an initial document that describes the process of building Blender.
Sections included are for example the list of libraries and tools required.
I added the source (.xml) file as well as a generated .html file. The latter
may need some update to make it look nicer. For now it purely functional.

Michel

------------------------------------------------------------------------
r171 | mein | 2002-12-10 17:04:01 +0100 (Tue, 10 Dec 2002) | 27 lines



Ok a little headway here.  things were working too smoothly so I decided
to break things again, now it won't compile on any system (Or so I think)
but the physics and whatnot are a little closer to working see the comment
below:

I've moved it so the targets get created in the root dir (or will once its
working)

In starting on the GamePlayer I found a nasty little bug...
Do not ever use the following or something similar:

CFLAGS = \
    -I$(crap) \
## a comment here
    -I$(crap2) \
    -I$(crap3)

everything after the comment line gets excluded.... (i.e. no include for
	crap2, crap3)
This was in blender/source/blender/gameengine/Makefile.am

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r170 | mein | 2002-12-10 05:38:49 +0100 (Tue, 10 Dec 2002) | 8 lines



Commited Simon Clitherow's mods to BL_src.dsp

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r169 | mein | 2002-12-09 15:25:56 +0100 (Mon, 09 Dec 2002) | 10 lines



reverted change to source/Makefile.am
(Michel took out the MacOS binary stuff which needs to be there.)
I've added in his $(X_LIBS) to the linker flags
We'll need to update it more to add the optional setup of gameplayer etc
but the other stuff can't be removed to do it.

Kent

------------------------------------------------------------------------
r168 | michel | 2002-12-08 20:15:54 +0100 (Sun, 08 Dec 2002) | 2 lines

log.txt

------------------------------------------------------------------------
r167 | sgefant | 2002-12-07 21:57:50 +0100 (Sat, 07 Dec 2002) | 4 lines

don't crash when adding a UVsphere (Hos, heli)

sgefant

------------------------------------------------------------------------
r166 | mein | 2002-12-06 20:48:37 +0100 (Fri, 06 Dec 2002) | 13 lines



sgefants patch to remove the License Key stuff.
(I noticed its not completely gone yet from the blender/source dir)
But its a big step in the right direction if it doesn't enable
all of the functionatlity already...

(Using cscope for LICENSE_KEY_VALID still turns up some stuff)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r165 | mein | 2002-12-06 16:47:29 +0100 (Fri, 06 Dec 2002) | 11 lines



I removed the ENDIAN stuff,
added some extra libs for irix
also commented out the hardcoded paths for GL on OSX and replaced it with:
	SYSTEM_LIBS="$SYSTEM_LIBS -framework OpenGL -framework AGL"

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r164 | mein | 2002-12-05 19:53:26 +0100 (Thu, 05 Dec 2002) | 24 lines



I added the following:

 case "$target" in
   *sparc* )
         AC_DEFINE(SUN_OGL_NO_VERTEX_MACROS,1,[Fix for Sun's GL])
+       AC_DEFINE(BIG_ENDIAN,1,)
   ;;
-  *darwin*)
+  *-*-powerpc )
+       AC_DEFINE(BIG_ENDIAN,1,)
+  ;;
+  *-*-irix* )
+       AC_DEFINE(BIG_ENDIAN,1,)
+  ;;
+  *-*-darwin* )

It doesn't fully fix the ENDIAN issues but its a start.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r163 | sgefant | 2002-12-05 19:52:03 +0100 (Thu, 05 Dec 2002) | 6 lines

remove some files which are generated by running ./bootstrap. This should
at least partially fix the problems described in this thread:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&p=3311#3311

sgefant

------------------------------------------------------------------------
r162 | mein | 2002-12-05 17:47:01 +0100 (Thu, 05 Dec 2002) | 8 lines



Tring to add autodetection of gmake

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r161 | mein | 2002-12-05 13:43:27 +0100 (Thu, 05 Dec 2002) | 12 lines



I moved around some of the AC_CHECK_LIB's and modified the
check for GL and GLU so it included the $X_LIBS path

(I was having problems finding libGLU, libpng and libz now it
finds all of them on my system)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r160 | mein | 2002-12-03 22:51:35 +0100 (Tue, 03 Dec 2002) | 12 lines



Removed the following duplicates:
  dnl AC_FUNC_REALLOC
  AC_CHECK_LIB([util], [openpty])

(yes the first one is even commented out twice)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r159 | mein | 2002-12-03 22:47:42 +0100 (Tue, 03 Dec 2002) | 10 lines



I removed the STUB stuff from the default install.

(Reported by Peter Amstutz)  Hopefully this will fix your linking problem :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r158 | mein | 2002-12-03 19:31:50 +0100 (Tue, 03 Dec 2002) | 17 lines



Ok this should have probably been three seperate things but I figured
some people are getting sick of the email and the comments are small.

editmesh.c I added casts in a couple of places to remove a few warnings.

Then I cleaned up configure.ac a bit specifically the checks for
--with-ssl etc... so they work a little nicer.

I also modified source/Makefile.am to add targets for the player
Still needs some work I'm sure but its a start.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r157 | mein | 2002-12-03 16:52:47 +0100 (Tue, 03 Dec 2002) | 22 lines



Had to make the patch for casting a little more complicated.

      m_MotionState->getWorldOrientation((float)worldquat[1],
        (float)worldquat[2],(float)worldquat[3],(float)worldquat[0]);

Is now:

#ifdef dDOUBLE
      m_MotionState->getWorldOrientation((float)worldquat[1],
        (float)worldquat[2],(float)worldquat[3],(float)worldquat[0]);
#else
      m_MotionState->getWorldOrientation(worldquat[1],
        worldquat[2],worldquat[3],worldquat[0]);
#endif


Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r156 | mein | 2002-12-03 13:11:07 +0100 (Tue, 03 Dec 2002) | 9 lines



Got rid of unused files in intern/iksolver
(removed them from cvs and from the Makefile.am)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r155 | mein | 2002-12-03 11:02:40 +0100 (Tue, 03 Dec 2002) | 10 lines



I moved source/darwin/blenderpublisher.app to source/darwin/blender.app
or at least tried.
You will probably want to rm -rf source/darwin/blenderpublisher.app

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r154 | mein | 2002-12-03 10:24:06 +0100 (Tue, 03 Dec 2002) | 6 lines



I moved the check for MacOSX's gl headers to target specific area.

Kent

------------------------------------------------------------------------
r153 | mein | 2002-12-03 10:18:33 +0100 (Tue, 03 Dec 2002) | 8 lines



Removed the Makefile.in's

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r152 | mein | 2002-12-02 21:14:56 +0100 (Mon, 02 Dec 2002) | 9 lines


Added the hint about undefined AC_PROG_LIBTOOL
and reworded directions from blender dir instead of making it look like
they were from the blender/doc directory.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r151 | mein | 2002-12-02 17:30:13 +0100 (Mon, 02 Dec 2002) | 13 lines



I got this patch from sgefant  Mostly its just casting floats as floats.
(also adding a couple of include pathes)
changes in Ode*.cpp to get it compile with gcc 2.95.4
to make it compile with ./configure --with-gameengine
                        --enable-gameplayer


Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r150 | mein | 2002-12-02 10:48:10 +0100 (Mon, 02 Dec 2002) | 8 lines



I added
#include <stdlib.h>
To fix a problem with a machine not being able to find malloc

Kent

------------------------------------------------------------------------
r149 | maarten | 2002-12-02 00:03:08 +0100 (Mon, 02 Dec 2002) | 3 lines

Added img lib to the include path of the MSVC project file.
Maarten

------------------------------------------------------------------------
r148 | maarten | 2002-12-02 00:00:21 +0100 (Mon, 02 Dec 2002) | 3 lines

Updated MSVC project file with the new frozen files.
Maarten

------------------------------------------------------------------------
r147 | maarten | 2002-12-01 23:58:29 +0100 (Sun, 01 Dec 2002) | 3 lines

These freeze changes give working frozen Python code on Windows.
Maarten

------------------------------------------------------------------------
r146 | maarten | 2002-12-01 23:41:22 +0100 (Sun, 01 Dec 2002) | 3 lines

wrapped S_ISREG and S_ISDIR with a define to suppress compiler
complaints about redefinitions. These occur now that Python 2.2 is included.

------------------------------------------------------------------------
r145 | maarten | 2002-12-01 22:24:45 +0100 (Sun, 01 Dec 2002) | 4 lines

Removed non-existing Tools from the Blender module.
This allowed me to get Python working in Blender.
Maarten

------------------------------------------------------------------------
r144 | phaethon | 2002-12-01 11:52:01 +0100 (Sun, 01 Dec 2002) | 5 lines

Changed "www.blender.nl" to "www.blender.org" for that little display
thingy in the upper right corner.

-Fred <phaethon>

------------------------------------------------------------------------
r143 | phaethon | 2002-12-01 10:23:55 +0100 (Sun, 01 Dec 2002) | 5 lines

Added automake variables for building blenderpublisher.app (Carbon).
There are some redundant lines that I'd like to reduce later.

-Fred <phaethon>

------------------------------------------------------------------------
r142 | phaethon | 2002-12-01 10:20:35 +0100 (Sun, 01 Dec 2002) | 5 lines

Compiling web plugin (GamePlayer) made optional in configure (off by
default).

-Fred <phaethon>

------------------------------------------------------------------------
r141 | phaethon | 2002-11-30 22:12:07 +0100 (Sat, 30 Nov 2002) | 4 lines

Rearranged library checks to get rid of LDFLAGS hack.

-Fred <phaethon@linux.ucla.edu>

------------------------------------------------------------------------
r140 | phaethon | 2002-11-30 20:55:39 +0100 (Sat, 30 Nov 2002) | 4 lines

Fixed typo.  That was supposed to be freeze_ac.py, not makefreeze_ac.py

-Fred <phaethon@linux.ucla.edu>

------------------------------------------------------------------------
r139 | michel | 2002-11-30 18:42:40 +0100 (Sat, 30 Nov 2002) | 8 lines

Added python flags to actually link the python library to the
libblender_bpython library. This allowed me to actually link
blender with just 2 warnings.
Blender can start, but I haven't made any tests by rendering
scenes or whatever...

Michel

------------------------------------------------------------------------
r138 | michel | 2002-11-30 16:34:57 +0100 (Sat, 30 Nov 2002) | 2 lines

Reverting to version 1.3 - michel

------------------------------------------------------------------------
r137 | michel | 2002-11-30 16:00:47 +0100 (Sat, 30 Nov 2002) | 2 lines

added -f option to the rm command. (Clean target) - michel

------------------------------------------------------------------------
r136 | phaethon | 2002-11-30 06:43:14 +0100 (Sat, 30 Nov 2002) | 2 lines

Autotools-specific freeze_ac.py and makemakefile_ac.py.  Original makemakefile.py reverted for sake of original build system.  Makefile.am modified accordingly.

------------------------------------------------------------------------
r135 | maarten | 2002-11-29 21:51:40 +0100 (Fri, 29 Nov 2002) | 3 lines

Somehow the img directory got lost from the list of include paths
Maarten

------------------------------------------------------------------------
r134 | mein | 2002-11-29 18:25:09 +0100 (Fri, 29 Nov 2002) | 8 lines



I forgot to comment out two lines in the last update.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r133 | mein | 2002-11-29 18:07:58 +0100 (Fri, 29 Nov 2002) | 8 lines



Bunch of small fixes emailed to me from phaethon

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r132 | mein | 2002-11-29 17:25:11 +0100 (Fri, 29 Nov 2002) | 4 lines



Fixed check for X11

------------------------------------------------------------------------
r131 | mein | 2002-11-27 21:54:25 +0100 (Wed, 27 Nov 2002) | 4 lines



 Michel Selten's new bootstrap script.

------------------------------------------------------------------------
r130 | mein | 2002-11-27 19:13:43 +0100 (Wed, 27 Nov 2002) | 9 lines



(Not working yet but a step in the right direction, can't work
on it right now so I figured I'd commit the changes)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r129 | mein | 2002-11-27 18:09:40 +0100 (Wed, 27 Nov 2002) | 10 lines



I know this is a bugfix but hey its simple :)
More info on it can be found here:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=176

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r128 | mein | 2002-11-27 17:25:54 +0100 (Wed, 27 Nov 2002) | 11 lines



Fixed some stuipid bugs in the Makefile.am's and
added --with-ode=prefix to configure.ac

Getting closer to building...

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r127 | mein | 2002-11-26 16:38:17 +0100 (Tue, 26 Nov 2002) | 13 lines



Just a bunch of minor tweaks Frederick Lee (phaethon) sent me.
I haven't gotten through them all yet, and things aren't totally working yet.
I'm not going to get a chance to work on it much today so I figured I
should post the stuff I've done so others can work on it if they want to.

Mostly whats left is getting frozen stuff working, seting up
ode so you can do --with-ode=prefix and then final linking.
(and of course I'm sure smoothing out some stuff)

Kent

------------------------------------------------------------------------
r126 | mein | 2002-11-25 16:29:57 +0100 (Mon, 25 Nov 2002) | 13 lines



Last of the config.h mods...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

added to these files.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r125 | mein | 2002-11-25 13:02:15 +0100 (Mon, 25 Nov 2002) | 13 lines



updated .c files to include:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Just need to finish cpp files now :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r124 | mein | 2002-11-25 12:16:17 +0100 (Mon, 25 Nov 2002) | 15 lines



Did all of the .h's in source
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r123 | mein | 2002-11-25 11:13:52 +0100 (Mon, 25 Nov 2002) | 16 lines




added the following to configure.ac
+case "$target" in
+  *sparc* )
+        AC_DEFINE(SUN_OGL_NO_VERTEX_MACROS,1,[Fix for Sun's GL])
+  ;;
+esac
+

Also added the include to the above .c files.
I'm going to add it to everything in source just haven't gotten that far yet.

Kent

------------------------------------------------------------------------
r122 | mein | 2002-11-25 10:53:07 +0100 (Mon, 25 Nov 2002) | 13 lines



Yes I did it again ;)

added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r121 | mein | 2002-11-22 17:01:57 +0100 (Fri, 22 Nov 2002) | 7 lines



Stefan Stenstrand pointed out I had noinst_LIBRARIES and it needed to be
noinst_LTLIBRARIES

Kent

------------------------------------------------------------------------
r120 | mein | 2002-11-22 16:59:38 +0100 (Fri, 22 Nov 2002) | 8 lines



Robert Wenzlaff's fix for  AVI_JPEGS.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r119 | mein | 2002-11-21 15:20:42 +0100 (Thu, 21 Nov 2002) | 9 lines



Moved the stuff on autoconfig to doc/autoconfig.txt and added quite a bit
more on the basics of it.  (as well as put a link to it in the README)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r118 | mein | 2002-11-21 05:25:28 +0100 (Thu, 21 Nov 2002) | 25 lines



Ok just call me the Machine!!! ;)

Sorry if there is too much here but hey it needed to be done.
Its not fully working yet but this should help a bit.

Basically I fixed the formatting of a bunch of the am files and
renamed some of the lib names so you could tell where they are and
you don't have to worry about collisions.

I'm getting the following errors when running ./bootstrap
Anyone have any ideas on these?

source/gameengine/Physics/Makefile.am: `libgameblender_physics.la' is not a standard library name
source/gameengine/Rasterizer/Makefile.am: `libgameblender_rasterizer.la' is not a standard library name
source/gameengine/SceneGraph/Makefile.am: `libgameblender_scenegraph.la' is not a standard library name

I'll work on it some more tomorrow morning before work but I figured
I should do a commit now to break things up a little :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r117 | mein | 2002-11-20 16:13:53 +0100 (Wed, 20 Nov 2002) | 9 lines



Added in will probably need some work once I get that far but its a good start
on it.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r116 | mein | 2002-11-20 15:43:09 +0100 (Wed, 20 Nov 2002) | 9 lines




removed our licensing info as requested  :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r115 | mein | 2002-11-19 19:51:52 +0100 (Tue, 19 Nov 2002) | 20 lines



Ok I added the following options to configure.ac
  --with-ssl=PFX        Path to ssl files
  --with-libjpeg=PFX    Path to libjpeg files
  --with-libpng=PFX     Path to libpng files
  --with-libz=PFX       Path to libz files
  --with-mozilla=PFX    Path to mozilla files
(The mozilla one still needs some work but its a start)

I also cleaned up the blender/intern automake files a little as far as
the python stuff goes, it still isn't doing the correct thing in
intern/python/freeze but its a little closer I think.

Anyone that has ideas on this I'm all ears :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r114 | mein | 2002-11-19 19:48:07 +0100 (Tue, 19 Nov 2002) | 20 lines



--- IK_JacobianSolver.cpp       2002/10/13 16:07:40     1.2
+++ IK_JacobianSolver.cpp       2002/11/19 18:47:33
@@ -134,7 +134,7 @@
        m_svd_w = 0;
        m_svd_v = 0;

-       TNT::SVD(m_svd_u,m_svd_w,m_svd_v);
+       TNT::SVD_a(m_svd_u,m_svd_w,m_svd_v);

        // invert the SVD and compute inverse


Fix for why it wasn't building with configure

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r113 | mein | 2002-11-19 01:09:54 +0100 (Tue, 19 Nov 2002) | 9 lines




Fixed a typo.  Had a [ added.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r112 | mein | 2002-11-18 04:23:36 +0100 (Mon, 18 Nov 2002) | 11 lines



I modified configure.ac to fix some of the autoscan warnings.

Also I agree with Larstiq's comments and I figured its dumb to leave it
half and half.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r111 | mein | 2002-11-16 16:13:17 +0100 (Sat, 16 Nov 2002) | 9 lines



I fixed the headers up a bit for keymaker and added some more Makefile.am
files given to me through email.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r110 | mein | 2002-11-16 03:40:57 +0100 (Sat, 16 Nov 2002) | 9 lines



fixed additions so that bootstrap runs without errors.
tomorrow I'll fix it so configure finishes without errors.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r109 | mein | 2002-11-16 03:17:24 +0100 (Sat, 16 Nov 2002) | 10 lines



Missed this in the last commit.
It just adds the extra Makefile.am's
(and fixes the X11 checking)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r108 | mein | 2002-11-16 03:15:07 +0100 (Sat, 16 Nov 2002) | 10 lines



I haven't tested this yet, so I'm unsure of the quality but
its better than nothing :)
This was sent to me by Stefan Stenstrand <bobafett@cc.hut.fi>

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r107 | mein | 2002-11-15 22:57:10 +0100 (Fri, 15 Nov 2002) | 8 lines



added includes for bsp.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r106 | mein | 2002-11-15 20:07:09 +0100 (Fri, 15 Nov 2002) | 8 lines



I had a typo (was missing a \ )

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r105 | mein | 2002-11-15 19:41:50 +0100 (Fri, 15 Nov 2002) | 8 lines



removed the comments about libtool not working :)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r104 | mein | 2002-11-15 19:25:06 +0100 (Fri, 15 Nov 2002) | 8 lines



Fixes the libtool problem I was having.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r103 | mein | 2002-11-15 07:57:59 +0100 (Fri, 15 Nov 2002) | 51 lines



Ok were getting somewhere here ;)
I'm not an expert at this but I think I'm getting the hang of it quite nicely.
I added autoconf stuff for most of the intern dir.  I move readme.txt to
README and added the following section to it:

*********************************************************************
*********************************************************************
We are in the process of moving things over to automake/autoconf
The old makefiles are still in place and will work.  If you want to
get a working blender skip down to the next section and use this readme as
a guide.

If you want to play with the new autoconf environment you need to do the
following, inside this dir:
./bootstrap
mkdir ../newdir
cd ../newdir
../blender/configure

Take a look at INSTALL for options you can give to configure.
About half of the intern directory is done so you won't get very far.
If you want to work on fixing it you need to edit Makefile.am's and
configure.ac
after editing those files you need to run bootstrap again.

TODO to finish up the intern dir
Square away how ghost works.
(i.e. would be nice if under windows you could choose X11 or normal windows
libs, same with macos.. right now its a cludge and it doesn't do one explicitly
probably involves changing the way configure.ac picks stuff)

Get intern/python figured out.

Add the following to configure.ac
        --with-openssl=dir
        --with-mozilla=dir      (get it so nspr is autodetected here)
        --with-nspr=dir         (incase in different dir)
        --with-jpeg=dir
        --with-png=dir
        --with-zlib=dir

figure out why the heck the libtool that gets created is wrong on my
system (mein@cs.umn.edu) :)


Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r102 | maarten | 2002-11-14 23:43:55 +0100 (Thu, 14 Nov 2002) | 4 lines

Some more clean up in the intern MSVC project files.
Renamed the bmfont project files and updated them.
Maarten

------------------------------------------------------------------------
r101 | maarten | 2002-11-14 17:51:01 +0100 (Thu, 14 Nov 2002) | 3 lines

Added more frozen files to the MSVC project.
Maarten

------------------------------------------------------------------------
r100 | maarten | 2002-11-14 17:50:24 +0100 (Thu, 14 Nov 2002) | 4 lines

Changed module name utils to util so that freeze will find the quaternions
etc. there.
Maarten

------------------------------------------------------------------------
r98 | maarten | 2002-11-14 09:23:57 +0100 (Thu, 14 Nov 2002) | 3 lines

Fixed problem with the main intern MSVC project.
Maarten

------------------------------------------------------------------------
r97 | mein | 2002-11-13 17:09:38 +0100 (Wed, 13 Nov 2002) | 10 lines




Committing LarstiQ's patch for NAN_PYTHON_BINARY and NAN_MXTEXTTOOLS
It worked on my system and no one else has said anything.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r96 | maarten | 2002-11-12 21:12:40 +0100 (Tue, 12 Nov 2002) | 3 lines

bug fix in vrml (inventor) import.
Maarten

------------------------------------------------------------------------
r95 | mein | 2002-11-12 16:56:33 +0100 (Tue, 12 Nov 2002) | 9 lines




Added a link for mozilla downloads.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r94 | mein | 2002-11-12 16:26:05 +0100 (Tue, 12 Nov 2002) | 13 lines




-               ALenum alc_error = alcGetError();       // openal_2.14+
+               ALenum alc_error = alcGetError(NULL);   // openal_2.14+


Fix to get it to work with latest version of openal.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r93 | maarten | 2002-11-12 00:58:52 +0100 (Tue, 12 Nov 2002) | 3 lines

Modified the MSVC project files to use the static jpeg library as it used to be.
Maarten

------------------------------------------------------------------------
r91 | maarten | 2002-11-11 23:48:06 +0100 (Mon, 11 Nov 2002) | 7 lines

Made a dependency so that the MSVC intern project file will actually call the
batch file that freezes the Blender Python code.
I had to add a dummy.cpp file to the freeze directory to make MSVC
understand it should call the batch file in a post build step. If someone else
has a better idea, feel free to change it!
Maarten

------------------------------------------------------------------------
r90 | maarten | 2002-11-11 22:59:46 +0100 (Mon, 11 Nov 2002) | 5 lines

Fixed the MSVC project files. They now build both the release and debug
targets of creator publisher and player.
Assuming you have the libraries installed in lib/windows of course...
Maarten

------------------------------------------------------------------------
r89 | mein | 2002-11-11 22:33:11 +0100 (Mon, 11 Nov 2002) | 5 lines




Changed -O3 to -O2 under linux

------------------------------------------------------------------------
r88 | mein | 2002-11-11 22:26:19 +0100 (Mon, 11 Nov 2002) | 16 lines




-       python $(PYFLAGS) freeze.py -d -x os -x pprint -x Blender -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
+       python $(PYFLAGS) freeze.py -d -x os -x pprint -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py


Freeze the Blender module
(I got this from some other people on #blendersauce and truthfully I have
no idea if this is correct or not so if someone else could look at it
that would be great)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r87 | maarten | 2002-11-11 21:58:23 +0100 (Mon, 11 Nov 2002) | 3 lines

Another icon in text format restored (cvs admin -kb).
Maarten

------------------------------------------------------------------------
r86 | maarten | 2002-11-11 21:57:09 +0100 (Mon, 11 Nov 2002) | 3 lines

Converted icon files to binary files (cvs admin -kb) and restored them.
Maarten

------------------------------------------------------------------------
r85 | mein | 2002-11-11 15:46:27 +0100 (Mon, 11 Nov 2002) | 8 lines



Fixed action.c (brought it back to 1.2)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r84 | maarten | 2002-11-11 01:02:52 +0100 (Mon, 11 Nov 2002) | 5 lines

First round of updates to project files. There is a working game player (debug
target) as long as you have installed the right libraries.
Added project file for Blender Ode.
Maarten

------------------------------------------------------------------------
r83 | maarten | 2002-11-11 00:54:39 +0100 (Mon, 11 Nov 2002) | 5 lines

Added another project to freeze Blender Python code from the main intern
MSVC workspace. It is not finished completely but it works (through a
batchfile).
Maarten

------------------------------------------------------------------------
r82 | maarten | 2002-11-09 00:34:53 +0100 (Sat, 09 Nov 2002) | 10 lines

Added almost all projects in intern to the main MSVC project for intern (in
intern/make/msvc_6_0. Changed paths in all these files to build to
lib/windows and use obj/window/intern for object files and other temporary
stuff.
Added project files for guardedalloc and blenkey (in keymaker directory).
blenkey still assumes openssl being installed in lib/windows.
The only thing not automated is is the frozen Python stuff.

Maarten

------------------------------------------------------------------------
r81 | maarten | 2002-11-08 17:18:56 +0100 (Fri, 08 Nov 2002) | 4 lines

Updated MSVC GHOST project like the string project and added it to the
intern MSVC workspace
Maarten

------------------------------------------------------------------------
r80 | maarten | 2002-11-08 17:07:13 +0100 (Fri, 08 Nov 2002) | 4 lines

New MSVC workspace were I will add all the intern MSVC projects so that
they can all be build and installed in one go.
Maarten

------------------------------------------------------------------------
r79 | maarten | 2002-11-08 17:00:26 +0100 (Fri, 08 Nov 2002) | 4 lines

Fixed the MSVC project file so that it creates the lib/windows directories to
install the libraries into. Also, the objects are now build in the right directories.
Maarten

------------------------------------------------------------------------
r78 | mein | 2002-11-08 12:36:37 +0100 (Fri, 08 Nov 2002) | 11 lines




switched the order of build (frozen and intern are now intern and frozen)
that way the lib gets installed before the dir didn't exist so it
died.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r77 | mein | 2002-11-08 11:28:47 +0100 (Fri, 08 Nov 2002) | 15 lines



I added the following comments to the readme:

--Notes on compiling mxTextTools
To get the latest version to compile on my machine I had to
edit mxSetup.py and remove /usr/include from INCLPATH for it to build
properly.
(after doing this you need to edit blender/source/Makefile and
fix the pointer to it I'm still working on automating this)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r76 | mein | 2002-11-08 11:16:47 +0100 (Fri, 08 Nov 2002) | 9 lines



I needed to update the path to libfrozen on the linking also
missed it before.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r75 | maarten | 2002-11-07 23:41:42 +0100 (Thu, 07 Nov 2002) | 5 lines

Added extra ranlib on libary files after being copied to the lib tree for OSX only.
This saves other OSX developers the trouble of manually running ranlib.
This is not a good solution (because I don't know the correct one) but it works.
Maarten

------------------------------------------------------------------------
r74 | mein | 2002-11-07 18:47:15 +0100 (Thu, 07 Nov 2002) | 16 lines



I autmated the rest of building libfrozen.a
I also moved it so that it gets put in:
 $(OCGDIR)/blender/bpython/$(DEBUG_DIR)libfrozen.a

and removed the stuff from the readme on how to do it by hand.

(I made one other small change and that was to comment
out the ssr target on solaris and freebsd in source/Makefile
I forgot to commit it yesterday)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r73 | mein | 2002-11-07 17:33:13 +0100 (Thu, 07 Nov 2002) | 18 lines



I took out some of the indirection in the includes

 # physics
-CPPFLAGS += -I../../../../../sumo/Fuzzics/include
+CPPFLAGS += -I$(NAN_FUZZICS)/include

 # moto
-CPPFLAGS += -I../../../../../sumo/Fuzzics/include
-CPPFLAGS += -I../../../../../sumo/include
+CPPFLAGS += -I$(NAN_SUMO)/include


Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r72 | mein | 2002-11-06 22:19:23 +0100 (Wed, 06 Nov 2002) | 9 lines



Updated it so intern/python/freeze is combined into intern's Makefile
also updated the readme so its not an extra step anymore.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r71 | mein | 2002-11-06 17:52:20 +0100 (Wed, 06 Nov 2002) | 9 lines



added the following link:
mxtexttools:http://www.egenix.com/files/python/mxTextTools.html (python lib)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r70 | mein | 2002-11-06 17:17:47 +0100 (Wed, 06 Nov 2002) | 10 lines



commented out the chgrp cvs /tmp/.nanguess
Not really need is it?
It just makes more work for normal users.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r69 | mein | 2002-11-06 16:49:26 +0100 (Wed, 06 Nov 2002) | 17 lines



That was me Kent

I noticed it sounded kind of stupid so quit half way through the commit :)

Anyway it now reads:
If you tried to just have a go at making stuff you might wind up with
an empty file /tmp/.nanguess
You need to remove the empty file and it will get created automatically
by $NANBLENDERHOME/source/tools/guess/guessconfig after you have
setup the NANBLENDERHOME variable.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r68 | mein | 2002-11-06 16:47:23 +0100 (Wed, 06 Nov 2002) | 11 lines



Changed more wording again and added some extra software links.

Also added the following since it burned me and a couple people have asked:

If you tried to just have a go at making stuff you might wind up with
an empty file /tmp/.nanguess
You need to remove the empty file and re run it after you have
setup the NANBLENDERHOME variable.

------------------------------------------------------------------------
r67 | mein | 2002-11-06 03:33:35 +0100 (Wed, 06 Nov 2002) | 12 lines



I added an extra include (not sure if this is the way to do it or not,
on my version of NSPR the include dir has an nspr dir with all of the headers
in it.  So I just added another include dir:
 CPPFLAGS += -I$(NAN_NSPR)/include
+CPPFLAGS += -I$(NAN_NSPR)/include/nspr

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r66 | mein | 2002-11-06 03:09:02 +0100 (Wed, 06 Nov 2002) | 13 lines



I Just modified the Makefile to use the definitions instead of hard paths.

-CPPFLAGS += -I../../../../sumo/Fuzzics/include
-CPPFLAGS += -I../../../../sumo/include
+CPPFLAGS += -I$(NAN_FUZZICS)/include
+CPPFLAGS += -I$(NAN_SUMO)/include

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r65 | mein | 2002-11-06 01:53:45 +0100 (Wed, 06 Nov 2002) | 10 lines



Commented out the include since it was causing problems on some systems
and its not needed here.
(intern/Makefile)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r64 | maarten | 2002-11-05 21:20:50 +0100 (Tue, 05 Nov 2002) | 6 lines

Brought back the sumo physics controllers and undid game engine make file
changes.
Instead modified the top level nan_definitions.mk to point the NAN_SUMO and
NAN_FUZZICS to the right locations.
Maarten

------------------------------------------------------------------------
r63 | mein | 2002-11-05 21:05:19 +0100 (Tue, 05 Nov 2002) | 11 lines



Sorry people reporting syntax problems :)
I should maybe hold off and post a couple at a time, but I figured
since others are working on stuff now it would be nice to keep it upto
date.  (let me know if I'm committing to often...)

(removed set from the bash instructions)

Kent

------------------------------------------------------------------------
r62 | mein | 2002-11-05 20:54:23 +0100 (Tue, 05 Nov 2002) | 13 lines



changed:
 friend SG_Controller;
to:
 friend class SG_Controller;

gcc-3.2 was complaining that it wasn't defined.

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r61 | mein | 2002-11-05 20:53:11 +0100 (Tue, 05 Nov 2002) | 11 lines



Cleaned up the wording a little more and moved Martins info about
the intern/python stuff up a little to the more generic case.
(well the unix bit but hopefully we can rename the unix bit
generic make instructions or something.)

Kent
--
mein@cs.umn.edu

------------------------------------------------------------------------
r60 | nlin | 2002-11-05 14:15:22 +0100 (Tue, 05 Nov 2002) | 3 lines

added one comma to readme.txt as part of a test of the cvs-commit
settings for mailman notification

------------------------------------------------------------------------
r59 | maarten | 2002-11-04 22:55:48 +0100 (Mon, 04 Nov 2002) | 4 lines

Another small fix to ode:
Added a debug target to the Makefile to get a debug Blender to build
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r58 | maarten | 2002-11-04 22:50:33 +0100 (Mon, 04 Nov 2002) | 4 lines

Added fmod sound for OSX and fixed some endian problems in
gameengine/SoundSystem to get it to work.
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r57 | maarten | 2002-11-04 22:47:37 +0100 (Mon, 04 Nov 2002) | 3 lines

Forgot to remove sumo physics controllers
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r56 | maarten | 2002-11-04 21:33:08 +0100 (Mon, 04 Nov 2002) | 3 lines

Documented ODE config setting for OSX.
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r55 | maarten | 2002-11-04 21:32:30 +0100 (Mon, 04 Nov 2002) | 5 lines

Changed the OSX config file so that it compiles on OSX 10.2
Checked against a fresh version from the ODE CVS and found that the problem was
not fixed there as well so I felt free to commit it here.
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r54 | maarten | 2002-11-04 21:22:33 +0100 (Mon, 04 Nov 2002) | 5 lines

removed last traces of sumo for Makefile users
1. Removed KX_SumoPhysicsController.h and KX_SumoPhysicsController.cpp
2. Changed some Makefiles to skip sumo
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r53 | mein | 2002-11-04 19:09:45 +0100 (Mon, 04 Nov 2002) | 8 lines



I added the following at someone elses recomendation:

 Then edit source/nan_definitions.mk to fit you're environment.
+(You'll want to change things like NAN_OPENSSL,NAN_JPEG, NAN_PNG etc..
+to point to where you have it installed)

------------------------------------------------------------------------
r52 | mein | 2002-11-04 18:09:40 +0100 (Mon, 04 Nov 2002) | 5 lines



Fixed a bunch of typos.
mein@cs.umn.edu

------------------------------------------------------------------------
r51 | mein | 2002-11-04 17:32:14 +0100 (Mon, 04 Nov 2002) | 7 lines



Added links to external packages you may need to download.
python, openal, nspr etc...

Kent

------------------------------------------------------------------------
r50 | maarten | 2002-11-03 23:43:28 +0100 (Sun, 03 Nov 2002) | 4 lines

Added specific external libary locations for OSX/darwin that override the
defaults in the lib tree (see instructions in ../readme.txt).
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r49 | maarten | 2002-11-03 23:40:42 +0100 (Sun, 03 Nov 2002) | 3 lines

Added detailed instrcutions for OSX developers.
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r48 | maarten | 2002-11-03 23:38:32 +0100 (Sun, 03 Nov 2002) | 4 lines

added a line to add executable attributes to the binaries when copying into the
Mac bundles
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r47 | maarten | 2002-11-03 23:29:15 +0100 (Sun, 03 Nov 2002) | 4 lines

added a line to add executable attributes to the binaries when copying into the
Mac bundles
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r46 | maarten | 2002-11-03 22:30:02 +0100 (Sun, 03 Nov 2002) | 3 lines

removed sumo from build directories
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r45 | maarten | 2002-11-03 22:19:06 +0100 (Sun, 03 Nov 2002) | 5 lines

added the bsp (or CSG) library that Blender depends upon
removed the action library not used by Blender (actually this was that start of
UNDO in Blender that was never finished)
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r44 | maarten | 2002-11-02 23:55:23 +0100 (Sat, 02 Nov 2002) | 4 lines

Pointed SRCHOME to NANBLENDERHOME/source in case it was undefined in
guessconfig.
Maarten (mail@maartengribnau.com)

------------------------------------------------------------------------
r43 | mein | 2002-11-01 22:39:56 +0100 (Fri, 01 Nov 2002) | 7 lines



Again I had to modify things like  mesh->FaceSet().begin();
to &mesh->FaceSet()[0];

mein@cs.umn.edu

------------------------------------------------------------------------
r42 | mein | 2002-11-01 20:50:52 +0100 (Fri, 01 Nov 2002) | 4 lines



moved key.h to blenkey.h

------------------------------------------------------------------------
r41 | mein | 2002-11-01 17:06:54 +0100 (Fri, 01 Nov 2002) | 4 lines



Small fix specified where the instructions were in intern/python

------------------------------------------------------------------------
r40 | mein | 2002-11-01 17:02:54 +0100 (Fri, 01 Nov 2002) | 6 lines



Added more info to the blender/readme.txt file basically explained what
needed to be done to get a working blender executable under unix anyway.
I added a section for windows comments but its pretty much empty right now.

------------------------------------------------------------------------
r39 | mein | 2002-11-01 14:54:50 +0100 (Fri, 01 Nov 2002) | 8 lines



Ok since I didn't hear anything I committed the indexing changes I made
to these two files.
Basically change edge_set.begin() to &edge_set[0] etc...

mein@cs.umn.edu

------------------------------------------------------------------------
r38 | mein | 2002-10-31 22:08:41 +0100 (Thu, 31 Oct 2002) | 9 lines



Updated calls to #include "blenkey.h" to be #include "key.h"  I'm guessing
it wasn't detected before because everyone had a blenkey.h in their dirs also.
also I added an #include "key.h" to key_internal.h so that I didn't
get problems with undefined type byte...

mein@cs.umn.edu

------------------------------------------------------------------------
r37 | mein | 2002-10-31 20:32:01 +0100 (Thu, 31 Oct 2002) | 9 lines


I made a little readme to get people started and modified the
nan_definitions.mk to setup NANBLENDERHOME and everything is under that
directory.
also add empty dirs for lib and obj.
Try it out and feel free to make improvements.

mein@cs.umn.edu

------------------------------------------------------------------------
r36 | mein | 2002-10-31 03:45:57 +0100 (Thu, 31 Oct 2002) | 7 lines



added #include <ieeefp.h>
if on a sparc to take care of undefined finite function

mein@cs.umn.edu

------------------------------------------------------------------------
r35 | mein | 2002-10-30 22:51:56 +0100 (Wed, 30 Oct 2002) | 8 lines


again changing // to /* */ so that sun's compiler doesn't fail.
(note these are all in source/blender/verify)
Sorry about not putting the full path in on the last two,
I just noticed it doesn't do that unless your in the root dir.

mein@cs.umn.edu

------------------------------------------------------------------------
r34 | mein | 2002-10-30 22:40:36 +0100 (Wed, 30 Oct 2002) | 3 lines


Fixed // comments and converted them to /* */ (used by a c file)

------------------------------------------------------------------------
r33 | mein | 2002-10-30 03:07:20 +0100 (Wed, 30 Oct 2002) | 4 lines


fixed spacing in the headers to get rid of some warnings and some other
little minor spacing issues.

------------------------------------------------------------------------
r32 | mein | 2002-10-30 01:37:19 +0100 (Wed, 30 Oct 2002) | 3 lines


some small optimizations

------------------------------------------------------------------------
r31 | mein | 2002-10-30 01:27:48 +0100 (Wed, 30 Oct 2002) | 3 lines


removed some unused variables

------------------------------------------------------------------------
r30 | mein | 2002-10-30 01:08:59 +0100 (Wed, 30 Oct 2002) | 3 lines

Took out "" verses <> and just left <> for includes.
It works just fine on every system I could try it on.

------------------------------------------------------------------------
r29 | mein | 2002-10-30 01:05:50 +0100 (Wed, 30 Oct 2002) | 4 lines


Filled out the spacebar menu a little and removed dummy
function which isn't used anywhere:

------------------------------------------------------------------------
r28 | mein | 2002-10-29 22:55:52 +0100 (Tue, 29 Oct 2002) | 3 lines


Fixed defined __sparc to also check for __sparc__  (thanks to Ferris)

------------------------------------------------------------------------
r27 | mein | 2002-10-29 22:46:46 +0100 (Tue, 29 Oct 2002) | 7 lines


removed extra ;
was causing problems with cc on SunOS

also took out some blank lines to make the format of the file a little
nicer

------------------------------------------------------------------------
r26 | mein | 2002-10-29 22:44:13 +0100 (Tue, 29 Oct 2002) | 3 lines


Fixed // comments in c files (changed them to /* */ )

------------------------------------------------------------------------
r25 | erwin | 2002-10-21 21:23:52 +0200 (Mon, 21 Oct 2002) | 5 lines

moved KX_Python_... files from ketsji to expressions
(ketsji was a very wrong location because it caused circular dependencies between expressions, gamelogic and ketsji)
expressions and game logic are not dependent on ketsji anymore (only the other way around)
also removed circular includes in makefiles and projectfiles

------------------------------------------------------------------------
r24 | nlin | 2002-10-19 15:49:00 +0200 (Sat, 19 Oct 2002) | 2 lines

added notes on collisions between dynas and "static moving" geometry (kinematically controlled)

------------------------------------------------------------------------
r23 | nlin | 2002-10-18 20:53:45 +0200 (Fri, 18 Oct 2002) | 2 lines

added todo item about compatibility with 2.25

------------------------------------------------------------------------
r22 | nlin | 2002-10-18 17:48:33 +0200 (Fri, 18 Oct 2002) | 2 lines

check in missing files

------------------------------------------------------------------------
r21 | nlin | 2002-10-18 17:46:57 +0200 (Fri, 18 Oct 2002) | 2 lines

first checkin of ode blender engine files

------------------------------------------------------------------------
r20 | nlin | 2002-10-18 17:02:02 +0200 (Fri, 18 Oct 2002) | 7 lines

checkin of ODE library. Do not modify the ODE source code; instead, follow the
development of ode at http://q12.org and periodically copy the q12.org ODE
sourcecode into this tree to update the Blender ODE.

This ODE has not been changed from q12.org and is provided here merely as a
convenience to Blender developers.

------------------------------------------------------------------------
r19 | nlin | 2002-10-18 16:36:34 +0200 (Fri, 18 Oct 2002) | 2 lines

First checkin of core ODE functionality. See OdePhysicsController.cpp for a todo list.

------------------------------------------------------------------------
r18 | nlin | 2002-10-17 23:16:10 +0200 (Thu, 17 Oct 2002) | 2 lines

Updated punctuation to be more dramatic.

------------------------------------------------------------------------
r17 | hans | 2002-10-15 21:32:27 +0200 (Tue, 15 Oct 2002) | 2 lines

fix the build order for the inter-module dependencies

------------------------------------------------------------------------
r16 | hans | 2002-10-13 18:45:43 +0200 (Sun, 13 Oct 2002) | 2 lines

key loader library

------------------------------------------------------------------------
r15 | hans | 2002-10-13 18:07:41 +0200 (Sun, 13 Oct 2002) | 3 lines

- mention the GPL the right way
- extend NaN Holding copyright to its proper startup

------------------------------------------------------------------------
r14 | hans | 2002-10-13 17:57:19 +0200 (Sun, 13 Oct 2002) | 3 lines

- mention the GPL the right way
- extend NaN Holding copyright to its proper startup

------------------------------------------------------------------------
r13 | hans | 2002-10-13 15:52:38 +0200 (Sun, 13 Oct 2002) | 3 lines

- fix some license double comments
- add PHY based include paths to Makefiles where needed

------------------------------------------------------------------------
r9 | hans | 2002-10-12 15:10:47 +0200 (Sat, 12 Oct 2002) | 2 lines

Initial revision

------------------------------------------------------------------------
r6 | hans | 2002-10-12 14:32:08 +0200 (Sat, 12 Oct 2002) | 2 lines

Initial revision

------------------------------------------------------------------------
r5 | hans | 2002-10-12 14:23:56 +0200 (Sat, 12 Oct 2002) | 2 lines

Daniels first round of commits, port to unix

------------------------------------------------------------------------
r2 | hans | 2002-10-12 13:37:38 +0200 (Sat, 12 Oct 2002) | 2 lines

Initial revision

------------------------------------------------------------------------
