LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File Changes.txt of Package blender (Project graphics)

------------------------------------------------------------------------
r34933 | campbellbarton | 2011-02-17 14:05:09 +0200 (Thu, 17 Feb 2011) | 2 lines

clear some unused warnings

------------------------------------------------------------------------
r34932 | campbellbarton | 2011-02-17 13:49:54 +0200 (Thu, 17 Feb 2011) | 4 lines

patch [#26063] Fix deb package versioning (Patch for #26062)
from Shinsuke Irie (irie),
also updated pacman

------------------------------------------------------------------------
r34931 | campbellbarton | 2011-02-17 13:38:02 +0200 (Thu, 17 Feb 2011) | 3 lines

CMake: remove workaround for cmake 2.8.3 problem testing -Werror=strict-prototypes flag (now 2.8.4 is out).
This is harmless, CMake 2.8.3 just wont build with -Werror=strict-prototypes which is nice for picky devs.

------------------------------------------------------------------------
r34930 | aligorith | 2011-02-17 12:18:14 +0200 (Thu, 17 Feb 2011) | 4 lines

OpenGL playblasts now respect Preview Range, making it easier to
render out short segments of shots to be previewed with accurate
timing.

------------------------------------------------------------------------
r34929 | campbellbarton | 2011-02-17 10:35:15 +0200 (Thu, 17 Feb 2011) | 5 lines

apply fix [#26117] Recent changes to "mikktspace.c" broke building on FreeBSD. Patch attached.
also check for NetBSD.

note: we probably should use define HAVE_MALLOC_H, seems common for other projects.

------------------------------------------------------------------------
r34928 | jesterking | 2011-02-17 10:01:59 +0200 (Thu, 17 Feb 2011) | 1 line

Add missing file from r34923
------------------------------------------------------------------------
r34927 | campbellbarton | 2011-02-17 09:30:16 +0200 (Thu, 17 Feb 2011) | 2 lines

possible crash in last commit, possible tp_init isn't defined.

------------------------------------------------------------------------
r34926 | campbellbarton | 2011-02-17 09:21:44 +0200 (Thu, 17 Feb 2011) | 9 lines

Change to how python classes are initialized when blender calls them.

Annoyance was that operators that defined and __init__ function would need to do...
    def __init__(self, another_self):
        ....

py/rna was calling the class directly with PyObject_Call() but needed to pass the pre-allocated object only so __init__() would run .
This works OK internally but becomes messy since __new__ and __init__ always get the same args there was no way to avoid a superfluous self argument to __init__.

------------------------------------------------------------------------
r34925 | campbellbarton | 2011-02-17 08:56:24 +0200 (Thu, 17 Feb 2011) | 2 lines

error case not being handled when calling python classes from RNA

------------------------------------------------------------------------
r34924 | campbellbarton | 2011-02-17 08:23:16 +0200 (Thu, 17 Feb 2011) | 2 lines

incorrect type passed to BKE_free_animdata()

------------------------------------------------------------------------
r34923 | jesterking | 2011-02-17 07:57:18 +0200 (Thu, 17 Feb 2011) | 1 line

Starting work on doxygen cleanup. Many things still to be done.
------------------------------------------------------------------------
r34922 | campbellbarton | 2011-02-17 06:35:41 +0200 (Thu, 17 Feb 2011) | 2 lines

pep8 cleanup and remove unused vars/imports

------------------------------------------------------------------------
r34921 | aligorith | 2011-02-17 03:24:52 +0200 (Thu, 17 Feb 2011) | 14 lines

Bugfix: "Tweaking" Markers was working incorrectly

WM_modal_tweak_exit() was making incorrect use of the user-pref option
"Release Confirms Transform", indicated by confused coder comment
(<quote>"XXX: WTH is this?"</quote>).

This manisfested when moving markers by just click-dragging and
existing marker, and having it "drop" whereever the mouse was released
regardless of the user-pref option. This was quite confusing as it was
inconsistent with the way that all other transforms worked when this
option is off, where you would usually start the transform (click-
drag), release the button, move around a bit, and then finally click
to end.

------------------------------------------------------------------------
r34920 | gsrb3d | 2011-02-16 23:57:26 +0200 (Wed, 16 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34919 | aligorith | 2011-02-16 23:54:41 +0200 (Wed, 16 Feb 2011) | 15 lines

Bugfix [#26106] No instant visual feed back for Dupliframes, parenting
problem and crash

- It turns out we still need the "copyob" still, if for nothing other
than making sure that the unkeyed transforms can get restored. This
was removed originally as I thought that just reevaluating the
animation would work.

- Removed a buggy line of logic that was causing crashes when there
was no animation data. It's better to just assume that if animation
data exists, that something exists there.

- Make Duplicates Real was not clearing data such as the new animation
data or constraints.

------------------------------------------------------------------------
r34918 | dingto | 2011-02-16 22:29:23 +0200 (Wed, 16 Feb 2011) | 3 lines

2.5 UI Interface Scripts:
* Code cleanup, seriously we have a lot of unnecessary code!
* Small modification for OpenEXR buttons.
------------------------------------------------------------------------
r34917 | dfelinto | 2011-02-16 22:04:32 +0200 (Wed, 16 Feb 2011) | 3 lines

forgot from last commit: adding python support for pingpong playmode
(BGE: Action and ShapeKey Actuator PingPong playmode.)

------------------------------------------------------------------------
r34916 | dfelinto | 2011-02-16 21:53:39 +0200 (Wed, 16 Feb 2011) | 5 lines

BGE: Action and ShapeKey Actuator PingPong playmode.

I have no idea why this hasn't been implemented before (the DEFINES were even there already). But since the Ipo (Fcurve) Actuator supports it I don't see why Action and ShapeKey shouldn't.
More than a new feature or a bugfix this is actually a step forward into unifying them.

------------------------------------------------------------------------
r34915 | dingto | 2011-02-16 21:52:32 +0200 (Wed, 16 Feb 2011) | 4 lines

Material UI: Code cleanup.

Please, don't use a split function if you just have 2 properties in one line, a row is all you need here. ;-)

------------------------------------------------------------------------
r34914 | dingto | 2011-02-16 21:39:45 +0200 (Wed, 16 Feb 2011) | 7 lines

Commit patch [#25939] material panel proposal by Ervin Weber (lusque). Thanks!

From the patch description:
"A new panel is proposed to bring togheter all the properties of a material that belong to the render pipeline level.
Such properties are currently not mixable with node materials, as nodes operate on a shader level."

Commiting this patch as approved in the sundy meeting.
------------------------------------------------------------------------
r34912 | ton | 2011-02-16 20:04:03 +0200 (Wed, 16 Feb 2011) | 9 lines

Bugfix #26096

Switching layers reveiled hidden objects in wrong positions, changes
are currently not being handled for hidden objects.
Only way to fix it is by completely update newly visible objects...

(Also fixed a typo and a compile warning)


------------------------------------------------------------------------
r34911 | campbellbarton | 2011-02-16 19:31:04 +0200 (Wed, 16 Feb 2011) | 3 lines

sphinx doc gen: multiple examples possible and include the scripts docstring inline in sphinx.
also tag unused vars

------------------------------------------------------------------------
r34904 | ton | 2011-02-16 14:34:08 +0200 (Wed, 16 Feb 2011) | 8 lines

Bugfix #26103

Halo texture: disabling texture slot with [] button didn't work.

Note: halos only allow 1 texture slot, UI allows to add more. This
rna template stuff for texture slots I rather don't touch though...


------------------------------------------------------------------------
r34903 | aligorith | 2011-02-16 14:00:53 +0200 (Wed, 16 Feb 2011) | 6 lines

Marker Drawing Bugfix:

Removed superfluous blend-mode change which was causing some weird
white lines to appear, especially when using some markers that don't
have any names.

------------------------------------------------------------------------
r34902 | jhk | 2011-02-16 13:38:28 +0200 (Wed, 16 Feb 2011) | 2 lines

Fix for [#26102] Particle Texture mismapped on Multires (in some modes)
* Particle modifier didn't check for particle textures using uv-coordinates properly.
------------------------------------------------------------------------
r34901 | aligorith | 2011-02-16 13:28:25 +0200 (Wed, 16 Feb 2011) | 2 lines

Forgot to actually hook up this operator...

------------------------------------------------------------------------
r34899 | jhk | 2011-02-16 12:57:58 +0200 (Wed, 16 Feb 2011) | 7 lines

Particle settings can now be pinned too:
* Particle system's are comparable to texture slots, which can
  only exist within an id block. Particle settings on the other
  hand are idblocks which should be pinnable just like textures.
* When particle settings are pinned only properties that make
  sense without the actual particle system are shown in the
  particle panel.
------------------------------------------------------------------------
r34898 | jhk | 2011-02-16 12:23:27 +0200 (Wed, 16 Feb 2011) | 1 line

Added full texture idblock controls for displace and wave modifier.
------------------------------------------------------------------------
r34897 | jhk | 2011-02-16 12:22:19 +0200 (Wed, 16 Feb 2011) | 8 lines

Correct texture pinning:
* Now texture pinning works consistently for all textures.
* The only problem is that there is no way to pin textures if there are
  no textures in the context path, so it's for example impossible to pin
  the texture of a displace modifier without adding a texture somewhere
  else and selecting that texture first. I my opinion this is quite
  counter productive so perhaps a dedicated "only textures" texture
  context option is needed after all.
------------------------------------------------------------------------
r34896 | campbellbarton | 2011-02-16 12:19:14 +0200 (Wed, 16 Feb 2011) | 2 lines

enum-flag arguments were incorrectly documented.

------------------------------------------------------------------------
r34895 | aligorith | 2011-02-16 11:59:29 +0200 (Wed, 16 Feb 2011) | 7 lines

Bugfix [#22535] Dupliframes with keyframe Anim are broken

So, it turns out that dupliframes weren't that bad to restore... the
old version didn't do truly accurate transform freezing as it didn't
update ancestors too. However, as a modelling tool, this will probably
suffice.

------------------------------------------------------------------------
r34894 | lmg | 2011-02-16 10:49:27 +0200 (Wed, 16 Feb 2011) | 3 lines

The modifications in mkktspace broke compilation on gcc 4.2.x
This is a patch proposed by sparky_ on irc.

------------------------------------------------------------------------
r34893 | aligorith | 2011-02-16 08:18:20 +0200 (Wed, 16 Feb 2011) | 17 lines

PoseLib Bugfixes, Cleanups, and Missing Operators

* All the various index-related issues should finally be sorted now.
It seems you cannot just partially implement some of these active
index getter/setters...
* Standardised the call used by PoseLib operators to get the Object
from which they get the active PoseLib data from
* PoseLib operators which require some existing data to work now use a
poll() which checks for this
* Added back the operator used to make standard actions into ones
usable by PoseLib
* Added a dummy operator for the apply active pose button which really
just calls the same backend functions as "Browse Interactive", but
which has a nicer frontend (naming + description) for the purpose of
being used in this way
* Also, removed some useless code from here

------------------------------------------------------------------------
r34892 | campbellbarton | 2011-02-16 07:18:10 +0200 (Wed, 16 Feb 2011) | 3 lines

doc generation support for excluding some modules, without this a full rebuild takes too long to test changes.
also include own function definitions for blf_dir.c.

------------------------------------------------------------------------
r34891 | campbellbarton | 2011-02-16 07:03:33 +0200 (Wed, 16 Feb 2011) | 2 lines

fix from mikes for building on apple with gcc 4.2.1

------------------------------------------------------------------------
r34890 | campbellbarton | 2011-02-16 04:51:56 +0200 (Wed, 16 Feb 2011) | 3 lines

rename IDPropertyGroup to PropertyGroup
also renamed IDProperty to PropertyGroupItem (these are not referenced for common usage and we already have 'Property' defined).

------------------------------------------------------------------------
r34889 | campbellbarton | 2011-02-16 04:25:03 +0200 (Wed, 16 Feb 2011) | 3 lines

bugfix [#26094] Going to Bone Roll menu brings up python error
also correct for pep8 warnings.

------------------------------------------------------------------------
r34888 | aligorith | 2011-02-16 04:10:26 +0200 (Wed, 16 Feb 2011) | 3 lines

Fix for compiler warning: forgot to hook up a poll callback I defined
for unlinking PoseLib data

------------------------------------------------------------------------
r34887 | aligorith | 2011-02-16 04:05:41 +0200 (Wed, 16 Feb 2011) | 13 lines

PoseLib UI and Bugfixes:
- Added operator button to show the current pose. This runs on top of
the interactive pose browse functionality, so the tooltip may be a bit
obtuse...
- Specifying a pose for the Pose browse functionality to set now works
correctly. Previously, some old depsgraph hacks were actually
interferring with correct updating (only the armature updated
correctly, but deforms didn't occur)
- Fixed a case of accessing freed memory, which I'm surprised no
static checkers have reportedly picked up on yet, or that nobody has
really had issues with (probably due to low memory "turnaround" so
far)

------------------------------------------------------------------------
r34886 | campbellbarton | 2011-02-16 04:05:36 +0200 (Wed, 16 Feb 2011) | 2 lines

fix [#26098] python API: quaternion.rotate never seems to work.

------------------------------------------------------------------------
r34885 | aligorith | 2011-02-16 03:46:32 +0200 (Wed, 16 Feb 2011) | 18 lines

Ugly hack to get PoseLib UI working ok (problem mentioned in log for
r34883).

Full description:
When defining an operator button in the UI layout code, trying to set
the value for such an operator's enum properties, where said enum uses
a dynamically generated list of items (which depends on using context
info), will "fail". No context info will be passed to the callbacks
used to generate this list of items, as PROP_ENUM_NO_CONTEXT is still
set on the operator properties (it seems these will only get cleared
when the operator actually runs, which is far too late already for
this usage) so RNA_property_enum_items() will pass NULL instead of a
context pointer *even* when one exists!

I'm not sure of why we even need this flag. It seems to have caused a
few other rounds of problems already, from quick searches I did on
this matter...

------------------------------------------------------------------------
r34884 | aligorith | 2011-02-16 02:19:54 +0200 (Wed, 16 Feb 2011) | 3 lines

Bugfix: Browing Pose Libs should work now... RNA wrapping was missing
an "editable" flag there

------------------------------------------------------------------------
r34883 | aligorith | 2011-02-16 02:17:22 +0200 (Wed, 16 Feb 2011) | 22 lines

Pose Lib: Start of PoseLib UI in Armature buttons

This presents a UI from which PoseLibs can be assigned/removed from
Objects. From here, it is also possible to see the list of poses and
add/remove poses from this list.

Known Issues:
- [Py/RNA/Operators BUG ALERT!] If after immediately starting Blender
you try to remove a pose from the PoseLib using the UI buttons, you'll
get a an error the first time you do so (but not for subsequent
attempts). This seems to be caused by the "pose" enum (dynamically
generated) of the POSELIB_OT_pose_remove operator, which does not seem
to be getting initialised when the operator's exec gets called without
the invoke having been called previously
- Changing the active Pose Library still seems to be broken (to be
fixed soon)

Todos:
- Operator button to make the selected pose get shown in the 3d view
- Restore the "validate action" operator and add that to this panel
- Rename pose access

------------------------------------------------------------------------
r34882 | mfoxdogg | 2011-02-16 02:04:37 +0200 (Wed, 16 Feb 2011) | 1 line

small correction to BGE as recent commits broken normal mapping in the GE
------------------------------------------------------------------------
r34881 | gsrb3d | 2011-02-15 23:48:13 +0200 (Tue, 15 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34879 | jesterking | 2011-02-15 21:57:33 +0200 (Tue, 15 Feb 2011) | 1 line

Fix from sparky for compile problem with older GCC
------------------------------------------------------------------------
r34878 | imbusy | 2011-02-15 21:22:08 +0200 (Tue, 15 Feb 2011) | 2 lines

removed some more magic constants
another fix: the patch for #25806 was submitted by Riakiotakis Antonis and not by Andrew Wall
------------------------------------------------------------------------
r34877 | nazgul | 2011-02-15 21:19:36 +0200 (Tue, 15 Feb 2011) | 11 lines

- Do not use old anchor toggling operator. It used to set brush flags to
  unawaliable state.
- Also changed dynamic space bar menu, so it now also wouldn't allow to
  set brush stroke flags to unavaliable state.

Also tried to remove use_anchor, use_space, use_restore_mesh and
use_airbrush, so user would be unable to set flags to unavaliable state,
but it was quite difficult for non-sculpt paint modes. They don't support
all of stroke methods, so brush.stroke_method can't be used for them.

Keep this area unchanged for now.
------------------------------------------------------------------------
r34876 | campbellbarton | 2011-02-15 21:04:51 +0200 (Tue, 15 Feb 2011) | 2 lines

patch from IRIE Shinsuke, use systems openjpeg on *nix.

------------------------------------------------------------------------
r34875 | imbusy | 2011-02-15 21:04:00 +0200 (Tue, 15 Feb 2011) | 1 line

added more code comments and removed some magic constants
------------------------------------------------------------------------
r34874 | imbusy | 2011-02-15 20:36:42 +0200 (Tue, 15 Feb 2011) | 3 lines

a fix for bug #25806
http://projects.blender.org/tracker/index.php?func=detail&aid=25806
Thanks Andrew Wall for the report and the patch
------------------------------------------------------------------------
r34873 | campbellbarton | 2011-02-15 20:33:05 +0200 (Tue, 15 Feb 2011) | 2 lines

CPack packaging support from Dan Eicher, tested to build redhat RPM's, a Mac bundle also defined.

------------------------------------------------------------------------
r34872 | campbellbarton | 2011-02-15 20:12:41 +0200 (Tue, 15 Feb 2011) | 6 lines

menu to select an enum from an RNA path:
eg,
   bpy.ops.wm.context_menu_enum(data_path="scene.tool_settings.vertex_paint.brush.stroke_method")

This saves us defining operators only for menus.

------------------------------------------------------------------------
r34871 | nazgul | 2011-02-15 18:37:44 +0200 (Tue, 15 Feb 2011) | 5 lines

- Use the same logic as for BEZIERs when making segment of between
  first and last NURBS' control points (toggle cyclic flag)
- Show U/V selection menu only for surface objects. There's no
  much logic in asking U/V direction for simple curves.
- Set active spline when two segments were joined.
------------------------------------------------------------------------
r34870 | nazgul | 2011-02-15 18:09:53 +0200 (Tue, 15 Feb 2011) | 6 lines

Fix #26087: in a curve, can't make segment if Fkey was pressed 2 times before on a single vertex

- Disallow setting cyclic flag for single-point segment when this lonely
  segment is selected
- Clear cyclic flag for single-pointed segments when finding segments which
  can be merged
------------------------------------------------------------------------
r34869 | campbellbarton | 2011-02-15 17:37:40 +0200 (Tue, 15 Feb 2011) | 5 lines

Doc generator now makes 'bpy.context' api reference.
http://www.blender.org/documentation/250PythonDoc/bpy.context.html

strings are extracted from blender to ensure all values are included, currently there is no type info so this is stored in the doc generator.

------------------------------------------------------------------------
r34868 | jhk | 2011-02-15 17:03:49 +0200 (Tue, 15 Feb 2011) | 2 lines

Fix for [#26083] Animated Particle Textures have no effect
* Duplicating particle settings didn't duplicate texture slots.
------------------------------------------------------------------------
r34867 | campbellbarton | 2011-02-15 16:38:43 +0200 (Tue, 15 Feb 2011) | 2 lines

moving dir strings into global namespace for doc access (coming up)

------------------------------------------------------------------------
r34865 | campbellbarton | 2011-02-15 14:43:34 +0200 (Tue, 15 Feb 2011) | 2 lines

...and for blenderplayer

------------------------------------------------------------------------
r34864 | campbellbarton | 2011-02-15 14:37:15 +0200 (Tue, 15 Feb 2011) | 2 lines

fix for building with make on linux from recent new lib.

------------------------------------------------------------------------
r34863 | aligorith | 2011-02-15 13:47:09 +0200 (Tue, 15 Feb 2011) | 13 lines

PoseLib: Adding support for custom properties

Custom properties are now supported by Pose Library. They will get
saved and restored correctly during previewing and pose adding.

To do this, I've changed PoseLib over from using the "LocRotScale"
Builtin Keying Set to the "Whole Character" one instead. One
consequence of this, is that now entire poses are stored in the Pose
Lib, irrespective of whether you only selected part of a pose to store
(i.e. facial controls only, or hand poses only). If this is enough of
a problem, I'll make a second Keying Set that does take selections
into account, and use that here instead.

------------------------------------------------------------------------
r34862 | campbellbarton | 2011-02-15 13:43:35 +0200 (Tue, 15 Feb 2011) | 2 lines

corrention for bpy.props docstrings.

------------------------------------------------------------------------
r34861 | jesterking | 2011-02-15 11:24:35 +0200 (Tue, 15 Feb 2011) | 5 lines

Move mikktspace code to own library, so it is clear that it is also
intended as a standalone library for use in other applications that
want the same tangent space as Blender.

This also keeps blenkernel clean(er) from extra math functions.
------------------------------------------------------------------------
r34860 | campbellbarton | 2011-02-15 06:06:13 +0200 (Tue, 15 Feb 2011) | 2 lines

fix for own error with image info display, also dont draw if the mouse is outside the image.

------------------------------------------------------------------------
r34859 | campbellbarton | 2011-02-15 05:20:12 +0200 (Tue, 15 Feb 2011) | 2 lines

fix warnings.

------------------------------------------------------------------------
r34858 | aligorith | 2011-02-15 03:24:12 +0200 (Tue, 15 Feb 2011) | 8 lines

UI Tweaks: Text field in Rename Markers popup now gets focus when the
popup appears, saving an extra click

I've separated out the "XXX"-'d event-adding-hack section from the
search-menu code into a separate API function (as recommended there).
This call is used to make sure that textboxes in popups can get
activated by default, to allow typing immediately.

------------------------------------------------------------------------
r34856 | aligorith | 2011-02-15 02:53:20 +0200 (Tue, 15 Feb 2011) | 3 lines

Ctrl-0 can now be used to just reset a single component of an array to
its default value instead of resetting the entire array

------------------------------------------------------------------------
r34855 | gsrb3d | 2011-02-14 23:20:05 +0200 (Mon, 14 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34854 | jesterking | 2011-02-14 23:00:49 +0200 (Mon, 14 Feb 2011) | 1 line

Tweak priority so link error on Linux is solved. Reported by Hypercrush on IRC.
------------------------------------------------------------------------
r34853 | campbellbarton | 2011-02-14 20:20:10 +0200 (Mon, 14 Feb 2011) | 2 lines

more vars made static

------------------------------------------------------------------------
r34852 | lmg | 2011-02-14 20:18:46 +0200 (Mon, 14 Feb 2011) | 6 lines

This commit will switch blender to use tangent space generated within
the two files mikktspace.h and mikktspace.c. These are standalone files
which can be redistributed into any other application and regenerate the
same tangent spaces. The implementation is independent of the ordering
of faces and the vertex ordering of faces.

------------------------------------------------------------------------
r34851 | campbellbarton | 2011-02-14 19:55:27 +0200 (Mon, 14 Feb 2011) | 2 lines

made most variables which are only used in a single file and not defined in header static for blenlib, blenkernel and editors.

------------------------------------------------------------------------
r34849 | nazgul | 2011-02-14 19:17:05 +0200 (Mon, 14 Feb 2011) | 4 lines

Fix #26082: Fkey in a curve witch was empty before

Stupid error in own previous commit to addvert_Nurb -- empty spline
had been added to spline list.
------------------------------------------------------------------------
r34848 | ton | 2011-02-14 19:09:02 +0200 (Mon, 14 Feb 2011) | 24 lines

Bug fix #26021

Very nasty UI code issue: since every button is re-defined on a
redraw, having UI redraws while using a button was not possible.

This was solved long ago by copying over data from previous button.

However, this fails when buttons have callbacks with its own (or
a parent button) pointer.

This bug reporter found crashes in draw-overlap UI mode, this
draws entire UI over for every menu redraws, making previous button
pointers invalid. (for triple buffer, the UI is not redrawn, only
the menus).

In general: all systems falling back to old swapbuffers would have
suffered some instability because of this.

Fix is that now the old button gets lifted out from the previous
list and inserted in the new list. Works fine, but needs some tests!

Also in this commit: TIFF endian switching not needed for 16 bits tiff.


------------------------------------------------------------------------
r34847 | nazgul | 2011-02-14 18:54:52 +0200 (Mon, 14 Feb 2011) | 6 lines

Previous commit to small optimization of sculpting broke smooth and layer
brushes. They aren't using proxies, so deformation wouldn't be propagated
in sculpt_combine_proxies().

So, maye idea of getting rid of "extra" memory allocaiton/disposing was not
such cool due to it lead to such exception ways?
------------------------------------------------------------------------
r34846 | nazgul | 2011-02-14 18:06:15 +0200 (Mon, 14 Feb 2011) | 2 lines

First modifiers with deformMatrices callback used to be applied twice when
building crazytspace. Not sure why this worked.
------------------------------------------------------------------------
r34843 | campbellbarton | 2011-02-14 13:30:35 +0200 (Mon, 14 Feb 2011) | 2 lines

comments for how py-rna calls api new classes. small speedup for StructRNA.__new__(...) used for creating new classes and corrected exception type.

------------------------------------------------------------------------
r34842 | campbellbarton | 2011-02-14 10:14:52 +0200 (Mon, 14 Feb 2011) | 2 lines

improve py/rna exception messages.

------------------------------------------------------------------------
r34841 | campbellbarton | 2011-02-14 09:26:07 +0200 (Mon, 14 Feb 2011) | 6 lines

py rna api: turn class.is_register into a class property rather then a class method.
eg:

if MySybclass.is_registered:
    ...

------------------------------------------------------------------------
r34840 | campbellbarton | 2011-02-14 08:15:23 +0200 (Mon, 14 Feb 2011) | 3 lines

convenience targets for makefile
clean, test, package_debian, package_pacman

------------------------------------------------------------------------
r34839 | nazgul | 2011-02-14 08:04:40 +0200 (Mon, 14 Feb 2011) | 1 line

Revert incorrect fix for 26062 made in svn rev34828.
------------------------------------------------------------------------
r34838 | gsrb3d | 2011-02-14 06:47:55 +0200 (Mon, 14 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34837 | campbellbarton | 2011-02-14 06:15:25 +0200 (Mon, 14 Feb 2011) | 2 lines

python api renaming and added headers for some files which didnt have one, no functionality change.

------------------------------------------------------------------------
r34836 | aligorith | 2011-02-14 05:43:28 +0200 (Mon, 14 Feb 2011) | 3 lines

Bone Colour Sets (theme ones) can now be edited from the User
Preferences UI again

------------------------------------------------------------------------
r34835 | nazgul | 2011-02-14 05:36:15 +0200 (Mon, 14 Feb 2011) | 2 lines

Active spline number should also be stored/restored by undo stack.
It could point to nowhere otherwise.
------------------------------------------------------------------------
r34834 | campbellbarton | 2011-02-14 05:15:55 +0200 (Mon, 14 Feb 2011) | 6 lines

misc small changes:
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects
- printing python collection now prints its type (when available)
- renamed shadowed vars in bpy_rna.c.
- when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.

------------------------------------------------------------------------
r34833 | aligorith | 2011-02-14 05:04:59 +0200 (Mon, 14 Feb 2011) | 2 lines

Forgot NLA Editor support for this...

------------------------------------------------------------------------
r34832 | aligorith | 2011-02-14 04:50:52 +0200 (Mon, 14 Feb 2011) | 2 lines

Graph Editor part of the changes in the previous commit...

------------------------------------------------------------------------
r34831 | aligorith | 2011-02-14 04:30:33 +0200 (Mon, 14 Feb 2011) | 14 lines

DopeSheet: Add menu entries and hotkeys to select all keyframes
left/right to current frame in dope sheet

This commit separates out this selection functionality out of the
click-selection operator into a separate operator, so that hotkeys and
menu entries can be assigned to it.

This is based on an idea+patch (#23738) submitted by Torsten Rupp
(rupp), though I've ultimately decided not to go with the suggested
implementation as I don't think this fits that well under the "column"
select operator.

Todo: Graph Editor support will be coming shortly...

------------------------------------------------------------------------
r34830 | campbellbarton | 2011-02-14 03:31:44 +0200 (Mon, 14 Feb 2011) | 1 line

fix for string copy error in own recent commit
------------------------------------------------------------------------
r34828 | nazgul | 2011-02-13 21:47:57 +0200 (Sun, 13 Feb 2011) | 4 lines

Fix #26062: build_debian.sh gives unappropriate deb version

Added subverison number to debian package version. Quick tests run ok,
but haven't checked if deb version comparation also goes fine.
------------------------------------------------------------------------
r34827 | nazgul | 2011-02-13 21:04:01 +0200 (Sun, 13 Feb 2011) | 6 lines

Fix #26072: ctrl+LMB on an empty curve make Blender crash

Crash was caused by keeping active segment index even when this
segment had been deleted. Fixed this and also changed behaviour
of creating new CV for case nothing is selected: new segment with
BEZIER type would be created.
------------------------------------------------------------------------
r34826 | campbellbarton | 2011-02-13 17:02:21 +0200 (Sun, 13 Feb 2011) | 5 lines

warning cleanup.
- fix mistake with grease pencil UI (&& was intended but & used).
- use (void) rather then () across _all_ blenders code.
- a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.

------------------------------------------------------------------------
r34825 | ton | 2011-02-13 16:55:39 +0200 (Sun, 13 Feb 2011) | 6 lines

Patch 26068

Fast-gauss node didn't respond to socket-input "Size" factor.
Thanks Philipp Oeser for the fix!


------------------------------------------------------------------------
r34824 | campbellbarton | 2011-02-13 16:16:36 +0200 (Sun, 13 Feb 2011) | 5 lines

many functions in blender are not marked static but should be.
most local modifier,GPU,ImBuf and Interface functions are now static.

also fixed an error were the fluid modifier definition and the header didnt have the same number of args.

------------------------------------------------------------------------
r34823 | ton | 2011-02-13 15:55:41 +0200 (Sun, 13 Feb 2011) | 6 lines

Bugfix #26066

Shader node "Mapping" had buttons assuming it stored radians, drawing
the values converted wrongly. In this case the storage has degrees...


------------------------------------------------------------------------
r34822 | jhk | 2011-02-13 15:50:19 +0200 (Sun, 13 Feb 2011) | 4 lines

Small addition to particle grid distribution:
* New option to distribute particles in a hexagonal grid.
* This is much more stable for fluids than normal grid distribution and looks quite nice otherwise too :)
* Also some small scale code cleanup of grid distribution code.
------------------------------------------------------------------------
r34821 | campbellbarton | 2011-02-13 15:07:12 +0200 (Sun, 13 Feb 2011) | 2 lines

corrected error from commit r34810.

------------------------------------------------------------------------
r34820 | campbellbarton | 2011-02-13 14:50:40 +0200 (Sun, 13 Feb 2011) | 2 lines

fix for error building.

------------------------------------------------------------------------
r34819 | jhk | 2011-02-13 14:35:26 +0200 (Sun, 13 Feb 2011) | 4 lines

Some more fixes for particle textures:
* Moving a texture slot didn't keep the moved slot active.
* Copy & paste for particle textures didn't work.
* New textures weren't freed properly.
------------------------------------------------------------------------
r34818 | jhk | 2011-02-13 13:45:04 +0200 (Sun, 13 Feb 2011) | 2 lines

Fix for [#26053] Blender Crash with Particules Textures
* Particle textures weren't handled properly on texture slot move operations.
------------------------------------------------------------------------
r34817 | jhk | 2011-02-13 13:32:47 +0200 (Sun, 13 Feb 2011) | 1 line

Added an operator warning for missing material & texture in response to [#26051] "Noise" not working.
------------------------------------------------------------------------
r34816 | campbellbarton | 2011-02-13 12:52:18 +0200 (Sun, 13 Feb 2011) | 5 lines

fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.

------------------------------------------------------------------------
r34815 | nazgul | 2011-02-13 12:34:24 +0200 (Sun, 13 Feb 2011) | 3 lines

Related to #26061: Camera does not appear selected in outliner when it is

Draw higlighting circle for active camera in outliner
------------------------------------------------------------------------
r34814 | nazgul | 2011-02-13 12:28:40 +0200 (Sun, 13 Feb 2011) | 3 lines

Fix #26064: blenderplayer is broken

This changes were forgotten in svn rev34810. Should work fine now.
------------------------------------------------------------------------
r34813 | nazgul | 2011-02-13 12:25:12 +0200 (Sun, 13 Feb 2011) | 7 lines

Fix #26059: select_vertex_path fails when vertices aren't selected 1 by 1 in gui

Cicrcle and border selection doesn't add entry to EditSelection. Use cycle
through vertices rather than EditSelection stack to find two selected vertices.

No slowdown for case two vertices are selected (use this cycle to clear temporary
flag too), minor slowdown for unsupported selections.
------------------------------------------------------------------------
r34812 | aligorith | 2011-02-13 09:39:43 +0200 (Sun, 13 Feb 2011) | 6 lines

Reverting part of 34810

The changes here were breaking old rigs, for example the right eyeball
in the Sintel rig (which uses the Mirror Modifier and its vertex-group
mirroring functionality)

------------------------------------------------------------------------
r34811 | aligorith | 2011-02-13 08:19:15 +0200 (Sun, 13 Feb 2011) | 2 lines

Fixing compiling on windows

------------------------------------------------------------------------
r34810 | campbellbarton | 2011-02-13 05:21:27 +0200 (Sun, 13 Feb 2011) | 4 lines

enforce string limits (reported by pedantic checking tools & some developers).
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf().
also fix possible crash if CWD isnt available.

------------------------------------------------------------------------
r34809 | campbellbarton | 2011-02-13 04:55:23 +0200 (Sun, 13 Feb 2011) | 2 lines

remove unused var

------------------------------------------------------------------------
r34808 | campbellbarton | 2011-02-13 03:59:16 +0200 (Sun, 13 Feb 2011) | 2 lines

wrong length used with strncmp when comparing RNA path.

------------------------------------------------------------------------
r34807 | gsrb3d | 2011-02-13 02:37:42 +0200 (Sun, 13 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34806 | jhk | 2011-02-13 01:25:03 +0200 (Sun, 13 Feb 2011) | 3 lines

Small update for billboards:
* Renamed the old split uv's animate option "time" to "age" and added a new option to change the used split frame by frame. These are good changes were suggested/implied by Hannu Hoffren over 3 years ago in his tutorial video! (oh my how time flies)
* Also cleaned up the billboard ui quite a bit. For example now the uv channels can be properly chosen from the existing channels.
------------------------------------------------------------------------
r34805 | jhk | 2011-02-12 23:54:50 +0200 (Sat, 12 Feb 2011) | 5 lines

Fix for [#25857] create_dupli_list incorrect behaviour with particle systems
* Particle duplis are now always created with render percentage if G.rendering is set.
* This is not yet a perfect solution (hair for example won't yet work correctly), but
  it's good to have even partial functionality here until a proper way to handle this
  is implemented.
------------------------------------------------------------------------
r34804 | jhk | 2011-02-12 19:54:24 +0200 (Sat, 12 Feb 2011) | 6 lines

Small particle effectors update:
* Greetings from farsthary: particle rotation is now taken into account for particle effector direction.
** This gives all kinds of new possibilities as he shows in his blog http://farsthary.wordpress.com/2011/02/08/vortex-particle-simple-tut/.
**The only modification I made to his patch was to use the actual rotated particle direction as the effector direction as this defaults to the particle velocity vector, so no actual new options are needed.
* I also added an "effector amount" setting for particle effectors so that only a part of the particles can be considered as effectors. This makes it possible to create simple "farsthary vortexes" with only one particle system.
* Also some tiny reorganization of the falloff min/max values for a nicer ui.
------------------------------------------------------------------------
r34803 | nazgul | 2011-02-12 19:51:02 +0200 (Sat, 12 Feb 2011) | 12 lines

Sculpting on deformed mesh
==========================

Removed limitation of armatured-only objects for sculpting -- now all
deformation modifiers are allowed in sculpt mode. Use crazyspace corrections
like from transformation modules was used to support all deformation modifiers.

Internal change: all crazyspace-related functions were noved to crazyspace.c

P.S. Brush could make quite unexpected deformation for meshes which are
     deformed in specified way. Got patch for this and discussing with Brecht
	 if it's really needed or maybe it could be done in better way.
------------------------------------------------------------------------
r34802 | nazgul | 2011-02-12 19:28:37 +0200 (Sat, 12 Feb 2011) | 7 lines

Save one memory block allocation/disposing when propagating changes from
deformed PBVH to the base mesh.

It's not real bottleneck, but crazyspace corrections looks nicer now.
Real bottleneck is normals re-calculation, which calls plenty of
fsqrt's. We could avoid this for some modifiers (which don't use
normals), but such checking would make code less controllable.
------------------------------------------------------------------------
r34801 | campbellbarton | 2011-02-12 18:54:24 +0200 (Sat, 12 Feb 2011) | 5 lines

fix for more warnings.
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array.
- use BLI_snprintf rather then sprintf where the size of the string is known.
- particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).

------------------------------------------------------------------------
r34800 | jhk | 2011-02-12 18:06:27 +0200 (Sat, 12 Feb 2011) | 1 line

Warning fix to my previous commit. Thanks to nazg-gul for noticing!
------------------------------------------------------------------------
r34799 | moguri | 2011-02-12 17:44:09 +0200 (Sat, 12 Feb 2011) | 1 line

Fixing a recounting bug so KX_Scene.pre_draw.append() and KX_Scene.post_draw.append() work.
------------------------------------------------------------------------
r34798 | jhk | 2011-02-12 16:38:34 +0200 (Sat, 12 Feb 2011) | 19 lines

Particles todo item: particle textures
* Effecting particle properties with textures was possible in 2.49,
  but not in 2.5 anymore.
* Now particles have their own textures (available in texture panel
  for objects with particle systems), which are totally separate from
  the material textures.
* Currently a basic set of particle properties is available for
  texture control. Some others could still be added, but the whole
  system is not intended as an "change anything with a texture" as
  this kind of functionality will be provided with node particles in
  the future much better.
* Combined with the previously added "particle texture coordinates"
  this new functionality also solves the problem of animating particle
  properties through the particle lifetime nicely.
* Currently the textures only use the intensity of the texture in
  "multiply" blending mode, so in order for the textures to effect
  a particle parameter there has to be a non-zero value defined for
  the parameter in the particle settings. Other blend modes can be
  added later if they're considered useful enough.
------------------------------------------------------------------------
r34797 | campbellbarton | 2011-02-12 16:25:54 +0200 (Sat, 12 Feb 2011) | 4 lines

- fix leak on STL loading if realloc fails.
- transform code was using sprintf reading and writing the same string (undefined behavior).
- softbody had unneeded NULL check.

------------------------------------------------------------------------
r34795 | campbellbarton | 2011-02-12 13:50:14 +0200 (Sat, 12 Feb 2011) | 2 lines

last commit. r34794 didn't fix all cases of bad BLI_getwdN() use.

------------------------------------------------------------------------
r34794 | campbellbarton | 2011-02-12 12:37:37 +0200 (Sat, 12 Feb 2011) | 2 lines

fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the CWD was longer then 160.

------------------------------------------------------------------------
r34793 | campbellbarton | 2011-02-12 12:18:21 +0200 (Sat, 12 Feb 2011) | 2 lines

access past array bounds in layerInterp_mdisps, also make some vars const.

------------------------------------------------------------------------
r34792 | campbellbarton | 2011-02-12 11:58:28 +0200 (Sat, 12 Feb 2011) | 2 lines

fix for possible (but unlikely) problem with strncpy not adding \0 and then extending the string with strcat. use BLI_snprintf instead.

------------------------------------------------------------------------
r34790 | campbellbarton | 2011-02-12 11:09:52 +0200 (Sat, 12 Feb 2011) | 4 lines

- resource leak in pointcache, opendir without closedir()
- reading pointcache was using an incorrect, always NULL variable.
- commented NDof code, was giving warnings and isnt used now.

------------------------------------------------------------------------
r34789 | campbellbarton | 2011-02-12 10:12:00 +0200 (Sat, 12 Feb 2011) | 4 lines

- move keyingsets_utils.py into modules.
- add gplv2 header
- define __all__ so when importing '*' it wont being in locally defined vars.

------------------------------------------------------------------------
r34788 | campbellbarton | 2011-02-12 10:04:32 +0200 (Sat, 12 Feb 2011) | 2 lines

update templates for registration changes

------------------------------------------------------------------------
r34787 | campbellbarton | 2011-02-12 08:25:04 +0200 (Sat, 12 Feb 2011) | 2 lines

fix for building with opencollada 833 on linux.

------------------------------------------------------------------------
r34786 | campbellbarton | 2011-02-12 07:12:26 +0200 (Sat, 12 Feb 2011) | 2 lines

quiet some clang warnings.

------------------------------------------------------------------------
r34785 | campbellbarton | 2011-02-12 03:02:21 +0200 (Sat, 12 Feb 2011) | 3 lines

render stats_background() was giving clang warning about unused argument and wasn't checking for buffer overrun (though this would be very unlikely).
write to the stdout directly rather then building a string and writing that. (no functional change).

------------------------------------------------------------------------------------------------------------------------------------------------
r34784 | gsrb3d | 2011-02-11 21:36:58 +0200 (Fri, 11 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34783 | ton | 2011-02-11 20:29:52 +0200 (Fri, 11 Feb 2011) | 6 lines

Bugfix #26021

On certain buttons, and only when not in triple buffer, pressing
RMB "Add shortcut" crashed Blender. NULL check missing.


------------------------------------------------------------------------
r34781 | nazgul | 2011-02-11 19:56:25 +0200 (Fri, 11 Feb 2011) | 4 lines

Fix #26039: Relative Shapkeys have wrong coordinates after inserting vertices

There was invalid memory access for newly created vertices.
Added checking of keyindex value when calculating verticies offsets.
------------------------------------------------------------------------
r34780 | nazgul | 2011-02-11 19:43:56 +0200 (Fri, 11 Feb 2011) | 3 lines

Fix #26040: Crash converting curve to mesh

Really stupid mistake :)
------------------------------------------------------------------------
r34779 | nazgul | 2011-02-11 17:15:35 +0200 (Fri, 11 Feb 2011) | 4 lines

Made some function from DerivedMesh.c be avaliable from other modules.
Some naming changes to make naming more uniform. No functional changes.

It's necessery for further crazyspace changes and improvenments.
------------------------------------------------------------------------
r34778 | jhk | 2011-02-11 16:59:19 +0200 (Fri, 11 Feb 2011) | 2 lines

Bug fix for problem 2 in [#25973] Bake End Frame Not Configurable
* External caches didn't load for smoke straight away. Smoke caches store all necessary info in every file, so no need to try to look for an info file.
------------------------------------------------------------------------
r34777 | campbellbarton | 2011-02-11 14:30:17 +0200 (Fri, 11 Feb 2011) | 3 lines

patch [#25978] mathutils fixes for bpy_types.py and vertexpaint_dirt.py
from Filiciss Muhgue (filiciss)

------------------------------------------------------------------------
r34776 | campbellbarton | 2011-02-11 12:29:47 +0200 (Fri, 11 Feb 2011) | 3 lines

patch [#26030] Debian spec fix (Patch for #26028)
from Shinsuke Irie (irie)

------------------------------------------------------------------------
r34775 | lukastoenne | 2011-02-11 11:37:58 +0200 (Fri, 11 Feb 2011) | 1 line

Removed the internal_select parameter from ntreeCopyTree. This was used just in one place when duplicating nodes, which is not an actual copying of the tree. The node duplicate operator now copies selected nodes itself.
------------------------------------------------------------------------
r34774 | campbellbarton | 2011-02-11 11:28:11 +0200 (Fri, 11 Feb 2011) | 3 lines

update pacman spec for newer python and match naming convention to debian spec.
also pre-compile python modiles.

------------------------------------------------------------------------
r34773 | lukastoenne | 2011-02-11 09:46:06 +0200 (Fri, 11 Feb 2011) | 1 line

Made group label callback function static.
------------------------------------------------------------------------
r34772 | campbellbarton | 2011-02-11 05:42:36 +0200 (Fri, 11 Feb 2011) | 2 lines

add torus script wasnt registering.

------------------------------------------------------------------------
r34771 | campbellbarton | 2011-02-11 04:40:14 +0200 (Fri, 11 Feb 2011) | 3 lines

cls.is_registered() class method for python subclasses of internal types.
Synonymous with ('bl_rna' in cls.__dict__)

------------------------------------------------------------------------
r34770 | campbellbarton | 2011-02-11 03:27:00 +0200 (Fri, 11 Feb 2011) | 2 lines

bpy.utils.register_module() generator could go into eternal loop.

------------------------------------------------------------------------
r34769 | campbellbarton | 2011-02-11 03:12:01 +0200 (Fri, 11 Feb 2011) | 7 lines

UI functions added to existing UI classes (operators adding their own menus for eg),
would stop the entire menu from drawing if they raised an exception.

now print the exception and continue.

Also added a verbose argument for bpy.utils.(un)register_module() to help test whats being registered.

------------------------------------------------------------------------
r34768 | campbellbarton | 2011-02-11 02:39:07 +0200 (Fri, 11 Feb 2011) | 3 lines

use weak references for the internal metaclass typemap,
this should help with blender leaking memory with python classes though the bug is still not fixed.

------------------------------------------------------------------------
r34767 | campbellbarton | 2011-02-11 02:11:17 +0200 (Fri, 11 Feb 2011) | 4 lines

minor python register changes.
- KeyingSetInfo classes are now collected like Panels, Operators etc so bpy.utils.register_module() can be used.
- move bpy.types.register() to bpy.utils.register_class

------------------------------------------------------------------------
r34766 | dfelinto | 2011-02-11 02:03:26 +0200 (Fri, 11 Feb 2011) | 5 lines

BGE: frame start/end in action/fcurves/shapekey to support floats
after discussion over the mailing-list it seems that it really makes no sense to restrict that. Specially since we have the "Property" playback mode that usually will be a float.

Since there is no need for do_version or whatoever I don't see a problem. Any Thoughts? Maube to allow it only through the Python API?

------------------------------------------------------------------------
r34765 | campbellbarton | 2011-02-11 01:48:22 +0200 (Fri, 11 Feb 2011) | 9 lines

patch [#25809] Auto-Registration as utility function.
This removes auto-registration, committed by Martin r30961.
Realize this is a contentious topic but Brecht and myself both would rather opt-in registration.

TODO:
- addons need updating.
- class list will be modified to use weakrefs (should have been done for existing system too).
- will move bpy.types.(un)register functions into bpy.utils.(un)register_class, currently including these functions in a type list is internally ugly, scripts which loop over types also need to check for these.

------------------------------------------------------------------------
r34764 | lukastoenne | 2011-02-10 22:54:02 +0200 (Thu, 10 Feb 2011) | 2 lines

Different method for blur node aspect correction. Now the user can still set different sizes for x/y blurring in relative mode, but choose to use aspect correction on either of the axes.

------------------------------------------------------------------------
r34763 | lukastoenne | 2011-02-10 20:54:49 +0200 (Thu, 10 Feb 2011) | 2 lines

More options for the blur node filter size. This can now be pixel based or relative to both axes or just either width or height.

------------------------------------------------------------------------
r34762 | ton | 2011-02-10 19:23:00 +0200 (Thu, 10 Feb 2011) | 7 lines

Bugfix #26013

Good discovery this one.
It appeared that "pose mode" changes were not registered in our undo system.
That way the first operator you try to redo after exit posemode fails.


------------------------------------------------------------------------
r34761 | ton | 2011-02-10 17:47:55 +0200 (Thu, 10 Feb 2011) | 8 lines

Bugfix #26001

Adding a byte rect to float ImBuf was always freeing the mipmap levels.
Removed this convention since it crashes renders + image texture draw.

Proper ownership handling of ImBuf is high on the wish list :)


------------------------------------------------------------------------
r34760 | campbellbarton | 2011-02-10 16:59:17 +0200 (Thu, 10 Feb 2011) | 3 lines

fix for crash with GLSL material when image couldn't be loaded.
also quiet pep8 warnings.

------------------------------------------------------------------------
r34759 | campbellbarton | 2011-02-10 16:13:13 +0200 (Thu, 10 Feb 2011) | 2 lines

mesh validation remove duplicate faces didn't always work, now it _should_ all work correctly.

------------------------------------------------------------------------
r34758 | campbellbarton | 2011-02-10 14:35:44 +0200 (Thu, 10 Feb 2011) | 2 lines

error building last commit.

------------------------------------------------------------------------
r34757 | campbellbarton | 2011-02-10 14:34:52 +0200 (Thu, 10 Feb 2011) | 2 lines

mesh validation: bugfix for removing doubles, another fix coming...

------------------------------------------------------------------------
r34756 | aligorith | 2011-02-10 12:24:05 +0200 (Thu, 10 Feb 2011) | 7 lines

Bugfix [#26004] compositor: backdrop zoom factor too small

The backdrop zoom factor for new node-editor instances was not set
(i.e. was default initialised to 0). Now, this gets set to 1.0.

Also, set the property default in RNA to match this.

------------------------------------------------------------------------
r34755 | aligorith | 2011-02-10 12:14:12 +0200 (Thu, 10 Feb 2011) | 14 lines

Bugfix [#26002] Outliner Visible layers + Single object & data = broke
conections

It seems that some of the Outliner hacks used while building the tree
was causing problems, as Make Single User (and potentially other code
working with ID-data, specifically with the "newid" value there) was
making use of the variable used there for other purposes, leading to
memory corruption.

This bug also occurred in 2.4x, though when I tested there, it crashed
immediately.

Ton, you may want to double-check this bug!

------------------------------------------------------------------------
r34754 | aligorith | 2011-02-10 11:39:55 +0200 (Thu, 10 Feb 2011) | 2 lines

Small consistency fixups

------------------------------------------------------------------------
r34753 | campbellbarton | 2011-02-10 11:29:31 +0200 (Thu, 10 Feb 2011) | 7 lines

mesh.validate() now returns True if any corrections were made.
tested that correcting invalid meshes works by generating random meshes and checking that only the first call to mesh.validate() makes changes.

found 2 bugs in mesh validation.
- face sorting array wasn't assigned correct indices.
- removing invalid edges used wrong comparison.

------------------------------------------------------------------------
r34752 | campbellbarton | 2011-02-10 09:22:56 +0200 (Thu, 10 Feb 2011) | 2 lines

script to build debian packages directly from svn, using blender version and svn rev for package name.

------------------------------------------------------------------------
r34751 | campbellbarton | 2011-02-10 08:11:16 +0200 (Thu, 10 Feb 2011) | 3 lines

debian package spec [#26007] Debian spec
by Dan Eicher (dna)

------------------------------------------------------------------------
r34750 | aligorith | 2011-02-10 07:15:05 +0200 (Thu, 10 Feb 2011) | 12 lines

Bugfix [#25831] Sorting channels broken

Recoded animation channel sorting code. In particular, the old code
didn't handle "islands" of selected items well (i.e. a chain of
several connected items in a row), with some of these cases having
unpredictable results.

There were also some bugs in the way some of the rearranging methods
worked, allowing some invalid operations to be performed. Some of
these probably triggered errors such as some channels getting stuck,
and so on.

------------------------------------------------------------------------
r34749 | campbellbarton | 2011-02-10 06:48:49 +0200 (Thu, 10 Feb 2011) | 5 lines

fix [#26003] Twice applied modifier with Convert to mesh with several multi-user objects
convert_exec could do with a re-write, getting quite confusing.

update md5's for ctest results and some renaming in mesh_validate code.

------------------------------------------------------------------------
r34748 | mfoxdogg | 2011-02-10 02:44:26 +0200 (Thu, 10 Feb 2011) | 1 line

small fix so older files are loaded with merge on in the mirror modifiers
------------------------------------------------------------------------
r34747 | zanqdo | 2011-02-10 02:25:00 +0200 (Thu, 10 Feb 2011) | 1 line

Set default for merge mirror to ON
------------------------------------------------------------------------
r34746 | mfoxdogg | 2011-02-10 02:05:54 +0200 (Thu, 10 Feb 2011) | 1 line

missing UI changes from previous commit
------------------------------------------------------------------------
r34745 | mfoxdogg | 2011-02-10 02:05:03 +0200 (Thu, 10 Feb 2011) | 1 line

small feature request from zanqdo, merging in the mirror modifier is now optional, simply turning town the merge limit just simply do anything, and merging is off by default as this seems more logical behaviour
------------------------------------------------------------------------
r34743 | nazgul | 2011-02-09 17:38:49 +0200 (Wed, 09 Feb 2011) | 2 lines

Update mesh normals when undoing sculpt stroke to prevent shading
artifacts in some cases (enter edit mode/disabling modifiers after undo)
------------------------------------------------------------------------
r34742 | campbellbarton | 2011-02-09 17:32:39 +0200 (Wed, 09 Feb 2011) | 2 lines

fix [#25994] Meshes with no vertices gets NaN location on setting origin to geometry

------------------------------------------------------------------------
r34741 | campbellbarton | 2011-02-09 17:13:20 +0200 (Wed, 09 Feb 2011) | 2 lines

BKE_mesh_validate() now corrects invalid meshes (optionally), added access for python so it can correct for bad imported geometry - mesh.validate().

------------------------------------------------------------------------
r34739 | jhk | 2011-02-09 13:03:11 +0200 (Wed, 09 Feb 2011) | 2 lines

Restoring the old behavior of switching texture context based on active tab:
* Once again switching to texture panel from material, world or lamp data tab sets the texture context automatically to the "parent context".
------------------------------------------------------------------------
r34737 | campbellbarton | 2011-02-09 11:20:17 +0200 (Wed, 09 Feb 2011) | 3 lines

use static functions rather then defines for internal matrix__apply_to_copy() and similar.
+ other minor internal changes.

------------------------------------------------------------------------
r34736 | campbellbarton | 2011-02-09 06:45:53 +0200 (Wed, 09 Feb 2011) | 2 lines

fix [#25968] Crash on changing merge distance in array modifier with edgesplit modifier in chain

------------------------------------------------------------------------
r34735 | campbellbarton | 2011-02-09 05:49:59 +0200 (Wed, 09 Feb 2011) | 3 lines

bugfix [#25523] Face extrude will crash Blender if array and subsurf modifier are added to mesh object
test_index_face() failed to fix indices like (6,0,0,6), making it (0,6,6,0).

------------------------------------------------------------------------
r34734 | gsrb3d | 2011-02-09 05:48:40 +0200 (Wed, 09 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34733 | campbellbarton | 2011-02-09 04:28:11 +0200 (Wed, 09 Feb 2011) | 2 lines

move validation into blender kernel so it can be called by internal modifier funcs more easily.

------------------------------------------------------------------------
r34732 | campbellbarton | 2011-02-09 04:09:30 +0200 (Wed, 09 Feb 2011) | 11 lines

patch [#25972] blender-thumbnailer.py: GVFS support
from Shinsuke Irie (irie) with some minor edits.

Shinsuke's description from the tracker:
---
I have implemented GVFS framework support of blender-thumbnailer.py which allows some file managers like Nautilus and Thunar to show thumbnails in trash or network directories. If Python's gio module is available, the thumbnailer uses it to access to filesystems mounted via GVFS. This change shouldn't affect desktop environments other than GNOME and XFCE.

A function gvfs_open() in this patch is defined to solve a stupid incompatibility between Python file object and GIO Seekable object.

On Ubuntu 10.10, I confirmed thumbnails can be generated for file://, trash://, sftp://, and smb://.

------------------------------------------------------------------------
r34731 | aligorith | 2011-02-09 04:09:25 +0200 (Wed, 09 Feb 2011) | 3 lines

Graph Editor: Added option to turn off AA drawing for performance
gains when using really heavy files

------------------------------------------------------------------------
r34730 | campbellbarton | 2011-02-09 03:27:46 +0200 (Wed, 09 Feb 2011) | 10 lines

mesh validation function to report errors and help debug bad data generated by modifiers.

detects...
- invalid vertex range for edges/faces
- duplicate indices in edge/face
- duplicate edges/faces in mesh
- missing edges data in faces

At the moment it doesn't correct errors, but eventually it will do this.

------------------------------------------------------------------------
r34729 | mfoxdogg | 2011-02-09 03:21:03 +0200 (Wed, 09 Feb 2011) | 3 lines

Fix for rendering procedual bump maps, mapped in world space, since the new bump map kernel uses direction, this bug became a real issue, with bumps suddenly changing direction

Fix provided due to a long session on IRC with Morten S. Mikkelsen (sparky_)
------------------------------------------------------------------------
r34728 | aligorith | 2011-02-09 03:16:11 +0200 (Wed, 09 Feb 2011) | 7 lines

Old animation conversion code cleanups:
- Tidying up some inconsistent formatting
- Names of old IPO blocks are now included in the names used for new
actions. These are included after a "CDA:" prefix, (i.e.  "_C_onverted
_D_ata _A_ction:"), which makes it easier to browse through these
actions later.

------------------------------------------------------------------------
r34727 | aligorith | 2011-02-09 03:05:40 +0200 (Wed, 09 Feb 2011) | 10 lines

Bugfix [#25987] Duplicated markers naming issue

One-liner fix - a missing "OPERATOR_FINISHED" on the select operator
was causing problems renaming markers and potentially with other
operations too!

To find this bug, I added debug method to dump the list of markers to
console. This has revealed some troublesome things about the way
markers are organised, which IMO need to be addressed.

------------------------------------------------------------------------
r34726 | aligorith | 2011-02-09 02:52:53 +0200 (Wed, 09 Feb 2011) | 4 lines

Bugfix: When removing the "only insert for active keyingset" option
for Auto-keying from the UserPrefs, I forgot to remove the option from
the UI there.

------------------------------------------------------------------------
r34725 | aligorith | 2011-02-09 02:51:30 +0200 (Wed, 09 Feb 2011) | 30 lines

Bugfix [#25990] backward compatibility with ShapeKey Actions :: 2.49
-> 2.50

Actionified ShapeKey IPO-blocks (i.e. "Shape Key Actions") would have
an action channel with the hardcoded name, "Shape", and this action
would be assigned to Object level (although ShapeKey blocks had their
own IPO-block slot, only Objects could have actions, so actionifying
ShapeKey IPO-blocks would wrap a ShapeKey block's IPO's to an Object-
level action).

Hence, the path conversions code would wrongly interpret this action
channel as referring to a Pose Channel instead, thus creating some
invalid paths with a 'pose.bones["Shape"]' prefix wrongly getting
tacked on. To ensure that the converted animation can work out of the
box, a 'data.shape_keys' prefix is now used instead so that these
actions can still be Object-rooted while still being able to correctly
control the Shape Keys. This is because there's no easy way to
identify and then shift such action from Object-level to ShapeKey-
level within the conversion code. The consequence though is that such
converted ShapeKey actions CAN ONLY BE USED THROUGH OBJECT LEVEL (i.e.
via Action NOT ShapeKey editor).

Secondly, the Action/ShapeKey editor version patching code has been
modified so that if a ShapeKey editor view was active when loading an
old 2.4x file, the action gets cleared from the view. This is because
of this didn't make semantic sense: the ShapeKey editor is for
ShapeKey-rooted actions, while the Action Editor is for Object-rooted
actions. The converted files though let Object-level actions be shown
in either one.

------------------------------------------------------------------------
r34724 | campbellbarton | 2011-02-09 02:45:16 +0200 (Wed, 09 Feb 2011) | 2 lines

ignore __pycache__ dir for scons and cmake installation (py3.2 caches modules here).

------------------------------------------------------------------------
r34723 | campbellbarton | 2011-02-08 23:32:26 +0200 (Tue, 08 Feb 2011) | 2 lines

use update() rather then update_tag(), needed for making edge data.

------------------------------------------------------------------------
r34722 | lmg | 2011-02-08 18:24:00 +0200 (Tue, 08 Feb 2011) | 4 lines

jahka IRC fix

pinning the texture properties gave python errors.

------------------------------------------------------------------------
r34721 | lmg | 2011-02-08 16:33:08 +0200 (Tue, 08 Feb 2011) | 6 lines

bugfix [#25969] GLSL missing an update on texture slot change

what did I learn from this?
"if at first you don't succeed..
   you're not kaito." ;)

------------------------------------------------------------------------
r34720 | jhk | 2011-02-08 16:29:48 +0200 (Tue, 08 Feb 2011) | 4 lines

Texture context selector for texture panel:
* Texture context was previously determined by going to the appropriate panel, for example "world panel -> texture panel" to access world textures. Additionally there was a separate button to access brush textures.
* Now the texture context can be selected directly through an expanded icon menu, which shows the available context options.
* This context selector is now at the top of the texture panel, but this could later be perhaps integrated to the context path somehow to be more intuitive.
------------------------------------------------------------------------
r34719 | ton | 2011-02-08 15:48:06 +0200 (Tue, 08 Feb 2011) | 7 lines

Bugfix #25957

RMB click in InfoWindow "console log" was missing call to set subwindow,
needed because it uses opengl picking to find active lines.
Result was that entire UI was glCleared, for some buffer swap methods.


------------------------------------------------------------------------
r34718 | lmg | 2011-02-08 15:40:54 +0200 (Tue, 08 Feb 2011) | 7 lines

fix: latest shader wasn't working on itel gfx-cards

couldn't use
a = ( float_function() < 0 )? b: c;
for whatever reason.


------------------------------------------------------------------------
r34717 | lukastoenne | 2011-02-08 14:54:32 +0200 (Tue, 08 Feb 2011) | 2 lines

Per-type node labels and customizable names. The label displayed in the node header is now by default the node type string. A custom label callback can be implemented to display more detailed information. This is currently used by group nodes, which display their internal tree name, and math, vector math, mix and filter nodes, which use their internal operation sub-type. Also the node tree selection/naming box for groups is now displayed only on open groups, to make it clearer that this is the internal type of the group and get a cleaner main tree.

------------------------------------------------------------------------
r34716 | campbellbarton | 2011-02-08 13:20:19 +0200 (Tue, 08 Feb 2011) | 3 lines

fix own recent error [#25977] Torus disappears when adding "Subdivision Surface"
ID's and meshes both have update functions, call the meshes rather then update_tag() for recalculating edges.

------------------------------------------------------------------------
r34715 | campbellbarton | 2011-02-08 12:31:47 +0200 (Tue, 08 Feb 2011) | 3 lines

add back options for loading a renderlayer to offset the image when copying the buffer to a smaller renderlayer.
This was reverted by Brecht r22541 because its inefficient but there is no way to work around this with povray at the moment so adding it back as optional args.

------------------------------------------------------------------------
r34714 | aligorith | 2011-02-08 11:57:51 +0200 (Tue, 08 Feb 2011) | 16 lines

Text Editor Bugfixes:

The poll() callbacks used in the Text Editor for scrolling and text-
block unlinking operators were too restrictive when the text block was
lib-data.

- Scrolling lib-linked texts is useful for just checking out parts of
the linked-in file that aren't visible on screen already. For example,
checking the specific rig that some UI panels script will work on, or
reading a "README.txt" linked in with notes on which layers various
controls are on. It should be fine that this temporarily modifies the
linked text-block (but for view-settings which will can be reset
later/on file load without any real consequences).
- Unlink operator should be able to be run, otherwise it would be very
difficult to remove linked files from a file (?)

------------------------------------------------------------------------
r34713 | lukastoenne | 2011-02-08 11:14:18 +0200 (Tue, 08 Feb 2011) | 1 line

Group node type info is now also initialized with helper functions.
------------------------------------------------------------------------
r34712 | lukastoenne | 2011-02-08 11:02:16 +0200 (Tue, 08 Feb 2011) | 2 lines

Finished the node type definition cleanup started in r34682. All static node types should now use the node_type_* definition helpers to initialize their bNodeType structs.

------------------------------------------------------------------------
r34711 | campbellbarton | 2011-02-08 08:22:06 +0200 (Tue, 08 Feb 2011) | 4 lines

problem with blender and python 3.2
- python 3.2 does 'import site' on startup which now tries to parse pyconfig.h which isn't copied. so for now just run without importing 'site', alternative would be to copy the header file for posix systems.
- cache PYTHON_VERSION variable so it can be set to 3.2, needed for copying python installation's other then 3.1.

------------------------------------------------------------------------
r34710 | aligorith | 2011-02-08 07:51:20 +0200 (Tue, 08 Feb 2011) | 9 lines

Bugfix [#25814] ChildOf constraint: double transformation in object
mode with drivers

ChildOf constraints added using the PoseBone.constraints.new() method
via Python scripts instead of using the operator (this latter method
is still the preferred/recommended method) were not getting some
critical flags set, causing errors arising from space conversions
being performed more than once.

------------------------------------------------------------------------
r34709 | campbellbarton | 2011-02-08 05:37:49 +0200 (Tue, 08 Feb 2011) | 3 lines

fix [#25975] Quaternion/Vector.negated() isn't available
theres no need for value.negated(), better use -vec / -quat. however -quat didn't exist.

------------------------------------------------------------------------
r34708 | campbellbarton | 2011-02-08 04:09:59 +0200 (Tue, 08 Feb 2011) | 8 lines

Change in behavior to shrinkwrap modifier's offset value with negative enabled.
- negative ray casts would invert the offset direction.
  this meant if positive and negative were enabled at once and the mesh was slightly inside & outside the object it wrapped,
  the offset would be applied in opposite directions.
  This way the offset is always along the vertex normal.

- allow negative offset from RNA, could be useful and no benefit to disable.

------------------------------------------------------------------------
r34707 | theeth | 2011-02-08 03:56:36 +0200 (Tue, 08 Feb 2011) | 3 lines

[#25693] Netrender "shadow" images with last frame always appear

Render engine postprocess property was not named properly
------------------------------------------------------------------------
r34706 | campbellbarton | 2011-02-08 03:43:16 +0200 (Tue, 08 Feb 2011) | 4 lines

fix [#25801] Shrinkwrap Offset problems with Project mode.

The positive result from the previous ray-cast is used again, inadvertently negating the offset from the first hit (acts as if no offset is applied).

------------------------------------------------------------------------
r34705 | campbellbarton | 2011-02-08 02:18:00 +0200 (Tue, 08 Feb 2011) | 2 lines

un-initialized flag used with commit r34695.

------------------------------------------------------------------------
r34704 | campbellbarton | 2011-02-08 02:10:30 +0200 (Tue, 08 Feb 2011) | 2 lines

fix own error in recent commit [#25970] cannot create scale matrix after mathutils updates

------------------------------------------------------------------------
r34703 | campbellbarton | 2011-02-08 02:01:15 +0200 (Tue, 08 Feb 2011) | 2 lines

mailed Stani Michiels and he's ok to switch his console autocomplete to GPLv2 or later.

------------------------------------------------------------------------
r34702 | aligorith | 2011-02-08 01:21:28 +0200 (Tue, 08 Feb 2011) | 7 lines

Bugfix: Constraint target validation code was broken

While testing Apply Visual transforms last night, I noticed that
setting a constraint to use its owner as its target was allowed and
didn't trigger any warnings. This clearly doesn't do any good and is
different from the old behaviour.

------------------------------------------------------------------------
r34701 | campbellbarton | 2011-02-08 00:48:23 +0200 (Tue, 08 Feb 2011) | 5 lines

minor edits, no functional changes.
- BGE was getting MCol array and not using it.
- use list lookup functions for getting constraint from pose bone.
- use const char * in more places.

------------------------------------------------------------------------
r34700 | lmg | 2011-02-07 23:57:40 +0200 (Mon, 07 Feb 2011) | 5 lines

GLSL shader part

bump-mapping update to properly support
multiple textures in different bump-spaces.

------------------------------------------------------------------------
r34699 | lmg | 2011-02-07 23:55:54 +0200 (Mon, 07 Feb 2011) | 5 lines

bump-mapping update to properly support
 multiple textures in different bump-spaces.

kudos to M.L.Mikkelsen (sparky) for helping with the math! :)

------------------------------------------------------------------------
r34698 | dfelinto | 2011-02-07 20:42:07 +0200 (Mon, 07 Feb 2011) | 4 lines

Logic UI: Game Actuator options renaming
After talking with Ton Roosendaal we agreed on making those changes.
I wonder if we should go for "Start Game" instead of "From File". But Space is not a constraint here so be it.

------------------------------------------------------------------------
r34697 | dfelinto | 2011-02-07 20:24:15 +0200 (Mon, 07 Feb 2011) | 7 lines

Logic UI: Armature Actuator + general Captalizing 1st letter of UI text
- Armature Actuator now only shows the "Secondary Target" option when the Bone Constraint supports it (IK only now).
-- that may be overkill I don't know. It shouldn't slow down the UI considerably, so it should be fine. Easy to revert if needed though.

- renaming things such as "Start frame" to "Start Frame"


------------------------------------------------------------------------
r34696 | ton | 2011-02-07 20:09:27 +0200 (Mon, 07 Feb 2011) | 6 lines

Bugfix 25965

New "auto render" now prevents calling anim-updates, that's
not needed (and popped back transformed keyed objects).


------------------------------------------------------------------------
r34695 | ton | 2011-02-07 18:41:57 +0200 (Mon, 07 Feb 2011) | 31 lines

Todo/feature request

When using masks or other simple 3D elements in composites, doing
a layer re-rendering on a node is a bit clumsy all the time.

This commit does two things to help:
- new hotkey "Z" in node editor automatically finds render layer
  that changed and re-renders it + composites
- option "Auto Render" does same, but then after every transform
  edit in 3D window

The latter is experimental; real & proper system for this requires
full threaded render support (like previews). But it works!

Demo file:
http://download.blender.org/demo/test/auto_composite.blend

Important fix:
After any render, all the render layers were tagged "changed", which
caused any edit to first totally recomposte everthing. Now it only
composites changes.

Implementation notes

- DAG scene flush now sets 'changed' flags in render layer nodes
- Added notifier for 'transform finished' to trigger the update,
  this is temporarily.




------------------------------------------------------------------------
r34694 | dingto | 2011-02-07 16:53:40 +0200 (Mon, 07 Feb 2011) | 2 lines

Fix for [#25963] Show mouse option in wrong Panel.
Did some reorganization of the Game buttons, made a new "Display" Panel.
------------------------------------------------------------------------
r34693 | campbellbarton | 2011-02-07 15:02:44 +0200 (Mon, 07 Feb 2011) | 3 lines

remove mat_nr from MVert struct, saves 4 bytes per vertex.
used to be used for halo's

------------------------------------------------------------------------
r34692 | aligorith | 2011-02-07 14:37:14 +0200 (Mon, 07 Feb 2011) | 3 lines

Argh! This code is haunted... (line 666) compiler here isn't barfing
on these errors tonight :/

------------------------------------------------------------------------
r34691 | aligorith | 2011-02-07 14:28:04 +0200 (Mon, 07 Feb 2011) | 20 lines

AnimSys Todo: Scene/CompoNode Driver Hacks

Drivers for Scene, World, and Compositing Nodes now "work" (well,
sort-of)! Previously they were strictly restricted to object-
accessible data only; now they can function across the board (give or
take some weak spots).

Although there is still no depsgraph support so that these properties
update properly when their source controls are changed (this will
probably require a lot more work), they can still update under other
circumstances (i.e. frame change and/or manual refresh flushing via
mouse movement, etc.)

As the depsgraph tagging support is lacking, these just get always
executed for now, which might potentially be quite sluggish, though it
is hoped that there are so few of these top-level datablocks with
drivers hooked up that this is barely an issue in practice. At least I
haven't noticed any substantial slowdowns for animation playback, so
it should probably be fine.

------------------------------------------------------------------------
r34690 | campbellbarton | 2011-02-07 14:07:26 +0200 (Mon, 07 Feb 2011) | 2 lines

fix [#25926] lattice + projection on surface snap issue

------------------------------------------------------------------------
r34689 | jhk | 2011-02-07 13:55:24 +0200 (Mon, 07 Feb 2011) | 1 line

Bug fix: adding force fields from the add menu didn't sort the depsgaph, so hair didn't update straight away to force field settings changes.
------------------------------------------------------------------------
r34688 | aligorith | 2011-02-07 13:51:28 +0200 (Mon, 07 Feb 2011) | 2 lines

Compiling commit for previous commit...

------------------------------------------------------------------------
r34687 | jhk | 2011-02-07 13:43:33 +0200 (Mon, 07 Feb 2011) | 5 lines

Hair ui simplification:
* There were a lot of settings in the particle panels that made no sense for simple hair and only cluttered up the ui.
* Now these settings are hidden by default unless "advanced" hair options are shown.
* Without advanced options the particle velocity controls are replaced by a simple "hair length" value, which actually corresponds to the grown hair length in blender units.
* Some hair effector options that are actually very useful were not shown in ui. These are now found in the "field weights" panel.
------------------------------------------------------------------------
r34686 | campbellbarton | 2011-02-07 13:42:49 +0200 (Mon, 07 Feb 2011) | 2 lines

add access to radius for game objects (static objects can have radius) as well as anisotropic friction.

------------------------------------------------------------------------
r34685 | aligorith | 2011-02-07 13:38:57 +0200 (Mon, 07 Feb 2011) | 12 lines

Visual Keying Code Tweaks:

Moving this code to the same method as is used for Apply Visual
Transform (for bones case), which uses standardised decomposition
methods instead of the improvised ones used here before. This was in
an attempt to get IK chains Visual Keyed correctly, though this
doesn't seem to have improved the situation much.

Also, the decompositon for objects here now takes care of euler
rotation modes.
TODO: other rotation modes should get included here too...

------------------------------------------------------------------------
r34684 | jhk | 2011-02-07 12:54:55 +0200 (Mon, 07 Feb 2011) | 2 lines

Fix for [#25955] Hair paths under force field influence look jagged
* Effectors were applied wrong for hair.
------------------------------------------------------------------------
r34683 | aligorith | 2011-02-07 12:50:35 +0200 (Mon, 07 Feb 2011) | 10 lines

Bugfix [#25934] "Apply Visual Transform as Pose" not working?

Simplified the code for Apply Visual Transform as Pose.

This makes it work for IK chains now, since there aren't any
recalculations of the pose involved now, which were contributing to
the pose getting incorrect as the applying process went on, since the
IK chain was getting calculated differently with each successive
change to the chain.

------------------------------------------------------------------------
r34682 | lukastoenne | 2011-02-07 11:33:36 +0200 (Mon, 07 Feb 2011) | 2 lines

A simplified way of defining bNodeType structs. Instead of doing full struct member initialization for each node, this uses a couple of helper functions now. This will make it easier to change and extend the bNodeSocket interface in the future. Two examples (normal and mapping shader nodes) included, the rest should be converted too.

------------------------------------------------------------------------
r34681 | campbellbarton | 2011-02-07 10:13:28 +0200 (Mon, 07 Feb 2011) | 2 lines

rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update.

------------------------------------------------------------------------
r34680 | campbellbarton | 2011-02-07 07:05:41 +0200 (Mon, 07 Feb 2011) | 6 lines

Type checks for internal ID-Property UI min/max/tip & use defines to get values from ID-Props.
Probably wouldn't cause a problem but manually editing these types through python could easily crash blender.

also changed cmake, stub-makefile default build dir to be lower case and leave out architecture string, easier for documentation.
Use ../build/linux/ rather then ../build/Linux_i686/

------------------------------------------------------------------------
r34679 | campbellbarton | 2011-02-07 03:45:52 +0200 (Mon, 07 Feb 2011) | 2 lines

comment unused var

------------------------------------------------------------------------
r34678 | aligorith | 2011-02-07 03:28:47 +0200 (Mon, 07 Feb 2011) | 10 lines

PoseLib Bugfix:

When using Pose Lib with a search string, if the search fails after
typing a character and then you try to backspace to get back to the
previous search string, the pose does not refresh until you type in
another valid letter such that the search works again.

Did a logic reshuffled in the get next preview pose function so that
this is dealt with properly

------------------------------------------------------------------------
r34677 | campbellbarton | 2011-02-07 03:23:18 +0200 (Mon, 07 Feb 2011) | 2 lines

patch for building blender with CMake, OpenEXR & MSVC2010 by Peter K?\252mmel

------------------------------------------------------------------------
r34676 | campbellbarton | 2011-02-07 03:13:21 +0200 (Mon, 07 Feb 2011) | 3 lines

- own error with sound unpack operator using NULL pointer
- make stub now creates 'Release' build by default.

------------------------------------------------------------------------
r34675 | aligorith | 2011-02-07 00:20:26 +0200 (Mon, 07 Feb 2011) | 12 lines

PoseLib Preview/Browse Bugfixes:

- [#25951] Hardcoded Keys in PoseLib modal operator register twice per
use
Now only the KM_PRESS events are handled. KM_RELEASE events for these
are ignored...

- While checking the above, I also found that the view-manipulation
while previewing functionality was broken. This was one of the
benefits of this UI approach over a fixed screenshot-only listview.
Fixed now :)

------------------------------------------------------------------------
r34674 | ton | 2011-02-06 20:38:53 +0200 (Sun, 06 Feb 2011) | 7 lines

Bugfix #25953

Fix in crashing displacement last friday, assumed wrongly that
the old 'new bump' failed for displacement too. It still did
work (somewhat). This restores the situation again.


------------------------------------------------------------------------
r34672 | ton | 2011-02-06 19:36:42 +0200 (Sun, 06 Feb 2011) | 13 lines

Two in one:

- Bugfix #25937
  Child-of constraint now behaves like regular parent-child
  relationship when all options are set. This prevents the
  errors that can happen when decomposing non-uniform matrices.

- Todo item
  The area corner hotspots for splitting/merging were far too
  narrow. Now it uses a circular distance to detect whether
  the hotspot is active. Also cleaned up drawing code for it.


------------------------------------------------------------------------
r34670 | jhk | 2011-02-06 17:50:00 +0200 (Sun, 06 Feb 2011) | 4 lines

Bug fix: Particles in dupligroups were mostly drawn properly in 3d view, but rendering them was a real mess.
* After countless different bugs particles should now render correctly inside dupligroups.
* Only particles with metaball visualization are still problematic, this is mostly due to the ancient metaball code.
* I'll also add a test file for some of the situations, so that hopefully these cases stay fixed :)
------------------------------------------------------------------------
r34669 | campbellbarton | 2011-02-06 13:17:22 +0200 (Sun, 06 Feb 2011) | 5 lines

mathutils.Matrix.Scale(factor, size, axis)
- 'axis' arg was not coerced from a tuple like other args now do.
- 'axis' arg was being modified in-place (VERY BAD).
- also made new function matrix_3x3_as_4x4().

------------------------------------------------------------------------
r34668 | campbellbarton | 2011-02-06 12:18:20 +0200 (Sun, 06 Feb 2011) | 3 lines

- cmake was missing an inclide (IDE's wouldnt index)
- made doc generation always sumlink newly built docs to static URL. http://www.blender.org/documentation/250PythonDoc/

------------------------------------------------------------------------
r34667 | campbellbarton | 2011-02-06 11:01:01 +0200 (Sun, 06 Feb 2011) | 3 lines

bugfix [#25824] Quats + Camera + Fly = Madness
ensure quat, delta rotation is set to a unit quaternion on older files.

------------------------------------------------------------------------
r34666 | campbellbarton | 2011-02-06 08:59:11 +0200 (Sun, 06 Feb 2011) | 3 lines

fix [#25947] Smart Project is broken SVN r34664
own recent mathutils updates broke this script.

------------------------------------------------------------------------
r34665 | campbellbarton | 2011-02-06 08:54:19 +0200 (Sun, 06 Feb 2011) | 3 lines

fix [#25948] blender-thumbnailer.py does incorrect checking for the number of arguments
noticed by Shinsuke Irie (irie)

------------------------------------------------------------------------
r34664 | gsrb3d | 2011-02-06 02:49:58 +0200 (Sun, 06 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34663 | theeth | 2011-02-06 00:46:59 +0200 (Sun, 06 Feb 2011) | 5 lines

[#25693] Netrender "shadow" images with last frame always appear

More debugging info with -d

Also fix some conditions that didn't check the proper list in the ui.
------------------------------------------------------------------------
r34662 | ton | 2011-02-05 21:07:54 +0200 (Sat, 05 Feb 2011) | 10 lines

todo list item:

3D View:
In quad-view mode, the options to set back/bottom/left views were
blocked. Now they work again.

Note: the oparator polls don't have a check for properties... so it
cannot be finegrained here. Checks are inside code.


------------------------------------------------------------------------
r34661 | blendix | 2011-02-05 19:54:00 +0200 (Sat, 05 Feb 2011) | 5 lines

Another fix for the raytracing commit, forgot that it also included vertex
reordering to be consistent with the rest of the render engine. That means
the self intersection issues with non-planar quads should also be gone now.


------------------------------------------------------------------------
r34660 | ton | 2011-02-05 18:32:56 +0200 (Sat, 05 Feb 2011) | 5 lines

Bugfix #25944

Save image (F3) didn't remember the last saved path on 2nd use.


------------------------------------------------------------------------
r34659 | schlaile | 2011-02-05 17:11:29 +0200 (Sat, 05 Feb 2011) | 3 lines

This fixes: [#25608] Video Sequence Editor: problem using cut on a strip with a custom proxy file.


------------------------------------------------------------------------
r34658 | ton | 2011-02-05 17:05:17 +0200 (Sat, 05 Feb 2011) | 6 lines

Bugfix, own todo

Saving a file for the first time (after opening blender) didn't
use the last directory as saved/loaded from in a previous session.


------------------------------------------------------------------------
r34657 | blendix | 2011-02-05 16:04:59 +0200 (Sat, 05 Feb 2011) | 3 lines

Fix for last commit, missing float.h include.


------------------------------------------------------------------------
r34656 | blendix | 2011-02-05 15:41:29 +0200 (Sat, 05 Feb 2011) | 37 lines

Raytrace modifications from the Render Branch.

These should not have any effect on render results, except in some cases with
you have overlapping faces, where the noise seems to be slightly reduced.

There are some performance improvements, for simple scenes I wouldn't expect
more than 5-10% to be cut off the render time, for sintel scenes we got about
50% on average, that's with millions of polygons on intel quad cores. This
because memory access / cache misses were the main bottleneck for those scenes,
and the optimizations improve that.

Interal changes:

* Remove RE_raytrace.h, raytracer is now only used by render engine again.
* Split non-public parts rayobject.h into rayobject_internal.h, hopefully
 makes it clearer how the API is used.
* Added rayintersection.h to contain some of the stuff from RE_raytrace.h
* Change Isect.vec/labda to Isect.dir/dist, previously vec was sometimes
  normalized and sometimes not, confusing... now dir is always normalized
  and dist contains the distance.
* Change VECCOPY and similar to BLI_math functions.
* Force inlining of auxiliary functions for ray-triangle/quad intersection,
  helps a few percentages.
* Reorganize svbvh code so all the traversal functions are in one file
* Don't do test for root so that push_childs can be inlined
* Make shadow a template parameter so it doesn't need to be runtime checked
* Optimization in raytree building, was computing bounding boxes more often
  than necessary.
* Leave out logf() factor in SAH, makes tree build quicker with no
  noticeable influence on raytracing on performance?
* Set max childs to 4, simplifies traversal code a bit, but also seems
  to help slightly in general.
* Store child pointers and child bb just as fixed arrays of size 4 in nodes,
  nearly all nodes have this many children, so overall it actually reduces
  memory usage a bit and avoids a pointer indirection.


------------------------------------------------------------------------
r34655 | blendix | 2011-02-05 15:19:14 +0200 (Sat, 05 Feb 2011) | 15 lines

Fix bones moving when changing between editmode and posemode.
Patch #25901 by Tobias Oelgarte.

Bone transformations would be converted back and forth between different
representations when changing modes, which due to numerical errors could
lead to bone transformations slowly changing as you edit the armature.

Now the editmode head, tail and roll values are stored in bones and used
directly when entering edit mode. Head and tail were already there but
now we ensure they are the exact same value, roll was not yet there, so
we have a version patch for it.

The sub version was incremented to 1 for the version patch.


------------------------------------------------------------------------
r34654 | ton | 2011-02-05 15:17:34 +0200 (Sat, 05 Feb 2011) | 3 lines

Hurmf... silly cmake doesn't find C file automatic :)


------------------------------------------------------------------------
r34653 | ton | 2011-02-05 15:10:20 +0200 (Sat, 05 Feb 2011) | 4 lines

Renamed texture.c in render module, to prevent debuggers to
complain about the same named file in blenkernel.


------------------------------------------------------------------------
r34652 | ton | 2011-02-05 15:07:51 +0200 (Sat, 05 Feb 2011) | 7 lines

Bugfix 25871

Using displacement with new bump caused NaN values or crashes.
Since displace code doesn't provide derivatives, it now falls
back to "old bump" by default.


------------------------------------------------------------------------
r34651 | lmg | 2011-02-05 13:46:44 +0200 (Sat, 05 Feb 2011) | 2 lines

accidentally left scaling code commented out when testing.

------------------------------------------------------------------------
r34650 | campbellbarton | 2011-02-05 12:40:42 +0200 (Sat, 05 Feb 2011) | 5 lines

mathutils fixes noticed when refactoring.
- comparing eulers was ignoring the order.
- printing Euler()'s now prints the order too.
- un-orderable types (all except for Vector's), were not raising an exception when compared with >=, >, <, <=.

------------------------------------------------------------------------
r34649 | campbellbarton | 2011-02-05 11:57:02 +0200 (Sat, 05 Feb 2011) | 9 lines

mathutils rotate functions for Euler/Quaternion/Matrix/Vector types.
each accept Euler/Quaternion/Matrix types.

eg:
  Euler.rotate(Quaternion(axis, angle))
  Vector.rotate(Euler((pi/2, 0, 0)))

matrix.resize_4x4() and euler.make_compatible() were still returning an instance of themselves, now return None.

------------------------------------------------------------------------
r34648 | campbellbarton | 2011-02-05 09:04:23 +0200 (Sat, 05 Feb 2011) | 2 lines

update for changes in mathutils.

------------------------------------------------------------------------
r34647 | campbellbarton | 2011-02-05 08:14:50 +0200 (Sat, 05 Feb 2011) | 6 lines

Rename python mathutils functions and split in-place methods from those that return new values.
http://wiki.blender.org/index.php/Dev:2.5/Source/Python/Mathutils
This completes the changes proposed.

This will break scripts (fixing coming up next), for full list of changes see mathutils.c comments.

------------------------------------------------------------------------
r34646 | dfelinto | 2011-02-04 23:25:57 +0200 (Fri, 04 Feb 2011) | 5 lines

Logic UI: multiple fixes on Constraint Actuator
1) damping factor is not percentage (it's in frames, who would know that)
2) angles as degrees (cleaning the tooltips for those too)
3) setting Direction to None when changing from Loc and Fh Consts to Ori - negative axis is not supported in Ori Const. Buggy since ever (2.49).

------------------------------------------------------------------------
r34645 | nazgul | 2011-02-04 23:10:27 +0200 (Fri, 04 Feb 2011) | 3 lines

- Drivers should now be updated correct when curve changes topology
- Fixed regression with keeping alive f=curves for deleted CVs
  (was a mistake in previous commit in this area)
------------------------------------------------------------------------
r34644 | nazgul | 2011-02-04 18:28:19 +0200 (Fri, 04 Feb 2011) | 4 lines

Fix #25923: Active area of text editor line numbers too big

Area with width 60px was used for determing should we jump to line or
input new cahacter. Reduce this area to actual line numbers margin width.
------------------------------------------------------------------------
r34643 | nazgul | 2011-02-04 18:10:30 +0200 (Fri, 04 Feb 2011) | 6 lines

Fix #25933: Drag Dog stroke method uses Jitter if set for other stroke method, but no jitter available.

Manually disable jitter usage for anchored and drag dot brush stroke metdhods.
Jitter slider is hidden in UI for this strokes so users can't set it to 0 by hand
and even if this slider would be visible in UI jitter gives wierd result for
this stroke methods.
------------------------------------------------------------------------
r34642 | jhk | 2011-02-04 17:48:13 +0200 (Fri, 04 Feb 2011) | 6 lines

Improvements for particle grid distribution:
* Particles that aren't shown are now actually deleted (huge memory savings for flat objects).
* Grid distribution for flat objects is now done on the surface object surface without offset.
* Invert grid option wasn't in ui and it didn't work for non-volume grids.
* New parameter to randomize the grid point locations.
* Resolution soft/hard limits changed to even 50/250.
------------------------------------------------------------------------
r34641 | jesterking | 2011-02-04 15:22:02 +0200 (Fri, 04 Feb 2011) | 8 lines

Fix [#19997] Duplicating window results in graphics corruption in UI
reported by Micael Dias (and many others, see duplicates list)

On closing the first ("main") Blender window the very first OpenGL context
got deleted too. This context needs to be retained, since we share quite a
bit of OpenGL data through it to the newly created contexts (new windows).
Thanks to Ton Roosendaal for thinking out loud while trying to figure out
what the actual cause was.
------------------------------------------------------------------------
r34640 | jesterking | 2011-02-04 15:18:44 +0200 (Fri, 04 Feb 2011) | 1 line

small typo fix
------------------------------------------------------------------------
r34639 | aligorith | 2011-02-04 13:43:30 +0200 (Fri, 04 Feb 2011) | 24 lines

Quick Animation Feature: Paste Pose "Selection Mask" option

After discussions with ZanQdo, it was agreed that the current workflow
for making a pose symmetrical was a bit too cumbersome, especially
when auto-keying was enabled, requiring pasting the flipped pose on
another frame so that the changes could be merged back in without
overwriting the "good" half of the rig.

This option for the Paste Pose operator makes things easier, by adding
an option which will make the pose only get pasted on to selected
bones instead of overriding the entire pose. By default this option is
turned off, but can be easily enabled either from the toolbar
(operator properties) or through the F6 popup.

The intended workflow with this option for making a rig symmetrical is
now:
1) Copy pose
2) Select "bad" bones
3) Paste Flipped
4) Enable "On Selected Only" for the operator

If there is sufficient interest, this option can even be enabled by
default. But, we'll see about that later

------------------------------------------------------------------------
r34638 | campbellbarton | 2011-02-04 11:41:59 +0200 (Fri, 04 Feb 2011) | 2 lines

swap Matrix.Shear(...) arguments so matrix size is the second argument, matching other constructors.

------------------------------------------------------------------------
r34637 | campbellbarton | 2011-02-04 11:35:20 +0200 (Fri, 04 Feb 2011) | 3 lines

mathutils.Matrix.OrthoProjection(plane, size, axis), merged axis and plane args. since axis was only allowed when plane was 'R'.
This was already done with Matrix.Rotation().

------------------------------------------------------------------------
r34636 | campbellbarton | 2011-02-04 11:27:25 +0200 (Fri, 04 Feb 2011) | 2 lines

pep8 cleanup

------------------------------------------------------------------------
r34635 | lmg | 2011-02-04 11:02:47 +0200 (Fri, 04 Feb 2011) | 2 lines

hard- and ui-limit for particle grid resolution were vice versa.

------------------------------------------------------------------------
r34634 | aligorith | 2011-02-04 10:33:07 +0200 (Fri, 04 Feb 2011) | 13 lines

Moved Auto-Keying "Insert for KeyingSet only" option from UserPrefs to
Scene (Toolsettings, i.e. alongside "layered" option for using NLA
while doing auto-keying)

This option makes all Auto-Keying operations use the active Keying Set
to carry out keyframing operations instead of picking and choosing
their own Keying Sets to use, thus cutting down on the number of
unwanted keys.

Warning: if the older userpref option was enabled in an old
startup.blend, it may be difficult to turn this option off.


------------------------------------------------------------------------
r34633 | campbellbarton | 2011-02-04 06:12:24 +0200 (Fri, 04 Feb 2011) | 2 lines

fix for make stub, readlink was used incorrectly and building didn't work on BSD because of CPU detection.

------------------------------------------------------------------------
r34632 | campbellbarton | 2011-02-04 05:39:06 +0200 (Fri, 04 Feb 2011) | 4 lines

small mathutils changes.
- fix for returning empty slices (was returning list rather then tuple).
- report invalid type when mathutils_array_parse_fast() fails.

------------------------------------------------------------------------
r34631 | campbellbarton | 2011-02-04 05:06:23 +0200 (Fri, 04 Feb 2011) | 3 lines

PyAPI: coerce mathutils values. (vectors, quats, eulers) as proposed here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Python/Mathutils#Coerce_Method_Arguments

------------------------------------------------------------------------
r34630 | gsrb3d | 2011-02-03 20:57:53 +0200 (Thu, 03 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34629 | nazgul | 2011-02-03 19:03:37 +0200 (Thu, 03 Feb 2011) | 10 lines

- Fixed bug with disappearing curve animation data created in edit
  mode for case there was no animation at object before enter editmode
- Fixed memory corruption for case of fcurve groups
- Fixed bug with incorrect re-naming "spline[%d].smth" pathes

TODO:
  - Also update drivers' curves
  - Enable I-key menu and autokeying

  Will do this after consultation with Aligorith, shouldn't harm atm.
------------------------------------------------------------------------
r34628 | ton | 2011-02-03 18:31:03 +0200 (Thu, 03 Feb 2011) | 8 lines

Bugfix #25912

Render bug in spothalo (weird horizontal line).
Appeared to be precision error... even for doubles,
before doing division a check for FLT_EPSILON works
better than DBL_EPSILON (if there's an alternative).


------------------------------------------------------------------------
r34627 | jhk | 2011-02-03 17:05:43 +0200 (Thu, 03 Feb 2011) | 4 lines

Applying patch #25898 by Shinsuke Irie for rendering total external reflections
* Tracing objects with IOR < 1.0 (like air bubbles under water) wasn't working correctly as a refraction was always assumed to be the first thing that happens for transparent materials.
* This fix is ok, but the fact that the internal renderer is not a physically based one is starting to show, as for example blurred reflections in this case are not really possible nicely without some slightly heavier modifications to the ray code.
* Also some cleaned up logic and better comments for my previous total internal reflection commit.
------------------------------------------------------------------------
r34626 | nexyon | 2011-02-03 15:25:05 +0200 (Thu, 03 Feb 2011) | 7 lines

Audio Bugfixes:

* [#25638] 'Insufficient thread locking' for sounds
  - Actually a workaround for an msvc bug, msvc STL containers are buggy
* [#25922] Sound does not play in BlenderPlayer(r34579)
  - Windows OpenAL doesn't seem to have clear context error state on initialising

------------------------------------------------------------------------
r34625 | campbellbarton | 2011-02-03 13:02:02 +0200 (Thu, 03 Feb 2011) | 3 lines

remove unused variable
also clear scene data before running batch import (utility script).

------------------------------------------------------------------------
r34624 | campbellbarton | 2011-02-03 12:07:15 +0200 (Thu, 03 Feb 2011) | 7 lines

Makefile for convenience on *nix systems.

Running 'make' starts an out of source build with CMake in ../build/OS_CPU, creating the dir and configuring CMake if necessary.

So casual users can just run this without changing dirs:
 'svn up ; make'

------------------------------------------------------------------------
r34623 | ton | 2011-02-02 16:36:00 +0200 (Wed, 02 Feb 2011) | 6 lines

Bugfix #25913

Compositor: using "read sample buffers" after load file, without
render layers in composite, crashed blender (NULL read)


------------------------------------------------------------------------
r34622 | jhk | 2011-02-02 14:04:23 +0200 (Wed, 02 Feb 2011) | 4 lines

Fix for [#25899] Renderer can't trace successive total internal reflection
* This was wrong since 2006!
* Raytrace code assumed refractions to go "air -> glass -> air -> glass -> air.." so actually only the first total internal reflection was calculated correctly, but everything after that was wrong.
* Now after a total internal reflection there needs to be an actual refraction before the ray escapes the "glass" object.
------------------------------------------------------------------------
r34621 | zanqdo | 2011-02-02 12:33:29 +0200 (Wed, 02 Feb 2011) | 1 line

Added Read Render Layers and Read Full Sample Layers to node editor menu
------------------------------------------------------------------------
r34620 | zanqdo | 2011-02-02 12:26:14 +0200 (Wed, 02 Feb 2011) | 3 lines

Keymap conflict in node editor. Read Render Layers is now Ctrl R to
leave R for rotate

------------------------------------------------------------------------
r34619 | campbellbarton | 2011-02-02 05:32:58 +0200 (Wed, 02 Feb 2011) | 5 lines

fix [#25684] Grease pencil strokes with "Surface" option attach erratically to curves.
added new functions
- view_autodist_depth_segment()
- plot_line_v2v2i(), which takes a callback and plots x/y points.

------------------------------------------------------------------------
r34618 | aligorith | 2011-02-02 05:12:39 +0200 (Wed, 02 Feb 2011) | 9 lines

Bugfix [#25907] Impossible to "select all" on narrow action editors

Marker selection operators now use a special poll() callback which
checks that there are some markers before trying to run them. This
means that when there are no markers, the full screen range is
available, instead of just those areas above the region masked off for
markers which can be quite slim when trying to save space by only
showing the summary channel.

------------------------------------------------------------------------
r34617 | campbellbarton | 2011-02-02 03:01:01 +0200 (Wed, 02 Feb 2011) | 3 lines

bugfix for setting the worldspace matrix of an object which used quaternion rotation and deltas, was subtracting the values rather then multiplying by the inverse.
effected 'Apply Visual Transform' & pythons obj.matrix_world = mat

------------------------------------------------------------------------
r34616 | campbellbarton | 2011-02-02 02:40:55 +0200 (Wed, 02 Feb 2011) | 4 lines

- some parts of the code to remove rotation were not removing axis/angle rotation (only functional change of this commit).
- use BLI_math functions for removing rotations from objects and pose channels.
- add unit_axis_angle() to avoid setting the Y axis inline anywhere rotation needs removing.

------------------------------------------------------------------------
r34615 | campbellbarton | 2011-02-02 01:53:54 +0200 (Wed, 02 Feb 2011) | 4 lines

fix crash from report [#25746] Adding keyframes to nested custom properties (IDProperties) of a bone causes segfault
though keyframing still doesn't work, it gives an error instead.
also use const char * in more parts of the py/rna api.

------------------------------------------------------------------------
r34614 | aligorith | 2011-02-02 01:51:52 +0200 (Wed, 02 Feb 2011) | 3 lines

"Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to
ED_operator_graphedit_active

------------------------------------------------------------------------
r34613 | aligorith | 2011-02-02 01:41:01 +0200 (Wed, 02 Feb 2011) | 17 lines

Bugfix [#25902] alt+a over 3D view don't up date dropesheet editor

Migrating "redraws" settings from TimeLine view data to per Screen.
The options are now still shown in the TimeLine "Playback" menu
though.

This means that whatever redraw settings you set in a TimeLine editor
will be used throughout a screen (i.e. editor layout) to determine
which editors will get updated during playback, instead of only
certain editors doing certain things at vague times.

---

Also, I moved some version patches pre 2.56 version bump into a
version-check for 2.56. These must've been missed when doing the
release...

------------------------------------------------------------------------
r34612 | aligorith | 2011-02-02 00:21:43 +0200 (Wed, 02 Feb 2011) | 11 lines

Action Editor UI Tweaks:

While animating, I realised that actually the 'only selected' and
'include hidden' DopeSheet filtering options are also useful in the
Action Editor, especially while tweaking the animation for some
characters, where you'd like to focus only on some of the character's
control (i.e. eyelid tweaks, hand tweaks, etc.).

The other DopeSheet filtering options aren't so relevant here, so I've
excluded them from this.

------------------------------------------------------------------------
r34611 | campbellbarton | 2011-02-01 23:24:59 +0200 (Tue, 01 Feb 2011) | 2 lines

fix issue #2 raised by report: [#25894] Problems with properties across files

------------------------------------------------------------------------
r34610 | campbellbarton | 2011-02-01 22:38:24 +0200 (Tue, 01 Feb 2011) | 3 lines

partial revert for r34590, exclude render() from enabling the read-only state.
will re-open [#25845] and assign to Brecht.

------------------------------------------------------------------------
r34609 | gsrb3d | 2011-02-01 22:18:29 +0200 (Tue, 01 Feb 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34608 | ton | 2011-02-01 19:54:02 +0200 (Tue, 01 Feb 2011) | 4 lines

Icons in outliner were jittering a bit on sizing of the area.
Subpixel position issue... when is this ever correct? :)


------------------------------------------------------------------------
r34607 | nazgul | 2011-02-01 17:51:40 +0200 (Tue, 01 Feb 2011) | 7 lines

Fix #25884: Crazy behaviour of the rotate brush

Rotation brush used to be crazy because it depends on normal of area
under brush, which is used as axis to rotate vertexes around and
this normal used to change during stroke.

Calculate normal from original mesh state for rotation tool too.
------------------------------------------------------------------------
r34606 | jhk | 2011-02-01 17:02:25 +0200 (Tue, 01 Feb 2011) | 3 lines

Fix for [#25879] Particle Duplication issue with Linked in Objects from Groups.
* Only the first object (in scene object order) that instanced a dupligroup was rendered properly, because particle instances were checked for only after creating the render object (and even this check was done wrong).
* Now the actual render object is created only after both object and particle instances have been checked.
------------------------------------------------------------------------
r34605 | ton | 2011-02-01 15:35:21 +0200 (Tue, 01 Feb 2011) | 7 lines

Bugfix #25891

Info header: option to switch scenes or add new ones has to be hidden
for "full screen" mode. Current full-screen code doesn't allow to
browse screens or switch scenes nicely.


------------------------------------------------------------------------
r34604 | campbellbarton | 2011-02-01 14:47:50 +0200 (Tue, 01 Feb 2011) | 15 lines

Script to test import operators, so a single command can execute an operator on all files in a directory and optionally save out blend files for inspection.
This comes in handy for testing importers against 100's of files, quickly showing breakages and easier to setup then unit tests.

Example usage:

  blender.bin --background --python source/tests/batch_import.py -- \
              --operator="bpy.ops.import_scene.obj" \
              --path="/data/testfiles/obj" \
              --match="*.obj" \
              --start=0 --end=50 \
              --save_path="/tmp/test"


Also found my name was spelt wrong in some places :)

------------------------------------------------------------------------
r34603 | campbellbarton | 2011-02-01 14:37:53 +0200 (Tue, 01 Feb 2011) | 11 lines

correct fix for bug #23871, __main__ module was being overwritten in nested functions, so on returning from calling operators the __main__ module could be cleared and imported modules turn into None

calling
  bpy.ops.wm.read_factory_settings()
... would clear a scripts namespace if running directly, not in a module.


Fix by backing up and restoring the __main__ module.

Also found BKE_reportf wasnt printing all reports in background mode as BKE_report() was doing.

------------------------------------------------------------------------
r34602 | aligorith | 2011-02-01 13:54:05 +0200 (Tue, 01 Feb 2011) | 6 lines

Bugfix: Graph Editor menus were missing an entry for the "Smooth
Keyframes" operator

Probably this was missed off, since the DopeSheet doesn't have this
functionality

------------------------------------------------------------------------
r34601 | aligorith | 2011-02-01 13:39:51 +0200 (Tue, 01 Feb 2011) | 4 lines

Bugfix: Renaming Keying Sets didn't update timeline

Keying Set RNA props were missing update notifiers

------------------------------------------------------------------------
r34600 | aligorith | 2011-02-01 13:35:27 +0200 (Tue, 01 Feb 2011) | 8 lines

New Keyframe Type: "Jitter"

While doing some animation work over the past few days, I found that
it would be useful to be able to tag keyframes as a another type yet:
"jitter" for fill-in secondary motion (i.e. blinks/hand-keyed camera
shake). Of course, what you really use these for is up to you, but
this is one more option when you need it :)

------------------------------------------------------------------------
r34599 | campbellbarton | 2011-02-01 11:02:49 +0200 (Tue, 01 Feb 2011) | 3 lines

own fix for bug #23871 (r33277), crashes when running multiple operators in a batch script with a double free.
Cant see why this happens but this different fix doesn't crash so using it instead.

------------------------------------------------------------------------
r34598 | campbellbarton | 2011-02-01 08:48:19 +0200 (Tue, 01 Feb 2011) | 3 lines

bugfix [#25767] Addons cannot be upgraded through the UI
added option to overwrite.

------------------------------------------------------------------------
r34597 | aligorith | 2011-02-01 07:15:32 +0200 (Tue, 01 Feb 2011) | 11 lines

Targetless IK Bugfixes + Tweaks:
- "CONSTRAINT_IK_AUTO" flag for targetless IK constraints was being
set in the wrong place. This is for the IK constraint data's flag, not
the generic constraint's flag
- Converting stack var "targetless" from type bConstraint to
bKinematicConstraint (i.e. constraint baseclass -> specialised data),
since it was only used in one place with a cast used there.
- When using targetless IK with no specified chain length, bone
rotation locks are taken into account too, saving a bit of extra setup
work

------------------------------------------------------------------------
r34596 | campbellbarton | 2011-02-01 06:24:47 +0200 (Tue, 01 Feb 2011) | 6 lines

Pythons path functions - os.walk(). os.path.exists(). etc support bytes for paths as well as strings, support this with blender/rna too.

- bpy.data.*.load() functions were only accepting UTF-8 paths.
- rna functions/properties now accept byte values rather then strings for file paths.
- bpy.path.resolve_ncase now supports byte objects.

------------------------------------------------------------------------
r34595 | campbellbarton | 2011-02-01 04:54:29 +0200 (Tue, 01 Feb 2011) | 4 lines

fix for 2 segfaults running in background mode.
- operators which reload G.main would crash blender if called from python and then accessed bpy.data.*
- WM_read_homefile_exec was setting the contexts Scene to NULL as a signal for the event system, this didnt work in background mode, crashing when property update functions expected scene to be set.

------------------------------------------------------------------------
r34594 | zanqdo | 2011-02-01 03:32:12 +0200 (Tue, 01 Feb 2011) | 3 lines

reverting the new button in node editor.. will need to create a new
operator to get the correct behavior for center backdrop

------------------------------------------------------------------------
r34593 | zanqdo | 2011-02-01 03:18:16 +0200 (Tue, 01 Feb 2011) | 4 lines

Added Center button to backdrop controls in node editor's side panel
Inlined backdrop's zoom ui limits and hard limits so that
going to minimun and going back to 100 works

------------------------------------------------------------------------
r34592 | aligorith | 2011-02-01 02:43:28 +0200 (Tue, 01 Feb 2011) | 4 lines

Bugfix [#25885] Auto IK ignores full rotation locks

... actually, this was just an off-by-one bug again.

------------------------------------------------------------------------
r34591 | campbellbarton | 2011-02-01 02:41:15 +0200 (Tue, 01 Feb 2011) | 2 lines

disable assert [#25877] Driven shapekeys: incorrect assertions in depsgraph.c

------------------------------------------------------------------------
r34590 | campbellbarton | 2011-02-01 02:32:50 +0200 (Tue, 01 Feb 2011) | 6 lines

workaround [#25845] Empty UI panels
- now writing to RNA is disabled when inside render() call.
- disallow calling operators when writes are disabled.

Rendering runs in a thread so running operators from the thread is not safe unless rendering becomes a blocking operator again.

------------------------------------------------------------------------
r34589 | campbellbarton | 2011-02-01 01:54:51 +0200 (Tue, 01 Feb 2011) | 2 lines

bugfix [#25846] Strange behaviour if index of render.layers[] is out of range

------------------------------------------------------------------------
r34587 | nazgul | 2011-01-31 22:02:51 +0200 (Mon, 31 Jan 2011) | 21 lines

Todo issue: sculpting on deformed mesh

Used a crazyspace approach (like in edit mode), but only modifiers with
deformMatricies are allowed atm (currently shapekeys and armature modifiers only).
All the rest modifiers had an warning message that they aren't applied because
of sculpt mode. Deformation of multires is also unsupported.

With all this restictions users will always see the actual "layer" (or maybe
mesh state would be more correct word) they are sculpting on.

Internal changes:
- All modifiers could have deformMatricies callback (the same as deformMatriciesEM but
  for non-edit mode usage)
- Added function to build crazyspace for sculpting (sculpt_get_deform_matrices), but it
  could be generalized for usage in other painting modes (particle edit mode, i.e)

Todo:
- Implement crazyspace correction to support all kinds of deformation modifiers
- Maybe deformation of multires isn't so difficult?
- And maybe we could avoid extra bad-level-stub for ED_sculpt_modifiers_changed
  without code duplicating?
------------------------------------------------------------------------
r34586 | ton | 2011-01-31 19:28:03 +0200 (Mon, 31 Jan 2011) | 8 lines

Bugfix #25874

Area split error: if the first split position was exactly aligned
with another 'edge' it merged the edges, causing the subdivision
layout to go haywire. Only happens in rare occasions, good find
this report :)


------------------------------------------------------------------------
r34585 | lukastoenne | 2011-01-31 18:34:56 +0200 (Mon, 31 Jan 2011) | 1 line

Removed OpenGL blending from node editor backdrop images in alpha channel mode. This is a pure b/w image that doesn't need blending.
------------------------------------------------------------------------
r34584 | dingto | 2011-01-31 18:17:34 +0200 (Mon, 31 Jan 2011) | 1 line

Indentation fix.
------------------------------------------------------------------------
r34583 | dingto | 2011-01-31 18:16:15 +0200 (Mon, 31 Jan 2011) | 4 lines

Node UI:
* Added Backdrop Panel inside the "Properties" area.
* Hard limit for the "zoom" value. Negative values doesn't make sense.
* Added a missing notifier for the Node backdrop move operator.
------------------------------------------------------------------------
r34582 | lukastoenne | 2011-01-31 17:18:30 +0200 (Mon, 31 Jan 2011) | 1 line

Small fix for color info in node editor: ACTIONMOUSE click was already used for node moving. Now ALT+ACTIONMOUSE must be used to get color info from the backdrop image.
------------------------------------------------------------------------
r34581 | dingto | 2011-01-31 16:48:17 +0200 (Mon, 31 Jan 2011) | 1 line

Scons blenfont include for recent Node Backdrop commit.
------------------------------------------------------------------------
r34580 | lukastoenne | 2011-01-31 16:42:55 +0200 (Mon, 31 Jan 2011) | 2 lines

Added backdrop image color information to the node editor. When clicking on empty space in the node editor, the pixel color values will be displayed on the bottom like in image editor.

------------------------------------------------------------------------
r34579 | lukastoenne | 2011-01-31 13:57:37 +0200 (Mon, 31 Jan 2011) | 1 line

Changed alpha blending mode for image editor and node previews. This was using the sum of the image and alpha-faded background, leading to almost-white transparent areas. New code uses correct GL_SRC_ALPHA for the source image.
------------------------------------------------------------------------
r34578 | aligorith | 2011-01-31 13:19:23 +0200 (Mon, 31 Jan 2011) | 13 lines

Bugfix [#25876] bpy.ops.constraint.childof_set_inverse has no effect

This was a two-part bug: a user error + API error.
* User Error: before calling bpy.ops.constraint.childof_set_inverse()
for a constraint defined on a bone, you firstly need to explicitly
make that bone the active bone. To do that, you do
armature.bones.active = posebone.bone # or something similar

* API Error: active bone setting was a bit too strict. It only allows
setting the active bone if the new bone comes from the same armature,
but was overlooking the fact that RNA pointers may have been created
through the object using the armature instead.

------------------------------------------------------------------------
r34577 | lukastoenne | 2011-01-31 13:17:50 +0200 (Mon, 31 Jan 2011) | 2 lines

Added transparency feature to node editor backdrop, similar to image editor. Alpha blending can be enabled by a button when "Use Backdrop" is selected.

------------------------------------------------------------------------
r34576 | dfelinto | 2011-01-31 09:52:45 +0200 (Mon, 31 Jan 2011) | 8 lines

Logic UI: Servo Control (Motion/ObjectActuator) default options + camera actuator tweak
In 2.49 we had this implemented in the logic_windows.c. I think I skipped this when porting the new UI. I probably didn't know how to do it back then or was waiting for something. Anyhoo, it's all good now.

For the records, the Logic Bricks that I haven't gone over to make sure everything is 100% are:
Filter 2D, Constraints and Animation (action, shapekey, fcurve)

I'm going over them this week, so the Logic Bricks are close to receive a "revisited review check-up" ISO 9000 :)

------------------------------------------------------------------------
r34574 | theeth | 2011-01-31 00:15:50 +0200 (Mon, 31 Jan 2011) | 3 lines

[#25693] Netrender "shadow" images with last frame always appear

Better handling of FSAA when downloading results and on slaves.
------------------------------------------------------------------------
r34573 | nazgul | 2011-01-30 19:55:48 +0200 (Sun, 30 Jan 2011) | 1 line

Total displacement levels should be set in multires_topology_changed
------------------------------------------------------------------------
r34572 | ton | 2011-01-30 19:03:01 +0200 (Sun, 30 Jan 2011) | 6 lines

Bugfix #25859

Outliner: click on 'restrict' options also selected/deselected the
item itself. Fix provided by Alexander Kuznetsov. Thanks!


------------------------------------------------------------------------
r34571 | lmg | 2011-01-30 18:57:28 +0200 (Sun, 30 Jan 2011) | 2 lines

moved texture_space scaling factor from glsl to C.

------------------------------------------------------------------------
r34570 | lmg | 2011-01-30 18:24:23 +0200 (Sun, 30 Jan 2011) | 5 lines

bugfix #25867

fix for objectspace bumpmapping


------------------------------------------------------------------------
r34569 | ton | 2011-01-30 18:19:08 +0200 (Sun, 30 Jan 2011) | 6 lines

Bugfix #25870

Operator "Select linked flat faces" didn't initialize the default
angle. That made it fail being called via menus.


------------------------------------------------------------------------
r34568 | ton | 2011-01-30 18:17:08 +0200 (Sun, 30 Jan 2011) | 3 lines

Removed bad copied UI strings and comment from texture slot rna code.


------------------------------------------------------------------------
r34567 | campbellbarton | 2011-01-30 17:29:22 +0200 (Sun, 30 Jan 2011) | 2 lines

remove nan-makefiles

------------------------------------------------------------------------
r34566 | ton | 2011-01-30 16:43:24 +0200 (Sun, 30 Jan 2011) | 4 lines

Fix for object-space bumpmapping in GLSL. Fix provided
by Morten Mikkelsen in IRC.


------------------------------------------------------------------------
r34565 | ton | 2011-01-30 16:19:12 +0200 (Sun, 30 Jan 2011) | 9 lines

Bugfix #25855

New bump code: option "Texture space" only works for image textures.
It appears this option is some kind of "fake normal map" actually.
Needs nicer name... maybe "Image space".

Now it ignores the option when no image texture is used.


------------------------------------------------------------------------
r34564 | ton | 2011-01-30 15:51:02 +0200 (Sun, 30 Jan 2011) | 13 lines

Bugfix #25840

UI bug: when a button has an open menu, the menu closed on any
mouse-over of other buttons in this panel. That's not too bad,
but it didn't check for whether the mouse was already inside the
menu itself (respecting safety region).

The bug showed error on zoomed in UI, using FPS presets, in case
the menu-button was drawing aligned with other buttons. A real
boundary case... :)



------------------------------------------------------------------------
r34563 | ton | 2011-01-30 15:43:05 +0200 (Sun, 30 Jan 2011) | 3 lines

Accidentally added declaration inside code; my gcc doesnt warn for it :)


------------------------------------------------------------------------
r34562 | ton | 2011-01-30 15:12:03 +0200 (Sun, 30 Jan 2011) | 12 lines

And here's a decent fix for correctly recognizing the the
.blend1 etc backups.
Proves again that lazy coders only make bad code :)

Implementation note:
The filewindow now recoginizes .blend version backups as
a special type, so filtering for .blend files themselves
ignores it. However, they're recognized correctly as valid
.blend files, and draw an icon as .blend file when filtering
is off. Can become a distinct icon if we want...


------------------------------------------------------------------------
r34561 | ton | 2011-01-30 14:26:16 +0200 (Sun, 30 Jan 2011) | 4 lines

Stupid error in commit to allow .blend1 and .blend2 being dropped in
window caused .blend itself to be not seen :) Mea Maxima Culpa!


------------------------------------------------------------------------
r34560 | zanqdo | 2011-01-30 09:04:12 +0200 (Sun, 30 Jan 2011) | 2 lines

Better property names for backdrop RNA

------------------------------------------------------------------------
r34559 | zanqdo | 2011-01-30 08:58:36 +0200 (Sun, 30 Jan 2011) | 2 lines

RNA for node editor backdrop zoom and offset. Thanks Moguri for help

------------------------------------------------------------------------
r34558 | zanqdo | 2011-01-30 01:51:42 +0200 (Sun, 30 Jan 2011) | 2 lines

Added handy option to delete all vgroups in the  dropdown menu

------------------------------------------------------------------------
r34556 | ton | 2011-01-29 20:37:40 +0200 (Sat, 29 Jan 2011) | 6 lines

Bugfix #25750

CTRL+L link modifiers (actually, it copies!) didn't call an update
for new dependencies.


------------------------------------------------------------------------
r34554 | ton | 2011-01-29 19:56:34 +0200 (Sat, 29 Jan 2011) | 6 lines

Todo item:

When dropping image on an object, it now sets view to show texture in
solid view mode. Nicer interaction, and good for dummies & demos. :)


------------------------------------------------------------------------
r34553 | ton | 2011-01-29 19:47:22 +0200 (Sat, 29 Jan 2011) | 4 lines

Todo list fix: .blend backup files are recognized as such now;
for drop inside Blender window and icons. (.blend1, .blend2, etc).


------------------------------------------------------------------------
r34552 | ton | 2011-01-29 18:27:48 +0200 (Sat, 29 Jan 2011) | 6 lines

Bug report #25722

Allowing IOR smaller than 1.0.
This is for people who want to trace air bubbles under water :)


------------------------------------------------------------------------
r34551 | ton | 2011-01-29 18:13:15 +0200 (Sat, 29 Jan 2011) | 11 lines

Fixes for GLSL bump code; it was using calls not supported for
older GLSL versions (< 1.3)

Thanks Matthew M:
- adding mat3 from ma4 function
- removal of transpose()

And I've hacked in myself a textureSize() replacement, the image
size gets passed on to function now.


------------------------------------------------------------------------
r34550 | lmg | 2011-01-29 14:09:11 +0200 (Sat, 29 Jan 2011) | 2 lines

ISO C90 fix

------------------------------------------------------------------------
r34549 | lmg | 2011-01-29 14:01:11 +0200 (Sat, 29 Jan 2011) | 3 lines

matching 3Dview GLSL shaders for the new bumpmapping methods


------------------------------------------------------------------------
r34548 | lmg | 2011-01-29 13:56:11 +0200 (Sat, 29 Jan 2011) | 12 lines

new bumpmapping options for the renderer
oldbump -> original
newbump -> compatible
 *new*	-> default (3tap)
 *new*	-> best quality (5tap)

the latter two have an option to apply bumpmapping in
 viewspace - much like displacement mapping
 objectspace - default (scales with the object)
 texturespace - much like normal mapping (scales)


------------------------------------------------------------------------
r34547 | aligorith | 2011-01-29 11:47:48 +0200 (Sat, 29 Jan 2011) | 8 lines

"Whole Character" KeyingSet Bugfix: RNA paths for custom properties
were getting formed wrongly

Although the RNA paths for the custom properties could get evaluated
correctly, keyframe status highlights in buttons didn't always work
correctly, and would lead to a duplicate F-Curve for the same setting
getting created.

------------------------------------------------------------------------
r34546 | aligorith | 2011-01-29 05:01:51 +0200 (Sat, 29 Jan 2011) | 26 lines

Character Animation Goodie: "Whole Character" Builtin Keying Set

This commit introduces a new Keying Set: "Whole Character", which is
specially designed for character animators blocking out their
animation. It should make animating with rigs such as the Sintel rigs
(and other "mainstream" setups, though others may also work with a few
modifications) much easier.

It automatically determines which properties on every bone in the
active rig should be keyframed, avoiding an initial set up step where
properties may be missed, or non-animatable properties are also
needlessly keyframed. To do this, it relies on several rules:
1) All bones in the armature, regardless of visibility status are
considered, so that hiding some layers on some keyframes then
keyframing them later won't create problems with earlier poses
changing
2) Bones starting with certain prefixes, i.e. DEF, MCH, VIS, etc. (the
full list is available in the code for this, and can be/is meant to be
modified by riggers in their own versions as they see fit), so that
some bones on hidden layers which shouldn't be seen by animators are
not keyframed
3) Locked transforms AREN'T keyframed
4) All custom properties ARE keyframed - currently this is the best we
can do, as it's hard to tell if they're needed or not, or even if
they're already driven.

------------------------------------------------------------------------
r34545 | jhk | 2011-01-28 17:24:02 +0200 (Fri, 28 Jan 2011) | 2 lines

Fix for [#25825] Boolean doesn't work in command-line rendering (2.56)
* DAG_on_load_update wasn't called at all for background rendering, so any non-animated object data wasn't updated properly.
------------------------------------------------------------------------
r34544 | ton | 2011-01-28 16:51:03 +0200 (Fri, 28 Jan 2011) | 4 lines

Small feature request: using texture buttons (mapping) now updates
GLSL view of texture as well.


------------------------------------------------------------------------
r34543 | jhk | 2011-01-28 15:14:01 +0200 (Fri, 28 Jan 2011) | 2 lines

Fix for [#25843] Multiple Scene Strip in Sequencer, bad scrubbing for armatures in viewport
* Sequencer didn't restore the scene properly after drawing a frame other than the current frame.
------------------------------------------------------------------------
r34542 | jesterking | 2011-01-28 14:56:30 +0200 (Fri, 28 Jan 2011) | 1 line

First step towards having a 2-pass reading of COLLADA .dae files.
------------------------------------------------------------------------
r34541 | jesterking | 2011-01-28 10:51:15 +0200 (Fri, 28 Jan 2011) | 1 line

Make version check more future proof.
------------------------------------------------------------------------
r34540 | jhk | 2011-01-28 02:59:42 +0200 (Fri, 28 Jan 2011) | 3 lines

Fix for [#25713] VSE shows and renders wrong straight alpha gradient even after convert to premul is checked
* Caching of the start and end stills were just referencing the original imbuf (which got premultiplied after the caching), so as a result most of the time the premul was applied twice.
* Now the start and end stills are stored in the cache as duplicates of the original (non modified) imbuf.
------------------------------------------------------------------------
r34539 | aligorith | 2011-01-28 02:52:31 +0200 (Fri, 28 Jan 2011) | 4 lines

In the Timeline, keyframe lines are now drawn in front of the frame
indicator. This is so that it will be possible to see if there is a
keyframe on the current frame by just looking in the timeline.

------------------------------------------------------------------------
r34538 | theeth | 2011-01-28 02:45:53 +0200 (Fri, 28 Jan 2011) | 3 lines

[#25783] Network rendering fails with windows paths

Potential fix. Absolute windows path weren't detected as absolute on linux.
------------------------------------------------------------------------
r34537 | theeth | 2011-01-28 02:00:10 +0200 (Fri, 28 Jan 2011) | 3 lines

[#25671] Network Render freezes/blocks blender

Decreasing timeout and increasing refresh period
------------------------------------------------------------------------
r34536 | zanqdo | 2011-01-27 23:44:56 +0200 (Thu, 27 Jan 2011) | 3 lines

Own mistake in previous commit, old files where loading with empty draw
size shufled

------------------------------------------------------------------------
r34535 | zanqdo | 2011-01-27 23:05:01 +0200 (Thu, 27 Jan 2011) | 3 lines

More logical ordering of Empty draw types. Made Plain Axes default for
new empties

------------------------------------------------------------------------
r34534 | jesterking | 2011-01-27 21:49:43 +0200 (Thu, 27 Jan 2011) | 1 line

And on your left you can see something much nicer (while I fix this here on your right).
------------------------------------------------------------------------
r34533 | jesterking | 2011-01-27 21:39:06 +0200 (Thu, 27 Jan 2011) | 1 line

Commit to cope with API changes in OpenCOLLADA (latest for Windows right now r827).
------------------------------------------------------------------------
r34529 | jhk | 2011-01-27 19:29:22 +0200 (Thu, 27 Jan 2011) | 1 line

Silly mistake in own previous commit, now we have particles again!
------------------------------------------------------------------------
r34527 | campbellbarton | 2011-01-27 14:36:48 +0200 (Thu, 27 Jan 2011) | 2 lines

r34526 removed a line which had an unused return value but still needed to run.

------------------------------------------------------------------------
r34526 | jhk | 2011-01-27 14:21:14 +0200 (Thu, 27 Jan 2011) | 2 lines

Fixing some clang reported issues in particle code.
* Not really bugs, but some code cleanup and clarification.
------------------------------------------------------------------------
r34525 | campbellbarton | 2011-01-27 13:17:23 +0200 (Thu, 27 Jan 2011) | 2 lines

fix for gcc 4.6 commit: this is needed for osx too.

------------------------------------------------------------------------
r34524 | campbellbarton | 2011-01-27 11:40:20 +0200 (Thu, 27 Jan 2011) | 2 lines

gcc 4.6 compatibility  commit r34520 broke OSX, this should work now.

------------------------------------------------------------------------
r34523 | campbellbarton | 2011-01-27 08:48:14 +0200 (Thu, 27 Jan 2011) | 7 lines

internal changes, script writers won't notice.
disable getattr metaclass forwarding attributes from the python class, eg:
  bpy.types.Scene.foo != bpy.types.Scene.bl_rna.properties['foo']

... This was convenient but too tricky to properly maintain with attribute assignment and attributes defined within the class.
avoid doubles in dir() by converting to a set and then back to a list.

------------------------------------------------------------------------
r34522 | campbellbarton | 2011-01-27 05:37:10 +0200 (Thu, 27 Jan 2011) | 2 lines

pydna (expremental module), update for change in main struct and allow iterator to take non DNA types.

------------------------------------------------------------------------
r34521 | aligorith | 2011-01-27 03:29:40 +0200 (Thu, 27 Jan 2011) | 8 lines

Bugfix [#25823] When objects are parented to the same objects that
they have some rotation-affecting constraint (i.e. Track To and Copy
Rotation) targetting, transforming the objects (directly, using GKEY
-> grab) becomes unreliable.

This was caused by a typo in some code checking for some
OB_NO_CONSTRAINTS under "flag" instead of "transflag"

------------------------------------------------------------------------
r34520 | campbellbarton | 2011-01-27 02:02:25 +0200 (Thu, 27 Jan 2011) | 3 lines

[#25815] Patch gcc 4.6
with minor edits, made sure it works in CMake too.

------------------------------------------------------------------------
r34519 | aligorith | 2011-01-27 01:58:20 +0200 (Thu, 27 Jan 2011) | 14 lines

Silencing some annoying key-event prints in Win32 console:

The console was getting flooded with output like
g


i

i
...
all as a result of what looks like a debugging print. Whoever put this
in, you can get back your debugging prints by enabling BF_GHOST_DEBUG
in your local config :)

------------------------------------------------------------------------
r34518 | aligorith | 2011-01-27 01:33:08 +0200 (Thu, 27 Jan 2011) | 12 lines

Bugfix [#25707] / Todo Item: "Local Space" for Object constraining

For Constraints, there's now a working "Local" Space for Objects
without parents. This is defined as relative to the object's rotated
set of axes which results from rotation that gets set via "rotation"
transform properties.

I'm not sure whether this different behaviour between parented and
unparented objects will be too confusing (and thus require separate
settings + a round of version patching), so I'll wait until we get
proper testing from experienced riggers first.

------------------------------------------------------------------------
r34517 | aligorith | 2011-01-27 00:38:05 +0200 (Thu, 27 Jan 2011) | 6 lines

Usability issue noted while self-testing some stuff...

Giving modifiers more descriptive tooltips for "Vertex Group" fields
than just the useless/meaningless "Vertex Group name" tooltip they
used to have.

------------------------------------------------------------------------
r34516 | aligorith | 2011-01-27 00:31:14 +0200 (Thu, 27 Jan 2011) | 3 lines

Bullet-proofing mesh vertex group RNA wrapping, after double checking
on whether vertexgroup weight animation worked

------------------------------------------------------------------------
r34515 | dfelinto | 2011-01-27 00:16:58 +0200 (Thu, 27 Jan 2011) | 3 lines

bge fix: debug text didn't have GL_DEPTH disabled - text got clipped when we have objects too close to the camera
fix only in embed bge, blenderplayer seems to be doing differently.
-- reported live by Mike Pan
------------------------------------------------------------------------
r34514 | aligorith | 2011-01-27 00:01:51 +0200 (Thu, 27 Jan 2011) | 3 lines

Removing some old stuff from old animation system that isn't needed
anymore (shapekeys stuff)

------------------------------------------------------------------------
r34513 | aligorith | 2011-01-26 23:58:32 +0200 (Wed, 26 Jan 2011) | 5 lines

"Bugfix" (otherwise known as another ZanQdo Feature Request)

Shape Key point data can now be animated directly. That is, you can
animate the locations that each shape key defines.

------------------------------------------------------------------------
r34512 | gsrb3d | 2011-01-26 23:13:55 +0200 (Wed, 26 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34511 | nazgul | 2011-01-26 23:00:52 +0200 (Wed, 26 Jan 2011) | 3 lines

Fix #25818: Text Editor holizontal grab inverted

Stupid typo. Maybe it's a result of merging two patches related to this part of code.
------------------------------------------------------------------------
r34510 | theeth | 2011-01-26 22:09:30 +0200 (Wed, 26 Jan 2011) | 5 lines

Bug [#25696] Netrender feedback fails

Patch by Wintch Analyzer

Someone change an attribute name and this wasn't updated
------------------------------------------------------------------------
r34509 | campbellbarton | 2011-01-26 18:30:12 +0200 (Wed, 26 Jan 2011) | 3 lines

option for blender --addons rigify,io_scene_fbx,add_mesh_gears
needed so ctest unit testing can be done on addons that are not enabled by default.

------------------------------------------------------------------------
r34508 | campbellbarton | 2011-01-26 18:21:54 +0200 (Wed, 26 Jan 2011) | 2 lines

fix from andguent on irc, wasn't checking for property type.

------------------------------------------------------------------------
r34507 | campbellbarton | 2011-01-26 16:52:00 +0200 (Wed, 26 Jan 2011) | 2 lines

fix for error in add mesh script with no operator passed.

------------------------------------------------------------------------
r34506 | campbellbarton | 2011-01-26 16:18:16 +0200 (Wed, 26 Jan 2011) | 4 lines

Possible fix for issue #2 in [#25664] Remove Pack does not work in Texture panel
- There were 2 pack menu's, merged into 1.
- Don't attempt to unpack into // if the blend file isn't saved, would use the CWD instead.

------------------------------------------------------------------------
r34505 | jhk | 2011-01-26 15:02:47 +0200 (Wed, 26 Jan 2011) | 2 lines

Fix for [#25797] Hair partcle crash when vertexgroup length enabled
* Rounding errors could give vgroup weights of slightly over 1.0 to particles in some cases.
------------------------------------------------------------------------
r34504 | ton | 2011-01-26 14:48:22 +0200 (Wed, 26 Jan 2011) | 3 lines

After test, offset is better to be 0.001f (test in windows nvidia)


------------------------------------------------------------------------
r34503 | campbellbarton | 2011-01-26 14:44:09 +0200 (Wed, 26 Jan 2011) | 2 lines

fix for crash when assigning unsupported type to collection properties.

------------------------------------------------------------------------
r34502 | ton | 2011-01-26 14:26:44 +0200 (Wed, 26 Jan 2011) | 11 lines

Bugfix #25756

Outliner was drawing icons sometimes blurred. Happens when subpixel
positions vary. UI code doesn't suffer this, it makes own ortho for
it.

This fix re-uses an un-used v2d flag (V2D_PIXELOFS_X) to force a 2d
view on pixel exact positions. It's set for outliner only, I need
testing feedback first.


------------------------------------------------------------------------
r34501 | jesterking | 2011-01-26 14:23:02 +0200 (Wed, 26 Jan 2011) | 5 lines

Apply part of patch [#25612] Windows 7 icon progress bar
Submitted by Alexander Kuznetsov.

This adds the progress bar to the taskbar item of Blender for Windows 7.
Small change in version retrieval, otherwise as is.
------------------------------------------------------------------------
r34500 | jesterking | 2011-01-26 14:19:19 +0200 (Wed, 26 Jan 2011) | 5 lines

Apply multimonitor fix part of patch [#25612]
Submitted by Alexander Kuznetsov
Fixes [#23630] Negative OS screen coords not stored/used
Reported by Mort (mnme)

------------------------------------------------------------------------
r34499 | aligorith | 2011-01-26 12:46:43 +0200 (Wed, 26 Jan 2011) | 5 lines

ShapeKeys RNA Wrapping: Code cleanup

Replaced some manual/inlined operations with their equivalents from
the listbase library funcs.

------------------------------------------------------------------------
r34498 | aligorith | 2011-01-26 12:25:15 +0200 (Wed, 26 Jan 2011) | 8 lines

- Clear rotation for objects now works on delta transforms too. The
only case that doesn't fully work yet is the one where quats/axis-
angle are converted to eulers first.
- Fixed incorrect comment
- Removed obsolete "armature_clear" var from clear origin operator.
This was some ancient stuff from 2.4x code that ended up getting
ported across...

------------------------------------------------------------------------
r34496 | aligorith | 2011-01-26 11:27:43 +0200 (Wed, 26 Jan 2011) | 4 lines

Refactoring object clear-transform operators to remove out the common
parts, like what was done for posechannel clear-transform operators
earlier. There shouldn't be any functional changes.

------------------------------------------------------------------------
r34495 | campbellbarton | 2011-01-26 09:54:27 +0200 (Wed, 26 Jan 2011) | 3 lines

update to background_job template to use --factory-startup option.
make all templates pep8 compliant.

------------------------------------------------------------------------
r34494 | campbellbarton | 2011-01-26 09:34:17 +0200 (Wed, 26 Jan 2011) | 2 lines

cmake attempted fix before didnt work (I cant test on OSX), this should fix.

------------------------------------------------------------------------
r34493 | aligorith | 2011-01-26 08:41:44 +0200 (Wed, 26 Jan 2011) | 4 lines

Adding Calculate/Clear Motion Path operator buttons to toolbar. I'm
currently reviewing the UI for this, so more changes related to this
should be coming...

------------------------------------------------------------------------
r34492 | zanqdo | 2011-01-26 08:08:26 +0200 (Wed, 26 Jan 2011) | 1 line

After talking to Troy Sobotka, separated the time mapping UI a bit and added a label. It should be less obscure now
------------------------------------------------------------------------
r34491 | campbellbarton | 2011-01-26 06:48:37 +0200 (Wed, 26 Jan 2011) | 2 lines

missed this when updating cmake files

------------------------------------------------------------------------
r34490 | gsrb3d | 2011-01-25 21:05:15 +0200 (Tue, 25 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34489 | zanqdo | 2011-01-25 20:30:31 +0200 (Tue, 25 Jan 2011) | 4 lines

Adding Framerate preset patch by Troy Sobotka (sobotka). Small change to
make Frame Old / Frame New remapping settings always visible as they
aren't really a part of framerate settings

------------------------------------------------------------------------
r34488 | jhk | 2011-01-25 19:08:43 +0200 (Tue, 25 Jan 2011) | 2 lines

Fix for [#25781] Bake cache for particles fails at end , ALT + A not
* Missing check for info frame (frame 0).
------------------------------------------------------------------------
r34487 | campbellbarton | 2011-01-25 18:32:41 +0200 (Tue, 25 Jan 2011) | 2 lines

small internal cleanup, have matrix.scale_part() use same method to extract the scale as matrix.decompose()

------------------------------------------------------------------------
r34486 | campbellbarton | 2011-01-25 16:43:13 +0200 (Tue, 25 Jan 2011) | 3 lines

use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.

------------------------------------------------------------------------
r34485 | campbellbarton | 2011-01-25 10:35:10 +0200 (Tue, 25 Jan 2011) | 3 lines

cmake maintenance, was missing 2 headers and made some minor improvements to cmake_consistency_check.py.
also converted GHOST_SystemWin32.cpp to utf8.

------------------------------------------------------------------------
r34484 | campbellbarton | 2011-01-25 09:31:11 +0200 (Tue, 25 Jan 2011) | 2 lines

improve unregister error check not to loop over parent classes properties (would check the same property multiple times)

------------------------------------------------------------------------
r34483 | campbellbarton | 2011-01-25 08:54:57 +0200 (Tue, 25 Jan 2011) | 7 lines

fix [#25748] Addons register parameters/functions more than once
- values were added to both the classes __dict__ as well as the internal StructRNA.
- made properties available from the type since this is where the python api assigns them:
>>> bpy.types.Scene.frame_start
<bpy_struct, IntProperty("frame_start")>
- rename RNA_struct_type_properties() -> RNA_struct_type_properties(), added RNA_struct_type_find_property()

------------------------------------------------------------------------
r34482 | campbellbarton | 2011-01-25 07:45:21 +0200 (Tue, 25 Jan 2011) | 3 lines

property lookups on structs was doing a listbase search even if the hash was defined.
since the property hash is maintained there is no reason for this, especially since the property could be in the StructRNA's parent class.

------------------------------------------------------------------------
r34481 | campbellbarton | 2011-01-25 03:51:28 +0200 (Tue, 25 Jan 2011) | 3 lines

fix [#25778] Memoryblock Data from SCR: end corrupt
 + other minor changes.

------------------------------------------------------------------------
r34480 | nazgul | 2011-01-24 20:21:55 +0200 (Mon, 24 Jan 2011) | 10 lines

Todo item: text editor does not honour continuous grab(see

Added OPTYPE_GRAB_POINTER flag to scrolling operator, changed a bit logic of
delta calculation and removed unused members from TextScroll structure.

Got issue with very-fast mouse moving (when mouse pointer could go out of window,
but it's general issue for all grab operator).

Was unable to check MOUSEPAN event (two-finger scroll). Please poke me if
there are any issues with this event.
------------------------------------------------------------------------
r34479 | campbellbarton | 2011-01-24 17:25:03 +0200 (Mon, 24 Jan 2011) | 2 lines

fix [#25757] Torus script uses radians for rotation in panel

------------------------------------------------------------------------
r34478 | jesterking | 2011-01-24 16:37:10 +0200 (Mon, 24 Jan 2011) | 1 line

Fix [#25715] [!] key doesn't work on french keyboard with Windows XP/7.\nSubmitted by Eric Le Pape\n\nThe key sent VK_OEM_8, which wasn't handled at all. Added code to detect primary language and handle VK_OEM_8 specifically for certain layouts.
------------------------------------------------------------------------
r34477 | nazgul | 2011-01-24 12:10:50 +0200 (Mon, 24 Jan 2011) | 9 lines

Todo item: text editor scroll bar does not respond to clicks

Text space's scroll bar now uses quite the same strategy of handling
drag and click events as view2d.

I tried to share some code between this two spaces. but there was no big
luck with it: text sace uses it's own constants (like scroll bas size and offsets),
so the simpliest way was to define zone stuff for text space without sharing it
with view2d.
------------------------------------------------------------------------
r34476 | campbellbarton | 2011-01-24 07:15:14 +0200 (Mon, 24 Jan 2011) | 2 lines

fix [#25776] Crash when operator's bl_idname has more than one dot

------------------------------------------------------------------------
r34475 | campbellbarton | 2011-01-24 07:02:01 +0200 (Mon, 24 Jan 2011) | 2 lines

undo own last commit, have a fix which is less intrusive: svn merge .  -r34474:34473

------------------------------------------------------------------------
r34474 | campbellbarton | 2011-01-24 06:00:02 +0200 (Mon, 24 Jan 2011) | 2 lines

fix for error in last commit. string length isn't stored for most idname values, so set manually.

------------------------------------------------------------------------
r34473 | campbellbarton | 2011-01-24 05:38:34 +0200 (Mon, 24 Jan 2011) | 2 lines

Raise an exception when registering classes with ID names which are too long. (related to bug ), found while looking into bug [#25776].

------------------------------------------------------------------------
r34472 | campbellbarton | 2011-01-24 04:56:23 +0200 (Mon, 24 Jan 2011) | 4 lines

no functional changes.
- remove unneeded casts to (char*) in interface code.
- replace strcmp(.., "") with checks on the first char of the string.

------------------------------------------------------------------------
r34471 | ton | 2011-01-23 21:20:10 +0200 (Sun, 23 Jan 2011) | 6 lines

Small fix for text input buttons:

Number buttons, in text input mode, now also align internally
like text buttons.


------------------------------------------------------------------------
r34470 | dfelinto | 2011-01-23 19:25:27 +0200 (Sun, 23 Jan 2011) | 6 lines

BGE: option in the UI to start with the mouse cursor visible. Patch by Vitor Balbio, changes by me.
----------------------------------
While we are more and more moving towards enabling features in the Python API, it's also important to have Logic Bricks working with no scripts.

This option allows you to start the game with the mouse cursor on (it's on Render Buttons). The defalt is still off (no do_version needed here).

------------------------------------------------------------------------
r34469 | ben2610 | 2011-01-23 19:17:21 +0200 (Sun, 23 Jan 2011) | 22 lines

BGE: support modifiers without mapping to original mesh both graphically and physically, fixes bug #24942 and #25286.

Support for physics is done by skiping the modifiers that
don't support mapping to original mesh. This mapping is
required to report the hit polygon to the application
by the rayCast() function.

Support for graphics is done by using the same render
function that blender uses for the 3D view. This guantees
equal result.

Limitation: there is still a known bug if all these conditions are met:
- Display list enabled
- Old tex face with a several textures mapped to the same material
- no armature or shape keys
- active modifiers

In this case, only a part of the mesh will be rendered
with the wrong texture. To avoid this bug, use the GLSL
materials or make sure to have 1 material=1 texture in
your old tex face objects.

------------------------------------------------------------------------
r34468 | jhk | 2011-01-23 16:04:31 +0200 (Sun, 23 Jan 2011) | 4 lines

Some ui reorganization of the physics tab:
* Before the different simulations all had a panel with an "add this" button making the whole tab look really messy. It also rarely makes sense to have more than one or two physics things enabled for a single object, so having all the panels in the tab just added a great deal of visual clutter.
* Now there is a single "enable physics for" panel at the top that allows for enable/disable of any simulation. All actual physics panels are hidden until a simulation is enabled.
* There was no "add" button for force fields before, but I added a toggle between "none" and "force" to unify the ui even further.
------------------------------------------------------------------------
r34467 | jhk | 2011-01-23 15:52:24 +0200 (Sun, 23 Jan 2011) | 2 lines

Panels that have the "no header" flag set are now always drawn first in a tab regardless of the order they were registered.
* This is a quick and simple workaround until we can define proper ordering for the panels.
------------------------------------------------------------------------
r34466 | campbellbarton | 2011-01-23 15:34:36 +0200 (Sun, 23 Jan 2011) | 2 lines

update testing md5's for changes in exporters.

------------------------------------------------------------------------
r34465 | campbellbarton | 2011-01-23 14:42:07 +0200 (Sun, 23 Jan 2011) | 2 lines

correct own bad spelling

------------------------------------------------------------------------
r34463 | campbellbarton | 2011-01-23 13:42:29 +0200 (Sun, 23 Jan 2011) | 4 lines

- fix problem with cmake, windows 'RelWithDebInfo' target, was giving error: "ImportError: No module named _socket" because of copying wrong files over.
- move test -> tests, this name is used elsewhere in lib/tests.
- change interface code not to loop on a float value (clang warning), harmless, but with extreme cases an eternal loop would still be possible though unlikely.

------------------------------------------------------------------------
r34462 | campbellbarton | 2011-01-23 10:37:34 +0200 (Sun, 23 Jan 2011) | 4 lines

bugfix + minor mathutils.Vector edits.
- multiplying a 2D vector by a 3x3 or 4x4 matrix would use un-initialized memory, now throw an exception.
- use more variable length array BLI_math functions.

------------------------------------------------------------------------
r34461 | dfelinto | 2011-01-23 06:54:23 +0200 (Sun, 23 Jan 2011) | 4 lines

Logic UI: ParentActuator fix + PropertyActuator tooltip improvement
ParentActuator: sub options only available when mode==setParent + deactive ghost option when compound is true (isntead of saying that in the tooltip)
PropertyActuator: I never knew that you could pass a property name to the Add and Assign options of the Property Actuator. Where it's by design or a side effect is cool. And a tooltip explaining that does help.

------------------------------------------------------------------------
r34459 | jhk | 2011-01-22 23:22:29 +0200 (Sat, 22 Jan 2011) | 2 lines

Own mistake in fluid particles ui cleanup commit.
* Emission tab was shown without particle settings.
------------------------------------------------------------------------
r34458 | jhk | 2011-01-22 23:13:29 +0200 (Sat, 22 Jan 2011) | 3 lines

Bug fix: pre 2.5 particles that were using old memory caching didn't load properly
* Now the old cache is just freed so that new calculations can be done.
* The particle dynamics regression test files should display correctly now.
------------------------------------------------------------------------
r34457 | jhk | 2011-01-22 22:38:27 +0200 (Sat, 22 Jan 2011) | 2 lines

"Fix" for [#25766] Fluid Particle Bugs
* Argh, particles tab was showing the whole "non applicable settings for fluid particles"-galore as the particle type "fluid" can't be checked from rna using the settings type value. Now the ui is a lot cleaner and only settings that actually effect the fluid particles are shown.
------------------------------------------------------------------------
r34456 | ton | 2011-01-22 20:15:42 +0200 (Sat, 22 Jan 2011) | 3 lines

Belonging to previous commit!


------------------------------------------------------------------------
r34455 | ton | 2011-01-22 20:00:11 +0200 (Sat, 22 Jan 2011) | 8 lines

Small fix from the todo:

"Modal cursors" now remain visible, until reset. These cursors
were reset already on edges. Example: 3d view toolbar, grease
pencil. Do note, only use WM_cursor_modal() on real modal tools,
and restore it at end.


------------------------------------------------------------------------
r34454 | ton | 2011-01-22 17:34:20 +0200 (Sat, 22 Jan 2011) | 6 lines

Bugfix #25761

Move-to-layer in 3D window didn't work for linked library objects.
That should be possible, as was in 2.49. Layer property is local.


------------------------------------------------------------------------
r34453 | jhk | 2011-01-22 16:44:04 +0200 (Sat, 22 Jan 2011) | 2 lines

Fix for [#25664] Remove Pack does not work in Texture panel
* Unpack menu option "Remove Pack" didn't get a pointer to the image to be unpacked. This worked from image view by using the active image, but not from texture panel.
------------------------------------------------------------------------
r34452 | jhk | 2011-01-22 16:13:36 +0200 (Sat, 22 Jan 2011) | 3 lines

Temporary fix for [#25735] Softbody don't work in linked groups, not generate cache
* The whole case of lib linking and pointcaches is not very well defined currently, but this fix sets the behavior of sb to the same as other physics currently.
* A proper fix will be easy to implement after a good physics baking ui is added.
------------------------------------------------------------------------
r34448 | campbellbarton | 2011-01-22 06:40:15 +0200 (Sat, 22 Jan 2011) | 2 lines

own fix r34446, was incorrect, fixed properly now.

------------------------------------------------------------------------
r34447 | campbellbarton | 2011-01-22 06:13:13 +0200 (Sat, 22 Jan 2011) | 2 lines

error in own recent commit, r34445

------------------------------------------------------------------------
r34446 | campbellbarton | 2011-01-22 06:02:54 +0200 (Sat, 22 Jan 2011) | 6 lines

fix for makesdna error.

ERROR: still 1 structs unknown
*** Unknown structs :
  PreviewImage

------------------------------------------------------------------------
r34445 | campbellbarton | 2011-01-22 05:50:09 +0200 (Sat, 22 Jan 2011) | 2 lines

comment dead code and fix 2 missing NULL checks (pointer used after NULL check and checking against incorrect pointer before use).

------------------------------------------------------------------------
r34444 | campbellbarton | 2011-01-21 13:52:56 +0200 (Fri, 21 Jan 2011) | 2 lines

correction to own cmake error checking script.

------------------------------------------------------------------------
r34443 | campbellbarton | 2011-01-21 12:49:39 +0200 (Fri, 21 Jan 2011) | 2 lines

PLY and STL importer tests.

------------------------------------------------------------------------
r34437 | dfelinto | 2011-01-21 10:59:08 +0200 (Fri, 21 Jan 2011) | 5 lines

Logic UI + missing listener in Outliner - changes on Armature Sensor and Visibility Actuator
* fix for armature sensor (Status Changed doesn't use any value to evaluate itself) + renamed "Test Type" to "Test"
* visibility tooltip was wrong - now we can change visibility from the physic buttons instead of the outliner
* bonus * when you change the visibility from the physics panel the icon in the outliner wasn't changing

------------------------------------------------------------------------
r34436 | dfelinto | 2011-01-21 08:12:56 +0200 (Fri, 21 Jan 2011) | 3 lines

Logic UI: more tooltips, adding  (blank = all objects) for the Property field of the physic sensors + using PROP_ANGLE for Radar Sensor
(to work in tooltips bring good karma !)

------------------------------------------------------------------------
r34435 | campbellbarton | 2011-01-21 07:09:32 +0200 (Fri, 21 Jan 2011) | 8 lines

bugfix [#25712] Deletion of vertex groups under script control causes incorrect reassignment of vertices in other groups

vgroup functions were mixing up active group and one passed as an argument.

also made other changes.
- removed superfluous call to defvert_find_index() in vgroup_delete_object_mode(), was also doing unnecessary NULL check on each loop.
- remove paranoid NULL check from ED_vgroup_vert_remove, callers all check for valid 'ob'

------------------------------------------------------------------------
r34434 | dfelinto | 2011-01-21 06:07:32 +0200 (Fri, 21 Jan 2011) | 2 lines

BGE Logic UI: Near Sensor tooltip update

------------------------------------------------------------------------
r34433 | campbellbarton | 2011-01-21 05:18:01 +0200 (Fri, 21 Jan 2011) | 6 lines

change mathutils.Matrix.Shear() for 3x3 or 4x4 matrices

The plane which defined the shear had the factor applied to each axis equally.
This meant that the shear for any 3x3 or 4x4 matrix would be diagonal on the positive values of each axis.
Only being able to create diagonal shear matrices seems stupid, now take a pair of floats for the shear factor corresponding to the plane axis values, so its possible to shear on only one axis of the plane.

------------------------------------------------------------------------
r34432 | campbellbarton | 2011-01-21 04:32:58 +0200 (Fri, 21 Jan 2011) | 2 lines

correct spelling

------------------------------------------------------------------------
r34431 | campbellbarton | 2011-01-21 04:27:04 +0200 (Fri, 21 Jan 2011) | 3 lines

[#25732] Incorrect shear matrix in XY plane
fix included by Lawrence D'Oliveiro (ldo)

------------------------------------------------------------------------
r34430 | gsrb3d | 2011-01-21 02:33:37 +0200 (Fri, 21 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34429 | campbellbarton | 2011-01-21 02:06:30 +0200 (Fri, 21 Jan 2011) | 12 lines

import/export automated testing using CMake's CTest

Will need to write full docs on this on the wiki.
basic info.
- 21 tests, OBJ/3DS/X3D/FBX, 3 tests per format import export. STL, PLY, BVH are TODO.
- uses files in ../lib/tests (checkout separate)
- run with CMake Makefiles "make test" or "ctest"
- currently checks against basic MD5 hash on scene import and file MD5 hash on export (realize this wont work predictably on binary formats *TODO*).
- currently uses a generic script for all tests with arguments to specify command to run, expected output, testing method, files to check against etc.

Has already proved useful, found a number of bugs in import export and some in blender too.

------------------------------------------------------------------------
r34428 | campbellbarton | 2011-01-21 01:05:25 +0200 (Fri, 21 Jan 2011) | 2 lines

correct fix for [#25737] Console error message

------------------------------------------------------------------------
r34427 | aligorith | 2011-01-21 00:22:16 +0200 (Fri, 21 Jan 2011) | 6 lines

- Bugfix: NLA "duplicate" operator now lets strips get moved between
tracks too, instead of only sliding around on the track they were
defined on.
- Adding description fields for many (older) operators that lacked
them

------------------------------------------------------------------------
r34426 | aligorith | 2011-01-20 23:46:11 +0200 (Thu, 20 Jan 2011) | 13 lines

Bugfix [#25737] Console error message

It seems that rna_def_effect() is missing a rna_def_input(), resulting
in:

  rna_uiItemR: property not found:
EffectSequence.animation_offset_start
  rna_uiItemR: property not found: EffectSequence.animation_offset_end

in the console. I'm not sure whether these settings are used for
"effect" strips or not, but I'll leave that to sequencer guys to
figure out if/when they get a report about this.

------------------------------------------------------------------------
r34422 | campbellbarton | 2011-01-20 23:02:42 +0200 (Thu, 20 Jan 2011) | 2 lines

bugfix [#25742] blender-thumbnailer.py doesn't work with python 3.1

------------------------------------------------------------------------
r34421 | aligorith | 2011-01-20 22:51:38 +0200 (Thu, 20 Jan 2011) | 3 lines

Small code reshuffle... sequencer transform stuff was bisecting the
code for object transform stuff

------------------------------------------------------------------------
r34420 | bdiego | 2011-01-20 22:24:18 +0200 (Thu, 20 Jan 2011) | 8 lines

Ghost:X11 Set the default max width and max height value.

Some window manager can set default value of this to be the
screen size, so running blender with -p or --window-geometry
don't work with value bigger than that.

This commit try to "avoid" the bug #25709, but at the end
depend on the window manager, so maybe work or maybe not.
------------------------------------------------------------------------
r34419 | ton | 2011-01-20 20:34:48 +0200 (Thu, 20 Jan 2011) | 9 lines

Bugfix #25656

Fixed one of oldest annoyances in Blender: the text input button!
It always behaved stupid when you had clipped text in a button.

Now while using arrows the cursor will move as expected, and only
internally shift contents when cursor reaches edge of button.


------------------------------------------------------------------------
r34418 | ton | 2011-01-20 18:29:43 +0200 (Thu, 20 Jan 2011) | 6 lines

Bugfix #25619

Paint modes: toolbar showed the preview image with double scaling applied,
so if UI zoomed in the image grew outside boundary.


------------------------------------------------------------------------
r34417 | ton | 2011-01-20 17:17:02 +0200 (Thu, 20 Jan 2011) | 6 lines

Bugfix #25611

Pose Proxy: layer settings only saved the 16 bits for proxy armatures, was
still a short, whilst the other layer settings use ints.


------------------------------------------------------------------------
r34416 | aligorith | 2011-01-20 11:26:36 +0200 (Thu, 20 Jan 2011) | 5 lines

NLA Tool Bugfixes:
- Swap strips operator crashed when it encountered an empty track
- Duplicating NLA strips was renaming the wrong strips - the old ones
would always get renamed, which was annoying

------------------------------------------------------------------------
r34414 | campbellbarton | 2011-01-20 09:44:58 +0200 (Thu, 20 Jan 2011) | 4 lines

no functional change,
- remove G.flag, its not used anywhere (and confusing with G.f).
- also remove strcpy where memory locations may overlap.

------------------------------------------------------------------------
r34413 | campbellbarton | 2011-01-20 09:41:25 +0200 (Thu, 20 Jan 2011) | 2 lines

fix for bug where python functions were not raising exceptions because reports were not added to the list in background mode.

------------------------------------------------------------------------
r34412 | campbellbarton | 2011-01-20 09:38:00 +0200 (Thu, 20 Jan 2011) | 3 lines

don't set the path to ~/untitled.blend on initializing the WM, this isn't well defined how this behavior should work,
existing behavior was inconsistent since loading a new file would set the path to "".

------------------------------------------------------------------------
r34410 | aligorith | 2011-01-20 01:05:02 +0200 (Thu, 20 Jan 2011) | 3 lines

NLA backend code cleanups: Ensure all user-count management is done
via id_us_*() functions instead of direct access, for more security

------------------------------------------------------------------------
r34409 | aligorith | 2011-01-20 00:49:09 +0200 (Thu, 20 Jan 2011) | 4 lines

Bugfix [#25721] Unable to delete grease pencil data blocks

Missing check for id-block users before saving

------------------------------------------------------------------------
r34407 | campbellbarton | 2011-01-19 23:30:23 +0200 (Wed, 19 Jan 2011) | 10 lines

Command line options to set blender system environment variables.
Added because CTest has no convenient way to set environment vars for commands it runs.

 --env-system-config -> BLENDER_SYSTEM_CONFIG
 --env-system-datafiles -> BLENDER_SYSTEM_DATAFILES
 --env-system-scripts -> BLENDER_SYSTEM_SCRIPTS
 --env-system-plugins -> BLENDER_SYSTEM_PLUGINS
 --env-system-python -> BLENDER_SYSTEM_PYTHON


------------------------------------------------------------------------
r34405 | campbellbarton | 2011-01-19 21:58:44 +0200 (Wed, 19 Jan 2011) | 2 lines

set variable as unused.

------------------------------------------------------------------------
r34404 | ton | 2011-01-19 20:07:13 +0200 (Wed, 19 Jan 2011) | 6 lines

Bugfix #25613

Dropping file in Blender from pre 2.5 period caused eternal loop
loading .blend files :)


------------------------------------------------------------------------
r34403 | ton | 2011-01-19 19:11:02 +0200 (Wed, 19 Jan 2011) | 3 lines

Oops didnt save one file before commit. Just makes function static.


------------------------------------------------------------------------
r34402 | ton | 2011-01-19 19:10:05 +0200 (Wed, 19 Jan 2011) | 6 lines

Bugfix #25720

Preview icons got lost... commit of yesterday caused it.
Conflict between preview render icons, and brush icons...


------------------------------------------------------------------------
r34401 | ton | 2011-01-19 16:19:20 +0200 (Wed, 19 Jan 2011) | 28 lines

Bugfix #25652

Report was that move-to-layer menu failed. The real cause was
more complex; had to dive deep in the dungeons of the interface
code that handled undos and operators. Found several issues:

- popup menus (like redo operator, color picker) executed again
  on a mouse-exit
- far too many buttons were sending undo pushes; even worse, in
  the operator redo-panel each button action was pushed twice
- in case operator redo-buttons have own callbacks (like layer
  buttons) the redo wasn't working
- layerbutton menu was called without creating a proper undo/redo
  case

Things should all work smoother now!

On todo:
- better definition and handling of all versions for operator menus
  (four types now, not fun)
  also: make operator "do" menu, which on first action does operator
  and then switches to redo-ing
- bring back Undo menu, to list the undo stack and jump in it.





------------------------------------------------------------------------
r34400 | lukastoenne | 2011-01-19 15:32:59 +0200 (Wed, 19 Jan 2011) | 1 line

Changed Brightness/Contrast node to use also buffer inputs for the B/C inputs. These were only working with single values.
------------------------------------------------------------------------
r34399 | aligorith | 2011-01-19 12:54:34 +0200 (Wed, 19 Jan 2011) | 2 lines

Added missing updates for NLA RNA settings

------------------------------------------------------------------------
r34398 | aligorith | 2011-01-19 12:45:35 +0200 (Wed, 19 Jan 2011) | 7 lines

NLA Editor: Added "Sync Action Length" operator to Edit menu

Although strictly-speaking, this only applies to a certain type of NLA
Strip (there are 3 types), but since only the classic "Action Clip"
gets much attention, it's probably worth exposing this here too to
make batch editing of strips a bit easier.

------------------------------------------------------------------------
r34397 | jhk | 2011-01-19 11:33:09 +0200 (Wed, 19 Jan 2011) | 2 lines

Fix for [#25705] Crashing doing Bake in Partile System in Particle Mode
* Missing null check.
------------------------------------------------------------------------
r34396 | campbellbarton | 2011-01-19 11:13:24 +0200 (Wed, 19 Jan 2011) | 3 lines

new command line option '--factory-startup' to skip reading startup.blend. useful for testing with a predictable environment.
also commented python benchmark prints on exit, can enable when profiling later.

------------------------------------------------------------------------
r34395 | aligorith | 2011-01-19 01:38:36 +0200 (Wed, 19 Jan 2011) | 22 lines

NLA Editor: Swap Strips (Alt-F) and Bugfixes

1) Added a new operator to swap the order of strips within a track
(Alt-F).
This makes it possible to select two strips (or more precisely, two
islands of consecutive + selected strips) in a single track and change
the order in which the appear without needing a extra tracks to
perform the move through.

As usual, the non-overlapping rules apply, so there may be some cases
where swapping in this way is not possible without adjusting the
intermediate strips first manually. Otherwise, everything just gets
too tricky to manage deciding what adjustments should be done to the
obstructing strips to make a fit.

2) Freeing meta-strips didn't free their local data properly (i.e.
modifiers they may have had).

3) Adding strips to tracks, where the endframes for the strips
overlapped would cause problems with incorrect ordering of strips. I
still need to double-check whether evaluation works ok in this case...

------------------------------------------------------------------------
r34394 | campbellbarton | 2011-01-19 01:12:02 +0200 (Wed, 19 Jan 2011) | 2 lines

move release/test to source/test, there is nothing release about this dir.

------------------------------------------------------------------------
r34393 | dfelinto | 2011-01-19 00:27:18 +0200 (Wed, 19 Jan 2011) | 3 lines

BGE BugFix [#25711]render.setBackgroundColor() does not work:
Since rev.2 (hans ftw) we have a strange situation where horizon color was being used at Convert time for the WorldInfo background color (and for the fog). However through the Python API only the Rasterizer background color was being updated. On top of that the KX_KetsjiEngine.cpp::SetBackGround was using the WorldInfo bgcolor when render mode was the potato one (TEXTURED). Bottomline, when in potato mode the glClearColor used was the original one in worldinfo, not the API updated one in Rasterized.

------------------------------------------------------------------------
r34392 | campbellbarton | 2011-01-18 23:39:50 +0200 (Tue, 18 Jan 2011) | 2 lines

support building with python3.2

------------------------------------------------------------------------
r34391 | damien78 | 2011-01-18 22:53:20 +0200 (Tue, 18 Jan 2011) | 1 line

Fix [#25678]: (Ghost Cocoa) Fix character encoding translation for filenames (open & window title display)
------------------------------------------------------------------------
r34390 | kwk | 2011-01-18 17:02:58 +0200 (Tue, 18 Jan 2011) | 4 lines

Fix for "[#25700] 2.56: Rotation Mode: Quaternion shows wrong orientation of the object".

There was a small typing error that made object and armatures rotate twice the magnitude when in quaternion rotation mode.

------------------------------------------------------------------------
r34389 | lukastoenne | 2011-01-18 16:49:06 +0200 (Tue, 18 Jan 2011) | 1 line

Added group verification after autoconnect to avoid linked+external group sockets.
------------------------------------------------------------------------
r34388 | ton | 2011-01-18 16:34:59 +0200 (Tue, 18 Jan 2011) | 4 lines

Bugfix, irc report: general view3d operator poll() was reading NULL
caused by commit for fix [#25691] 16 hours ago.


------------------------------------------------------------------------
r34387 | lukastoenne | 2011-01-18 15:28:18 +0200 (Tue, 18 Jan 2011) | 2 lines

Added a check in nodeGroupVerify to detect if a tree is actually a group tree. This is necessary to avoid the group-in-group error if the function is called for a tree that already contains group nodes.

------------------------------------------------------------------------
r34386 | campbellbarton | 2011-01-18 13:27:52 +0200 (Tue, 18 Jan 2011) | 3 lines

rename fcurve.keyframe_points.add() --> insert()
add new add function which allocates a number of points instead.

------------------------------------------------------------------------
r34385 | jhk | 2011-01-18 11:25:37 +0200 (Tue, 18 Jan 2011) | 2 lines

Bug fix: particle dynamics were being calculated if point cache was only half baked (reported by Michael Fox in #blendercoders)
* When a simulation is baked no dynamics calculations should happen anymore (even outside of baked frame range) since these can be very time consuming and baked simulations are supposed to be fast!
------------------------------------------------------------------------
r34384 | campbellbarton | 2011-01-18 08:35:26 +0200 (Tue, 18 Jan 2011) | 2 lines

recent commit broke Mesh.from_pydata()

------------------------------------------------------------------------
r34383 | nicholasbishop | 2011-01-18 06:32:41 +0200 (Tue, 18 Jan 2011) | 3 lines

Small fix for my last fix: ignore the `preview' flag; if either size
has been marked for update then do it regardless. Otherwise changing
the texture type doesn't always update the brush texture preview.
------------------------------------------------------------------------
r34382 | nicholasbishop | 2011-01-18 06:08:01 +0200 (Tue, 18 Jan 2011) | 10 lines

More fixes for bug [#25649], Image editor paint icon missing until
enter weight paint, hopefully fully fixed this time

* The texture selector for brushes wasn't updating. Seems that preview
  images have two sizes, small (icon) and big, but it was only
  updating if the icon size was set to update. Now both are checked.

* Also changed the previewimage arrays to use the already-existing
  PREVIEW_MIPMAPS define, makes it a little clearer what the arrays
  are for.
------------------------------------------------------------------------
r34381 | campbellbarton | 2011-01-18 05:49:28 +0200 (Tue, 18 Jan 2011) | 8 lines

bgl.Buffer()
 - invalid dimension type could be passed without raising an error.
 - negative dimensions could crash blender, now they raise errors.
 - zero length dimension arg was not detected.
 - floating point lengths were accepted, now only allow ints.

 also comment unused vars.

------------------------------------------------------------------------
r34380 | campbellbarton | 2011-01-18 03:58:19 +0200 (Tue, 18 Jan 2011) | 1 line

bad spelling; 'indicies' --> 'indices'
------------------------------------------------------------------------
r34379 | campbellbarton | 2011-01-18 03:38:14 +0200 (Tue, 18 Jan 2011) | 2 lines

document Mesh.from_pydata() [#25688] undocumted functions in pyapi

------------------------------------------------------------------------
r34378 | aligorith | 2011-01-18 03:04:14 +0200 (Tue, 18 Jan 2011) | 9 lines

Bugfix [#25684b] Surface and Stroke options are not working with Use
Sketching Sessions.

Fix for secondary issue noted in this bug report. Some of the code for
the fancy 3d view sketching options needed to be moved around so that
there is a clearer "paint/sketch session" and "stroke" separation
between various stages. There's still some more stuff that needs to be
done here before I think it's totally cleaned up.

------------------------------------------------------------------------
r34377 | campbellbarton | 2011-01-18 02:10:11 +0200 (Tue, 18 Jan 2011) | 2 lines

option for the path iterator to loop over packed files so their dir separator can be switched on file load.

------------------------------------------------------------------------
r34376 | campbellbarton | 2011-01-18 01:47:11 +0200 (Tue, 18 Jan 2011) | 2 lines

fix [#25694] Center View (Home Key)

------------------------------------------------------------------------
r34375 | campbellbarton | 2011-01-18 01:30:28 +0200 (Tue, 18 Jan 2011) | 2 lines

fix missing notifier [#25682] bpy.data.materials['XXX'].texture_slot.clear(0) dosen't delete texture from screen

------------------------------------------------------------------------
r34374 | campbellbarton | 2011-01-18 00:37:24 +0200 (Tue, 18 Jan 2011) | 3 lines

fix [#25691] Lasso select on 3D Text editing segfaults
poll function was incorrect.

------------------------------------------------------------------------
r34373 | elubie | 2011-01-17 22:10:18 +0200 (Mon, 17 Jan 2011) | 7 lines

== file browser ==
bring back nice shortening of filenames in thumbnail view, shortening at front and end is confusing.
- adds ... at the end to indicate that the filename has been shortened
- also cuts off at the end and not at both front and end now

Note: maybe this can be moved into button code or so in the future, but for now should work.

------------------------------------------------------------------------
r34372 | elubie | 2011-01-17 21:39:25 +0200 (Mon, 17 Jan 2011) | 2 lines

fix compile on MinGW, missing define in the mingw headers.

------------------------------------------------------------------------
r34371 | ton | 2011-01-17 20:38:44 +0200 (Mon, 17 Jan 2011) | 9 lines

Bugfix 25683

Compositor operators now have better poll check, so they won't
show up in operator search or hotkeys for other node views.

- backimage move, size
- read renderlayers


------------------------------------------------------------------------
r34370 | ton | 2011-01-17 20:16:10 +0200 (Mon, 17 Jan 2011) | 14 lines

Bugfix #25657

Three code fixes for 1 report. User experienced crashes while
painting on float buffer + having preview renders on.

- Texture Nodes: Image was re-allocated without using
  proper thread lock
- Paint code: old convention to free the byte rect from
  a float image as signal to re-create now is a proper
  flag. This keeps image memory unchanged. Nice for render.
- Imbuf: call to make a byte rect from float was freeing
  mipmaps unnecessary.


------------------------------------------------------------------------
r34369 | ton | 2011-01-17 17:16:08 +0200 (Mon, 17 Jan 2011) | 6 lines

Bugfix #25681

Python API allowed to make links with input->output reversed.
Now node api checks for this case and flips order.


------------------------------------------------------------------------
r34367 | jesterking | 2011-01-17 12:47:31 +0200 (Mon, 17 Jan 2011) | 1 line

test commit for svn link in commit mail, part two
------------------------------------------------------------------------
r34366 | jesterking | 2011-01-17 12:43:51 +0200 (Mon, 17 Jan 2011) | 1 line

test commit for svn link in commit mail
------------------------------------------------------------------------
r34365 | aligorith | 2011-01-17 12:35:04 +0200 (Mon, 17 Jan 2011) | 7 lines

Bugfix [#25667] "X-Axis Mirror" in the Pose Options panel toolbar is
misleading (?)

"X-Axis Mirror" option didn't work in Pose Mode, so hiding this option
for now. Perhaps one day we could properly support this for all
operators there, but that is more of a long term todo...

------------------------------------------------------------------------
r34363 | campbellbarton | 2011-01-17 10:31:57 +0200 (Mon, 17 Jan 2011) | 5 lines

misc maintenance changes
- metaball tessellation functuion was calculating density when it didn't need to.
- image drawing was using a float as a loop counter, in extreme cases this could cause an infinite loop.
- remove/comment unused vars.

------------------------------------------------------------------------
r34362 | aligorith | 2011-01-17 10:27:16 +0200 (Mon, 17 Jan 2011) | 2 lines

More consistency with order of action vs gp keyframes...

------------------------------------------------------------------------
r34361 | aligorith | 2011-01-17 10:21:13 +0200 (Mon, 17 Jan 2011) | 4 lines

Bugfix [#25674] No Box Select in Dopesheet

Border select was broken during Grease Pencil mode work

------------------------------------------------------------------------
r34360 | campbellbarton | 2011-01-16 23:12:38 +0200 (Sun, 16 Jan 2011) | 2 lines

remove/comment unused defines, also zero FileGlobal.filename to quiet valgrind.

------------------------------------------------------------------------
r34359 | campbellbarton | 2011-01-16 22:52:15 +0200 (Sun, 16 Jan 2011) | 4 lines

These files are needed for booleans (which I had disabled)
 reverse merge:
svn merge . -r34357:34356

------------------------------------------------------------------------
r34358 | campbellbarton | 2011-01-16 22:25:47 +0200 (Sun, 16 Jan 2011) | 2 lines

remove MSVC 6.0 workaround.

------------------------------------------------------------------------
r34357 | campbellbarton | 2011-01-16 21:55:50 +0200 (Sun, 16 Jan 2011) | 2 lines

remove unused memutil classes

------------------------------------------------------------------------
r34356 | lukastoenne | 2011-01-16 20:38:54 +0200 (Sun, 16 Jan 2011) | 1 line

Adding links to groups using the links.new function in RNA wasn't updating the group owntype. This lead to sockets being linked and external at the same time.
------------------------------------------------------------------------
r34355 | nicholasbishop | 2011-01-16 20:33:08 +0200 (Sun, 16 Jan 2011) | 15 lines

Fixed bug [#25649] Image editor paint icon missing until enter weight
paint

A couple underlying issues:

* Paint icon was looking only at the object mode to determine what the
  "current" mode is, but that gave problems when the object mode was
  anything other than texpaint, but 2D image paint was turned on. Fix
  was to also look at what space is being drawn, and only if it's in
  the 3D view does it look at the ob mode.

* The brushes lists weren't getting filtered correctly in the same
  case where 2D image paint was on but a different object mode is
  enabled. Fixed by changing the brush rna poll to look at the paint
  source, rather than the object mode.
------------------------------------------------------------------------
r34354 | ton | 2011-01-16 19:12:02 +0200 (Sun, 16 Jan 2011) | 7 lines

Bugfix, IRC report

Texture nodes: including output node in group crashed when it got
connected. Note that this feature is not supported to do anything
else than temporarily giving an output when editing node groups.


------------------------------------------------------------------------
r34353 | lukastoenne | 2011-01-16 18:00:06 +0200 (Sun, 16 Jan 2011) | 3 lines

Fix for 25655: Crashes with texture node in compositor.
Texture node was using the preview buffer instead of socket output buffers, which is already free'd at that point.

------------------------------------------------------------------------
r34352 | campbellbarton | 2011-01-16 17:02:07 +0200 (Sun, 16 Jan 2011) | 3 lines

defining types via python gave confusing errors because DefRNA.laststruct was being used for errors when the new property wasn't on the last struct.
added CONTAINER_RNA_ID() define?\019 to get the ID from the ContainerRNA type.

------------------------------------------------------------------------
r34350 | campbellbarton | 2011-01-16 13:26:01 +0200 (Sun, 16 Jan 2011) | 3 lines

detect mathutils types with mathutils_array_parse(), was using PySequence_Fast(), converting into a tuple every time then back to a float array.
gives approx 6x speedup with eg mathutils.Vector(some_vector).

------------------------------------------------------------------------
r34349 | campbellbarton | 2011-01-16 12:36:27 +0200 (Sun, 16 Jan 2011) | 2 lines

use fast sequence functions for python's bpy.props.EnumProperty() arg parsing.

------------------------------------------------------------------------
r34348 | campbellbarton | 2011-01-16 12:08:20 +0200 (Sun, 16 Jan 2011) | 2 lines

Defining bpy.props.EnumProperty(... , options={'ENUM_FLAG'}) wasnt working right with default values.

------------------------------------------------------------------------
r34347 | campbellbarton | 2011-01-16 08:16:28 +0200 (Sun, 16 Jan 2011) | 3 lines

fix for using un-initialized stack memory with bullet triangle mesh collisions.
the 4th component of the vector is used later when copying the vector.

------------------------------------------------------------------------
r34339 | campbellbarton | 2011-01-15 22:35:31 +0200 (Sat, 15 Jan 2011) | 2 lines

py api: bpy.path.abspath(), option to return relative to a path other then the current blend file.

------------------------------------------------------------------------
r34338 | campbellbarton | 2011-01-15 21:36:01 +0200 (Sat, 15 Jan 2011) | 2 lines

move to bf-extensions

------------------------------------------------------------------------
r34337 | campbellbarton | 2011-01-15 21:15:35 +0200 (Sat, 15 Jan 2011) | 2 lines

bugfix [#25640] Cannot edit custom property values in it's popup window

------------------------------------------------------------------------
r34336 | ton | 2011-01-15 20:00:46 +0200 (Sat, 15 Jan 2011) | 7 lines

Bugfix:

Texture nodes, the Image node didn't get initialized on load.
This caused the node to refuse accepting a new Image if a
file couldn't be found on saving.


------------------------------------------------------------------------
r34335 | campbellbarton | 2011-01-15 18:14:57 +0200 (Sat, 15 Jan 2011) | 2 lines

remove/comment unused defines.

------------------------------------------------------------------------
r34334 | campbellbarton | 2011-01-15 17:48:46 +0200 (Sat, 15 Jan 2011) | 5 lines

misc edits, no functional changes
- enabling/disabling no longer prints in the terminal unless in debug mode.
- remove 'header' struct from BLI_storage_types.h, from revision 2 and is not used.
- Add GCC property to guardedalloc to warn if the return value from allocation functions isn't used.

------------------------------------------------------------------------
r34333 | nazgul | 2011-01-15 16:48:44 +0200 (Sat, 15 Jan 2011) | 10 lines

IRC bugreport fix: thumb brush works incorrect when using tablet by Dan McGrath (troubled)

Quite silly fix, not sure if it could be smarter with current events/brushes design.
Use pressure_value from first brush step for brushes which don't support strokes -- thumb.
brush, brushes with anchored stroke method.

Should be fixed in nicer way after events redesigning.

P.S. Tried to place pressure saving into invaliants update fuunction, but it seens
     that this function wouldn't know about pressure yet.
------------------------------------------------------------------------
r34332 | ton | 2011-01-15 16:07:11 +0200 (Sat, 15 Jan 2011) | 9 lines

Bugfix #25636

On using loop-selects, the active vertex got cleared, it could still
simply indicate one of the vertices of indicated edge to become active.
That keeps the Ui for vertex-groups drawing correct, for example.

Also made loop-ring select store active edge for tools, like the loop-select.


------------------------------------------------------------------------
r34331 | jhk | 2011-01-15 14:29:22 +0200 (Sat, 15 Jan 2011) | 3 lines

Fix for [#25633] Particles display switching causes crash when Velocity disp. ON
* Particle draw data wasn't freed properly in some cases.
* Velocity + circle draw type also crashed due to missing null pointer check.
------------------------------------------------------------------------
r34330 | jhk | 2011-01-15 14:00:15 +0200 (Sat, 15 Jan 2011) | 2 lines

Fix for [#25637] curveguide forcefield(Kink: Braid) + particlesystem cause crash by Null Pointer in some cases
* Missing null pointer check.
------------------------------------------------------------------------
r34328 | campbellbarton | 2011-01-14 23:45:49 +0200 (Fri, 14 Jan 2011) | 2 lines

error in last commit, also skip getting vars for wm_operator_reports() when there are no reports.

------------------------------------------------------------------------
r34327 | campbellbarton | 2011-01-14 23:06:28 +0200 (Fri, 14 Jan 2011) | 2 lines

remove unused vars & avoid some clang warnings.

------------------------------------------------------------------------
r34326 | campbellbarton | 2011-01-14 21:35:59 +0200 (Fri, 14 Jan 2011) | 2 lines

checking wrong null pointer in edit_modifier_poll_generic().

------------------------------------------------------------------------
r34325 | campbellbarton | 2011-01-14 21:15:06 +0200 (Fri, 14 Jan 2011) | 2 lines

apply fix from r34275 to BLI_dynstr_appendf(), dont chop off last character for >256 length strings.

------------------------------------------------------------------------
r34324 | campbellbarton | 2011-01-14 19:41:33 +0200 (Fri, 14 Jan 2011) | 3 lines

new startup.blend with official io addons enabled,
also include STL since this is an important format which we can support officially.

------------------------------------------------------------------------
r34323 | campbellbarton | 2011-01-14 19:28:10 +0200 (Fri, 14 Jan 2011) | 2 lines

moving io scripts to 'addons' dir in extensions svn, leaving MDD format since I dont maintain this.

------------------------------------------------------------------------
r34322 | nazgul | 2011-01-14 18:57:53 +0200 (Fri, 14 Jan 2011) | 5 lines

Todo item #19816: Wave modifier does not affect Curve Paths

Added new option for applyong modifiers on splines' points. This moves
tesselation point and path would be affected by modifiers which are applied on
splines' points.
------------------------------------------------------------------------
r34321 | campbellbarton | 2011-01-14 18:49:43 +0200 (Fri, 14 Jan 2011) | 5 lines

add icons to show community vs official scripts as well as buttons to filter by support level (currently all scripts default to community)
 note: we need better icons for this.

 also formatting edit for ply import.

------------------------------------------------------------------------
r34318 | campbellbarton | 2011-01-14 17:21:13 +0200 (Fri, 14 Jan 2011) | 2 lines

rename bl_addon_info --> bl_info, because this isnt necessarily used for addons.

------------------------------------------------------------------------
r34317 | aligorith | 2011-01-14 08:46:28 +0200 (Fri, 14 Jan 2011) | 6 lines

Transform tweak:
2D Editors using the standard translation transform tool no longer
have their values converted. For instance, it simply didn't make much
sense in such editors to be showing frame numbers/timing in terms of
meters/inches.

------------------------------------------------------------------------
r34316 | aligorith | 2011-01-14 07:19:04 +0200 (Fri, 14 Jan 2011) | 14 lines

Bugfix [#25617] HOME Key in fcurve editor doesn't center properly

* When euler-rotation F-Curves had a single keyframe only, the view
would be artifically extended to fill up to 57 (this comes from the
radians to degrees calculations) due to a combination of the bounds-
finding function enforcing a minimum separation of 1 unit between
min/max. This has now been moved to the operator-level where it gets
applied AFTER these conversions have taken effect

* F-Curves with samples only (i.e. baked F-Curves) would be ignored by
these operators. Was caused by using a poll calback that only
considered whether there were keyframes. Hopefully this is sufficient;
otherwise a hybrid poll method will be needed.

------------------------------------------------------------------------
r34315 | aligorith | 2011-01-14 04:06:35 +0200 (Fri, 14 Jan 2011) | 25 lines

Driver creation hack:

Drivers created from the Properties Editor for Materials and Textures
will now be created on Object-level instead of on their owner
Material/Texture as for their keyframes.

The intention of this hack is to allow users to be able to easily set
up drivers for materials and textures. Without this hack, users would
have had to do this manually via the Datablocks editor (I've described
this method a few times in detail, though this still attracts
complaints), as the way the depsgraph works does not allow ID blocks
other than Objects and directly-linked Object data to be driven. As a
result, although this hack can be done for these two cases, there are
no workarounds possible for Scene and Scene-linked settings.

There are 2 issues that will be noticed with this approach:
1) There may be confusion over why the drivers are found under Object
level and not Material/Texture level.
2) Driver status will not be shown in the buttons, leading to attempts
to try to keyframe the properties directly later and subsequent
confusion when finding that that won't work.

However, these are the sacrifices we'll need to make to get easy-setup
working in the meantime until the proper fixes can be done.

------------------------------------------------------------------------
r34314 | campbellbarton | 2011-01-14 02:23:21 +0200 (Fri, 14 Jan 2011) | 2 lines

add ply import into the file menu.

------------------------------------------------------------------------
r34313 | campbellbarton | 2011-01-14 02:06:43 +0200 (Fri, 14 Jan 2011) | 2 lines

initial 2.5x api port. basically working.

------------------------------------------------------------------------
r34312 | aligorith | 2011-01-14 01:53:14 +0200 (Fri, 14 Jan 2011) | 7 lines

Reverting r33930 and r34202, which were related to bugs #21825 and
#25554. As found by Daniel Lara (Pepeland) in #25554, the original
problems in #21825 all stemmed from the ChildOf constraint there
having an incorrect inverse set, which was altering the final results.

Now Auto-IK works nicely for old rigs again (i.e. FK arms on BBB rigs)

------------------------------------------------------------------------
r34311 | campbellbarton | 2011-01-14 01:38:25 +0200 (Fri, 14 Jan 2011) | 2 lines

python3 updates:

------------------------------------------------------------------------
r34310 | campbellbarton | 2011-01-14 01:31:04 +0200 (Fri, 14 Jan 2011) | 2 lines

pep8 cleanup.

------------------------------------------------------------------------
r34309 | campbellbarton | 2011-01-14 01:28:36 +0200 (Fri, 14 Jan 2011) | 3 lines

ply importer from 2.4x, no changes made.
svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/ply_import.py release/scripts/op/io_mesh_ply/import_ply.py

------------------------------------------------------------------------
r34308 | aligorith | 2011-01-14 01:16:10 +0200 (Fri, 14 Jan 2011) | 6 lines

Bugfix [#25623] Intensity for Voxel data partially linked with
brightness

Committing fix on behalf of Matt. VoxelData/PointDensity RNA-structs
had malformed paths

------------------------------------------------------------------------
r34307 | campbellbarton | 2011-01-14 01:00:51 +0200 (Fri, 14 Jan 2011) | 2 lines

pep8 corrections.

------------------------------------------------------------------------
r34306 | aligorith | 2011-01-14 00:59:48 +0200 (Fri, 14 Jan 2011) | 8 lines

Bugfix [#25620] Grease Pencil: crash when using Ctrl+Z while drawing

Crazy users! Who on earth would try undoing in the middle of an action
(here the crash occurred while a mouse button was still held)?!

(At least it wouldn't have been possible for those using the DKEY +
mousedrag method of invoking strokes though...)

------------------------------------------------------------------------
r34305 | campbellbarton | 2011-01-14 00:44:47 +0200 (Fri, 14 Jan 2011) | 7 lines

fix for x3d importer
- files blender exports (blender uses unusual array formatting).
- scene needed to be rotated on import.
- lamp spot size was half as big as it needed to be.

x3d export typo broke image export.

------------------------------------------------------------------------
r34304 | campbellbarton | 2011-01-13 23:44:18 +0200 (Thu, 13 Jan 2011) | 6 lines

misc python api improvements
- rna array parsing was using PySequence_Size() in a loop, this can  be slow to run so only call once.
- assigning a single value to a multi-dimensional array was missing type check.
- improve exception messages for rna array type errors.
- simplify vector slice assignment by using mathutils_array_parse(...)

------------------------------------------------------------------------
r34303 | nazgul | 2011-01-13 22:16:36 +0200 (Thu, 13 Jan 2011) | 3 lines

Fix #25609: Text Editor: Ctrl+Z error with Word Wrap

Not updated line number was passing to undo stack.
------------------------------------------------------------------------
r34302 | campbellbarton | 2011-01-13 21:16:35 +0200 (Thu, 13 Jan 2011) | 2 lines

feature request from colin levy, camera lens stamp.

------------------------------------------------------------------------
r34301 | ton | 2011-01-13 21:01:27 +0200 (Thu, 13 Jan 2011) | 10 lines

Bugfix #25614

Reporter saw weird fgons and edge creases on spin-mesh.

Appeared that the edge-flag copying code happened after
freeing edges. Already since May 2007 or so... weird!

Also in this commit a couple of simple cleanups.


------------------------------------------------------------------------
r34300 | campbellbarton | 2011-01-13 18:00:14 +0200 (Thu, 13 Jan 2011) | 2 lines

bugfix [#25578] assigning to multi-dimensional arrays fails

------------------------------------------------------------------------
r34298 | campbellbarton | 2011-01-13 16:29:57 +0200 (Thu, 13 Jan 2011) | 4 lines

bugfix [#25588] Not work fcurve.keyframe_points.add

The problem was flag-enums were being treated as regular enums, a default value of 0 was using the first enum item, whereas with flag enums we want to be able to use 0 as a default value to specify all flags are off.

------------------------------------------------------------------------
r34297 | campbellbarton | 2011-01-13 13:16:38 +0200 (Thu, 13 Jan 2011) | 2 lines

correct error in last commit, didnt break functionality since the return value wasn't used but still confusing.

------------------------------------------------------------------------
r34296 | campbellbarton | 2011-01-13 13:06:12 +0200 (Thu, 13 Jan 2011) | 3 lines

speedup fluid file reading, seek past arrays rather then reading them & use fewer function calls to gzread().
also added missing MEM_freeN(), though it would only leak in exceptional cases.

------------------------------------------------------------------------
r34295 | campbellbarton | 2011-01-13 12:14:03 +0200 (Thu, 13 Jan 2011) | 2 lines

revert r34284, this fix was incorrect.

------------------------------------------------------------------------
r34294 | jhk | 2011-01-13 12:10:13 +0200 (Thu, 13 Jan 2011) | 2 lines

Possible fix for [#24924] crash-Fluids
* In some rare cases gzread has problems with the fluid files. This could be minor file corruption or some strange thread issue, but checking the amount of read bytes always after read seems to give a graceful way out.
------------------------------------------------------------------------
r34293 | campbellbarton | 2011-01-13 09:25:18 +0200 (Thu, 13 Jan 2011) | 3 lines

small feature for file manager, pasting a full file path into the directory field will split the dir/file.
nice when you have a list of file paths in a terminal/editor and want to open one.

------------------------------------------------------------------------
r34292 | aligorith | 2011-01-13 08:14:14 +0200 (Thu, 13 Jan 2011) | 23 lines

Bugfix [#25597] Grease Pencil crash when undoing during a Sketching
Session

As the key combination for undo was unhandled by Grease Pencil
operator and allowed to execute, some of the lingering Grease Pencil
data would get corrupted by undo as some flags may still have been
set.

This commit attempts to fix.workaround this problem by catching undo
events, using the internal "delete last stroke" functionality to
emulate undo-like behaviour as expected but without the associated
risks. The underlying functionality used was already part of the
original 2.4 implementation, but was exposed via the GUI instead there
where it was less useful.

---

Other tweaks related to Grease Pencil:
1) Spacebar can be used to end Sketching Sessions too now
2) Grease Pencil animation editor now displays GP datablocks in light
blue (i.e. "sub-id") colours as per dopesheet instead of them being
presented like groups. This better reflects their true nature.

------------------------------------------------------------------------
r34291 | campbellbarton | 2011-01-13 07:05:10 +0200 (Thu, 13 Jan 2011) | 3 lines

fix for NULL missing pointer check, reported on IRC by admix.
also rename BVH class for consistency.

------------------------------------------------------------------------
r34290 | campbellbarton | 2011-01-13 06:53:55 +0200 (Thu, 13 Jan 2011) | 3 lines

remove/comment unused vars
also removed unnecessary NULL checks (where the pointer was used later without checking).

------------------------------------------------------------------------
r34289 | nicholasbishop | 2011-01-13 03:02:55 +0200 (Thu, 13 Jan 2011) | 5 lines

Sculpt:

Small cleanup, de-duplicated the code for combining proxies


------------------------------------------------------------------------
r34288 | gsrb3d | 2011-01-12 22:17:32 +0200 (Wed, 12 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34287 | ton | 2011-01-12 20:00:23 +0200 (Wed, 12 Jan 2011) | 10 lines

Bugfix #25570

The tool-redo depends on a working undo system, so it can rewind
a step and then redo operator with new settings. When a user
disables undo, this won't work.

Now the properties for redo operator (toolbar, F6) will grey out
when a redo isn't possible.


------------------------------------------------------------------------
r34286 | campbellbarton | 2011-01-12 19:57:00 +0200 (Wed, 12 Jan 2011) | 2 lines

fix [#25590] Export to X3D of Text object does not assign material to object in X3D file.

------------------------------------------------------------------------
r34285 | campbellbarton | 2011-01-12 19:29:54 +0200 (Wed, 12 Jan 2011) | 2 lines

simple add mesh operator template.

------------------------------------------------------------------------
r34284 | campbellbarton | 2011-01-12 18:53:27 +0200 (Wed, 12 Jan 2011) | 3 lines

bugfix [#24774] Lattice modifier+Dupligroup+Texture solid=weird result
new 2.5x code was not passing group recalc flags onto objects within them.

------------------------------------------------------------------------
r34283 | campbellbarton | 2011-01-12 17:45:00 +0200 (Wed, 12 Jan 2011) | 3 lines

bugfix [#25595] Adding Torus when in edit mode strange behavior.
also added Align View option and made local view cursor work.

------------------------------------------------------------------------
r34282 | campbellbarton | 2011-01-12 16:08:11 +0200 (Wed, 12 Jan 2011) | 2 lines

fix [#25600] Cannot add meta-object when in edit-mode

------------------------------------------------------------------------
r34281 | jhk | 2011-01-12 12:01:33 +0200 (Wed, 12 Jan 2011) | 2 lines

Fix for [#25572] crash when changing vertex group density in particle mode
* Hair was freed & redone on changes, but particle mode data wasn't updated.
------------------------------------------------------------------------
r34280 | jesterking | 2011-01-12 12:00:47 +0200 (Wed, 12 Jan 2011) | 1 line

fix compile error for MSVC; no va_copy here. Patch pasted to me by Keith Boshoff
------------------------------------------------------------------------
r34279 | campbellbarton | 2011-01-12 10:20:09 +0200 (Wed, 12 Jan 2011) | 2 lines

add x3d/vrml importer into the menu.

------------------------------------------------------------------------
r34278 | campbellbarton | 2011-01-12 10:02:27 +0200 (Wed, 12 Jan 2011) | 9 lines

vrml/x3d import
now its basically usable, next step is to add menu item.

update for changes in mathutils api.
- fix radians/degrees usage
- correct matrix multiplication order
- primitives were being imported twice the size they should be.
- uv transformations were not working.

------------------------------------------------------------------------
r34277 | campbellbarton | 2011-01-12 09:16:24 +0200 (Wed, 12 Jan 2011) | 3 lines

modification to Joshua's commit r34270,
replace NlaTrack.active() function with a property, since this is used everywhere else.

------------------------------------------------------------------------
r34276 | campbellbarton | 2011-01-12 08:16:15 +0200 (Wed, 12 Jan 2011) | 2 lines

comment array/collection skip(), since there was some confusion in this area which caused bugs on index lookups.

------------------------------------------------------------------------
r34275 | campbellbarton | 2011-01-12 08:01:07 +0200 (Wed, 12 Jan 2011) | 2 lines

BLI_dynstr_vappendf() was cutting off the last character when allocating strings.

------------------------------------------------------------------------
r34274 | campbellbarton | 2011-01-12 07:49:33 +0200 (Wed, 12 Jan 2011) | 5 lines

BLI_dynstr_vappendf() was crashing with strings above 256 chars, this happens with some long reports.
Problem was using va_list value more then once, fix by using va_copy().

Note, va_copy() is c99 spec but only alternative I can see is to turn BLI_dynstr_vappendf() into a macro which calls va_start/end inline.

------------------------------------------------------------------------
r34273 | campbellbarton | 2011-01-12 05:41:12 +0200 (Wed, 12 Jan 2011) | 6 lines

remove redundant assignments & unused vars.

also minor functional changes
- OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it)
- removing BG image now returns cancelled if no image is removed.

------------------------------------------------------------------------
r34272 | aligorith | 2011-01-12 04:15:38 +0200 (Wed, 12 Jan 2011) | 14 lines

Patch [#25409] Changes to panels header "open/close" and "drag" zones
Submitted by: Peter Tarasenko (pit)

This patch switches the screen real-estate given to the "open/close"
and "drag" zones for panels.
- Now, the entire header is used for resizing (open/close) panels
instead of just the triangle widget being used for this. This makes it
a larger target for clicking on, making it easier to do so (Fitt's Law
in action!)
- Dragging panels now is relegated to the "grabber" zone on the top-
right corner only now. This reflects the lesser importance of panel
reordering in the panel designs now over being able to open/close
them.

------------------------------------------------------------------------
r34271 | aligorith | 2011-01-12 03:36:12 +0200 (Wed, 12 Jan 2011) | 9 lines

Patch [#24808] B-Bone display size
Submitted by Dan Eicher (dna)

Adds the ability to resize b-bones (ctrl+alt+S) using the python api

Bone.bbone_x
Bone.bbone_z


------------------------------------------------------------------------
r34270 | aligorith | 2011-01-12 03:17:13 +0200 (Wed, 12 Jan 2011) | 31 lines

Patch [#24763] NLA Track & Strip methods
Submitted by: Dan Eicher (dna)

<quote>
Adds:

AnimData.nla_tracks.new(prev)
* (optional) prev -- add new track after this track

AnimData.nla_tracks.remove(track)

AnimData.nla_tracks.active(track)
* (optional) track -- track to set active
* returns active track

NlaTrack.strips.new(name, start, action)
NOTE: fails if the strip can't fit in the track as opposed to the
operator which will create a new track and add the strip to that.
* name -- name for new strip
* start -- start frame of new strip
* action -- action to assign to strip

NlaTrack.strips.remove(strip)
</quote>

---

I've resolved the issue (noted in the original patch) regarding the
validation of the created strip by creating and using a "dummy
AnimData" block to solve the missing dependencies.

------------------------------------------------------------------------
r34269 | aligorith | 2011-01-12 00:32:18 +0200 (Wed, 12 Jan 2011) | 15 lines

"Pointer" properties can now be reset to some kind of "default" value
when using the Numpad0 feature to reset properties to their default
values.

While this implementation here is not a full/proper implementation, as
you cannot truly specify a default value for some pointers that may
require something other than NULL (i.e. nothing), this should be good
enough for the vast majority of (editable) cases which are fine if set
to NULL.

This is most noticeable with the Active Keying Set field in the
TimeLine header, where it's now possible to simply use Numpad0 to
clear it instead of using a confusing click+backspace+enter dance to
do the same thing.

------------------------------------------------------------------------
r34268 | nazgul | 2011-01-12 00:06:44 +0200 (Wed, 12 Jan 2011) | 7 lines

Fix #25594: Adding mesh while in edit mode with multires - crash.

That primitives, which used ri crash blender, flips normals just after creation
and this normals flipping calls layers interpolation, but MDISPS layer
contains no data still.

Just added checking to layerInterp_mdisps.
------------------------------------------------------------------------
r34267 | aligorith | 2011-01-11 23:46:11 +0200 (Tue, 11 Jan 2011) | 2 lines

More missing descriptions for operators

------------------------------------------------------------------------
r34266 | aligorith | 2011-01-11 23:37:23 +0200 (Tue, 11 Jan 2011) | 3 lines

Gave all armature operators descriptions (for tooltips and API
reference docs)

------------------------------------------------------------------------
r34265 | gsrb3d | 2011-01-11 23:13:34 +0200 (Tue, 11 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34264 | aligorith | 2011-01-11 23:12:48 +0200 (Tue, 11 Jan 2011) | 9 lines

Added operator to show all armature layers (similar to the 3D View
"Show All Layers"). This has been mapped to Ctrl-Accentkey

If necessary, you can alter your keymaps so that this operator is
invoked with its "all" property disabled. This will only toggle the
first row (first 16) layers, which is useful in most rigs for only
enabling all the layers with rig controls and not showing the layers
with rig mechanics.

------------------------------------------------------------------------
r34263 | ton | 2011-01-11 20:40:44 +0200 (Tue, 11 Jan 2011) | 16 lines

Bugfix #25580

Raytracing didn't show soft shadow in reflections, nor did it do any
derivative even. Added a basic version for it in raytracer now, still
needs improvement on heavily curved surfaces. But it's better!

Examples:

Glass sphere, mirror cube and sphere, look how it ignores bump and shadow
http://www.blender.org/bf/derivative256.png

in svn now:
http://www.blender.org/bf/derivative-svn.png



------------------------------------------------------------------------
r34262 | campbellbarton | 2011-01-11 19:01:12 +0200 (Tue, 11 Jan 2011) | 2 lines

bugfix - collection index lookups was not working correctly when some items were skipped.

------------------------------------------------------------------------
r34261 | campbellbarton | 2011-01-11 16:39:14 +0200 (Tue, 11 Jan 2011) | 2 lines

revert own recent fix for collection length, this is incorrect, the bug needs to be fixed elsewhere.

------------------------------------------------------------------------
r34260 | ton | 2011-01-11 16:01:23 +0200 (Tue, 11 Jan 2011) | 6 lines

Bugfix #25581

Pressure sensitivity for Sculpt 'strength' got lost in code cleanup.
Added warning in code, the function call is confusing.


------------------------------------------------------------------------
r34259 | campbellbarton | 2011-01-11 15:42:22 +0200 (Tue, 11 Jan 2011) | 5 lines

continued x3d/vrml import update from 2.4x version
- parsed over 1000 vrml test files
- animataion import works again
- importing curves works again

------------------------------------------------------------------------
r34257 | ton | 2011-01-11 14:36:49 +0200 (Tue, 11 Jan 2011) | 8 lines

Bugfix, own testing

When pressure was zero, a sculpt brush was still being executed
with step amount divided by zero, and thus entering eternal loop.

Maybe tablet-specific this but I wonder how this never got reported...


------------------------------------------------------------------------
r34256 | aligorith | 2011-01-11 13:25:24 +0200 (Tue, 11 Jan 2011) | 2 lines

Adding script template for adding Builtin Keying Sets

------------------------------------------------------------------------
r34255 | aligorith | 2011-01-11 13:09:37 +0200 (Tue, 11 Jan 2011) | 5 lines

- Added operator to clear all transforms from Pose Bones. This makes
it easier to reset a rig to its default pose again
- Refactored clear pose operators to separate out the common parts,
and made sure that they all had descriptions

------------------------------------------------------------------------
r34253 | campbellbarton | 2011-01-11 12:00:21 +0200 (Tue, 11 Jan 2011) | 2 lines

bugfix [#25542] do not work? "Bind camera to Markers"

------------------------------------------------------------------------
r34252 | campbellbarton | 2011-01-11 11:41:26 +0200 (Tue, 11 Jan 2011) | 5 lines

py/mathutils fix for eternal loop with Matrix.Rotation().
rotation range clamping used a while loop which would run forever when the value was so big subtracting a full revolution didnt change the value.

Solve by using fmod() and double precision angle.

------------------------------------------------------------------------
r34250 | campbellbarton | 2011-01-11 09:40:31 +0200 (Tue, 11 Jan 2011) | 2 lines

remove misc unused vars and correct theme name for face angles.

------------------------------------------------------------------------
r34249 | campbellbarton | 2011-01-11 09:38:16 +0200 (Tue, 11 Jan 2011) | 4 lines

comment/remove unused vars from particle and multires code.
also remove calls to dm->getFaceDataArray() within a loop for particle grid distribution,
instead call this once at the start and reuse the result.

------------------------------------------------------------------------
r34247 | campbellbarton | 2011-01-11 07:58:47 +0200 (Tue, 11 Jan 2011) | 3 lines

use size clamped string copying,
also some compilers complain of using sprintf(val, str) so replace with BLI_strncpy().

------------------------------------------------------------------------
r34246 | campbellbarton | 2011-01-11 06:52:17 +0200 (Tue, 11 Jan 2011) | 4 lines

change rna function action.fcurves.add() so options an enum flag rather then booleans.
(rna flags were not available when this was originally written)
 action.fcurves.add(frame, val, 1,1,1) --> .add(frame, val, {'REPLACE', 'NEEDED', 'FAST'})

------------------------------------------------------------------------
r34244 | campbellbarton | 2011-01-11 05:22:37 +0200 (Tue, 11 Jan 2011) | 5 lines

bugfix [#25577] Ctrl-Z after adding Color Ramp key resets ramp.
 buttons would not add an undo event if the button had no tooltip/draw-string.

 add a fallback string 'Unknown Action' so undo's are predictable.

------------------------------------------------------------------------
r34243 | campbellbarton | 2011-01-11 04:49:01 +0200 (Tue, 11 Jan 2011) | 6 lines

initial x3d/vrml importer port from 2.4x.
some files import now.
- no animation support yet
- no rad/deg conversion changes from 2.4x
- matrix multiplication still needs switching.

------------------------------------------------------------------------
r34242 | campbellbarton | 2011-01-11 04:30:01 +0200 (Tue, 11 Jan 2011) | 3 lines

- bpy.data.lamps.new() now takes a type argument since lamp type also sets class type this avoids needing to use ugly lamp.type_recast() after changing type.
- default vertex color layer name was UTTex when added from python.

------------------------------------------------------------------------
r34241 | aligorith | 2011-01-11 02:39:59 +0200 (Tue, 11 Jan 2011) | 10 lines

"New Action" Operator:

When creating new actions using the "new" button the Action Editor
header databrowse, or the NLA editor's "Animation Data" databrowse,
the existing action will get copied (if it exists) instead of an empty
action getting added everytime.

Apparently this behaviour is very good for being able to "version"
actions within a single .blend file (Bassam?)

------------------------------------------------------------------------
r34240 | campbellbarton | 2011-01-11 02:21:43 +0200 (Tue, 11 Jan 2011) | 2 lines

tag unused vars.

------------------------------------------------------------------------
r34239 | jesterking | 2011-01-11 01:31:14 +0200 (Tue, 11 Jan 2011) | 4 lines

Fix [#25575] Collada import problem with Maya2010 exported collada files
Reported by Morten Mikkelsen

It seems that the maya export may generate invalid joint UIDs. Skip these joints to prevent crash.
------------------------------------------------------------------------
r34238 | aligorith | 2011-01-11 00:31:34 +0200 (Tue, 11 Jan 2011) | 6 lines

- Local Markers are now taken into account correctly for operators
that used markers. I might've missed a few still, but at least a few
more cases will work now
- Accidentally broke keyframe selection on group channels in gpencil
commit, after misreading a call name.

------------------------------------------------------------------------
r34237 | aligorith | 2011-01-11 00:25:57 +0200 (Tue, 11 Jan 2011) | 2 lines

Compiler warning fixes from last commit

------------------------------------------------------------------------
r34236 | aligorith | 2011-01-11 00:10:28 +0200 (Tue, 11 Jan 2011) | 15 lines

Todo #22395: Restoring Grease Pencil Editing Mode in DopeSheet Editor

This commit restores some basic functionality for retiming Grease
Pencil sketches. Some of the functionality that existed before still
hasn't been restored (namely snap/mirror tools as well as copy+paste),
though it should be possible to use this for basic retiming and
sketch-frame management again.

- There's still a lot of work required to get this up to the standard
of the rest of the animation editor code, as some of this code was
originally just hacked in based on the old-style code.
- Work is already required to not have to directly access the main db
global to get the list of Grease Pencil datablocks to show, but that
can come along with pending cleanups of the filtering code.

------------------------------------------------------------------------
r34235 | gsrb3d | 2011-01-10 23:30:14 +0200 (Mon, 10 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34233 | campbellbarton | 2011-01-10 19:48:38 +0200 (Mon, 10 Jan 2011) | 2 lines

action paste properties were assigned to copy operator instead.

------------------------------------------------------------------------
r34232 | campbellbarton | 2011-01-10 19:46:34 +0200 (Mon, 10 Jan 2011) | 5 lines

rna collection sizes for face data layers were invalid.
This meant python could do...
  mesh.uv_textures[0]
...on a mesh with 1 vertex color layer instead.

------------------------------------------------------------------------
r34230 | campbellbarton | 2011-01-10 15:56:14 +0200 (Mon, 10 Jan 2011) | 2 lines

x3d import now passes pep8 checker

------------------------------------------------------------------------
r34229 | campbellbarton | 2011-01-10 15:16:04 +0200 (Mon, 10 Jan 2011) | 2 lines

x3d import tabs -> spaces

------------------------------------------------------------------------
r34228 | campbellbarton | 2011-01-10 15:11:56 +0200 (Mon, 10 Jan 2011) | 3 lines

copy x3d/vrml importer from blender 2.4x.
svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/import_web3d.py release/scripts/op/io_scene_x3d/import_x3d.py

------------------------------------------------------------------------
r34227 | mindrones | 2011-01-10 14:50:46 +0200 (Mon, 10 Jan 2011) | 8 lines

[bugfix] Curve tilt button in 3d toolbar showing wrong shortcut

Added Ctrl-T to Curves Tilt button in the toolbar (edit mode), currently was reporting Alt-S for tilt
(reported by Rickyx here http://www.kino3d.com/forum/viewtopic.php?f=21&t=8485&start=0)

Also added the label "Tilt" to the tilt transform in the Curve > Control points header submenu, currently was just "Transform"


------------------------------------------------------------------------
r34226 | jhk | 2011-01-10 13:54:32 +0200 (Mon, 10 Jan 2011) | 1 line

Argh.. stupid copy paste error in previous commit.
------------------------------------------------------------------------
r34225 | jhk | 2011-01-10 13:53:07 +0200 (Mon, 10 Jan 2011) | 1 line

Bug fix: effectors in pre 2.5 files didn't work due to a forgotten flag in do_versions.
------------------------------------------------------------------------
r34222 | aligorith | 2011-01-10 12:22:08 +0200 (Mon, 10 Jan 2011) | 11 lines

"Available" Keying Set bugfix:

This builtin Keying Set is supposed to insert keyframes for every
F-Curve that exists for the selected data (usually objects and/or
bones only). However, as coded, it was only useful for objects, since
it would just go through all the F-Curves for the object's action,
instead of just the F-Curves relevant to a selected bone.

Tweaked the code to make this case (and similar ones) hopefully work
better by default.

------------------------------------------------------------------------
r34221 | campbellbarton | 2011-01-10 08:00:56 +0200 (Mon, 10 Jan 2011) | 3 lines

bug [#25535] proportional editing bug
disable PET when rotating/scaling around face centers to make it more obvious its unsupported.

------------------------------------------------------------------------
r34220 | campbellbarton | 2011-01-10 07:40:41 +0200 (Mon, 10 Jan 2011) | 2 lines

edit to Ton's recent commit, r34177, only use the far clipping as PET max when not in Ortho view.

------------------------------------------------------------------------
r34219 | campbellbarton | 2011-01-10 07:17:53 +0200 (Mon, 10 Jan 2011) | 2 lines

callback function ptcache_particle_extra_read() was incorrect type, also fix some other compiler warnings with recent commits.

------------------------------------------------------------------------
r34218 | campbellbarton | 2011-01-10 05:58:07 +0200 (Mon, 10 Jan 2011) | 3 lines

comment/remove various unused vars,
also make rna function for new images require width and hight args.

------------------------------------------------------------------------
r34217 | campbellbarton | 2011-01-10 05:55:47 +0200 (Mon, 10 Jan 2011) | 2 lines

comment unused vars from subsurf code.

------------------------------------------------------------------------
r34216 | campbellbarton | 2011-01-10 05:47:03 +0200 (Mon, 10 Jan 2011) | 3 lines

comment dead code from RNA_pointer_create(), was finding the id pointer type when 'id' was set, but not using it.
also comment a few unused vars.

------------------------------------------------------------------------
r34215 | campbellbarton | 2011-01-10 05:30:27 +0200 (Mon, 10 Jan 2011) | 4 lines

add constraint operator
- report an error if adding a pose constraint with no active pose channel.
- dont run update_pose_constraint_flags() when adding an object constrant to an armature object.

------------------------------------------------------------------------
r34214 | jhk | 2011-01-10 04:40:24 +0200 (Mon, 10 Jan 2011) | 1 line

Compiler warning fixes for the same point cache things Joshua tried to fix earlier, don't know why I didn't notice these before.
------------------------------------------------------------------------
r34213 | jhk | 2011-01-10 04:20:30 +0200 (Mon, 10 Jan 2011) | 2 lines

Bug fix: particles dying in collisions could lead to crash in some cases
* Forgot to check for index range in own recent pointcache commit.
------------------------------------------------------------------------
r34212 | aligorith | 2011-01-10 01:31:58 +0200 (Mon, 10 Jan 2011) | 2 lines

Grr... looks like the warnings will have to stay for now...

------------------------------------------------------------------------
r34211 | aligorith | 2011-01-10 01:18:48 +0200 (Mon, 10 Jan 2011) | 8 lines

Silencing gcc compiler warnings about the ptcache_*_datastruct arrays
being "unused".

These were defined static in a header-file used in multiple places,
but appear to only be used in the filereading code. Removing the
static tags, as these don't seem right here. Perhaps the original
author here intended const instead?

------------------------------------------------------------------------
r34210 | aligorith | 2011-01-10 01:16:05 +0200 (Mon, 10 Jan 2011) | 11 lines

Restoring "Pose Markers"

These were markers which belonged to an action instead of the scene,
and are used by PoseLib to keep track of where poses are.

To restore this, I've made this only available in Action/Shapekey
Editor modes, and only when an action is being shown and the "Show
Pose Markers" option in the Markers menu has been enabled. Other than
that, all the standard marker operators apply now (instead of using a
separate set of special operators).

------------------------------------------------------------------------
r34209 | aligorith | 2011-01-10 00:37:29 +0200 (Mon, 10 Jan 2011) | 8 lines

Bumping up margin for catching marker events in animation editors.

Old value of 30 px was perhaps a bit too strict, given that scrollbars
took up 16px and that standard icons are 16px, which in total would
have been 32px from the bottom of the region. Having said that, the
marker icons are only about half-size, though it seems that in general
people (can) only aim quite loosely...

------------------------------------------------------------------------
r34208 | jhk | 2011-01-09 21:09:41 +0200 (Sun, 09 Jan 2011) | 17 lines

Viscoelastic springs for sph particle fluids, original patch by Stephen Whitehorn (chickencoop)
* Viscoelastic springs between the fluid particles can simulate all kinds
  of viscous and elastic substances, such as jelly and honey. This is
  achieved by creating springs dynamically between neighboring particles
  and adjusting their rest length based on stretching/compression.
* This nearly completes the currently intended functionality for particle
  fluids. The last missing thing is a surfacing extraction algorithm,
  which is needed for a proper representation of a sph fluid.
* I also cleaned up and renamed some of the fluid parameters to make the
  ui a bit easier to understand.
* One addition to the patch is an option to use "initial rest length" for
  the springs, which uses the lengths between the particles at the time of
  spring creation as the spring rest lengths instead of interaction radius/2.
  This makes the fluid keep it's original shape better (good for very
  viscoelastic materials), but can create large density differences inside
  the fluid (not really physically correct for a fluid).
* Viscoelastic springs are stored in point cache as extra data.
------------------------------------------------------------------------
r34207 | lmg | 2011-01-09 20:59:35 +0200 (Sun, 09 Jan 2011) | 13 lines

several cosmetic changes to the node-editor

+ changed lines connecting nodes:
   they now use a linewidth of 1.5px for the light foreground and 4px for the dark background.
   this should fix node-lines not being visible on almost black or all white backdrops.
+ muted nodes now also show a red tinted header if they are hidden (collapsed)
+ both active and selected nodes show a (now properly antialiased) highlighting frame
+ fixed a small error in dropshadow code resulting in a gap at borders
+ fixed a tiny error for the collapsing indicators (triangles) - they were not symmetrical.

Ton will add proper theme colors for the node-editor in the coming days.


------------------------------------------------------------------------
r34206 | ton | 2011-01-09 20:43:47 +0200 (Sun, 09 Jan 2011) | 7 lines

Bugfix #25557

Using texture brush in Sculpt, was calling to use "osa tex"
without giving it osa sample vectors. This crashed in using
texture nodes.


------------------------------------------------------------------------
r34205 | jhk | 2011-01-09 20:23:41 +0200 (Sun, 09 Jan 2011) | 3 lines

Replace uint32_t in pointcache code with unsigned int as it's supported in dna
* Not strictly necessary right now, but better for future.
* Struct data (only boids at the moment) is now written as structs (with dna) so they work between 64 and 32 bit machines too.
------------------------------------------------------------------------
r34202 | ton | 2011-01-09 19:49:38 +0200 (Sun, 09 Jan 2011) | 10 lines

Bugfix #25554

Actually a minor tweak:
Auto-IK fails on correcting for constrainted bones in chains.
For that reason it stops including constrainted bones for it.

Now it does include constraints with influence zero, or which
were disabled by user input.


------------------------------------------------------------------------
r34201 | campbellbarton | 2011-01-09 19:35:29 +0200 (Sun, 09 Jan 2011) | 2 lines

script now passes pep8 checking tool.

------------------------------------------------------------------------
r34200 | campbellbarton | 2011-01-09 18:46:01 +0200 (Sun, 09 Jan 2011) | 3 lines

patch from Andrea Rugliancich, dont export locations for bones which are connected to their parents.
note, we could be smarter about not exporting animation channels which are not needed.

------------------------------------------------------------------------
r34199 | campbellbarton | 2011-01-09 17:28:43 +0200 (Sun, 09 Jan 2011) | 3 lines

warning from clang, possible crash:
  'cd' could be NULL, all other particle draw types checked 'cd' except for PART_DRAW_AXIS, seems logical to have the check here too.

------------------------------------------------------------------------
r34198 | campbellbarton | 2011-01-09 17:12:08 +0200 (Sun, 09 Jan 2011) | 2 lines

rename BKE_assert() --> BLI_assert().

------------------------------------------------------------------------
r34197 | campbellbarton | 2011-01-09 17:09:18 +0200 (Sun, 09 Jan 2011) | 2 lines

update for change to Matrix class.

------------------------------------------------------------------------
r34195 | campbellbarton | 2011-01-09 16:53:18 +0200 (Sun, 09 Jan 2011) | 2 lines

use PySequence_Size() rather then PySequence_Length(), this is only kept in python for backwards compatibility.

------------------------------------------------------------------------
r34194 | campbellbarton | 2011-01-09 16:30:16 +0200 (Sun, 09 Jan 2011) | 7 lines

mathutils matrix initialization now matches other mathutils types.
(should have made this change along with the others).
Matrix([1, 2],  [3, 4]) --> Matrix(([1, 2], [3, 4]))
This is so adding initialization args works right.

Also simplify initialization code (re-use slice assignment).

------------------------------------------------------------------------
r34193 | ton | 2011-01-09 14:38:54 +0200 (Sun, 09 Jan 2011) | 12 lines

Bugfix #25547

Improved report print for 'remove doubles' to make it correct english.
Unsure if this kind of code can survive though, static strings do much
better for future translation efforts.

Instead of providing nice grammar sentences, we could make it more
declarative, like:

"Removed vertex amount: %d".


------------------------------------------------------------------------
r34192 | campbellbarton | 2011-01-09 14:38:22 +0200 (Sun, 09 Jan 2011) | 2 lines

use PySequence_Fast for matrix slice assignment to speed up assignment.

------------------------------------------------------------------------
r34191 | campbellbarton | 2011-01-09 14:09:54 +0200 (Sun, 09 Jan 2011) | 4 lines

py matrix api
- bugfix for printing matrices (row/col mixup)
- replace cumbersome loop sequence parsing with calls to mathutils_array_parse

------------------------------------------------------------------------
r34190 | ton | 2011-01-09 14:08:29 +0200 (Sun, 09 Jan 2011) | 12 lines

Bugfix #25551

Transform crash on autokey during animplay.
Transform event handling requires Context, for inserting keys.

Marked it with XXX warning; we have to be more careful with which
API calls require context; like inserting keys shouldn't need it?

Originally Context was meant for operators; to define user level
or scripted context, not for underlying APIs to work.


------------------------------------------------------------------------
r34189 | campbellbarton | 2011-01-09 13:54:12 +0200 (Sun, 09 Jan 2011) | 2 lines

quiet zombie python class warning. bug remains but its not useful to print out so many errors when this wont be fixed for a while.

------------------------------------------------------------------------
r34188 | campbellbarton | 2011-01-09 11:16:04 +0200 (Sun, 09 Jan 2011) | 2 lines

cleanup for mathutils multiplication functions, a little faster in some cases, raise more informative exceptions.

------------------------------------------------------------------------
r34187 | campbellbarton | 2011-01-09 09:46:26 +0200 (Sun, 09 Jan 2011) | 4 lines

Remove py mathutils Euler.unique() method
- this just toggled between different rotations, I can't find any references to this as a common operation to have with eulers.
- wasn't working at all nobody noticed, not used by any blender scripts/addons either.

------------------------------------------------------------------------
r34186 | jhk | 2011-01-09 09:41:51 +0200 (Sun, 09 Jan 2011) | 3 lines

Fix for [#25544] Blender crashes when changing the particles emission amount
* I've getting bad feelings about the point cache index_array for a while (cause for this bug too), so from now on memory cache uses a simple binary search directly on the index data to handle queries to specific data points.
* This is a bit slower than just checking from a dedicated array, but it's much less error prone, uses less memory and makes the code more readable too, so it's not a tough choice.
------------------------------------------------------------------------
r34185 | broken | 2011-01-09 09:07:15 +0200 (Sun, 09 Jan 2011) | 1 line

Fix typo in particle rna
------------------------------------------------------------------------
r34184 | moguri | 2011-01-09 04:43:26 +0200 (Sun, 09 Jan 2011) | 1 line

stubs.c updates provided by Kupoman.
------------------------------------------------------------------------
r34183 | campbellbarton | 2011-01-09 03:17:56 +0200 (Sun, 09 Jan 2011) | 1 line

remove unused vars, comment some which look like they could be useful still.  have makesrna.c omit unused _data definitions for rna funcs with no args.
------------------------------------------------------------------------
r34182 | theeth | 2011-01-08 21:42:26 +0200 (Sat, 08 Jan 2011) | 5 lines

netrender

Downloading results for jobs from blender now uses the current output settings, it doesn't just download the multilayer exr as it used to.

Render output panel now visible under the jobs panel in client mode.
------------------------------------------------------------------------
r34181 | ton | 2011-01-08 21:12:42 +0200 (Sat, 08 Jan 2011) | 6 lines

Bugfix #25525

Duplicating viewer node crashed in cases; bad ID was given to a function.
Fix provided by Alexander Kuznetsov. Thanks!


------------------------------------------------------------------------
r34180 | ton | 2011-01-08 20:46:21 +0200 (Sat, 08 Jan 2011) | 5 lines

Bugfix, IRC report

Texture space transform, SHIFT+R crashed


------------------------------------------------------------------------
r34179 | ton | 2011-01-08 20:37:11 +0200 (Sat, 08 Jan 2011) | 7 lines

Todo items:

- Outliner: new scroll operator, PageUp PageDown scroll entire page now.
- 2D views (like buttons) PageUp PageDown now also scroll entire page.
  (they used same step as scrollwheel before)


------------------------------------------------------------------------
r34178 | ton | 2011-01-08 19:47:34 +0200 (Sat, 08 Jan 2011) | 8 lines

Crash fix, IRC report.

Python console crashed on opening.

Too quick code cleaning for "unused variables" caused a complete line
of code to disappear that was needed anyway :)


------------------------------------------------------------------------
r34177 | ton | 2011-01-08 18:54:38 +0200 (Sat, 08 Jan 2011) | 8 lines

Proportional editing:

- Proportional circle size is printed in header
  Allows you to find out if you make it smaller when it's large
- Proportional size is clipped with view3d clip-end now
- Added the size to rna, so you can inspect values via UI and py.


------------------------------------------------------------------------
r34176 | ton | 2011-01-08 17:35:15 +0200 (Sat, 08 Jan 2011) | 6 lines

Bugfix, own collection

New displist code for curves/text copied display lists without
checking for freeing existing ones. Caused some memleaking.


------------------------------------------------------------------------
r34175 | campbellbarton | 2011-01-08 14:43:44 +0200 (Sat, 08 Jan 2011) | 2 lines

remove unused code & variables.

------------------------------------------------------------------------
r34174 | campbellbarton | 2011-01-08 14:22:16 +0200 (Sat, 08 Jan 2011) | 2 lines

fix for crash when converting sequencer profiles with non-float buffers.

------------------------------------------------------------------------
r34173 | campbellbarton | 2011-01-08 13:08:51 +0200 (Sat, 08 Jan 2011) | 2 lines

fix for using freed memory with animation/group/ungroup code.

------------------------------------------------------------------------
r34172 | campbellbarton | 2011-01-08 12:23:36 +0200 (Sat, 08 Jan 2011) | 5 lines

fixed a case with occlusion where uninitialized variable could be used.
also removed unused vars.

can_pbvh_draw() had a NULL check which is never needed (callers check for this), a NULL ob would have crashed the function anyway.

------------------------------------------------------------------------
r34171 | campbellbarton | 2011-01-08 12:13:59 +0200 (Sat, 08 Jan 2011) | 3 lines

variable 'pool' could be accessed as NULL, globalPool was allocated but not assigned before use.
also remove unused vars.

------------------------------------------------------------------------
r34170 | campbellbarton | 2011-01-08 06:49:33 +0200 (Sat, 08 Jan 2011) | 3 lines

fix for drawing addons when one of them had a syntax error or would not draw any.
now print the error and continue.

------------------------------------------------------------------------
r34169 | nicholasbishop | 2011-01-08 03:45:02 +0200 (Sat, 08 Jan 2011) | 7 lines

Sculpt/Paint:

More cleanups: moved a function declaration to the correct module,
removed old/incorrect comments, marked more things with TODO where
appropriate, refactored copy-pasted function, de-duplicated code.


------------------------------------------------------------------------
r34168 | nicholasbishop | 2011-01-08 03:16:35 +0200 (Sat, 08 Jan 2011) | 8 lines

Paint:

More cleanups to the cursor drawing code; factored out another
sculpt-related function, replaced float calculations with bitwise
flags, removed unnecessary GL changes, de-duplicated some lines,
removed unused parameters, and added more comments.


------------------------------------------------------------------------
r34167 | aligorith | 2011-01-08 01:54:58 +0200 (Sat, 08 Jan 2011) | 4 lines

More Windows+mingw compiling fixes:
FILE_FILE_MAXDIR/FILE were undefined. Restoring BKE_utildefines.h
include to make this work again in the meantime.

------------------------------------------------------------------------
r34166 | aligorith | 2011-01-08 01:47:12 +0200 (Sat, 08 Jan 2011) | 3 lines

Removed some overly agressive (and IMO pointless) "UNUSED(arg)"
wrappers which was breaking compiling on Windows (mingw)

------------------------------------------------------------------------
r34165 | nicholasbishop | 2011-01-08 01:36:48 +0200 (Sat, 08 Jan 2011) | 6 lines

Paint cleanup:

Pulled out the paint brush overlay drawing code into its own
function, brush drawing function was before ~250 lines.


------------------------------------------------------------------------
r34164 | nicholasbishop | 2011-01-08 00:46:52 +0200 (Sat, 08 Jan 2011) | 6 lines

Paint/Sculpt:

More minor cleanups: fixed names and factored out a function that was
copy-pasted into paint stroke.


------------------------------------------------------------------------
r34163 | nicholasbishop | 2011-01-08 00:03:16 +0200 (Sat, 08 Jan 2011) | 5 lines

Paint/Sculpt:

Some minor cleanups: removed `#if 0' code and moved a function into paint_util to avoid `extern' declaration.


------------------------------------------------------------------------
r34162 | nicholasbishop | 2011-01-07 23:12:47 +0200 (Fri, 07 Jan 2011) | 20 lines

Fix for bug [#21534] Multires modifier strange deformations

This adds the "Apply Base" feature from my gsoc2010 branch.

Apply Base partially applies the modifier, in that the mesh is
reshaped to more closely match the deformed mesh. The upper-level
displacements are recalculated so that the highest multires level
appears unchanged.

Multires does not currently deal well with too large displacements.
An easy-to-reproduce example: create any mesh type, add multires,
subdivide a few times, then use the sculpt grab brush to drag the
entire mesh over a few units. At the highest level, and at level 0,
the mesh looks fine, but all of the intervening levels will have ugly
spikes on them.

This patch doesn't help with situations where you can't modify the
base mesh, but otherwise works around the problem fairly well (albeit
with a heuristic, not an exact solution.)

------------------------------------------------------------------------
r34161 | gsrb3d | 2011-01-07 22:02:56 +0200 (Fri, 07 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34160 | campbellbarton | 2011-01-07 21:18:31 +0200 (Fri, 07 Jan 2011) | 4 lines

remove references to BKE_utildefines where its not needed.
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.

------------------------------------------------------------------------
r34159 | campbellbarton | 2011-01-07 20:36:47 +0200 (Fri, 07 Jan 2011) | 3 lines

split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
no functional changes.

------------------------------------------------------------------------
r34158 | jhk | 2011-01-07 19:27:27 +0200 (Fri, 07 Jan 2011) | 1 line

Bug fix: unbaked particle cache was cleared from current frame onwards on file load.
------------------------------------------------------------------------
r34157 | blendix | 2011-01-07 18:55:56 +0200 (Fri, 07 Jan 2011) | 4 lines

Revert bump mapping patch for now, backwards compatibility is not good enough,
we may need to preserve the previous method.


------------------------------------------------------------------------
r34156 | blendix | 2011-01-07 17:41:24 +0200 (Fri, 07 Jan 2011) | 7 lines

Fix #25078: texture mapping options (e.g. size) not working correctly with bump.

This problem was in both new bump and new new bump. The derivatives used for
bump mapping did not include the mapping, which gave mismatched offset for the
taps, now just do the mapping beforehand.


------------------------------------------------------------------------
r34155 | blendix | 2011-01-07 16:42:01 +0200 (Fri, 07 Jan 2011) | 24 lines

Improved bump mapping patch by M.G. Kishalmi (lmg) and M.S. Mikkelsen (sparky).
Many thanks to them!

For comparison, see here:
http://kishalmi.servus.at/3D/bumpcode/

Based on algorithm in: Mikkelsen M. S.: Simulation of Wrinkled Surfaces Revisited.
http://jbit.net/~sparky/sfgrad_bump/mm_sfgrad_bump.pdf

This fixes bugs:
#24591: Artefacts/strange normal mapping when anti-aliasing is on
#24735: Error at the Normal function.
#24962: Normals are not calculated correctly if anti-aliasing is off
#25103: Weird artefacts in Normal

This will break render compatibility a bit, but fixing this bugs would have also
done that, so in this case it should be acceptable.

Patch committed with these modifications:
* Bump method Old/3-Tap/5-Tap option in UI, 3-Tap is default
* Only compute normal perturbation vectors when needed
* Fix some middle of block variable definitions for MSVC


------------------------------------------------------------------------
r34154 | campbellbarton | 2011-01-07 13:48:35 +0200 (Fri, 07 Jan 2011) | 2 lines

bugfix [#25528] lack of update and crash using hook modifier.

------------------------------------------------------------------------
r34153 | jhk | 2011-01-07 13:38:28 +0200 (Fri, 07 Jan 2011) | 1 line

Bug fix: particle point cache was reset on start frame if particles had grid distribution even if there were no changes.
------------------------------------------------------------------------
r34152 | jhk | 2011-01-07 13:24:34 +0200 (Fri, 07 Jan 2011) | 42 lines

New hair child options:
* Renamed children to "simple" and "interpolated" as this is
  easier to explain and more descriptive than "from particles"
  and "from faces".
* Also shuffled the child ui around a bit to make it clearer.
* Child seed parameter allows to change the seed for children
  independent of the main seed value.
* Long hair mode for interpolated children:
  - Making even haircuts was impossible before as the child
    strand lengths were even, but their root coordinates were
    not similar in relation to the parent strands.
  - The "long hair" option uses the tips of the parent strands
    to calculate the child strand tips.
* Hair parting options:
  - Hair parting can now be calculated dynamically on the fly
    when in 2.49 there was a cumbersome way of using emitter mesh
    seams to define parting lines.
  - For long hair parting can be created by a tip distance/root
    distance threshold. For example setting the minimum threshold
    to 2.0 creates partings between children belonging to parents
    with tip distance of three times the root distance
    ((1+2)*root distance).
  - For short hair the parting thresholds are used as angles
    between the root directions.
* New kink parameters:
  - Kink flatness calculates kink into a shape that would have
    been achieved with an actual curling iron.
  - Kink amplitude clump determines how much the main clump value
    effects the kink amplitude.
  - The beginning of kink is now smoothed to make the hair look
    more natural close to the roots.
* Some bugs fixed along the way too:
  - Child parent's were not determined correctly in some cases.
  - Children didn't always look correct in particle mode.
  - Changing child parameters caused actual particles to be
    recalculated.
* Also cleaned up some deprecated code.

All in all there should be no real changes to how old files look
(except perhaps a bit better!), but the new options should make
hair/fur creation a bit more enjoyable. I'll try to make a video
demonstrating the new stuff shortly.
------------------------------------------------------------------------
r34151 | campbellbarton | 2011-01-07 13:08:47 +0200 (Fri, 07 Jan 2011) | 2 lines

cmake: share the DNA_*.h list definition between makesrna and makesdna

------------------------------------------------------------------------
r34150 | jhk | 2011-01-07 12:38:17 +0200 (Fri, 07 Jan 2011) | 2 lines

Fix for [#25526] Inmediate crash when changing amount of particles in a particle system
* Point cache index array doesn't necessarily have all particles if the particles were re-allocated recently.
------------------------------------------------------------------------
r34149 | jhk | 2011-01-07 12:13:30 +0200 (Fri, 07 Jan 2011) | 4 lines

Fix for [#25506] Hair showing up in places not assigned by a weightmap
* Two separate bugs, with very similar symptoms.
* The distribution binary search didn't work correctly in cases where there were a lot of faces with 0 weights.
* Maximum distribution sum should have been exactly 1, but due to the wonderful nature of floats this wasn't the case at all.
------------------------------------------------------------------------
r34148 | campbellbarton | 2011-01-07 11:50:23 +0200 (Fri, 07 Jan 2011) | 22 lines

patch [#25440] Object.vertex_group fixin'
from Dan Eicher (dna)

 From the tracker (with minor edits)
========================

cube = bpy.data.objects['Cube']
foo = cube.vertex_groups.new('foo')
foo.add([1,3,5,7], 1.0, 'ADD')

for i in range(len(cube.data.vertices)):
    try:
        weight = foo.weight(i)
        print('vert: %i weight: %f' % (i, weight))
    except:
        pass

foo.remove([1,3])

cube.vertex_groups.remove(foo)


------------------------------------------------------------------------
r34147 | campbellbarton | 2011-01-07 11:47:05 +0200 (Fri, 07 Jan 2011) | 3 lines

another error in commit r34143, was using the define's 'BLEN' & 'DER_' however the latter is incorrect since DER- is used for 64bit blend files.
removed the define.

------------------------------------------------------------------------
r34146 | campbellbarton | 2011-01-07 10:59:00 +0200 (Fri, 07 Jan 2011) | 2 lines

fix for error in own commit r34143

------------------------------------------------------------------------
r34145 | campbellbarton | 2011-01-07 10:43:29 +0200 (Fri, 07 Jan 2011) | 3 lines

- cmake use execute_process, exec_program is deprecated.
- game engine builds without python again.

------------------------------------------------------------------------
r34144 | campbellbarton | 2011-01-07 09:36:51 +0200 (Fri, 07 Jan 2011) | 2 lines

bugfix [#25457] Lack of update on undoing a lattice rig

------------------------------------------------------------------------
r34143 | campbellbarton | 2011-01-07 08:50:29 +0200 (Fri, 07 Jan 2011) | 19 lines

patch [#25490] Fix for [#22096] Blender tries to open non-blend file
from Alexander Kuznetsov (alexk) with edits.

From the report:
Blender assumed that all files are .blend as retval = 0;

Now retval is initialized as file cannot be open (-1) for gzopen fail and directory case
retval = -2; is defined for not supported formats
This must be assigned before #ifdef WITH_PYTHON because this part can be missing
Finally retval = 0; if it is a .blend file

---
also made other edits.

- exotic.c's blend header checking was sloppy, didn't check data was actually read, only checked first 4 bytes and had a check for "blend.gz" extension which is unnecessary.
- use defines to help readability for BKE_read_exotic & BKE_read_file return values.
- no need to check for a NULL pointer before calling BKE_reportf(). (will just print to the console)
- print better reports when the file fails to load.

------------------------------------------------------------------------
r34142 | campbellbarton | 2011-01-07 08:39:48 +0200 (Fri, 07 Jan 2011) | 2 lines

incorrectly documented return type

------------------------------------------------------------------------
r34141 | broken | 2011-01-07 07:50:17 +0200 (Fri, 07 Jan 2011) | 1 line

Fix/add OSX style text editing shortcuts to default keymap
------------------------------------------------------------------------
r34140 | campbellbarton | 2011-01-07 07:33:30 +0200 (Fri, 07 Jan 2011) | 4 lines

py/rna api speedup for collection slicing in all cases, rather then having an exception for [:].
- avoid looping over the entire collection unless a negative index is used.
- dont use the get index function for building the slice list, instead loop over the collection until the stop value.

------------------------------------------------------------------------
r34139 | campbellbarton | 2011-01-07 06:38:31 +0200 (Fri, 07 Jan 2011) | 2 lines

bugfix [#25519] particlesystem, type hair, hair dynamics enabled: crash with amount 0

------------------------------------------------------------------------
r34138 | campbellbarton | 2011-01-07 06:30:02 +0200 (Fri, 07 Jan 2011) | 2 lines

bugfix [#25519] particlesystem, type hair, hair dynamics enabled: crash with amount 0

------------------------------------------------------------------------
r34137 | campbellbarton | 2011-01-07 06:10:37 +0200 (Fri, 07 Jan 2011) | 5 lines

fix [#25520] crash when closing the properties panel in uv/image editor
don't draw the image if the size is 0.

Crash was actually an assert() so debug builds only, replace assert() with BKE_assert() so crash is opt in build option.

------------------------------------------------------------------------
r34136 | campbellbarton | 2011-01-07 04:39:48 +0200 (Fri, 07 Jan 2011) | 5 lines

bugfix [#25522] Export to X3D is missing ImageTexture and TextureTransform for plane with image texture
- tile option was broken.
- added basic export of texture/mtex transformation.
- recent mesh update broke material/image export with no UVs

------------------------------------------------------------------------
r34135 | ton | 2011-01-06 19:54:17 +0200 (Thu, 06 Jan 2011) | 10 lines

Todo items:

- Toobar views were reset on hide/unhide. Now they keep the view
  and zoom level.
- Added operator to delete all unused 'space data', this to make
  clean startup.blend files, remove unused editors, and to be
  able to test starting defaults for editors.
  No hotkey, use search for "Clean-up space-data"


------------------------------------------------------------------------
r34134 | ton | 2011-01-06 16:58:58 +0200 (Thu, 06 Jan 2011) | 18 lines

Todo item:

Compositor: Texture Node now behaves like an image.
- Image always in render output size
- Buffer outputs RGBA and Value both supported
- Works for filter and blur and scaling too.
- Mixing 2 textures works

Implementation note:
The texture node was meant to be 'procedural', not a buffer
but a color-sample method. Unfortunately the node editor
didn't support this well, blur/filter/scale ignored it too.

For now, its better to drop this procedural concept, then
things work at least as expected. :)



------------------------------------------------------------------------
r34133 | ton | 2011-01-06 16:19:46 +0200 (Thu, 06 Jan 2011) | 6 lines

Bug fix:

On texture-space transform, pressing Rkey crashed.
Now it refuses to enter rotation mode. :)


------------------------------------------------------------------------
r34131 | campbellbarton | 2011-01-06 15:49:09 +0200 (Thu, 06 Jan 2011) | 3 lines

print_m3/m4 didnt use const char *, which gave an errror with passing strings & pedantic warnings.
also minor rename in bvh export

------------------------------------------------------------------------
r34126 | ton | 2011-01-06 13:16:35 +0200 (Thu, 06 Jan 2011) | 7 lines

Todo item:

Auto-texture space now is more responsive and correct.
- on transforming it, the buttons get redrawn to show option was reset
- on enabling option, texture space is recalculated/reset


------------------------------------------------------------------------
r34125 | ton | 2011-01-06 11:55:20 +0200 (Thu, 06 Jan 2011) | 5 lines

Bugfix #25505

Mesh properties: Auto Texture space option missing


------------------------------------------------------------------------
r34124 | campbellbarton | 2011-01-06 11:32:25 +0200 (Thu, 06 Jan 2011) | 2 lines

bugfix [#25498] Projection paint clone tool leaves seams

------------------------------------------------------------------------
r34123 | campbellbarton | 2011-01-06 07:45:41 +0200 (Thu, 06 Jan 2011) | 2 lines

fix [#25507] Select Interior faces in edit mode gives python error

------------------------------------------------------------------------
r34122 | aligorith | 2011-01-06 07:04:44 +0200 (Thu, 06 Jan 2011) | 3 lines

Missed this file for markers commit... it already had a markers menu
defined, but it was outdated

------------------------------------------------------------------------
r34121 | campbellbarton | 2011-01-06 07:04:07 +0200 (Thu, 06 Jan 2011) | 4 lines

bugfix [#25488] Game engine crash when try to run after blender app start
- also found other places where utf8 isnt ensured.
- remove duplicate NULL checks in object_edit.c

------------------------------------------------------------------------
r34119 | aligorith | 2011-01-06 06:47:57 +0200 (Thu, 06 Jan 2011) | 10 lines

Added back "Marker" menu to all animation editors.

Issues:
- It looks a bit crowded though, so perhaps we could do without, and
just leave it for the TimeLine only?
- Due to the way the invoke() testing works, the rename operator
called from the menu currently fails. Will need to experiment more
with execution options to find a workaround.


------------------------------------------------------------------------
r34118 | campbellbarton | 2011-01-06 06:35:57 +0200 (Thu, 06 Jan 2011) | 2 lines

use ED_markers_get_first_selected() where possible, simplify ed_marker_rename_exec

------------------------------------------------------------------------
r34117 | campbellbarton | 2011-01-06 06:01:06 +0200 (Thu, 06 Jan 2011) | 14 lines

py/rna optimizations, will help for faster exporting.

Speedup for getting collection indices, avoid getting the collection length unless a negative index is given. This avoids a loop over the entire collection in many cases.

Speedup for getting collection slices by detecting collection[:] and internally calling collection.values(), this gives a big speedup with some collections because each slice item would loop over the list until that index was found.

Rough test with 336 objects.
- getting index of listbase collection ~ 5.0x faster
- getting index of array collection ~ 1.15x faster

- getting slices of listbase collections ~ 34.0x faster
- getting slices of array collections ~ 1.5x faster


------------------------------------------------------------------------
r34116 | aligorith | 2011-01-06 05:10:41 +0200 (Thu, 06 Jan 2011) | 5 lines

Markers Todo: Adding back "Rename Marker" operator (Ctrl M).

As we don't have any dedicated text-input boxes anymore, this is a bit
more clunky than it should optimally be.

------------------------------------------------------------------------
r34115 | aligorith | 2011-01-06 04:35:12 +0200 (Thu, 06 Jan 2011) | 39 lines

== Long-Standing 2.5 Todo - Markers fully working again in all
animation editors (DopeSheet, Graph Editor, NLA, Sequencer) ==

=== Usage Notes ===
In animation editors, marker operators will only be considered while
the mouse is hovering near/over the horizontal scrollbar (i.e. where
the markers usually appear). That means, in order to do something to
the markers, just position your cursor in line with the row of
markers, and then use the same hotkeys you'd use in the TimeLine (so,
unlike in 2.4x, no more need to hold down extra modifier keys for this
case). In the TimeLine, nothing changes, so you don't need to worry
about mouse placement there :)

=== Technical Details ===
Since early 2.5 versions, this functionality has been disabled, as the
markers were always getting evaluated first, and hence "swallowing"
all the events before the editor's own keymaps could access them.

In order to get this working again, I've had to give every marker
operator a "wrapper" invoke callback which performs some checking to
ensure that the mouse is close to the markers (vertically) before the
operator will try to be run. This wrapper also makes sure that once
the operator has finished running, that if it didn't manage to do
anything, then the editor's own keymaps get to have a go.

The vertical tolerance used is currently 30 pixels (as was used for
the borderselect operator).

=== Other Assorted Changes ===
* Gave marker operators dependent on having selected markers to
operate on suitable poll() callbacks. These new poll callbacks ensure
that there are selected markers for the operator to operate on,
further cutting down the number of places where markers may override
standard hotkeys (and avoiding calls to the wrappers too)
* Simplified some of the selection code
* Made some formatting tweaks for consistency, and in one case so that
my text editor's function-list display doesn't get confused


------------------------------------------------------------------------
r34114 | broken | 2011-01-06 04:20:30 +0200 (Thu, 06 Jan 2011) | 1 line

Improve reliability when setting property editor context via rna
------------------------------------------------------------------------
r34113 | campbellbarton | 2011-01-06 04:20:25 +0200 (Thu, 06 Jan 2011) | 2 lines

fix for error in own recent commit, r34098.

------------------------------------------------------------------------
r34112 | campbellbarton | 2011-01-06 03:45:25 +0200 (Thu, 06 Jan 2011) | 2 lines

error in recent x3d commit using undefined autosmooth var.

------------------------------------------------------------------------
r34111 | campbellbarton | 2011-01-06 03:35:07 +0200 (Thu, 06 Jan 2011) | 5 lines

fix for clang static check warnings.
- convertblender.c, remove assignments to unused vars.
- readfile.c, fix 2 possible crashes. null pointers were being checked for then used later without checking.
- space_graph.c, use switch statement for automatic color assignment rather then a float array.

------------------------------------------------------------------------
r34110 | campbellbarton | 2011-01-06 03:29:13 +0200 (Thu, 06 Jan 2011) | 2 lines

remove assignments which are unused.

------------------------------------------------------------------------
r34109 | mindrones | 2011-01-06 01:23:09 +0200 (Thu, 06 Jan 2011) | 5 lines

== blender icon ==

forgot to remove a file in last commit


------------------------------------------------------------------------
r34108 | gsrb3d | 2011-01-05 23:17:32 +0200 (Wed, 05 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34107 | mindrones | 2011-01-05 22:18:16 +0200 (Wed, 05 Jan 2011) | 10 lines

== blender icon ==

I've been asked by Giuseppe Ghibò (joeghi) for more icons for Mandriva Linux distro.
I've noticed that some folders had a blender.svg different from the one in scalable/, so made them all the same derived from
scalable/blender.svg

Now each svg file has "document properties" of the right dimensions according to the folder it's in, and the svg is saved so that people
just have to press "export bitmap" in Inkscape in case they need it.


------------------------------------------------------------------------
r34106 | gsrb3d | 2011-01-05 21:19:49 +0200 (Wed, 05 Jan 2011) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r34105 | ton | 2011-01-05 20:12:54 +0200 (Wed, 05 Jan 2011) | 9 lines

Bugfix, irc report:

Outliner: using the object-data icons to enter editmode, didn't
reset the toolbar Operator redo. It was not using an operator
call here. Note to self: more outliner tools don't...

Error was that operator-redo then would repeat an action incorrect.


------------------------------------------------------------------------
r34104 | ton | 2011-01-05 19:27:26 +0200 (Wed, 05 Jan 2011) | 9 lines

Todo item: brought transform texture space back.
Code changes are minimal, re-using the code as already was there.

Options are in pulldown menu, or SHIFT+T and SHIFT+ALT+T

Might be that Martin likes to see it different... do we need
a special operatortype for it?


------------------------------------------------------------------------
r34103 | nazgul | 2011-01-05 17:58:44 +0200 (Wed, 05 Jan 2011) | 2 lines

Get rid of uninitialized variable and malicios derived mesh relising.
Pointer by llvn analyzer.
------------------------------------------------------------------------
r34102 | campbellbarton | 2011-01-05 17:37:36 +0200 (Wed, 05 Jan 2011) | 2 lines

remove ED_retopo.h

------------------------------------------------------------------------
r34101 | ton | 2011-01-05 17:10:35 +0200 (Wed, 05 Jan 2011) | 14 lines

Todo item:

Object color option now is incorporated in preview render, and
in display in 3D window.

Note that Object-color is "modulating" the render result, it just
multiplies... which is very limited for practical use. This was
added for Apricot game project. The original meaning however was
to replace diffuse only... so specular and light work still correct.

ALso made header for properties editor start on top, to reflect
default (report in tracker).


------------------------------------------------------------------------
r34100 | campbellbarton | 2011-01-05 16:57:57 +0200 (Wed, 05 Jan 2011) | 4 lines

bugfix [#25393] Export to X3D does not provide color field in indexedFaceSet for colored cube

mostly rewrote mesh export and added support for multiple materials/images, using texface or material images depending on the materials TexFace option.

------------------------------------------------------------------------
r34099 | elubie | 2011-01-05 16:56:10 +0200 (Wed, 05 Jan 2011) | 6 lines

Patch: [#22524] Update Windows Recent Documents on Open/Save
Slightly modified to better fit in architecture (moved to related GHOST SystemPaths)
Thanks to Harley Acheson for the research and for providing the original patch.

Note: I added empty function for X11(Linux) and Mac (Carbon and Cocoa) to be implemented still.

------------------------------------------------------------------------
r34098 | campbellbarton | 2011-01-05 16:49:08 +0200 (Wed, 05 Jan 2011) | 3 lines

fix for py/rna mesh.materials[:] where empty materials exist, would raise a runtime exception.
problem was there was no way to tell the difference between getting an empty item from a collection or the item not being found.

------------------------------------------------------------------------
r34097 | blendix | 2011-01-05 16:20:48 +0200 (Wed, 05 Jan 2011) | 3 lines

Fix #23604: external shadows for volume materials don't work


------------------------------------------------------------------------
r34096 | elubie | 2011-01-05 16:00:14 +0200 (Wed, 05 Jan 2011) | 3 lines

ToDo: long outstanding patch to allow access to system paths in background mode
Thanks Damien Plisson for contributing the Carbon and Cocoa implementation

------------------------------------------------------------------------
r34095 | blendix | 2011-01-05 15:15:29 +0200 (Wed, 05 Jan 2011) | 5 lines

Material slots: on adding a new one, the material datablock is now copied again
like in 2.4x. This can result in material datablocks you don't need, but not
doing it seems to cause too much confusion.


------------------------------------------------------------------------
r34094 | blendix | 2011-01-05 14:04:06 +0200 (Wed, 05 Jan 2011) | 5 lines

Fix #25316: distorted subsurf UV in some cases. To counter distortion at seams,
we add extra creasing in the UV mesh, to keep it from shrinking, leading to
distorted UVs, but this wasn't always working right, so tweaked the conditions.


------------------------------------------------------------------------
r34093 | aligorith | 2011-01-05 13:15:57 +0200 (Wed, 05 Jan 2011) | 13 lines

Marker Bugfixes ("Make Links to Scene" operator):

Some tweaks for this operator, found while scanning through the
current state of the markers code. These seem to be correct judging
from the overall direction the code is going in, though the intention
of this operator seems a bit unclear from the naming.

- Fixed potential issue where with only some markers selected (and the
last one selected not being the last marker in the source scene), you
could end up chaining the source and destination marker lists together
improperly.
- Clarified description/error messages...

------------------------------------------------------------------------
r34092 | ton | 2011-01-05 12:54:30 +0200 (Wed, 05 Jan 2011) | 9 lines

Fixing bugs in future:

DNA reconstruct now terminates strings, when the new string
in a file is longer than in current definition. This will
enable a safer ID and other name lengthening, keeping at
least some forward compitability.



------------------------------------------------------------------------
r34091 | nazgul | 2011-01-05 12:40:38 +0200 (Wed, 05 Jan 2011) | 4 lines

Todo item: linked curve objects behaves incorrect with modifiers

Use object's displists for storing deformed tesselated curve. Was unable to
totally get rid of curve's displist because of how texture space is calculating.
------------------------------------------------------------------------
r34090 | jesterking | 2011-01-05 11:00:28 +0200 (Wed, 05 Jan 2011) | 1 line

Enable sndfile by default on win64
------------------------------------------------------------------------
r34089 | jhk | 2011-01-05 10:52:13 +0200 (Wed, 05 Jan 2011) | 2 lines

Fix for [#25492] Cached particles are killed too early
* Own mistake from the sph particle fluids fix.
------------------------------------------------------------------------
r34088 | aligorith | 2011-01-05 10:31:05 +0200 (Wed, 05 Jan 2011) | 5 lines

Bugfix #25494: Lattice keyframes can't be selected in dopesheet
(summary)

Oops.. missed one place

------------------------------------------------------------------------
r34087 | campbellbarton | 2011-01-05 09:14:26 +0200 (Wed, 05 Jan 2011) | 2 lines

use x3d Group's rather then IndexedFaceSets to re-use objects.

------------------------------------------------------------------------
r34086 | campbellbarton | 2011-01-05 08:58:52 +0200 (Wed, 05 Jan 2011) | 6 lines

X3D export
- last commit broke export
- more removal of not used functions.
- use twoside mesh setting rather then face flag.
- simplify transformations.

------------------------------------------------------------------------
r34085 | campbellbarton | 2011-01-05 08:29:43 +0200 (Wed, 05 Jan 2011) | 2 lines

re-arrange x3d mesh export funcs in preparation for fixing [#25393]

------------------------------------------------------------------------
r34084 | campbellbarton | 2011-01-05 07:53:41 +0200 (Wed, 05 Jan 2011) | 5 lines

X3D Export,
- mesh creaseAngle was being exported as degrees, should be radians.
- remove unused vars & code.
- indenting was using a for loop, can just multiply a string instead.

------------------------------------------------------------------------
r34083 | campbellbarton | 2011-01-05 07:33:27 +0200 (Wed, 05 Jan 2011) | 9 lines

py api function to tag all ID blocks, was available in 2.4x as.
 bpy.data.meshes.tag = True

But this was only useful for setting so make it a function for 2.5x.
 bpy.data.objects.tag(False)


X3D: use tagging rather then a name dictionary, this fixes a bug where library name overlaps could mix up names.

------------------------------------------------------------------------
r34082 | campbellbarton | 2011-01-05 05:22:46 +0200 (Wed, 05 Jan 2011) | 2 lines

pep8 cleanup.

------------------------------------------------------------------------
r34081 | campbellbarton | 2011-01-05 04:08:54 +0200 (Wed, 05 Jan 2011) | 5 lines

edits for BPY_extern.h functions, no functional changes
- remove unused code.
- BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec
- renamed funcs.

------------------------------------------------------------------------
r34080 | nicholasbishop | 2011-01-05 04:08:27 +0200 (Wed, 05 Jan 2011) | 3 lines

Removed a call to glPopMatrix that had no corresponding glPushMatrix.


------------------------------------------------------------------------
r34079 | moguri | 2011-01-05 03:34:33 +0200 (Wed, 05 Jan 2011) | 1 line

Adding overhead drawing (frame rate, profile, debug props) capabilities back to the Blenderplayer by replacing commented out BMF_* functions with BLF_* equivalents.
------------------------------------------------------------------------
r34078 | aligorith | 2011-01-05 02:37:21 +0200 (Wed, 05 Jan 2011) | 2 lines

Animation data for lattices is now shown in the Animaton Editors

------------------------------------------------------------------------
r34077 | dfelinto | 2011-01-04 23:27:44 +0200 (Tue, 04 Jan 2011) | 6 lines

BGE: Font Object support to animated (object) colors
implemented the support for animated colors and a workaround for non animated colors. To be cleaned if/when this bug is fixed:
[#25487] BGE: Object Color only works when it has a keyed frame

* also increased the size of the text. Now it supports 280 (or 140 unicode) chars.

------------------------------------------------------------------------
r34074 | ton | 2011-01-04 19:53:02 +0200 (Tue, 04 Jan 2011) | 2 lines

Note sure if this file is used still... named it 2.56a

------------------------------------------------------------------------
r34073 | ton | 2011-01-04 19:49:43 +0200 (Tue, 04 Jan 2011) | 3 lines

Fixed readme.html only went to the tag branch, now in trunk.


------------------------------------------------------------------------
r34072 | ton | 2011-01-04 18:39:05 +0200 (Tue, 04 Jan 2011) | 3 lines

Don't commit with compiling first ;)


------------------------------------------------------------------------
r34071 | ton | 2011-01-04 18:31:36 +0200 (Tue, 04 Jan 2011) | 4 lines

Todo item: notifiers sent from Material changes invoked Compositor
jobs. Now proper checks have been added, also for texture nodes.


------------------------------------------------------------------------
r34070 | campbellbarton | 2011-01-04 17:25:12 +0200 (Tue, 04 Jan 2011) | 3 lines

fix [#25388] Export to X3D generates texture fields in X3D file for objects
use vertex color paint setting to export vertex colors when a material is assigned.

------------------------------------------------------------------------
r34068 | ton | 2011-01-04 17:19:16 +0200 (Tue, 04 Jan 2011) | 7 lines

todo item:

Files saved with image-window composite preview panel still
rendered cropped, but theres no way to disable it. Now it
ignores cropping.


------------------------------------------------------------------------
r34067 | ton | 2011-01-04 16:59:55 +0200 (Tue, 04 Jan 2011) | 10 lines

Todo item:

New option to start threaded wmJobs, with flag WM_JOB_SUSPEND.
This makes the job wait 1 timer step before running.

Used now for Material Icon render renders, which makes the
big preview to be always rendered first while using UI.



------------------------------------------------------------------------
r34066 | nazgul | 2011-01-04 16:55:29 +0200 (Tue, 04 Jan 2011) | 1 line

Crease tool brush missed brush color changing depends on brush appearance.
------------------------------------------------------------------------
r34065 | nazgul | 2011-01-04 16:46:29 +0200 (Tue, 04 Jan 2011) | 4 lines

Fix #25483: Brush appearance color

Set special brush flag when inversion stroke was started, not wery nice, but
we can't make better with current events system implementation.
------------------------------------------------------------------------
r34064 | ton | 2011-01-04 16:37:21 +0200 (Tue, 04 Jan 2011) | 9 lines

Todo items:

- File Window: when opened with operator (save, load, etc), you
  couldn't start a new one, causing memleaks. Now it nicely
  refreshes file window for new operator.
  Also means you can make CTRL+F3 screenies of filewindow now.
- CTRL+F3 screenshot had memleak on cancel.


------------------------------------------------------------------------
r34063 | ton | 2011-01-04 15:10:46 +0200 (Tue, 04 Jan 2011) | 6 lines

Bugfix #25486

MedtaBall editmode, 3D window, menu "Select" had an error, unknown
operator for select/deselect. Fix provided by Jonathan Smith


------------------------------------------------------------------------
r34062 | campbellbarton | 2011-01-04 14:31:42 +0200 (Tue, 04 Jan 2011) | 2 lines

comment assert and ensure meshes are always calculated with CD_MASK_BAREMESH, scene->customdata_mask should be corrected in background mode but for now this is ok.

------------------------------------------------------------------------
r34061 | campbellbarton | 2011-01-04 12:37:22 +0200 (Tue, 04 Jan 2011) | 2 lines

fix for makesrna error on windows where files cant be removed when open.

------------------------------------------------------------------------
r34060 | campbellbarton | 2011-01-04 12:28:37 +0200 (Tue, 04 Jan 2011) | 2 lines

print a message if the file cant be removed, may help narrow down why there are problems with MSVC at the moment.

------------------------------------------------------------------------
r34059 | campbellbarton | 2011-01-04 10:56:25 +0200 (Tue, 04 Jan 2011) | 3 lines

- use BKE_keyingset_free_path where paths were being freed inline.
- rna_path was being freed when null, printing errors.

------------------------------------------------------------------------
r34058 | campbellbarton | 2011-01-04 10:00:16 +0200 (Tue, 04 Jan 2011) | 2 lines

no need to define betz in editcurve.c, replace ob_get_key with inline check for anim filter code.

------------------------------------------------------------------------
r34057 | moguri | 2011-01-04 09:43:32 +0200 (Tue, 04 Jan 2011) | 1 line

Fix to make two-side texface option work with modifiers in the BGE. However, there appear to be some issues when a mesh has mixed two-side and non two-side faces. I think it's a problem in the converter and possibly related to this bug: https://projects.blender.org/tracker/index.php?func=detail&aid=24948&group_id=9&atid=306
------------------------------------------------------------------------
r34056 | nazgul | 2011-01-04 09:32:26 +0200 (Tue, 04 Jan 2011) | 2 lines

Fixed malicious selection checking in make segment operator.
Thanks to Campbell and CLang :)
------------------------------------------------------------------------
r34055 | aligorith | 2011-01-04 08:28:44 +0200 (Tue, 04 Jan 2011) | 7 lines

Fixing Grease Pencil typo noted while scanning through Mike Erwin's
GSoC10 work. Cheers Mike for catching this!

Also removing the use of sqrt() as noted in a "todo" comment there...



------------------------------------------------------------------------
r34054 | aligorith | 2011-01-04 08:18:58 +0200 (Tue, 04 Jan 2011) | 2 lines

No functional changes. Just formatting cleanups for now...

------------------------------------------------------------------------
r34053 | aligorith | 2011-01-04 07:57:05 +0200 (Tue, 04 Jan 2011) | 2 lines

Grease Pencil: Redo for sketching sessions now works

------------------------------------------------------------------------
r34052 | xat | 2011-01-04 06:56:27 +0200 (Tue, 04 Jan 2011) | 2 lines

Fix bug #25471

------------------------------------------------------------------------
r34051 | aligorith | 2011-01-04 05:14:01 +0200 (Tue, 04 Jan 2011) | 42 lines

Grease Pencil Todos: "Sketching Sessions"

Due to popular request and usability considerations, this commit
reintroduces functionality similar to 2.4's "Draw Mode" for Grease
Pencil.

In the toolbar under the Draw/Line/Eraser buttons, you can find the
"Use Sketching Sessions" toggle, which enables this feature. This is a
per-scene setting, and defaults to off, so that the current 2.5
behaviour is still the default (i.e. the Grease Pencil operator will
only do a single stroke at a time).

With this option enabled, drawing with Grease Pencil will enter a
semi-modal state where you can draw multiple strokes without needing
to keep holding the DKEY throughout (though you'll still need to do so
to start the strokes, unless you use some toolbar buttons), while
still being able to manipulate the viewport. Header help-text prints
show the appropriate keybindings (i.e. press ESCKEY or ENTER to end
the sketching session).

Notes:
- To aid maintainability of the 3D-View toolbar code, I've taken the
liberty to factor out the groups of widgets which commonly occur in
most of the toolbars into separate functions (namely "Repeat" and
"Grease Pencil"). Perhaps it might make it slightly harder to newbies
to the toolbar code to grasp, though the physics panels are far worse
;)
- I've reshuffled some code in the Grease Pencil code to separate out
the various states of operation again more clearly, though some more
work is still needed there (TODO)
- There can now be only one Grease Pencil operator running at a time
- Redoing Grease Pencil operations where sketching sessions was
enabled still needs work. Namely, a way of delimiting the set of
points recorded into strokes is still needed (TODO)
- Ultimately, it should be possible to switch tools midway through a
session. Currently sessions are limited to only being able to be used
with a single drawing mode (TODO)
- After ending a drawing session, the titlebar contols may not work on
Windows without manually making the main window lose focus and then
regain (i.e. click on some other window in toolbar, then come back).
This may be related to (bug #25480)

------------------------------------------------------------------------
r34050 | nazgul | 2011-01-03 21:45:08 +0200 (Mon, 03 Jan 2011) | 2 lines

Memory for bevelSplitFlag wasn't duplicated in copy_displist.
Also corrected memory allocation comment for this array.
------------------------------------------------------------------------
r34049 | ton | 2011-01-03 20:57:13 +0200 (Mon, 03 Jan 2011) | 6 lines

Bugfix, own collection

Graph editor: sliding Nkey Properties to left, closing curves view
entirely, was hanging in eternal loop. Caused by division by zero.


------------------------------------------------------------------------
r34048 | campbellbarton | 2011-01-03 20:15:15 +0200 (Mon, 03 Jan 2011) | 2 lines

fix for crash when some classes didnt register properly (this included loading sintel.blend).

------------------------------------------------------------------------
r34047 | ton | 2011-01-03 20:14:10 +0200 (Mon, 03 Jan 2011) | 7 lines

Todo item:

2D view scrollers were drawing over background contents, making it
look somewhat messy (like for text, nodes, fcurves). Now it clears
first the back in the region edge.


------------------------------------------------------------------------
r34046 | ton | 2011-01-03 19:37:37 +0200 (Mon, 03 Jan 2011) | 4 lines

Image window Scopes (P key): the 4th "line histogram" was not
initialized on 100 pixels height on creation.


------------------------------------------------------------------------
r34045 | ton | 2011-01-03 19:01:08 +0200 (Mon, 03 Jan 2011) | 3 lines

User pref button for 'drag threshold'


------------------------------------------------------------------------
r34044 | ton | 2011-01-03 19:00:49 +0200 (Mon, 03 Jan 2011) | 14 lines

Todo item

Drag/drop now has a User preset for dragging threshold.
Noticed this was set to 3 pixels even, made it 5 as default.
Tablet owners can put it larger too :)

Note: the tweak-threshold (3d win) is 10 pixels now, I think
this needs another preset too, leave this for now.

Also: fixed crash in filewindow: drag .blend icon and drop it.
You can't test anything in Blender or you get a bug :)



------------------------------------------------------------------------
r34043 | campbellbarton | 2011-01-03 18:22:30 +0200 (Mon, 03 Jan 2011) | 3 lines

Ported back import BVH as Empties, uses delta transformations.
& small pep8 changes.

------------------------------------------------------------------------
r34042 | ton | 2011-01-03 17:50:08 +0200 (Mon, 03 Jan 2011) | 8 lines

Todo: Material nodes

- On each re-render, the node image was cleared. Skipping this gives
  nicer pictures
- Node render was using AA, but unfortunately only 1 sample for Nodes
  is being stored. Disable AA render for now, nice speedup too.


------------------------------------------------------------------------
r34041 | ton | 2011-01-03 17:29:37 +0200 (Mon, 03 Jan 2011) | 5 lines

Added proper notifier for editing nodes.
Previous commit was missing some... so updates failed in cases.



------------------------------------------------------------------------
r34040 | ton | 2011-01-03 16:36:44 +0200 (Mon, 03 Jan 2011) | 10 lines

Todo items:

- New Node editor now opens with larger view, the default
  was like zoomed in factor 2.
- Add node via menu now shows new node more visible
- Click on (material) node now doesn't re-render the entire
  tree anymore, much nicer.
- Duplicate node creates preview image immediate


------------------------------------------------------------------------
r34039 | campbellbarton | 2011-01-03 16:30:59 +0200 (Mon, 03 Jan 2011) | 2 lines

fix for linking on msvc with own recent changes.

------------------------------------------------------------------------
r34038 | campbellbarton | 2011-01-03 15:33:07 +0200 (Mon, 03 Jan 2011) | 2 lines

rename layout.red_alert to alert, may be themeable some day.

------------------------------------------------------------------------
r34037 | campbellbarton | 2011-01-03 15:13:54 +0200 (Mon, 03 Jan 2011) | 2 lines

check modifier keys are not pressed when using keys as accelerators, it meant you couldn't copy the operator from a menu with Ctrl+C because C would be used to activate an item.

------------------------------------------------------------------------
r34036 | ton | 2011-01-03 14:48:16 +0200 (Mon, 03 Jan 2011) | 8 lines

Bugfix #25457

After loading file, the Undo-push happened too early, causing an
undo for the first action to show animated setups wrong.

(material.c: removed old crap)


------------------------------------------------------------------------
r34035 | campbellbarton | 2011-01-03 14:41:16 +0200 (Mon, 03 Jan 2011) | 2 lines

DAG_id_tag_update was being called with non object ID's and OB_RECALC_* flags which only apply to objects. harmless but misleading.

------------------------------------------------------------------------
r34034 | ton | 2011-01-03 14:13:48 +0200 (Mon, 03 Jan 2011) | 6 lines

Bugfix #25471

Scopes widgets in Image Editor (Pkey) could be dragged to zero size.
Now limit is 20. Thanks Mario Kishalmi for patch!


------------------------------------------------------------------------
r34033 | campbellbarton | 2011-01-03 14:11:05 +0200 (Mon, 03 Jan 2011) | 3 lines

fix for own error with mathutils.geometry argument parsing.
also raise ValueError when the vector size is incorrect rather then type error.

------------------------------------------------------------------------
r34032 | aligorith | 2011-01-03 13:58:19 +0200 (Mon, 03 Jan 2011) | 24 lines

2.4x <-> 2.5 Regression Fixes: Shapekey Problems

This commit partially fixes the problems with Shapekeys from older
files, as seen from the Regression suite (relative.blend and
dolphin.blend in particular).

In older files, keyblock->slidermax was never truly set to 1.0 even
though the UI may have shown such a value (which was bizzarely being
sourced from somewhere else). Hence, after loading the files in 2.5,
the shapekeys wouldn't animate, as the value would get clamped between
0 and 0.

To fix this, I've added a version patch which corrects these
situations in old files, and I've adjusted the slider-RNA code so that
it is not possible to set up such clamping anymore.

TODO:
The fixes detailed here only make it possible for these files to work
again in 2.5. However, I haven't been able to find a way to get the
files to actually work in 2.5 without manually changing the active
shapekey (per object) after loading the files with these patches
applied. Possibly it's just some depsgraph magic needed, unless
there's still some other evil voodoo in the shapekey code

------------------------------------------------------------------------
r34031 | campbellbarton | 2011-01-03 13:50:10 +0200 (Mon, 03 Jan 2011) | 2 lines

fix for [#25470] single property driver vars don't update

------------------------------------------------------------------------
r34030 | ton | 2011-01-03 12:47:36 +0200 (Mon, 03 Jan 2011) | 6 lines

Bugfix #25449

Adding surface objects via top menu crashed for option
"view aligned". Bad context checking.


------------------------------------------------------------------------
r34029 | campbellbarton | 2011-01-03 11:09:30 +0200 (Mon, 03 Jan 2011) | 11 lines

rna/api
move Object.update(...) to ID.update(). since depsgraph update function can now be called on ID types.

also changed how update flags work.

  obj.update(scene, 1, 1, 1)
... is now
  obj.update({'OBJECT', 'DATA', 'TIME'})

Don't pass scene anymore. This was used for recalculating text but I think this is better dont in a different function.

------------------------------------------------------------------------
r34028 | campbellbarton | 2011-01-03 10:28:22 +0200 (Mon, 03 Jan 2011) | 5 lines

recent change to keyframe menu broke BVH import, now don't use the operator at all, instead assign the action manually.

Also added bpy.path.display_name_from_filepath(), since filepaths are not ensured to be utf8.
same as calling:  os.path.splitext(os.path.basename(name))[0].encode("utf8", "replace").decode("utf8")

------------------------------------------------------------------------
r34027 | campbellbarton | 2011-01-03 09:51:22 +0200 (Mon, 03 Jan 2011) | 2 lines

fix for error in last commit.

------------------------------------------------------------------------
r34026 | campbellbarton | 2011-01-03 09:42:30 +0200 (Mon, 03 Jan 2011) | 2 lines

remove rna func scene.collada_export(), export functions dont exist for any other formats, calling operators should suffice.

------------------------------------------------------------------------
r34025 | campbellbarton | 2011-01-03 09:07:18 +0200 (Mon, 03 Jan 2011) | 2 lines

fix for own error in recent commit.

------------------------------------------------------------------------
r34024 | campbellbarton | 2011-01-03 08:45:47 +0200 (Mon, 03 Jan 2011) | 2 lines

dont draw lamp volume when its being used as the view camera, would flicker annoyingly when flying the lamp about to position it.

------------------------------------------------------------------------
r34023 | campbellbarton | 2011-01-03 08:13:50 +0200 (Mon, 03 Jan 2011) | 3 lines

avoid int/float comparisons within a number of for loops in deep shadow map compression.
gives minor overall speedup.

------------------------------------------------------------------------
r34022 | moguri | 2011-01-03 08:08:17 +0200 (Mon, 03 Jan 2011) | 1 line

stubs.c updates for uiLayoutGetRedAlert and uiLayoutSetRedAlert
------------------------------------------------------------------------
r34021 | aligorith | 2011-01-03 07:36:52 +0200 (Mon, 03 Jan 2011) | 18 lines

Keyframing Operator Code Cleanup:

Keyframing operators now use a dynamically-generated enum for their
"type" property, which determines the Keying Set to use for keyframing
instead of the obscure "index" values which were determined
internally. Internally though, these same indices are still being used
:)

Notes:
- I've kept the menu-building function and the special "menu" operator
for now, since it's better to not "pollute" the actual insert
keyframes operator with hardcoded menu-showing logic. Instead, the
menu operator does that, so that if you like, you could write another
such wrapper that works differently.
- The 'type' properties could have the PROP_HIDDEN flags removed,
though I think it's cleaner to leave these without this option for
now.

------------------------------------------------------------------------
r34020 | campbellbarton | 2011-01-03 06:59:57 +0200 (Mon, 03 Jan 2011) | 3 lines

- add in asserts for unlikely cases of invalid ID types being assigned to key->from.
- mode duplicate pointer/offset code into a static function.

------------------------------------------------------------------------
r34019 | campbellbarton | 2011-01-03 06:46:37 +0200 (Mon, 03 Jan 2011) | 3 lines

fix for possible comparison of un-initialized variable.
 vol_get_bounds() only runs when shi->flippednor==0, but is.hit.ob was being checked afterwards irrespective.

------------------------------------------------------------------------
r34018 | campbellbarton | 2011-01-03 03:26:54 +0200 (Mon, 03 Jan 2011) | 2 lines

bugfix [#25459] Zooming out with view3d.zoom() crashes blender completely

------------------------------------------------------------------------
r34017 | aligorith | 2011-01-03 01:50:16 +0200 (Mon, 03 Jan 2011) | 13 lines

Constraints UI Tweak:

Experimental tweak for the "Object Constraints" tab so that it now
shows a warning message instead of the "Add Constraints" button when
the active object is in Pose Mode. Hopefully this will further
alleviate any confusion over Object vs Bone level constraints.

Todo:
While coding this, I noticed that we currently don't have any way of
making help-text labels in UI panels which can span multiple lines
(word-wrapped or manually split). Probably not a critical issue, but
it would be nice for completeness...

------------------------------------------------------------------------
r34016 | aligorith | 2011-01-03 01:47:48 +0200 (Mon, 03 Jan 2011) | 2 lines

"Red-Alert" flags can now be set on UI layouts via the RNA API too

------------------------------------------------------------------------
r34015 | aligorith | 2011-01-03 01:47:03 +0200 (Mon, 03 Jan 2011) | 8 lines

Bugfix:

Setting the group for F-Curves from the Py-API (i.e. to move F-Curves
from one group to another) was failing. After debugging this, this
functionality should now work correctly, while still prohibiting the
setting of groups on "F-Curves that aren't in actions" (i.e. driver-
fcurves)...

------------------------------------------------------------------------
r34014 | blendix | 2011-01-02 23:13:28 +0200 (Sun, 02 Jan 2011) | 3 lines

Fix #25456: using Live Unwrap always unwraps with method Angle Based.


------------------------------------------------------------------------
r34013 | ton | 2011-01-02 21:46:32 +0200 (Sun, 02 Jan 2011) | 17 lines

Bugfix #25446 (and todo item)

The icons for materials were always lagging or not updating
at all. I also found it suspicious slow...
It appeared that the icons now store a "mip level", where for
every change in Materials 2 render jobs for icons were started,
one for 32x32 pix, one for 96x96. The latter was cancelling out
the first job almost always.

Also made preview renders detect size, to set amount of tiles
to be rendered. Small icons use 1 part, larger previews 16 now.

All in all, behaves much smoother now! But, will also update
the thread Jobs manager to allow "delayed jobs" like for icons,
these are aggressively put as first in the jobs list.


------------------------------------------------------------------------
r34012 | nazgul | 2011-01-02 21:00:32 +0200 (Sun, 02 Jan 2011) | 1 line

Spelling fix: itterator->iterator
------------------------------------------------------------------------
r34010 | jhk | 2011-01-02 20:10:33 +0200 (Sun, 02 Jan 2011) | 5 lines

Small changes to new pointcache code:
* Removed the unused fuctions spotted by Campbel.
* Removed the gotos to make Ton happy.
* Added better debug prints to disk cache operations.
* Fixed a memory unmap error that seemed to happen on a test file.
------------------------------------------------------------------------
r34009 | nazgul | 2011-01-02 19:38:22 +0200 (Sun, 02 Jan 2011) | 6 lines

Splitting quad into triangles and merging triangles into quad should
work correct with sculpting data now.

Joining two triangles could give incorrect sculpting result for
special topologies, but it's that case that can't be nicely handled
with our layers architecture.
------------------------------------------------------------------------
r34008 | nazgul | 2011-01-02 19:09:39 +0200 (Sun, 02 Jan 2011) | 1 line

Forgot this in previous commit
------------------------------------------------------------------------
r34007 | nazgul | 2011-01-02 19:08:25 +0200 (Sun, 02 Jan 2011) | 3 lines

New customdata layer callback: validate
Used to validate displacement allocation size after face copying
to match face vertex and displacement corners count.
------------------------------------------------------------------------
r34006 | nazgul | 2011-01-02 18:43:28 +0200 (Sun, 02 Jan 2011) | 3 lines

Multires math function used for layer interpolation moved from customdata.c to multires.c

No functional changes
------------------------------------------------------------------------
r34005 | ton | 2011-01-02 15:57:06 +0200 (Sun, 02 Jan 2011) | 3 lines

Crash fix for pointcache... bad goto's here.


------------------------------------------------------------------------
r34004 | ton | 2011-01-02 15:33:32 +0200 (Sun, 02 Jan 2011) | 6 lines

Small feature for debugging pleasure:

The svn revision nr is saved in Blender file header now.
Can only be retrieved with running blender -d now.


------------------------------------------------------------------------
r34003 | ton | 2011-01-02 13:14:47 +0200 (Sun, 02 Jan 2011) | 5 lines

Bugfix 25451

Tooltip for "default render output" was wrong.


------------------------------------------------------------------------
r34002 | campbellbarton | 2011-01-02 13:06:50 +0200 (Sun, 02 Jan 2011) | 3 lines

- correct typos in comments.
- move boxpack struct out of the public header.

------------------------------------------------------------------------
r34001 | blendix | 2011-01-02 12:52:21 +0200 (Sun, 02 Jan 2011) | 4 lines

Fix #25435: remove code that enabled EWA filter on mipmap toggle, should not
have been there, mistake in removing SAT filter.


------------------------------------------------------------------------
r34000 | moguri | 2011-01-02 12:21:03 +0200 (Sun, 02 Jan 2011) | 1 line

CMake fix so MSVC works again. Fix suggested by Tamito Kajiyama.
------------------------------------------------------------------------
r33999 | campbellbarton | 2011-01-02 12:13:17 +0200 (Sun, 02 Jan 2011) | 4 lines

Quiet warnings from last commit.

Janne: could you check if ptcache_file_pointers_seek() & ptcache_read_init() can be removed?

------------------------------------------------------------------------
r33998 | moguri | 2011-01-02 12:05:22 +0200 (Sun, 02 Jan 2011) | 1 line

CXX_Guardedalloc was complaining about freeing NULL pointers in VideoTexture. I've added guards around the deletes to prevent this.
------------------------------------------------------------------------
r33997 | campbellbarton | 2011-01-02 11:54:44 +0200 (Sun, 02 Jan 2011) | 3 lines

python api: rna array slices now return tuples rather then lists (fits with recent change made to mathutils).
minor improvements/cleanup to exporters.

------------------------------------------------------------------------
r33996 | jhk | 2011-01-02 08:52:47 +0200 (Sun, 02 Jan 2011) | 9 lines

Pointcache code cleanup and disk cache compression options:
* Massive reorganization of pointcache code, things are now cleaner than ever.
* For all but smoke the cache is first written to memory when using disk cache and after that written to disk in one operation. This allows less disk operations and the possibility to compress the data before writing it to disk.
* Previously only smoke cache could be compressed, now the same options exist for other physics types too (when using disk cache). For now the default compression option is still "no compression", but if there aren't any problems this can be set to "light compression" as it's actually faster than no compression in most cases since there's less data to write to the disk. Based on quick tests heavy compression can reduce the file size down to 1/3rd of the original size, but is really slow compared to other options, so it should be used only if file size is critical!
* The pointcache code wasn't really 64bit compatible (for disk cache) until now, so this update should fix some crashes on 64bit builds too. Now all integer data that's saved to disk uses 32 bit unsigned integers, so simulations done on 64bit should load fine on 32bit machines and vice versa. (Important disk cache simulations made on 64bit builds should be converted to memory cache in a revision before this commit).
* There are also the beginnings of extradata handling code in pointcache in anticipation of adding the dynamic springs for particle fluids (the springs need to be stored as extradata into point cache).
* Particles were being read from the cache with a slightly wrong framerate. In most cases this probably wasn't noticeable, but none the less the code is now correct in every way.
* Small other fixes here and there & some cosmetic changes to cache panel, but over all there should be no functional changes other than the new disk cache compression options.
* This whole re-organization also seems to fix bug #25436 and hopefully shouldn't introduce any new ones!
------------------------------------------------------------------------
r33995 | campbellbarton | 2011-01-02 06:16:19 +0200 (Sun, 02 Jan 2011) | 3 lines

bugreport & fix [#25441] Copy Transforms Constraint head/tail fixin'
from Dan Eicher (dna)

------------------------------------------------------------------------
r33994 | jhk | 2011-01-02 05:55:26 +0200 (Sun, 02 Jan 2011) | 4 lines

Fix for [#25427] cloth or soft body crash un Undo
* Argh my bad, sorry about this!
* Now only the actual data array is saved to avoid constant re-allocations, but no relations to active data are kept.
* Also reverted Ton's quick fix for the crash as it's not needed anymore.
------------------------------------------------------------------------
r33993 | campbellbarton | 2011-01-02 04:48:45 +0200 (Sun, 02 Jan 2011) | 5 lines

report & fix [#25447] SceneObjects null pointer dereference crash
from Dan Eicher (dna)

noticed sequence swap also wasn't checking for None.

------------------------------------------------------------------------
r33992 | campbellbarton | 2011-01-02 04:11:38 +0200 (Sun, 02 Jan 2011) | 19 lines

geometry module
- rename functions from camel case.
- added docs for undocumented methods.
- minor functional changes with exceptions and accepting 3d/4d vectors where it makes no difference.

Renamed:
 - geometry.Intersect -> intersect_ray_tri
 - geometry.ClosestPointOnLine -> intersect_point_line
 - geometry.PointInTriangle2D -> intersect_point_tri_2d
 - geometry.PointInQuad2D -> intersect_point_quad_2d
 - geometry.LineIntersect -> intersect_line_line
 - geometry.LineIntersect2D -> intersect_line_line_2d
 - geometry.BezierInterp -> interpolate_bezier
 - geometry.TriangleArea -> area_tri
 - geometry.QuadNormal, TriangleNormal -> normal
 - geometry.PolyFill -> tesselate_polygon
 - geometry.BoxPack2D -> box_pack_2d
 - geometry.BarycentricTransform -> barycentric_transform

------------------------------------------------------------------------
r33991 | campbellbarton | 2011-01-02 01:53:48 +0200 (Sun, 02 Jan 2011) | 2 lines

removing epydocs for mathutils and geometry mododules (now they are in sphinx)

------------------------------------------------------------------------
r33990 | damien78 | 2011-01-01 21:48:14 +0200 (Sat, 01 Jan 2011) | 1 line

Fix [#25442]: (Ghost Cocoa) Add missing initialization of associated object pointer when switching to/from fullscreen.
------------------------------------------------------------------------
r33989 | ton | 2011-01-01 19:52:06 +0200 (Sat, 01 Jan 2011) | 6 lines

Bugfix #25445

CTRL+R loopcut now shows header print with instructions.
User report was that Blender was freezing :)


------------------------------------------------------------------------
r33988 | ton | 2011-01-01 17:49:25 +0200 (Sat, 01 Jan 2011) | 4 lines

For non-gnu compilers, the __func__ doesn't exist.
Fix for commit of 2 hours ago.


------------------------------------------------------------------------
r33987 | ton | 2011-01-01 17:28:21 +0200 (Sat, 01 Jan 2011) | 7 lines

Bugfix, IRC report

Floor constraint didn't work: the defines for the enums were using
the wrong ones, the right ones are not logical... but code and dna
and old files assume these. Now it works :)


------------------------------------------------------------------------
r33986 | ton | 2011-01-01 15:49:22 +0200 (Sat, 01 Jan 2011) | 21 lines

Bugfix #25437

Crash in Bezier animation (inserting keys on control points in
curve object). The animation rna paths were not fixed after an
editmode session, which got fixed 2 weeks ago, but for all older
binaries the issue can still pop up.

The crash happened because the RNA array-itterator was not doing
a boundary check, even whilst the array size was passed on to the
itterator callbacks. With rna then writing far outside of valid
memory, very bad and unpredictable corruptions happen.

I've added a range check now, and a decent print to denote the
issue. An assert quit is useless, since a tab-tab on curve objects
will fix the channels nicely.

Example of warning print:
Array itterator out of range: Spline_bezier_points_lookup_int (index 30 range 2)



------------------------------------------------------------------------
r33985 | campbellbarton | 2011-01-01 15:20:35 +0200 (Sat, 01 Jan 2011) | 2 lines

BVH Importing native order eulers was broken, simplify conversion between rotation orders.

------------------------------------------------------------------------
r33984 | campbellbarton | 2011-01-01 12:38:28 +0200 (Sat, 01 Jan 2011) | 5 lines

bvh export
- write compatible eulers (no jumping as eulers change).
- write FPS.
- correct poll function incase bvh export is called without an armature.

------------------------------------------------------------------------
r33983 | campbellbarton | 2011-01-01 11:44:13 +0200 (Sat, 01 Jan 2011) | 2 lines

added bvh export operator & menu item, now user accessible.

------------------------------------------------------------------------
r33982 | campbellbarton | 2011-01-01 10:57:09 +0200 (Sat, 01 Jan 2011) | 2 lines

bvh export now works correctly with matrix multiplications and rad -> deg.

------------------------------------------------------------------------
r33981 | campbellbarton | 2011-01-01 10:44:17 +0200 (Sat, 01 Jan 2011) | 2 lines

pep8 cleanup

------------------------------------------------------------------------
r33980 | campbellbarton | 2011-01-01 10:35:38 +0200 (Sat, 01 Jan 2011) | 2 lines

initial 2.5x port, still need to fix up matrix multiplication orders.

------------------------------------------------------------------------
r33979 | campbellbarton | 2011-01-01 09:26:02 +0200 (Sat, 01 Jan 2011) | 2 lines

committing 2.4x bvh exporter, updating to 2.5x.

------------------------------------------------------------------------
r33978 | campbellbarton | 2011-01-01 09:20:34 +0200 (Sat, 01 Jan 2011) | 2 lines

pep8 cleanup

------------------------------------------------------------------------
r33974 | schlaile | 2011-01-01 00:44:17 +0200 (Sat, 01 Jan 2011) | 5 lines

== Sequencer ==

Made anim_start / anim_endofs editable again within UI.


------------------------------------------------------------------------
r33973 | gsrb3d | 2010-12-31 22:01:38 +0200 (Fri, 31 Dec 2010) | 2 lines

Silence more compiler warnings.

------------------------------------------------------------------------
r33972 | campbellbarton | 2010-12-31 17:09:05 +0200 (Fri, 31 Dec 2010) | 2 lines

update UI introspect function & man page

------------------------------------------------------------------------
r33971 | ton | 2010-12-31 14:37:30 +0200 (Fri, 31 Dec 2010) | 12 lines

Bugfix #25427

Serious *bad* crash in undo introduced by commit Janne dec 21st.

Time window now stores some kind of cache for fluids/cloth, but
it's pointing (in SpaceTime) to data inside Objects. (Not ID).

That's really not allowed... this commit fixes crashes but the
cache code really needs to be redesigned. I'm also afraid this
crash is going to frustrate everyone using physics...


------------------------------------------------------------------------
r33970 | blendix | 2010-12-31 13:55:11 +0200 (Fri, 31 Dec 2010) | 4 lines

Fix crash on load with a particular startup.blend, don't know how to redo
creating it, but this should be set to NULL on read.


------------------------------------------------------------------------
r33969 | campbellbarton | 2010-12-31 13:51:00 +0200 (Fri, 31 Dec 2010) | 4 lines

fix [#25429] Armature modifier and inverted vertex group
- the invert flag was only being used for multi-modifier, but there is no reason not to use this in normal cases as well.
- Armature modifier RNA name 'vertex_group' was incorrectly named 'vertex_group_multi_modifier' (own fault), confusion was caused by 'invert_vertex_group_multi_modifier' which was correct.

------------------------------------------------------------------------
r33968 | moguri | 2010-12-31 12:56:06 +0200 (Fri, 31 Dec 2010) | 1 line

Fixing a crash on exit when using the Blenderplayer on win32. When free_blender() was freeing main, main was garbage since the blend file data was already freed. So, I just replaced free_blender) with IMB_exit() and free_nodesystem(). Using free_blender() worked when I was in Linux running tests. That or I'm just gong crazy. ;)
------------------------------------------------------------------------
r33967 | campbellbarton | 2010-12-31 12:42:31 +0200 (Fri, 31 Dec 2010) | 2 lines

armature recalc roll now works properly with mirror enabled.

------------------------------------------------------------------------
r33966 | campbellbarton | 2010-12-31 12:24:40 +0200 (Fri, 31 Dec 2010) | 5 lines

alternative fix [#25178] Switch Direction operator for bones doesn't update mirrored bones when X-Axis Mirror is enabled

- only temporarily adjust the selection, then de-select.
- fix applies to bone merge too.

------------------------------------------------------------------------
r33965 | campbellbarton | 2010-12-31 08:24:52 +0200 (Fri, 31 Dec 2010) | 4 lines

revert a small change from Ton's commit from r33637.
Having edit operations select the mirrored bones means you cant so easily continue editing on one side of the armature.
This is also inconsistent with other mirror editing operations in armature and mesh modes which don't adjust selection like this.

------------------------------------------------------------------------
r33964 | campbellbarton | 2010-12-31 07:40:30 +0200 (Fri, 31 Dec 2010) | 2 lines

update python api with changes from Joshua's commit r33917. translate reports into python errors.

------------------------------------------------------------------------
r33963 | campbellbarton | 2010-12-31 06:48:56 +0200 (Fri, 31 Dec 2010) | 6 lines

reverting part of Ton's commit r33911.
The bug was 'write_still' was incorrectly being initialized to 'view_context'.

'write_still' should always write an image, so failing silently here is bad behavior.
Also, opengl render and internal render engine operator should use this option the same way.

------------------------------------------------------------------------
r33962 | campbellbarton | 2010-12-31 06:29:11 +0200 (Fri, 31 Dec 2010) | 3 lines

CMake: use blender_include_dirs("${OPENGL_INCLUDE_DIR}") rather then blender_include_dirs(${OPENGL_INCLUDE_DIR})
Apparently this is needed for MSVC in some cases, reported by Tamito Kajiyama r33895.

------------------------------------------------------------------------
r33961 | campbellbarton | 2010-12-31 06:12:20 +0200 (Fri, 31 Dec 2010) | 6 lines

Continue from my commit r33952, which disallowed floats to be wrapped as ints.
this missed some cases, now also disallow ints to be wrapped as floats.

This commit also exposed a number of cases where ints/floats were incorrectly wrapped.
Bugs like [#25416] wont slip through the cracks anymore.

------------------------------------------------------------------------
r33960 | aligorith | 2010-12-31 06:09:15 +0200 (Fri, 31 Dec 2010) | 17 lines

Bugfix [#25414] Entering a newline before a : still indents it

Fixed by patch attached by submitter. Cheers Jacob F (racoon)!
<quote>
If you write something like...

def do_something:

...and press return it makes the new line with a tab which is good,
but if you want to move the def line down to make room above it by
pressing return while your caret is at the start of the line it
indents the new line which has the def statement on it.

Attached patch just checks if it's checking for a colon after the
caret and returns if it is.
</quote>

------------------------------------------------------------------------
r33959 | aligorith | 2010-12-31 05:54:28 +0200 (Fri, 31 Dec 2010) | 6 lines

Bugfix [#25420] Sequencer View Zoom operator hidden

"Numpad 1" shortcut to set preview view zoom to 1:1 (i.e. 100%) did
not exist in View menu. While investigating this, I found that the
operator was missing a description/tooltip, so added one too.

------------------------------------------------------------------------
r33958 | aligorith | 2010-12-31 05:35:34 +0200 (Fri, 31 Dec 2010) | 9 lines

Bugfix [#25415] Circle Selection does not work on bones in Pose mode

Clobbered together some new code to do this based on the code for Edit
Bone circle select as this case doesn't seem to have been implemented
yet.

NOTE: the code in view3d_select.c needs some urgent love and tidying
up (like a room full of flaking paint).

------------------------------------------------------------------------
r33957 | dingto | 2010-12-30 23:46:09 +0200 (Thu, 30 Dec 2010) | 1 line

Bugfix for [#25416] Precision in glare node doesn't match display.
------------------------------------------------------------------------
r33954 | ton | 2010-12-30 16:47:40 +0200 (Thu, 30 Dec 2010) | 7 lines

Bugfix #25407

Lamp shadows for offscreen render (opengl anim) had to be remade
to cope with animated objects. Fix proved by Alexander Kuznetsov
in the tracker log. Thanks!


------------------------------------------------------------------------
r33953 | dingto | 2010-12-30 15:02:48 +0200 (Thu, 30 Dec 2010) | 1 line

Porting URL fixes for Release Logs from Tag to Trunk.
------------------------------------------------------------------------
r33952 | campbellbarton | 2010-12-30 14:50:44 +0200 (Thu, 30 Dec 2010) | 4 lines

Fix for bug #25367 didn't ensure the problem wasn't happening elsewhere.

add a check in makesrna, found FollowPathConstraint.offset was a float wrapped as an int.

------------------------------------------------------------------------
r33951 | campbellbarton | 2010-12-30 14:22:28 +0200 (Thu, 30 Dec 2010) | 4 lines

revert part of Tons commit r33884.
- rather then use unlink="None", just don't pass unlink as a keyword. This is more pythonic.
- added an RNA flag for properties which cant be unlinked by setting to None.

------------------------------------------------------------------------
r33950 | dingto | 2010-12-30 13:35:56 +0200 (Thu, 30 Dec 2010) | 2 lines

Some small cosmetic fixes for readme.html. If it still gets into release, fine, otherwise no problem.

------------------------------------------------------------------------
r33945 | aligorith | 2010-12-30 07:47:34 +0200 (Thu, 30 Dec 2010) | 2 lines

Doh!

------------------------------------------------------------------------
r33944 | aligorith | 2010-12-30 07:41:17 +0200 (Thu, 30 Dec 2010) | 2 lines

Various pedantic fixes to satisfy compilers.

------------------------------------------------------------------------
r33943 | gsrb3d | 2010-12-29 21:50:08 +0200 (Wed, 29 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33942 | ton | 2010-12-29 21:05:58 +0200 (Wed, 29 Dec 2010) | 4 lines

Part two of 2.56 beta, VERSION for make and splash itself.
(prvicon png was already commited as datatoc)


------------------------------------------------------------------------
r33941 | ton | 2010-12-29 21:05:00 +0200 (Wed, 29 Dec 2010) | 4 lines

Part one of 2.56-beta release commit
(Splash picked by Durian team to honour team Argentina!)


------------------------------------------------------------------------
r33940 | theeth | 2010-12-29 20:34:43 +0200 (Wed, 29 Dec 2010) | 5 lines

netrender

Bugfix for job cancellation (reported by Carsten in email)
Ended up recoding part of the communication pipe (use json more consistently)
Fix bpy data modifications where it shouldn't happen (as a bonus, thumbnailing is now done out of process)
------------------------------------------------------------------------
r33939 | ton | 2010-12-29 20:21:57 +0200 (Wed, 29 Dec 2010) | 7 lines

Bugfix #25404

Frame Mapping (map old, map new) didn't set the the framelen
variable. Note that this feature is half-working, and on the
to. Might be removed/replaced with something better.


------------------------------------------------------------------------
r33937 | aligorith | 2010-12-29 14:52:06 +0200 (Wed, 29 Dec 2010) | 11 lines

DopeSheet Drawing Tweak:

Keyframes for locked channels are now shown faintly so that it is
possible to easily distinguish between keyframes for locked channels
and unlocked channels. Hopefully this solves the problem where you
have some keyframes selected, and try to move them but forget that
those channels are locked (without any feedback other than a single
icon).

Thanks for pointing out this problem Ronan Zeegers!

------------------------------------------------------------------------
r33936 | aligorith | 2010-12-29 14:27:03 +0200 (Wed, 29 Dec 2010) | 2 lines

Silencing some compiler warnings (gcc)

------------------------------------------------------------------------
r33935 | aligorith | 2010-12-29 14:18:59 +0200 (Wed, 29 Dec 2010) | 11 lines

Bugfix [#24163] (PART 2) Unable to animate INSIDE a group node in the
compositor

Now ungrouping grouped-nodes copies the animation back to the main
nodetree. This means that it is now possible to successfully roundtrip
group/un-group nodes and their animation data.

---

This should also be done for the Separate Armature operator... hmm...

------------------------------------------------------------------------
r33934 | aligorith | 2010-12-29 13:51:53 +0200 (Wed, 29 Dec 2010) | 15 lines

Bugfix [#24163] Unable to animate INSIDE a group node in the
compositor

This commit fixes the original bug reported here by adding some
methods to move the relevant F-Curves (and drivers) over to the new
Node-Tree's (i.e. group-node) AnimData. Animated nodes which
subsequently get grouped will still be able to animate as a result of
this commit.

TODO's:
- Ungrouping now will not yet merge the animation back (or at least
copy it)
- Buttons for nodes freshly grouped do not correctly show animated
status indicators for some reason, yet normal animation does

------------------------------------------------------------------------
r33933 | ton | 2010-12-29 13:34:02 +0200 (Wed, 29 Dec 2010) | 9 lines

Bugfix #25397

Loading a vector font (.ttf) didn't have option for Relative Path
in the file window. Now it does, and it sets it to the default.

Todo note: the actual path is not visible in the UI yet, nor does
outliner RNA view allow to edit path.


------------------------------------------------------------------------
r33931 | aligorith | 2010-12-29 07:20:19 +0200 (Wed, 29 Dec 2010) | 6 lines

Consistency cleanups for AnimData stuff:
Some AnimData looping functions were not updated to take into account
the addition of AnimData for some additional datatypes (i.e. meshes
and lattices) as well as the changes to make nested nodetrees (i.e.
for Material and Texture nodes).

------------------------------------------------------------------------
r33930 | ton | 2010-12-28 19:03:09 +0200 (Tue, 28 Dec 2010) | 15 lines

Bugfix #21825

Auto-IK: applying back the IK transform on bones fails for constrainted
bones themselves. This would require the post-transform of IK to be
converted to a pre-transform for the constraint. That's too much of
a headache for bugfixing days.

To keep the autoIK feature work it now stops IK chains at constrainted
bones. Added todo item for a matrix wizzard to fix this one day.

(What would be really cool is a matrix-api for armature to easily
get all the required pre- and post transforms and apply. There's a lot
of duplicate exception handling for hinge bones for example.)


------------------------------------------------------------------------
r33929 | ton | 2010-12-28 18:02:47 +0200 (Tue, 28 Dec 2010) | 10 lines

Bugfix #25395

Mesh "Add grid" was quite broken:
- it added an edge to a previous (not selected) vertex
- it ignored cursor location
- and it didn't use 'align to view'

Now it does behave :)


------------------------------------------------------------------------
r33928 | jesterking | 2010-12-28 15:03:38 +0200 (Tue, 28 Dec 2010) | 6 lines

Fix [#24630] alt+shift+LMB dragging does not work
Reported by Nils Austa

There was double handling of modifier keys. With my autumn work on the modifier keys I had moved state checks for
modifier keys into convertKey(), but left the call to handleModifierKeys. That caused problems with proper
modifier key handling in the entire key handling code of GHOST.
------------------------------------------------------------------------
r33927 | ton | 2010-12-28 13:56:18 +0200 (Tue, 28 Dec 2010) | 12 lines

Bugfix, irc report.

UI name buttons with Search callback show red when item couldn't be
found. The check was too simple though, since the searches also find
partial matches. This caused KeyingSet browse to show red for "RotScale".

Now 10 matches are stored, and each match is being checked. Still a
bit weak for cases with more than 10 matches, but in that case it
won't show red-alert.



------------------------------------------------------------------------
r33926 | aligorith | 2010-12-28 13:52:35 +0200 (Tue, 28 Dec 2010) | 6 lines

TimeLine UI:

Reshuffling order of "sync" and "Auto-Keying" buttons so that they are
grouped more appropriately. Hopefully this isn't too much of a muscle-
memory breaker...

------------------------------------------------------------------------
r33925 | aligorith | 2010-12-28 13:50:10 +0200 (Tue, 28 Dec 2010) | 4 lines

- Typo fixes
- Visual Location Keying Set was still using the old-style flag
defines

------------------------------------------------------------------------
r33924 | ton | 2010-12-28 13:01:26 +0200 (Tue, 28 Dec 2010) | 6 lines

Bugfix: creating new 3d views in Blender now uses same defaults
as startup blend: showing solid + outline selection.

(It was wire, without outline select... confused people)


------------------------------------------------------------------------
r33923 | ton | 2010-12-28 12:39:27 +0200 (Tue, 28 Dec 2010) | 10 lines

Bugreport, IRC

Compositor: "Read & Compo Full Sample Buffers" option stopped after
1 pass; the break callback was returning '1' falsely.

Also made it show "wait cursor" again, since it doesn't run in
thread nor updates UI while compositing buffers. Check console for
progress for now.


------------------------------------------------------------------------
r33919 | aligorith | 2010-12-28 08:24:01 +0200 (Tue, 28 Dec 2010) | 3 lines

Assorted commenting, formatting, and compiler warning fixes for
keyframe pasting code

------------------------------------------------------------------------
r33918 | aligorith | 2010-12-28 08:18:56 +0200 (Tue, 28 Dec 2010) | 8 lines

- Silencing some gcc warnings (yay! I can finally use this setup
again)
- Graph Editor "Active Keyframe" panel now displays more descriptive
error messages. In particular, hopefully this helps to alert users of
the default generator modifier for Driver F-Curves
- The first F-Modifier added to a list is now set to be active one for
that list.

------------------------------------------------------------------------
r33917 | aligorith | 2010-12-28 07:45:15 +0200 (Tue, 28 Dec 2010) | 17 lines

Drivers Code Cleanups and UI Tweaks:
- Adding drivers from the UI (not from py-scripts though) will now
automatically add a "Transform Channel" driver variable to the newly
created drivers. This makes setting up drivers a bit more convenient
for the most commonly used case.

- Drivers now report their errors using the Reports system instead of
writing these directly to the console.

- Clarified some comments to be more insightful about the "why's" of
some design decisions, and related formatting/cleanup tweaks
- Reduced scope of "path" vars to just the scope they're required in

- Removed some unused defines from a failed experiment in the original
Keying Sets code ("templates" and "template flags") which was
superseeded by the more flexible + nicer "Builtin KeyingSets"

------------------------------------------------------------------------
r33916 | moguri | 2010-12-27 23:58:07 +0200 (Mon, 27 Dec 2010) | 1 line

stubs update for multitex_ext_safe
------------------------------------------------------------------------
r33914 | theeth | 2010-12-27 21:48:45 +0200 (Mon, 27 Dec 2010) | 2 lines

netrender
adjust dependency calculations for cache files of smoke simulations (no more separate paths for low and high). That was changed a while ago in the api, just didn't update yet.
------------------------------------------------------------------------
r33912 | ton | 2010-12-27 21:26:38 +0200 (Mon, 27 Dec 2010) | 11 lines

Bugfix #25392

Compositor: Texture node didn't use texture-nodes itself.
Now composites initialize texture nodes correctly.

Also reviewed the fix for crashing texture nodes for displace.
It appears texture nodes also are used for sculpt/paint
brushes, in these cases it can be allowed again. But, don't
do this during rendering for now!


------------------------------------------------------------------------
r33911 | ton | 2010-12-27 20:54:43 +0200 (Mon, 27 Dec 2010) | 12 lines

Small fixes:

- OpenGL still render failed when output format was set to Movie.
  Now it just doesn't save a file and renders anyway.
- Bone heat weight was missing 'wait cursor'.
- Waitcursor for Mac Cocoa is back! Made all OS's use the same
  nice hourglass cursor.

(Note: this violates Mac UI guidelines, we should rely on the
spinning wheel of death instead. Highly disputable that.)


------------------------------------------------------------------------
r33910 | theeth | 2010-12-27 20:53:34 +0200 (Mon, 27 Dec 2010) | 3 lines

[#25210] Netrender failed and produce ghost slaves

Error when prefixing relative path (probably copy paste error)
------------------------------------------------------------------------
r33909 | ton | 2010-12-27 20:00:35 +0200 (Mon, 27 Dec 2010) | 6 lines

Usability fix:

OpenGL render now first opens render window.
It used to render first, save file, and then open window to show result.


------------------------------------------------------------------------
r33908 | jesterking | 2010-12-27 14:42:51 +0200 (Mon, 27 Dec 2010) | 6 lines

By default install to the user profile instead of Program Files. This because right now the installer
runs in user mode, not elevated to admin. Otherwise users can't install to the default which used to
be Program Files, which causes more problems than necessary. Although unconventional location, probably
currently a better solution.

Network admins etc. can override install location on command-line. NSIS docs tell how.
------------------------------------------------------------------------
r33907 | jesterking | 2010-12-27 14:20:56 +0200 (Mon, 27 Dec 2010) | 1 line

Run installer with user level permission by default.
------------------------------------------------------------------------
r33906 | dingto | 2010-12-27 14:12:43 +0200 (Mon, 27 Dec 2010) | 3 lines

Fix for own commit 24156:
Normal Map bool and the normal_space menu are only used for material based textures, not for textures used by lamp/world etc. Accidentally ported this over from 2.49, where these buttons are drawn even they don't work in that context.

------------------------------------------------------------------------
r33904 | nexyon | 2010-12-27 13:32:43 +0200 (Mon, 27 Dec 2010) | 2 lines

Fix for blender crashing when starting playback with audio without being able to open the audio file.

------------------------------------------------------------------------
r33903 | ton | 2010-12-27 13:05:01 +0200 (Mon, 27 Dec 2010) | 4 lines

Removing the not-working test "Submit description" from RMB
menu on buttons.


------------------------------------------------------------------------
r33901 | jesterking | 2010-12-27 11:56:05 +0200 (Mon, 27 Dec 2010) | 3 lines

Workaround for [#25279] Shift-Numpad combinations fail to align view to selected.

On Windows shift+numpad triggers extra ctrl event, making this fail. For now, use Alt as modifier on Windows (other platforms remain with Shift).
------------------------------------------------------------------------
r33900 | ton | 2010-12-27 11:43:22 +0200 (Mon, 27 Dec 2010) | 11 lines

Bug report #25384

Node editor
Some nodes - when muted - didn't draw a red line to indicate
a pass-on action. Stil, the node then is muted and either passes
on a buffer of same type, or just black.

To more clearly indicate muting, it now draws the header in a
reddish blended color too.


------------------------------------------------------------------------
r33899 | jesterking | 2010-12-27 11:33:32 +0200 (Mon, 27 Dec 2010) | 1 line

Work around cmake error on Windows.
------------------------------------------------------------------------
r33896 | jesterking | 2010-12-27 11:01:57 +0200 (Mon, 27 Dec 2010) | 2 lines

Compiling and linking blenderplayer statically now works too. This brings it in line with blender linking line.
Small patch by Sergey Sharybin
------------------------------------------------------------------------
r33894 | ton | 2010-12-26 19:47:17 +0200 (Sun, 26 Dec 2010) | 10 lines

Bugfix #24966

Hair render: using strand "Blender Unit" size didn't correctly
clip for larger/wider strands. Now code clips strands based
on the maximum width.

Also found bad code for using clipping flags, which was mixed up,
and probably caused hair strands to be missing in cases.


------------------------------------------------------------------------
r33893 | nazgul | 2010-12-26 15:01:02 +0200 (Sun, 26 Dec 2010) | 5 lines

Fix for IRC reported bug from lmg:
VBO enabled, GLSL shading and bevel modifier leads to crash when entering edit mode

Bevel modifier doe not support remapping still, so added check about original index
in cdDM_drawFacesTex_common. Now it works like VBO-less drawing for that special case.
------------------------------------------------------------------------
r33892 | aligorith | 2010-12-26 12:40:50 +0200 (Sun, 26 Dec 2010) | 2 lines

Bugfix [#25383] Drag&Drop .py file into text editor don't load it.

------------------------------------------------------------------------
r33891 | aligorith | 2010-12-26 12:36:02 +0200 (Sun, 26 Dec 2010) | 7 lines

Bugfix [#25380] Recorded bone keyframes do not play back both in the
action editor and the NLA editor

This commit fixes the situation where if a NLA Track was on 'solo'
mode and then deleted, NLA evaluation (including Active Action) would
stop working as a flag wasn't getting cleared.

------------------------------------------------------------------------
r33890 | nazgul | 2010-12-26 12:34:09 +0200 (Sun, 26 Dec 2010) | 6 lines

Fix #25375: Vertical numbers in F-Curve Editor out-of-alignment with grid

Issue caused because previously sliders used a separate mask and now they're
drawing inside of region.

Thanks to AlexKu for point and Ton for checking :)
------------------------------------------------------------------------
r33889 | ton | 2010-12-24 18:45:04 +0200 (Fri, 24 Dec 2010) | 6 lines

Bugfix #25366

Keyframe "Insert Visual" ignored new constraint type "Transform Like".



------------------------------------------------------------------------
r33888 | ton | 2010-12-24 17:30:13 +0200 (Fri, 24 Dec 2010) | 13 lines

Bugfix #25371

Sculpt: brush type "Grab" with option "Frontface only" was flipping
back and forth when grabbing outside of original brush area.

Reason: it was calling a function that used deformed coordinates
for getting normal, clipped by brush area. Now it uses original
coordinates, so it always finds normal.

Nicholas can determine better if tag "cache->original" should be
set as default for this brush type, this far I don't dare to go :)


------------------------------------------------------------------------
r33887 | ton | 2010-12-24 15:24:26 +0200 (Fri, 24 Dec 2010) | 7 lines

Bugfix #25357

Having 2 windows open, rendering to image editor, activate other
window and press F11 -> UI went haywire. Simple fix prevents
render output to be closed in this case.


------------------------------------------------------------------------
r33886 | ton | 2010-12-24 14:50:07 +0200 (Fri, 24 Dec 2010) | 6 lines

Bugfix: (Mario Kishalmi patch)

Edge slide bug: when multiple vertical subdivisions exist, the UVs for
a slide or loopcut-slide operation were wrong.


------------------------------------------------------------------------
r33885 | ton | 2010-12-24 13:27:34 +0200 (Fri, 24 Dec 2010) | 7 lines

Bugfix #25367

Several Softbody int variables were accidentally RNA-ified as
float values. Didn't cause harm, but UI worked weird then,
cutting off the precision.


------------------------------------------------------------------------
r33884 | ton | 2010-12-24 12:15:57 +0200 (Fri, 24 Dec 2010) | 10 lines

Bugfix #25365

Property buttons: the "ID template" allowed to unlink data from object,
like Mesh or Curve etc, which is not supported. Button now is hidden.
Thanks Dan Eicher for patch.

Also: improved tooltip for 'data browse'. It was generic, now it gives
specific per-type information.


------------------------------------------------------------------------
r33883 | campbellbarton | 2010-12-24 09:46:40 +0200 (Fri, 24 Dec 2010) | 7 lines

presets for operators, re-using same preset system as render, cloth etc use.
- operators need to enable the option OPTYPE_PRESET or 'PRESET' in python.
- hidden properties are not written.
- currently this only works in the file selector (enabled for FBX/OBJ export)
- currently the menu label doesnt change when presets are selected, this is a TODO, not so simple since the UI is defined in C and the label in python.
- presets save in "scripts/presets/operators/*id*/*.py"

------------------------------------------------------------------------
r33882 | campbellbarton | 2010-12-24 09:30:15 +0200 (Fri, 24 Dec 2010) | 2 lines

is_hidden property for rna introspection

------------------------------------------------------------------------
r33881 | campbellbarton | 2010-12-24 06:27:21 +0200 (Fri, 24 Dec 2010) | 4 lines

bugfix [#25364] Export to X3D generates objects with black color
was dividing color by 255 when it was already from 0-1.
also use slicing for getting tuples from vectors & colors.

------------------------------------------------------------------------
r33880 | campbellbarton | 2010-12-24 06:24:33 +0200 (Fri, 24 Dec 2010) | 3 lines

use slicing for exporters for some speedup, no functional change.
3ds also uses non tuple __slots__ and had unused default values for some classes.

------------------------------------------------------------------------
r33879 | campbellbarton | 2010-12-24 06:21:05 +0200 (Fri, 24 Dec 2010) | 2 lines

fix for exporting OBJ, materials when no world was set. also use slicing to get tuples.

------------------------------------------------------------------------
r33878 | campbellbarton | 2010-12-24 05:51:34 +0200 (Fri, 24 Dec 2010) | 4 lines

return typle for mathutils slice's.
The main advantage with this is that its close to twice as fast to do 'vertex.co[:]' then 'tuple(vertex.co)', this is common for writing a vertex array.
the correct python behavior in this case is to return a copy of the original type, however euler and quats don't support different sizes so we cant do so easily.

------------------------------------------------------------------------
r33877 | ton | 2010-12-23 19:47:06 +0200 (Thu, 23 Dec 2010) | 5 lines

Customdata mask recode caused crashes, sloppy work here, but probably
caused by Campbell using too much Python. In C code you really need
{ and } for multiline if's. :)


------------------------------------------------------------------------
r33876 | ton | 2010-12-23 15:16:56 +0200 (Thu, 23 Dec 2010) | 21 lines

Bugfix #25341

Child-of constraint issue: on adding, it wasn't checking owner
correctly for Bones, resulting in a constraint working in wrong
space; it looked as if transform was applied double when moving
the object. Only adding via Py API went wrong btw.

Also found a silly check for drawing constraints, which caused
constraint initialization to happen for every object on every
redraw!

Implementation note: con->flag CONSTRAINT_SPACEONCE was only used
for child-of constraints in Bones, so I've patched it on file
reading to always set the flag. Marked with XXX, so it can be
removed one day. Now at least things get corrected well for
imported armatures.





------------------------------------------------------------------------
r33875 | ton | 2010-12-23 12:34:37 +0200 (Thu, 23 Dec 2010) | 7 lines

Bug #25354

In some cases, a LMB-drag was drawing a stippled line. Leftover of
WIP code for support of gestures in Blender.
Disabled drawing for now, until gestures is back in control.


------------------------------------------------------------------------
r33874 | campbellbarton | 2010-12-23 11:42:00 +0200 (Thu, 23 Dec 2010) | 2 lines

Make FBX export respect use_deform bone option

------------------------------------------------------------------------
r33870 | campbellbarton | 2010-12-23 06:26:53 +0200 (Thu, 23 Dec 2010) | 2 lines

remove View3D.customdata_mask, since its stored in the scene now there is no need for each view to store every views combine data mask.

------------------------------------------------------------------------
r33869 | campbellbarton | 2010-12-23 06:16:31 +0200 (Thu, 23 Dec 2010) | 9 lines

Fix for multiple modifier stack calculations per frame.

Since 2.5x blender has been using CD_MASK_BAREMESH for updating objects since object_handle_update() no longer has access to G.curscreen to calculate the mask from viewports.

The problem with this is after an initial calculation, CD_MASK_MTFACE may be required on draw, so it would recalculate the modifier stack multiple times per frame.
One case which caused this is armature animated mesh with texface in a dupligroup.

Fix this by having customdata_mask member in the scene, this isn't great design but at least fixes the bug and only changes a few files.

------------------------------------------------------------------------
r33868 | campbellbarton | 2010-12-23 04:43:40 +0200 (Thu, 23 Dec 2010) | 4 lines

use ICON_NULL define rather then 0, makes UI calls less confusing. (no functional change)
 eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);


------------------------------------------------------------------------
r33866 | campbellbarton | 2010-12-23 02:19:34 +0200 (Thu, 23 Dec 2010) | 2 lines

fix for PyC_LineSpit() finding the current line of the frame's code object.

------------------------------------------------------------------------
r33865 | campbellbarton | 2010-12-23 01:16:45 +0200 (Thu, 23 Dec 2010) | 2 lines

fix [#25353] X3D Export generates AttributeError: 'NoneType' object has no attribute 'texture'

------------------------------------------------------------------------
r33864 | campbellbarton | 2010-12-23 01:09:30 +0200 (Thu, 23 Dec 2010) | 2 lines

rename blenderlib to blender_add_lib

------------------------------------------------------------------------
r33863 | campbellbarton | 2010-12-23 00:54:48 +0200 (Thu, 23 Dec 2010) | 2 lines

remove bullet CMakeLists.txt files, blender uses its own.

------------------------------------------------------------------------
r33862 | gsrb3d | 2010-12-23 00:15:20 +0200 (Thu, 23 Dec 2010) | 3 lines

Compact -I paths in makefiles for more readble files/output.
Also some white space cleaning and removal of redundant parameter.

------------------------------------------------------------------------
r33861 | campbellbarton | 2010-12-22 23:39:48 +0200 (Wed, 22 Dec 2010) | 5 lines

remove reload() from builtins since python3 no longer uses this.
use imp.reload now.

Should use import hooks but for now replace imp.reload with our own reload as the builtin reload was replaced before.

------------------------------------------------------------------------
r33860 | nazgul | 2010-12-22 23:38:06 +0200 (Wed, 22 Dec 2010) | 4 lines

Fixed stupid typo with detecting corners of source mdisp.

Haven't noticed before because destination is a copy of source for now,
so there would be always the same count of corners.
------------------------------------------------------------------------
r33859 | gsrb3d | 2010-12-22 21:20:00 +0200 (Wed, 22 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33858 | ton | 2010-12-22 21:12:00 +0200 (Wed, 22 Dec 2010) | 6 lines

Bugfix #25348

EdgeSlide: cancel didn't refresh UVs in mesh for cancelled
state. Also loopcut suffered this.


------------------------------------------------------------------------
r33857 | ton | 2010-12-22 20:46:54 +0200 (Wed, 22 Dec 2010) | 8 lines

Report #25350

Loopcut check for deformed meshes was far too wide, it even disabled
loopcut on subsurfs.
Now added a check for armature/lattice only, and only give a warning,
not a return from the tool.


------------------------------------------------------------------------
r33856 | mindrones | 2010-12-22 20:43:21 +0200 (Wed, 22 Dec 2010) | 6 lines

== text editor templates ==

- adding template of a add_object addon from Florian Meyer (testscreenings)
- this template is using the new add_utils module in bf-extensions (also from Florian)


------------------------------------------------------------------------
r33855 | ton | 2010-12-22 19:38:08 +0200 (Wed, 22 Dec 2010) | 4 lines

IRC fix: removing material slot from Object didn't refresh 3D correct.
Missing ID tag update.


------------------------------------------------------------------------
r33854 | ton | 2010-12-22 18:44:28 +0200 (Wed, 22 Dec 2010) | 4 lines

Related to previous commit: Custom shapes for Bones now increase user
counter for linked objects.


------------------------------------------------------------------------
r33853 | ton | 2010-12-22 18:33:13 +0200 (Wed, 22 Dec 2010) | 5 lines

Bug fix, IRC, patch provided by Dan Eicher

Custom bone shape link/unlink now respects ID user counting.


------------------------------------------------------------------------
r33852 | nexyon | 2010-12-22 18:07:57 +0200 (Wed, 22 Dec 2010) | 2 lines

Audio: Function to get channel count of a sound, for [#25062] Sound Actuator - Positional Audio.

------------------------------------------------------------------------
r33851 | dfelinto | 2010-12-22 17:10:42 +0200 (Wed, 22 Dec 2010) | 2 lines

svn merge -r 33849:33848 [overcommitted due to the server problems we had early today]

------------------------------------------------------------------------
r33850 | ton | 2010-12-22 16:43:24 +0200 (Wed, 22 Dec 2010) | 13 lines

Bugfix, IRC, textures or displacement on metaballs didnt work.
Commit 32361 from Campbell made quite a silly optimize mistake...

ver->orco= orco+=3;

Which is of course not:

ver->orco= orco; orco+=3;

Triple tsk!



------------------------------------------------------------------------
r33849 | dfelinto | 2010-12-22 16:21:46 +0200 (Wed, 22 Dec 2010) | 4 lines

Complement of commit 33789: Fix for [#25175] bge.logic.mouse.position[1] wrong when using autostart
Porting the fix when Fullscreen flag is on (~ scene.gm->fullscreen)
I still see some issues with that, a difference between width/height. To be addressed later.

------------------------------------------------------------------------
r33848 | dfelinto | 2010-12-22 16:20:22 +0200 (Wed, 22 Dec 2010) | 4 lines

Complement of commit 33789: Fix for [#25175] bge.logic.mouse.position[1] wrong when using autostart
Porting the fix when Fullscreen flag is on (~ scene.gm->fullscreen)
I still see some issues with that, a difference between width/height. To be addressed later.

------------------------------------------------------------------------
r33847 | lmg | 2010-12-22 13:37:56 +0200 (Wed, 22 Dec 2010) | 6 lines

hide the play-reversed button if using JACK + A/V sync
(jack doesn't support reversed playback)

hey team, I'm the new guy.
proud to be on board! =)

------------------------------------------------------------------------
r33846 | nexyon | 2010-12-22 12:51:34 +0200 (Wed, 22 Dec 2010) | 5 lines

Audio:

* Improve Jack Transport responsiveness.
* Added minor error checking to OpenAL.

------------------------------------------------------------------------
r33845 | campbellbarton | 2010-12-22 12:44:31 +0200 (Wed, 22 Dec 2010) | 4 lines

bugfix [#25252] X3D Export does not specify ImageTexture to go with provided TextureCoordinate data

x3d material support is primitive but at least export first image texture found, similar to how texface is treated at the moment.

------------------------------------------------------------------------
r33844 | jhk | 2010-12-22 11:30:13 +0200 (Wed, 22 Dec 2010) | 2 lines

Fix for [#25339] Rendering Fluid's Float Particals cause crash when utilizng raytracing
* Fluidsim particles hadn't really been working at all for who knows how long, even in viewport!
------------------------------------------------------------------------
r33843 | campbellbarton | 2010-12-22 04:28:06 +0200 (Wed, 22 Dec 2010) | 6 lines

bugfix [#25335] crash with file, console told me to report! svn 33836
view rotate precision was lost over time, make view3d rotate normalize rv3d->viewquat.

note, this no longer crashes blender, just prints.
also commented some RegionView3D struct members.

------------------------------------------------------------------------
r33842 | campbellbarton | 2010-12-22 02:30:22 +0200 (Wed, 22 Dec 2010) | 2 lines

bugfix [#25332] X3D export fails to export complete file

------------------------------------------------------------------------
r33841 | jhk | 2010-12-21 22:25:37 +0200 (Tue, 21 Dec 2010) | 2 lines

Better info text for particle edit
* Response to [#25314] Baked Particles point cache can not be editing in Particle Mode if Disk Cache option is enabled.
------------------------------------------------------------------------
r33840 | jhk | 2010-12-21 22:18:43 +0200 (Tue, 21 Dec 2010) | 5 lines

Fix for [#25325] Timeline doesn't show status of baked psys until frame is advanced
* Timeline didn't listen to file read notifier, so the pointcache frames indicator didn't get updated.
* Also added listens to particle & modifier (cloth, sb & smoke) notifiers as changes that cleared a pointcache weren't shown directly in the timeline either.
* The timeline display was also always one frame behind the actual state, since the notifiers are handled before the actual dynamics are calculated.
** This is now fixed too, by creating the actual drawn data always at drawtime.
------------------------------------------------------------------------
r33838 | ton | 2010-12-21 20:55:49 +0200 (Tue, 21 Dec 2010) | 6 lines

Bugfix #25330

3D Window: Snap to cursor or grid, didn't respect the 'restrict location'
options for objects or bones.


------------------------------------------------------------------------
r33837 | ton | 2010-12-21 17:10:09 +0200 (Tue, 21 Dec 2010) | 21 lines

Error/Warning report flipping.

An operator Error throws up a menu, a Warning only a flashy header print.
In mesh editmode the menus for simple failures got very annoying, like
"Already a face" for Fkey on a face.

Proposal is to use warning for contextual failures, like:
- wrong selection
- unsupported combination
- wrong modes

And use errors for cases you really need user attention, for example when
issues are invisble or potentially damaging work.
- Memory failures
- Files not found

List can grow in future :) let's test this for mesh now.
I'll tackle this for other ops later after review.

(Also changed: loopcut disabled when editmode shows deformed result)

------------------------------------------------------------------------
r33836 | nexyon | 2010-12-21 17:10:04 +0200 (Tue, 21 Dec 2010) | 2 lines

Cam missed a replacement in last commit.

------------------------------------------------------------------------
r33835 | campbellbarton | 2010-12-21 16:49:34 +0200 (Tue, 21 Dec 2010) | 4 lines

rename addlisttolist() to BLI_movelisttolist()
name was misleading because the list items were removed from the source list.
(no functional changes)

------------------------------------------------------------------------
r33834 | ton | 2010-12-21 16:08:58 +0200 (Tue, 21 Dec 2010) | 4 lines

Macro Operators now pass on reports to the Mother Op!
(errors for macros were not shown)


------------------------------------------------------------------------
r33833 | campbellbarton | 2010-12-21 13:40:12 +0200 (Tue, 21 Dec 2010) | 2 lines

bugfix [#24469] Cannot add keyframes on custom properties in IDPropertyGroups

------------------------------------------------------------------------
r33832 | jesterking | 2010-12-21 12:43:47 +0200 (Tue, 21 Dec 2010) | 5 lines

Fix [#24359] Collada: end bone zero size, mysterious extra empty
Reported by Thomas Larsson
Fix by Jeroen Bakker

Fix max length of leaf bone and remove empty.
------------------------------------------------------------------------
r33831 | jesterking | 2010-12-21 11:41:02 +0200 (Tue, 21 Dec 2010) | 5 lines

Fix [#25319] COLLADA import segfaults on maya model
Reported by Michael Williamson
Fixed by Jeroen Bakker

Wrong UV index was being used.
------------------------------------------------------------------------
r33830 | moguri | 2010-12-21 09:35:13 +0200 (Tue, 21 Dec 2010) | 1 line

Fixing a segfault from my last commit. Make sure we have a list before trying to clear it.
------------------------------------------------------------------------
r33829 | moguri | 2010-12-21 08:58:44 +0200 (Tue, 21 Dec 2010) | 1 line

Plugging up some memory leaks in the Blenderplayer that I found with valgrind
------------------------------------------------------------------------
r33827 | campbellbarton | 2010-12-21 06:55:46 +0200 (Tue, 21 Dec 2010) | 2 lines

better make_quiet.sh filter with threaded builds.

------------------------------------------------------------------------
r33826 | campbellbarton | 2010-12-21 05:32:51 +0200 (Tue, 21 Dec 2010) | 3 lines

fix for cmake flag detection, was not caching the resulting variable so the test ran each time.
also cache SSE, SSE2 checks.

------------------------------------------------------------------------
r33825 | jesterking | 2010-12-21 02:21:42 +0200 (Tue, 21 Dec 2010) | 3 lines

Workaround for blenderplayer not linking on linux with scons.

Maybe as a next big, uncool project would be: solve bad level calls.
------------------------------------------------------------------------
r33824 | campbellbarton | 2010-12-21 01:26:29 +0200 (Tue, 21 Dec 2010) | 6 lines

modified fix for commits r33811, 33812.

- SSS Presets were not working on pinned materials.
- added ability for save-presets to define variables to stop them becoming too verbose.
- remove object.active_node_material

------------------------------------------------------------------------
r33823 | campbellbarton | 2010-12-21 01:21:33 +0200 (Tue, 21 Dec 2010) | 2 lines

use uppercase for axis chars, used in BLI_math and other parts of blender.

------------------------------------------------------------------------
r33822 | nazgul | 2010-12-20 21:47:16 +0200 (Mon, 20 Dec 2010) | 12 lines

Fix #25315: Curve points keyframe changes made in edit mode get lost

ED_curve_updateAnimPaths now updates fcurves from animation data rather than
from local copy of curves: nurb and point index from keyIndex data gets
updated in this function and for correct handling undo stuff copy of
fcurves is stored in UndoCurve.

Additional changes:
- Revert of rev33640 and more proper fix: do not copy remained
  spline-related rna fcurves after renaming pathes but all the rest
  fcurves woulddbe copied back to animation data
- Refresh graph and dopesheet editor after updating animation data
------------------------------------------------------------------------
r33821 | ton | 2010-12-20 21:09:22 +0200 (Mon, 20 Dec 2010) | 6 lines

Bugfix #25308

Border or other selection tools didn't redraw action editor, when
option "only show selected" was set. Was missing area tagging.


------------------------------------------------------------------------
r33820 | ton | 2010-12-20 20:57:59 +0200 (Mon, 20 Dec 2010) | 6 lines

Small UI fix

Image texture "repeat" options now greay out when not active.
Thanks Mario Kishalmi for the patch :)


------------------------------------------------------------------------
r33819 | ton | 2010-12-20 20:54:32 +0200 (Mon, 20 Dec 2010) | 11 lines

Bugfix #25312

"Make Local" option "Objects and Data" made materials get
lost on save, the tagging was incorrect. Now it makes
Materials local too.

Implementation note: the code is new (not 2.4) so it misses
some of the hairy goodies we had. It's something for another
time to really make this reliably work.


------------------------------------------------------------------------
r33818 | ton | 2010-12-20 20:29:32 +0200 (Mon, 20 Dec 2010) | 9 lines

Bugfix, own collection:

File Window draw error:
On start Blender in smaller sized window, a scalled down screen
causes the File Window main area to draw too high, clipping off
half of the top line. This case (scroll horizontal only) is not
handled as view2d type.


------------------------------------------------------------------------
r33817 | nazgul | 2010-12-20 19:42:17 +0200 (Mon, 20 Dec 2010) | 3 lines

Fix for last own commit: missed mode check in addvert_Nurb, so
blender was crashing when user tries to extrude (with e-button)
when nothing was selected.
------------------------------------------------------------------------
r33816 | gsrb3d | 2010-12-20 18:29:08 +0200 (Mon, 20 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33815 | ton | 2010-12-20 17:39:00 +0200 (Mon, 20 Dec 2010) | 6 lines

Bugfix #25313

Outliner "show active" now also works for elements hidden in
closed items. (Coordinates were not set)


------------------------------------------------------------------------
r33814 | ton | 2010-12-20 15:57:52 +0200 (Mon, 20 Dec 2010) | 4 lines

Bugfix: new strict code for UI_make_axis_color() caused constraint
lines in Transform to not draw.


------------------------------------------------------------------------
r33813 | ton | 2010-12-20 15:32:26 +0200 (Mon, 20 Dec 2010) | 4 lines

3D ortho view: the axes lines of grid had wrong color for X.
Thanks Mario Kishalmi for the report :)


------------------------------------------------------------------------
r33812 | ton | 2010-12-20 15:03:03 +0200 (Mon, 20 Dec 2010) | 4 lines

Bugfix: material SSS presets now copy correctly to the displayed
material (in case it has nodes)


------------------------------------------------------------------------
r33811 | ton | 2010-12-20 15:02:33 +0200 (Mon, 20 Dec 2010) | 21 lines

Bugfix #25301

Material Node trees:
SSS wasn't displaying in Nodes.

Implementation notes:
- Currently copying local data for preview render, only copies
  the base material. Node materials are re-used.
- This causes data to be in 2 "main" databases... complex.
- To make it work for preview, I had to add another loop in the
  SSS code that checks the original Main dbase. That's marked
  as warning in code to be fixed up.

Another bug:
- Material properties "SSS presets" copied settings to the
  active material, not to the displayed one. Added RNA call
  to retrieve this from Objects.

(Next commit will fix preset scripts)


------------------------------------------------------------------------
r33810 | ton | 2010-12-20 13:33:52 +0200 (Mon, 20 Dec 2010) | 6 lines

Bugfix #25307

Node shaders + textures, showing in Texture properties, with option
"show both previews" had bad ID checking.


------------------------------------------------------------------------
r33809 | campbellbarton | 2010-12-20 13:21:29 +0200 (Mon, 20 Dec 2010) | 2 lines

simple make wrapper to give quiet output. (more like nan-makefiles)

------------------------------------------------------------------------
r33808 | ton | 2010-12-20 13:08:29 +0200 (Mon, 20 Dec 2010) | 9 lines

Bugfix #25309

Code cleanup to allow switching active output nodes in Compositor
made shader nodes output not set correctly.

Now you can have multiple output nodes in shaders too, and switch
on click-activate.


------------------------------------------------------------------------
r33805 | jhk | 2010-12-20 12:23:23 +0200 (Mon, 20 Dec 2010) | 3 lines

Misleading defaults for smoke flow particle system:
* Show unborn was on by default, so smoke got emitted from all particles regardless of their birth time, not a good default in my opinion.
* What made things worse was that particles weren't shown in viewport, so you didn't even know the particles were considered alive from the very first frame! (Not rendering is a good default, but they should still be visible in viewport!)
------------------------------------------------------------------------
r33804 | campbellbarton | 2010-12-20 11:51:18 +0200 (Mon, 20 Dec 2010) | 3 lines

fix [#25313] Outliner View Active only works once icon has been shown in view.
also disable UNDO and REGISTER flags for OUTLINER_OT_show_active() since its just scrolling the view.

------------------------------------------------------------------------
r33803 | campbellbarton | 2010-12-20 11:46:30 +0200 (Mon, 20 Dec 2010) | 2 lines

higher precision for wright & radius button.

------------------------------------------------------------------------
r33802 | campbellbarton | 2010-12-20 09:45:24 +0200 (Mon, 20 Dec 2010) | 2 lines

change the resolution for new surfaces to 4x4, since 12x12 used to be the total number of subdivisions along the U/V of the nurbs surface but now its multiplied by the number of segments.

------------------------------------------------------------------------
r33801 | campbellbarton | 2010-12-20 09:21:08 +0200 (Mon, 20 Dec 2010) | 2 lines

bugfix [#25310] Twice applied modifier with Convert to mesh with several multi-user objects

------------------------------------------------------------------------
r33800 | campbellbarton | 2010-12-20 07:26:25 +0200 (Mon, 20 Dec 2010) | 2 lines

bugfix [#25238] Render image window edits UV's

------------------------------------------------------------------------
r33799 | campbellbarton | 2010-12-20 05:59:22 +0200 (Mon, 20 Dec 2010) | 6 lines

fix [#25283] Edge length display difficult to read
- made theme colors for mesh edge len & face angle/area display.
- use %g rather then %f for float display, trims unneeded zeros.
- store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context.
- use unsigned char for more color functions, avoids casting to glColorubv().

------------------------------------------------------------------------
r33798 | jesterking | 2010-12-19 22:40:52 +0200 (Sun, 19 Dec 2010) | 5 lines

Apply [#25297] Fix for [#23765]
Bug reported by alarionfirn
Patch submitted by Jeroen Bakker

It took the read the N+N of the uv-layer, it should be the Nth uv layer.
------------------------------------------------------------------------
r33797 | jesterking | 2010-12-19 22:23:30 +0200 (Sun, 19 Dec 2010) | 5 lines

Apply [#25296] Fix for [#24636]
Bug reported by Dominique Lorre
Fix submitted by Jeroen Bakker

When importing COLLADA files, the name of a custom data layer can be longer than 32 bytes. Make sure only 32 bytes are copied.
------------------------------------------------------------------------
r33796 | ton | 2010-12-19 22:12:12 +0200 (Sun, 19 Dec 2010) | 10 lines

Bugfix #25301

Preview render for node shaders broke, caused by localizing
materials last week, to prevent thread crashes. Fixed now.
Also added a temp fix to draw color-management corrected
node previews default. Will follow scene setting tomorrow.

Also: SSS in nodes doesn't render yet. Was issue in 2.4 too...


------------------------------------------------------------------------
r33795 | nazgul | 2010-12-19 21:22:17 +0200 (Sun, 19 Dec 2010) | 6 lines

Made ctrl-point curve extruding more consistent with mesh edit mode:
when nothing is selected but active spline is set or when "middle"
control point is selected new spline would be created.

Nothing wull happen when there is no selection and no active spline
due to it's unclear which kind of spline should be added.
------------------------------------------------------------------------
r33794 | campbellbarton | 2010-12-19 18:34:58 +0200 (Sun, 19 Dec 2010) | 2 lines

Patch from Dan to use id user functions rather then accessing direct. also use warning fix using const for RNA_parameter_set() arg.

------------------------------------------------------------------------
r33793 | campbellbarton | 2010-12-19 18:09:24 +0200 (Sun, 19 Dec 2010) | 2 lines

CMake RelWithDebInfo uses python31.dll, not python31_d.dll

------------------------------------------------------------------------
r33792 | ton | 2010-12-19 17:03:27 +0200 (Sun, 19 Dec 2010) | 6 lines

Todo item:

Compositor: if you have multiple Composite-Out nodes, a click will
activate it for use. Just like viewer nodes.


------------------------------------------------------------------------
r33791 | ton | 2010-12-19 16:39:36 +0200 (Sun, 19 Dec 2010) | 14 lines

Todo item: (Luca report in IRC)

Pulldown and other popup menus: this button type exits on release.
While holding mouse you then can move around, but the highlight of button
didn't disappear if you were outside item. The menu then doesn't close
when you release the mouse.
Now highlight goes on/off on mouse moves to show this better.

Implementation note: menu items are coded similar to regular activate
buttons (like for tools). There's no provision to make highlights go
to the next item while holding mouse in menus. That I rather not mess
with now.


------------------------------------------------------------------------
r33790 | ton | 2010-12-19 16:07:50 +0200 (Sun, 19 Dec 2010) | 5 lines

Another single-user case: the ID buttons (browse, name, users),
click on user-number 'make single user' now also makes animation
local.


------------------------------------------------------------------------
r33789 | nexyon | 2010-12-19 15:56:02 +0200 (Sun, 19 Dec 2010) | 2 lines

Fix for [#25175] bge.logic.mouse.position[1] wrong when using autostart

------------------------------------------------------------------------
r33788 | ton | 2010-12-19 15:50:31 +0200 (Sun, 19 Dec 2010) | 7 lines

Option "Make Single user" now also makes animations local.
Note that the menu option "Animation" only was working for
Object level animations, so I've changed the many name
accordingly.



------------------------------------------------------------------------
r33787 | ton | 2010-12-19 15:48:45 +0200 (Sun, 19 Dec 2010) | 3 lines

Py UI fix: options for "Single user" had different names than the operator itself.


------------------------------------------------------------------------
r33786 | campbellbarton | 2010-12-19 15:04:14 +0200 (Sun, 19 Dec 2010) | 3 lines

fix for own error [#25299] custom properties not showing in viedw3d panel
error made when fixing id pinning, for non-properties space.

------------------------------------------------------------------------
r33785 | campbellbarton | 2010-12-19 14:38:20 +0200 (Sun, 19 Dec 2010) | 3 lines

bug [#25292] No undo scale with sculpt mode
applies to project paint too, added with comment.

------------------------------------------------------------------------
r33784 | campbellbarton | 2010-12-19 14:32:33 +0200 (Sun, 19 Dec 2010) | 2 lines

user report renaming file fails, print the errno error message.

------------------------------------------------------------------------
r33783 | ton | 2010-12-19 13:39:55 +0200 (Sun, 19 Dec 2010) | 9 lines

Bugfix #25288

SSS preview render didn't happy.
Was caused by using a Material copy for preview renders (to prevent
crashing in other cases). There were actually 2 errors:
- material copy should be added to preview-main database
- the render was invoked using wrong main database even!


------------------------------------------------------------------------
r33782 | aligorith | 2010-12-19 12:38:02 +0200 (Sun, 19 Dec 2010) | 13 lines

Bugfix [#25298] Nasty group cycle that creates crash blend files is
allowed

Infinite recursion (manisfesting as a crash) occurred when trying to
set the dupli-group setting on an object, when the object is a member
of the group being set. Added a check and warning for this in RNA to
prevent such setups from occurring in future.

Todo:
The warning report is currently only printed to console as I can't
quite remember how to grab reports pointer without context/operator
pointer available.

------------------------------------------------------------------------
r33781 | ton | 2010-12-19 11:41:41 +0200 (Sun, 19 Dec 2010) | 10 lines

Bugfix #25292

In sculpt mode, Object transform still worked, which was:
1) Not undo-able (sculpt undo stack)
2) Clearing the entire sculpt undo stack on operator redo
3) Had keymap conflict for R

Simply added check for this case and return trans operator.


------------------------------------------------------------------------
r33780 | campbellbarton | 2010-12-19 10:48:15 +0200 (Sun, 19 Dec 2010) | 2 lines

another reason to run makesrna needlessly every build is that the makesrna binary is newer then the generated files.

------------------------------------------------------------------------
r33779 | campbellbarton | 2010-12-19 09:43:01 +0200 (Sun, 19 Dec 2010) | 2 lines

correction to last commit, returned normalized direction.

------------------------------------------------------------------------
r33778 | campbellbarton | 2010-12-19 09:40:08 +0200 (Sun, 19 Dec 2010) | 2 lines

bugfix [#25289] X3D export generates incorrect direction for SpotLight

------------------------------------------------------------------------
r33777 | campbellbarton | 2010-12-19 09:14:42 +0200 (Sun, 19 Dec 2010) | 2 lines

 fix for make-dupli-face operator & vector multiplication, tab/space error in last commit.

------------------------------------------------------------------------
r33776 | campbellbarton | 2010-12-19 09:05:29 +0200 (Sun, 19 Dec 2010) | 7 lines

bugfix [#25290] Align on text gives a traceback
       [#25284] Traceback error on "System Info" script

- Align was only working on mesh objects, now operate on all objects, missing boundbox's are treated as single points.
- obj.bound_box was returning all nan's for object types with no boundbox.
- ENUM_FLAG type enums were showing no text when displayed in operator redo panel.

------------------------------------------------------------------------
r33775 | aligorith | 2010-12-19 03:59:52 +0200 (Sun, 19 Dec 2010) | 10 lines

[#25278] Ctrl-left click in beizer edit mode with no selection results
in crash.

This commit fixes the crash (missing null check for nu==NULL).

However, there is still a problem here with Curve Ctrl-Click not
behaving the same as Mesh EditMode Ctrl-Click, which adds a new vert
no matter what (i.e. no previous selection required). Then again,
that's a separate "todo" issue, so we can close this report now :)

------------------------------------------------------------------------
r33774 | gsrb3d | 2010-12-19 03:55:07 +0200 (Sun, 19 Dec 2010) | 2 lines

Fix compilation, obvious typo.

------------------------------------------------------------------------
r33773 | aligorith | 2010-12-19 03:27:32 +0200 (Sun, 19 Dec 2010) | 11 lines

Bugfix [#25221] Jump to Next/Prev keyframe doesn't work with
RotoBeizer

The jump to keyframes operator was being a bit too strict with its
checks for where it should check for keyframes.

In this particular case, RotoBezier keyframes were on Curve AnimData,
so the check for Object AnimData would return false, thus overlooking
this possibility. However, it should be safe enough to just open
things up a bit more.

------------------------------------------------------------------------
r33772 | aligorith | 2010-12-19 03:14:57 +0200 (Sun, 19 Dec 2010) | 7 lines

Bugfix [#25291] Objects that should not have subsurface modifier have
it (eg cameras)

When trying to add a modifier to non-geometry objects, warnings are
now shown instead of just adding some (useless) modifiers that cannot
be removed later.

------------------------------------------------------------------------
r33771 | jhk | 2010-12-18 23:19:55 +0200 (Sat, 18 Dec 2010) | 1 line

Pointcache frame markers in timeline look a bit nicer if they are aligned exactly on frames.
------------------------------------------------------------------------
r33770 | jhk | 2010-12-18 23:16:37 +0200 (Sat, 18 Dec 2010) | 1 line

Mistake in previous own commit, checking the wrong cache frame.
------------------------------------------------------------------------
r33769 | ton | 2010-12-18 20:56:21 +0200 (Sat, 18 Dec 2010) | 31 lines

FILTER="^\[[ 0123456789][ 0123456789][ 0123456789]\%] \|Linking \(C\|CXX\) static library\|Building \(C\|CXX\) object \|Built target "


Bugfix #25280

Image: sequence option was hardcoded to assume "first frame" was always
picture "001". Made it impossible to have a sequence of images starting
with picture like "000"

Note that by allowing to render a first frame as 000 in Blender, things
mess up a bit here. Things work now as follows:

- Start Frame = 1 : Image 001 on frame 1
- Start Frame = 0 : Image 001 on frame 0
- Start Frame =-1 : Image 000 on frame 0 ;)

This is of course the lack of proper control for image sequences.
Definite something to work on; best idea I have now is a new setting
that defines the Image Number to be "first frame". That way you can
map that number on any Blender frame. Or it makes it more confusing? :)

For the doc department: the proper meaning of "Start Frame" now is:

"The blender frame a sequence starts playing, assuming the sequence
starts with image #1"

Tooltop was fixed accordingly

(Also fixed 'remove doubles' to show more precision in toolbar)


------------------------------------------------------------------------
r33768 | jhk | 2010-12-18 18:52:17 +0200 (Sat, 18 Dec 2010) | 3 lines

Bug fix: some file browser buttons didn't return filename even though they were supposed to
* It working before was actually a bug that got fixed by ton in r33663.
* Now the property subtype is correct and things work like they should.
------------------------------------------------------------------------
r33767 | jhk | 2010-12-18 17:03:31 +0200 (Sat, 18 Dec 2010) | 4 lines

Extreme makeover of pointcache code:
* Pointcache code was quite ugly looking and complicated, so here are mostly just cosmetic adjustments, but some improved logic also.
* Slight cleanup of pointcache ui too.
* Shouldn't have any functional changes what so ever, so poke me right away if something seems off.
------------------------------------------------------------------------
r33765 | jhk | 2010-12-18 11:46:52 +0200 (Sat, 18 Dec 2010) | 1 line

Fix for [#25282] Crash when weting initial mesh pressets with a smoke simulation
------------------------------------------------------------------------
r33764 | jhk | 2010-12-18 11:32:27 +0200 (Sat, 18 Dec 2010) | 2 lines

Fix for mistake in own commit
* Was a bit too eager to clean up, so all particles got reset when changing a particle value when animation was playing.
------------------------------------------------------------------------
r33763 | campbellbarton | 2010-12-18 11:28:20 +0200 (Sat, 18 Dec 2010) | 2 lines

remove print from last commit.

------------------------------------------------------------------------
r33762 | campbellbarton | 2010-12-18 11:27:08 +0200 (Sat, 18 Dec 2010) | 11 lines

workaround for build system dependency hell, fixed for cmake + makefiles (probably other buildsystems too).

makesrna was often generating source every build, but not updating the files because the contents wasn't changed.

this happened because makefiles would check makesrna.c and rna_*.c files were newer then rna_*_gen.c and force a re-generation.

Now ensure updating the files even if they dont change when makesrna.c or rna_*.c are newer then rna_*_gen.c files.

Another solution for this would be to run makesrna program for each C file for finer grained deps.
or remove file comparison checks but that would mean a change to any rna_*.c file would rebuild all.

------------------------------------------------------------------------
r33761 | nazgul | 2010-12-18 11:18:39 +0200 (Sat, 18 Dec 2010) | 4 lines

- Rename operator "Set Curve Radius" to "Set Curve Weight" to "Set Goal Weight"
  as it was in 2.49 (functionality of this operator hasn't changed, but it's
  quite confusing name)
- Documentation for some curve operators
------------------------------------------------------------------------
r33760 | campbellbarton | 2010-12-18 09:22:52 +0200 (Sat, 18 Dec 2010) | 4 lines

fix [#25262] Keyboard shortcut presets can't be made because of wrong folder
New create option when getting a user resource for creating paths.
  bpy.utils.user_resource(type, path, create=False)

------------------------------------------------------------------------
r33758 | nazgul | 2010-12-17 22:54:21 +0200 (Fri, 17 Dec 2010) | 1 line

Partial revert of mine previous commit and correct fix
------------------------------------------------------------------------
r33757 | nazgul | 2010-12-17 22:24:13 +0200 (Fri, 17 Dec 2010) | 1 line

Fix for moving caret to the line beginning/ending when word-wrapping is enabled
------------------------------------------------------------------------
r33756 | blendix | 2010-12-17 22:13:54 +0200 (Fri, 17 Dec 2010) | 8 lines

Fix #25272: shrinkwrap with dependency cycle could lead to eternal
loop and increasing memory usage.

Modifiers should never call mesh_get_derived_final or similar, only
use ob->derivedFinal if it exists, if the dependencies are set correct
and there are no cycles, it will be there.


------------------------------------------------------------------------
r33755 | nazgul | 2010-12-17 21:58:02 +0200 (Fri, 17 Dec 2010) | 5 lines

Fix #25263: Text cursor click point is random.

- Fixed some wierd cursor placements when clicking in special text position
  (mostly when line segments had null-terminator at the max allowed position)
- Also subtract top padding, so centering is looks a bit better
------------------------------------------------------------------------
r33754 | ton | 2010-12-17 21:05:34 +0200 (Fri, 17 Dec 2010) | 12 lines

Drag & drop feature:
You now can drop a .blend inside blender window to open it.

Implementation notes:
- Added call to extract icon type for files. Code re-used from
  space_file
- External files that get dropped set icon types too.
  Drop box polls can check for this.
- Also enabled setting op-context for drop operators, this was
  needed to prevent filewindow to open.


------------------------------------------------------------------------
r33753 | campbellbarton | 2010-12-17 21:05:10 +0200 (Fri, 17 Dec 2010) | 2 lines

remove some paranoid NULL checks, since the pointers are used already.

------------------------------------------------------------------------
r33752 | campbellbarton | 2010-12-17 20:38:44 +0200 (Fri, 17 Dec 2010) | 8 lines

[#25270] X3D Export generates incorrect location for Lamp
was actually incorrect location for everything!

- x3d's global scene rotation value wasnt converted from deg to radians.
- camera viewport was also incorrectly exported.

use mathutils rather then inline math for rotations.

------------------------------------------------------------------------
r33751 | dingto | 2010-12-17 20:25:08 +0200 (Fri, 17 Dec 2010) | 2 lines

Render Buttons UI:
* Fixed a small alignment issue (Aspect Ratio/ Frame Rate Columns)
------------------------------------------------------------------------
r33750 | campbellbarton | 2010-12-17 19:51:43 +0200 (Fri, 17 Dec 2010) | 3 lines

fixes for pinning bones & pose ui, could easily get error messages and invalid situations.
when pinned there is no pose bone.

------------------------------------------------------------------------
r33749 | gsrb3d | 2010-12-17 19:17:05 +0200 (Fri, 17 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33748 | ton | 2010-12-17 19:06:36 +0200 (Fri, 17 Dec 2010) | 7 lines

Bugfix #25259

Compositor: using the icon "render only this layer" now shows
progress in header, allows it to stop, and signals composite in
end.


------------------------------------------------------------------------
r33746 | campbellbarton | 2010-12-17 18:05:40 +0200 (Fri, 17 Dec 2010) | 2 lines

minor warnings removed.

------------------------------------------------------------------------
r33745 | ton | 2010-12-17 18:04:05 +0200 (Fri, 17 Dec 2010) | 6 lines

Bugfix #25261

Adding weightgroup in weight-paint now sends notifier, so buttons
update


------------------------------------------------------------------------
r33744 | ton | 2010-12-17 18:02:55 +0200 (Fri, 17 Dec 2010) | 5 lines

Bugfix #25261

Weightpaint tools now grey out when no active group exists.


------------------------------------------------------------------------
r33743 | campbellbarton | 2010-12-17 17:51:42 +0200 (Fri, 17 Dec 2010) | 5 lines

no functional change: only check against OB_RECALC_ALL but don't use for assignment.

Makes adding new flags give ambiguous results and also makes it less easy to tell whats intended.
In some places it looks like OB_RECALC_TIME should be left out too.

------------------------------------------------------------------------
r33742 | campbellbarton | 2010-12-17 17:37:59 +0200 (Fri, 17 Dec 2010) | 2 lines

no functional changes: SETLOOPER macro assumed a scene was defined called 'sce' used to loop over, now make this an argument, helps to make it clear what's going on.

------------------------------------------------------------------------
r33741 | ton | 2010-12-17 17:24:03 +0200 (Fri, 17 Dec 2010) | 7 lines

Bug fix:

When compositing without render (Enable composite, no renderlayer nodes)
the option Full Sample AA caused havoc. Added warning for this case
and gracefully stop render.


------------------------------------------------------------------------
r33740 | campbellbarton | 2010-12-17 16:49:38 +0200 (Fri, 17 Dec 2010) | 2 lines

fix for keymap error with renaming rna.

------------------------------------------------------------------------
r33738 | ton | 2010-12-17 16:20:20 +0200 (Fri, 17 Dec 2010) | 7 lines

Bugfix #25264

Bad user counting went on, ID users could be set zero whilst
having Fake user set. Also ensured the code using the BKE
calls for increment/decrement.


------------------------------------------------------------------------
r33737 | jhk | 2010-12-17 15:29:40 +0200 (Fri, 17 Dec 2010) | 1 line

Fix for [#25256] Particles with trailcount > 1 does not render if particles system is baked to Disk Cache.
------------------------------------------------------------------------
r33736 | jhk | 2010-12-17 15:13:32 +0200 (Fri, 17 Dec 2010) | 3 lines

Big fix: particle pointcache was cleared fully on any particle setting change
* Now only the cache after current frame is cleared.
* Probably own fault from my last commit.
------------------------------------------------------------------------
r33734 | campbellbarton | 2010-12-17 12:33:28 +0200 (Fri, 17 Dec 2010) | 2 lines

bugfix [#25240] Custom properties panel on pinned data fail.

------------------------------------------------------------------------
r33733 | schlaile | 2010-12-17 10:53:49 +0200 (Fri, 17 Dec 2010) | 7 lines

== Sequencer ==

Sequence effect rendering of color generator did some rather strange
fall through, because of a missing break statement. (Noone got hurt, but
better add that break, just in case)


------------------------------------------------------------------------
r33732 | schlaile | 2010-12-17 10:08:35 +0200 (Fri, 17 Dec 2010) | 15 lines

This fixes
[#25011] Opacity IPO not refreshing with still images

(should be better named: animation of any prefiltering parameters using
still images didn't work out as expected)

And this issue by private mail by Ton:

"I tried to debug a memory-free error; very simple case:

- add image strip
- click on strip at 2 places
- quit blender"


------------------------------------------------------------------------
r33731 | campbellbarton | 2010-12-17 09:06:27 +0200 (Fri, 17 Dec 2010) | 3 lines

script which dumps ui as xml in a fake blender envieonment.
useful for testing for bad api use (make sure UI uses limited functions).

------------------------------------------------------------------------
r33730 | campbellbarton | 2010-12-17 08:48:34 +0200 (Fri, 17 Dec 2010) | 2 lines

script to recursively write rna into an xml file, usefil api test.

------------------------------------------------------------------------
r33729 | campbellbarton | 2010-12-17 08:02:52 +0200 (Fri, 17 Dec 2010) | 2 lines

bugfix [#25260] Solidify function UV mapping problems

------------------------------------------------------------------------
r33728 | campbellbarton | 2010-12-17 07:12:36 +0200 (Fri, 17 Dec 2010) | 2 lines

WM_OT_path_open was failing with non utf8 paths.

------------------------------------------------------------------------
r33727 | campbellbarton | 2010-12-17 06:41:48 +0200 (Fri, 17 Dec 2010) | 2 lines

cmake was complaining when there was no libs skipped.

------------------------------------------------------------------------
r33726 | dfelinto | 2010-12-17 04:45:17 +0200 (Fri, 17 Dec 2010) | 1 line

BGE Font: increasing the limit of the text object to 140
------------------------------------------------------------------------
r33725 | nicholasbishop | 2010-12-17 03:40:47 +0200 (Fri, 17 Dec 2010) | 8 lines

Fixed bug reported by Reuben Martin:

Undoing in sculpt mode with drawing mode not set to solid didn't
redraw correctly.

Problem was that the non-PBVH VBOs need to be remade in that case.


------------------------------------------------------------------------
r33722 | gsrb3d | 2010-12-17 01:24:25 +0200 (Fri, 17 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33721 | campbellbarton | 2010-12-16 23:32:56 +0200 (Thu, 16 Dec 2010) | 2 lines

script to generate qtcreator project files, advantage is they include all source which is nicer for refactoring.

------------------------------------------------------------------------
r33719 | campbellbarton | 2010-12-16 21:26:54 +0200 (Thu, 16 Dec 2010) | 9 lines

bugfix [#25208] randomize transform doesn't work on objects with keyframes

Surprising this wasnt noticed in a much more obvious case:
 - Key Location, Move, Rotate, Undo-Rotate >> Resets to keyed location as well.

This was happening because DAG_on_load_update() was called on read_undosave(), flagging 'ob->adt->recalc |= ADT_RECALC_ANIM;'

Fix by adding an option to DAG_on_load_update(), not to recalculate time flags.

------------------------------------------------------------------------
r33718 | gsrb3d | 2010-12-16 21:05:47 +0200 (Thu, 16 Dec 2010) | 3 lines

SVN maintenance.
Plus some typo fixes in comments.

------------------------------------------------------------------------
r33717 | ton | 2010-12-16 20:58:22 +0200 (Thu, 16 Dec 2010) | 13 lines

Annoyance fix:

Using scrollwheel on properties window halted when it was over
a list-button. Now it disables handling wheel events when you use
scrollwheel outside of lists first.

Implementation note: UI event handlers have priority over other
keymaps. That's OK. In this case it's simple conflict, for which
no design solution exists... wouldn't know how to do this nicer!
Code is nice local and can be improved when we look into other
conflicts...


------------------------------------------------------------------------
r33716 | campbellbarton | 2010-12-16 20:00:37 +0200 (Thu, 16 Dec 2010) | 2 lines

fix for annoying harmless warning with cmake -Wdev from last commit.

------------------------------------------------------------------------
r33715 | campbellbarton | 2010-12-16 19:54:00 +0200 (Thu, 16 Dec 2010) | 2 lines

fix for error in testing C/C++ flags

------------------------------------------------------------------------
r33714 | ton | 2010-12-16 19:19:24 +0200 (Thu, 16 Dec 2010) | 7 lines

Bugfix, irc report

After using loop-cut with multiple edges, transform widget
disappeared. Reason was a variable being set in function
not being called on cancelled operators. Now it's in Posttrans()


------------------------------------------------------------------------
r33713 | jhk | 2010-12-16 18:09:23 +0200 (Thu, 16 Dec 2010) | 2 lines

Fix for [#25202] Blender crashes when opening smoke simulations made with Blender 2.55.1 r33530
* Since r33398 smoke only uses one pointcache, but old versions want two caches so save new files with a fake second pointcache.
------------------------------------------------------------------------
r33712 | blendix | 2010-12-16 16:49:50 +0200 (Thu, 16 Dec 2010) | 4 lines

Workaround #22856: defocus node with OpenMP could crash on Mac, just disabled
OpenMP now in that case, since it's only an optimization.


------------------------------------------------------------------------
r33711 | ton | 2010-12-16 15:43:20 +0200 (Thu, 16 Dec 2010) | 7 lines

Bugfix #24976 revisited

Multi-layer images: clicking on the "Source" popup freed all memory
for multilayers, even when choosing the same "File" entry again.
Now it should work :)


------------------------------------------------------------------------
r33710 | ton | 2010-12-16 14:49:48 +0200 (Thu, 16 Dec 2010) | 5 lines

Bugfix #22794

Panorama render is now border-render safe.


------------------------------------------------------------------------
r33709 | campbellbarton | 2010-12-16 14:48:30 +0200 (Thu, 16 Dec 2010) | 3 lines

last commit to fix warnings didnt set them at all, not it works as it should.
also made cmakes output a lot quieter, messages can be uncommented for debugging or added back if other devs need this for some reason.

------------------------------------------------------------------------
r33708 | ton | 2010-12-16 13:31:04 +0200 (Thu, 16 Dec 2010) | 6 lines

Bugfix #23658

Render: Alpha calculated for ray-traced transparency could overflow beyond 1.0.
Gets clamped now.


------------------------------------------------------------------------
r33707 | dfelinto | 2010-12-16 12:25:41 +0200 (Thu, 16 Dec 2010) | 52 lines

Patch:[#25163] BGE support for Blender Font objects - unicode support
Problem/Bug:
------------
There were no way to have proper unicode characters (e.g. Japanese) in Blender Game Engine. Now we can :)
You can see a sample here: http://blog.mikepan.com/multi-language-support-in-blender/

Functionality Explanation:
--------------------------
This patch converts the Blender Font Objects to a new BGE type: KX_FontObject
This object inherits KX_GameObject.cpp and has the following properties:
- text (the text of the object)
- size (taken from the Blender object, usually is 1.0)
- resolution (1.0 by default, maybe not really needed, but at least for debugging/the time being it's nice to have)

The way we deal with linked objects is different than Blender. In Blender the text and size are a property of the Text databock. Therefore linked objects necessarily share the same text (and size, although the size of the object datablock affects that too). In BGE they are stored and accessed per object. Without that it would be problematic to have addObject adding texts that don't share the same data.

Known problems/limitations/ToDo:
--------------------------------
1) support for packed font and the <builtin>
2) figure why some fonts are displayed in a different size in 3DView/BGE (BLF)
3) investigate some glitches I see some times
4) support for multiline
5) support for more Blender Font Object options (text aligment, text boxes, ...)

[1] Diego (bdiego) evantually will help on that. For the time being we are using the "default" (ui) font to replace the <builtin>.
[2] but not all of them. I need to cross check who is calculating the size/dpi in/correctly - Blender or BLF. (e.g. fonts that work well - MS Gothic)
[3] I think this may be related to the resolution we are drawing the font
[4] It can't/will not be handled inside BFL. So the way I see it is to implement a mini text library/api that works as a middlelayer between the drawing step and BLF.
    So instead of:
      BLF_draw(fontid, (char *)text, strlen(text));
    We would do:
      MAGIC_ROUTINE_IM_NOT_BLF_draw(fontir, (char *)text, styleflag, width, height);
[5] don't hold your breath ... but if someone wants to have fun in the holidays the (4) and (5) are part of the same problem.

Code Explanation:
-----------------
The patch should be simple to read. They are three may parts:
1) BL_BlenderDataConversion.cpp:: converts the OB_FONT object into a KX_FontObject.cpp and store it in the KX_Scene->m_fonts
2) KetsjiEngine.cpp::RenderFonts:: loop through the texts and call their internal drawing routine.
3) KX_FontObject.cpp::
  a) constructor: load the font of the object, and store other values.
  b) DrawText: calculate the aspect for the given size (sounds hacky but this is how blf works) and call the render routine in RenderTools
4) KX_BlenderGL.cpp (called from rendertools) ::BL_print_game_line:: Draws the text. Using the BLF API

*) In order to handle visibility of the object added with AddObject I'm adding to the m_scene.m_fonts list only the Fonts in a visible layer - unlike Cameras and Lamps where all the objects are added.

Acknowledgements:
----------------
Thanks Benoit for the review and adjustment suggestions.
Thanks Diego for the BFL expertise, patches and support (Latin community ftw)
Thanks my boss for letting me do part of this patch during work time. Good thing we are starting a project in a partnership with a Japanese Foundation and eventual will need unicode in BGE :) for more details on that - www.nereusprogram.org - let's call it the main sponsor of this "bug feature" ;)

------------------------------------------------------------------------
r33705 | campbellbarton | 2010-12-16 11:55:35 +0200 (Thu, 16 Dec 2010) | 3 lines

CMake now tests warnings are supported, GCC 4.0 wasn't working because of unsupported warnings.
this can work for other compilers too, currently intel and gcc use this.

------------------------------------------------------------------------
r33704 | campbellbarton | 2010-12-16 11:51:55 +0200 (Thu, 16 Dec 2010) | 2 lines

missed this file before (de-duplicating enum).

------------------------------------------------------------------------
r33703 | campbellbarton | 2010-12-16 07:02:15 +0200 (Thu, 16 Dec 2010) | 3 lines

- fix [#25246] export default scene to X3D crashes exporter, own fault but also made sure all colors are now clamped and noticed 3D text was not being exported.
- de-duplicated 'object_type_items' enum, text was known as TEXT in one, FONT in another.

------------------------------------------------------------------------
r33701 | nicholasbishop | 2010-12-16 05:39:51 +0200 (Thu, 16 Dec 2010) | 8 lines

Fixed bug [#22634] sculpting/multires and wireframe display mode glitches

Added a call to flush sculpting face grid changes out to ccgsubsurf's
other data (in particular, to edge grids)

Hopefully correct fix this time :)


------------------------------------------------------------------------
r33699 | dfelinto | 2010-12-16 00:46:43 +0200 (Thu, 16 Dec 2010) | 2 lines

small tweak, moving /* put compatibility code here until next subversion bump */ {} to a distinct (right) place
when doing a version bump, please remember to do that.
------------------------------------------------------------------------
r33698 | nazgul | 2010-12-15 23:25:54 +0200 (Wed, 15 Dec 2010) | 4 lines

Fix #25241: Wordwrap memory leak /w Undo

Looks like drawcache shouldn't be freed when restoring screen because spaces
aren't freeing and could still use caches.
------------------------------------------------------------------------
r33697 | ton | 2010-12-15 21:21:02 +0200 (Wed, 15 Dec 2010) | 6 lines

Bugfix #25235

Image Editor: paint mode, use clone image, always showed.
Now it hides clone when paint is disabled.


------------------------------------------------------------------------
r33696 | ton | 2010-12-15 21:10:42 +0200 (Wed, 15 Dec 2010) | 6 lines

Bugfix #25243

Pressing Enter twice on enum-menus or pulldowns sent an 'OK execute'
with illegal values (no menu item active). Caused crashes too.


------------------------------------------------------------------------
r33695 | ton | 2010-12-15 20:23:10 +0200 (Wed, 15 Dec 2010) | 3 lines

Last commit: forgot keymap return value.


------------------------------------------------------------------------
r33694 | ton | 2010-12-15 20:09:25 +0200 (Wed, 15 Dec 2010) | 11 lines

Bugfix, own collection

Using RMB on menus to change hotkeys was broken.
- the input button was on a weird place outside menu, assign
  would close pulldown, so you had to reopen to check
- ESC didn't close the button, but assigned ESC as hotkey.
  This key is a protected key, and always should be escaping.
- Worst bug: if you used this on a 'user keymap' it removed
  all entries from the map...


------------------------------------------------------------------------
r33693 | campbellbarton | 2010-12-15 19:36:08 +0200 (Wed, 15 Dec 2010) | 2 lines

ensure pasted graph keys are always selected.

------------------------------------------------------------------------
r33692 | jhk | 2010-12-15 19:05:34 +0200 (Wed, 15 Dec 2010) | 5 lines

Fix for [#25218] No smoke is emitted when particle system starts and ends on same frame
* Depsgraph wasn't updated properly for smoke flow collision object dependencies.
* Smoke also wasn't properly using the actual emission frame of the flow particles.
* There was a lot of bloated logic in some parts of particle code so this fix turned into a small scale cleanup operation.
** As a result particle updating and cache usage should be a bit more stable too.
------------------------------------------------------------------------
r33691 | campbellbarton | 2010-12-15 18:57:56 +0200 (Wed, 15 Dec 2010) | 2 lines

missing check for keyframe paste, was crashing when no keyframes to paste into.

------------------------------------------------------------------------
r33690 | campbellbarton | 2010-12-15 18:46:59 +0200 (Wed, 15 Dec 2010) | 2 lines

change the cursor bounds to only use the Area if the mouse is outside the region or the region is not a WINDOW type.

------------------------------------------------------------------------
r33689 | ton | 2010-12-15 18:15:52 +0200 (Wed, 15 Dec 2010) | 6 lines

Bugfix, irc report:

Stamp info was calling log10 on zero, when end-frame was zero.
Caused crash! Thanks Sergey for report.


------------------------------------------------------------------------
r33688 | campbellbarton | 2010-12-15 18:07:49 +0200 (Wed, 15 Dec 2010) | 2 lines

dont transform hidden handles in the graph editor.

------------------------------------------------------------------------
r33687 | campbellbarton | 2010-12-15 17:59:10 +0200 (Wed, 15 Dec 2010) | 6 lines

Minor annoyance with graph editor selection:

Selecting graph keys would toggle channel selection if shift was held.
this was annoying when selecting 2+ unselected keys to have the channel change color each click.
Now set the channel based on the selection state of the point, as long as points are being selected the channel will stay selected too.

------------------------------------------------------------------------
r33686 | ton | 2010-12-15 17:56:06 +0200 (Wed, 15 Dec 2010) | 6 lines

Bugfix #25231

File Window: text clipping was tiny bit too narrow. It was also
clipping text twice even ;)


------------------------------------------------------------------------
r33685 | ton | 2010-12-15 17:28:03 +0200 (Wed, 15 Dec 2010) | 6 lines

Bugfix 21333

"Continuous grab": the boundary is now set to Area (editor), making it work
for operators started in other regions (like toolbar, or in quad view case)


------------------------------------------------------------------------
r33684 | ton | 2010-12-15 15:08:34 +0200 (Wed, 15 Dec 2010) | 6 lines

Bugfix #22982

Displace modifier: mapping "Global" didn't set a dependency entry.
Fix provided by the reporter himself, thanks Jacob F!


------------------------------------------------------------------------
r33683 | zanqdo | 2010-12-15 12:59:45 +0200 (Wed, 15 Dec 2010) | 4 lines

Randomize Transform op: Scale Even wasn't really working with objects
with an asymmetric starting scale. Handling of starting scale
values of 0 needs improvement, ie: default for delta transform

------------------------------------------------------------------------
r33682 | campbellbarton | 2010-12-15 12:22:26 +0200 (Wed, 15 Dec 2010) | 4 lines

BKE_assert(), only prints the error unless cmake define WITH_ASSERT_ABORT is enabled and it will call abort().

made this option advanced so people don't enable along with other features.

------------------------------------------------------------------------
r33680 | zanqdo | 2010-12-15 10:21:58 +0200 (Wed, 15 Dec 2010) | 9 lines

Randomize Transform operator:

Added support for working on delta transformations instead of plain
transform. this should help the fact that you cant randomize animated
objects (still need to check into that)

Removed minimun scale since it was not well done, need a stronger
version of this

------------------------------------------------------------------------
r33679 | campbellbarton | 2010-12-15 09:15:51 +0200 (Wed, 15 Dec 2010) | 9 lines

fix for annoyance found when looking into bug [#25226].

Changing the edge crease median value often wouldn't result in the median value entered because of clamping from 0-1.
Now the median crease is applied by scaling the values up/down.

also add some simple checks to speed up updates,
- don't move verts or recalculate normals if only crease changes.
- don't apply crease changes if location is being edited.

------------------------------------------------------------------------
r33678 | campbellbarton | 2010-12-15 08:12:16 +0200 (Wed, 15 Dec 2010) | 2 lines

replace debug popup function with call to generic function WM_operator_props_dialog_popup().

------------------------------------------------------------------------
r33677 | campbellbarton | 2010-12-15 08:03:45 +0200 (Wed, 15 Dec 2010) | 2 lines

access bpy.app.debug_value, G.rt internally

------------------------------------------------------------------------
r33676 | campbellbarton | 2010-12-15 07:42:23 +0200 (Wed, 15 Dec 2010) | 5 lines

Centralized operator UI drawing into a new function uiLayoutOperatorButs(),
  Operator drawing calls were duplicated in file selector panel, redo panels, redo & dialog popups.

note, uiDefAutoButsRNA's column's argument was misleading, renamed to label_align.

------------------------------------------------------------------------
r33675 | campbellbarton | 2010-12-15 06:06:19 +0200 (Wed, 15 Dec 2010) | 14 lines

bugfix [#25230] Quick extrude Ctrl-LMB : wrong behaviour of 'RotateSource' option.

Problem is is with operator redo which click-extrude exposed.

Check if redo operator can run, otherwise lock the UI and add a label that the operator doesn't support redo.
This is clunky but IMHO better then failing silently and leaving the user confused.

- Merged redo functions into ED_undo_operator_repeat(), code was duplicated in a few places.
- added WM_operator_repeat_check to check if WM_operator_repeat() can run, avoids an undo call when redo work.

Unrelated changes
- GHOST_SystemWin32.cpp set to utf8 encoding.
- cmake_consistency_check.py now checks source files are utf8.

------------------------------------------------------------------------
r33674 | nicholasbishop | 2010-12-15 05:53:56 +0200 (Wed, 15 Dec 2010) | 7 lines

Fixed bug #23042, Sculpting + Multires + Noise texture tears mesh

Noise texture moved the edges of multires grids different, causing
tears in the mesh. Fixed with a call to re-stitch grids (but only done
if the brush texture is set to noise)


------------------------------------------------------------------------
r33673 | campbellbarton | 2010-12-15 04:09:35 +0200 (Wed, 15 Dec 2010) | 2 lines

remove unused args.

------------------------------------------------------------------------
r33672 | broken | 2010-12-15 02:56:15 +0200 (Wed, 15 Dec 2010) | 1 line

Exposed mesh edit 'select similar' threshold as operator property, must have been missed before.
------------------------------------------------------------------------
r33668 | jesterking | 2010-12-14 23:46:03 +0200 (Tue, 14 Dec 2010) | 8 lines

Apply patch [#25224] Refactor COLLADA DocumentImporter
Submitted by Martijn Berger.

Make DocumentImporter class the actual IWriter implementation and move prototype to the header.
Group together functions that we should move out of the class.

No functional changes.

------------------------------------------------------------------------
r33667 | ton | 2010-12-14 21:25:49 +0200 (Tue, 14 Dec 2010) | 10 lines

Bugfix #21724

Graph Editor: "make selected channels visible" VKEY didn't
make unselected channels invisble.

What is left is that the active channel remains visible still.
Not sure if that's by design, for Joshua to answer.



------------------------------------------------------------------------
r33666 | gsrb3d | 2010-12-14 20:19:32 +0200 (Tue, 14 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33665 | ton | 2010-12-14 20:02:41 +0200 (Tue, 14 Dec 2010) | 10 lines

Bugfix #22040

Old bug report:

Image Editor, Painting: crash when texture was visible in
Material or Texture preview. Was caused by paint code
freeing mipmaps. Now replaced with a mipmap tag (to be done
again), and a new mipmap function that doesn't re-allocate.


------------------------------------------------------------------------
r33664 | campbellbarton | 2010-12-14 18:33:04 +0200 (Tue, 14 Dec 2010) | 2 lines

clamp colors from 0-1 which are used for display only.

------------------------------------------------------------------------
r33663 | ton | 2010-12-14 18:23:15 +0200 (Tue, 14 Dec 2010) | 9 lines

Bugfix #25212

Sequencer: Properties -> Panel "Strip Input" -> file browse button
next to directory name assigned the full file name.

Added on todo: unported code still for "Change Sequence", allowing
to rebrowse strip contents.


------------------------------------------------------------------------
r33662 | campbellbarton | 2010-12-14 18:20:25 +0200 (Tue, 14 Dec 2010) | 3 lines

- revert own recent change after discussion, default set hard minimum of colors to 0 but now don't set a hard min, each property needs to define.
- use_old_bump setting only applies to material texture slots.

------------------------------------------------------------------------
r33661 | jhk | 2010-12-14 17:49:36 +0200 (Tue, 14 Dec 2010) | 2 lines

Fix for [#25206] Particles system can't start at frame 0
* The basic problem is that frame 0 can't be cached, so the correct solution is to read frame 1 and interpolate backwards from that state.
------------------------------------------------------------------------
r33660 | campbellbarton | 2010-12-14 17:14:16 +0200 (Tue, 14 Dec 2010) | 7 lines

graph editor & action keyframe paste options.

- Offset, so you can paste at the same time of the original frames, at the current frame or relative to the current frame at time of copying.
- Merge method, so the pasted keys can overwrite keys in their range or the entire curve.

Currently there is no redo panel for these space types so the only way to access these options is with F6 redo popup.

------------------------------------------------------------------------
r33659 | jhk | 2010-12-14 16:45:56 +0200 (Tue, 14 Dec 2010) | 3 lines

Fix for [#25198] Smoke gets shown before simulation starts
* Smoke is now only drawn/rendered after the simulation frame range starts.
* This does not apply to simulation end frame though, so that any remaining smoke can for example be faded away nicely through material settings.
------------------------------------------------------------------------
r33658 | campbellbarton | 2010-12-14 15:56:10 +0200 (Tue, 14 Dec 2010) | 2 lines

missed renaming this enum.

------------------------------------------------------------------------
r33657 | campbellbarton | 2010-12-14 14:09:30 +0200 (Tue, 14 Dec 2010) | 2 lines

script to convert datatoc files back to data.

------------------------------------------------------------------------
r33656 | campbellbarton | 2010-12-14 13:22:54 +0200 (Tue, 14 Dec 2010) | 2 lines

curve hide keys were still not right, now match mesh editmode.

------------------------------------------------------------------------
r33655 | aligorith | 2010-12-14 12:52:38 +0200 (Tue, 14 Dec 2010) | 8 lines

Fix for 'handle_type' submenu in Graph Editor no longer working.
Previous commit fixing rest of handle type keymaps renamed this
operator, but that brings it out of line with rest of animation editor
operators, so reverting that fix.

Also, made Action Editor/DopeSheet use same hotkey as Graph Editor for
setting handle types now (which is same as one used in 3D-View).

------------------------------------------------------------------------
r33654 | campbellbarton | 2010-12-14 12:17:13 +0200 (Tue, 14 Dec 2010) | 5 lines

Change set handle types back to menu now menus have key access - V+A, V+V, V+L, V+F
for Graph & Edit Curve view.

Editcurve can be Hkey for hide again.

------------------------------------------------------------------------
r33653 | campbellbarton | 2010-12-14 10:35:56 +0200 (Tue, 14 Dec 2010) | 2 lines

update for changes in cmake files.

------------------------------------------------------------------------
r33652 | campbellbarton | 2010-12-14 08:20:28 +0200 (Tue, 14 Dec 2010) | 6 lines

[#25211] Impossible to select an armature with shapes
broke since 2.49b, highly confusing function.
Stick bones dont draw solid so cant run glLoadName() in this case.

Tested pose/object mode with all armature draw types and view draw modes.

------------------------------------------------------------------------
r33651 | campbellbarton | 2010-12-14 06:45:29 +0200 (Tue, 14 Dec 2010) | 2 lines

bugfix [#25209] X3D export results in invalid value for specular color

------------------------------------------------------------------------
r33650 | campbellbarton | 2010-12-14 06:44:07 +0200 (Tue, 14 Dec 2010) | 2 lines

disallow RNA color values to be set to negative values. Material colors could be set to -100.0 if typed in manually, this is sure to cause bad/unpredictable behavior.

------------------------------------------------------------------------
r33649 | nicholasbishop | 2010-12-14 05:30:30 +0200 (Tue, 14 Dec 2010) | 9 lines

Fixed bug #23922, Sculpting - Textured display draws incorrectly

Root cause is that some drawing modes don't work with PBVH
drawing. Worked around by adding a call to update mesh normals from
the PBVH so that sculpted changes appear correctly in those
"unsupported" modes. (They'll still draw much more slowly than solid,
but should at least appear correct now.)


------------------------------------------------------------------------
r33648 | campbellbarton | 2010-12-14 04:38:29 +0200 (Tue, 14 Dec 2010) | 10 lines

Menu UI feature common in other widget sets:
 Automatically assign menu keys based on name, alternative to pressing number 0-9 on menus items.

 keys are assigned by first giving each menu item the first character of any word, if that fails any key in the name is used.

- active key is shown underlined.
- only ascii keys are assigned currently.
- can run operators, open menu items.
- currently this only works in cases where number buttons were used (UI_BLOCK_NUMSELECT), but could be enabled for file menu, splash etc by removing this check.

------------------------------------------------------------------------
r33647 | nicholasbishop | 2010-12-14 03:19:51 +0200 (Tue, 14 Dec 2010) | 10 lines

Fixed bug #23826, Other kind of brushes appear in sculpt mode

Was another problem caused by each brush being allowed in more than
one paint mode.

Added a new field to the brush struct to indicate what mode the icon
was last set for; if it's changed then reset it. Not sure if it's
really worth it to cache this, could remove it for simplicity.


------------------------------------------------------------------------
r33646 | nazgul | 2010-12-13 23:22:30 +0200 (Mon, 13 Dec 2010) | 23 lines

Initial implementation of mdisps layer interpolation

Sculpt data shouldn't be lost when making topology changes without
quads<->tris face converison.

General idea:
- Go through all grid points of each corner and convert per-corner
  coordiante to per-face cooredinate
- Apply weights and convert new point to per-corner coordinate
- Use bilinear interpolation to get needed displacement vector

Some additional work was necessery:
- Two neighbour corners could have different displacements along common
  boundary. multires_mdisp_smooth_bounds() makes displacement "symmetrical"
- Point could change it's corner, so displacement vector should be flipped
  in some way. In some cases it's not only flipping, because corner could
  be mapped with some rotation. It's not solved for triangular faces yet,
  so only z-axis displacement would be interpolated for tris.

More limitations:
- Interpolation will give incorrect result after quad<->triangle
  face conversion.
- When face normal was fillped displacement would change it's direction too.
------------------------------------------------------------------------
r33645 | xat | 2010-12-13 23:17:00 +0200 (Mon, 13 Dec 2010) | 2 lines

Compositor: Add an option to select the YCbCR conversion mode for the YCbCR combine/separate nodes.

------------------------------------------------------------------------
r33644 | ton | 2010-12-13 21:10:35 +0200 (Mon, 13 Dec 2010) | 7 lines

Bugfix #25207

Driver fix: typing expression outside Graph Editor didn't tag the
expression to be re-evaluated. Also missing was notifier for other
editors.


------------------------------------------------------------------------
r33643 | ton | 2010-12-13 20:22:59 +0200 (Mon, 13 Dec 2010) | 8 lines

Bugfix #23420

Compositor/Image viewer
In 2.4x viewer nodes had animation playback. Not restored yet.
However, when loading such older files the viewer never showed
any result.


------------------------------------------------------------------------
r33642 | ton | 2010-12-13 19:40:06 +0200 (Mon, 13 Dec 2010) | 6 lines

Bugfix #25191

F11 pushed a render window to back, but not popped it.
This also works for user prefs btw, not bad ;)


------------------------------------------------------------------------
r33641 | ton | 2010-12-13 19:23:03 +0200 (Mon, 13 Dec 2010) | 3 lines

Small fix in error text returned from baking.


------------------------------------------------------------------------
r33640 | ton | 2010-12-13 19:10:44 +0200 (Mon, 13 Dec 2010) | 6 lines

Bugfix #25197

Curve follow path: the fcurve modifier got lost after tabbing in out
editmode. Also other non-point related curves would get lost.


------------------------------------------------------------------------
r33639 | ton | 2010-12-13 17:21:44 +0200 (Mon, 13 Dec 2010) | 7 lines

Bugfix #25199

Graph editor: submenu for handle type had drawing error.
Seems to be the collumns-separator feature for enum properties?
No time for debugging that, a 5-item menu doesn't need 2 collumns.


------------------------------------------------------------------------
r33638 | xat | 2010-12-13 16:47:31 +0200 (Mon, 13 Dec 2010) | 2 lines

Fix for imageeditor's  scopes not updating when changing the image.

------------------------------------------------------------------------
r33637 | ton | 2010-12-13 15:50:20 +0200 (Mon, 13 Dec 2010) | 7 lines

Bugfix #25178

Armature edit mode: x-mirror: "switch bone direction" now flips the
mirror bone too. It leaves the mirrored bones selected too, so
you get good visual feedback things happened there.


------------------------------------------------------------------------
r33636 | campbellbarton | 2010-12-13 13:39:11 +0200 (Mon, 13 Dec 2010) | 2 lines

check if a path can be created to a property before showing keyframe items in menus since they only give an error when accessed.

------------------------------------------------------------------------
r33634 | jhk | 2010-12-13 12:45:24 +0200 (Mon, 13 Dec 2010) | 4 lines

"Fix" for [#25184] Forces for growing hair - update inconsistency - as discussed with Jahka on Saturday on IRC
* New option to "Regrow hair" for each frame.
* This was perhaps more a feature request, but there was a similar useful feature called "animated hair" in particles at some point.
* The previous behavior for hair growing was inconsistent to say the least, so this is a nice option to have.
------------------------------------------------------------------------
r33633 | nazgul | 2010-12-13 12:24:05 +0200 (Mon, 13 Dec 2010) | 2 lines

Use mdisps layer from edit_mesh when adding/removing multires modifier
when object is in edit mode.
------------------------------------------------------------------------
r33632 | jhk | 2010-12-13 11:39:14 +0200 (Mon, 13 Dec 2010) | 1 line

Fix for [#25185] Toggling hair dynamics without deleting cache leaves hair disattached when mesh animation is controlled by deformers - discussed with Jahka on IRC on Sat
------------------------------------------------------------------------
r33631 | campbellbarton | 2010-12-13 11:10:16 +0200 (Mon, 13 Dec 2010) | 4 lines

Expose access to PROP_ENUM_FLAG from bpy.props.EnumProperty(), this is exposed as a python set(). The default value is also a python set() so multiple booleans can be used in the 1 property.

Also added PROP_ENUM_FLAG support to operator printouts.

------------------------------------------------------------------------
r33630 | aligorith | 2010-12-13 11:04:04 +0200 (Mon, 13 Dec 2010) | 6 lines

Bugfix #25188: Can't assign "add driver" to hide properties of bones

This was set to being not-animatable in r33397. However, I think there
are some valid use cases where controlling layer visibility may be a
"too heavy handed" approach.

------------------------------------------------------------------------
r33629 | campbellbarton | 2010-12-13 10:44:07 +0200 (Mon, 13 Dec 2010) | 2 lines

fix for error in recent commit.

------------------------------------------------------------------------
r33628 | aligorith | 2010-12-13 10:08:09 +0200 (Mon, 13 Dec 2010) | 4 lines

Reshuffled AnimData reading functions in writefile.c as per an old
comment I'd left in there before this code had been merged back from
NLA-SoC branch

------------------------------------------------------------------------
r33627 | campbellbarton | 2010-12-13 09:54:35 +0200 (Mon, 13 Dec 2010) | 3 lines

exceptions in registering properties were not properly handled, allowing a single error stop the main module registration loop.
worst case 1 script error could load blender without a UI.

------------------------------------------------------------------------
r33626 | campbellbarton | 2010-12-13 08:54:25 +0200 (Mon, 13 Dec 2010) | 2 lines

fix for transform operator giving '<UNKNOWN>' enum value when logged, now pass on the context for operator string representation.

------------------------------------------------------------------------
r33625 | aligorith | 2010-12-13 08:31:49 +0200 (Mon, 13 Dec 2010) | 11 lines

Lattices now have AnimData

This allows manual (point by point) animation of their control verts,
although many other settings cannot really be animated with any
visible effects yet. Interestingly, lattices also had IPO block
pointers, though they were never really used (AFAIK).

Todo:
- Animation Editor support has yet to be added. I've got a few other
things to add to, so will group those changes together.

------------------------------------------------------------------------
r33624 | campbellbarton | 2010-12-13 07:02:23 +0200 (Mon, 13 Dec 2010) | 2 lines

option to reverse cycle through render slots (Alt+J).

------------------------------------------------------------------------
r33623 | campbellbarton | 2010-12-13 06:33:58 +0200 (Mon, 13 Dec 2010) | 2 lines

fix [#24752] ctr-tab hotkey dont show "mesh select mode" menu for maya preset, but for default blender preset its ok

------------------------------------------------------------------------
r33622 | campbellbarton | 2010-12-13 04:33:14 +0200 (Mon, 13 Dec 2010) | 8 lines

multi-dimensional array resolving for rna paths.
eg, "matrix[3][2]" could be used as a driver.

Test from python
  bpy.context.object.path_resolve("matrix_world[2][3]")

Before this was always treated as a 1 dimensional array.

------------------------------------------------------------------------
r33621 | campbellbarton | 2010-12-13 01:02:19 +0200 (Mon, 13 Dec 2010) | 3 lines

bugfix [#23395] Mirror + Front Faces Only + Grab = Scaling oddity
sculpt normal was used un-initialized, this also affected snake/hook brush.

------------------------------------------------------------------------
r33620 | campbellbarton | 2010-12-12 23:50:55 +0200 (Sun, 12 Dec 2010) | 2 lines

bugfix [#25186] FBX export rotations aren't applied to the exported model file.

------------------------------------------------------------------------
r33619 | campbellbarton | 2010-12-12 23:28:07 +0200 (Sun, 12 Dec 2010) | 2 lines

clipboard setting background check correction.

------------------------------------------------------------------------
r33618 | dingto | 2010-12-12 22:36:07 +0200 (Sun, 12 Dec 2010) | 2 lines

Ui: User Preferences "Editing":
* "Sculpt Overlay Color" wasted some unnecessary space.
------------------------------------------------------------------------
r33617 | dingto | 2010-12-12 22:21:59 +0200 (Sun, 12 Dec 2010) | 2 lines

Fix for compile on windows:
*Variable declaration after return statement
------------------------------------------------------------------------
r33616 | ton | 2010-12-12 21:22:24 +0200 (Sun, 12 Dec 2010) | 6 lines

Bugfix #25183

Copy constraints pose mode: didn't update constraint flag to denote
colored bone drawing. Also notifier was missing for redraw.


------------------------------------------------------------------------
r33615 | ton | 2010-12-12 20:16:54 +0200 (Sun, 12 Dec 2010) | 6 lines

Bugfix #25179

Armature properties: layer buttons now show which ones are in use,
like object layers.


------------------------------------------------------------------------
r33614 | ton | 2010-12-12 19:59:48 +0200 (Sun, 12 Dec 2010) | 3 lines

Unlinking material crashed, missing NULL check.


------------------------------------------------------------------------
r33613 | nazgul | 2010-12-12 18:15:49 +0200 (Sun, 12 Dec 2010) | 3 lines

Fix #25177: Skeleton Sketching - deleted sketches don't disappear immediately

Added notifier ND_SKETCH for handling such actions
------------------------------------------------------------------------
r33612 | ton | 2010-12-12 18:06:04 +0200 (Sun, 12 Dec 2010) | 4 lines

Armature pose: removed the "Confirm" dialog for clearing
loc/rot/size properties.  (same as object mode)


------------------------------------------------------------------------
r33611 | campbellbarton | 2010-12-12 16:28:23 +0200 (Sun, 12 Dec 2010) | 3 lines

- fix for rna show_brush variable shadowing its parent classes with a flag which is now unused.
- getting clipboard RNA variable would crash blender in background mode.

------------------------------------------------------------------------
r33610 | ton | 2010-12-12 15:45:35 +0200 (Sun, 12 Dec 2010) | 4 lines

OS X Cocoa: added QT "Animation" codec.
Thanks to Jens Verwiebe for providing diff and test


------------------------------------------------------------------------
r33608 | campbellbarton | 2010-12-12 03:36:10 +0200 (Sun, 12 Dec 2010) | 3 lines

isect_seg_seg_v2_point was modifying the value of line vectors passed.
this could be confusing later on, now swap the pointers rather then changing their values.

------------------------------------------------------------------------
r33607 | campbellbarton | 2010-12-12 03:33:12 +0200 (Sun, 12 Dec 2010) | 2 lines

avoid possible errors, surround bit shifted defines with brackets.

------------------------------------------------------------------------
r33606 | gsrb3d | 2010-12-12 02:29:06 +0200 (Sun, 12 Dec 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33605 | nazgul | 2010-12-11 23:27:39 +0200 (Sat, 11 Dec 2010) | 9 lines

New math util funcitons:
- equals_v2v2
- project_v2_v2v2
- isect_seg_seg_v2_point
which would be necessery for my further multires interpolation commit

M_Geometry_LineIntersect2D now uses isect_seg_seg_v2_point(). Behaviour of this
function was changed a bit -- it haven't returned intersection point in several
cases when two segments are making angle.
------------------------------------------------------------------------
r33604 | ton | 2010-12-11 22:01:34 +0200 (Sat, 11 Dec 2010) | 9 lines

Sequencer:

Dropping in image/movie/sound strips was broken; it dropped
things in wrong location (frame 0), and without giving images proper
length.

The file path setting code for the operators here is complex...


------------------------------------------------------------------------
r33603 | ton | 2010-12-11 19:55:54 +0200 (Sat, 11 Dec 2010) | 8 lines

Drag/drop fix:

Outliner icons of ID blocks can be dragged, but it also caused an
activate of the item. This prevented using outliner for dragging
into name buttons. Now outliner activates on mouse-release, waiting
for potential drags to happen.


------------------------------------------------------------------------
r33602 | ton | 2010-12-11 19:47:36 +0200 (Sat, 11 Dec 2010) | 7 lines

2.4 feature back:

For constraints that have 'disabled' flag (because it has invalid
input) the name was drawn in red. Easy to recognize constraints that
stopped working.


------------------------------------------------------------------------
r33601 | dougal2 | 2010-12-11 18:35:11 +0200 (Sat, 11 Dec 2010) | 1 line

Moved extensions_framework into addons/modules
------------------------------------------------------------------------
r33600 | ton | 2010-12-11 18:06:25 +0200 (Sat, 11 Dec 2010) | 6 lines

Small fix:

Material Properties: adding new materials didn't create a new preview
icon for it.


------------------------------------------------------------------------
r33599 | jhk | 2010-12-11 15:51:04 +0200 (Sat, 11 Dec 2010) | 1 line

Added some explanation to pointcache->step value as suggested by troubled on irc.
------------------------------------------------------------------------
r33598 | jhk | 2010-12-11 14:24:23 +0200 (Sat, 11 Dec 2010) | 3 lines

Fix for [#22967] UI stops updating
* Close event probably happens when drawable is set to other window and this messes up drawing.
* Also fixes #25071 and possibly #22477 (somebody with osx has to re-test)
------------------------------------------------------------------------
r33597 | campbellbarton | 2010-12-11 13:52:28 +0200 (Sat, 11 Dec 2010) | 2 lines

allow addons/modules path so extension authors can develop their own shared modules.

------------------------------------------------------------------------
r33596 | campbellbarton | 2010-12-11 13:14:30 +0200 (Sat, 11 Dec 2010) | 2 lines

ported back background_job template from 2.4x, useful for automating blender to generate scenes in background mode.

------------------------------------------------------------------------
r33595 | campbellbarton | 2010-12-11 13:11:32 +0200 (Sat, 11 Dec 2010) | 3 lines

- ignore calls to WM_cursor_wait() in background mode (crashes saving blend files)
- rename curve enum value align CENTRAL to CENTER

------------------------------------------------------------------------
r33594 | dfelinto | 2010-12-11 02:04:01 +0200 (Sat, 11 Dec 2010) | 1 line

BGE BugFix: [#25106] modelview matrix incorrect after using VideoTexture - affecting mouse.position. Patch by Benoit Bolsee (ben2610)
------------------------------------------------------------------------
r33593 | campbellbarton | 2010-12-11 01:31:03 +0200 (Sat, 11 Dec 2010) | 3 lines

fix [#25170] The 3d view properties panel median values use Blender units when set to use imperial.
unit settings were working for vertex location but not median selection.

------------------------------------------------------------------------
r33592 | ton | 2010-12-10 21:34:42 +0200 (Fri, 10 Dec 2010) | 3 lines

Belonging to previous commit, moves menu item to correct place.


------------------------------------------------------------------------
r33591 | ton | 2010-12-10 20:48:20 +0200 (Fri, 10 Dec 2010) | 9 lines

Bugfix #25153

graph editor:
- option "extend mode" requires channel-selection. Moved pulldown menu
  from Key to Channel instead
- hotkey SHIFT+E for same operation now works both in channel list as in
  main view.


------------------------------------------------------------------------
r33590 | ton | 2010-12-10 15:31:59 +0200 (Fri, 10 Dec 2010) | 11 lines

IRC report fix:

Text edit mode (3d): brought back the ALT+Backspace mode for
typing accented characters. Works with an operator property,
so the hotkey for it is free to define.

Example: type 'a', alt+backspace and then 'o'
works to combine characters with ' ` ~ o / and ^



------------------------------------------------------------------------
r33589 | campbellbarton | 2010-12-10 15:15:11 +0200 (Fri, 10 Dec 2010) | 2 lines

fix for error in recent commit, wasn't masking out the non unit subtype flags.

------------------------------------------------------------------------
r33588 | jhk | 2010-12-10 12:34:12 +0200 (Fri, 10 Dec 2010) | 2 lines

Bug fix: child particles weren't always updated correctly
* Calling update_children(..) is very light if there's nothing to update, so it doesn't matter if it's called every time the particle system is updated.
------------------------------------------------------------------------
r33587 | jhk | 2010-12-10 10:29:46 +0200 (Fri, 10 Dec 2010) | 2 lines

Fix for [#25095] Particle systems and object with collision modifier bug
* Collisions didn't take emitter object layer into account
------------------------------------------------------------------------
r33586 | campbellbarton | 2010-12-10 08:08:11 +0200 (Fri, 10 Dec 2010) | 3 lines

bugfix [#25135] X3D export places scene objects incorrectly in x3d file
matrix rotation order issue.

------------------------------------------------------------------------
r33585 | campbellbarton | 2010-12-10 07:35:06 +0200 (Fri, 10 Dec 2010) | 4 lines

fix [#25116] X3D export does generate image texture information in x3d file
- was exporting UVs only if an image texture was used too
- was also only exporting vertex colors if UV's existed which doesnt make much sense.

------------------------------------------------------------------------
r33584 | campbellbarton | 2010-12-10 06:39:53 +0200 (Fri, 10 Dec 2010) | 3 lines

fix [#25155] Glare node > Simple star > Rotate 45 is always applied
from acob F (raccoon)

------------------------------------------------------------------------
r33583 | campbellbarton | 2010-12-10 06:10:21 +0200 (Fri, 10 Dec 2010) | 7 lines

bugfix [#25154] .MXF files should be included as a known video file type in the sequencer
       [#25159] Vertex locations dont read correctly and are not labeled correctly in the properties bar.

- non rna buttons can now have units set.
- calls with invalid units system now raises an assert().
- include .mxf in filter.

------------------------------------------------------------------------
r33582 | campbellbarton | 2010-12-10 02:20:32 +0200 (Fri, 10 Dec 2010) | 6 lines

patch [#25027] formatting mathutils.geometry module docs for sphinx
from Luka Bonavita

See:
http://www.blender.org/documentation/250PythonDoc/mathutils.geometry.html

------------------------------------------------------------------------
r33581 | campbellbarton | 2010-12-10 02:10:43 +0200 (Fri, 10 Dec 2010) | 2 lines

transforming pose bones while the animation was playing would crash.

------------------------------------------------------------------------
r33580 | campbellbarton | 2010-12-10 02:00:01 +0200 (Fri, 10 Dec 2010) | 2 lines

tag unused variables.

------------------------------------------------------------------------
r33579 | bdiego | 2010-12-10 00:27:55 +0200 (Fri, 10 Dec 2010) | 24 lines

Change the BLF_aspect function to handle 3d text.

This is need to properly handle 3d text (dalai work on GE), before
the BLF_aspect only take one argument, and the result was a call to:
	glScalef(aspect, aspect, 1.0)

Now the three value are store in the font (x, y and z) and also
need to be enable using BLF_enable(BLF_ASPECT).

By default all the code that don't have BLF_ASPECT enable work with
a scale of 1.0 (so nothing change to the current UI).

I also remove all the call of BLF_aspect(fontid, 1.0) found in
the editors, because is disable by default, so no need any more.

Campbell the only thing to check is the python api, right now
I modify the api to from:
	BLF_aspect(fontid, aspect)
to:
	BLF_aspect(fontid, aspect, aspect, 1.0)

This is to avoid break the api, but now you need add the BLF_ASPECT
option to the function py_blf_enable and in some point change
py_blf_aspect to take 3 arguments.
------------------------------------------------------------------------
r33578 | ton | 2010-12-09 21:06:45 +0200 (Thu, 09 Dec 2010) | 12 lines

Related to previous commit:

I still have to learn more of the recent changes in code :)

Didn't know the handle type options became a menu for Curve edit mode.
Providing much-used tools non-modal (direct) really should have
preference. Pull down is not very accessible here though, will
check on it later. :)

This restores H, Shift+H, V and alt+H for handle setting.


------------------------------------------------------------------------
r33577 | ton | 2010-12-09 20:31:40 +0200 (Thu, 09 Dec 2010) | 11 lines

Bugfix #25150

Graph editor: hotkeys for handles restored; they work immediate
and non modal now (menu was ugly and slow). Uses similar options
as 3d curve editing, but not toggling 'aligned'
HKEY: sets aligned
SHIFT+H: sets auto
ALT+H: sets free handle
VKEY: vector handle


------------------------------------------------------------------------
r33576 | ton | 2010-12-09 20:08:58 +0200 (Thu, 09 Dec 2010) | 6 lines

Two nice usability fixes:

- On inserting keyframes in buttons, no redraw happened
- Keyframe in icon-only buttons now draw color in background.


------------------------------------------------------------------------
r33575 | ton | 2010-12-09 19:36:44 +0200 (Thu, 09 Dec 2010) | 3 lines

Added more clear tooltip for Auto Save feature.


------------------------------------------------------------------------
r33574 | ton | 2010-12-09 19:35:35 +0200 (Thu, 09 Dec 2010) | 3 lines

User prefs: label "Auto Save" was on wrong position.


------------------------------------------------------------------------
r33573 | dfelinto | 2010-12-09 19:31:42 +0200 (Thu, 09 Dec 2010) | 4 lines

renaming blf_api.h to blf_py_api.h
In windows this was producing Linking dependence errors because we have BLF_api.h in the /blenfont/ and blf_api.h in /python/generic/. It doesn't produces crash out of the box but I was trying to link both "api" files to the same project (Ketjsi folder). For the linking order was determining what header to use. A workaround is to "include" the file using some ../../ relative folder. But renaming it is less error prone.

Probably Ketsji folder shouldn't link to BLF_api.h anyways, but this is something I will look better later before another commit. In the mean time it's not a good idea to have 2 api files with the same name (for non case-sensitive systems).
------------------------------------------------------------------------
r33572 | sirdude | 2010-12-09 18:50:32 +0200 (Thu, 09 Dec 2010) | 9 lines

A little more work on patch [#24814] Operators which have no decription
        submitted by Murat Egretli

Not actually a patch but talks about descriptions that are missing
and some small fixes that are needed.

Kent


------------------------------------------------------------------------
r33571 | ton | 2010-12-09 18:15:51 +0200 (Thu, 09 Dec 2010) | 6 lines

Bugfix 25147

Graph editor: operator poll for 'active curve' didn't check for
visibility flag, caused tool like ctrl+click to still work.


------------------------------------------------------------------------
r33570 | ton | 2010-12-09 17:49:05 +0200 (Thu, 09 Dec 2010) | 12 lines

Bugfix #25120 and #25119 and numerous future bugs!

Two isses:
- Material assigning to MetaBalls used wrong pointer
  (copy paste error, casting badly).
- Checking for node-material used wrong RNA pointer
  (confusing void stuff going on here!)

The error leads to corruption in data and/or random
crashes. Better update svn now!


------------------------------------------------------------------------
r33569 | campbellbarton | 2010-12-09 13:49:38 +0200 (Thu, 09 Dec 2010) | 5 lines

Problem with FCurve pasting reported by Rob Garlington.
- Pasting from 1 fcurve to any other fcurve now works (skip index and rna path checking).
- Pasting multiple fcurves between bones now works.
- If path checking fails, pasting matches indices so Scale XYZ can be pasted into Location XYZ for eg.

------------------------------------------------------------------------
r33568 | dfelinto | 2010-12-09 09:05:09 +0200 (Thu, 09 Dec 2010) | 1 line

removing BLF_types.h from CMakeLists.txt
------------------------------------------------------------------------
r33567 | campbellbarton | 2010-12-09 08:08:19 +0200 (Thu, 09 Dec 2010) | 3 lines

- internal py/rna ifdef's USE_MATHUTILS was mixed up,
- updated tooltip for vertex group mirror.

------------------------------------------------------------------------
r33566 | bdiego | 2010-12-09 06:36:58 +0200 (Thu, 09 Dec 2010) | 33 lines

Add the possibility to set a 4x4 matrix to be used on blf.

This option allow the user to set a 4x4 matrix to be
multiplied before draw the text, for example:

	double *m;

	/* Get the matrix or build it! */

	BLF_matrix(m);
	BLF_enable(BLF_MATRIX);

	/* set color, size, etc and draw! */

	BLF_disable(BLF_MATRIX);

You don't need the last line (disable), but remember
that if you use the font to draw in any other place,
the matrix will be used!.

The GL code is:

	glPushMatrix();
	glMultMatrixd(m);
	glTranslatef();
	glScalef();
	glRotatef();

	glPopMatrix();

Let's Dalai test this!!! :D


------------------------------------------------------------------------
r33565 | campbellbarton | 2010-12-09 05:22:03 +0200 (Thu, 09 Dec 2010) | 4 lines

bugfix [#25104] Identical material settings render differently
- Use Old Bump option wasn't available.
- noise_intensity wasn't visible for MULTIFRACTAL musgrave textures.

------------------------------------------------------------------------
r33564 | bdiego | 2010-12-09 03:05:06 +0200 (Thu, 09 Dec 2010) | 3 lines

Testing commit! Remove an empty file.


------------------------------------------------------------------------
r33563 | sirdude | 2010-12-08 23:56:50 +0200 (Wed, 08 Dec 2010) | 6 lines

Added a few descriptions that were missing.
This is a little bit of todo item:
[#24814] Operators which have no decription

Kent

------------------------------------------------------------------------
r33562 | jhk | 2010-12-08 22:10:59 +0200 (Wed, 08 Dec 2010) | 5 lines

UI Cleanup: Halo materials and textures
* Textures applied to halo materials showed influence option for normal particles. This was really confusing, and with the cleanup I revealed a couple of hidden features too!
** Particles actually allow for textures to change halo size and hardness, but my guess is that nobody knew since the names were wrong in the ui!
** I also added the option to change the "add" value with a texture, since it was just silly not to have it.
* Halo material properties are also a bit cleaner now.
------------------------------------------------------------------------
r33561 | ton | 2010-12-08 20:12:59 +0200 (Wed, 08 Dec 2010) | 6 lines

Bugfix #20598

Armature editmode: Circle select didn't flush selections, causing
the center part of bones to remain unselected.


------------------------------------------------------------------------
r33560 | ton | 2010-12-08 19:51:25 +0200 (Wed, 08 Dec 2010) | 5 lines

Bugfix #25099

Outliner: group view: restrict buttons should be disabled in editmode.


------------------------------------------------------------------------
r33559 | campbellbarton | 2010-12-08 16:40:14 +0200 (Wed, 08 Dec 2010) | 2 lines

increase grease pencil user count when copying objects.

------------------------------------------------------------------------
r33558 | ton | 2010-12-08 15:19:27 +0200 (Wed, 08 Dec 2010) | 17 lines

Bugfix #25086

The texture node is procedural; like RGB node it has no real buffers,
but allows per-pixel reading. The compositor uses nodes that directly
access buffers too, which conflicts with it... needs more design here.

Restored old functionality that just passes on preview size buffers
for nodes to prevent crashes. Giving it a render-size buffer is not
nice; the resolution-independence of texture nodes is interesting to
keep.

Solution could be:
- visually tag input/output sockets for this case (sockets with buffers,
  vs sockets with values), so users know what to expect.



------------------------------------------------------------------------
r33557 | campbellbarton | 2010-12-08 15:02:16 +0200 (Wed, 08 Dec 2010) | 2 lines

metaball rotations must be kept normalized, normalize values after setting from rna/python.

------------------------------------------------------------------------
r33556 | campbellbarton | 2010-12-08 13:44:38 +0200 (Wed, 08 Dec 2010) | 2 lines

remove contents from the svn cleanup file. not used now and could turn up results with source searches.

------------------------------------------------------------------------
r33555 | campbellbarton | 2010-12-08 13:42:11 +0200 (Wed, 08 Dec 2010) | 8 lines

pedantic word ordering change.
- wm.add_modal_handler -> modal_handler_add
- wm.add_fileselect -> fileselect_add
- ob.add_shape_key -> shape_key_add
- VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove)

Also made 2 internal cmake vars hidden.

------------------------------------------------------------------------
r33554 | jhk | 2010-12-08 13:02:56 +0200 (Wed, 08 Dec 2010) | 2 lines

Bug fix: normal (from particles) child particles didn't use the rough parameters properly
* Also child particles didn't do particle trail properly.
------------------------------------------------------------------------
r33553 | campbellbarton | 2010-12-08 12:52:44 +0200 (Wed, 08 Dec 2010) | 2 lines

edits to last commit, only report quat errors with DEBUG builds - as with assert()'s, and print the size.

------------------------------------------------------------------------
r33552 | campbellbarton | 2010-12-08 11:57:21 +0200 (Wed, 08 Dec 2010) | 2 lines

use prints rather then asserts when normalized quats are expected.

------------------------------------------------------------------------
r33551 | campbellbarton | 2010-12-08 11:50:49 +0200 (Wed, 08 Dec 2010) | 2 lines

this change broke building.

------------------------------------------------------------------------
r33550 | campbellbarton | 2010-12-08 11:02:08 +0200 (Wed, 08 Dec 2010) | 2 lines

cmake - mark vars as advanced so they dont show up by default when configuring.

------------------------------------------------------------------------
r33549 | campbellbarton | 2010-12-08 10:43:06 +0200 (Wed, 08 Dec 2010) | 2 lines

use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.

------------------------------------------------------------------------
r33548 | dfelinto | 2010-12-08 08:59:13 +0200 (Wed, 08 Dec 2010) | 3 lines

BGE BugFix: [#24052] Can't change dynamic object's orientation using python (fix by Benoit)
from the tracker:
"""The required functionality is provided by the localOrientation property: setting this value will change the dynamic object orientation. This is because dynamic object have no parent and thus the local and world orientation are identical. However, setting worldOrientation will only change the scenegraph node, which has no effect as the physics controller will reset the orientation on next physics synchronization."""
------------------------------------------------------------------------
r33547 | campbellbarton | 2010-12-08 07:51:16 +0200 (Wed, 08 Dec 2010) | 10 lines

bugfix [#25082] minor bug. RGB to Intensity doesn't works for Lamps
- This is working correctly but confusing, made more confusing by UI problems, corrected these and updated tooltop for 'tex.use_rgb_to_intensity'
- bad RNA arguments used for lamps (left over from RNA renaming).
- use isinstance(...), rather then comparing type() directly, this failed with lamp type checks.
- removed redundant argument to internal texture UI function factor_but().
- the texture color was drawn inactive when it was used in some cases.

Note. AFAIK its not possible to do a general check to see if a texture is colored or not, eg: its possible a plugin texture returns color in some cases and greyscale in others.
so for now always have color button active.

------------------------------------------------------------------------
r33546 | campbellbarton | 2010-12-08 06:40:20 +0200 (Wed, 08 Dec 2010) | 5 lines

bug [#25081] changes to pose bone selection state via python have no effect.
Remove pose channel select, this is for internal use on read/write only.

Its possible to have a convenience attribute but rather not fake bone data being in the pose channel. just access pose_bone.bone.select

------------------------------------------------------------------------
r33545 | campbellbarton | 2010-12-08 05:25:31 +0200 (Wed, 08 Dec 2010) | 3 lines

fix for own change r33524, at the moment the context always has to be valid, noted with XXX.
reported by Doug Hammond.

------------------------------------------------------------------------
r33544 | campbellbarton | 2010-12-08 05:05:46 +0200 (Wed, 08 Dec 2010) | 7 lines

Changed armature active bone so it is separate from selection this is consistent with active object, mesh editmode, curves & metaballs.
- active is no longer assumed to be selected.
  this fixes a simple bug - eg: Adding a new armature, entering pose mode and toggling selection failed.
- outliner editbone selection now works like object and pose mode.
- mouse selection sets the bone active even when the tip is selected.
- active, unselected bones draw as wire color with a 15% tint of the selected color.

------------------------------------------------------------------------
r33543 | campbellbarton | 2010-12-08 02:58:15 +0200 (Wed, 08 Dec 2010) | 4 lines

fix [#25088] Add spot lamp causing crash
this is actually an assert not a crash, when the lamp and view axis were aligned, the quat could not correctly be converted into a matrix.
Now fallback to the X axis in this case.

------------------------------------------------------------------------
r33542 | jhk | 2010-12-08 00:17:58 +0200 (Wed, 08 Dec 2010) | 3 lines

Fix for [#25079] Duplicating object with particles system on it make Blender crashs
* pointcache->cached_frames wasn't set to NULL when copying pointcaches
* also set pointcache->edit to null just in case
------------------------------------------------------------------------
r33541 | nazgul | 2010-12-07 22:22:35 +0200 (Tue, 07 Dec 2010) | 7 lines

Fix #25085: Enabling "Show Cone" on dupliverted buffer spots crashes Blender

Cone can't be drawn for duplicated lamps, because lamps with cone are drawn after
main draw function (from view3d_draw_transp) and list of duplicated object gets
freed to this moment.

Disable cone draw for lamps which are from dupli.
------------------------------------------------------------------------
r33540 | jhk | 2010-12-07 14:58:25 +0200 (Tue, 07 Dec 2010) | 6 lines

"Particle" texture coordinates for halo materials:
* Particle age can now be used as the texture x-coordinate, and location in a particle trail as the y-coordinate.
* This finally enables particles in 2.5 to change their color (or any other texturable material property) by their age.
* In 2.4x this was accomplished with the "100 frames == particle age", but this was both non-intuitive and slow as the animation system had to be recalculated for every particle.
* Currently these are 2d coordinates (age/lifetime == x-coordinate, trail particle index/number of trail particles == y-coordinate), but other particle properties or possibly even a user definable property can be added as coordinates in the future.
* On the code side this uses the same coordinate definition number (for halo materials) as strand coordinates (for surface materials). This is also nice as they intuitively mean nearly the same thing, i.e. along strand or during particle life.
------------------------------------------------------------------------
r33539 | campbellbarton | 2010-12-07 14:51:03 +0200 (Tue, 07 Dec 2010) | 4 lines

- fix for crash with constraint UI when using with a pinner object, with None active.
- fix for material UI when the pinned data was not a material.
- fix an error axis-angle drot label.

------------------------------------------------------------------------
r33538 | jhk | 2010-12-07 14:29:51 +0200 (Tue, 07 Dec 2010) | 1 line

Bug fix: Halos didn't use texture alpha
------------------------------------------------------------------------
r33536 | campbellbarton | 2010-12-07 13:57:34 +0200 (Tue, 07 Dec 2010) | 2 lines

Added WITH_CXX_GUARDEDALLOC support for GHOST, disabled by default.

------------------------------------------------------------------------
r33535 | aligorith | 2010-12-07 13:03:53 +0200 (Tue, 07 Dec 2010) | 6 lines

Bugfix #24163a: Unable to animate INSIDE a group node in the compositor
(This commit doesn't fix the original bug reported in the report, but does fix one that was discovered while investigating that one)

Trying to insert keyframes for nodes within group nodes was failing.

This was caused by the ID-block for those UI widgets being set to the Node Editor's current ID-block (i.e. NodeTree) vs the NodeTree that those nodes lived in. The net result was that the paths couldn't be resolved, as the paths obtained for those widgets could only work up to the group's nodetree.
------------------------------------------------------------------------
r33534 | aligorith | 2010-12-07 12:15:09 +0200 (Tue, 07 Dec 2010) | 5 lines

Bugfix #25049: Compositing Nodes not Keyframable

An error seems to have been introduced to the node-tree building at some point, which means that the ID-type for data-attached node trees was incorrect (i.e. scene->nodetree->id.name = NTREE_COMPOSIT instead of ID_NT).

This in turn meant that the ID AnimData availability poll would fail, as the ID-type could not be determined.
------------------------------------------------------------------------
r33532 | campbellbarton | 2010-12-07 11:22:14 +0200 (Tue, 07 Dec 2010) | 3 lines

bugfix [#25074] visible, selectable and render toggles in outliner not available
outliner added UI buttons which exceeded the range of a short, use ints for x/y button positioning.

------------------------------------------------------------------------
r33531 | campbellbarton | 2010-12-07 10:52:12 +0200 (Tue, 07 Dec 2010) | 2 lines

fix for own mistake, reported [#25076] Creating new empty crashes Blender

------------------------------------------------------------------------
r33530 | jesterking | 2010-12-07 10:37:00 +0200 (Tue, 07 Dec 2010) | 1 line

Remove redundant VC_REDIST code, since it's not used anymore.
------------------------------------------------------------------------
r33529 | campbellbarton | 2010-12-07 10:27:20 +0200 (Tue, 07 Dec 2010) | 2 lines

error checking for setting operator string values for python operators, and get rid of annoying warnings (cmake/linux now builds without warnings again, except for extern libs).

------------------------------------------------------------------------
r33528 | campbellbarton | 2010-12-07 09:02:47 +0200 (Tue, 07 Dec 2010) | 5 lines

2D text drawing
- with the NLA on a small strip text was drawn under the scroll bar, now draw with same alignment as rectangle constrained text.
- single alloc per text item.
- was using opengl context rather then passing color value.

------------------------------------------------------------------------
r33527 | campbellbarton | 2010-12-07 08:47:40 +0200 (Tue, 07 Dec 2010) | 2 lines

minor internal python api change - pass the context rather then getting from BPy_GetContext() again.

------------------------------------------------------------------------
r33526 | campbellbarton | 2010-12-07 07:39:14 +0200 (Tue, 07 Dec 2010) | 2 lines

bugfix [#25073] Rendered image goes dim when saved from python batch script

------------------------------------------------------------------------
r33525 | campbellbarton | 2010-12-07 06:47:38 +0200 (Tue, 07 Dec 2010) | 2 lines

fix for warnings in last commit

------------------------------------------------------------------------
r33524 | campbellbarton | 2010-12-07 06:12:15 +0200 (Tue, 07 Dec 2010) | 4 lines

pass along the context to extension functions, this was already being done in all cases except for the render engine.

this allows python to NULL its internal context while scripts are not running.

------------------------------------------------------------------------
r33523 | campbellbarton | 2010-12-07 03:56:32 +0200 (Tue, 07 Dec 2010) | 12 lines

Added an assert() check for normalized quats which exposed a number of bugs where normalized quat was incorrectly assumed.
This would have made bug #25003 very simple to find.

- Objects had their quats normalized when calculating their matrix, this is inconstant with pose bones and isn't useful for animation.
  Also it wasn't normalizing the delta rotation so these would give bad rotations.

- Converting between rotation modes BKE_rotMode_change_values() assumed normal length quat. changing quat to euler rotation for eg could change the bone.

- Clear rotation and transform were not normalizing the quat when 4d loc was disabled on quat rotation, corrected and also made it so the quat scale is restored after conversion so animations curves dont jump.

There is 1 case in mat3_to_quat_is_ok() where quat_to_mat3 on an unnormalized quat is needed, for this I had to add an ugly static function quat_to_mat3_no_assert(), but overall its worthwhile IMHO to be able to find incorrect use of rotation conversion.

------------------------------------------------------------------------
r33522 | dfelinto | 2010-12-07 03:54:25 +0200 (Tue, 07 Dec 2010) | 4 lines

BGE BugFix: [#21246] Some values for ipoactuator.frameEnd and frameStart make ipo not play the first time
This is a bug as old as the ability to change the actuator values through Python.

For the records: although Blender supports floats as frame values BGE doesn't. It could but it doesn't. So only integers (longs) will be valid start/end frames.
------------------------------------------------------------------------
r33521 | campbellbarton | 2010-12-07 03:38:42 +0200 (Tue, 07 Dec 2010) | 3 lines

mathutils quaternion axis/angle access was broken for non unit lenth quats, would return NAN's in simple cases.
now normalize upon conversion, when setting the quat axis/ange, maintain length by scaling back to the original size afterwards.

------------------------------------------------------------------------
r33520 | campbellbarton | 2010-12-07 03:30:14 +0200 (Tue, 07 Dec 2010) | 3 lines

incorrect paranoid check for drawing texture face mode with no faces, it would crash in this case anyway.
instead check for faces from the caller.

------------------------------------------------------------------------
r33519 | campbellbarton | 2010-12-07 02:48:36 +0200 (Tue, 07 Dec 2010) | 4 lines

fix for crash on missing NULL check,

Brecht, changed this to update the duplicate objects data rather then the old ones incase they are not linked.

------------------------------------------------------------------------
r33517 | nazgul | 2010-12-06 23:18:08 +0200 (Mon, 06 Dec 2010) | 4 lines

Got rid of old-school searching CVs for index update.
No more infinity loops could happen -- only keyIndex data loose.
But it's smaller harm and actually could be easily fixed and it's more
correct way.
------------------------------------------------------------------------
r33516 | ton | 2010-12-06 20:59:12 +0200 (Mon, 06 Dec 2010) | 3 lines

Oops, committed without saving correct code :)


------------------------------------------------------------------------
r33515 | ton | 2010-12-06 20:58:04 +0200 (Mon, 06 Dec 2010) | 7 lines

Bugfix #25060

Edit mesh: CTRL+Click added vertices in edge/face select mode, but
doesn't draw them. Better disable it then.
Also removed dangling event print.


------------------------------------------------------------------------
r33514 | ton | 2010-12-06 20:10:08 +0200 (Mon, 06 Dec 2010) | 6 lines

Bugfix #25003

Pose mode: "Paste flipped" failed on not-normalized quaternions
(for example ones you edited with buttons)


------------------------------------------------------------------------
r33513 | nazgul | 2010-12-06 19:49:57 +0200 (Mon, 06 Dec 2010) | 7 lines

Update curve animation data when loading UndoCurve -- fixes memory corruption
when starting playback after undo-ing topology changes

The simpliest way was to change data at which undoCurve_to_editCurve and
editCurve_to_undoCurve works from curve to object. Maybe it's not very
cool, but still better than moving curve animation handlers outside of
editcurve module.
------------------------------------------------------------------------
r33512 | ton | 2010-12-06 19:41:12 +0200 (Mon, 06 Dec 2010) | 3 lines

Sync fix with render branch. Solves crash with ob->bb not found.


------------------------------------------------------------------------
r33511 | nazgul | 2010-12-06 19:37:37 +0200 (Mon, 06 Dec 2010) | 1 line

Forgot to remove this in previous commit
------------------------------------------------------------------------
r33510 | nazgul | 2010-12-06 19:20:22 +0200 (Mon, 06 Dec 2010) | 10 lines

Curves CV animation
===================

Update fcurves RNA pathes after making changes to curve topology, so
animation will no longer lost after edit and wouldn't lead to crash.

Will be very useful for RotoBezier addon.

Also NodeKeyIndex renamed to CVNodeIndex due to node is an entity from
another module and better not used in others.
------------------------------------------------------------------------
r33508 | ton | 2010-12-06 17:44:06 +0200 (Mon, 06 Dec 2010) | 7 lines

Bugfix #25023 (additional remark, not report itself)

Adding Cone didn't set default 'fill end cap', as tooltip
promised it would be.



------------------------------------------------------------------------
r33507 | nazgul | 2010-12-06 15:44:36 +0200 (Mon, 06 Dec 2010) | 2 lines

Curves shape keys:
fixed memory corruption after creating new CVs and switching direction
------------------------------------------------------------------------
r33505 | campbellbarton | 2010-12-06 14:36:55 +0200 (Mon, 06 Dec 2010) | 3 lines

include getset's for generating module docs.
used for bpy.debug/tempdir/driver_namespace which were previously undocumented.

------------------------------------------------------------------------
r33504 | campbellbarton | 2010-12-06 12:56:37 +0200 (Mon, 06 Dec 2010) | 2 lines

CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file.

------------------------------------------------------------------------
r33502 | campbellbarton | 2010-12-06 10:29:41 +0200 (Mon, 06 Dec 2010) | 4 lines

bugfix [#24967] bge.KX_GameObject.worldAngularVelocity does not work, breaks mathutils somehow
- Exceptions from reading vector values in the game engine where not being caught.
- Also wrote specific KX_GameObject exceptions, without these the errors are quite confusing.

------------------------------------------------------------------------
r33500 | campbellbarton | 2010-12-06 09:45:07 +0200 (Mon, 06 Dec 2010) | 4 lines

bugfix [#24995] Object rotation seems to be applied incorrectly
- Object actuator rotation was being scaled by: (1/0.02)*2*PI/360 == 0.872, since revision 2.
- Remove scaling and use do_versions to adjust existing files.

------------------------------------------------------------------------
r33499 | campbellbarton | 2010-12-06 08:26:47 +0200 (Mon, 06 Dec 2010) | 2 lines

bugfix [#25057] Vertex paint - Cannot select or paint vertices of obscured vertices, even when obscuring faces are hiddden

------------------------------------------------------------------------
r33498 | campbellbarton | 2010-12-06 07:31:27 +0200 (Mon, 06 Dec 2010) | 3 lines

[#25030] Grease Pencil active_frame_delete() deletes wrong layer
move buttons to the header since they only operate on the active layer.

------------------------------------------------------------------------
r33497 | campbellbarton | 2010-12-06 06:05:34 +0200 (Mon, 06 Dec 2010) | 4 lines

bugfix [#25046] Bold and Italics checkboxes for Text objects seem to do nothing
- Part of this report is a misunderstanding, but there was no access to bold/italic fonts.
- Added rna access and changed the operators to use only rna properties.

------------------------------------------------------------------------
r33496 | theeth | 2010-12-06 04:42:59 +0200 (Mon, 06 Dec 2010) | 3 lines

[#25047] Deletion of any custom key map item remove always first one

keymap item id for user defined keymaps wasn't defined properly. This is really old, I'm surprised with didn't catch this before.
------------------------------------------------------------------------
r33495 | campbellbarton | 2010-12-06 04:32:16 +0200 (Mon, 06 Dec 2010) | 2 lines

bugfix [#22663] object material slots not updated for library data

------------------------------------------------------------------------
r33493 | campbellbarton | 2010-12-06 02:52:30 +0200 (Mon, 06 Dec 2010) | 4 lines

- converted path cleaning on file load to use bPath Iterator functions - image & font and sequence paths were being cleaned but not multires, voxel & sound paths.
- skip fixing file paths on undo.
- simplify bpath alloc and free functions, also pass Main structure so as not to rely on G.main, (needed for file load).

------------------------------------------------------------------------
r33492 | campbellbarton | 2010-12-06 01:50:55 +0200 (Mon, 06 Dec 2010) | 2 lines

use BLI_strnlen rather then strlen when comparing against fixed lengths.

------------------------------------------------------------------------
r33491 | campbellbarton | 2010-12-06 01:14:48 +0200 (Mon, 06 Dec 2010) | 5 lines

bpath iterator updates
- loop over sequencer plugin and texture voxel paths.
- fix leak in python bpy.utils.blend_path() and use PyUnicode_DecodeFSDefault() to ensure correct paths with different encodings.
- operators to make paths absolute & relative now redraw the view.

------------------------------------------------------------------------
r33490 | blendix | 2010-12-05 20:59:23 +0200 (Sun, 05 Dec 2010) | 10 lines

Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now it
only tags the ID and does the actual flush/update delayed, before the next
redraw. For objects the update was already delayed, just flushing wasn't
yet.

This should help performance in python and animation editors, by making
calls to RNA property update quicker. Still need to add calls in a few
places where this was previously avoided due to bad performance.


------------------------------------------------------------------------
r33489 | schlaile | 2010-12-05 19:56:15 +0200 (Sun, 05 Dec 2010) | 3 lines

Partial bugfix for [#25037] , brought back Select menu in Sequencer
header...

------------------------------------------------------------------------
r33488 | dougal2 | 2010-12-05 18:39:48 +0200 (Sun, 05 Dec 2010) | 1 line

extensions_framework: prefer user config and scripts dirs, if set, to save addon config files to.
------------------------------------------------------------------------
r33487 | schlaile | 2010-12-05 18:14:34 +0200 (Sun, 05 Dec 2010) | 6 lines

Probably bugfix for [#25050] Outputing mpeg (audio in AC3 format) causes
audio to become buggy.

Added sensible audio preset settings for ffmpeg rendering


------------------------------------------------------------------------
r33486 | ton | 2010-12-05 16:13:57 +0200 (Sun, 05 Dec 2010) | 5 lines

Render UI: added the very important "free unused nodes" in the
Performance panel. This should actually be default on background
render...


------------------------------------------------------------------------
r33484 | ton | 2010-12-05 14:32:58 +0200 (Sun, 05 Dec 2010) | 6 lines

Bugfix #25041

Sequencer crash when combining a scene strip with image strip and cross.
Code lacked proper check for byte buffer in scene...


------------------------------------------------------------------------
r33483 | ton | 2010-12-05 14:14:02 +0200 (Sun, 05 Dec 2010) | 5 lines

Bug fix #25042

Emulate numpad option: failed to use zero key to reset color picker.


------------------------------------------------------------------------
r33482 | zanqdo | 2010-12-05 12:38:45 +0200 (Sun, 05 Dec 2010) | 2 lines

Object transparency setting should only show on MESH type

------------------------------------------------------------------------
r33481 | blendix | 2010-12-05 12:14:34 +0200 (Sun, 05 Dec 2010) | 4 lines

Fix part of #25040: rendering multiple scenes from compositing nodes didn't
restore current scene properly afterwards.


------------------------------------------------------------------------
r33480 | campbellbarton | 2010-12-05 11:20:18 +0200 (Sun, 05 Dec 2010) | 5 lines

use PyUnicode_DecodeFSDefault rather then PyUnicode_DecodeUTF8(str, strlen(str), "surrogateescape"), for converting non utf8 names.
this is needed because some UTF8 names didnt resolve on windows when using surrogateescape'd strings.

This meant you couldn't export to models some directories on windows.

------------------------------------------------------------------------
r33478 | nazgul | 2010-12-05 09:08:14 +0200 (Sun, 05 Dec 2010) | 2 lines

- Fixed dead-lock when subviding curve
- Hard-limit for cuts number is set to INT_MAX, soft limit to 10 (same as for meshes)
------------------------------------------------------------------------
r33477 | campbellbarton | 2010-12-05 08:40:47 +0200 (Sun, 05 Dec 2010) | 2 lines

use constant strings for outliner menus rather then sprint'ing them together.

------------------------------------------------------------------------
r33476 | campbellbarton | 2010-12-05 04:16:01 +0200 (Sun, 05 Dec 2010) | 2 lines

fix for camera border going outside the clipping range while in camera view.

------------------------------------------------------------------------
r33475 | jhk | 2010-12-05 03:48:49 +0200 (Sun, 05 Dec 2010) | 3 lines

Fix for [#25036] boids particle from 2.49 opened in 2.5 is crash !?
* Old boids didn't have all of the necessary data for the new system.
* Changed the particles code so that a check for all necessary data is always done before starting actual dynamics calculations.
------------------------------------------------------------------------
r33474 | campbellbarton | 2010-12-05 02:08:25 +0200 (Sun, 05 Dec 2010) | 2 lines

correction to r33469, operators return sets so string comparison isn't valid.

------------------------------------------------------------------------
r33473 | nazgul | 2010-12-04 20:34:31 +0200 (Sat, 04 Dec 2010) | 2 lines

Fixed memory leak in thumbnail_joblist_free: last image in loadimages weren't
freed even if it's not copied to the filelist
------------------------------------------------------------------------
r33472 | ton | 2010-12-04 18:02:04 +0200 (Sat, 04 Dec 2010) | 7 lines

IRC report:

Adding mesh primitive circle/cone/tube now has first vertex
on top. Looks much nicer on low vertex totals.
Fix provided by Mario G Kishalmi, thanks!


------------------------------------------------------------------------
r33471 | ton | 2010-12-04 17:45:16 +0200 (Sat, 04 Dec 2010) | 12 lines

Bug fix #21900

Issue with Library linking: if you already have libraries linked in,
and you attempt to link more data, using internally already linked
stuff (like a group with group links) the linkage would fail. It did
resolve on save-load though.

There's a long commented history in this code explaining it. I found
out it was because of manual step-by-step linking versus normal file
reads. In the first case, the "lib pointer map" was missing references.


------------------------------------------------------------------------
r33470 | damien78 | 2010-12-04 16:26:45 +0200 (Sat, 04 Dec 2010) | 1 line

Cocoa : fix drag and drop was no more operational after having fullscreened the window
------------------------------------------------------------------------
r33469 | ton | 2010-12-04 15:46:25 +0200 (Sat, 04 Dec 2010) | 7 lines

Bugfix #21893

Python Operator "Delete Edge Loop" (which keeps mesh connected)
changed selection if sliding operator failed. Simply added a
check for return value. Gosh, that Python code is not bad ;)


------------------------------------------------------------------------
r33468 | campbellbarton | 2010-12-04 15:00:28 +0200 (Sat, 04 Dec 2010) | 4 lines

Maintenance,
- remove some redundant declarations
- changed VertexTangent and Path structs to avoid compiler alignment padding.

------------------------------------------------------------------------
r33467 | ton | 2010-12-04 14:33:45 +0200 (Sat, 04 Dec 2010) | 9 lines

Bugfix #24699

Crash when deleting Shapekeys, while Graph or Dopesheet was visible.
Caused by RNA collection lookup, which is not checking against index
out of range errors.

Brecht might have to give blessings for this though :)


------------------------------------------------------------------------
r33466 | campbellbarton | 2010-12-04 13:44:56 +0200 (Sat, 04 Dec 2010) | 3 lines

Give functions that use printf style formatting GCC format attributes so if incorrect formatting is used the compiler will warn of this.
found & fixed 2x incorrect formatting args.

------------------------------------------------------------------------
r33465 | ton | 2010-12-04 13:34:26 +0200 (Sat, 04 Dec 2010) | 10 lines

Bugfix #25033

Texture face options like "two side" were invisible, unless the
top bar "render engine" was set to Game Engine.
This is confusing, since 3d window does draw these options well.

Added back panel to show default, but with a label warning that
the options are not supported for render.


------------------------------------------------------------------------
r33462 | campbellbarton | 2010-12-04 08:25:36 +0200 (Sat, 04 Dec 2010) | 8 lines

disallow setting RNA attributes while drawing, this is bad practice so enforcing here has the benifit of making sure people are not manipulating blender scene data in a drawing panel for eg.

This is ifdef'd and may be disabled later on, or only enabled in debug mode.

This applies to setting any RNA value that has an ID and is not a screen or window-manager datablock.

Some addons break this rule and need fixing but from my tests blender UI scripts are ok.

------------------------------------------------------------------------
r33461 | campbellbarton | 2010-12-04 08:21:08 +0200 (Sat, 04 Dec 2010) | 2 lines

minor changes to bone UI script.

------------------------------------------------------------------------
r33460 | campbellbarton | 2010-12-04 07:34:16 +0200 (Sat, 04 Dec 2010) | 2 lines

fix for strict prototype error.

------------------------------------------------------------------------
r33459 | campbellbarton | 2010-12-04 03:11:50 +0200 (Sat, 04 Dec 2010) | 2 lines

own mistake made r33442, was returning the pose channel, rather then its bone.

------------------------------------------------------------------------
r33458 | campbellbarton | 2010-12-04 01:55:10 +0200 (Sat, 04 Dec 2010) | 2 lines

remove shadowed definitions but keep them as zero this time.

------------------------------------------------------------------------
r33456 | ton | 2010-12-03 21:42:40 +0200 (Fri, 03 Dec 2010) | 4 lines

Const conflict in PIL_dynlib_find_symbol
Thanks wiseman!


------------------------------------------------------------------------
r33455 | ton | 2010-12-03 21:29:05 +0200 (Fri, 03 Dec 2010) | 6 lines

Bugfix #2508

Campbell's cleanup commit  33442 today broke axes drawing.
Restored code.


------------------------------------------------------------------------
r33454 | ton | 2010-12-03 20:49:38 +0200 (Fri, 03 Dec 2010) | 7 lines

IRC fix:

Curve editmode was missing hotkey for operator "Select Inverse"
Is now added like Mesh, CTRL+I
Thanks lmg!


------------------------------------------------------------------------
r33453 | ton | 2010-12-03 20:39:40 +0200 (Fri, 03 Dec 2010) | 7 lines

IRC bug report

Text editor, "Add new" caused zero-user block.
The claim in the code why it should be decreased is dubious.
Thanks wiseman!


------------------------------------------------------------------------
r33452 | ton | 2010-12-03 20:35:10 +0200 (Fri, 03 Dec 2010) | 6 lines

Irx report:

Missing void declarator in init ffmpg (appears to be error now).
Thanks lmg!


------------------------------------------------------------------------
r33451 | ton | 2010-12-03 20:26:42 +0200 (Fri, 03 Dec 2010) | 10 lines

Bugfix #24568

The old blocking "time cursor" wasn't working anymore.
Commit 32798 overlooked that the initialization was
needed.

Now bakes show it again. Note to self: it seems to flash
slightly (like 2.49), need to check on it one day.


------------------------------------------------------------------------
r33450 | ton | 2010-12-03 19:31:34 +0200 (Fri, 03 Dec 2010) | 6 lines

Bugfix #25026

Nurbs edit: 'switch order' crashed when order was higher than amount of
points.


------------------------------------------------------------------------
r33448 | campbellbarton | 2010-12-03 19:05:21 +0200 (Fri, 03 Dec 2010) | 4 lines

Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.

Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.

------------------------------------------------------------------------
r33447 | campbellbarton | 2010-12-03 18:45:04 +0200 (Fri, 03 Dec 2010) | 2 lines

compile fixes for mingw32.

------------------------------------------------------------------------
r33445 | nazgul | 2010-12-03 16:35:10 +0200 (Fri, 03 Dec 2010) | 1 line

Fix for compilation error caused by strict prototype checking
------------------------------------------------------------------------
r33444 | nazgul | 2010-12-03 16:35:03 +0200 (Fri, 03 Dec 2010) | 4 lines

Fix #25017: Bezier Curve Deform Twisting after adding Shape Keys

- Invalid step was used in curve_applyKeyVertexTilts
- Minor cleanup in editcurve stuff
------------------------------------------------------------------------
r33443 | ton | 2010-12-03 16:26:03 +0200 (Fri, 03 Dec 2010) | 8 lines

Bugfix #20565

Material Node shaders: displaying GLSL + rendering previews crashed.
Reason was non-safe threaded access to material nodes. Now, on a preview
render, a full copy of Material is being made.



------------------------------------------------------------------------
r33442 | campbellbarton | 2010-12-03 14:30:59 +0200 (Fri, 03 Dec 2010) | 5 lines

- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.

------------------------------------------------------------------------
r33441 | jhk | 2010-12-03 14:08:59 +0200 (Fri, 03 Dec 2010) | 3 lines

Fix for [#24899] Sequence Transform strips don't apply animation properly to scale.
* Rendering a scene strip updated all animation data to it's frame, so fcurves were left with the wrong value.
* Now the animation data is recalculated to original frame after rendering each scene strip.
------------------------------------------------------------------------
r33439 | zanqdo | 2010-12-03 13:05:36 +0200 (Fri, 03 Dec 2010) | 3 lines

Align Objects operator was broken due to incorrect order of vector by
matrix multiplication

------------------------------------------------------------------------
r33437 | campbellbarton | 2010-12-03 05:44:39 +0200 (Fri, 03 Dec 2010) | 3 lines

updates to patch from Dan Eicher, allow adding a NodeGroup through bpy.data.node_groups.new(name, type)
made some minor changes.

------------------------------------------------------------------------
r33436 | campbellbarton | 2010-12-03 04:24:21 +0200 (Fri, 03 Dec 2010) | 2 lines

fix [#24938] Seed value on Particle settings gives Error when trying to insert key.

------------------------------------------------------------------------
r33435 | campbellbarton | 2010-12-03 03:52:28 +0200 (Fri, 03 Dec 2010) | 2 lines

fix for some pedantic warnings.

------------------------------------------------------------------------
r33433 | campbellbarton | 2010-12-03 00:58:23 +0200 (Fri, 03 Dec 2010) | 2 lines

fix [#25015] Ctrl+L linking to scene list does not scroll when the list is larger than screen resolution

------------------------------------------------------------------------
r33432 | campbellbarton | 2010-12-02 23:55:55 +0200 (Thu, 02 Dec 2010) | 2 lines

correction to error message from Dan Eicher

------------------------------------------------------------------------
r33431 | campbellbarton | 2010-12-02 23:48:46 +0200 (Thu, 02 Dec 2010) | 3 lines

fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.

------------------------------------------------------------------------
r33430 | campbellbarton | 2010-12-02 23:40:39 +0200 (Thu, 02 Dec 2010) | 2 lines

fix crash when report timer was set but no usable error reports were found.

------------------------------------------------------------------------
r33429 | dougal2 | 2010-12-02 21:03:24 +0200 (Thu, 02 Dec 2010) | 1 line

extensions_framework: fix bug that would create extra UI space when entire row is hidden. May not be the most efficient implementation, however it is working properly now.
------------------------------------------------------------------------
r33428 | ton | 2010-12-02 20:27:04 +0200 (Thu, 02 Dec 2010) | 6 lines

Bugfix #25010

When loading files without UI (quit.blend) you got memory-free errors
for fileselect. Pointers were NULLed where not needed.


------------------------------------------------------------------------
r33427 | gsrb3d | 2010-12-02 19:30:28 +0200 (Thu, 02 Dec 2010) | 2 lines

Update include paths for fonts in image stat display (rev33422).

------------------------------------------------------------------------
r33426 | ton | 2010-12-02 18:12:55 +0200 (Thu, 02 Dec 2010) | 6 lines

IRC comment fix:

Option "free all texture-images" after render, was also
freeing unsaved painted images. Now it skips them.


------------------------------------------------------------------------
r33425 | jhk | 2010-12-02 16:52:07 +0200 (Thu, 02 Dec 2010) | 1 line

Fix for [#25006] Particle system crash (missing check for negative index)
------------------------------------------------------------------------
r33424 | campbellbarton | 2010-12-02 07:39:43 +0200 (Thu, 02 Dec 2010) | 5 lines

bugfix [#24913] Text bevel normals wrong
error was introduced 33269, to fix [#24834].

this only reverts a small part of that commit, added note not to change this.

------------------------------------------------------------------------
r33423 | jhk | 2010-12-02 06:47:40 +0200 (Thu, 02 Dec 2010) | 2 lines

Fix for [#25001] Enable Smoke High Resolution is greyout after baking
* Was a bit too eager to disable stuff
------------------------------------------------------------------------
r33422 | campbellbarton | 2010-12-02 06:23:56 +0200 (Thu, 02 Dec 2010) | 2 lines

use fixed width fonts for image stat display.

------------------------------------------------------------------------
r33421 | jhk | 2010-12-02 06:06:02 +0200 (Thu, 02 Dec 2010) | 3 lines

Additional fix for #24958 Cloth pinning not working
* Don't assume that the original dm given to cloth modifier is a cddm

------------------------------------------------------------------------
r33420 | aligorith | 2010-12-02 04:03:30 +0200 (Thu, 02 Dec 2010) | 1 line

Adding some descriptions for animation-related operators that were missing them.
------------------------------------------------------------------------
r33419 | campbellbarton | 2010-12-02 03:18:59 +0200 (Thu, 02 Dec 2010) | 11 lines

patch [#23212] Python api for Nodes
from Dan Eicher (dna)

This allows automated node tree creation and editing.

developer note, made some changes to the patch.
- removed incorrect use of container_of(), GCC only also, search for the scene instead.
- commented socket min/max access, these are internal use only as far as I can tell.
- commented group/ungroup functions, these use the selection context and are not really data level functions.
- use remove() rather then delete()

------------------------------------------------------------------------
r33418 | campbellbarton | 2010-12-02 01:40:21 +0200 (Thu, 02 Dec 2010) | 2 lines

fixed crash with rigid body constraints not having their child pointer read correctly.

------------------------------------------------------------------------
r33417 | ton | 2010-12-01 19:47:38 +0200 (Wed, 01 Dec 2010) | 7 lines

Bugfix #24999

Array Modifier: edge indices could be equal to numVerts, causing
bad crashes in derivedmesh. Similar fix to previous here with
face indices. Should poke the coder of this... for now it survives OK.


------------------------------------------------------------------------
r33416 | ton | 2010-12-01 17:58:45 +0200 (Wed, 01 Dec 2010) | 10 lines

Bugfix #24890

Particle cache reading: crash when loading .blend on a different
endian system, code was dumping arrays in .blend without DNA.

General warning for devs: avoid generic write_data and dynamic
arrays in DNA.



------------------------------------------------------------------------
r33413 | ton | 2010-12-01 15:18:24 +0200 (Wed, 01 Dec 2010) | 8 lines

Bugfix #24903

GRLESS key was missing in RNA key list, so it didn't show up in
keymap editor. Internally support for it worked already.

Thanks to Milos Zajic for showing the fix.


------------------------------------------------------------------------
r33412 | jhk | 2010-12-01 14:23:10 +0200 (Wed, 01 Dec 2010) | 3 lines

Fix for [#24958] Cloth pinning not working
* Cloth now uses the original derived mesh for simulation and a new dm only for applying the simulation result.
* Reverted Campbell's temporary workaround r33406.
------------------------------------------------------------------------
r33411 | campbellbarton | 2010-12-01 12:17:31 +0200 (Wed, 01 Dec 2010) | 6 lines

partial fix [#23265] matrix_world rna path is visible but returns 0 to drivers without error however accessed
this report raised a number of problems with rna paths, while we still dont have multi-dimensional array access, invalid paths were being accepted which confused things.

rna path resolving code was accepting all sorts of invalid input because atoi() just returns 0 for non numeric input.
now check if 0 number == '0' character.

------------------------------------------------------------------------
r33410 | campbellbarton | 2010-12-01 11:12:54 +0200 (Wed, 01 Dec 2010) | 2 lines

fix for crashes trying to resolve paths "location[]" or "location.."

------------------------------------------------------------------------
r33409 | campbellbarton | 2010-12-01 10:49:08 +0200 (Wed, 01 Dec 2010) | 2 lines

increase the reference counts when setting default scene compo nodes else removing them can set the user count < 0.

------------------------------------------------------------------------
r33408 | campbellbarton | 2010-12-01 09:25:59 +0200 (Wed, 01 Dec 2010) | 2 lines

disable redcode support for cmake & scons-freebsd

------------------------------------------------------------------------
r33407 | campbellbarton | 2010-12-01 09:15:05 +0200 (Wed, 01 Dec 2010) | 3 lines

quit blender if the first X11 window fails to open.
mainly just to avoid a segfault so the user knows its not a bug.

------------------------------------------------------------------------
r33406 | campbellbarton | 2010-12-01 07:59:11 +0200 (Wed, 01 Dec 2010) | 3 lines

workaround [#24958] Cloth pinning not working
detailed explanation as to why this is needed in report.

------------------------------------------------------------------------
r33405 | campbellbarton | 2010-12-01 04:54:10 +0200 (Wed, 01 Dec 2010) | 6 lines

bugfix [#23406] DPX Images load darker then saved, UI broken.
- a linear float buffer was being created and saved into a non-linear DPX/Cineon file.
- removed the UI since the settings are not used at the moment.

added a utility function IMB_float_profile_ensure(), which returns a float buffer in the requested profile, using the existing if needed or returning an allocated buffer if the profile is different to that of the ImBuf. - Useful this case where the save function has its own linear setting.

------------------------------------------------------------------------
r33404 | campbellbarton | 2010-12-01 04:40:13 +0200 (Wed, 01 Dec 2010) | 2 lines

fix for some mistakes in recent commit.

------------------------------------------------------------------------
r33403 | campbellbarton | 2010-12-01 04:28:08 +0200 (Wed, 01 Dec 2010) | 2 lines

patch from JacobF on IRC, copy smoke settings. double checked none of these are used for runtime.

------------------------------------------------------------------------
r33402 | campbellbarton | 2010-12-01 01:50:21 +0200 (Wed, 01 Dec 2010) | 4 lines

fix [#24990] When extruding bones the outliner does not immediately update
also changed notify functions for new bone, hide/reveal, switch direction and parent.
these used ND_POSE or ND_DRAW, replaced with ND_BONE_SELECT since this changes editmode bone hierarchy/selection.

------------------------------------------------------------------------
r33401 | campbellbarton | 2010-12-01 01:38:31 +0200 (Wed, 01 Dec 2010) | 4 lines

bugfix [#22638] Alpha channel not saved when using texture paint
check for alpha channel while saving images that have been painted onto.
It would be nicer to do this while in paint mode except this isn't so simple with project paint using multiple images at once.

------------------------------------------------------------------------
r33400 | campbellbarton | 2010-12-01 00:39:41 +0200 (Wed, 01 Dec 2010) | 5 lines

minor console changes.
- remove report argument from console functions.
- don't update the scroll area while drawing, do this within operators instead.
- dont redraw while selecting text unless selection changes.

------------------------------------------------------------------------
r33399 | campbellbarton | 2010-11-30 23:51:03 +0200 (Tue, 30 Nov 2010) | 3 lines

bugfix [#23423] Multi-window : closing game windows cause blender crash
detect closing window while the BGE runs and exit without crashing, as if Esc was pressed.

------------------------------------------------------------------------
r33398 | jhk | 2010-11-30 23:31:18 +0200 (Tue, 30 Nov 2010) | 14 lines

Smoke now uses only one point cache where both normal and high resolution smoke are stored together:
* Separate caches were causing quite a lot of problems both in principle and practice.
* For example it doesn't really make sense to have different frame ranges for normal and high resolution smoke, but this was fully possible before.
* Also to fully bake the smoke you had to do a "Bake All Dynamics", which completely defeats the whole point of the feature!
* As a result of this change the smoke cache usage is much much simpler and less error prone.
* This is quite a big change, but hopefully there should be less rather than more problems as a result :)

Some other related changes:
* Changing the cache name now works for disk caches properly too, it now just renames the cache files so should be faster too!
* Smoke is now always forced to disk cache with step 1 on file load as there were some strange cases where smoke was trying to use memory cache.
* Disabled smoke debug prints from console.
* Disabled changing smoke parameters when smoke is baked.

Note to users: The unfortunate side effect of this is that old high resolution simulations have to be baked again, but in return you get much better and more logical functionality. Sorry none the less!
------------------------------------------------------------------------
r33397 | campbellbarton | 2010-11-30 22:22:26 +0200 (Tue, 30 Nov 2010) | 4 lines

minor rna changes
- set matrix values not to be animatable
- some matrix values were still accessed as 1d arrays.

------------------------------------------------------------------------
r33396 | campbellbarton | 2010-11-30 21:12:17 +0200 (Tue, 30 Nov 2010) | 2 lines

missing NULL check in own recent commit,

------------------------------------------------------------------------
r33395 | campbellbarton | 2010-11-30 21:08:44 +0200 (Tue, 30 Nov 2010) | 2 lines

remove unmaintained windows and unix game engine plugin code.

------------------------------------------------------------------------
r33394 | gsrb3d | 2010-11-30 21:06:34 +0200 (Tue, 30 Nov 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33393 | campbellbarton | 2010-11-30 20:52:39 +0200 (Tue, 30 Nov 2010) | 2 lines

Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime & sndfile options.

------------------------------------------------------------------------
r33392 | ton | 2010-11-30 20:46:34 +0200 (Tue, 30 Nov 2010) | 7 lines

Bugfix #24976

Compositor: MultiLayer image node: on using layer menu, the entire
multilayer file got freed, causing node to collapse and open full
again after a composite.


------------------------------------------------------------------------
r33391 | campbellbarton | 2010-11-30 20:07:44 +0200 (Tue, 30 Nov 2010) | 5 lines

misc small changes.
- commented unused View3D->flag's
- popup dialog now centers over the mouse
- only overwrite image alpha with render settings on save if saving the render result.

------------------------------------------------------------------------
r33390 | ton | 2010-11-30 17:39:38 +0200 (Tue, 30 Nov 2010) | 8 lines

Bugfix #24986

When duplicating a mesh that has a mask modifier on it,
the invert option of that modifier dis not copy over.

Report + fix provided by Jacob F. Thanks!


------------------------------------------------------------------------
r33388 | campbellbarton | 2010-11-30 07:15:58 +0200 (Tue, 30 Nov 2010) | 3 lines

bugfix [#24974] "select all" in weight paint -> face selection mode selects all bones instead of all faces
face mask mode overrides pose mode keys. also removed function call from transform code.

------------------------------------------------------------------------
r33387 | campbellbarton | 2010-11-30 03:03:17 +0200 (Tue, 30 Nov 2010) | 2 lines

bugfix [#24798] Texture panels are shown in wrong order

------------------------------------------------------------------------
r33384 | campbellbarton | 2010-11-29 22:57:02 +0200 (Mon, 29 Nov 2010) | 2 lines

replace overly verbose matrix creation for BGE camera, typo fix from MikeS.

------------------------------------------------------------------------
r33383 | campbellbarton | 2010-11-29 22:42:03 +0200 (Mon, 29 Nov 2010) | 4 lines

bugfix [#24969] Python Console bug: inserting a large text leads to strange caret behavior

Caret wasn't wrapping.

------------------------------------------------------------------------
r33382 | ton | 2010-11-29 20:58:49 +0200 (Mon, 29 Nov 2010) | 4 lines

False should be with capital in Py
(IRC report by dsavi)


------------------------------------------------------------------------
r33381 | ton | 2010-11-29 19:23:06 +0200 (Mon, 29 Nov 2010) | 4 lines

Makefile fix, the getversion.py was using minor release numbers,
which conflicts how paths work in BLI bundle detection.


------------------------------------------------------------------------
r33380 | ton | 2010-11-29 19:10:46 +0200 (Mon, 29 Nov 2010) | 7 lines

Bugfix #24971

Outliner: if bottom slider was hidden, you still could not click there
on items. Code was using region-mask to clip input, but the mask is not
adjusted for sliders now (keeps view same).


------------------------------------------------------------------------
r33379 | gsrb3d | 2010-11-29 19:09:33 +0200 (Mon, 29 Nov 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33378 | ton | 2010-11-29 17:25:06 +0200 (Mon, 29 Nov 2010) | 8 lines

For all buttons with search-menu option, the button will show a
red-alert drawing when input doesn't exist. Will help debugging
when messing with uv-layer names, vertex groups, etc.

Also closes bugreport #24905



------------------------------------------------------------------------
r33377 | ton | 2010-11-29 16:29:30 +0200 (Mon, 29 Nov 2010) | 4 lines

Description of BLI_strncpy() and BLI_strdupcat() were mixed up.
IRC reported by OniNiubbo


------------------------------------------------------------------------
r33376 | ton | 2010-11-29 15:14:51 +0200 (Mon, 29 Nov 2010) | 6 lines

From the todo:

Save or load .blend file shows cursor 'wait' again. Is clear to indicate
a totally blocking operation.


------------------------------------------------------------------------
r33375 | campbellbarton | 2010-11-29 09:56:45 +0200 (Mon, 29 Nov 2010) | 4 lines

fix for error when changing DISBALE_PYTHON -> WITH_PYTHON,
This define wasn't set in some parts of the BGE causing problems with the view matrix.
in CMake define for the entire BGE fixes this.

------------------------------------------------------------------------
r33374 | broken | 2010-11-29 09:37:20 +0200 (Mon, 29 Nov 2010) | 1 line

Fix [#24964] HISTOGRAM: Inconsistency in spaces
------------------------------------------------------------------------
r33373 | broken | 2010-11-29 09:07:08 +0200 (Mon, 29 Nov 2010) | 1 line

Fix [#20241] half-transparent objects in volume have no shadow.
------------------------------------------------------------------------
r33372 | campbellbarton | 2010-11-29 06:35:56 +0200 (Mon, 29 Nov 2010) | 3 lines

include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.

------------------------------------------------------------------------
r33371 | broken | 2010-11-29 03:05:20 +0200 (Mon, 29 Nov 2010) | 5 lines

Fix:
[#24170] Camera inside volume error
[#24838] Light inside Volume material drops on it's walls - it may be double

Problem in a previous bugfix commit, reverted back, the original bug is still fixed too.
------------------------------------------------------------------------
r33370 | campbellbarton | 2010-11-29 02:18:26 +0200 (Mon, 29 Nov 2010) | 3 lines

fix [#24921] Crash after inserting keyframing UV coords and changing frame in edit mode
zero length arrays were still having their members accessible.

------------------------------------------------------------------------
r33369 | campbellbarton | 2010-11-29 01:07:49 +0200 (Mon, 29 Nov 2010) | 3 lines

bugfix [#24947] Animations data replaced by the first animation (fbx exporter)
this feature was ported from 2.5x but not tested, referring to the wrong object when assigning actions.

------------------------------------------------------------------------
r33368 | ton | 2010-11-28 20:54:43 +0200 (Sun, 28 Nov 2010) | 4 lines

Variable declaration in code, not allowed!
Also made it NULL, looks nicer than 0 ;)


------------------------------------------------------------------------
r33367 | ton | 2010-11-28 20:34:16 +0200 (Sun, 28 Nov 2010) | 12 lines

Bugfix #24933

Compositor: Texture node only allowed 1 user, with more nodes using it
there was a thread conflict, using same memory for writing values.

Also: brought back the original intention for texture nodes, which is to
be using a "procedural image", not allocating memory for a buffer, but
only allowing to read per pixel. Commit in 2007 (!) allocated full buffers
for texture nodes, without using them even.



------------------------------------------------------------------------
r33366 | schlaile | 2010-11-28 20:23:21 +0200 (Sun, 28 Nov 2010) | 13 lines

== Sequencer ==

This fixes Orig Dimension display (mostly).
* orx, ory both didn't get calculated, if dimension already matched
* putting them into Strip instead of StripData ment, that using images
  of different dimensions in one strip could lead to incorrect results

Still TODO: on file open, timeline display happens before preview
display which means: orig_width and height are calculated after the
first draw of N-keys dialog. You have to hit refresh (or scrub one
frame) to get the right values displayed.


------------------------------------------------------------------------
r33365 | mindrones | 2010-11-28 20:22:23 +0200 (Sun, 28 Nov 2010) | 6 lines

== addons ==

After discussing with campbell, I'm adding a menu in the addons panel to help people to find the addons development pages
This should give more visibility to the bf-extensions project so that people know where they can share their scripts "officially".


------------------------------------------------------------------------
r33364 | ton | 2010-11-28 18:36:36 +0200 (Sun, 28 Nov 2010) | 6 lines

Bugfix #24953

Compositor: If scene render size changed, a Texture node didn't get tagged
to re-render, using previous size instead.


------------------------------------------------------------------------
r33362 | campbellbarton | 2010-11-28 15:39:39 +0200 (Sun, 28 Nov 2010) | 3 lines

bugfix "Export UV Layout" stalls when saving file in 2.55b
remove duplicate UVs on export to avoid long ztransp filling times - common on faces which have no assigned UV coords.

------------------------------------------------------------------------
r33361 | campbellbarton | 2010-11-28 14:38:29 +0200 (Sun, 28 Nov 2010) | 4 lines

fix for fix [#24955] Generating UV-Images within blender (Alt-N) not possible
We had 3 reports of not being able to add images in editmode which was a workaround for redo in editmode bug.
Rather then having it use operator redo, just give an OK button.

------------------------------------------------------------------------
r33358 | campbellbarton | 2010-11-28 08:03:30 +0200 (Sun, 28 Nov 2010) | 6 lines

minor changes to the python api.
- pep8 script was giving an error on non utf8 scons source files.
- use PyList_SET_ITEM macro when list type is ensured.
- all mathutils types use subtypes to create new types when available.
- use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices.

------------------------------------------------------------------------
r33356 | gsrb3d | 2010-11-27 21:59:00 +0200 (Sat, 27 Nov 2010) | 2 lines

Detect Gallium driver. Extend NPoT workaround to opensource drivers.

------------------------------------------------------------------------
r33355 | ton | 2010-11-27 21:33:40 +0200 (Sat, 27 Nov 2010) | 6 lines

Bugfix #21385

Blender MultiLayer openEXR files now save with correct scanline order.
Code also provides backward compatibility. Also thanks to Troy Sobotka!


------------------------------------------------------------------------
r33354 | theeth | 2010-11-27 21:18:13 +0200 (Sat, 27 Nov 2010) | 5 lines

[#24935] Proportional translation size stuck to none

Adjust hard and soft limits on proportional size operator property.

Prevent zero in old files with reset if under hard limit (in tools settings).
------------------------------------------------------------------------
r33353 | campbellbarton | 2010-11-27 20:30:56 +0200 (Sat, 27 Nov 2010) | 3 lines

bugfix [#24944] Crash on attempting to keyframe HSV color
prevent eternal loop

------------------------------------------------------------------------
r33348 | campbellbarton | 2010-11-27 04:39:51 +0200 (Sat, 27 Nov 2010) | 13 lines

python access to driver namespace, rather then have a textblock defined for drivers allow scripts to add functions directly.
- bpy.app.driver_namespace, read-only dictionary, edit in-place.
- reset on file load and new file.
- on errors the namespace used to be reset, this should not be needed.

simple example.

  def driverFunc(val):
    return val * val
  bpy.app.driver_namespace['driverFunc'] = driverFunc

... now all drivers can access this function.

------------------------------------------------------------------------
r33347 | campbellbarton | 2010-11-27 02:56:18 +0200 (Sat, 27 Nov 2010) | 2 lines

console text underscore would draw outside the view for larger font sizes.

------------------------------------------------------------------------
r33346 | campbellbarton | 2010-11-27 02:23:06 +0200 (Sat, 27 Nov 2010) | 3 lines

fix for fix r33330, bug [#23118].
combing hair the view matrix wasn't updated so depth comparison was incorrect.

------------------------------------------------------------------------
r33345 | campbellbarton | 2010-11-27 01:38:23 +0200 (Sat, 27 Nov 2010) | 3 lines

Particle draw was calling glColorMaterial(...) after glEnable(GL_COLOR_MATERIAL), this is documented to be incorrect.
On my system it set the ambient color value to 1.0.

------------------------------------------------------------------------
r33344 | mfoxdogg | 2010-11-27 00:12:46 +0200 (Sat, 27 Nov 2010) | 11 lines

added option to turn off Text anti-aliasing in the UI
(userpref->system), with a great help from brecht (its been way too long
for me).

However as brecht pointed out that the non-AA text is slightly lareger
then AA'ed Text :S, i did not do anything about this as this commit was
just the option not the text drawing.

this commit also makes it possible to do all kinds of UI textrender options


------------------------------------------------------------------------
r33343 | nazgul | 2010-11-26 20:13:27 +0200 (Fri, 26 Nov 2010) | 5 lines

Fix #24914: 3D text glitch and crash

Crash was caused by invalid utf8 sequence pasteing from the clipboard.
Prevent memory corruption by giving utf8slen() the same rules of bytes checking
as utf8towchar() does.
------------------------------------------------------------------------
r33342 | campbellbarton | 2010-11-26 19:25:06 +0200 (Fri, 26 Nov 2010) | 6 lines

remove support for rna resolving paths with collection['name'], only support collection["name"],
 added r31826.

This is valid python syntax but I rather be strict with data path format else it becomes harder to parse them if we try to support this.
it means checks like fcurve.data_path.startswith('pose.bones["SomeBone"]') isn't ensured to work, since blender uses "" quotes everywhere for keyframe paths I dont think its an advantage to allow users to do it differently.

------------------------------------------------------------------------
r33341 | dingto | 2010-11-26 19:11:16 +0200 (Fri, 26 Nov 2010) | 2 lines

Rigid Body Joint Constraint:
* RNA fix for my last commit, we want the last 3 items of the array, not the first 3, added get/set functions.
------------------------------------------------------------------------
r33340 | nazgul | 2010-11-26 19:08:22 +0200 (Fri, 26 Nov 2010) | 1 line

Update nurb keyindex data when subdividing -- shape key data wouldn't be lost anyway
------------------------------------------------------------------------
r33339 | campbellbarton | 2010-11-26 19:07:31 +0200 (Fri, 26 Nov 2010) | 2 lines

fix building blenderplayer and a divide by zero bug with the console view.

------------------------------------------------------------------------
r33336 | campbellbarton | 2010-11-26 18:33:42 +0200 (Fri, 26 Nov 2010) | 3 lines

change monospace font to be an extern, not good final design but better then loading the same font 3 times.
need to load twice still because render may use the font in a thread.

------------------------------------------------------------------------
r33334 | jhk | 2010-11-26 17:37:08 +0200 (Fri, 26 Nov 2010) | 2 lines

"Fix" for [#24934] Particle single user crash
* Changing anything related to particle settings shouldn't be allowed when in particle mode, so disabled the buttons in ui.
------------------------------------------------------------------------
r33333 | jhk | 2010-11-26 16:33:44 +0200 (Fri, 26 Nov 2010) | 2 lines

Bug fix: voxeldata texture extension didn't work.
* Code was using tex->extend instead of vd->extend.
------------------------------------------------------------------------
r33331 | campbellbarton | 2010-11-26 15:40:47 +0200 (Fri, 26 Nov 2010) | 2 lines

lasso select wasn't comparing the depth with particle selection, where border and circle select do.

------------------------------------------------------------------------
r33330 | campbellbarton | 2010-11-26 14:57:35 +0200 (Fri, 26 Nov 2010) | 5 lines

bugfix [#23118] Blender freezes when combing hair - OS X path changes related?
- glReadPixels() was running to get the depth on each pixel, this works fine one some cards but was locking up on OSX.
- Replace glReadPixels() call with a single call to view3d_update_depths() right after view3d_validate_backbuf(), so the depths are only read once.
- Unrelated to the changes above, but should improve performance: view3d_validate_backbuf() was being called on every redraw while combing, now only call once when combing starts.

------------------------------------------------------------------------
r33329 | campbellbarton | 2010-11-26 14:38:42 +0200 (Fri, 26 Nov 2010) | 2 lines

remove calls to update the depth buffer while in particle editmode, this calls glReadPixels() for the viewport which is slow on some systems and the depths are currently not used.

------------------------------------------------------------------------
r33327 | imbusy | 2010-11-26 13:20:03 +0200 (Fri, 26 Nov 2010) | 1 line

freeing all free GPU buffers every frame could be a performance issue and is not necessary
------------------------------------------------------------------------
r33326 | dfelinto | 2010-11-26 05:58:31 +0200 (Fri, 26 Nov 2010) | 1 line

follow up of "Bugfix #23576" (Logic UI) - replacing hardcoded values by RNA_struct_is_a + making rna_sensor future proof
------------------------------------------------------------------------
r33325 | blendix | 2010-11-26 05:50:14 +0200 (Fri, 26 Nov 2010) | 4 lines

Fix #24855: disabling shadows didn't disable AO/env with ray transparency
and AO multiply mode.


------------------------------------------------------------------------
r33324 | dfelinto | 2010-11-26 05:37:08 +0200 (Fri, 26 Nov 2010) | 4 lines

BGE Bugfix: [#24926] Sensor 'Radar' les axes X+ et Y+ ont été inversé. (oui, a french bug report :)
we were using SENSOR_RAY for the radar sensor axis. However the Ray axis is inverted (God knows why) so I created a set of defines only for radar sensor.

Also I thought it was a good idea to replace some hardcoded values in Radar and Ray codes by their defines in DNA_sensor_types.h (similar to what Benoit did for Armature Sensor, so I see no problem on that).
------------------------------------------------------------------------
r33323 | blendix | 2010-11-26 05:31:12 +0200 (Fri, 26 Nov 2010) | 3 lines

Fix #24923: tweak falloff strength tooltip to apply both to AO and indirect.


------------------------------------------------------------------------
r33322 | blendix | 2010-11-26 05:26:57 +0200 (Fri, 26 Nov 2010) | 5 lines

Fix #24775: boolean modifier crash in rendering on Mac. Problem was that this
ran out of stack memory, now it passes some arguments by reference instead of
by value to use less stack space.


------------------------------------------------------------------------
r33321 | campbellbarton | 2010-11-26 02:52:37 +0200 (Fri, 26 Nov 2010) | 3 lines

fix [#24900] Texture paint mode broken
own commit r33070 broke this.

------------------------------------------------------------------------
r33320 | jhk | 2010-11-26 00:15:04 +0200 (Fri, 26 Nov 2010) | 1 line

ATI X1xxx gfx cards (R500 chipset) lack full support for npot textures although they report the GLEW_ARB_texture_non_power_of_two extension.
------------------------------------------------------------------------
r33319 | jhk | 2010-11-26 00:13:40 +0200 (Fri, 26 Nov 2010) | 1 line

Smoke domain resolutions were calculated wrong for non-cube domains in some cases.
------------------------------------------------------------------------
r33318 | campbellbarton | 2010-11-25 23:59:12 +0200 (Thu, 25 Nov 2010) | 2 lines

bugfix while looking into [#24900], color wasn't being set for face-mask mode.

------------------------------------------------------------------------
r33317 | campbellbarton | 2010-11-25 22:50:50 +0200 (Thu, 25 Nov 2010) | 2 lines

bone roll recalculate, option to use active bones Z axis.

------------------------------------------------------------------------
r33316 | campbellbarton | 2010-11-25 21:49:07 +0200 (Thu, 25 Nov 2010) | 13 lines

bugfix [#24907] bone roll z up broken and python script showing correct method to roll bones
from Josh Wedlake (joshwedlake), who provided a reference script used to apply changes in ED_rollBoneToVector().

- Obvious bug fixed where Z-Up didnt work right.
- More align axis options to Recalculate Roll operator: X/Y/Z/View Axis & Negate.
- Axis Only option, ignore the axis direction, use shortest rotation to align bones.


ED_rollBoneToVector() changes:
- would give bad roll when the axis wasn't normalized or perpendicular to the bone.
  some callers accounted for this but not all.
- option to align to the axis but not the direction.

------------------------------------------------------------------------
r33315 | nazgul | 2010-11-25 20:22:59 +0200 (Thu, 25 Nov 2010) | 1 line

Fixed bug with Text menu in font edit mode
------------------------------------------------------------------------
r33314 | imbusy | 2010-11-25 19:36:03 +0200 (Thu, 25 Nov 2010) | 3 lines

fix for https://projects.blender.org/tracker/index.php?func=detail&aid=24442&group_id=9&atid=498
[#24442] GLSL + VBOs

------------------------------------------------------------------------
r33312 | campbellbarton | 2010-11-25 18:00:06 +0200 (Thu, 25 Nov 2010) | 2 lines

new vectors that were the result of functions or operators were not using the same subclass as the vectors they were derived from.

------------------------------------------------------------------------
r33311 | campbellbarton | 2010-11-25 17:03:36 +0200 (Thu, 25 Nov 2010) | 2 lines

bugfix [#24916] Blender Crash after inappropriate Merge-Command

------------------------------------------------------------------------
r33310 | nazgul | 2010-11-25 16:56:02 +0200 (Thu, 25 Nov 2010) | 3 lines

Redraw 3d view when new object was added (NC_OBJECT|NA_ADDED notifier)

This fixes one issue from #24914: 3D text glitch and crash ("delayed" 3d view refresh)
------------------------------------------------------------------------
r33309 | mindrones | 2010-11-25 16:55:03 +0200 (Thu, 25 Nov 2010) | 9 lines

== console ==

- banner formatting

== sphinx doc ==

- bpy.data: put the example below the documentation itself


------------------------------------------------------------------------
r33307 | campbellbarton | 2010-11-25 16:00:11 +0200 (Thu, 25 Nov 2010) | 2 lines

found some errors while looking into bug #24909, in exceptional cases where the PNG could not be saved it could leak memory and not close the file.

------------------------------------------------------------------------
r33304 | jhk | 2010-11-25 13:38:55 +0200 (Thu, 25 Nov 2010) | 2 lines

Possible fix for the issue that came up in [#24890] Vector Blur node is Buggy
* Apparently some compilers don't respect proper operator precedence, so added some parentheses around to make inline conditionals unambiguous.
------------------------------------------------------------------------
r33303 | theeth | 2010-11-25 03:25:47 +0200 (Thu, 25 Nov 2010) | 3 lines

Fix polling order for ui panels in netrender.

Was broken by r33071 but order wasn't optimal even before. Should be snappier now (at least only check if correct render engine is selected).
------------------------------------------------------------------------
r33302 | aligorith | 2010-11-25 01:36:36 +0200 (Thu, 25 Nov 2010) | 9 lines

Spline IK Bugfix:

Binding code had off-by-1 error, which meant that when "Even Divisions" was disabled the length of the wrong bone would get used.

This error was most noticeable when the lengths of the bones were quite different - for example, a chain with 3 bones of increasing length. Thanks to "Julius" on BlenderArtists for catching this. Cheers!

---

Also, simplified the binding code loop a bit to prevent this sort of error in future.
------------------------------------------------------------------------
r33301 | damien78 | 2010-11-24 23:39:07 +0200 (Wed, 24 Nov 2010) | 2 lines

OSX: Patch associated with Python update to 3.1.2.
Thanks to Jens Verwiebe for making the build and the patch to make the Game Engine build again with it.
------------------------------------------------------------------------
r33300 | campbellbarton | 2010-11-24 23:33:07 +0200 (Wed, 24 Nov 2010) | 2 lines

drivers could reference invalid index values outside the bounds of the array.

------------------------------------------------------------------------
r33298 | campbellbarton | 2010-11-24 22:56:25 +0200 (Wed, 24 Nov 2010) | 2 lines

define UNUSED() locally for mmap_win

------------------------------------------------------------------------
r33297 | campbellbarton | 2010-11-24 22:13:37 +0200 (Wed, 24 Nov 2010) | 2 lines

fix for crash introduced r33257, also tag some vars as unused.

------------------------------------------------------------------------
r33296 | campbellbarton | 2010-11-24 21:06:56 +0200 (Wed, 24 Nov 2010) | 2 lines

fix [#24893] Minor error message glitch

------------------------------------------------------------------------
r33295 | campbellbarton | 2010-11-24 20:37:54 +0200 (Wed, 24 Nov 2010) | 3 lines

bugfix [#24884] Loading any preset leads to crash
caused by own recent commit. update uv operator template too.

------------------------------------------------------------------------
r33294 | campbellbarton | 2010-11-24 20:02:35 +0200 (Wed, 24 Nov 2010) | 3 lines

bugfix [#24887] Crash on snapping verts on other object
now the derived mesh and the editmesh will always have matching faces.

------------------------------------------------------------------------
r33292 | campbellbarton | 2010-11-24 19:29:22 +0200 (Wed, 24 Nov 2010) | 2 lines

close addon files, Py3.2 now complains when files are left open.

------------------------------------------------------------------------
r33291 | ton | 2010-11-24 19:13:02 +0200 (Wed, 24 Nov 2010) | 7 lines

Bugfix #24887

Crash in snapping, bvh tree. Wrong check for numFaces here.
Fixed the crash by adding test for face pointer, but not sure
what the coder intended here. Needs investigation, left XXX remark.


------------------------------------------------------------------------
r33290 | campbellbarton | 2010-11-24 18:54:18 +0200 (Wed, 24 Nov 2010) | 2 lines

fix for crash canceling fly mode.

------------------------------------------------------------------------
r33289 | ton | 2010-11-24 18:34:38 +0200 (Wed, 24 Nov 2010) | 15 lines

Bugfix #24847

When report error was drawn in info header, using border select
or paint brushes flickered. Was caused by Triple Buffer method
not checking for correct redraw case.

Also made report redraws less aggressive, it was drawing the info
header all over with 50 FPS for 10 seconds. Made it 20 FPS, and
added code to only send notifiers for actual changes.

As todo note for future: animated UI options could get better
caching to cope with slower refreshes.



------------------------------------------------------------------------
r33288 | campbellbarton | 2010-11-24 17:57:59 +0200 (Wed, 24 Nov 2010) | 3 lines

bugfix [#24882] fbx exporter Krash, screw objects and animations
fixed remaining issue with win32 paths.

------------------------------------------------------------------------
r33287 | ton | 2010-11-24 17:05:54 +0200 (Wed, 24 Nov 2010) | 3 lines

Typo in commit... for some reason rna_xx.c files compile without warning?


------------------------------------------------------------------------
r33286 | campbellbarton | 2010-11-24 16:40:03 +0200 (Wed, 24 Nov 2010) | 2 lines

add a window manager to files loaded from 2.4x in background mode. (partial fix for [#24882]).

------------------------------------------------------------------------
r33285 | ton | 2010-11-24 16:34:16 +0200 (Wed, 24 Nov 2010) | 10 lines

Bugfix #23576

Logic Window: Actuator type options in menu didn't show special options
for Armature or Mesh when 'show selected' was used.

Dalai proposed a nice new RNA feature for inherited types, but with
only two exceptions handled, it was easy to code this check.



------------------------------------------------------------------------
r33284 | blendix | 2010-11-24 16:05:53 +0200 (Wed, 24 Nov 2010) | 4 lines

Fix #24782: proxy armature Layer state not saved with file. Was in 2.4x but
not ported to 2.5x, implemented a bit different now to fit RNA better.


------------------------------------------------------------------------
r33283 | campbellbarton | 2010-11-24 16:05:09 +0200 (Wed, 24 Nov 2010) | 2 lines

correction while looking into another bug, setup_app_data() will always free window manages if mode==0, but had left the contexts manager variable which could be used later.

------------------------------------------------------------------------
r33282 | campbellbarton | 2010-11-24 14:45:03 +0200 (Wed, 24 Nov 2010) | 2 lines

better fix for last commit.

------------------------------------------------------------------------
r33281 | campbellbarton | 2010-11-24 14:38:18 +0200 (Wed, 24 Nov 2010) | 3 lines

fix [#24879] "Feather" symmetry option in sculpt mode crashes.
rotate_m4() was being called with axis=0

------------------------------------------------------------------------
r33280 | campbellbarton | 2010-11-24 14:17:26 +0200 (Wed, 24 Nov 2010) | 2 lines

when fail to read a blend, report the filepath too, less confusing when chaining together multiple blends.

------------------------------------------------------------------------
r33279 | jhk | 2010-11-24 13:37:09 +0200 (Wed, 24 Nov 2010) | 2 lines

Fix for [#24877] Cloth + hair bug
* Particles needed the original index layer, but didn't ask for it.
------------------------------------------------------------------------
r33278 | jhk | 2010-11-24 12:56:15 +0200 (Wed, 24 Nov 2010) | 4 lines

Fixes for [#24862] Fluid Simulator issues
* Fluid baking (using the job system) didn't update the "lastgoodframe" anymore, so reversing the frames didn't work. Now the last valid frame is checked by going through all fluid bake files when "reverse frames" is selected.
* There was all kinds of fancy checks done in the fluid modifier for reading a different frame in different cases, but as the "lastgoodframe" was really not working I don't see the point of this whole code, so removed it for now. The new functionality is: if the fluid data for current frame exists use it, otherwise just return unmodified domain mesh without any fancy backup plans.
* There were also some errors on reading uncompleted files (scrubbing timeline while bake was running), so I made the fluid file reader just return null if the number of faces didn't correspond to to actually read data. Previously this just printed an error to the console.
------------------------------------------------------------------------
r33277 | campbellbarton | 2010-11-24 12:23:23 +0200 (Wed, 24 Nov 2010) | 10 lines

bugfix [#23871] OSX panel button bug (Python Namespace issue)

This is an annoying but which isn't a problem for Python because they don't execute multiple scripts, one after another (there is one __main__ and everything else is a module).

So when the __main__ module in sys.modules is overwritten, it decref's the module and clears the dictionary with _PyModule_Clear(), even though the modules dictionary is still in use.

Strangely this problem only happens with Python3.1.1 and Python3.2x svn but not 3.1.2

This commit restores the namespace after _PyModule_Clear() sets all its values to None.

------------------------------------------------------------------------
r33276 | jesterking | 2010-11-24 11:13:59 +0200 (Wed, 24 Nov 2010) | 1 line

Remove library specification.
------------------------------------------------------------------------
r33275 | moguri | 2010-11-24 08:27:07 +0200 (Wed, 24 Nov 2010) | 1 line

Reverting revision 33120, which added vram monitoring. The method used had some problems (especially in the freeing function). I will research an alternative solution and submit it to the tracker.
------------------------------------------------------------------------
r33274 | jesterking | 2010-11-24 01:58:12 +0200 (Wed, 24 Nov 2010) | 3 lines

When exporting images also add the string name (attribute). This is optional, but it helps other viewers importing from Blender .dae exports.

Small request by factor in IRC.
------------------------------------------------------------------------
r33269 | blendix | 2010-11-23 22:32:15 +0200 (Tue, 23 Nov 2010) | 8 lines

Fix #24834: curves extrude + bevel gave bad normals on rendering.

This happened when removing vertex normal flipping in the render engine. But
actually the normal of the first face in the curve was flipped on rendering,
because it used a different vertex order than other places. Also removed the
hack that computes a face normal only from a triangle instead of a quad.


------------------------------------------------------------------------
r33268 | ton | 2010-11-23 21:06:54 +0200 (Tue, 23 Nov 2010) | 4 lines

Small feature fix: zero-user blocks get indicated with "0" again in
browsing.


------------------------------------------------------------------------
r33267 | ton | 2010-11-23 20:13:49 +0200 (Tue, 23 Nov 2010) | 4 lines

Previous commit cleaned up one variable too many, breaking
adding torus/tube in Nurbs editmode.


------------------------------------------------------------------------
r33266 | ton | 2010-11-23 19:28:41 +0200 (Tue, 23 Nov 2010) | 12 lines

Bugfix #24860

On entering editmode Curve/Nurbs, the undo buffer was not
correct; storing old Curve/Nurbs object name. This caused
for example the Operator tool redo options to fail; it added
another curve on first use (with user pref "enter editmode).

Solved with adding good undo push + nicer code for curve and
nurbs naming.



------------------------------------------------------------------------
r33265 | campbellbarton | 2010-11-23 19:14:03 +0200 (Tue, 23 Nov 2010) | 2 lines

use unit system for the grid floor (was only ortho before).

------------------------------------------------------------------------
r33264 | campbellbarton | 2010-11-23 18:45:17 +0200 (Tue, 23 Nov 2010) | 2 lines

minor edits to exception formatting (remove ... or \n from suffix)

------------------------------------------------------------------------
r33263 | campbellbarton | 2010-11-23 18:10:20 +0200 (Tue, 23 Nov 2010) | 2 lines

bugfix [#24871] Unwrapping with Smart Project give a bad result.

------------------------------------------------------------------------
r33262 | campbellbarton | 2010-11-23 18:07:51 +0200 (Tue, 23 Nov 2010) | 2 lines

fix for typo in mathutils vec.to_track_quat() argument parsing.

------------------------------------------------------------------------
r33260 | jhk | 2010-11-23 17:16:19 +0200 (Tue, 23 Nov 2010) | 1 line

Changed some ui names for smoke parameters to make things less ambiguous.
------------------------------------------------------------------------
r33259 | jhk | 2010-11-23 16:40:27 +0200 (Tue, 23 Nov 2010) | 2 lines

Fix for [#19706] Smoke 'sticks' to Collision objects initial position
* Smoke got emitted inside collision cells, so it got stuck there.
------------------------------------------------------------------------
r33258 | campbellbarton | 2010-11-23 16:38:02 +0200 (Tue, 23 Nov 2010) | 2 lines

changes in own recent commit broke MSVC building.

------------------------------------------------------------------------
r33257 | campbellbarton | 2010-11-23 16:14:06 +0200 (Tue, 23 Nov 2010) | 6 lines

Changes to the ortho grid drawing based on discussion with Ton.
- ortho grid now draws scaled by the view3d 'Scale' setting, venomgfx noticed this was missing.
- so as not to confuse add scale next to unit display text, so rather then "Metres" it shows "Metres x 1.5" otherwise its confusing that grid lines are not in exact units.
- changed grid spacing to grid scale (needed for more logical behavior with units)
- when units are enabled grey out subdivisions.

------------------------------------------------------------------------
r33256 | jhk | 2010-11-23 16:04:05 +0200 (Tue, 23 Nov 2010) | 1 line

Cached smoke wasn't being drawn on file load before going to simulation start frame.
------------------------------------------------------------------------
r33255 | campbellbarton | 2010-11-23 15:28:13 +0200 (Tue, 23 Nov 2010) | 2 lines

transform snapping to a unit scaled grid was broken.

------------------------------------------------------------------------
r33253 | campbellbarton | 2010-11-23 14:23:19 +0200 (Tue, 23 Nov 2010) | 2 lines

fix [#24870] ObjectActuator.offset_rotation in radians

------------------------------------------------------------------------
r33252 | campbellbarton | 2010-11-23 14:05:35 +0200 (Tue, 23 Nov 2010) | 5 lines

partial fix for [#23532]
- Python calling operators didn't run WM_operator_properties_sanitize() so enum functions called from python were given a NULL context.
- PROP_ENUM_NO_CONTEXT and PROP_NEVER_NULL used the same value in the enum (possible conflict).


------------------------------------------------------------------------
r33251 | jhk | 2010-11-23 13:15:38 +0200 (Tue, 23 Nov 2010) | 1 line

Particle fluid and boid settings didn't have a valid rna path, so they couldn't be animated.
------------------------------------------------------------------------
r33250 | campbellbarton | 2010-11-23 10:44:21 +0200 (Tue, 23 Nov 2010) | 2 lines

use zero initializers instead of memset(), also change PointerRNA_NULL from an extern into a define.

------------------------------------------------------------------------
r33249 | dougal2 | 2010-11-23 02:23:57 +0200 (Tue, 23 Nov 2010) | 1 line

extensions_framework: fix UI  drawing logic
------------------------------------------------------------------------
r33248 | dougal2 | 2010-11-23 02:06:09 +0200 (Tue, 23 Nov 2010) | 1 line

extensions_framework: fix UI  drawing bug and some redundant code
------------------------------------------------------------------------
r33247 | aligorith | 2010-11-23 01:59:00 +0200 (Tue, 23 Nov 2010) | 5 lines

Partial fix for #24773: Material Nodes - there isn't able to set keys on Mapping coordinates

Playback now works. The problem was that material/texture nodetrees were getting ignored completely, as I was assuming that all of these existed in the main->nodetree collection when in fact only the "group" nodetrees lived there. I don't really agree with this, but that's the way it is...

TODO: animation editor support still to come
------------------------------------------------------------------------
r33246 | campbellbarton | 2010-11-23 01:47:00 +0200 (Tue, 23 Nov 2010) | 2 lines

fix for player with recent update.

------------------------------------------------------------------------
r33245 | campbellbarton | 2010-11-23 01:41:00 +0200 (Tue, 23 Nov 2010) | 2 lines

error in own recent commit

------------------------------------------------------------------------
r33244 | campbellbarton | 2010-11-23 01:25:21 +0200 (Tue, 23 Nov 2010) | 2 lines

fix for building with mingw/cmake

------------------------------------------------------------------------
r33243 | campbellbarton | 2010-11-23 01:06:57 +0200 (Tue, 23 Nov 2010) | 2 lines

fix for cmake if build flags are not defined.

------------------------------------------------------------------------
r33242 | blendix | 2010-11-23 00:23:50 +0200 (Tue, 23 Nov 2010) | 3 lines

Fix #24596: specular toggle on material didn't work correct.


------------------------------------------------------------------------
r33241 | campbellbarton | 2010-11-22 22:54:26 +0200 (Mon, 22 Nov 2010) | 2 lines

fix [#24866] object/transform/align objects error

------------------------------------------------------------------------
r33240 | campbellbarton | 2010-11-22 22:44:59 +0200 (Mon, 22 Nov 2010) | 2 lines

bugfix [#23609] Lamp PointerProperty

------------------------------------------------------------------------
r33239 | ton | 2010-11-22 20:51:40 +0200 (Mon, 22 Nov 2010) | 7 lines

Bugfix #24823

Color picker: RMB "insert single value" was inserting all three values.
Same case as yesterday, made code recurse into open menu to check for
active button there.


------------------------------------------------------------------------
r33238 | ton | 2010-11-22 20:41:08 +0200 (Mon, 22 Nov 2010) | 4 lines

More button alignment stuff: campbell had a script that was
drawing various cases. Fixed another one. :)


------------------------------------------------------------------------
r33237 | ton | 2010-11-22 20:11:40 +0200 (Mon, 22 Nov 2010) | 6 lines

Bugfix #24856

Button aligning revisited. Now layer buttons draw OK too, and even
better than before (missed a rounded corner!)


------------------------------------------------------------------------
r33236 | campbellbarton | 2010-11-22 19:21:18 +0200 (Mon, 22 Nov 2010) | 2 lines

bugfix [#24805] bpy operator runs in wrong order or is ignored at all

------------------------------------------------------------------------
r33235 | campbellbarton | 2010-11-22 18:20:59 +0200 (Mon, 22 Nov 2010) | 3 lines

fix for triangulate OBJ export option.
reworked fix from Radu Danciu

------------------------------------------------------------------------
r33233 | campbellbarton | 2010-11-22 16:16:11 +0200 (Mon, 22 Nov 2010) | 2 lines

bugfix [#20768] Project Snap Broken

------------------------------------------------------------------------
r33232 | campbellbarton | 2010-11-22 15:43:51 +0200 (Mon, 22 Nov 2010) | 2 lines

rna invoke function wm.invoke_confirm() for python access.

------------------------------------------------------------------------
r33231 | campbellbarton | 2010-11-22 15:32:43 +0200 (Mon, 22 Nov 2010) | 2 lines

find filepaths operator had blend file and search path swapped.

------------------------------------------------------------------------
r33230 | ton | 2010-11-22 13:21:33 +0200 (Mon, 22 Nov 2010) | 3 lines

Reverting fix for yesterday's commit that broke Undo.


------------------------------------------------------------------------
r33229 | campbellbarton | 2010-11-22 12:39:28 +0200 (Mon, 22 Nov 2010) | 4 lines

- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.
- python/mathutils api matrix.lerp(other, factor)
- new function mat3_to_rot_size(), like mat4_to_loc_rot_size but with no location.

------------------------------------------------------------------------
r33228 | campbellbarton | 2010-11-22 08:18:49 +0200 (Mon, 22 Nov 2010) | 6 lines

fix for fix r33219, reports. Set a valid WM after running UNDO.
[#24849] changing objects to another layer causes segmentation fault
[#24848] Using an operator outside of edit mode crashes blender
[#24844] Crash related to the subdivision (aka subsurf) modifier
[#24843] ctrl+z crashes blender

------------------------------------------------------------------------
r33227 | campbellbarton | 2010-11-22 07:36:49 +0200 (Mon, 22 Nov 2010) | 2 lines

rename hide_tooltips_python to show_ ..., tag unused variable with recent sequencer commits.

------------------------------------------------------------------------
r33226 | vekoon | 2010-11-22 02:10:32 +0200 (Mon, 22 Nov 2010) | 1 line

User preference to hide Python references in Tooltips.
------------------------------------------------------------------------
r33225 | broken | 2010-11-22 01:40:14 +0200 (Mon, 22 Nov 2010) | 1 line

Darn, left debug prints in last commit
------------------------------------------------------------------------
r33224 | broken | 2010-11-22 01:36:29 +0200 (Mon, 22 Nov 2010) | 1 line

Fix: 8bit raw and 'blender voxel' voxel data texture formats didn't support relative paths
------------------------------------------------------------------------
r33223 | schlaile | 2010-11-21 22:00:31 +0200 (Sun, 21 Nov 2010) | 22 lines

== Sequencer ==

* documented and rewrote the render interface of the sequencer.
  (now, the geometry / render_type / etc. settings are stored within a
  seperate structure called SeqRenderData that is passed within the code.)

* that fixes
  * cache problems, since the caching system didn't keep track of
    proxy files vs. final renders.
  * is a necessary step, to bring back frame blending in speed effect
    (the SeqRenderData structure elements are already there)
  * will make motion blur render options available within the sequencer!

* this patch also fixes:
  * "easy retiming" using speed effects. (in Blender 2.49, you could
    add a speed effect and resize the source track to retime it to that
    length)
  * adds labels for the Original dimensions for Image + Movie tracks
    (worked in 2.49, too)



------------------------------------------------------------------------
r33222 | nazgul | 2010-11-21 21:29:08 +0200 (Sun, 21 Nov 2010) | 1 line

Toggle cyclic on when creating segment between first and last points of non-cyclic bezier
------------------------------------------------------------------------
r33221 | nazgul | 2010-11-21 21:01:18 +0200 (Sun, 21 Nov 2010) | 1 line

Recalc handles after toggling bezier's cyclic flag when deleting segment
------------------------------------------------------------------------
r33220 | nazgul | 2010-11-21 20:50:53 +0200 (Sun, 21 Nov 2010) | 8 lines

Applying patch #24822: Select linked for curves as for meshes, CTRL + L version

With some own changes:
- Select pick moved to invoke()
- Used editsurfcurve_region_view3d as poll function for this operator
  due to ogl dependency

Thanks to Elia Sarti (vekoon)!
------------------------------------------------------------------------
r33219 | ton | 2010-11-21 20:46:50 +0200 (Sun, 21 Nov 2010) | 10 lines

Bugfix #22611

(Well, while testing this report I found this fix!)
Blender could crash after rendering a 2.4 or 2.5 file

The context before/during/after file reads is still fishy.
Need a more clear & clean mind to really check it from
scratch again.


------------------------------------------------------------------------
r33218 | theeth | 2010-11-21 20:31:00 +0200 (Sun, 21 Nov 2010) | 5 lines

[#22854] Objects lag behind mouse pointer when transformed (translated)

[#24652] Project vertices button showing in object mode and leads to wrong behavior.

Removing soft redraw (code is still there in case we need it eventually) on mouse move, now that events are compressed.
------------------------------------------------------------------------
r33217 | ton | 2010-11-21 19:32:57 +0200 (Sun, 21 Nov 2010) | 5 lines

Bugfix #24837

Small typo, EXR option PIZ was typed as PIX


------------------------------------------------------------------------
r33216 | ton | 2010-11-21 19:23:55 +0200 (Sun, 21 Nov 2010) | 6 lines

Bugfix #24825

Error in alignment code caused some buttons to draw not nicely
aligned, like the Frame rate buttons in Render properties.


------------------------------------------------------------------------
r33215 | campbellbarton | 2010-11-21 18:42:05 +0200 (Sun, 21 Nov 2010) | 2 lines

error in last commit.

------------------------------------------------------------------------
r33214 | campbellbarton | 2010-11-21 18:32:11 +0200 (Sun, 21 Nov 2010) | 2 lines

disallow disabling WITH_SAMPLERATE if any audio outputs are enabled.

------------------------------------------------------------------------
r33213 | campbellbarton | 2010-11-21 16:40:50 +0200 (Sun, 21 Nov 2010) | 2 lines

missed this last commit.

------------------------------------------------------------------------
r33212 | campbellbarton | 2010-11-21 16:32:55 +0200 (Sun, 21 Nov 2010) | 2 lines

WITH_SAMPLERATE option for cmake, without this playback wont behave right so this is mainly intended for developers who build without audio enabled.

------------------------------------------------------------------------
r33211 | nazgul | 2010-11-21 16:05:18 +0200 (Sun, 21 Nov 2010) | 1 line

Fixed missed selection oulines for curves/surfaces/fonts/armature when texture shading is active
------------------------------------------------------------------------
r33210 | campbellbarton | 2010-11-21 15:41:43 +0200 (Sun, 21 Nov 2010) | 3 lines

- check IF WIN32 AND NOT UNIX (for cygwin)
- patch from Mike S to enable OpenMP and xcode

------------------------------------------------------------------------
r33209 | ton | 2010-11-21 15:01:22 +0200 (Sun, 21 Nov 2010) | 7 lines

Bugfix #24824

Color Picker: when inserting keys (right mouse menu), the colors didn't
change for buttons to indicate such. The function that sets the flags
returned too early.


------------------------------------------------------------------------
r33207 | campbellbarton | 2010-11-21 11:10:50 +0200 (Sun, 21 Nov 2010) | 3 lines

- include pthreads for win32 globally (as with opengl).
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)

------------------------------------------------------------------------
r33206 | campbellbarton | 2010-11-21 11:06:27 +0200 (Sun, 21 Nov 2010) | 3 lines

- some more rna range corrections
- correct exception messages for mathutils constructors.

------------------------------------------------------------------------
r33205 | campbellbarton | 2010-11-21 07:35:29 +0200 (Sun, 21 Nov 2010) | 3 lines

incorrect argument parsing for python opengl module bgl.
unsigned byte/short/int were being passes as signed values which would raise an overflow error if a range greater then the signed value was used.

------------------------------------------------------------------------
r33204 | campbellbarton | 2010-11-21 05:45:35 +0200 (Sun, 21 Nov 2010) | 2 lines

fix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).

------------------------------------------------------------------------
r33203 | moguri | 2010-11-21 03:55:08 +0200 (Sun, 21 Nov 2010) | 1 line

Changing KX_Camera.perspective didn't actually change the camera's perspective because the camera's matrix was cached. The setter for KX_Camera.perspective now invalidates the camera's matrix so it's recomputed with the change.
------------------------------------------------------------------------
r33202 | theeth | 2010-11-20 23:43:16 +0200 (Sat, 20 Nov 2010) | 5 lines

[#24827] Crash when auto-keyframing while playing animation

Reported by André Oliveira

Need to pass valid context to autokeying callback function.
------------------------------------------------------------------------
r33201 | ton | 2010-11-20 21:20:27 +0200 (Sat, 20 Nov 2010) | 6 lines

Bugfix #24792

On file save, the 3d view thumbnail creation caused changes in lighting
enables. Solved with a glPushAttrib() and pop.


------------------------------------------------------------------------
r33200 | nicholasbishop | 2010-11-20 20:54:58 +0200 (Sat, 20 Nov 2010) | 11 lines

== Multires ==

Fixed bug #20620, "VertColors and Flat/Soft imported from 2.49 are wrong
(MultiRes)" reported by Manuel R.

* Added function to load level-0 vertex colors
* Added function to load level-0 face flags
* Warning: the 2.5 multires modifier doesn't support multires vertex colors
  or multires face flags; that data will be lost if you import it into 2.5.


------------------------------------------------------------------------
r33199 | theeth | 2010-11-20 20:46:36 +0200 (Sat, 20 Nov 2010) | 3 lines

Cancel edge slide on invalid selection.

Patch by Shane Ambler
------------------------------------------------------------------------
r33198 | ton | 2010-11-20 19:31:59 +0200 (Sat, 20 Nov 2010) | 12 lines

Bugfix #21028

- Image Editor, "New", gave for each tweak in redo menu a new Image
  when Object is in Editmode. This is a limitation of our current
  undo system. Marked this issue in the wiki todo.
  Solved by adding a poll in operator that prevents this to be called.
  (a bit annoying, but the error is worse!)

- On assigning a new image texture to faces in Editmode, no redraw
  happened in 3D window. Added notifier for it.


------------------------------------------------------------------------
r33197 | campbellbarton | 2010-11-20 19:28:05 +0200 (Sat, 20 Nov 2010) | 2 lines

Allow keyframing editmode curve values, also fix a bug where adding a new curve would always use object mode spline list but removing would use editmode when set.

------------------------------------------------------------------------
r33196 | campbellbarton | 2010-11-20 18:39:15 +0200 (Sat, 20 Nov 2010) | 5 lines

- report python script errors to blender report system, or through operators reports (when using operator callbacks).
- when python operators fail to execute they were returning RUNNING_MODAL, now return CANCELLED

now when an operator fails it gives an error popup as well as a message in the terminal.

------------------------------------------------------------------------
r33195 | ton | 2010-11-20 18:00:36 +0200 (Sat, 20 Nov 2010) | 9 lines

Bugfix #24801

- Reading 2.4x files could cause print "missing region type".
  Appeared the 2.50 do_versions patch differed from default region
  definitions
- Sometimes editors showed wrong button for type browsing.
  Was because variable wasn't correctly reset on saves.


------------------------------------------------------------------------
r33194 | campbellbarton | 2010-11-20 16:39:03 +0200 (Sat, 20 Nov 2010) | 2 lines

region.tag_redraw() broke building with the player.

------------------------------------------------------------------------
r33193 | campbellbarton | 2010-11-20 16:19:21 +0200 (Sat, 20 Nov 2010) | 3 lines

WITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender couldn't save jpeg2000 images from the file selector.
also fixed typo in jp2.c

------------------------------------------------------------------------
r33192 | dingto | 2010-11-20 11:48:51 +0200 (Sat, 20 Nov 2010) | 5 lines

Bugfix for [#24768] 6DoF Constraint options missing.
* Added the options in UI and RNA

Funny Note: This was on my own to-do list (see commit 20577 in the py file from 2009-06-02 when I ported the UI from C to Python) :P

------------------------------------------------------------------------
r33191 | campbellbarton | 2010-11-20 09:51:39 +0200 (Sat, 20 Nov 2010) | 3 lines

- smoke wasn't closing the file of loading a tile had the wrong length.
- missing break in operator context switch meant RGN_TYPE_CHANNELS was always being overwritten with RGN_TYPE_PREVIEW when calling operators (from r26692)

------------------------------------------------------------------------
r33190 | campbellbarton | 2010-11-20 09:40:50 +0200 (Sat, 20 Nov 2010) | 2 lines

fix smoke memory leak with OpenMP disabled.

------------------------------------------------------------------------
r33189 | campbellbarton | 2010-11-20 07:11:10 +0200 (Sat, 20 Nov 2010) | 4 lines

- add python/rna function region.tag_redraw()
- removed print which was before NULL check, (possible crash)
- add execute hooks for the python console (not used by any scripts yet)

------------------------------------------------------------------------
r33188 | campbellbarton | 2010-11-20 06:18:06 +0200 (Sat, 20 Nov 2010) | 2 lines

reloading addons wasn't working.

------------------------------------------------------------------------
r33187 | campbellbarton | 2010-11-20 04:56:58 +0200 (Sat, 20 Nov 2010) | 4 lines

- use relative imports for packages
- reload() has been removed from pythons builtins. use imp.reload() instead (still need to apply globally).
- fixed own mistake, not ignoring 'filter_glob' as a keyword argument (broke fbx, obj, 3ds export)

------------------------------------------------------------------------
r33186 | campbellbarton | 2010-11-19 19:29:51 +0200 (Fri, 19 Nov 2010) | 2 lines

patch from Shane Ambler, free memory when failing to create slide verts.

------------------------------------------------------------------------
r33185 | campbellbarton | 2010-11-19 19:16:25 +0200 (Fri, 19 Nov 2010) | 2 lines

bugfix [#24812] Cannot change top/left/front views in quad view after camera change

------------------------------------------------------------------------
r33184 | jhk | 2010-11-19 18:19:15 +0200 (Fri, 19 Nov 2010) | 1 line

Tsk! Circle, cross and axis draw types for particles weren't using the particle draw size.
------------------------------------------------------------------------
r33183 | jhk | 2010-11-19 18:19:07 +0200 (Fri, 19 Nov 2010) | 1 line

Tsk! Minimum value for particle draw size is 0 (default size).
------------------------------------------------------------------------
r33182 | jhk | 2010-11-19 17:17:33 +0200 (Fri, 19 Nov 2010) | 2 lines

Fix for [#23696] Receive Transparent produces shadows in diffuse pass
* Even Ton couldn't remember why that code was there, so problem solved by removing the code :)
------------------------------------------------------------------------
r33181 | campbellbarton | 2010-11-19 13:57:10 +0200 (Fri, 19 Nov 2010) | 2 lines

fix for error in recent commit.

------------------------------------------------------------------------
r33180 | campbellbarton | 2010-11-19 13:33:12 +0200 (Fri, 19 Nov 2010) | 2 lines

use CMake's OpenMP built in detection rather then defining flags ourselves.

------------------------------------------------------------------------
r33179 | campbellbarton | 2010-11-19 13:10:56 +0200 (Fri, 19 Nov 2010) | 2 lines

fix [#24810] Mist Settings Are Not Visually Updated When Camera Displays Mist

------------------------------------------------------------------------
r33178 | campbellbarton | 2010-11-19 12:33:44 +0200 (Fri, 19 Nov 2010) | 2 lines

fix [#24804] filetring of files doesnt work for import/export

------------------------------------------------------------------------
r33177 | campbellbarton | 2010-11-19 12:24:14 +0200 (Fri, 19 Nov 2010) | 3 lines

bugfix [#24807] nan pixel on Word BG with Angular Map coord texture
also avoid divide by zero with an empty raytree

------------------------------------------------------------------------
r33176 | jhk | 2010-11-19 10:37:19 +0200 (Fri, 19 Nov 2010) | 2 lines

"Fix" for [#24743] Strand Shading: Distance slider gives different results even when greyed out
* The actual flag was set at render time, was not supposed to be editable manually.
------------------------------------------------------------------------
r33175 | jhk | 2010-11-19 10:17:57 +0200 (Fri, 19 Nov 2010) | 2 lines

Possible fix for [#23982] Display update with animated nested custom ID properties
* Any property area can have animated properties, so redraw the area on frame changes regardless of the specific property area type.
------------------------------------------------------------------------
r33174 | campbellbarton | 2010-11-19 09:46:23 +0200 (Fri, 19 Nov 2010) | 3 lines

patch [#24800] Make scene type buttons from material preview optional
from Wenzel Jakob (wenzel)

------------------------------------------------------------------------
r33173 | campbellbarton | 2010-11-19 09:40:17 +0200 (Fri, 19 Nov 2010) | 3 lines

edit on last commit, for calculating drivers on obdata just check for animdata rather then the object type.
also use switch rather then if checks.

------------------------------------------------------------------------
r33172 | campbellbarton | 2010-11-19 09:31:24 +0200 (Fri, 19 Nov 2010) | 4 lines

bugfix [#24796] Drivers are ineffective on Text & Curve obj. geometry parameters
also added note that adjusting bone radius changes the parent bone for connected child bones, and fix typo on failing to read startup.blend (both pointed out by MikeS on IRC)


------------------------------------------------------------------------
r33171 | campbellbarton | 2010-11-19 08:21:39 +0200 (Fri, 19 Nov 2010) | 4 lines

bugfix for pivot constraint.
- no rotation resulted in NAN location.
- subtraction of pivot done in wrong order made the constraint give odd results when rotating on more then 1 axis.

------------------------------------------------------------------------
r33170 | moguri | 2010-11-19 06:06:06 +0200 (Fri, 19 Nov 2010) | 1 line

Fixing a crash when dynamically loading a scene that contains a bone parent.
------------------------------------------------------------------------
r33169 | campbellbarton | 2010-11-19 05:45:45 +0200 (Fri, 19 Nov 2010) | 4 lines

bugfix [#24803] Export UV Layout in PNG (default) corrupts Blendfile

Removing a scene would set the active scene, assuming the scene removed was the current scene. This broke UV Export which used a temp background scene.

------------------------------------------------------------------------
r33168 | campbellbarton | 2010-11-19 05:09:51 +0200 (Fri, 19 Nov 2010) | 3 lines

[#24802] Invert vertex group not inverting armature modifier influence
the armature vertex group options only apply to Multi-Modifier, rename and edit the UI to make this clear.

------------------------------------------------------------------------
r33167 | campbellbarton | 2010-11-19 04:14:18 +0200 (Fri, 19 Nov 2010) | 2 lines

use 'const char *' for imbuf and file ops.

------------------------------------------------------------------------
r33166 | campbellbarton | 2010-11-19 03:06:46 +0200 (Fri, 19 Nov 2010) | 2 lines

remove unused argument.

------------------------------------------------------------------------
r33165 | aligorith | 2010-11-19 01:48:55 +0200 (Fri, 19 Nov 2010) | 3 lines

Bugfix #24795: Typo fix in particle_system.c

Also, fixed indention in armature.c (stupid space-based indention)
------------------------------------------------------------------------
r33164 | jhk | 2010-11-18 21:12:36 +0200 (Thu, 18 Nov 2010) | 7 lines

Algorithm fix for fluid particles:
* The SPH fluid particle algorithm was implemented a bit wrong. This problem could for example result in the fluid moving sideways after being dropped straight to a horizontal collision surface, a very big no-no as far as real world physics are concerned!
* After some extensive code shuffling the algorithm is now much more true to the paper it was implemented from, and more importantly now the physics should be correct too!
* The main thing was that fluids calculations can effect many particles simultaneously, so just a single loop through all particles can't work properly. As a side note this also means that the actual fluid algorithm can't be made threaded :(
* To make things work I also had to reshuffle some general particle physics code, but there should be no functional changes what so ever to other physics types, so poke me immediately if something strange happens.

Note to users: these changes will most probably effect the way previously done sph fluid simulations look, so some parameter tweaking will be needed to get things back looking the way they were.
------------------------------------------------------------------------
r33163 | ton | 2010-11-18 21:11:05 +0200 (Thu, 18 Nov 2010) | 13 lines

Bugfix #22052

OpenGL viewport render gave squeezed results in cases.
Reason: some graphics cards only give offscreen buffers in multiples
of 256 or 512 (my case).

Current fix uses the actual size returned by graphics card, which
is also safe for too large renders.
More elaborate cropping or matching is for another time.

(Added printf for feedback on this, might disappear)


------------------------------------------------------------------------
r33162 | campbellbarton | 2010-11-18 18:47:22 +0200 (Thu, 18 Nov 2010) | 2 lines

fix for missing NULL check in last commit.

------------------------------------------------------------------------
r33161 | ton | 2010-11-18 18:38:32 +0200 (Thu, 18 Nov 2010) | 11 lines

Feature fix

When using Material Nodes, there was no indication in Material
Property window which node was active. The context/channel widget
now shows this.

Better would be to be able to browse nodes in this list, and
to have option to preview only this material (not node tree
result). Enough todo for future :)


------------------------------------------------------------------------
r33160 | campbellbarton | 2010-11-18 18:33:13 +0200 (Thu, 18 Nov 2010) | 3 lines

bugfix [#22615] Opening a blend file in python (bpy.ops.wm.open_mainfile() (r29489)
       [#22557] bpy.ops.wm.read_homefile() causes segfault (r29372)

------------------------------------------------------------------------
r33159 | campbellbarton | 2010-11-18 16:10:09 +0200 (Thu, 18 Nov 2010) | 2 lines

fix [#24786] Setting Rotation Units to Radians doesn't affect the UI [33146]

------------------------------------------------------------------------
r33158 | campbellbarton | 2010-11-18 15:52:09 +0200 (Thu, 18 Nov 2010) | 2 lines

missed removing the file for scons.

------------------------------------------------------------------------
r33157 | campbellbarton | 2010-11-18 14:54:05 +0200 (Thu, 18 Nov 2010) | 2 lines

remove unused classes.

------------------------------------------------------------------------
r33156 | campbellbarton | 2010-11-18 13:42:05 +0200 (Thu, 18 Nov 2010) | 3 lines

rename libs internal libs for CMake + SCons (used in MSVC project files)
for game engine use "ge_" prefix & make names generally more descriptive.

------------------------------------------------------------------------
r33155 | campbellbarton | 2010-11-18 12:36:14 +0200 (Thu, 18 Nov 2010) | 7 lines

patch [#24736] 3ds import hierarchy
from Dominique Lorre (dlorre)
- fixes [#24626] 3ds import assigns wrong positions to objects
- spec info http://www.the-labs.com/Blender/3dsspec.html, http://www.martinreddy.net/gfx/3d/3DS.spec

This patch adds parent/child support to the 3ds importer.

------------------------------------------------------------------------
r33154 | ton | 2010-11-18 10:44:50 +0200 (Thu, 18 Nov 2010) | 6 lines

Bug fix:

When 2nd window open, the code that tried to find an Image editor in the
the active window failed.


------------------------------------------------------------------------
r33151 | aligorith | 2010-11-18 07:45:21 +0200 (Thu, 18 Nov 2010) | 1 line

Bugfix #24781: Can't use rest position / pose position on linked-group proxy armatures
------------------------------------------------------------------------
r33150 | campbellbarton | 2010-11-18 07:35:04 +0200 (Thu, 18 Nov 2010) | 3 lines

bugfix [#24783] Strange shadows on beveled curve; goes away with modifier
this bug wasnt in 2.4x, suspect this happened when normal flipping was removed.

------------------------------------------------------------------------
r33149 | campbellbarton | 2010-11-18 07:05:06 +0200 (Thu, 18 Nov 2010) | 4 lines

bugfix [#24777] Scale both markers and keyframes at the same time?
sync marker option worked for translate and extend but not for scale in the dope sheet.


------------------------------------------------------------------------
r33148 | campbellbarton | 2010-11-18 06:26:50 +0200 (Thu, 18 Nov 2010) | 10 lines

fix [#24780] Metaballs are not drawn correctly in new scenes

this is a can of worms, at the moment blender depends on broken behavior for metaballs:
 find_basis_mball() can return a metaball object that fails a is_basis_mball() check which makes this logic very confusing (added note about this in mball.c).

Metaballs needs a refactor however at least make drawing fail consistently,
For wire draw is_basis_mball() wasn't being checked, for solid drawing it was (hence the strange wire frame).

For now the motherball needs to exist in the main scene else it wont work.

------------------------------------------------------------------------
r33147 | campbellbarton | 2010-11-18 05:03:17 +0200 (Thu, 18 Nov 2010) | 3 lines

- many settings in a new scene didn't match the startup.blend defaults, copied into scene.c.
- view3d metaball panel wasn't updated for rna name change 'location' -> 'co'

------------------------------------------------------------------------
r33146 | campbellbarton | 2010-11-18 02:26:00 +0200 (Thu, 18 Nov 2010) | 2 lines

store the view align setting even if its disabled & don't edit the view quat when getting a euler from it.

------------------------------------------------------------------------
r33144 | dougal2 | 2010-11-17 23:28:22 +0200 (Wed, 17 Nov 2010) | 1 line

extensions_framework: lots of docs and code formatting to be more pep8-like
------------------------------------------------------------------------
r33141 | ton | 2010-11-17 20:05:33 +0200 (Wed, 17 Nov 2010) | 7 lines

Bugfix, irc report by lmg

Toolbar:
Operator 'add object' didn't show checkbox for "align to view" if such was
set in user preferences.


------------------------------------------------------------------------
r33140 | campbellbarton | 2010-11-17 19:38:56 +0200 (Wed, 17 Nov 2010) | 4 lines

bugfix [#24690] Scene.frame_set() breaks pose restore
scene.frame_set() was sending out a frame change notifier which would update the scene loosing any un-keyed changes after a script ran.
for now use a window redraw notifier.

------------------------------------------------------------------------
r33138 | ton | 2010-11-17 18:25:30 +0200 (Wed, 17 Nov 2010) | 9 lines

Bugfix #24767

Operator redo in 3D window now moves context to the main region,
makes knife cut work (and probably others)

Todo: this callback should be shared with other redo panels. On the
todo list.


------------------------------------------------------------------------
r33136 | campbellbarton | 2010-11-17 17:16:49 +0200 (Wed, 17 Nov 2010) | 9 lines

bugfix [#24685] Changing mode bypasses undo suppression
Editmode undo operator was using the operator OPTYPE_UNDO flag as well as its own EM_DO_UNDO option.

This gave 2 problems.
- python suppressed undos would fail (as in the report).
- Undo push was called twice on exiting editmode for no reason.

Use the operator undo in this case.

------------------------------------------------------------------------
r33133 | campbellbarton | 2010-11-17 16:36:19 +0200 (Wed, 17 Nov 2010) | 2 lines

fixes from r33127

------------------------------------------------------------------------
r33131 | campbellbarton | 2010-11-17 14:59:59 +0200 (Wed, 17 Nov 2010) | 3 lines

fix [#24762] Bezier Point Radius Cannot be Set When Curve is Created
this could be set in 2.4x, no reason to be readonly.

------------------------------------------------------------------------
r33130 | campbellbarton | 2010-11-17 14:52:56 +0200 (Wed, 17 Nov 2010) | 2 lines

bugfix [#24766] Crasher on inserting keyframe on Bezier points [33126]

------------------------------------------------------------------------
r33129 | campbellbarton | 2010-11-17 14:32:39 +0200 (Wed, 17 Nov 2010) | 3 lines

bugfix [#24671] Operators called from Python Leak Memory
This problem is caused by returning Modal from a non-modal operator.

------------------------------------------------------------------------
r33128 | aligorith | 2010-11-17 14:16:34 +0200 (Wed, 17 Nov 2010) | 3 lines

Bugfix for previous commit.

Tweaked keymap for Graph Editor Ctrl-LMB so that the popup menu for displaying reports won't get dismissed immediately. Changing keymap here from KM_PRESS to KM_CLICK
------------------------------------------------------------------------
r33127 | aligorith | 2010-11-17 14:02:36 +0200 (Wed, 17 Nov 2010) | 11 lines

Keyframing Operators: Improved Error Messages

* Keyframing operators now use the reports system for displaying all its error messages.
- The benefit of this is that users no longer need to check the console for error messages if keyframing fails.
- Unfortunately, reports are not currently viewable in any space/view in Blender, so...

* Added a temporary operator (UI_OT_reports_to_textblock), which can be accessed in the UI from the button which appears in place of the icon when more than one report exists. This dumps the current list of reports to a textblock "Recent Reports", from which they can be viewed.

This isn't really nice, but at least we now have a way to view these again, which makes debugging some things a pain.

* Bugfix #24606 - when trying to add keyframes to F-Curves with F-Modifiers already which alter the curve significantly enough that the keyframes will have no effect, there are now warnings which aim to alleviate any confusion.
------------------------------------------------------------------------
r33126 | campbellbarton | 2010-11-17 13:09:07 +0200 (Wed, 17 Nov 2010) | 2 lines

should fix building with collada.

------------------------------------------------------------------------
r33124 | campbellbarton | 2010-11-17 11:45:45 +0200 (Wed, 17 Nov 2010) | 5 lines

use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
Also use const char in many other parts of blenders code.

Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.

------------------------------------------------------------------------
r33123 | campbellbarton | 2010-11-17 09:22:20 +0200 (Wed, 17 Nov 2010) | 4 lines

- move cmake file for python.
- move bpy_array.c to bpy_rna_array.c
- minor syntax changes

------------------------------------------------------------------------
r33122 | campbellbarton | 2010-11-17 09:00:14 +0200 (Wed, 17 Nov 2010) | 2 lines

cleanup the operator template and rename to operator_export

------------------------------------------------------------------------
r33121 | nazgul | 2010-11-17 08:30:06 +0200 (Wed, 17 Nov 2010) | 6 lines

Fix #22645: Texture paint: soften tool does draw brushes

Disable projection painting for soften tools.

Also it looks like smear tools support projection in the code, so
enabled project paint menu for such tools
------------------------------------------------------------------------
r33120 | moguri | 2010-11-17 07:28:25 +0200 (Wed, 17 Nov 2010) | 12 lines

Adding monitoring for (approximate) VRAM used by textures. The information is currently only used in the profiling data of the BGE.

Here is a image of it in action:
http://www.pasteall.org/pic/show.php?id=6351

What it monitors:
  * VRAM used by textures created via bf_gpu and BL_Textures

What it does not monitor:
  * VRAM used by the Blender ui
  * VRAM used by 2d filters
  * VRAM allocated by the user via KX_Scene.pre_draw and KX_Scene.pre_draw
------------------------------------------------------------------------
r33119 | campbellbarton | 2010-11-17 06:02:19 +0200 (Wed, 17 Nov 2010) | 4 lines

writing single images from a render (own commit r33104), wasn't checking if the render was cancelled which would crash when writing the image.

also remove paranoid checks for writing TAGA, Other formats - BMP, JPEG, Iris don't do this.

------------------------------------------------------------------------
r33118 | campbellbarton | 2010-11-17 05:26:50 +0200 (Wed, 17 Nov 2010) | 3 lines

bugfix [#24672] Bone.evaluate_envelope() is misleading
fix from Dan Eicher

------------------------------------------------------------------------
r33117 | campbellbarton | 2010-11-17 05:21:50 +0200 (Wed, 17 Nov 2010) | 2 lines

bugfix [#24761] minor bug - Modifiers don't "catches" Vertex Group renaming automatically

------------------------------------------------------------------------
r33116 | campbellbarton | 2010-11-17 05:15:08 +0200 (Wed, 17 Nov 2010) | 6 lines

patch [#24760] Bezier handles update
from Dan Eicher (dna)

Made some edits to the patch because only the first spline was getting the updates.
also added path functions for splines and spline points (request from ZanQdo so splines can be keyframed).

------------------------------------------------------------------------
r33115 | campbellbarton | 2010-11-17 03:50:25 +0200 (Wed, 17 Nov 2010) | 2 lines

the 'Multi' option was not being copied with the armature modifier.

------------------------------------------------------------------------
r33114 | zanqdo | 2010-11-17 03:15:31 +0200 (Wed, 17 Nov 2010) | 2 lines

Fixing bad ui range in camera draw size

------------------------------------------------------------------------
r33112 | jesterking | 2010-11-17 01:18:17 +0200 (Wed, 17 Nov 2010) | 2 lines

Fix [#24592] COLLADA imports only one special node per type per node
Reported and patched by Martijn Berger
------------------------------------------------------------------------
r33111 | jesterking | 2010-11-17 00:27:31 +0200 (Wed, 17 Nov 2010) | 4 lines

Apply patch [#24722] COLLADA exporter: handle instancing
Submitted by Wenzel Jakob

Patch adds handling of linked meshes: instead of generating separate geometry objects, use instances.
------------------------------------------------------------------------
r33110 | campbellbarton | 2010-11-16 19:37:26 +0200 (Tue, 16 Nov 2010) | 2 lines

bugfix [#24509] UV/Image Editor: selected elements move not as specified

------------------------------------------------------------------------
r33109 | ton | 2010-11-16 19:10:39 +0200 (Tue, 16 Nov 2010) | 7 lines

Bugfix #23677

Very old bug: Material/Render: the "filter" option for transparent
absorption also works for alpha==0, but in that case another part
of render code just didn't add the faces in render list.


------------------------------------------------------------------------
r33108 | jhk | 2010-11-16 18:56:21 +0200 (Tue, 16 Nov 2010) | 1 line

Fix for [#24750] Particles draw percentage setting is not working in No Physics mode
------------------------------------------------------------------------
r33107 | jhk | 2010-11-16 18:39:35 +0200 (Tue, 16 Nov 2010) | 1 line

Fix for [#24706] 2.55 beta Hair now only rendering small fuzzy blob
------------------------------------------------------------------------
r33106 | campbellbarton | 2010-11-16 17:15:20 +0200 (Tue, 16 Nov 2010) | 2 lines

option to immediately write single render to a file added for OpenGL render.

------------------------------------------------------------------------
r33105 | campbellbarton | 2010-11-16 16:45:27 +0200 (Tue, 16 Nov 2010) | 3 lines

bugfix [#24462] UV Layouts saved as PNG results in two files (rename bug)
renaming failed in some cases, now we can just render to a file.

------------------------------------------------------------------------
r33104 | campbellbarton | 2010-11-16 16:40:46 +0200 (Tue, 16 Nov 2010) | 6 lines

option to write images to a files on single frame renders, this isn't accessed by the UI at the moment, but could eventually be used for saving test-renders.

The main reason to have this is so renders can be scripted to write to a specific file without having to do annoying tricks like set a dummy start/end frame range, render an animation and work out the current frame image will be written to, then rename after rendering.

Also made some 'char *' args into 'const char *'

------------------------------------------------------------------------
r33103 | ton | 2010-11-16 15:41:39 +0200 (Tue, 16 Nov 2010) | 8 lines

Bug #22585

Using texture nodes for displacement crashes, a conflict between using
nodes in render and for displacement at same time. Code simply disables
texture nodes for displacement for now, until we have better handling for it.
(on our long todo)


------------------------------------------------------------------------
r33102 | nazgul | 2010-11-16 15:25:21 +0200 (Tue, 16 Nov 2010) | 4 lines

Curve's UI minor fix:

- "Use Deformed" replaced back with "Fill Deformed"
- Use a bit more informative tooltip for this option
------------------------------------------------------------------------
r33101 | campbellbarton | 2010-11-16 15:08:24 +0200 (Tue, 16 Nov 2010) | 4 lines

edits to image save operator, no functional changes.
- don't rename the image when saving (problematic if the image is used with linked libraries)
- file writing and path updating was duplicated for multilayer images.

------------------------------------------------------------------------
r33099 | campbellbarton | 2010-11-16 14:54:44 +0200 (Tue, 16 Nov 2010) | 2 lines

UV Layout Export was missing UV Layer check.

------------------------------------------------------------------------
r33098 | ton | 2010-11-16 14:29:30 +0200 (Tue, 16 Nov 2010) | 3 lines

Removing unnecesary print "draw swap exchange"


------------------------------------------------------------------------
r33097 | ton | 2010-11-16 14:10:57 +0200 (Tue, 16 Nov 2010) | 9 lines

Fixed wrong rna name for the old "UV Orco" option.

It was called "map on length", but it actually makes the UV
values of curves/nurbs to become used as "Generated" texture
map input.

Sorry; this might break own local UI py script saves... :)


------------------------------------------------------------------------
r33096 | campbellbarton | 2010-11-16 11:47:01 +0200 (Tue, 16 Nov 2010) | 3 lines

bugfix [#24747] Blender crash entering in Sculpt Mode
 rotate_m4 was being called with a zero axis.

------------------------------------------------------------------------
r33095 | campbellbarton | 2010-11-16 11:35:58 +0200 (Tue, 16 Nov 2010) | 2 lines

bugfix [#24746] Align Camera to View locks 3D Editor in Camera Perspective View

------------------------------------------------------------------------
r33094 | campbellbarton | 2010-11-16 10:53:55 +0200 (Tue, 16 Nov 2010) | 3 lines

fix for creating movie paths with non utf8 names.
button test if non utf8 chars are allowed was inverted.

------------------------------------------------------------------------
r33092 | campbellbarton | 2010-11-16 06:32:35 +0200 (Tue, 16 Nov 2010) | 6 lines

FBX Export, small changes made while looking into reported bug. (no functional changes)
- Warn for armature deformed meshes which are scaled, these don't work quite the same as in blender, reported as [#24663].
- Use matrix.decompose() to convert a matrix to loc/rot/scale.
- get vert/edge/face lists for each mesh only once.
- faster euler rad -> deg conversion function.

------------------------------------------------------------------------
r33091 | campbellbarton | 2010-11-16 05:11:22 +0200 (Tue, 16 Nov 2010) | 2 lines

fix for matrix * vector rotation order.

------------------------------------------------------------------------
r33090 | campbellbarton | 2010-11-16 04:23:20 +0200 (Tue, 16 Nov 2010) | 3 lines

patch [#24742] materials.pop() doesn't decrement user count
from Dan Eicher (dna)

------------------------------------------------------------------------
r33089 | campbellbarton | 2010-11-16 04:18:50 +0200 (Tue, 16 Nov 2010) | 3 lines

patch #24737] PyCObject depreciated in py3k [patch]
from Dan Eicher (dna), use PyCapsule rather then PyCObject

------------------------------------------------------------------------
r33088 | campbellbarton | 2010-11-16 03:19:37 +0200 (Tue, 16 Nov 2010) | 6 lines

fix for fix, r33086.
- incorrect range check broke ZYX euler rotations, use MIN/MAX constants so this doesn't happen again.
- BGE Armature PyAPI also wasn't using correct min/max with rotation modes.
- clamp on file read rather then when calling the rotation functions, so developers don't use invalid args without realizing it.
- added assert() checks for debug builds so invalid axis constants don't slip through.

------------------------------------------------------------------------
r33087 | ton | 2010-11-15 18:26:30 +0200 (Mon, 15 Nov 2010) | 11 lines

Bugfix #24726

Doing F1-load a lot of times on same .blend could crash.
Janne karhu provided a potential fix, which is good to add
anyway. Will ask him to verify too.

Added XXX warning for these lines, after filesel exec no
context variables should be re-used. Is for later investigation.



------------------------------------------------------------------------
r33086 | ton | 2010-11-15 15:33:38 +0200 (Mon, 15 Nov 2010) | 6 lines

Bugfix, reported in IRC

The enum "rotmode" was read using an array, without checking for boundary
cases, causing crashes on bad input. (Wahooney report 2, thanks!)


------------------------------------------------------------------------
r33085 | campbellbarton | 2010-11-15 15:11:40 +0200 (Mon, 15 Nov 2010) | 5 lines

bugfix [#24696] Export OBJ - Selection Only toggle button has the wrong default state.
Added convenience function to operators, 'as_keywords()', so operator settings can be passed directly to a function as keyword arguments.

The problem in this case was that dictionary access to operator properties was not returning rna-property defaults, so as_keywords() ensures all defaults are set.

------------------------------------------------------------------------
r33084 | jesterking | 2010-11-15 14:05:11 +0200 (Mon, 15 Nov 2010) | 7 lines

Fix [#24310] With high poly numbers when sculpting, modifier keys hang
reported by Eclectiel L

When working with very heavy scenes Blender can seem to 'hang' (not responding). Key events that happen
during this period may get lost, especially for modifier keys.

Adding extra handling to account for these situations.
------------------------------------------------------------------------
r33083 | ton | 2010-11-15 13:45:54 +0200 (Mon, 15 Nov 2010) | 6 lines

Bugfix (IRC report)

Bone drawing code failed to check the correnct parent pointer, causing
NULL pointer to be read. Thanks Wahooney!


------------------------------------------------------------------------
r33082 | aligorith | 2010-11-15 12:48:48 +0200 (Mon, 15 Nov 2010) | 3 lines

Bugfix #24719: Layer ipocurves from Blender 2.49 wrongly ported to Blender 2.5x

Found and fixed a few problems here, but strangely I don't recall seeing any of these a few months ago when this conversion (probably last) worked well ...
------------------------------------------------------------------------
r33081 | jesterking | 2010-11-15 12:29:42 +0200 (Mon, 15 Nov 2010) | 5 lines

Fix [#24552] Exception when starting Blender on Windows XP SP3
Reported by Ruud van Eeghem

Instead of running vcredist, which can fail when installing as normal user, have the DLLs
like our zip distribution bundled already inside install dir.
------------------------------------------------------------------------
r33079 | jhk | 2010-11-15 11:15:23 +0200 (Mon, 15 Nov 2010) | 1 line

Fix for [#24724] Emission settings of Particles with no physics are stuck to Previous newtonian settings.
------------------------------------------------------------------------
r33077 | campbellbarton | 2010-11-15 11:00:09 +0200 (Mon, 15 Nov 2010) | 2 lines

fix for very old crash when setting an empty object as the camera and using stars.

------------------------------------------------------------------------
r33076 | campbellbarton | 2010-11-15 10:53:35 +0200 (Mon, 15 Nov 2010) | 3 lines

bugfix [#24708] World Notifier Problems
also draw stars when 'Only Render' option is enabled.

------------------------------------------------------------------------
r33075 | campbellbarton | 2010-11-15 10:03:20 +0200 (Mon, 15 Nov 2010) | 5 lines

bugfix [#24704] UV editor: [x] modified does not update on change of modifiers
- VBO UV Edge display wasn't allocating a large enough array for drawing.
- VBO UV Edge drawing was using an edge flag with faces.
- notifier for modifiers updating the UV window.

------------------------------------------------------------------------
r33074 | campbellbarton | 2010-11-15 09:07:14 +0200 (Mon, 15 Nov 2010) | 2 lines

bugfix [#24704] UV editor: [x] modified does not update on change of modifiers

------------------------------------------------------------------------
r33073 | campbellbarton | 2010-11-15 08:38:07 +0200 (Mon, 15 Nov 2010) | 6 lines

- 'matrix_basis' for objects and pose bones, this is an alternative access to directly adjusting the loc/scale/rot.
- pose bone 'matrix_local' wasn't well named since it didn't work like object or regular bones.
- pose bone matrix values for rna had array access rather then 4x4 matrix access.

 note: for pose bones update scripts by renaming 'matrix_local' --> 'matrix_basis'

------------------------------------------------------------------------
r33072 | campbellbarton | 2010-11-15 07:32:49 +0200 (Mon, 15 Nov 2010) | 2 lines

patch from Dan Eicher to support intel C++ compiler for CMake on *nix.

------------------------------------------------------------------------
r33071 | campbellbarton | 2010-11-15 05:13:28 +0200 (Mon, 15 Nov 2010) | 7 lines

revert change from r32955.
This added a poll function to the Panel base class but this means that all panels register as having a poll() function which is called a lot and does nothing, raising an exception and removing it because of how python implements hasattr().

Found when checking why exceptions were continuously raised on redraw.

Martin, can you check on netrender?

------------------------------------------------------------------------
r33070 | campbellbarton | 2010-11-15 02:07:38 +0200 (Mon, 15 Nov 2010) | 7 lines

fix [#24712] 3ds_import fix
Rather then applying the proposed fix, enabling 'Apply Transform' works in almost all cases including the reported one.

There are some files that don't work with 'Apply Transform', which is why the option is worth keeping.

also remove unneeded calls to paint_facesel_test()

------------------------------------------------------------------------
r33069 | campbellbarton | 2010-11-15 01:37:03 +0200 (Mon, 15 Nov 2010) | 3 lines

creating the editmesh structure was running paint_facesel_test() for every vert and selected face.
not so efficient, check once.

------------------------------------------------------------------------
r33067 | campbellbarton | 2010-11-15 00:30:51 +0200 (Mon, 15 Nov 2010) | 4 lines

unreported fixes for 3ds import
- non ASCII names would break loading.
- meshes with no faces would break loading too.

------------------------------------------------------------------------
r33066 | theeth | 2010-11-15 00:11:56 +0200 (Mon, 15 Nov 2010) | 3 lines

netrender

Adding retries on initial slave connection.
------------------------------------------------------------------------
r33065 | jesterking | 2010-11-14 22:40:55 +0200 (Sun, 14 Nov 2010) | 3 lines

r33039 added dependency to COLLADA for blenderplayer, but it's really not needed there.

Stubbing for now.
------------------------------------------------------------------------
r33064 | dfelinto | 2010-11-14 21:46:14 +0200 (Sun, 14 Nov 2010) | 2 lines

Logic UI bugfix: [#24628] two specific tooltips of keyboard sensor reversed
I also changed the order of them (target and log toggle) in the UI to match 2.49
------------------------------------------------------------------------
r33063 | theeth | 2010-11-14 21:19:58 +0200 (Sun, 14 Nov 2010) | 1 line

Move rotOrder to proper transform data structure
------------------------------------------------------------------------
r33062 | nazgul | 2010-11-14 21:06:39 +0200 (Sun, 14 Nov 2010) | 1 line

Seamless texture used for beveled curve is now really seamless (thanks to Mario G. Kishalmi aka lmg)
------------------------------------------------------------------------
r33061 | theeth | 2010-11-14 20:31:32 +0200 (Sun, 14 Nov 2010) | 1 line

Correct description for Projection property (it doesn't just work on vertice)
------------------------------------------------------------------------
r33060 | theeth | 2010-11-14 20:27:25 +0200 (Sun, 14 Nov 2010) | 3 lines

bugfix [#24697]

Proper fix: change the poll function to reflect actual operator requirements.
------------------------------------------------------------------------
r33059 | theeth | 2010-11-14 18:31:06 +0200 (Sun, 14 Nov 2010) | 3 lines

[#24639] Snap to Face (retopo) doesn't work when clipping is enabled in mirror modifier.

Apply project snap at the very end.
------------------------------------------------------------------------
r33058 | elubie | 2010-11-14 13:59:42 +0200 (Sun, 14 Nov 2010) | 2 lines

== filebrowser ==
* compile fix on non-Windows platforms.
------------------------------------------------------------------------
r33057 | elubie | 2010-11-14 12:53:49 +0200 (Sun, 14 Nov 2010) | 3 lines

== filebrowser ==
* removed now unused function file_string_width_shortened.

------------------------------------------------------------------------
r33056 | elubie | 2010-11-14 12:48:36 +0200 (Sun, 14 Nov 2010) | 4 lines

== filebrowser ==
* drawing code cleanup.
* list drawing code now uses uiStyleFontDraw like buttons etc.

------------------------------------------------------------------------
r33055 | campbellbarton | 2010-11-14 11:20:31 +0200 (Sun, 14 Nov 2010) | 2 lines

bugfix [#24668] Deleting armature objects removes a user from its action, eventually leading to data loss

------------------------------------------------------------------------
r33054 | campbellbarton | 2010-11-14 10:26:44 +0200 (Sun, 14 Nov 2010) | 2 lines

bugfix [#24697] Trying to run bpy.ops.transform.create_orientation crashes Blender

------------------------------------------------------------------------
r33053 | dingto | 2010-11-14 10:11:58 +0200 (Sun, 14 Nov 2010) | 1 line

Forgot to Add NodeLink to the Access Struct file.
------------------------------------------------------------------------
r33052 | campbellbarton | 2010-11-14 09:49:07 +0200 (Sun, 14 Nov 2010) | 2 lines

bugfix [#24702] 3Dmanipulator does not display if view's layers are not synchronize to scene's layers.

------------------------------------------------------------------------
r33051 | campbellbarton | 2010-11-14 09:42:14 +0200 (Sun, 14 Nov 2010) | 3 lines

fix for own recent error, [#24695] column_vector_multiplication call writes past end of array
was setting the vector array out of bounds with vec*=matrix, where the vector wasnt size 4.

------------------------------------------------------------------------
r33050 | campbellbarton | 2010-11-14 09:28:53 +0200 (Sun, 14 Nov 2010) | 2 lines

fix for own error in recent commit. add a back NULL terminator to the string in text_font_draw_character.

------------------------------------------------------------------------
r33049 | campbellbarton | 2010-11-14 09:02:55 +0200 (Sun, 14 Nov 2010) | 2 lines

update for mathutils vector/matrix order change.

------------------------------------------------------------------------
r33048 | dingto | 2010-11-14 00:38:33 +0200 (Sun, 14 Nov 2010) | 3 lines

Patch [#21942] Node links access by Andrey Izrantsev (bdancer) Thanks!

This adds Node Link Acces in RNA.
------------------------------------------------------------------------
r33047 | nexyon | 2010-11-13 15:47:33 +0200 (Sat, 13 Nov 2010) | 2 lines

Missed that in last commit.

------------------------------------------------------------------------
r33046 | nexyon | 2010-11-13 15:44:45 +0200 (Sat, 13 Nov 2010) | 2 lines

Fix for [#24654] Sound Actuator doesn't find the file when Blender is reopened.

------------------------------------------------------------------------
r33044 | ton | 2010-11-12 19:35:51 +0200 (Fri, 12 Nov 2010) | 8 lines

Bugfix #20382

Fixed old annoyance in Search menu, with a load of object-mode
operators showing up in editmode.
It's much cleaner now, but it will take further work and
investigation to have context & polls work satisfying for all cases.


------------------------------------------------------------------------
r33043 | ton | 2010-11-12 18:14:31 +0200 (Fri, 12 Nov 2010) | 3 lines

Makefile fix for compiling with quicktime.


------------------------------------------------------------------------
r33042 | campbellbarton | 2010-11-12 17:05:57 +0200 (Fri, 12 Nov 2010) | 2 lines

bugfix [#24661] Object.find_armature() only works on meshes

------------------------------------------------------------------------
r33041 | ton | 2010-11-12 16:59:01 +0200 (Fri, 12 Nov 2010) | 9 lines

Bugfix #24335

ZCombine node in compositor ignored alpha values. Enabling it
would break compatibility though, so it's a tickbox option now.

Patch provided by reporter, Martin Lubich. Thanks!



------------------------------------------------------------------------
r33040 | jhk | 2010-11-12 16:54:40 +0200 (Fri, 12 Nov 2010) | 2 lines

Hide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
* Response to report [#24670] Keyframe fluid on/off does not work
------------------------------------------------------------------------
r33039 | blendix | 2010-11-12 16:36:58 +0200 (Fri, 12 Nov 2010) | 5 lines

Related to #24653: added scene.collada_export() function, to use instead of an
operator for external render engines, since operators should not be called in
the render() callback.


------------------------------------------------------------------------
r33038 | campbellbarton | 2010-11-12 14:45:55 +0200 (Fri, 12 Nov 2010) | 2 lines

bugfix [#24682] Render artifacts with mat node

------------------------------------------------------------------------
r33037 | campbellbarton | 2010-11-12 13:49:33 +0200 (Fri, 12 Nov 2010) | 2 lines

add back red tint for zero user datablocks.

------------------------------------------------------------------------
r33036 | campbellbarton | 2010-11-12 13:16:04 +0200 (Fri, 12 Nov 2010) | 5 lines

take delta's into account when applying the objects matrix (dloc, drot, dsize).
Now object_apply_mat4() can be used as the reverse of object_to_mat4().

Noticeable result is fly mode and 'Apply Visual Transform' dont jump when deltas are used, also means setting matrix from python works as expected.

------------------------------------------------------------------------
r33035 | campbellbarton | 2010-11-12 11:06:50 +0200 (Fri, 12 Nov 2010) | 2 lines

fix for vec * matrix always returning a 3D vector.

------------------------------------------------------------------------
r33034 | moguri | 2010-11-12 10:39:49 +0200 (Fri, 12 Nov 2010) | 1 line

CMake fix for my last commit.
------------------------------------------------------------------------
r33031 | moguri | 2010-11-12 09:16:33 +0200 (Fri, 12 Nov 2010) | 1 line

Getting BLF to work with the Blenderplayer.
------------------------------------------------------------------------
r33030 | campbellbarton | 2010-11-12 04:50:57 +0200 (Fri, 12 Nov 2010) | 14 lines

bugfix [#24665] mathutils.Matrix initialization is counter-intuitive and generates bugs
was printing transposed, also nicer printing.

>>> from mathutils import Matrix
>>> Matrix()
Matrix((1.0, 0.0, 0.0, 0.0),
       (0.0, 1.0, 0.0, 0.0),
       (0.0, 0.0, 1.0, 0.0),
       (0.0, 0.0, 0.0, 1.0))

was...
Matrix((1.000000, 0.000000, 0.000000, 0.000000), (0.000000, 1.000000, 0.000000, 0.000000), (0.000000, 0.000000, 1.000000, 0.000000), (0.000000, 0.000000, 0.000000, 1.000000))


------------------------------------------------------------------------
r33029 | campbellbarton | 2010-11-12 03:38:18 +0200 (Fri, 12 Nov 2010) | 8 lines

bugfix [#24660] (vector * matrix) fails, (matrix * vector) succeeds

- Reverse vector * matrix multiplication order. now this matches how numpy works.
- Disallow 'matrix * vec' and 'quat * vec', now it raises an error.
- Add missing in-place multiply 'vec *= quat'

Many scripts will need to be updated for this but at least it will error rather then failing silently.

------------------------------------------------------------------------
r33027 | jesterking | 2010-11-12 00:12:49 +0200 (Fri, 12 Nov 2010) | 1 line

Revert the reversal :)
------------------------------------------------------------------------
r33026 | jesterking | 2010-11-12 00:09:09 +0200 (Fri, 12 Nov 2010) | 1 line

Fix compile problems for msvc.
------------------------------------------------------------------------
r33025 | aligorith | 2010-11-12 00:05:17 +0200 (Fri, 12 Nov 2010) | 9 lines

Revert r33023

Was causing compile troubles with MSVC:
wm_operators.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(322) : error C3163: '_write': attribute
s inconsistent with previous declaration
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(224) : see declaration of '_wri
te'
scons: *** [C:\blenderdev\b250\buildvc\source\blender\windowmanager\intern\wm_operators.obj] Error 2
------------------------------------------------------------------------
r33024 | campbellbarton | 2010-11-11 23:49:40 +0200 (Thu, 11 Nov 2010) | 4 lines

rename anim.channels_revive_fcurves --> anim.channels_fcurves_enable
better matches existing VIEW3D_OT_enable_manipulator & ANIM_OT_channels_setting_enable
also fixed warning.

------------------------------------------------------------------------
r33023 | nazgul | 2010-11-11 22:32:28 +0200 (Thu, 11 Nov 2010) | 7 lines

System console toggling for MinGW

Define WINVER=0x0501 for MinGW due to some stuff requres this winver, but
MinGW's default is 0x0400 (thanks AlexKu for point)

Better to replace all #include <windows.h> with #include "BLI_winstuff.h" to
avoid possibility of different functions prototypes in different modules.
------------------------------------------------------------------------
r33022 | nazgul | 2010-11-11 21:28:10 +0200 (Thu, 11 Nov 2010) | 1 line

Fix for definitions checking. Now it should work with MinGW.
------------------------------------------------------------------------
r33021 | jesterking | 2010-11-11 21:04:57 +0200 (Thu, 11 Nov 2010) | 1 line

Also !defined(FREE_WINDOWS) on appending operator.
------------------------------------------------------------------------
r33020 | gsrb3d | 2010-11-11 21:00:52 +0200 (Thu, 11 Nov 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r33019 | elubie | 2010-11-11 20:53:10 +0200 (Thu, 11 Nov 2010) | 3 lines

== filebrowser ==
When loading .blend file (F1) open the filebrowser with the most recently used .blend file. Another lost feature from 2.49 back ;)

------------------------------------------------------------------------
r33018 | jesterking | 2010-11-11 20:24:03 +0200 (Thu, 11 Nov 2010) | 1 line

wrong language :°
------------------------------------------------------------------------
r33017 | jesterking | 2010-11-11 20:21:57 +0200 (Thu, 11 Nov 2010) | 2 lines

For now have console toggling only when compiled with MSVC.
Need to find out how to enable for MingW too.
------------------------------------------------------------------------
r33016 | jhk | 2010-11-11 19:59:52 +0200 (Thu, 11 Nov 2010) | 2 lines

Smoke now uses the start and end of cached data properly when outside the cached frame range.
* Patch by MiikaH.
------------------------------------------------------------------------
r33015 | jhk | 2010-11-11 19:03:09 +0200 (Thu, 11 Nov 2010) | 3 lines

Bug fix: memoryleak when using smoke heat/velocity data as texture
* In addition to fixing the memleak it's much better to always copy the voxeldata to the texture. Smoke data can change at any time due to some changes, so we can't depend on that data.
* Thanks to MiikaH for finding this!
------------------------------------------------------------------------
r33014 | ton | 2010-11-11 18:50:04 +0200 (Thu, 11 Nov 2010) | 8 lines

Bugfix #20027

Texture Nodes didn't work for normal output anymore anymore.
It was caused by new handling of bump code using derivatives,
but that's not how texture nodes work now. In case a texture
has nodes, it uses the old (2.4) method.


------------------------------------------------------------------------
r33013 | ton | 2010-11-11 17:33:28 +0200 (Thu, 11 Nov 2010) | 8 lines

Bugfix #19534

Crash in Array Modifier. The merging-vertices option
(mysteriously named "First Last") caused invalid indices in
faces to exist. This commit solves the crash, but not the
cause. For that Ben Batt's assistance is needed.


------------------------------------------------------------------------
r33010 | jesterking | 2010-11-11 15:44:51 +0200 (Thu, 11 Nov 2010) | 2 lines

Apply patch [#24579] Fix for Win; Show/hide console
Submitted by Alexander Kuznetsov
------------------------------------------------------------------------
r33009 | campbellbarton | 2010-11-11 15:36:57 +0200 (Thu, 11 Nov 2010) | 8 lines

move report/operator view out of the 'Console' into the 'Info' space (file menu).

Ton will work on moving the File menu out of the Info space before release.

notes.
- reply Operator isn't working anymore.
- UI for reports is commented out so its not mixed with the file menu.

------------------------------------------------------------------------
r33008 | aligorith | 2010-11-11 13:56:50 +0200 (Thu, 11 Nov 2010) | 11 lines

Animation Editors: Experimental indicators + "fixup" operator for "Disabled FCurves"

F-Curves tagged as "disabled" now have their channels drawn with a red line underlining their names.

"Disabled" F-Curves are skipped for evaluation, and typically result (for example) from assigning an action from one armature to another, but the new armature does not have some of the bones the action's F-Curves need in order for the datapaths (referring to the property the F-Curves affect) to be resolved. This is to prevent heaps of invalid channels slowing down animation playback.

I've also added a new operator, found by:
Channels -> Revive Disabled F-Curves
in the Graph Editor and DopeSheet/Action Editors, which will clear all the disabled tags for all the F-Curves in the animation editor at the time (based on the filtering criteria).

Use this operator to clear the disabled tags, allowing such channels to be able to be evaluated again (perhaps after adding the offending bones for example, or when using the action on the original armature again).
------------------------------------------------------------------------
r33007 | ton | 2010-11-11 13:53:30 +0200 (Thu, 11 Nov 2010) | 6 lines

Bugfix #24659

Material buttons: Wardiso slope button was not of type 'factor' (slider),
making it very hard to use.


------------------------------------------------------------------------
r33006 | campbellbarton | 2010-11-11 13:46:45 +0200 (Thu, 11 Nov 2010) | 2 lines

use BLI_snprintf, fixed building on msvc.

------------------------------------------------------------------------
r33004 | ton | 2010-11-11 13:06:15 +0200 (Thu, 11 Nov 2010) | 3 lines

Makefile fix: new compile flag moved to correct Makefile


------------------------------------------------------------------------
r33003 | campbellbarton | 2010-11-11 13:01:15 +0200 (Thu, 11 Nov 2010) | 2 lines

fix mistake in makefile

------------------------------------------------------------------------
r33002 | aligorith | 2010-11-11 12:27:24 +0200 (Thu, 11 Nov 2010) | 6 lines

Bugfix #24621: NLA strips move insensitively across tracks

This was a 2-part bug:
1) "Track index" (i.e. "index of NLA track within NLA Stack") was calculated incorrectly when the transform data is created. A typo meant that this was actually "index of strip within original track"

2) Strips were flying around madly vertically (especially for downward movements, and with extreme difficulty for upwards) as the track index was being updated incorrectly. I suspect at the time I was misreading it as trackIndex = ... vs trackIndex += ..., though it obviously looked wrong looking at it now!
------------------------------------------------------------------------
r33001 | aligorith | 2010-11-11 12:07:33 +0200 (Thu, 11 Nov 2010) | 3 lines

NLA Transform Bugfix:

Transforming strips into locked tracks meant that they were not unlocked properly (i.e. they stayed as temporary "meta" strips). This is now taken into account as part of the step which checks if there's any space for them in those tracks.
------------------------------------------------------------------------
r33000 | nazgul | 2010-11-11 12:01:10 +0200 (Thu, 11 Nov 2010) | 1 line

Get rid of G.rendering in curve_to_displist
------------------------------------------------------------------------
r32999 | nazgul | 2010-11-11 11:56:39 +0200 (Thu, 11 Nov 2010) | 5 lines

Fix #24643: Nurbs Surface Preview resolution overrides render resolution

NURBS surfaces always used resol{u,v} from spline and never used curve's render resolutions.
Now, if curve's render resolution is non-zero then it'll override resolution for all
splines when rendering (in needed direction only, ofcource).
------------------------------------------------------------------------
r32997 | campbellbarton | 2010-11-11 09:51:12 +0200 (Thu, 11 Nov 2010) | 2 lines

fix for building, also use const char in more places.

------------------------------------------------------------------------
r32996 | campbellbarton | 2010-11-11 08:35:45 +0200 (Thu, 11 Nov 2010) | 2 lines

BLF_draw functions take an extra length argument, so the console drawing doenst need to swap in NULL chars to draw word wrapping.

------------------------------------------------------------------------
r32995 | gsrb3d | 2010-11-11 08:22:55 +0200 (Thu, 11 Nov 2010) | 2 lines

Reorder library linking.

------------------------------------------------------------------------
r32994 | gsrb3d | 2010-11-11 08:03:41 +0200 (Thu, 11 Nov 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32993 | campbellbarton | 2010-11-11 07:45:55 +0200 (Thu, 11 Nov 2010) | 3 lines

make console wrapped text drawing into its own function in preparation to move report view out of the console space type. (no functional changes)
also remove incorrect messages about the original copyright in the GPL headers.

------------------------------------------------------------------------
r32992 | aligorith | 2010-11-11 07:11:37 +0200 (Thu, 11 Nov 2010) | 1 line

Preview Range operators were broken in Graph Editor
------------------------------------------------------------------------
r32991 | dingto | 2010-11-10 21:37:58 +0200 (Wed, 10 Nov 2010) | 2 lines

Nurbs Curve UI:
* Fixed an alignment issue in resolution buttons.
------------------------------------------------------------------------
r32989 | ton | 2010-11-10 20:00:51 +0200 (Wed, 10 Nov 2010) | 6 lines

Bugfix #24524

Mesh loop tools allowed to be invoked outside 3d region (properties).
That caused crash, it needs 3d view code to work.


------------------------------------------------------------------------
r32988 | ton | 2010-11-10 18:49:42 +0200 (Wed, 10 Nov 2010) | 7 lines

Bugfix #24570

When using a startup.blend without user prefs (themes etc) saved, Blender
crashed. Added a provision to then fall back to the compiled in startup,
including a print in console.


------------------------------------------------------------------------
r32987 | ton | 2010-11-10 18:22:19 +0200 (Wed, 10 Nov 2010) | 7 lines

bugfix #24573

View2d custom keymap to put zoom in RMB didn't work, the modal handler
still has a hardcoded check for mouse/keys. Fixed it for this case quickly,
added wiki todo and warning in code.


------------------------------------------------------------------------
r32986 | ton | 2010-11-10 17:10:54 +0200 (Wed, 10 Nov 2010) | 6 lines

Bugfix #24603

Using ALT+B clipping and CTRL+R loopcut in wireframe mode, made 3d drawing
disappear. Was caused by faulty setting of zbuffering on in loopcut code.


------------------------------------------------------------------------
r32985 | ton | 2010-11-10 16:09:32 +0200 (Wed, 10 Nov 2010) | 5 lines

Fix #24615
Light Cache resolution for volumetric material could be set to zero,
causing crashes.


------------------------------------------------------------------------
r32984 | campbellbarton | 2010-11-10 13:37:55 +0200 (Wed, 10 Nov 2010) | 2 lines

bugfix [#24638] Crash when parenting ni local view through the outliner

------------------------------------------------------------------------
r32983 | campbellbarton | 2010-11-10 13:19:52 +0200 (Wed, 10 Nov 2010) | 2 lines

bugfix [#24635] "Add Shortcut"

------------------------------------------------------------------------
r32982 | jhk | 2010-11-10 12:21:14 +0200 (Wed, 10 Nov 2010) | 3 lines

"Fix" for [#24629] 2D-cursor coordinates in 254B UV and 3D views
* This null check just prevents the crash, but the real bug is that 3d view toolbar redo even shows the image view operator..
* ..and since the redo is in the wrong view it doesn't work. Both of these are known issues.
------------------------------------------------------------------------
r32981 | aligorith | 2010-11-10 11:51:30 +0200 (Wed, 10 Nov 2010) | 5 lines

Reverting part of #32971

By just removing these vars (commenting them out), we were getting alignment errors which were causing crashes when loading old files with armatures (crash in armature drawing code).

Fortunately I happen to be working on a little project right now, and caught this :)
------------------------------------------------------------------------
r32980 | nazgul | 2010-11-10 10:24:15 +0200 (Wed, 10 Nov 2010) | 1 line

Removed unused code from multires module
------------------------------------------------------------------------
r32979 | nazgul | 2010-11-10 10:11:58 +0200 (Wed, 10 Nov 2010) | 5 lines

Fix #24632: Sculpt Mode Context Set hotkeys (1..0, Shift+1..0) don't work

- Totally get rid of old active_brush_index stuff
- Use operator to set n-th brush as active in specified paint mode
  thans to Cambo for it's optimization :)
------------------------------------------------------------------------
r32978 | campbellbarton | 2010-11-10 10:10:42 +0200 (Wed, 10 Nov 2010) | 2 lines

fix [#24631] array modifier, relative offset, units

------------------------------------------------------------------------
r32976 | campbellbarton | 2010-11-10 09:44:48 +0200 (Wed, 10 Nov 2010) | 3 lines

[#24627] [minor] Object type is TEXT, but icon names are FONT
change object.type enum name TEXT for FONT to match icon and ID type names.

------------------------------------------------------------------------
r32975 | campbellbarton | 2010-11-10 09:10:23 +0200 (Wed, 10 Nov 2010) | 2 lines

bugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z

------------------------------------------------------------------------
r32974 | campbellbarton | 2010-11-10 07:46:17 +0200 (Wed, 10 Nov 2010) | 2 lines

fix for the crash reported in [#24625] Duplifaces not generated using spacebar to activate

------------------------------------------------------------------------
r32973 | campbellbarton | 2010-11-10 06:58:37 +0200 (Wed, 10 Nov 2010) | 2 lines

correct some comments and fix for allocating more memory then needed for animation paths.

------------------------------------------------------------------------
r32972 | campbellbarton | 2010-11-10 03:40:24 +0200 (Wed, 10 Nov 2010) | 4 lines

partial fix for [#24634] Passing custom context to join operator doesn't work
- report errors when join fails.
- toggle editmode with internal functions rather then ED_object_enter_editmode / ED_object_exit_editmode, which rely on context too much and didnt work properly when calling join from python.

------------------------------------------------------------------------
r32971 | campbellbarton | 2010-11-10 02:51:34 +0200 (Wed, 10 Nov 2010) | 2 lines

string lookup for scene.object_bases, also removed some unused DNA vars.

------------------------------------------------------------------------
r32966 | ton | 2010-11-09 16:54:59 +0200 (Tue, 09 Nov 2010) | 15 lines

Bugfix #20812 (and probably others)

Issue: in user preferences window, using file selecting caused the
the userpref window to be saved, and not closing.

Reason: design error (by me) in using screen->full tag for denoting
a temporarily screen (like file window). Fixed by using a new
screen->temp variable for it.

System remained unstable though, noticed another issue with freeing
temp screens in wrong places. Seems nice stable now! Will check on
the wiki for relarted issues now.



------------------------------------------------------------------------
r32965 | jhk | 2010-11-09 13:26:00 +0200 (Tue, 09 Nov 2010) | 1 line

Bug fix: cutting a sequencer movie strip with sound could crash in some cases.
------------------------------------------------------------------------
r32964 | jhk | 2010-11-09 13:17:00 +0200 (Tue, 09 Nov 2010) | 3 lines

Fix for [#24580] and [#24600]
* Particles didn't want to stay cached, even if there were no actual chages.
* Particle states weren't set properly for times before actual simulation start.
------------------------------------------------------------------------
r32963 | campbellbarton | 2010-11-09 12:40:03 +0200 (Tue, 09 Nov 2010) | 2 lines

remove unused scene members 'jumpframe' and 'ima'

------------------------------------------------------------------------
r32962 | campbellbarton | 2010-11-09 11:53:17 +0200 (Tue, 09 Nov 2010) | 3 lines

bugfix [#24403] Object.copy() duplicates armature action
now duplicating ID data wont duplicate actions by default and the user preference is used with duplicate operators.

------------------------------------------------------------------------
r32961 | campbellbarton | 2010-11-09 11:34:03 +0200 (Tue, 09 Nov 2010) | 2 lines

copying a camera would copy its animation data (and action datablocks) twice.

------------------------------------------------------------------------
r32959 | vekoon | 2010-11-09 09:49:15 +0200 (Tue, 09 Nov 2010) | 1 line

Add a "Save user settings" operator entry in the File menu, avoids having to open User Preferences to save layout changes.
------------------------------------------------------------------------
r32958 | campbellbarton | 2010-11-09 07:58:30 +0200 (Tue, 09 Nov 2010) | 2 lines

RNA_property_as_string support for pointer properties, without this macro arguments were just called '<POINTER>'

------------------------------------------------------------------------
r32957 | campbellbarton | 2010-11-09 06:56:52 +0200 (Tue, 09 Nov 2010) | 3 lines

bugfix [#24623] VSE strip animation data out of sync after moving using shift-s
also fixes snap on metastrips which was snapping nested strips.

------------------------------------------------------------------------
r32956 | campbellbarton | 2010-11-09 05:52:27 +0200 (Tue, 09 Nov 2010) | 7 lines

bugfix [#24578] crash on browse directory w/ broken image file
Was trying to decode an image when quicktime wasn't initialized.

There are a few other reports on windows about thumbnails crashing which this probably fixes.

This also fixes a bug where DisposeHandle wasn't called if decode was called with a NULL pointer.

------------------------------------------------------------------------
r32955 | theeth | 2010-11-09 05:37:51 +0200 (Tue, 09 Nov 2010) | 9 lines

[#24602] Netrender master node IP information is reset to [Default] no matter what

[#24601] Net rendering master node fails to send/retrieve files to/from slaves

Both Reported by Dan McGrath

The second might not actually be fixed with this, but now there is better error checking and reporting.

Misc: add poll method in Panel base class, to better support mixins with different inheritance order.
------------------------------------------------------------------------
r32954 | campbellbarton | 2010-11-09 03:37:58 +0200 (Tue, 09 Nov 2010) | 2 lines

bugfix [#22794] Inconsistent behaviour with Panorama, border rendering

------------------------------------------------------------------------
r32953 | campbellbarton | 2010-11-09 01:34:09 +0200 (Tue, 09 Nov 2010) | 2 lines

missed these last commit, searched all uses of this function and think this should work now.

------------------------------------------------------------------------
r32952 | campbellbarton | 2010-11-09 01:13:49 +0200 (Tue, 09 Nov 2010) | 2 lines

fix for last commit with collada

------------------------------------------------------------------------
r32951 | campbellbarton | 2010-11-09 00:32:28 +0200 (Tue, 09 Nov 2010) | 4 lines

bugfix [#24616] Apply Visual Transform doesn't always apply location
- object updates were not being flushed, so children weren't updating.
- apply the matrix relative to the parent, added this as an option to object_apply_mat4() which allows assigning the worldspace matrix in python without worrying about the parent.

------------------------------------------------------------------------
r32950 | campbellbarton | 2010-11-08 23:13:44 +0200 (Mon, 08 Nov 2010) | 2 lines

update the man page from blenders --help message

------------------------------------------------------------------------
r32949 | ton | 2010-11-08 21:03:42 +0200 (Mon, 08 Nov 2010) | 9 lines

Small bug, reported by Andy in irc:
Image editor & texture properties, add new Image, inits 'start' now
to frame 1 for sequences.

Added triple-X warning in Image Open operator, it uses SpaceImage whilst
it can be called from other editors. Code is safe but not correct.



------------------------------------------------------------------------
r32948 | nazgul | 2010-11-08 16:39:36 +0200 (Mon, 08 Nov 2010) | 3 lines

Fixed own mistake from previous commit -- get_levels_from_disps can't be used
when handling topology changes.
Added grid size detection based on totdisp and corners count.
------------------------------------------------------------------------
r32947 | dingto | 2010-11-08 16:08:22 +0200 (Mon, 08 Nov 2010) | 1 line

Patch [#24608] Fix for typo and better indentation in command line help by Susanne H. (sanne). Thanks!
------------------------------------------------------------------------
r32946 | nazgul | 2010-11-08 16:00:23 +0200 (Mon, 08 Nov 2010) | 4 lines

Fix crash when creating new faces in edit mode

- Do not check corners count if totdisp is set to 0
- Allocate memory for such mdisps to prevent the whole disp layer erasing
------------------------------------------------------------------------
r32944 | jhk | 2010-11-08 13:19:53 +0200 (Mon, 08 Nov 2010) | 2 lines

Fix for [#24597] Option External in Smoke cache affects settings of start and end frame of simulation
* Don't change anything in the pointcache unless a valid external cache is found.
------------------------------------------------------------------------
r32943 | jhk | 2010-11-08 13:13:46 +0200 (Mon, 08 Nov 2010) | 1 line

Better name for smoke "gravity" parameter and more descriptive tooltips.
------------------------------------------------------------------------
r32942 | campbellbarton | 2010-11-08 11:38:48 +0200 (Mon, 08 Nov 2010) | 2 lines

fix for not being able to select the camera while in the camera view, also draw the camera unscaled in the 3D view.

------------------------------------------------------------------------
r32941 | jhk | 2010-11-08 11:05:27 +0200 (Mon, 08 Nov 2010) | 3 lines

Second fix for [#24476] The driver is not displayed in GraphEditor.
* Texture data still wasn't shown if material didn't have animation data.
* Also unified the material/texture filtering logic a bit.
------------------------------------------------------------------------
r32940 | campbellbarton | 2010-11-08 09:59:34 +0200 (Mon, 08 Nov 2010) | 2 lines

bugfix [#24583] Mesh.from_pydata does not properly construct faces

------------------------------------------------------------------------
r32939 | campbellbarton | 2010-11-08 08:31:45 +0200 (Mon, 08 Nov 2010) | 2 lines

fix for CMake file grouping with MSVC project files.

------------------------------------------------------------------------
r32938 | campbellbarton | 2010-11-08 05:55:03 +0200 (Mon, 08 Nov 2010) | 2 lines

change from recent commit. when orbiting out of the camera view switch to the last used perspective.

------------------------------------------------------------------------
r32937 | campbellbarton | 2010-11-08 05:44:52 +0200 (Mon, 08 Nov 2010) | 6 lines

fix for glitches with quad-split view.
- Home or Numpad Period with smoothview disabled were not syncing up the other views.
- Disabling clip only disabled clip syncing but left clip enabled for all views.
- Clip was being calculated for every update even when not enabled.
- The perspective view was being used to copy settings from when changing box & clip settings, resetting the distance each time. Now use one of the aligned views instead.

------------------------------------------------------------------------
r32936 | campbellbarton | 2010-11-08 04:30:46 +0200 (Mon, 08 Nov 2010) | 3 lines

- when orbiting the view out of camera mode use the ortho/persp setting of the camera.
- display the physical size of a ortho camera since, unlike a perspective camera the ortho scale can be converted into a plane with real size.

------------------------------------------------------------------------
r32935 | aligorith | 2010-11-08 02:09:31 +0200 (Mon, 08 Nov 2010) | 1 line

Bugfix: NLA Channel Borderselect works again
------------------------------------------------------------------------
r32934 | campbellbarton | 2010-11-08 01:22:40 +0200 (Mon, 08 Nov 2010) | 2 lines

compiler warning fixes

------------------------------------------------------------------------
r32933 | campbellbarton | 2010-11-08 01:02:08 +0200 (Mon, 08 Nov 2010) | 3 lines

[#24594] Edge weighting while making subsurf
use shift+e for crease as in 2.4x

------------------------------------------------------------------------
r32932 | campbellbarton | 2010-11-08 00:48:51 +0200 (Mon, 08 Nov 2010) | 3 lines

[#24593] Cloud Depth setting above 30 cause texture corruption
disallow cloud depth over 30, it causes a lot of floating point exceptions (and nan value pixels), because of hitting the int limit with 1<<(oct+1) in BLI_gTurbulence

------------------------------------------------------------------------
r32931 | dingto | 2010-11-07 22:48:09 +0200 (Sun, 07 Nov 2010) | 3 lines

UI Scripts World:
* Remove poll, not needed anymore.

------------------------------------------------------------------------
r32930 | elubie | 2010-11-07 20:16:27 +0200 (Sun, 07 Nov 2010) | 3 lines

Remove code duplication.
Will look into nicely using uiStyleFontDraw later.

------------------------------------------------------------------------
r32929 | elubie | 2010-11-07 20:01:32 +0200 (Sun, 07 Nov 2010) | 3 lines

Enabled kerning for the default UI font for the places that are using UI_DrawString still and for filebrowser.
Makes text more readable :)

------------------------------------------------------------------------
r32928 | elubie | 2010-11-07 19:14:10 +0200 (Sun, 07 Nov 2010) | 2 lines

fix ford last commit - also remove file from CMakeLists.txt

------------------------------------------------------------------------
r32927 | campbellbarton | 2010-11-07 18:38:56 +0200 (Sun, 07 Nov 2010) | 7 lines

Removing some tools I suspect are not used anymore.
- removing cygwin dir, not supported in years.
- simple text output wrapping utility
- hmake, make colorizer utility wrapper script.

can add back if anyone wants.

------------------------------------------------------------------------
r32926 | elubie | 2010-11-07 18:22:25 +0200 (Sun, 07 Nov 2010) | 2 lines

removed unused code for image loading, was copied from 2.49 and never used.

------------------------------------------------------------------------
r32925 | elubie | 2010-11-07 18:20:44 +0200 (Sun, 07 Nov 2010) | 2 lines

Raised soft limit for cloud texture noise to 24 for easier access.

------------------------------------------------------------------------
r32924 | dingto | 2010-11-07 18:19:13 +0200 (Sun, 07 Nov 2010) | 1 line

Removal of more ancient stuff. (Help url and some cygwin build file, which is not in use anymore)
------------------------------------------------------------------------
r32923 | campbellbarton | 2010-11-07 18:02:17 +0200 (Sun, 07 Nov 2010) | 3 lines

remove BLI_bfile, has been in blenders source for quite some time but remains unused.
can add back in if its ready to be used ofcourse.

------------------------------------------------------------------------
r32922 | dingto | 2010-11-07 18:00:47 +0200 (Sun, 07 Nov 2010) | 1 line

Remove old non used ActiveX code for Game Player.
------------------------------------------------------------------------
r32921 | campbellbarton | 2010-11-07 17:57:59 +0200 (Sun, 07 Nov 2010) | 2 lines

remove unmaintained game player plugins

------------------------------------------------------------------------
r32920 | elubie | 2010-11-07 17:07:14 +0200 (Sun, 07 Nov 2010) | 6 lines

fix [#24554] Blender does not remember name of last saved picture
* image name is now set when the file is actually saved if it is empty. Otherwise it is only changed if we're not saving a copy.
* If previous image name is empty, filename will be 'untitled.png' for png saving.

NOTE: if we saved a copy of 'render.png' as render1.png, the save image dialog will be re-opened with the image name that Blender has (render.png) rather than render1.png.

------------------------------------------------------------------------
r32919 | ton | 2010-11-07 16:57:24 +0200 (Sun, 07 Nov 2010) | 7 lines

Bugfix #24585

Quad view split 3D window: didn't work for "box lock" option when
using "view all" or "view selected".
Made it work nicely for animated 'smooth' view too.


------------------------------------------------------------------------
r32917 | aligorith | 2010-11-07 14:15:21 +0200 (Sun, 07 Nov 2010) | 1 line

Partial fix for NLA Channel-List Border Select. This part of the fix gets the selection ranges right. The next part of the fix (for tomorrow) will involve setting up access for NLA-Track properties...
------------------------------------------------------------------------
r32915 | aligorith | 2010-11-07 14:09:15 +0200 (Sun, 07 Nov 2010) | 22 lines

Animation Editors: Channel Reordering

This commit restores the ability to reorder channels in the animation editors (DopeSheet/Action/etc., Graph/Drivers, NLA). The hotkeys for this are:
- Shift-PageUp = Move Up
- Shift-PageDown = Move Down

- Ctrl-Shift-PageUp = Move to Top of List
- Ctrl-Shift-PageDown = Move to Bottom of List

Do note that only animation data can get reordered using this.
So, do not expect to be able to change the object order (that is actually taken from the order that Blender actually evaluates them per update/frame).

---

In the process, I've fixed a couple of other bugs:
* Removed 'optimisation step' check in anim_filter.c for dopesheet with no filtering options modified, since this meant that the ANIMFILTER_ANIMDATA data filter was not getting processed (and potentially there were other maintenance problems with that).

* Made NLA Editor's channel list not totally duplicate the basic Animation Channels keymap. Instead, the "NLA Channels" keymap now only defines the parts that are different, and this then gets specified before the standard one so that these different parts will override the standard ones.

* Attempted to fix BorderSelect on NLA Channels list. Still not totally working correctly yet though.

* Moved "Euler Discontinuity" menu entry from "Channels" to "Keys". It really belongs in the latter, since it affects the keyframe values, rather than some aspect of the channel (i.e. ordering of channels or how they're displayed)
------------------------------------------------------------------------
r32913 | campbellbarton | 2010-11-07 12:36:06 +0200 (Sun, 07 Nov 2010) | 3 lines

use RV3D_CAMOB define, theres no reason to use >= comparison either.
also fixed opengl render ortho test.

------------------------------------------------------------------------
r32911 | campbellbarton | 2010-11-07 11:53:39 +0200 (Sun, 07 Nov 2010) | 3 lines

Inverted the opacity setting for Background Images through RNA.
I was testing with a patched blender where this wasn't a problem else I'd have noticed.

------------------------------------------------------------------------
r32910 | campbellbarton | 2010-11-07 11:33:10 +0200 (Sun, 07 Nov 2010) | 3 lines

- avoid loop within loop for unique naming function (even though it wasnt likely to run often).
- off by 1 error with outliner naming length. was 1 too short.

------------------------------------------------------------------------
r32909 | campbellbarton | 2010-11-07 10:49:07 +0200 (Sun, 07 Nov 2010) | 2 lines

de-duplicate unique naming logic, was used in 7 different places, convert into a function call.

------------------------------------------------------------------------
r32908 | campbellbarton | 2010-11-07 07:59:35 +0200 (Sun, 07 Nov 2010) | 3 lines

bugfix [#24574] setting location gained from a matrix_world.copy().translation_part() (visual loc) after constraints causes NAN in object location after python script ends
shrinkwrap constraint was dividing by zero. also the shrinkwrap UI was incorrectly trying to draw a subtarget.

------------------------------------------------------------------------
r32907 | campbellbarton | 2010-11-07 07:35:41 +0200 (Sun, 07 Nov 2010) | 3 lines

bugfix [#24575] On file save plus and minus don't re-evaluate whether a file exists
actually it was re-evaluated. just the flag was overwritten by the old button.

------------------------------------------------------------------------
r32906 | campbellbarton | 2010-11-07 06:46:50 +0200 (Sun, 07 Nov 2010) | 2 lines

better exception check for calling operators. non dict/None values were being treated as None.

------------------------------------------------------------------------
r32905 | campbellbarton | 2010-11-07 06:34:27 +0200 (Sun, 07 Nov 2010) | 3 lines

patch [#24576] aud.Handle.status return bool
from Dan Eicher (dna), no functional changes, just return bool rather then int types.

------------------------------------------------------------------------
r32904 | campbellbarton | 2010-11-07 05:56:58 +0200 (Sun, 07 Nov 2010) | 5 lines

patch [#24577] MESH_OT_noise. Adds missing 2.4x noise vertex displace functionality.
from Dan Eicher (dna)

Also added a factor option so you can adjust the amount of noise applied.

------------------------------------------------------------------------
r32903 | campbellbarton | 2010-11-07 05:45:55 +0200 (Sun, 07 Nov 2010) | 2 lines

committed by mistake

------------------------------------------------------------------------
r32902 | jhk | 2010-11-07 00:37:29 +0200 (Sun, 07 Nov 2010) | 2 lines

Fix for [#24569] F11 no longer functional after image save
* Same fix was already in ED_area_prevspace().
------------------------------------------------------------------------
r32901 | jhk | 2010-11-07 00:23:37 +0200 (Sun, 07 Nov 2010) | 3 lines

Fix for [#24476] The driver is not displayed in GraphEditor.
* TSK! give_current_material(..) is used with index+1
* Also very bad practice to use same loop variable name in a loop inside a loop.
------------------------------------------------------------------------
r32900 | jhk | 2010-11-07 00:03:42 +0200 (Sun, 07 Nov 2010) | 3 lines

Fix for [#24560] Cloth pinning breaks (when parenting?)
* Changing the pin group needs to redo the whole cloth object.
* Also, parent updates weren't flushed properly to pointcache in depsgraph.
------------------------------------------------------------------------
r32899 | campbellbarton | 2010-11-06 23:42:27 +0200 (Sat, 06 Nov 2010) | 2 lines

remove line which wasnt supposed to be committed.

------------------------------------------------------------------------
r32898 | campbellbarton | 2010-11-06 23:40:09 +0200 (Sat, 06 Nov 2010) | 2 lines

Rename BG image Transparency to Opacity, Since 100% transparency is actually 100% opaque and this matches grease pencil.

------------------------------------------------------------------------
r32897 | dingto | 2010-11-06 23:37:11 +0200 (Sat, 06 Nov 2010) | 4 lines

Do not hide the Indirect Lighting tab, caused some confusion.
Now print an info that Indirect Light only works with Approximate in Trunk atm.

If someone knows a better solution, feel free to change.
------------------------------------------------------------------------
r32896 | jhk | 2010-11-06 23:32:58 +0200 (Sat, 06 Nov 2010) | 2 lines

Bug fix: Rendering with anti-aliasing disabled and full samples enabled crashed
* Disabling anti-aliasing disables full samples in ui, so do that in render code too.
------------------------------------------------------------------------
r32895 | elubie | 2010-11-06 20:54:15 +0200 (Sat, 06 Nov 2010) | 11 lines

== filebrowser ==
Added two user preferences for filebrowser:

1. Hide Recent Locations
Requested by Kernon Dillon. Reason: People doing video tutorials might not want to expose the name of other projects they are working on.

2. Open Filebrowser in thumbnail view for images and movies
Requested by Sebastian König at the Blender Conference. Reason: In the past (and most likely still) some corrupt images or movies could crash the filebrowser when generating thumbnails. (crashes in ffmpeg, libtiff, libjpg). While many of those were solved, artists in a production environment might want to use this setting to prevent any crashes.

NOTE: the second setting should probably be set next time we create a new default startup.blend. Until then users need to switch this on manually in the User Preferences.

------------------------------------------------------------------------
r32894 | blendix | 2010-11-06 19:55:43 +0200 (Sat, 06 Nov 2010) | 3 lines

Fix #24556: N Panel in Compositor doesn't work with Vector Normal node.


------------------------------------------------------------------------
r32893 | theeth | 2010-11-06 19:25:33 +0200 (Sat, 06 Nov 2010) | 5 lines

[#24565] editors/armature: overwritten return value

Reported by Nicolas Kaiser

(error was turning off some optimization in etch-a-ton)
------------------------------------------------------------------------
r32892 | nazgul | 2010-11-06 19:19:40 +0200 (Sat, 06 Nov 2010) | 3 lines

Fix crash in several cases when adding bevel on array modifier with merging switched on

Check if edge would be collapsed to single point after mapping in array modifier
------------------------------------------------------------------------
r32891 | elubie | 2010-11-06 19:03:11 +0200 (Sat, 06 Nov 2010) | 3 lines

== filebrowser ==
Center Text underneath the icons in thumbnail view. (Small request from Sergey)

------------------------------------------------------------------------
r32890 | dingto | 2010-11-06 18:17:49 +0200 (Sat, 06 Nov 2010) | 1 line

Minor adjustments in the readme file.
------------------------------------------------------------------------
r32889 | elubie | 2010-11-06 18:09:12 +0200 (Sat, 06 Nov 2010) | 7 lines

== filebrowser ==
Bringing back missing feature: Create new directory by typing a not existing name into the directory button.

Note: Small issue still with autocomplete -> if typing the new directory directly after autocomplete, it doesn't execute the operator yet.

Also fixed some minor compile/cleanup issues with warning about signed/unsigned comparison and missing header.

------------------------------------------------------------------------
r32888 | nazgul | 2010-11-06 08:22:25 +0200 (Sat, 06 Nov 2010) | 5 lines

Fix bug with unneeded outline for filled 2d curves when converted to mesh

- Revert of my old change in curve->mesh conversion
- Do not ignore DL_POLYs for surfaces -- they will never be filled,
  but ignore them for 2d curves -- they'll be filled with INDEX3 parts.
------------------------------------------------------------------------
r32886 | nazgul | 2010-11-05 16:00:31 +0200 (Fri, 05 Nov 2010) | 1 line

Read external mdisp when hamdling topology changes
------------------------------------------------------------------------
r32885 | campbellbarton | 2010-11-05 15:37:18 +0200 (Fri, 05 Nov 2010) | 2 lines

minor c90 compat edits. (no functional changes).

------------------------------------------------------------------------
r32884 | campbellbarton | 2010-11-05 11:01:00 +0200 (Fri, 05 Nov 2010) | 3 lines

dont change the file paths of sequence images, this is weak design because you can easily have 2 image users with different frame numbers so this ends up being which ever was last loaded.
Modified to image user template to show the current filename of the image.

------------------------------------------------------------------------
r32883 | campbellbarton | 2010-11-05 09:35:21 +0200 (Fri, 05 Nov 2010) | 5 lines

tedious string copying changes
- use sizeof() in more places.
- fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short.
- replace strncpy and strcpy with BLI_strncpy

------------------------------------------------------------------------
r32882 | campbellbarton | 2010-11-05 08:33:33 +0200 (Fri, 05 Nov 2010) | 4 lines

workaround/fix for [#24540] Adding the path to an image Editor in the file preferences window messes up the path
when selecting paths from the user preferences always default relative option to off.
otherwise you get paths like '//..\..\..\..\Program Files\GIMP-2.0\bin\gimp-2.6.exe'

------------------------------------------------------------------------
r32881 | campbellbarton | 2010-11-05 07:26:34 +0200 (Fri, 05 Nov 2010) | 2 lines

centralize function for calculating pixel size. (no functional changes)

------------------------------------------------------------------------
r32880 | campbellbarton | 2010-11-05 06:18:53 +0200 (Fri, 05 Nov 2010) | 2 lines

added back include file globbing for cmake, thought this was needed for MSVC only but turns out QtCreator also needs this else it wont index headers.

------------------------------------------------------------------------
r32879 | campbellbarton | 2010-11-05 05:54:54 +0200 (Fri, 05 Nov 2010) | 2 lines

'Continue' zoom method for 2d views wasn't continuously updating. added a timer so it works like the 3D view.

------------------------------------------------------------------------
r32878 | campbellbarton | 2010-11-05 04:49:01 +0200 (Fri, 05 Nov 2010) | 3 lines

incorrect poll function for clearing/applying loc/rot/scale.
Without an active object it wasn't possible to clear location on the selected objects for eg.

------------------------------------------------------------------------
r32877 | campbellbarton | 2010-11-05 04:42:33 +0200 (Fri, 05 Nov 2010) | 2 lines

fix for missing NULL check with brush poll, reported by Mike S.

------------------------------------------------------------------------
r32876 | campbellbarton | 2010-11-05 03:47:55 +0200 (Fri, 05 Nov 2010) | 2 lines

fix for linking the player, also fixes building without python and bullet.

------------------------------------------------------------------------
r32875 | aligorith | 2010-11-05 02:09:45 +0200 (Fri, 05 Nov 2010) | 7 lines

Bugfix #24535: File saved with NLA Strip in Tweakmode crashes on reload

Now the active strip doesn't just get cleared on fileload, but is relinked properly.

I had originally intended that files shouldn't be able to be saved with NLA data still in Tweakmode, but this turns out to be a bit more troublesome to get working as that would make undo keep popping out of this mode too.

Also reverting 32743 (bugfix for 24418), which was a hack around this.
------------------------------------------------------------------------
r32874 | jhk | 2010-11-04 22:17:38 +0200 (Thu, 04 Nov 2010) | 5 lines

Temporary fix for "freezing when pointcache is baked":
* WM_timecursor is broken somehow, so pointcache baking makes the cursor disappear.
* For user this seems like blender has frozen although it's just a matter of no progress indication.
* This fix just sets the default "busy" cursor for the whole duration of baking and reports progress in the console.
* If there's and easy fix for this then it should probably be done straight away, but I want to re-implement baking using the job system soon anyways, so a proper fix for this is not strictly necessary.
------------------------------------------------------------------------
r32873 | jhk | 2010-11-04 20:16:34 +0200 (Thu, 04 Nov 2010) | 1 line

Fix for [#24510] VSE SceneStrip problem when rendering animation
------------------------------------------------------------------------
r32872 | jhk | 2010-11-04 19:02:32 +0200 (Thu, 04 Nov 2010) | 1 line

Fix for [#24513] VSE curves displaced from effect when source is moved numerically
------------------------------------------------------------------------
r32871 | nazgul | 2010-11-04 19:02:25 +0200 (Thu, 04 Nov 2010) | 5 lines

Global definition of _LARGEFILE_SOURCE, _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE at linux and win32/mingw platforms

Needed to work properly with large files at 32bit system (display correct size in file browser, i.e.)

This will also fix compilation with zlib 1.2.5
------------------------------------------------------------------------
r32870 | campbellbarton | 2010-11-04 18:17:37 +0200 (Thu, 04 Nov 2010) | 5 lines

for some reason even though this resizes areas more evenly on my system (and works ok on Brecht's) theres a report that resizing views fail.
[#24529] Views Resizing Problems

now this is exactly like what it was before, hope its fixed.

------------------------------------------------------------------------
r32869 | nazgul | 2010-11-04 18:00:28 +0200 (Thu, 04 Nov 2010) | 4 lines

Fix #24388: multires base mesh

- MDisp should be re-allocated if face changed amount of vertices
- Allocate disps array in layerSwap_mdisps to prevent loosing all highres data
------------------------------------------------------------------------
r32868 | campbellbarton | 2010-11-04 17:59:09 +0200 (Thu, 04 Nov 2010) | 2 lines

bugfix [#24009] Crash when switching area types and performing ops

------------------------------------------------------------------------
r32867 | campbellbarton | 2010-11-04 15:13:31 +0200 (Thu, 04 Nov 2010) | 2 lines

warn if blender is compiled without python

------------------------------------------------------------------------
r32866 | campbellbarton | 2010-11-04 14:59:03 +0200 (Thu, 04 Nov 2010) | 8 lines

fix to allow [#24009] to be fixed.

WM_operator_poll() could fail in cases WM_operator_name_call() would succeed because calling the operator would setup the context before calling poll.
this would result in python raising an invalid error or menu items being greyed out.

now python can also check with an operator context:
  bpy.ops.object.editmode_toggle.poll('INVOKE_SCREEN')

------------------------------------------------------------------------
r32865 | blendix | 2010-11-04 13:45:30 +0200 (Thu, 04 Nov 2010) | 4 lines

Fix #24531: UV editor: setting rotating/scaling pivot with [ , ] [ . ] not working.
Patch by M.G. Kishalmi, thanks!


------------------------------------------------------------------------
r32864 | blendix | 2010-11-04 13:41:05 +0200 (Thu, 04 Nov 2010) | 3 lines

Fix #24523: deep shadows are rendered although object's shadow casting is disabled.


------------------------------------------------------------------------
r32863 | campbellbarton | 2010-11-04 01:49:56 +0200 (Thu, 04 Nov 2010) | 14 lines

workaround/fix [#24451] Motion path not automatic recalculating + locking obj moving

Comment from source...
			/* re-calculating the frame positions means we loose our original transform if its not auto-keyed [#24451]
			 * this hack re-applies it, which is annoying, only alternatives are...
			 * - dont recalc paths.
			 * - have an object_handle_update() which gives is the new transform without touching the objects.
			 * - only recalc paths on auto-keying.
			 * - ED_objects_recalculate_paths could backup/restore transforms.
			 * - re-apply the transform which is simplest in this case. (2 lines below)
			 */

Martin, if you think this workaround is unacceptable, then automatic recalculating of paths after transform should probably be disabled since it looses data on non transform un-keyed values.

------------------------------------------------------------------------
r32862 | campbellbarton | 2010-11-04 00:44:39 +0200 (Thu, 04 Nov 2010) | 8 lines

bugfix [#24518] Blender wont compile with -Wall -Werror and COLLADA support
fix included in report from Martijn Berger (mberger)
made some small changes.

- use ints rather then unsigned long for printing, values are not likely to be very large.
- CMake remove strict flags from collada build dir since I had warnings in the collada headers.
- added xml2 to collada libraries else I couldnt get collada building.

------------------------------------------------------------------------
r32861 | campbellbarton | 2010-11-04 00:11:17 +0200 (Thu, 04 Nov 2010) | 3 lines

fix for #24428, commit r32757 broke menu bar display for some users [#24454] (but not me for some reason).
For now revert most of r32757.

------------------------------------------------------------------------
r32860 | campbellbarton | 2010-11-03 23:23:02 +0200 (Wed, 03 Nov 2010) | 4 lines

workaround [#24392] 2d Image paint editor: no clone/smear/soften tools etc
the brush system matches the brush mode with the object mode, but this doesn't work for 2D image view paint.
since the poll() function doesnt have access to the context, for now just check if no paint modes are active, default to texture paint.

------------------------------------------------------------------------
r32858 | jhk | 2010-11-03 18:51:25 +0200 (Wed, 03 Nov 2010) | 2 lines

Fix for [#21958] Dupli group doesn't show up if linked on a layer that is different from the group layer
* Object layer flag was set too soon for group duplication.
------------------------------------------------------------------------
r32857 | jhk | 2010-11-03 17:30:24 +0200 (Wed, 03 Nov 2010) | 1 line

A few texture node properties still had old rna names in draw code.
------------------------------------------------------------------------
r32856 | nazgul | 2010-11-03 15:10:09 +0200 (Wed, 03 Nov 2010) | 3 lines

[#23095] If no camera is present, a render starts but does nothing, and we have no "No camera" warning

Improve camera checking and move it before starting render jobs
------------------------------------------------------------------------
r32854 | campbellbarton | 2010-11-03 13:14:02 +0200 (Wed, 03 Nov 2010) | 7 lines

bugfix [#24508] Render and changing scenes crashes.
The scenes 'Render' is kept by blender while blender runs but the callbacks were not cleared when the render was done.
In this case the callback would reference a freed render job.

This isn't normally a problem because on re-rendering new callbacks are set, however the sequencer can render a previously rendered scene without setting up callbacks.
Simple fix is to to dummy callbacks applied onto the scenes 'Render' struct once its finished.

------------------------------------------------------------------------
r32852 | campbellbarton | 2010-11-03 10:46:14 +0200 (Wed, 03 Nov 2010) | 3 lines

bugfix [#24445] NLA reverse option flickers
UnMapping the reversed NLA strips timing was incorrect.

------------------------------------------------------------------------
r32851 | campbellbarton | 2010-11-03 08:31:53 +0200 (Wed, 03 Nov 2010) | 2 lines

use c90 compatible static initializers.

------------------------------------------------------------------------
r32850 | campbellbarton | 2010-11-03 06:38:07 +0200 (Wed, 03 Nov 2010) | 3 lines

bugfix [#24505] Python command bpy.ops.transform.rotate(...) does not follow axis=(...) attribute
the axis was being constantly re-initialized from the view.

------------------------------------------------------------------------
r32849 | campbellbarton | 2010-11-03 05:45:09 +0200 (Wed, 03 Nov 2010) | 2 lines

bugfix [#24483] Link/Append File Browser Typo

------------------------------------------------------------------------
r32848 | campbellbarton | 2010-11-03 04:50:05 +0200 (Wed, 03 Nov 2010) | 2 lines

paint/face mask lasso select was checking for uv coords, which isnt needed, also make a mistake on this check last commit.

------------------------------------------------------------------------
r32847 | campbellbarton | 2010-11-03 04:28:11 +0200 (Wed, 03 Nov 2010) | 2 lines

added metaball lasso select.

------------------------------------------------------------------------
r32846 | campbellbarton | 2010-11-03 03:59:15 +0200 (Wed, 03 Nov 2010) | 2 lines

error in last commit.

------------------------------------------------------------------------
r32845 | campbellbarton | 2010-11-03 03:56:02 +0200 (Wed, 03 Nov 2010) | 15 lines

fix [#24499] Consistency Issue with LassoSelect/ExtendOption
Added extend option to lasso.

also...
- selecting bones wasn't checking their layer of if they were hidden in a number of places.
- fixed memory leak.

small unrealed changes
- added PBONE_VISIBLE macro
- renamed functions used for paint selectoin from *_tface to paintface_*. sine they no longer have anything todo with tface's.
- removed scanfill include from BLI_blenlib.h, this is only used in very few places and quite specific.


Noticed lasso select is broken for metaballs and face mask mode but this has been the case for a while, will look into it next.

------------------------------------------------------------------------
r32844 | campbellbarton | 2010-11-03 00:04:41 +0200 (Wed, 03 Nov 2010) | 2 lines

bugfix [#24392] 2d Image paint editor: no clone/smear/soften tools etc

------------------------------------------------------------------------
r32843 | campbellbarton | 2010-11-02 23:43:47 +0200 (Tue, 02 Nov 2010) | 3 lines

- remove BLANK* from rna icon enum, would string search this list for every python icon button call, enum from 818 down to 444.
- remove unused space image members

------------------------------------------------------------------------
r32842 | jhk | 2010-11-02 23:16:41 +0200 (Tue, 02 Nov 2010) | 3 lines

Oops, particle collisions didn't take simulation subframes into account at all.
* This caused nearly all particles to leak through the collision surface if simulation subframes were used and the collision object was moving.
* In addition to fixing this I also did some more cleanup of the collision code and refined some of the comments.
------------------------------------------------------------------------
r32841 | jhk | 2010-11-02 17:21:43 +0200 (Tue, 02 Nov 2010) | 1 line

Fix for [#24501] Apeend object with cloth sim from another file crash.
------------------------------------------------------------------------
r32840 | campbellbarton | 2010-11-02 15:12:30 +0200 (Tue, 02 Nov 2010) | 2 lines

fix for compiling with the c90 standard, support for non-static variable initializers is a c99 feature.

------------------------------------------------------------------------
r32839 | blendix | 2010-11-02 14:18:49 +0200 (Tue, 02 Nov 2010) | 3 lines

Fix #24436: GLSL + Node material gives wrong color.


------------------------------------------------------------------------
r32838 | blendix | 2010-11-02 13:41:25 +0200 (Tue, 02 Nov 2010) | 3 lines

Fix #24435: GLSL 3D view lacks refresh on node setups, patch by Lukas Toenne.


------------------------------------------------------------------------
r32837 | campbellbarton | 2010-11-02 13:14:04 +0200 (Tue, 02 Nov 2010) | 4 lines

bugfix [#24398] Select Nth
- use first selected if non active (clears confusion since this isn't at all clear)
- dont take unselected into account when calculating connectivity, would mess up in many cases.

------------------------------------------------------------------------
r32836 | dingto | 2010-11-02 13:10:21 +0200 (Tue, 02 Nov 2010) | 2 lines

UI:
* Sampled Motion Blur Panel missed check for compatible engines, causing the panel to appear in Game Engine and Netrender as well.
------------------------------------------------------------------------
r32835 | nazgul | 2010-11-02 12:55:49 +0200 (Tue, 02 Nov 2010) | 4 lines

Fix #24485: Applying scale to multires object end up in a blender crash

Fixed multires_apply_smat to work properly with different current and
total subdivision levels.
------------------------------------------------------------------------
r32834 | campbellbarton | 2010-11-02 11:34:32 +0200 (Tue, 02 Nov 2010) | 2 lines

bugfix [#24455] Scene is left at last rendered frame from rendering an animation

------------------------------------------------------------------------
r32833 | dingto | 2010-11-02 11:04:57 +0200 (Tue, 02 Nov 2010) | 3 lines

Patch [#24497] Fix for [#24484] Right Ctrl for snapping by Alexander Kuznetsov. Thank you!

This fixes [#24484] Right Hand Ctrl key none functional for snapping?
------------------------------------------------------------------------
r32832 | campbellbarton | 2010-11-02 06:12:00 +0200 (Tue, 02 Nov 2010) | 3 lines

patch [#24496] Fix for exporting animations to OBJ format.
from Keith Astoria (kastoria)

------------------------------------------------------------------------
r32828 | campbellbarton | 2010-11-02 03:12:00 +0200 (Tue, 02 Nov 2010) | 2 lines

bugfix for exporting an FBX animation for an object that was the child of an armature deformed mesh.

------------------------------------------------------------------------
r32827 | campbellbarton | 2010-11-02 02:39:07 +0200 (Tue, 02 Nov 2010) | 2 lines

use __slots__ for fbx exporter classes, no functional change.

------------------------------------------------------------------------
r32825 | gsrb3d | 2010-11-02 01:26:04 +0200 (Tue, 02 Nov 2010) | 3 lines

Recommit sharp font optional code as all Freetype should be above 2.1.10 now.
If still fails, check & update Freetype (OS one or Blender's lib/).

------------------------------------------------------------------------
r32824 | gsrb3d | 2010-11-02 01:17:58 +0200 (Tue, 02 Nov 2010) | 2 lines

Add PREFIX support to makefiles.

------------------------------------------------------------------------
r32821 | blendix | 2010-11-02 00:28:58 +0200 (Tue, 02 Nov 2010) | 5 lines

Fix #24464: missing icons. It looks like there were some icons still named
from the 2.4 them but they were never in the 2.5 theme, so marked as BLANK
now.


------------------------------------------------------------------------
r32820 | campbellbarton | 2010-11-02 00:26:56 +0200 (Tue, 02 Nov 2010) | 2 lines

throw an error is PREFIX isnt defined on X11 systems. defaults to /usr/local

------------------------------------------------------------------------
r32819 | blendix | 2010-11-01 23:53:35 +0200 (Mon, 01 Nov 2010) | 4 lines

Fix #24489: decimate modifier: undecimated is "ratio 1.00%".
Patch by Emil Brink, thanks!


------------------------------------------------------------------------
r32818 | blendix | 2010-11-01 23:45:38 +0200 (Mon, 01 Nov 2010) | 4 lines

Fix for some enum property identifiers, that were not using upper case
with underscore, or were simply not set correctly after code copy/paste.


------------------------------------------------------------------------
r32817 | campbellbarton | 2010-11-01 23:07:25 +0200 (Mon, 01 Nov 2010) | 6 lines

[#24491] not possible to create a new Rendering preset than "add render preset.py"
- Setting operator properties was broken because of bpy_types.py meta-classing (surprising this wasn't noticed before!)
- Presets now use a dialog with an OK button.
- Presets use a check function on the filename so invalid chars are replaced editing.
- Submit docs operator was broken.

------------------------------------------------------------------------
r32816 | schlaile | 2010-11-01 20:55:12 +0200 (Mon, 01 Nov 2010) | 16 lines

Sequencer: fix for the fix of: #23318
also known as: broken multicam strip caused by other fix.

Calculated render_size where it belongs (within the glow effect) and
restored old functionality.

also: renamed render_size to preview_render_size at all relevant places,
where the naming wasn't used correctly.

Hopefully it's now a little bit more clear.

render_size := render size from scene (just rescales width/height)
preview_render_size := preview render size from sequencer preview,
  controls the resolution and the use of sequencer proxy sources


------------------------------------------------------------------------
r32815 | schlaile | 2010-11-01 20:13:10 +0200 (Mon, 01 Nov 2010) | 29 lines

== FFMPEG ==

This fixes a rather subtle seeking issue with ffmpeg and Sony
XDCAM-footage.

Problem is: MPEG2 streams within an MP4 container can contain a start
time - at several places. There is a starttime within the video
and audio streams and one within the container.

FFMpeg commandline tool only uses the container starttime and we used
the stream starttime.

The world would be a better place, if those two timestamps always match
up, since in XDCAM-footage those two starttimes differ in 4
frames - and the container has the right one.

We now always use the container start time as ffmpeg commandline tool
does (in the hope, that there is a good explaination for this and this
is the right thing(tm) to do).

I tested this also with HDV footage, which seems to work with the new
code, too.

Additional fix: disabled seek_by_bytes again, since it will only work
correctly, if ffmpeg guessed the HDV bitrate right (which it doesn't).
If you have seeking issues with HDV and have an older version of ffmpeg
installed, please upgrade, newer versions have some fixes in them.


------------------------------------------------------------------------
r32814 | gsrb3d | 2010-11-01 19:00:21 +0200 (Mon, 01 Nov 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32813 | jhk | 2010-11-01 15:51:11 +0200 (Mon, 01 Nov 2010) | 4 lines

"Fix" for [#22537] motion blur render result incorrect when full sample anti-aliasing is selected
* FSA and motion blur can't work nicely together the way they're currently implemented, so I disabled this in the ui and code.
* FSA is used if both are selected.
* Also changed the name "Full Sample Motion Blur" to "Sampled Motion Blur" to avoid confusion with full sample anti-aliasing.
------------------------------------------------------------------------
r32812 | mindrones | 2010-11-01 15:27:33 +0200 (Mon, 01 Nov 2010) | 6 lines

== blender file format ==

- added a readme so that it's easy to understand how to use the py files.
- fixed typos in the usage message.


------------------------------------------------------------------------
r32811 | campbellbarton | 2010-11-01 13:50:15 +0200 (Mon, 01 Nov 2010) | 2 lines

improvement to axis/angle gimble conversion added last commit. fixed flipping problems and enabled for pose bones.

------------------------------------------------------------------------
r32810 | dingto | 2010-11-01 12:48:48 +0200 (Mon, 01 Nov 2010) | 5 lines

Temporary revert recent changes in blf_glyph.c until its fixed.

>> Compile failure on windows platform (see ML for Errors).

SVN Revert of Revisions: 32805, 32804 and 32802
------------------------------------------------------------------------
r32809 | campbellbarton | 2010-11-01 12:29:05 +0200 (Mon, 01 Nov 2010) | 2 lines

bugfix [#24480] Axis Angle + manipulators: bad behaviour

------------------------------------------------------------------------
r32808 | dingto | 2010-11-01 12:22:46 +0200 (Mon, 01 Nov 2010) | 3 lines

Patch: [#24479] fix for bug 24474, by Anthony Edlin. Thanks!

This fixes [#24474] Pressing <Shift Alt A> or clicking "Play Animation ... reverse = True" does not play animation backwards
------------------------------------------------------------------------
r32807 | campbellbarton | 2010-11-01 09:19:41 +0200 (Mon, 01 Nov 2010) | 5 lines

bugfix [#24477] Can easily create bones with duplicate names
- fixed this error 7 different functions (deform groups, uv layers & similar).
- support for numbers over 999.
- renamed splitIDname() to BLI_split_name_num(), moved to BLI_path_utils

------------------------------------------------------------------------
r32806 | campbellbarton | 2010-11-01 04:22:20 +0200 (Mon, 01 Nov 2010) | 2 lines

bugfix [#24449] User Preferences - Interface - Manipulator

------------------------------------------------------------------------
r32805 | gsrb3d | 2010-11-01 03:53:24 +0200 (Mon, 01 Nov 2010) | 3 lines

Fix previous commit.
And time to sleep, all that should had been 1 commit, not 3.

------------------------------------------------------------------------
r32804 | gsrb3d | 2010-11-01 03:48:43 +0200 (Mon, 01 Nov 2010) | 2 lines

Fix silly column paste.

------------------------------------------------------------------------
r32803 | campbellbarton | 2010-11-01 03:46:26 +0200 (Mon, 01 Nov 2010) | 2 lines

bugfix [#24462] UV Layouts saved as PNG results in two files (one is 0 KB, other has corrupted filename)

------------------------------------------------------------------------
r32802 | gsrb3d | 2010-11-01 03:45:40 +0200 (Mon, 01 Nov 2010) | 3 lines

Provide a way to get non-AA font rendering, which some see as "sharper".
"Configuration" by recompilation for now (feel free to code that).

------------------------------------------------------------------------
r32801 | moguri | 2010-11-01 02:15:12 +0200 (Mon, 01 Nov 2010) | 3 lines

A couple of changes to 2D filters to make adding new built-in ones nicer:
  * Built-in filters were not being analyzed, which means no depth or luminance textures for them
  * Removed an unnecessary if that becomes really hairy when new built-in filters are added (ie, when filters are defined beyond the value used for custom filters)
------------------------------------------------------------------------
r32800 | gsrb3d | 2010-11-01 02:09:33 +0200 (Mon, 01 Nov 2010) | 2 lines

Fix name, update others to match style.

------------------------------------------------------------------------
r32799 | campbellbarton | 2010-11-01 00:19:52 +0200 (Mon, 01 Nov 2010) | 2 lines

bugfix [#24470] Ctrl+Tweak cutting connections fail

------------------------------------------------------------------------
r32798 | campbellbarton | 2010-10-31 17:39:37 +0200 (Sun, 31 Oct 2010) | 2 lines

initialize structs to zero rather then using memset().

------------------------------------------------------------------------
r32797 | nexyon | 2010-10-31 16:44:45 +0200 (Sun, 31 Oct 2010) | 2 lines

Audaspace: Disabling High- and Lowpass for Bake Sound to F-Curve Operator in case they're unused.

------------------------------------------------------------------------
r32796 | campbellbarton | 2010-10-31 16:43:30 +0200 (Sun, 31 Oct 2010) | 7 lines

bugfix [#24466] Selecting of object with pattern leads to strange behavior
The undo problem was caused by python operators returning 'RUNNING_MODAL' rather then the return value from wm.invoke_props_popup(self, event) - 'FINISHED'.

This was done because returning FINISHED would free the operator causing the buttons redo handler to try and run a freed operator and crash.

So the real fix is to disallow any operators to use wm.invoke_props_popup(self, event) if they dont have the REGISTER option enabled, fixing the crash and redo problem.

------------------------------------------------------------------------
r32795 | nexyon | 2010-10-31 16:21:06 +0200 (Sun, 31 Oct 2010) | 2 lines

Fix for #24453: Missing delete statement.

------------------------------------------------------------------------
r32794 | campbellbarton | 2010-10-31 15:17:39 +0200 (Sun, 31 Oct 2010) | 5 lines

own recent commit broke this python import:
 from mathutils.geometry import PolyFill

I couldn't find a way for python's inittab to do this so just inserting mathutils.geometry into sys.modules manually.

------------------------------------------------------------------------
r32793 | blendix | 2010-10-31 14:43:42 +0200 (Sun, 31 Oct 2010) | 3 lines

Fix #23283: crash exiting blender player, IMB_exit got called twice.


------------------------------------------------------------------------
r32792 | blendix | 2010-10-31 14:31:15 +0200 (Sun, 31 Oct 2010) | 3 lines

Fix cmake building of blender player.


------------------------------------------------------------------------
r32791 | dfelinto | 2010-10-31 14:12:57 +0200 (Sun, 31 Oct 2010) | 4 lines

bugfix: "glsl lamp not (directly) updated when there is no material in the object" reported by Olivier Amrein
lamps require a depsgraph update.
There is no more need to ED_render_id_flush_update because this is called by the DAG_id_flush_update.
help (and the right fix) from Brecht.
------------------------------------------------------------------------
r32790 | blendix | 2010-10-31 13:51:10 +0200 (Sun, 31 Oct 2010) | 3 lines

Fix crashing running read full sample layers operator.


------------------------------------------------------------------------
r32789 | jesterking | 2010-10-31 10:42:42 +0200 (Sun, 31 Oct 2010) | 1 line

stdint include needed on non-msvc platforms
------------------------------------------------------------------------
r32788 | campbellbarton | 2010-10-31 06:11:39 +0200 (Sun, 31 Oct 2010) | 2 lines

rename and negate DISABLE_PYTHON --> WITH_PYTHON

------------------------------------------------------------------------
r32787 | campbellbarton | 2010-10-31 05:20:33 +0200 (Sun, 31 Oct 2010) | 2 lines

rename definition for enabling the game engine GAMEBLENDER==1 --> WITH_GAMEENGINE

------------------------------------------------------------------------
r32786 | jesterking | 2010-10-31 03:18:26 +0200 (Sun, 31 Oct 2010) | 4 lines

Lock to Cursor
Patch by Dan Eicher. In 3dview properties you can enable this. Rotating view then uses cursor as pivot point. Note that with this option enabled just relocating the 3d cursor also changes the 3dview.

Sebastian König: "Now the 3d cursor is actually useful" (sitting next to me while applying patch at bconf hostel)
------------------------------------------------------------------------
r32785 | campbellbarton | 2010-10-31 03:04:31 +0200 (Sun, 31 Oct 2010) | 2 lines

building the BGE without bullet works again.

------------------------------------------------------------------------
r32784 | campbellbarton | 2010-10-31 02:56:46 +0200 (Sun, 31 Oct 2010) | 2 lines

dont build blender/kernel if the game engines disabled.

------------------------------------------------------------------------
r32783 | gsrb3d | 2010-10-31 02:05:56 +0200 (Sun, 31 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32782 | campbellbarton | 2010-10-31 01:02:38 +0200 (Sun, 31 Oct 2010) | 5 lines

Minor speedups for 3D view text drawing ~10-15% improved frame-rate with particle display.
- ascii text drawing functions, slightly faster since they dont have to do hash lookups & utf8 conversions for each char.
- used ascii drawing functions for the view3d's number display.
- each text item was using fixed 128 chars, now only allocate the string length needed.

------------------------------------------------------------------------
r32780 | jhk | 2010-10-30 23:55:17 +0200 (Sat, 30 Oct 2010) | 3 lines

Sequence editor code cleanup
* The logic in some parts of the sequencer code was rather cryptic, so I cleaned it up a bit.
* There should be no functional changes what so ever from these changes.
------------------------------------------------------------------------
r32779 | campbellbarton | 2010-10-30 21:52:40 +0200 (Sat, 30 Oct 2010) | 2 lines

fix for own mistake with mat4_to_loc_rot_size(), flipping the scale on negative matrix isn't correct.

------------------------------------------------------------------------
r32778 | campbellbarton | 2010-10-30 21:29:11 +0200 (Sat, 30 Oct 2010) | 6 lines

change mat4_to_eulO, mat3_to_eulO to calculate 2 rotations and return the smallest one.
mat4_to_eul & mat3_to_eul are already working this way.

Without this we get problems with constraints, eg:
 rotation on the Y axis over 90d can be represented by setting the X and Z to -PI, Y would decrease to 0 (infact 180d).

------------------------------------------------------------------------
r32777 | campbellbarton | 2010-10-30 20:42:11 +0200 (Sat, 30 Oct 2010) | 3 lines

the pivot constraint was translating when the pivot was offset along the rotation axis.
fixed by projecting the pivot along the axis of rotation and subtracting this from the pivot.

------------------------------------------------------------------------
r32776 | jhk | 2010-10-30 19:42:08 +0200 (Sat, 30 Oct 2010) | 2 lines

Fix for [#24458] Problem with Axis Angle rotation
* Added checks to handle zero axis vector.
------------------------------------------------------------------------
r32775 | campbellbarton | 2010-10-30 19:34:24 +0200 (Sat, 30 Oct 2010) | 2 lines

fix for last commit

------------------------------------------------------------------------
r32774 | campbellbarton | 2010-10-30 19:16:37 +0200 (Sat, 30 Oct 2010) | 2 lines

warning/portability fixes.

------------------------------------------------------------------------
r32773 | jhk | 2010-10-30 19:13:03 +0200 (Sat, 30 Oct 2010) | 3 lines

Fix for [#24448] User Preferences - Interface - Mini Axis - Brightness, none working?
* The axis draw function was changed by Campbell recently, but the brightness value was forgotten?
* Solved currently by mapping the brightness value to axis alpha.
------------------------------------------------------------------------
r32772 | jhk | 2010-10-30 17:20:48 +0200 (Sat, 30 Oct 2010) | 1 line

Fix for [#23318] SEQUENCER EFFECT: Glow blur amount should be relative
------------------------------------------------------------------------
r32771 | mindrones | 2010-10-30 15:25:24 +0200 (Sat, 30 Oct 2010) | 18 lines

== blender file format ==

Hello, from the bconf 2010 from Jeroen and Luca. Our first combined commit :)

Automatically create sdna documentations from Trunk.

Usage:
        blender2.5 -b -P BlendFileDnaExporter_25.py [-- [options]]
Options:
        --dna-keep-blend:      doesn't delete the produced blend file DNA export to html
        --dna-debug:           sets the logging level to DEBUG (lots of additional info)
        --dna-versioned'       saves version informations in the html and blend filenames
        --dna-overwrite-css'   overwrite dna.css, useful when modifying css in the script
Examples:
        default:       % blender2.5 -b -P BlendFileDnaExporter_25.py
        with options:  % blender2.5 -b -P BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug


------------------------------------------------------------------------
r32770 | jhk | 2010-10-30 15:09:31 +0200 (Sat, 30 Oct 2010) | 3 lines

Info text for scene strips showing the frame range that's set in the scene
* Related to bug report [#24329] scene length not updated in VSE
* This data is nice to have in the sequencer without having to go the actual scene that's added as a strip.
------------------------------------------------------------------------
r32768 | jhk | 2010-10-30 14:04:00 +0200 (Sat, 30 Oct 2010) | 3 lines

Fix for [#24374] VSE: Reassign Inputs ignores selection order.
* No way currently to know the order of effect inputs, so I added a swap operator for the inputs.
* Also added the effect inputs to the strip property panel (weren't even in rna before). These are not yet editable, but can be very helpful in determining what the inputs are if the strip is too short to see the name in the timeline.
------------------------------------------------------------------------
r32767 | jhk | 2010-10-30 12:19:30 +0200 (Sat, 30 Oct 2010) | 2 lines

Fix for [#24409] Particle corruption after rendering with multires
* Also removed some unused flags from the particle modifier.
------------------------------------------------------------------------
r32766 | jhk | 2010-10-30 10:51:50 +0200 (Sat, 30 Oct 2010) | 1 line

Fix for items 3 and 8 of [#24443] Trying to bake a smoke simulation crashes blender, and other smoke bugs.
------------------------------------------------------------------------
r32765 | zanqdo | 2010-10-30 04:59:42 +0200 (Sat, 30 Oct 2010) | 2 lines

Build fix by Mike S

------------------------------------------------------------------------
r32764 | campbellbarton | 2010-10-30 00:59:39 +0200 (Sat, 30 Oct 2010) | 2 lines

use PyImport_ExtendInittab for py module initialization rather then adding to sys.modules directly, no functional change.

------------------------------------------------------------------------
r32763 | campbellbarton | 2010-10-29 21:40:45 +0200 (Fri, 29 Oct 2010) | 3 lines

bugfix [#23155] Metastrip contents area allowed to move vertically, occasionally swapping order or overlapping
overlapping tests cant be done recursively

------------------------------------------------------------------------
r32762 | jhk | 2010-10-29 14:49:36 +0200 (Fri, 29 Oct 2010) | 1 line

Fix for[#24422] Crash when switching to Point Select Mode - particle hair
------------------------------------------------------------------------
r32761 | jhk | 2010-10-29 12:31:45 +0200 (Fri, 29 Oct 2010) | 2 lines

Fix for [#24430] Hair Dynamics Problem
* Hair added in particle mode didn't have any weights assigned.
------------------------------------------------------------------------
r32760 | campbellbarton | 2010-10-29 09:11:45 +0200 (Fri, 29 Oct 2010) | 5 lines

bugfix for grease pencil freeing order.
it was freed before objects which would then decrease its usercount - accessing freed memory.

Also fixed error in own last commit.

------------------------------------------------------------------------
r32759 | dougal2 | 2010-10-28 23:20:57 +0200 (Thu, 28 Oct 2010) | 1 line

extensions_framework: minor string change
------------------------------------------------------------------------
r32758 | campbellbarton | 2010-10-28 21:40:05 +0200 (Thu, 28 Oct 2010) | 3 lines

bugfix [#24439] Smear 2D paint fails
small unrelated change: when setting the image type of an image, loop over all its Imbufs and set them.

------------------------------------------------------------------------
r32757 | campbellbarton | 2010-10-28 19:46:31 +0200 (Thu, 28 Oct 2010) | 4 lines

bugfix [#24428] Interface Regions will not keep relative proportions
screen verts were being rounded so resizing a window would end up moving the border in one direction.
for this to work properly we should store floats internally but for now compensate for this.

------------------------------------------------------------------------
r32753 | campbellbarton | 2010-10-28 14:29:59 +0200 (Thu, 28 Oct 2010) | 5 lines

bugfix/patch [#24431] Fast Gaussian produces wrong results for higher resolutions
report & fix from Martin Lubich (loramel)

Use double rather then floats, this doesn't use significantly more memory (as allocating a double buffer would), other vars in this function were doubles already so may even gain some speed.

------------------------------------------------------------------------
r32752 | campbellbarton | 2010-10-28 14:01:02 +0200 (Thu, 28 Oct 2010) | 2 lines

bugfix [#24432] HS+V color picker

------------------------------------------------------------------------
r32751 | campbellbarton | 2010-10-28 13:49:56 +0200 (Thu, 28 Oct 2010) | 2 lines

for the color picker functions use UI_GRAD_* constants rather then numbers, no functional change.

------------------------------------------------------------------------
r32750 | campbellbarton | 2010-10-28 12:12:57 +0200 (Thu, 28 Oct 2010) | 6 lines

partial bugfix [#24425] Blender 2.54 Beta crashes when starting rendering
Fix for one of the causes of crashing.
Applying armature deform wasn't thread safe since the pose bones had deform data written into them when deforming a mesh.

This fixes crashing immediately, on every render for me but blender still crashes calculating the subsurf sometimes.

------------------------------------------------------------------------
r32747 | campbellbarton | 2010-10-28 00:15:55 +0200 (Thu, 28 Oct 2010) | 3 lines

patch [#24424] Python scripts update for API changes
from Filiciss Muhgue (filiciss)

------------------------------------------------------------------------
r32746 | campbellbarton | 2010-10-28 00:13:05 +0200 (Thu, 28 Oct 2010) | 3 lines

bugfix [#24287] Saving the render result through the API does not use the scene settings
use scene alpha and dither settings.

------------------------------------------------------------------------
r32745 | theeth | 2010-10-27 20:24:58 +0200 (Wed, 27 Oct 2010) | 13 lines

netrender

New Feature:
VCS job type
	Render a file (with dependencies) from a version control system (currently only supports subversion, but system is already generic).
	On client, working path, server path and current revision can be guessed from data on disk or entered manually.
	On slave, a working copy is created (if needed) where specified by the job and updated to the proper revision.
	On master web page, job types now appear in the job lists. The job page shows the list of dependencies for "normal" jobs or versioning information for VCS jobs.

	Limitations: Need to have command line tools "svn" and "svnversion". Working copy path must be the same on client and slaves (the client gets the job path relative to the working copy). When guessing, working copy path is set to the folder where the current file is (this can be changed manually after). On the slave, it will update the working copy AS SPECIFIED to the revision, so if that path is too deep, some dependencies will not be updated properly. Doesn't support mixed revisions (and will not give any warnings for that), it will always use the first revision specified by "svnversion"

Bugfix:
Thumbnail generation doesn't chew down memory anymore and always gives correct result (thumbnail on master especially could mess up between jobs with the name result filename)
------------------------------------------------------------------------
r32744 | campbellbarton | 2010-10-27 18:47:25 +0200 (Wed, 27 Oct 2010) | 3 lines

bugfix [#24419] Console Autocomplete Error [Patch to fix attached]
patch provided by Justin Dailey (dail) in report.

------------------------------------------------------------------------
r32743 | campbellbarton | 2010-10-27 18:36:25 +0200 (Wed, 27 Oct 2010) | 2 lines

bugfix [#24418] NLA Crashes blender on Undo

------------------------------------------------------------------------
r32742 | campbellbarton | 2010-10-27 18:05:31 +0200 (Wed, 27 Oct 2010) | 3 lines

bugfix [#24341] Problems running blender headless
bg mode didnt have the screen context callback set. Though this sounds logical, bg mode defines a screen it should be set.

------------------------------------------------------------------------
r32741 | jhk | 2010-10-27 16:56:53 +0200 (Wed, 27 Oct 2010) | 1 line

Fix for [#24401] Fluid particles leak through walls of moving object
------------------------------------------------------------------------
r32739 | campbellbarton | 2010-10-27 15:52:12 +0200 (Wed, 27 Oct 2010) | 2 lines

remove include paths which dont exist, fix for doc upload script which was getting the blender version twice and not working sometimes.

------------------------------------------------------------------------
r32736 | jesterking | 2010-10-27 13:33:04 +0200 (Wed, 27 Oct 2010) | 1 line

Commit new splash and bump version. Ready for tagging!
------------------------------------------------------------------------
r32735 | campbellbarton | 2010-10-27 13:05:46 +0200 (Wed, 27 Oct 2010) | 2 lines

fix for shift offset in own recent commit for drawing the camera border in camera view.

------------------------------------------------------------------------
r32734 | jesterking | 2010-10-27 12:45:36 +0200 (Wed, 27 Oct 2010) | 1 line

Revert /WX here until fix in Blender.py is done.
------------------------------------------------------------------------
r32733 | campbellbarton | 2010-10-27 12:36:22 +0200 (Wed, 27 Oct 2010) | 4 lines

[#24414] Render hanging on small render border.
large render sizes could cause an the threaded tile processor to hang because winx * winy wrapped into a negative value.
also convert winx/winy to floats before multiplying for vector passs.

------------------------------------------------------------------------
r32732 | campbellbarton | 2010-10-27 10:55:13 +0200 (Wed, 27 Oct 2010) | 2 lines

recent fix r32626 for [#24339] wasnt correctly clamping the depth rectangle, crashing with grease pencil in some cases.

------------------------------------------------------------------------
r32729 | campbellbarton | 2010-10-27 08:41:48 +0200 (Wed, 27 Oct 2010) | 2 lines

Convenience defines SEP and ALTSEP (python has these), move BLI_*_slash function into path_util.h since these are not fileops.

------------------------------------------------------------------------
r32728 | campbellbarton | 2010-10-27 08:05:22 +0200 (Wed, 27 Oct 2010) | 3 lines

workaround for python bug [#24400] If Script is executed with TEXT Editor, it becomes an error.
having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.

------------------------------------------------------------------------
r32726 | broken | 2010-10-27 04:18:24 +0200 (Wed, 27 Oct 2010) | 3 lines

Fix [#23972] 2.54 beta crashes when rendering scene with many volume objects

Sticky-taped on more hacks to the already crumbling shading system.
------------------------------------------------------------------------
r32725 | jesterking | 2010-10-27 01:52:34 +0200 (Wed, 27 Oct 2010) | 2 lines

Fix [#24053] 64-bit Windows installer installs keys to 32-bit registry
Reported and patch-suggestion by George Pollard
------------------------------------------------------------------------
r32724 | jesterking | 2010-10-27 01:32:59 +0200 (Wed, 27 Oct 2010) | 1 line

Change /WX away for now, some odd thing going on between cloned environments. Need to check after release.
------------------------------------------------------------------------
r32723 | campbellbarton | 2010-10-27 01:28:10 +0200 (Wed, 27 Oct 2010) | 3 lines

bugfix #24334] Filename looses all parts after a dot when saving
replacing the extension could remove the frame number added to a path when writing images, so just add the extension rather then replacing even though it gives odd names at times. eg: foo.png0001.tga

------------------------------------------------------------------------
r32722 | broken | 2010-10-27 00:49:49 +0200 (Wed, 27 Oct 2010) | 3 lines

Don't reset view clipping to 0.1 on entering local view, if you're working on
something close up with < 0.1 clipping, then toggle into local view it gets very
annoying.
------------------------------------------------------------------------
r32721 | jesterking | 2010-10-27 00:48:26 +0200 (Wed, 27 Oct 2010) | 7 lines

Some improvements to the uninstaller part:
* don't just recursively delete $BLENDERHOME
* seperately ask confirmation for recursive deleting contents of:
  - $BLENDERHOME\$SHORTVERSION\plugins
  - $BLENDERHOME\$SHORTVERSION\scripts
  - $BLENDERHOME\$SHORTVERSION\config
* Have clear warnings about files going to be deleted
------------------------------------------------------------------------
r32720 | jesterking | 2010-10-27 00:13:37 +0200 (Wed, 27 Oct 2010) | 1 line

Make sure plugins/ goes under shortversion/ dir
------------------------------------------------------------------------
r32719 | jesterking | 2010-10-26 23:16:11 +0200 (Tue, 26 Oct 2010) | 1 line

Revert 32710 for now, otherwise can't test release building with scons.
------------------------------------------------------------------------
r32718 | campbellbarton | 2010-10-26 22:51:11 +0200 (Tue, 26 Oct 2010) | 2 lines

keep the view centered with camera shift, camera view grease pencil intentionally ignores shift.

------------------------------------------------------------------------
r32717 | campbellbarton | 2010-10-26 22:41:16 +0200 (Tue, 26 Oct 2010) | 2 lines

dont use const for matrix arg, since it needs to be cast in most cases.

------------------------------------------------------------------------
r32715 | campbellbarton | 2010-10-26 18:55:38 +0200 (Tue, 26 Oct 2010) | 3 lines

partial bugfix [#24002] Constraint "Limit rotation" doesn't work properly
this fixes the obvious problems but there are still some rotation jumping when clamping in some cases.

------------------------------------------------------------------------
r32713 | campbellbarton | 2010-10-26 14:48:07 +0200 (Tue, 26 Oct 2010) | 4 lines

move matrix decomposition out of object.c into BLI_math_matrix function: mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers.
also added access to this in python's mathutils.Matrix()
 loc, quat, scale = matrix.decompose()

------------------------------------------------------------------------
r32711 | cessen | 2010-10-26 07:07:09 +0200 (Tue, 26 Oct 2010) | 4 lines

Removed old rigify code, as it is starting to interfere with the newer Rigify addon.
The newer addon currently resides here: bzr://bzr.cessen.com/rigify
But will eventually be included in svn.

------------------------------------------------------------------------
r32710 | dfelinto | 2010-10-26 03:55:06 +0200 (Tue, 26 Oct 2010) | 2 lines

blenderplayer building again in CMake+MSVC
(I basically commented out functions already defined in other places)
------------------------------------------------------------------------
r32709 | campbellbarton | 2010-10-26 00:44:01 +0200 (Tue, 26 Oct 2010) | 2 lines

move geometry python module into mathutils.geometry, since it provides utility functions using mathutils types.

------------------------------------------------------------------------
r32708 | campbellbarton | 2010-10-25 23:57:45 +0200 (Mon, 25 Oct 2010) | 5 lines

Added function RNA_property_update_check() to check if an update call is needed,
Simple python benchmark shows this to be about 3x faster in the case where an update isn't needed.

This also speeds up rna function argument parsing, since each arg in a function call did 2 string lookups on the context which were never needed.

------------------------------------------------------------------------
r32707 | campbellbarton | 2010-10-25 20:12:28 +0200 (Mon, 25 Oct 2010) | 2 lines

curve widget bounds were not properly clipped causing drawing artifacts in other views.

------------------------------------------------------------------------
r32706 | jhk | 2010-10-25 19:20:12 +0200 (Mon, 25 Oct 2010) | 1 line

Fix for [#24383] Particles using "circle" as display, are disabled on opening file
------------------------------------------------------------------------
r32705 | campbellbarton | 2010-10-25 19:08:40 +0200 (Mon, 25 Oct 2010) | 4 lines

bugfix [#22277] Absolute Shapekeys crash (in BGE)
running a shape actuator on a softbody would crash because it assumed the deformer was a BL_MeshDeformer.
Added TODO note, since it would be nice if softbody would work with shape keys too.

------------------------------------------------------------------------
r32702 | campbellbarton | 2010-10-25 15:37:49 +0200 (Mon, 25 Oct 2010) | 2 lines

bugfix [#24377] Bad frames drawn

------------------------------------------------------------------------
r32698 | nazgul | 2010-10-25 10:03:05 +0200 (Mon, 25 Oct 2010) | 6 lines

Fix #24255: Multires object gets modified when joining it to another multires object.
Fix #22018: joining objects with different multires levels loses levesl from the higher multires object

- Synchronyze mulires subdivision level when joining objects
- Apply scale on MDISP layer when applying scale
- Re-calculate MDISP when joining scaled objects
------------------------------------------------------------------------
r32697 | jesterking | 2010-10-25 09:36:14 +0200 (Mon, 25 Oct 2010) | 1 line

Compile fix after math API change from r32694
------------------------------------------------------------------------
r32696 | jesterking | 2010-10-25 09:28:57 +0200 (Mon, 25 Oct 2010) | 1 line

Add missing includes to remedy implicit declaration of functions.
------------------------------------------------------------------------
r32695 | gsrb3d | 2010-10-25 09:19:43 +0200 (Mon, 25 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32694 | campbellbarton | 2010-10-25 09:12:29 +0200 (Mon, 25 Oct 2010) | 2 lines

bugfix [#24376] Fly mode disturbs the rotation or scale of the camera object

------------------------------------------------------------------------
r32692 | campbellbarton | 2010-10-25 09:09:38 +0200 (Mon, 25 Oct 2010) | 2 lines

missed adding the file when moving fly mode.

------------------------------------------------------------------------
r32691 | campbellbarton | 2010-10-25 08:59:18 +0200 (Mon, 25 Oct 2010) | 6 lines

first part of bugfix [#24376] Fly mode disturbs the rotation or scale of the camera object
object_apply_mat4 was incorrectly negating the matrix values,

This worked in most cases but even when it worked would end up with negative scales too often.
now when no negative scale is used they will all stay positive and from my tests it works in all cases now.

------------------------------------------------------------------------
r32690 | nicholasbishop | 2010-10-25 04:58:32 +0200 (Mon, 25 Oct 2010) | 5 lines

Closing #24367 (Incorrect behaviour for Optimal Display option) and reopening #22634 (sculpting/multires and wireframe display mode glitches)

* Reverting my earlier changes to subsurf edge drawing; seems to be causing more bugs than the minor bug it fixed.


------------------------------------------------------------------------
r32689 | campbellbarton | 2010-10-25 04:30:16 +0200 (Mon, 25 Oct 2010) | 2 lines

move fly mode operator into its own file.

------------------------------------------------------------------------
r32687 | mindrones | 2010-10-24 18:01:21 +0200 (Sun, 24 Oct 2010) | 5 lines

== addons ==

- new (and temporary) directory addons_extern/ to store external projects addons


------------------------------------------------------------------------
r32684 | jesterking | 2010-10-24 14:54:52 +0200 (Sun, 24 Oct 2010) | 1 line

Remove the unsigned, since totbits is signed too.
------------------------------------------------------------------------
r32683 | jesterking | 2010-10-24 14:45:47 +0200 (Sun, 24 Oct 2010) | 1 line

Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this).
------------------------------------------------------------------------
r32682 | campbellbarton | 2010-10-24 13:14:18 +0200 (Sun, 24 Oct 2010) | 3 lines

reverse merge r32670, turns out this isnt valid C and breaks for MSVC (possibly valid C99?, cant find good info on this)
svn merge . -r32670:32669

------------------------------------------------------------------------
r32681 | campbellbarton | 2010-10-24 10:06:19 +0200 (Sun, 24 Oct 2010) | 2 lines

rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used like this much elsewhere in rna.

------------------------------------------------------------------------
r32679 | damien78 | 2010-10-24 09:55:56 +0200 (Sun, 24 Oct 2010) | 2 lines

Collada : header files order dependency was making osx compile fail

------------------------------------------------------------------------
r32676 | campbellbarton | 2010-10-24 09:02:19 +0200 (Sun, 24 Oct 2010) | 5 lines

bugfix [#24357] Font folder can be specified but is not opened
- open operator was incorrectly checking if the font path was set.
- rna ID editable check was also incorrect, checking the ID name rather then the filename.
- use define FO_BUILTIN_NAME rather then "<builtin>".

------------------------------------------------------------------------
r32675 | campbellbarton | 2010-10-24 08:16:44 +0200 (Sun, 24 Oct 2010) | 4 lines

bugfix [#21097] Rotating multiple bones with non-local location behaves incorrectly.
- rotation and bone scaling with Durian feature 'Local Location' would fail to correctly translate the bone
because a different matrix is needed for translation and rotation.

------------------------------------------------------------------------
r32674 | campbellbarton | 2010-10-24 05:57:07 +0200 (Sun, 24 Oct 2010) | 5 lines

Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror in their CMAKE_C_FLAGS_DEBUG (so all warnings give errors).
but external libs which we don't maintain & generated code will have -Werror removed.

This is GCC only, MSVC can be added easily.

------------------------------------------------------------------------
r32673 | nicholasbishop | 2010-10-24 04:02:37 +0200 (Sun, 24 Oct 2010) | 5 lines

Fixed bug #24364, "subsurf modifier causes wire-only meshes to disappear in object mode."

* Re-added code to draw loose edge


------------------------------------------------------------------------
r32672 | gsrb3d | 2010-10-24 02:09:23 +0200 (Sun, 24 Oct 2010) | 2 lines

Fully disable AUD's FFTW3 usage.

------------------------------------------------------------------------
r32670 | campbellbarton | 2010-10-23 18:32:19 +0200 (Sat, 23 Oct 2010) | 2 lines

pass zero vectors to functions as (float [3]){0,0,0} rather then defining a float first.

------------------------------------------------------------------------
r32669 | campbellbarton | 2010-10-23 18:03:31 +0200 (Sat, 23 Oct 2010) | 2 lines

warning fixes.

------------------------------------------------------------------------
r32668 | campbellbarton | 2010-10-23 17:40:13 +0200 (Sat, 23 Oct 2010) | 2 lines

CMake options to disable Decimate and Boolean Modifiers: WITH_MOD_BOOLEAN, WITH_MOD_DECIMATE, renamed WITH_FLUID to WITH_MOD_FLUID

------------------------------------------------------------------------
r32667 | campbellbarton | 2010-10-23 17:14:54 +0200 (Sat, 23 Oct 2010) | 2 lines

Remove msvc build files which are not needed anymore.

------------------------------------------------------------------------
r32666 | campbellbarton | 2010-10-23 14:09:24 +0200 (Sat, 23 Oct 2010) | 2 lines

fix for implicit declaration

------------------------------------------------------------------------
r32664 | blendix | 2010-10-23 12:41:28 +0200 (Sat, 23 Oct 2010) | 4 lines

Fix #24363: trying to separate mesh with shape keys didn't display warning
when it failed due to there being shape keys.


------------------------------------------------------------------------
r32663 | campbellbarton | 2010-10-23 12:06:40 +0200 (Sat, 23 Oct 2010) | 3 lines

rename rna property Bone.use_hinge to use_inherit_rotate because use_hinge was inverted - Enabled by default but not a hinge.
this also matches 'use_inherit_scale'

------------------------------------------------------------------------
r32662 | campbellbarton | 2010-10-23 06:18:53 +0200 (Sat, 23 Oct 2010) | 3 lines

- CMake now only uses SOURCE_GROUP with MSVC lib configuration, saves recursive header search when not using msvc.
- uv layout export wasn't setting the default filename.

------------------------------------------------------------------------
r32661 | campbellbarton | 2010-10-23 06:05:55 +0200 (Sat, 23 Oct 2010) | 9 lines

use explicit file paths for CMake rather then globing, This is recommended by cmake devs.

globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html

Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.

------------------------------------------------------------------------
r32660 | jesterking | 2010-10-23 00:58:12 +0200 (Sat, 23 Oct 2010) | 6 lines

Fix [#24337] Create vertex (and faces and edges) with "Control+LMB" doesn't works!
Reported by Lluc Romaní Brasó

Some of my earlier changes to the modifier handling code accidently sent out new events for modifier keys when they where held down (repeat).

Also lay foundation for shift+numpad handling.
------------------------------------------------------------------------
r32659 | jhk | 2010-10-23 00:31:40 +0200 (Sat, 23 Oct 2010) | 1 line

Fix for [#24361] Only first frame is working with glow in Render Animation using Video Editing - Effect - Glow
------------------------------------------------------------------------
r32658 | gsrb3d | 2010-10-23 00:18:45 +0200 (Sat, 23 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32657 | dougal2 | 2010-10-22 20:55:10 +0200 (Fri, 22 Oct 2010) | 1 line

Add release/scripts/modules/extensions_framework (formerly known as exporter_framework).
------------------------------------------------------------------------
r32655 | jesterking | 2010-10-22 16:04:54 +0200 (Fri, 22 Oct 2010) | 1 line

Include BLI_storage.h where zlib.h is also included. Some systems need _LARGESOURCE64_FILE defined for zlib to not throw errors.
------------------------------------------------------------------------
r32654 | campbellbarton | 2010-10-22 15:02:41 +0200 (Fri, 22 Oct 2010) | 2 lines

bpy.props: replace common error checks with macros, ugly but better then duplicates.

------------------------------------------------------------------------
r32653 | campbellbarton | 2010-10-22 14:35:31 +0200 (Fri, 22 Oct 2010) | 2 lines

change to Nathan's fix which also works with empty material slots.

------------------------------------------------------------------------
r32652 | jesterking | 2010-10-22 13:51:10 +0200 (Fri, 22 Oct 2010) | 2 lines

Export UV Layout to PNG would fail if original mesh didn't have materials assigned.
Reported in #blender.fi by Mats Holmberg
------------------------------------------------------------------------
r32651 | aligorith | 2010-10-22 13:38:10 +0200 (Fri, 22 Oct 2010) | 5 lines

Bugfix #20708: segmented bones don't work well with spline IK

There was a slight discreptancy between the tail values calculated on the spline before the head was displaced for the "chain offset" option and after this operation. However, only the original version got set.

This small difference resulted in B-Bones thinking that the endpoints of the bones were in places that they were not in, hence causing the curly patterns observed in the report.
------------------------------------------------------------------------
r32649 | jesterking | 2010-10-22 12:18:58 +0200 (Fri, 22 Oct 2010) | 1 line

index for openmp loop needs to be signed int.
------------------------------------------------------------------------
r32648 | jesterking | 2010-10-22 12:17:55 +0200 (Fri, 22 Oct 2010) | 1 line

Add some missing const's
------------------------------------------------------------------------
r32647 | campbellbarton | 2010-10-22 08:25:14 +0200 (Fri, 22 Oct 2010) | 3 lines

[#21331] Pose snap not working in some cases
The bone option 'Local Location' (flag BONE_NO_LOCAL_LOCATION) makes the location apply differently so snap to cursor failed for pose bones.

------------------------------------------------------------------------
r32646 | campbellbarton | 2010-10-22 08:00:12 +0200 (Fri, 22 Oct 2010) | 2 lines

fix for BGE define in recent math changes.

------------------------------------------------------------------------
r32645 | campbellbarton | 2010-10-22 05:56:50 +0200 (Fri, 22 Oct 2010) | 5 lines

Fix for snapping pose bones with axis-angle rotation.
- armature_mat_pose_to_bone() was missing axis-angle check.
- added loc_axisangle_size_to_mat4() for completeness.
- use 'const' prefix where possible in math rotation functions.

------------------------------------------------------------------------
r32644 | campbellbarton | 2010-10-22 05:27:01 +0200 (Fri, 22 Oct 2010) | 3 lines

eulO_to_quat wasn't functional for XZY, YXZ, ZYX rotation orders.
it also modified the input rotation value which isn't expected for these functions.

------------------------------------------------------------------------
r32643 | campbellbarton | 2010-10-22 03:06:21 +0200 (Fri, 22 Oct 2010) | 2 lines

fix for warnings & detecting opensource nouveau drivers.

------------------------------------------------------------------------
r32642 | campbellbarton | 2010-10-22 02:29:56 +0200 (Fri, 22 Oct 2010) | 6 lines

bugfix/workaround for ../../radeon/radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed. [#656100]
reported on launchpad.

calling glClear(GL_COLOR_BUFFER_BIT); was crashing blender,
since this is only used to blank the window before its drawn, disable for opensource ATI drivers.

------------------------------------------------------------------------
r32641 | campbellbarton | 2010-10-22 00:45:54 +0200 (Fri, 22 Oct 2010) | 2 lines

fix warnings

------------------------------------------------------------------------
r32640 | campbellbarton | 2010-10-22 00:30:34 +0200 (Fri, 22 Oct 2010) | 2 lines

limit adjustment from AlexKu, subdiv smooth soft limit of 1.

------------------------------------------------------------------------
r32639 | jesterking | 2010-10-21 20:13:43 +0200 (Thu, 21 Oct 2010) | 1 line

Wrong check for platform accidently put /WX to non-msvc toolchains too.
------------------------------------------------------------------------
r32638 | jhk | 2010-10-21 19:00:38 +0200 (Thu, 21 Oct 2010) | 6 lines

Temporary fix for sequencer bugs #22925, #21429, #21783, #24165
* This fix is really only a bandage, as the underlying issue is that sequencer preview render doesn't yet use the job system.
* The sequencer preview can start a full render of the scene, and this can collide with other preview/actual renders in many cases.
* Drawing the sequencer preview is now disabled when an other render is in progress, but the sequence preview rendering could have already been started before the other render, so this doesn't really fix anything.
* For now only OpenGL rendering can be used for the sequencer preview reliably until it's reimplemented using the job system.
* Using the job system in the future can handle the clashes between different renders properly and will give users a nice progress bar to indicate something is happening while the preview is recalculated.
------------------------------------------------------------------------
r32636 | campbellbarton | 2010-10-21 15:33:51 +0200 (Thu, 21 Oct 2010) | 3 lines

bugfix [#24331] EdgeSlide not as flawless as 2.49's
ensure minimum mouse distance for sliding edge verts else it becomes unusable.

------------------------------------------------------------------------
r32635 | campbellbarton | 2010-10-21 13:20:44 +0200 (Thu, 21 Oct 2010) | 2 lines

bugfix [#24342] Wrong Bubble description when creation add-on without python comment on class

------------------------------------------------------------------------
r32634 | jesterking | 2010-10-21 13:19:15 +0200 (Thu, 21 Oct 2010) | 4 lines

Fix [#24348] Release confirm confusing
Reported by Dennis Dillert

A bit clearer wording.
------------------------------------------------------------------------
r32633 | jesterking | 2010-10-21 13:15:57 +0200 (Thu, 21 Oct 2010) | 1 line

Don't use CS_CLASSDC after all. Makes drawing multiple windows funky.
------------------------------------------------------------------------
r32632 | aligorith | 2010-10-21 12:28:06 +0200 (Thu, 21 Oct 2010) | 10 lines

Changes to "evaluation time" for Curves:

After discussions with Campbell regarding #24336 and #24309, we've decided to make this property for curves to only get set when an F-Curve explicitly animates it.

As a consequence...
- ALL OLD FILES using follow-path constraints that depended on this changed behaviour will currently need manual patching to add an appropriate F-Curve
- Ctrl-P (Parenting to Curves -> Follow Path option) will now automatically create such F-Curves mimicking the old behaviour so that creating camera-following-path setups still works smoothly.
- Directly adding a Follow Path constraint bypasses this, so you'll need to manually add such F-Curves if you need them.

The main problem with the old approach was that there were many cases in which curve data could get added but the ctime would be incorrect until a frame change (i.e. on render) flushed this.
------------------------------------------------------------------------
r32631 | campbellbarton | 2010-10-21 11:19:52 +0200 (Thu, 21 Oct 2010) | 2 lines

tweaks to external libs to get rid of warnings.

------------------------------------------------------------------------
r32630 | campbellbarton | 2010-10-21 11:02:21 +0200 (Thu, 21 Oct 2010) | 2 lines

bugfix [#24347] Fly mode: Immediately after pressing Shift+F, keys W and S work, keys A, D, R and F do not

------------------------------------------------------------------------
r32629 | jesterking | 2010-10-21 10:32:53 +0200 (Thu, 21 Oct 2010) | 3 lines

/WX enabled for MSVC in CMake too.

Warning fixes.
------------------------------------------------------------------------
r32628 | jesterking | 2010-10-21 09:48:51 +0200 (Thu, 21 Oct 2010) | 1 line

Same warning suppression as with SCons
------------------------------------------------------------------------
r32627 | jesterking | 2010-10-21 09:39:18 +0200 (Thu, 21 Oct 2010) | 2 lines

Enable /WX in blenkernel
Silence warnings
------------------------------------------------------------------------
r32626 | campbellbarton | 2010-10-21 09:38:09 +0200 (Thu, 21 Oct 2010) | 5 lines

fix [#24339] Auto Depth, makes viewport lag.

The problem is the opensource nvidia nouveau drivers are slow running glReadPixels(), was hanging on memcpy().
However for autodepth its not needed to update the entire 3D view depths, so added view3d_update_depths_rect() to get the depths for a smaller area.

------------------------------------------------------------------------
r32625 | jesterking | 2010-10-21 09:29:15 +0200 (Thu, 21 Oct 2010) | 2 lines

Include BLI_math.h instead of math.h.
Silence a warning.
------------------------------------------------------------------------
r32624 | jesterking | 2010-10-21 09:21:34 +0200 (Thu, 21 Oct 2010) | 1 line

Silence warning about macro redefinition
------------------------------------------------------------------------
r32623 | jesterking | 2010-10-21 09:18:38 +0200 (Thu, 21 Oct 2010) | 1 line

Use one device context for our window class.
------------------------------------------------------------------------
r32622 | jesterking | 2010-10-21 09:16:02 +0200 (Thu, 21 Oct 2010) | 2 lines

* Use HWND_DESKTOP as parent for Blender Windows.
* Reorder freeing of OpenGL context code.
------------------------------------------------------------------------
r32621 | jesterking | 2010-10-21 09:14:31 +0200 (Thu, 21 Oct 2010) | 1 line

Enable /WX on Windows.
------------------------------------------------------------------------
r32620 | campbellbarton | 2010-10-21 06:21:09 +0200 (Thu, 21 Oct 2010) | 3 lines

fix for fix [#24344] crash on adding new image when composite is open and there is no Nodetree
also use const prefix in solidify modifier where possible.

------------------------------------------------------------------------
r32619 | campbellbarton | 2010-10-21 03:55:39 +0200 (Thu, 21 Oct 2010) | 2 lines

use custom data mask defines, no functional changes.

------------------------------------------------------------------------
r32618 | campbellbarton | 2010-10-21 03:10:22 +0200 (Thu, 21 Oct 2010) | 2 lines

remove unused args for some modifiers, no functional change.

------------------------------------------------------------------------
r32617 | campbellbarton | 2010-10-21 03:08:12 +0200 (Thu, 21 Oct 2010) | 8 lines

improved fix for [#24267] Hook fails after Solidify
Rather then have the modifier calculate ORIGINDEX weather its needed or not (incorrect if it wasn't the first modifier on the stack),
create ORIGINDEX layer initially if any of the modifiers use it.
This way hook also works after Mirror and Screw modifiers which have the ORIGINDEX layer copied implicitly with DM_copy_vert_data().

This wasn't possible to check for before because this flag was always enabled so it would be passed to DM_set_only_copy().
Now just add the flag whenever calling DM_set_only_copy().

------------------------------------------------------------------------
r32616 | nicholasbishop | 2010-10-21 01:13:12 +0200 (Thu, 21 Oct 2010) | 7 lines

Partial fix for bug #24341, "Problems running blender headless"

* Fixed the random file popping up.
* Don't write to the history file in background mode, because ghost won't give us the right directory in that case



------------------------------------------------------------------------
r32614 | campbellbarton | 2010-10-20 15:51:37 +0200 (Wed, 20 Oct 2010) | 9 lines

fix for fix [#24336] evaluation time - curve has no effect
committed r32598 to fix [#24309] Reloading file with incorrect path location.

Setting the curves ctime when updating the object data overrode the animated value.
For now just set the ctime on newly added curves with will work as the user expects in most cases.
This is weak design IMHO because the ctime value can be set to anything but is reset on changing frames even if its not keyed.

With curves created via python or linked in this can still result in a bad ctime value.

------------------------------------------------------------------------
r32613 | campbellbarton | 2010-10-20 14:33:00 +0200 (Wed, 20 Oct 2010) | 2 lines

Quiet compiler warnings.

------------------------------------------------------------------------
r32612 | campbellbarton | 2010-10-20 14:11:09 +0200 (Wed, 20 Oct 2010) | 2 lines

fix for -Wunused-value

------------------------------------------------------------------------
r32611 | campbellbarton | 2010-10-20 11:18:55 +0200 (Wed, 20 Oct 2010) | 6 lines

[#24267] Hook fails after Solidify
Solidify modifier wasn't assigning origindex values.

- BLI_math.h array functions: range_vni(), mul_vn_fl(), mul_vn_vn_fl(), add_vn_vn(), fill_vni().
- define 'AT' as __FILE__ ":" STRINGIFY(__LINE__), useful for quick debug prints.

------------------------------------------------------------------------
r32610 | campbellbarton | 2010-10-20 06:12:01 +0200 (Wed, 20 Oct 2010) | 4 lines

bugfix [#24333] Horizon Color Picker Crashes Blender if Two 3D View Windows are Open
also added api function ED_area_tag_redraw_regiontype(), so an area can redraw all regions by type.
In this case there is a view3d area listener that needs to draw all WINDOW regions.

------------------------------------------------------------------------
r32609 | moguri | 2010-10-20 04:47:53 +0200 (Wed, 20 Oct 2010) | 1 line

stubs.c update for revision 32607, which introduced the BLC ED_space_image_paint_update().
------------------------------------------------------------------------
r32608 | nicholasbishop | 2010-10-20 03:17:18 +0200 (Wed, 20 Oct 2010) | 7 lines

== Sculpt ==

Fixed bug #22634, sculpting/multires and wireframe display mode glitches

* Changed ccgdm edge drawing to always use face griddata rather than edge data, since edge data is not updated during sculpting.


------------------------------------------------------------------------
r32607 | nicholasbishop | 2010-10-20 02:42:19 +0200 (Wed, 20 Oct 2010) | 13 lines

== Paint ==

Fixed bug #24239, "Fkey doesn't work in image paint unless also in 3D texture paint"

* Fixed brush cursor not showing when painting in the image editor without 3d texture painting enabled
* Fixed fkey not working when not in 3d texture paint

Note:
This does not handle showing the brush cursor when reloading a file saved with image painting on but 3d texture painting off. The method used for object paint modes doesn't apply quite the same here, so I left that alone for now.




------------------------------------------------------------------------
r32606 | jesterking | 2010-10-20 00:17:34 +0200 (Wed, 20 Oct 2010) | 5 lines

Fix [#21294] Bad object drawing and crash when rendering
Reported and patched by Shane Ambler.

Took the opportunity to silence warnings in readfile.c. For Windows in SCons I enabled /WX
for blenloader. This means that all enabled warnings will throw errors from now on.
------------------------------------------------------------------------
r32605 | elubie | 2010-10-19 20:59:15 +0200 (Tue, 19 Oct 2010) | 3 lines

compile fixes on windows for quicktime.
* solved two "'blah' undefined, assuming extern returning int" 'warnings' that jesterKing now changed to be reported as errors (thanks! :))

------------------------------------------------------------------------
r32604 | jhk | 2010-10-19 19:45:19 +0200 (Tue, 19 Oct 2010) | 1 line

Fix for [#24262] Segmentation attempting to render *NEED MOER INFO*
------------------------------------------------------------------------
r32603 | jhk | 2010-10-19 18:10:30 +0200 (Tue, 19 Oct 2010) | 16 lines

Fix for [#24293] Shadow pass is wrong

* The problem is that shadow pass is derived from the diffuse pass as
  shad = shad'/diff, where shad' = shad*diff. In cases where diff is
  0 and the division can't be done shad is left as shad' (=0).
* This all works just fine until the diffuse color is 0 on just one
  channel (no red in material color for example). In this case the shadow
  pass is left as 0 too regardless of the existence of an actual shadow,
  so the end result is a colored shadow!
* The only real solution is to use the original shadow intensity to
  determine if there actually is a shadow or not. This is now stored in
  shr->shad[3] from the lamp shadow calculation.

Note: The best solution would probably be to calculate the shadow pass on
it's own and not to derive it from the diffuse pass, but I didn't dare to
start messing up the shading code totally.
------------------------------------------------------------------------
r32602 | campbellbarton | 2010-10-19 17:35:46 +0200 (Tue, 19 Oct 2010) | 3 lines

[#24325] Texture painting using selected faces mask
draw a subtle grey over unselected faces rather then coloring selected faces which got in the way of seeing the colors while painting.

------------------------------------------------------------------------
r32601 | campbellbarton | 2010-10-19 16:11:46 +0200 (Tue, 19 Oct 2010) | 5 lines

bugfix [#24324] Wrong center for scaling Bezier Curve's handles
slight change to how transform calculates the center of each bezier handle selection.
- selecting both handles but not the knot now uses the mid point between the 2, before it used the handle.
- selecting 1 handle of a curve was still setting td->center to be the knot, now use the handles location only if its selected.

------------------------------------------------------------------------
r32600 | campbellbarton | 2010-10-19 15:35:21 +0200 (Tue, 19 Oct 2010) | 2 lines

fix for previous commit. also noticed theres no need for UI_make_axis_color() to check upper and lower case.

------------------------------------------------------------------------
r32599 | campbellbarton | 2010-10-19 15:04:40 +0200 (Tue, 19 Oct 2010) | 5 lines

[#24307] 3d Viewport Mini 3D Axis changes color when alter 3d grid theme color

Drawing the view axis went to a lot of trouble to create a color which didnt look very good if the grid had a color other then grey set.
Simplify the function and just use the same colors as the manipulator, also use 2px fixed line width.

------------------------------------------------------------------------
r32598 | campbellbarton | 2010-10-19 14:21:57 +0200 (Tue, 19 Oct 2010) | 7 lines

bugfix [#24309] Reloading file with incorrect path location.
the cu->ctime was never set if the frame wasnt changed, so adding a curve and parenting could be done without a frame change leaving the cu->ctime value at zero.
changing the frame or rendering after this would make the parent relationship jump.

Set the curve->ctime in object_handle_update(), this way its set on file load and when linking in new curves.
Another option is to do this when parenting but probably this would miss other cases where its needed.

------------------------------------------------------------------------
r32597 | jhk | 2010-10-19 13:51:31 +0200 (Tue, 19 Oct 2010) | 2 lines

Fix for [#24299] Changing Curves on rendered Pass scewes pass up seriously ;-)
* The number of pass channels wasn't taken properly into account when applying curves.
------------------------------------------------------------------------
r32596 | campbellbarton | 2010-10-19 13:39:37 +0200 (Tue, 19 Oct 2010) | 2 lines

rename anim.c -> anim_movie.c since we have an anim.c in blenkernel too, it confused debuggers in some cases.

------------------------------------------------------------------------
r32595 | campbellbarton | 2010-10-19 13:15:08 +0200 (Tue, 19 Oct 2010) | 3 lines

Cancelling rotation on axis/angle object rotation didnt restore the original rotation.
also commented drotAxis/Angle since its not used yet.

------------------------------------------------------------------------
r32594 | campbellbarton | 2010-10-19 12:32:02 +0200 (Tue, 19 Oct 2010) | 2 lines

bugfix [#24322] Rotating objects with Axis+Angle mode fails.

------------------------------------------------------------------------
r32593 | jhk | 2010-10-19 12:26:53 +0200 (Tue, 19 Oct 2010) | 1 line

Fix for [#24313] Displacement modifier is not respecting animated texture channels.
------------------------------------------------------------------------
r32592 | jhk | 2010-10-19 12:17:19 +0200 (Tue, 19 Oct 2010) | 1 line

Fix for [#24319] Removing a cloth or softbody simulation in paticle mode problem
------------------------------------------------------------------------
r32591 | campbellbarton | 2010-10-19 11:50:43 +0200 (Tue, 19 Oct 2010) | 2 lines

fix for exceptions in recent commit.

------------------------------------------------------------------------
r32590 | jesterking | 2010-10-19 11:38:56 +0200 (Tue, 19 Oct 2010) | 5 lines

Fix [#20277] Bug with Continuous Grab on Windows
Reported by Alex Glawion

When we have a maximized window we need to take into account
that there are no borders.
------------------------------------------------------------------------
r32589 | jhk | 2010-10-19 11:28:38 +0200 (Tue, 19 Oct 2010) | 1 line

Fix for bugs [#24316] Changing particles path step in particle mode makes lines invisible and [#24318] Particle lines disappear if view particles are enabled.
------------------------------------------------------------------------
r32588 | campbellbarton | 2010-10-19 10:35:30 +0200 (Tue, 19 Oct 2010) | 5 lines

patch [#24320] Fix for [#24311] Copy and Paste
from Alexander Kuznetsov (alexk)

   This check was dubious to begin with, if it causes more problems it should be removed.

------------------------------------------------------------------------
r32587 | campbellbarton | 2010-10-19 09:23:34 +0200 (Tue, 19 Oct 2010) | 3 lines

[#24270] RNA Properties with long Variable Names
disallow registering RNA with names longer then 31 chars.

------------------------------------------------------------------------
r32586 | nazgul | 2010-10-19 09:10:12 +0200 (Tue, 19 Oct 2010) | 1 line

Fix #24321: duplicate of multiresolution modifier error
------------------------------------------------------------------------
r32585 | jesterking | 2010-10-19 07:47:22 +0200 (Tue, 19 Oct 2010) | 3 lines

Remove BLI_bfile.c from build process. It is unused, and currently throws error C4013

(ie. previous commit works sweetly ;)
------------------------------------------------------------------------
r32584 | jesterking | 2010-10-19 07:42:31 +0200 (Tue, 19 Oct 2010) | 3 lines

Make C4013 throw a warning
-> 'function' undefined; assuming extern returning int

------------------------------------------------------------------------
r32583 | campbellbarton | 2010-10-19 07:36:16 +0200 (Tue, 19 Oct 2010) | 14 lines

bugfix with applying the object matrix with negative scales.

--- fixes report by ronan ducluzeau
Scale default cube on X axis to -1.
Rotate it on X axis to 33°.

Parent cube to lamp.
Clear parent and keep offset.

Cube's scaling value on X axis pass from -1 to 1
Cube's rotation value on Z axis pass from 0° to 180°



------------------------------------------------------------------------
r32582 | jesterking | 2010-10-19 07:21:28 +0200 (Tue, 19 Oct 2010) | 1 line

Set defaults for compile and link flags to lists.
------------------------------------------------------------------------
r32581 | jesterking | 2010-10-19 07:00:36 +0200 (Tue, 19 Oct 2010) | 3 lines

* Enable compile and link flags to build info also on Windows and in SCons.
* Added build_system SCons or CMake
* Write the new build info also to system-info.txt
------------------------------------------------------------------------
r32580 | campbellbarton | 2010-10-19 06:29:05 +0200 (Tue, 19 Oct 2010) | 4 lines

Using unsigned int from own commit r32425 broke tiling image textures in imagetexture.c.
Most formats use unsigned int, but practically its unlikely to be a problem to use int.


------------------------------------------------------------------------
r32579 | campbellbarton | 2010-10-19 06:25:16 +0200 (Tue, 19 Oct 2010) | 2 lines

fix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn't build.

------------------------------------------------------------------------
r32578 | campbellbarton | 2010-10-19 04:50:00 +0200 (Tue, 19 Oct 2010) | 2 lines

Disable LCMS by default for scons.

------------------------------------------------------------------------
r32577 | campbellbarton | 2010-10-19 04:41:09 +0200 (Tue, 19 Oct 2010) | 2 lines

bugfix [#24314] Motion path (ghosting/onioning) numbers are displayed with offset

------------------------------------------------------------------------
r32576 | nicholasbishop | 2010-10-19 03:57:15 +0200 (Tue, 19 Oct 2010) | 8 lines

== Sculpt ==

Fixed bug #24111, "Mirror clipping not working while sculpting a mirrored mesh"

* Mirror modifiers can handle multiple-axis mirroring, updated sculpt to work with that
* Marked the "axis" field of MirrorModifierData deprecated, since it looks like bitflags are supposed to be used now


------------------------------------------------------------------------
r32575 | campbellbarton | 2010-10-19 03:48:03 +0200 (Tue, 19 Oct 2010) | 2 lines

bugfix [#24289] bpy.ops.object.select_name() is broken

------------------------------------------------------------------------
r32574 | campbellbarton | 2010-10-19 03:24:09 +0200 (Tue, 19 Oct 2010) | 2 lines

patch by Elia Sarti, adding selectable_objects and selectable_bases to the screen context, allowing some operators to run from the console which previously only worked in the 3D view.

------------------------------------------------------------------------
r32573 | campbellbarton | 2010-10-19 03:21:22 +0200 (Tue, 19 Oct 2010) | 2 lines

use unsigned int for all layers.

------------------------------------------------------------------------
r32571 | jesterking | 2010-10-19 00:37:21 +0200 (Tue, 19 Oct 2010) | 1 line

Add Toggle System Console entry to Help menu on Windows systems.
------------------------------------------------------------------------
r32569 | jesterking | 2010-10-18 22:41:52 +0200 (Mon, 18 Oct 2010) | 18 lines

Add operator for toggling cmd box on Windows.

Use through search menu (Toggle System Console) or
call bpy.ops.wm.toggle_console().

This is based on patch [#6927] Optional Console for Windows
by Fahrezal Effendi, submitted on July 10th, 2007 (!)

This paves the way for adding a command-line option to Blender to
toggle this cmd console, and for having a user preference option
for this. Command-line option I haven't added yet, as there seemed
to be problems with Python interpreter initialization (read: crashes).

This works by redirecting stdout and stderr to blenderlog.txt in user
temp directory (most likely %TEMP%\blenderlog.txt). When python problem
is fixed we can use this to always redirect stdout and stderr to this
logfile, making it also easier for us to ask users for this file in
bugreports.
------------------------------------------------------------------------
r32567 | jesterking | 2010-10-18 22:33:04 +0200 (Mon, 18 Oct 2010) | 1 line

whitespace commit, AKA commit count bump.
------------------------------------------------------------------------
r32566 | jesterking | 2010-10-18 22:32:11 +0200 (Mon, 18 Oct 2010) | 2 lines

Mangle unused parameter names also on non-GCC platforms. This should help in situations where a coder starts using the previously
unused tagged parameter after all, reminding the coder to remove the tag and check further.
------------------------------------------------------------------------
r32565 | elubie | 2010-10-18 19:55:11 +0200 (Mon, 18 Oct 2010) | 4 lines

quick commit for forgotten file in the G.sce -> G.main->name refactoring.

Patch by Jens Verwiebe, many thanks.

------------------------------------------------------------------------
r32564 | campbellbarton | 2010-10-18 15:22:34 +0200 (Mon, 18 Oct 2010) | 2 lines

remove annoying warnings for blenderplayers stub.c

------------------------------------------------------------------------
r32563 | campbellbarton | 2010-10-18 15:16:43 +0200 (Mon, 18 Oct 2010) | 2 lines

recent fix for relative imports broke autocomp.

------------------------------------------------------------------------
r32562 | campbellbarton | 2010-10-18 14:56:14 +0200 (Mon, 18 Oct 2010) | 2 lines

cflags, cxxflags & linkflags in buildinfo.

------------------------------------------------------------------------
r32561 | campbellbarton | 2010-10-18 14:35:40 +0200 (Mon, 18 Oct 2010) | 2 lines

define NDEBUG for release builds so assert() is disabled.

------------------------------------------------------------------------
r32560 | campbellbarton | 2010-10-18 13:37:53 +0200 (Mon, 18 Oct 2010) | 2 lines

bugfix [#24306] Python : relative import error

------------------------------------------------------------------------
r32559 | campbellbarton | 2010-10-18 13:21:22 +0200 (Mon, 18 Oct 2010) | 2 lines

enable DEBUG define in CMake and scons, also change booleans debug option to BOP_DEBUG, which was used inconsistently, and had to add a define for superlu.

------------------------------------------------------------------------
r32558 | jhk | 2010-10-18 12:52:57 +0200 (Mon, 18 Oct 2010) | 2 lines

[#21475] Moving a Transform strip upwards moves its animation sidewards
* F-Curve translation is now calculated from the difference of the strips original & resulting start time, instead of using the transform data directly.
------------------------------------------------------------------------
r32557 | jhk | 2010-10-18 10:17:04 +0200 (Mon, 18 Oct 2010) | 2 lines

[#24209] Texture Forcefields: Use Object Coordinates produces incorrect results (patch included)
* Original patch provided by Alexander Beels and modified a bit by me.
------------------------------------------------------------------------
r32556 | campbellbarton | 2010-10-18 10:11:34 +0200 (Mon, 18 Oct 2010) | 2 lines

Camera object drawing now shows shift (not especially important but the tracker is being unusably slow)

------------------------------------------------------------------------
r32555 | jesterking | 2010-10-18 09:24:08 +0200 (Mon, 18 Oct 2010) | 1 line

_DEBUG -> DEBUG
------------------------------------------------------------------------
r32554 | jesterking | 2010-10-18 09:03:38 +0200 (Mon, 18 Oct 2010) | 1 line

_DEBUG -> DEBUG
------------------------------------------------------------------------
r32553 | campbellbarton | 2010-10-18 09:01:46 +0200 (Mon, 18 Oct 2010) | 2 lines

this should fix quicktime building from last commit.

------------------------------------------------------------------------
r32552 | jesterking | 2010-10-18 08:52:10 +0200 (Mon, 18 Oct 2010) | 1 line

Use DEBUG instead of NDEBUG
------------------------------------------------------------------------
r32551 | campbellbarton | 2010-10-18 08:41:16 +0200 (Mon, 18 Oct 2010) | 7 lines

remove G.sce, use G.main->name instead.

Both stored the filename of the blend file, but G.sce stored the last opened file.
This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore).

Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.

------------------------------------------------------------------------
r32550 | jesterking | 2010-10-18 08:34:02 +0200 (Mon, 18 Oct 2010) | 1 line

Remove unused code.
------------------------------------------------------------------------
r32548 | campbellbarton | 2010-10-18 04:36:43 +0200 (Mon, 18 Oct 2010) | 4 lines

bugfix [#24291] Error parenting a child with any negative scaling coordinate
the bug was in object_apply_mat4(), caused by applying a non-normalized matrix to the rotation.
Blender 2.4x also had this problem, surprising nobody noticed!.

------------------------------------------------------------------------
r32546 | jesterking | 2010-10-18 02:46:41 +0200 (Mon, 18 Oct 2010) | 2 lines

Fix [#24200] COLLADA Exporter: Aspect ratio is not exported
Reported by Wenzel Jakob, patch [#24235] by Phil Gosch
------------------------------------------------------------------------
r32545 | jesterking | 2010-10-18 02:42:18 +0200 (Mon, 18 Oct 2010) | 1 line

Add short comment.
------------------------------------------------------------------------
r32544 | campbellbarton | 2010-10-18 02:25:32 +0200 (Mon, 18 Oct 2010) | 7 lines

bugfix [#24302] Ctrl+Click Extrude gets old mouse events
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled).

Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory.
used for debugging where events came from.


------------------------------------------------------------------------
r32543 | campbellbarton | 2010-10-18 01:32:48 +0200 (Mon, 18 Oct 2010) | 2 lines

remove LCMS option from cmake, this is only testing code. developers who want to work on it can uncomment.

------------------------------------------------------------------------
r32542 | jesterking | 2010-10-18 01:08:05 +0200 (Mon, 18 Oct 2010) | 2 lines

Fix [#24288] Mesh Grid pointing towards the floor when first created
Reported by Terry Wallwork
------------------------------------------------------------------------
r32541 | jesterking | 2010-10-17 20:56:36 +0200 (Sun, 17 Oct 2010) | 2 lines

Fix [#24294] IMB_allocImBuf changes in r32517 missed a couple of files
Reported and patched by Shane Ambler
------------------------------------------------------------------------
r32539 | aligorith | 2010-10-17 13:21:53 +0200 (Sun, 17 Oct 2010) | 3 lines

Disabling menu entry for adding "Python" F-Modifier.

This hasn't been coded yet, and I don't think I'll be adding it very soon yet, so disabling to avoid further confusion over this.
------------------------------------------------------------------------
r32538 | aligorith | 2010-10-17 13:20:12 +0200 (Sun, 17 Oct 2010) | 5 lines

Bugfix #24296: AutoIK interactive chain length adjustment feature is missing

In 2.49, you could adjust the maximum length of Auto-IK Chains by using scrollwheel up/down or page up/down while moving Auto-IK bones. Now this is possible again with those hotkeys, but you need to hold SHIFT to get this to work, otherwise we get a conflict with the hotkeys for proportional edit nowadays.

Was broken when transform tools switched from using hardcoded key mappings to using a modal keymap.
------------------------------------------------------------------------
r32537 | aligorith | 2010-10-17 12:46:06 +0200 (Sun, 17 Oct 2010) | 5 lines

Partial fix for #22409: Locked axis + auto IK = bad

The "root" bone in an Auto-IK chain was never added properly if it didn't have a parent that it was connected to. This meant that if it had axis-locking (using transform locks), these would not get converted to temporary IK-locks. This also affects 2.49

The second part of the bug report though, is something more ingrained in the IK-solver internals (numeric error, which means that even locked axes aren't exactly untouched).
------------------------------------------------------------------------
r32536 | nexyon | 2010-10-17 11:01:37 +0200 (Sun, 17 Oct 2010) | 2 lines

Reverting Cam's audio code changes from revision 32517. Part of it has been reverted by Nathan already. Cam: next time please check, why a parameter is unused before you remove it!

------------------------------------------------------------------------
r32535 | campbellbarton | 2010-10-17 11:01:12 +0200 (Sun, 17 Oct 2010) | 2 lines

re-arrange icon_draw_rect, also use an assert() for odd icon sizes. this can happen in some cases but hard to find when.

------------------------------------------------------------------------
r32534 | campbellbarton | 2010-10-17 10:59:23 +0200 (Sun, 17 Oct 2010) | 2 lines

fix for bad use of UNUSED() with win32 & some other minor error checks.

------------------------------------------------------------------------
r32533 | campbellbarton | 2010-10-17 10:04:28 +0200 (Sun, 17 Oct 2010) | 8 lines

Test stricter GCC compiler settings, these warnings will now give errors.
- implicit function declaration.
- no return type set for a function.
- declaration after statement.

This may be too strict but in general I prefer we don't allow commits with these warnings.
Applies to cmake/gcc and scons/linux.

------------------------------------------------------------------------
r32532 | campbellbarton | 2010-10-17 08:38:56 +0200 (Sun, 17 Oct 2010) | 4 lines

- fixed remaining unused warnings.
- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).

------------------------------------------------------------------------
r32531 | gsrb3d | 2010-10-17 00:56:22 +0200 (Sun, 17 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32530 | nazgul | 2010-10-16 22:43:16 +0200 (Sat, 16 Oct 2010) | 6 lines

Fix #24139: Edge loop + Multi-Resolution modifier results weird artifacts

- mdisp_corners used to return incorrect number of verts in some cases
- fixed memory corruption when face changed vertex count in
  edit mode (forgot displacement for such faces atm, could be changed
  in the future)
------------------------------------------------------------------------
r32529 | schlaile | 2010-10-16 21:29:48 +0200 (Sat, 16 Oct 2010) | 5 lines

This fixes HDV render presets:
* according to wikipedia HDV1080p 24p has a framerate of 24/1.001
* HDV comes in NTSC in PAL versions, too (30/1.001 and 25/1)


------------------------------------------------------------------------
r32528 | jesterking | 2010-10-16 19:30:59 +0200 (Sat, 16 Oct 2010) | 1 line

svn maintenance
------------------------------------------------------------------------
r32527 | vekoon | 2010-10-16 19:28:52 +0200 (Sat, 16 Oct 2010) | 2 lines

Fix for [#24292] When rendering with the stamp feature the scene opt. affects the seq. strip placement
Fixed typo.
------------------------------------------------------------------------
r32526 | jesterking | 2010-10-16 19:26:40 +0200 (Sat, 16 Oct 2010) | 3 lines

Add System Info function to the Help menu.

Users can use this to quickly get info about their system for bug reports.
------------------------------------------------------------------------
r32525 | jesterking | 2010-10-16 17:53:01 +0200 (Sat, 16 Oct 2010) | 1 line

Adapt OSX code for IMB_allocImBuf param changes.
------------------------------------------------------------------------
r32524 | jesterking | 2010-10-16 17:21:55 +0200 (Sat, 16 Oct 2010) | 13 lines

Fix AltGr problem on Windows

It was impossible for keyboard layouts that use AltGr to create certain characters to insert
them in Text and Console.

The keyboard driver in Windows sends left control events when AltGr is pressed. This meant that
Blender thought control was being held, which is a PASS_THROUGH condition for the insert operator
in both editors.

Add testing of keyboard layout for AltGr, both on initialization and WM_INPUTLANGCHANGE.

To remedy AltGr problem, we send now a left control key up event to Blender before further processing
the AltGr key.
------------------------------------------------------------------------
r32523 | schlaile | 2010-10-16 17:01:01 +0200 (Sat, 16 Oct 2010) | 7 lines

== Audaspace / FFMPEG ==

Audaspace audio seek code wasn't taking start_time into account.
(Most common symptom: HDV MPEG2TS files always start audio playback at the
beginning regardless of seek position.)


------------------------------------------------------------------------
r32522 | jesterking | 2010-10-16 17:00:04 +0200 (Sat, 16 Oct 2010) | 1 line

Now sound init param removal revert should be fine (apparently my cmake project files missed rebuild hint for these, fortunately SCons did its job well).
------------------------------------------------------------------------
r32521 | jesterking | 2010-10-16 16:53:54 +0200 (Sat, 16 Oct 2010) | 1 line

Maybe now correct commit :°
------------------------------------------------------------------------
r32520 | jesterking | 2010-10-16 16:51:50 +0200 (Sat, 16 Oct 2010) | 1 line

Forgot to commit RNA part of revert in 32519
------------------------------------------------------------------------
r32519 | jesterking | 2010-10-16 16:49:56 +0200 (Sat, 16 Oct 2010) | 1 line

Revert overaggressive parameter removal: Main struct is used in audio when Jack support is enabled.
------------------------------------------------------------------------
r32518 | jesterking | 2010-10-16 16:43:47 +0200 (Sat, 16 Oct 2010) | 1 line

Declaration before any statements. Doesn't GCC warn about this?
------------------------------------------------------------------------
r32517 | campbellbarton | 2010-10-16 16:32:17 +0200 (Sat, 16 Oct 2010) | 4 lines

most unused arg warnings corrected.
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.

------------------------------------------------------------------------
r32516 | aligorith | 2010-10-16 13:52:30 +0200 (Sat, 16 Oct 2010) | 5 lines

Added panel for accessing the "delta transforms" for Objects (this is closed by default to not clutter that much).

This should help silence complaints from some about "dloc",etc. not being easily keyable.

It's also a nice way to have instances of animated objects located in different places, by animating either the standard transforms or the deltas, and then modifying by not animating the other version to keep the instances from going to a single point. This was a common newbie problem in 2.4x.
------------------------------------------------------------------------
r32515 | aligorith | 2010-10-16 13:30:41 +0200 (Sat, 16 Oct 2010) | 5 lines

Bugfix #23979: FCurve.keyframe_points.add(..., replace=True)

... fails if there were no keyframes in the curve yet. Was a missing null-check for case when no keyframe array is created.

Also, changed the description for the "replace" arg to better reflect what it really does.
------------------------------------------------------------------------
r32514 | nazgul | 2010-10-16 12:14:17 +0200 (Sat, 16 Oct 2010) | 3 lines

Fix #24280: NURBS default "12x12" UV resolution is not actually "12x12"

When adding new nurb primitive it'll have got the same resolution as curve
------------------------------------------------------------------------
r32513 | campbellbarton | 2010-10-16 11:42:52 +0200 (Sat, 16 Oct 2010) | 2 lines

dont check for project anymore for ctrl+click, face snapping is enough.

------------------------------------------------------------------------
r32512 | campbellbarton | 2010-10-16 11:27:02 +0200 (Sat, 16 Oct 2010) | 3 lines

- blender player builds again with CMake.
- remove duplicate entries for libs for blender binary (where possible)

------------------------------------------------------------------------
r32511 | campbellbarton | 2010-10-16 10:03:28 +0200 (Sat, 16 Oct 2010) | 2 lines

editors/space_* build without unused args warnings

------------------------------------------------------------------------
r32510 | campbellbarton | 2010-10-16 07:12:31 +0200 (Sat, 16 Oct 2010) | 3 lines

patch for bug [#24253] r32218 breaks outliner icon drawing
provided by Shane Ambler (sambler) with some changes.

------------------------------------------------------------------------
r32509 | aligorith | 2010-10-16 07:07:33 +0200 (Sat, 16 Oct 2010) | 21 lines

Bugfix #24099: nla content moves out of sync - with fix

Thanks Shane Ambler (sambler) for the patch!

<quote>
This kind of follows on from a report that I think was closed prematurely - #22775 - I can't find any reference to an
outstanding todo that relates to it.

When resizing the nla editor the channel names and the main area get out of sync.
When toggling back from fullscreen the content is hidden off the top of the area requiring scrolling to see it.

The dopesheet displays similar problems but after fixing the ui_view2d_sync call it appears to behave as if the v2d.keepofs
has been set for the most part.

Two areas seem to be related to this - the first is calls to UI_view2d_sync used for these two views use the wrong
flags.

The other is v2d.keepofs not being set. (dopesheet has less issue here but I think it is meant to be set the same as
nla)

</quote>
------------------------------------------------------------------------
r32508 | aligorith | 2010-10-16 06:14:26 +0200 (Sat, 16 Oct 2010) | 3 lines

Bugfix #24143: Edit NLA Strips

When editing an action used by a NLA strip and editing it 'in place' (controlled by pin icon on green 'tweaking' channel), the animation would only get played back in the action's original frame range while the keyframes were still displayed in the strip-altered positions.
------------------------------------------------------------------------
r32507 | aligorith | 2010-10-16 05:13:40 +0200 (Sat, 16 Oct 2010) | 3 lines

Bugfix #24276: Unable to set extrapolation on a per curve basis

Selected-curves only flag was missing.
------------------------------------------------------------------------
r32506 | campbellbarton | 2010-10-16 04:40:31 +0200 (Sat, 16 Oct 2010) | 4 lines

- UNUSED macro wasn't throwing an error with GCC if a var become used.
- made interface, windowmanager, readfile build without unused warnings.
- re-arranged CMake's source/blender build order so less changed libs are build later, eg: IK, avi

------------------------------------------------------------------------
r32504 | jesterking | 2010-10-15 16:56:31 +0200 (Fri, 15 Oct 2010) | 1 line

Fix COLLADA import after recent API cleanups by Campbell.
------------------------------------------------------------------------
r32503 | jesterking | 2010-10-15 16:52:47 +0200 (Fri, 15 Oct 2010) | 1 line

Simplify GHOST modifier key handling on Windows.
------------------------------------------------------------------------
r32501 | mindrones | 2010-10-15 15:09:38 +0200 (Fri, 15 Oct 2010) | 6 lines

== rna info ==

changing from __repr__ to __str__ after discussing with campbell
was annyoing me when testing things, huge printouts :)


------------------------------------------------------------------------
r32500 | jesterking | 2010-10-15 15:03:10 +0200 (Fri, 15 Oct 2010) | 1 line

Less cryptic modifier key types
------------------------------------------------------------------------
r32499 | campbellbarton | 2010-10-15 14:29:02 +0200 (Fri, 15 Oct 2010) | 2 lines

remove/tag unused args for view*.c, gpu*.c & image*.c

------------------------------------------------------------------------
r32498 | campbellbarton | 2010-10-15 13:43:34 +0200 (Fri, 15 Oct 2010) | 2 lines

nodes were being ignored by api update script.

------------------------------------------------------------------------
r32495 | jhk | 2010-10-15 12:25:43 +0200 (Fri, 15 Oct 2010) | 2 lines

Fix for [#23314] Comp node renaming breaks animation
* Old name was already overwritten before the update function, so changed the update function to a "set" function.
------------------------------------------------------------------------
r32494 | jesterking | 2010-10-15 11:32:40 +0200 (Fri, 15 Oct 2010) | 1 line

Add comment about when prefsizx et al are used.
------------------------------------------------------------------------
r32493 | jesterking | 2010-10-15 11:30:33 +0200 (Fri, 15 Oct 2010) | 1 line

Fix for r32487: the logic was suboptimal, improved to always work correctly.
------------------------------------------------------------------------
r32492 | jhk | 2010-10-15 11:23:18 +0200 (Fri, 15 Oct 2010) | 3 lines

Partial fix for [#22867] retopo bug
* More logical to restrict snapping to all visible objects instead of just selectable objects
* Rest of bug added to todo-list
------------------------------------------------------------------------
r32491 | campbellbarton | 2010-10-15 11:07:19 +0200 (Fri, 15 Oct 2010) | 4 lines

bugfix [#24264] toggle UV selection fails.
was using the 4th selection flag on tri's.
also some minor changes, removed unused args and corrected some comments.

------------------------------------------------------------------------
r32490 | campbellbarton | 2010-10-15 10:41:58 +0200 (Fri, 15 Oct 2010) | 3 lines

patch [#24251] Add missing tooltips for image operatios
from Sergej Reich (sergof), with minor edits.

------------------------------------------------------------------------
r32489 | campbellbarton | 2010-10-15 10:32:27 +0200 (Fri, 15 Oct 2010) | 8 lines

[#24263] Hooks influence area with vertex group assigned is not effected
changes...
- use vertex weights when hook indices are used.
- use force as well as vertex weights (overall multiplier), before when vertex weights were used force was ignored.
- rearranged the loops to be less confusing.
- falloff now in its own function.
- falloff curve slightly different, smoother towards the center /w 2 less sqrt calls.

------------------------------------------------------------------------
r32488 | jhk | 2010-10-15 10:11:26 +0200 (Fri, 15 Oct 2010) | 2 lines

Fix for [#21822] Unusual material slot behaviour, edit v object mode, cascade, SVN 27833
* Disabled removing material slots in edit mode and added back error message from 2.49.
------------------------------------------------------------------------
r32487 | jesterking | 2010-10-15 09:31:26 +0200 (Fri, 15 Oct 2010) | 3 lines

Fix [#24260] Window geometry command-line option doesn't work

Override the first window size with --window-geometry if given. startup.blend would otherwise open as lastly saved.
------------------------------------------------------------------------
r32486 | campbellbarton | 2010-10-15 09:26:26 +0200 (Fri, 15 Oct 2010) | 3 lines

fix for own recent unused commit that broke with OpenMP enabled.
also build ./source/ first with cmake since testing new changes are most likely to be made here.

------------------------------------------------------------------------
r32485 | campbellbarton | 2010-10-15 07:27:57 +0200 (Fri, 15 Oct 2010) | 2 lines

Ctrl+Click extrude, project the source verts when projection and rotating the source are enabled (better for retopo workflow).

------------------------------------------------------------------------
r32484 | campbellbarton | 2010-10-15 07:18:45 +0200 (Fri, 15 Oct 2010) | 3 lines

replace SIDE_OF_LINE macro with line_point_side_v2() inline function.
made a number of files build without unused warnings.

------------------------------------------------------------------------
r32483 | campbellbarton | 2010-10-15 06:27:09 +0200 (Fri, 15 Oct 2010) | 5 lines

bugfix [#24247] Duplicating a Composite Group Node no User Count Icon
duplicating nodes wasnt changing the usercount of the referenced ID but file loading deleting was.

also removed some unused args.

------------------------------------------------------------------------
r32482 | campbellbarton | 2010-10-15 05:24:47 +0200 (Fri, 15 Oct 2010) | 4 lines

bugfix [#24256] Wrong bone subdivision number in tweak panel.
there were 3 operators for armature subdivision, now only have 1 (as with mesh).
+ remove unused warnigns.

------------------------------------------------------------------------
r32481 | campbellbarton | 2010-10-15 04:40:11 +0200 (Fri, 15 Oct 2010) | 3 lines

[#24250] wavefront import/export defaults
match operator and internal default arg defaults.

------------------------------------------------------------------------
r32480 | campbellbarton | 2010-10-15 04:24:48 +0200 (Fri, 15 Oct 2010) | 4 lines

enable warning for unused args with gcc: -Wunused-parameter
- for cmake only apply this to source/blender, will apply globally later.
- ./extern/ ./source/blender/makesrna/intern/ ignore this.

------------------------------------------------------------------------
r32479 | campbellbarton | 2010-10-15 03:36:14 +0200 (Fri, 15 Oct 2010) | 2 lines

tag UNUSED() for operator exec() and invoke() functions.

------------------------------------------------------------------------
r32476 | nazgul | 2010-10-14 22:19:52 +0200 (Thu, 14 Oct 2010) | 1 line

Fix #24257: Last shape key not applied as Basis shape.
------------------------------------------------------------------------
r32475 | sgefant | 2010-10-14 21:30:55 +0200 (Thu, 14 Oct 2010) | 3 lines

darwin Makefiles: copy release scripts and python modules to where blender looks for them,
i.e. blender.app/Content/MacOS/$(VERSION) instead if blender.app/Content/MacOS/.blender

------------------------------------------------------------------------
r32473 | campbellbarton | 2010-10-14 15:18:42 +0200 (Thu, 14 Oct 2010) | 2 lines

bugfix [#23070] some shortcuts cannot be saved in a usual way

------------------------------------------------------------------------
r32472 | campbellbarton | 2010-10-14 15:17:34 +0200 (Thu, 14 Oct 2010) | 2 lines

fix unused args warnings and remove some unused args.

------------------------------------------------------------------------
r32471 | campbellbarton | 2010-10-14 14:24:08 +0200 (Thu, 14 Oct 2010) | 2 lines

remove unused args or tag as unused for image and screen editors, uiItemEnumR_string was ignoring name and icon args.

------------------------------------------------------------------------
r32470 | campbellbarton | 2010-10-14 13:33:51 +0200 (Thu, 14 Oct 2010) | 6 lines

fix for crash in own recent color picker commit, store the hsv color in
block->_hsv, which is only accessed via a function so it can be moved to
a better place later.

also fix cineon define for scons/cmake.

------------------------------------------------------------------------
r32469 | jesterking | 2010-10-14 12:34:04 +0200 (Thu, 14 Oct 2010) | 1 line

fix potential crasher: malloc->calloc
------------------------------------------------------------------------
r32468 | jesterking | 2010-10-14 11:40:56 +0200 (Thu, 14 Oct 2010) | 9 lines

Fix [#24201] COLLADA Exporter: Light source energy incorrect

lamp->energy and lamp->distance are now taken in account by calculating
the constant, linear and quadratic attenuations based on this.

The import tries to do the reverse.

Note: this will work only properly for lamps that have att1 and att2 set to
1.0 or 0.0, other lamptypes won't import correctly again.
------------------------------------------------------------------------
r32467 | jesterking | 2010-10-14 11:31:14 +0200 (Thu, 14 Oct 2010) | 1 line

Move MAXFLOAT to BLI_math_base.h
------------------------------------------------------------------------
r32466 | nazgul | 2010-10-14 11:24:25 +0200 (Thu, 14 Oct 2010) | 1 line

Update outliner when vertex group was added/removed
------------------------------------------------------------------------
r32465 | campbellbarton | 2010-10-14 11:09:41 +0200 (Thu, 14 Oct 2010) | 3 lines

[#24243] wavefront animation export
fix from dan grauer (kromar)

------------------------------------------------------------------------
r32464 | jhk | 2010-10-14 11:01:03 +0200 (Thu, 14 Oct 2010) | 1 line

Fix for [#24237] Hair dynamics with zero particles generates a segmentation fault
------------------------------------------------------------------------
r32463 | campbellbarton | 2010-10-14 10:15:10 +0200 (Thu, 14 Oct 2010) | 2 lines

hex color input wasnt clamped.

------------------------------------------------------------------------
r32462 | campbellbarton | 2010-10-14 08:29:17 +0200 (Thu, 14 Oct 2010) | 2 lines

add UNUSED() to modifiers, also removed some unused args.

------------------------------------------------------------------------
r32461 | campbellbarton | 2010-10-14 05:57:15 +0200 (Thu, 14 Oct 2010) | 2 lines

bugfix [#24238] "M" (move) selects wrong action when with armature

------------------------------------------------------------------------
r32460 | campbellbarton | 2010-10-14 04:05:37 +0200 (Thu, 14 Oct 2010) | 2 lines

bugfix [#21959] 'Apply rotation' to scaled object behaves wrong

------------------------------------------------------------------------
r32459 | campbellbarton | 2010-10-14 03:22:14 +0200 (Thu, 14 Oct 2010) | 2 lines

remove unused args in draw*.c and some in view*.c, tag some as UNUSED().

------------------------------------------------------------------------
r32458 | campbellbarton | 2010-10-14 02:33:39 +0200 (Thu, 14 Oct 2010) | 2 lines

bugfix [#22161] Drawing of custom shapes in bones

------------------------------------------------------------------------
r32457 | campbellbarton | 2010-10-14 01:46:42 +0200 (Thu, 14 Oct 2010) | 2 lines

use UNUSED() macro for the console space + minor changes to args.

------------------------------------------------------------------------
r32456 | campbellbarton | 2010-10-14 01:25:08 +0200 (Thu, 14 Oct 2010) | 5 lines

UNUSED() macro so -Wunused-parameter can be used with GCC without so many warnings.
applied to python api and exotic.c, removed some args being passed down which were not needed.

keyword args for new mathutils types were being ignored when they should raise an error.

------------------------------------------------------------------------
r32455 | jesterking | 2010-10-14 00:20:34 +0200 (Thu, 14 Oct 2010) | 1 line

Fix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeError.
------------------------------------------------------------------------
r32454 | jesterking | 2010-10-13 23:53:37 +0200 (Wed, 13 Oct 2010) | 6 lines

Fix UnicodeEncodingError, which prevents netrender, reprojection and playback from working on Windows in certain situations.

Users can set their machine name to something containing non-ascii characters. In Python this currently causes problem due to
socket.gethostname() throwing UnicodeEncodingError. Work around this by not using platform.system() (which uses internally socket.gethostname()).

See http://www.pasteall.org/16215 for backtrace
------------------------------------------------------------------------
r32453 | nazgul | 2010-10-13 21:56:53 +0200 (Wed, 13 Oct 2010) | 4 lines

Fix #24234: Object deletion doesn't take into account its users (causes segfault)

Clear SELECT flag when deleting object -- object could be used in other scenes, and
some stuff (like translation) would be confused due to relations
------------------------------------------------------------------------
r32452 | mindrones | 2010-10-13 16:44:22 +0200 (Wed, 13 Oct 2010) | 12 lines

== docs ==

- moved files in proper directories and adapted paths where needed
- deleted doc/oldbugs.txt (asked confirmation to jesterking a week ago in irc)
- still working on doxygen files, for now I'll leave them in doc/
- NOTE: while checking if other files were referring to these files, I noted that
  "GPL-license.txt" is also used in the files below:
    - release/windows/installer/00.sconsblender.nsi
    - release/windows/specific.sh
  but these files should't be affected by this commit, but please check :)


------------------------------------------------------------------------
r32451 | campbellbarton | 2010-10-13 16:14:22 +0200 (Wed, 13 Oct 2010) | 2 lines

use PyC_UnicodeFromByte for bpy.app.tempdir incase of non utf-8 filepath

------------------------------------------------------------------------
r32450 | campbellbarton | 2010-10-13 16:10:42 +0200 (Wed, 13 Oct 2010) | 2 lines

fix for remaining glitch in square color picker, the backdrop could change color because rgb_to_hsv() was used rather then rgb_to_hsv_compat()

------------------------------------------------------------------------
r32449 | campbellbarton | 2010-10-13 15:53:49 +0200 (Wed, 13 Oct 2010) | 2 lines

bugfix [#23355] Square Color picker moving by itself and locking up

------------------------------------------------------------------------
r32448 | jhk | 2010-10-13 15:10:35 +0200 (Wed, 13 Oct 2010) | 2 lines

Fix for [#24208] ObjectId information is wrong when read from multilayer exr
* non-rgba passes shouldn't use color correction
------------------------------------------------------------------------
r32446 | jhk | 2010-10-13 13:40:59 +0200 (Wed, 13 Oct 2010) | 2 lines

Fix for [#24205] Multilayer EXR files used as input sequence are displayed incorrectly
* Image buffer profile wasn't set to linear rgb for multilayer image sequences
------------------------------------------------------------------------
r32445 | mindrones | 2010-10-13 12:42:33 +0200 (Wed, 13 Oct 2010) | 11 lines

== python api doc ==

First commit to make some structure in doc/ directory.

- moved source/blender/python/doc -> doc/python_api
- moved source/gameengine/PyDoc/*.rst -> doc/python_api/rst
- modified accordingly sphinx_doc_gen.py and sphinx_doc_gen.sh
  (later on I'll try alternative/ scripts by neXyon as promised :)
- source/gameengine/PyDoc/ is still there because contains epydoc stuff for the bge, will ask more and look into it later


------------------------------------------------------------------------
r32442 | campbellbarton | 2010-10-13 09:43:39 +0200 (Wed, 13 Oct 2010) | 6 lines

bugfix [#23150] Creating Vertex with CTRL-LMB not snapping
- Added EM_project_snap_verts so other functions can re-use this, similar to old retopo_do_all().
- Changed how the normal for selected geometry is calculated, was accumulating half selected edge's into normals which was OK with even surrounding geometry but could skew too easily if the surroundings were not so even. Now use the 2D screen space selected edge vector to calculate the normals in relation to the target mouse position.
- Option to rotate initial selection, gives better results in some cases. (Ctrl+Shift+Click to disable)
http://wiki.blender.org/index.php/File:ClickExtrudeFix.png

------------------------------------------------------------------------
r32441 | nazgul | 2010-10-13 08:06:39 +0200 (Wed, 13 Oct 2010) | 13 lines

Text space
==========

Main changes:
- lines could be partially shown when they starts somewhere behind the upper
  boundary of area but because of word-wrapping some part of line will be show
- fixed caret navigatiog in area when tabs aren't replaced by spaces
- highlight the whole current line not only it's wrapped segment with caret
- when you're in replace mode cursor would be as long as the tab's width if it's under tab symbol

This fixes:
  #22399: Text Editor: word-wrapped lines prevent navigating through text with up-arrow.
  #21163: Text editor scrollbar problem with word wrap
------------------------------------------------------------------------
r32440 | campbellbarton | 2010-10-13 06:00:01 +0200 (Wed, 13 Oct 2010) | 2 lines

bugfix [#24210] Tiled textures can cause corruption of entire UI

------------------------------------------------------------------------
r32439 | campbellbarton | 2010-10-13 05:17:58 +0200 (Wed, 13 Oct 2010) | 2 lines

bugfix [#24030] Grease Pencil + Driver keys

------------------------------------------------------------------------
r32438 | campbellbarton | 2010-10-13 03:58:09 +0200 (Wed, 13 Oct 2010) | 2 lines

[#24171] Tab key no longer responds from UV / Image Editor

------------------------------------------------------------------------
r32437 | campbellbarton | 2010-10-13 03:43:03 +0200 (Wed, 13 Oct 2010) | 3 lines

[#24128] Rigid Body Joint Constraint min/max limits [patch]
from Dan Eicher (dna)

------------------------------------------------------------------------
r32436 | campbellbarton | 2010-10-13 03:30:42 +0200 (Wed, 13 Oct 2010) | 2 lines

re-enable fix from r32330 but without the alt key check because this can be used for input.

------------------------------------------------------------------------
r32435 | campbellbarton | 2010-10-13 03:10:56 +0200 (Wed, 13 Oct 2010) | 3 lines

bugfix [#24231] outliner not refreshed correctly
also made world changes only redraw the 3d view if 'Render Only' option is set.

------------------------------------------------------------------------
r32434 | campbellbarton | 2010-10-13 02:08:24 +0200 (Wed, 13 Oct 2010) | 5 lines

patch [#24221] Creating graph from armature doesn't work with unsaved .blend files (with fix).
from Sergej Reich (sergof)

Made some corrections to the patch as well as using bpy.app.tempdir with tempfile python module.

------------------------------------------------------------------------
r32433 | campbellbarton | 2010-10-13 01:47:43 +0200 (Wed, 13 Oct 2010) | 4 lines

python api:
- bpy.app.debug can now be set, removed bpy.data.debug (since this is not blendfile data)
- added bpy.app.tempdir, this is needed because the userpref temp dir isn't always set, $TEMP may be used instead and scripts need temp dir access.

------------------------------------------------------------------------
r32432 | campbellbarton | 2010-10-13 00:20:10 +0200 (Wed, 13 Oct 2010) | 5 lines

bugfix [#23899] renderlayers are not working properly
was missing button for single layer rendering.

also renamed Object.show_shape_key to Object.show_only_shape_key since this pin's the shape key so others are disabled.

------------------------------------------------------------------------
r32431 | campbellbarton | 2010-10-12 23:47:13 +0200 (Tue, 12 Oct 2010) | 2 lines

bugfix [#22407] Object level proxies ignore transform of original

------------------------------------------------------------------------
r32428 | jhk | 2010-10-12 12:30:29 +0200 (Tue, 12 Oct 2010) | 1 line

Fix for [#24169] Sequencer segfaults often when scrubbing to frame zero
------------------------------------------------------------------------
r32426 | campbellbarton | 2010-10-12 10:32:53 +0200 (Tue, 12 Oct 2010) | 3 lines

bugfix [#24144] Small problem with texture (r32316)
an extra pixel was being drawn on a tiled image texture.

------------------------------------------------------------------------
r32424 | campbellbarton | 2010-10-12 05:23:44 +0200 (Tue, 12 Oct 2010) | 3 lines

bugfix [#23191] Ctrl-LMB quick extrude problem with non-perpendicular edges/faces.
also remove is_mat4_flipped() from transform_manipulator.c.

------------------------------------------------------------------------
r32423 | campbellbarton | 2010-10-12 00:25:28 +0200 (Tue, 12 Oct 2010) | 2 lines

update for gamelogic templates

------------------------------------------------------------------------
r32422 | campbellbarton | 2010-10-12 00:05:45 +0200 (Tue, 12 Oct 2010) | 3 lines

[#24226] small inconsistency in user preferences
also made setting the temp dir more consistent, slash is always added on the end and if the user-pref dir is invalid its not used.

------------------------------------------------------------------------
r32421 | campbellbarton | 2010-10-11 23:08:26 +0200 (Mon, 11 Oct 2010) | 2 lines

bugfix [#24225] Blur Node ignores gamma option when size has input.

------------------------------------------------------------------------
r32420 | dfelinto | 2010-10-11 22:55:05 +0200 (Mon, 11 Oct 2010) | 4 lines

BGE Bugfix for [#22371] Alpha Planes affecting 2DFilters
disabling GL_Blend at the 2dfilter drawing routine makes the trick here. there is not a clear function invoked before the 2dfilter drawing routine. Therefore I found better to disable alpha blending while we are setting the other OpenGl attributes/matrixes.

We are not re-enabling GL_BLEND after we disable it. We could and it wouldn't hurt but I can't see why to. open to suggestions here of course.
------------------------------------------------------------------------
r32419 | campbellbarton | 2010-10-11 22:53:20 +0200 (Mon, 11 Oct 2010) | 3 lines

[#23709] Blur node on Flat blurs even at 0 by 0 pixel spread
skip blur x/y when either is set to zero.

------------------------------------------------------------------------
r32418 | nazgul | 2010-10-11 20:53:11 +0200 (Mon, 11 Oct 2010) | 4 lines

Fix #24215: Bad shorcut indication for Bezier curve handles.

All existing handle type manipulation hotkeys replaced with unified V-menu
where you could directoly set type you need.
------------------------------------------------------------------------
r32417 | dfelinto | 2010-10-11 20:47:28 +0200 (Mon, 11 Oct 2010) | 1 line

make file update for recent bge.render.makeScreenshot commit
------------------------------------------------------------------------
r32416 | jesterking | 2010-10-11 14:38:52 +0200 (Mon, 11 Oct 2010) | 3 lines

COLLADA

Export unit system and scale instead of hard-coded 1 decimeter.
------------------------------------------------------------------------
r32414 | dfelinto | 2010-10-11 12:47:20 +0200 (Mon, 11 Oct 2010) | 7 lines

BGE object.life - gives you the life countdown for temporary objects.
Whenever using AddObject actuator, this feature gives you control over morbid events (a.k.a. trigger events before the object ends).

Demo file here:
http://blenderecia.orgfree.com/blender/tmp/cube_life.blend

Feature implemented as part of the BGE development workshop in BlenderPRO 2010 - Fortaleza, Brazil
------------------------------------------------------------------------
r32413 | jhk | 2010-10-11 12:40:34 +0200 (Mon, 11 Oct 2010) | 3 lines

Fix for [#20064] Cloth simulation doesn't stop when marker is set back to frame 1 after exiting mesh edit.
* First frame was dropped some times when animation was running because clicking "go to start/end frame" changed the current frame directly.
* Now only the animtimer changes the frame and clicking the "go to" queues the next frame for animtimer.
------------------------------------------------------------------------
r32412 | jesterking | 2010-10-11 11:52:25 +0200 (Mon, 11 Oct 2010) | 1 line

Add note about Inv Quad falloff of lamp that there seems to be a hack in use.
------------------------------------------------------------------------
r32411 | jhk | 2010-10-11 11:02:19 +0200 (Mon, 11 Oct 2010) | 2 lines

Fix for [#24195] Cloth modifier doesn't work after changing subsurf on the object
* Cloth has to reset itself properly on vertex count changes as it can be after a constructive modifier (unlike softbody)
------------------------------------------------------------------------
r32409 | jesterking | 2010-10-11 10:03:28 +0200 (Mon, 11 Oct 2010) | 1 line

Revert r32330 and reopening #24184. The change breaks input where modifier key is used to create a character.
------------------------------------------------------------------------
r32407 | campbellbarton | 2010-10-11 06:52:40 +0200 (Mon, 11 Oct 2010) | 2 lines

bones were not being metaclassed properly so that custom rna prop's couldn't be set.

------------------------------------------------------------------------
r32406 | campbellbarton | 2010-10-11 06:00:33 +0200 (Mon, 11 Oct 2010) | 2 lines

bugfix [#20761] Bones/Armature: "Inherit Scale" doesn't work if "Inherit Rotation" is disabled

------------------------------------------------------------------------
r32405 | campbellbarton | 2010-10-11 04:05:44 +0200 (Mon, 11 Oct 2010) | 2 lines

bugfix [#24190] Extrude Faces called from Alt+ E_key menu don't works well

------------------------------------------------------------------------
r32404 | campbellbarton | 2010-10-11 02:15:49 +0200 (Mon, 11 Oct 2010) | 5 lines

[#24045] heat weight fails on specific geometry.
The error for heat weighting was only being printed in the console, while the problem remains at least a warning is now given that there was a problem calculating the heat weight.

also fixed a memory leak from the mesh octree not being freed after assigning vertex groups. (ModNode error)

------------------------------------------------------------------------
r32403 | campbellbarton | 2010-10-11 01:37:25 +0200 (Mon, 11 Oct 2010) | 2 lines

bugfix [#24214] F6 "last operator" panel repeatable segmentation fault

------------------------------------------------------------------------
r32401 | campbellbarton | 2010-10-11 01:11:34 +0200 (Mon, 11 Oct 2010) | 3 lines

bugfix [#23412] Weightpaint and rotate around bones
fixed by allowing an unselected armature to have its pose bones used in weightpaint mode.

------------------------------------------------------------------------
r32399 | campbellbarton | 2010-10-11 00:15:48 +0200 (Mon, 11 Oct 2010) | 2 lines

weight-paint in solid draw mode would draw the wire twice, also change wire drawing to draw all edges and better visibility over yellow areas.

------------------------------------------------------------------------
r32398 | campbellbarton | 2010-10-10 23:39:24 +0200 (Sun, 10 Oct 2010) | 3 lines

[#24204] Packing of image sequence does not work
this isnt supported but at least display a warning.

------------------------------------------------------------------------
r32397 | campbellbarton | 2010-10-10 22:59:30 +0200 (Sun, 10 Oct 2010) | 2 lines

building without python works again for the BGE

------------------------------------------------------------------------
r32392 | campbellbarton | 2010-10-10 09:01:56 +0200 (Sun, 10 Oct 2010) | 2 lines

enable building the game engine without bullet for scons & cmake

------------------------------------------------------------------------
r32390 | jesterking | 2010-10-09 23:31:32 +0200 (Sat, 09 Oct 2010) | 1 line

Fix compiling for MingW too.
------------------------------------------------------------------------
r32389 | jesterking | 2010-10-09 23:17:14 +0200 (Sat, 09 Oct 2010) | 5 lines

COLLADA

Import unit_settings to scene.

Note: I use here RNA to do this, and I think I might slowly work on replacing low-level DNA usage with RNA where possible.
------------------------------------------------------------------------
r32387 | dfelinto | 2010-10-09 15:46:34 +0200 (Sat, 09 Oct 2010) | 8 lines

patch [#24178] bge.render.makeScreeshot - with help from Campbell(ideasman42)
This patch brings back the old functionality from Blender 2.49.
However we are forcing the format to be PNG only (as we had previously on blenderplayer).

Note: If letterboxing is on, we are recording only the camera area of the canvas (cool hein?).
Note2: I have a feeling that this is faster than what we had in 2.49 (which was really slow imo). Maybe it could be even faster if we disable PNG compression. Maybe an option for the future.

* patch finalized and committed as part of the BlenderPRO 2010 - BGE development workshop :) *
------------------------------------------------------------------------
r32386 | campbellbarton | 2010-10-09 12:45:25 +0200 (Sat, 09 Oct 2010) | 3 lines

patch [#23781] Dynamically Load Actions
from Mitchell Stokes (moguri)

------------------------------------------------------------------------
r32385 | moguri | 2010-10-09 03:31:20 +0200 (Sat, 09 Oct 2010) | 1 line

Fixing a memory leak with SCA_PythonKeyboard and SCA_PythonMouse.
------------------------------------------------------------------------
r32384 | campbellbarton | 2010-10-09 00:33:43 +0200 (Sat, 09 Oct 2010) | 2 lines

bugfix [#23868] NodeGroup font resolution problem when editing it

------------------------------------------------------------------------
r32383 | campbellbarton | 2010-10-08 23:18:08 +0200 (Fri, 08 Oct 2010) | 2 lines

 fix for operator cheat sheet, recent description order change broke it.

------------------------------------------------------------------------
r32382 | jesterking | 2010-10-08 22:40:42 +0200 (Fri, 08 Oct 2010) | 1 line

c++ -> C++
------------------------------------------------------------------------
r32381 | jesterking | 2010-10-08 22:39:56 +0200 (Fri, 08 Oct 2010) | 1 line

Enable CXX_GUARDEDALLOC support through SCons.
------------------------------------------------------------------------
r32380 | jhk | 2010-10-08 15:08:13 +0200 (Fri, 08 Oct 2010) | 6 lines

Fix for [#24092] F-Curve Cycle doesn't behave properly at end of Cycles (also: possible problem with how the cycle range is determined)
* Cycle code had difficulties handling the transitions from one cycle iteration to the next one.
* Now the transition frames are handled manually so that:
    - cycles before the actual fcurve data respect the first datapoint
    - cycles after the fcurve data respect the last datapoint
* Also fixes a bug where the count of "before" cycles was off by one from the given value.
------------------------------------------------------------------------
r32379 | campbellbarton | 2010-10-08 14:16:03 +0200 (Fri, 08 Oct 2010) | 2 lines

fix for console selection when pasting.

------------------------------------------------------------------------
r32378 | campbellbarton | 2010-10-08 13:33:10 +0200 (Fri, 08 Oct 2010) | 5 lines

bugfix [#24179] Button "Loop Cut and Slide" on Mesh Tools not work

also added a message in the tooltip to say `why` a buttons disabled.
depends on the operators poll setting the message.

------------------------------------------------------------------------
r32376 | jhk | 2010-10-08 10:56:04 +0200 (Fri, 08 Oct 2010) | 3 lines

"Fix" for [#23863] Smoke Voxel Data Still Frame Number doesn't work
* Not supported currently so hidden in ui.
* Could be a nice option for later, but will need some proper thought put into the implementation.
------------------------------------------------------------------------
r32375 | campbellbarton | 2010-10-08 10:07:52 +0200 (Fri, 08 Oct 2010) | 2 lines

final fix for curve-axis modifier flipping, this is ridiculous!

------------------------------------------------------------------------
r32374 | campbellbarton | 2010-10-08 10:04:06 +0200 (Fri, 08 Oct 2010) | 2 lines

fix for an error in last commit with -Z tracking & curve modifier flipping

------------------------------------------------------------------------
r32373 | campbellbarton | 2010-10-08 09:36:33 +0200 (Fri, 08 Oct 2010) | 2 lines

quat_apply_track had incomplete comments

------------------------------------------------------------------------
r32372 | campbellbarton | 2010-10-08 09:29:08 +0200 (Fri, 08 Oct 2010) | 3 lines

bugfix [#21483] Twisting when Dupliframing a Surface Circle (Nurbs) along a Curve.
use the curve's twist for follow path constraint and parent-path.

------------------------------------------------------------------------
r32369 | campbellbarton | 2010-10-08 05:50:01 +0200 (Fri, 08 Oct 2010) | 2 lines

fix for error in track rotation, found while looking into adding an up axis to this function.

------------------------------------------------------------------------
r32368 | nazgul | 2010-10-08 04:48:24 +0200 (Fri, 08 Oct 2010) | 1 line

Fix #23358: template_curve_mapping doesn't work in split views
------------------------------------------------------------------------
r32367 | campbellbarton | 2010-10-08 04:08:11 +0200 (Fri, 08 Oct 2010) | 2 lines

move tracking functions into math_rotation.c (no functional changes)

------------------------------------------------------------------------
r32366 | campbellbarton | 2010-10-08 01:17:14 +0200 (Fri, 08 Oct 2010) | 3 lines

bugfix [#21610] alt-r for bone (reset rotation) doesnt work in weight painting mode
pose operators now run in weightpaint mode when the weight paint objects pose armature is in pose mode.

------------------------------------------------------------------------
r32365 | campbellbarton | 2010-10-07 23:25:05 +0200 (Thu, 07 Oct 2010) | 2 lines

append was using a freed Main pointer to refer to the curlib when instancing group objects and centering objects around the cursor.

------------------------------------------------------------------------
r32364 | nazgul | 2010-10-07 18:41:42 +0200 (Thu, 07 Oct 2010) | 8 lines

Fix #24167: Timeline keyframes don't update when selecting objects from outliner

Based on patch from Alexander Kuznetsov. Own changes:
- Keyframes in timelime depends on active object, so timelime better be
  listeing to ND_OB_ACTIVE notifier rather than ND_OB_SELECT
- When scene is changing in this operator NC_WINDOW notifier would be send
  and the whole interface would be redrawed, so no need in ND_OB_ACTIVE in
  this case
------------------------------------------------------------------------
r32363 | nazgul | 2010-10-07 14:18:09 +0200 (Thu, 07 Oct 2010) | 1 line

Fix #24180: Make duplicates real doesn't update immediatly the outliner
------------------------------------------------------------------------
r32362 | jhk | 2010-10-07 12:57:21 +0200 (Thu, 07 Oct 2010) | 2 lines

Fix for [#22250] Retopo projects to the wrong object when multiple objects are behind.
* Scaling of objects wasn't properly taken into account when projecting the verts.
------------------------------------------------------------------------
r32361 | campbellbarton | 2010-10-07 12:04:07 +0200 (Thu, 07 Oct 2010) | 2 lines

misc fixes found with clang's static checker.

------------------------------------------------------------------------
r32360 | gsrb3d | 2010-10-07 03:20:59 +0200 (Thu, 07 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32359 | jesterking | 2010-10-07 02:24:42 +0200 (Thu, 07 Oct 2010) | 1 line

COLLADA: Split EffectsExporter into separate files.
------------------------------------------------------------------------
r32358 | campbellbarton | 2010-10-07 02:14:21 +0200 (Thu, 07 Oct 2010) | 3 lines

bugfix [#24158] Object text fields immediately search based on existing content
also remove some unused struct members from uiBlock/uiBut.

------------------------------------------------------------------------
r32357 | campbellbarton | 2010-10-07 00:29:34 +0200 (Thu, 07 Oct 2010) | 2 lines

bugfix [#24155] Operator Cheat Sheet doesn't work properly

------------------------------------------------------------------------
r32356 | campbellbarton | 2010-10-06 23:54:30 +0200 (Wed, 06 Oct 2010) | 4 lines

remove calls to WM_event_add_mousemove r22031, from view2d operators since it would cause a feedback loop where the operator apply function would keep using mousemove events and creating them.

This was added for view updates but think it needs to be solved a better way.

------------------------------------------------------------------------
r32355 | gsrb3d | 2010-10-06 22:40:16 +0200 (Wed, 06 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32354 | campbellbarton | 2010-10-06 22:39:50 +0200 (Wed, 06 Oct 2010) | 2 lines

bugfix [#24168] verts[] was replaced with vertices[] but gives the old info to user.

------------------------------------------------------------------------
r32353 | campbellbarton | 2010-10-06 22:29:00 +0200 (Wed, 06 Oct 2010) | 2 lines

bugfix [#23988] The Maya preset as default

------------------------------------------------------------------------
r32352 | campbellbarton | 2010-10-06 20:51:07 +0200 (Wed, 06 Oct 2010) | 2 lines

bugfix [#24157] AddPresetBase class writes incorrect values for float_vector properties

------------------------------------------------------------------------
r32351 | jesterking | 2010-10-06 18:23:52 +0200 (Wed, 06 Oct 2010) | 1 line

COLLADA: Split ImagesExporter into separate files.
------------------------------------------------------------------------
r32350 | campbellbarton | 2010-10-06 16:53:13 +0200 (Wed, 06 Oct 2010) | 2 lines

remove unused vol_get_density() call.

------------------------------------------------------------------------
r32349 | campbellbarton | 2010-10-06 16:47:40 +0200 (Wed, 06 Oct 2010) | 3 lines

minor edits so traceray() uses less stack memory, also remove memset() usage, initialize as {0}.
no functional change.

------------------------------------------------------------------------
r32348 | campbellbarton | 2010-10-06 16:17:28 +0200 (Wed, 06 Oct 2010) | 4 lines

bugfix [#23311] Half a colour picker appears

all popups which are positioned based on an existing button are now clamped to window bounds.

------------------------------------------------------------------------
r32347 | jesterking | 2010-10-06 15:55:50 +0200 (Wed, 06 Oct 2010) | 2 lines

GCC fixes for r32346

------------------------------------------------------------------------
r32346 | jesterking | 2010-10-06 15:21:08 +0200 (Wed, 06 Oct 2010) | 1 line

COLLADA: Split MaterialsExporter into separate files.
------------------------------------------------------------------------
r32345 | jesterking | 2010-10-06 14:04:56 +0200 (Wed, 06 Oct 2010) | 1 line

Assorted GCC fixes for OpenCOLLADA support
------------------------------------------------------------------------
r32344 | jesterking | 2010-10-06 13:02:44 +0200 (Wed, 06 Oct 2010) | 1 line

COLLADA: Split ArmatureExporter, InstanceWriter and TransformWriter into separate files.
------------------------------------------------------------------------
r32343 | jhk | 2010-10-06 12:09:44 +0200 (Wed, 06 Oct 2010) | 3 lines

Fix for [#22236] Seg Fault when rendering sequence with speed effect, [#24160] VSE crash
* Override the default render name in the case of the sequence renderer scene being included as a strip in the sequencer.
* Somebody with deeper insight to the rendering pipeline should probably check if this is the best way to handle this.
------------------------------------------------------------------------
r32342 | campbellbarton | 2010-10-06 12:00:15 +0200 (Wed, 06 Oct 2010) | 3 lines

[#24063] Error in RNA naming in SequenceCrop.min_x/y ;
[#24153] Typo

------------------------------------------------------------------------
r32341 | jesterking | 2010-10-06 11:53:06 +0200 (Wed, 06 Oct 2010) | 2 lines

COLLADACOLLADA exporter: split geometry export into own files.

------------------------------------------------------------------------
r32340 | campbellbarton | 2010-10-06 11:21:40 +0200 (Wed, 06 Oct 2010) | 3 lines

patch [#24162] r32332 missed a couple of command key changes - with fix
from Shane Ambler (sambler)

------------------------------------------------------------------------
r32339 | jhk | 2010-10-06 09:57:55 +0200 (Wed, 06 Oct 2010) | 1 line

Fix for [#24134] pointcache memory error (crash)
------------------------------------------------------------------------
r32338 | jesterking | 2010-10-06 09:13:42 +0200 (Wed, 06 Oct 2010) | 1 line

COLLADA exporter: split camera and light export into own files.
------------------------------------------------------------------------
r32337 | moguri | 2010-10-06 02:36:12 +0200 (Wed, 06 Oct 2010) | 1 line

Campbell requested that I remove one of the bge.events.RETKEY aliases, so I'm removing bge.events.RETURNKEY.
------------------------------------------------------------------------
r32336 | theeth | 2010-10-06 01:14:31 +0200 (Wed, 06 Oct 2010) | 5 lines

[#24123] Network render gives black images

Error with buffer handling when reading response.

Also fix bug with blendfile relative path (wasn't converting them properly).
------------------------------------------------------------------------
r32335 | theeth | 2010-10-06 00:32:29 +0200 (Wed, 06 Oct 2010) | 1 line

Unhide confirm on release property (otherwise, it's not easily modifiable in the keymap editor).
------------------------------------------------------------------------
r32334 | campbellbarton | 2010-10-05 23:22:33 +0200 (Tue, 05 Oct 2010) | 2 lines

remove some unused code and reduced the scope if some vars (no functional change).

------------------------------------------------------------------------
r32333 | campbellbarton | 2010-10-05 21:14:41 +0200 (Tue, 05 Oct 2010) | 2 lines

bugfix [#24151] AddPresetBase class does not add Color import when saving color properties

------------------------------------------------------------------------
r32332 | campbellbarton | 2010-10-05 21:10:15 +0200 (Tue, 05 Oct 2010) | 2 lines

rename Command key to OSKey, Window manager already called it the OSKey but internally it was mixed.

------------------------------------------------------------------------
r32331 | moguri | 2010-10-05 21:05:09 +0200 (Tue, 05 Oct 2010) | 1 line

Updating the bge.types docs to note which KX_GameObject attributes return mathutils objects. Also adding localLinearVelocity, worldLinearVelocity, localAngularVelocity, and worldAngularVelocity to the KX_GameObject docs.
------------------------------------------------------------------------
r32330 | campbellbarton | 2010-10-05 20:35:02 +0200 (Tue, 05 Oct 2010) | 3 lines

bugfix [#24148] unable to get keyboard mappings to work in the text window
this exposes another problem: RNA_property_is_set cant be used on properties set from a keymap, they are always set. for now check for string length.

------------------------------------------------------------------------
r32329 | nazgul | 2010-10-05 18:43:01 +0200 (Tue, 05 Oct 2010) | 1 line

Scons options for static linking to libsamplerate, sndfile and fftw3
------------------------------------------------------------------------
r32328 | campbellbarton | 2010-10-05 17:44:58 +0200 (Tue, 05 Oct 2010) | 3 lines

patch [#24125] Fix for Slider Widget (UI)
from Alexander Kuznetsov (alexk)

------------------------------------------------------------------------
r32327 | campbellbarton | 2010-10-05 17:29:06 +0200 (Tue, 05 Oct 2010) | 2 lines

patch [#24146] UV layout selection menu in UV editor ala CTRL+TAB in edit mode

------------------------------------------------------------------------
r32326 | jesterking | 2010-10-05 15:39:45 +0200 (Tue, 05 Oct 2010) | 1 line

Enable lcms support on Windows.
------------------------------------------------------------------------
r32323 | campbellbarton | 2010-10-05 15:15:58 +0200 (Tue, 05 Oct 2010) | 3 lines

bugfix [#24122] Shift-C doesn't work in "Camera View"
also fixed some glitches with smoothview.

------------------------------------------------------------------------
r32322 | nazgul | 2010-10-05 13:55:54 +0200 (Tue, 05 Oct 2010) | 4 lines

Fix #24135: Material modification not immediately updated in Outliner

Also fixed outliner update when changing active_material_index from Py and
when selecting texture from UI
------------------------------------------------------------------------
r32321 | campbellbarton | 2010-10-05 13:25:34 +0200 (Tue, 05 Oct 2010) | 4 lines

bugfix [#23506] Bevel Modifier display problem
This is a more general problem that drawing functions would skip faces when the original index could not be found, screw result for example wasnt visible in editmode too.
Fixed by adding a material set argument to DerivedMesh->drawMappedFaces(), this was already being done in some of the other drawing functions.

------------------------------------------------------------------------
r32320 | campbellbarton | 2010-10-05 13:16:07 +0200 (Tue, 05 Oct 2010) | 3 lines

- fix for crash when drawing a subsurf after a modifier that lost original indices (bevel/screw/decimate)
- fix for own mistake used madd_v3_v3fl rather then mul_v3_v3fl, r32241.

------------------------------------------------------------------------
r32319 | jhk | 2010-10-05 12:45:54 +0200 (Tue, 05 Oct 2010) | 2 lines

"Fix" for [#24115] Offset animation on object with particules system doesn't work like 2.49
* Object time offset is not supported for particles anymore, something that enables similar functionality will have to be coded later.
------------------------------------------------------------------------
r32318 | campbellbarton | 2010-10-05 12:23:25 +0200 (Tue, 05 Oct 2010) | 2 lines

build-fix [#24142] path changes break osx

------------------------------------------------------------------------
r32317 | jhk | 2010-10-05 11:32:35 +0200 (Tue, 05 Oct 2010) | 1 line

Fix for [#24107] Hair/General particle glitch- Presets
------------------------------------------------------------------------
r32316 | nazgul | 2010-10-05 09:22:44 +0200 (Tue, 05 Oct 2010) | 1 line

Fixed own typo in last commit to curve RNA
------------------------------------------------------------------------
r32314 | jesterking | 2010-10-05 08:10:17 +0200 (Tue, 05 Oct 2010) | 1 line

TextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as per my own patch on OpenCOLLADA issue tracker.
------------------------------------------------------------------------
r32311 | moguri | 2010-10-05 07:44:15 +0200 (Tue, 05 Oct 2010) | 5 lines

A bit of bge.events work:
  * A few places in the bge.events docs mentioned bge.keys, when it should have been bge.events
  * Created two aliases to bge.events.RETKEY: ENTERKEY and RETURNKEY
  * ENTERKEY and RETURNKEY have been added to the docs and RETKEY marked as deprecated
  * Added an example of using bge.logic.keyboard to the bge.events docs
------------------------------------------------------------------------
r32310 | gsrb3d | 2010-10-05 02:49:39 +0200 (Tue, 05 Oct 2010) | 2 lines

SVN maintenance.

------------------------------------------------------------------------
r32309 | jesterking | 2010-10-05 02:05:14 +0200 (Tue, 05 Oct 2010) | 4 lines

Reorganisation of COLLADA import code. Classes have been split into their own files.
No functional changes.

Where necessary extern "C" {} blocks have been added.
------------------------------------------------------------------------
r32308 | jesterking | 2010-10-05 01:52:53 +0200 (Tue, 05 Oct 2010) | 1 line

Update stubs for recent changes (BKE_utildefines.h and header printing).
------------------------------------------------------------------------
r32307 | campbellbarton | 2010-10-04 21:01:25 +0200 (Mon, 04 Oct 2010) | 4 lines

bugfix [#24133] r32303, Mirror Modifier + EditMode + VBO's Problem.
drawing the triangle arrays were only broken up by hidden faces, but switches in material were ignored.
now check for materual context changes.

------------------------------------------------------------------------
r32305 | campbellbarton | 2010-10-04 17:31:04 +0200 (Mon, 04 Oct 2010) | 2 lines

[#22825] Copy Scenes with Audio Strip Crash.

------------------------------------------------------------------------
r32303 | campbellbarton | 2010-10-04 14:02:18 +0200 (Mon, 04 Oct 2010) | 2 lines

fix for copy in the console (wasnt taking the prompt into account)

------------------------------------------------------------------------
r32302 | campbellbarton | 2010-10-04 13:42:39 +0200 (Mon, 04 Oct 2010) | 2 lines

 revert r32284, turns out OpenSuse needs this for forkpty(), also fixed missing import with 3ds export.

------------------------------------------------------------------------
r32300 | nazgul | 2010-10-04 12:06:18 +0200 (Mon, 04 Oct 2010) | 1 line

Recalc knots when toggling nurb cyclic flags
------------------------------------------------------------------------
r32299 | jhk | 2010-10-04 10:48:50 +0200 (Mon, 04 Oct 2010) | 2 lines

Fix for [#24118] Hair particles can not be edited
* Own mistake from a previous fix.
------------------------------------------------------------------------
r32297 | kazanbas | 2010-10-04 05:38:37 +0200 (Mon, 04 Oct 2010) | 2 lines

COLLADA exporter fix: do not create a duplicate <polylist> if an object has NULL materials linked along with normal materials.

------------------------------------------------------------------------
r32296 | campbellbarton | 2010-10-04 03:18:47 +0200 (Mon, 04 Oct 2010) | 3 lines

- use own string conversion function over PyUnicode_FromString when converting the argv
- report errors when files dont load when given from the command line but not running in background mode.

------------------------------------------------------------------------
r32295 | campbellbarton | 2010-10-04 02:40:48 +0200 (Mon, 04 Oct 2010) | 2 lines

fix for building over samba /w cmake+mingw

------------------------------------------------------------------------
r32293 | campbellbarton | 2010-10-04 01:29:43 +0200 (Mon, 04 Oct 2010) | 2 lines

typo in function prefix.

------------------------------------------------------------------------
r32292 | campbellbarton | 2010-10-04 01:27:33 +0200 (Mon, 04 Oct 2010) | 2 lines

cmake/mingw was missing defines.

------------------------------------------------------------------------
r32287 | campbellbarton | 2010-10-03 23:13:52 +0200 (Sun, 03 Oct 2010) | 4 lines

changes to path searching
- don't search CWD/foldername anymore, only CWD/2.54/foldername, since this is the new default build systems use.
- local source paths (./release/scripts) are now treated as system path, otherwise when this is used you cant test ~/.blender/2.54/scripts at the same time.

------------------------------------------------------------------------
r32285 | campbellbarton | 2010-10-03 22:00:22 +0200 (Sun, 03 Oct 2010) | 5 lines

bugfix [#24087] Blender can not install add-ons unless running with root priviledges
now addon path is created using the same path functions and selecting where to save the startup.blend

also made some minor changes to path handling funcs.

------------------------------------------------------------------------
r32284 | campbellbarton | 2010-10-03 20:45:27 +0200 (Sun, 03 Oct 2010) | 3 lines

linking libutil isnt needed on my system, possibly this is deprecated?,
testing this on other linux systems isnt so easy but will hear about it if this breaks.

------------------------------------------------------------------------
r32279 | gsrb3d | 2010-10-03 18:39:07 +0200 (Sun, 03 Oct 2010) | 2 lines

Fix attribution, as noticed by Dalai Felinto.

------------------------------------------------------------------------
r32278 | gsrb3d | 2010-10-03 18:30:10 +0200 (Sun, 03 Oct 2010) | 2 lines

Add include directive so buildinfo compilation can find defines, see r32271.

------------------------------------------------------------------------
r32276 | campbellbarton | 2010-10-03 18:16:00 +0200 (Sun, 03 Oct 2010) | 2 lines

build systems have been updated, remove use of ~/.blender/  directly, ~/.blender/*version*/ instead.

------------------------------------------------------------------------
r32275 | campbellbarton | 2010-10-03 16:16:27 +0200 (Sun, 03 Oct 2010) | 2 lines

added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed some warnings.

------------------------------------------------------------------------
r32274 | campbellbarton | 2010-10-03 14:22:33 +0200 (Sun, 03 Oct 2010) | 3 lines

bugfix [#24116] UV layout exporting doesnt work
in-fact this is unrelated to UV Layout script, just a missing check for an bad state.

------------------------------------------------------------------------
r32273 | campbellbarton | 2010-10-03 13:33:44 +0200 (Sun, 03 Oct 2010) | 2 lines

fix for scons with recent buildinfo change

------------------------------------------------------------------------
r32271 | campbellbarton | 2010-10-03 03:44:00 +0200 (Sun, 03 Oct 2010) | 4 lines

- rna bugfix where ints were not clamped and would overflow, now raise an error and print valid range.
- fixed WM_OT_context_cycle_int was causing problems with int overflow, now it cycles properly.
- rename QUOTE macro to STRINGIFY_ARG, and added STRINGIFY, which is used more often since it gives the value as a string.

------------------------------------------------------------------------
r32270 | moguri | 2010-10-03 03:32:01 +0200 (Sun, 03 Oct 2010) | 1 line

Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out.
------------------------------------------------------------------------
r32269 | campbellbarton | 2010-10-03 00:31:48 +0200 (Sun, 03 Oct 2010) | 2 lines

python console prompt + edit line is how selectable.

------------------------------------------------------------------------
r32268 | campbellbarton | 2010-10-02 23:02:40 +0200 (Sat, 02 Oct 2010) | 4 lines

py/rna access to setting the header text - can be used in modal operators.
eg: context.area.header_text_set("Some Text")
 included example in the view3d modal operator template.

------------------------------------------------------------------------
r32267 | jesterking | 2010-10-02 22:31:54 +0200 (Sat, 02 Oct 2010) | 2 lines

Redraw object buttons on next/previous frame in 3dview, otherwise for instance
Transform panel won't get updated for keyed objects.
------------------------------------------------------------------------
r32266 | campbellbarton | 2010-10-02 21:45:53 +0200 (Sat, 02 Oct 2010) | 2 lines

set the view3d used layer to be an unsigned int, mask out localview layers to avoid flag mismatch when checking if it changed.

------------------------------------------------------------------------
r32265 | campbellbarton | 2010-10-02 21:38:09 +0200 (Sat, 02 Oct 2010) | 2 lines

for view layer calculation, only break early if all layers are set, was breaking if any layer was set.

------------------------------------------------------------------------
r32264 | blendix | 2010-10-02 21:31:58 +0200 (Sat, 02 Oct 2010) | 4 lines

Fix #22348: disabled image editor curves on non-float images, this never
worked correct, only got enabled accidentally in 2.5 port.


------------------------------------------------------------------------
r32263 | campbellbarton | 2010-10-02 21:31:23 +0200 (Sat, 02 Oct 2010) | 2 lines

make fly mode border draw into a area drawing callback rather then using a flag (no functional change).

------------------------------------------------------------------------
r32262 | campbellbarton | 2010-10-02 21:06:20 +0200 (Sat, 02 Oct 2010) | 2 lines

move window matrix translation into its own function. (no functional changes)

------------------------------------------------------------------------
r32261 | campbellbarton | 2010-10-02 20:25:12 +0200 (Sat, 02 Oct 2010) | 2 lines

fix for last commit, was using the window area size rather then the image size to make the window matrix.

------------------------------------------------------------------------
r32260 | campbellbarton | 2010-10-02 19:10:28 +0200 (Sat, 02 Oct 2010) | 4 lines

Anti-Aliasing support for opengl render (belated durian todo),
Simple FSA accumulation method means no fancy opengl features needed.
Fixed at 5 samples per pixel for now.

------------------------------------------------------------------------
r32259 | blendix | 2010-10-02 18:42:12 +0200 (Sat, 02 Oct 2010) | 4 lines

Fix #23785: in the game engine, if an object had an armature modifier + another
modifier, it would apply the armature deformation twice.


------------------------------------------------------------------------
r32258 | dingto | 2010-10-02 18:29:58 +0200 (Sat, 02 Oct 2010) | 1 line

Small CMAKE Fix, discovered by freakabcd in IRC.
------------------------------------------------------------------------
r32257 | dingto | 2010-10-02 18:19:33 +0200 (Sat, 02 Oct 2010) | 1 line

* Script wasn't updated after "Load Factory Settings" Operator decoupling.
------------------------------------------------------------------------
r32256 | nexyon | 2010-10-02 17:27:55 +0200 (Sat, 02 Oct 2010) | 4 lines

Fix for [#24051] Scrubbing Timeline in VSE with Jack Audio doesn't scrub just plays the audio track

There were actually two bugs, the one reported and that the Sync Callback never has been called after someone had to add #ifdefs around the call without checking that the build systems are even configured to add the needed definition, am I right Cam? :P

------------------------------------------------------------------------
r32255 | blendix | 2010-10-02 16:45:56 +0200 (Sat, 02 Oct 2010) | 3 lines

Fix for last fix, should have checked it actually worked :)


------------------------------------------------------------------------
r32254 | blendix | 2010-10-02 16:40:53 +0200 (Sat, 02 Oct 2010) | 5 lines

Fix #24077: convert operator not updating outliner. Note about notifiers:
NC_SCENE|NC_OBJECT does not work, you can only have one NC/ND/NA in a
single notifier, if you need to do both, use two notifiers.


------------------------------------------------------------------------
r32253 | blendix | 2010-10-02 16:32:03 +0200 (Sat, 02 Oct 2010) | 7 lines

Most likely fix for #23420: viewer node: loses viewer nodes forever.

Related to another bug fixed recently, both viewer + split viewer
could be set to output to the same image. That also could make node
tree localization/sync go wrong.


------------------------------------------------------------------------
r32252 | blendix | 2010-10-02 16:17:20 +0200 (Sat, 02 Oct 2010) | 6 lines

Fix #24095: user preferences theme colors didn't match exactly with what
was drawn. Problem was that these were not set to be in gamma space. Also
needed to fix automatic 0..255 to 0..1 range conversion for PROP_COLOR_GAMMA,
was only working for PROP_COLOR.


------------------------------------------------------------------------
r32251 | blendix | 2010-10-02 16:08:09 +0200 (Sat, 02 Oct 2010) | 5 lines

Fix #24103: copy logic bricks to objects with the same data didn't work.
Don't know why this check was here, it wasn't there in 2.49 and it's not
necessary.


------------------------------------------------------------------------
r32250 | blendix | 2010-10-02 15:57:38 +0200 (Sat, 02 Oct 2010) | 4 lines

Fix #24096: shift+A add menu not working in pose mode. Useful to have it
here too for rigging.


------------------------------------------------------------------------
r32249 | blendix | 2010-10-02 15:52:46 +0200 (Sat, 02 Oct 2010) | 3 lines

Fix warning in collada operator after a recent commit.


------------------------------------------------------------------------
r32248 | blendix | 2010-10-02 15:45:26 +0200 (Sat, 02 Oct 2010) | 4 lines

Fix #24098: new file and load factory settings sharing same hotkey.
Made these separate operators now, less confusing.


------------------------------------------------------------------------
r32247 | nazgul | 2010-10-02 13:39:11 +0200 (Sat, 02 Oct 2010) | 1 line

Fix #24094: Multiresolution sculpt mode undo crash
------------------------------------------------------------------------
r32246 | blendix | 2010-10-02 12:39:53 +0200 (Sat, 02 Oct 2010) | 5 lines

Fix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
trick can't work with any volumetric effect, so disabled it in case halo is
enabled.


------------------------------------------------------------------------
r32245 | jesterking | 2010-10-02 11:42:35 +0200 (Sat, 02 Oct 2010) | 4 lines

Patch [#23589] Use Author field from User Preferences for COLLADA export.
Submitted by Imran Syed.

When U.author is set, it'll be used instead of default "Blender User".
------------------------------------------------------------------------
r32244 | nazgul | 2010-10-02 11:28:41 +0200 (Sat, 02 Oct 2010) | 3 lines

Fix #23629: Layers doesn't sign there are objects on them, only if the object is selected

Also fixed layer buttons update when changing scene/screen
------------------------------------------------------------------------
r32243 | damien78 | 2010-10-02 11:17:32 +0200 (Sat, 02 Oct 2010) | 2 lines

OSX/Cocoa: Fix [#24068] for correct handling of .blend file names with accented nordic characters

------------------------------------------------------------------------
r32242 | damien78 | 2010-10-02 11:15:32 +0200 (Sat, 02 Oct 2010) | 2 lines

OSX/Cocoa: Mouse up was not sent to WM after window resize

------------------------------------------------------------------------
r32241 | campbellbarton | 2010-10-02 08:34:04 +0200 (Sat, 02 Oct 2010) | 4 lines

- spec hardness was missing redraw update
- missed rna rename in image ui
- use BLI_math functions in gpu_draw.c (no functional changes)

------------------------------------------------------------------------
r32240 | blendix | 2010-10-01 23:56:36 +0200 (Fri, 01 Oct 2010) | 4 lines

Fix #23932: compositing nodes with viewer and split viewer node could
crash, with two threads writing to the same image.


------------------------------------------------------------------------
r32235 | jesterking | 2010-10-01 21:46:42 +0200 (Fri, 01 Oct 2010) | 13 lines

Fix [#21084] Collada messing up geometry on import and renaming uvlayers
Reported by Michael Williamson

Add support to write the uvlayer name as found in <bind_vertex_input> semantic attribute (Blender
exports in this one too, so reimport goes ok now).

I have created a patch for OpenCOLLADA to be applied against r769, which is needed
for this fix to work: http://code.google.com/p/opencollada/issues/detail?id=117

The Windows OpenCOLLADA updated builds (r769+patches) will be committed after this.

Note: This means that linux and osx users will have to patch OpenCOLLADA themselves, until
it's committed (or in case of OSX the libs updated in lib/darwinXXX).
------------------------------------------------------------------------
r32234 | campbellbarton | 2010-10-01 19:55:35 +0200 (Fri, 01 Oct 2010) | 2 lines

fix for crash when using the console to load a file, when the UI changes dont attempt to add to the console's buffer.

------------------------------------------------------------------------
r32233 | campbellbarton | 2010-10-01 19:24:30 +0200 (Fri, 01 Oct 2010) | 2 lines

fix for error in last commit, dna need to know about the ReportList

------------------------------------------------------------------------
r32232 | campbellbarton | 2010-10-01 17:59:34 +0200 (Fri, 01 Oct 2010) | 2 lines

stop dna from parsing structs that aren't used needed.

------------------------------------------------------------------------
r32231 | campbellbarton | 2010-10-01 15:51:48 +0200 (Fri, 01 Oct 2010) | 3 lines

fix [#24083] Crash when opening a certain file
own error in recent commit.

------------------------------------------------------------------------
r32230 | campbellbarton | 2010-10-01 15:30:09 +0200 (Fri, 01 Oct 2010) | 3 lines

minor bugfix [#24085] NULL character is last
so "blah.blend" comes before "blah 1.blend"

------------------------------------------------------------------------
r32229 | campbellbarton | 2010-10-01 15:27:59 +0200 (Fri, 01 Oct 2010) | 2 lines

minor adjustment to camera object drawing so arrow stays same size independent of aspect.

------------------------------------------------------------------------
r32227 | campbellbarton | 2010-10-01 14:25:18 +0200 (Fri, 01 Oct 2010) | 2 lines

3d text added with the view align option didnt work.

------------------------------------------------------------------------
r32226 | jhk | 2010-10-01 11:54:07 +0200 (Fri, 01 Oct 2010) | 1 line

Added RNA conversions to the fcurve/driver fix script from my sequencer speed effect commit.
------------------------------------------------------------------------
r32225 | jesterking | 2010-10-01 10:29:27 +0200 (Fri, 01 Oct 2010) | 1 line

Change <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export).
------------------------------------------------------------------------
r32224 | jesterking | 2010-10-01 10:12:37 +0200 (Fri, 01 Oct 2010) | 3 lines

Add distance check in lasso generation to get a smoother lasso.

Hopefully this helps with lasso select troubles [#21179].
------------------------------------------------------------------------
r32223 | campbellbarton | 2010-10-01 09:49:00 +0200 (Fri, 01 Oct 2010) | 4 lines

attempt to fix [#21179] r26939 - Lasso tool does not work when drawing counter clock wise

can't test this so guessing this is caused by face culling.

------------------------------------------------------------------------
r32222 | campbellbarton | 2010-10-01 07:19:40 +0200 (Fri, 01 Oct 2010) | 2 lines

bugfix [#24065] obj export (mtl image path)

------------------------------------------------------------------------
r32221 | blendix | 2010-10-01 00:27:37 +0200 (Fri, 01 Oct 2010) | 4 lines

Fix #23186: use of unitialized memory when creating new faces on a mesh
with a multires modifier.


------------------------------------------------------------------------
r32220 | blendix | 2010-09-30 23:07:42 +0200 (Thu, 30 Sep 2010) | 3 lines

Fix #24074: shift+MMB didn't pan in image editor like other 2d views.


------------------------------------------------------------------------
r32219 | blendix | 2010-09-30 22:19:54 +0200 (Thu, 30 Sep 2010) | 4 lines

Fix #23540: smoke preview shading only used point lamps, now it uses other
lamps to if no point lamp is available.


------------------------------------------------------------------------
r32218 | blendix | 2010-09-30 20:35:54 +0200 (Thu, 30 Sep 2010) | 5 lines

Fix #24067: sculpt brush/texture preview would disappear when overlapping
with the region boundary. Use glaDrawPixelsSafe like e.g. the image editor
to prevent this.


------------------------------------------------------------------------
r32217 | campbellbarton | 2010-09-30 19:23:39 +0200 (Thu, 30 Sep 2010) | 2 lines

2d grease pencil thickness was double with width it should have been.

------------------------------------------------------------------------
r32216 | campbellbarton | 2010-09-30 17:07:22 +0200 (Thu, 30 Sep 2010) | 3 lines

[#24066] Menu_Items_Greyed
revert fix for bug #24009, this made menu items fail poll()

------------------------------------------------------------------------
r32215 | aligorith | 2010-09-30 14:42:45 +0200 (Thu, 30 Sep 2010) | 6 lines

Action/Shapekey Editor Bugfixes:
* Shapekey editor now shows ID-box for showing and editing the action assigned here. This should help alleviate the misconceptions arising to #23823, where user tries to load shapekey action into Action Editor (context there is ob-action only).

There are still a few minor update bugs that I still need to fix here (i.e. post keyframing) though. Those shouldn't take too long I think.

* Changing the action used in the Action Editor properly decrements the user counts now. This solves the bug where you could get actions with a high usercount, but not that many actual users.
------------------------------------------------------------------------
r32214 | aligorith | 2010-09-30 14:10:18 +0200 (Thu, 30 Sep 2010) | 14 lines

Patch #24056: Indicate keyed status of swatches
Submitted by: Shane Ambler (sambler)

<quote>
From blenderstorm idea# 169 this patch changes the swatch button to display a border showing the keyed status colour
of the colour.

I chose to go with showing the keyed colour in a border around the swatch, insetting the size of the swatch colour to
prevent altering the sizing of the swatch. An un-keyed swatch is not altered visually, only a keyed colour swatch is
changed to have the keyed colour around the outside of the swatch button.

I think a border of 3 pixels is sufficient to make the keyed colour visible without taking too much of the colour area
away.
</quote>
------------------------------------------------------------------------
r32213 | aligorith | 2010-09-30 13:56:39 +0200 (Thu, 30 Sep 2010) | 3 lines

Cleanup of Auto-Keyframing code:

Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.
------------------------------------------------------------------------
r32212 | jesterking | 2010-09-30 13:49:48 +0200 (Thu, 30 Sep 2010) | 1 line

Prevent crash if image for image texture is not set, part II.
------------------------------------------------------------------------
r32211 | jesterking | 2010-09-30 13:42:02 +0200 (Thu, 30 Sep 2010) | 1 line

Prevent crash if image for image texture is not set.
------------------------------------------------------------------------
r32210 | aligorith | 2010-09-30 13:27:47 +0200 (Thu, 30 Sep 2010) | 3 lines

Bugfix #23707: Autokey Available is ignored on a Clear Transform

Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...
------------------------------------------------------------------------
r32209 | campbellbarton | 2010-09-30 12:51:36 +0200 (Thu, 30 Sep 2010) | 8 lines

[#23673] Modifier construction gives correct result in viewport but incorrect in render.

When there are 2+ consecutive deform modifiers, the second modifier was getting incorrect normals, this only showed up for the displace modifier since its the only deform modifier that uses vertex normals.

It would have been easy to fix this by always calculating normals on deform modifiers, but slow.

To fix this I added a function to check if a deform modifier needs normals, so the normal calculation function only runs if there are 2 modifiers in a row and the second uses normals.

------------------------------------------------------------------------
r32208 | aligorith | 2010-09-30 12:39:05 +0200 (Thu, 30 Sep 2010) | 3 lines

Bugfix #23031: adding a driver ontop of keyframe makes driver undeletable

Now drivers cannot be added to properties that have been animated (and visa versa). Previously, the check was only checking if there was a keyframe, not whether the property was animated.
------------------------------------------------------------------------
r32207 | jhk | 2010-09-30 11:34:22 +0200 (Thu, 30 Sep 2010) | 1 line

Sequence effect scale to length should work with the original (non-extruded) length of the target strip.
------------------------------------------------------------------------
r32206 | jesterking | 2010-09-30 09:39:00 +0200 (Thu, 30 Sep 2010) | 1 line

Set IB_multilayer flag, so can use multilayer exr as texture too.
------------------------------------------------------------------------
r32205 | campbellbarton | 2010-09-30 09:31:37 +0200 (Thu, 30 Sep 2010) | 3 lines

bugfix [#24062] draw_view_icon() broken
icons needed adding to the new theme

------------------------------------------------------------------------
r32204 | campbellbarton | 2010-09-30 09:06:00 +0200 (Thu, 30 Sep 2010) | 2 lines

use constant rather then sqrt(2.0)

------------------------------------------------------------------------
r32203 | campbellbarton | 2010-09-30 08:58:19 +0200 (Thu, 30 Sep 2010) | 2 lines

error in last commit

------------------------------------------------------------------------
r32202 | campbellbarton | 2010-09-30 08:51:32 +0200 (Thu, 30 Sep 2010) | 2 lines

rename makeknots to nurbs_knot_calc_u/v

------------------------------------------------------------------------
r32201 | campbellbarton | 2010-09-30 07:26:36 +0200 (Thu, 30 Sep 2010) | 2 lines

cleanup of nurb spin function, was very confusing. no functional changes.

------------------------------------------------------------------------
r32200 | blendix | 2010-09-30 00:13:24 +0200 (Thu, 30 Sep 2010) | 6 lines

Fix #24018: moving backdrop in node editor not working anymore after thread
safety fixes, was one case where it was still using get_ibuf instead of
acquire/release_ibuf, this is required for render and compositing results
which are modified by other threads.


------------------------------------------------------------------------
r32193 | campbellbarton | 2010-09-29 18:18:39 +0200 (Wed, 29 Sep 2010) | 2 lines

fix for nurbs spin tool (broken since being moved to 2.5x).

------------------------------------------------------------------------
r32192 | campbellbarton | 2010-09-29 17:19:16 +0200 (Wed, 29 Sep 2010) | 2 lines

bugfix [#24041] Adding NURBS Sphere and NURBS Donut problem

------------------------------------------------------------------------
r32191 | jhk | 2010-09-29 15:38:43 +0200 (Wed, 29 Sep 2010) | 12 lines

Cleanup of code and ui of sequencer speed effect.
* Sequence speed effect was functional in theory, but very difficult to actually use.
* Now the effect works as follows:
  - "Speed Factor" (formerly "speed fade") controls the current speed of the sequence (can be animated).
  - "Use as speed" (formerly "f-curve velocity") is now the default behavior so that the "speed effect" by default changes the "speed" of the sequence.
  - "Multiply Speed" (formerly "global speed") is a scale factor that's applied to the calculated frame (can't be animated).
  - Without animation "Speed Factor" and "Multiply Speed" work exactly the same (in this case "multiply speed" could perhaps be disabled in ui, but currently there's no easy way to check this).
  - If "Use as speed" is not checked the effect simply remaps the current frame to the given "Frame Number" (can be animated).
  - "Scale to length" (formerly "f-curve compress y")scales "Frame numbers" from 0.0-1.0 to the length of the target strip to allow easy animation.
* Tooltips added for all values and options.
* Code for frame blending was nowhere to be seen, so I commented the option out from ui.
* This should fix at least bugs #20979 and #21309.
------------------------------------------------------------------------
r32190 | campbellbarton | 2010-09-29 14:46:26 +0200 (Wed, 29 Sep 2010) | 2 lines

own changes in recent commit broke curve loading because the curve type checking function looked in the curves listbase.

------------------------------------------------------------------------
r32189 | jesterking | 2010-09-29 14:34:32 +0200 (Wed, 29 Sep 2010) | 4 lines

Fix [#24046] Keyframe display in Timeline isn't updated
Reported by Alex Glawion

Add necessary object selecction notifier handling to redraw timeline properly.
------------------------------------------------------------------------
r32187 | nazgul | 2010-09-29 13:48:03 +0200 (Wed, 29 Sep 2010) | 1 line

Fix #24054: Shift+A add menu in Surface editmode shows curve items.
------------------------------------------------------------------------
r32186 | jesterking | 2010-09-29 13:09:11 +0200 (Wed, 29 Sep 2010) | 1 line

CMake on Windows for project files will now copy correct python dll and correct python modules in place.
------------------------------------------------------------------------
r32184 | jesterking | 2010-09-29 10:27:03 +0200 (Wed, 29 Sep 2010) | 1 line

Forgot to remove these ancient project files :)
------------------------------------------------------------------------
r32183 | jesterking | 2010-09-29 10:24:43 +0200 (Wed, 29 Sep 2010) | 1 line

Remove the project files in favor of CMake, so we won't be maintaining now two ways of using project files.
------------------------------------------------------------------------
r32182 | campbellbarton | 2010-09-29 10:07:58 +0200 (Wed, 29 Sep 2010) | 3 lines

moved mathutils Euler.rotate(angle, axis) --> Euler.rotate_axis(axis, angle)
since it can only rotate about a single axis dont confuse with vector.rotate() which takes an axis vector.

------------------------------------------------------------------------
r32181 | campbellbarton | 2010-09-29 09:55:13 +0200 (Wed, 29 Sep 2010) | 2 lines

bugfix [#24050] Frame Rate buttons look strange

------------------------------------------------------------------------
r32180 | campbellbarton | 2010-09-29 08:24:05 +0200 (Wed, 29 Sep 2010) | 2 lines

fix for user counts with text3d bold/italic fonts.

------------------------------------------------------------------------
r32179 | campbellbarton | 2010-09-29 07:15:55 +0200 (Wed, 29 Sep 2010) | 5 lines

patch from Dan Eicher with some edirts.
  vec.rotate(axis, angle)
equivalent to...
  vec[:] = vec * mathutils.Quaternion(axis, angle)

------------------------------------------------------------------------
r32178 | campbellbarton | 2010-09-28 21:57:47 +0200 (Tue, 28 Sep 2010) | 2 lines

bugfix pointed out by Kris Salaah (own mistake)

------------------------------------------------------------------------
r32177 | campbellbarton | 2010-09-28 21:53:45 +0200 (Tue, 28 Sep 2010) | 2 lines

bugfix [#24040] loop select -> delete edge loop crashes blender

------------------------------------------------------------------------
r32175 | campbellbarton | 2010-09-28 13:48:13 +0200 (Tue, 28 Sep 2010) | 3 lines

[#24028] Minor fixes to BLI_math_vector
+ minor warning fixes.

------------------------------------------------------------------------
r32174 | campbellbarton | 2010-09-28 13:27:42 +0200 (Tue, 28 Sep 2010) | 4 lines

patch [#24034] Fix for [#24010] in 3D view; updates material
from Alexander Kuznetsov (alexk)
fixes [#24010] specular color not updated in 3D window until object selected

------------------------------------------------------------------------
r32173 | campbellbarton | 2010-09-28 13:08:45 +0200 (Tue, 28 Sep 2010) | 2 lines

need to set GL_SHININESS to the default value for weight painting.

------------------------------------------------------------------------
r32172 | jhk | 2010-09-28 12:04:41 +0200 (Tue, 28 Sep 2010) | 1 line

Fix for [#23732] Smoke / load external cache doesn't work
------------------------------------------------------------------------
r32171 | campbellbarton | 2010-09-28 12:03:56 +0200 (Tue, 28 Sep 2010) | 3 lines

images bigger then 32k no longer crash blender, use unsigned int for image size rather then short.
also check if jpeg fails to allocate an imbuf.

------------------------------------------------------------------------
r32170 | jhk | 2010-09-28 11:27:35 +0200 (Tue, 28 Sep 2010) | 2 lines

Fix for own recent commit 32147
* Pointcache wasn't checked to be valid before allocating the cached frames array
------------------------------------------------------------------------
r32169 | jhk | 2010-09-28 11:11:24 +0200 (Tue, 28 Sep 2010) | 1 line

Fix for [#23961] Object hair particles do not render if turned off in viewport
------------------------------------------------------------------------
r32168 | jhk | 2010-09-28 10:47:59 +0200 (Tue, 28 Sep 2010) | 2 lines

Fix for [#24031] Baked Physics with Phsics set to NO can't be freed
* Should fix the cause ("no physics" gets baked) and old files that are effected (ui allows freeing if cache isn't really used)
------------------------------------------------------------------------
r32167 | jesterking | 2010-09-28 10:01:20 +0200 (Tue, 28 Sep 2010) | 1 line

COLLADA: Better import and export of cameras.
------------------------------------------------------------------------
r32166 | campbellbarton | 2010-09-28 06:25:16 +0200 (Tue, 28 Sep 2010) | 2 lines

bugfix [#23908] Irratic manipulator scale at far out distances

------------------------------------------------------------------------
r32165 | jesterking | 2010-09-28 05:26:17 +0200 (Tue, 28 Sep 2010) | 1 line

Make Cycle Render Slot actually cycle through all slots.
------------------------------------------------------------------------
r32164 | jesterking | 2010-09-28 03:20:36 +0200 (Tue, 28 Sep 2010) | 4 lines

Fix [#24038] keyboard navigation not working in second level menus
Reported by David Sullivan

Commit #32066 applying patch [#23675] broke keyboard and mouse wheel navigation in menu in deeper levels.
------------------------------------------------------------------------
r32163 | jesterking | 2010-09-28 02:14:02 +0200 (Tue, 28 Sep 2010) | 1 line

Move copying of %TEMP% to U.tempdir after slash adding. Otherwise path is handled wrong when opening filebrowser for it.
------------------------------------------------------------------------
r32162 | jesterking | 2010-09-28 01:33:10 +0200 (Tue, 28 Sep 2010) | 1 line

.B25.blend -> startup.blend
------------------------------------------------------------------------
r32161 | jesterking | 2010-09-28 01:28:45 +0200 (Tue, 28 Sep 2010) | 1 line

Use content of %TEMP% also in U.temp_dir instead of /tmp/ on Windows. Internal btempdir uses that anyway, so less confusing.
------------------------------------------------------------------------
r32160 | jesterking | 2010-09-28 00:01:06 +0200 (Tue, 28 Sep 2010) | 1 line

Sequencer timeline didn't update on FPS or FPS Base changes in render settings. Missed notifier handling.
------------------------------------------------------------------------
r32159 | jesterking | 2010-09-27 23:22:20 +0200 (Mon, 27 Sep 2010) | 10 lines

Fix [#23977] toggle back to object mode not working (outliner issue)
Reported by Roland Kramer

There was already code to prevent visibility toggle through restrict column from working when in edit mode. Reshuffled
code somewhat so it works also for object operations in outliner. Also ensure operator poll for visibility and selectability toggle
checks object is not in edit mode. So this also works for selectability toggling, so no more toggling when in edit mode - it's confusing otherwise.

Added notifier and handling for it for renderability toggle in outliner. No edit mode restriction here.


------------------------------------------------------------------------
r32158 | campbellbarton | 2010-09-27 22:48:50 +0200 (Mon, 27 Sep 2010) | 2 lines

bugfix, screw modifier was overwriting its own calculated normals of the original verts.

------------------------------------------------------------------------
r32157 | campbellbarton | 2010-09-27 19:22:59 +0200 (Mon, 27 Sep 2010) | 4 lines

minor console fixes
- selection doesnt mess up alignment when text is added to the buffer.
- tab key is now alligned to 4 (rather then adding 4 spaces).

------------------------------------------------------------------------
r32156 | campbellbarton | 2010-09-27 18:35:14 +0200 (Mon, 27 Sep 2010) | 2 lines

bugfix, console text selection /w wrapped lines now works.

------------------------------------------------------------------------
r32155 | campbellbarton | 2010-09-27 17:14:58 +0200 (Mon, 27 Sep 2010) | 2 lines

fix for interactive console selection drawing with wrapped lines.

------------------------------------------------------------------------
r32154 | campbellbarton | 2010-09-27 16:01:16 +0200 (Mon, 27 Sep 2010) | 2 lines

console now stores selection internally with 0 index starting at the end of the line. makes internal logic much less confusing. no functional changes.

------------------------------------------------------------------------
r32153 | jhk | 2010-09-27 14:24:12 +0200 (Mon, 27 Sep 2010) | 5 lines

Fix: Smoke wasn't using pointcache properly.
* The cache was reset almost constantly because smoke didn't save the first frame into cache. Although not necessary for smoke, it's vital to pointcache.
* Added info message to smoke cache panel for non saved files.
* Now smoke also only updates with a framestep of 1, so that scrubbing the timeline doesn't mess up the simulation.
* Among other things fixes report #23731.
------------------------------------------------------------------------
r32152 | campbellbarton | 2010-09-27 14:21:23 +0200 (Mon, 27 Sep 2010) | 4 lines

added CTX_wm_operator_poll_msg_get/set so failing poll functions can set messages when poll fails, at the moment only python uses this but theres nothing python specific.

only added 1 message to a poll function, so messages still need to be set in many more places to be useful.

------------------------------------------------------------------------
r32149 | campbellbarton | 2010-09-27 12:44:46 +0200 (Mon, 27 Sep 2010) | 3 lines

bugfix [#24009] Crash when switching area types and performing ops
tested every view3d operator to make sure none crash.

------------------------------------------------------------------------
r32147 | jhk | 2010-09-27 11:58:37 +0200 (Mon, 27 Sep 2010) | 4 lines

Fixed: Showing pointcached frames in the timeline was terribly slow when using disk cache.
* The existence of cached frames was checked each frame causing hundreds of disk operations per frame update.
* Pointcache now keeps an updated array of the cached frames for fast "frame exists in cache" queries.
* This fix also speeds up some other pointcache operations nicely.
------------------------------------------------------------------------
r32146 | campbellbarton | 2010-09-27 11:50:20 +0200 (Mon, 27 Sep 2010) | 2 lines

bugfix [#23447] wrong vertices/edges selected in UV editor

------------------------------------------------------------------------
r32145 | jesterking | 2010-09-27 11:43:21 +0200 (Mon, 27 Sep 2010) | 1 line

Explicitely cast to MultiresModifierData pointer to silence compiler warning.
------------------------------------------------------------------------
r32144 | schlaile | 2010-09-27 09:37:36 +0200 (Mon, 27 Sep 2010) | 6 lines

Fix: [#24006] writeffmpeg doesn't flush delayed frames - fix attached
and [#20843] FFmpeg H264 preset gives "Couldn't initialize codec"

Thanks to Leo Sutic for the patch!


------------------------------------------------------------------------
r32143 | campbellbarton | 2010-09-27 09:01:08 +0200 (Mon, 27 Sep 2010) | 2 lines

show material hardness in solid shaded mode

------------------------------------------------------------------------
r32142 | campbellbarton | 2010-09-27 08:49:27 +0200 (Mon, 27 Sep 2010) | 2 lines

use a struct for fixed materials rather then float[2][4], easier to follow (no functional change)

------------------------------------------------------------------------
r32141 | campbellbarton | 2010-09-27 08:14:51 +0200 (Mon, 27 Sep 2010) | 2 lines

 fix for floating point exception.

------------------------------------------------------------------------
r32140 | campbellbarton | 2010-09-27 07:44:15 +0200 (Mon, 27 Sep 2010) | 2 lines

bugfix [#23995] Do loop cuts from the space bar search while in the properties panel crashes blender.

------------------------------------------------------------------------
r32139 | campbellbarton | 2010-09-27 07:23:23 +0200 (Mon, 27 Sep 2010) | 4 lines

disable animating the camera lens angle, this way we dont have the problem where both lens and angle are animated
(2 fcurves accessing the same data), this should be handled by the units system but for now disabling this means we don't have to deal with animated angle later on.
note: durian files didnt use animated angle anywhere.

------------------------------------------------------------------------
r32138 | campbellbarton | 2010-09-27 07:16:45 +0200 (Mon, 27 Sep 2010) | 2 lines

invalid name [#23986] Camera->Lens->Pespective->Angle input

------------------------------------------------------------------------
r32137 | campbellbarton | 2010-09-27 07:02:54 +0200 (Mon, 27 Sep 2010) | 2 lines

bugfix [#24015] Deleting Objects with a Point Density Texture and Rendering Crashes Blender

------------------------------------------------------------------------
r32136 | campbellbarton | 2010-09-27 04:52:12 +0200 (Mon, 27 Sep 2010) | 2 lines

bugfix [#24014] Operator UI not shown in the order defined

------------------------------------------------------------------------
r32135 | khughes | 2010-09-27 01:58:16 +0200 (Mon, 27 Sep 2010) | 3 lines

Fix typo that broke build on OSX.


------------------------------------------------------------------------
r32134 | damien78 | 2010-09-26 21:53:45 +0200 (Sun, 26 Sep 2010) | 3 lines

OSX/Cocoa : discard Cocoa GL view flush while in live resize, and send Window size change ghost message only when user releases mouse button (not in live resize).
Potentially fixing bug [#23561]

------------------------------------------------------------------------
r32133 | nazgul | 2010-09-26 20:29:54 +0200 (Sun, 26 Sep 2010) | 6 lines

- Save MDISPS layer when applying modifier.
  All sculpting used to disappear before. Save MDISPS if new mesh has got the same faces amount.
  NOTE: maybe some other layers should be saved?
- Apply multires modififier if MDISPS was auto-created.
  Multires's applyModifier used to return unchanged DM when MDISPS was auto-created.
- Set multires totlvl from MDISPS layer when new multires was added to mesh with existing MDISPS layer.
------------------------------------------------------------------------
r32132 | damien78 | 2010-09-26 18:11:53 +0200 (Sun, 26 Sep 2010) | 2 lines

Fix for [#23912]: Replace by integer comparison a float comparison whose  precision errors was causing an infinite loop during last frame audio conversion

------------------------------------------------------------------------
r32131 | campbellbarton | 2010-09-26 15:53:32 +0200 (Sun, 26 Sep 2010) | 2 lines

missing include from own commit r32117

------------------------------------------------------------------------
r32130 | dingto | 2010-09-26 10:27:59 +0200 (Sun, 26 Sep 2010) | 1 line

* Fixing Link to Release Logs.
------------------------------------------------------------------------
r32129 | nazgul | 2010-09-26 09:07:05 +0200 (Sun, 26 Sep 2010) | 1 line

Added missed data listener ND_CURSOR to text space.
------------------------------------------------------------------------
r32127 | blendix | 2010-09-26 00:21:35 +0200 (Sun, 26 Sep 2010) | 3 lines

Fix for fix in revision 32122, viewer node wasn't working anymore in some cases.


------------------------------------------------------------------------
r32126 | blendix | 2010-09-25 23:09:58 +0200 (Sat, 25 Sep 2010) | 4 lines

Fix #23991: vertex group sorting used case sensitive string compare,
now it uses case insensitive natural string compare.


------------------------------------------------------------------------
r32124 | blendix | 2010-09-25 22:19:56 +0200 (Sat, 25 Sep 2010) | 4 lines

Fix #23583: crash when deleting last keyframe in an f-curve with a generator
f-modifier.


------------------------------------------------------------------------
r32123 | blendix | 2010-09-25 21:35:59 +0200 (Sat, 25 Sep 2010) | 5 lines

Fix #23708: F-key make links between nodes didn't add links when a node output
already had a link, not sure why this wasn't done, because the option to do it
was in the code.


------------------------------------------------------------------------
r32122 | blendix | 2010-09-25 18:35:02 +0200 (Sat, 25 Sep 2010) | 3 lines

Fix #23690: threading crash with compositing nodes and scopes view.


------------------------------------------------------------------------
r32121 | blendix | 2010-09-25 16:32:26 +0200 (Sat, 25 Sep 2010) | 4 lines

Fix #23847: keyframe insert on button not working in popup menus, e.g.
the vector popup for node inputs.


------------------------------------------------------------------------
r32120 | blendix | 2010-09-25 16:14:04 +0200 (Sat, 25 Sep 2010) | 3 lines

Fix #23985: crash in graph editor with objects without material.


------------------------------------------------------------------------
r32119 | nazgul | 2010-09-25 15:27:42 +0200 (Sat, 25 Sep 2010) | 4 lines

Fix #23983: Text editor does not update immediately when unlinking a text

- Unlinked text block was sending as reference to note which isn't safe at all
- Minor reorgonize of text space listener to use switches instead of big condition
------------------------------------------------------------------------
r32118 | blendix | 2010-09-25 13:30:46 +0200 (Sat, 25 Sep 2010) | 3 lines

Fix #23901: displace node not working with negative values.


------------------------------------------------------------------------
r32117 | campbellbarton | 2010-09-25 12:11:36 +0200 (Sat, 25 Sep 2010) | 3 lines

py/rna keyframe functions can now key longer paths if called from an ID block.
eg, bpy.context.object.keyframe_insert("soft_body.plastic")

------------------------------------------------------------------------
r32116 | blendix | 2010-09-25 10:31:58 +0200 (Sat, 25 Sep 2010) | 4 lines

Fix related to #23606, tweak baking error message a bit so it also covers
the case where the image can't be loaded.


------------------------------------------------------------------------
r32115 | campbellbarton | 2010-09-25 10:29:25 +0200 (Sat, 25 Sep 2010) | 2 lines

fix for own error with recent patch edits, globbing wasnt being cleared so importing an OBJ would keep *.obj when opening a blend.

------------------------------------------------------------------------
r32114 | nazgul | 2010-09-25 08:45:28 +0200 (Sat, 25 Sep 2010) | 6 lines

- Ignore selected handles if control point is selected when
  snapping cursor to selection (fixes #23966: Cursor to selected: incorrect behaviour in curves)
- Keep handles' of selected vectors if control point is selected when
  snapping selection to grid/cursor
- Added definitions to hard-coded numeric flags for make_trans_verts
  and removed unused proportional flag
------------------------------------------------------------------------
r32113 | campbellbarton | 2010-09-25 08:36:01 +0200 (Sat, 25 Sep 2010) | 2 lines

bugfix [#23978] Error installing addon

------------------------------------------------------------------------
r32106 | jhk | 2010-09-24 19:49:33 +0200 (Fri, 24 Sep 2010) | 1 line

Fix for [#21875] Copy rotation only on y axies
------------------------------------------------------------------------
r32105 | jhk | 2010-09-24 19:47:28 +0200 (Fri, 24 Sep 2010) | 2 lines

Fix for [#23549] Copy rotation don't work if influence is another than 0 or 1
* Replaced constraint result interpolation with much simpler logic, hopefully this doesn't create any unseen complications :)
------------------------------------------------------------------------
r32104 | campbellbarton | 2010-09-24 13:28:56 +0200 (Fri, 24 Sep 2010) | 2 lines

bugfix [#23973] Make Single User -> Object & Data dont work as expected

------------------------------------------------------------------------
r32103 | campbellbarton | 2010-09-24 13:08:55 +0200 (Fri, 24 Sep 2010) | 3 lines

bugfix [#19096] FBX doubly rotated
bug was infact that un-animated bones pose transformations were not exported.

------------------------------------------------------------------------
r32102 | jhk | 2010-09-24 12:49:29 +0200 (Fri, 24 Sep 2010) | 1 line

Changing loopcut count caused memory errors in some cases due to missing null check.
------------------------------------------------------------------------
r32101 | campbellbarton | 2010-09-24 12:39:26 +0200 (Fri, 24 Sep 2010) | 2 lines

missing check in recent commit

------------------------------------------------------------------------
r32100 | jhk | 2010-09-24 11:54:28 +0200 (Fri, 24 Sep 2010) | 1 line

Fix for [#22289] Cancelling transform fails to revert change in f-curve handle type
------------------------------------------------------------------------
r32099 | campbellbarton | 2010-09-24 11:39:32 +0200 (Fri, 24 Sep 2010) | 2 lines

a few bugfixes since porting from 2.4x and from rna renaming.

------------------------------------------------------------------------
r32098 | jhk | 2010-09-24 11:18:28 +0200 (Fri, 24 Sep 2010) | 1 line

Fix for [#22323] Graph Editor: crashe when transforming keys after pivot is set to "Individual Centers"
------------------------------------------------------------------------
r32097 | campbellbarton | 2010-09-24 11:15:24 +0200 (Fri, 24 Sep 2010) | 2 lines

remove 2.4x commented lines

------------------------------------------------------------------------
r32096 | jhk | 2010-09-24 09:39:52 +0200 (Fri, 24 Sep 2010) | 1 line

Fix for [#23970] Memory problem when setting hair amount to zero
------------------------------------------------------------------------
r32095 | campbellbarton | 2010-09-24 09:05:43 +0200 (Fri, 24 Sep 2010) | 4 lines

patch [#23968] filter_filetypes property to allow operators to filter by file extensions in the file selector
modified the patch to store the string internally rather then an array of allocated string pointers, less hassle with memory allocation.
changed to use fnmatch, so *.foo is needed (not .foo as with the patch)

------------------------------------------------------------------------
r32094 | campbellbarton | 2010-09-24 08:20:43 +0200 (Fri, 24 Sep 2010) | 3 lines

new utility function BLI_testextensie_glob
uses fnmatch to match strings like "*.foo;*.bar;*.blend?"

------------------------------------------------------------------------
r32093 | campbellbarton | 2010-09-24 05:48:26 +0200 (Fri, 24 Sep 2010) | 6 lines

Annoying hack to pretend that an operator and its properties are the same, when passing an operator to an rna function argument which accepts 'AnyType', then pass the properties instead.

This means we can do operator drawing without passing self.properties as an argument.

while this check if quite specific, if this gives problems later on we should probably change operators not to try to mix an operator and its properties, it looks nice to a scripter but internally is not easy to manage.

------------------------------------------------------------------------
r32092 | campbellbarton | 2010-09-24 05:42:19 +0200 (Fri, 24 Sep 2010) | 2 lines

missed this in recent commit.

------------------------------------------------------------------------
r32091 | campbellbarton | 2010-09-24 05:24:15 +0200 (Fri, 24 Sep 2010) | 2 lines

fix for python refcounting leak, RNA_path_resolve_full now unsets the index if its not last.

------------------------------------------------------------------------
r32090 | campbellbarton | 2010-09-24 02:39:01 +0200 (Fri, 24 Sep 2010) | 2 lines

bugfix [#23965] Segmentation fault when using bpy_struct.keyframe_insert() with nested custom property

------------------------------------------------------------------------
r32089 | jhk | 2010-09-24 01:45:14 +0200 (Fri, 24 Sep 2010) | 1 line

Fix for [#22662] Transforming handles in the graph editor is broken.
------------------------------------------------------------------------
r32088 | jesterking | 2010-09-24 00:44:03 +0200 (Fri, 24 Sep 2010) | 4 lines

Fix [#23539] Blender Generated Static Environments Fail To Save
reported by bowels

Saving environment map didn't look at relative_path setting, made it do so.
------------------------------------------------------------------------
r32087 | blendix | 2010-09-23 23:38:01 +0200 (Thu, 23 Sep 2010) | 4 lines

Fix #23170: multithreaded texture baking could give wrong results with margin,
with some threads not writing the margin mask.


------------------------------------------------------------------------
r32086 | blendix | 2010-09-23 23:01:12 +0200 (Thu, 23 Sep 2010) | 3 lines

Fix #23005: circle select not working paint modes with face select.


------------------------------------------------------------------------
r32085 | blendix | 2010-09-23 22:26:03 +0200 (Thu, 23 Sep 2010) | 5 lines

Fix #22947: sample color tool not working in user preferences, was assuming the
color to be a property on an ID block. Note that sampling from another window
still does not work, only within the same window.


------------------------------------------------------------------------
r32084 | blendix | 2010-09-23 22:16:45 +0200 (Thu, 23 Sep 2010) | 9 lines

Fix #22922: adding new nodes didn't add them at the mouse location. This also
caused auto connect to not work in some cases, because that now orders nodes
and only connects if the new node is to the right of the old node.

I doubted between always connecting to the new node as output or keeping this
ordering trick also when adding nodes. Decided on the latter because then you
can also add a node between two others and have it auto connect to both.


------------------------------------------------------------------------
r32083 | blendix | 2010-09-23 21:31:01 +0200 (Thu, 23 Sep 2010) | 5 lines

Fix other part of #22853: mirrored transform on armature tail/head only did not
mirror roll.



------------------------------------------------------------------------
r32082 | blendix | 2010-09-23 20:58:26 +0200 (Thu, 23 Sep 2010) | 3 lines

UI: for operator macro's, don't show internal ID name but UI name in redo panel.


------------------------------------------------------------------------
r32081 | blendix | 2010-09-23 20:54:06 +0200 (Thu, 23 Sep 2010) | 3 lines

Fix part of #22853: armature editmode crash with undo.


------------------------------------------------------------------------
r32080 | blendix | 2010-09-23 20:45:56 +0200 (Thu, 23 Sep 2010) | 3 lines

Small code cleanup to remove old undo calls that do nothing.


------------------------------------------------------------------------
r32079 | blendix | 2010-09-23 20:35:34 +0200 (Thu, 23 Sep 2010) | 3 lines

Fix warnings introduced in my last commit.


------------------------------------------------------------------------
r32078 | blendix | 2010-09-23 20:26:33 +0200 (Thu, 23 Sep 2010) | 4 lines

Possible fix for #23947: baking while in editmode did not take into account
changes made to the mesh since entering editmode.


------------------------------------------------------------------------
r32077 | campbellbarton | 2010-09-23 16:29:51 +0200 (Thu, 23 Sep 2010) | 2 lines

bugfix [#22169] LoopCut and Slide plus ArrayModifier Object offset FirstLast gives crash

------------------------------------------------------------------------
r32076 | campbellbarton | 2010-09-23 14:50:45 +0200 (Thu, 23 Sep 2010) | 3 lines

[#23882] BrushTexture.Slot.size missing
missed with rna renaming

------------------------------------------------------------------------
r32075 | campbellbarton | 2010-09-23 14:03:34 +0200 (Thu, 23 Sep 2010) | 3 lines

bugfix [#23595] Texture paint with a node based brush produces artifacts
also changed displace modifier not to link object depgraph when not using object texturespace.

------------------------------------------------------------------------
r32074 | jhk | 2010-09-23 13:29:58 +0200 (Thu, 23 Sep 2010) | 1 line

Fix for [#22598] Animated texture properties do not appear in IPO if no material properties are also animated
------------------------------------------------------------------------
r32073 | jhk | 2010-09-23 11:31:13 +0200 (Thu, 23 Sep 2010) | 5 lines

Fix for [#23872] particle deflection in conjunction with SPH particles is apparently buggy
* Fix turned into a thorough cleanup and reorganization of particle collision response code.
* Collisions are now much more accurate, stable and even a bit more in agreement with real world physics.
* Only still remaining problem is rotating/deforming deflector objects, but that's something for the future.
* Visible changes should only be positive, i.e. no leaking particles, no strange instabilities etc.
------------------------------------------------------------------------
r32072 | campbellbarton | 2010-09-23 10:15:53 +0200 (Thu, 23 Sep 2010) | 4 lines

bugfix [#23795] Insert Visual Loc/Rot Keyframe of Armature Bones Broken
- converted 3 options in keying sets to use bl_options like panels & operators
- removed function arguments for new keying sets, better adjust these after to avoid duplicating properties in function arguments (they were not used).

------------------------------------------------------------------------
r32071 | campbellbarton | 2010-09-23 09:50:52 +0200 (Thu, 23 Sep 2010) | 2 lines

whitespace commit, tabs -> spaces

------------------------------------------------------------------------
r32070 | campbellbarton | 2010-09-23 09:31:44 +0200 (Thu, 23 Sep 2010) | 2 lines

support for PROP_ENUM_FLAG buttons, these were only supported by python.

------------------------------------------------------------------------
r32069 | campbellbarton | 2010-09-23 06:49:01 +0200 (Thu, 23 Sep 2010) | 2 lines

fix for mistake in rna naming.

------------------------------------------------------------------------
r32068 | campbellbarton | 2010-09-23 04:12:33 +0200 (Thu, 23 Sep 2010) | 3 lines

- py/rna's path_resolve function was ignoring the index eg: obj.path_resolve("location[1]")
- corrected comment from previous commit

------------------------------------------------------------------------
r32067 | campbellbarton | 2010-09-23 03:48:31 +0200 (Thu, 23 Sep 2010) | 3 lines

bugfix [#23954] Bone roll keeps changing when switching between EDIT <-> OBJECT mode
use lower epsilon value.

------------------------------------------------------------------------
r32066 | campbellbarton | 2010-09-22 19:13:23 +0200 (Wed, 22 Sep 2010) | 3 lines

patch [#23675] fix #22787 with workaround
from Shane Ambler (sambler)

------------------------------------------------------------------------
r32065 | campbellbarton | 2010-09-22 18:47:46 +0200 (Wed, 22 Sep 2010) | 3 lines

bugfix [#23577] Parenting scaled objects transforms them
commented so this line isn't added back.

------------------------------------------------------------------------
r32064 | campbellbarton | 2010-09-22 18:30:57 +0200 (Wed, 22 Sep 2010) | 2 lines

clear parent on objects with no parent would still transform them.

------------------------------------------------------------------------
r32063 | campbellbarton | 2010-09-22 17:39:43 +0200 (Wed, 22 Sep 2010) | 2 lines

minor changes to text3d editing, skip wchar --> utf-8 conversion on cursor movement.

------------------------------------------------------------------------
r32062 | campbellbarton | 2010-09-22 16:34:02 +0200 (Wed, 22 Sep 2010) | 2 lines

bugfix [#23832] Moving a pose bone doesnt update the transform button props realtime.

------------------------------------------------------------------------
r32061 | campbellbarton | 2010-09-22 16:13:34 +0200 (Wed, 22 Sep 2010) | 3 lines

bugfix [#23948] Alpha from images inside compositor is gone
also fix memory leak.

------------------------------------------------------------------------
r32060 | campbellbarton | 2010-09-22 15:43:31 +0200 (Wed, 22 Sep 2010) | 2 lines

bugfix [#23950] Crash with bake

------------------------------------------------------------------------
r32059 | jesterking | 2010-09-22 15:42:20 +0200 (Wed, 22 Sep 2010) | 1 line

After discussion with Campbell (ideasman) on IRC I reorganized notifiers and created new one for visibility toggling (epilogue to r32052, fixing [#23944]).
------------------------------------------------------------------------
r32058 | campbellbarton | 2010-09-22 15:24:21 +0200 (Wed, 22 Sep 2010) | 2 lines

bugfix [#23945] obj export problems

------------------------------------------------------------------------
r32057 | campbellbarton | 2010-09-22 14:36:54 +0200 (Wed, 22 Sep 2010) | 2 lines

bugfix [#23935] Exporting to Unity3d .fbx Blender 2.5

------------------------------------------------------------------------
r32056 | campbellbarton | 2010-09-22 11:49:35 +0200 (Wed, 22 Sep 2010) | 2 lines

bugfix [#23514] Modifier names containing ']' character cant be animated.

------------------------------------------------------------------------
r32055 | jhk | 2010-09-22 11:38:11 +0200 (Wed, 22 Sep 2010) | 3 lines

Fix for [#21718] Shrinkwrap's "Project" mode with offset gives wrong results.
* normal offset not taken properly into account
* wrong usage of BVHTree (epsilon != radius) caused massive slowdowns in calculations, for example just opening test file took about 30 s on my machine, after fix about 0.5 s :)
------------------------------------------------------------------------
r32054 | zanqdo | 2010-09-22 10:51:18 +0200 (Wed, 22 Sep 2010) | 2 lines

Increasing compositor blur max size

------------------------------------------------------------------------
r32053 | dfelinto | 2010-09-22 10:10:46 +0200 (Wed, 22 Sep 2010) | 2 lines

RNA renaming nodetree to node_tree
* previously some were left as nodetree, that is not only inconsistent, but it was also raising one of those RNA property not found errors)
------------------------------------------------------------------------
r32052 | jesterking | 2010-09-22 08:58:51 +0200 (Wed, 22 Sep 2010) | 4 lines

Fix [#23944] Missing update of 3D view when toggling visibility of object in outliner with keyboard
Reported and patched by Torsten Rupp (patch [#23895])

Also fixed typo in toggle visibility operator name
------------------------------------------------------------------------
r32051 | campbellbarton | 2010-09-22 07:32:39 +0200 (Wed, 22 Sep 2010) | 2 lines

bugfix [#23784] Renaming files broken in the file selector

------------------------------------------------------------------------
r32050 | nazgul | 2010-09-22 07:08:52 +0200 (Wed, 22 Sep 2010) | 4 lines

Fix #23925: converting text into a curve looses materials

filldisplist worked incorrect with polys when charidx matched but col doesn't
Also fixed material loose when converting text/curve to mesh
------------------------------------------------------------------------
r32049 | campbellbarton | 2010-09-22 04:47:08 +0200 (Wed, 22 Sep 2010) | 3 lines

patch [#23796] Full support for unit buttons: area, volume, mass, velocity and acceleration
from Lorenzo Tozzi (oni_niubbo), suppress_only_shown.diff

------------------------------------------------------------------------
r32048 | campbellbarton | 2010-09-22 04:44:03 +0200 (Wed, 22 Sep 2010) | 3 lines

patch [#23796] Full support for unit buttons: area, volume, mass, velocity and acceleration
from Lorenzo Tozzi (oni_niubbo), multiple patches: better_split.diff

------------------------------------------------------------------------
r32047 | campbellbarton | 2010-09-22 04:36:14 +0200 (Wed, 22 Sep 2010) | 3 lines

patch [#23796] Full support for unit buttons: area, volume, mass, velocity and acceleration
by Lorenzo Tozzi (oni_niubbo)

------------------------------------------------------------------------
r32044 | khughes | 2010-09-21 23:10:49 +0200 (Tue, 21 Sep 2010) | 3 lines

Changes to scons for building with static zlib and tiff libraries.


------------------------------------------------------------------------
r32043 | campbellbarton | 2010-09-21 18:31:37 +0200 (Tue, 21 Sep 2010) | 2 lines

minor UI change so blender built without fluids wont give a python error

------------------------------------------------------------------------
r32042 | campbellbarton | 2010-09-21 18:21:01 +0200 (Tue, 21 Sep 2010) | 3 lines

bug report [#23933] "Select Linked" with "Limit by Seams" only working for Face Mode selection
This is intentional so include in tooltip

------------------------------------------------------------------------
r32041 | jhk | 2010-09-21 17:16:58 +0200 (Tue, 21 Sep 2010) | 2 lines

Fix for [#23818] Edge slide not resetting properly when displaying edge lengths
* Temp selections weren't cleared on ending edge slide.
------------------------------------------------------------------------
r32040 | jhk | 2010-09-21 16:39:18 +0200 (Tue, 21 Sep 2010) | 2 lines

Temporary fix for [#23848] Image too small Error
* This should be fixed properly later when general window close/resize problems in the todo list are tackled.
------------------------------------------------------------------------
r32039 | campbellbarton | 2010-09-21 14:27:09 +0200 (Tue, 21 Sep 2010) | 3 lines

bugfix [#23927] Crash proportional editing: connected
crash when using too much stack memory, each recursive call for the sorting function would allocate 200 bytes in TransData per call (64bit os), now pass this as an argument.

------------------------------------------------------------------------
r32038 | campbellbarton | 2010-09-21 12:59:53 +0200 (Tue, 21 Sep 2010) | 3 lines

fixed filename overwrite red highlight not updating when +/- pressed.
also made some vars not animateable.

------------------------------------------------------------------------
r32037 | campbellbarton | 2010-09-21 08:09:14 +0200 (Tue, 21 Sep 2010) | 2 lines

bugfix [#23923] extra material slots created

------------------------------------------------------------------------
r32035 | jesterking | 2010-09-21 04:45:00 +0200 (Tue, 21 Sep 2010) | 1 line

nerr declaration was in wrong place, causing compile error on OSX
------------------------------------------------------------------------
r32034 | campbellbarton | 2010-09-21 03:40:20 +0200 (Tue, 21 Sep 2010) | 7 lines

Error reported by Daniel Salazar, Compositor color is wrong since my fix.
this is because of fairly confusing logic, when an SRGB image has a float buffer added its always LINEAR, so we have to account for this elsewhere.
So the conversion from byte to float works like this:
* NONE -> NON-LINEAR
* SRGB/LINEAR -> LINEAR
...but none change the profile variable.

------------------------------------------------------------------------
r32033 | blendix | 2010-09-20 23:57:29 +0200 (Mon, 20 Sep 2010) | 3 lines

Fix #23754: glsl + constructive curve modifier not drawing correct.


------------------------------------------------------------------------
r32032 | blendix | 2010-09-20 23:11:38 +0200 (Mon, 20 Sep 2010) | 4 lines

Fix #23917: selecting a directory with the file browser didn't append
a slash, which is necessary for e.g. render file ouput.


------------------------------------------------------------------------
r32031 | blendix | 2010-09-20 21:57:14 +0200 (Mon, 20 Sep 2010) | 4 lines

Fix error in normal flipping commit, that showed wrong result especially
with ray transparency + normals pointing away from the camera.


------------------------------------------------------------------------
r32030 | jesterking | 2010-09-20 17:12:53 +0200 (Mon, 20 Sep 2010) | 1 line

Some fixes for warnings found while investigating quicktime-related bug reports.
------------------------------------------------------------------------
r32029 | campbellbarton | 2010-09-20 15:35:55 +0200 (Mon, 20 Sep 2010) | 3 lines

bugfix [#23739] # (hash) character can't be used in image filenames
images would convert hashes to numbers on load but it didnt update properly and this is what image sequences is for.

------------------------------------------------------------------------
r32028 | jesterking | 2010-09-20 15:19:37 +0200 (Mon, 20 Sep 2010) | 1 line

Silence a compiler warning.
------------------------------------------------------------------------
r32027 | jesterking | 2010-09-20 15:13:40 +0200 (Mon, 20 Sep 2010) | 6 lines

Partly apply patch [#23746] Clarify azone->edge values.
Submitted by Shane Ambler.

The original patches made an enum for action zone edges, changed positioning for minimised icons and repositioned minimised icon for operator properties panel.

I kept the enum idea, but further improved on the naming. Some switches used in place of if/else blocks and added some comments. See patch tracker for more comments.
------------------------------------------------------------------------
r32026 | campbellbarton | 2010-09-20 15:10:53 +0200 (Mon, 20 Sep 2010) | 2 lines

missing free in vertex group sorting.

------------------------------------------------------------------------
r32025 | campbellbarton | 2010-09-20 13:54:54 +0200 (Mon, 20 Sep 2010) | 2 lines

fix for own recent commit, pixel size for lamp/object center needs to use the view matrix for perspective and ortho.

------------------------------------------------------------------------
r32023 | campbellbarton | 2010-09-20 11:52:29 +0200 (Mon, 20 Sep 2010) | 2 lines

bugfix [#23326] Enable to add keframes on Image values (texture context)

------------------------------------------------------------------------
r32022 | jhk | 2010-09-20 11:40:58 +0200 (Mon, 20 Sep 2010) | 1 line

Fix for [#21976] edges disappear when using loop cut on geometry with hidden parts
------------------------------------------------------------------------
r32021 | campbellbarton | 2010-09-20 11:09:00 +0200 (Mon, 20 Sep 2010) | 3 lines

bugfix [#20576] Curve modifier and loop cut
Quaternion interpolation was skipped which gave ugly stepping with the curve modifier (broke with my curve twist fix)

------------------------------------------------------------------------
r32020 | campbellbarton | 2010-09-20 08:47:34 +0200 (Mon, 20 Sep 2010) | 2 lines

bugfix [#22263] Child of constraint - only rotation

------------------------------------------------------------------------
r32019 | campbellbarton | 2010-09-20 07:46:07 +0200 (Mon, 20 Sep 2010) | 3 lines

bugfix [#23849] When the file is opened, Blender 2.5x crushes.
id-property arrays saved in 2.4x would crash on reloading.

------------------------------------------------------------------------
r32018 | campbellbarton | 2010-09-20 07:01:31 +0200 (Mon, 20 Sep 2010) | 2 lines

fix for error and other minor changes found while looking into bug [#23813].

------------------------------------------------------------------------
r32017 | campbellbarton | 2010-09-20 06:59:20 +0200 (Mon, 20 Sep 2010) | 3 lines

bugfix [#23813] Memory leak when importing bvh
This is not specific to BVH Importer, any operator called from python which returned cancelled would have wouldn't free its report list.

------------------------------------------------------------------------
r32016 | campbellbarton | 2010-09-20 05:28:02 +0200 (Mon, 20 Sep 2010) | 4 lines

bugfix [#23909] Calculating Depth
- depth was incorrect, changes since 2.4x.
- minor edit to transform manipulator, no functional change.

------------------------------------------------------------------------
r32015 | campbellbarton | 2010-09-20 05:09:24 +0200 (Mon, 20 Sep 2010) | 2 lines

bugfix [#23910] Removing an object in Py crashes blender

------------------------------------------------------------------------
r32014 | campbellbarton | 2010-09-20 04:53:39 +0200 (Mon, 20 Sep 2010) | 2 lines

bugfix [#23906] Cloud generate/degenerate crashes renderer

------------------------------------------------------------------------
r32013 | campbellbarton | 2010-09-19 16:02:45 +0200 (Sun, 19 Sep 2010) | 2 lines

python/c utility function for debugging, see http://wiki.blender.org/index.php/Dev:Doc/Debugging/PyFromC

------------------------------------------------------------------------
r32012 | campbellbarton | 2010-09-19 15:38:45 +0200 (Sun, 19 Sep 2010) | 2 lines

map old/new rna & ui back

------------------------------------------------------------------------
r32011 | campbellbarton | 2010-09-19 15:18:05 +0200 (Sun, 19 Sep 2010) | 3 lines

patch [#23897] ARMATURE_OT_{hide,reveal}
from Dan Eicher (dna)

------------------------------------------------------------------------
r32009 | campbellbarton | 2010-09-19 14:19:58 +0200 (Sun, 19 Sep 2010) | 2 lines

fix for fix, corrention by MiikaH since I cant test.

------------------------------------------------------------------------
r32008 | campbellbarton | 2010-09-19 12:43:42 +0200 (Sun, 19 Sep 2010) | 3 lines

fix for some win32 setups not having size_t defined.
Reported by MiikaH on IRC.

------------------------------------------------------------------------
r32007 | campbellbarton | 2010-09-19 09:07:14 +0200 (Sun, 19 Sep 2010) | 2 lines

remove redundant []'s for list comprehension's, py2.4+ supports this.

------------------------------------------------------------------------
r32006 | campbellbarton | 2010-09-19 08:41:44 +0200 (Sun, 19 Sep 2010) | 2 lines

fix for object centers size flickering when the view is far from the center (1000 or more units).

------------------------------------------------------------------------
r32005 | dfelinto | 2010-09-18 23:04:33 +0200 (Sat, 18 Sep 2010) | 1 line

nodetree -> node_tree (rna pointer not found)
------------------------------------------------------------------------
r32004 | jesterking | 2010-09-18 21:38:27 +0200 (Sat, 18 Sep 2010) | 3 lines

* Update BGE for change in r32001
* Fix var declaration in bpy_interface.c
* Remove forward declarations from py_capi_utils.h: they are unnecessary and break compiles (there were probably many warnings about this during compile with GCC).
------------------------------------------------------------------------
r32003 | blendix | 2010-09-18 18:17:32 +0200 (Sat, 18 Sep 2010) | 5 lines

Fix #23879: added undo/redo to object/paint/sculpt/pose menus as well,
and made some small modifications to object menu to make it a bit
shorter, still much too long though, but at least not worse now.


------------------------------------------------------------------------
r32002 | blendix | 2010-09-18 17:57:42 +0200 (Sat, 18 Sep 2010) | 4 lines

Fix #23850: hide cloth cache step from the UI because it can only be set to 1
anyway, which is confusing.


------------------------------------------------------------------------
r32001 | campbellbarton | 2010-09-18 17:30:03 +0200 (Sat, 18 Sep 2010) | 2 lines

move namespace creation function into py_capi_utils.c, to be used in more general cases, not just the blender/rna api.

------------------------------------------------------------------------
r32000 | campbellbarton | 2010-09-18 16:47:59 +0200 (Sat, 18 Sep 2010) | 2 lines

bugfix [#22767] parenting object causes rotation/scale/location information to be corrupted

------------------------------------------------------------------------