blender.git
8 years ago"Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to
Joshua Leung [Tue, 1 Feb 2011 23:51:52 +0000 (23:51 +0000)]
"Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to
ED_operator_graphedit_active

8 years agoBugfix [#25902] alt+a over 3D view don't up date dropesheet editor
Joshua Leung [Tue, 1 Feb 2011 23:41:01 +0000 (23:41 +0000)]
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...

8 years agoAction Editor UI Tweaks:
Joshua Leung [Tue, 1 Feb 2011 22:21:43 +0000 (22:21 +0000)]
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.

8 years agofix issue #2 raised by report: [#25894] Problems with properties across files
Campbell Barton [Tue, 1 Feb 2011 21:24:59 +0000 (21:24 +0000)]
fix issue #2 raised by report: [#25894] Problems with properties across files

8 years agopartial revert for r34590, exclude render() from enabling the read-only state.
Campbell Barton [Tue, 1 Feb 2011 20:38:24 +0000 (20:38 +0000)]
partial revert for r34590, exclude render() from enabling the read-only state.
will re-open [#25845] and assign to Brecht.

8 years agoIcons in outliner were jittering a bit on sizing of the area.
Ton Roosendaal [Tue, 1 Feb 2011 17:54:02 +0000 (17:54 +0000)]
Icons in outliner were jittering a bit on sizing of the area.
Subpixel position issue... when is this ever correct? :)

8 years agoFix #25884: Crazy behaviour of the rotate brush
Sergey Sharybin [Tue, 1 Feb 2011 15:51:40 +0000 (15:51 +0000)]
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.

8 years agoFix for [#25879] Particle Duplication issue with Linked in Objects from Groups.
Janne Karhu [Tue, 1 Feb 2011 15:02:25 +0000 (15:02 +0000)]
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.

8 years agoBugfix #25891
Ton Roosendaal [Tue, 1 Feb 2011 13:35:21 +0000 (13:35 +0000)]
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.

8 years agoScript to test import operators, so a single command can execute an operator on all...
Campbell Barton [Tue, 1 Feb 2011 12:47:50 +0000 (12:47 +0000)]
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 :)

8 years agocorrect fix for bug #23871, __main__ module was being overwritten in nested functions...
Campbell Barton [Tue, 1 Feb 2011 12:37:53 +0000 (12:37 +0000)]
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.

8 years agoBugfix: Graph Editor menus were missing an entry for the "Smooth
Joshua Leung [Tue, 1 Feb 2011 11:54:05 +0000 (11:54 +0000)]
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

8 years agoBugfix: Renaming Keying Sets didn't update timeline
Joshua Leung [Tue, 1 Feb 2011 11:39:51 +0000 (11:39 +0000)]
Bugfix: Renaming Keying Sets didn't update timeline

Keying Set RNA props were missing update notifiers

8 years agoNew Keyframe Type: "Jitter"
Joshua Leung [Tue, 1 Feb 2011 11:35:27 +0000 (11:35 +0000)]
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 :)

8 years agoown fix for bug #23871 (r33277), crashes when running multiple operators in a batch...
Campbell Barton [Tue, 1 Feb 2011 09:02:49 +0000 (09:02 +0000)]
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.

8 years agobugfix [#25767] Addons cannot be upgraded through the UI
Campbell Barton [Tue, 1 Feb 2011 06:48:19 +0000 (06:48 +0000)]
bugfix [#25767] Addons cannot be upgraded through the UI
added option to overwrite.

8 years agoTargetless IK Bugfixes + Tweaks:
Joshua Leung [Tue, 1 Feb 2011 05:15:32 +0000 (05:15 +0000)]
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

8 years agoPythons path functions - os.walk(). os.path.exists(). etc support bytes for paths...
Campbell Barton [Tue, 1 Feb 2011 04:24:47 +0000 (04:24 +0000)]
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.

8 years agofix for 2 segfaults running in background mode.
Campbell Barton [Tue, 1 Feb 2011 02:54:29 +0000 (02:54 +0000)]
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.

8 years agoreverting the new button in node editor.. will need to create a new
Daniel Salazar [Tue, 1 Feb 2011 01:32:12 +0000 (01:32 +0000)]
reverting the new button in node editor.. will need to create a new
operator to get the correct behavior for center backdrop

8 years agoAdded Center button to backdrop controls in node editor's side panel
Daniel Salazar [Tue, 1 Feb 2011 01:18:16 +0000 (01:18 +0000)]
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

8 years agoBugfix [#25885] Auto IK ignores full rotation locks
Joshua Leung [Tue, 1 Feb 2011 00:43:28 +0000 (00:43 +0000)]
Bugfix [#25885] Auto IK ignores full rotation locks

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

8 years agodisable assert [#25877] Driven shapekeys: incorrect assertions in depsgraph.c
Campbell Barton [Tue, 1 Feb 2011 00:41:15 +0000 (00:41 +0000)]
disable assert [#25877] Driven shapekeys: incorrect assertions in depsgraph.c

8 years agoworkaround [#25845] Empty UI panels
Campbell Barton [Tue, 1 Feb 2011 00:32:50 +0000 (00:32 +0000)]
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.

8 years agobugfix [#25846] Strange behaviour if index of render.layers[] is out of range
Campbell Barton [Mon, 31 Jan 2011 23:54:51 +0000 (23:54 +0000)]
bugfix [#25846] Strange behaviour if index of render.layers[] is out of range

8 years agoTodo issue: sculpting on deformed mesh
Sergey Sharybin [Mon, 31 Jan 2011 20:02:51 +0000 (20:02 +0000)]
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?

8 years agoBugfix #25874
Ton Roosendaal [Mon, 31 Jan 2011 17:28:03 +0000 (17:28 +0000)]
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 :)

8 years agoRemoved OpenGL blending from node editor backdrop images in alpha channel mode. This...
Lukas Toenne [Mon, 31 Jan 2011 16:34:56 +0000 (16:34 +0000)]
Removed OpenGL blending from node editor backdrop images in alpha channel mode. This is a pure b/w image that doesn't need blending.

8 years agoIndentation fix.
Thomas Dinges [Mon, 31 Jan 2011 16:17:34 +0000 (16:17 +0000)]
Indentation fix.

8 years agoNode UI:
Thomas Dinges [Mon, 31 Jan 2011 16:16:15 +0000 (16:16 +0000)]
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.

8 years agoSmall fix for color info in node editor: ACTIONMOUSE click was already used for node...
Lukas Toenne [Mon, 31 Jan 2011 15:18:30 +0000 (15:18 +0000)]
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.

8 years agoScons blenfont include for recent Node Backdrop commit.
Thomas Dinges [Mon, 31 Jan 2011 14:48:17 +0000 (14:48 +0000)]
Scons blenfont include for recent Node Backdrop commit.

8 years agoAdded backdrop image color information to the node editor. When clicking on empty...
Lukas Toenne [Mon, 31 Jan 2011 14:42:55 +0000 (14:42 +0000)]
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.

8 years agoChanged alpha blending mode for image editor and node previews. This was using the...
Lukas Toenne [Mon, 31 Jan 2011 11:57:37 +0000 (11:57 +0000)]
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.

8 years agoBugfix [#25876] bpy.ops.constraint.childof_set_inverse has no effect
Joshua Leung [Mon, 31 Jan 2011 11:19:23 +0000 (11:19 +0000)]
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.

8 years agoAdded transparency feature to node editor backdrop, similar to image editor. Alpha...
Lukas Toenne [Mon, 31 Jan 2011 11:17:50 +0000 (11:17 +0000)]
Added transparency feature to node editor backdrop, similar to image editor. Alpha blending can be enabled by a button when "Use Backdrop" is selected.

8 years agoLogic UI: Servo Control (Motion/ObjectActuator) default options + camera actuator...
Dalai Felinto [Mon, 31 Jan 2011 07:52:45 +0000 (07:52 +0000)]
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 :)

8 years ago[#25693] Netrender "shadow" images with last frame always appear
Martin Poirier [Sun, 30 Jan 2011 22:15:50 +0000 (22:15 +0000)]
[#25693] Netrender "shadow" images with last frame always appear

Better handling of FSAA when downloading results and on slaves.

8 years agoTotal displacement levels should be set in multires_topology_changed
Sergey Sharybin [Sun, 30 Jan 2011 17:55:48 +0000 (17:55 +0000)]
Total displacement levels should be set in multires_topology_changed

8 years agoBugfix #25859
Ton Roosendaal [Sun, 30 Jan 2011 17:03:01 +0000 (17:03 +0000)]
Bugfix #25859

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

8 years agomoved texture_space scaling factor from glsl to C.
M.G. Kishalmi [Sun, 30 Jan 2011 16:57:28 +0000 (16:57 +0000)]
moved texture_space scaling factor from glsl to C.

8 years agobugfix #25867
M.G. Kishalmi [Sun, 30 Jan 2011 16:24:23 +0000 (16:24 +0000)]
bugfix #25867

fix for objectspace bumpmapping

8 years agoBugfix #25870
Ton Roosendaal [Sun, 30 Jan 2011 16:19:08 +0000 (16:19 +0000)]
Bugfix #25870

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

8 years agoRemoved bad copied UI strings and comment from texture slot rna code.
Ton Roosendaal [Sun, 30 Jan 2011 16:17:08 +0000 (16:17 +0000)]
Removed bad copied UI strings and comment from texture slot rna code.

8 years agoremove nan-makefiles
Campbell Barton [Sun, 30 Jan 2011 15:29:22 +0000 (15:29 +0000)]
remove nan-makefiles

8 years agoFix for object-space bumpmapping in GLSL. Fix provided
Ton Roosendaal [Sun, 30 Jan 2011 14:43:24 +0000 (14:43 +0000)]
Fix for object-space bumpmapping in GLSL. Fix provided
by Morten Mikkelsen in IRC.

8 years agoBugfix #25855
Ton Roosendaal [Sun, 30 Jan 2011 14:19:12 +0000 (14:19 +0000)]
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.

8 years agoBugfix #25840
Ton Roosendaal [Sun, 30 Jan 2011 13:51:02 +0000 (13:51 +0000)]
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... :)

8 years agoAnd here's a decent fix for correctly recognizing the the
Ton Roosendaal [Sun, 30 Jan 2011 13:12:03 +0000 (13:12 +0000)]
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...

8 years agoStupid error in commit to allow .blend1 and .blend2 being dropped in
Ton Roosendaal [Sun, 30 Jan 2011 12:26:16 +0000 (12:26 +0000)]
Stupid error in commit to allow .blend1 and .blend2 being dropped in
window caused .blend itself to be not seen :) Mea Maxima Culpa!

8 years agoBetter property names for backdrop RNA
Daniel Salazar [Sun, 30 Jan 2011 07:04:12 +0000 (07:04 +0000)]
Better property names for backdrop RNA

8 years agoRNA for node editor backdrop zoom and offset. Thanks Moguri for help
Daniel Salazar [Sun, 30 Jan 2011 06:58:36 +0000 (06:58 +0000)]
RNA for node editor backdrop zoom and offset. Thanks Moguri for help

8 years agoAdded handy option to delete all vgroups in the dropdown menu
Daniel Salazar [Sat, 29 Jan 2011 23:51:42 +0000 (23:51 +0000)]
Added handy option to delete all vgroups in the  dropdown menu

8 years agoBugfix #25750
Ton Roosendaal [Sat, 29 Jan 2011 18:37:40 +0000 (18:37 +0000)]
Bugfix #25750

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

8 years agoTodo item:
Ton Roosendaal [Sat, 29 Jan 2011 17:56:34 +0000 (17:56 +0000)]
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. :)

8 years agoTodo list fix: .blend backup files are recognized as such now;
Ton Roosendaal [Sat, 29 Jan 2011 17:47:22 +0000 (17:47 +0000)]
Todo list fix: .blend backup files are recognized as such now;
for drop inside Blender window and icons. (.blend1, .blend2, etc).

8 years agoBug report #25722
Ton Roosendaal [Sat, 29 Jan 2011 16:27:48 +0000 (16:27 +0000)]
Bug report #25722

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

8 years agoFixes for GLSL bump code; it was using calls not supported for
Ton Roosendaal [Sat, 29 Jan 2011 16:13:15 +0000 (16:13 +0000)]
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.

8 years agoISO C90 fix
M.G. Kishalmi [Sat, 29 Jan 2011 12:09:11 +0000 (12:09 +0000)]
ISO C90 fix

8 years agomatching 3Dview GLSL shaders for the new bumpmapping methods
M.G. Kishalmi [Sat, 29 Jan 2011 12:01:11 +0000 (12:01 +0000)]
matching 3Dview GLSL shaders for the new bumpmapping methods

8 years agonew bumpmapping options for the renderer
M.G. Kishalmi [Sat, 29 Jan 2011 11:56:11 +0000 (11:56 +0000)]
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)

8 years ago"Whole Character" KeyingSet Bugfix: RNA paths for custom properties
Joshua Leung [Sat, 29 Jan 2011 09:47:48 +0000 (09:47 +0000)]
"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.

8 years agoCharacter Animation Goodie: "Whole Character" Builtin Keying Set
Joshua Leung [Sat, 29 Jan 2011 03:01:51 +0000 (03:01 +0000)]
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.

8 years agoFix for [#25825] Boolean doesn't work in command-line rendering (2.56)
Janne Karhu [Fri, 28 Jan 2011 15:24:02 +0000 (15:24 +0000)]
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.

8 years agoSmall feature request: using texture buttons (mapping) now updates
Ton Roosendaal [Fri, 28 Jan 2011 14:51:03 +0000 (14:51 +0000)]
Small feature request: using texture buttons (mapping) now updates
GLSL view of texture as well.

8 years agoFix for [#25843] Multiple Scene Strip in Sequencer, bad scrubbing for armatures in...
Janne Karhu [Fri, 28 Jan 2011 13:14:01 +0000 (13:14 +0000)]
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.

8 years agoFirst step towards having a 2-pass reading of COLLADA .dae files.
Nathan Letwory [Fri, 28 Jan 2011 12:56:30 +0000 (12:56 +0000)]
First step towards having a 2-pass reading of COLLADA .dae files.

8 years agoMake version check more future proof.
Nathan Letwory [Fri, 28 Jan 2011 08:51:15 +0000 (08:51 +0000)]
Make version check more future proof.

8 years agoFix for [#25713] VSE shows and renders wrong straight alpha gradient even after conve...
Janne Karhu [Fri, 28 Jan 2011 00:59:42 +0000 (00:59 +0000)]
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.

8 years agoIn the Timeline, keyframe lines are now drawn in front of the frame
Joshua Leung [Fri, 28 Jan 2011 00:52:31 +0000 (00:52 +0000)]
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.

8 years ago[#25783] Network rendering fails with windows paths
Martin Poirier [Fri, 28 Jan 2011 00:45:53 +0000 (00:45 +0000)]
[#25783] Network rendering fails with windows paths

Potential fix. Absolute windows path weren't detected as absolute on linux.

8 years ago[#25671] Network Render freezes/blocks blender
Martin Poirier [Fri, 28 Jan 2011 00:00:10 +0000 (00:00 +0000)]
[#25671] Network Render freezes/blocks blender

Decreasing timeout and increasing refresh period

8 years agoMore logical ordering of Empty draw types. Made Plain Axes default for
Daniel Salazar [Thu, 27 Jan 2011 21:05:01 +0000 (21:05 +0000)]
More logical ordering of Empty draw types. Made Plain Axes default for
new empties

8 years agoAnd on your left you can see something much nicer (while I fix this here on your...
Nathan Letwory [Thu, 27 Jan 2011 19:49:43 +0000 (19:49 +0000)]
And on your left you can see something much nicer (while I fix this here on your right).

8 years agoCommit to cope with API changes in OpenCOLLADA (latest for Windows right now r827).
Nathan Letwory [Thu, 27 Jan 2011 19:39:06 +0000 (19:39 +0000)]
Commit to cope with API changes in OpenCOLLADA (latest for Windows right now r827).

8 years agoSilly mistake in own previous commit, now we have particles again!
Janne Karhu [Thu, 27 Jan 2011 17:29:22 +0000 (17:29 +0000)]
Silly mistake in own previous commit, now we have particles again!

8 years agor34526 removed a line which had an unused return value but still needed to run.
Campbell Barton [Thu, 27 Jan 2011 12:36:48 +0000 (12:36 +0000)]
r34526 removed a line which had an unused return value but still needed to run.

8 years agoFixing some clang reported issues in particle code.
Janne Karhu [Thu, 27 Jan 2011 12:21:14 +0000 (12:21 +0000)]
Fixing some clang reported issues in particle code.
* Not really bugs, but some code cleanup and clarification.

8 years agofix for gcc 4.6 commit: this is needed for osx too.
Campbell Barton [Thu, 27 Jan 2011 11:17:23 +0000 (11:17 +0000)]
fix for gcc 4.6 commit: this is needed for osx too.

8 years agogcc 4.6 compatibility commit r34520 broke OSX, this should work now.
Campbell Barton [Thu, 27 Jan 2011 09:40:20 +0000 (09:40 +0000)]
gcc 4.6 compatibility  commit r34520 broke OSX, this should work now.

8 years agointernal changes, script writers won't notice.
Campbell Barton [Thu, 27 Jan 2011 06:48:14 +0000 (06:48 +0000)]
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.

8 years agoBugfix [#25823] When objects are parented to the same objects that
Joshua Leung [Thu, 27 Jan 2011 01:29:40 +0000 (01:29 +0000)]
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"

8 years ago[#25815] Patch gcc 4.6
Campbell Barton [Thu, 27 Jan 2011 00:02:25 +0000 (00:02 +0000)]
[#25815] Patch gcc 4.6
with minor edits, made sure it works in CMake too.

8 years agoSilencing some annoying key-event prints in Win32 console:
Joshua Leung [Wed, 26 Jan 2011 23:58:20 +0000 (23:58 +0000)]
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 :)

8 years agoBugfix [#25707] / Todo Item: "Local Space" for Object constraining
Joshua Leung [Wed, 26 Jan 2011 23:33:08 +0000 (23:33 +0000)]
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.

8 years agoUsability issue noted while self-testing some stuff...
Joshua Leung [Wed, 26 Jan 2011 22:38:05 +0000 (22:38 +0000)]
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.

8 years agoBullet-proofing mesh vertex group RNA wrapping, after double checking
Joshua Leung [Wed, 26 Jan 2011 22:31:14 +0000 (22:31 +0000)]
Bullet-proofing mesh vertex group RNA wrapping, after double checking
on whether vertexgroup weight animation worked

8 years agobge fix: debug text didn't have GL_DEPTH disabled - text got clipped when we have...
Dalai Felinto [Wed, 26 Jan 2011 22:16:58 +0000 (22:16 +0000)]
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

8 years agoRemoving some old stuff from old animation system that isn't needed
Joshua Leung [Wed, 26 Jan 2011 22:01:51 +0000 (22:01 +0000)]
Removing some old stuff from old animation system that isn't needed
anymore (shapekeys stuff)

8 years ago"Bugfix" (otherwise known as another ZanQdo Feature Request)
Joshua Leung [Wed, 26 Jan 2011 21:58:32 +0000 (21:58 +0000)]
"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.

8 years agoFix #25818: Text Editor holizontal grab inverted
Sergey Sharybin [Wed, 26 Jan 2011 21:00:52 +0000 (21:00 +0000)]
Fix #25818: Text Editor holizontal grab inverted

Stupid typo. Maybe it's a result of merging two patches related to this part of code.

8 years agoBug [#25696] Netrender feedback fails
Martin Poirier [Wed, 26 Jan 2011 20:09:30 +0000 (20:09 +0000)]
Bug [#25696] Netrender feedback fails

Patch by Wintch Analyzer

Someone change an attribute name and this wasn't updated

8 years agooption for blender --addons rigify,io_scene_fbx,add_mesh_gears
Campbell Barton [Wed, 26 Jan 2011 16:30:12 +0000 (16:30 +0000)]
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.

8 years agofix from andguent on irc, wasn't checking for property type.
Campbell Barton [Wed, 26 Jan 2011 16:21:54 +0000 (16:21 +0000)]
fix from andguent on irc, wasn't checking for property type.

8 years agofix for error in add mesh script with no operator passed.
Campbell Barton [Wed, 26 Jan 2011 14:52:00 +0000 (14:52 +0000)]
fix for error in add mesh script with no operator passed.

8 years agoPossible fix for issue #2 in [#25664] Remove Pack does not work in Texture panel
Campbell Barton [Wed, 26 Jan 2011 14:18:16 +0000 (14:18 +0000)]
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.

8 years agoFix for [#25797] Hair partcle crash when vertexgroup length enabled
Janne Karhu [Wed, 26 Jan 2011 13:02:47 +0000 (13:02 +0000)]
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.

8 years agoAfter test, offset is better to be 0.001f (test in windows nvidia)
Ton Roosendaal [Wed, 26 Jan 2011 12:48:22 +0000 (12:48 +0000)]
After test, offset is better to be 0.001f (test in windows nvidia)

8 years agofix for crash when assigning unsupported type to collection properties.
Campbell Barton [Wed, 26 Jan 2011 12:44:09 +0000 (12:44 +0000)]
fix for crash when assigning unsupported type to collection properties.

8 years agoBugfix #25756
Ton Roosendaal [Wed, 26 Jan 2011 12:26:44 +0000 (12:26 +0000)]
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.